/* 下層ページ（COMPANY／CONTACT／PRIVACY POLICY）共通。business.css の後に読み込む。 */
.sub-page main { background: #f9f8f5; }

/* Page main (navy) */
.sp-hero .hero__art { background-position: center bottom; }
.sp-hero__content { display: flex; min-height: clamp(380px, 34vw, 480px); flex-direction: column; align-items: center; justify-content: center; padding-block: 80px 120px; text-align: center; }
.sp-hero .bp-label { margin-bottom: 30px; color: #fff; font-size: .86rem; font-weight: 700; line-height: 1.6; letter-spacing: .24em; }
.sp-hero h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.6; letter-spacing: .08em; }
.sp-hero .bp-lead { margin: 28px auto 0; color: #fff; }

/* Page main (light) */
.sp-intro { padding-block: clamp(60px, 6vw, 90px) 10px; text-align: center; }
.sp-intro h1 { margin: 0; font-size: var(--bp-h2-size); line-height: 1.5; letter-spacing: .065em; }
.sp-intro .bp-lead { margin-bottom: 0; }
.sp-intro--complete { padding-bottom: clamp(80px, 8vw, 120px); }
.sp-intro--complete .bp-lead { margin-bottom: 18px; }
.sp-error-list { display: inline-block; margin: 0 auto 36px; padding-left: 1.4em; color: #b02a2a; font-weight: 700; line-height: 2; text-align: left; }
.sp-intro__note { margin: 0 auto 42px; max-width: 640px; color: var(--muted); font-size: .86rem; line-height: 1.9; }

/* Shared parts */
.sp-card { border: 1px solid #e5e4e1; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgb(11 29 54 / 6%); }
.sp-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; border: 1px dashed #b8c1cc; border-radius: 13px; background: repeating-linear-gradient(135deg, #eef1f5 0 12px, #f6f7f9 12px 24px); color: #64758b; font-size: .9rem; font-weight: 700; text-align: center; }
.sp-placeholder small { font-size: .74rem; font-weight: 600; }
.sp-table { max-width: 900px; margin: 42px auto 0; border-top: 1px solid #d9dde3; }
.sp-table > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-bottom: 1px solid #d9dde3; }
.sp-table dt, .sp-table dd { margin: 0; padding: 22px 24px; line-height: 1.85; }
.sp-table dt { color: #315681; font-size: .92rem; font-weight: 700; letter-spacing: .05em; }
.sp-table dd { font-size: .96rem; }
.sp-form-section { padding-block: 42px clamp(80px, 8vw, 120px); }
.sp-cta .bp-vision__inner { padding-block: clamp(80px, 8vw, 115px) clamp(120px, 12vw, 175px); }
.sp-cta h2 { margin-bottom: 40px; }

/* COMPANY */
.cp-message { background: #f8faff url("../about-wave-extracted.webp") center / 100% 100% no-repeat; }
.cp-message__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1040px; margin: 48px auto 0; }
.cp-message__photo { aspect-ratio: 4 / 5; min-height: 0; }
img.cp-message__photo { display: block; height: auto; object-fit: cover; object-position: 50% 25%; }
.cp-message__body p { margin: 0; font-size: 1rem; line-height: 2.2; letter-spacing: .03em; }
.cp-name { background: #fff; }
.cp-name__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 90px); align-items: center; max-width: 1080px; }
.cp-name .bp-label, .cp-name h2 { text-align: left; }
.cp-name h2 { margin-bottom: 30px; }
.cp-name__copy > p:not(.bp-label) { margin: 0 0 14px; line-height: 2; letter-spacing: .025em; }
.cp-name__logo { display: flex; align-items: center; justify-content: center; min-height: 280px; padding: 40px; border-radius: 13px; }
.cp-name__logo img { width: min(100%, 300px); height: auto; }
.cp-philosophy__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 48px 0 0; padding: 0; }
.cp-philosophy__card { padding: 30px 24px 32px; }
.cp-philosophy__cat { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid #e1e4e8; color: #58728f; }
.cp-philosophy__cat span:first-child { font-size: 1.7rem; line-height: 1; }
.cp-philosophy__cat span:last-child { color: #315681; font-size: .76rem; font-weight: 700; letter-spacing: .16em; }
.cp-philosophy__card h3 { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.5; letter-spacing: .05em; }
.cp-philosophy__card > p:last-child { margin: 0; font-size: .9rem; line-height: 1.9; }
.cp-profile, .cp-clients { background: #fff; }
.cp-history__list { position: relative; max-width: 900px; list-style: none; margin: 48px auto 0; padding: 0; }
.cp-history__list::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 150px; width: 1px; background: #c9d2dd; }
.cp-history__list li { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); padding-block: 14px; }
.cp-history__list li::before { content: ""; position: absolute; top: 25px; left: 145px; width: 11px; height: 11px; border: 2px solid var(--navy); border-radius: 50%; background: #f9f8f5; }
.cp-history__list li:last-child::before { background: var(--navy); }
.cp-history__list time { padding-right: 28px; color: #315681; font-size: .95rem; font-weight: 700; line-height: 1.85; letter-spacing: .03em; }
.cp-history__list p { margin: 0; padding-left: 34px; line-height: 1.85; }
.cp-clients__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 48px auto 0; }
.cp-clients__card { padding: 32px 34px 34px; background: #f9f8f5; box-shadow: none; }
.cp-clients__card h3 { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #d9dde3; font-size: 1.15rem; letter-spacing: .05em; }
.cp-clients__card p { margin: 0; line-height: 2.05; }
.cp-access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; max-width: 1040px; margin: 48px auto 0; }
.cp-access__office + .cp-access__office { margin-top: 30px; padding-top: 30px; border-top: 1px solid #d9dde3; }
.cp-access__office h3 { margin: 0 0 10px; color: #315681; font-size: .95rem; letter-spacing: .08em; }
.cp-access__office p { margin: 0; line-height: 1.9; }
.cp-access__map { position: relative; min-height: 340px; overflow: hidden; }
.cp-access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CONTACT */
.ct-form { max-width: 820px; margin-inline: auto; padding: clamp(28px, 5vw, 56px) clamp(22px, 6vw, 72px); }
.ct-form__note { margin: 0 0 30px; color: var(--muted); font-size: .85rem; }
.ct-form__status { margin: 0 0 28px; padding: 16px 20px; border: 1px solid #e3b4b4; border-radius: 8px; background: #fdf3f3; color: #a12a2a; font-size: .9rem; font-weight: 700; line-height: 1.8; }
.ct-field { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.ct-field__label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font-size: .95rem; font-weight: 700; letter-spacing: .03em; }
.ct-badge { display: inline-block; padding: 3px 8px; border-radius: 3px; background: #e8ecf1; color: #4d607b; font-size: .7rem; font-weight: 700; line-height: 1.3; letter-spacing: .05em; }
.ct-badge--required { background: var(--navy); color: #fff; }
.ct-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid #cfd6df; border-radius: 6px; background: #fff; font-size: .92rem; line-height: 1.5; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.ct-choice:hover { border-color: #8396a8; }
.ct-choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.ct-choice:has(input:checked) { border-color: var(--navy); background: #f1f5fa; font-weight: 700; }
.ct-choice:has(input:focus-visible) { outline: 3px solid #55a8ff; outline-offset: 2px; }
.ct-input { display: block; width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid #cfd6df; border-radius: 6px; background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s ease; }
.ct-input::placeholder { color: #9aa6b4; }
.ct-input:hover { border-color: #8396a8; }
.ct-input:focus { border-color: var(--navy); }
.ct-input--textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.ct-field.is-invalid .ct-input, .ct-field.is-invalid .ct-choice { border-color: #c0392b; }
.ct-field__error { margin: 8px 0 0; color: #b02a2a; font-size: .84rem; font-weight: 700; }
.ct-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-form__privacy { margin: 8px 0 32px; color: var(--muted); font-size: .86rem; line-height: 1.9; text-align: center; }
.ct-form__privacy a { color: var(--blue); }
.ct-form__action { text-align: center; }
.ct-form__submit { min-width: min(100%, 320px); min-height: 62px; cursor: pointer; }
.ct-form__submit:disabled { opacity: .6; cursor: wait; }

/* PRIVACY POLICY */
.pp-body { max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 60px) clamp(22px, 6vw, 72px); }
.pp-body__lead { margin: 0 0 32px; line-height: 2; }
.pp-body__list { margin: 0; padding: 0; list-style: none; counter-reset: pp; }
.pp-body__list li { position: relative; padding: 18px 0 18px 48px; border-top: 1px solid #e1e4e8; line-height: 1.95; counter-increment: pp; }
.pp-body__list li:last-child { border-bottom: 1px solid #e1e4e8; }
.pp-body__list li::before { content: counter(pp, decimal-leading-zero); position: absolute; top: 18px; left: 0; color: #58728f; font-size: 1.05rem; line-height: 1.85; }
.pp-body__contact { margin-top: 40px; padding: 26px 28px; border-radius: 10px; background: #f9f8f5; }
.pp-body__contact h2 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: .05em; }
.pp-body__contact p { margin: 0; line-height: 1.9; }
.pp-body__contact a { color: var(--blue); }

@media (max-width: 1020px) {
  .cp-philosophy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sp-hero__content { min-height: 360px; padding-block: 70px 100px; }
  .sp-hero .hero__art { background-size: auto 100%; background-position: 70% bottom; }
  .cp-message__grid, .cp-name__grid, .cp-access__grid, .cp-clients__grid { grid-template-columns: 1fr; }
  .cp-message__grid { max-width: 560px; }
  .cp-message__photo { width: min(100%, 320px); margin-inline: auto; }
  .cp-name__grid { max-width: 560px; }
  .cp-name__logo { min-height: 200px; }
  .cp-access__map { min-height: 260px; }
  .sp-table > div { grid-template-columns: 1fr; }
  .sp-table dt { padding: 18px 4px 4px; }
  .sp-table dd { padding: 0 4px 18px; }
  .cp-history__list::before { left: 5px; }
  .cp-history__list li { grid-template-columns: 1fr; gap: 4px; padding: 12px 0 12px 32px; }
  .cp-history__list li::before { top: 19px; left: 0; }
  .cp-history__list time { padding-right: 0; }
  .cp-history__list p { padding-left: 0; }
  .cp-clients__card { padding: 26px 24px; }
  .ct-choices { grid-template-columns: 1fr; }
  .sp-form-section { padding-top: 32px; }
}
@media (max-width: 560px) {
  .sp-hero h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .cp-philosophy__grid { grid-template-columns: 1fr; }
  .pp-body__list li { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-choice, .ct-input { transition: none; }
}
