@charset "UTF-8";

:root {
    --tr-green: #315B3A;
    --tr-green-dark: #24472D;
    --tr-background: #FDFBF8;
    --tr-border: #E9E3D8;
    --tr-text: #2F352F;
    --tr-shadow: 0 8px 24px rgba(59, 72, 56, 0.08);
    --tr-radius: 12px;
}

.top-renewal-page {
    margin: 0;
    color: var(--tr-text);
    background: var(--tr-background);
}

.top-renewal-page *,
.top-renewal-page *::before,
.top-renewal-page *::after {
    box-sizing: border-box;
}

.top-renewal-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.tr-page {
    position: relative;
    overflow: hidden;
    background: var(--tr-background);
}

.tr-container {
    width: min(1400px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.tr-hero {
    position: relative;
    min-height: 900px;
    background: var(--tr-background);
}

.tr-hero__inner {
    display: flex;
    align-items: center;
    min-height: 900px;
    padding: 135px max(24px, calc((100vw - 1400px) / 2)) 90px;
    background-image:
        linear-gradient(
            90deg,
        #F1F5F5 0%,

            #F8F9F7 20%,
            rgba(253, 251, 248, 0.9) 36%,
            rgba(253, 251, 248, 0.1) 52%,
            rgba(253, 251, 248, 0) 62%
        ),
        url("../img/renewal/main-visual.png");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
}



.tr-hero__copy {
    position: relative;
    z-index: 2;
    width: min(390px, 34vw);
}

.tr-hero__title {
    margin: 0 0 28px;
    color: var(--tr-green);
    font-size: clamp(42px, 3.4vw, 60px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
}

.tr-hero__title{
    color:#315B3A;
    text-shadow:
        0 0 10px #fff,
        0 0 10px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 20px #fff,
        0 0 20px #fff,
        0 0 35px #fff,
        0 0 55px rgba(255,255,255,.95);
}

.tr-hero__text {
    margin: 0;
    font-size: 18px;
    line-height: 2;
}

.tr-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.tr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid var(--tr-green);
    border-radius: 6px;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.tr-button--fill {
    color: #FFFFFF;
    background: var(--tr-green);
}

.tr-button--line {
    color: var(--tr-green);
    background: rgba(255, 255, 255, 0.75);
}

.tr-themes {
    padding: 70px 0 84px;
    background: var(--tr-background);
}

.tr-section-title {
    margin: 0 0 38px;
    color: var(--tr-green);
    font-size: clamp(26px, 2.3vw, 38px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-align: center;
}

/*
.tr-theme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 270px));
    justify-content: center;
    gap: 20px;
}
*/
.tr-theme-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tr-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 18px rgba(59, 72, 56, 0.04);
}
/*
.tr-theme-card:nth-child(5) {
    grid-column: 2;
}
*/

.tr-theme-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tr-theme-card {
    flex: 0 0 320px;
}


.tr-theme-card__title {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 70px;
    margin: 0;
    padding: 16px 16px;
    color: var(--tr-green);
    font-size: 20px;
    line-height: 1.45;
}

.tr-theme-card__title span{
    font-weight: 700;
}

.tr-theme-card__number {
    flex-shrink: 0;
    font-size: 1.45em;
    line-height: 1.1;
}

.tr-theme-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tr-theme-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 18px 14px;
}

.tr-theme-card__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.tr-theme-card__body a {
    align-self: flex-end;
    margin-top: auto;
    padding-top: 18px;
    color: var(--tr-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.tr-message {
    background: #FAF6EE;
}

.tr-message__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-height: 360px;
    padding-top: 50px;
    padding-bottom: 50px;

    background-image: url("../img/renewal/message-visual.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 62% auto;
}



.tr-message__copy {
    width: 38%;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.tr-message__copy h2 {
    margin: 0;
    color: var(--tr-green);
    font-size: clamp(28px, 2vw, 34px);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.08em;
}

.tr-message__copy p {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.9;
}



.tr-information {
    position: relative;
    padding: 70px 0 125px;
    background:
        url("../img/renewal/footer-landscape.png")
        center bottom / 100% auto
        no-repeat,
        #FFFFFF;
}

.tr-information__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    align-items: start;
    gap: 78px;
}

.tr-news__heading {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 26px;
}

.tr-news__heading h2 {
    margin: 0;
    color: var(--tr-green);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.tr-news__heading a {
    color: var(--tr-green);
    font-size: 14px;
    text-decoration: none;
}

.tr-news__list {
    border-top: 1px solid #CFC8BC;
}

.tr-news__item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 4px;
    border-bottom: 1px solid #CFC8BC;
}

.tr-news__item time {
    color: #5C685E;
    font-size: 14px;
    white-space: nowrap;
}

.tr-news__item a {
    color: #2F352F;
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
}

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

.tr-join {
    display: flex;
    justify-content: flex-end;
    min-height: 240px;
    overflow: hidden;

    border: 1px solid #DDD6CA;
    border-radius: 12px;

    box-shadow: 0 8px 18px rgba(70, 72, 62, 0.08);

    background-color: #FCF9F2;

    background-image: url("../img/renewal/join-card.jpg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto;
}

.tr-join__body {
    width: 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}
.tr-join__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.tr-join__body h2 {
    margin: 0 0 14px;
    color: var(--tr-green);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.tr-join__body p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
}

.tr-join__body .tr-button {
    width: 100%;
    min-width: 0;
}

.tr-join__body h2,
.tr-join__body p{
    position: relative;
    z-index: 2;

    text-shadow:
        0 0 6px rgba(255,255,255,.95),
        0 0 6px rgba(255,255,255,.95),
        0 0 12px rgba(255,255,255,.9),
        0 0 12px rgba(255,255,255,.9),
        0 0 24px rgba(255,255,255,.8);
}

body.top-renewal-page {
    padding-top: 0 !important;
}

@media (max-width: 900px) {

    .tr-hero,
    .tr-hero__inner {
        min-height: 680px;
    }

    .tr-hero__inner {
        padding-top: 125px;
        background-size: auto 92%;
    }

    .tr-hero__copy {
        width:60%;
    }

    .tr-theme-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .tr-theme-card:nth-child(5) {
        grid-column: auto;
    }

    .tr-information{
        background-size: 180% auto;   /* ←ズーム */
        background-position: left bottom;  /* ←左寄せ */
    }
     .tr-information__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tr-join {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .tr-container {
        width: min(100% - 30px, 620px);
    }


    .tr-hero {
        min-height: auto;
    }

    .tr-hero__inner {
        display: block;
        min-height: auto;
        padding: 50vw 20px 42px;

        background-image:
            linear-gradient(
                180deg,
                rgba(253, 251, 248, 0) 0%,
                rgba(253, 251, 248, 0) 48%,
                var(--tr-background) 82%
            ),
            url("../img/renewal/main-visual.png");

        background-position: center top;
        background-size: auto 110vw;
    }

    .tr-hero__copy {
        width: 100%;
    }

    .tr-hero__title {
        font-size: clamp(36px, 11vw, 50px);
    }

    .tr-hero__text {
        font-size: 16px;
        line-height: 1.8;
    }

    .tr-hero__buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tr-button {
        min-width: 0;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 14px;
    }

    .tr-themes {
        padding: 46px 0 58px;
    }

    .tr-section-title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .tr-theme-grid {
        grid-template-columns: 1fr;
        gap: 18px 5px;
    }

    .tr-theme-card__title {
        min-height: auto;
    }

    .tr-message {
/*        padding: 36px 0;*/
    }

    .tr-message {
        padding: 0;
        padding-top:40px;
    }

    .tr-message__inner {
        display: block;
        min-height: auto;
        padding: 0 20px 36px;

        background-image: url("../img/renewal/message-visual.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
    }

    .tr-message__copy {
        width: 100%;
        padding-top: 30vw;
        padding-left: 0;
    }

    .tr-message__copy h2 {
        margin: 0;
        font-size: 26px;
        line-height: 1.55;
    }

    .tr-message__copy p {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.8;
    }




    .tr-news__item {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 15px 0;
    }

    .tr-join {
        display: block;
        min-height: auto;
        overflow: hidden;

        background-image: url("../img/renewal/join-card-sp.jpg");
        background-repeat: no-repeat;
        background-position: left top;
        background-size: 110% auto;
    }

    .tr-join__body {
        position: relative;
        width: 100%;
        margin-top: 190px;
        padding: 24px 18px 20px;

        background: #FFFDF9;
        z-index: 1;
    }
}
