@charset "utf-8";

.cooking__form-break-sp {
    display: none;
}

/* ============================ ガスを楽しむ--料理教室 ============================ */
/* 標準width: 1920px */
/* 1920px以上、1536px以下は下方に記載 */
/* ブレイクポイントは
   1920px
   1536px
   1280px
   1024px
   768px
   480px
*/

/* ================== */
/* 共通見出し　 */
/* ================== */
.cooking__studio-header h2,
.cooking__point h2,
.fan-main--cooking-chiba h2 {
    color: #eb6100;
}

.fan-main--cooking-yachiyo h2 {
    color: #6cbb5a;
}

.fan-main--cooking-chiba .fan-hero__title,
.fan-main--cooking-yachiyo .fan-hero__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    gap: 10px;
    text-align: left;
    white-space: normal;
}

.fan-main--cooking-chiba .fan-hero__title span,
.fan-main--cooking-yachiyo .fan-hero__title span {
    display: block;
    width: min(42vw, 220px);
}

.fan-main--cooking-chiba .fan-hero__title span img,
.fan-main--cooking-chiba .fan-hero__title > img,
.fan-main--cooking-yachiyo .fan-hero__title span img,
.fan-main--cooking-yachiyo .fan-hero__title > img {
    display: block;
    width: 100%;
    height: auto;
}

.fan-main--cooking-chiba .fan-hero__title > img,
.fan-main--cooking-yachiyo .fan-hero__title > img {
    width: min(52vw, 360px);
}

/* ================== */
/* 選べる2つの教室 ここから */
/* ================== */
.cooking__studio-header {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 2;
}

.cooking__studio-list {
    display: flex;
    gap: 32px;
    margin: 30px auto 0;
    justify-content: center;
}

.cooking__studio-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 0;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.cooking__studio-point {
    position: absolute;
    top: clamp(-28px, -2vw, -18px);
    z-index: 2;
    width: clamp(92px, 9vw, 140px);
    height: auto;
    pointer-events: none;
}

.cooking__studio-point--chiba {
    left: clamp(-18px, -1.4vw, -10px);
}

.cooking__studio-point--yachiyo {
    right: clamp(-18px, -1.4vw, -10px);
}

.cooking__studio-inner {
    display: flex;
    flex: 1;
    min-width: 0;
}

.cooking__studio-img {
    display: block;
    flex: 0 0 55%;
    width: 55%;
    height: auto;
    aspect-ratio: 232 / 259;
    object-fit: cover;
    align-self: flex-start;
}

.cooking__studio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 28px 28px 28px 24px;
}

.cooking__studio-title {
    color: #ef856d;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.cooking__studio-title span {
    color: #6f625c;
    font-size: 16px;
    letter-spacing: 0.08em;
}

.cooking__studio-text {
    margin-top: 18px;
    color: #4b403c;
    font-weight: 600;
}

.cooking-link-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 0;
}

.cooking__studio-item>.cooking-link-list {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.cooking__studio-item>.cooking-link-list .c-btn-round {
    width: min(100%, 270px);
}

.cooking-link-list--schedule {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 868px;
    margin: 24px auto 0;
    gap: 14px;
}

.cooking-link-list--schedule .c-btn-round {
    margin: 0;
    flex: 0 1 280px;
    width: 280px;
    max-width: 100%;
    white-space: nowrap;
}

.cooking__studio-item--yachiyo {
    box-shadow: 0 0 10px 0 rgba(108, 187, 90, 0.2);
}

.cooking__studio-item--yachiyo .cooking__studio-title {
    color: #6cbb5a;
}

.cooking__studio-item--yachiyo .cooking__studio-title span {
    color: #4f6849;
}

/* ================== */
/* 選べる2つの教室 ここまで */
/* ================== */

/* ================== */
/* 料理教室のポイント ここから */
/* ================== */

.cooking__point-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.cooking__point-title img {
    width: 52px;
    height: auto;
    flex: 0 0 auto;
}

.cooking__point-list {
    display: grid;
    gap: 28px;
    margin-top: 32px;
}

/* 講師スライダー（Swiper）。列数は JS の slidesPerView で制御するため grid は使わない */
.cooking__teacher-slider {
    position: relative;
    margin-top: 32px;
    padding: 0 44px;
    overflow: visible;
}

/* 操作バー: ドットを下中央に配置 */
.cooking__teacher-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.cooking__teacher-slider .swiper-pagination {
    position: static;
    width: auto;
    margin: 0;
}

.cooking__teacher-slider .swiper-pagination-bullet-active {
    background: #ef856d;
}

/* 前後ボタン: カルーセル左右に配置 */
.cooking__teacher-slider .swiper-button-prev,
.cooking__teacher-slider .swiper-button-next {
    position: absolute;
    top: clamp(96px, 10vw, 154px);
    z-index: 2;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.20);
}

.cooking__teacher-slider .swiper-button-prev {
    left: -18px;
}

.cooking__teacher-slider .swiper-button-next {
    right: -18px;
}

.cooking__teacher-slider .swiper-button-prev::after,
.cooking__teacher-slider .swiper-button-next::after {
    font-size: 22px;
    font-weight: 700;
}

.cooking__teacher-slider .swiper-button-prev::after {
    color: #ef856d;
}

.cooking__teacher-slider .swiper-button-next::after {
    color: #ed6d1f;
}

.cooking__point-list {
    grid-template-columns: repeat(4, 1fr);
}

.cooking__point-list li {
    text-align: center;
}

.cooking__point-list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.cooking__point-list h3 {
    margin-top: 18px;
    color: #ef856d;
    font-size: 20px;
    font-weight: 700;
}

.cooking__point-list p {
    margin-top: 12px;
    color: #4b403c;
    font-weight: 600;
    line-height: 1.8;
}

/* ================== */
/* 料理教室のポイント ここまで */
/* ================== */

/* ================== */
/* 講師紹介 ここから */
/* ================== */
.cooking__teacher-list {
    grid-template-columns: repeat(5, 1fr);
}

.cooking__teacher-list li {
    text-align: left;
}

.cooking__teacher-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.cooking__teacher-list h3 {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
}

.cooking__teacher-list p {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* ================== */
/* 講師紹介 ここまで */
/* ================== */

/* ================== */
/* 料理教室ご利用のお客様へのお願い ここから */
/* ================== */

.cooking__request ul {
    margin-top: 32px;
}

.cooking__request li + li {
    margin-top: 24px;
}

.cooking__request h3 {
    color: #eb6100;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.cooking__request li p {
    margin-top: 8px;
    font-weight: 600;
}

.cooking__request > .l-inner > p {
    margin-top: 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.cooking__request a {
    text-decoration: underline;
}

/* ================== */
/* 料理教室ご利用のお客様へのお願い ここまで */
/* ================== */

/* =============================千葉教室 CookingStudio & 八千代教室 Deli Lessonここから ====================================== */

/* ================== */
/* 今月の開催スケジュールここから */
/* ================== */
.cooking__schedule-content {
    display: flex;
    flex-direction: column;
    width: min(100%, 1000px);
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    padding: 36px 40px 40px;
    border: solid 2px #ef856d;
    border-radius: 8px;
}

.cooking__schedule-detail {
    display: grid;
    grid-template-columns: 60px minmax(300px, 390px) minmax(300px, 380px);
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.cooking__schedule-check {
    width: 60px;
    height: auto;
    flex: 0 0 auto;
}

.cooking__schedule-detail > div {
    min-width: 0;
}

.cooking__schedule-detail > img:last-child {
    width: 100%;
}

.fan-main--cooking-chiba .cooking__schedule .c-btn-round {
    background-color: #ef856d;
    color: #fff;
}

.fan-main--cooking-yachiyo .cooking__schedule-content {
    border-color: #6cbb5a;
}

.fan-main--cooking-yachiyo .cooking__schedule .c-btn-round {
    border-color: #6cbb5a;
    background-color: #6cbb5a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(108, 187, 90, 0.22);
}

.fan-main--cooking-chiba .cooking__schedule .c-btn-round::after {
    background-image: url(../img/icon-arrow-white.svg);
}

.fan-main--cooking-yachiyo .cooking__schedule .c-btn-round::after {
    background-image: url(../img/icon-arrow-white.svg);
}

.cooking__schedule h3 {
    color: #ef856d;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
}

.cooking__schedule h3 span {
    font-size: 40px;
}

.fan-main--cooking-yachiyo .cooking__schedule h3 {
    color: #6cbb5a;
}

/* ================== */
/* 今月の開催スケジュールここまで */
/* ================== */

/* ================== */
/* 料理教室予約フォームここから */
/* ================== */
.cooking__form-lead {
    margin-top: 14px;
    text-align: center;
    font-weight: 600;
}

.cooking__form-box {
    margin-top: 28px;
    padding: 28px 32px;
    border: solid 2px #ccc;
    border-radius: 8px;
}

.cooking__form-box h3 {
    font-size: 24px;
    font-weight: 600;
}

.cooking__form hr {
    margin: 18px 0 22px;
    border: 0;
    border-top: solid 1px #ccc;
}

.cooking__form-box p + p {
    margin-top: 18px;
}

/* ================== */
/* 料理教室予約フォームここまで */
/* ================== */

/* ================== */
/* 料理教室infoここから */
/* ================== */
.cooking__info-box {
    display: flex;
    align-items: stretch;
    gap: 28px;
}

.cooking__info-content {
    flex: 1 1 0;
    min-width: 0;
}

.cooking__info-content > img {
    display: block;
    max-width: 220px;
    height: auto;
}

.cooking__info-content > img + img {
    max-width: 300px;
    margin-top: 8px;
}

.cooking__info table {
    width: 100%;
    margin-top: 22px;
    border-collapse: collapse;
}

.cooking__info th,
.cooking__info td {
    padding: 7px 0;
    line-height: 1.7;
    vertical-align: top;
}

.cooking__info th {
    width: 110px;
    font-weight: 600;
    text-align: left;
}

.cooking__info td {
    color: #4b403c;
}

.cooking__info td span {
    display: block;
    margin-top: 2px;
    font-size: 18px;
    font-weight: 700;
}

.cooking__info iframe {
    flex: 0 0 42%;
    width: 42%;
    min-height: 340px;
    border: 0;
    border-radius: 8px;
}

@media screen and (min-width: 1025px) {
    .cooking__info th,
    .cooking__info td {
        font-size: 17px;
    }

    .cooking__info td span {
        font-size: 17px;
    }
}

/* ================== */
/* 料理教室infoここまで */
/* ================== */
/* =============================千葉教室 CookingStudio & 八千代教室 Deli Lessonここまで ====================================== */

/* =============================レスポンシブ====================================== */

/* =======Wide幅====== */

/* =======PC幅====== */
/* 1536px */

/* 1280px */
@media screen and (max-width: 1280px) {
    .cooking__studio-list {
        width: min(100%, 1040px);
        gap: 24px;
    }

    .cooking__studio-content {
        padding: 24px 22px;
    }

    .cooking__studio-title {
        font-size: 24px;
    }

    .cooking__teacher-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .fan-main--cooking-chiba .fan-hero__title,
    .fan-main--cooking-yachiyo .fan-hero__title {
        width: 100%;
    }
}

/* 1024px */
@media screen and (max-width: 1024px) {
    /* 料理教室トップ・千葉・八千代教室カバー：画像とコピーを上下に分ける */
    .fan-main--cooking .fan-hero--cooking,
    .fan-main--cooking-chiba .fan-hero--cooking,
    .fan-main--cooking-yachiyo .fan-hero--cooking {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        height: auto;
        aspect-ratio: auto;
        padding: 0;
        background: #fdf8f2;
    }

    /* パンくずをカバー画像の外へ出し、画像との重なりを防ぐ */
    .fan-main--cooking .fan-hero--cooking .fan-breadcrumb,
    .fan-main--cooking-chiba .fan-hero--cooking .fan-breadcrumb,
    .fan-main--cooking-yachiyo .fan-hero--cooking .fan-breadcrumb {
        position: relative;
        top: auto;
        left: auto;
        order: -1;
        z-index: 1;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 12px clamp(16px, 3vw, 32px);
        background: #fdf8f2;
        font-size: clamp(10px, 1.5vw, 12px);
        line-height: 1.7;
        white-space: normal;
        box-sizing: border-box;
    }

    .fan-main--cooking .fan-hero--cooking::before,
    .fan-main--cooking-chiba .fan-hero--cooking::before,
    .fan-main--cooking-yachiyo .fan-hero--cooking::before {
        content: "";
        display: block;
        flex: 0 0 auto;
        width: 100%;
        height: clamp(300px, 45vw, 460px);
        background: url(../img/fan-cooking/hero-fan-cooking-sp.png) no-repeat center center / cover;
    }

    .fan-main--cooking .fan-hero--cooking>.l-inner,
    .fan-main--cooking-chiba .fan-hero--cooking>.l-inner,
    .fan-main--cooking-yachiyo .fan-hero--cooking>.l-inner {
        width: 100%;
        padding: 42px 40px 48px;
        background: #fdf8f2;
    }

    .fan-main--cooking .fan-hero__content,
    .fan-main--cooking-chiba .fan-hero__content,
    .fan-main--cooking-yachiyo .fan-hero__content {
        width: min(100%, 680px);
        margin-inline: auto;
        text-align: center;
    }

    .fan-main--cooking .fan-hero__title,
    .fan-main--cooking-chiba .fan-hero__title,
    .fan-main--cooking-yachiyo .fan-hero__title {
        align-items: center;
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }

    .fan-main--cooking .fan-hero__description,
    .fan-main--cooking-chiba .fan-hero__description,
    .fan-main--cooking-yachiyo .fan-hero__description {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }

    .fan-main--cooking .fan-hero__description br,
    .fan-main--cooking-chiba .fan-hero__description br,
    .fan-main--cooking-yachiyo .fan-hero__description br {
        display: none;
    }

    .fan-main--cooking .fan-hero__catch {
        margin-bottom: 12px;
        font-size: clamp(30px, 4.2vw, 42px);
        line-height: 1.45;
        text-align: center;
    }

    .fan-main--cooking .fan-hero__catch::before {
        left: 50%;
    }

    .cooking__studio-list {
        flex-direction: column;
        width: min(100%, 720px);
    }

    .cooking__studio-item {
        max-width: none;
    }

    .cooking__point-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .cooking__request ul {
        grid-template-columns: 1fr;
    }

    .cooking__info-box {
        flex-direction: column;
    }

    .cooking__info iframe {
        width: 100%;
        flex-basis: auto;
        min-height: 360px;
    }
}

/* =======タブレット幅====== */
/* 768px */
@media screen and (max-width: 768px) {
    .cooking__studio-header {
        font-size: 26px;
    }

    .cooking__studio-list {
        margin-top: 32px;
        gap: 20px;
    }

    .cooking__studio-inner {
        min-height: 0;
    }

    .fan-main--cooking-chiba .fan-hero__title,
    .fan-main--cooking-yachiyo .fan-hero__title {
        gap: 8px;
    }

    .fan-main--cooking-chiba .fan-hero__title span,
    .fan-main--cooking-yachiyo .fan-hero__title span {
        width: min(44vw, 180px);
    }

    .fan-main--cooking-chiba .fan-hero__title > img,
    .fan-main--cooking-yachiyo .fan-hero__title > img {
        width: min(62vw, 300px);
    }

    .cooking__schedule-content {
        padding: 28px 24px 32px;
    }

    .cooking__schedule-detail {
        grid-template-columns: 54px minmax(0, 1fr);
        justify-content: center;
        text-align: left;
    }

    .cooking__schedule-detail > img:last-child {
        width: min(78vw, 360px);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .cooking__teacher-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .cooking__teacher-slider {
        padding: 0 36px;
    }
}

/* 狭い画面ではボタンを中央寄せの縦並びにする */
@media screen and (max-width: 700px) {
    .cooking-link-list--schedule {
        flex-direction: column;
        align-items: center;
        width: min(100%, 360px);
        max-width: 360px;
    }
    .cooking-link-list--schedule .c-btn-round {
        flex: none;
        width: 100%;
    }
}

/* =======モバイル幅====== */
/* 480px */
@media screen and (max-width: 480px) {
    .cooking__form-break-sp {
        display: inline;
    }

    .fan-main--cooking .fan-hero--cooking::before,
    .fan-main--cooking-chiba .fan-hero--cooking::before,
    .fan-main--cooking-yachiyo .fan-hero--cooking::before {
        height: clamp(245px, 66vw, 300px);
        background-position: center center;
    }

    .fan-main--cooking .fan-hero--cooking>.l-inner,
    .fan-main--cooking-chiba .fan-hero--cooking>.l-inner,
    .fan-main--cooking-yachiyo .fan-hero--cooking>.l-inner {
        padding: 34px 20px 40px;
    }

    .fan-main--cooking .fan-hero__description,
    .fan-main--cooking-chiba .fan-hero__description,
    .fan-main--cooking-yachiyo .fan-hero__description {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.75;
    }

    .fan-main--cooking .fan-hero__catch {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .cooking__studio-header {
        font-size: 22px;
        line-height: 1.7;
    }

    .cooking__studio-inner {
        display: block;
    }

    .fan-main--cooking-chiba .fan-hero__title span,
    .fan-main--cooking-yachiyo .fan-hero__title span {
        width: min(48vw, 150px);
    }

    .fan-main--cooking-chiba .fan-hero__title > img,
    .fan-main--cooking-yachiyo .fan-hero__title > img {
        width: min(72vw, 260px);
    }

    .cooking__studio-img {
        width: 100%;
        height: min(58vw, 260px);
        aspect-ratio: 16 / 10;
    }

    .cooking__studio-content {
        padding: 24px 22px;
        text-align: center;
    }

    .cooking__studio-title {
        font-size: 24px;
    }

    .cooking__point-title {
        gap: 10px;
    }

    .cooking__point-title img {
        width: 42px;
    }

    .cooking__point-list,
    .cooking__teacher-list {
        grid-template-columns: 1fr;
    }

    .cooking-link-list {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 0 20px;
    }

    .cooking-link-list--schedule {
        max-width: 320px;
        margin-top: 22px;
    }

    .c-btn-round {
        width: 86%;
    }

    .cooking__schedule-content {
        padding: 24px 18px 28px;
    }

    .cooking__schedule-check {
        width: 48px;
    }

    .cooking__schedule-detail {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .cooking__form-box {
        padding: 22px 18px;
    }

    .cooking__info-box {
        gap: 24px;
    }

    .cooking__info-content > img {
        max-width: 190px;
    }

    .cooking__info-content > img + img {
        max-width: 250px;
    }

    .cooking__info th,
    .cooking__info td {
        display: block;
        width: 100%;
        padding: 0;
    }

    .cooking__info th {
        padding-top: 10px;
    }

    .cooking__info td {
        padding: 2px 0 8px;
    }

    .cooking__info iframe {
        min-height: 300px;
    }

    .cooking__teacher-list img {
        display: block;
        width: min(68vw, 220px);
        margin: 0 auto;
    }

    .cooking__teacher-slider {
        padding: 0 30px;
    }

    .cooking__teacher-slider .swiper-button-prev,
    .cooking__teacher-slider .swiper-button-next {
        top: 110px;
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .cooking__teacher-slider .swiper-button-prev {
        left: -8px;
    }

    .cooking__teacher-slider .swiper-button-next {
        right: -8px;
    }

    .cooking__teacher-slider .swiper-button-prev::after,
    .cooking__teacher-slider .swiper-button-next::after {
        font-size: 18px;
    }

}
