/* ==========================================================================
   株式会社鳥谷部建設工業 — Static site stylesheet
   ========================================================================== */

:root {
  --c-main: #769599;
  --c-main-dark: #55757a;
  --c-main-deep: #2f4649;
  --c-main-light: #b0e0e6;
  --c-main-pale: #eef6f7;
  --c-text: #1b2426;
  --c-text-soft: #55646a;
  --c-bg: #fdfdfd;
  --c-bg-alt: #f5f7f7;
  --c-line: #dde5e6;
  --c-accent: #c9604f;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 84px;
  --radius: 6px;
  --shadow-s: 0 2px 10px rgba(30, 55, 60, .08);
  --shadow-m: 0 14px 40px rgba(30, 55, 60, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-main-dark); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--c-main); }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.5; margin: 0; }
p { margin: 0 0 1.4em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-main-light); outline-offset: 3px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 860px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-main-deep); color: #fff; padding: 10px 18px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 30, 33, .55), rgba(14, 30, 33, 0));
  transition: background .35s, height .35s, box-shadow .35s, color .35s;
}
.site-header.is-scrolled {
  height: 68px;
  color: var(--c-text);
  background: rgba(253, 253, 253, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(30, 55, 60, .1);
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
}
.site-logo {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em;
  color: inherit; display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.site-logo:hover { color: inherit; opacity: .8; }
.site-logo__mark {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-main); color: #fff; font-size: 1rem; font-weight: 700;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
.gnav { display: flex; align-items: center; gap: 36px; }
.gnav__list { display: flex; gap: 6px; }
.gnav__link {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-serif); font-weight: 600; letter-spacing: .1em; font-size: .95rem; color: inherit;
}
.gnav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--c-main-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.gnav__link:hover, .gnav__link[aria-current="page"] { color: inherit; }
.gnav__link:hover::after, .gnav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-scrolled .gnav__link::after { background: var(--c-main); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 44px; border: 2px solid var(--c-main); border-radius: 2px;
  background: var(--c-main); color: #fff; font-family: var(--font-serif); font-weight: 700; letter-spacing: .12em;
  position: relative; overflow: hidden; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 6px 18px rgba(85, 117, 122, .28); text-align: center; line-height: 1.5;
}
.btn::after { content: "→"; transition: transform .3s var(--ease); }
.btn:hover { background: var(--c-main-dark); border-color: var(--c-main-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(85, 117, 122, .38); }
.btn:hover::after { transform: translateX(5px); }
.btn--outline { background: transparent; color: var(--c-main-dark); box-shadow: none; }
.btn--outline:hover { background: var(--c-main); color: #fff; }
.btn--small { padding: 10px 26px; font-size: .9rem; }
.btn--small::after { content: none; }
.btn--tel::after { content: "☎"; }
.btn--tel:hover::after { transform: rotate(-14deg); }
.btn--block { width: 100%; }
.site-header .btn--small { border-color: #fff; background: transparent; color: #fff; box-shadow: none; }
.site-header .btn--small:hover { background: #fff; color: var(--c-main-dark); }
.site-header.is-scrolled .btn--small { border-color: var(--c-main); background: var(--c-main); color: #fff; }
.site-header.is-scrolled .btn--small:hover { background: var(--c-main-dark); border-color: var(--c-main-dark); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; position: relative; z-index: 130;
}
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] { color: #fff; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.sp-menu {
  position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none;
}
.sp-menu__overlay { position: absolute; inset: 0; background: rgba(14, 30, 33, .6); opacity: 0; transition: opacity .35s; }
.sp-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 340px);
  background: linear-gradient(160deg, var(--c-main-deep), #223436);
  color: #fff; padding: 96px 32px 40px; transform: translateX(100%); transition: transform .45s var(--ease);
  overflow-y: auto;
}
.sp-menu.is-open { visibility: visible; pointer-events: auto; }
.sp-menu.is-open .sp-menu__overlay { opacity: 1; }
.sp-menu.is-open .sp-menu__panel { transform: none; }
.sp-menu__title { font-family: var(--font-serif); letter-spacing: .3em; font-size: .8rem; opacity: .6; margin-bottom: 18px; }
.sp-menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.sp-menu__list a { display: block; padding: 16px 4px; color: #fff; font-family: var(--font-serif); font-weight: 600; letter-spacing: .1em; }
.sp-menu__list a[aria-current="page"] { color: var(--c-main-light); }
.sp-menu__cta { margin-top: 32px; }
.sp-menu__cta .btn { width: 100%; background: #fff; color: var(--c-main-deep); border-color: #fff; box-shadow: none; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: #223436;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 70%, rgba(14, 30, 33, .65), transparent 60%),
    linear-gradient(180deg, rgba(14, 30, 33, .45), rgba(14, 30, 33, .35) 50%, rgba(14, 30, 33, .6));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 4px 4px;
}
.hero__body { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-serif); letter-spacing: .3em; font-size: .85rem;
  margin-bottom: 26px; opacity: 0; animation: fadeUp 1s .2s var(--ease) forwards;
}
.hero__eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--c-main-light); }
.hero__title {
  font-size: clamp(2.4rem, 6.6vw, 5rem); font-weight: 900; letter-spacing: .12em; line-height: 1.3; margin-bottom: 26px;
  text-shadow: 1px 2px 12px rgba(0, 0, 0, .35);
  opacity: 0; animation: fadeUp 1.1s .4s var(--ease) forwards;
}
.hero__title span { background: linear-gradient(transparent 78%, rgba(176, 224, 230, .45) 78%); }
.hero__text {
  font-family: var(--font-serif); font-size: clamp(1.05rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 2.1; letter-spacing: .08em;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, .4); margin-bottom: 40px;
  opacity: 0; animation: fadeUp 1.1s .65s var(--ease) forwards;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: fadeUp 1.1s .9s var(--ease) forwards; }
.hero__actions .btn--outline { color: #fff; border-color: #fff; }
.hero__actions .btn--outline:hover { background: #fff; color: var(--c-main-dark); }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; border: 0; background: none;
  font-family: var(--font-serif); letter-spacing: .3em; font-size: .72rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(#fff, transparent); animation: scrollLine 2s infinite; transform-origin: top; }
.hero__scroll:hover { color: var(--c-main-light); }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Page title (inner pages) ---------- */
.page-title {
  position: relative; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden;
  min-height: 340px; padding-top: var(--header-h); background: #223436;
}
.page-title__bg { position: absolute; inset: 0; }
.page-title__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-title::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 30, 33, .5), rgba(47, 70, 73, .55));
}
.page-title::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .3;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.4px); background-size: 4px 4px;
}
.page-title__body { position: relative; z-index: 2; padding: 40px 28px 56px; }
.page-title h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: .2em; animation: fadeUp 1s .1s var(--ease) both; }
.page-title h1::after { content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0; background: var(--c-main-light); }

.breadcrumb { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); font-size: .82rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-top: 12px; padding-bottom: 12px; color: var(--c-text-soft); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: var(--c-main); }
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb a:hover { color: var(--c-main-dark); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 104px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--pale { background: var(--c-main-pale); }
.section--tight { padding: 72px 0; }

.section-title { position: relative; margin-bottom: 36px; }
.section-title__text { display: inline-block; position: relative; z-index: 1; font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: .1em; color: var(--c-main); }
.section-title__text::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; background: linear-gradient(90deg, var(--c-main), var(--c-main-light)); }
.section-title::before {
  content: attr(data-number); position: absolute; left: -14px; top: -62px; z-index: 0;
  font-family: var(--font-serif); font-weight: 900; font-size: 8.5rem; line-height: 1; letter-spacing: -.02em;
  color: var(--c-main-light); opacity: .35; pointer-events: none;
}
.section-title--center { text-align: center; }
.section-title--center::before { left: 50%; transform: translateX(-50%); }
.section-title--center .section-title__text::after { margin-left: auto; margin-right: auto; }

.lead { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; line-height: 1.8; margin-bottom: 16px; }
.lead-center { text-align: center; }
.prose p { color: var(--c-text); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.split--reverse { grid-template-columns: 1.15fr 1fr; }
.split--reverse .split__media { order: -1; }
.split__body .btn { margin-top: 14px; }

.frame { position: relative; z-index: 0; }
.frame::before {
  content: ""; position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 72%; height: 72%;
  background: var(--c-main-light); opacity: .55; border-radius: var(--radius);
}
.split--reverse .frame::before, .frame--left::before { right: auto; left: -18px; }
.frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-m); aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.frame:hover img { transform: translateY(-4px); }
.frame--wide img { aspect-ratio: 16 / 10; }

/* ---------- Company info ---------- */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.info-list { border-top: 1px solid var(--c-line); margin-bottom: 28px; }
.info-list__row { display: grid; grid-template-columns: 8.5em 1fr; gap: 20px; padding: 17px 6px; border-bottom: 1px solid var(--c-line); }
.info-list dt { font-weight: 700; color: var(--c-main-dark); font-family: var(--font-serif); letter-spacing: .08em; }
.info-list dd { margin: 0; }
.map { min-height: 340px; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-m); background: var(--c-main-pale); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Cards (blog) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card {
  display: flex; flex-direction: column; height: 100%; color: var(--c-text);
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); color: var(--c-text); }
.card__thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-main-pale); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.07); }
.card__cat {
  position: absolute; left: 0; bottom: 0; background: var(--c-main); color: #fff; font-size: .75rem; letter-spacing: .12em; padding: 3px 14px;
}
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; transition: color .25s; }
.card:hover .card__title { color: var(--c-main-dark); }
.card__excerpt { font-size: .88rem; color: var(--c-text-soft); line-height: 1.8; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__date { margin-top: auto; font-size: .8rem; color: var(--c-main); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.card__date::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; border-top-color: transparent; transform: rotate(45deg); opacity: .8; }
.section-action { text-align: center; margin-top: 52px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 96px 0; text-align: center; overflow: hidden; background: var(--c-main-pale); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .78); }
.cta .container { position: relative; z-index: 2; }
.cta__title { color: var(--c-main); font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: .1em; margin-bottom: 14px; }
.cta__text { margin-bottom: 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Feature rows (about) ---------- */
.work-bg { position: relative; overflow: hidden; }
.work-bg__img { position: absolute; inset: 0; z-index: 0; }
.work-bg__img img { width: 100%; height: 100%; object-fit: cover; }
.work-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(253, 253, 253, .88); }
.work-bg > .container { position: relative; z-index: 2; }
.feature { padding: 28px 0; }
.feature + .feature { border-top: 1px dashed var(--c-line); }
.feature__no { font-family: var(--font-serif); font-weight: 900; font-size: 1rem; letter-spacing: .3em; color: var(--c-main); margin-bottom: 6px; }
.feature__title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 18px; }
.feature__title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--c-main-light); }

/* ---------- Timeline (recruit) ---------- */
.timeline { position: relative; max-width: 780px; margin: 48px auto 0; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-main-light), var(--c-main)); }
.timeline__item { position: relative; padding: 0 0 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -36px; top: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--c-main); box-shadow: 0 0 0 5px rgba(176, 224, 230, .45);
}
.timeline__time { display: inline-block; background: var(--c-main); color: #fff; font-family: var(--font-serif); font-weight: 700; letter-spacing: .08em; padding: 0 16px; border-radius: 30px; font-size: .9rem; margin-bottom: 8px; }
.timeline__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 4px 0; }
.timeline__text { margin: 0; color: var(--c-text-soft); }

.subhead { display: flex; align-items: center; gap: 16px; font-size: 1.5rem; font-weight: 700; color: var(--c-main-dark); margin: 0 0 28px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.subhead::before { content: ""; width: 10px; height: 28px; background: var(--c-main); border-radius: 2px; }

.spec { border-top: 2px solid var(--c-main); background: #fff; box-shadow: var(--shadow-s); border-radius: 0 0 var(--radius) var(--radius); }
.spec__row { display: grid; grid-template-columns: 13em 1fr; border-bottom: 1px solid var(--c-line); }
.spec__row:last-child { border-bottom: 0; }
.spec dt { margin: 0; padding: 20px 24px; font-weight: 700; font-family: var(--font-serif); color: var(--c-main-deep); background: var(--c-main-pale); letter-spacing: .06em; }
.spec dd { margin: 0; padding: 20px 28px; }
.spec dd p { margin: 0 0 .6em; }
.spec dd p:last-child { margin-bottom: 0; }
.spec dd ul li { position: relative; padding-left: 1.2em; }
.spec dd ul li::before { content: "・"; position: absolute; left: 0; color: var(--c-main); font-weight: 700; }
.spec .note { font-size: .88rem; color: var(--c-text-soft); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point { background: #fff; border-radius: var(--radius); padding: 32px 28px 30px; box-shadow: var(--shadow-s); border-top: 4px solid var(--c-main); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.point:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.point__no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-main); color: #fff; font-family: var(--font-serif); font-weight: 700; margin-bottom: 14px; }
.point__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; color: var(--c-main-deep); }
.point li { position: relative; padding-left: 1.7em; margin-bottom: 8px; font-size: .94rem; line-height: 1.8; }
.point li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--c-main); border-bottom: 2px solid var(--c-main); transform: rotate(-45deg); }

.apply { text-align: center; }
.apply__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 28px; }

/* ---------- Contact form ---------- */
.notice { background: var(--c-main-pale); border-left: 4px solid var(--c-main); padding: 22px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 44px; font-size: .94rem; }
.notice p { margin: 0 0 .3em; }
.notice p:last-child { margin: 0; }
.form { background: #fff; padding: 44px 48px; border-radius: var(--radius); box-shadow: var(--shadow-m); }
.form__group { margin-bottom: 28px; }
.form__label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; font-family: var(--font-serif); letter-spacing: .05em; }
.badge-req { background: var(--c-accent); color: #fff; font-size: .7rem; font-family: var(--font-sans); padding: 1px 10px; border-radius: 20px; letter-spacing: .1em; font-weight: 500; }
.form__control {
  width: 100%; padding: 14px 16px; font-size: 1rem; color: var(--c-text); background: var(--c-bg-alt);
  border: 2px solid transparent; border-radius: 4px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.form__control:hover { background: #fff; border-color: var(--c-line); }
.form__control:focus { outline: 0; background: #fff; border-color: var(--c-main); box-shadow: 0 0 0 4px rgba(176, 224, 230, .5); }
.form__control[aria-invalid="true"] { border-color: var(--c-accent); background: #fff6f4; }
textarea.form__control { min-height: 200px; resize: vertical; }
.form__error { color: var(--c-accent); font-size: .85rem; margin-top: 6px; min-height: 1.2em; }
.form__submit { text-align: center; margin-top: 12px; }
.form__submit .btn { min-width: 280px; cursor: pointer; font-size: 1rem; }
.form__done { display: none; text-align: center; padding: 44px 20px; }
.form__done.is-shown { display: block; animation: fadeUp .8s var(--ease); }
.form__done-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--c-main); color: #fff; font-size: 2.2rem; box-shadow: 0 0 0 10px rgba(176, 224, 230, .45); }
.form__done h2 { font-size: 1.6rem; margin-bottom: 14px; color: var(--c-main-dark); }
.form.is-sent form { display: none; }

/* ---------- Blog article ---------- */
.article__head { margin-bottom: 36px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--c-main); font-size: .85rem; letter-spacing: .08em; margin-bottom: 14px; }
.article__cat { background: var(--c-main); color: #fff; padding: 2px 14px; font-size: .75rem; letter-spacing: .12em; }
.article__title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; line-height: 1.55; }
.article__thumb { margin-bottom: 40px; }
.article__thumb img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-m); aspect-ratio: 16 / 9; object-fit: cover; }
.article__body h2 { font-size: 1.45rem; margin: 2.2em 0 .9em; padding: .2em 0 .2em 18px; border-left: 6px solid var(--c-main); background: linear-gradient(90deg, var(--c-main-pale), transparent); }
.article__body p { margin-bottom: 1.3em; }
.article__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.article__gallery img { border-radius: var(--radius); box-shadow: var(--shadow-s); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.article__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--c-line); }
.article__nav a { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 20px; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text); background: #fff; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.article__nav a:hover { border-color: var(--c-main); transform: translateY(-3px); box-shadow: var(--shadow-s); }
.article__nav small { color: var(--c-main); letter-spacing: .12em; font-size: .72rem; }
.article__nav .is-next { text-align: right; }
.article__nav .is-center { align-items: center; justify-content: center; text-align: center; background: var(--c-main); color: #fff; border-color: var(--c-main); padding: 14px 28px; }
.article__nav .is-center:hover { background: var(--c-main-dark); color: #fff; }
.article__nav .is-empty { visibility: hidden; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 50%; border: 1px solid var(--c-line);
  font-family: var(--font-serif); font-weight: 700; color: var(--c-main-dark); background: #fff; transition: all .3s var(--ease);
}
.pagination a:hover { background: var(--c-main-pale); border-color: var(--c-main); }
.pagination .is-current { background: var(--c-main); color: #fff; border-color: var(--c-main); }
.pagination .is-wide { border-radius: 30px; }

/* ---------- Privacy ---------- */
.legal h2 { font-size: 1.3rem; margin: 2.4em 0 .8em; padding-bottom: .4em; border-bottom: 2px solid var(--c-main-light); color: var(--c-main-deep); }
.legal ul { margin: 0 0 1.4em; }
.legal li { position: relative; padding-left: 1.2em; }
.legal li::before { content: "・"; position: absolute; left: 0; color: var(--c-main); }
.legal__date { text-align: right; color: var(--c-text-soft); margin-top: 3em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: linear-gradient(160deg, var(--c-main-deep), #1f3033); color: rgba(255, 255, 255, .86); padding: 72px 0 0; font-size: .92rem; }
.site-footer a { color: rgba(255, 255, 255, .86); }
.site-footer a:hover { color: var(--c-main-light); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding-bottom: 52px; }
.footer__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer__address { font-style: normal; line-height: 2; }
.footer__nav-title { font-family: var(--font-serif); letter-spacing: .3em; font-size: .75rem; color: var(--c-main-light); margin-bottom: 14px; }
.footer__nav li { margin-bottom: 4px; }
.footer__nav a { display: inline-flex; gap: 8px; padding: 4px 0; }
.footer__nav a::before { content: "›"; color: var(--c-main-light); }
.copyright { text-align: center; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; letter-spacing: .1em; opacity: .75; }

.pagetop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--c-main); color: #fff; box-shadow: var(--shadow-m); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .3s;
}
.pagetop.is-shown { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--c-main-dark); }
.pagetop::before { content: ""; width: 12px; height: 12px; border-left: 3px solid #fff; border-top: 3px solid #fff; transform: translateY(3px) rotate(45deg); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr; }
  .gnav__list { gap: 0; }
  .gnav { gap: 18px; }
}
@media (max-width: 900px) {
  .gnav { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { padding: 0 16px 0 20px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .company-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .site-logo { font-size: 1.02rem; letter-spacing: .04em; }
  .site-logo__mark { width: 30px; height: 30px; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-title::before { font-size: 6rem; top: -44px; }
  .info-list__row { grid-template-columns: 1fr; gap: 2px; }
  .spec__row { grid-template-columns: 1fr; }
  .spec dt { padding: 12px 18px; }
  .spec dd { padding: 16px 18px; }
  .form { padding: 28px 20px; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav .is-empty { display: none; }
  .article__nav .is-next { text-align: left; }
  .article__gallery { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .frame::before { right: -10px; bottom: -10px; }
  .split--reverse .frame::before, .frame--left::before { left: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__title, .hero__text, .hero__actions { opacity: 1; }
}
