@charset "UTF-8";

/* Header */

.tr-header-wrap {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 100;
    width: min(1500px, calc(100% - 40px));
    transform: translateX(-50%);
}



.tr-site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;

    min-height: 96px;
    padding: 16px 28px;

    border-radius: 18px;

    background: rgba(253,251,248,.82);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);


    box-shadow: none;
}

.tr-site-header__brand {
    flex: 0 0 auto;
    width: min(290px, 23vw);
}

.tr-site-header__logo {
    display: block;
    width: 100%;
    height: auto;
}

.tr-global-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.tr-global-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.5vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tr-global-nav__list a {
    color: #2F352F;
    font-size: clamp(12px, 1vw, 16px);
    white-space: nowrap;
    text-decoration: none;
}

.tr-global-nav__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 50px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #FFFFFF !important;
    background: #315B3A !important;
    text-decoration: none;
}

.tr-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
}

.tr-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: #315B3A;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.tr-menu-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.tr-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.tr-menu-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.tr-menu-button,
.tr-menu-button:hover,
.tr-menu-button:focus,
.tr-menu-button:active{
    background: transparent !important;
    border: none;
    box-shadow: none;
    outline: none;
}

/* Footer */

.tr-footer {
    padding: 54px 0;
    border-top: 1px solid #E9E3D8;
    color: #2F352F;
    background: #FDFBF8;
}

.tr-footer__inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(640px, 1.8fr) minmax(260px, 0.75fr);
    align-items: center;
    gap: 46px;
}

.tr-footer .tr-container{
    max-width: 1500px;   /*  */
    width: calc(100% - 80px);
    margin: 0 auto;
}

.tr-footer__brand-link {
    display: inline-block;
    text-decoration: none;
}

.tr-footer__logo {
    display: block;
    width: min(320px, 100%);
    height: auto;
}

.tr-footer__nav {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(170px, 0.9fr) minmax(180px, 1fr);
    align-items: start;
}

.tr-footer__nav-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 104px;
    padding: 0 36px;
    border-left: 1px solid #D9D2C7;
}

.tr-footer__nav-column a {
    position: relative;
    padding-left: 10px;
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
}

.tr-footer__nav-column a::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.tr-footer__nav-column a:hover {
    text-decoration: underline;
}

.tr-footer__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding-left: 34px;
/*    border-left: 1px solid #D9D2C7;*/
    text-align: center;
}

.tr-footer__sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.tr-footer__sns-link {
    display: block;
    width: 34px;
    height: 34px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tr-footer__sns-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.tr-footer__sns-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tr-footer__copyright {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
}


.sp-only{
    display:none;
}

/*pcだけ*/
.pc-br {
    display: block;
}

@media (max-width:767px){
    .sp-only{
        display:block;
    }
}

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

@media (max-width: 1080px) {
    .tr-footer__inner {
        grid-template-columns: 1fr 1.7fr;
        align-items: start;
    }

    .tr-footer__right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        min-height: auto;
        padding-top: 26px;
        padding-left: 0;
/*        border-top: 1px solid #D9D2C7;*/
        border-left: 0;
        text-align: left;
    }

    .tr-footer__sns {
        margin-bottom: 0;
    }
}

@media (max-width: 1180px) {

        .tr-header-wrap {
        width: calc(100% - 24px);
    }

    .tr-site-header__inner {
        position: relative;
        min-height: 72px;
        padding: 10px 14px 10px 16px;
    }

    .tr-site-header__brand {
        width: min(250px, calc(100% - 70px));
    }

    .tr-menu-button {
        display: block;
    }

    .tr-global-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 110;

        display: block;
        width: 100%;
        height: 100dvh;
        max-height: none;
        overflow-y: auto;

        padding: 96px 24px 32px;

        background: #FFFFFF;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .tr-global-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .tr-global-nav__list {
        display: block;
        margin: 0;
        padding: 0;
    }

    .tr-global-nav__list li {
        border-bottom: 1px solid #E9E3D8;
    }

    .tr-global-nav__list a {
        display: block;
        padding: 17px 2px;

        color: #2F352F;
        font-size: 16px;
        line-height: 1.6;
        white-space: normal;
    }

    .tr-global-nav__contact {
        width: 100%;
        margin-top: 24px;
    }

    .tr-menu-button {
        position: relative;
        z-index: 120;
    }

    body.tr-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 767px) {


        .tr-header-wrap {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        transform: none;
    }

    .tr-footer {
        padding: 38px 0 28px;
    }

    .tr-footer__inner {
        display: block;
    }

    .tr-footer__brand {
        margin-bottom: 30px;
        text-align: center;
    }

    .tr-footer__logo {
        width: min(340px, 88%);
        margin-right: auto;
        margin-left: auto;
    }

    .tr-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 0;
    }

    .tr-footer__nav-column {
        min-height: auto;
        padding: 0 20px;
    }

    .tr-footer__nav-column:nth-child(3) {
        grid-column: 1 / -1;
        padding-top: 24px;
        border-top: 1px solid #D9D2C7;
        border-left: 0;
    }

    .tr-footer__right {
        display: block;
        margin-top: 30px;
        padding-top: 26px;
/*        border-top: 1px solid #D9D2C7;*/
        text-align: center;
    }

    .tr-footer__sns {
        margin-bottom: 18px;
    }

    .tr-footer__copyright {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tr-footer__nav {
        grid-template-columns: 1fr;
    }

    .tr-footer__nav-column,
    .tr-footer__nav-column:nth-child(3) {
        grid-column: auto;
        padding: 0 8px 22px;
        border-top: 0;
        border-left: 0;
        border-bottom: 1px solid #D9D2C7;
    }
}

