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

   base width

==========================================================================*/
 body {
	 min-width: var(--container-width); /*幅狭時のスクロールで見切り調整*/
 }
.l-container {
	position: relative;
	width: var(--container-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--container-side-space);
	padding-left: var(--container-side-space);
}
/* エディタ用 */
.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;
    background: var(--base-color);
    z-index: 2;
}
/* 固定ヘッダー + 余白あり */
.header-fixed.header-has-margin #main {
    margin-top: calc(var(--header-height));
}
#footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 100px 0 50px;
    color: #fff;
    background: url(../img/bg_footer01.png) center top;
    z-index: 2;
}


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

   header

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

.header-logo svg {
    width: var(--logo-width);
    height: auto;
    display: block;
    color: var(--header-logo-color, inherit);
    transition: color 0.3s ease;
}
body.page .header-logo svg {
    color: var(--header-logo-color-scrolled);
}

/* スクロール時：透過・非透過どちらでも動く */
#header.is-scrolled .header-logo svg {
    color: var(--header-logo-color-scrolled, var(--header-logo-color, inherit));
}

.header-inner {
	width: 1100px;
	max-width: calc(100% - 64px);
	margin: 0 32px;
	height: calc(var(--header-height));
}
.header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.header-option {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: none;
}

/* ヘッダー背景色 */
#header {
    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);
}



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


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

   footer

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

.footer-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 40px;
}
.footer-row.row-is-option {
    flex-direction: row;
    gap: 130px;
}
.footer-logo {
    width: 140px;
    margin-bottom: 24px;
}
.footer-copy {
    font-size: 14px;
}
.footer-description {
    margin-top: .5em;
    font-size: 12px;
    color: #ccc
}
.footer-copy.footer-copy-sp,
.footer-description-sp {
    display: none;
}
.footer-icons {
    margin-top: 10px;
}
.footer-menu-list {
    display: flex;
    font-size: 13px;
}
.footer-menu-item {
    font-size: 20px;
    font-weight: 700;
}
.footer-menu-item:nth-child(1) a {
    padding-left: 0;
}
.footer-menu-item a {
    display: block;
    color: #fff;
    text-decoration: underline;
}
.footer-copyright {
    display: block;
    margin-top: 70px;
    font-size: 13px;
    font-weight: 400;
    height: auto;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fff;
}
.footer-icons-list {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.footer-icons-item a {
    color: #fff;
}
.footer-icons-icon {
    width: 24px;
    height: 24px;
}



@media screen and (max-width: 768px) {
	.header-option {
		padding: 0;
	}
	.gnav {
		width: 86%;
		max-width: 86%;
	}

    #footer {
        padding: 50px 0 25px;
        text-align: center;
    }
    .footer-row.row-is-option {
        flex-direction: column;
        gap: 10px;
        margin: 0 20px 20px;
    }
	.footer-logo {
		margin-right: auto;
		margin-left: auto;
	}
    .footer-copy.footer-copy-pc,
    .footer-description-pc {
        display: none;
    }
    .footer-copy.footer-copy-sp,
    .footer-description-sp {
        display: block;
    }
    .footer-description {
        margin-top: 2em;
        text-align: left;
    }
	.footer-menu-list {
		justify-content: center;
	}
	.footer-menu-item {
		font-size: 15px;
	}
	.footer-icons-list {
		justify-content: center;
		gap: 1.5rem;
	}
    .footer-icons-item {
        font-size: 1.25rem;
    }
    .footer-copyright {
        margin-top: 39px;
    }
}

