/* Common CSS - 共通スタイル */

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
html {
    font-size: 62.5%;
    overflow-x: hidden;
    /* scroll-behavior: smooth; */
    scroll-padding-top: 80px;
}

html.fixed {
    overflow-y: hidden;
}

/* スマートフォン: 375px基準 */
@media (max-width: 800px) {
    html {
      font-size: 2.6666666667vw; /* 10px / 375px * 100 */
    }
}
  
/* タブレット〜PC: 1440px基準 */
@media screen and (min-width: 801px) {
    html {
      font-size: 0.6944444444vw; /* 10px / 1440px * 100 */
      scroll-padding-top: 7.222vw;
    }
}
  
/* 大画面: 固定サイズ */
@media (min-width: 1440px) {
    html {
      font-size: 62.5%; /* 10px固定 */
      scroll-padding-top: 104px;
    }
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sp {
    display: block!important;
}

.pc {
    display: none!important;
}

.sp-inline {
    display: inline !important;
}

.pc-inline {
    display: none!important;
}

@media screen and (min-width: 801px) {
    .sp {
        display: none!important;
    }
    .pc {
        display: block!important;
    }

    .sp-inline {
        display: none!important;
    }
    .pc-inline {
        display: inline!important;
    }
}

.subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    padding-left: 26px;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}

.subtitle--white {
    color: white;
}

.subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #251e1c;
    transform: translateY(-50%);
}

.subtitle--white::before {
    background-color: white;
}


@media screen and (min-width: 801px) {
    .subtitle {
        font-size: 1.1111vw;
        padding-left: 1.806vw;
    }

    .subtitle::before {
        width: 0.694vw;
        height: 0.694vw;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media screen and (min-width: 1440px) {
    .subtitle {
        font-size: 16px;
        padding-left: 26px;
    }

    .subtitle::before {
        width: 10px;
        height: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    font-feature-settings: 'palt' on;
    line-height: 1.6;
    color: #251e1c;
    background-color: #EBEBED;
}

/* ヘッダー */
.header {
    width: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header__container {
    margin: 0 0;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 0;
    padding: 0;
    margin: 0;
    width: 115px;
    height :18.69px;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: unset;
    transition: filter 0.3s ease;
}

.header.open .logo img,
.header.white .logo img {
    filter: invert(1);
}

.nav-menu {
    display: none;
}

/* ボタン */
.cta-button {
    display: none!important;
}

.hamburger-menu {
    width: 48px;
    height: 48px;
    background-color: #251e1c;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hamburger-menu span {
    height: 1px;
    background-color: white;
    transition: transform 0.3s ease, top 0.3s ease, left 0.3s ease, width 0.3s ease;
}

.hamburger-menu span:first-child {
    position: absolute;
    top: 18.5px;
    left: 16.5px;
    width: 15.5px;
}

.hamburger-menu span:last-child {
    position: absolute;
    top: 29.5px;
    left: 16.5px;
    width: 9px;
}

.hamburger-menu.active span:first-child {
    transform: rotate(45deg);
    top: 23.3px;
    left: 16.8px;
}

.hamburger-menu.active span:last-child {
    transform: rotate(-45deg);
    width: 15px;
    top: 23.3px;
    left: 16.8px;
}



@media screen and (min-width: 931px) {
    .header__container {
        width: 100vw;
        margin: 0 auto;
        padding: 24px 42px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 108px;
    }

    .logo {
        width: 160px;
        height: 26px;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 32px;
    }

    .nav-menu li {
        color: #251e1c; 
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.7;
        letter-spacing: 0.08em;   
    }

    .nav-menu__item {
        padding-right: 20px;
        position: relative;
        cursor: pointer;
    }

    .nav-menu__item span.nav-menu__arrow {
        position: absolute;
        top: 5.5px;
        right: 0;
        width: 16px;
        height: 16px;
        background-image: url('../images/common/menu-arrow.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;

        transition: transform 0.3s ease;
    }

    .nav-menu__item.display span.nav-menu__arrow {
        transform: rotate(180deg);
    }

    .nav-menu a.nav-menu__link {
        color: #251e1c;
        transition: color 0.3s ease;
        text-decoration: none;
        position: relative;
        display: inline-block;
    }

    .nav-menu a.nav-menu__link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 1px;
        background-color: currentColor;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .nav-menu a.nav-menu__link:hover::after,
    .nav-menu a.nav-menu__link:focus-visible::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .cta-button {
        display: block!important;
    }

    .hamburger-menu {
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    .header__container {
        width: 100%;
        margin: 0 auto;
        padding: 24px 42px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 108px;
    }

    .logo {
        width: 160px;
        height: 26px;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 32px;
    }

    .nav-menu li {
        font-size: 16px;
    }

    .nav-menu__item {
        padding-right: 20px;
        position: relative;
    }

    .nav-menu__item span.nav-menu__arrow {
        position: absolute;
        top: 5.5px;
        right: 0;
        width: 16px;
        height: 16px;
    }
}

.header.white .nav-menu li {
    color: white;
}

.header.white .nav-menu a.nav-menu__link {
    color: white;
}

.header.white .nav-menu__item span.nav-menu__arrow {
    filter: invert(1);
}

/* フッター */
.footer {
    background-color: black;
    width: 100%;
    color: white;
}

.footer__container {
    margin: 0 16px;
    padding: 104px 0 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media screen and (min-width: 801px) {
    .footer__container {
        width: 100vw;
        margin: 0 auto;
        padding: 5.764vw 2.917vw;
        gap: 5.278vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__container {
        width: 100%;
        padding: 83px 42px;
        gap: 76px;
    }
}

.footer__contact {
    text-decoration: none;
    color: unset;
    background-color: #1A1A1A;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 801px) {
    .footer__contact {
        padding: 8.333vw 5.556vw;
        gap: unset;
        flex-direction: row;
        gap: 7.222vw;
        align-items: center;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .footer__contact:hover {
        transform: scale(0.976);
        background-color: #262626;
    }
}

@media screen and (min-width: 1440px) {
    .footer__contact {
        padding: 120px 80px;
        gap: 104px;
    }
}



.footer__contact-title {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    color: white;
}

@media screen and (min-width: 801px) {
    .footer__contact-title {
        font-size: 5.208vw;
        width: 27.778vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__contact-title {
        font-size: 75px;
        width: 400px;
    }
}

.footer__contact-title span {
    font-family: 'Roboto Serif', serif;
    font-style: italic;
}

.footer__contact-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media screen and (min-width: 801px) {
    .footer__contact-wrap {
        align-items: center;
        width: calc(100% - 35vw);
        justify-content: space-between;
    }
}
@media screen and (min-width: 1440px) {
    .footer__contact-wrap {
        width: calc(100% - 504px);
    }
}


.footer__contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
}

@media screen and (min-width: 801px) {
    .footer__contact-text {
        font-size: 1.111vw;
        letter-spacing: 0.08em;
    }
}
@media screen and (min-width: 1440px) {
    .footer__contact-text {
        font-size: 16px;
        width: auto;
    }
}

.footer__contact-btn {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 5px;
    position: relative;
}

@media screen and (min-width: 801px) {
    .footer__contact-btn {
        width: 4.306vw;
        height: 4.306vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__contact-btn {
        width: 62px;
        height: 62px;
    }
}

.footer__contact-btn::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 18px;
    width: 4px;
    height: 4px;
    background-color: white;
}

@media screen and (min-width: 801px) {
    .footer__contact-btn::after {
        top: 2.014vw;
        right: 2.014vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__contact-btn::after {
        top: 29px;
        right: 29px;
    }
}

.footer__menu {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #4d4d4d;
}

@media screen and (min-width: 801px) {
    .footer__menu {
        justify-content: flex-end;
        border-bottom: none;
    }
}

.footer__menu-list-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 64px;
}

@media screen and (min-width: 801px) {
    .footer__menu-list-wrap {
        width: 21.667vw;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 1440px) {
    .footer__menu-list-wrap {
        width: 312px;
        padding-bottom: 0;
    }
}

.footer__menu-list {
    width: 151.5px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 801px) {
    .footer__menu-list {
        width: 9.583vw;
        gap: 0.556vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__menu-list {
        width: 138px;
        gap: 8px;
    }
}

.footer__menu-list li {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.88;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    height: 28px;
}

@media screen and (min-width: 801px) {
    .footer__menu-list li {
        font-size: 1.111vw;
        height: 1.944vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__menu-list li {
        font-size: 16px;
        height: 28px;
    }
}

.footer__menu-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer__menu-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer__menu-list a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer__menu-list a:hover::after,
.footer__menu-list a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}



.footer__info-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 801px) {
    .footer__info-wrap {
        gap: 5.278vw;
    }
}
@media screen and (min-width: 1440px) {
    .footer__info-wrap {
        gap: 76px;
    }
}

.footer__info-message {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.1em;
    color: white;
}

@media screen and (min-width: 801px) {
    .footer__info-message {
        font-size: 1.667vw;
        letter-spacing: 0.08em;
    }
}
@media screen and (min-width: 1440px) {
    .footer__info-message {
        font-size: 24px;
    }
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media screen and (min-width: 801px) {
    .footer__info {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: unset;
    }
}


.footer__info-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media screen and (min-width: 801px) {
    .footer__info-content {
        flex-direction: column-reverse;
        gap: 5.278vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__info-content {
        gap: 76px;
    }
}

.footer__logo-wrap {
    width: fit-content;
    height: fit-content;
    overflow: hidden;
}

.footer__logo {
    width: 298px;
    height: 49.43px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

@media screen and (min-width: 801px) {
    .footer__logo {
        width: 66.806vw;
        height: 10.764vw;
    }
}

@media screen and (min-width: 1440px) {
    .footer__logo {
        width: 962px;
        height: 155px;
    }
}

.footer__logo.show {
    transform: translateY(0);
}


.footer__info-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 801px) {
    .footer__info-text-wrap {
        gap: 0.556vw;
    }
}
@media screen and (min-width: 1440px) {
    .footer__info-text-wrap {
        gap: 8px;
    }
}

.footer__info-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

@media screen and (min-width: 801px) {
    .footer__info-text {
        font-size: 1.111vw;
    }
}
@media screen and (min-width: 1440px) {
    .footer__info-text {
        font-size: 16px;
    }
}

.footer__info-copyright {
    color: white;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.88;
    letter-spacing: 0.08em;
}

@media screen and (min-width: 801px) {
    .footer__info-copyright {
        font-size: 1.163vw;
    }
}
@media screen and (min-width: 1440px) {
    .footer__info-copyright {
        font-size: 16.744px;
    }
}


/* サブメニュー表示 */
.header__menu-submenu-wrap {
    cursor: default;
    position: absolute;
    top: 43px;
    left: 0;
    background: white;
    border-radius: 5px;
    padding: 24px 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.5, 1);
    width: 236px;
}

.nav-menu__item.display .header__menu-submenu-wrap {
    visibility: visible;
    opacity: 1;
}

.header__menu-submenu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header__menu-submenu-link {
    color: #251e1c;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
}

.header__menu-submenu-link span {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.77;
    letter-spacing: 0.08em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.header__menu-submenu-link:hover span {
    transform: translateX(40px);
}

.header__menu-submenu-link::before {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.3333%2014L18%2011.5L15.3333%209V11.5V14Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M8%2011.5H18M18%2011.5L15.3333%2014V9L18%2011.5Z%22%20stroke%3D%22white%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    top: 18px;
    left: -40px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.header__menu-submenu-link:hover::before {
    transform: translateX(40px);
}

.header__menu-submenu-link::after {
    content: '';
    position: absolute;
    top: 28px;
    right: 10px;
    width: 4px;
    height: 4px;
    background-color: #251e1c;
    transition: transform 0.3s ease;
}

.header__menu-submenu-link:hover::after {
    transform: translateX(40px);
}

.sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0);
    width: 100vw;
    height: 100vh;
    padding: 0;
    transition: background-color 1s cubic-bezier(0.2, 1, 0.5, 1), z-index 1s cubic-bezier(0.2, 1, 0.5, 1), opacity 1s cubic-bezier(0.2, 1, 0.5, 1);
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    opacity: 0;
    pointer-events: none;
}

.sp-menu.active {
    background-color: rgba(0, 0, 0, 1);
    z-index: 90;
    opacity: 1;
    pointer-events: auto;
}

.sp-menu__inner {
    width: unset;
    margin: 0 16px;
    padding: 106px 16px 64px;
    display: flex;
    flex-direction: column;
    gap: 58px;
}

.sp-menu__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sp-menu__inner a {
    font-family: 'Roboto', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.85;
    letter-spacing: 0.04em;
}

.sp-menu__inner .button {
    width: 100%;
}

.sp-menu__inner .button::before {
    top: unset;
}

@media screen and (min-width: 801px) {
    .sp-menu {
        display: none;
    }
}


.reveal-wrap {
    width: fit-content;
    height: fit-content;
    overflow: hidden;
}

.reveal-animation {
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.reveal-animation.show {
    transform: translateY(0);
}