/* =========================================================
   おがわ園｜お茶の作り方
   howto.css
========================================================= */


/* =========================================================
   ページ全体
========================================================= */

.ogawa-tea-howto-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    box-sizing: border-box;
}


/* =========================================================
   パンくず
========================================================= */

.ogawa-tea-howto-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 18px 0;

    font-size: 13px;
    color: #777;
}

.ogawa-tea-howto-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.ogawa-tea-howto-breadcrumb span {
    color: #aaa;
}


/* =========================================================
   メインタイトル
========================================================= */

.ogawa-tea-howto-header {
    text-align: center;
    padding: 35px 0 25px;
}

.ogawa-tea-howto-header-en {
    display: block;

    margin-bottom: 8px;

    font-family:
        Arial,
        "Helvetica Neue",
        sans-serif;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.22em;

    color: #8a765f;
}

.ogawa-tea-howto-header h1 {
    margin: 0;

    font-size: 38px;
    line-height: 1.4;

    font-weight: 700;

    color: #4d3828;
}

.ogawa-tea-howto-header-line {
    width: 55px;
    height: 3px;

    margin: 18px auto 0;

    background: #a58a55;
}


/* =========================================================
   作り方メニュー
========================================================= */

.ogawa-tea-howto-menu {
    display: flex;

    width: 100%;

    margin: 0 auto 70px;

    border-top: 1px solid #d8d0c5;
    border-bottom: 1px solid #d8d0c5;

    background: #faf9f6;
}


/* =========================================================
   各メニュー
========================================================= */

.ogawa-tea-howto-menu-item {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 62px;
    padding: 12px 15px;

    box-sizing: border-box;

    color: #4d3828;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    text-align: center;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


/* 区切り線 */

.ogawa-tea-howto-menu-item + .ogawa-tea-howto-menu-item {
    border-left: 1px solid #d8d0c5;
}


/* hover */

.ogawa-tea-howto-menu-item:hover {
    background: #eee8dc;
    color: #7a5b28;
}


/* 下向き矢印 */

.ogawa-tea-howto-menu-item::after {
    content: "\2193";

    margin-left: 10px;

    font-size: 13px;

    color: #a58a55;

    transition:
        transform 0.25s ease;
}

.ogawa-tea-howto-menu-item:hover::after {
    transform: translateY(3px);
}


/* =========================================================
   作り方各セクション
========================================================= */

.ogawa-tea-howto-section {
    padding: 65px 0 75px;

    scroll-margin-top: 20px;

    border-top: 1px solid #e5e0d8;
}


/* =========================================================
   セクションタイトル
========================================================= */

.ogawa-tea-howto-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 35px;

    text-align: left;
}

.ogawa-tea-howto-section-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    border-radius: 50%;

    background: #a58a55;
    color: #fff;

    font-size: 18px;
    font-weight: 700;
}

.ogawa-tea-howto-section-en {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
    letter-spacing: 0.18em;

    color: #9a876d;
}

.ogawa-tea-howto-section-heading h2 {
    margin: 0;

    font-size: 28px;
    line-height: 1.4;

    color: #4d3828;
}


/* =========================================================
   作り方画像
========================================================= */

.ogawa-tea-howto-image {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    text-align: center;
}

.ogawa-tea-howto-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;
}


/* =========================================================
   作り方メニューへ戻る
========================================================= */

.ogawa-tea-howto-back {
    display: block;

    width: fit-content;

    margin: 30px auto 0;

    padding: 10px 20px;

    border: 1px solid #d8d0c5;

    color: #6d5a46;

    text-decoration: none;

    font-size: 13px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.ogawa-tea-howto-back:hover {
    background: #f0ece5;
    color: #4d3828;
}


/* =========================================================
   スマートフォン
========================================================= */

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

    .ogawa-tea-howto-page {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }


    .ogawa-tea-howto-breadcrumb {
        font-size: 12px;
        padding: 12px 0;
    }


    .ogawa-tea-howto-header {
        padding: 25px 0 20px;
    }


    .ogawa-tea-howto-header h1 {
        font-size: 30px;
    }


    /* 4項目を2列 */

    .ogawa-tea-howto-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        margin-bottom: 45px;
    }


    .ogawa-tea-howto-menu-item {
        min-height: 58px;

        padding: 10px 8px;

        font-size: 13px;

        line-height: 1.4;
    }


    .ogawa-tea-howto-menu-item:nth-child(3) {
        border-left: none;
        border-top: 1px solid #d8d0c5;
    }


    .ogawa-tea-howto-menu-item:nth-child(4) {
        border-top: 1px solid #d8d0c5;
    }


    .ogawa-tea-howto-menu-item::after {
        margin-left: 5px;
        font-size: 11px;
    }


    .ogawa-tea-howto-section {
        padding: 45px 0 55px;
    }


    .ogawa-tea-howto-section-heading {
        gap: 12px;
        margin-bottom: 25px;
    }


    .ogawa-tea-howto-section-number {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 15px;
    }


    .ogawa-tea-howto-section-heading h2 {
        font-size: 22px;
    }


    .ogawa-tea-howto-section-en {
        font-size: 9px;
    }

}