body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* 鉄板をイメージした黒い背景＋赤い炎の光＋細かい斜め模様 */
    background-color: #1b1918;
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(255, 40, 0, 0.28), transparent 45%),
        radial-gradient(ellipse at 85% 100%, rgba(255, 140, 0, 0.18), transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 9px);
    background-attachment: fixed;
    color: #222;
}

/* セクションを縦に並べ、間に太い波線（淡いクリーム色）を入れる */
main {
    display: flex;
    flex-direction: column;
    gap: 96px;
    padding: 36px 0;
}

main > section {
    position: relative;
}

main > section:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -68px; /* 96pxの隙間の中央に配置 */
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='40' viewBox='0 0 64 40'%3E%3Cpath d='M0 20 Q16 6 32 20 T64 20' fill='none' stroke='%23f7e3c3' stroke-width='18' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 64px 40px;
    opacity: 0.85;
    pointer-events: none;
}

/* パソコンではページ全体を横幅1440pxで中央に表示（スマホは画面幅いっぱい） */
header,
main,
footer {
    max-width: 1440px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.header-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: red; /* グローバルメニューを赤に */
    color: #fff;
    padding: 10px 20px;
}

.site-title {
    margin: 0;
}

/* ハンバーガーボタン（パソコンでは非表示） */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.hamburger span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* 開いているときは × に */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav {
    display: flex;
    justify-content: flex-end;
}

/* スマホ・タブレット：プルダウンメニューで1列に並べる */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.4em;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        margin: 4px 0 0;
    }

    nav ul li {
        display: block;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
    }

    nav ul li a {
        display: block;
        padding: 3px 4px;
        line-height: 20px; /* 上下3px＋20px＝1項目26px */
    }
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.menu-category {
    margin: 0 20px;
    padding: 20px;
    background: beige; /* メニューの表示をベージュに */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* アイテムの間隔を均等に */
}

.menu-item {
    flex: 1 1 calc(30% - 20px); /* 各アイテムの幅を設定 */
    margin: 10px; /* アイテム間のマージン */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* アイテムに影を追加 */
    padding: 15px; /* アイテム内のパディング */
    border-radius: 5px; /* 角を丸くする */
    background-color: #fff; /* 背景色 */
}

.price {
    font-weight: bold;
}

/* メインメニュー：左に画像、右にメニュー */
.main-menu-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.main-menu-image {
    flex: 0 0 40%;
    margin: 10px 0 10px 10px;
}

.main-menu-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-menu-layout .menu-grid {
    flex: 1;
}

.main-menu-layout .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* メインメニューの小見出しとプチおこの一覧は2列をまたいで表示 */
.main-menu-layout .menu-grid > .menu-group,
.main-menu-layout .menu-grid > .plain-list {
    grid-column: 1 / -1;
}

/* 動画のないメニュー：2列をまたぎ、品名と価格を1行に並べる */
.main-menu-layout .menu-grid > .menu-item.no-video {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 1em;
}

.menu-item.no-video h4,
.menu-item.no-video .price {
    margin: 0;
}

@media (max-width: 1000px) {
    .main-menu-layout .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-menu-layout {
        flex-direction: column;
        gap: 0;
    }

    .main-menu-image {
        flex: none;
        width: auto;
        margin: 10px;
    }
}

/* トッピング・サイドメニュー：グリッドを使わず文字で羅列 */
.plain-list {
    list-style: none;
    margin: 10px;
    padding: 0;
    line-height: 2.2;
}

.plain-list li {
    display: inline-block;
    max-width: 100%; /* 1行に収まらない長い品名だけ折り返す */
}

.plain-list li .price {
    margin-left: 0.4em;
}

.plain-list li:not(:last-child)::after {
    content: "／";
    margin: 0 0.6em;
    color: #c0392b;
}

/* メインメニューの TikTok 動画枠（9:16）。枠の見た目は子供食堂ページの .tiktok-slot と共通 */
.tiktok-slot.menu-video {
    max-width: 240px;
    margin-top: 10px;
}

/* メニューの小見出し（ドリンク・メインメニュー・サイドメニュー） */
.drink-group,
.menu-group {
    margin: 20px 10px 0;
    padding-bottom: 4px;
    border-bottom: 2px solid #c0392b;
}

.menu-note {
    margin: 6px 10px 0;
    font-size: 0.9em;
}

/* フッター：赤い帯の下に店舗情報・メニューリンク・コピーライト */
footer {
    background: #2a2624;
    color: #eee;
    border-top: 6px solid red;
    font-size: 0.95em;
    line-height: 1.7;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 32px 40px 24px;
}

.footer-inner p,
.footer-hours dd {
    margin: 0;
}

.footer-name {
    margin-bottom: 8px !important;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

.footer-tel {
    margin-top: 8px !important;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
}

.footer-hours dt {
    color: #f7e3c3;
    font-weight: bold;
}

.footer-hours dd + dt {
    margin-top: 10px;
}

/* ヘッダーのグローバルメニュー（nav）の見た目を引き継がないようにリセット */
.footer-nav {
    display: block;
    width: auto;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 32px;
}

.footer-nav li {
    display: block;
    margin: 0 0 6px;
    border: 0;
    break-inside: avoid;
}

.footer-nav a {
    display: inline;
    padding: 0;
    line-height: inherit;
    color: #fff;
    text-decoration: none;
}

.footer-nav a::before {
    content: "▸ ";
    color: red;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.85em;
}

.footer-bottom p {
    margin: 4px 0;
}

/* 地図データの出典表示 */
footer .credit {
    font-size: 0.9em;
    color: #bbb;
}

footer .credit a {
    color: #ddd;
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        padding: 24px 20px 16px;
    }
}

/* スライドショーのスタイル */
.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* パソコン・スマホ共通で横幅いっぱい・16:9 */
    overflow: hidden;
    margin: 0;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

.mySlides img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ったまま枠いっぱいにトリミング */
}

/* Googleマップ：画面幅に合わせて縮む（はみ出し防止） */
.map-container iframe {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
}

/* 日本地図（広島県を赤く） */
#japan-map {
    margin: 0 20px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.japan-map-svg {
    max-width: 600px;
    margin: 0 auto;
}

/* 地図と文言を横並び（スマホでは地図の下に文言） */
.map-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.map-layout .japan-map-svg {
    flex: 1 1 60%;
    margin: 0;
}

/* 拡大した地図の端（切れ目）をふんわり消す */
.japan-map-svg svg.zoomed {
    -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 55%, transparent 75%);
}

.map-copy {
    flex: 1 1 40%;
    max-width: 360px;
    text-align: left;
    line-height: 1.8;
}

.map-copy p {
    margin: 0 0 12px;
}

.map-copy .nobr {
    display: inline-block; /* 「そば/うどん」を途中で改行しない */
}

.map-copy .map-catch {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.4;
    color: #d40000;
}

@media (max-width: 600px) {
    .map-layout {
        flex-direction: column;
        gap: 16px;
    }

    .map-layout .japan-map-svg {
        width: 100%;
    }

    .map-copy {
        max-width: none;
    }

    .map-copy .map-catch {
        font-size: 1.6em;
        text-align: center;
    }
}

.japan-map-svg svg {
    display: block;
    width: 100%;
    height: auto;
}

/* 広島以外は半透明にして控えめに */
.japan-map-svg .prefecture {
    fill: #b0b0b0;
    fill-opacity: 0.35;
    stroke: #fff;
    stroke-width: 1;
}

/* 広島だけ不透明の赤＋光らせて目立たせる */
.japan-map-svg .prefecture.hiroshima {
    fill: red;
    fill-opacity: 1;
    stroke: #fff;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.8));
}

.japan-map-svg .boundary-line {
    stroke: #999;
    opacity: 0.35;
}

/* 店舗の住所 */
.shop-address {
    margin: 0 0 16px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
}

/* アクセス情報（最寄り駅・バス停・駐車場）。営業時間と同じカード */
.shop-hours.access-info {
    max-width: 720px;
    margin-bottom: 20px;
}

.shop-hours.access-info > div {
    flex-basis: 160px;
}

/* 価格の税込表記 */
.tax-note {
    margin: -4px 0 12px;
    font-size: 0.85em;
    color: #666;
}

/* ラストオーダーは小さめに、改行しない */
.shop-hours .lo {
    display: inline-block;
    font-size: 0.85em;
}

/* Google マップを別タブで開くリンク */
.map-link {
    margin: 12px 0 0;
    text-align: center;
}

.map-link a {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #d40000;
    border-radius: 999px;
    color: #d40000;
    font-weight: bold;
    text-decoration: none;
}

/* ご予約 */
#reservation {
    margin: 0 20px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.reserve-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.reserve-button {
    display: inline-block;
    min-width: min(220px, 100%); /* 狭い画面では白い欄の幅に収める */
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    background: red;
    color: #fff;
    border: 2px solid red;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    line-height: 1.4;
    transition: opacity 0.2s;
}

/* 狭い画面で改行するときは（ ）ごと次の行へ */
.reserve-button .nobr {
    display: inline-block;
}

/* ご来店ボタンは白地に赤枠 */
.reserve-button.visit {
    background: #fff;
    color: red;
}

.reserve-button:hover {
    opacity: 0.8;
}

/* お問い合わせ（電話） */
#contact {
    text-align: center;
}

.contact-tel {
    margin: 20px 0;
}

.contact-tel span {
    display: inline-block;
    color: red;
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.contact-note {
    line-height: 1.8;
}

.contact-note a {
    color: #c0392b;
}

/* 営業時間・定休日 */
.shop-hours {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 16px auto;
    max-width: 520px;
}

.shop-hours > div {
    flex: 1 1 200px;
    background: #fff;
    border-left: 4px solid #c0392b;
    border-radius: 5px;
    padding: 10px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.shop-hours dt {
    font-weight: bold;
    color: #c0392b;
    margin-bottom: 4px;
}

.shop-hours dd {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
}

/* 店長のおススメ：文章と画像を左右交互に配置 */
.recommend-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 10px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 2つ目、4つ目…は画像を右側に */
.recommend-item:nth-of-type(even) {
    flex-direction: row-reverse;
}

.recommend-image {
    flex: 0 0 45%;
}

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

.recommend-text {
    flex: 1;
}

.recommend-text h3 {
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #c0392b;
    font-size: 1.4em;
}

.recommend-text p {
    line-height: 1.8;
}

/* スマホでは画像の下に文章を縦に並べる */
@media (max-width: 768px) {
    .recommend-item,
    .recommend-item:nth-of-type(even) {
        flex-direction: column;
        gap: 10px;
    }

    .recommend-image {
        flex: none;
        width: 100%;
    }
}


/* ===== 子供食堂 ===== */

/* ヘッダーの店名をトップページへのリンクにする（子供食堂ページ） */
.site-title a {
    color: inherit;
    text-decoration: none;
}

/* 白いカード（ご来店・ご予約と同じ見た目） */
.kodomo-card,
.kodomo-banner {
    margin: 0 20px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 1.8;
}

.kodomo-label {
    display: inline-block;
    margin: 8px 0 0;
    padding: 2px 14px;
    border-radius: 999px;
    background: #ffe9a8;
    color: #8a4b00;
    font-weight: bold;
    font-size: 0.95em;
}

.kodomo-catch {
    margin: 12px 0 16px;
    font-size: 2em;
    line-height: 1.4;
    color: #d40000;
}

.kodomo-banner h2 {
    margin: 12px 0 8px;
    color: #d40000;
}

.kodomo-banner-time {
    margin: 0 0 8px;
    font-size: 1.3em;
    font-weight: bold;
}

.kodomo-banner .reserve-button {
    margin-top: 8px;
}

.kodomo-place {
    margin: 12px 0 4px;
    font-size: 1.05em;
}

.kodomo-place-note,
.kodomo-note {
    margin: 8px 0 0;
    font-size: 0.9em;
    color: #555;
}

.kodomo-note a {
    color: #c0392b;
}

/* 地域への想い（読みやすい幅の本文） */
.kodomo-text p {
    max-width: 680px;
    margin: 0 auto 14px;
    line-height: 1.9;
}

/* 寄付の金額 */
.donation-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 20px auto;
    max-width: 520px;
}

.donation-plan {
    flex: 1 1 180px;
    padding: 16px;
    border: 2px solid #c0392b;
    border-radius: 10px;
    background: #fffaf0;
}

.donation-plan.featured {
    background: #c0392b;
    color: #fff;
}

.donation-name {
    margin: 0;
    font-weight: bold;
}

.donation-price {
    margin: 4px 0 0;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
}

.donation-price span {
    margin-left: 4px;
    font-size: 0.5em;
}

/* TikTok 動画の枠（縦長 9:16）。URL が入るまでは「準備中」を表示 */
.tiktok-slot {
    width: 100%;
    max-width: 325px;
    aspect-ratio: 9 / 16;
    margin: 16px auto 0;
}

/* 動画を枠内に固定し、上に透明なふた・ボタンを重ねる */
.tiktok-slot.tiktok-ready {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.tiktok-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tiktok-play-icon {
    display: none;
    width: 64px;
    height: 64px;
    line-height: 64px;
    padding-left: 6px;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 28px;
    text-align: center;
}

.tiktok-slot.is-paused .tiktok-play-icon {
    display: block;
}

.tiktok-mute {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.tiktok-slot iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.tiktok-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    border: 3px dashed #c0b8a0;
    border-radius: 8px;
    background: #fff;
    color: #888;
    text-align: center;
    font-weight: bold;
}

.tiktok-placeholder p {
    margin: 0;
}

.tiktok-ratio {
    margin-top: 8px !important;
    font-size: 0.85em;
    font-weight: normal;
}

.kodomo-back {
    text-align: center;
}

@media (max-width: 600px) {
    .kodomo-catch {
        font-size: 1.6em;
    }
}

.kodomo-banner .nobr {
    display: inline-block;
}

.kodomo-fee {
    font-weight: bold;
}

.kodomo-banner-target {
    margin: 0 0 8px;
    font-weight: bold;
}

footer .nobr {
    display: inline-block;
}

/* 「TikTokで見る」ボタン（TikTok 動画枠の下。指定した URL を新しいタブで開く） */
.tiktok-link {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    padding: 8px 20px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
}

.tiktok-link::before {
    content: "▶ ";
    color: #ff0050;
}

.tiktok-link:hover {
    opacity: 0.8;
}

/* index.html を直接開いたとき（file://）の動画枠 */
.tiktok-offline {
    gap: 4px;
    font-size: 0.9em;
}

/* ページの中で直接再生する動画（data-video） */
.tiktok-slot.local-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}

/* YouTube の動画枠（data-youtube） */
.tiktok-slot.youtube-ready {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.youtube-link::before {
    color: #ff0000;
}
