/* =========================================================
   HAJIME株式会社 コーポレートサイト
   ========================================================= */
:root {
  --orange: #c4591b;
  --orange-deep: #a8440f;
  --orange-light: #e0823a;
  --orange-pale: #f3c79a;
  --gold: #d9a45b;
  --gold-light: #f1d39a;
  --cream: #fbf6ec;
  --cream-deep: #f5ecdc;
  --ink: #3a2a1e;
  --ink-soft: #6b5646;
  --white: #fff;
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.inner { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- 背景テクスチャ ---------- */
.bg-orange {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 190, 110, .35), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(120, 40, 5, .35), transparent 60%),
    linear-gradient(135deg, #cf6a24 0%, #c1561a 45%, #b04a12 100%);
  isolation: isolate;
}
.bg-orange::before,
.bg-cream::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: url("../img/washi-dark.svg");
  mix-blend-mode: multiply;
  opacity: .9;
}

.bg-cream {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, #fffdf8, transparent 70%),
    var(--cream);
  isolation: isolate;
}
.bg-cream::before { background-image: url("../img/washi.svg"); opacity: 1; }

/* 麻の葉模様 */
.asanoha {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  pointer-events: none;
  background-image: url("../img/asanoha.svg");
  background-size: 40px 69.28px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(circle at var(--mx, 100%) var(--my, 0%), #000 0%, transparent 70%);
          mask-image: radial-gradient(circle at var(--mx, 100%) var(--my, 0%), #000 0%, transparent 70%);
}
.asanoha--tr { top: 0; right: 0; }
.asanoha--tl { top: 0; left: 0; --mx: 0%; }
.asanoha--bl { bottom: 0; left: 0; --mx: 0%; --my: 100%; }
.asanoha--br { bottom: 0; right: 0; --my: 100%; }
.bg-cream .asanoha { background-image: url("../img/asanoha-gold.svg"); opacity: .55; }

/* 金の円弧 */
.gold-rings {
  position: absolute;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  pointer-events: none;
  background: url("../img/rings.svg") center / contain no-repeat;
  opacity: .8;
}

/* 金箔の粒 */
.flakes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/leaf-gold.svg") 0 0 / 1000px 1000px;
  opacity: .7;
}
.bg-orange .flakes { background-image: url("../img/leaf-light.svg"); background-position: 300px 120px; opacity: .75; }

/* 和柄の装飾（素材：麻の葉の帯・渦巻き・光る同心円） */
.deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: center / contain no-repeat;
}
.deco--band { width: 460px; aspect-ratio: 1; background-image: url("../img/asanoha-band.svg"); opacity: .85; }
.deco--swirl { width: 420px; aspect-ratio: 1; background-image: url("../img/swirl.svg"); opacity: .9; }
.deco--glow { width: 560px; aspect-ratio: 1; background-image: url("../img/glow-rings.svg"); opacity: .75; }
.bg-orange .deco--band { opacity: .55; mix-blend-mode: screen; }

/* ---------- 見出し ---------- */
.sec-title {
  text-align: center;
  font-size: clamp(29px, 3.38vw, 39px);
  letter-spacing: .14em;
  color: var(--orange);
  padding-bottom: 14px;
  margin-bottom: 28px;
  position: relative;
}
.sec-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 260px;
  max-width: 70%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--orange) 50%, var(--gold) 85%, transparent);
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--orange);
}
.bg-orange .sec-title { color: var(--white); }
.bg-orange .sec-title::after { background: linear-gradient(90deg, transparent, var(--gold-light) 15%, #fff 50%, var(--gold-light) 85%, transparent); }
.bg-orange .sec-title::before { background: var(--gold-light); }

/* 「詳しく見る」矢印リンク */
.more {
  display: inline-block;
  position: relative;
  padding: 0 70px 12px 30px;
  font-size: 20px;
  letter-spacing: .2em;
  transition: opacity .3s;
}
.more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}
.more::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: rotate(35deg);
}
.more:hover { opacity: .7; }
.more-wrap { text-align: center; margin-top: 44px; }
.bg-cream .more { color: var(--orange); }

/* 丸矢印アイコン */
.circle-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  flex-shrink: 0;
  transition: background .3s, color .3s;
}
.circle-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}
a:hover .circle-arrow { background: var(--orange); color: var(--white); }

/* =========================================================
   トップ：ヒーロー
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 27% 1fr;
  min-height: min(760px, 100vh);
}

.hero__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 64px;
  text-align: center;
  background: linear-gradient(180deg, #fffdf8, var(--cream));
  isolation: isolate;
  overflow: hidden;
}
.hero__brand .gold-rings { width: 520px; left: -260px; top: 32%; opacity: .9; }
.hero__logo { width: 120px; }
.hero__catch { margin-top: 18px; font-size: 17px; color: var(--ink-soft); line-height: 2; }
.hero__name { margin-top: 6px; font-size: 29px; color: var(--orange-deep); letter-spacing: .1em; }

.hero__main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero__main .gold-rings { width: 380px; left: -40px; top: -170px; }
.hero__main .asanoha { width: 420px; height: 100%; }

.hero__copy {
  align-self: flex-end;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 30px;
  padding: 70px 9% 30px 0;
}
.hero__copy h1,
.hero__copy p {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
}
.hero__copy h1 {
  font-weight: 600;
  font-size: clamp(52px, 5.98vw, 83px);
  line-height: 1.2;
  letter-spacing: .18em;
  text-shadow: 0 2px 18px rgba(90, 30, 0, .35);
}
.hero__copy p {
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.9;
  letter-spacing: .14em;
  padding-top: 70px;
  text-shadow: 0 2px 12px rgba(90, 30, 0, .3);
}

.gnav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0 4% 26px;
}
.gnav a {
  position: relative;
  display: block;
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: .12em;
  padding: 4px 0;
  transition: opacity .3s;
}
.gnav a small {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  opacity: .85;
}
.gnav li + li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, .55);
}
.gnav a:hover { opacity: .7; }

/* =========================================================
   トップ：私たちについて
   ========================================================= */
.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 640px;
  background:
    linear-gradient(rgba(248, 214, 170, .62), rgba(248, 214, 170, .62)),
    url("../img/skyline-dusk.jpg") center / cover;
  overflow: hidden;
  isolation: isolate;
}
.about__photos {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.about__photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 25%; filter: sepia(.35) saturate(1.15) brightness(1.04); }
.about__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(230, 140, 60, .15), transparent 40%);
  pointer-events: none;
}
.about__body {
  position: relative;
  z-index: 1;
  width: 72%;
  padding: 72px 12% 72px 7%;
  border-radius: 0 100% 0 0 / 0 130% 0 0;
  box-shadow: 4px 0 0 var(--gold-light), 8px 0 30px rgba(120, 40, 0, .25);
  overflow: hidden;
}
.about__title {
  display: inline-block;
  font-size: 34px;
  letter-spacing: .14em;
  padding: 0 70px 12px 50px;
  margin: 0 0 36px -50px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 30%, var(--gold-light) 70%, transparent) left bottom / 100% 1px no-repeat;
}
.about__text p {
  font-size: 22px;
  line-height: 2.1;
  text-shadow: 0 1px 6px rgba(90, 30, 0, .25);
}
.about__text p + p { margin-top: 1.8em; }
.about .more-wrap { text-align: right; padding-right: 10%; }

/* =========================================================
   トップ：事業内容
   ========================================================= */
.service { padding: 90px 0 80px; overflow: hidden; }
.service__lead {
  text-align: center;
  color: var(--orange);
  font-size: clamp(21px, 2.34vw, 27px);
  font-weight: 600;
  letter-spacing: .1em;
}
.service__sub {
  margin-top: 18px;
  text-align: center;
  color: var(--orange-deep);
  font-size: 18px;
  line-height: 2;
}
.service__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
/* 事業内容カード（トップ） */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gold);
  box-shadow: 0 14px 34px rgba(160, 70, 15, .16);
  isolation: isolate;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(160, 70, 15, .26); }
.svc-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px 26px;
  overflow: hidden;
}
.svc-card__head .deco--glow { width: 380px; left: 50%; top: -120px; transform: translateX(-50%); opacity: .6; }
.svc-card__head .asanoha { width: 160px; height: 160px; }
.svc-card__num {
  display: grid;
  place-items: center;
  align-content: center;
  width: 96px;
  height: 96px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  outline: 1px solid rgba(241, 211, 154, .45);
  outline-offset: 4px;
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--white);
}
.svc-card__num small { font-size: 11px; letter-spacing: .25em; color: var(--gold-light); margin-bottom: 2px; }
.svc-card h3 { font-size: 23px; line-height: 1.6; color: var(--white); text-shadow: 0 2px 10px rgba(90, 30, 0, .3); }
.svc-card p { flex: 1; margin: 0; padding: 26px 22px 10px; font-size: 18px; line-height: 1.9; color: var(--ink); }
.svc-card__more {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 28px;
  padding: 10px 30px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: .14em;
  transition: background .3s, color .3s;
}
.svc-card__more::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.svc-card:hover .svc-card__more { background: var(--orange); color: var(--white); }

/* =========================================================
   トップ：特徴・強み
   ========================================================= */
.feature { padding: 70px 0 80px; overflow: hidden; }
.feature__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: min(900px, 100%);
  margin: 0 auto;
}
.feature-card { text-align: center; }
.feature-card__img {
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  box-shadow: 0 10px 30px rgba(80, 20, 0, .3);
}
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: sepia(.2) saturate(1.15); }
.feature-card:hover img { transform: scale(1.05); }
.feature-card h3 { margin-top: 22px; font-size: 29px; letter-spacing: .12em; }
.feature-card p { margin: 12px 0 26px; font-size: 18px; line-height: 2; opacity: .92; }

/* =========================================================
   トップ：ニュース
   ========================================================= */
.news { padding: 70px 0 30px; }
.news__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.news-card__img { aspect-ratio: 1.9 / 1; overflow: hidden; border: 1px solid var(--cream-deep); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.news-card__title { font-size: 18px; line-height: 1.6; color: var(--ink); }
.news-card__desc { font-size: 16px; color: var(--ink-soft); letter-spacing: .04em; }

/* =========================================================
   トップ：お問い合わせ
   ========================================================= */
.contact-cta { padding: 60px 0 80px; text-align: center; overflow: hidden; }
.contact-cta .gold-rings--l { width: 340px; left: -120px; bottom: -120px; }
.contact-cta .gold-rings--r { width: 400px; right: -140px; top: -20px; }
.contact-cta p { font-size: 20px; line-height: 2; color: var(--ink-soft); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 38px 16px 54px;
  border-radius: 999px;
  color: var(--white);
  font-size: 21px;
  letter-spacing: .14em;
  background: linear-gradient(135deg, #d5712a, var(--orange-deep));
  box-shadow: 0 8px 20px rgba(168, 68, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s, box-shadow .3s;
}
.btn::after {
  content: "";
  width: 34px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M0 5h32M27 1l5 4-5 4' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168, 68, 15, .45); }

/* =========================================================
   フッター
   ========================================================= */
.footer { padding: 50px 16px 30px; text-align: center; overflow: hidden; }
.footer__logo { width: 120px; margin: 0 auto; filter: brightness(0) invert(1); }
.footer__name { margin-top: 8px; font-size: 39px; letter-spacing: .1em; }
.footer__addr { margin-top: 6px; font-size: 18px; }
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.footer__nav a { display: block; padding: 0 34px; font-size: 20px; letter-spacing: .12em; transition: opacity .3s; }
.footer__nav a:hover { opacity: .7; }
.footer__nav li + li { border-left: 1px solid rgba(255, 255, 255, .6); }
.footer__sub { margin-top: 18px; font-size: 16px; opacity: .85; }
.footer__sub a { text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { margin-top: 30px; font-size: 16px; letter-spacing: .1em; }

/* =========================================================
   下層ページ共通
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 4%;
  background: rgba(251, 246, 236, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(217, 164, 91, .5);
}
.site-header__brand { display: flex; align-items: center; gap: 12px; color: var(--orange-deep); font-size: 23px; letter-spacing: .1em; }
.site-header__brand img { width: 52px; }
.site-header nav ul { display: flex; }
.site-header nav a {
  display: block;
  padding: 2px 18px;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  transition: color .3s;
}
.site-header nav a small { display: block; font-size: 12px; color: var(--orange); letter-spacing: .12em; }
.site-header nav li + li { border-left: 1px solid rgba(196, 89, 27, .3); }
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--orange); }

.menu-toggle { display: none; }

.page-hero { padding: 80px 0 70px; text-align: center; overflow: hidden; }
.page-hero small { display: block; font-size: 17px; letter-spacing: .3em; color: var(--gold-light); }
.page-hero h1 { font-size: clamp(36px, 4.42vw, 52px); letter-spacing: .18em; }

.breadcrumb { padding: 14px 0; font-size: 16px; color: var(--ink-soft); }
.breadcrumb a { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }

.page-body { padding: 40px 0 100px; overflow: hidden; }

/* 左寄せ下線見出し */
.label-title {
  display: inline-block;
  margin-bottom: 34px;
  padding: 0 40px 6px 14px;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: .14em;
  background: linear-gradient(90deg, var(--orange-light), rgba(224, 130, 58, .2)) left bottom / 100% 1.5px no-repeat;
}

.block + .block { margin-top: 100px; }

/* 会社概要：ビジョン */
.vision { text-align: center; }
.vision__en { font-size: 17px; letter-spacing: .3em; color: var(--gold); }
.vision h2 { margin: 6px 0 26px; font-size: clamp(34px, 3.9vw, 47px); letter-spacing: .2em; color: var(--orange-deep); }
.vision p { font-size: 20px; line-height: 2.2; }
.vision p + p { margin-top: 1.6em; }

.brand { text-align: center; }
.brand__logo { width: 240px; margin: 0 auto 34px; }
.brand h3 { margin-bottom: 18px; font-size: 25px; color: var(--orange); letter-spacing: .14em; }
.brand p { font-size: 20px; line-height: 2.2; }
.brand p + p { margin-top: 1.8em; }

.profile { width: min(760px, 100%); margin: 0 auto; }
.profile table { width: 100%; border-collapse: collapse; font-size: 20px; }
.profile th,
.profile td { padding: 20px 16px; border-bottom: 1px solid rgba(217, 164, 91, .5); text-align: left; vertical-align: top; line-height: 1.9; }
.profile th { width: 28%; color: var(--orange-deep); font-weight: 600; letter-spacing: .14em; }
.profile tr:first-child th,
.profile tr:first-child td { border-top: 1px solid rgba(217, 164, 91, .5); }
.profile a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* 弊社特徴：4つの特徴 */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 60px; }
.reason {
  padding: 26px 30px 30px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--orange-pale);
}
.reason__head { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.reason__num {
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 65px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange-light);
}
.reason h3 { font-size: 31px; color: var(--orange); letter-spacing: .12em; }
.reason p { font-size: 20px; line-height: 2; }

/* スタッフ */
.staff { display: grid; gap: 70px; }
.staff-item { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.staff-item__photo {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--orange), var(--orange-deep));
  color: rgba(255, 255, 255, .9);
  font-size: 44px;
  letter-spacing: .1em;
  overflow: hidden;
}
.staff-item__photo img { width: 80%; }
.staff-item__catch { font-size: 18px; color: var(--ink-soft); }
.staff-item__catch em { font-style: normal; margin-right: 1.5em; }
.staff-item__name { margin: 2px 0 20px 1em; font-size: 26px; letter-spacing: .12em; }
.staff-item__name small { margin-left: 1em; font-size: 17px; color: var(--orange); }
.staff-item dl { margin: 0; font-size: 20px; line-height: 2; }
.staff-item dt { display: inline; color: var(--orange-deep); font-weight: 600; }
.staff-item dd { margin: 0 0 16px; }
.staff-item dt.block-dt { display: block; }
.staff-item dd h4 { font-size: 20px; font-weight: 600; }

/* 事業内容ページ */
.svc-block__head { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.svc-block__num {
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 83px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.svc-block__head small { display: block; font-size: 18px; color: var(--ink-soft); }
.svc-block__head h2 { font-size: clamp(29px, 3.12vw, 36px); letter-spacing: .12em; }

.svc-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 50px 0 30px;
  font-size: 29px;
  letter-spacing: .12em;
}
.svc-sub::before { content: ""; width: 20px; height: 20px; border: 1.5px solid var(--orange); flex-shrink: 0; }
.svc-sub::after { content: ""; flex: 1; height: 1px; background: var(--orange-pale); }

.svc-intro { padding: 0 2%; }
.svc-intro h3 { font-size: 25px; margin-bottom: 10px; }
.svc-intro p { font-size: 20px; line-height: 2; }
.hl { color: var(--orange); font-weight: 600; }

.goal { margin: 50px 2% 0; }
.goal .label-title { margin-bottom: 16px; font-size: 20px; }
.goal__quote { font-size: clamp(21px, 2.34vw, 26px); letter-spacing: .08em; margin-bottom: 14px; }
.goal p:not(.goal__quote) { font-size: 20px; line-height: 2; padding-left: 1em; }

.phases { display: grid; gap: 6px; }
.phase { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: stretch; }
.phase__tag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  padding: 16px 16px 44px;
  text-align: center;
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  font-size: 22px;
  line-height: 1.6;
}
.phase__tag small { font-family: "Cormorant Garamond", var(--serif); font-size: 20px; color: var(--orange-deep); letter-spacing: .1em; }
.phase:nth-child(1) .phase__tag { background: #f8d9b8; }
.phase:nth-child(2) .phase__tag { background: #f1bd8a; }
.phase:nth-child(3) .phase__tag { background: #e89a5a; }
.phase:nth-child(4) .phase__tag { background: #d97a36; color: var(--white); }
.phase:nth-child(4) .phase__tag small { color: #fde6cc; }
.phase__body { padding: 22px 0 26px; border-bottom: 1px solid var(--orange-pale); }
.phase__body h3 { font-size: 23px; margin-bottom: 10px; }
.phase__body p { font-size: 18px; line-height: 2; color: var(--ink-soft); }

.support-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; padding: 0 2%; }
.support-list li { padding: 20px 24px; background: rgba(255, 255, 255, .75); border-left: 3px solid var(--orange-light); }
.support-list h4 { font-size: 21px; color: var(--orange-deep); margin-bottom: 6px; }
.support-list p { font-size: 18px; line-height: 1.9; color: var(--ink-soft); }

/* 事業内容：目次と各事業の見出し帯 */
.svc-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.svc-toc a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 18px rgba(160, 80, 20, .08);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.svc-toc a:hover { transform: translateY(-3px); background: var(--white); box-shadow: 0 12px 26px rgba(160, 80, 20, .16); }
.svc-toc__num { font-family: "Cormorant Garamond", var(--serif); font-size: 44px; line-height: 1; color: var(--orange); }
.svc-toc__txt { font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.svc-toc__txt small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.svc-toc__arrow { width: 10px; height: 10px; border-right: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange); transform: rotate(45deg) translate(-3px, -3px); }

.svc-head {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 44px;
  padding: 40px 48px;
  overflow: hidden;
  scroll-margin-top: 90px;
  box-shadow: 0 14px 34px rgba(120, 40, 0, .22);
}
.svc-head .asanoha { width: 260px; height: 260px; }
.svc-head__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  align-content: center;
  width: 120px;
  height: 120px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  outline: 1px solid rgba(241, 211, 154, .45);
  outline-offset: 5px;
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 70px;
  line-height: 1;
  color: var(--white);
}
.svc-head__num small { font-size: 14px; letter-spacing: .25em; color: var(--gold-light); margin-bottom: 4px; }
.svc-head__sub {
  display: inline-block;
  padding: 2px 14px;
  font-size: 17px;
  letter-spacing: .12em;
  color: var(--orange-deep);
  background: var(--gold-light);
}
.svc-head h2 { margin-top: 10px; font-size: clamp(31px, 3.9vw, 44px); letter-spacing: .12em; line-height: 1.4; text-shadow: 0 2px 12px rgba(90, 30, 0, .3); }
.svc-head__lead { margin-top: 8px; font-size: 18px; line-height: 1.9; opacity: .92; }
[id="dx"], [id="recruit"], [id="leader"] { scroll-margin-top: 80px; }
.block#dx, .block#recruit, .block#leader { margin-top: 110px; }

@media (max-width: 860px) {
  .svc-toc { grid-template-columns: 1fr; gap: 12px; }
  .svc-head { gap: 22px; padding: 30px 26px; }
  .svc-head__num { width: 90px; height: 90px; font-size: 52px; }
}
@media (max-width: 520px) {
  .svc-head { flex-direction: column; align-items: flex-start; }
}

/* ニュース一覧 */
.news-archive { display: grid; gap: 0; width: min(900px, 100%); margin: 0 auto; }
.news-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(217, 164, 91, .5); }
.news-row img { aspect-ratio: 1.6 / 1; object-fit: cover; width: 100%; }
.news-row time { font-size: 17px; color: var(--ink-soft); }
.news-row .cat { display: inline-block; margin-left: 12px; padding: 0 10px; font-size: 14px; color: var(--white); background: var(--orange); }
.news-row h3 { margin-top: 6px; font-size: 21px; line-height: 1.7; }

/* 採用・お問い合わせ */
.lead-center { text-align: center; font-size: 20px; line-height: 2.2; }
.form { width: min(720px, 100%); margin: 50px auto 0; }
.form__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(217, 164, 91, .4); }
.form__row label { padding-top: 10px; font-size: 20px; }
.form__row label .req { margin-left: 8px; padding: 1px 8px; font-size: 14px; color: var(--white); background: var(--orange); }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e3d3bb;
  border-radius: 2px;
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--orange-light); outline-offset: 0; border-color: transparent; }
.form textarea { min-height: 200px; resize: vertical; }
.form__submit { text-align: center; }
.form__submit .btn { border: 0; cursor: pointer; font-family: inherit; }
.form__note { margin-top: 24px; font-size: 17px; color: var(--ink-soft); text-align: center; }

.recruit-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.recruit-points li { padding: 30px 26px; text-align: center; background: rgba(255, 255, 255, .75); border: 1px solid var(--orange-pale); }
.recruit-points h3 { font-size: 25px; color: var(--orange); margin-bottom: 12px; }
.recruit-points p { font-size: 18px; line-height: 2; text-align: left; }

/* フェードイン */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .fade.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1000px) {
  .gnav a { font-size: 18px; }
  .service__cards { grid-template-columns: 1fr; width: min(520px, 100%); margin-inline: auto; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
  .about__body { width: 85%; }
  .site-header nav a { padding: 2px 8px; font-size: 17px; }
  .staff-item { grid-template-columns: 180px 1fr; gap: 28px; }
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--orange);
    position: relative;
    transition: transform .3s, background .3s;
  }
  .menu-toggle span::before,
  .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid rgba(217, 164, 91, .5);
  }
  .menu-open .site-header nav { display: block; }
  .site-header nav ul { flex-direction: column; }
  .site-header nav li + li { border-left: 0; border-top: 1px solid rgba(196, 89, 27, .15); }
  .site-header nav a { padding: 14px 24px; text-align: left; font-size: 20px; }
  .site-header nav a small { display: inline; margin-left: 10px; }
}

@media (max-width: 860px) {
  .reasons { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 0; }
  .phase__tag { min-height: 110px; }
  .phase__body { padding: 20px 4px 30px; }
  .support-list,
  .recruit-points { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .deco--band { width: 260px; }
  .deco--swirl { width: 240px; }
  .deco--glow { width: 340px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__brand { padding: 34px 16px 30px; }
  .hero__brand .gold-rings { width: 300px; left: -150px; top: 10%; }
  .hero__logo { width: 88px; }
  .hero__main { min-height: 540px; }
  .hero__copy { align-self: center; padding: 40px 0 30px; gap: 22px; }
  .hero__copy p { padding-top: 50px; }
  .gnav { grid-template-columns: repeat(3, 1fr); row-gap: 14px; padding: 0 3% 24px; }
  .gnav li:nth-child(4) a::before { display: none; }

  .about { display: block; min-height: 0; }
  .about__body { width: 100%; padding: 56px 24px; border-radius: 0; box-shadow: none; }
  .about__title { margin-left: 0; padding-left: 0; }
  .about__text br { display: none; }
  .about__text p { font-size: 19px; }
  .about .more-wrap { text-align: center; padding-right: 0; }
  .about__photos { position: static; width: 100%; grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 260px; }
  .about__photos::after { display: none; }

  .service,
  .feature { padding: 60px 0; }
  .service__sub br,
  .svc-card p br { display: none; }
  .feature__cards { grid-template-columns: 1fr; gap: 50px; }
  .news__list { gap: 22px 16px; }

  .footer__name { font-size: 31px; }
  .footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 12px; }
  .footer__nav a { padding: 0 6px; font-size: 17px; }
  .footer__nav li + li { border-left: 0; }

  .staff-item { grid-template-columns: 1fr; }
  .staff-item__photo { width: 180px; }
  .profile th,
  .profile td { display: block; width: 100%; padding: 10px 4px; }
  .profile th { border-bottom: 0; padding-top: 18px; }
  .profile tr:first-child td { border-top: 0; }
  .vision br,
  .brand br,
  .phase__body br,
  .svc-intro br,
  .lead-center br { display: none; }
  .news-row { grid-template-columns: 110px 1fr auto; gap: 16px; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }
  .site-header__brand span { font-size: 20px; }
}

@media (max-width: 420px) {
  .news__list { grid-template-columns: 1fr; }
  .gnav a { font-size: 17px; letter-spacing: .06em; }
}

/* ---------------------------------------------
   スタッフ写真：オレンジ枠を少し残して枠いっぱいに表示し、顔の大きさをそろえる
   写真ごとの調整は HTML の img に style="--pos:横% 縦%;--zoom:倍率" で指定
     --pos  … 顔の位置（拡大の中心）。例：46% 32%
     --zoom … 拡大率。1 が枠いっぱい、1.15 で15%拡大
--------------------------------------------- */
.staff-item__photo--person {
  padding: 12px;
  place-items: stretch;
}
.staff-item__photo--person .staff-item__frame {
  display: block;
  min-height: 0;
  overflow: hidden;
}
.staff-item__photo--person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--pos, 50% 30%);
}
@media (max-width: 760px) {
  .staff-item__photo--person { padding: 10px; }
}
