@charset "UTF-8";

/*================================================
GENERAL STYLING
================================================ */
:root {
    --v-space: clamp(90px, 9vw, 120px);
    --main-color: #FBFBFB;
    --sub-color: #f3f1ed;
    --back-color: #fff;
    --btn-color: #e8b368;
    --hover-color:#ef9504;
}

body {
    margin: 0;
    background-color: var(--main-color);
    /* color: #7f1b00; */
    font-family: 'Noto Sans JP', sans-serif;
}

/*================================================
  共通部分
================================================ */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
h2,h3 {
    color: #454545;
}
p,ul {
    line-height: 1.8;
    font-family: "Noto Sans JP", sans-serif;
    color: #707070;
}

a {
    color: inherit;
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* link:hover */
.link:hover {
    color: var(--hover-color);
}

/* 写真を拡大 */
@media (min-width: 768px) {
    .grid-item:hover {
        transform: scale(1.1);
    }
    .link-img:hover {
    transform: scale(1.1);
    }
}


/* 横幅と左右の余白 */
.w-container {
    width: min(92%, 1166px);
    margin: auto;
    position: relative;
}

/*================================================
HEADER
================================================ */






/*================================================
HERO
================================================ */
/* ヒーロー */
.hero {
    height: 650px;
    background-image: url(../img/yck/yck-hero.jpg);
    background-position: center;
    background-size: cover;
}

.hero-container {
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
}

.hero h1 {
    margin-bottom: 42px;
    justify-self: center;
    align-self: center;
    color: #fff;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: normal;
    line-height: 1.2;     /*行の高さ　50px*1.2=60px　文字の上下に5pxずつ余白が入る*/
      /* ↓　文字に影を付ける */
    text-shadow: 3px 0 30px #ef9504, 0 3px 30px #ef9504, -3px 0 30px #ef9504, 0 -3px 30px #ef9504;
    text-align: center;
    font-family: 'Architects Daughter', cursive;
}

.hero p {
    margin-bottom: 72px;
    color: #fff;
    justify-self: center;
    align-self: center;
    text-align: center;
}

/* ボタン */
.btn {
    display: block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: var(--btn-color);
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;
}

.btn:hover {
    filter: brightness(90%) contrast(120%);
}
.btn-accent {
    background-color: #b72661;
}

/*　スクロールダウンのためのCSS の修正
　　9-1-4 矢印が動いてスクロールを促す　　　 */
.scrolldown4 span{
    z-index: 2;
}
.scrolldown4:before {
    z-index: 2;
}
.scrolldown4:after {
    z-index: 2;
}

/*================================================
BANNER
================================================ */



/*================================================
本文 ご挨拶・教室案内・レシピ紹介 
================================================ */
/* 画像とテキスト */
.imgtext {
    padding: var(--v-space) 0;
    background-color: var(--main-color);
}

.imgtext + .imgtext {
    padding-top: 0;
}

.imgtext-container {
    display: flex;
    flex-direction: column;
    gap: clamp(45px, 6vw, 80px);
}

.imgtext img {
    border-radius: 20px;
}

.link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    /* width: 11em; */
}



@media (min-width: 768px) {
    /* .imgtext img {
    display: block;
    max-width: 100%;
    height: auto;
    } */
    .imgtext-container {
        flex-direction: row;
        align-items: center;
    }

    .imgtext-container.reverse {
        flex-direction: row-reverse;
    }

    .imgtext-container > .text {
        flex: 1.5;
        min-width: 17em;
    }

    .imgtext-container > .img {
        flex: 1;
    }
}

/* タイトルとサブタイトル（赤色の短い線で装飾） */
.heading-decoration {
    font-size: clamp(30px, 3vw, 40px);
    min-height: 0vw;
    font-weight: 700;
}

.heading-decoration::after {
    display: block;
    content: "";
    width: 160px;
    height: 0px;
    border-top: solid 1px #b72661;
    margin-top: 0.6em;
}

.name {
    margin-top: 1em;
    margin-bottom: 2em;
    color: #707070;
    font-size: 18px;
}
.name a {
    margin-bottom: 1.5em;
}

.heading-decoration + p {
    margin-top: 1em;
    margin-bottom: 2em;
    /* color: #707070; */
    font-size: 18px;
}
.text {
    color: #454545;
}
/* .text a {
    margin-top: 1em;
    margin-bottom: 2em;
    color: #63625d;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.2rem;
} */

/* ギャラリー 　　将来使用のするかもで削除しない*/
/* .gallerys {
    padding: var(--v-space) 0;
    background-color: var(--main-color);
}

.gallerys-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 25px;
}

.gallery img {
    border-radius: 10px;
}
@media (min-width: 768px) {
    .gallerys-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery a {
    display: block;
}

.gallery h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vw;
}

.gallery p {
    max-width: 20em;
    font-size: clamp(10px, 1.6vw, 14px);
    min-height: 0vw;
}

.gallery img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
} */

/* 記事一覧　レシピ紹介 */
.posts {
    padding: var(--v-space) 0;
    background-color: var(--sub-color);
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 55px;
}
.post img {
    border-radius: 50px;
}

/* 記事一覧　レシピ紹介 写真を1枚だけ大きくする*/
.posts-container > :nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1/ span 2;
}
.posts-container > :nth-child(1) img {
    aspect-ratio: 3 / 2.2;
}

@media (min-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*  レシピ紹介の記事 */
.post a {
    display: block;
}

.post h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vw;
}

.post p {
    max-width: 20em;
    font-size: clamp(10px, 1.6vw, 14px);
    min-height: 0vw;
}

.post img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

@supports not (aspect-ratio: 3 / 2) {
    .post img {
        height: 180px;
    }
}

/* パーツの見出し */
.heading {
    position: absolute;
    top: calc((var(--v-space) + 0.6em) * -1);
    font-family: 'Architects Daughter', cursive;
    font-size: clamp(40px, 5.2vw, 60px);
    min-height: 0vw;
    font-weight: 300;
}

.heading span {
    display: block;
    color: #666666;
    font-size: 18px;
}


/*=======================================
  topに戻る
=========================================*/
.top-back {
    display: block;
    text-align: right;
}
.top-back:hover{
    color: #ef9504;
}


/*================================================
FOOTER
================================================ */
/* フッター */
.footer {
    padding: 70px 0;
    background-color: var(--back-color);
    color: #63625d;
    font-size: 13px;
}

.footer-container {
    display: grid;
    gap: 50px;
    justify-items: center;
}

.footer-container img:hover {
    filter: brightness(80%) contrast(120%);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .footer-container > .footer-site {
        margin-bottom: 20px;
    }

    .footer-container > *:not(.footer-sns) {
        justify-self: start;
    }

    .footer-container > .footer-sns {
        grid-column: 2;
        grid-row: 1 / 4;
        justify-self: end;
        align-self: center;
    }
}

/* フッター：ロゴ */
.footer-site {
    display: flex;
    gap: 20px;
}
.footer-site img:hover {
    filter: brightness(90%) contrast(120%);
}

/* フッター：SNSメニュー */
.footer-sns {
    display: flex;
    gap: 24px;
    font-size: 24px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 36px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    color: #ffffff;
}

.footer-sns .none {
    filter: brightness(50%) ;
}
.footer-sns .none:hover {
    filter: brightness(50%) ;
}

@supports not (aspect-ratio: 1 / 1) {
    .footer-sns a {
        height: 36px;
    }
}

/* フッター：テキストメニュー */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



/*================================================
content.html
================================================ */

/* 記事 */
.entry {
    padding-bottom: var(--v-space);
    background-color: var(--sub-color);
}

.entry-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
    max-width: 720px;
}

.entry .heading-decoration {
    font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
    font-size: clamp(16px, 2.4vw, 18px);
}

.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
    margin-top: revert;
    margin-bottom: revert;
    padding: revert;
    list-style: revert;
}

.entry-container p {
    margin: 1.8em 0;
}

.entry-container > :first-child {
    margin-top: 0;
}

.entry-container > :last-child {
    margin-bottom: 0;
}

/* プラン */
.plans {
    padding: var(--v-space) 0;
    background-color: #e9e5e9;
}

.plans-container {
    display: grid;
    gap: 27px;
}

@media (min-width: 768px) {
    .plans-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* プラン：カード */
.plan {
    display: flex;
    flex-direction: column;
    padding: 60px 27px;
    border-radius: 20px;
    background-color: #ffffff;
}

.plan h3 {
    margin-bottom: 38px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 38px;
    font-weight: 400;
}

.plan .desc {
    margin-bottom: 38px;
}

.plan .price {
    margin-top: auto;
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: bold;
}

.plan .btn {
    width: auto;
}
