/* ==========================================================================
   株式会社familiar コーポレートサイト
   ========================================================================== */

:root {
  /* ---- 配色（ここを変えるとサイト全体の色が変わる） ---- */
  --navy: #161b22;          /* メインの濃色（見出し・ボタン） */
  --navy-2: #262d37;        /* メインの少し明るい色 */
  --navy-deep: #0f1318;     /* メインの最も濃い色 */
  --navy-rgb: 15, 19, 24;   /* 写真に重ねる影の色（RGB） */
  --ink: #1b1f24;
  --muted: #5c6670;
  --line: #dfe3e8;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --footer-bg: #f4f6f8;      /* フッターの背景色 */
  --accent: #e9772b;        /* アクセント色（ボタン・英字ラベル・Contact） */
  --accent-dark: #c95f17;
  --accent-deep: #b4541a;
  --accent-rgb: 233, 119, 43;
  --white: #ffffff;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Playfair Display", "Noto Sans JP", serif;

  --container: 1200px;
  --header-h: 80px;
  --radius: 0;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  color: var(--white);
}
.header.is-solid,
.header--solid {
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .02em;
}
.logo__mark { width: 34px; height: auto; flex-shrink: 0; }
.logo__ja { font-size: 11px; letter-spacing: .12em; opacity: .8; }

.gnav { display: flex; align-items: center; gap: 36px; }
.gnav__list { display: flex; gap: 32px; }
.gnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  position: relative;
  padding: 6px 0;
}
.gnav__list a .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
}
.gnav__list a .ja { font-size: 10px; opacity: .7; }
.gnav__list a::after {
  content: "";
  position: absolute; left: 50%; bottom: -4px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { width: 100%; left: 0; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0;
  transition: background .25s, transform .25s;
}
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit;
  position: relative; z-index: 120;
}
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons / headings ---------- */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  padding: 14px 0;
}
.btn-more .arrow {
  width: 48px; height: 48px;
  border-radius: 0;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn-more:hover .arrow { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateX(4px); }
.arrow svg { width: 16px; height: 16px; }

.sec-head { margin-bottom: 40px; }
.sec-head__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--navy);
}
.sec-head__ja {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.sec-head__ja::before {
  content: ""; width: 24px; height: 2px; background: var(--accent);
}
.sec-head--light .sec-head__en { color: var(--white); }
.sec-head--light .sec-head__ja { color: rgba(255,255,255,.75); }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* 上は固定ヘッダー、下は重なってくる NEWS（-64px）の分をあける（縦が短い画面で文字が隠れないように） */
  padding: calc(var(--header-h) + 40px) 0 calc(64px + 48px);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 85% 20%, rgba(var(--accent-rgb),.35), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(var(--navy-rgb),.45), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-2) 55%, var(--navy) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  animation: float 14s ease-in-out infinite;
}
.hero__ring--1 { width: 620px; height: 620px; right: -160px; top: -120px; }
.hero__ring--2 { width: 380px; height: 380px; right: 120px; bottom: -140px; border-color: rgba(var(--accent-rgb),.35); animation-delay: -5s; }
.hero__ring--3 { width: 160px; height: 160px; left: 8%; top: 18%; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 24px); }
}

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  /* 横幅だけでなく画面の高さでも上限をかける（Windows の表示倍率 125〜150% など、横長で縦が短い画面対策） */
  font-size: clamp(48px, min(9vw, 14vh), 128px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero__title .amp { color: var(--accent); font-weight: 600; }
.hero__lead {
  margin-top: 36px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.7;
}
.hero__sub {
  margin-top: 16px;
  max-width: 560px;
  font-size: 15px;
  color: rgba(255,255,255,.75);
}
.hero__scroll {
  position: absolute; left: 40px; bottom: 40px; z-index: 1;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .3em;
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.7);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 64px; background: rgba(255,255,255,.4);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
/* 本文と重なる幅では非表示（左右の余白が足りないため） */
@media (max-width: 1320px) { .hero__scroll { display: none; } }
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- News ---------- */
.news { padding: 0; position: relative; z-index: 2; }
.news__box {
  background: var(--white);
  margin-top: -64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 40px;
  padding: 36px 48px;
  box-shadow: 0 20px 50px rgba(var(--navy-rgb),.12);
  border-radius: var(--radius);
}
.news__title { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1.2; }
.news__title small { display: block; font-family: var(--font-ja); font-size: 12px; font-weight: 500; color: var(--muted); }
.news__list li { display: flex; gap: 24px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.news__list li:last-child { border-bottom: 0; }
.news__list time { font-family: var(--font-en); font-weight: 600; color: var(--muted); flex-shrink: 0; }
.news__cat {
  flex-shrink: 0; width: 6em;
  font-size: 13px; font-weight: 700; color: var(--accent-dark);
  border-right: 1px solid var(--line);
}

/* ---------- Philosophy ---------- */
.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.philosophy__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  display: grid;
  place-items: center;
  color: var(--white);
}
.philosophy__visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(var(--accent-rgb),.55), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.12), transparent 40%);
}
.philosophy__visual p {
  position: relative;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  text-align: center;
}
.philosophy__visual p span { color: var(--accent); }
.philosophy__catch {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 32px;
}
.philosophy__catch em { font-style: normal; color: var(--accent); }
.philosophy__body p + p { margin-top: 1.4em; }
.philosophy__body { color: #333a42; }

/* ---------- Business ---------- */
.business__intro {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: 40px;
}
.business__intro .sec-head { margin-bottom: 0; }
.business__intro p { max-width: 480px; color: var(--muted); }

.biz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.biz-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(var(--navy-rgb),.14); }
.biz-card__visual {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid; place-items: center;
  color: var(--white);
  overflow: hidden;
}
.biz-card__visual svg { width: 72px; height: 72px; position: relative; z-index: 1; transition: transform .5s var(--ease); }
.biz-card:hover .biz-card__visual svg { transform: scale(1.1); }
.biz-card__visual--a { background: linear-gradient(135deg, #3a2a1c, #8a5a2b 60%, var(--accent)); }
.biz-card__visual--b { background: linear-gradient(135deg, var(--navy), #1f4f7a 60%, #3b82b8); }
.biz-card__visual--c { background: linear-gradient(135deg, #1b3a33, #2f6e5e 60%, #58a68c); }
.biz-card__num {
  position: absolute; left: 20px; top: 14px;
  font-family: var(--font-en); font-weight: 800; font-size: 14px; letter-spacing: .1em;
  opacity: .85;
}
.biz-card__body { padding: 32px 32px 36px; flex: 1; display: flex; flex-direction: column; }
.biz-card__en {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .15em; color: var(--accent);
}
.biz-card__no { font-size: 13px; color: var(--navy); letter-spacing: .05em; }
.biz-card__no::after { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--navy); vertical-align: middle; margin-left: 12px; opacity: .4; }
.biz-card__title { font-size: 22px; font-weight: 700; color: var(--navy); margin: 6px 0 16px; line-height: 1.5; }
.biz-card__text { font-size: 14px; color: var(--muted); line-height: 1.9; flex: 1; }
.biz-card__link {
  margin-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .1em;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.biz-card__link .arrow { width: 36px; height: 36px; border-radius: 0; background: var(--navy); color: var(--white); display: grid; place-items: center; transition: background .3s; }
.biz-card:hover .biz-card__link .arrow { background: var(--accent); }


/* ---------- About cards ---------- */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  transition: border-color .3s, background .3s;
}
.about-card:hover { border-color: var(--navy); background: var(--bg-soft); }
.about-card__en { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1.2; }
.about-card__ja { font-size: 14px; color: var(--muted); margin-top: 6px; }
.about-card .arrow { position: absolute; right: 28px; bottom: 28px; width: 40px; height: 40px; border-radius: 0; border: 1px solid var(--navy); display: grid; place-items: center; color: var(--navy); transition: background .3s, color .3s; }
.about-card:hover .arrow { background: var(--navy); color: var(--white); }

/* ---------- Big link banners (Company / Contact) ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; }
.banner {
  position: relative;
  min-height: 340px;
  display: flex; align-items: center;
  padding: 48px clamp(24px, 6vw, 96px);
  color: var(--white);
  overflow: hidden;
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  transition: transform .8s var(--ease);
}
.banner--contact::before { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); }
.banner:hover::before { transform: scale(1.06); }
.banner__inner { position: relative; width: 100%; }
.banner__en { font-family: var(--font-en); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.banner__ja { font-weight: 700; margin-top: 12px; }
.banner__text { margin-top: 20px; font-size: 14px; opacity: .85; max-width: 420px; }
.banner .arrow {
  position: absolute; right: 0; bottom: 0;
  width: 64px; height: 64px; border-radius: 0; border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.banner:hover .arrow { background: var(--white); color: var(--navy); }

/* ---------- Page header (sub pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(var(--accent-rgb),.3), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy-2));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero__en { font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 7vw, 96px); line-height: 1; }
.page-hero__ja { margin-top: 16px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.page-hero__ja::before { content: ""; width: 24px; height: 2px; background: var(--accent); }

.breadcrumb { padding: 18px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Company table ---------- */
.subsec + .subsec { margin-top: 80px; }
.subsec__title {
  font-size: 26px; font-weight: 700; color: var(--navy);
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 20px; margin-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}
.subsec__title small { font-family: var(--font-en); font-size: 13px; color: var(--accent); letter-spacing: .15em; font-weight: 700; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 28px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 240px; font-weight: 700; color: var(--navy); background: var(--bg-soft); }
.info-table td a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.info-table__note { display: block; margin-top: 6px; font-size: 0.875em; color: var(--muted); }
.officer-list li { display: grid; grid-template-columns: 180px 1fr; }
.officer-list li + li { margin-top: 6px; }
.officer-list .role { color: var(--muted); }
.biz-list { display: grid; grid-template-columns: repeat(3, max-content); gap: 6px 40px; }
.biz-list li { position: relative; padding-left: 16px; }
.biz-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--accent); }
@media (max-width: 640px) {
  .biz-list { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
}

.officers { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 56px; margin-top: 48px; }
.officer__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-soft);
}
.officer__photo::before {
  content: attr(data-initial);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(var(--navy-rgb),.25);
  font-size: 88px; font-weight: 900;
}
.officer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.officer__photo:has(img)::before { display: none; }
.officer__role { font-size: 13px; color: var(--accent-dark); font-weight: 700; }
.officer__name { font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 2px; letter-spacing: .1em; }

.access { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-top: 40px; align-items: start; }
.access__map { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access dl { margin: 0; }
.access dt { font-weight: 700; color: var(--navy); margin-top: 20px; }
.access dt:first-child { margin-top: 0; }
.access dd { margin: 4px 0 0; color: #333a42; }

/* ---------- Business detail ---------- */
.biz-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.biz-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 700; color: var(--navy); transition: background .3s, color .3s;
}
.biz-nav a:hover { background: var(--navy); color: var(--white); }
.biz-nav small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .15em; color: var(--accent); }

.biz-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.biz-detail + .biz-detail { margin-top: 96px; }
.biz-detail--rev .biz-detail__visual { order: 2; }
.biz-detail__visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius); position: relative; overflow: hidden;
  display: grid; place-items: center; color: var(--white);
}
.biz-detail__visual svg { width: 110px; height: 110px; }
.biz-detail__visual .big-num {
  position: absolute; right: 24px; bottom: -10px;
  font-family: var(--font-en); font-weight: 800; font-size: 140px; line-height: 1; opacity: .15;
  /* Playfair の数字は「3」などが下に飛び出す字形なので、高さのそろった数字にする（03 の下が切れないように） */
  font-variant-numeric: lining-nums;
}
.biz-detail__en { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .15em; color: var(--accent); }
.biz-detail__title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--navy); line-height: 1.5; margin: 8px 0 24px; }
.biz-detail__body p + p { margin-top: 1.2em; }
.biz-detail__body { color: #333a42; }
.biz-detail__points { margin-top: 28px; display: grid; gap: 10px; }
.biz-detail__points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14px; font-weight: 700;
}
.biz-detail__points li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 9px;
}
.ext-link {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-dark); font-weight: 700; border-bottom: 1px solid currentColor;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.contact-grid > div:first-child { align-self: start; position: sticky; top: 120px; }
.contact-tel { margin-top: 8px; border-top: 2px solid var(--navy); padding-top: 28px; }
.contact-tel__en {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--accent);
}
.contact-tel__en::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.contact-tel__label { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.contact-tel__num {
  display: inline-block; margin-top: 8px;
  font-family: var(--font-en); font-weight: 800; font-size: 40px; letter-spacing: .02em; line-height: 1.2; color: var(--navy);
  transition: color .3s;
}
.contact-tel__num:hover { color: var(--accent); }
.contact-tel__info { margin-top: 24px; font-size: 13px; }
.contact-tel__info div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-tel__info div:last-child { border-bottom: 1px solid var(--line); }
.contact-tel__info dt { font-weight: 700; color: var(--navy); }
.contact-tel__info dd { color: var(--muted); }

.form-row { margin-bottom: 28px; }
.form-row label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.req { font-size: 11px; background: var(--accent); color: var(--white); padding: 1px 8px; border-radius: 0; }
.opt { font-size: 11px; background: var(--line); color: var(--muted); padding: 1px 8px; border-radius: 0; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.form-row textarea { min-height: 200px; resize: vertical; }
.form-agree { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 32px 0; font-size: 14px; }
.form-agree a { color: var(--accent-dark); text-decoration: underline; }
.btn-submit {
  display: block; width: 100%; max-width: 360px; margin: 0 auto;
  padding: 18px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--navy); color: var(--white); font: inherit; font-weight: 700; font-size: 16px;
  transition: background .25s;
}
.btn-submit:hover { background: var(--accent); }
.form-msg { margin-top: 20px; text-align: center; font-weight: 700; }
.form-msg.is-ok { color: #1d7a4f; }
.form-msg.is-err { color: #c0392b; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 20px; color: var(--navy); margin: 48px 0 12px; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.5; }
.prose p, .prose ul { color: #333a42; }
.prose ul { list-style: disc; padding-left: 1.4em; margin: .6em 0; }
.prose ol { list-style: decimal; padding-left: 1.6em; margin: .6em 0; color: #333a42; }
.prose ol ol { list-style: lower-roman; margin: .4em 0; }
.prose ol ol ol { list-style: lower-alpha; }
.prose li { margin: .35em 0; }
.prose a { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--ink); padding: 64px 0 28px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer .logo { color: var(--navy); }
.footer__addr { margin-top: 20px; font-size: 13px; line-height: 1.9; }
.footer__nav { display: flex; gap: 64px; }
.footer__nav h3 { font-family: var(--font-en); font-size: 12px; color: var(--accent); letter-spacing: .15em; margin-bottom: 14px; }
.footer__nav li { font-size: 14px; }
.footer__nav li + li { margin-top: 8px; }
.footer__nav a:hover { color: var(--accent-dark); }
.footer__bottom {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted);
}

.pagetop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 0;
  background: var(--navy); color: var(--white); border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, background .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--accent); }
.pagetop svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s !important; }
.reveal-delay-2 { transition-delay: .2s !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .header__inner { padding: 0 24px; }
  .gnav__list { gap: 22px; }
  .biz-cards, .about-cards { grid-template-columns: 1fr 1fr; }
  .philosophy__grid, .biz-detail, .contact-grid, .access { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid > div:first-child { position: static; }
  .biz-detail--rev .biz-detail__visual { order: 0; }
  .philosophy__visual { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 110;
    background: var(--navy); color: var(--white);
    flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .gnav { opacity: 1; visibility: visible; }
  body.menu-open .header { color: var(--white); }
  .gnav__list { flex-direction: column; gap: 22px; text-align: center; }
  .gnav__list a .en { font-size: 26px; }
  .gnav__list a .ja { font-size: 12px; }
  .news__box { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .banners { grid-template-columns: 1fr; }
  .banner { min-height: 260px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .header__inner { padding: 0 16px; }
  .logo__ja { display: none; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .hero__scroll { display: none; }
  .business__intro { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .biz-cards, .about-cards, .biz-nav { grid-template-columns: 1fr; }
  .biz-nav { margin-bottom: 48px; }
  .news__list li { flex-wrap: wrap; gap: 4px 12px; }
  .news__list li span:last-child { width: 100%; }
  .info-table, .info-table tbody, .info-table tr { display: block; width: 100%; }
  .info-table th, .info-table td { display: block; width: auto; padding: 14px 16px; }
  .info-table td { overflow-wrap: anywhere; }
  .info-table th { border-bottom: 0; }
  .officer-list li { grid-template-columns: 1fr; }
  .subsec + .subsec { margin-top: 56px; }
  .biz-detail + .biz-detail { margin-top: 64px; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 44px; }
  .footer { padding: 48px 0 24px; }
  .footer__nav { gap: 40px; flex-wrap: wrap; }
  .contact-tel__num { font-size: 32px; }
}

/* ---------- Photos ---------- */
.visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.biz-card:hover .visual-img { transform: scale(1.05); }
.biz-detail__visual { box-shadow: 0 24px 50px rgba(var(--navy-rgb),.15); }
.biz-detail__visual .big-num { z-index: 1; color: var(--white); opacity: .85; text-shadow: 0 4px 24px rgba(0,0,0,.35); }

/* Hero */
.hero__slides { position: absolute; inset: 0; }
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero__photo.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb),.82) 0%, rgba(var(--navy-rgb),.55) 40%, rgba(var(--navy-rgb),.05) 75%),
    linear-gradient(0deg, rgba(var(--navy-rgb),.45), transparent 35%);
}

/* Philosophy */
.philosophy__visual::before { display: none; }
.philosophy__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--navy-rgb),.85));
}
.philosophy__visual p {
  position: absolute; left: 0; right: 0; bottom: 8%; z-index: 1;
  font-size: clamp(28px, 3.4vw, 44px);
}

/* Banners */
.banner__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.banner:hover .banner__photo { transform: scale(1.06); }
.banner::before { z-index: 1; opacity: .86; transition: opacity .5s; }
.banner:hover::before { transform: none; opacity: .78; }
.banner--navy::before { background: linear-gradient(135deg, var(--navy-deep), var(--navy-2) 60%, var(--navy-2)); }
.banner--contact::before { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); opacity: 1; }
.banner__inner { z-index: 2; }

/* Page hero (sub pages) */
.page-hero--photo { background: var(--navy); }
.page-hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(var(--navy-rgb),.9), rgba(var(--navy-rgb),.55));
}
.page-hero .container { position: relative; z-index: 2; }

@media (max-width: 860px) {
  .hero__overlay { background: linear-gradient(180deg, rgba(var(--navy-rgb),.75), rgba(var(--navy-rgb),.88)); }
}
@media (max-width: 640px) {
  .officers { grid-template-columns: 1fr 1fr; gap: 16px; }
  .officer__photo::before { font-size: 56px; }
  .officer__name { font-size: 18px; }
}

.banners--single { grid-template-columns: 1fr; }
.banners--single .banner { min-height: 300px; padding-left: max(40px, calc((100vw - var(--container)) / 2 + 40px)); padding-right: max(40px, calc((100vw - var(--container)) / 2 + 40px)); }
/* Contact：右側に手紙の写真、左のオレンジから写真へ溶け込ませる */
.banner--contact { background: var(--accent-dark); }
.banner__photo--side { left: auto; right: 0; width: 55%; object-position: 50% 50%; }
.banner--contact::before {
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent-dark) 45%, rgba(var(--accent-rgb),.55) 62%, rgba(var(--accent-rgb),0) 85%);
}
.banner--contact:hover::before { opacity: 1; }
@media (max-width: 640px) {
  .banner__photo--side { width: 100%; }
  .banner--contact::before { background: linear-gradient(90deg, rgba(var(--accent-rgb),.95), rgba(var(--accent-rgb),.7)); }
}
.banners--single .banner .arrow { position: static; margin-top: 28px; }

/* Contact ページ上部：右側に手紙の写真、左のネイビーから写真へ溶け込ませる */
.page-hero--side .page-hero__photo { left: auto; right: 0; width: 60%; object-position: 50% 50%; }
.page-hero--side::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb),1) 0%, rgba(var(--navy-rgb),1) 40%, rgba(var(--navy-rgb),.5) 58%, rgba(var(--navy-rgb),.15) 85%);
}
@media (max-width: 640px) {
  .page-hero--side .page-hero__photo { width: 100%; }
  .page-hero--side::before { background: linear-gradient(90deg, rgba(var(--navy-rgb),.9), rgba(var(--navy-rgb),.6)); }
}


/* 英字見出し（Playfair Display）の字間調整 */
.hero__title, .sec-head__en, .page-hero__en, .banner__en { letter-spacing: -.01em; }

/* 「&」だけは読みやすい直立のセリフ体に（Playfair の & は装飾が強いため） */
.hero__title .amp, .philosophy__visual p span { font-family: "Noto Serif JP", serif; font-weight: 700; }

/* Who we are（見出し＋リンクカードのみ） */
.section--links { padding: 80px 0; }
@media (max-width: 640px) { .section--links { padding: 56px 0; } }
