/* ============================================================
   お店の気持ち — style.css  Version: v1.33
   デザインシステム：家の気持ちと完全共通
   「茶室の余白」── 静寂でしか伝わらない情感を、コードで。
   ============================================================ */

/* ===== CSS 変数（ライトモード ＝ デフォルト） ===== */
:root, [data-theme="light"] {
  --bg-page:          #F7F3EC;
  --bg-page-alt:      #EFE9DE;
  --bg-warm:          #F3EDE4;
  --bg-card:          #FFFFFF;
  --bg-card-hover:    #FAF7F2;
  --bg-header:        rgba(247, 243, 236, 0.88);
  --bg-cta:           #DCD3C5;
  --bg-footer:        #E6DFD4;
  --bg-dark:          #111812;
  --bg-dark-card:     rgba(247, 243, 236, 0.04);

  --text-primary:     #1C1C1C;
  --text-secondary:   #4A4540;
  --text-muted:       #7A7268;
  --text-quiet:       #9E9789;

  --sumi:             #1C1C1C;
  --sumi-mid:         #2B2B2B;
  --washi:            #F7F3EC;
  --shu:              #C84B31;
  --shu-hover:        #D8563B;
  --shu-soft:         rgba(200, 75, 49, 0.08);
  --koke:             #5A6E4F;
  --koke-light:       #7A8B6F;
  --koke-soft:        rgba(122, 139, 111, 0.1);

  --border:           rgba(0, 0, 0, 0.07);
  --border-hover:     rgba(200, 75, 49, 0.25);
  --shadow-card:      0 2px 20px rgba(0, 0, 0, 0.04);
  --shadow-card-hover:0 8px 36px rgba(0, 0, 0, 0.08);

  --closing-text:     #1C1C1C;
  --closing-sub:      #5A524A;
  --footer-text:      #1C1C1C;
  --footer-tagline:   #5A524A;
  --footer-nav-head:  #7A7268;
  --footer-nav-link:  #4A4540;
  --footer-copy:      #7A7268;
  --footer-border:    rgba(0, 0, 0, 0.08);
  --footer-top-border:rgba(0, 0, 0, 0.08);

  --toggle-bg:        rgba(0, 0, 0, 0.05);
  --toggle-border:    rgba(0, 0, 0, 0.1);
  --toggle-color:     #4A4540;
  --toggle-shadow:    0 2px 12px rgba(0, 0, 0, 0.06);

  --font-mincho: "Shippori Mincho", "BIZ UDPMincho", "Noto Serif JP", "游明朝", "YuMincho", serif;
  --font-sans:   "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;

  --max-width: 820px;
  --section-gap: 100px;
  --card-radius: 20px;
}

/* ===== ダークモード ===== */
[data-theme="dark"] {
  --bg-page:          #111812;
  --bg-page-alt:      #162018;
  --bg-warm:          #1A241C;
  --bg-card:          rgba(26, 36, 28, 0.75);
  --bg-card-hover:    rgba(32, 44, 35, 0.9);
  --bg-header:        rgba(17, 24, 18, 0.92);
  --bg-cta:           #111812;
  --bg-footer:        #0D120E;
  --bg-dark:          #0D120E;
  --bg-dark-card:     rgba(247, 243, 236, 0.03);

  --text-primary:     #EDE8DE;
  --text-secondary:   #BDB6AA;
  --text-muted:       #807A70;
  --text-quiet:       #6B655B;

  --sumi:             #EDE8DE;
  --sumi-mid:         #252525;
  --washi:            #111812;
  --shu:              #D8563B;
  --shu-hover:        #E8664B;
  --shu-soft:         rgba(216, 86, 59, 0.12);
  --koke:             #96A78B;
  --koke-light:       #A8B99D;
  --koke-soft:        rgba(150, 167, 139, 0.12);

  --border:           rgba(122, 139, 111, 0.18);
  --border-hover:     rgba(200, 75, 49, 0.3);
  --shadow-card:      0 2px 20px rgba(0, 0, 0, 0.2);
  --shadow-card-hover:0 8px 36px rgba(0, 0, 0, 0.3);

  --closing-text:     rgba(237, 232, 222, 0.92);
  --closing-sub:      rgba(150, 167, 139, 0.85);
  --footer-text:      rgba(237, 232, 222, 0.85);
  --footer-tagline:   rgba(237, 232, 222, 0.45);
  --footer-nav-head:  rgba(237, 232, 222, 0.35);
  --footer-nav-link:  rgba(237, 232, 222, 0.6);
  --footer-copy:      rgba(237, 232, 222, 0.2);
  --footer-border:    rgba(122, 139, 111, 0.12);
  --footer-top-border:rgba(122, 139, 111, 0.08);

  --toggle-bg:        rgba(36, 46, 38, 0.85);
  --toggle-border:    rgba(122, 139, 111, 0.35);
  --toggle-color:     #DDE6D5;
  --toggle-shadow:    0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
img { display: block; max-width: 100%; }

/* SP-only改行 */
.sp-only { display: none; }

/* ===== テーマ切り替えボタン ===== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 30px;
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  color: var(--toggle-color);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--toggle-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* ライト時：月アイコン表示 / ダーク時：太陽アイコン表示 */
[data-theme="light"] .theme-toggle__icon--sun,
:root:not([data-theme]) .theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--moon,
:root:not([data-theme]) .theme-toggle__icon--moon { display: flex; }
[data-theme="dark"] .theme-toggle__icon--sun { display: flex; }
[data-theme="dark"] .theme-toggle__icon--moon { display: none; }

/* ===== 共通：コンテナ ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== 共通：セクション区切り ===== */
.section {
  padding: var(--section-gap) 0;
  transition: background-color 0.4s ease;
}

/* ===== ラベル（小見出し） ===== */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--koke);
  margin-bottom: 22px;
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

#lights-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.hero__logo:hover {
  transform: scale(1.05);
}
.hero__logo svg {
  filter: drop-shadow(0 4px 20px rgba(200, 75, 49, 0.2));
}

.hero__annai {
  display: inline-block;
  font-family: var(--font-mincho);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.22em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 8px 28px;
  border-radius: 40px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--koke);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.75rem, 4.8vw, 3.1rem);
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.48;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero__title .accent {
  color: var(--shu);
  font-weight: 700;
}

.hero__subtitle {
  font-family: var(--font-mincho);
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 2.1;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero__cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--shu);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 20px rgba(200, 75, 49, 0.3);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: var(--shu-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 75, 49, 0.45);
}

.btn-primary svg {
  stroke: currentColor;
}

/* スクロール矢印 */
.scroll-arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow span {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.scroll-arrow svg {
  stroke: var(--text-muted);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ヒーロー下部フェード */
.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-page-alt));
  pointer-events: none;
}

/* ===== ストーリーセクション ===== */
.story {
  background: var(--bg-page-alt);
}

.story__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
}

.story__heading {
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 44px;
}

.story__subheading {
  font-family: var(--font-mincho);
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  color: var(--koke);
  letter-spacing: 0.08em;
  margin-bottom: 44px;
}

.story__body {
  font-family: var(--font-mincho);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 2.3;
  letter-spacing: 0.04em;
}

.story__chapter {
  margin-bottom: 44px;
}

.story__chapter-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  display: inline-block;
}

.story__body p + p {
  margin-top: 18px;
}

.story__body em {
  font-style: normal;
  color: var(--shu);
  font-weight: 600;
}

.story__quote-text {
  padding-left: 18px;
  border-left: 2.5px solid var(--koke);
  color: var(--text-primary);
  font-size: 0.96rem;
  margin: 20px 0 !important;
  line-height: 2.1;
}

.story__quote-text--shu {
  border-left-color: var(--shu);
  color: var(--shu);
  font-weight: 600;
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
}

/* ストーリー内の「間」— 詩の呼吸 */
.story__pause {
  height: 44px;
}

.story__final-message {
  margin: 32px 0 24px;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.story__final-quote {
  font-family: var(--font-mincho);
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 700;
  color: var(--shu);
  line-height: 2.0;
  letter-spacing: 0.06em;
}

.story__closing {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 2.3;
  text-align: center;
}

/* ===== 店長の声・手紙風セクション ===== */
.voices__heading {
  font-family: var(--font-mincho);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin-bottom: 48px;
}

.voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

/* 手紙風便箋カード */
.voice-card--letter {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 38px 28px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* マスキングテープ留め風アクセント（上部中央） */
.voice-card--letter::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 56px;
  height: 16px;
  background: rgba(200, 165, 120, 0.35);
  border: 1px dashed rgba(200, 165, 120, 0.5);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 2;
}

[data-theme="dark"] .voice-card--letter::before {
  background: rgba(122, 139, 111, 0.25);
  border-color: rgba(122, 139, 111, 0.4);
}

/* 便箋の消印/切手アイコン（右上） */
.voice-card__stamp {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.95rem;
  color: var(--koke-light);
  opacity: 0.45;
  pointer-events: none;
}

/* アナログ手紙の微細な傾き */
.voices-grid .voice-card:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.voices-grid .voice-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.voices-grid .voice-card:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  border-color: var(--border-hover);
}

.voice-card__text {
  font-family: var(--font-mincho);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 2.15;
  letter-spacing: 0.04em;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* 手紙の署名スタイル（右下寄せ） */
.voice-card__cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mincho);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  text-align: right;
  position: relative;
  z-index: 1;
}

.voices__note {
  font-size: 0.78rem;
  color: var(--text-quiet);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ===== AIチャット対話セクション ===== */
.live-chat-section {
  background: var(--bg-page-alt);
  padding: var(--section-gap) 0;
  transition: background-color 0.4s ease;
}

.live-chat-heading {
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.06em;
  margin-bottom: 44px;
}

.live-chat-window {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
  max-height: 80vh;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.live-chat-header {
  padding: 16px 22px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.live-chat-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-chat-header__logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-chat-header__title {
  font-family: var(--font-mincho);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.live-chat-header__status {
  font-size: 0.72rem;
  color: var(--koke);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.live-chat-header__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--koke);
  box-shadow: 0 0 8px var(--koke);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.live-chat-header__reset-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.live-chat-header__reset-btn:hover {
  color: var(--shu);
  border-color: var(--shu);
}

.live-chat-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-page);
  transition: background-color 0.4s ease;
}

.live-chat-msg {
  display: flex;
  gap: 12px;
  max-width: 86%;
}

.live-chat-msg--ai {
  align-self: flex-start;
}

.live-chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.live-chat-msg__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.live-chat-msg__bubble {
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--font-mincho);
  font-size: 0.94rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-chat-msg--ai .live-chat-msg__bubble {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-top-left-radius: 2px;
}

.live-chat-msg--user .live-chat-msg__bubble {
  background: var(--shu-soft);
  color: var(--text-primary);
  border: 1px solid rgba(200, 75, 49, 0.2);
  border-top-right-radius: 2px;
}

.live-chat-msg__bubble.typing::after {
  content: "❚";
  display: inline-block;
  margin-left: 3px;
  color: var(--shu);
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.live-chat-thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mincho);
}

.live-chat-thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.live-chat-thinking-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--koke);
  animation: thinking 1.4s infinite ease-in-out both;
}

.live-chat-thinking-dots span:nth-child(1) { animation-delay: -0.32s; }
.live-chat-thinking-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes thinking {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.live-chat-suggestions {
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.live-chat-suggestion-chip {
  background: var(--bg-page-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.live-chat-suggestion-chip:hover {
  background: var(--shu-soft);
  border-color: var(--shu);
  color: var(--shu);
}

.live-chat-footer {
  padding: 14px 18px;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.live-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 8px 6px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.live-chat-form:focus-within {
  border-color: var(--shu);
  box-shadow: 0 0 0 2px rgba(200, 75, 49, 0.2);
}

.live-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  max-height: 120px;
  min-height: 24px;
  line-height: 1.5;
  padding: 4px 0;
}

.live-chat-input::placeholder {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.live-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--shu);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.live-chat-send-btn:hover:not(:disabled) {
  transform: scale(1.06);
  background: var(--shu-hover);
}

.live-chat-send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.live-chat-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ===== お約束セクション ===== */
.promise {
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.promise__heading {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.promise__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 720px;
}

.promise__item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.promise__num {
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--koke);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
  transition: color 0.4s ease;
  min-width: 36px;
}

.promise__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promise__title {
  font-family: var(--font-mincho);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.promise__text {
  font-size: clamp(0.92rem, 1.8vw, 0.98rem);
  color: var(--text-secondary);
  line-height: 2.1;
  letter-spacing: 0.03em;
  transition: color 0.4s ease;
}

.promise__note {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== CTA セクション ===== */
.cta-section {
  background: var(--bg-cta);
  padding: 88px 24px;
  text-align: center;
  border-top: 1px solid var(--footer-top-border);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.cta-heading {
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 700;
  color: var(--closing-text);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  line-height: 1.4;
  transition: color 0.4s ease;
}

.cta-section__desc {
  font-size: 0.88rem;
  color: var(--closing-sub);
  letter-spacing: 0.08em;
  margin-top: 28px;
  transition: color 0.4s ease;
}

/* ===== フッター ===== */
.footer {
  background: var(--bg-footer);
  padding: 56px 24px 44px;
  text-align: center;
  border-top: 1px solid var(--footer-top-border);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.footer__annai {
  font-family: var(--font-mincho);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  color: var(--closing-text);
  margin-bottom: 14px;
  transition: color 0.4s ease;
}

.footer__desc {
  font-size: 0.84rem;
  color: var(--footer-tagline);
  line-height: 1.95;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  margin-bottom: 36px;
}

.footer__nav a {
  font-size: 0.85rem;
  color: var(--footer-nav-link);
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--shu);
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--footer-copy);
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

/* ===== ユーティリティ ===== */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }

/* ===== レスポンシブ ===== */
@media (max-width: 720px) {
  :root {
    --section-gap: 72px;
  }

  .sp-only { display: inline; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
  }

  .site-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero { padding: 100px 0 0; }
  .hero__inner { padding: 0 22px; }
  .hero__fade { height: 80px; margin-top: 60px; }

  .story__inner  { padding: 0 22px; }
  .container     { padding: 0 22px; }

  .voices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-guide__points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ai-point { text-align: left; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    grid-column: 1;
  }

  .dialogue-card { padding: 22px 18px; }
  .dialogue__bubble { max-width: 92%; }

  .closing-words { padding: 72px 22px; }
}

@media (min-width: 1024px) {
  .voices-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== ロゴマーク画像スタイル（シンボルマーク透過） ===== */
.hero__logo-img {
  width: 120px;
  height: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(200, 75, 49, 0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero__logo-img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 28px rgba(200, 75, 49, 0.35));
}

.live-chat-avatar-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer__logo-img {
  width: 52px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}
.footer__logo-img:hover {
  transform: scale(1.06);
}
