*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
                "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fde9cc; /* wrapper ではなくこちらに集約 */
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

ul{
    list-style: none;
    padding-left: 0; /* 余白も消したいとき */
}

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

.wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    background-color: transparent; /* 背景色を外す */
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 100;
}
.skip-link:focus {
    left: 8px;
}

header {
    border-bottom: 1px solid #e0ddcf;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 1rem;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* SPA版では button でも a でもOK */
.site-title button,
.site-title-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

/* ====== nav-toggle / globalNav sendan.club 風 ====== */

/* デフォルト（PC）：トグルボタンは非表示 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.nav-toggle-label {
    font-size: 0.9rem;
}

.nav-toggle-icon span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #333;
    transition: transform 0.2s, opacity 0.2s;
}

/* PC時のグローバルナビ */
.global-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.95rem;
}

/* SPAリンク用ボタン＋通常の a 両対応 */
.global-nav button,
.global-nav-link {
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font: inherit;
    white-space: nowrap;
    text-decoration: none;
}

.global-nav button:hover,
.global-nav button:focus,
.global-nav-link:hover,
.global-nav-link:focus {
    border-bottom-color: #c27a34;
}

.global-nav button.is-active {
    border-bottom-color: #c27a34;
    font-weight: 600;
}

/* nav-right は sendan.club 風構成では使わない場合は残してもOK */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-right a {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d0c5b9;
    background: #faf7f2;
    text-decoration: none;
}

main {
    padding: 16px 0 40px;
}

.hero{
    padding:0;
    margin:0;
    padding-top:0;
}

/* 鳥居画像ブロック */
.hero-image-wrap {
    background: #000;
}

.hero-image {
    max-height: 320px;
    overflow: hidden;
}

.hero-image img {
    width: 20%; 
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-image-placeholder {
    margin: 0;
    padding: 0;
    width: 100%;
    justify-items: center;
    background: linear-gradient(0deg, #fde9cc, hsl(36, 66%, 77%));
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-image-placeholder span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
}

.view {
    display: none;
    padding: 24px 0;
}

.view.is-active {
    display: block;
}

.hero {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}

.hero-sub {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

/* 商品写真：スライドショー対応 */
.single-photo-wrapper {
    margin: 16px 0 24px;
}

.single-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgb(0 0 0 / 0%);
    min-height: 160px;
}

/* フェード演出付き */
.single-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.6s ease;
    opacity: 1;
}

.single-photo img.is-fading {
    opacity: 0;
}

.single-photo-caption {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 6px 10px;
    font-size: 0.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: #fff;
}

.info-section {
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
}

.info-section h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-section p {
    font-size: 0.95rem;
}

.info-em {
    font-weight: 600;
}

.info-row {
    margin-top: 4px;
}

.info-row + .info-row {
    margin-top: 2px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.category-item {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0ddcf;
    background: #fff;
    text-align: center;
    font-size: 0.95rem;
}

.category-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.category-item small {
    color: #777;
    font-size: 0.8rem;
}

.sub-nav {
    margin: 24px 0 16px;
    text-align: center;
    font-size: 0.9rem;
}

.sub-nav button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0 6px;
}

.tel {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 16px;
}

.text-block,
.menu-block {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.95rem;
    /* 必要なら pre-line を戻す
    white-space: pre-line;
    */
}

.map-placeholder {
    margin: 16px 0 24px;
    padding-top: 60%;
    border-radius: 8px;
    background: #e0ddcf;
    position: relative;
    overflow: hidden;
    color: #555;
    font-size: 0.9rem;
    text-align: center;
}

.map-placeholder span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

footer {
    padding: 16px 0 24px;
    font-size: 0.8rem;
    color: #fff;
    text-align: center;
    background: #344834;
}

footer > .wrapper{
    background-color:#344834;
}

/* ====== レスポンシブ（SP時） ====== */
@media (max-width: 768px) {
    .header-inner {
        padding-inline: 12px;
    }

    .nav-main {
        justify-content: flex-end;
    }

    /* SPではトグルボタン表示、メニューは閉じた状態から */
    .nav-toggle {
        display: inline-flex;
    }

    .global-nav {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 12px;
        border-top: 1px solid #e0ddcf;
        background: #fff;
    }

    .global-nav.is-open {
        display: flex;
    }

    .nav-right {
        display: none;
    }
    .hero-image img {
    width: 50%; 
    }

    .hero-title {
        font-size: 1.4rem;
    }

    /* ハンバーガー → × 演出（任意） */
    .nav-toggle.is-open .nav-toggle-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .nav-toggle.is-open .nav-toggle-icon span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-open .nav-toggle-icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

.single-photo-wrapper {
  text-align: center;       /* 任意：キャプションなども中央寄せしたい場合 */
}

.single-photo img {
  width: 50%;
  max-width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#menu-block {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.menu-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  font-weight: 600;
}

.menu-tab.is-active {
  background: #222;
  color: #fff;
  border-color: #222;
}

.menu-contents {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.menu-pane {
  display: none;
}

.menu-pane.is-active {
  display: block;
}

/* spa-link を持つ画像リンクを中央寄せ */
.hero-image-placeholder .spa-link {
  display: inline-block;
  text-align: center;
}

/* 画像自体も中央に */
.hero-image-placeholder .spa-link img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.menu-list-wrapper {
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
}