/* ============================================================
   Getjapanesim.com — Faithful Recreation
   ============================================================ */

/* ===== Variables ===== */
:root {
  --red:        #E8392A;
  --red-dark:   #C42E21;
  --red-light:  #FFF5F4;
  --navy:       #1B2035;
  --navy-dark:  #141828;
  --star:       #F5A623;
  --text:       #151515;
  --text-mid:   #444444;
  --text-light: #888888;
  --border:     #E5E7EB;
  --bg:         #FFFFFF;
  --bg-light:   #F2F4F6;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 28px rgba(0,0,0,0.12);
  --radius:     8px;
  --transition: all 0.22s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

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

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 72px;
}

/* Logo: SVG image */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

/* Main Nav */
.main-nav { flex: 1; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  height: 62px;
}
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--red); border-bottom-color: var(--red); }
.caret { font-size: 0.7rem; opacity: 0.6; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.dropdown--wide { min-width: 200px; columns: 2; gap: 0; }
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.855rem;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
  break-inside: avoid;
}
.dropdown a:hover { background: var(--bg-light); color: var(--red); }

/* Header Utils */
.header-utils {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.util-dropdown { position: relative; }
.util-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.util-btn:hover { border-color: var(--red); color: var(--red); }
.util-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: var(--transition);
  z-index: 200;
}
.util-dropdown:hover .util-menu,
.util-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.util-menu a { display: block; padding: 8px 16px; font-size: 0.85rem; color: var(--text); }
.util-menu a:hover,
.util-menu a.active { background: var(--bg-light); color: var(--red); font-weight: 600; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.cart-btn:hover { border-color: var(--red); color: var(--red); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  margin-left: 12px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  margin-top: 72px;
  overflow: hidden;
  background: #1a0f0a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
}
/* Gradient overlay for text readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}
.hero-container {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-text {
  max-width: 640px;
  text-align: center;
}
.hero-text--mobile { display: none; }

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22C55E;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  text-shadow: none;
}
.btn-shop {
  display: inline-block;
  padding: 16px 40px;
  background: var(--red);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(232,57,42,0.50);
  margin-bottom: 28px;
  white-space: nowrap;
}
.btn-shop:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,57,42,0.55); }

.hero-flags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-flags span {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}
.hero-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-rating {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-trusted {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ===== SECTIONS BASE ===== */
.section { padding: 72px 0; }
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.section-title--center { text-align: center; }
.section-sub {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 48px;
}
.section-sub--center { text-align: center; }
.section-sub--mobile { display: none; }

/* ===== PLAN CARDS ===== */
.plans-section .section-title { text-align: center; }
.plans-section .section-sub { text-align: center; }
.plans-section { background: #f0f2f5; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

.plan-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.plan-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(232,57,42,0.12);
  transform: translateY(-4px);
}

.plan-card--featured {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 8px 40px rgba(232,57,42,0.35);
}
.plan-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 48px rgba(232,57,42,0.45);
}

.popular-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 6px 20px;
  background: #1a1a1a;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.plan-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(232,57,42,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--red);
}
.plan-card--featured .plan-icon-wrap {
  background: rgba(255,255,255,0.20);
  color: white;
}

.plan-data-size {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 2px;
}
.plan-card--featured .plan-data-size { color: white; }

.plan-period {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.plan-card--featured .plan-period { color: rgba(255,255,255,0.75); }

.plan-price-main {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  justify-content: center;
}
.plan-price-main span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.1px;
}
.plan-card--featured .plan-price-main { color: white; }
.plan-card--featured .plan-price-main span { color: rgba(255,255,255,0.72); }

.plan-features {
  list-style: none;
  width: 100%;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.plan-features li {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.plan-features li::before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-card--featured .plan-features li {
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.92);
}
.plan-card--featured .plan-features li::before { color: rgba(255,255,255,0.95); }

.btn-buy {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: white;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  transition: all 0.2s ease;
  margin-top: auto;
}
.btn-buy:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,57,42,0.30); }
.plan-card--featured .btn-buy {
  background: white;
  color: var(--red);
}
.plan-card--featured .btn-buy:hover { background: #fce8e6; box-shadow: 0 4px 16px rgba(0,0,0,0.10); }

/* 決済方法 */
.payment-info {
  margin-top: 40px;
  text-align: center;
}
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pay-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
.pay-logo-img--visa   { height: 28px; }
.pay-logo-img--mc     { height: 36px; }
.pay-logo-img--apple  { height: 38px; border-radius: 0; box-shadow: none; }
.pay-logo-img--google { height: 38px; border-radius: 0; box-shadow: none; }
.payment-info p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ===== CITY PLANS ===== */
/* ===== CITY PLANS ===== */
.city-section { background: #0a0a0f; }
.city-section .section-title { color: #fff; }
.city-section .section-sub { color: rgba(255,255,255,0.5); }
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* 外側ラッパー（<a>）: ホバー＋縦並び */
.city-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.city-card:hover { transform: translateY(-6px); }

/* SIMカードビジュアル部分 */
.city-card__sim {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 180px;
  display: flex;
  flex-direction: row;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.20);
  transition: box-shadow 0.35s ease;
}
.city-card:hover .city-card__sim {
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
}

/* SIMカード切り欠き（右上コーナー） */
.city-card__notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent #0a0a0f transparent transparent;
  z-index: 10;
  pointer-events: none;
}

/* 左60%：白エリア（チップ+ロゴ） */
.city-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 14px 14px 14px;
  background: #fff;
}

/* チップ（上）＋ロゴ（下）縦並び */
.city-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.city-card__logo {
  height: 34px;
  width: auto;
  display: block;
}

/* 金色SIMチップ */
.city-card__chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(
    145deg,
    #f9e97e 0%,
    #d4a820 18%,
    #f5d060 35%,
    #c89010 52%,
    #f0c840 68%,
    #b87c10 82%,
    #e8c030 100%
  );
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.55),
    inset 0 -1px 3px rgba(0,0,0,0.30),
    0 2px 8px rgba(0,0,0,0.35);
  position: relative;
  flex-shrink: 0;
}
.city-card__chip-inner {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.city-card__chip::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.12);
  transform: translateX(-50%);
}
.city-card__chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.12);
  transform: translateY(-50%);
}

/* 右40%：写真エリア */
.city-card__photo {
  width: 40%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.city-img--tokyo   { background: url('../img/city-tokyo.jpg') center/cover; }
.city-img--osaka   { background: url('../img/city-osaka.jpg') center/cover; }
.city-img--sapporo { background: url('../img/city-sapporo.jpg') center/cover; }
.city-img--okinawa { background: url('../img/city-okinawa.jpg') center/cover; }

/* テキスト：SIMカードの下 */
.city-card__info {
  padding: 10px 4px 0;
}
.city-card__info h4 {
  color: #fff;
  font-size: 0.90rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}
.city-card__info p {
  color: rgba(255,255,255,0.70);
  font-size: 0.76rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.city-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  border: none;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  transition: opacity 0.2s ease;
}
.city-card:hover .city-card__cta { opacity: 0.85; }

/* ===== MULTI-COUNTRY ===== */
.multi-section { background: #0a0a0f; }
.multi-section .section-title { color: #fff; }
.multi-section .section-sub { color: rgba(255,255,255,0.5); }
.multi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* 外側ラッパー（<a>）: ホバー＋縦並び */
.multi-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.multi-item:hover { transform: translateY(-6px); }

/* SIMカードビジュアル（全面写真） */
.multi-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.20);
  transition: box-shadow 0.35s ease;
}
.multi-item:hover .multi-card {
  box-shadow: 0 14px 36px rgba(0,0,0,0.32);
}

.multi-img--jpcn   { background: url('../img/multi-jpcn.jpg') center/cover; }
.multi-img--jpkr   { background: url('../img/multi-jpkr.jpg') center/cover; }
.multi-img--jpkrcn { background: url('../img/multi-jpkrcn.jpg') center/cover; }
.multi-img--asia   { background: url('../img/multi-asia.jpg') center/cover; }

/* SIMカード切り欠き */
.multi-card__notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent #0a0a0f transparent transparent;
  z-index: 10;
  pointer-events: none;
}

/* 全面ダークオーバーレイ */
.multi-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* チップ（上）＋ロゴ（下）縦並び */
.multi-card__head {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-right: 44px;
}

.multi-card__logo {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* 金色チップ */
.multi-card__chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(
    145deg,
    #f9e97e 0%,
    #d4a820 18%,
    #f5d060 35%,
    #c89010 52%,
    #f0c840 68%,
    #b87c10 82%,
    #e8c030 100%
  );
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.55),
    inset 0 -1px 3px rgba(0,0,0,0.30),
    0 2px 8px rgba(0,0,0,0.40);
  position: relative;
  flex-shrink: 0;
}
.multi-card__chip-inner {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.multi-card__chip::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.12);
  transform: translateX(-50%);
}
.multi-card__chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.12);
  transform: translateY(-50%);
}

/* テキスト：SIMカードの下 */
.multi-card__info {
  padding: 10px 4px 0;
}
.multi-card__region {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3px;
}
.multi-card__info h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}
.multi-card__price {
  color: rgba(255,255,255,0.75);
  font-size: 0.76rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.multi-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  border: none;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  transition: opacity 0.2s ease;
}
.multi-item:hover .multi-card__cta { opacity: 0.85; }

.see-all-wrap { text-align: center; margin-top: 8px; }
.btn-see-all {
  display: inline-block;
  padding: 11px 36px;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--bg-light);
  transition: var(--transition);
}
.btn-see-all:hover { border-color: var(--text); color: var(--text); background: var(--bg); }

/* ===== WHY BEST ===== */
.why-section { background: var(--white); }
.why-section .section-title { text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
.why-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
}
.why-icon svg { width: 26px; height: 26px; }
.why-content h3 { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.why-content p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ===== 24/7 SUPPORT ===== */
.support-section {
  background: var(--red-light);
  padding: 64px 0;
}
.support-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.support-illustration {
  flex-shrink: 0;
  width: 180px;
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* CSS illustration mimicking the support chat design */
.support-illustration::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 10px;
  width: 130px;
  height: 90px;
  background: var(--red);
  border-radius: 14px 14px 14px 2px;
}
.support-illustration::after {
  content: '★★★★★';
  position: absolute;
  bottom: 68px;
  left: 24px;
  font-size: 0.75rem;
  color: white;
  letter-spacing: 2px;
}
.support-label-badge {
  position: absolute;
  bottom: 22px;
  left: 16px;
  background: rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}
.support-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.support-text p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }
.support-list { display: flex; flex-direction: column; gap: 10px; }
.support-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); font-weight: 500; }
.support-check { color: var(--red); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ===== REVIEWS ===== */
.reviews-section .section-title { text-align: center; }

/* ===== Reviews Carousel ===== */
.reviews-carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 48px;
}
.reviews-track {
  position: relative;
  height: 260px;
}
@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reviews-track .review-card { display: none; }
.reviews-track .review-card.active {
  display: flex;
  animation: reviewFadeIn 0.4s ease-out;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  height: 260px;
  max-height: 260px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.review-stars { font-size: 1.1rem; color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; flex-shrink: 0; }
.review-text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
  font-style: italic;
  height: 82px;
  overflow: hidden;
  flex-shrink: 0;
}
.review-bottom {
  flex-shrink: 0;
  margin-top: 14px;
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.review-badge { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.review-score { margin-left: auto; font-weight: 800; font-size: 0.9rem; color: var(--red); white-space: nowrap; }
.review-plan-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--bg-light);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: var(--transition);
  z-index: 2;
}
.carousel-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active { background: var(--red); transform: scale(1.3); }
/* legacy review-footer kept for compat */
.review-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.review-time { font-size: 0.75rem; color: var(--text-light); }
.review-plan { font-size: 0.75rem; color: var(--red); font-style: italic; }

/* ===== FIRST TIME ===== */
.first-time-section { text-align: center; }
.first-time-section .section-title { text-align: center; }
.ft-speech {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 12px 12px 12px 2px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 36px;
}
.ft-accordion { max-width: 860px; margin: 0 auto; }
.ft-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.ft-item:last-child { border-bottom: none; }
.ft-q {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  gap: 0;
}
.ft-q:hover .ft-title { color: var(--red); }
.ft-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
  font-family: var(--font);
  padding-top: 2px;
}
.ft-title { font-size: 1.05rem; font-weight: 700; color: var(--text); flex: 1; transition: var(--transition); }
.ft-arrow { color: var(--text-light); font-size: 1.1rem; transition: var(--transition); flex-shrink: 0; padding-top: 2px; }
.ft-arrow.open { transform: rotate(90deg); color: var(--red); }
.ft-a {
  display: none;
  padding: 16px 0 0 56px;
  text-align: left;
}
.ft-a.open { display: block; }
.ft-a p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.ft-a p:last-child { margin-bottom: 0; }
.ft-a h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin: 14px 0 6px; }
.esim-advantages { display: flex; flex-direction: column; gap: 14px; }
.advantage-item { display: flex; gap: 12px; align-items: flex-start; }
.advantage-check { color: var(--red); font-weight: 800; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.advantage-item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; color: var(--text); }
.advantage-item p { font-size: 0.875rem; color: var(--text-mid); margin: 0; }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg-light); }
.how-section .section-title { text-align: center; }
.how-section .section-sub { text-align: center; }
.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}
.how-step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.how-step__img-wrap {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 4/5;
}
.how-step__img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}
.how-step__num { font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.how-step__icon { font-size: 2.4rem; margin-bottom: 14px; }
.how-step h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.how-step p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }
.how-arrow { font-size: 1.5rem; color: var(--border); padding: 0 10px; flex-shrink: 0; }

/* ===== USAGE FLOW (3-step visual) ===== */
.flow-section { background: #fff; }
.flow-section .section-title { text-align: center; }
.flow-section .section-sub  { text-align: center; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.flow-step { text-align: center; }
.flow-step__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 10px;
}
.flow-step__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}
.flow-step__num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.flow-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.flow-step__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===== HOW TO ACTIVATE ===== */
.activate-section { background: var(--white); padding-bottom: 40px; }
.activate-section .section-title { text-align: center; }
.activate-section .section-sub { text-align: center; }

/* Tab switcher */
.activate-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 32px auto 40px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.activate-tab {
  padding: 10px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  color: #888;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
.activate-tab--active {
  background: var(--navy);
  color: #fff;
}
.activate-tab:not(.activate-tab--active):hover {
  background: var(--bg-light);
  color: var(--text);
}

/* Panels */
.activate-panel { display: none; }
.activate-panel--active { display: block; }

/* Screenshot row */
.activate-steps {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.activate-steps::-webkit-scrollbar { display: none; }
.activate-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Phone screenshot */
.phone-shot {
  width: 160px;
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  display: block;
  object-fit: contain;
  object-position: center;
  object-fit: cover;
  flex-shrink: 0;
}

/* Step caption */
.shot-caption {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
  max-width: 120px;
}
.shot-caption strong { color: var(--text); }
.shot-caption em {
  font-style: normal;
  color: var(--navy);
  font-weight: 600;
}

/* Video guide link */
.activate-note {
  text-align: center;
  margin-top: 8px;
  font-size: 0.875rem;
}
.activate-note__link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.activate-note__link:hover { opacity: 0.75; }

/* Responsive */
@media (max-width: 768px) {
  .activate-steps {
    justify-content: flex-start;
    padding: 0 0 20px;
    gap: 12px;
  }
  .phone-shot { width: 130px; height: 235px; border-radius: 14px; }
  .activate-tab { padding: 10px 28px; font-size: 0.875rem; }
  .shot-caption { font-size: 0.78rem; max-width: 110px; }
}
@media (max-width: 480px) {
  .phone-shot { width: 115px; height: 208px; border-radius: 12px; }
  .shot-caption { font-size: 0.75rem; max-width: 100px; }
  .activate-steps { gap: 10px; }
}

/* 1枚画像ガイド */
.activate-guide-img-wrap {
  text-align: center;
  padding: 8px 0 0;
}
.activate-guide-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* ===== FAQ ===== */
.faq-section .section-title { text-align: center; }
.faq-list { max-width: 860px; margin: 0 auto; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font);
}
.faq-q:hover { background: var(--bg-light); }
.faq-icon { flex-shrink: 0; font-size: 1.4rem; color: var(--red); transition: var(--transition); font-weight: 400; line-height: 1; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}
.faq-a.open { display: block; }
.faq-a p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; padding-top: 16px; margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--red); text-decoration: underline; }

/* ===== ABOUT ===== */
.about-section { background: var(--navy); }
.about-inner { max-width: 800px; margin: 0 auto; text-align: center; padding: 72px 24px; }
.about-inner p { font-size: 0.95rem; color: rgba(255,255,255,0.80); line-height: 1.8; margin-bottom: 12px; }
.about-inner p:last-of-type { margin-bottom: 24px; }
.btn-explore {
  display: inline-block;
  margin-top: 16px;
  padding: 15px 42px;
  background: var(--red);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.2px;
  border-radius: 100px;
  box-shadow: 0 4px 18px rgba(232,57,42,0.35);
  transition: var(--transition);
}
.btn-explore:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(232,57,42,0.50); }

/* ===== SPEED STATUS ===== */
.speed-status-section {
  background: var(--bg-light);
  padding: 0 0 48px;
}
.speed-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 36px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}
.speed-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.speed-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.speed-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 5px 14px;
  white-space: nowrap;
}
.speed-badge__dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  flex-shrink: 0;
}
.speed-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 32px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.speed-metric__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.speed-metric__label svg {
  color: var(--text-light);
  flex-shrink: 0;
}
.speed-metric__value {
  display: flex;
  align-items: center;
  gap: 10px;
}
.speed-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.speed-bar {
  width: 6px;
  background: #e2e8f0;
  border-radius: 3px;
}
.speed-bar:nth-child(1) { height: 14px; }
.speed-bar:nth-child(2) { height: 20px; }
.speed-bar:nth-child(3) { height: 28px; }
.speed-bar--active { background: #22c55e; }
.speed-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}
.speed-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.speed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.speed-card__note p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}
.speed-card__note strong {
  color: var(--red);
  font-weight: 700;
}
.btn-speed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--text);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.btn-speed:hover {
  background: #111;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .speed-card { padding: 20px; }
  .speed-metrics { grid-template-columns: 1fr; gap: 16px; }
  .speed-card__header { flex-wrap: wrap; gap: 8px; }
  .speed-card__footer { flex-direction: column; align-items: flex-start; }
}

/* ===== COVERAGE ===== */
.coverage-section { background: var(--bg-light); }
.coverage-section .section-title { text-align: center; }
.coverage-cities {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.coverage-cities::-webkit-scrollbar { display: none; }
.coverage-city { flex: 0 0 auto; padding: 0 12px; }
.coverage-city {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.coverage-city__icon {
  font-size: 3rem;
  line-height: 1;
}
.coverage-city__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.coverage-desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 40px;
  line-height: 1.6;
}
.coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.coverage-stat {
  background: var(--white);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coverage-stat__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
}
.coverage-stat__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* ===== COMPANY ===== */
.company-section { background: var(--white); }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-dl { display: flex; flex-direction: column; gap: 0; }
.company-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.company-row:first-child { border-top: 1px solid var(--border); }
.company-row dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 2px;
}
.company-row dd {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}
.company-row dd a { color: var(--red); text-decoration: underline; }
.company-row dd a:hover { color: var(--red-dark); }
.company-note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.company-note p {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.company-note p::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .coverage-stats { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; gap: 32px; }
  .company-row { grid-template-columns: 120px 1fr; }
}
@media (max-width: 480px) {
  .coverage-cities {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .coverage-cities::-webkit-scrollbar { display: none; }
  .coverage-city { flex: 0 0 auto; padding: 0 2px; }
  .coverage-city__icon { font-size: 1.6rem; }
  .coverage-city__name { font-size: 0.6rem; white-space: nowrap; }
  .company-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: #aaa;
  padding: 56px 0 0;
  font-family: var(--font);
}

/* Top: brand + columns */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1.4;
}
.footer-desc {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.75;
}
.footer-email {
  display: inline-block;
  font-size: 0.875rem;
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover { color: #fff; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #888;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.875rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col li a:hover { color: #fff; }

/* Nav row */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-bottom: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

/* Support email center */
.footer-contact {
  text-align: center;
  margin-bottom: 32px;
}
.footer-contact a {
  font-size: 0.875rem;
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 0 0 24px;
}

/* Link rows */
.footer-links-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 10px;
}
.footer-links-row a {
  font-size: 0.82rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-row a:hover { color: #fff; }
.footer-links-row--sm a { font-size: 0.80rem; }

/* Copyright */
.footer-copy {
  text-align: center;
  font-size: 0.80rem;
  color: #888;
  padding: 24px 0 48px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  .footer-cols {
    text-align: center;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col ul {
    align-items: center;
  }
  .footer-nav {
    gap: 8px 20px;
    justify-content: center;
  }
  .footer-links-row {
    gap: 8px 16px;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    text-align: center;
  }
  .footer-links-row--sm {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== SAKURA CANVAS ===== */
#sakura-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ===== MOBILE CTA ===== */
.mob-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
  padding: 12px 0;
  z-index: 990;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mob-cta.visible { transform: translateY(0); }
.mob-cta-inner { display: flex; align-items: center; justify-content: space-between; }
.mob-cta-label { font-size: 0.72rem; color: var(--text-light); font-weight: 500; }
.mob-cta-price { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.mob-btn { padding: 12px 28px; border-radius: 100px; font-size: 0.95rem; background: var(--red); color: white; font-weight: 700; border: none; }

/* デスクトップではドロワー・オーバーレイを非表示 */
.mob-overlay,
.mob-drawer { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* === Mobile Overlay === */
  .mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
  }
  .mob-overlay.active { display: block; }

  /* === Mobile Drawer === */
  .mob-drawer {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: 310px;
    max-width: 88vw;
    height: 100dvh;
    background: #fff;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mob-drawer.open { transform: translateX(0); }

  .mob-drawer__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .mob-drawer__close {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #444;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
  }
  .mob-drawer__body { padding: 8px 0 40px; }

  /* Section label */
  .mob-sec-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 20px 6px;
  }

  /* Accordion */
  .mob-acc-item { border-bottom: 1px solid #f2f2f2; }
  .mob-acc-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
  }
  .mob-acc-icon {
    font-size: 1.1rem;
    font-weight: 400;
    color: #888;
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .mob-acc-btn.open .mob-acc-icon { transform: rotate(45deg); }
  .mob-acc-panel {
    display: none;
    flex-direction: column;
    background: #fafafa;
  }
  .mob-acc-panel.open { display: flex; }
  .mob-acc-panel a {
    padding: 11px 20px 11px 32px;
    font-size: 0.875rem;
    color: #444;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
    transition: color 0.15s;
  }
  .mob-acc-panel a:hover { color: var(--red); }

  /* Support links */
  .mob-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
  }
  .mob-links a {
    padding: 13px 20px;
    font-size: 0.9rem;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: color 0.15s;
  }
  .mob-links a:hover { color: var(--red); }

  /* Settings */
  .mob-settings {
    padding: 4px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mob-settings__label {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: -4px;
  }
  .mob-settings__select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
  }

  .plans-grid    { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .city-grid     { grid-template-columns: repeat(2, 1fr); }
  .multi-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .reviews-carousel { padding: 0 44px; }
  .support-inner { grid-template-columns: 1fr; gap: 28px; }
  .support-illustration { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .mob-cta       { display: block; }
  body           { padding-bottom: 64px; }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .logo-img { height: 44px; }
  .hero-section { margin-top: 60px; }
  .hero-title { font-size: 2.8rem; }
  .hero-bg { background-position: 65% center; }
  .hero-bg::after {
  }
  .section-title { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .city-grid  { grid-template-columns: repeat(2, 1fr); }
  .multi-grid { grid-template-columns: repeat(2, 1fr); }
  .city-card__sim { height: 150px; }
  .multi-card { height: 150px; }
  .why-grid   { grid-template-columns: 1fr; gap: 24px; }
  .reviews-carousel { padding: 0 40px; }
  .review-card { padding: 22px 20px 24px; height: auto; min-height: 300px; max-height: none; overflow: visible; }
  .reviews-track { height: auto; min-height: 300px; }
  .review-text { height: 110px; }
  .how-steps { flex-direction: column; }
  .how-arrow { transform: rotate(90deg); padding: 4px 0; opacity: 0.4; }
  .flow-steps { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ft-a { padding-left: 16px; }
  .header-utils .util-dropdown { display: none; }
}

@media (max-width: 480px) {
  .container    { padding: 0 16px; }
  .header-inner { height: 56px; }
  .logo-img     { height: 38px; }
  .hero-section { margin-top: 56px; }
  .hero-title   { font-size: 1.75rem; }
  .hero-bg { background-position: 65% center; }
  .hero-text    { display: none; }
  .hero-text--mobile {
    display: block;
    padding: 0 20px;
    max-width: 92%;
  }
  .hero-container { align-items: flex-start; padding: 60px 16px; }
  .hero-text, .hero-text--mobile { text-align: left; }
  .hero-checks { align-items: flex-start; }
  .hero-checks li { font-size: 0.9rem; }
  .hero-flags { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
  .hero-trusted { font-size: 0.82rem; }
  .btn-shop { font-size: 0.9rem; padding: 13px 24px; }
  .city-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .multi-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .city-card__sim   { height: 120px; }
  .city-card__body  { padding: 10px; }
  .multi-card   { height: 120px; padding: 10px; }
  .city-card__logo  { height: 24px; }
  .multi-card__logo { height: 24px; }
  .city-card__chip  { width: 28px; height: 21px; }
  .multi-card__chip { width: 28px; height: 21px; }
  .city-card__info h4  { font-size: 0.78rem; }
  .multi-card__info h4 { font-size: 0.78rem; }
  .city-card__info p   { font-size: 0.66rem; margin-bottom: 5px; }
  .multi-card__price   { font-size: 0.66rem; margin-bottom: 5px; }
  .multi-card__region  { font-size: 0.55rem; }
  .city-card__cta  { font-size: 0.65rem; padding: 4px 9px; }
  .multi-card__cta { font-size: 0.65rem; padding: 4px 9px; }
  .city-card__head  { gap: 5px; }
  .multi-card__head { gap: 5px; }
  .footer-grid  { grid-template-columns: 1fr; }
}
