:root {
  --c-main: #008080;
  --c-main-dark: #006666;
  --c-accent: #FFD600;
  --c-accent-dark: #E6C200;
  --c-text: #1C2833;
  --c-text-mute: #5A6470;
  --c-base: #F4F7F6;
  --c-bg-black: #1C2833;
  --c-bg-sub: #2C3E50;
  --c-line: #E1E7E9;
  --c-white: #FFFFFF;
  --c-warn: #FF6B35;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 14px -6px rgba(28, 40, 51, 0.10);
  --container: 1180px;
  --font-jp: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--c-text);
  background: var(--c-base);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header（軽量・3項目テキストnav + バナー2） ===== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--c-white);
  z-index: 100;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 2px 6px rgba(28, 40, 51, 0.06);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}
.site-header .logo img {
  height: 56px;
  width: auto;
  display: block;
}
.site-header .logo .badge {
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 20px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 5px;
  transform: skewX(-8deg);
}
.site-header nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.site-header nav a {
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--c-accent); }
/* マイページはモバイルのドロワー専用。PC はヘッダー右のボタンで導線があるため隠す */
.site-header nav .nav-mypage { display: none; }
.site-header .header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-header .header-cta > nav { margin-right: 12px; }
.site-header .header-cta .btn-outline {
  color: var(--c-text);
  border-color: var(--c-line);
}
.site-header .header-cta .btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  opacity: 1;
}
/* ヘッダーを白背景にしたことで黄色ボタンのコントラストが不足するため、
   ヘッダーとヒーローの申込 CTA のみブランドグリーンに変更 (クライアント指示)。
   他の申込ボタン (キャンペーンバナー / STEP2) は黄色のまま。 */
.site-header .header-cta .btn-primary {
  background: var(--c-main);
  color: var(--c-white);
}
.site-header .menu-toggle { color: var(--c-text); }
.site-header .menu-toggle span,
.site-header .menu-toggle span::before,
.site-header .menu-toggle span::after { background: var(--c-text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity .15s;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--c-accent); color: var(--c-text); }
.btn-secondary { background: var(--c-main); color: #fff; }
.btn-outline { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-line); }
.btn-dark { background: var(--c-bg-black); color: #fff; }
.btn-arrow::after { content: "→"; font-weight: 800; margin-left: 2px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-text);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--c-base) 100%);
  color: var(--c-text);
  padding: 60px 0 80px;
}
.hero .inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 520px);
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.hero .pill {
  display: inline-block;
  background: var(--c-main);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--c-main);
  display: inline-block;
}
.hero h1 .price {
  color: var(--c-main);
  font-size: 1.3em;
  letter-spacing: -0.02em;
  margin-right: 4px;
}
.hero h1 .price .yen { font-size: 0.55em; }
.hero p.lead {
  font-size: 16px;
  color: var(--c-text-mute);
  margin-bottom: 24px;
  max-width: 540px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-concept-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.hero-concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-concept-list li {
  width: fit-content;
  background: var(--c-accent);
  color: var(--c-text);
  font-size: clamp(26px, 5.2vw, 46px);
  font-weight: 900;
  line-height: 1.3;
  padding: 4px 16px;
  border-radius: 6px;
}
.hero-concept-visual { display: none; flex-shrink: 0; width: 130px; }
.hero-concept-visual img { width: 100%; height: auto; display: block; }
.hero-text { position: relative; }
.hero .meta-row {
  position: absolute;
  top: -52px;
  right: -140px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-text);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
  font-size: 13px;
  box-shadow: 0 14px 30px -12px rgba(28, 40, 51, 0.20);
  z-index: 3;
}
.hero .meta-row::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 128, 128, 0.25);
  pointer-events: none;
  z-index: 0;
}
.hero .meta-row-deco {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.hero .meta-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 0;
  width: 100%;
  border-bottom: 1px dashed rgba(28, 40, 51, 0.12);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.hero .meta-row span:last-child { border-bottom: none; }
.hero .meta-row strong { color: var(--c-main); font-weight: 800; }
.hero .meta-row em {
  font-style: normal;
  background: var(--c-warn);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
}
@media (max-width: 900px) {
  .hero .meta-row {
    position: static;
    width: auto;
    height: auto;
    border-radius: 20px;
    margin-top: 24px;
    padding: 16px 22px;
    align-items: stretch;
    text-align: left;
  }
  .hero .meta-row span { justify-content: flex-start; white-space: normal; }
}

/* ヒーローの「今すぐ申し込む」もヘッダーに合わせてブランドグリーン */
.hero .cta-row .btn-primary {
  background: var(--c-main);
  color: var(--c-white);
}

.hero-visual { max-width: 520px; justify-self: start; width: 100%; }
.hero-card {
  background: transparent;
  padding: 0;
  position: relative;
}
.hero-card .badge-top {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--c-accent);
  color: var(--c-bg-black);
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
}
.hero-card .cat-svg,
.hero-card .cat-img { width: 100%; height: auto; display: block; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--c-main); color: #fff; }

.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-main);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section.dark .section-head .eyebrow { color: var(--c-accent); }
.section-head h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.3;
}
.section-head h2 .underline {
  background: linear-gradient(transparent 65%, var(--c-accent) 65%);
  padding: 0 4px;
}
.section-head p {
  margin-top: 14px;
  color: var(--c-text-mute);
  font-size: 15px;
}

/* ===== Plans 4 ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan-card {
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.popular {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.18);
}
.plan-card .badge-pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-bg-black);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.plan-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-main);
  text-align: center;
  margin-bottom: 4px;
  min-height: 3.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-card .vol {
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: center;
  margin-bottom: 14px;
  min-height: 1em;
}
.plan-card .price {
  text-align: center;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 14px;
}
.plan-card .price strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.plan-card .price strong small { font-size: 15px; font-weight: 700; }
.plan-card .price .tax { display: block; font-size: 11px; color: var(--c-text-mute); margin-top: 2px; }
.plan-card .feat {
  list-style: none;
  margin-bottom: 16px;
  flex: 1;
}
.plan-card .feat li {
  font-size: 13px;
  padding: 5px 0;
  display: flex;
  gap: 6px;
}
.plan-card .feat li::before {
  content: "✓";
  color: var(--c-main);
  font-weight: 900;
}
.plan-card .btn { font-size: 13px; padding: 10px 14px; justify-content: center; }
.plan-card .more-toggle {
  margin-top: 10px;
  font-size: 12px;
  color: var(--c-main);
  font-weight: 700;
  text-decoration: underline;
  text-align: center;
  display: block;
}
.plan-card .more-detail {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line);
}
.plan-card.is-expanded .more-detail { display: block; }
.plan-card .more-detail h4 {
  font-size: 13px;
  font-weight: 900;
  color: var(--c-warn);
  margin-bottom: 6px;
  text-align: center;
}
.plan-card .more-detail p {
  font-size: 12px;
  color: var(--c-text-mute);
  margin-bottom: 8px;
  text-align: center;
}
.plan-card .usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  font-size: 11px;
}
.plan-card .usage-grid div {
  background: var(--c-base);
  padding: 6px 4px;
  border-radius: 4px;
  text-align: center;
}
.plan-card .usage-grid strong { display: block; font-size: 12px; color: var(--c-text); }

.plans-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--c-text-mute);
}
.plans-note .pill-note {
  display: inline-block;
  background: var(--c-main);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  margin: 0 4px;
  font-weight: 700;
  font-size: 13px;
}

/* ===== Row table (options / fees) ===== */
.row-table {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto 18px;
}
.row-table .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--c-line);
  gap: 14px;
}
.row-table .row:last-child { border-bottom: 0; }
.row-table .row .name { font-weight: 700; font-size: 14px; }
.row-table .row .name small {
  display: block;
  font-size: 11px;
  color: var(--c-text-mute);
  font-weight: 500;
  margin-top: 2px;
}
.row-table .row .value {
  font-weight: 800;
  color: var(--c-main);
  font-size: 15px;
  white-space: nowrap;
}
.row-table .row .value.free { color: var(--c-warn); }
.row-table .group-head {
  background: var(--c-base);
  padding: 10px 22px;
  font-weight: 800;
  font-size: 12px;
  color: var(--c-text-mute);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--c-line);
}

/* ===== STEPs (5 step large cards) ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.step-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 96px 180px 1fr;
  gap: 24px;
  align-items: start;
}
.step-card .step-illust {
  align-self: center;
}
.step-card .step-illust svg { width: 100%; height: auto; display: block; }
@media (max-width: 780px) {
  .step-card { grid-template-columns: 72px 1fr; }
  .step-card .step-illust { grid-column: 1 / -1; max-width: 220px; margin: 0 auto; }
}
.step-card .step-num {
  background: var(--c-main);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}
.step-card .step-num small { font-size: 11px; font-weight: 700; opacity: 0.9; }
.step-card .step-num strong { font-size: 30px; font-weight: 900; line-height: 1; margin-top: 4px; }
.step-card.step-card-accent .step-num { background: var(--c-accent); color: var(--c-bg-black); }
.step-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}
.step-card .step-body p { font-size: 14px; margin-bottom: 10px; }
.step-card .step-body p:last-child { margin-bottom: 0; }

.tag-block {
  background: var(--c-base);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 12px 0;
}
.tag-block h4 {
  font-size: 14px;
  font-weight: 900;
  color: var(--c-text);
  margin-bottom: 8px;
}
.tag-block h4::before { content: "【"; color: var(--c-main); }
.tag-block h4::after { content: "】"; color: var(--c-main); }
.tag-block ul {
  list-style: none;
  padding-left: 18px;
}
.tag-block ul li {
  font-size: 13px;
  color: var(--c-text-mute);
  padding: 3px 0;
  position: relative;
}
.tag-block ul li::before {
  content: "・";
  position: absolute;
  left: -16px;
  color: var(--c-main);
  font-weight: 900;
}
.tag-block ul li b { color: var(--c-text); }
.tag-block .small { font-size: 11px; color: var(--c-text-mute); margin-top: 6px; }

.pay-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.pay-logo {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 5px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-text);
  min-width: 64px;
  text-align: center;
}
.pay-logo.visa { color: #1A1F71; border-color: #1A1F71; }
.pay-logo.mc { color: #EB001B; border-color: #EB001B; }
.pay-logo.jcb { color: #0F549B; border-color: #0F549B; }
.pay-logo.amex { color: #006FCF; border-color: #006FCF; }
.pay-logo.diners { color: #0079BE; border-color: #0079BE; }

.pay-logo-img {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 5px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
}
.pay-logo-img img { display: block; height: 24px; width: auto; }
.pay-cards {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 6px 0;
  image-rendering: -webkit-optimize-contrast;
}
.cvs-cards {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 6px 0;
  image-rendering: -webkit-optimize-contrast;
}

.cvs-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.cvs-logo {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 6px;
  padding: 12px 6px;
  font-weight: 800;
  font-size: 12px;
  text-align: center;
  color: var(--c-text);
}
.cvs-logo.s7 { color: #008B47; border-color: #008B47; }
.cvs-logo.fm { color: #009A44; border-color: #009A44; }
.cvs-logo.lw { color: #0033A0; border-color: #0033A0; }
.cvs-logo.ms { color: #E6B800; border-color: #E6B800; background: #fffbe6; }
.cvs-logo.sc { color: #E60012; border-color: #E60012; }
.cvs-logo.mmk { color: #5A6470; border-color: #5A6470; }

.os-list {
  list-style: none;
  margin-top: 6px;
}
.os-list li {
  font-size: 13px;
  color: var(--c-text-mute);
  padding: 3px 0;
}
.os-list li b { color: var(--c-text); }

.faq-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-main);
  font-weight: 700;
}
.faq-link::after { content: " →"; font-weight: 900; }
.faq-link:hover { text-decoration: underline; }

/* ===== FAQ CTA Section ===== */
.faq-cta {
  background: var(--c-base);
  text-align: center;
}
.faq-cta .faq-list {
  margin-bottom: 40px;
  text-align: left;
}
.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FAQ 一覧ページ下部のヘルプセンター導線 */
.faq-support-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
  text-align: center;
}

/* ===== Tools list (PDF リンク集) ===== */
.tool-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  padding: 18px 18px;
  color: var(--c-text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
  height: 100%;
}
.tool-item a:hover {
  border-color: var(--c-main);
  box-shadow: 0 6px 16px rgba(0, 128, 128, 0.1);
  transform: translateY(-2px);
}
.tool-item .tool-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #E0F2F1;
  color: var(--c-main);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-item .tool-ico svg { width: 28px; height: 28px; }
.tool-item .tool-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.tool-item .tool-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--c-text);
}
.tool-item .tool-sub {
  font-size: 12px;
  color: var(--c-text-mute);
}
.tool-item .tool-arrow {
  color: var(--c-main);
  font-weight: 800;
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .tool-list { grid-template-columns: 1fr; }
}

/* ===== Apply Banner Link (料金プラン直下・白背景セクション内) ===== */
.apply-banner-wrap {
  margin-top: 30px;
  text-align: center;
}
.apply-banner-link {
  display: block;
  background: var(--c-main);
  color: #fff;
  text-align: center;
  padding: 18px 20px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background .18s, transform .18s;
}
.apply-banner-link:hover {
  background: var(--c-main-dark);
}
.apply-banner-inner::after {
  content: " →";
  font-weight: 900;
  margin-left: 8px;
}

/* ===== こんな方におすすめ / 実績要素 (デザイン済みバナー画像) ===== */
.recommend-section { background: #fff; padding: 56px 24px; }
.recommend-banner-img {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px -20px rgba(28, 40, 51, 0.35);
}
.results-section { background: #fff; padding: 0 24px 56px; }
.results-banner-img {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: auto;
  border-radius: 24px;
}

/* ===== Campaign Banner (MNP乗り換えキャンペーン) ===== */
.campaign-banner {
  padding: 40px 24px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.campaign-banner__link {
  display: block;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.campaign-banner__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.campaign-banner__link img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 780px) {
  .campaign-banner {
    padding: 28px 16px;
  }
}

/* ===== Banner CTA ===== */
.banner-cta {
  background: var(--c-base);
  color: var(--c-text);
  text-align: center;
  padding: 44px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.banner-cta h3 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  margin-bottom: 16px;
}
.banner-cta .row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== News ===== */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
}
.news-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.news-list time {
  flex-shrink: 0;
  width: 100px;
  font-size: 13px;
  color: var(--c-text-mute);
  font-weight: 600;
}
.news-list .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--c-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
}
.news-list .tag.maint { background: #ff7a45; }
.news-list .tag.update { background: var(--c-main); }
.news-list .tag.info { background: var(--c-text-mute); }
.news-list a:hover .title { color: var(--c-main); }
.news-list .title { font-weight: 700; font-size: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-main);
  color: #E6F2F2;
  padding: 50px 0 26px;
}
.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-bottom: 26px;
  justify-content: center;
}
.site-footer .legal-links a { color: #E6F2F2; font-size: 13px; }
.site-footer .legal-links a:hover { color: var(--c-accent); text-decoration: underline; }
.site-footer .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.site-footer .brand img {
  height: 50px;
  width: auto;
  display: block;
}
.site-footer .brand .badge {
  background: var(--c-accent);
  color: var(--c-text);
  padding: 3px 9px;
  border-radius: 5px;
  font-weight: 900;
  transform: skewX(-8deg);
}
.site-footer .copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  color: #B8D6D6;
  font-size: 12px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
}
.faq-q .q-mark {
  width: 30px;
  height: 30px;
  background: var(--c-main);
  color: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 14px;
}
.faq-q .toggle {
  margin-left: auto;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; background: var(--c-main);
  transform: translate(-50%, -50%);
}
.faq-q .toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s; }
.faq-item.is-open .toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a {
  display: none;
  padding: 0 22px 20px 64px;
  color: var(--c-text-mute);
  font-size: 14px;
}
.faq-item.is-open .faq-a { display: block; }
.faq-a .faq-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-mute);
  line-height: 1.7;
}

.faq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.faq-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-mute);
}
.faq-tab.active { background: var(--c-main); color: #fff; border-color: var(--c-main); }
.faq-category { margin-bottom: 44px; }
.faq-category h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-category h3::before {
  content: "";
  width: 6px;
  height: 24px;
  background: var(--c-accent);
  border-radius: 3px;
}

/* ===== Page hero ===== */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--c-base) 100%);
  color: var(--c-text);
  padding: 50px 0 44px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 8px;
}
.page-hero h1 .accent { color: var(--c-main); }
.page-hero p { color: var(--c-text-mute); font-size: 14px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--c-text-mute);
}
.breadcrumb a:hover { color: var(--c-main); }

/* ===== My Page login ===== */
.mypage-login {
  padding: 60px 0 120px;
}
.mypage-lead {
  text-align: center;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--c-text);
  margin-bottom: 40px;
  line-height: 1.9;
}
.mypage-cta {
  display: flex;
  justify-content: center;
}
.mypage-login-btn {
  min-width: 320px;
  padding: 20px 44px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.mypage-login-btn:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 780px) {
  .mypage-login { padding: 40px 0 80px; }
  .mypage-login-btn { min-width: 260px; padding: 18px 30px; }
}

/* ===== Form ===== */
.form-wrap.contact-embed { padding: 24px; }
.form-wrap.contact-embed .formmailer-embed { width: 100%; }
.form-wrap.contact-embed iframe { width: 100% !important; max-width: 100%; border: 0; display: block; }
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--c-line);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}
.form-row .req {
  color: #fff;
  background: #d93636;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-main);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row .hint { font-size: 12px; color: var(--c-text-mute); margin-top: 6px; }
.form-row .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.form-row .check-row input { width: auto; margin-top: 4px; }
.form-actions { text-align: center; margin-top: 30px; }
.form-actions .btn { padding: 16px 50px; font-size: 15px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 44px 0 60px; }
  .hero .inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { display: none; }
  .hero .pill { display: block; width: 100%; box-sizing: border-box; margin: 0 auto 16px; text-align: center; font-size: clamp(13px, 3.8vw, 17px); padding: 10px 10px; white-space: nowrap; }
  .hero-concept-row { gap: 4px; }
  .hero-concept-list li { font-size: 20px; padding: 4px 8px; }
  .hero-concept-visual { display: block; width: 205px; margin-left: auto; margin-right: -24px; }
  .recommend-section { padding: 20px 0; }
  .recommend-section .container { padding: 0; max-width: none; }
  .recommend-banner-img { max-width: none; border-radius: 0; box-shadow: none; }
  .results-section { padding: 0 0 20px; }
  .results-section .container { padding: 0; max-width: none; }
  .results-banner-img { max-width: none; border-radius: 0; }
  .hero .cta-row { flex-wrap: nowrap; gap: 10px; }
  .hero .cta-row .btn { flex: 0 0 auto; padding: 13px 16px; font-size: 14px; white-space: nowrap; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .step-card { grid-template-columns: 80px 1fr; gap: 18px; padding: 22px; }
  .step-card h3 { font-size: 18px; }
  .section { padding: 60px 0; }
  .site-header nav,
  .site-header .header-cta .btn-outline { display: none; }
  /* ヘッダー右のマイページボタンは幅の都合で隠すため、
     代わりにドロワーメニュー内に表示して導線を確保する */
  .site-header nav .nav-mypage {
    display: block;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--c-line);
    width: 100%;
  }
  .menu-toggle { display: flex; }
  .form-wrap { padding: 28px 20px; }
  .news-list li { flex-direction: column; gap: 6px; }
  .news-list time { width: auto; }
}

@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 1fr; }
  .step-card .step-num { flex-direction: row; max-width: 130px; padding: 8px 14px; gap: 6px; }
  .step-card .step-num strong { font-size: 22px; }
  .row-table .row { padding: 14px 18px; }
  .site-header .logo { font-size: 18px; }
}

.scroll-mt { scroll-margin-top: 80px; }

/* ===== Daily 2GB Recommend Section ===== */
.daily-recommend { background: #F3F8F5; padding: 60px 0; }
.daily-recommend .daily-head {
  max-width: 720px;
  margin: 0 auto 20px;
  background: #E0F2F1;
  border: 2px solid #C8E6C9;
  border-radius: 10px;
  padding: 14px 24px;
  text-align: center;
}
.daily-recommend .daily-head h3 {
  color: var(--c-main);
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.02em;
}
.daily-recommend .daily-hero {
  max-width: 720px;
  margin: 0 auto 10px;
  background: #fff;
  border: 2px solid var(--c-main);
  border-radius: 10px;
  padding: 20px 30px;
  text-align: center;
  color: var(--c-text);
  font-weight: 700;
}
.daily-recommend .daily-hero p { line-height: 1.9; margin: 0; font-size: 15px; }
.daily-recommend .daily-caveat {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 11px;
  color: var(--c-text-mute);
  text-align: right;
  line-height: 1.7;
}
.daily-recommend .daily-detail-cta {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
}
.daily-recommend .daily-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--c-main);
  color: var(--c-main);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.daily-recommend .daily-detail-toggle:hover {
  background: var(--c-main);
  color: #fff;
}
.daily-recommend .daily-detail-toggle .chevron {
  display: inline-block;
  transition: transform .2s;
  font-size: 12px;
}
.daily-recommend .daily-detail-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.daily-recommend .daily-usage[hidden] { display: none; }
.daily-recommend .daily-usage {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 28px 24px 20px;
}
.daily-recommend .daily-usage__title { text-align: center; margin-bottom: 18px; }
.daily-recommend .daily-usage__title span {
  display: inline-block;
  background: var(--c-main);
  color: #fff;
  padding: 8px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
}
.daily-recommend .daily-usage__sub {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-mute);
  margin-bottom: 24px;
}
.daily-recommend .daily-usage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}
.daily-recommend .usage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
}
.daily-recommend .usage-item .hours {
  font-weight: 800;
  font-size: 16px;
  color: var(--c-main);
  margin-bottom: 8px;
}
.daily-recommend .usage-item .ico {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  color: var(--c-main);
}
.daily-recommend .usage-item .ico svg {
  width: 100%;
  height: 100%;
}
.daily-recommend .usage-item .name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.daily-recommend .usage-item .mb {
  font-size: 11px;
  color: var(--c-text-mute);
}
.daily-recommend .daily-spec {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  text-align: center;
}
.daily-recommend .daily-spec img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.daily-recommend .daily-usage__note {
  font-size: 11px;
  color: var(--c-text-mute);
  text-align: left;
  margin-top: 16px;
  line-height: 1.7;
}
@media (max-width: 780px) {
  .daily-recommend .daily-head h3 { font-size: 18px; }
  .daily-recommend .daily-hero { padding: 18px 20px; }
  .daily-recommend .daily-hero p { font-size: 14px; line-height: 1.8; }
  .daily-recommend .daily-usage { padding: 22px 14px 18px; }
  .daily-recommend .daily-usage__grid { grid-template-columns: repeat(2, 1fr); }
  .daily-recommend .daily-spec img { min-width: 620px; }
}

/* ===== LINE 公式アカウント フローティングボタン ===== */
.line-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.line-float__label {
  background: var(--c-white);
  color: var(--c-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--c-line);
  box-shadow: 0 2px 8px rgba(28, 40, 51, 0.14);
  white-space: nowrap;
}
.line-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 12px rgba(28, 40, 51, 0.28);
  transition: transform .15s;
}
.line-float__icon svg { width: 38px; height: 38px; display: block; }
.line-float:hover .line-float__icon { transform: translateY(-2px); }

@media (max-width: 640px) {
  .line-float { right: 14px; bottom: 14px; gap: 6px; }
  .line-float__icon { width: 52px; height: 52px; }
  .line-float__icon svg { width: 34px; height: 34px; }
  .line-float__label { font-size: 11px; padding: 7px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .line-float__icon { transition: none; }
  .line-float:hover .line-float__icon { transform: none; }
}
