@charset "utf-8";
/*==========================================================================

   base width

==========================================================================*/
 body {
	 min-width: var(--container-width);
     max-width: 100%;
 }
.l-container {
	position: relative;
    width: calc(100% - 100px);
	max-width: var(--container-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--container-side-space);
	padding-left: var(--container-side-space);
}
.l-content-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
}
.l-content-wide {
    position: relative;
    left: 50%;
    width: var(--container-full-width);
    transform: translateX(-50%);
}


@media screen and (max-width: 768px) {
    body {
    }
    .l-container {
        width: calc(100% - 20px);
    }
}




/* エディタ用 */
.editor-styles-wrapper .l-container,
.block-editor-block-list__layout .l-container {
    width: 100%;
    max-width: none;
}

 
/*==========================================================================

   base frame

==========================================================================*/
#header {
    position: relative;
    display: flex;
    justify-content: center;
	z-index: 100;
}
.header-normal #header {
    position: relative;
}
.header-fixed #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.header-blur #header {
    backdrop-filter: blur(3px);
}
#main {
    position: relative;
    padding-top: 25px;
    /*background: var(--base-color);*/
    z-index: 2;
}
.header-fixed.header-has-margin #main {
    margin-top: calc(var(--header-height));
}
#footer {
    position: relative;
    margin-top: 20px;
    padding-bottom: 40px;
    border-top: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
    border-left: 1px solid var(--text-color);
    border-radius: var(--section-border-radius) var(--section-border-radius) 0 0;
    background-color: #fff;
    z-index: 2;
}


@media screen and (max-width: 768px) {
    #main {
        padding-top: 10px;
    }
}

/*==========================================================================

   header

==========================================================================*/
.header-logo {
    width: var(--logo-width);
    flex-shrink: 0;
}
.header-logo img {
    width: var(--logo-width);
    height: auto;
    display: block;
}
.header-inner {
    width: calc(100% - 40px);
    max-width: 100%;
    margin: 0 20px;
    height: calc(var(--header-height));
}
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* ヘッダー背景色 */
#header {
    border-bottom: 1px solid var(--text-color);
    background-color: var(--header-bg-color, transparent);
    transition: background-color 0.3s ease;
}

/* 透過設定 */
.header-transparent #header {
    background-color: transparent;
}

.header-transparent #header.is-scrolled {
    background-color: var(--header-bg-color);
}



.header-option {
    display: flex;
    align-items: center;
}
/* ハンバーガーボタン */
.header-gnav-btn {
    display: none;
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
  }  
.header-gnav-btn span {
    position: absolute;
    background-color: var(--text-color);
    height: 2px;
    width: 20px;
    transition: all 0.4s ease-in-out;
  }
.header-gnav-btn span:nth-of-type(1) {
    top: 6px;
}
.header-gnav-btn span:nth-of-type(2) {
    bottom: 6px;
}  
 .header-gnav-btn.active span:nth-of-type(1) {
    transform: translateY(3px) rotate(-45deg);
}  
.header-gnav-btn.active span:nth-of-type(2) {
    transform: translateY(-3px) rotate(45deg);
}  






/* グローバルナビ */
.gnav {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0 22px;
}
.gnav-row {
    display: flex;
    gap: 0 22px;
}
.gnav-col-outer {
    display: inline-flex;
    align-items: center;
    gap: 0 22px;
}
.gnav-list {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 0 22px;
}
.gnav-item.item--sub {
    display: none;
}
.gnav-item-blank {
    display: none;
}
.header-sns-item {
    width: 26px;
    height: 26px;
    font-size: 26px;
    line-height: 26px;
}
.header-sns-item a {
    display: block;
}

@media screen and (max-width: 990px) {
    .header-sns {
        display: none;
    }
    .header-gnav-btn {
        display: block;
    }
    .gnav {
        position: absolute;
        top: -100vh;
        left: 0;
        width: 100%;
        border-bottom: 1px solid var(--text-color);
        background: var(--bg-color);
        opacity: 0;
        transition: .3s;
        z-index: -3;
    }
    body.gnav-active .gnav {
        top: calc(var(--header-height) + 1px);
        opacity: 1;
    }
    .gnav-row {
        display: flex;
        gap: 0;
        width: 100%;
    }
    .gnav-col-outer.outer--3col,
    .gnav-col-outer.outer-2col {
        width: 50%;
        flex-direction: column;
        gap: 15px;
        padding: 40px 24px;    
    }
    .gnav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .gnav-col-outer + .gnav-col-outer {
        border-left: 1px solid var(--text-color);
    }
    .gnav-item + .gnav-item {
        margin-top: 15px;
    }
    .gnav-col-outer.outer-2col {
        align-items: flex-start;
    }
    .gnav-col-outer {
        align-items: flex-start;
    }
    .gnav-item {
        font-size: 13px;
    }
    .gnav-item-en {
        font-size: 15px;
        font-weight: 600;
    }
    .gnav-item-blank {
        display: inline;
        margin-left: 5px;
        font-size: 6px;
    }
    .gnav-item.item--sub {
        display: block;
        font-weight: 700;
    }



}


/* gnav */
.gnav.is-open {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}
/* 背景オーバーレイ */
body.gnav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 100;
    animation: fadeIn 0.3s;
    pointer-events: none; /* ← この行を追加 */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* スクロール禁止 */
body.gnav-open {
	position: relative;
    /*overflow: hidden;*/
}

.gnav-header-option {
	display: flex;
    align-content: center;
    align-items: center;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    height: 100px;
    justify-content: flex-end;
    margin: 0px 32px;
    padding: 0px;
    width: 1280px;
    --gap-h-aaf5034d-ae80-453d-8b5c-298d6722c906: 24px;
    --gap-v-aaf5034d-ae80-453d-8b5c-298d6722c906: 0px;
    --gap-uuid: aaf5034d-ae80-453d-8b5c-298d6722c906;
    max-width: calc(100% - 64px);
}
.header-cta {
	padding: 12px;
}
.gnav-cta {
    padding: 12px;
}
.gnav-open-icon {
    width: 24px;
    height: 24px;
    color: var(--key-color);
}
.gnav-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border-radius: 50%;
    border: 1px solid #fff;
}
.gnav-close:hover {
	cursor: pointer;
}
.gnav-close-icon {
    font-size: 32px;
    color: #fff;
}

.gnav-menu {
    align-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
    height: auto;
    justify-content: center;
    margin: 0px 32px;
    padding: 40px 0 32px;
    width: auto;
    max-width: calc(100% - 64px);
}
.gnav-menu-list {
    align-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0px;
}
.gnav-menu-item {
    font-size: 20px;
    font-weight: 700;
    height: auto;
    letter-spacing: 0.02em;
    text-align: center;
}
.gnav-menu-item a {
    display: block;
    align-content: center;
    align-items: center;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 12px 24px;
    width: 100%;
    max-width: 100%;
    color: #fff;
}

/* header icon */
.header-icons-list {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.header-icons-item {
    width: 40px;
    height: 40px;
}
.header-icons-item a {
    display: flex;
    justify-content: center;
	align-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    border-radius: 50%;
	overflow: hidden;
	transition: .3s;
    color: #fff;
	
}
.header-icons-item a:hover {
	opacity: .75;
}
.header-icons-icon {
	width: 18px;
	height: 18px;
}


/*==========================================================================

   footer

==========================================================================*/
.fnav-row {
    display: flex;
    border-bottom: 1px solid var(--text-color);
    border-radius: var(--section-border-radius) var(--section-border-radius) 0 0;
    background: var(--bg-color);
}
.fnav-col-outer {
    display: flex;
}
.fnav-col-outer + .fnav-col-outer {
    /*border-left: 1px solid var(--text-color);*/
}
.fnav-col-outer.outer--3col {
    width: calc(100% / 5 * 3);
}

.fnav-col-outer.outer-2col {
    width: calc(100% / 5 * 2);
}
.fnav-col {
    flex: 1;
    padding: 50px 30px;
}
.fnav-col + .fnav-col {
    /*border-left: 1px solid var(--text-color);*/
}
.fnav-item {
    padding: .2em 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--letter-spacing-min);
    text-box: var(--text-box-both-trim);
}
.fnav-item + .fnav-item {
    margin-top: 18px;
}
.fav-item-en {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}
.fnav-item-blank {
    margin-left: 5px;
    font-size: 6px;
}
.footer-guide {
    display: flex;
    justify-content: space-between;
    padding: 60px 50px;
}
.footer-guide-main {
    display: flex;
    gap: 0 40px;
    align-items: center;
}
.footer-address {
    font-size: 12px;
}
.footer-guide-aside {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    text-align: right;
}
.footer-sns {
    font-size: 24px;
    line-height: 24px;
}
.footer-copy-item {
    width: 590px;
} 
.footer-copyright {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 600;
}


@media screen and (max-width: 990px) {
    #footer {
        padding-bottom: 20px;
    }
    .fnav-col-outer.outer--3col,
    .fnav-col-outer.outer-2col {
        width: 50%;
        flex-direction: column;
        gap: 15px;
        padding: 40px 24px;
    }
    .fnav-col {
        padding: 0;
    }
    .fnav-col + .fnav-col {
        border: none;
    }
    .fnav-item {
        font-size: 13px;
    }
    .fav-item-en {
        font-size: 15px;
    }
    .fnav-item + .fnav-item {
        margin-top: 15px;
    }
    .footer-guide {
        flex-direction: column;
        gap: 45px;
        padding: 45px 42px;
    }
    .footer-guide-main {
        flex-direction: column
        ;gap: 45px;
        align-items: flex-start;
    }
    .footer-guide-aside {
        flex-direction: row;
        align-items: end;
    }
    .footer-sns {
        font-size: 25px;
        line-height: 25px;
    }
}

