@charset "UTF-8";

/* =========================================================
   株式会社叶夢 — common stylesheet
   Simple / tech style, sky-blue theme
   ========================================================= */

/* ---------- design tokens ---------- */
:root {
  --sky: #00a8e8;
  --sky-strong: #0077b6;
  --sky-deep: #005b8f;
  --sky-light: #e8f6fd;
  --sky-line: #bfe6f7;
  --ink: #10222f;
  --ink-soft: #405260;
  --gray: #6b7c88;
  --line: #e2e9ee;
  --bg: #ffffff;
  --bg-tint: #f4f9fc;
  --navy: #07171f;
  --navy-2: #0d2532;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(6, 46, 70, .10);
  --shadow-soft: 0 8px 22px rgba(6, 46, 70, .07);
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

/* 横スクロール防止
   overflow-x:hidden はスクロールコンテナを生成しページ内アンカーが
   先頭へ飛ぶ原因になるため、コンテナを作らない clip を使用 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  position: relative;
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

body.is-locked { overflow: hidden; }

img,
svg,
iframe { max-width: 100%; display: block; }

img { height: auto; }

a { color: var(--sky-strong); text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--sky); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

table { border-collapse: collapse; width: 100%; max-width: 100%; table-layout: fixed; }

/* グリッド／フレックス内の子要素がはみ出さないようにする */
.cards > *,
.duo > *,
.split > *,
.detail__grid > *,
.anchor-nav > *,
.choice-grid > *,
.footer__top > *,
.gnav__inner > * { min-width: 0; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */
.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}
.container--narrow { width: min(880px, 100% - 40px); }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--bg-tint); }
.section--grid {
  background-color: var(--bg-tint);
  background-image:
    linear-gradient(to right, rgba(0, 168, 232, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 168, 232, .07) 1px, transparent 1px);
  background-size: 56px 56px;
}

.fullbleed { width: 100%; }

/* スマホ時のみ改行する <br> / PC時のみ改行する <br> */
.br-sp { display: none; }
.br-pc { display: inline; }

/* section heading */
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { text-align: center; }

.sec-head__en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sky-strong);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}
.sec-head__en::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sky);
}
.sec-head--center .sec-head__en::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sky);
}

.sec-head__title {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
}
.sec-head__lead {
  margin-top: 18px;
  color: var(--ink-soft);
}

.text-block > * + * { margin-top: 1.4em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn__arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .25s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(120deg, var(--sky) 0%, var(--sky-strong) 100%);
  color: #fff;
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #fff; color: var(--sky-strong); transform: translateY(-2px); }

.btn--outline {
  background: #fff;
  color: var(--sky-strong);
  border: 1px solid var(--sky-line);
}
.btn--outline:hover { border-color: var(--sky); transform: translateY(-2px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-row--center { justify-content: center; }

/* ---------- header / hamburger ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120; /* メニュー(.gnav)より前面に置き、開いている間もロゴと×ボタンを表示 */
  height: var(--header-h);
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 20, 28, .55), rgba(4, 20, 28, 0));
  opacity: 1;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.header.is-scrolled {
  background: rgba(7, 23, 31, .5); /* 半透明：背後のコンテンツがうっすら透ける */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
.header.is-scrolled::before { opacity: 0; }

/* メニューを開いている間はヘッダー背景を透過（オーバーレイと一体に見せる） */
body.is-locked .header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.is-locked .header::before { opacity: 0; }

.header__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo { display: block; line-height: 0; }
.header__logo img {
  width: clamp(224px, 26vw, 300px);
  height: auto;
}

.hamburger {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 23, 31, .28);
  backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.hamburger:hover { background: rgba(7, 23, 31, .5); border-color: rgba(255, 255, 255, .8); }

.hamburger__bars {
  position: relative;
  width: 24px;
  height: 14px;
  flex: none;
}
.hamburger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease);
}
.hamburger__bars span:nth-child(1) { top: 0; }
.hamburger__bars span:nth-child(2) { top: 6px; width: 70%; }
.hamburger__bars span:nth-child(3) { top: 12px; }

.hamburger__label {
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
}
.hamburger__label .is-close { display: none; }

.hamburger[aria-expanded="true"] { background: rgba(7, 23, 31, .45); border-color: rgba(255, 255, 255, .7); }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(2) { opacity: 0; width: 0; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.hamburger[aria-expanded="true"] .hamburger__label .is-open { display: none; }
.hamburger[aria-expanded="true"] .hamburger__label .is-close { display: inline; }

/* ---------- global navigation (overlay) ---------- */
.gnav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: linear-gradient(150deg, var(--navy) 0%, #0b2c3d 55%, var(--sky-deep) 140%);
  padding: calc(var(--header-h) + 24px) 0 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.gnav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.gnav__inner {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-content: start;
}

.gnav__list { display: grid; gap: 4px; }

.gnav__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
/* ホバー・タップ時は色を変えず、わずかな移動のみでフィードバック */
.gnav__link:hover,
.gnav__link:focus-visible { color: #fff; padding-left: 18px; }
.gnav__link[aria-current="page"] { padding-left: 18px; }

.gnav__num {
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sky);
}
.gnav__en {
  margin-left: auto;
  font-family: "Arial", sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}

.gnav__side {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.9;
  padding-top: 24px;
}
.gnav__side dt {
  font-family: "Arial", sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--sky);
  font-weight: 700;
}
.gnav__side dd + dt { margin-top: 18px; }
.gnav__side a { color: #fff; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__img--sp { display: none; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 22, 32, .84) 0%, rgba(4, 22, 32, .58) 48%, rgba(0, 119, 182, .35) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; color: #fff; }
.hero__en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #7fdcff;
  margin-bottom: 22px;
}
.hero__en::before { content: ""; width: 34px; height: 2px; background: #7fdcff; }

.hero__title {
  font-size: clamp(28px, 5.6vw, 56px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}
.hero__title .accent {
  background: linear-gradient(transparent 66%, rgba(0, 168, 232, .55) 66%);
}
.hero__lead {
  margin-top: 26px;
  max-width: 44em;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hero__btns { margin-top: 38px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Arial", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .8);
  display: grid;
  justify-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .8), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(.2); transform-origin: top; opacity: .2; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: .2; }
}

/* ---------- page head (lower pages) ---------- */
.page-head {
  position: relative;
  min-height: clamp(240px, 34vw, 380px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 48px;
  background: var(--navy);
  overflow: hidden;
}
.page-head__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 22, 32, .82) 0%, rgba(0, 91, 143, .62) 100%);
}
.page-head__inner { position: relative; z-index: 2; color: #fff; }
.page-head__en {
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #7fdcff;
  display: block;
  margin-bottom: 10px;
}
.page-head__title {
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}

/* breadcrumb */
.breadcrumb {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--sky-line); }

/* ---------- cards (home 3 columns) ---------- */
.cards {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-line); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__num {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 16px;
  background: rgba(0, 119, 182, .92);
  color: #fff;
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}
.card__text { font-size: 15px; color: var(--ink-soft); flex: 1; }
.card__more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sky-strong);
}
.card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- about (split fullbleed) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.split__media { position: relative; min-height: 320px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px);
  background: var(--bg-tint);
}
.split__inner { max-width: 560px; }
.split--reverse .split__media { order: 2; }

/* ---------- service list (home 01-05) ---------- */
.svc-list { display: grid; gap: 18px; }
.svc-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 24px;
  align-items: start;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.svc-item__num {
  grid-row: 1 / span 2;   /* 見出し＋本文の高さに対して縦中央に配置 */
  align-self: center;
  font-family: "Arial", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sky);
  letter-spacing: .02em;
}
.svc-item__title { font-size: 19px; font-weight: 700; line-height: 1.6; }
.svc-item__text { grid-column: 2; font-size: 15px; color: var(--ink-soft); }

/* ---------- service page detail ---------- */
.detail { display: grid; gap: clamp(56px, 7vw, 96px); }
.detail__block { scroll-margin-top: calc(var(--header-h) + 24px); }

.detail__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--sky-line);
  margin-bottom: 28px;
}
.detail__num {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--sky), var(--sky-strong));
  color: #fff;
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.detail__title { font-size: clamp(21px, 2.8vw, 30px); font-weight: 700; line-height: 1.5; }

.detail__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.detail__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sky-light);
}
.detail__figure img { width: 100%; height: 100%; object-fit: cover; }

.callout {
  margin-top: 28px;
  padding: 28px 30px;
  background: var(--sky-light);
  border-radius: var(--radius);
  border: 1px solid var(--sky-line);
}
.callout__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sky-deep);
  margin-bottom: 12px;
}
.callout p { font-size: 15px; color: var(--ink-soft); }

.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--sky);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(.45em + 6px);
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--gray);
  padding-left: 1.1em;
  text-indent: -1.1em;
}

/* index nav inside service page */
.anchor-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.anchor-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.anchor-nav a:hover { transform: translateY(-4px); border-color: var(--sky); color: var(--sky-strong); }
.anchor-nav span {
  font-family: "Arial", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--sky);
}

/* ---------- fullbleed band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: clamp(64px, 9vw, 128px) 0;
  color: #fff;
  text-align: center;
}
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 22, 32, .86) 0%, rgba(0, 91, 143, .72) 100%);
}
.band__inner { position: relative; z-index: 2; }
.band__title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}
.band__text {
  max-width: 46em;
  margin-inline: auto;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
}
.band__btns { margin-top: 36px; }

/* ---------- info / table ---------- */
.info-table {
  max-width: 880px;
  margin-inline: auto;
}
/* 会社概要・アクセスは見出しも表と同じ幅で中央に揃える */
#profile .sec-head,
#access .sec-head {
  max-width: 880px;
  margin-inline: auto;
}
.info-table th,
.info-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 220px;
  color: var(--sky-deep);
  font-weight: 700;
  background: var(--sky-light);
  white-space: nowrap;
}
.info-table tr:first-child th,
.info-table tr:first-child td { border-top: 1px solid var(--line); }

.info-card {
  display: grid;
  gap: 8px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--sky-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.info-card__name { font-size: 20px; font-weight: 700; }
.info-card__row { font-size: 15px; color: var(--ink-soft); }

/* map */
.map-frame {
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  border: 0;
  filter: grayscale(.15);
}

/* ---------- recruit / partner ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.panel__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sky-light); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: 30px clamp(22px, 3vw, 34px) 34px; }
.panel__label {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sky-light);
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.panel__title { font-size: 21px; font-weight: 700; margin-bottom: 14px; line-height: 1.6; }
.panel__body p { font-size: 15px; color: var(--ink-soft); }
.panel__body p + p { margin-top: 1.2em; }

/* ---------- form ---------- */
.form { display: grid; gap: 26px; }
.form__row { display: grid; gap: 10px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 4px;
  line-height: 1.6;
}
.badge--req { background: #e8455f; color: #fff; }
.badge--any { background: #eef3f6; color: var(--gray); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, .16);
}
.form textarea { min-height: 200px; resize: vertical; line-height: 1.8; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--sky-strong);
  flex: none;
  margin: 0;
}
.choice:hover { border-color: var(--sky); }
.choice:has(input:checked) { border-color: var(--sky); background: var(--sky-light); }

.form__privacy {
  padding: 22px 24px;
  background: var(--sky-light);
  border-radius: var(--radius);
  border: 1px solid var(--sky-line);
  font-size: 15px;
}
.form__submit { display: flex; justify-content: center; margin-top: 8px; }
.form__submit .btn { min-width: 280px; }

.form__note { font-size: 14px; color: var(--gray); }

.form-error {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fdecef;
  border: 1px solid #f3c3cc;
  color: #b3243c;
  font-size: 15px;
}
.form-error.is-visible { display: block; }

/* policy */
.policy { display: grid; gap: 28px; }
.policy__item {
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.policy__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sky-deep);
  margin-bottom: 10px;
}
.policy__item p,
.policy__item li { font-size: 15px; color: var(--ink-soft); }
.policy__item ul { margin-top: 10px; display: grid; gap: 6px; }
.policy__item ul li { padding-left: 1.1em; text-indent: -1.1em; }

/* contact direct */
.contact-lead {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--sky-light), #fff);
  border: 1px solid var(--sky-line);
}
.contact-lead__mail {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sky-deep);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  padding: clamp(52px, 6vw, 80px) 0 0;
  font-size: 15px;
}
/* 透かしロゴタイプ */
.footer::before {
  content: "KYOMU";
  position: absolute;
  right: 2%;
  bottom: -.16em;
  font-family: "Arial", sans-serif;
  font-size: clamp(78px, 17vw, 240px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__logo img { width: 288px; }
.footer__addr { margin-top: 22px; line-height: 1.9; font-size: 15px; color: #fff; }
.footer__nav {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__nav a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--sky);
  border-right: 2px solid var(--sky);
  transform: rotate(45deg);
}
.footer__nav a:hover { color: #7fdcff; }

/* 事業内容の下層リンク */
.footer__sub {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
  padding-left: 18px;
}
.footer__sub a {
  font-size: 13px;
  color: #fff;
}
.footer__sub a::before {
  width: 8px;
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, .45);
  transform: none;
}

/* PC・タブレット横はフッターナビを2列に */
@media (min-width: 861px) {
  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, auto));
    column-gap: 56px;
    align-items: start;
  }
  .footer__nav > *:nth-child(1) { grid-area: 1 / 1; }
  .footer__nav > *:nth-child(2) { grid-area: 2 / 1; }
  .footer__nav > *:nth-child(3) { grid-area: 3 / 1; }
  .footer__nav > *:nth-child(4) { grid-area: 1 / 2; }
  .footer__nav > *:nth-child(5) { grid-area: 2 / 2; }
  .footer__nav > *:nth-child(6) { grid-area: 3 / 2; }
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

/* ---------- to top ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--sky-strong));
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__figure { aspect-ratio: 16 / 9; }
  .anchor-nav { grid-template-columns: repeat(3, 1fr); }
  .gnav__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 260px; aspect-ratio: 16 / 10; }
  .duo { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }

  .header__logo img { width: clamp(196px, 56vw, 240px); }

  .br-sp { display: inline; }
  .br-pc { display: none; }

  .container,
  .container--narrow { width: min(100% - 32px, 100%); }

  .hero { min-height: 100svh; }
  .hero__img--pc { display: none; }
  .hero__img--sp { display: block; }

  .cards { grid-template-columns: 1fr; }
  .cards > :last-child:nth-child(odd) { grid-column: auto; }

  .anchor-nav { grid-template-columns: repeat(2, 1fr); }

  .svc-item { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; }
  .svc-item__num { grid-row: auto; align-self: start; font-size: 24px; }
  .svc-item__text { grid-column: 1; }

  .info-table th,
  .info-table td { display: block; width: 100%; white-space: normal; }
  .info-table th { border-bottom: 0; padding: 12px 16px; }
  .info-table td { padding: 14px 16px 20px; }
  .info-table tr:first-child td { border-top: 0; }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .form__submit .btn { min-width: 0; width: 100%; }

  .to-top { right: 12px; bottom: 12px; width: 48px; height: 48px; }

  .hamburger { padding: 9px 14px; gap: 9px; }

  .callout,
  .panel__body,
  .policy__item { padding-inline: 20px; }

  .split__body { padding-inline: 20px; }
}

@media (max-width: 400px) {
  .hamburger__label { display: none; }
  .hamburger { padding: 11px 12px; }
  .header__logo img { width: 196px; }
  .footer__logo img { width: 240px; }
}
