/* ============================================
   X-mobile 十日町店 公式サイト - Main Stylesheet
   ゴンチャLP参考：スマホ幅固定 + PC中央配置デザイン
   ============================================ */

/* ─── CSS Variables ─── */
:root {
  --app-width: 480px;
  --primary-green: #8CC63F;
  --primary-green-dark: #74a832;
  --primary-green-light: #a8d86a;
  --primary-green-bg: rgba(140, 198, 63, 0.08);
  --accent-yellow: #FFCB05;
  --accent-yellow-light: #FFF3C4;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --bg-soft: #F4F7F2;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-light: #E8ECE5;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --transition: 0.3s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  color: var(--text-dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  background: #e8ede3;
}

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

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary-green-dark); }

ul, ol { list-style: none; }

/* ============================================
   APP SHELL — スマホ幅固定 + PC中央配置
   ============================================ */

/* 背景全体 — 店舗写真のぼかし背景 */
.app-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #e8ede3;
  background-image: url('../images/store-interior.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px) brightness(1.15) saturate(0.85);
  transform: scale(1.05); /* blurの端の隙間を消す */
}

/* 半透明オーバーレイ（ブランドカラーのうっすらかかった膜） */
.app-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, rgba(244,247,242,0.4) 40%, rgba(255,255,255,0.42) 70%, rgba(244,247,242,0.38) 100%);
}

/* PC左側ブランド情報パネル（768px未満では非表示） */
.app-bg-brand {
  display: none;
  position: fixed;
  z-index: 1;
  pointer-events: none;
}

.app-bg-brand .bg-logo {
  height: 80px;
  margin-bottom: 40px;
}

.app-bg-brand .bg-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 24px;
}

.app-bg-brand .bg-title .green {
  color: var(--primary-green);
}

.app-bg-brand .bg-subtitle {
  font-size: 1.7rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 48px;
}

.app-bg-brand .bg-info {
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 32px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}

.app-bg-brand .bg-info strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ─── メインアプリコンテナ ───
   モバイル : 100vw幅、普通のフロー
   PC      : 480px固定、中央（やや右）配置、左右に背景が見える */
.app-container {
  position: relative;
  width: 100%;
  max-width: var(--app-width);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-white);
  box-shadow: 0 0 60px rgba(0,0,0,0.08);
  overflow-x: hidden;
  padding-bottom: 76px; /* fixed-cta分 */
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.text-green  { color: var(--primary-green); }
.text-accent { color: var(--accent-yellow); }
.font-en     { font-family: var(--font-en); }

/* ─── Container (padding helper) ─── */
.container {
  width: 100%;
  padding: 0 20px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 64px 0;
}

.section--alt {
  background-color: var(--bg-soft);
}

.section--green {
  background-color: var(--primary-green);
  color: #fff;
}

.section-header {
  margin-bottom: 32px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--primary-green);
  border-radius: 2px;
}

.section-title--center {
  text-align: center;
  padding-left: 0;
}

.section-title--center::before {
  display: none;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.7;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.site-logo .logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo .logo-text .brand {
  font-size: 0.8rem;
  font-weight: 700;
}

.site-logo .logo-text .branch {
  font-size: 0.6rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Desktop nav — hidden in this SP-first layout */
.nav-desktop {
  display: none;
}

/* ─── Hamburger Toggle ─── */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Mobile Navigation Overlay ───
   app-container内に配置、fixed + app幅に制限 */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateX(100vw);
  width: 100%;
  max-width: var(--app-width);
  height: 100vh;
  height: 100dvh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.open {
  transform: translateX(-50%);
}

.nav-mobile ul {
  padding: 72px 20px 24px;
}

.nav-mobile li {
  border-bottom: 1px solid var(--border-light);
}

.nav-mobile a {
  display: flex;
  align-items: center;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-mobile a i {
  width: 30px;
  color: var(--primary-green);
  font-size: 1rem;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary-green);
}

.nav-mobile .nav-cta {
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================
   HERO SECTION — 715円インパクトヒーロー
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #e8f0e0 100%);
}

.hero-inner { padding: 0; }

/* 料金インパクトバナー（最上部） */
.hero-price-banner {
  background: linear-gradient(135deg, var(--primary-green) 0%, #6db52e 100%);
  color: #fff;
  text-align: center;
  padding: 18px 20px 16px;
}

.hero-price-banner .price-lead {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 4px;
}

.hero-price-banner .price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.hero-price-banner .price-from {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-price-banner .price-num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-price-banner .price-yen {
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-price-banner .price-tax {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
  margin-left: 4px;
}

.hero-price-banner .price-sub {
  font-size: 0.7rem;
  margin-top: 4px;
  opacity: 0.9;
}

.hero-price-banner .price-sub .docomo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
}

.hero-content {
  padding: 28px 20px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(140,198,63,0.12);
  color: var(--primary-green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-badge i { font-size: 0.8rem; }

.hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 12px;
}

.hero-title .green { color: var(--primary-green); }

.hero-subtitle {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.hero-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  font-family: var(--font-ja);
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(140,198,63,0.3);
}
.btn--primary:hover {
  background: var(--primary-green-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(140,198,63,0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}
.btn--outline:hover {
  background: var(--primary-green);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  background: #f8f8f8;
  color: var(--primary-green-dark);
}

.btn--line {
  background: #06C755;
  color: #fff;
}
.btn--line:hover {
  background: #05b34d;
  color: #fff;
}

.btn--tel {
  background: var(--primary-green);
  color: #fff;
}

.btn--sm  { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn i { font-size: 1rem; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-green-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon i {
  font-size: 1.2rem;
  color: var(--primary-green);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-top: 10px;
}
.card-link:hover { gap: 8px; }

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ─── Reason Cards ─── */
.reason-card {
  text-align: center;
  padding: 22px 16px;
}
.reason-card .card-icon {
  margin: 0 auto 12px;
}
.reason-number {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* ============================================
   TROUBLE / CONCERNS
   ============================================ */
.trouble-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trouble-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-yellow);
  font-size: 0.9rem;
  font-weight: 500;
}
.trouble-item i {
  color: var(--accent-yellow);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   PRICE COMPARISON
   ============================================ */
.price-compare {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.price-bar {
  padding: 16px;
  border-radius: var(--radius-md);
  position: relative;
}
.price-bar--carrier { background: #f0f0f0; }
.price-bar--xmobile {
  background: linear-gradient(135deg, rgba(140,198,63,0.1), rgba(140,198,63,0.05));
  border: 2px solid var(--primary-green);
}

.price-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.price-bar-amount {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}
.price-bar-amount .unit {
  font-size: 0.85rem;
  font-weight: 500;
}
.price-bar--xmobile .price-bar-amount {
  color: var(--primary-green);
}

.saving-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 12px 0;
}
.saving-badge .amount {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
}

/* ============================================
   FLOW / STEPS
   ============================================ */
.flow-steps {
  position: relative;
}

.flow-step {
  display: flex;
  gap: 14px;
  padding-bottom: 28px;
  position: relative;
}
.flow-step:last-child { padding-bottom: 0; }

.flow-step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}
.flow-step:not(:last-child) .flow-step-number::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 28px - 40px);
  background: #d9ebc4;
}

.flow-step-content {
  flex: 1;
  padding-top: 6px;
}
.flow-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.flow-step-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   STORE INFO
   ============================================ */
.store-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.store-info-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.store-info-body { padding: 20px; }
.store-info-table { width: 100%; }
.store-info-table tr { border-bottom: 1px solid var(--border-light); }
.store-info-table tr:last-child { border-bottom: none; }
.store-info-table th,
.store-info-table td {
  padding: 10px 0;
  font-size: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.store-info-table th {
  width: 90px;
  font-weight: 600;
  color: var(--text-dark);
}
.store-info-table td { color: var(--text-medium); }

.map-container {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   NEWS / ANNOUNCEMENTS
   ============================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.news-item:hover { box-shadow: var(--shadow-md); }

.news-item-image {
  width: 90px;
  min-width: 90px;
  height: 90px;
  object-fit: cover;
}
.news-item-body {
  padding: 10px 10px 10px 0;
  flex: 1;
}
.news-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.news-date {
  font-size: 0.7rem;
  color: var(--text-light);
  font-family: var(--font-en);
}
.news-category {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-green-bg);
  color: var(--primary-green);
}
.news-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News grid (list page) */
.news-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.news-item--grid { flex-direction: column; }
.news-item--grid .news-item-image {
  width: 100%;
  height: 160px;
}
.news-item--grid .news-item-body { padding: 14px; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  color: var(--text-dark);
  transition: background var(--transition);
  font-family: var(--font-ja);
  -webkit-tap-highlight-color: transparent;
}
.faq-question:hover {
  background: rgba(140,198,63,0.04);
}

.faq-question .q-mark {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--primary-green);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.75rem;
}
.faq-question .q-text { flex: 1; }
.faq-question .q-arrow {
  font-size: 0.75rem;
  color: var(--text-light);
  transition: transform var(--transition);
}
.faq-item.active .faq-question .q-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 16px 16px 52px;
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
  background: linear-gradient(135deg, var(--primary-green) 0%, #6db52e 100%);
  padding: 48px 0;
  text-align: center;
  color: #fff;
}
.footer-cta .cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.footer-cta .cta-text {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 28px;
  color: #fff;
}
.footer-cta .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 40px 0 20px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 28px;
  padding: 0 20px;
}
.footer-nav a {
  color: #ccc;
  font-size: 0.75rem;
  padding: 5px 0;
  display: block;
}
.footer-nav a:hover { color: var(--primary-green); }

.footer-info {
  border-top: 1px solid #444;
  padding: 20px 20px 0;
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.footer-address {
  font-size: 0.75rem;
  margin-bottom: 4px;
}
.footer-tel-link {
  color: var(--primary-green);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-copyright {
  text-align: center;
  font-size: 0.65rem;
  color: #888;
  margin-top: 20px;
  padding: 14px 20px 0;
  border-top: 1px solid #444;
}

/* ============================================
   FIXED BOTTOM CTA
   常にapp-container幅と位置に連動して固定表示
   ============================================ */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-width);
  z-index: 150;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
}

.fixed-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-ja);
  -webkit-tap-highlight-color: transparent;
}
.fixed-cta-btn i { font-size: 1.15rem; }
.fixed-cta-btn--tel { background: var(--primary-green); color: #fff; }
.fixed-cta-btn--line { background: #06C755; color: #fff; }
.fixed-cta-btn--reserve { background: var(--accent-yellow); color: var(--text-dark); }
.fixed-cta-btn:active { transform: scale(0.96); }

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.form-label .required {
  font-size: 0.65rem;
  background: #e74c3c;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}
.form-label .optional {
  font-size: 0.65rem;
  background: #999;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-ja);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-dark);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(140,198,63,0.15);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}
.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: #e74c3c;
}
.form-group.error .form-error {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-green);
}
.form-check-label {
  font-size: 0.82rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { padding: 10px 0; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-light);
  padding: 0 20px;
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary-green); }
.breadcrumb-list .separator { margin: 0 4px; }

/* ============================================
   PAGE HERO (Sub pages)
   ============================================ */
.page-hero {
  padding: 40px 0 28px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #e8f0e0 100%);
  text-align: center;
}
.page-hero-tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.page-hero-title {
  font-size: 1.4rem;
  font-weight: 800;
}
.page-hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.glass-card {
  background: rgba(140,198,63,0.04);
  border: 1px solid rgba(140,198,63,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
}

.highlight-box {
  background: var(--accent-yellow-light);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.tag-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-yellow);
  color: var(--text-dark);
}

.divider {
  width: 40px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
  margin: 14px auto;
}

/* ─── Image styles ─── */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content card with image */
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.content-card-body { padding: 20px; }

/* Checklist */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}
.check-list li i {
  color: var(--primary-green);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Service list cards */
.service-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-green-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon i {
  font-size: 1.1rem;
  color: var(--primary-green);
}
.service-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.service-card-text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   NEWS DETAIL
   ============================================ */
.news-detail { padding: 24px 0; }
.news-detail-header { margin-bottom: 24px; }
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.news-detail-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}
.news-detail-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.news-detail-content {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-medium);
}
.news-detail-content p { margin-bottom: 14px; }
.news-detail-content h3 { margin: 20px 0 10px; }

/* ============================================
   PRIVACY POLICY
   ============================================ */
.privacy-content h3 {
  font-size: 1.05rem;
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-green);
}
.privacy-content p {
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.privacy-content ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.privacy-content ul li {
  font-size: 0.85rem;
  color: var(--text-medium);
  padding: 3px 0;
  list-style: disc;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PC / WIDE SCREEN LAYOUT (768px+)
   ゴンチャ参考: コンテンツは480px幅のまま中央やや右に配置
   左側にブランド情報、左右に背景が見える
   ============================================ */
@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  /* 背景ブランドパネル表示 */
  .app-bg-brand {
    display: block;
    top: 50%;
    transform: translateY(-50%);
    left: max(40px, calc(50vw - var(--app-width)/2 - 700px));
    max-width: 640px;
  }

  /* app-container : 480px幅で中央やや右に配置 */
  .app-container {
    margin: 0;
    margin-left: calc(50vw - var(--app-width)/2 + 60px);
    border-radius: 0;
  }

  /* Fixed CTA : JSが --cta-center-x を設定、CSSが参照 */
  .fixed-cta {
    left: var(--cta-center-x, 50%);
    transform: translateX(-50%);
  }

  /* Mobile nav : JSが --cta-center-x を設定、CSSが参照 */
  .nav-mobile {
    left: var(--cta-center-x, 50%);
    transform: translateX(-50%) translateX(100vw);
  }
  .nav-mobile.open {
    transform: translateX(-50%);
  }
}

/* ─── Extra Wide (1200px+) ─── */
@media (min-width: 1200px) {
  .app-container {
    margin-left: calc(50vw - var(--app-width)/2 + 80px);
  }

  /* fixed-cta, nav-mobile: JS同期のためCSS側calc削除 */

  .app-bg-brand {
    left: max(60px, calc(50vw - var(--app-width)/2 - 700px));
    max-width: 640px;
  }
}

/* ─── Very Wide (1600px+) ─── */
@media (min-width: 1600px) {
  .app-container {
    margin-left: calc(50vw - var(--app-width)/2 + 100px);
  }

  /* fixed-cta, nav-mobile: JS同期のためCSS側calc削除 */

  .app-bg-brand {
    left: max(80px, calc(50vw - var(--app-width)/2 - 700px));
    max-width: 640px;
  }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header,
  .fixed-cta,
  .footer-cta,
  .app-bg,
  .app-bg-brand {
    display: none !important;
  }
  .app-container {
    box-shadow: none;
    margin: 0;
    max-width: 100%;
    padding-bottom: 0;
  }
}
