/* =========================================================
   HALFTIME — base styles
   ========================================================= */
:root {
  --navy: #0b1a33;
  --navy-deep: #08111f;
  --black: #111111;
  --gray: #8a8f98;
  --gray-line: #dfe1e5;
  --light: #f2f3f5;
  --white: #ffffff;
  --text: #1c1f24;

  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --container: 1120px;
  --gutter: 24px;
  --header-h: 48px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sp-only { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--gray-line); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: flex; align-items: center; gap: 8px; }
.header__logo img { height: 30px; width: auto; }
.header__name { font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: 0.02em; color: var(--navy); white-space: nowrap; }
.header__nav { display: flex; align-items: center; gap: 40px; }
.header__menu { display: flex; }
.header__menu li + li { border-left: 1px solid var(--gray-line); }
.header__menu a {
  display: block;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.header__menu a:hover,
.header__menu a[aria-current="page"] { color: var(--gray); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 200px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  box-shadow: none;
  position: relative;
  transition: transform 0.25s;
}
.btn:hover::after { transform: translateX(4px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--black); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--light); }
.btn--outline-white { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { min-width: 0; padding: 11px 22px; font-size: 12px; }
.header__nav > .btn--sm { padding: 7px 18px; }
.btn--sm::after { display: none; }
.btn--line { background: #06c755; color: var(--white); }
.btn--line:hover { background: #05a647; }

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Section ---------- */
.section { padding: 120px 0; position: relative; overflow: hidden; }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--light { background: var(--light); }

.section-head { margin-bottom: 56px; }
.section-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin-bottom: 10px;
}
.section-head__jp {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.section-head__jp::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 22px;
  background: currentColor;
}
.section-head__lead { margin-top: 24px; color: var(--gray); }
.section--dark .section-head__lead { color: rgba(255, 255, 255, 0.7); }

.watermark {
  position: absolute;
  top: 40px;
  right: -20px;
  font-family: var(--font-en);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section--dark .watermark { color: var(--white); opacity: 0.04; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + 80px) 0 100px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/photo-hero.jpg") right center / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.97) 0%, rgba(8, 17, 31, 0.82) 45%, rgba(11, 26, 51, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 17, 31, 0.6), transparent 40%);
}
.hero__mark {
  position: absolute;
  top: calc(var(--header-h) + 10px);
  left: 3vw;
  font-family: var(--font-en);
  font-size: clamp(90px, 17vw, 260px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero__inner { position: relative; }
.hero__catch {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.hero__catch span { display: block; }
.hero__sub {
  margin-top: 36px;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 500;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
}
.hero__inner .btn-group { margin-top: 48px; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  padding-bottom: 90px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__text p + p { margin-top: 1.6em; }
.about__photo {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.card:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.card__img { aspect-ratio: 16 / 6; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); transition: transform 0.6s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); }
.card__title { font-size: 20px; font-weight: 700; margin-top: 4px; }
.card__text { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.78); flex: 1; }
.card__more {
  margin-top: 22px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.card__more::after { content: " →"; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: flow; }
.flow__item { text-align: center; position: relative; }
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 74px;
  right: -14px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
  transform: rotate(45deg);
}
.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.flow__icon {
  width: 84px;
  height: 84px;
  margin: -10px auto 0;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.flow__icon svg { width: 30px; height: 30px; }
.flow__title { margin-top: 18px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.flow__text { margin-top: 10px; font-size: 13px; color: #555b64; text-align: left; line-height: 1.8; }
.flow-note { margin-top: 40px; font-size: 13px; color: var(--gray); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: url("../images/photo-contact.jpg") right center / cover no-repeat;
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 31, 0.96) 0%, rgba(8, 17, 31, 0.85) 50%, rgba(11, 26, 51, 0.6) 100%);
}
.cta__inner { position: relative; }
.cta__text { margin-bottom: 40px; color: rgba(255, 255, 255, 0.85); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.85); padding: 64px 0 32px; font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 20px; align-items: center; }
.footer__brand img { height: 72px; width: auto; }
.footer__name { font-size: 16px; font-weight: 700; color: var(--white); }
.footer__address { margin-top: 6px; line-height: 1.8; color: rgba(255, 255, 255, 0.65); }
.footer__menu { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.footer__menu li + li { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.footer__menu a { padding: 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--white); }
.footer__menu li:first-child a { padding-left: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--font-en); font-size: 11px; color: rgba(255, 255, 255, 0.5); text-align: right; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.035) 30% 100%);
}
.page-hero__en {
  font-family: var(--font-en);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}
.page-hero__jp { margin-top: 18px; font-size: 14px; font-weight: 500; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.75); }
.breadcrumb { margin-top: 40px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; }

.page-lead { max-width: 760px; }

/* ---------- Services page ---------- */
.category + .category { margin-top: 110px; }
.category__head { display: flex; align-items: flex-end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--navy); margin-bottom: 44px; }
.category__num { font-family: var(--font-en); font-size: 64px; font-weight: 800; line-height: 0.85; color: var(--navy); }
.category__title { font-size: 26px; font-weight: 700; }
.category__en { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.24em; color: var(--gray); }

.category__body { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.category:nth-child(even) .category__body { grid-template-columns: 1fr 340px; }
.category:nth-child(even) .category__photo { order: 2; }
.category__photo { aspect-ratio: 4 / 3; overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.category__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }

.service-item + .service-item { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--gray-line); }
.service-item__title { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.service-item__title::before { content: ""; width: 8px; height: 8px; background: var(--navy); flex-shrink: 0; }
.service-item__text { margin-top: 12px; }
.service-price__title { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* ---------- Tables ---------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); }
.info-table th,
.info-table td { padding: 24px 20px; border-bottom: 1px solid var(--gray-line); text-align: left; vertical-align: top; }
.info-table th { width: 220px; font-weight: 700; white-space: nowrap; }
.info-table td ul li { position: relative; padding-left: 1.1em; }
.info-table td ul li::before { content: "・"; position: absolute; left: 0; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.price-table th,
.price-table td { padding: 12px 14px; border: 1px solid var(--gray-line); text-align: left; }
.price-table thead th { background: var(--light); font-weight: 700; white-space: nowrap; }
.price-table td.num { text-align: right; white-space: nowrap; }
.price-table td:first-child { white-space: nowrap; font-weight: 700; }
.price-table .plan-list li { position: relative; padding-left: 1.1em; line-height: 1.7; }
.price-table .plan-list li + li { margin-top: 2px; }
.price-table .plan-list li::before { content: ""; position: absolute; left: 0.1em; top: 0.75em; width: 5px; height: 5px; background: var(--navy); }
.price-note { margin-top: 12px; font-size: 13px; color: #555b64; }

.company-layout { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.company-photo { aspect-ratio: 3 / 4; overflow: hidden; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.company-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }

/* ---------- Form ---------- */
.form { max-width: 820px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gray-line); }
.form__row:first-child { border-top: 1px solid var(--navy); }
.form__label { font-weight: 700; padding-top: 12px; display: flex; align-items: flex-start; gap: 10px; }
.form__tag { flex-shrink: 0; margin-top: 3px; padding: 1px 8px; font-size: 11px; font-weight: 500; background: var(--navy); color: var(--white); }
.form__tag--any { background: var(--gray); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--light);
  border: 1px solid transparent;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.form__agree { margin-top: 40px; text-align: center; }
.form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.form__agree a { text-decoration: underline; }
.form__submit { margin-top: 32px; text-align: center; }
.form__submit .btn { min-width: 320px; padding: 20px 28px; font-size: 15px; }
.form__submit .btn:disabled { opacity: 0.4; cursor: not-allowed; }

.contact-other { margin-top: 100px; }
.contact-other__title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 32px; }
.contact-other__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 36px 24px; border: 1px solid var(--gray-line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-card__label { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; color: var(--gray); }
.contact-card__value { font-size: 17px; font-weight: 700; word-break: break-all; }
.contact-card__note { font-size: 12px; color: var(--gray); }
.contact-card .btn { margin-top: 6px; min-width: 0; }

.thanks { text-align: center; padding: 40px 0; }
.thanks__title { font-size: 26px; font-weight: 700; }
.thanks__text { margin: 24px 0 48px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal__intro { margin-bottom: 56px; }
.legal__intro p + p { margin-top: 1em; }
.legal h2 { font-size: 18px; font-weight: 700; margin: 56px 0 18px; padding-left: 16px; border-left: 3px solid var(--navy); line-height: 1.5; }
.legal h3 { font-size: 15px; font-weight: 700; margin: 32px 0 6px; }
.legal p + p { margin-top: 0.9em; }
.legal ul { margin-top: 0.8em; }
.legal ul li { position: relative; padding-left: 1.2em; }
.legal ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.85em; width: 5px; height: 5px; background: var(--navy); }
.legal__date { margin-top: 64px; text-align: right; color: #555b64; }
.legal .info-table th { width: 240px; white-space: normal; }

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .about,
  .company-layout { grid-template-columns: 1fr; gap: 48px; }
  .company-photo { display: none; }
  .category__body,
  .category:nth-child(even) .category__body { grid-template-columns: 1fr; gap: 32px; }
  .category:nth-child(even) .category__photo { order: 0; }
  .category__photo { position: static; aspect-ratio: 16 / 7; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .flow__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0 20px;
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-line);
  }
  .flow__item:not(:last-child)::after { display: none; }
  .flow__head { grid-row: span 2; position: relative; }
  .flow__num { position: absolute; top: -4px; left: -4px; width: 28px; height: 28px; font-size: 11px; }
  .flow__icon { width: 64px; height: 64px; margin: 0; }
  .flow__icon svg { width: 24px; height: 24px; }
  .flow__title { margin-top: 0; align-self: center; }
  .flow__text { margin-top: 4px; }
}

@media (max-width: 768px) {
  :root { --header-h: 44px; --gutter: 20px; }
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .header__logo img { height: 26px; }
  .header__logo { gap: 6px; }
  .header__name { font-size: 20px; }
  .menu-toggle { display: block; z-index: 2; }
  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 32px var(--gutter);
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }
  .is-menu-open .header__nav { transform: none; }
  .header__menu { flex-direction: column; }
  .header__menu li + li { border-left: 0; }
  .header__menu li { border-bottom: 1px solid var(--gray-line); }
  .header__menu a { padding: 20px 4px; font-size: 15px; }
  .header__nav .btn { padding: 18px; font-size: 14px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-bottom: 80px; }
  .hero__bg { background-position: 70% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(8, 17, 31, 0.7) 0%, rgba(8, 17, 31, 0.92) 70%); }
  .hero__scroll { display: none; }
  /* 透かし文字が画面幅に収まるようにする（文字幅＝フォントサイズ×約5.3） */
  .hero__mark { left: var(--gutter); font-size: calc((100vw - var(--gutter) * 2) / 5.4); }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card__body { padding: 24px 22px 26px; }
  .cta { padding: 80px 0; }
  .footer__brand { align-items: flex-start; }
  .footer__brand img { height: 60px; width: auto; }
  .footer__copy { text-align: left; }

  .page-hero { padding: calc(var(--header-h) + 56px) 0 56px; }
  .category + .category { margin-top: 80px; }
  .category__num { font-size: 48px; }
  .category__title { font-size: 21px; }

  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { padding: 20px 4px 4px; border-bottom: 0; }
  .info-table td { padding: 4px 4px 20px; }
  .legal .info-table th { width: 100%; }
  .price-table { font-size: 13px; }
  /* 料金表はプランごとのカード型に */
  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; width: 100%; }
  .price-table tr { border: 1px solid var(--gray-line); margin-top: 12px; }
  .price-table td { border: 0; border-top: 1px solid var(--gray-line); padding: 10px 14px; }
  .price-table td:first-child { border-top: 0; background: var(--light); font-size: 15px; }
  .price-table td.num { display: flex; justify-content: space-between; text-align: right; }
  .price-table td:nth-child(2)::before { content: "月額（税抜）"; font-weight: 700; }
  .price-table td:nth-child(3)::before { content: "月額（税込）"; font-weight: 700; }
  .price-table td:nth-child(4)::before { content: "内容"; display: block; font-weight: 700; margin-bottom: 4px; }

  .form__row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .form__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .contact-other { margin-top: 72px; }
  .contact-other__list { grid-template-columns: 1fr; }
}
