@charset "UTF-8";

*,
*::after,
*::before {
    box-sizing: border-box;
}

:root{
    --font-noto: "Noto Sans JP", sans-serif;
    --font-shippori: "Shippori Mincho", serif;
    --font-en: "EB Garamond", serif;
    --font-ovo: "Ovo", serif;
    --text-color-black: #222222;
    --text-color-white: #fff;
    --main-color: #0F518B;
}


/* =============================
    header
===============================*/

.header {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-noto);
}

.logo {
    max-width: 120px;
}

.header__list {
    display: flex;
    gap: 24px;
}

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color-black);
}

.header__link:hover {
    opacity: 0.7;
}

.entry__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 30px;
    width: 220px;
    height: 45px;
    background-color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color-white);
    box-sizing: border-box;
    position: relative;
}

.entry__btn::after{
    content: "";
    width: 6.6px;
    height: 12px;
    background-size: cover;
    background-image: url(../img/arrow-white.png);
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
}

.hamburger {
    display: none;
}

.spmenu {
    display: none;
}

@media screen and (max-width:1200px) {
    .header {
        padding: 24px 20px;
    }
}

@media (max-width: 1100px) {
    .header{
        position: sticky;
        top: 0;
        background-color: #fff;
        z-index: 10000;
    }

    .header__nav {
        display: none;
    }
    .entry__btn--pc {
        display: none;
    }

    .hamburger {
        position: relative;
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        z-index: 10000;
    }
    .hamburger span {
        width: 24px;
        height: 2px;
        background: #000;
        transition: all .3s ease;
        position: relative;
    }

    .spmenu {
        display: block;
        position: absolute;
        z-index: 1000;
    }
    .spmenu[aria-hidden="true"] {
        pointer-events: none;
    }
    .spmenu__overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .spmenu__panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 88vw);
        height: 100dvh;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        padding: 24px;
        overflow: auto;
    }

    /* OPEN状態 */
    body.is-menu-open .spmenu__overlay {
        opacity: 1;
    }

    body.is-menu-open .spmenu__panel {
        transform: translateX(0);
    }

    body.is-menu-open .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.is-menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    body.is-menu-open .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .spmenu__close {
        border: none;
        background: transparent;
        font-size: 28px;
        cursor: pointer;
        margin-left: auto;
        display: block;
    }
    .spmenu__list {
        list-style: none;
        padding: 0;
        margin: 90px 0 24px;
    }
    .spmenu__link {
        display: block;
        padding: 14px 0;
        text-decoration: none;
        color: #000;
    }
}
/* =============================
    共通部分
===============================*/

.inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.for-pc{
    display: block;
}

.for-sp{
    display: none;
}

.title__block {
    text-align: center;
}

.section__title {
    font-family: "EB Garamond", serif;
    color: var(--main-color);
    font-weight: 500;
    font-size: 3.3vw;
}

.section__title--text {
    font-size: 1.25vw;
    margin-top: 10px;
}

.title__deco {
    max-width: 100px;
    margin: 16px auto 0;
}

.title__text--bottom {
    display: block;
    text-align: center;
    font-size: 1.2vw;
    font-weight: 400;
    margin-top: 40px;
}

.living .title__text--bottom {
    margin-top: 24px;
}

@media screen and (min-width: 90rem) {
    .section__title {
        font-size: 48px;
    }

    .section__title--text {
        font-size: 18px;
    }

    .title__text--bottom {
        font-size: 17px;
    }
}

@media screen and (max-width: 767px) {
    .for-pc{
        display: none;
    }

    .for-sp{
        display: block;
    }

    .section__title{
        font-size: 2.125rem;
    }

    .section__title--text{
        font-size: .875rem;
    }

    .title__deco{
        max-width: 4.375rem;
        margin: 0 auto;
    }

    .title__text--bottom{
        font-size: 14px;
        margin-top: 1.25rem;
    }
}



/* =============================
    footer
===============================*/

.footer {
    background-color: var(--main-color);
    padding: 6.25rem 5rem 3.75rem;
    color: var(--text-color-white);
    font-family: var(--font-noto);
}

.footer__flex {
    display: flex;
    gap: 5rem;
    justify-content: space-between;
    align-items: start;
}

.footer__flex--left {
    text-align: left;
}

.footer__img {
    width: 16.25rem;
}

.footer__name {
    margin-top: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1rem;
}

.footer__name span {
    font-size: 0.75rem;
}

.footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: left;
    align-items: center;
}

.footer__link {
    color: var(--text-color-white);
}

.footer__link:hover {
    opacity: 0.7;
}

.footer__info {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.footer__address{
    margin-block: .625rem;
}

.privacy {
    color: var(--text-color-white);
}

.call__number{
    color: #fff;
}

.copyright {
    margin-top: 41px;
    text-align: center;
    font-weight: 400;
    font-size: .75rem;
    font-family: var(--font-en);
}

@media screen and (max-width: 1100px) {
    .footer{
        padding: 3.25rem 2.5rem 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    .footer__img{
        width: 34vw;
        min-width: 260px;
        margin: 0 auto;
    }

    .footer__flex{
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .footer__flex--left{
        margin: 0 auto;
    }

    .footer__name{
        font-size: 14px;
        text-align: left;
    }

    .footer__name span{
        font-size: 12px;
    }

    .footer__flex--right{
        display: block;
    }

    .footer__list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }

    .footer__link{
        font-size: 14px;
    }

    .footer__link li{
        text-align: left;
    }

    .footer__info{
        flex-direction: column;
        align-items: start;
        gap: 1rem;
        font-size: 14px;
    }

    .footer__address{
        font-size: 12px;
    }
}

@media screen and (max-width: 500px) {
    .footer__list{
        grid-template-columns: repeat(2,1fr);
        column-gap: 12px;
    }
}

.thanks__body{
    height: 50vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

p{
    line-height: 1.8;
}

.error{
    color: #FF0051;
    display: none;
}