/* ========== Base ========== */
:root{
  --c-bg:#FFFDEA;
  --c-bg-2:#DAEEF0;
  --c-main:#206AA4;
  --c-accent:#E16736;
  --c-ink:#2A2A2A;
  --c-sub:#6A6A6A;
  --radius:14px;
}

*,
*::before,
*::after { 
  box-sizing: border-box; 
}

html,body{ 
  margin:0; 
  padding:0; 
  color:var(--c-ink); 
  font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Kaku Gothic ProN",Meiryo,system-ui,Arial,sans-serif; 
  background:#fff; 
  height: 100%;
}
img{ 
  max-width:100%; 
  height:auto; 
  display:block; 
}
a:hover{ 
  opacity:0.8; 
}
h1,h2,h3,h4,p,ul,ol,dl{ margin:0; padding:0; }
ul,ol{ list-style:none; }
a{ color:inherit; text-decoration:none; }
.visually-hidden{ position:absolute; clip:rect(0 0 0 0); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }

/* コンテナ（スマホ幅に最適化） */
.container {
  width: 100%;
  max-width: 430px;   /* iPhone 15 Pro Max 相当まで許容 */
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー（JSで.is-visible / .is-hiddenを切替） */
.site-header {
  background: var(--c-bg);
  position: fixed;       /* ← 固定表示に変更 */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 下スクロール時に非表示にするクラス（JS付与） */
.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* 上スクロール or ヒーロー内は表示（JS付与） */
.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  height: 64px;
}

/* ヘッダーの固定分だけ本文を下げる */
.main {
  padding-top: 64px;
}

/* ロゴ（テキストで再現） */
.logo {
 width: 60%;
}

/* CTAボタン */
.btn-cta {
  justify-self: end;
  text-decoration: none;
  background: var(--c-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

/* Header Navigation (Desktop) */
.header-nav {
  display: none; /* Default hidden on mobile */
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav a {
  color: var(--c-main);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header-nav a:hover {
  opacity: 0.7;
}

.header-nav .nav-btn-cta {
  background: var(--c-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.header-nav .nav-btn-cta:hover {
  opacity: 0.85;
}

/* Responsive Visibility Utilities */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
  
  .desktop-only {
    display: block !important;
  }

  .header-nav.desktop-only {
    display: block;
    margin-left: auto; /* Push to right */
  }
}

/* ハンバーガー */
.hamburger {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 8px;
  margin-right: -6px; /* 視覚的バランス調整 */
  display: inline-grid;
  align-items: center;
  justify-items: center;
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  position: relative;
}
.hamburger .bar + .bar { margin-top: 5px; }

/* ===== モバイルナビメニュー ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 9999;
}

.nav-overlay.active {
  transform: translateY(0);
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin: 1.2rem 0;
}

.nav-list a {
  font-size: 1.4rem;
  color: var(--c-main);
}

.nav-cta {
  background-color: var(--c-accent);
  border-radius: 1000px;
  padding: 12px 24px;
}
.nav-cta a {
  color: #fff;
}

/* ========== Hero ========== */
.hero {
  background-image: url('../images/hero_sky.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0 60px;
  position: relative;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* メインコピー */
.hero-main-copy {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 8px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

/* 英語サブタイトル */
.hero-subtitle {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* カードコンテナ */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

/* 個別カード */
.hero-card {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* カードヘッダー */
.hero-card__header {
  padding: 20px 24px 16px;
  text-align: center;
}

.hero-card__title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 4px;
  color: #c41e3a;
}

.hero-card--business .hero-card__title {
  color: var(--c-main);
}

.hero-card__subtitle {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--c-main);
}

/* カードビジュアル */
.hero-card__visual {
  padding: 0 24px;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card--individual .hero-card__visual {
  background: linear-gradient(to bottom, #ffd89b 0%, #ffb347 100%);
}

.hero-card--business .hero-card__visual {
  background: linear-gradient(to bottom, #e0f2f7 0%, #b3e5fc 100%);
}

.hero-card__visual img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

/* 特徴リスト */
.hero-card__features {
  list-style: none;
  padding: 20px 24px;
  margin: 0;
  background: #fff;
}

.hero-card__features li {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.hero-card__features li:last-child {
  margin-bottom: 0;
}

/* CTAボタン */
.hero-card__cta {
  display: block;
  text-align: center;
  padding: 16px 24px;
  margin: 16px 24px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  line-height: 1.4;
}

.hero-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.hero-card__cta--red {
  background: linear-gradient(to bottom, #e74c3c 0%, #c0392b 100%);
}

.hero-card__cta--blue {
  background: linear-gradient(to bottom, #3498db 0%, #2980b9 100%);
}

.hero-card__cta-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.95;
}

/* デスクトップ対応 */
@media (min-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-main-copy {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 22px;
    margin-bottom: 50px;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-card__visual {
    min-height: 220px;
  }

  .hero-card__visual img {
    max-height: 220px;
  }
}

/* アクセシビリティ補助 */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}


/* ========== section共通 ========== */
.sec-title {
  color: var(--c-accent);
  text-align: center;
  margin-bottom: 15px;
}
.entry-btn {
  background-color: var(--c-accent);
  color: #fff;
  padding: 7px 10px;
  border-radius: 5px;
  display: block;
  width: 200px;
  margin: 2rem auto;
  text-align: center;
}

/* ========== About / Features ========== */
.about{ 
  padding:28px 16px; 
    text-align: left;
}
.about__lead{ 
  color:var(--c-sub);
  font-size:.9rem;
  line-height:1.7;
  text-align:center;
  margin:2px auto 18px;
}

  .about-features {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    position: relative;
    z-index: 1;
  }

  .feature-card {
    display: flex;
    align-items: center;
  }
  /* 偶数カードは左右反転 */
  .feature-card:nth-child(even) { flex-direction: row-reverse; }

  /* スマホでは丸プレートを消してキャラを大きく */
  .feature-icon {
    width: 40vw;
    aspect-ratio: auto;
  }
  .feature-icon::before { display: none; }
  .feature-icon img { width: 100%; height: auto; }


.feature-title {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 12px 16px;
  min-width: 120px;
  max-width: 100%;
  color: var(--c-sub);
  font-weight: 800;
  background: var(--c-bg);
  border-radius: 14px;
  line-height: 1.4;
  z-index: 0;          /* 三角を背面にする */
  isolation: isolate;  /* スタッキングコンテキストを作る */
} 
/* 三角（左向き：画像が左にある奇数カード） */
.feature-card:nth-child(odd) .feature-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;                   /* 本体との距離 */
  transform: translateY(-50%);
  border: 14px solid transparent;
  border-right: 14px solid var(--c-bg); /* 吹き出し背景 */
  z-index: -1;                   /* 背面に配置 */
}

/* 三角の外枠（左） */
.feature-card:nth-child(odd) .feature-title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -32px;                   /* 枠分だけ外側へ */
  transform: translateY(-50%);
  border: 16px solid transparent;
  border-right: 16px solid var(--c-bg); /* 枠線色 */
  z-index: -1;                   /* 背面 */
}

/* 三角（右向き：画像が右にある偶数カード） */
.feature-card:nth-child(even) .feature-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  border: 14px solid transparent;
  border-left: 14px solid var(--c-bg);
  z-index: -1;
}

/* 三角の外枠（右） */
.feature-card:nth-child(even) .feature-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  border: 16px solid transparent;
  border-left: 16px solid var(--c-bg);
  z-index: -1;
}
/* ========== Plan ========== */
.plan{ 
  padding:28px 16px; 
  background:var(--c-acc-2, #EAF4F1); 
}
.plan__init{ 
  margin-bottom:8px;
}
.plan__note{ 
  text-align:center; 
  color:var(--c-sub); 
  font-size:.8rem; 
  margin-bottom:8px; 
}

.card--init,.card--month {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 24px 20px;
  max-width: 400px;
  margin: 0 auto;
}

.card__head {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--c-main);
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin: 0 auto;
  max-width: 350px;
}

.price-line dt {
  font-weight: normal;
  color: #444;
}

.price-line dd {
  margin: 0;
  font-weight: bold;
  color: #000;
  font-size: 24px;
}

.plus{ 
  text-align:center; 
  font-size:2rem; 
  margin:12px 0; 
  color:#8aa; 
}

/* ========== 月額料金 ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 350px;
  margin: 0 auto;
}

.card {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.card:nth-child(1) {
  border-top: 6px solid #bfbfbf;
}
.card:nth-child(2) {
  border-top: 6px solid #6cc0f9;
}
.card:nth-child(3) {
  border-top: 6px solid #ff82ab;
}
.card:nth-child(4) {
  border-top: 6px solid #ffcc33;
}

.planbox__size {
  font-size: 22px;
  font-weight: bold;
  margin: 8px 0;
  color: #333;
}

.planbox__price {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 12px;
  color: #000;
}

.planbox__price .num {
  font-size: 32px;
}
.planbox__tax {
  font-size: 14px;
  margin: 0; 
  color: #666;
}
.card button,
.card a {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  background: #000;
  color: #fff;
}

.card:nth-child(4) button,
.card:nth-child(4) a {
  background: #333;
}

.card:nth-child(3)::before {
  content: "オススメ";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff82ab;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
}

/* ========== オプション ========== */
.options{ 
  margin-top:14px; 
}
.options__title {
  color: var(--c-accent);
  text-align: center;
  margin-bottom: 10px;
}

.options__grid{ 
  display:grid; 
  grid-template-columns:1fr; 
  gap:10px; 
}
.optcard{ 
  background:#fff; 
  border:1px solid #e9ecef; 
  padding:14px; 
}
.optcard__title{ 
  font-size:1rem; 
  font-weight:800; 
  margin-bottom:2px; 
  color: var(--c-main);
}
.optcard__desc{ color:var(--c-sub); font-size:.85rem; margin-bottom:8px; }
.optcard__list div{ display:flex; justify-content:space-between; padding:8px 0; border-top:1px dashed #e2e8f0; font-size:.95rem; }
.optcard__list div:first-child{ border-top:0; }

.opt-info {
  width: 90%;
  margin: 1rem auto;
  list-style: unset;
  font-size: 14px;
  color: var(--c-sub);
}
.opt-info a {
  color: var(--c-main);
}

/* ========== Flow ========== */
.flow{ 
  padding:28px 16px; 
  background:#FFF9EF; 
}
.steps{ 
  position:relative; 
}
.step{ 
  display:flex;
  gap:12px; 
  align-items:flex-start; 
  padding:12px 0; 
  border-bottom:1px solid #F0E6D6; 
}
.step:last-child{ 
  border-bottom:0; 
}
.step__num{ 
  width:42px; 
  height:42px; 
  border-radius:50%; 
  background:#fff; 
  border:2px solid var(--c-accent); 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  font-weight:800; 
}
.step__title{ 
  font-size:1rem; 
  font-weight:800; 
  margin-bottom:4px; 
}
.step__text{ 
  color:var(--c-sub); 
  font-size:.9rem; 
}
.step-info {
  font-size: .8rem;
  text-align: end;
} 

/* ========== FAQ ========== */
.faq{ 
  padding:28px 16px; 
  background:#fff; 
}

.faq__list .faq__item { 
  border-bottom: 1px solid #e5e5e5; 
}
.faq__list .faq__item:first-child { 
  border-top: 1px solid #e5e5e5; 
}

/* Q/Aのラベルと本文を完全に分離して折り返しさせる */
.faq__list .faq__item summary,
.faq__list .faq__item .a{
  position: relative;
  display: block;
  padding: 10px 0 10px 3.5em; /* ラベルぶんの左余白を確保 */
  line-height: 1.8;
  overflow-wrap: anywhere;   /* 英数字長文でもはみ出さない */
}

/* summaryのデフォルトマーカーを消す（必要に応じて） */
.faq__list .faq__item summary { list-style: none; cursor: pointer; }
.faq__list .faq__item summary::-webkit-details-marker { display: none; }

/* Qラベル */
.faq__list .faq__item summary .q{
  position: absolute;
  left: 0;
  top: 10px;
  width: 2.6em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0f0f0;
  color: #333;
  font-weight: 700;
}

/* AコンテナとAラベル */
.faq__list .faq__item .a > span{
  position: absolute;
  left: 0;
  top: 10px;
  width: 2.6em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-weight: 700;
}

/* ========== Footer / Company ========== */
.corp{ padding:24px 16px 60px; background:#EAF0F4; }
.corp__logo{ width:96px; margin:0 auto 10px; }
.corp__table{ width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; }
.corp__table th, .corp__table td{ padding:12px; border-bottom:1px solid #eef2f6; font-size:.9rem; }
.corp__table th{ width:28%; color:var(--c-sub); text-align:left; background:#F7FBFF; }
.corp__table tr:last-child th, .corp__table tr:last-child td{ border-bottom:none; }

.site-links {
  text-align: center;
  margin-top: 2rem;
}

.site-links p {
  position: relative;
  padding: 0 20px;
  width: 80%;
  margin: 0 auto;
  color: var(--c-sub);
}

/* 見出し左右の線（スマホでは短め） */
.site-links p::before,
.site-links p::after {
  position: absolute;
  content: '';
  top: calc(50% - 0.5px);
  display: inline-block;
  width: 50px;
  height: 1px;
  border-top: 1px solid var(--c-sub);
}

.site-links p::before {
  left: 0;
}

.site-links p::after {
  right: 0;
}

/* リンクボタンは縦並び・幅広にしてタップしやすく */
.site-link-list {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.site-link-list a {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: var(--c-main);
  color: #fff;
  padding: 12px 0;
  border-radius: 5px;
  text-align: center;
}


/* ========================================== */
/* ========== デスクトップ用スタイル ========== */
/* ========================================== */

@media (min-width: 768px) {
  /* コンテナをデスクトップ幅に拡大 */
  .container {
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
  }

  /* ========== ヘッダー ========== */
  .header-inner {
    height: 80px;
    gap: 24px;
  }

  .logo {
    width: 180px;
  }

  .btn-cta {
    font-size: 16px;
    padding: 14px 32px;
  }

  /* ハンバーガーメニューを非表示 */
  .hamburger {
    display: none;
  }

  /* ヘッダーの固定分だけ本文を下げる（デスクトップ高さに合わせる） */
  .main {
    padding-top: 80px;
  }

  /* ========== Hero ========== */
  .hero-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    padding-top: 60px;
    min-height: 450px;
    align-items: center;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-copy {
    font-size: 48px;
    line-height: 1.7;
  }

  /* Hero CTAボタン（デスクトップで表示） */
  .hero-cta {
    display: inline-block;
    background: var(--c-accent);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    transition: opacity 0.3s;
  }

  .hero-cta:hover {
    opacity: 0.85;
  }

  .hero-visual {
    width: 320px;
    height: 400px;
    grid-column: 2;
  }

  .sim {
    display: none;
  }

  /* 右側の円形価格表示エリア */
  .hero-price {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 4px solid var(--c-accent);
    background: var(--c-bg-2);
  }

  .hero-price__sim {
    position: absolute;
    top: 5px;
    right: -25px;
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    transform: rotate(12deg);
  }

  .hero-price__content {
    text-align: center;
    padding: 20px;
  }

  .hero-price__data {
    font-size: 50px;
    font-weight: 900;
    color: var(--c-accent);
    line-height: 1;
  }

  .hero-price__plus {
    font-size: 32px;
    color: var(--c-accent);
    font-weight: 700;
  }

  .hero-price__feature {
    font-size: 26px;
    color: var(--c-accent);
    margin: 0 0 16px 0;
    font-weight: 600;
  }

  .hero-price__amount {
    font-size: 20px;
    color: var(--c-accent);
    margin: 16px 0 0 0;
    font-weight: 600;
  }

  .hero-price__num {
    font-size: 42px;
    font-weight: 900;
    color: var(--c-accent);
  }

  /* ========== section共通 ========== */
  .sec-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .entry-btn {
    font-size: 18px;
    padding: 14px 40px;
    width: 280px;
    margin: 3rem auto;
  }

  /* ========== About / Features ========== */
  .about {
    padding: 60px 40px;
    background: #fff;
  }

  .about__lead {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 10px auto 40px;
  }

/* 特徴カードコンテナ */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 45px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 各特徴カード */
.feature-card {
  background-color: #fffef8;
  border-radius: 20px;
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature-card:nth-child(even) {
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* アイコン画像 */
.feature-icon {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  width: 180px;
  height: auto;
  max-width: 100%;
}

/* 特徴タイトル */
.feature-title {
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
  background:inherit;
  border: unset;
}
.feature-title::after,
.feature-title::after {
  display: none;
}
  /* ========== Plan ========== */
  .plan {
    padding: 60px 40px;
  }

  .plan__note {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .card--init,
  .card--month {
    max-width: 990px;
    padding: 40px 60px;
  }

  .card__head {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .price-line {
    font-size: 20px;
    max-width: 600px;
  }

  .price-line dd {
    font-size: 32px;
  }
  .tax {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin: 0 3px;
  }

  /* 月額料金カードを横並び4列に */
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 100%;
  }

  .card {
    padding: 32px 24px;
  }

  .planbox__size {
    font-size: 26px;
  }

  .planbox__price {
    font-size: 32px;
  }

  .planbox__price .num {
    font-size: 40px;
  }

  /* ========== オプション ========== */
  .options {
    margin-top: 40px;
  }

  .options__title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .options__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 990px;
    margin: 0 auto;
  }

  .optcard {
    padding: 24px 28px;
  }

  .optcard__title {
    font-size: 1.2rem;
  }

  .optcard__desc {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .optcard__list div {
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .opt-info {
    max-width: 990px;
    font-size: 16px;
  }
.optcard__list .tax {
  font-size: 0.75em;   /* 小さめ表示 */
  margin-right: 4px;   /* 価格と少し間隔 */
  color: #555;         /* 任意で薄めに */
}
  /* ========== Flow ========== */
  .flow {
    padding: 60px 40px;
  }

  .steps {
    max-width: 800px;
    margin: 0 auto;
  }

  .step {
    gap: 24px;
    padding: 24px 0;
  }

  .step__num {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .step__title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .step__text {
    font-size: 1.05rem;
  }

  .step-info {
    max-width: 800px;
    font-size: 1rem;
    margin: auto;
  }

  /* ========== FAQ ========== */
  .faq {
    padding: 60px 40px;
  }

  .faq__list {
    max-width: 900px;
    margin: 0 auto;
  }

  .faq__list .faq__item summary,
  .faq__list .faq__item .a {
    padding: 16px 0 16px 4em;
    font-size: 1.05rem;
  }

  .faq__list .faq__item summary .q {
    width: 3em;
    height: 2.5em;
    font-size: 1.1rem;
  }

  .faq__list .faq__item .a > span {
    width: 3em;
    height: 2.5em;
    font-size: 1.1rem;
  }

  /* ========== Footer / Company ========== */
  .corp {
    padding: 60px 40px 80px;
  }

  .corp__logo {
    width: 140px;
    margin: 0 auto 24px;
  }

  .corp__table {
    max-width: 900px;
    margin: 0 auto;
  }

  .corp__table th,
  .corp__table td {
    padding: 20px 24px;
    font-size: 1.05rem;
  }

  .corp__table th {
    width: 20%;
  }
  .site-links p {
    width: 40%;
    padding: 0 45px;
  }

  .site-links p::before,
  .site-links p::after {
    width: 200px; /* PCでは長めの線に戻す */
    top: calc(50% - 1.5px);
  }

  .site-link-list {
    flex-direction: row;  /* 横並び */
    gap: 40px;
    margin-top: 30px;
  }

  .site-link-list a {
    width: auto;       /* コンテンツ幅に */
    padding: 10px 20px;
    margin: 0;
  }
}


/* Title Logic */
.hero-main-copy {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-main);
  margin-bottom: 24px;
  line-height: 1.4;
}

.u-mobile {
  display: block;   /* Break line on mobile */
}

@media (min-width: 768px) {
  .hero-main-copy {
    font-size: 3rem;
    margin: 0;
    padding-top: 2rem;
  }
  .u-mobile {
    display: none; /* No break on desktop */
  }
}
 
/* ========== Split Hero (Added 01/05) ========== */
.hero-split-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px; /* Reduced since title is above */
  padding-bottom: 40px;
}

.hero-block {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Slightly stronger shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  text-align: center;
  transition: transform 0.3s ease;
}

.hero-block:hover {
  transform: translateY(-5px);
}

.hero-block__title {
  font-size: 1.4rem;
  color: var(--c-main);
  font-weight: 900;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--c-bg-2); /* Visual separator */
  padding-bottom: 8px;
  width: 100%;
}

.hero-block__subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--c-main);
  margin-top: 4px;
}

.hero-block__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-block__merits {
  list-style: none;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-block__merits li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 1.5em;
  color: var(--c-ink);
  font-weight: bold;
}

.hero-block__merits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 800;
}

.hero-block__cta {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: opacity 0.3s;
  width: 100%;
  max-width: 260px;
}
.hero-block__cta:hover {
  opacity: 0.9;
}

.hero-block__cta.btn-corp {
    background: var(--c-main); /* Different color for corp */
}


.hero-block__visual {
  margin-top: 10px;
  max-width: 120px;
}

/* Desktop Adjustment */
@media (min-width: 768px) {
  .hero-split-container {
    flex-direction: row;
    align-items: stretch; /* Make boxes same height */
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-block {
     padding: 40px;
     justify-content: space-between; /* Space out content and image */
  }

  .hero-block__visual {
      max-width: 180px;
      margin-top: 20px;
  }
  
  .hero-block__title {
     font-size: 1.8rem;
  }
  
  .hero-block__merits {
      font-size: 1.1rem;
  }
}

/* ========== FAQ Page Styles ========== */
      /* FAQページ固有のスタイル調整 */
      .faq-page-section {
          padding-top: 40px;
          padding-bottom: 60px;
      }

      /* カテゴリナビゲーション */
      .faq-nav {
          margin-bottom: 60px;
      }
      .faq-nav__list {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 20px;
          padding: 0;
          margin: 0;
          list-style: none;
      }
      .faq-nav__item {
          width: calc(20% - 16px);
          min-width: 140px;
          display: flex;
          flex-direction: column;
          align-items: center;
      }
      @media (max-width: 768px) {
          .faq-nav__item {
              width: calc(50% - 10px);
          }
      }

      .faq-nav__link {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 140px;
          background: #fff;
          border-radius: 16px;
          box-shadow: 0 4px 12px rgba(0,0,0,0.05);
          text-decoration: none;
          transition: transform 0.2s, box-shadow 0.2s;
          padding: 10px;
          position: relative;
      }
      .faq-nav__link:hover {
          transform: translateY(-4px);
          box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      }

      /* アイコン部分 (SVG用) */
      .faq-nav__icon {
          width: 48px;
          height: 48px;
          margin-bottom: 12px;
          color: var(--c-main);
      }
      .faq-nav__icon svg {
          width: 100%;
          height: 100%;
          fill: currentColor;
      }

      /* テキスト部分 */
      .faq-nav__text {
          font-size: 14px;
          font-weight: bold;
          color: var(--c-main);
          text-align: center;
          line-height: 1.4;
      }

      /* 下向き三角（装飾） */
      .faq-nav__triangle {
          margin-top: 12px;
          width: 0;
          height: 0;
          border-style: solid;
          border-width: 12px 14px 0 14px;
          border-color: #6cc0f9 transparent transparent transparent; /* 色は一旦水色系で仮置き */
      }
      /* リンクホバー時に三角を含めて動かす場合はliにhoverなどが必要だが、
         今回はシンプルに常時表示のデザインにする */


      .faq-category-title {
          font-size: 1.4rem;
          font-weight: bold;
          color: var(--c-main);
          margin-top: 60px; /* ジャンプ後の余白考慮（scroll-marginない場合） */
          padding-top: 20px;
          margin-bottom: 24px;
          padding-bottom: 10px;
          border-bottom: 2px solid var(--c-bg-2);
          scroll-margin-top: 100px; /* ヘッダー固定分の逃げ */
      }
      /* 最初の要素のみマージン調整 */
      .faq-category-title:first-of-type {
          margin-top: 0;
      }
      .answer-link {
          color: var(--c-main);
          text-decoration: underline;
      }

      /* リスト間の余白調整 */
      .faq__list {
          margin-bottom: 40px;
      }

/* ========== New Footer ========== */
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* Primary Area (Logo & Contact) */
.footer__primary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__logo img {
  width: 150px;
  height: auto;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 0.9rem;
  color: #aaa;
}

.contact-tel {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.contact-hours {
  font-size: 0.9rem;
  color: #aaa;
}


/* Secondary Area (Links & Actions) */
.footer__secondary {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__secondary {
      align-items: flex-end;
      text-align: right;
  }
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.links-title {
  font-weight: bold;
  color: #aaa;
  font-size: 0.9rem;
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .links-list {
      align-items: flex-end;
  }
}

.links-list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.links-list a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Actions */
.footer__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__actions {
      align-items: flex-end;
  }
}

.footer-link-corp {
  color: #aaa;
  font-size: 0.9rem;
  text-decoration: underline;
}

.footer-cta {
  display: inline-block;
  background-color: var(--c-accent);
  color: #fff;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-cta:hover {
  opacity: 0.9;
}

.footer__copyright {
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
  display: block;
  text-align: center;
}
