/* ============================================================
   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", "ヒラギノ角ゴ W7 JIS2004", "Hiragino Kaku Gothic Pro", sans-serif;
  --font-jp: "ヒラギノ角ゴ W7 JIS2004", "Hiragino Kaku Gothic Pro", "Yu Gothic",
    "游ゴシック", "Meiryo", sans-serif;
  --font-jp-w3: "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic Pro", "Yu Gothic",
    "游ゴシック", "Meiryo", sans-serif;
  --maxw: 1024px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; 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; }

.nav-toggle { 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;
}

/* ---------- Service cards ---------- */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 40px auto 60px;
  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;
}
.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: 0; }
.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 { color: #005876; font-weight: 400; flex: none; }
.worry em { font-style: normal; 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;
}

/* ---------- Scroll reveal ---------- */
/* Only hide initially when JS is active (html.js); otherwise always visible. */
html.js .reveal { opacity: 0.1; transform: translateY(40px); transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 768px) {
  .gnav { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: #333; display: block; }
  .gnav.is-open {
    display: flex;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-left: 0;
    padding: 10px 0 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  }
  .gnav.is-open a { padding: 16px 0; width: 100%; text-align: center; }
  .gnav.is-open .btn-contact { width: auto; margin-left: auto; margin-right: auto; padding: 0 30px; }

  .section { padding: 100px 0 0; }
  .section__title { font-size: 40px; }
  .vision .vision__statement { font-size: 28px; }
  .service-card { width: 100%; margin-bottom: 40px; }
  .founder__inner { flex-direction: column; gap: 24px; }
  .founder__photo, .founder__detail { width: 100%; justify-content: center; }
  .founder__photo { display: flex; }
  .company__table, .company__map { width: 100%; }
  .contact-form { width: 100%; }
  .reason { width: 100%; }
  .ec-hero__title { font-size: 32px; }
  .site-footer__inner { flex-direction: column; gap: 20px; padding: 0 24px; }
}
