@charset "utf-8";

/* ============================ ガスを楽しむ--学校向けプログラム ============================ */

.fan-main--program .fan-hero {
    background: #fdf8f2 url(../img/fan-program/hero-fan-program.png) no-repeat right bottom / contain;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.fan-main--program .fan-hero__content::before {
    top: 48%;
    left: 44%;
    width: 105%;
    max-width: 720px;
}

.fan-main--program .fan-hero__content::after {
    top: 32%;
    right: 14%;
    width: min(25%, 170px);
}

.fan-main--program .fan-hero__title {
    font-size: clamp(40px, 4.2vw, 72px);
    line-height: 1.25;
    text-align: left;
}

.fan-main--program .fan-hero__catch {
    color: #a1b64d;
    font-size: clamp(22px, 2.3vw, 38px);
    line-height: 1.35;
    text-align: left;
}

/* ================== */
/* プログラムの特徴 ここから */
/* ================== */


.program__feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 30px auto 0;
}

.program__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.program__feature-item p {
    margin-top: 16px;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}

/* ================== */
/* プログラムの特徴 ここまで */
/* ================== */

/* ================== */
/* プログラム例タイムライン ここから */
/* ================== */
.program__eco,
.program__showroom {
    background-color: #fdf8f2;
}


.program__eco-wrapper,
.program__showroom-wrapper {
    display: grid;
    gap: 48px;
    justify-content: center;
    margin-top: 30px;
}


.program__eco-wrapper {
    grid-template-columns: minmax(320px, 420px) minmax(0, 600px);
}


.program__showroom-wrapper {
    grid-template-columns: minmax(320px, 420px) minmax(0, 520px);
}

.program__timeline-example {
    max-width: 420px;
}

.program__timeline-example h3 {
    color: #a1b64d;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.program__timeline {
    display: grid;
    gap: 0;
    margin-top: 18px;
}

.program__timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: start;
    min-height: 58px;
    padding-bottom: 10px;
}

.program__timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 27px;
    bottom: 2px;
    left: 21px;
    width: 2px;
    background-color: #9fb34f;
}

.program__timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 17px;
    width: 0;
    height: 0;
    border-top: 7px solid #9fb34f;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.program__timeline li:last-child {
    min-height: 0;
    padding-bottom: 0;
}

.program__timeline-time {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-height: 24px;
    margin-top: 2px;
    color: #fff;
    background-color: #9fb34f;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.program__timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.program__timeline-content p {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}


.program__eco-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
}


.program__eco-wrapper>div:last-child {
    width: min(100%, 600px);
    margin-right: auto;
    margin-left: auto;
}

.program__eco-images img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.program__showroom {
    background-color: #fff;
}


.program__showroom-image {
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
}


.program__showroom-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.program__target {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    border: 1px solid currentColor;
}


.program__showroom-image .program__target {
    width: min(100%, 520px);
}


.program__eco-images+.program__target {
    width: min(100%, 600px);
}

/* ================== */
/* プログラム例タイムライン ここまで */
/* ================== */

/* ================== */
/* まずはお気軽にご相談ください ここから */
/* ================== */

.program__consults .l-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}


#program .program__consults h2 {
    color: #231815;
    font-size: 20px;
}


.program__consults-links {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 20px;
    margin-top: 16px;
}


.program__consults-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 300px;
    min-height: 54px;
    margin: 0;
    padding: 10px 14px;
    background-color: #a1b64d;
    border-color: #a1b64d;
    box-shadow: 0 4px 10px rgba(161, 182, 77, 0.22);
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}


.program__consults-link::after {
    width: 22px;
    height: 22px;
    margin-left: 10px;
}


.program__consults-link--tel::after {
    display: none;
}


.program__consults-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
}


.program__consults-tel {
    display: grid;
    justify-items: center;
    gap: 14px;
}


.program__consults-tel-info {
    display: grid;
    justify-items: center;
    gap: 3px;
    margin: 0;
    line-height: 1.35;
    text-align: center;
}

.program__consults-tel-info strong {
    font-size: 16px;
    font-weight: 700;
}


.program__consults-tel-info>span {
    font-size: 11px;
    font-weight: 500;
}


.program__consults-tel-info a {
    margin-top: 3px;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
}


.program__consults-tel-info small {
    display: inline;
    font-size: 14px;
    font-weight: 400;
}

.fan-main--program h2,
.fan-main--program .fan-icon-heading,
.fan-main--program h3 {
    color: #9ea94f;
}

#program h2 {
    color: #9ea94f;
}

.fan-main--program .program__feature h2,
.fan-main--program .program__feature h3,
.fan-main--program .program__feature .fan-icon-heading,
#program .program__feature h2 {
    color: #231815;
}

.fan-main--program .c-btn-round {
    color: #9ea94f;
    border-color: #9ea94f;
    box-shadow: 0 4px 10px rgba(161, 182, 77, 0.22);
}

.fan-main--program .c-btn-round--fill {
    background-color: #9ea94f;
    color: #fff;
}

/* ================== */
/* まずはお気軽にご相談ください ここまで */
/* ================== */
@media screen and (max-width: 1024px) {
    .fan-main--program .fan-hero {
        background-image: url(../img/fan-program/hero-fan-program-sp.png);
        background-position: right top;
        background-size: cover;
    }

    .program__feature-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .program__eco-wrapper,
    .program__showroom-wrapper {
        grid-template-columns: 1fr;
    }

    .program__timeline-example {
        width: min(100%, 460px);
        max-width: none;
        margin: 0 auto;
    }

}

@media screen and (max-width: 768px) {


    .program__consults-links {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }


    .program__consults-link {
        width: min(100%, 320px);
    }
}

@media screen and (max-width: 480px) {
    .fan-main--program .fan-hero {
        background-image: url(../img/fan-program/hero-fan-program-sp.png);
        background-position: right top;
        background-size: cover;
    }

    .fan-main--program .fan-hero__content::before {
        top: 44%;
        width: min(110%, 380px);
    }

    .fan-main--program .fan-hero__content::after {
        top: -18%;
        right: 2%;
        width: min(24vw, 96px);
    }

    .program__feature-list {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .program__feature-item {
        padding: 22px 18px;
    }

    .program__feature-item p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    .program__eco-wrapper,
    .program__showroom-wrapper {
        gap: 28px;
    }

    .program__timeline-example h3 {
        font-size: 22px;
    }

    .program__timeline li {
        grid-template-columns: 50px 1fr;
    }

    .program__timeline-content h4 {
        font-size: 16px;
    }

    .program__timeline-content p {
        font-size: 13px;
    }


    .program__eco-images {
        gap: 12px;
    }

    .program__showroom-image img {
        margin: 0 auto;
    }


    .program__showroom-image .program__target {
        margin-right: auto;
        margin-left: auto;
    }

}

/* 学校向けプログラム：PCは維持し、タブレット以下で画像と文字を分離 */
.program-hero__cover {
    display: none;
}

@media screen and (max-width: 1024px) {
    .fan-main--program .fan-hero--program-index {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        padding: 0;
        align-content: normal;
        background: #fdf8f2;
        text-shadow: none;
    }

    .fan-hero--program-index .fan-breadcrumb {
        position: static;
        width: min(calc(100% - 48px), 960px);
        max-width: none;
        margin: 0 auto;
        padding: 18px 0;
    }

    .program-hero__cover {
        display: block;
        width: 100%;
        overflow: hidden;
        aspect-ratio: 16 / 9;
    }

    .program-hero__cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .fan-hero--program-index>.l-inner {
        width: min(calc(100% - 48px), 960px);
        margin: 0 auto;
        padding: 40px 0 52px;
    }

    .fan-hero--program-index .fan-hero__content {
        width: 100%;
        max-width: 860px;
        margin: 0 auto;
        text-align: center;
    }

    .fan-hero--program-index .fan-hero__title,
    .fan-hero--program-index .fan-hero__catch,
    .fan-hero--program-index .fan-hero__description {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .fan-hero--program-index .fan-breadcrumb,
    .fan-hero--program-index>.l-inner {
        width: min(calc(100% - 32px), 720px);
    }

    .fan-hero--program-index>.l-inner {
        padding-top: 30px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    .fan-hero--program-index .fan-breadcrumb {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

.fan-main--program .fan-hero__description.small {
    width: max-content;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(8px, 1vw, 14px);
    line-height: 1.5;
    white-space: nowrap;
}

@media screen and (min-width: 1025px) {
    .fan-main--program .fan-hero__description.small {
        margin-right: 0;
        margin-left: 0;
    }
}
