@charset "UTF-8";

/* ============ reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

/* ============ tokens ============ */
:root {
  --ink:        #181818;
  --body:       #333333;
  --muted:      rgba(0, 0, 0, .5);
  --rule:       rgba(0, 0, 0, .15);
  --rule-strong:rgba(0, 0, 0, .3);
  --hero-ink:   #37474f;
  --surface:    #eef1f5;
  --dark:       #333333;

  --sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en:    Figtree, "Helvetica Neue", Arial, sans-serif;

  --header-h: 80px;
  --business-bg: linear-gradient(147deg, rgba(32, 174, 229, .76) 0%, #003894 100%);
}

body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: .04em;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}

/* ============ layout ============ */
.wrap      { width: min(1209px, 100% - 120px); margin-inline: auto; }
.wrap-wide { width: min(1351px, 100% - 140px); margin-inline: auto; }

/* 見出しブロック: 英字 + 和文 */
.sec-head__en {
  font-family: var(--en);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--ink);
}
.sec-head__ja {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 5px;
  color: var(--muted);
  margin-top: 8px;
}
.sec-head__en--sm { font-size: 46px; }
.on-dark .sec-head__en { color: #fff; }
.on-dark .sec-head__ja { color: rgba(255, 255, 255, .6); }

.lead-body { font-size: 15px; line-height: 28px; letter-spacing: .04em; }
.on-dark .lead-body { color: rgba(255, 255, 255, .9); }

/* ============ header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-inline: 40px;
  background: rgba(255, 255, 255, .1);
  border-bottom: 1px solid var(--rule-strong);
  backdrop-filter: blur(10px);
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); }
.site-header__logo img { width: 279px; height: auto; }

.gnav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.gnav__link {
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: normal;
  color: var(--ink);
  padding: 4px 10px;
  transition: opacity .2s;
}
.gnav__link:hover { opacity: .6; }
.gnav__cta {
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  padding: 10px 28px;
  transition: opacity .2s;
}
.gnav__cta:hover { opacity: .8; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1px; width: 26px; margin: 6px auto;
  background: var(--ink); transition: transform .3s, opacity .3s;
}
.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); }

/* SPメニュー: 右からせり出す濃色パネルと、背面を暗くするスクリム */
.sp-menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .4);
  display: none;
}
.sp-menu.is-open { display: block; }
.sp-menu__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(300px, 80%);
  background: var(--dark);
  overflow-y: auto;
  animation: sp-menu-in .25s ease;
}
@keyframes sp-menu-in { from { transform: translateX(100%); } }

.sp-menu__close {
  display: flex; align-items: center; justify-content: flex-end;
  width: 100%; height: var(--header-h);
  padding: 0 22px;
  background: none; border: 0;
  color: #fff;
  cursor: pointer;
}
.sp-menu__close svg { width: 22px; height: 22px; }

.sp-menu__list { border-top: 1px solid rgba(255, 255, 255, .1); }
.sp-menu__panel a {
  display: flex; align-items: center; justify-content: space-between;
  height: 46px;
  padding: 0 20px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--serif);
  font-size: 14px; line-height: 25.2px; letter-spacing: 1.4px;
  color: #fff;
}
.sp-menu__panel a svg { width: 7px; height: 12px; flex: none; color: rgba(255, 255, 255, .3); }

@media (prefers-reduced-motion: reduce) { .sp-menu__panel { animation: none; } }

/* ============ hero ============ */
.hero {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("img/hero-3840.webp") center / cover no-repeat;
}
.hero__inner { position: relative; padding-bottom: 16px; }
.hero__company {
  font-size: 17px; font-weight: 600; line-height: 26px; letter-spacing: 1.5px;
  color: var(--ink);
}
.hero__title {
  font-family: var(--en);
  font-weight: 600;
  font-size: 82px;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--hero-ink);
  text-shadow: 2px 0 5px rgba(185, 227, 255, .6), 0 0 10px rgba(185, 227, 255, .25);
  margin-top: 14px;
}
.hero__tagline {
  font-family: var(--serif);
  font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 7px;
  color: var(--ink);
  margin-top: 26px;
}

/* ============ philosophy ============ */
.philosophy { padding: 74px 0 0; }
.philosophy__grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 0 54px;
  align-items: start;
}
.philosophy__grid > :nth-child(2) { padding-top: 20px; }
.philosophy__lead {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600; line-height: 46px; letter-spacing: 2px;
  color: var(--body);
}
.philosophy__body { margin-top: 20px; }
.philosophy__figure {
  /* 本文コンテナ（min(1209px, 100% - 120px)）の 80%、上限 1000px */
  width: min(1000px, calc(min(1209px, 100% - 120px) * .8));
  margin: 74px auto 0;
  aspect-ratio: 1350 / 580;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.philosophy__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/philosophy-2400.webp") center / cover no-repeat;
}

/* ============ business ============ */
.business {
  background: var(--business-bg);
  margin-top: -200px;
  padding: 290px 0 86px;
  color: #fff;
}
.business__grid { display: grid; grid-template-columns: 410px 1fr; gap: 0 78px; }
.business__grid > :nth-child(2) { padding-top: 30px; }
.business__item + .business__item { margin-top: 22px; }
.business__num {
  font-family: var(--en);
  font-size: 24px; font-weight: 600; line-height: 24px; letter-spacing: 0;
  color: rgba(255, 255, 255, .5);
  display: flex; align-items: center; gap: 20px;
}
.business__num::after {
  content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .4);
}
.business__title {
  font-size: 21px; font-weight: 600; line-height: 36px; letter-spacing: 1.5px;
  color: #fff;
  margin: 14px 0 0 44px;
}
.business__desc { margin: 6px 0 0 44px; color: rgba(255, 255, 255, .9); }

/* ============ member ============ */
.member { padding: 74px 0; }
.member__head { display: flex; align-items: baseline; gap: 24px; }
.member__head .sec-head__ja { margin-top: 0; }
.member__list {
  margin-top: 36px;
  display: flex;
  gap: 40px;
  justify-content: center;
}
.member__card { width: 304px; }
.member__photo {
  width: 304px; height: 304px;
  position: relative;
  overflow: hidden;
}
.member__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/member-miyanari.webp") center / cover no-repeat;
}
.member__body { background: var(--surface); padding: 25px 25px 60px; }
.member__role {
  font-family: var(--serif);
  font-size: 12px; font-weight: 400; line-height: 18px; letter-spacing: 1.5px;
  color: var(--muted);
}
.member__name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: 3px;
  color: var(--ink);
  margin-top: 4px;
}

/* ============ メンバー詳細モーダル ============ */
.member__card { display: block; color: inherit; }
a.member__card { transition: opacity .25s; }
a.member__card:hover { opacity: .82; }

.member-modal {
  width: 1000px;
  max-width: calc(100% - 40px);
  height: 600px;
  max-height: calc(100% - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.member-modal::backdrop { background: rgba(0, 0, 0, .5); }

.member-modal__panel {
  position: relative;
  height: 100%;
  background: #fff;
  padding: 60px 60px 10px;
  display: grid;
  grid-template-columns: 410px 410px;
  gap: 0 60px;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
}
.member-modal__photo { width: 410px; height: 299px; object-fit: cover; }

.member-modal__role {
  font-family: var(--serif);
  font-size: 15px; font-weight: 400; line-height: 30px; letter-spacing: 1.5px;
  color: var(--body);
  margin-top: 10px;
}
.member-modal__name {
  font-family: var(--serif);
  font-size: 25px; font-weight: 600; line-height: 37.5px; letter-spacing: 2.5px;
  color: var(--body);
}
.member-modal__bio {
  margin-top: 17px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.member-modal__bio p {
  font-size: 15px; line-height: 27px; letter-spacing: 1.5px;
  color: var(--body);
}
.member-modal__bio p + p { margin-top: 10px; }

/* 現行サイト同様、アイコンは左端に固定でラベルはボタン中央に置く */
.member-modal__back {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-top: 60px;
  width: 139px; height: 43px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: 128px;
  font-family: var(--en);
  font-size: 15px; line-height: 15px; letter-spacing: normal;
  color: var(--body);
  cursor: pointer;
  transition: background .2s;
}
.member-modal__back:hover { background: var(--surface); }
.member-modal__back svg { position: absolute; left: 15px; width: 13px; height: 13px; }

.member-modal__close {
  position: absolute;
  top: -15px; right: -15px;
  z-index: 2;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: 50%;
  color: var(--body);
  cursor: pointer;
  transition: background .2s;
}
.member-modal__close:hover { background: #fff; }
.member-modal__close svg { width: 20px; height: 20px; }

/* ============ company ============ */
.company { background: var(--surface); padding: 100px 0 70px; }
.company > .wrap, .contact-cta > .wrap { padding-inline: 20px; }
.company__grid {
  display: grid;
  grid-template-columns: 527px 1fr;
  gap: 0 104px;
  align-items: start;
}
.company__table { margin-top: 38px; border-top: 1px solid var(--rule); }
.company__row {
  display: grid;
  grid-template-columns: 91px 1fr;
  gap: 0 15px;
  padding: 15px 0 16px 5px;
  border-bottom: 1px solid var(--rule);
}
.company__label {
  font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: 1.2px;
  color: var(--body);
  padding-top: 5px;
}
.company__value { font-size: 15px; line-height: 26px; letter-spacing: .04em; color: var(--body); }
.company__figure {
  aspect-ratio: 725 / 516;
  margin-top: -30px;
  /* 現行サイト同様、右端はビューポートの端まで抜ける */
  margin-right: calc(-20px - max(60px, (100vw - var(--sbw, 0px) - 1209px) / 2));
  position: relative;
  overflow: hidden;
}
.company__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/company-1600.webp") center / cover no-repeat;
}

/* ============ contact 誘導 ============ */
.contact-cta { background: var(--dark); padding: 74px 0 86px; }
.contact-cta__grid { display: grid; grid-template-columns: 527px 1fr; gap: 0 58px; align-items: start; }
.contact-cta__body { padding-top: 10px; }
.btn-pill {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  height: 61px;
  margin-top: 28px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 128px;
  font-size: 15px; font-weight: 600; line-height: 21px; letter-spacing: 1.5px;
  color: var(--body);
  transition: opacity .25s;
}
.btn-pill:hover { opacity: .82; }
.btn-pill__arrow { position: absolute; right: 28px; width: 8px; height: 14px; }

/* ============ footer ============ */
.site-footer { padding: 80px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 290px 290px; gap: 0 20px; }
.site-footer__logo img { width: 260px; height: auto; }
.site-footer__address { margin-top: 18px; font-size: 15px; line-height: 28px; letter-spacing: .04em; }
.fnav li + li { margin-top: 10px; }
.fnav a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: 1.5px;
  color: var(--body);
  transition: opacity .2s;
}
.fnav a:hover { opacity: .6; }
.fnav svg { width: 7px; height: 12px; flex: none; color: rgba(0, 0, 0, .3); }
.site-footer__bar {
  margin-top: 72px;
  height: 80px;
  border-top: 1px solid var(--rule-strong);
  display: flex; align-items: center;
}
.site-footer__bar .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1209px, 100% - 120px); }
.site-footer__copy {
  font-family: var(--en);
  font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--body);
}
.site-footer__privacy { font-size: 13px; letter-spacing: 1.5px; }

/* ============ 下層ページ ============ */
.page-hero {
  position: relative;
  padding: 132px 0 0;
  overflow: hidden;
}
/* 下層ページの見出しは行間が広い */
.page-hero .sec-head__en { line-height: 1.06; }
.page-hero .sec-head__ja { line-height: 30px; margin-top: 10px; }
.page-hero__blob {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.page-hero__blob--1 {
  width: 868px; height: 732px; top: -216px; right: -80px; opacity: .6;
  background: linear-gradient(90deg, #cde6f7 0%, #9abcec 42%, #7b94e3 77%, #a3a0e8 100%);
}
.page-hero__blob--2 {
  width: 617px; height: 300px; top: 200px; right: -430px; opacity: .4;
  background: linear-gradient(135deg, #92a2ff 0%, #a8a7e9 100%);
}
.page-hero .wrap { position: relative; }

.breadcrumb {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  font-size: 13px; line-height: 20px; letter-spacing: 1.5px;
}
.breadcrumb ol { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb svg { width: 12px; height: 12px; color: rgba(0, 0, 0, .3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }

/* ============ フォーム ============ */
.contact-body { padding: 74px 0 92px; }
.contact-body__intro, .form-card { width: min(990px, 100%); margin-inline: auto; }
.contact-body__intro h2 {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600; line-height: 36px; letter-spacing: 3px;
  color: var(--ink);
}
.contact-body__intro p { margin-top: 10px; }

.form-card {
  margin-top: 40px;
  background: var(--surface);
  border-radius: 20px;
  padding: 80px;
}
.field + .field { margin-top: 30px; }
.field__label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 15px; font-weight: 600; line-height: 21px; letter-spacing: 2px;
  color: var(--ink);
}
.field__badge {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: 1px;
  color: #fff; background: var(--dark);
  border-radius: 3px; padding: 4px 7px;
}
.field__control {
  margin-top: 10px;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: 0;
  padding: 10px 16px;
  font-size: 15px; line-height: 28px; letter-spacing: 1px;
  color: var(--body);
}
.field__control:focus-visible { outline: 2px solid #7b94e3; outline-offset: 1px; }
textarea.field__control { height: 200px; resize: vertical; }

.privacy-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 14px; line-height: 27px; letter-spacing: 2px;
  color: var(--body);
  text-decoration: underline;
}
.privacy-link svg { width: 12px; height: 12px; }

.agree { display: flex; align-items: center; gap: 10px; margin-top: 20px; line-height: 27px; }
.agree label { font-family: var(--serif); font-size: 14px; letter-spacing: 2px; color: var(--ink); }

.form-actions { margin-top: 50px; }
.btn-submit {
  position: relative;
  width: 100%; height: 68px;
  background: var(--dark);
  border: 0; border-radius: 128px;
  color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: 6px;
  cursor: pointer;
  transition: opacity .25s;
}
.btn-submit:hover:not(:disabled) { opacity: .85; }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }
.btn-submit__arrow { position: absolute; right: 28px; top: 50%; translate: 0 -50%; width: 8px; height: 14px; }

.form-status { margin-top: 18px; font-size: 14px; line-height: 26px; letter-spacing: 1px; min-height: 26px; }
.form-status[data-state="error"] { color: #c0392b; }

/* ============ thanks / 404 ============ */
.simple-page { padding: 52px 0 96px; text-align: center; }
.simple-page__en {
  font-family: var(--en); font-weight: 600; font-size: 46px; line-height: 1.06; letter-spacing: 0; color: var(--ink);
}
.simple-page__ja {
  font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 5px;
  color: var(--muted); margin-top: 10px;
}
.simple-page__body { margin-top: 38px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 38px;
  font-size: 15px; font-weight: 500; letter-spacing: 1.5px;
}
.back-link svg { width: 8px; height: 14px; rotate: 180deg; color: rgba(0, 0, 0, .4); }

/* ============ privacy 本文 ============ */
.legal { padding: 52px 0 88px; }
.legal h2 {
  font-family: var(--serif);
  font-size: 20px; font-weight: 700; line-height: 34px; letter-spacing: 3px;
  color: var(--ink);
  margin-top: 46px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 16px; }
.legal ul { margin-top: 12px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: "・"; position: absolute; left: 0; }
.legal dl { margin-top: 16px; }
.legal dt { font-weight: 600; margin-top: 14px; }
.legal a { text-decoration: underline; word-break: break-all; }
.legal__date { margin-top: 46px; }

/* ============ スクロール表示アニメーション ============ */
.appear { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.appear.is-in { opacity: 1; transform: none; }

/* 図版はフェードインに合わせて画像が寄りから引きに戻る */
.philosophy__figure::before,
.company__figure::before,
.member__photo::before {
  transform: scale(1.18);
  transition: transform 1.6s cubic-bezier(.22, .61, .36, 1);
}
.philosophy__figure.is-in::before,
.company__figure.is-in::before,
.member__card.is-in .member__photo::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .appear { opacity: 1; transform: none; transition: none; }
  .philosophy__figure::before,
  .company__figure::before,
  .member__photo::before { transform: none; transition: none; }
}

/* ============ レスポンシブ ============ */
/* Studio 版のブレークポイント: 1140 / 840 / 540 / 360 */

@media (max-width: 1140px) {
  .hero__title { font-size: 68px; }
  .philosophy__grid, .business__grid, .company__grid, .contact-cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .philosophy__grid > :nth-child(2), .business__grid > :nth-child(2) { padding-top: 0; }
  .company__table, .contact-cta__body { margin-top: 0; }
  .company__figure { margin-top: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 840px) {
  .wrap, .wrap-wide, .site-footer__bar .wrap { width: min(100% - 56px, 720px); }
  .company > .wrap, .contact-cta > .wrap { padding-inline: 0; }
  .gnav { display: none; }
  .nav-toggle { display: block; }
  .hero { height: 600px; }
  .hero__inner { padding-top: 0; padding-bottom: 0; }  /* タブレット以下は上下中央のまま */
  .hero__title { font-size: 58px; }
  .hero__tagline { font-size: 16px; letter-spacing: 6px; }
  .sec-head__en, .sec-head__en--sm { font-size: 40px; }
  .philosophy { padding-top: 64px; }
  .philosophy__lead { font-size: 23px; line-height: 40px; }
  .philosophy__figure { width: min(100% - 56px, 720px); margin-top: 64px; aspect-ratio: 324 / 201; }
  .business { margin-top: -160px; padding: 216px 0 64px; }
  .business__title, .business__desc { margin-left: 0; }
  .member, .contact-cta { padding: 64px 0; }
  .company { padding: 64px 0; }
  .company__figure { margin-right: 0; aspect-ratio: 324 / 201; }
  .form-card { padding: 40px 28px; border-radius: 14px; }
  .member-modal { height: auto; }
  .member-modal__panel { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; }
  .member-modal__photo { width: 100%; max-width: 410px; height: auto; }
  .member-modal__back { margin-top: 36px; }
  .contact-body { padding: 64px 0 80px; }
  .page-hero { padding-top: 128px; }
  .site-footer { padding-top: 64px; }
  .site-footer__bar { margin-top: 48px; }
}

@media (max-width: 540px) {
  .wrap, .wrap-wide, .site-footer__bar .wrap,
  .philosophy__figure { width: min(100% - 54px, 480px); }

  body { font-size: 14px; line-height: 26px; letter-spacing: .04em; }
  .lead-body, .philosophy__body, .business__desc,
  .site-footer__address { font-size: 14px; line-height: 26px; letter-spacing: .04em; }

  .site-header { padding-inline: 20px; }
  .site-header__logo img { width: 200px; }

  .hero { height: 600px; }
  .hero__company { font-size: 14px; line-height: 19.6px; letter-spacing: 1.4px; }
  .hero__title { font-size: 50px; }
  /* 端末幅で折り返しが変わらないよう、スマホでは1単語ずつ改行する
     （単語をブロックにするので、PC 用の <br> は消す） */
  .hero__word { display: block; }
  .hero__br { display: none; }
  .hero__tagline { font-size: 14px; line-height: 19.6px; letter-spacing: 4.2px; margin-top: 20px; }

  .sec-head__en, .sec-head__en--sm, .page-hero .sec-head__en { font-size: 35px; }
  .sec-head__ja, .page-hero .sec-head__ja { font-size: 13px; line-height: 21px; letter-spacing: 4px; }
  .simple-page__en { font-size: 35px; }
  .simple-page__ja { font-size: 13px; letter-spacing: 4px; }

  .philosophy { padding-top: 64px; }
  .philosophy__lead { font-size: 20px; line-height: 34px; letter-spacing: 1.5px; }
  .philosophy__figure { margin-top: 56px; }

  .business__num { font-size: 20px; line-height: 20px; }
  .business__title { font-size: 18px; line-height: 30px; letter-spacing: 1.2px; margin-top: 14px; }

  /* メンバーは写真とテキストが横並びになる */
  .member__list { margin-top: 32px; }
  /* 写真はカードの高さと一致させる（余白を入れない） */
  .member__card {
    width: 100%;
    display: grid;
    grid-template-columns: 107px 1fr;
    gap: 0 20px;
    align-items: center;
    background: var(--surface);
    padding: 0;
  }
  .member__photo { width: 107px; height: 107px; }
  .member__body { background: none; padding: 0; }

  /* 現行サイト同様、オフィス写真は CONTACT セクションに 121px 食い込む。
     セクションの下パディング 80px を打ち消す分を上乗せしている */
  .company__figure { margin-bottom: -185px; position: relative; z-index: 1; }
  /* 食い込んだ写真が見出しに重ならないよう、CONTACT の上余白を広く取る
     （食い込み 121px + 見出しまでの間隔 120px） */
  .contact-cta { padding: 241px 0 64px; }
  .company__row { grid-template-columns: 1fr; padding-left: 0; gap: 4px; }
  .company__label { font-size: 12px; line-height: 18px; letter-spacing: 1.2px; padding-top: 0; }

  .btn-pill { font-size: 14px; letter-spacing: 1.4px; }
  /* ロゴ・住所は全幅、ナビ2つは横並びにする */
  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 30px; column-gap: 16px; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__bar { height: auto; padding: 20px 0; }
  .site-footer__bar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }

  .form-card { padding: 28px 20px; }
  .field__label { font-size: 14px; }
  .btn-submit { letter-spacing: 4px; }
  .breadcrumb { font-size: 12px; }
}

/* ============ 画像の解像度出し分け ============ */
/*
 * ヒーローは横長画像(2.33:1)を縦長のボックスに cover で入れるため、
 * 必要な解像度が CSS 幅よりずっと大きくなる。
 * 例: 390x650 の画面を DPR3 で見ると、cover 後の実寸は 4544x1950 相当。
 * そのためモバイル・タブレットには可視領域だけを切り出した専用画像を使う
 * （縦長にクロップしてあるので、高解像度でもファイルは小さい）。
 */
@media (max-width: 1400px) {
  .philosophy__figure::before { background-image: url("img/philosophy-1400.webp"); }
}
@media (max-width: 840px) {
  .hero__bg { background-image: url("img/hero-tablet.webp"); }
}
@media (max-width: 540px) {
  .hero__bg { background-image: url("img/hero-mobile.webp"); }
  .philosophy__figure::before { background-image: url("img/philosophy-1000.webp"); }
  .company__figure::before { background-image: url("img/company-900.webp"); }
}
