/* @font-face {
    font-family: 'Hiragino-Kaku-Gothic-Pro-W3';
    src: url('/fonts/HiraginoKakuGothicPro/HiraKakuPro-W3-AlphaNum.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */
html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #666;
}

body{
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin: 0;
}
canvas, img, video {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}
audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}
@supports (display:block) {
    svg {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
}
.uk-link, a {
    color: #1e87f0;
    text-decoration: none;
    cursor: pointer;
}
a:hover{
    opacity: 0.5;
}

.header-wrapper{
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    top:0;
    z-index:9999;
}
.header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #fdf7ec;
    border-bottom: 10px solid transparent;
    padding-bottom: 10px;
}

.menu-area {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3db143;
    left: 3rem;
    top: 1.7rem;
    height: 4rem;
    z-index: 9999;
}

.menu-text {
    font-weight: bold;
    font-size: 14px;
}

.menu-lines span {
    display: block;
    width: 50px;
    height: 1px;
    background-color: #3cb043;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-area.open .menu-lines span:first-child {
    transform: rotate(45deg) translate(15px, 15px);
}
  
.menu-area.open .menu-lines span:last-child {
    transform: rotate(-45deg) translate(-10px, 10px);
}

.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3cb043;
    top: 6px;
    position: relative;
}

.site-info-right{
    display: none;
}

.site-subtitle {
    font-size: 12px;
    transform: translateY(-2px);
}

/* .site-title {
    font-size: 26px;
    font-weight: 600;
} */
.site-title{
    width: 55vw;
    max-width: 250px;
    height: auto;
}

.zigzag-pc {
    display: none;
}

.zigzag-sp{
    position: relative;
    bottom: 5px;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.menu-panel {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: column;
    position: relative;
    top: -25px;
    padding-top: 10px;
    opacity: 0;
    transform: translateX(-768px);
    pointer-events: none;
    height: 0;
    transition: opacity 0.3s ease, transform 0.5s ease , height 0.1s ease;
    background-color: #fdf7ec;
    max-width: 768px;
    width: 100vw;
}
  
.menu-panel.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    height: calc(100vh - 100px);
    z-index: 100;
}

.menu-panel > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: calc(80vh - 120px);
    max-height: max-content;
    overflow-y: scroll;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/旧Edge */
}
.menu-panel > ul::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
  }

.menu-panel > ul > li {
    color: #3cb043;
    margin: 10px 0;
    padding: 0;
    max-width: 400px;
    word-break: break-all;
    line-height: 1.5;
    display: flex;
    align-items: center;
    font-weight: 300;
    border-top: 1px solid #3cb043;
    padding-top: 10px;
    width: 80vw;
}
.menu-panel > ul > li:last-child {
    border-bottom: 1px solid #3cb043;
    padding-bottom: 10px;
}

.menu-panel > ul > li > div{
    display: flex;
    align-items: center; /* テキストとマーカーを縦中央に揃える */
    padding: 0.5rem 0;
    font-size: 18px;
    gap: 10px;
    width: 100%;
    position: relative;
}

.menu-panel > ul > li > div::before {
    content: "•";
    position: relative;
}

.menu-panel > ul > li > div::after{
    content: "";
    position: absolute;
    border-right: 1px solid #3cb043;
    border-bottom: 1px solid #3cb043;
    width: 5px;
    height: 5px;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(-45deg);
}

.menu-panel > ul > li > div::before {
    content: "•";
    position: relative;
}

.menu-panel > ul > li > div > a{
    text-decoration: none;
    color:#3cb043;
    width: calc(100% - 40px);
}

.scroll-guide{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 30%;
    right: 10%;
    z-index: 9999;
    width: 40px;
    height: 55px;
    color: #222222;
    background-color: #7777773a;
    border-radius: 50%;
}
.scroll-guide.show{
    display: flex;
}
.scroll-guide > .scroll-guide-icon{
    display: flex;
    justify-content: center;
    align-items: center;
}
.scroll-guide > .scroll-guide-icon.text{ font-size: 10px; }
.scroll-guide > .scroll-guide-icon.arrow{ font-size: 12px; }

#link_to_fukuross_on_menu{
    position: relative;
    display: flex;
}
#img_fukuross_on_menu{
    height: 50px;
}
#img_open_new_window_on_menu{
    height: 38px;    
}

.header-height-reflection{
    height: calc(110px + 4vw);
}

@media (min-width: 769px) {
    .header {
        padding: 18px;
        padding-bottom: 3px;
        z-index: 200;
    }
    .site-info{
        top: 10px;
    }
    .site-info-right{
        position: absolute;
        right: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #3cb043;
        padding-top: 15px;
    }
    .site-info > .site-subtitle {
        display: none;
    }
    .site-title {
        width: 35vw;
        max-width: 350px;
    }
    .site-subtitle {
        font-size: 14px;
        transform: translateY(0px);
    }
    .zigzag-pc {
        display: block;
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
    }
    .zigzag-sp{
        display: none;
    }

    .menu-panel {
        position: absolute;
        padding-top: 165px;
        z-index: 100;
        height: calc(100vh - 100px);
    }
    .menu-panel > ul {
        height: calc(80vh - 70px);
    }
}

@media (max-width: 512px) {
    .menu-area {
        left: 2rem;
    }
    .menu-text {
        font-size: 12px;
    }
    .menu-lines span{
        width: 40px;
    }
}

@media (max-width: 400px) {
    .menu-area {
        left: 1rem;
    }
    .menu-text {
        font-size: 10px;
    }
    .menu-lines span{
        width: 35px;
    }
}

.header-wrapper.page-scrolled {
    top: -8px;
}
.header.page-scrolled {
    padding: 5px 20px;
}
.header.page-scrolled .site-title{
    transform: translateY(3px);
}
.header.page-scrolled .site-subtitle{
    transform: translateY(3px);
}
.header-wrapper.page-scrolled .menu-area{
    transform: translateY(-4px);
}   
.header-wrapper.page-scrolled.open{
    top: 0;
}
.header.page-scrolled.open {
    padding: 15px;
}
@media (min-width: 769px) {
    .header.page-scrolled.open {
        padding: 20px;
        padding-bottom: 15px;
    }
    .header.page-scrolled .site-info .site-title{
        width: 300px;
        transform: translateY(10px);
    }
    .header.page-scrolled .site-info-right{
        transform: translateY(10px);
    }
    .header.page-scrolled .menu-area{
        transform: translateY(-10px);
    }
    .header-wrapper.page-scrolled .menu-area{
        transform: translateY(-7px);
    }
}

.page-cover{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: none;
    display: none;
}
.page-cover.open{
    display: block;
    z-index: 10
}