/* ============================================================
   Band, Inc Corporate Site — scratch rebuild
   Pure HTML/CSS/JS reconstruction of the existing STUDIO site.
   ============================================================ */

:root {
  --c-text: #333333;
  --c-sub: #555555;
  --c-dark: #222222;
  --c-white: #ffffff;
  --c-line: #555555;
  --font-en: "Lato", "Noto Sans JP", "Hiragino Kaku Gothic Pro", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Yu Gothic",
    "游ゴシック", "Meiryo", sans-serif;
  --font-jp-w3: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Yu Gothic",
    "游ゴシック", "Meiryo", sans-serif;
  --maxw: 1024px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--c-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; overflow-x: hidden; }
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(85, 85, 85, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.site-header__inner {
  width: 1280px;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.site-header__logo img { width: 96px; height: auto; }
.gnav { flex: 1; display: flex; align-items: center; gap: 40px; margin-left: 60px; }
.gnav a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #333;
  transition: opacity 0.2s;
}
.gnav a:hover { opacity: 0.5; }
.gnav .btn-contact {
  margin-left: auto;
  background: var(--c-dark);
  color: #fff;
  border-radius: 20px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  letter-spacing: 0.1em;
}
.gnav .btn-contact:hover { opacity: 0.5; }

/* CSS-only nav toggle via :target — hamburger + close button are hidden on PC. */
.nav-toggle { display: none; }
.nav-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--c-dark);
  min-height: 530px;
  padding: 80px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo { width: 160px; }

/* ---------- Section base ---------- */
.section { padding: 120px 0 0; }
.section__title {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
  color: #333;
  margin: 0;
}
.section__subtitle-jp {
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
  margin: 20px 0 0;
}
.section__lead {
  color: var(--c-sub);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  text-align: center;
  margin: 20px auto 0;
  max-width: 689px;
}

/* ---------- Vision ---------- */
.vision .vision__statement {
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
  margin: 20px 0 0;
}
.vision .vision__body {
  position: relative;
  color: var(--c-sub);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  text-align: center;
  margin: 20px auto 0;
  max-width: 720px;
}
/* 背面の薄い「Band」ロゴ透かし（本番準拠: 960x311 / opacity 0.1） */
.vision .vision__body::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: calc(50% + 20px);
  transform: translate(-50%, -50%);
  width: min(960px, 95vw);
  aspect-ratio: 614 / 199;
  background: url("/assets/img/logo-dark.webp") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

/* SP専用改行（PCでは非表示） */
.br-sp { display: none; }

/* ---------- Service cards ---------- */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 40px auto 0;
  max-width: 912px;
}
.service-card {
  width: 33.33%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card__pill {
  background: #333333;
  border-radius: 30px;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.service-card__pill span {
  color: #fff;
  font-family: var(--font-jp);
  font-size: 20px;
  letter-spacing: 0.15em;
  text-align: center;
}
.service-card__pill.sm span { font-size: 15px; }
.service-card__icon { width: 35%; }
.service-card__text {
  color: var(--c-sub);
  font-size: 15px;
  letter-spacing: 0.15em;
  line-height: 2;
  margin-top: 30px;
  text-align: left;
}
/* EC開発支援カード直下の詳細導線。EC説明文の真下に置くことで
   リンク先が「EC開発支援」だと近接で伝わるようにする。 */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-jp);
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #333333;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.service-card__link-text { text-decoration: underline; text-underline-offset: 5px; }
.service-card__link .arrow { font-size: 20px; line-height: 1; }
.service-card__link:hover { opacity: 0.6; }
.service-more {
  display: flex;
  justify-content: center;
}
.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #333333;
  border-radius: 32px;
  height: 60px;
  width: 300px;
  max-width: 100%;
  padding: 10px 30px;
  font-family: var(--font-jp);
  font-size: 16px;
  color: #333333;
  transition: background 0.2s, color 0.2s;
}
.btn-outline .arrow { position: absolute; right: 18px; font-size: 30px; line-height: 1; }
.btn-outline:hover { background: var(--c-line); color: #fff; border-color: var(--c-line); }
.btn-outline:hover .arrow { color: #fff; }

/* ---------- Strength ---------- */
.strength__diagram { display: block; width: 600px; max-width: 100%; height: auto; margin: 30px auto 0; }

/* ---------- Clients ---------- */
.clients__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}
.clients__row {
  display: flex;
  flex-wrap: wrap;
  width: 630px;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}
.clients__row img { display: block; height: auto; }

/* ---------- Founder ---------- */
.founder__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
}
.founder__photo { width: 40%; display: flex; justify-content: flex-end; }
.founder__photo img { width: 300px; height: auto; display: block; }
.founder__detail { width: 60%; padding-left: 30px; }
.founder__role {
  color: var(--c-sub);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
}
.founder__name {
  color: var(--c-sub);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
}
.founder__bio {
  color: var(--c-sub);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  margin-top: 15px;
  text-align: left;
}

/* ---------- Company table ---------- */
.company__table {
  width: 693px;
  max-width: 100%;
  margin: 20px auto 0;
}
.company__row {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.company__row dt {
  width: 20%;
  margin: 0;
  color: var(--c-sub);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
}
.company__row dd {
  width: 80%;
  margin: 0;
  color: var(--c-sub);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
}
.company__map {
  width: 693px;
  max-width: 100%;
  margin: 20px auto 0;
  line-height: 0;
}
.company__map iframe {
  width: 100%;
  height: 156px;
  border: 0;
  display: block;
}

/* ---------- Contact form ---------- */
.contact { padding-bottom: 0; }
.contact__lead {
  color: var(--c-sub);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  text-align: center;
  margin: 20px 0 0;
}
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 40px auto 0;
}
.field { margin-bottom: 28px; }
.field label {
  display: block;
  color: var(--c-sub);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.field label .req { color: #d24; margin-left: 6px; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-jp-w3);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #333;
  background: #ffffff;
}
.field input::placeholder,
.field textarea::placeholder { color: #cccccc; opacity: 1; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--c-dark); background: #fff; }
.field textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.cf-turnstile { margin: 8px 0 20px; }
.form-actions { text-align: center; margin-top: 10px; }
.btn-submit {
  width: 100%;
  background: #333333;
  color: #fff;
  border: none;
  border-radius: 4px;
  height: 50px;
  font-family: var(--font-jp);
  font-size: 15px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.6; }
.btn-submit:disabled { opacity: 0.4; cursor: default; }
.form-msg { text-align: center; margin-top: 18px; font-size: 14px; letter-spacing: 0.05em; }
.form-msg.error { color: #c0392b; }

/* ---------- EC page specific ---------- */
.ec-page .section__title { font-size: 40px; }
.ec-hero {
  height: 380px;
  padding-top: 80px;
  box-sizing: border-box;
  background: linear-gradient(rgba(20, 22, 26, 0.5), rgba(20, 22, 26, 0.5)),
    url("/assets/img/ec-hero-bg.webp") center / cover no-repeat;
  background-color: #222;
  display: flex;
  align-items: center;
  color: #fff;
}
.ec-hero__inner {
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}
.ec-hero__en {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
  margin: 0;
}
.ec-hero__title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
  margin: 18px 0 0;
}
/* Intro (white) */
.ec-intro__catch {
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.4;
  color: #333;
  text-align: center;
  margin: 0;
}
.ec-intro__lead {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  color: var(--c-sub);
  text-align: center;
  margin: 40px 0 0;
}
.worries-box {
  position: relative;
  width: 869px;
  max-width: 92%;
  margin: 40px auto 0;
  border: 4px solid #acc1c8;
  padding: 70px 40px 56px;
}
.worries-box__title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0 26px;
  background: #fff;
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #333;
  white-space: nowrap;
}
.worries {
  list-style: none;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
.worry {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-jp);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--c-sub);
}
.worry:last-child { margin-bottom: 0; }
.worry .check {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005876' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.worry em { font-style: normal; font-weight: bold; color: #005876; border-bottom: 1px solid #005876; padding-bottom: 2px; }
.worries__close {
  text-align: center;
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #005876;
  margin: 48px 0 0;
}
.reasons-sec .section__title { font-size: 40px; }
.reasons-sec { padding-bottom: 140px; }
.reasons { margin-top: 60px; }
.reason-block { margin-bottom: 90px; }
.reason-block:last-child { margin-bottom: 0; }
.reason-head { display: flex; align-items: center; margin-bottom: 28px; }
.reason-label {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #005876;
  margin-right: 8px;
}
.reason-num {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 900;
  color: #005876;
  line-height: 1;
}
.reason-divider { width: 2px; height: 54px; background: #ccd5d8; margin: 0 30px; }
.reason-title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #005876;
  margin: 0;
}
.reason-desc {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 2;
  color: var(--c-sub);
  margin: 0;
}
.reason-media--center { display: flex; justify-content: center; margin-top: 40px; }
.reason-media img { width: 819px; max-width: 100%; height: auto; }
.reason-cols { display: flex; align-items: center; gap: 50px; margin-top: 30px; }
.reason-cols--reverse { flex-direction: row-reverse; }
.reason-cols .reason-desc { flex: 1; }
.reason-photo { flex: none; width: 440px; max-width: 46%; }
.reason-photo img { width: 100%; height: auto; display: block; border-radius: 2px; }
.genres-sec { background: rgba(85, 85, 85, 0.1); padding-bottom: 90px; }
.genres-sec .section__title { font-size: 32px; }
.ec-page .clients .section__title,
.ec-page .contact .section__title { font-size: 48px; }
.genres {
  display: flex; flex-wrap: nowrap; gap: 24px;
  justify-content: center; align-items: flex-start;
  margin: 50px auto 0; max-width: 920px; list-style: none; padding: 0;
}
.genre { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 150px; }
.genre img { width: 120px; height: 120px; object-fit: contain; }
.genre span {
  font-family: var(--font-jp); font-size: 20px; font-weight: 900;
  letter-spacing: normal; color: var(--c-sub); text-align: center; line-height: 1.4;
}
.genres-sec .service-more { margin-top: 60px; }
.btn-fill {
  display: inline-flex; align-items: center; justify-content: center;
  background: #005876; color: #fff;
  border-radius: 48px; height: 76px; min-width: 320px; padding: 0 44px;
  font-family: var(--font-jp); font-size: 18px; font-weight: 900; letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.btn-fill:hover { opacity: 0.85; }
.service-content {
  padding-bottom: 110px;
  background: linear-gradient(rgba(0, 88, 118, 0.86), rgba(0, 88, 118, 0.86)),
    url("/assets/img/ec-service-bg.webp") center / cover no-repeat;
  background-color: #005876;
  color: #fff;
}
.service-content .section__title { font-size: 40px; color: #fff; font-weight: 600; }
.service-content .section__lead { color: #fff; }
.svc-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 40px 50px; max-width: 840px; margin: 56px auto 0;
  list-style: none; padding: 0;
}
.svc-item { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 90px; }
.svc-item__circle {
  width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex; align-items: center; justify-content: center;
}
.svc-item__circle img { width: 44px; height: 44px; object-fit: contain; }
.svc-item__label {
  color: #fff; font-family: var(--font-jp); font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em; text-align: center; line-height: 1.4; white-space: nowrap;
}
.steps { display: flex; gap: 24px; margin: 50px auto 0; align-items: flex-start; }
.step { flex: 1; min-width: 0; }
.step__head { display: flex; align-items: flex-start; gap: 8px; }
.step__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-en);
  font-size: 20px; font-weight: 900; letter-spacing: 0.1em;
  color: #005876;
}
.step__box {
  flex: 1;
  aspect-ratio: 25 / 17;
  background: rgba(172, 193, 200, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.step__box img { width: 110px; height: 110px; object-fit: contain; }
.step__title { font-size: 18px; font-weight: 900; letter-spacing: 0.06em; margin: 18px 0 10px; color: var(--c-sub); }
.step__text { color: var(--c-sub); font-size: 14px; line-height: 1.8; letter-spacing: 0.04em; margin: 0; }
.faqs { max-width: 880px; margin: 50px auto 0; }
.faq {
  background: rgba(85, 85, 85, 0.06);
  border-radius: 8px;
  padding: 36px 40px;
  margin-bottom: 30px;
}
.faq__q {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 20px; font-weight: 900; letter-spacing: 0.05em; line-height: 1.6;
  color: #333; margin: 0;
}
.faq__q .mark { color: #005876; font-family: var(--font-en); font-weight: 900; flex: none; }
.faq__a {
  margin: 24px 0 0;
  background: #fff;
  border-radius: 6px;
  padding: 22px 28px;
  color: var(--c-sub); font-size: 16px; line-height: 1.9; letter-spacing: 0.05em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-line);
  margin-top: 120px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}
.site-footer__logo img { width: 154px; height: auto; display: block; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 27px;
}
.site-footer__nav a {
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  transition: opacity 0.2s;
}
.site-footer__nav a:hover { opacity: 0.6; }
.site-footer__copy {
  text-align: center;
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin: 20px 0 0;
  padding-bottom: 14px;
}

/* ---------- Responsive ---------- */
/* Production (STUDIO) uses two breakpoints: 768px (tablet) and 480px (phone/SP).
   The real SP sizing lives at 480px, so we mirror that here. */
@media screen and (max-width: 768px) {
  /* SP共通ヘッダー: 黒地・白ハンバーガー・ロゴ非表示（PCは変更なし） */
  .site-header { background: var(--c-dark); box-shadow: none; }
  .site-header__logo { display: none; }
  /* ec-productionのみ: ヘッダー左に白ロゴを表示 */
  .ec-page .site-header__logo { display: block; }
  .ec-page .site-header__logo img { filter: brightness(0) invert(1); }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto; /* ハンバーガーを右側に寄せる */
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: #fff; display: block; }

  /* 全画面ダークオーバーレイ。:target でフェード開閉（JSなし）。
     リンクタップで hash が #gnav から外れ、自動的にフェードで閉じる。 */
  .gnav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #1f2023;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: 0;
    /* 既定は非表示。開いている間だけフェードイン */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .gnav:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s;
  }
  .gnav a {
    color: #fff;
    font-size: 17px;
    letter-spacing: 0.3em;
    padding: 20px 0;
    width: 100%;
    text-align: center;
  }
  /* CONTACT も他リンクと同じ見た目（プレーンな白文字）に */
  .gnav .btn-contact {
    background: none;
    color: #fff;
    border-radius: 0;
    height: auto;
    margin: 0;
    padding: 20px 0;
    letter-spacing: 0.3em;
  }
  /* 右上の × クローズボタン（.gnav a より詳細度を上げて幅100%を打ち消す） */
  .gnav .nav-close {
    display: block;
    position: absolute;
    top: 26px; right: 24px;
    width: 36px; height: 36px;
    padding: 0;
  }
  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 32px; height: 2px;
    background: #fff;
  }
  .nav-close::before { transform: translate(-50%, -50%) rotate(45deg); }
  .nav-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

  .wrap { padding: 0 30px; }
  .section { padding: 100px 0 0; }

  /* Tablet: clients/founder logos narrow, EC reason/step grids start tightening */
  .clients__row { width: 80%; gap: 20px 30px; }
  .genres { flex-wrap: wrap; width: 80%; max-width: 80%; gap: 30px 40px; }
  .svc-grid { width: 80%; max-width: 80%; gap: 30px 40px; }
}

@media screen and (max-width: 480px) {
  /* ----- Shared SP typography (match production 480px breakpoint) ----- */
  .section { padding: 100px 0 0; }
  .section__title { font-size: 40px; }
  .section__subtitle-jp { font-size: 28px; }
  .section__lead { font-size: 14px; line-height: 2; max-width: 100%; }

  /* Vision */
  .br-sp { display: inline; }
  .vision .vision__statement { font-size: 28px; }
  .vision .vision__body { font-size: 14px; max-width: 100%; }
  /* 背面ロゴ: ロゴ上端が「しっかり持続させる〜」(下から2行目)に揃う高さへ下げる */
  .vision .vision__body::before {
    top: auto;
    bottom: -54px;
    transform: translateX(-50%);
    width: 92vw;
  }

  /* Service cards: stack 1-col */
  .services { max-width: 100%; margin: 30px auto 0; width: 80%; }
  .service-card { width: 100%; margin-bottom: 40px; padding: 0; }
  .service-card:last-child { margin-bottom: 0; }
  .service-card__pill span { font-size: 18px; }
  .service-card__pill.sm span { font-size: 14px; }
  .service-card__icon { width: 30%; }
  .service-card__text { font-size: 15px; margin-top: 20px; }

  /* Strength diagram */
  .strength__diagram { width: 100%; margin-top: 20px; }

  /* Clients */
  .clients__logos { gap: 30px; margin-top: 30px; }
  .clients__row { width: 100%; gap: 30px; justify-content: center; }

  /* Founder: stack photo on top, full-width text */
  .founder__inner { flex-direction: column; align-items: center; gap: 0; }
  .founder__photo { width: 100%; justify-content: center; }
  .founder__photo img { width: 300px; max-width: 100%; }
  .founder__detail { width: 100%; padding-left: 0; margin-top: 20px; }
  .founder__role { font-size: 14px; }
  .founder__name { font-size: 18px; }
  .founder__bio { font-size: 12px; text-align: justify; }

  /* Company table: narrower label / wider value, smaller font */
  .company__table, .company__map { width: 100%; }
  .company__row dt { width: 30%; font-size: 12px; }
  .company__row dd { width: 70%; font-size: 12px; }
  .company__map iframe { height: 140px; }

  /* Contact form */
  .contact__lead { font-size: 14px; }
  .contact-form { width: 100%; max-width: 100%; }
  .field label { font-size: 14px; }
  /* iOS Safari はフォントが16px未満の入力欄にフォーカスすると自動ズームする。
     ズーム回避のため16px以上を維持する */
  .field input, .field textarea { font-size: 16px; }
  .btn-submit { font-size: 14px; }

  /* ----- EC page SP ----- */
  .ec-page .section__title { font-size: 24px; }
  .ec-page .clients .section__title,
  .ec-page .contact .section__title { font-size: 40px; }

  /* EC hero: 背景画像をそのまま見せる（オーバーレイ透過0）。テキストは左右に余白 */
  .ec-hero {
    height: auto; min-height: 300px; padding: 100px 0 40px;
    background: linear-gradient(rgba(20, 22, 26, 0), rgba(20, 22, 26, 0)),
      url("/assets/img/ec-hero-bg.webp") center / cover no-repeat;
    background-color: #222;
  }
  .ec-hero__inner { margin: 50px 0px; padding: 0 30px; }
  .ec-hero__en { font-size: 32px; }
  .ec-hero__title { font-size: 18px; line-height: 1.7; }

  /* EC intro */
  .ec-intro__catch { font-size: 24px; }
  .ec-intro__lead { font-size: 14px; margin-top: 24px; }

  /* Worries box: 左右に余白を確保、見出しは2行 */
  .worries-box { width: auto; max-width: none; margin: 40px 20px 0; padding: 50px 18px 36px; border-width: 3px; }
  .worries-box__title { font-size: 22px; white-space: nowrap; padding: 0 14px; line-height: 1.5; }
  .worries { width: 100%; }
  .worry { font-size: 14px; align-items: flex-start; margin-bottom: 18px; }
  .worries__close { font-size: 20px; margin-top: 32px; }

  /* Reasons: stack head vertically-ish, collapse 2-col to 1-col */
  .reasons-sec { padding-bottom: 90px; }
  .reasons-sec .section__title { font-size: 24px; }
  .reasons { margin-top: 40px; }
  .reason-block { margin-bottom: 60px; }
  .reason-head { align-items: center; margin-bottom: 20px; }
  .reason-num { font-size: 48px; }
  .reason-divider { height: 40px; margin: 0 16px; }
  .reason-title { font-size: 20px; line-height: 1.5; }
  .reason-desc { font-size: 14px; }
  .reason-media img { width: 100%; }
  .reason-cols { flex-direction: column; gap: 20px; margin-top: 24px; }
  .reason-cols--reverse { flex-direction: column; }
  .reason-photo { width: 100%; max-width: 100%; }

  /* Genres: 2-col grid, smaller icons, prevent label wrap */
  .genres-sec { padding-bottom: 70px; }
  .genres-sec .section__title { font-size: 20px; }
  .genres { flex-wrap: wrap; width: 100%; max-width: 100%; gap: 28px 0; margin-top: 40px; justify-content: center; }
  .genre { width: 25%; gap: 10px; }
  .genre img { width: 64px; height: 64px; }
  .genre span { font-size: 12px; line-height: 1.4; }
  .btn-fill { height: 64px; min-width: 0; width: 100%; max-width: 320px; font-size: 16px; }

  /* Service content (teal): 12-icon grid 3-col */
  .service-content { padding-bottom: 80px; }
  .service-content .section__title { font-size: 24px; }
  .svc-grid { width: 100%; max-width: 100%; gap: 32px 0; margin-top: 40px; }
  .svc-item { width: 50%; gap: 10px; }
  .svc-item__circle { width: 80px; height: 80px; }
  .svc-item__circle img { width: 40px; height: 40px; }
  .svc-item__label { font-size: 12px; white-space: nowrap; }

  /* Steps: 1カラム縦積み。STEPラベルは縦書きのまま左に配置（本番SP準拠） */
  .steps { flex-direction: column; gap: 44px; margin-top: 40px; }
  .step { width: 100%; }
  .step__head { gap: 10px; align-items: flex-start; }
  .step__label { font-size: 18px; }
  .step__box { aspect-ratio: 25 / 12; }
  .step__box img { width: 90px; height: 90px; }
  /* title/text をボックス幅(ラベル25px + gap10px = 35px)に揃える */
  .step__title { font-size: 18px; margin: 16px 0 10px 35px; }
  .step__text { font-size: 14px; line-height: 1.9; margin-left: 35px; }

  /* FAQ */
  .faq { padding: 24px 20px; margin-bottom: 20px; }
  .faq__q { font-size: 16px; }
  .faq__a { padding: 18px 18px; font-size: 14px; }

  /* Footer: SPはコピーライトのみのシンプルなバー（ロゴ・ナビ非表示） */
  .site-footer { height: auto; padding: 18px 0; margin-top: 50px; }
  .site-footer__inner { display: none; }
  .site-footer__copy { margin: 0; padding: 0; font-size: 14px; }
}
