/*
Theme Name: naya
Theme URI: https://naya-ushiku.jp/
Author: 菓子工房 naya
Description: 茨城県牛久市「菓子工房 naya」公式サイトのオリジナルテーマ。今月のマフィンとお知らせを管理画面から更新できます。
Version: 2.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naya
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   0. RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg-light: #fcfbfa;
  --color-bg-medium: #f4efe6;
  --color-bg-dark: #eae3d5;
  --color-bg-wood: #2a241e;
  --color-bg-black: #2a241e;

  --color-text-main: #3c3027;
  --color-text-muted: #786b61;
  --color-text-light: #a6988f;
  --color-text-white: #ffffff;
  --color-accent-red: #e03e2d;
  --color-accent-gold: #c5a880;

  --font-sans: "YakuHanJP_Noto", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
  --font-en-script: var(--font-sans);

  --header-h: 75px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* 固定ヘッダー分だけアンカー位置をずらす */
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

/* アクセシビリティ：キーボード操作時のフォーカスを見えるように */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent-red);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #fff;
  padding: 12px 20px;
}

.skip-link:focus {
  left: 0;
}

/* =========================================================
   1. 共通パーツ
   ========================================================= */
.site-body-text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: justify;
}

.site-body-text.text-muted {
  color: var(--color-text-muted);
}

.site-body-text.text-light {
  color: rgba(255, 255, 255, 0.8);
}

.section-bg-light-texture {
  background-color: var(--color-bg-medium);
  background-image: url('img/section-bg02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 90px 0;
}

.image-wrap {
  width: 100%;
  overflow: hidden;
}

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

.btn-red,
.hero-btn-choose {
  display: inline-block;
  background-color: var(--color-accent-red);
  color: var(--color-text-white);
  padding: 14px 45px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  border: 1px solid var(--color-accent-red);
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.btn-red:hover,
.hero-btn-choose:hover {
  opacity: 0.85;
}

/* テキストリンク（一覧を見る 等） */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-main);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity 0.25s ease;
}

.link-more::after {
  content: "→";
  font-size: 12px;
  transition: transform 0.25s ease;
}

.link-more:hover {
  opacity: 0.7;
}

.link-more:hover::after {
  transform: translateX(3px);
}

.link-more.is-light {
  color: var(--color-text-white);
}

/* =========================================================
   2. ヘッダー
   ========================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  padding: 18px 60px;
  border-bottom: 1px solid rgba(60, 48, 39, 0.08);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 12px rgba(60, 48, 39, 0.07);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  font-size: inherit;
  margin: 0;
}

.logo-img {
  max-height: 38px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-main);
  padding: 5px 0;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

.header-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.header-insta-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  width: 45px;
  height: 45px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-main);
  position: absolute;
  left: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }

/* ---- タブレット：ナビが詰まるので 1024px 以下でハンバーガーに ---- */
@media (max-width: 1024px) {
  header {
    padding: 14px 24px;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-bg-wood);
    padding: 80px 20px 40px;
    gap: 34px;
    z-index: 999;
    overflow-y: auto;
  }

  .header-nav.mobile-open .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .header-nav.mobile-open .nav-links a {
    font-size: 19px;
    color: var(--color-text-white);
    letter-spacing: 0.1em;
  }

  .header-nav.mobile-open .header-insta-icon {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
  }

  .menu-toggle.open span {
    background-color: var(--color-text-white);
  }

  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }
}

/* =========================================================
   3. ヒーロー
   ========================================================= */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100svh; /* モバイルのアドレスバー対策 */
  min-height: 560px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('img/hero.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.hero-logo-img {
  width: 210px;
  max-width: 62%;
  height: auto;
  margin-bottom: 40px;
  display: block;
}

.hero-btn-choose {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-instagram-link {
  position: absolute;
  bottom: 45px;
  right: 60px;
  z-index: 10;
  color: var(--color-text-white);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-insta-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .hero-instagram-link {
    bottom: 30px;
    right: 24px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 480px;
  }

  .hero-logo-img {
    width: 170px;
    margin-bottom: 30px;
  }

  .hero-btn-choose {
    padding: 13px 30px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .hero-instagram-link {
    display: none;
  }
}

/* =========================================================
   4. 見出し
   ========================================================= */
.section-heading-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading-wrap .heading-img {
  height: 44px;
  width: auto;
  display: block;
}

.section-label {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.25em;
}

.text-spacing-about  { letter-spacing: 0.25em; }
.text-spacing-muku   { letter-spacing: 0.4em; }
.text-spacing-takeout{ letter-spacing: 0.3em; line-height: 1.5; }
.text-spacing-map    { letter-spacing: 0.25em; }

.section-sub-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 10px;
  margin-bottom: 35px;
  letter-spacing: 0.05em;
  display: block;
}

.heading-img {
  height: 52px;
  width: auto;
  display: inline-block;
}

.title-ornament-both {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.heading-img-l,
.heading-img-r {
  height: 22px;
  width: auto;
  display: block;
}

.promise-header-title {
  font-size: 32px;
  letter-spacing: 0.25em;
  font-weight: 700;
}

.section-sub-en {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* =========================================================
   5. ABOUT
   ========================================================= */
.about-section {
  padding: 90px 0;
  max-width: 1600px;
  margin: 0 auto;
}

.about-section .container {
  max-width: 100%;
  padding-right: 0;
  padding-left: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: stretch;
}

.about-text {
  padding-right: 40px;
  align-self: center;
}

.about-content p + p {
  margin-top: 1.4em;
}

.about-image,
.about-image .image-wrap {
  width: 100%;
  height: 100%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .about-section .container { padding-left: calc((100vw - 1120px) / 2); }
}

@media (min-width: 1601px) {
  .about-section .container { padding-left: 240px; }
}

@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .about-text { padding-right: 24px; }
}

@media (max-width: 900px) {
  .about-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-text {
    padding-right: 0;
    text-align: center;
  }

  .about-content .site-body-text { text-align: left; }

  .section-heading-wrap { justify-content: center; }

  .about-image { height: auto; }

  .about-image img {
    height: auto;
    max-height: 380px;
    object-fit: cover;
  }
}

/* =========================================================
   6. ギャラリー（無限スクロール）
   ========================================================= */
.gallery-section {
  padding: 0 0 100px 0;
  overflow: hidden;
}

.gallery-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.gallery-carousel-track {
  display: flex;
  width: max-content;
  /* 自動で右から左へ流れ続けます。数字を小さくすると速くなります */
  animation: infinite-scroll 24s linear infinite;
}

/* 写真の上にカーソルを置いている間は止める（見たい写真を見られるように） */
.gallery-carousel-wrapper:hover .gallery-carousel-track {
  animation-play-state: paused;
}

.gallery-carousel-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.gallery-item {
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@keyframes infinite-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel-track { animation: none; }
  .gallery-carousel-wrapper { overflow-x: auto; }
}

@media (max-width: 768px) {
  .gallery-item { width: 200px; }
  .gallery-carousel-group { gap: 15px; padding-right: 15px; }
  .gallery-carousel-track { animation-duration: 18s; }
  .gallery-section { padding: 0 0 60px 0; }
}

/* =========================================================
   7. 3つの約束
   ========================================================= */
.promises-section { text-align: center; }

.promises-header { margin-bottom: 60px; }

.promises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.promise-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promise-image-wrap {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid rgba(60, 48, 39, 0.1);
  background-color: #eae5dc;
}

.promise-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.promise-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
}

@media (max-width: 1024px) {
  .promises-grid { gap: 30px; }
  .promise-image-wrap { width: 200px; }
}

@media (max-width: 768px) {
  .promises-grid { grid-template-columns: 1fr; gap: 46px; }
  .promise-image-wrap { width: 200px; }
  .promise-card .site-body-text { text-align: center; }
}

/* =========================================================
   8. 今月のマフィン（新設）
   ========================================================= */
.muffin-month-section {
  background-color: var(--color-bg-light);
}

.muffin-month-section .recs-header { margin-bottom: 40px; }

.muffin-month-label {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 20px;
  border: 1px solid rgba(60, 48, 39, 0.25);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text-main);
}

.muffin-month-section .recs-header .section-label,
.muffin-month-section .recs-header .section-sub-en {
  color: var(--color-text-main);
}

.muffin-month-section .rec-card,
.muffin-month-section .rec-card .rec-card-body {
  background-color: var(--color-bg-wood);
  color: var(--color-text-white);
  border: none;
}

.muffin-month-section .rec-card .rec-card-sub-en {
  color: var(--color-text-white);
  opacity: 0.8;
  font-weight: 700;
}

.muffin-month-cta {
  text-align: center;
  margin-top: 45px;
}

/* --- 中央1枚＋左右チラ見せのスライダー --- */
.mm-slider {
  --mm-slide-w: 52%;
  margin-top: 10px;
}

.mm-stage {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.mm-viewport {
  overflow: hidden;
}

.mm-track {
  display: flex;
  align-items: center;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.mm-slide {
  flex: 0 0 var(--mm-slide-w);
  padding: 0 10px;
  opacity: 0.4;
  transform: scale(0.84);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.mm-slide.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

/* 位置を戻す一瞬だけアニメーションを止める */
.mm-track.is-snapping,
.mm-track.is-snapping .mm-slide {
  transition: none !important;
}

.mm-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左右の矢印 */
.mm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(60, 48, 39, 0.15);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-main);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(60, 48, 39, 0.14);
  transition: background-color 0.25s ease, opacity 0.25s ease;
  z-index: 3;
}

.mm-arrow:hover {
  background-color: #fff;
}

.mm-arrow.prev { left: 0; }
.mm-arrow.next { right: 0; }

/* 写真が1枚だけのときは操作ボタンを出さない */
.mm-slider.is-single .mm-arrow,
.mm-slider.is-single .mm-dots {
  display: none;
}

.mm-slider.is-single {
  /* 1枚だけの月は少し大きく見せる */
  --mm-slide-w: 58%;
}

.mm-slider.is-single .mm-track {
  justify-content: center;
}

.mm-slider.is-single .mm-slide {
  opacity: 1;
  transform: none;
  cursor: default;
}

/* インジケーター */
.mm-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.mm-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(60, 48, 39, 0.22);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.mm-dot.is-active {
  background-color: var(--color-accent-red);
  transform: scale(1.25);
}

/* 説明文 */
.mm-caption {
  text-align: center;
  max-width: 700px;
  margin: 26px auto 0;
}

.mm-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--color-text-main);
}

.mm-en {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
}

.mm-desc {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-top: 14px;
}

.mm-more {
  text-align: center;
  margin-top: 34px;
}

@media (max-width: 900px) {
  .mm-slider { --mm-slide-w: 66%; }

  .mm-arrow { width: 40px; height: 40px; font-size: 18px; }
  .mm-arrow.prev { left: -6px; }
  .mm-arrow.next { right: -6px; }
}

@media (max-width: 580px) {
  /* 左右のチラ見せが矢印で隠れないよう、中央を少し細く・矢印を小さく */
  .mm-slider { --mm-slide-w: 72%; }
  .mm-slider.is-single { --mm-slide-w: 100%; }

  .mm-slide { padding: 0 6px; }

  .mm-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.88);
  }

  .mm-arrow.prev { left: -10px; }
  .mm-arrow.next { right: -10px; }

  .mm-title { font-size: 16px; }
  .mm-desc { font-size: 13px; text-align: left; }
  .mm-caption { margin-top: 20px; }
  .mm-dots { margin-top: 20px; }
}

/* =========================================================
   9. おすすめ / コンテスト（ダーク背景）
   ========================================================= */
.dark-background-group {
  position: relative;
  background-image: url('img/section-bg01.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.recs-section {
  background-color: transparent;
  color: var(--color-text-white);
}

.recs-header {
  text-align: center;
  margin-bottom: 70px;
}

.recs-header .section-label {
  font-size: 32px;
  letter-spacing: 0.4em;
  margin-bottom: 5px;
  font-weight: 700;
}

.recs-header .section-sub-en {
  color: var(--color-text-white);
  opacity: 0.8;
  font-weight: 400;
}

.recs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.rec-card {
  background-color: var(--color-bg-wood);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rec-img-wrap {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 390 / 456;
  background-color: var(--color-bg-wood);
}

.rec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rec-card-body {
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  background-color: var(--color-bg-wood);
  color: var(--color-text-white);
}

.rec-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.rec-card-sub-en {
  font-size: 13px;
  color: var(--color-text-white);
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.recs-cta {
  text-align: center;
  margin-top: 45px;
}

@media (max-width: 1024px) {
  .recs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .recs-header { margin-bottom: 50px; }
}

@media (max-width: 580px) {
  .recs-grid { grid-template-columns: 1fr; gap: 26px; }
  .rec-card-body { padding: 20px 16px; }
  .recs-header .section-label { letter-spacing: 0.25em; }
}

/* --- コンテスト入賞商品 --- */
.contest-section {
  background-color: transparent;
  color: var(--color-text-white);
  padding-top: 20px;
  padding-bottom: 100px;
}

.contest-header {
  text-align: center;
  margin-bottom: 60px;
}

.contest-header .section-label {
  font-size: 28px;
  letter-spacing: 0.25em;
  margin-bottom: 5px;
  font-weight: 700;
}

.contest-header .section-sub-en {
  color: var(--color-text-white);
  opacity: 0.8;
  font-weight: 400;
}

.contest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contest-card {
  background-color: var(--color-bg-black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contest-img-wrap { width: 100%; overflow: hidden; }

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

.contest-card-body { padding: 35px 30px; text-align: center; }

.contest-award {
  font-size: 12px;
  color: var(--color-text-white);
  opacity: 0.9;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  font-weight: 700;
}

.contest-title-jp {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.contest-title-en {
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .contest-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 580px) {
  .contest-card-body { padding: 25px 20px; }
  .contest-title-jp { font-size: 16px; }
}

/* =========================================================
   10. 米粉 muku
   ========================================================= */
.muku-section {
  padding: 90px 0;
  max-width: 1600px;
  margin: 0 auto;
}

.muku-section .container {
  max-width: 100%;
  padding-right: 0;
  padding-left: 40px;
}

.muku-heading-center { justify-content: flex-start; }

.muku-heading-sub {
  text-align: left;
  margin-bottom: 30px;
}

.muku-brand-wrap {
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.muku-logo-img {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.muku-sub-en {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.muku-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: stretch;
}

.muku-text {
  padding-right: 40px;
  align-self: center;
  text-align: left;
}

.muku-image,
.muku-image .image-wrap {
  width: 100%;
  height: 100%;
}

.muku-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .muku-section .container { padding-left: calc((100vw - 1120px) / 2); }
}

@media (min-width: 1601px) {
  .muku-section .container { padding-left: 240px; }
}

@media (max-width: 1024px) {
  .muku-grid { gap: 40px; }
  .muku-text { padding-right: 24px; }
}

@media (max-width: 900px) {
  .muku-section .container { padding-left: 20px; padding-right: 20px; }
  .muku-grid { grid-template-columns: 1fr; gap: 36px; }
  .muku-text { padding-right: 0; }
  .muku-image img { height: auto; max-height: 380px; }
}

/* =========================================================
   11. テイクアウト
   ========================================================= */
.takeout-section {
  padding: 90px 0;
  max-width: 1600px;
  margin: 0 auto;
}

.takeout-section .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 40px;
}

.takeout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: stretch;
}

.takeout-image,
.takeout-image .image-wrap {
  width: 100%;
  height: 100%;
}

.takeout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.takeout-text {
  padding-left: 40px;
  align-self: center;
  text-align: left;
}

.takeout-text .section-label,
.takeout-text .takeout-sub-en {
  text-align: right;
  width: 100%;
}

.takeout-sub-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-top: 8px;
  margin-bottom: 40px;
}

.takeout-text .about-content {
  display: block;
  text-align: left;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .takeout-section .container { padding-right: calc((100vw - 1120px) / 2); }
}

@media (min-width: 1601px) {
  .takeout-section .container { padding-right: 240px; }
}

@media (max-width: 1024px) {
  .takeout-grid { gap: 40px; }
  .takeout-text { padding-left: 24px; }
}

@media (max-width: 900px) {
  .takeout-section .container { padding-left: 20px; padding-right: 20px; }

  .takeout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* 画像を下・テキストを上に（元コードは .image-wrap に order を当てていて効いていなかった） */
  .takeout-image { order: 2; height: auto; }
  .takeout-text  { order: 1; padding-left: 0; text-align: center; }

  .takeout-text .section-label,
  .takeout-text .takeout-sub-en { text-align: center; }

  .takeout-text .about-content .site-body-text { text-align: left; }

  .takeout-image img { height: auto; max-height: 380px; }
}

/* =========================================================
   12. お知らせ（新設）
   ========================================================= */
.news-section {
  background-color: var(--color-bg-light);
}

.news-header {
  text-align: center;
  margin-bottom: 45px;
}

.news-header .section-label {
  font-size: 30px;
  letter-spacing: 0.3em;
}

.news-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid rgba(60, 48, 39, 0.12);
}

.news-item {
  border-bottom: 1px solid rgba(60, 48, 39, 0.12);
}

.news-item-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 24px;
  align-items: baseline;
  padding: 22px 6px;
  transition: background-color 0.25s ease;
}

.news-item-link:hover {
  background-color: rgba(234, 227, 213, 0.35);
}

.news-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.news-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 640px) {
  .news-item-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }

  .news-title { font-size: 14px; }
}

/* =========================================================
   13. Instagram
   ========================================================= */
.insta-section {
  background-color: var(--color-bg-black);
  color: var(--color-text-white);
}

.insta-header {
  text-align: center;
  margin-bottom: 50px;
}

.insta-header .section-label {
  font-size: 32px;
  letter-spacing: 0.4em;
  font-weight: 700;
}

.insta-feed-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto 40px;
}

.insta-feed-container img { max-width: 100%; }

.insta-feed-link { display: block; position: relative; }

.insta-feed-img {
  width: 100%;
  height: auto;
  display: block;
}

.insta-hover-overlay { display: none; }

.insta-footer {
  display: flex;
  justify-content: flex-end;
}

.insta-account-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta-footer-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .insta-header .section-label { font-size: 26px; }
  .insta-footer { justify-content: center; }
}

/* =========================================================
   14. 地図
   ========================================================= */
.map-section { text-align: center; }

.map-container {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
  background-color: #eae3d5;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .map-container { height: 320px; }
}

/* =========================================================
   15. フッター
   ========================================================= */
footer {
  background-color: var(--color-bg-black);
  color: var(--color-text-white);
  padding: 80px 0 60px 0;
  position: relative;
}

.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('img/footer-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-info { max-width: 450px; }

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-logo { display: block; }

.footer-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.footer-brand-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.05em;
}

.footer-details {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-details p { margin-bottom: 8px; }
.footer-details p:last-child { margin-bottom: 0; }

.footer-details a { text-decoration: none; }

.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .footer-container { gap: 40px; }
}

@media (max-width: 768px) {
  footer { padding: 60px 0 40px; }

  .footer-container { flex-direction: column; gap: 40px; }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: 40px;
  }
}

/* =========================================================
   16. 下層ページ共通（アーカイブ / 個別 / 固定ページ / 404）
   ========================================================= */
.page-body {
  padding-top: var(--header-h);
}

.page-hero {
  background-color: var(--color-bg-medium);
  background-image: url('img/section-bg02.webp');
  background-size: cover;
  background-position: center;
  padding: 70px 0 60px;
  text-align: center;
}

.page-hero .section-label {
  font-size: 30px;
  letter-spacing: 0.3em;
}

.page-hero .section-sub-en { margin-top: 8px; }

.page-hero-desc {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding: 16px 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.content-narrow {
  max-width: 780px;
  margin: 0 auto;
}

.entry-content {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-main);
}

.entry-content > * + * { margin-top: 1.4em; }

.entry-content h2 {
  font-size: 20px;
  letter-spacing: 0.08em;
  border-left: 3px solid var(--color-accent-red);
  padding-left: 14px;
  margin-top: 2.2em;
}

.entry-content h3 {
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-top: 2em;
}

.entry-content img { margin-inline: auto; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li + li { margin-top: 0.5em; }

.entry-content a {
  color: var(--color-accent-red);
  border-bottom: 1px solid currentColor;
}

.entry-content blockquote {
  border-left: 3px solid rgba(60, 48, 39, 0.2);
  padding-left: 18px;
  color: var(--color-text-muted);
}

.entry-header {
  text-align: center;
  margin-bottom: 40px;
}

.entry-meta {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.entry-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.entry-thumb {
  margin-bottom: 40px;
}

.entry-thumb img {
  width: 100%;
  height: auto;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(60, 48, 39, 0.12);
  font-size: 13px;
}

.post-nav a { color: var(--color-text-muted); }
.post-nav a:hover { color: var(--color-text-main); }

.back-to-list {
  text-align: center;
  margin-top: 50px;
}

/* --- マフィンアーカイブ --- */
.muffin-archive-month {
  margin-bottom: 70px;
}

.muffin-archive-month-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(60, 48, 39, 0.15);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.muffin-archive-month-title .count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.card {
  background-color: #fff;
  border: 1px solid rgba(60, 48, 39, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(60, 48, 39, 0.1);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 16px 16px 20px;
  text-align: center;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.card-sub-en {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.no-content {
  text-align: center;
  color: var(--color-text-muted);
  padding: 60px 0;
}

/* --- ページネーション --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(60, 48, 39, 0.15);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.pagination .page-numbers.current {
  background-color: var(--color-text-main);
  border-color: var(--color-text-main);
  color: #fff;
}

/* --- 404 --- */
.error-404 {
  text-align: center;
  padding: 110px 0;
}

.error-404 .code {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-bg-dark);
  line-height: 1;
}

.error-404 .lead {
  margin: 24px 0 34px;
  color: var(--color-text-muted);
}

/* =========================================================
   17b. 管理バー表示時の調整
   ========================================================= */
.admin-bar header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar header { top: 46px; }
}

/* =========================================================
   18. 汎用モバイル調整
   ========================================================= */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-padding { padding: 60px 0; }

  .section-label { font-size: 24px !important; letter-spacing: 0.15em !important; line-height: 1.3; }
  .promise-header-title { font-size: 24px !important; }
  .section-sub-title { font-size: 15px; margin-bottom: 25px; }
  .entry-title { font-size: 19px; }
  .section-heading-wrap .heading-img { height: 36px; }
}

/* =========================================================
   19. オリジナルプチギフト
   ========================================================= */
.gift-section {
  padding: 90px 0;
  max-width: 1600px;
  margin: 0 auto;
}

.gift-section .container {
  max-width: 100%;
  padding-right: 0;
  padding-left: 40px;
}

.gift-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: stretch;
}

.gift-text {
  padding-right: 40px;
  align-self: center;
  text-align: left;
}

.gift-sub-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 36px;
}

/* 写真は縦に伸ばさず、実寸比のまま中央に置く */
.gift-image {
  align-self: center;
}

.gift-image,
.gift-image .image-wrap {
  width: 100%;
  height: auto;
}

.gift-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* 「法人・大口のご注文承ります」バッジ */
.gift-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent-red);
  border: 1px solid currentColor;
  border-radius: 30px;
  padding: 5px 18px;
  margin-bottom: 22px;
}

.gift-lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-text-main);
  margin-bottom: 32px;
}

/* 訴求 3 点（箇条書き） */
.gift-features {
  list-style: none;
  margin-bottom: 4px;
}

.gift-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.gift-features li + li {
  margin-top: 16px;
}

.gift-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 12px;
  height: 1px;
  background-color: var(--color-accent-red);
}

.gift-features strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.08em;
  margin-bottom: 1px;
}

.gift-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.gift-point {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border: 1px solid rgba(60, 48, 39, 0.18);
  border-radius: 30px;
  padding: 5px 16px;
}

/* 大口・法人のご相談ボックス */
.gift-cta-box {
  margin-top: 36px;
  padding: 26px 28px;
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(60, 48, 39, 0.14);
}

.gift-cta-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.gift-cta-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background-color: var(--color-accent-red);
  vertical-align: middle;
  margin-right: 10px;
}

.gift-cta-text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.gift-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.gift-tel {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gift-cta-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.pc-only { display: inline; }

@media (min-width: 1200px) and (max-width: 1600px) {
  .gift-section .container { padding-left: calc((100vw - 1120px) / 2); }
}

@media (min-width: 1601px) {
  .gift-section .container { padding-left: 240px; }
}

@media (max-width: 1024px) {
  .gift-grid { gap: 40px; }
  .gift-text { padding-right: 24px; }
}

@media (max-width: 900px) {
  .gift-section .container { padding-left: 20px; padding-right: 20px; }
  .gift-grid { grid-template-columns: 1fr; gap: 36px; }
  .gift-text { padding-right: 0; text-align: center; }
  .gift-text .site-body-text,
  .gift-features,
  .gift-cta-text { text-align: left; }
  .gift-points { justify-content: center; }
  .gift-lead { font-size: 14px; text-align: left; }
  .gift-cta-actions { justify-content: center; }
  .gift-cta-box { padding: 22px 20px; text-align: center; }
  .gift-cta-title { text-align: left; }
  .pc-only { display: none; }
  .gift-image img { max-height: none; }
}

/* =========================================================
   20. 追随するオンラインショップボタン
   ========================================================= */
.floating-shop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--color-accent-red);
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 6px 18px rgba(42, 36, 30, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background-color 0.25s ease;
}

.floating-shop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-shop:hover {
  background-color: #c73525;
}

.floating-shop-icon {
  width: 23px;
  height: 23px;
  display: block;
  /* 濃色のアイコン画像を白に反転 */
  filter: brightness(0) invert(1);
}

.floating-shop-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .floating-shop { transition: opacity 0.2s linear; transform: none; }
}

@media (max-width: 768px) {
  .floating-shop {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .floating-shop-icon { width: 20px; height: 20px; }
  .floating-shop-text { font-size: 8px; }
}

/* =========================================================
   21. マフィン一覧（月ごと）
   ========================================================= */
.month-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 40px;
  align-items: start;
}

.month-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.month-flavors {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.month-flavors li {
  position: relative;
  padding-left: 16px;
}

.month-flavors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 7px;
  height: 1px;
  background-color: rgba(60, 48, 39, 0.35);
}

@media (max-width: 900px) {
  .month-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .month-photo img { max-width: 460px; margin: 0 auto; }
  .month-flavors { font-size: 13px; column-count: 2; column-gap: 24px; }
}

/* =========================================================
   22. お知らせ（トップの新着 / 一覧）
   ========================================================= */
.news-section {
  background-color: var(--color-bg-light);
}

.news-header {
  text-align: center;
  margin-bottom: 45px;
}

.news-header .section-label {
  font-size: 30px;
  letter-spacing: 0.3em;
}

.news-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid rgba(60, 48, 39, 0.12);
}

.news-item {
  border-bottom: 1px solid rgba(60, 48, 39, 0.12);
}

.news-item-link {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px 24px;
  align-items: baseline;
  padding: 22px 6px;
  transition: background-color 0.25s ease;
}

.news-item-link:hover {
  background-color: rgba(234, 227, 213, 0.35);
}

.news-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.news-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 640px) {
  .news-item-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }

  .news-title { font-size: 14px; }
}

/* =========================================================
   23. お問い合わせページ
   ========================================================= */
.contact-intro {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.contact-intro .site-body-text {
  text-align: center;
  color: var(--color-text-muted);
}

.contact-tel-box {
  max-width: 720px;
  margin: 0 auto 50px;
  padding: 26px 28px;
  background-color: var(--color-bg-medium);
  border: 1px solid rgba(60, 48, 39, 0.12);
  text-align: center;
}

.contact-tel-box .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.contact-tel-box .note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* --- Contact Form 7 の見た目を合わせる --- */
.cf-field {
  margin-bottom: 26px;
}

.cf-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.cf-required,
.cf-optional {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: 2px;
}

.cf-required {
  background-color: var(--color-accent-red);
  color: #fff;
}

.cf-optional {
  background-color: rgba(60, 48, 39, 0.1);
  color: var(--color-text-muted);
}

.cf-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="number"],
.contact-form-wrap input[type="date"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-main);
  background-color: #fff;
  border: 1px solid rgba(60, 48, 39, 0.2);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-wrap select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233c3027' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}

.contact-form-wrap textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(224, 62, 45, 0.12);
}

/* 法人・大口のときだけ書いてもらう欄 */
.cf-group {
  border: 1px dashed rgba(60, 48, 39, 0.22);
  padding: 20px 20px 2px;
  margin-bottom: 26px;
  background-color: rgba(255, 255, 255, 0.5);
}

.cf-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.cf-group-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 580px) {
  .cf-row { grid-template-columns: 1fr; }
}

/* 同意 */
.contact-form-wrap .wpcf7-acceptance {
  display: block;
}

.contact-form-wrap .wpcf7-list-item {
  margin: 0;
}

.contact-form-wrap .wpcf7-list-item-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-left: 6px;
}

.cf-privacy {
  text-align: center;
  margin: 30px 0 24px;
}

/* 送信ボタン */
.cf-submit {
  text-align: center;
}

.contact-form-wrap input[type="submit"],
.contact-form-wrap button[type="submit"] {
  display: inline-block;
  background-color: var(--color-accent-red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border: 1px solid var(--color-accent-red);
  border-radius: 30px;
  padding: 15px 60px;
  cursor: pointer;
  transition: opacity 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-wrap input[type="submit"]:hover {
  opacity: 0.85;
}

.contact-form-wrap .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* エラー・完了メッセージ */
.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: var(--color-accent-red);
  margin-top: 6px;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 26px 0 0;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.8;
  border-radius: 2px;
  border-width: 1px;
}

.contact-form-wrap form.sent .wpcf7-response-output {
  border-color: #4a7c59;
  background-color: rgba(74, 124, 89, 0.08);
  color: #33593f;
}

.contact-form-wrap form.invalid .wpcf7-response-output,
.contact-form-wrap form.failed .wpcf7-response-output {
  border-color: var(--color-accent-red);
  background-color: rgba(224, 62, 45, 0.06);
  color: #a52b1e;
}

/* フォーム未設置のときの案内（管理者向け） */
.cf-missing {
  border: 1px dashed rgba(60, 48, 39, 0.3);
  padding: 30px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 2;
}

/* 問い合わせボタンと電話番号を並べたときの調整 */
.gift-cta-actions {
  align-items: center;
}

.gift-cta-note {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.gift-tel {
  padding: 13px 30px;
  font-size: 14px;
  letter-spacing: 0.12em;
}
