/* ============================================= */
/* 1. 基本リセットと全体設定
/* ============================================= */

/* ボックスサイズの計算を簡単にします */
*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    /* background-image: url('../images/back_wood.png'); */
    background-repeat: repeat;
    background-blend-mode: multiply;
    background-attachment: fixed;
    background: #e0e0e0;
    color: #303030;

    /* 基本の文字色（白） */
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    /* 明朝体系フォント */
    line-height: 1.8;
    /* 行間を広めにとる */
    font-size: 16px;
}

strong {
    font-size: 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
    font-weight: bold;
    /* 見出しは太く */
}

img {
    max-width: 100%;
    /* 画像がコンテナをはみ出さないようにする */
    height: auto;
    vertical-align: bottom;
    /* 画像下の余白を消す */
}

a {
    color: #FFFFFF;
    text-decoration: none;
    /* リンクの下線を消す */
    transition: opacity 0.3s;
    /* ホバー時にフワッと変化させる */
}

a:hover {
    opacity: 0.8;
}

/* ============================================= */
/* 2. 共通レイアウト
/* ============================================= */

.header-inner {
    max-width: 1400px;
}

/* サイト全体の最大幅と中央揃え */
.header-inner,
.footer-inner,
.concept,
.features,
.menu,
.info,
.instagram {
    width: 100%;
    /* PCでの最大幅 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    /* スマホ用の左右余白 */
    padding-right: 20px;
}

#instagram {
    background-image: url('../images/wasi.png');
    background-repeat: repeat;
}

/* 各セクションの上下の余白 */
.concept,
.features,
.menu,
.info,
.instagram {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* セクション見出しの共通スタイル */
.concept h2,
.features h2,
.menu h2,
.info h2,
.instagram h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    display: inline-block;
    background-image: url('../images/headline.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 20px 60px;
    color: #FFFFFF;
}

/* ============================================= */
/* 3. ヘッダー (.site-header)
/* ============================================= */
.site-header {
    /* スクロールに追従させる指定 */
    position: sticky;

    /* 画面の最上部に固定 */
    top: 0;

    /* 他のコンテンツより手前（上）に表示するための指定 */
    z-index: 1000;

    border-bottom: 1px solid #333;
    /* ヘッダーの下線 */
    background-color: #c00;
}

.header-inner {
    display: flex;
    /* Flexboxで横並び */
    justify-content: space-between;
    /* 両端に寄せる */
    align-items: center;
    /* 上下中央揃え */
    height: 90px;
}

.site-logo img {
    max-height: 40px;
    /* ロゴの高さを指定 */
    width: auto;
}

.global-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    /* ナビゲーションを横並び */
}

.global-nav li {
    margin-left: 30px;
}

.global-nav a {
    font-size: 1rem;
    /* 16px */
    font-weight: bold;
}

/* ============================================= */
/* 4. メインビジュアル (.hero)
/* ============================================= */
.hero {
    position: relative;
    /* 文字を重ねるための基準 */
    text-align: center;
    /* 画像の上下の黒帯を消す */
    line-height: 0;
}

.hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* 画像を引き伸ばしてコンテナに合わせる */
    opacity: 0.7;
    /* 画像を少し暗くする */
}

/* .hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
} */

.hero-title h2 {
    font-size: 3rem;
    /* 48px */
    color: #FFF;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* 文字に影をつける */
    margin-bottom: 10px;
}

.hero-title p {
    font-size: 1.25rem;
    /* 20px */
    color: #FFF;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* ============================================= */
/* 5. こだわり (.concept)
/* ============================================= */
.concept {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
    width: 100%;
}

.concept::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/soup.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    filter: blur(3px);
}


.concept p {
    font-size: 1.125rem;
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
    text-orientation: mixed;
    max-height: 380px;
    margin-top: 20px;
    text-align: initial;
    background: #e1e1e1d6;
    padding: 5px;
}

/* .background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-image: url('https://placehold.jp/450x600.png');
    background-size: cover;
} */

/* ============================================= */
/* 6. 厳選素材 (.features)
/* ============================================= */
.features {
    /* 添付画像を参考に、このセクションだけ背景色を変える */
    background: #a91d1d;
    /* メインの赤 */
}

.features-grid {
    display: grid;
    /* PCでは3カラム */
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    /* カラム間の余白 */
    text-align: center;
}

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 4px solid #FFFFFF;
    /* 画像に白い枠線 */
}

.feature-item h3 {
    font-size: 1.5rem;
    /* 24px */
    margin-top: 15px;
    margin-bottom: 0;
}

/* ============================================= */
/* 7. ラーメンメニュー (.menu)
/* ============================================= */
.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.menu-item {
    text-align: center;
    /* 全体を中央揃えに */

    /* --- ★ここから追記 (アニメーションの初期状態) --- */
    opacity: 0;
    /* 最初は透明 */
    transform: translateY(30px);
    /* 最初は30px下に隠す */
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* 0.8秒かけて変化 */
    /* --- ★ここまで追記 --- */
}

/* ★追加: JSによって 'is-visible' クラスが付いた時の状態 */
.menu-item.is-visible {
    opacity: 1;
    /* 透明を解除 */
    transform: translateY(0);
    /* 元の位置に戻す */
}

/* ★変更: 画像のスタイル */
.menu-image {
    margin-bottom: 20px;
}

.menu-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #1a1a1a;
    border: 4px solid #FFFFFF;
}

/* 商品名と価格のラッパー */
.menu-details {
    display: flex;
    justify-content: space-between;
    /* 商品名と価格を両端に */
    align-items: baseline;
    border-bottom: 1px dashed #555;
    padding-bottom: 10px;

    /* ★追加: 画像の幅より狭くならないように */
    min-width: 250px;
    /* (画像の規定サイズに合わせて調整してください) */
    /* 中央揃えのコンテナ内で幅を保つため */
    margin-left: auto;
    margin-right: auto;
}

.menu-item h3 {
    font-size: 1.25rem;
    /* 20px */
    margin: 0;
    text-align: left;
    /* 左揃えに戻す */
}

.menu-item p {
    font-size: 1.25rem;
    /* 20px */
    font-weight: bold;
    color: #a91d1d;
    margin: 0;
    white-space: nowrap;
    padding-left: 20px;
    text-align: right;
    /* 右揃えに戻す */
}

/* メニューオプション */
.menu-options {
    list-style: none;
    margin: 8px auto 0;
    padding: 0;
    min-width: 250px;
}

.menu-options li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px dotted #555;
    font-size: 0.95rem;
}

.opt-name {
    text-align: left;
}

.opt-price {
    font-weight: bold;
    color: #a91d1d;
    white-space: nowrap;
    padding-left: 15px;
    text-align: right;
}

/* ============================================= */
/* 8. 店舗情報 (.info)
/* ============================================= */

.wood_back {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
    width: 100%;
    color: #FFF;
}

.wood_back::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/back_wood.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.info-wrapper {
    display: grid;
    /* PCでは2カラム (テキスト: 1fr, マップ: 1fr) */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* カラム間の余白 */
    align-items: start;
    /* 上端を揃える */
}


.info-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 1.125rem;
    /* 18px */
    font-weight: bold;
    margin-bottom: 10px;
}

.info-item p {
    margin: 0;
}

/* ★追加: マップのラッパー */
.info-map-content {
    width: 100%;
    /* 高さをテキスト側に合わせる（見た目上） */
    height: 100%;
    min-height: 400px;
    /* マップの最低限の高さを確保 */
}

/* ★追加: 埋め込んだ iframe をレスポンシブ対応 */
.info-map-content iframe {
    width: 100%;
    height: 100%;
    border: 2px solid #FFFFFF !important;
    /* 白い枠線（任意） */
}

.info dl {
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info dl>div {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.info dt {
    font-size: 1.125rem;
    /* 18px */
    font-weight: bold;
    width: 120px;
    /* 見出しの幅を固定 */
    flex-shrink: 0;
    /* 縮まないように */
}

.info dd {
    margin: 0;
    width: 100%;
}

/* ============================================= */
/* 9. Instagram (.instagram)
/* ============================================= */
.instagram-feed {
    text-align: center;
    max-width: 950px;
    margin: auto;
}

/* ============================================= */
/* 10. フッター (.site-footer)
/* ============================================= */
.site-footer {
    border-top: 1px solid #333;
    padding: 40px 0;
}

.footer-inner {
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 0.875rem;
    /* 14px */
    color: #888;
}

/* ============================================= */
/* 11. レスポンシブ対応 (スマホ用)
/* ============================================= */

.hamburger-btn {
    display: none;
}

@media (max-width: 768px) {

    /* セクションの余白を小さく */
    .concept,
    .features,
    .menu,
    .info,
    .instagram {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* セクション見出しを小さく */
    .concept h2,
    .features h2,
    .menu h2,
    .info h2,
    .instagram h2 {
        font-size: 2rem;
        /* 32px */
        margin-bottom: 40px;
    }

    /* --- ヘッダー --- */
    .header-inner {
        height: 70px;
    }

    .site-logo img {
        max-height: 30px;
    }

    .hamburger-btn {
        display: block;
        /* スマホでのみ表示 */
        position: relative;
        z-index: 2000;
        /* 最前面に */
        width: 48px;
        height: 48px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-right: -10px;
        /* 右端の調整 */
    }

    /* 3本線のスタイル */
    .hamburger-btn span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #FFFFFF;
        position: absolute;
        left: 9px;
        transition: all 0.3s;
    }

    .hamburger-btn span:nth-child(1) {
        top: 14px;
    }

    .hamburger-btn span:nth-child(2) {
        top: 23px;
    }

    .hamburger-btn span:nth-child(3) {
        top: 32px;
    }

    /* --- 2. ボタンが開いた時 (×印に変形) --- */
    .hamburger-btn.is-active span:nth-child(1) {
        top: 23px;
        transform: rotate(45deg);
    }

    .hamburger-btn.is-active span:nth-child(2) {
        opacity: 0;
        /* 真ん中の線は消す */
    }

    .hamburger-btn.is-active span:nth-child(3) {
        top: 23px;
        transform: rotate(-45deg);
    }

    .global-nav {
        display: block;
        /* display: none を削除して block に */

        /* 初期状態は隠しておく */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* 画面いっぱい */
        background-color: rgba(17, 17, 17, 0.95);
        /* 背景色 (少し透過した黒) */
        z-index: 1500;
        /* ボタンより下、ヘッダーより上 */

        /* アニメーション用設定 */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;

        /* 中身を中央揃えにする */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* クラスが付いたら表示 */
    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    /* --- 4. メニューリストのスタイル調整 --- */
    .global-nav ul {
        /* 横並び(flex)を解除して縦積みに */
        display: block;
        text-align: center;
    }

    .global-nav li {
        margin: 0;
        margin-bottom: 30px;
        /* 項目間の余白 */
    }

    .global-nav a {
        font-size: 1.5rem;
        /* 文字を大きく */
        display: block;
    }


    /* --- ヒーロー --- */
    .hero img {
        height: 300px;
    }

    .hero-title h2 {
        font-size: 2rem;
        /* 32px */
    }

    .hero-title p {
        font-size: 1rem;
        /* 16px */
    }

    /* --- 厳選素材 --- */
    .features-grid {
        /* 3カラムから1カラム（縦積み）に変更 */
        grid-template-columns: 1fr;
    }

    /* --- メニュー --- */
    .menu-list {
        /* 2カラムから1カラム（縦積み）に変更 */
        grid-template-columns: 1fr !important;
        gap: 30px 0;
    }

    /* --- 店舗情報 --- */
    .info dl>div {
        /* 横並びから縦積みに変更 */
        flex-direction: column;
        padding: 15px 0;
    }

    .info dt {
        width: 100%;
        margin-bottom: 5px;
    }

    /* ★追加: こだわりセクションのスマホ対応 */
    .concept {
        height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .concept::before {
        background-position: center top;
    }

    .concept p {
        writing-mode: vertical-rl;
        max-height: 280px;
        font-size: 0.9rem;
        padding: 10px;
    }

    .info-wrapper {
        /* 2カラムから1カラム（縦積み）に変更 */
        grid-template-columns: 1fr;
    }

    .info-map-content {
        /* マップの高さを固定（スマホでは高さ100%が効きすぎるため） */
        height: 300px;
        min-height: auto;
    }

    /* --- 麺グループ --- */
    .noodle-group {
        margin-bottom: 40px;
    }

    .noodle-group__header {
        margin-bottom: 30px;
    }

    .noodle-group__header-image {
        max-width: 100%;
    }

    .noodle-group__title {
        font-size: 1.4rem;
        padding: 6px 20px;
    }

    .noodle-group+.noodle-group {
        padding-top: 40px;
    }
}

/* ============================================= */
/* 12. 追加コンポーネント
/* ============================================= */

/* --- メニュー一覧ページ用 --- */

/* 簡易ヒーロー（見出し） */
.page-hero {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #222;
    /* 少し暗い背景 */
    text-align: center;
}

.page-hero h2 {
    font-size: 2.5rem;
    margin: 0;
    display: inline-block;
    background-image: url('../images/headline.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 20px 60px;
    color: #FFFFFF;
}

/* メニュー一覧ページのリスト余白 */
.page-menu-list {
    padding-top: 80px;
    padding-bottom: 80px;
    background-image: url('../images/sirohaikei.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-menu-list .menu-item {
    opacity: 1;
    transform: none;
}

/* ============================================= */
/* 麺の種類グループ (.noodle-group)
/* ============================================= */

.noodle-group {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.noodle-group:last-child {
    margin-bottom: 0;
}

/* グループヘッダー */
.noodle-group__header {
    text-align: center;
    margin-bottom: 40px;
}

/* katasa.png 画像 */
.noodle-group__header-image {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 20px auto 20px;
}

/* グループタイトル（太麺 / 細麺） */
.noodle-group__title {
    font-size: 1.8rem;
    color: #a91d1d;
    margin: 0;
    display: inline-block;
    padding: 8px 40px;
    border-top: 2px solid #a91d1d;
    border-bottom: 2px solid #a91d1d;
    letter-spacing: 0.2em;
}

/* グループ間の区切り */
.noodle-group+.noodle-group {
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}


/* --- 「もっと見る」ボタン --- */
.more-button-wrapper {
    text-align: center;
    /* メニューリストのグリッドの外に配置するため、グリッドカラムをまたぐ */
    grid-column: 1 / -1;
    margin-top: 40px;
}

.more-button {
    display: inline-block;
    background: #a91d1d;
    /* テーマカラーの赤 */
    color: #FFFFFF;
    font-weight: bold;
    padding: 15px 60px;
    border: 2px solid #a91d1d;
    transition: all 0.3s;
    font-family: sans-serif;
    /* ボタンはゴシック体の方が見やすい */
}

.more-button:hover {
    background: #FFFFFF;
    color: #a91d1d;
    opacity: 1;
    /* 親のa:hover設定を上書き */
}

/* --- メニューリストのグリッド調整 --- */
/* .menu-list の中にボタンラッパーも入ったため、
   ボタンラッパーはグリッドレイアウトの影響を受けないようにする */
.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    align-items: start;
    /* 高さが不揃いでも上端を揃える */
}