:root {
  --paper: #fff2d2;
  --paper-deep: #e9c994;
  --ink: #1f1a15;
  --muted: #5e5145;
  --spice: #d7431e;
  --spice-dark: #8e2717;
  --turquoise: #0d8d91;
  --turquoise-dark: #075a60;
  --line: rgba(78, 50, 23, 0.24);
  --shadow: 0 18px 46px rgba(42, 25, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(13, 141, 145, 0.24), transparent 26%),
    linear-gradient(135deg, #140b06, #2a170c 56%, #110906);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  letter-spacing: 0;
}

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

.ic {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.spice-book {
  overflow-x: hidden;
}

.hero-book {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: auto;
  margin: 0 auto;
  overflow: hidden;
  background-image: url("../images/hero-book-desktop-clean.webp?v=2");
  background-position: center;
  background-size: 100% 100%;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.42);
}

.hero-book::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 55%, rgba(255, 242, 210, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
  content: "";
}

.jar-nav {
  position: absolute;
  top: 1.6%;
  left: 33.5%;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(2px, 0.4vw, 7px);
  width: 28%;
}

.jar-nav a {
  position: relative;
  aspect-ratio: 313 / 546;
  color: #221711;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 180ms ease;
}

.jar-nav img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(25, 12, 4, 0.26));
}

.jar-nav .jar-open {
  opacity: 0;
  transform: translateY(3px) scale(0.98);
  transition: opacity 80ms ease, transform 120ms ease;
}

.jar-nav a:hover .jar-open,
.jar-nav a:focus-visible .jar-open,
.jar-nav a.is-open .jar-open {
  opacity: 1;
  transform: translateY(-5px) scale(1.18);
}

.jar-nav a:hover .jar-closed,
.jar-nav a:focus-visible .jar-closed,
.jar-nav a.is-open .jar-closed {
  opacity: 0;
}

.jar-nav a.is-open {
  transform: translateY(-6px) rotate(-1deg);
}

.jar-nav a:hover,
.jar-nav a:focus-visible {
  transform: translateY(-6px) rotate(-1deg);
  outline: none;
}

.jar-txt {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 58%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transform: translateY(-50%);
}

.jar-txt b {
  font-size: clamp(0.66rem, 0.82vw, 0.98rem);
  font-weight: 950;
  white-space: nowrap;
}

.jar-txt i {
  color: var(--muted);
  font-size: clamp(0.5rem, 0.6vw, 0.7rem);
  font-style: normal;
  letter-spacing: 0.02em;
}

.jar-nav .contact b,
.jar-nav .contact i {
  color: var(--spice-dark);
}

/* 蓋が開いた状態（hover/フォーカス/タップ）はラベル面が小さくなるので、文字を縮小＋少し下へ
   （float-cta の無料相談バナーと同じ挙動）。centering の translateY(-50%) は維持する。 */
.jar-nav a:hover .jar-txt,
.jar-nav a:focus-visible .jar-txt,
.jar-nav a.is-open .jar-txt {
  top: 65%;
  transform: translateY(-50%) scale(0.84);
  transition: top 140ms ease, transform 140ms ease;
}

.brand-panel {
  position: absolute;
  left: 13%;
  top: 24%;
  z-index: 3;
  width: 31%;
  /* Eの位置（右上）を基準に全体を縮小し、本の左ページに収める。translateで気持ち右下へ。 */
  transform: translate(20px, 20px) scale(0.81);
  transform-origin: 100% 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--spice-dark);
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 900;
}

.eyebrow::before {
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: var(--spice);
  content: "";
}

h1 {
  margin-top: 14px;
  font-size: clamp(3.2rem, 6.9vw, 7.6rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 24px;
  color: #2a221c;
  font-size: clamp(1.4rem, 2.1vw, 2.45rem);
  font-weight: 950;
  line-height: 1.38;
}

.lead b {
  color: var(--spice-dark);
}

.subcopy {
  max-width: 32em;
  margin-top: 16px;
  color: #3f352c;
  font-size: clamp(1rem, 1.12vw, 1.24rem);
  font-weight: 800;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  position: relative;
  display: grid;
  width: clamp(170px, 14.6vw, 250px);
  aspect-ratio: 782 / 255;
  place-items: center;
  align-content: center;
  padding: 0 26px 0 62px;
  border: 0;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, filter 160ms ease;
}

.button::before,
.button::after {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  transition: opacity 140ms ease;
}

.button::after {
  opacity: 0;
}

.button:hover,
.button:focus-visible {
  filter: drop-shadow(0 10px 10px rgba(74, 35, 10, 0.26));
  outline: none;
  transform: translateY(-3px) rotate(-0.5deg);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 0;
}

.button span,
.button small {
  position: relative;
  z-index: 1;
}

.button span {
  font-size: clamp(1.02rem, 1.2vw, 1.42rem);
  white-space: nowrap;
}

.button small {
  margin-top: 5px;
  font-size: clamp(0.54rem, 0.62vw, 0.7rem);
  font-weight: 900;
}

.button.primary {
  color: #fff;
  text-shadow: 0 1px 0 rgba(92, 23, 10, 0.42);
}

.button.primary::before {
  background-image: url("../images/button-consult.webp");
}

.button.primary::after {
  background-image: url("../images/button-consult-hover.webp");
}

.button.secondary {
  aspect-ratio: 783 / 275;
  color: #2b1b10;
}

.button.secondary::before {
  background-image: url("../images/button-works.webp");
}

.button.secondary::after {
  background-image: url("../images/button-works-hover.webp");
}

/* ===== Brand logo (image, left of the shelf) ===== */
/* 看板ロゴ：画面上部からロープで吊り下がる。左寄せ・上端ぴったり。 */
.site-mark {
  position: absolute;
  /* PCのみ棚（瓶ナビ left:33.5%）の左端手前へ寄せる。SP/タブレットは ≤1199px ルールの left:10px が優先＝現状維持。 */
  left: 16%;
  /* 揺れた時に紐の切り口(画像天面)が見えないよう少し上へ逃がす（hero-book の overflow:hidden で切り口は画面外にクリップ）。板/文字は切らない控えめな値。 */
  top: -12px;
  z-index: 6;
  display: block;
  transform: none;
}

.site-mark__logo {
  display: block;
  width: clamp(155px, 16.5vw, 272px);
  height: auto;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, 0.32));
  /* ロープで吊られた看板が、たまに風でひと揺れして減衰する（支点＝上端中央） */
  transform-origin: 50% 0;
  animation: signSway 19s ease-in-out infinite;
}

/* 風のひと吹き → 振り子のように揺れて収まる。大半は静止＝「たまに」感を出す */
@keyframes signSway {
  0%   { transform: rotate(0deg); }
  /* 突風1（やや強め） */
  2%   { transform: rotate(2.4deg); }
  6%   { transform: rotate(-1.7deg); }
  10%  { transform: rotate(1.2deg); }
  14%  { transform: rotate(-0.7deg); }
  18%  { transform: rotate(0.3deg); }
  22%  { transform: rotate(0deg); }
  /* しばし静止 */
  56%  { transform: rotate(0deg); }
  /* 突風2（弱め・逆向きから） */
  59%  { transform: rotate(-1.7deg); }
  63%  { transform: rotate(1.1deg); }
  67%  { transform: rotate(-0.6deg); }
  71%  { transform: rotate(0.25deg); }
  75%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ===== Decorative stamps ===== */
.book-ribbon {
  position: absolute;
  left: 14.5%;
  top: 20.5%;
  z-index: 4;
  padding: 5px 16px;
  border-radius: 3px;
  background: var(--turquoise-dark);
  color: #fff6e0;
  font-family: Georgia, serif;
  font-size: clamp(0.58rem, 0.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(15, 60, 60, 0.34);
  transform: translate(20px, 20px) rotate(-3deg);
}

.wax-seal {
  position: absolute;
  right: 2.6%;
  top: 3.4%;
  z-index: 5;
  display: grid;
  width: clamp(56px, 5.4vw, 90px);
  height: clamp(56px, 5.4vw, 90px);
  place-content: center;
  justify-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #d7431e, #8e2717 72%);
  color: #ffe9cf;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 8px 18px rgba(90, 20, 8, 0.42), inset 0 0 0 3px rgba(255, 233, 207, 0.35);
  transform: rotate(8deg);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.wax-seal:hover,
.wax-seal:focus-visible {
  outline: none;
  transform: rotate(8deg) scale(1.06);
  filter: brightness(1.06);
}

.wax-seal i {
  font-style: normal;
  font-size: clamp(0.62rem, 0.82vw, 1.02rem);
  font-weight: 950;
  letter-spacing: 0.04em;
}

.wax-seal u {
  text-decoration: none;
  font-size: clamp(0.34rem, 0.46vw, 0.54rem);
  letter-spacing: 0.12em;
  opacity: 0.85;
}

/* ===== Feature chips (left page) ===== */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(120, 78, 36, 0.42);
  border-radius: 999px;
  background: rgba(255, 247, 226, 0.92);
  color: #3a2c1f;
  font-size: clamp(0.72rem, 0.84vw, 0.96rem);
  font-weight: 850;
  box-shadow: 0 3px 8px rgba(72, 45, 19, 0.1);
}

.feature-chips .ic {
  font-size: clamp(0.86rem, 1vw, 1.1rem);
  color: var(--spice-dark);
}

/* ===== Right page: 5 spices ===== */
.spice-panel {
  position: absolute;
  top: 23%;
  right: 19%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1vw, 16px);
  width: 28.5%;
  height: 51%;
}

.panel-title {
  flex: none;
  color: #2a221c;
  font-size: clamp(1.1rem, 1.5vw, 2rem);
  font-weight: 900;
  text-align: center;
}

.panel-title b {
  color: var(--spice);
  font-size: 1.3em;
}

.spice-cards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(8px, 0.9vw, 16px);
  min-height: 0;
}

.spice-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title icon"
    "desc  desc";
  align-items: center;
  column-gap: clamp(8px, 0.8vw, 14px);
  row-gap: clamp(4px, 0.5vw, 9px);
  /* 上余白を増やして番号バッジと表題の衝突を回避 */
  padding: clamp(22px, 1.8vw, 32px) clamp(11px, 1vw, 16px) clamp(12px, 1vw, 16px);
  border: 1px solid rgba(120, 85, 40, 0.38);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 251, 238, 0.65), rgba(236, 220, 186, 0.55)),
    #f1e4c5;
  box-shadow: 0 7px 16px rgba(72, 45, 19, 0.16), inset 0 0 22px rgba(150, 110, 60, 0.12);
}

.spice-card__no {
  position: absolute;
  top: -10px;
  left: clamp(10px, 0.9vw, 16px);
  display: grid;
  place-content: center;
  width: clamp(26px, 2.3vw, 38px);
  height: clamp(26px, 2.3vw, 38px);
  border-radius: 6px;
  background: var(--turquoise-dark);
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(0.74rem, 0.95vw, 1.15rem);
  font-weight: 800;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.28);
}

.spice-card:nth-child(1) .spice-card__no { background: #0d8d91; }
.spice-card:nth-child(2) .spice-card__no { background: #7c7a2c; }
.spice-card:nth-child(3) .spice-card__no { background: #d7431e; }
.spice-card:nth-child(4) .spice-card__no { background: #2f6f8f; }
.spice-card:nth-child(5) .spice-card__no { background: #0d8d91; }

.spice-card h2 {
  grid-area: title;
  margin: 0;
  color: #2a1c12;
  font-size: clamp(0.86rem, 1.05vw, 1.32rem);
  font-weight: 900;
  line-height: 1.16;
}

.spice-card__icon {
  grid-area: icon;
  align-self: center;
  width: clamp(24px, 2.1vw, 38px);
  height: clamp(24px, 2.1vw, 38px);
  margin: 0;
  color: #7a5230;
  stroke-width: 1.5;
}

.spice-card p {
  grid-area: desc;
  margin: 0;
  color: #5a4838;
  font-size: clamp(0.82rem, 0.95vw, 1.18rem);
  font-weight: 700;
  line-height: 1.5;
}

/* 5枚目：横長カードは横並びレイアウト */
.spice-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title icon"
    "desc  icon";
  align-items: center;
  column-gap: clamp(12px, 1.4vw, 24px);
  row-gap: 2px;
}

.spice-card--wide h2 {
  grid-area: title;
}

.spice-card--wide .spice-card__icon {
  grid-area: icon;
  align-self: center;
  margin: 0;
}

.spice-card--wide p {
  grid-area: desc;
  margin: 0;
}

.route-map {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding: clamp(8px, 0.9vw, 16px);
  border: 1px dashed rgba(120, 78, 36, 0.5);
  border-radius: 8px;
  background: rgba(255, 246, 222, 0.5);
}

.route-map__head {
  flex: none;
}

.route-map__title {
  color: #2a221c;
  font-size: clamp(0.82rem, 1vw, 1.2rem);
  font-weight: 900;
}

.route-map__title b {
  color: var(--spice);
  font-size: 1.25em;
}

.route-map__sub {
  margin-top: 2px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: clamp(0.5rem, 0.62vw, 0.72rem);
  letter-spacing: 0.05em;
}

.route-map__canvas {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.route-map__land,
.route-map__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-map__land {
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 4px 8px rgba(60, 36, 14, 0.18));
}

.route-line {
  fill: none;
  stroke: var(--spice);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  opacity: 0.9;
  animation: routeFlow 1.1s linear infinite;
}

.route-dots circle {
  fill: #fff3d2;
  stroke: var(--spice-dark);
  stroke-width: 2.6;
}

.route-labels text {
  fill: #3a2719;
  font-family: "Hiragino Sans", sans-serif;
  font-size: 21px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(255, 246, 222, 0.92);
  stroke-width: 3.4px;
}

/* 海外（オーストラリア）への遠距離ルート：遠いけど対応している、を距離省略「//」で表現 */
.route-line-far {
  fill: none;
  stroke: var(--turquoise-dark);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 3 6;
  opacity: 0.85;
}
.route-break {
  fill: none;
  stroke: var(--turquoise-dark);
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: 0.9;
}
.oz-land path {
  fill: #c8a66e;
  stroke: #7d643b;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.oz-dot {
  fill: #fff3d2;
  stroke: var(--turquoise-dark);
  stroke-width: 2.4;
}
.oz-label {
  fill: #3a2719;
  font-family: "Hiragino Sans", sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(255, 246, 222, 0.92);
  stroke-width: 3px;
}

.route-compass {
  position: absolute;
  left: 6px;
  top: 6px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid var(--turquoise-dark);
  border-radius: 50%;
  color: var(--turquoise-dark);
  font-family: Georgia, serif;
  font-size: 0.7rem;
  font-weight: 900;
}

.route-box {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(120, 78, 36, 0.5);
  border-radius: 3px;
  background: rgba(255, 246, 222, 0.85);
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ===== Right page central mortar ===== */
.spice-bowl {
  flex: none;
  width: clamp(70px, 7vw, 104px);
  margin: -2px auto -4px;
}

.spice-bowl svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(60, 30, 10, 0.28));
}

/* ===== Left page FROM OKINAWA seal ===== */
.stamp-okinawa {
  position: absolute;
  left: 15%;
  bottom: 5%;
  z-index: 4;
  display: grid;
  width: clamp(62px, 5.4vw, 84px);
  height: clamp(62px, 5.4vw, 84px);
  place-content: center;
  border: 2px dashed var(--turquoise-dark);
  border-radius: 50%;
  background: rgba(255, 244, 218, 0.7);
  color: var(--turquoise-dark);
  font-family: Georgia, serif;
  font-size: clamp(0.52rem, 0.64vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-9deg);
}

/* ===== Recipe flow: horizontal arrow strip ===== */
/* レシピ（支援の流れ）：本下部の羊皮紙ストリップ・左上寄せ */
.recipe-strip {
  position: absolute;
  left: 20%;
  right: 12%;
  bottom: 6.5%;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 20px);
  transform: translate(-120px, 15px);
}

.recipe-strip__label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex: none;
  color: #3a2414;
  font-size: clamp(0.85rem, 1.15vw, 1.42rem);
  font-weight: 950;
}

.recipe-strip__label small {
  color: var(--spice-dark);
  font-size: 0.72em;
  font-weight: 700;
}

.flow-steps {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(5px, 0.7vw, 13px);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.5vw, 9px);
  padding: clamp(6px, 0.58vw, 11px) clamp(9px, 0.95vw, 17px);
  border: 1px solid rgba(120, 85, 40, 0.3);
  border-radius: 999px;
  background: #fff8e6;
  color: #3a2719;
  font-size: clamp(0.76rem, 0.92vw, 1.12rem);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 5px 11px rgba(72, 45, 19, 0.22);
}

.flow-step .ic {
  font-size: 1.25em;
  color: var(--spice-dark);
}

.flow-arrow {
  flex: none;
  color: var(--spice);
  font-size: clamp(0.9rem, 1.1vw, 1.4rem);
  font-weight: 900;
}

.recipe-seal {
  display: grid;
  width: clamp(76px, 7vw, 96px);
  height: clamp(76px, 7vw, 96px);
  place-content: center;
  border: 2px dashed #e6a263;
  border-radius: 50%;
  color: #f0c48a;
  font-family: Georgia, serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-8deg);
}

/* ===== Lower content sections ===== */
.section {
  padding: clamp(56px, 7vw, 100px) 0;
}

.wrap {
  width: min(1160px, 100% - clamp(32px, 6vw, 120px));
  margin-inline: auto;
}

.wrap--text {
  max-width: 1040px;
}

.section h2,
.cta-band h2 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 1.2;
}

/* 下ごしらえ */
.prep {
  background: #fff3d6;
}

.prep-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.prep-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff8e8;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(59, 35, 15, 0.06);
}

.prep-no {
  color: var(--turquoise-dark);
  font-family: Georgia, serif;
  font-size: 1.4em;
  font-weight: 700;
}

.prep-close {
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 900;
  line-height: 1.7;
}

/* 実績 */
.results {
  background: #f6e6c8;
}

.ports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.port {
  padding: 30px 24px;
  border: 1px solid rgba(120, 85, 40, 0.25);
  border-radius: 14px;
  /* 背景(クリーム)と差をつける濃色カードで目立たせる */
  background: linear-gradient(180deg, #3c2b1d 0%, #2a1e14 100%);
  box-shadow: 0 16px 32px rgba(40, 20, 8, 0.32);
  text-align: center;
}

.port__place {
  color: #ecdcc2;
  font-size: 1.02rem;
  font-weight: 800;
}

.port__plat {
  margin-top: 5px;
  color: #5fcfc6;
  font-size: 0.96rem;
  font-weight: 900;
}

.port__stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.port__stat .from {
  color: #b9a78c;
  font-size: 1.65rem;
  font-weight: 800;
}

.port__stat .arrow {
  color: #f2913d;
  font-weight: 900;
}

.port__stat .to {
  color: #ffce86;
  font-family: Georgia, serif;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 950;
}

.port__term {
  margin-top: 10px;
  color: #b0a087;
  font-size: 0.94rem;
  font-weight: 800;
}

.section-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.section-cta {
  margin-top: 30px;
  text-align: center;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 950;
  transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn--primary {
  background: linear-gradient(180deg, #e1521f, #bb2c10);
  color: #fff7e6;
  box-shadow: 0 12px 26px rgba(150, 40, 12, 0.34);
}

.btn--sea {
  background: var(--turquoise-dark);
  color: #f3fbfb;
  box-shadow: 0 12px 26px rgba(8, 60, 62, 0.3);
}

.btn--ghost {
  border: 2px solid var(--turquoise-dark);
  color: var(--turquoise-dark);
}

.btn--lg {
  min-height: 62px;
  padding: 0 44px;
  font-size: 1.1rem;
}

/* シェフ紹介 */
.chef {
  background: #fff8e8;
}

.chef-creed {
  margin-top: 18px;
  color: var(--spice-dark);
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
}

.chef .wrap > p:not([class]),
.about-story .wrap > p:not([class]) {
  margin-top: 18px;
  color: #3f352c;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 2;
}

/* レシピ集 */
.recipes {
  background: #f0dcc0;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(59, 35, 15, 0.1);
  transition: transform 160ms ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
}

.recipe-card__thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9c994, #d7a86a);
}

/* WordPress アイキャッチ画像（設定時のみ表示） */
.recipe-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card__cat {
  position: relative;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--spice-dark);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.recipe-card__body {
  padding: 18px 18px 22px;
}

.recipe-card__body h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}

.recipe-card__meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

/* ご注文 CTAバンド */
.cta-band {
  padding: clamp(60px, 8vw, 110px) 0;
  background: radial-gradient(circle at 50% 0, #3a1c0e, #23130a);
  color: #fdeccf;
  text-align: center;
}

.cta-band h2 {
  color: #fff5e2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cta-band__lead {
  max-width: 38rem;
  margin: 18px auto 0;
  color: #f0d8b6;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.9;
}

.eyebrow--light {
  color: #ffb98f;
}

.eyebrow--light::before {
  background: #ffb98f;
}

/* フッター */
.site-footer {
  padding: clamp(48px, 6vw, 80px) 0 28px;
  background: #1c130b;
  color: #d8c8b4;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 34px;
}

.site-footer__mark {
  color: var(--paper);
  font-size: 1.6rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.site-footer__creed {
  margin-top: 10px;
  color: #e7c98f;
  font-family: Georgia, serif;
}

.site-footer__desc {
  margin-top: 8px;
  color: #a89884;
  font-size: 0.85rem;
  line-height: 1.7;
}

.site-footer h4 {
  margin-bottom: 12px;
  color: var(--paper);
  font-size: 0.95rem;
}

.site-footer nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav a {
  color: #d8c8b4;
  font-size: 0.9rem;
}

.site-footer nav a:hover {
  color: var(--paper);
}

.site-footer__company {
  color: #bcac98;
  font-size: 0.86rem;
  line-height: 1.9;
}

.site-footer__company a {
  color: #e7c98f;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8e7d68;
  font-size: 0.8rem;
}

.site-footer__bottom a {
  color: #8e7d68;
}

@media (max-width: 1199px) {
  .hero-book {
    width: 100%;
    aspect-ratio: auto;
    min-height: auto;
    padding: 22px 16px 44px;
    background-image: url("../images/hero-book-mobile-clean.webp?v=2");
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #fff1d4;
  }

  .hero-book::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(49, 28, 12, 0.14));
  }

  .site-mark {
    left: 10px;
    top: -8px; /* スマホ/タブレット：ロゴが小さい分シフトも控えめに（紐の切り口を画面外へ） */
    transform: none;
  }

  .site-mark__logo {
    width: 125px;
  }

  .book-ribbon,
  .wax-seal,
  .stamp-okinawa {
    display: none;
  }

  .jar-nav,
  .brand-panel,
  .spice-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    /* PC用の transform（scale/translate）をスマホでは打ち消す */
    transform: none;
  }

  .jar-nav {
    z-index: 4;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    /* 看板（最上部）の下の段に一列・右寄せ。はみ出る瓶は横スクロールで見せる */
    justify-content: flex-end;
    margin: 36px 12px 0 10px;
    padding: 0 6px 6px 0;
    scrollbar-width: none;
  }

  .jar-nav a {
    flex: 0 0 52px;
    min-height: 0;
    padding-bottom: 0;
    background: transparent;
    box-shadow: none;
  }

  .jar-txt b {
    font-size: 0.56rem;
  }

  .jar-txt i {
    display: none;
  }

  .brand-panel,
  .spice-panel {
    z-index: 3;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(88, 54, 23, 0.18);
    border-radius: 8px;
    background: rgba(255, 242, 211, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px);
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 5.2rem);
  }

  .lead {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .feature-chips {
    margin-top: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .spice-panel {
    display: block;
    height: auto;
    max-width: 100%;
    overflow: hidden;
  }

  .spice-panel > * + * {
    margin-top: 16px;
  }

  .panel-title {
    text-align: left;
  }

  .spice-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .spice-card {
    min-width: 0;
  }

  .spice-card h2 {
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .spice-card p {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .spice-card__icon {
    width: 20px;
    height: 20px;
  }

  .spice-bowl {
    width: 88px;
    margin: 4px auto;
  }

  .route-map {
    background: rgba(255, 246, 222, 0.7);
  }

  .route-map__canvas {
    height: 62vw;
    max-height: 380px;
  }

  .route-labels text {
    font-size: 22px;
  }

  /* スマホ専用：レシピを「縦の手順カード」として見せる（番号付きステッパー） */
  .recipe-strip {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    margin: 26px 0 2px;
    gap: 0;
    transform: none;
    padding: 16px 15px 18px;
    background: rgba(255, 248, 230, 0.72);
    border: 1px solid rgba(120, 85, 40, 0.2);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(72, 45, 19, 0.1);
  }

  .recipe-strip__label {
    justify-content: center;
    font-size: 1.06rem;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(120, 85, 40, 0.32);
  }

  .flow-steps {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    counter-reset: recipe;
  }

  .flow-step {
    position: relative;
    width: 100%;
    justify-content: flex-start;
    gap: 11px;
    padding: 13px 15px;
    font-size: 1rem;
    border-radius: 14px;
    counter-increment: recipe;
  }

  /* 手順番号バッジ（①②③…） */
  .flow-step::before {
    content: counter(recipe);
    flex: none;
    display: grid;
    place-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--spice);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    box-shadow: 0 2px 5px rgba(180, 60, 20, 0.35);
  }

  .flow-step .ic {
    font-size: 1.3em;
  }

  /* ステップ間は常に下向き矢印に統一（元の → / & は隠す） */
  .flow-arrow {
    align-self: center;
    margin: -2px 0;
    line-height: 1;
    font-size: 0;
  }
  .flow-arrow::before {
    content: "↓";
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--spice);
    opacity: 0.6;
  }

  .ports,
  .recipe-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-line {
    animation: none;
    stroke-dashoffset: 0;
  }
  .site-mark__logo {
    animation: none;
    transform: none;
  }
}

/* =========================================================
   サービスページ（本の中＝メイン）
   ========================================================= */
.svc-left {
  position: absolute;
  left: 15%;
  top: 28.5%;
  z-index: 3;
  width: 31%;
}

.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--spice-dark);
  font-size: clamp(0.74rem, 0.92vw, 1.05rem);
  font-weight: 900;
}
.svc-eyebrow::before,
.svc-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--spice);
}

.svc-title {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(3.6rem, 6vw, 6.8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.svc-lead {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.1vw, 2.5rem);
  font-weight: 950;
  line-height: 1.3;
}

.svc-body {
  max-width: 30em;
  margin-top: 14px;
  color: #3f352c;
  font-size: clamp(0.9rem, 1.05vw, 1.15rem);
  font-weight: 700;
  line-height: 1.8;
}

.svc-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}
.svc-formula span {
  padding: 4px 13px;
  border: 1px solid rgba(120, 78, 36, 0.4);
  border-radius: 6px;
  background: rgba(255, 247, 226, 0.95);
  color: #3a2c1f;
  font-size: clamp(0.82rem, 1vw, 1.12rem);
  font-weight: 900;
}
.svc-formula i {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
  font-size: 1.1em;
}
.svc-formula b {
  margin-left: 4px;
  color: var(--spice);
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  font-weight: 950;
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.svc-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(120, 78, 36, 0.42);
  border-radius: 999px;
  background: rgba(255, 247, 226, 0.92);
  color: #3a2c1f;
  font-size: clamp(0.74rem, 0.86vw, 0.98rem);
  font-weight: 850;
  box-shadow: 0 3px 8px rgba(72, 45, 19, 0.1);
}
.svc-chips .ic {
  font-size: 1em;
  color: var(--spice-dark);
}

.svc-actions {
  margin-top: 22px;
}

/* 右ページ */
.svc-right {
  position: absolute;
  right: 19%;
  top: 17%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 16px);
  width: 28.5%;
}

.svc-vhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #2a1c12;
  font-size: clamp(1.05rem, 1.45vw, 1.85rem);
  font-weight: 950;
  text-align: center;
}
.svc-vhead::before,
.svc-vhead::after {
  content: "";
  width: clamp(20px, 2.2vw, 40px);
  height: 2px;
  background: rgba(120, 85, 40, 0.45);
}
.svc-vhead .ic {
  color: var(--spice);
  font-size: 0.9em;
}

.svc-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.7vw, 12px);
}
.svc-vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(10px, 0.85vw, 15px) clamp(8px, 0.7vw, 13px) clamp(8px, 0.6vw, 11px);
  border: 1px solid rgba(120, 85, 40, 0.35);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 251, 238, 0.6), rgba(236, 220, 186, 0.5)),
    #f1e4c5;
  box-shadow: 0 6px 14px rgba(72, 45, 19, 0.14);
}
.svc-vno {
  position: absolute;
  top: -9px;
  left: 10px;
  display: grid;
  place-content: center;
  width: clamp(22px, 1.9vw, 30px);
  height: clamp(22px, 1.9vw, 30px);
  border-radius: 5px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(0.64rem, 0.8vw, 0.92rem);
  font-weight: 800;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.svc-vcard:nth-child(1) .svc-vno { background: #0d8d91; }
.svc-vcard:nth-child(2) .svc-vno { background: #7c7a2c; }
.svc-vcard:nth-child(3) .svc-vno { background: #d7431e; }
.svc-vicon {
  width: clamp(24px, 2.1vw, 36px);
  height: clamp(24px, 2.1vw, 36px);
  margin-top: 4px;
  color: #7a5230;
  stroke-width: 1.6;
}
.svc-vcard h3 {
  font-size: clamp(0.74rem, 0.9vw, 1.05rem);
  font-weight: 900;
  color: #2a1c12;
  line-height: 1.22;
}
.svc-vcard p {
  color: #5a4838;
  font-size: clamp(0.6rem, 0.72vw, 0.84rem);
  font-weight: 700;
  line-height: 1.45;
}

.svc-chead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--spice-dark);
  font-size: clamp(0.82rem, 1vw, 1.2rem);
  font-weight: 900;
  text-align: center;
}
.svc-chead::before,
.svc-chead::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--spice);
  opacity: 0.6;
}

.svc-concerns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.7vw, 12px);
}
.svc-concerns span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(9px, 0.8vw, 14px) 8px;
  border: 1px dashed rgba(120, 85, 40, 0.45);
  border-radius: 8px;
  background: rgba(255, 248, 230, 0.7);
  color: #4a3a2a;
  font-size: clamp(0.66rem, 0.78vw, 0.92rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.svc-concerns .ic {
  width: clamp(20px, 1.8vw, 28px);
  height: clamp(20px, 1.8vw, 28px);
  color: var(--turquoise-dark);
}

.svc-plans {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: clamp(10px, 0.95vw, 16px) clamp(12px, 1.2vw, 22px);
  border-radius: 10px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #f3e2c4;
  box-shadow: 0 8px 18px rgba(40, 22, 8, 0.3);
  transition: filter 160ms ease, transform 160ms ease;
}
.svc-plans:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.svc-plans b {
  color: #ffd9a8;
  font-size: clamp(0.86rem, 1vw, 1.2rem);
  font-weight: 950;
}
.svc-plans span {
  font-size: clamp(0.72rem, 0.85vw, 1rem);
  font-weight: 800;
}
.svc-plans i {
  color: #cda873;
  font-style: normal;
}

/* 本の下：料金詳細 */
.svc-pricing {
  background: #f6e6c8;
}
.svc-pricing__lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.plan {
  position: relative;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.plan--feature {
  border: 2px solid var(--spice);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--spice);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}
.plan__name {
  color: var(--turquoise-dark);
  font-size: 1.2rem;
  font-weight: 900;
}
.plan__rate {
  margin-top: 6px;
  color: var(--spice-dark);
  font-family: Georgia, serif;
  font-weight: 950;
  line-height: 1;
}
.plan__rate b {
  font-size: 3.2rem;
}
.plan__rate small {
  font-size: 1.4rem;
}
.plan__min {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 800;
}
.plan__desc {
  margin-top: 12px;
  color: #3f352c;
  font-weight: 700;
  line-height: 1.7;
}
.plan__list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.plan__list li {
  position: relative;
  padding-left: 26px;
  color: #3f352c;
  font-weight: 700;
}
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--turquoise-dark);
  font-weight: 900;
}
.plan__fee {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}
.plan__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* サービス：モバイル */
@media (max-width: 1199px) {
  .svc-left,
  .svc-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    z-index: 3;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(88, 54, 23, 0.18);
    border-radius: 8px;
    background: rgba(255, 242, 211, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px);
  }
  .svc-left {
    margin-top: 14px;
  }
  .svc-title {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }
  .svc-lead {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .svc-values,
  .svc-concerns,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .svc-actions .button {
    width: 100%;
  }
}

/* =========================================================
   実績ページ（右ページ＝交易マップ）
   ========================================================= */
.works-right {
  position: absolute;
  right: 19%;
  top: 26%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 16px);
  width: 32%;
  height: 50%;
}
.works-map {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.works-net {
  flex: none;
  align-self: center;
  width: 84%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: clamp(8px, 0.8vw, 14px);
  border-radius: 10px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #f3e2c4;
  text-align: center;
  box-shadow: 0 8px 18px rgba(40, 22, 8, 0.3);
}
.works-net b {
  color: #ffd9a8;
  font-size: clamp(0.9rem, 1.1vw, 1.3rem);
  font-weight: 950;
}
.works-net span {
  color: #e6cfa6;
  font-size: clamp(0.68rem, 0.8vw, 0.95rem);
  font-weight: 700;
}
.works-note {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: clamp(0.66rem, 0.78vw, 0.92rem);
  font-weight: 700;
  text-align: center;
}
.works-note .ic {
  width: 1.3em;
  height: 1.3em;
  color: var(--turquoise-dark);
}

/* 共通：右ページ見出しの補助（EN小書き・強調数字） */
.svc-vhead small {
  margin-left: 7px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.svc-vhead b.n {
  color: var(--spice);
  font-size: 1.25em;
}

/* =========================================================
   会社概要ページ（右ページ＝沿革＋会社情報）
   ========================================================= */
.about-right {
  position: absolute;
  right: 19%;
  top: 22.5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.6vw, 9px);
  width: 28.5%;
}

.about-timeline {
  display: grid;
  gap: clamp(2px, 0.3vw, 5px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: clamp(3px, 0.35vw, 6px) clamp(8px, 0.7vw, 12px);
  border-left: 3px solid rgba(120, 85, 40, 0.4);
  border-radius: 0 7px 7px 0;
  background: rgba(255, 249, 233, 0.92);
}
.about-timeline li.is-now {
  border-left-color: var(--spice);
  background: rgba(255, 244, 224, 0.9);
}
.about-timeline b {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--spice-dark);
  font-family: Georgia, serif;
  font-size: clamp(0.95rem, 1.1vw, 1.4rem);
  font-weight: 800;
}
.about-timeline span {
  grid-column: 2;
  color: #2a1c12;
  font-size: clamp(0.76rem, 0.88vw, 1.05rem);
  font-weight: 900;
  line-height: 1.2;
}
.about-timeline small {
  grid-column: 2;
  margin-top: 1px;
  color: var(--muted);
  font-size: clamp(0.6rem, 0.7vw, 0.84rem);
  line-height: 1.3;
}

.about-company {
  margin: 0;
  padding: clamp(5px, 0.55vw, 9px) clamp(10px, 1vw, 16px);
  border: 1px solid rgba(120, 85, 40, 0.3);
  border-radius: 8px;
  background: rgba(255, 249, 233, 0.92);
}
.about-company div {
  display: grid;
  grid-template-columns: clamp(52px, 4.6vw, 84px) 1fr;
  gap: 10px;
  padding: clamp(2px, 0.28vw, 4px) 0;
  border-bottom: 1px dashed rgba(120, 85, 40, 0.25);
}
.about-company div:last-child {
  border-bottom: 0;
}
.about-company dt {
  color: var(--turquoise-dark);
  font-size: clamp(0.64rem, 0.76vw, 0.9rem);
  font-weight: 900;
}
.about-company dd {
  margin: 0;
  color: #2a1c12;
  font-size: clamp(0.64rem, 0.76vw, 0.9rem);
  font-weight: 700;
}

.about-band {
  flex: none;
  padding: clamp(9px, 0.9vw, 15px);
  border-radius: 10px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #ffd9a8;
  font-size: clamp(0.82rem, 1vw, 1.2rem);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 8px 18px rgba(40, 22, 8, 0.3);
}

.about-story {
  background: #fff8e8;
}

/* =========================================================
   問い合わせページ（右ページ＝理由/お悩み/流れ ＋ 下部フォーム）
   ========================================================= */
.svc-concerns--2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: clamp(10px, 0.95vw, 16px);
  border-radius: 10px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #f3e2c4;
  box-shadow: 0 8px 18px rgba(40, 22, 8, 0.3);
}
.contact-flow b {
  width: 100%;
  margin-bottom: 3px;
  color: #ffd9a8;
  font-size: clamp(0.78rem, 0.92vw, 1.08rem);
  font-weight: 950;
  text-align: center;
}
.contact-flow span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.7rem, 0.82vw, 0.98rem);
  font-weight: 800;
}
.contact-flow span .ic {
  color: #ffcaa0;
}
.contact-flow i {
  color: #cda873;
  font-style: normal;
}

.contact-form-sec {
  background: #f6e6c8;
}
.contact-form-sec__lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}
.contact-form-sec__tel {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}
.contact-form-sec__tel a {
  color: var(--spice);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.contact-form-sec__tel a:hover {
  text-decoration: underline;
}
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}
.field {
  display: grid;
  gap: 7px;
}
.field__label {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}
.field__label em {
  margin-left: 7px;
  padding: 2px 9px;
  border-radius: 5px;
  background: var(--spice);
  color: #fff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}
.field__label em.opt {
  background: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(120, 85, 40, 0.4);
  border-radius: 10px;
  background: #fffdf6;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--turquoise);
  outline-offset: 1px;
  border-color: var(--turquoise);
}
.field textarea {
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.contact-form__note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

/* =========================================================
   下層ページ：モバイル
   ========================================================= */
@media (max-width: 1199px) {
  .works-right,
  .about-right {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    height: auto;
    z-index: 3;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(88, 54, 23, 0.18);
    border-radius: 8px;
    background: rgba(255, 242, 211, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px);
  }
  .works-map {
    height: 72vw;
    max-height: 440px;
  }
  .svc-concerns--2x2 {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ツールページ（右ページ＝楽天/Amazonツール群）
   ========================================================= */
.tools-right {
  position: absolute;
  right: 19%;
  top: 23%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 14px);
  width: 28.5%;
}

.tool-group__head {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(4px, 0.45vw, 8px);
  padding-bottom: 3px;
  color: #2a1c12;
  font-size: clamp(0.82rem, 0.95vw, 1.15rem);
  font-weight: 950;
  border-bottom: 2px solid var(--spice);
}
.tool-group--amazon .tool-group__head {
  border-bottom-color: #2f6f8f;
}

.tool-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 0.55vw, 10px);
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: clamp(8px, 0.8vw, 14px) clamp(5px, 0.5vw, 9px);
  border: 1px solid rgba(120, 85, 40, 0.35);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 251, 238, 0.65), rgba(236, 220, 186, 0.5)),
    #f1e4c5;
  box-shadow: 0 5px 12px rgba(72, 45, 19, 0.12);
  text-align: center;
}
.tool-card .ic {
  width: clamp(22px, 2vw, 32px);
  height: clamp(22px, 2vw, 32px);
  color: #7a5230;
}
.tool-card h3 {
  color: #2a1c12;
  font-size: clamp(0.58rem, 0.7vw, 0.85rem);
  font-weight: 900;
  line-height: 1.25;
}
.tool-badge {
  margin-top: auto;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: clamp(0.52rem, 0.62vw, 0.72rem);
  font-weight: 900;
}
.tool-badge--live {
  background: #d8efd0;
  color: #2f6b2a;
}
.tool-badge--internal {
  background: #f3e2c0;
  color: #9a6b1e;
}

.tool-band {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: clamp(9px, 0.9vw, 15px);
  border-radius: 10px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #f3e2c4;
  text-align: center;
  box-shadow: 0 8px 18px rgba(40, 22, 8, 0.3);
}
.tool-band b {
  color: #ffd9a8;
  font-size: clamp(0.78rem, 0.92vw, 1.1rem);
  font-weight: 950;
}
.tool-band span {
  color: #e6cfa6;
  font-size: clamp(0.66rem, 0.78vw, 0.92rem);
  font-weight: 700;
}

/* 本の下：公開ツール一覧 */
.tools-list {
  background: #f0dcc0;
}
.tools-list .tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.tool-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.tool-feature .ic {
  width: 42px;
  height: 42px;
  color: var(--spice-dark);
}
.tool-feature h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}
.tool-feature p {
  color: #3f352c;
  font-weight: 700;
  line-height: 1.7;
}
.tool-feature .tool-badge {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .tools-right {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    z-index: 3;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(88, 54, 23, 0.18);
    border-radius: 8px;
    background: rgba(255, 242, 211, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px);
  }
  .tools-list .tool-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   サービスページ 右ページ微調整：中央寄せ・やや左・文字拡大
   ========================================================= */
[data-page="service"] .svc-right {
  top: calc(20% + 50px); /* 本の上端からはみ出すため全体を下げる（30px→さらに+20px） */
  right: 18%;
  width: 30%;
  gap: clamp(13px, 1.5vw, 26px);
}
[data-page="service"] .svc-vhead {
  font-size: clamp(1.15rem, 1.55vw, 2rem);
}
[data-page="service"] .svc-values {
  gap: clamp(8px, 0.85vw, 15px);
}
[data-page="service"] .svc-vcard {
  gap: 7px;
  padding: clamp(15px, 1.35vw, 24px) clamp(10px, 0.9vw, 16px) clamp(12px, 1vw, 18px);
}
[data-page="service"] .svc-vicon {
  width: clamp(28px, 2.6vw, 46px);
  height: clamp(28px, 2.6vw, 46px);
}
[data-page="service"] .svc-vcard h3 {
  font-size: clamp(0.92rem, 1.12vw, 1.42rem);
}
[data-page="service"] .svc-vcard p {
  font-size: clamp(0.78rem, 0.92vw, 1.12rem);
  line-height: 1.55;
}
[data-page="service"] .svc-chead {
  font-size: clamp(0.92rem, 1.1vw, 1.35rem);
}
[data-page="service"] .svc-concerns {
  gap: clamp(8px, 0.85vw, 15px);
}
[data-page="service"] .svc-concerns span {
  gap: 8px;
  padding: clamp(12px, 1.1vw, 20px) 9px;
  font-size: clamp(0.74rem, 0.9vw, 1.08rem);
}
[data-page="service"] .svc-concerns .ic {
  width: clamp(24px, 2.2vw, 34px);
  height: clamp(24px, 2.2vw, 34px);
}
[data-page="service"] .svc-plans {
  padding: clamp(13px, 1.3vw, 22px) clamp(14px, 1.4vw, 24px);
}
[data-page="service"] .svc-plans b {
  font-size: clamp(0.95rem, 1.12vw, 1.4rem);
}
[data-page="service"] .svc-plans span {
  font-size: clamp(0.8rem, 0.95vw, 1.12rem);
}

/* =========================================================
   ツールページ 右ページ微調整：中央寄せ・やや左・文字拡大
   ========================================================= */
.tools-right {
  top: 26.5%;
  right: 18%;
  width: 30%;
  gap: clamp(12px, 1.4vw, 24px);
}
.tools-right .tool-group__head {
  margin-bottom: clamp(6px, 0.6vw, 11px);
  font-size: clamp(0.9rem, 1.05vw, 1.3rem);
}
.tools-right .tool-cards {
  gap: clamp(6px, 0.65vw, 12px);
}
.tools-right .tool-card {
  gap: 7px;
  padding: clamp(11px, 1.05vw, 18px) clamp(7px, 0.65vw, 12px);
}
.tools-right .tool-card .ic {
  width: clamp(26px, 2.4vw, 38px);
  height: clamp(26px, 2.4vw, 38px);
}
.tools-right .tool-card h3 {
  font-size: clamp(0.66rem, 0.82vw, 1rem);
}
.tools-right .tool-badge {
  padding: 3px 10px;
  font-size: clamp(0.56rem, 0.66vw, 0.78rem);
}
.tools-right .tool-band {
  padding: clamp(11px, 1.1vw, 18px);
}
.tools-right .tool-band b {
  font-size: clamp(0.85rem, 1vw, 1.2rem);
}
.tools-right .tool-band span {
  font-size: clamp(0.7rem, 0.82vw, 0.98rem);
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -22;
  }
}

/* 実績ページ下部セクションの背景（題名の可読性確保） */
.works-cases {
  background: #f6e6c8;
}

/* =========================================================
   問い合わせ 右ページ微調整：中央寄せ・やや左・文字拡大
   ========================================================= */
[data-page="contact"] .svc-right {
  top: calc(21% + 20px); /* 上に行きすぎるため全体を20px下げる */
  right: 18%;
  width: 30%;
  gap: clamp(12px, 1.4vw, 24px);
}
[data-page="contact"] .svc-vhead {
  font-size: clamp(1.1rem, 1.5vw, 1.9rem);
}
[data-page="contact"] .svc-values {
  gap: clamp(8px, 0.85vw, 15px);
}
[data-page="contact"] .svc-vcard {
  gap: 7px;
  padding: clamp(14px, 1.3vw, 22px) clamp(10px, 0.9vw, 16px) clamp(12px, 1vw, 18px);
}
[data-page="contact"] .svc-vicon {
  width: clamp(28px, 2.6vw, 44px);
  height: clamp(28px, 2.6vw, 44px);
}
[data-page="contact"] .svc-vcard h3 {
  font-size: clamp(0.9rem, 1.1vw, 1.38rem);
}
[data-page="contact"] .svc-vcard p {
  font-size: clamp(0.78rem, 0.92vw, 1.12rem);
  line-height: 1.55;
}
[data-page="contact"] .svc-chead {
  font-size: clamp(0.92rem, 1.1vw, 1.35rem);
}
[data-page="contact"] .svc-concerns {
  gap: clamp(8px, 0.85vw, 15px);
}
[data-page="contact"] .svc-concerns span {
  gap: 8px;
  padding: clamp(11px, 1vw, 18px) 10px;
  font-size: clamp(0.76rem, 0.9vw, 1.08rem);
}
[data-page="contact"] .svc-concerns .ic {
  width: clamp(24px, 2.2vw, 34px);
  height: clamp(24px, 2.2vw, 34px);
}
[data-page="contact"] .contact-flow {
  padding: clamp(12px, 1.2vw, 20px);
}
[data-page="contact"] .contact-flow b {
  font-size: clamp(0.85rem, 1vw, 1.2rem);
}
[data-page="contact"] .contact-flow span {
  font-size: clamp(0.76rem, 0.9vw, 1.08rem);
}

/* =========================================================
   ブログ一覧（本の中＝レシピ目次）
   ========================================================= */
.blog-list {
  position: absolute;
  right: 19%;
  top: 25%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 0.7vw, 12px);
  width: 31%;
}
.blog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: clamp(9px, 0.9vw, 15px) clamp(11px, 1vw, 18px);
  border: 1px solid rgba(120, 85, 40, 0.3);
  border-radius: 9px;
  background: rgba(255, 249, 233, 0.92);
  box-shadow: 0 5px 12px rgba(72, 45, 19, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.blog-item:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(72, 45, 19, 0.16);
}
.blog-item__no {
  color: var(--spice);
  font-family: Georgia, serif;
  font-size: clamp(1rem, 1.3vw, 1.6rem);
  font-weight: 800;
  opacity: 0.7;
}
.blog-item__body {
  min-width: 0;
}
.blog-item__cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  /* 既定で赤背景（カテゴリ別クラスが無くても視認できるように） */
  background: var(--spice-dark);
  color: #fff;
  font-size: clamp(0.56rem, 0.66vw, 0.74rem);
  font-weight: 900;
}
.blog-item__cat--rakuten { background: #bf0000; }
.blog-item__cat--amazon { background: #d98a1e; }
.blog-item__cat--ai { background: #2f6f8f; }
.blog-item__cat--tips { background: var(--turquoise-dark); }
.blog-item h3 {
  margin-top: 4px;
  color: #2a1c12;
  font-size: clamp(0.78rem, 0.92vw, 1.12rem);
  font-weight: 900;
  line-height: 1.3;
}
.blog-item__date {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: clamp(0.6rem, 0.7vw, 0.82rem);
}
.blog-list__more {
  text-align: right;
}
.blog-list__more a {
  color: var(--spice-dark);
  font-size: clamp(0.72rem, 0.85vw, 0.98rem);
  font-weight: 900;
}

/* =========================================================
   単記事（本＝タイトル＋ポイント／下＝本文）
   ========================================================= */
.single-head {
  position: absolute;
  left: 17%;
  top: 28%;
  z-index: 3;
  width: 30%;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-meta time {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
  font-weight: 700;
}
.single-title {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 3rem);
  font-weight: 950;
  line-height: 1.3;
}
.single-lead {
  max-width: 26em;
  margin-top: 14px;
  color: #3f352c;
  font-size: clamp(0.92rem, 1.05vw, 1.18rem);
  font-weight: 700;
  line-height: 1.8;
}

.single-side {
  position: absolute;
  right: 19%;
  top: 26%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 18px);
  width: 30%;
}
.single-points {
  display: grid;
  gap: clamp(7px, 0.7vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.single-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: clamp(10px, 0.9vw, 16px);
  border: 1px solid rgba(120, 85, 40, 0.3);
  border-radius: 9px;
  background: rgba(255, 249, 233, 0.92);
}
.single-points b {
  display: grid;
  place-content: center;
  width: clamp(24px, 2vw, 32px);
  height: clamp(24px, 2vw, 32px);
  border-radius: 50%;
  background: var(--spice);
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(0.8rem, 0.95vw, 1.1rem);
  font-weight: 800;
}
.single-points span {
  color: #2a1c12;
  font-size: clamp(0.78rem, 0.9vw, 1.05rem);
  font-weight: 800;
  line-height: 1.4;
}
.single-author {
  padding: clamp(10px, 1vw, 16px);
  border-radius: 9px;
  background: linear-gradient(180deg, #4a2c16, #34200f);
  color: #f3e2c4;
  text-align: center;
}
.single-author__mark {
  display: block;
  color: var(--paper);
  font-weight: 950;
  letter-spacing: 0.04em;
}
.single-author b {
  color: #ffd9a8;
  font-size: 1.1rem;
}
.single-author__role {
  display: block;
  color: #e6cfa6;
  font-size: clamp(0.66rem, 0.78vw, 0.9rem);
}

.single-body {
  background: #fff8e8;
}
.single-body h2 {
  margin-top: 40px;
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
}
.single-body h2:first-of-type {
  margin-top: 0;
}
.single-body h3 {
  margin-top: 26px;
  color: var(--spice-dark);
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
}
.single-body p {
  margin-top: 14px;
  color: #3f352c;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 2;
}
.single-body p a {
  color: var(--turquoise-dark);
  font-weight: 800;
  text-decoration: underline;
}
/* 記事本文内のCTAボタンは本文リンク色（ターコイズ＋下線）の影響を受けない */
.single-body p a.btn {
  text-decoration: none;
}
.single-body p a.btn--primary {
  color: #fff7e6;
}
.single-body p a.btn--sea {
  color: #f3fbfb;
}
.single-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.single-list li {
  position: relative;
  padding-left: 26px;
  color: #3f352c;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
}
.single-list li::before {
  content: "・";
  position: absolute;
  left: 6px;
  color: var(--spice);
  font-weight: 900;
}
.single-list--check li::before {
  content: "✓";
  left: 0;
  color: var(--turquoise-dark);
}
.single-cta-lead {
  margin-top: 30px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  font-weight: 900;
  line-height: 1.7;
}
.single-related {
  display: grid;
  gap: 12px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.single-related__head {
  color: var(--spice-dark);
  font-weight: 900;
}
.single-related a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}
.single-related a:hover {
  background: #fff;
}

/* ブログ：モバイル */
@media (max-width: 1199px) {
  .blog-list,
  .single-head,
  .single-side {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    z-index: 3;
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(88, 54, 23, 0.18);
    border-radius: 8px;
    background: rgba(255, 242, 211, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px);
  }
  .single-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .single-body p,
  .single-list li {
    font-size: 1.05rem;
  }
}

/* =========================================================
   モバイル：詳細ページの右パネルを確実にスタック＋FAB
   （[data-page] 指定の高詳細度に勝つため !important で位置リセット）
   ========================================================= */
@media (max-width: 1199px) {
  [data-page] .svc-left,
  [data-page] .svc-right,
  [data-page] .works-right,
  [data-page] .about-right,
  [data-page] .tools-right,
  [data-page] .blog-list,
  [data-page] .single-head,
  [data-page] .single-side {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
  }

  /* タイトル見切れ防止（CONTACT等） */
  .svc-title,
  .single-title {
    font-size: clamp(2.5rem, 12.5vw, 4.2rem);
    word-break: break-word;
  }

  /* 瓶ナビ：看板（最上部）のすぐ下の段へ。開封時の蓋がクリップされないよう上余白も確保 */
  .jar-nav {
    margin-top: 36px;
    padding-top: 16px;
  }
}

/* 追従CTAスタック（無料相談＝主／ひと振り＝副）：右下固定・スクロールで出現。PC/スマホ共通。 */
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}
.float-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.spice-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(120, 30, 10, 0.42);
}
/* 無料相談：ヘッダー瓶と同じ closed→open（hover/タップで開く）＋ラベル文字（無料/相談 2段） */
.float-cta__consult {
  position: relative;
  display: block;
  width: clamp(66px, 6.6vw, 88px);
  aspect-ratio: 313 / 546;
  filter: drop-shadow(0 9px 16px rgba(90, 20, 8, 0.45));
  transition: transform 160ms ease;
}
.float-cta__consult img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-cta__consult .jar-open {
  opacity: 0;
  transition: opacity 90ms ease;
}
.float-cta__consult:hover,
.float-cta__consult:focus-visible {
  outline: none;
  transform: translateY(-3px);
}
.float-cta__consult:hover .jar-open,
.float-cta__consult:focus-visible .jar-open,
.float-cta__consult.is-open .jar-open {
  opacity: 1;
}
.float-cta__consult:hover .jar-closed,
.float-cta__consult:focus-visible .jar-closed,
.float-cta__consult.is-open .jar-closed {
  opacity: 0;
}
.float-cta__txt {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 46%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.08;
  text-align: center;
  pointer-events: none;
}
.float-cta__txt b {
  color: var(--spice-dark);
  font-size: clamp(0.66rem, 0.8vw, 0.94rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-indent: 0.14em; /* letter-spacing の右ズレを中央寄せで相殺 */
  text-shadow: 0 1px 0 rgba(255, 248, 235, 0.7);
}
.float-cta__txt i {
  margin-top: 1px;
  color: var(--muted);
  font-size: clamp(0.42rem, 0.5vw, 0.58rem);
  font-style: normal;
  letter-spacing: 0.06em;
}
/* 蓋が開いた状態（hover/タップ）はラベルが小さくなるので、文字を縮小＋少し下へ */
.float-cta__consult:hover .float-cta__txt,
.float-cta__consult:focus-visible .float-cta__txt,
.float-cta__consult.is-open .float-cta__txt {
  top: 56%;
  transform: scale(0.82);
  transform-origin: center top;
}
.spice-fab {
  padding: 9px 16px 9px 13px;
  background: radial-gradient(circle at 38% 30%, #c8542a, #8e2210 75%);
  color: #ffe9cf;
  font-size: 0.86rem;
  animation: fabPulse 2.6s ease-in-out infinite;
}
.spice-fab .ic {
  width: 1.25em;
  height: 1.25em;
}
@media (max-width: 1199px) {
  .float-cta { right: 12px; bottom: 14px; gap: 8px; }
  .float-cta__consult { width: 60px; }
}
@keyframes fabPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ===== 下層ページ：本の枠内に収めるため、トップと同様に各セクションを縮小（PC） ===== */
.svc-left,
.single-head {
  transform: scale(0.84);
  transform-origin: 100% 0;
}
.works-right,
.about-right,
.tools-right,
.blog-list,
.single-side {
  transform: scale(0.84);
  transform-origin: 50% 0;
}
/* service/contact の右はカードが多く高いので、さらに小さく */
.svc-right {
  transform: scale(0.78);
  transform-origin: 50% 0;
}
/* contact は右カードが特に多く下端が窮屈なので、PCのみさらに縮小して枠内に収める
   （min-width で囲い、スマホのスタック表示には一切影響させない） */
@media (min-width: 1200px) {
  [data-page="contact"] .svc-right {
    transform: scale(0.73);
    transform-origin: 50% 0;
  }
}
/* about: リードが改行しないよう左を少し広く */
.hero-book[data-page="about"] .svc-left {
  width: 35%;
}
/* スマホではPC用transformを打ち消す（崩れ防止） */
@media (max-width: 1199px) {
  .svc-left,
  .single-head,
  .svc-right,
  .works-right,
  .about-right,
  .tools-right,
  .blog-list,
  .single-side {
    transform: none;
  }
  .hero-book[data-page="about"] .svc-left { width: auto; }
}

/* カテゴリチップ（リンク化） */
.svc-chips li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
/* ブログ一覧ページネーション */
.blog-list .pagination { margin-top: 14px; }
.blog-list .pagination .screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.blog-list .pagination .nav-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.blog-list .pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 9px;
  border: 1px solid rgba(120, 85, 40, 0.4); border-radius: 8px;
  background: #fff8e6; color: #3a2719;
  font-weight: 900; font-size: 0.86rem; text-decoration: none;
  box-shadow: 0 3px 7px rgba(72, 45, 19, 0.14);
}
.blog-list .pagination .page-numbers.current {
  background: var(--spice-dark); color: #fff; border-color: var(--spice-dark);
}
.blog-list .pagination .page-numbers:hover { background: #ffefce; }

/* ツールページ：公開ツールの画像カード（4枚・外部リンク） */
.tools-list .tool-grid--img {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.tool-img-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(59, 35, 15, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.tool-img-card img {
  display: block;
  width: 100%;
  height: auto;
}
.tool-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(59, 35, 15, 0.28);
}
/* 各カード＝画像（or 開発中プレースホルダ）＋ 説明文 */
.tools-list .tool-grid--img { align-items: start; row-gap: 32px; }
.tool-item { display: flex; flex-direction: column; gap: 14px; }
.tool-item__desc {
  color: #3f352c;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.78;
}
/* 非公開（社内運用・開発中）カード：画像の代わりのプレースホルダ */
.tool-item--dev .tool-dev-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 2px dashed rgba(120, 85, 40, 0.45);
  background:
    repeating-linear-gradient(45deg, rgba(120, 85, 40, 0.055) 0 14px, transparent 14px 28px),
    #e9ddca;
  color: var(--ink);
  text-align: center;
  padding: 24px;
}
.tool-dev-card .ic { width: 48px; height: 48px; color: var(--spice-dark); opacity: 0.8; }
.tool-dev-card__title { font-size: 1.18rem; font-weight: 900; line-height: 1.4; }
.tool-item--dev .tool-badge--internal { margin-top: 2px; }
@media (max-width: 680px) {
  .tools-list .tool-grid--img { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   ノートPC（MacBook等・1200–1439px）：本オーバーレイは維持しつつ、
   右ページの提供価値カードが窮屈になりやすいので右パネルを少し広げて余裕を持たせる。
   ※ 1440px以上（デザイン基準幅）は対象外＝従来どおり。
   ========================================================= */
@media (min-width: 1200px) and (max-width: 1439px) {
  [data-page="service"] .svc-right,
  [data-page="contact"] .svc-right {
    right: 16%;
    width: 32.5%;
  }
  [data-page="service"] .svc-vcard h3,
  [data-page="contact"] .svc-vcard h3 {
    font-size: clamp(0.9rem, 1.05vw, 1.18rem);
  }
}

/* =========================================================
   タブレット（701–1199px）：本オーバーレイは窮屈なので積み上げ表示にした上で、
   看板・瓶ナビ・本文を「スマホ向けの小さめサイズ」からタブレット向けに引き上げる。
   ※ レイアウト自体は max-width:1199px のモバイル系ルールで積み上げ済み。ここはサイズ微調整のみ。
   ========================================================= */
@media (min-width: 701px) and (max-width: 1199px) {
  /* 看板：スマホ125px → タブレットは大きく */
  .site-mark__logo { width: clamp(190px, 24vw, 240px); }
  /* 瓶ナビ：看板拡大に合わせて下げ、瓶も大きく・右寄せ維持 */
  .jar-nav { margin-top: clamp(96px, 13vw, 130px); }
  .jar-nav a { flex: 0 0 clamp(64px, 8vw, 84px); }
  .jar-txt b { font-size: clamp(0.66rem, 1.1vw, 0.86rem); }
  /* 本文カードが横に間延びしないよう、中央寄せで読みやすい幅に */
  .svc-left,
  .svc-right,
  .single-head,
  .single-body,
  .works-right,
  .tools-right {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
