/* MakeWorks — スマホ特化Web制作・広報サポート */

:root {
  --navy: #0F2350;
  --navy-deep: #0A1838;
  --navy-soft: #1A3468;
  --text: #24324D;
  --muted: #5C6B86;
  --line: #06C755;
  --line-dark: #05A848;
  --accent: #E67E22;
  --accent-soft: #FFF4EA;
  --white: #FFFFFF;
  --bg-soft: #F4F7FB;
  --stroke: #E4EAF3;
  --shadow: 0 10px 28px rgba(15, 35, 80, 0.06);
  --header-h: 72px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

img,
video,
canvas,
table,
iframe {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

img {
  vertical-align: middle;
  border: 0;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 400;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3,
.price-main {
  font-feature-settings: "palt";
  line-height: 1.45;
  color: var(--navy);
}

.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 900;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-label {
  text-align: center;
}

.btn-line {
  background: linear-gradient(180deg, #2ed66c 0%, var(--line) 100%);
  color: var(--white);
  text-shadow: 0 1px 1px rgba(0, 60, 20, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 0 #04913d,
    0 10px 18px rgba(6, 199, 85, 0.28);
}

.btn-line:hover {
  background: linear-gradient(180deg, #3adf76 0%, var(--line-dark) 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 #04913d,
    0 14px 24px rgba(6, 199, 85, 0.34);
}

.btn-line:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 #04913d,
    0 4px 10px rgba(6, 199, 85, 0.24);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(15, 35, 80, 0.18);
}

.btn-navy:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-lg {
  min-height: 58px;
  padding: 16px 26px;
  font-size: 1.05rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(15, 35, 80, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
}

.logo,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
}

.logo {
  flex: 1 1 auto;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
  display: block;
}

.logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
}

.logo-mark.is-fallback .logo-fallback {
  display: block;
}

.logo-text {
  min-width: 0;
}

.logo-name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--navy);
}

.logo-ja {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.global-nav {
  display: none;
}

@media (max-width: 767px) {
  .global-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 190;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 20px 32px;
    background: var(--white);
    overflow-y: auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--stroke);
  font-weight: 700;
  color: var(--navy);
}

.global-nav .btn {
  margin-top: 20px;
  width: 100%;
}

@media (max-width: 767px) {
  body.nav-open .fixed-cta {
    display: none;
  }
}

/* Hero */
.hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(520px 320px at 88% 18%, rgba(230, 126, 34, 0.28), transparent 70%),
    radial-gradient(420px 280px at 0% 100%, rgba(255, 255, 255, 0.06), transparent 68%);
  color: var(--white);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 0 48px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #F0B27A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 7.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero-em {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: 0 88%;
}


.br-sp {
  display: none;
}

.hero-lead {
  margin-top: 16px;
  max-width: 40em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
  line-height: 1.75;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-badges li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero-actions {
  margin-top: 26px;
}

.hero-actions .btn-lg {
  width: 100%;
}

.microcopy {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.phone-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(270px, 100%);
  color: inherit;
}

.phone-link:hover .phone,
.phone-link:focus-visible .phone {
  transform: translateY(-4px);
}

.phone-link:hover .hero-caption,
.phone-link:focus-visible .hero-caption {
  color: var(--white);
}

.phone {
  width: 100%;
  padding: 12px;
  border-radius: 36px;
  background: #071226;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease;
}

.phone-screen {
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  color: var(--text);
}

.mock-status {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 10px;
}

.mock-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D5DCEC;
}

.mock-shot {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 148px;
  margin: 10px 12px 0;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background:
    radial-gradient(70px 48px at 84% 18%, rgba(255, 248, 235, 0.7), transparent 70%),
    radial-gradient(90px 70px at 12% 88%, rgba(15, 35, 80, 0.18), transparent 72%),
    linear-gradient(165deg, #F8E6CC 0%, #E7A15C 46%, #8C4E2C 100%);
  color: var(--white);
}

.mock-chip {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.mock-kana {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.mock-name {
  margin-top: 2px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(80, 32, 8, 0.28);
}

.mock-catch {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.mock-list {
  margin: 4px 16px 0;
}

.mock-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.mock-list li span {
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.mock-btn {
  margin: 12px 16px 0;
  padding: 10px;
  border-radius: 999px;
  background: var(--line);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.mock-sub {
  margin: 8px 16px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.phone-home {
  width: 88px;
  height: 4px;
  margin: 10px auto 12px;
  border-radius: 4px;
  background: #D5DCEC;
}

.hero-caption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Worries */
.worries {
  padding-bottom: 0;
  background: var(--bg-soft);
}

.worry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 40px;
}

.worry-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.worry-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
}

.worry-card p {
  font-size: 15px;
  line-height: 1.75;
}

.worry-card strong {
  font-weight: 900;
  color: var(--navy);
  background-image: linear-gradient(#FFE1C4, #FFE1C4);
  background-repeat: no-repeat;
  background-size: 100% 0.45em;
  background-position: 0 88%;
}

.bridge {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0;
}

.bridge p {
  font-size: clamp(1.08rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.bridge span {
  color: #FFD7A8;
}

/* Reasons */
.reasons {
  background: var(--white);
}

.reason-grid,
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.reason-card,
.service-card,
.flow-card,
.plan {
  min-width: 0;
  height: 100%;
}

.reason-card {
  padding: 28px 22px 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.reason-num {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.reason-card h3,
.service-card h3,
.flow-card h3,
.plan-name {
  font-size: 1.12rem;
  font-weight: 900;
}

.reason-card p,
.service-card p,
.flow-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
}

/* Services */
.services {
  background: var(--bg-soft);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}

.service-card p {
  color: var(--text);
}

/* Samples */
.samples {
  background: var(--white);
}

.samples-line,
.samples-kicker {
  display: inline;
}

@media (max-width: 959px) {
  .samples-line,
  .samples-kicker {
    display: block;
    margin-top: 2px;
  }
}

.section-lead {
  max-width: 40em;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.sample-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-card-b {
  border-top-color: var(--accent);
}

.sample-card-c {
  border-top-color: var(--navy-deep);
}

.sample-card-d {
  border-top-color: var(--line);
}

.sample-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 35, 80, 0.1);
}


.sample-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 18px 20px;
}

.sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-type,
.sample-badge {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.sample-type {
  background: var(--navy);
  color: var(--white);
}

.sample-badge {
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
}

.sample-body h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.5;
}

.sample-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
}

.sample-body .btn {
  width: 100%;
  margin-top: 16px;
}

.sample-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pricing */
.pricing {
  background: var(--white);
  border-top: 1px solid var(--stroke);
}

.tax-note {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  grid-template-areas:
    "cata"
    "p1"
    "p2"
    "catb"
    "p3"
    "p4";
}

.cat-a { grid-area: cata; }
.cat-b { grid-area: catb; }
.plan-1 { grid-area: p1; }
.plan-2 { grid-area: p2; }
.plan-3 { grid-area: p3; }
.plan-4 { grid-area: p4; }

.plan-cat {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-featured {
  z-index: 1;
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(230, 126, 34, 0.16);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.plan-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-name {
  margin-top: 2px;
  font-size: 1.2rem;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.price-caption {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.price-block {
  min-width: 0;
}

.price-block:first-child {
  min-height: 78px;
}

.price-main {
  margin-top: 2px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.plan-1 .price-block:last-child .price-main {
  color: var(--accent);
}

.yen {
  margin-left: 1px;
  font-size: 0.62em;
  font-weight: 700;
}

.price-tax,
.price-tag {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.price-tag {
  color: var(--accent);
  font-weight: 700;
}

.plan-features {
  flex: 1 1 auto;
  margin-bottom: 8px;
}

.plan-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.nowrap {
  white-space: nowrap;
}

.plan-note {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
  font-size: 13.5px;
}

.spot {
  margin-top: 22px;
  padding: 18px 18px 20px;
  border: 1px solid #F0D3B0;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.spot p {
  font-size: 15px;
  line-height: 1.75;
}

.spot strong {
  color: var(--navy);
  font-weight: 900;
}

.section-cta {
  margin-top: 28px;
  text-align: center;
}

.section-cta .btn {
  width: 100%;
}

/* Flow */
.flow {
  background: var(--bg-soft);
}

.flow-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.flow-card {
  padding: 22px 18px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-card .step-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.flow-card h3 {
  font-size: 1.02rem;
}

.flow-card p {
  color: var(--text);
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-container {
  width: min(800px, calc(100% - 32px));
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 48px 14px 18px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] {
  border-color: var(--navy);
}

.faq-item[open] summary {
  background: var(--bg-soft);
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.q-mark,
.a-mark {
  color: var(--accent);
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-a {
  padding: 4px 18px 18px;
}

.faq-a p {
  font-size: 15px;
  line-height: 1.75;
}

/* Closing */
.closing {
  background:
    radial-gradient(480px 220px at 80% 0%, rgba(230, 126, 34, 0.22), transparent 70%),
    var(--navy);
  color: var(--white);
  padding: 64px 0;
}

.closing-inner {
  text-align: center;
}

.closing h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 900;
}

.closing p {
  margin: 14px auto 0;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.closing .btn {
  margin-top: 24px;
  width: 100%;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0 28px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  max-width: 100%;
}

.footer-links li {
  max-width: 100%;
}

.footer-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: #FFD7A8;
}

.copyright {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

/* Fixed mobile CTA */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--stroke);
  box-shadow: 0 -6px 20px rgba(15, 35, 80, 0.08);
}

.fixed-cta .btn {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 8px;
  font-size: clamp(12px, 3.2vw, 14px);
  white-space: nowrap;
}

/* Fade in */
.js .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Desktop and tablet */
@media (max-width: 767px) {
  .br-sp {
    display: block;
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .container {
    width: min(1080px, calc(100% - 48px));
  }

  .faq-container {
    width: min(800px, calc(100% - 48px));
  }

  .section {
    padding: 96px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .logo {
    flex: 0 1 auto;
  }

  .logo-ja,
  .logo-sub {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .global-nav,
  .global-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    gap: 8px;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nav-list a {
    min-height: 0;
    padding: 8px 4px;
    border-bottom: 0;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .nav-list a:hover {
    color: var(--accent);
  }

  .global-nav .btn {
    width: auto;
    margin-top: 0;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 36px;
    padding: 64px 0 72px;
  }

  .hero-actions .btn-lg,
  .closing .btn,
  .section-cta .btn {
    width: auto;
  }

  .worry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 56px;
  }

  .reason-grid,
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .sample-body .btn {
    margin-top: auto;
  }

  .plan-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "cata cata"
      "p1 p2"
      "catb catb"
      "p3 p4";
    column-gap: 16px;
    row-gap: 28px;
  }

  .flow-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .fixed-cta {
    display: none;
  }
}

@media (min-width: 960px) {
  .nav-list {
    gap: 4px;
  }

  .nav-list a {
    font-size: 13px;
    padding: 8px 6px;
  }

  .plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "cata cata catb catb"
      "p1 p2 p3 p4";
    column-gap: 16px;
    row-gap: 36px;
  }

  .flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .header .container {
    width: calc(100% - 20px);
  }

  .header .btn-sm {
    padding: 8px 8px;
    font-size: 12px;
    letter-spacing: 0;
  }
}

@media (min-width: 1100px) {
  .logo-ja {
    display: inline;
  }

  .logo-sub {
    display: block;
  }

  .nav-list {
    gap: 8px;
  }

  .nav-list a {
    font-size: 14px;
    padding: 8px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .fade-in {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .btn-line:hover,
  .btn-line:active {
    transform: none;
  }
}

/* Plan detail pages */
.pp-hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(520px 280px at 100% 0%, rgba(230, 126, 34, 0.28), transparent 70%),
    radial-gradient(380px 240px at 0% 100%, rgba(255, 255, 255, 0.06), transparent 70%);
  color: var(--white);
  padding: 28px 0 48px;
}

.pp-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.pp-crumb a {
  color: var(--white);
  font-weight: 700;
}

.pp-crumb li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.pp-badge {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.pp-badge.is-rec {
  border-color: transparent;
  background: var(--accent);
}

.pp-hero h1 {
  max-width: 16em;
  color: var(--white);
  font-size: clamp(1.55rem, 4.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.4;
}

.pp-catch {
  max-width: 40em;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.75;
}

.pp-tax-note {
  display: inline-block;
  max-width: 100%;
  margin-top: 22px;
  padding: 6px 14px;
  border: 1px dashed rgba(255, 215, 168, 0.8);
  border-radius: 999px;
  color: #ffd7a8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.pp-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.pp-price-box {
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.pp-price-box.is-rec {
  border-color: rgba(230, 126, 34, 0.7);
  background: rgba(230, 126, 34, 0.16);
}

.pp-price-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pp-amount {
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.pp-amount .yen {
  margin-left: 2px;
  font-size: 0.42em;
  font-weight: 700;
}

.pp-amount.is-zero {
  color: #ffb15a;
}

.pp-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.pp-tag {
  display: inline-block;
  margin-top: 8px;
  color: #ffd7a8;
  font-size: 13px;
  font-weight: 700;
}

.pp-term {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.pp-term span {
  display: block;
  color: #ffd7a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pp-term strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.pp-soft {
  background: var(--bg-soft);
}

.pp-block h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 900;
}

.pp-lead {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.75;
}

.pp-fit,
.pp-steps,
.pp-notes,
.pp-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pp-fit-card,
.pp-step,
.pp-note,
.pp-switch-card {
  min-width: 0;
  height: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.pp-fit-card,
.pp-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
}

.pp-fit-card p,
.pp-step p,
.pp-note p,
.pp-switch-card p {
  line-height: 1.75;
}

.pp-step {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 24px;
}

.pp-step-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.pp-step h3,
.pp-note h3,
.pp-switch-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}

.pp-step p,
.pp-note p {
  margin-top: 8px;
  font-size: 15px;
}

.pp-note-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}

.pp-note-icon svg {
  display: block;
}

.pp-cta {
  text-align: center;
}

.pp-cta .btn {
  width: 100%;
  margin-top: 8px;
}

.pp-switch-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  color: var(--navy);
}

.pp-switch-card:hover {
  border-color: var(--navy);
}

.pp-switch-card.is-rec {
  border-color: var(--accent);
}

.pp-switch-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pp-switch-card p {
  color: var(--muted);
  font-size: 14px;
}

.pp-switch-card .more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.pp-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 4px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.pp-home:hover {
  background: var(--navy);
  color: var(--white);
}

body.plan-doc .fixed-cta {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr);
}

body.plan-doc .fixed-cta .btn {
  white-space: normal;
  line-height: 1.35;
  font-size: 12px;
  padding: 8px 8px;
}

@media (min-width: 768px) {
  .pp-hero {
    padding: 36px 0 72px;
  }

  .pp-price-grid,
  .pp-notes {
    grid-template-columns: 1fr 1fr;
  }

  .pp-fit,
  .pp-steps,
  .pp-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pp-cta .btn {
    width: auto;
  }
}

/* Legal pages */
.legal-section {
  background: #F8FAFC;
}

.legal-card,
.policy-list li {
  min-width: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card {
  padding: 6px 18px;
}

.legal-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
}

.legal-row:last-child {
  border-bottom: 0;
}

.legal-row dt {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

.legal-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.legal-points {
  display: grid;
  gap: 10px;
}

.legal-points li {
  position: relative;
  padding-left: 14px;
  line-height: 1.8;
}

.legal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

.legal-row a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-list {
  display: grid;
  gap: 14px;
}

.policy-list li {
  padding: 20px 18px 22px;
}

.policy-list h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}

.policy-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.policy-list p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
}

.policy-list a {
  color: var(--navy);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.legal-back .pp-home {
  width: min(100%, 360px);
  margin-top: 0;
}

.legal-date {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
}

/* Plan comparison */
.compare-section {
  padding-top: 36px;
}

.compare-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.compare-hint::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 6.5 4 12l5.5 5.5 1.4-1.4L7.8 13H16v-2H7.8l3.1-3.1zM14.5 6.5l-1.4 1.4 3.1 3.1H8v2h8.2l-3.1 3.1 1.4 1.4L20 12z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 6.5 4 12l5.5 5.5 1.4-1.4L7.8 13H16v-2H7.8l3.1-3.1zM14.5 6.5l-1.4 1.4 3.1 3.1H8v2h8.2l-3.1 3.1 1.4 1.4L20 12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.compare-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  scrollbar-color: var(--navy-soft) var(--bg-soft);
}

.compare-table {
  width: 1040px;
  max-width: none;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  line-height: 1.65;
}

.compare-table th,
.compare-table td {
  min-width: 228px;
  padding: 14px 14px;
  border-bottom: 1px solid var(--stroke);
  border-right: 1px solid var(--stroke);
  background: var(--white);
  text-align: left;
  vertical-align: top;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.compare-table thead th:first-child,
.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 104px;
  width: 112px;
  max-width: 124px;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 900;
  text-align: left;
  box-shadow: 6px 0 10px rgba(15, 35, 80, 0.06);
}

.compare-table thead th:first-child {
  z-index: 3;
  background: var(--navy-deep);
  color: var(--white);
}

.compare-table .is-rec {
  background: var(--accent-soft);
}

.compare-table thead .is-rec {
  background: #C45E12;
  color: var(--white);
  box-shadow: inset 0 3px 0 var(--accent);
}

.compare-table tbody tr:nth-child(even) td {
  background: #F8FAFC;
}

.compare-table tbody tr:nth-child(even) td.is-rec,
.compare-table tbody td.is-rec {
  background: #FFF4EA;
}

.cmp-rec,
.cmp-no,
.cmp-name,
.cmp-who,
.cmp-tag,
.cmp-sub {
  display: block;
}

.cmp-rec {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--white);
  color: #C45E12;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.cmp-no {
  color: #ffd7a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.compare-table thead th:first-child .cmp-no,
.compare-table tbody .cmp-no {
  color: inherit;
}

.cmp-name {
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.45;
}

.cmp-who {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.cmp-yen {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.cmp-yen.is-zero {
  color: var(--accent);
}

.cmp-tax,
.cmp-tag,
.cmp-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.cmp-tag {
  color: var(--accent);
  font-weight: 700;
}

.cmp-sub {
  margin-top: 6px;
}

.compare-table .btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  white-space: normal;
}

.opt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.opt-card {
  min-width: 0;
  padding: 20px 18px 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.opt-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}

.opt-price {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.opt-unit {
  font-size: 0.55em;
  font-weight: 700;
}

.opt-tax {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.opt-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.pp-home-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pp-home-stack .pp-home {
  margin-top: 0;
}

@media (min-width: 768px) {
  .opt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .compare-hint {
    display: none;
  }

  .compare-scroll {
    overflow: visible;
  }

  .compare-table {
    width: 100%;
    table-layout: fixed;
  }

  .compare-table th,
  .compare-table td,
  .compare-table thead th:first-child,
  .compare-table tbody th {
    min-width: 0;
    width: auto;
    max-width: none;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    width: 18%;
  }
}
