﻿/* =========================================================
   SP Plan Co., Ltd. ? Landing Page Stylesheet
   Fonts   : Shippori Mincho (display) / Noto Serif JP (body)
   Palette : see :root variables below
========================================================= */

:root {
  --white:     #ffffff;
  --light:     #fff9f5;
  --dark:      #18192b;
  --primary:   #e6c85c;
  --secondary: #aa923c;
  --info:      #da6e2b;
  --accent1:   #674428;
  --accent2:   #74645a;
  --accent3:   #c4aea4;
  --success:   #4fb51d;
  --warning:   #fec65e;
  --danger:    #f80e5d;

  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Serif JP", "Shippori Mincho", serif;
  --font-latin: "Cormorant Garamond", "Shippori Mincho", serif;

  --container-w: 80%;
  --transition-slow: 900ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: var(--container-w);
  margin: 0 auto;
}

.section { padding: 7rem 0; }
.section--tight { padding: 4rem 0; }

.section-eyebrow {
  font-family: var(--font-latin);
  font-style: italic;
  letter-spacing: 0.25em;
  color: var(--secondary);
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 2.5rem;
  color: var(--accent1);
  position: relative;
  padding-bottom: 1.1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 2px;
  background: var(--primary);
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--accent3);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5%;
}

.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.gnav ul {
  display: flex;
  gap: 2.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav a {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding-bottom: 2px;
  transition: color .3s ease;
}

.star-sm {
  width: 11px; height: 11px;
  fill: var(--primary);
  flex-shrink: 0;
  transition: transform .4s ease, fill .3s ease;
}

.gnav a:hover { color: var(--info); }
.gnav a:hover .star-sm {
  fill: var(--info);
  transform: rotate(90deg) scale(1.3);
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--info);
  transition: width .35s ease;
}
.gnav a:hover::after { width: 100%; }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent1);
  transition: all .35s ease;
}

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

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-menu li { margin: 1.7rem 0; }
.mobile-menu a {
  font-family: var(--font-display);
  color: var(--light);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.mobile-menu .star-sm { fill: var(--primary); width: 13px; height: 13px; }

/* =========================================================
   HERO / SLIDER
========================================================= */
.hero {
  padding: 3.2rem 0 3.6rem;
  background: var(--light);
  overflow: hidden;
}

.hero-inner {
  width: 87%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.hero-eyebrow {
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--secondary);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin: 0;
}

.hero-catch {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.55;
  color: var(--accent1);
  margin: 0;
}

.hero-lead {
  color: var(--accent2);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.slide-caption {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  border-top: 1px solid var(--accent3);
  padding-top: 1.4rem;
  margin-top: 0.6rem;
  min-height: 130px;
}

.slide-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  color: var(--accent1);
  height: 130px;
}

.slide-catch {
  font-size: 0.86rem;
  color: var(--accent2);
  line-height: 1.9;
  padding-top: 0.3rem;
  transition: opacity .5s ease;
}

.hero-right { position: relative; min-height: 680px; }

.slider-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 680px;
}

.slide-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
  clip-path: url(#orgWindowA);
}
.slide-wrap.is-active { opacity: 1; }
.slide-wrap.shape-b { clip-path: url(#orgWindowB); }

.slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 外側は白、内側（写真）へ向かって透明になるフェード（強め） */
.slide-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 249, 245, 0) 22%,
    rgba(255, 249, 245, 0.28) 48%,
    rgba(255, 249, 245, 0.62) 68%,
    rgba(255, 249, 245, 0.88) 85%,
    rgba(255, 249, 245, 1) 100%
  );
}

.slide-caption-mobile { display: none; }
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.slider-dots button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent3);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.slider-dots button.is-active {
  background: var(--info);
  transform: scale(1.25);
}

/* =========================================================
   AYUMI / VIP SECTION ? 見出しは slash-block（下部で定義）
========================================================= */
.ayumi { background: var(--white); }

/* =========================================================
   SLASH HEADING（"＼ 見出し ／" スタイル）
========================================================= */
.slash-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  container-type: inline-size;
}
.slash-block--left {
  text-align: left;
  margin: 0 0 3.4rem;
  max-width: 100%;
}

.slash-eyebrow {
  font-size: 0.82rem;
  color: var(--accent2);
  letter-spacing: 0.2em;
  margin: 0 0 0.9rem;
}

.slash-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--dark);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: nowrap;
  max-width: 100%;
}
.slash-block .slash-heading { justify-content: center; }
.slash-block--left .slash-heading { justify-content: flex-start; }

.slash-heading-text {
  /* 端末幅（コンテナ幅）に応じて縮小し、常に1行に収める */
  font-size: clamp(0.95rem, 6.2cqw, 2rem);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.slash-mark {
  color: var(--info);
  font-weight: 700;
  font-size: 1.3em;
  display: inline-block;
  transform: skewX(-8deg);
  flex-shrink: 0;
}

.slash-desc {
  color: var(--accent2);
  font-size: 0.94rem;
  line-height: 1.9;
  margin: 0;
}
.slash-block--left .slash-desc { max-width: 860px; }

/* =========================================================
   PRODUCT SECTIONS
========================================================= */
.product { background: var(--light); }
.product--alt { background: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}


.product-grid img{border-radius: 10px;}/*maico*/
.product-grid--image-right .product-media { order: 2; }
.product-grid--image-right .product-copy { order: 1; }
/*
.product-media-frame1 {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
*/

.frame-a { clip-path: url(#orgWindowA); }
.frame-b { clip-path: url(#orgWindowB); }

.product-media-frame2 {
  width: 100%;
  aspect-ratio: 3 / 6;/*商品縦長画像*/
  overflow: hidden;
  position: relative;
}
.frame-a { clip-path: url(#orgWindowA); }
.frame-b { clip-path: url(#orgWindowB); }


.product-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* スライム枠と背景の境目をぼかすフェード（KVと同様の処理・強めに調整） */
/*
.media-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.media-fade--light {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 249, 245, 0) 22%,
    rgba(255, 249, 245, 0.28) 48%,
    rgba(255, 249, 245, 0.62) 68%,
    rgba(255, 249, 245, 0.88) 85%,
    rgba(255, 249, 245, 1) 100%
  );
}
.media-fade--white {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0) 22%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.62) 68%,
    rgba(255, 255, 255, 0.88) 85%,
    rgba(255, 255, 255, 1) 100%
  );
}
*/


/* --- 甘納豆：味別・商品詳細（テーブル ⇄ 丸写真の交互レイアウト） --- */
.amanatto-detail {
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  margin: 4.5rem auto 0;
  width: 100%;
  max-width: 1050px;
}

.amanatto-item {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.6rem;
  align-items: center;
}
/* 2番目（左右反転）は列幅も反転させる。orderではなくカラム自体を入れ替える */
.amanatto-item--media-left {
  grid-template-columns: 260px 1fr;
}

/* PC版のみ：甘納豆の商品詳細と画像の間隔を広げてバランス調整 */
@media (min-width: 1025px) {
  .amanatto-item,
  .amanatto-item--media-left {
    column-gap: 100px;
  }
}

.amanatto-media {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}
.amanatto-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--accent3);
  box-shadow: 0 10px 22px rgba(103,68,40,0.14);
}

.amanatto-media-caption {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent1);
  text-align: center;
  line-height: 1.5;
}
.amanatto-media-caption small {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--secondary);
}

.product-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--accent1);
  margin: 0 0 0.6rem;
  line-height: 1.5;
}

.product-sub {
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin: 0 0 1.6rem;
}

.product-text {
  font-size: 0.96rem;
  color: var(--dark);
  margin: 0 0 2.2rem;
}

.store-list {
  font-size: 0.86rem;
  color: var(--accent2);
  margin: 0 0 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--accent3);
}
.store-list-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-right: 1rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--secondary);
  border-radius: 10px;
}

.placeholder-text {
  color: var(--accent2);
  font-style: italic;
  border: 1px dashed var(--accent3);
  padding: 1.1rem 1.3rem;
  font-size: 0.88rem;
}

.flavor-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.6rem;
}
.product-grid .flavor-list { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }

.flavor-list li {
  text-align: center;
  font-size: 0.72rem;
  color: var(--accent2);
  letter-spacing: 0.04em;
}
.flavor-list img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.55rem;
  border: 1px solid var(--accent3);
}
.flavor-list small {
  font-family: var(--font-latin);
  font-size: 0.62rem;
  color: var(--secondary);
  letter-spacing: 0.08em;
}

/* CTA button with hover phone reveal */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 58px;
  padding: 0 2rem;
  border: 1px solid var(--accent1);
  border-radius: 20px;
  color: var(--accent1);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.cta-button .cta-default,
.cta-button .cta-hover {
  position: absolute;
  transition: transform .4s ease, opacity .4s ease;
  white-space: nowrap;
}
.cta-hover {
  opacity: 0;
  transform: translateY(10px);
  color: var(--white);
  font-family: var(--font-latin);
  letter-spacing: 0.06em;
}
.cta-default { opacity: 1; transform: translateY(0); }

.cta-button:hover {
  background: var(--accent1);
  border-color: var(--accent1);
  color: var(--white);
}
.cta-button:hover .cta-default { opacity: 0; transform: translateY(-10px); }
.cta-button:hover .cta-hover { opacity: 1; transform: translateY(0); }

/* =========================================================
   成分表（原材料・内容量・賞味期限・保存方法）
   カード分割型リストスタイル／商品ごとに背景色を指定
========================================================= */
.spec-table {
  margin-top: 0.6rem;
}

.spec-table-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
}
.detail-shield { width: 18px; height: 18px; color: var(--info); flex-shrink: 0; }

.spec-item {
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
}
.spec-item:last-child { margin-bottom: 0; }

.spec-label {
  display: block;
  color: var(--info);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.spec-value {
  display: block;
  color: var(--dark);
  font-size: 0.86rem;
  line-height: 1.75;
}

.spec-nutrition-list {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
}
.spec-nutrition-list li {
  font-size: 0.86rem;
  color: var(--dark);
  line-height: 1.75;
}

.spec-ingredient-list {
  margin-top: 0.3rem;
}
.spec-ingredient {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--accent3);
}
.spec-ingredient:last-child { border-bottom: none; }
.spec-ingredient-name {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--secondary);
  letter-spacing: 0.05em;
  min-width: 3.4em;
}
.spec-ingredient-value {
  flex: 1 1 auto;
  font-size: 0.86rem;
  color: var(--dark);
  line-height: 1.75;
}
.spec-ingredient-value:empty::before {
  content: "―";
  color: var(--accent3);
}

/* 商品ごとの背景色設定：博多一番星金平糖＝白／宗像さいだぁ＝白 */
.spec-table--white .spec-item {
  background: var(--white);
}

/* 宗像の甘納豆＝KV（キービジュアル）と同じ背景色 */
.spec-table--kv .spec-item {
  background: var(--light);
}

/* =========================================================
   KP2 ― 商品紹介：金平糖 詳細ビジュアル
   （元画像をテキスト／画像に切り分けてHTML化したセクション）
========================================================= */
.kp2 { background: var(--light); }

.kp2-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.kp2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin: 0 0 1rem;
}
.kp2-eyebrow .star-sm { fill: var(--primary); width: 12px; height: 12px; }

.kp2-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--dark);
  line-height: 1.6;
  margin: 0 0 1.2rem;
}
.kp2-title span {
  display: inline-block;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--accent1);
  margin-top: 0.3rem;
}

.kp2-lead {
  font-size: 0.95rem;
  color: var(--accent2);
  margin: 0;
}

/* --- 3カラム特徴ブロック --- */
.kp2-features {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 2.4rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

.kp2-feature-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.3rem;
  box-shadow: 0 12px 28px rgba(103,68,40,0.14);
}
.kp2-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.kp2-feature-media--tall { aspect-ratio: 3/4; margin-bottom: 0; }

.kp2-feature--media-only { display: flex; align-items: center; }

.kp2-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent1);
  margin: 0 0 0.7rem;
}
.kp2-feature-text {
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.85;
  margin: 0;
}

.kp2-assurance {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--accent3);
}
.kp2-assurance-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.425rem; /* 0.95rem x1.5 */
  color: var(--dark);
  margin: 0 0 0.5rem;
}
.kp2-assurance-sub {
  font-size: 1.2rem; /* 0.8rem x1.5 */
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin: 0 0 1.8rem;
}

.kp2-icon-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kp2-icon-list li {
  flex: 1;
  text-align: center;
  font-size: 1.05rem; /* 0.7rem x1.5 */
  line-height: 1.5;
  color: var(--accent2);
}
.kp2-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px; /* 52px x1.5 */
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--accent3);
  background: var(--white);
  color: var(--info);
}
.kp2-icon svg { width: 36px; height: 36px; } /* 24px x1.5 */

/* --- じっくりと時間をかけて --- */
.kp2-time {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.6rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
.kp2-time-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 28px rgba(103,68,40,0.14);
}
.kp2-time-media img { width: 100%; height: 100%; object-fit: cover; }

/* --- ギフト訴求ブロック --- */
.kp2-gift {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.4rem;
  background: var(--white);
  border-radius: 20px;
  padding: 2.6rem;
  margin-bottom: 4.5rem;
  box-shadow: 0 12px 28px rgba(103,68,40,0.08);
}
.kp2-gift-icon {
  width: 76px; height: 76px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--info);
}
.kp2-gift-icon svg { width: 34px; height: 34px; }

.kp2-gift-copy {
  flex: 1 1 280px;
  min-width: 240px;
}

.kp2-gift-media {
  flex: 0 1 700px;
  width: 700px;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.kp2-gift-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --- 製造元／おすすめ／フレーバー一覧（ダーク帯） --- */
.kp2-maker {
  background: var(--dark);
  border-radius: 20px;
  padding: 3rem 3rem 3.2rem;
  color: var(--light);
}
.kp2-maker-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2rem;
  margin-bottom: 2.4rem;
}
.kp2-maker-since {
  font-family: var(--font-latin);
  font-style: italic;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.3rem;
}
.kp2-maker-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0;
}
.kp2-maker-text {
  font-size: 0.86rem;
  color: var(--accent3);
  line-height: 1.8;
  margin: 0;
  max-width: 320px;
}

.kp2-maker-bottom {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.6rem;
  align-items: start;
}

.kp2-flavors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kp2-flavors li {
  text-align: center;
  font-size: 0.72rem;
  color: var(--accent3);
  letter-spacing: 0.04em;
}
.kp2-flavors img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.kp2-flavors small {
  font-family: var(--font-latin);
  font-size: 0.62rem;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.kp2-recommend {
  background: var(--light);
  border-radius: 16px;
  padding: 1.8rem 1.8rem;
}
.kp2-recommend-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent1);
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--accent3);
}
.kp2-recommend ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kp2-recommend li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.kp2-recommend li:last-child { margin-bottom: 0; }
.kp2-recommend li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1px solid var(--info);
  background: var(--white);
}
.kp2-recommend li::after {
  content: "";
  position: absolute;
  left: 4px; top: 0.42em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--info);
  border-bottom: 2px solid var(--info);
  transform: rotate(-45deg);
}

/* ページトップ（右下固定・スライム型） */
.totop-fixed {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.totop-fixed.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.totop-fixed:hover { transform: translateY(-4px); }

.totop-blob-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(103,68,40,0.28));
  transition: filter .35s ease;
}
.totop-fixed:hover .totop-blob-img {
  filter: drop-shadow(0 8px 18px rgba(103,68,40,0.38));
}

.totop-fixed-arrow {
  position: relative;
  z-index: 2;
  width: 26px; height: 26px;
}

/* =========================================================
   COMPANY TABLE
========================================================= */
.company { background: var(--white); }

.company-heading-block {
  margin-top: 5rem;
}

.company-table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--accent3);
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 1.15rem 1rem;
  font-weight: 400;
  font-size: 0.92rem;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  color: var(--secondary);
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.company-table td { color: var(--dark); }
.small-note {
  font-size: 0.75rem;
  color: var(--accent2);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 4rem 0 2.2rem;
}
.footer-inner {
  width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin: 0;
  color: var(--white);
}

.footer-info p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--white);
}

.footer-copy {
  margin: 0;
  padding: 0;
  border-top: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--white);
  font-family: var(--font-latin);
}

.site-footer .small-note { color: var(--white); opacity: 0.75; }

/* =========================================================
   RESPONSIVE ? TABLET / MOBILE
========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { order: 2; }
  .hero-right { order: 1; }

  .product-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .product-grid--image-right .product-media,
  .product-grid--image-right .product-copy { order: unset; }

  .kp2-features { grid-template-columns: 1fr; gap: 2.6rem; }
  .kp2-feature--media-only { order: -1; }
  .kp2-feature-media--tall { aspect-ratio: 16/10; }

  .kp2-time { grid-template-columns: 1fr; }

  .kp2-gift {
    flex-direction: column;
    text-align: center;
    padding: 2.2rem;
  }
  .kp2-gift-icon { margin: 0 auto; }
  .kp2-gift-copy { flex: 0 1 auto; min-width: 0; width: 100%; }
  .kp2-gift-media { flex: 1 1 auto; width: 100%; height: auto; }

  .kp2-maker-bottom { grid-template-columns: 1fr; }

  .amanatto-item,
  .amanatto-item.amanatto-item--media-left {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .amanatto-copy,
  .amanatto-copy .spec-table { width: 100%; }
  .amanatto-media { max-width: 220px; order: -1; }
  .amanatto-copy { order: 2; }
}

@media (max-width: 768px) {
  :root { --container-w: 88%; }

  .logo-img { height: 28px; }

  .gnav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 2rem 0 2.4rem; }
  .hero-inner { width: 88%; gap: 0; }
  .hero-left { display: none; }
  .hero-right { min-height: 0; }
  .slider-frame { min-height: 0; aspect-ratio: 6/4; }

  .hero-right { min-height: 0; padding-bottom: 20px; }
  .slider-dots { margin-top: 30px; margin-bottom: 0; }

  .slide-caption-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 1.2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--accent3);
    container-type: inline-size;
  }
  .slide-name-mobile {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent1);
    font-size: clamp(0.66rem, 5.4cqw, 0.95rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }
  .slide-catch-mobile {
    font-size: 0.70rem;
    color: var(--accent2);
    text-align: left;
    line-height: 1.8;
    flex: 1 1 auto;
    min-width: 0;
  }

  .section { padding: 4.2rem 0; }

  .slash-heading { flex-wrap: nowrap; gap: 0.4rem; }
  .slash-block--left .slash-heading,
  .slash-block .slash-heading { justify-content: center; }
  .slash-block--left { text-align: center; }

  .flavor-list { grid-template-columns: repeat(3, 1fr); }
  .product-grid .flavor-list--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
  }

  .kp2-head { margin-bottom: 3rem; }
  .kp2-assurance-title { font-size: 1.2rem; }
  .kp2-assurance-sub { font-size: 1rem; }
  .kp2-icon-list { gap: 0.8rem; }
  .kp2-icon-list li { font-size: 0.9rem; }
  .kp2-icon { width: 66px; height: 66px; } /* 44px x1.5 */
  .kp2-icon svg { width: 30px; height: 30px; } /* 20px x1.5 */

  .kp2-maker { padding: 2.2rem 1.5rem 2.4rem; }
  .kp2-maker-name { font-size: 1.25rem; }
  .kp2-flavors { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; row-gap: 1.4rem; }

  .cta-button { width: 100%; min-width: 0; }

  .totop-fixed { width: 68px; height: 68px; right: 18px; bottom: 18px; }
  .totop-fixed-arrow { width: 20px; height: 20px; }

  .company-table th { width: 110px; font-size: 0.82rem; }
  .company-table th, .company-table td { padding: 0.9rem 0.6rem; font-size: 0.82rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide-wrap, .totop-fixed, .cta-button, .cta-button span { transition: none !important; }
}
