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

:root {
  --green-deep: #3f5a31;
  --green: #5b7a47;
  --sage: #8fb0a3;
  --sage-soft: #c9dbd1;
  --sage-mist: #eef4ef;
  --beige: #ebe1d3;
  --sand: #d6b588;
  --sand-soft: #f4ebdd;
  --bg: #fbfaf6;
  --white: #ffffff;
  --text: #333a30;
  --text-sub: #6a7166;
  --line: #e3e3da;

  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --max: 1120px;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(63, 90, 49, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green); }
p { margin: 0 0 1.2em; }

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

/* 要確認の印（公開前に必ず差し替える箇所） */
.todo {
  background: #fff3b0;
  border-bottom: 2px dashed #e0b400;
  padding: 0 4px;
  color: #6b5600;
  font-size: 0.92em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(6px);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  width: min(100% - 40px, 1240px); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); }
.logo-mark { mix-blend-mode: multiply; object-fit: contain; } /* ロゴ画像の白背景をなじませる */
.brand .logo-mark { width: 48px; height: auto; }
.brand-name { font-family: var(--font-en); font-size: 26px; letter-spacing: 0.08em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.12em; color: var(--text-sub); margin-top: 3px; }

.global-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.global-nav a { text-decoration: none; color: var(--text); font-size: 14px; letter-spacing: 0.08em; }
.global-nav a:hover { color: var(--green); }
.global-nav .nav-cta a {
  background: var(--green); color: #fff; padding: 10px 22px; border-radius: 999px;
}
.global-nav .nav-cta a:hover { background: var(--green-deep); color: #fff; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--green-deep); content: ""; transition: .3s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
/* 背景の葉っぱ：元画像の文字部分を使わず、左右（スマホは上下）の葉だけを切り出して表示 */
.hero::before, .hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; z-index: -1;
  background-image: url("../images/hero-wide.webp");
  background-size: auto 100%; background-repeat: no-repeat;
}
.hero::before {
  left: 0; aspect-ratio: 0.45;
  background-position: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.hero::after {
  right: 0; aspect-ratio: 0.42;
  background-position: right center;
  -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent);
          mask-image: linear-gradient(270deg, #000 55%, transparent);
}
.hero-inner { position: relative; max-width: 760px; }
.hero .logo-mark { width: 190px; height: auto; margin: 0 auto 10px; transform: translateX(8px); }
.hero-name { font-family: var(--font-en); font-size: clamp(44px, 7vw, 64px); color: var(--green); letter-spacing: 0.1em; line-height: 1.1; margin: 0; font-weight: 500; }
.hero-tagline { font-family: var(--font-serif); color: var(--green); letter-spacing: 0.3em; font-size: clamp(14px, 2vw, 17px); margin: 6px 0 36px; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(22px, 3.6vw, 34px); line-height: 1.7; letter-spacing: 0.12em;
  color: var(--green-deep); margin: 0 0 18px;
}
.hero-lead { font-family: var(--font-serif); color: var(--text); font-size: clamp(14px, 1.8vw, 16px); letter-spacing: 0.14em; line-height: 2.2; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.sprig { width: 160px; height: 24px; margin: 0 auto 26px; color: var(--sage); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 999px;
  text-decoration: none; font-size: 15px; letter-spacing: 0.1em;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(91,122,71,.25); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--green-deep); border: 1px solid var(--sage); }
.btn-ghost:hover { background: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--white); }
.section-mist { background: var(--sage-mist); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head .en {
  display: block; font-family: var(--font-en); font-style: italic;
  font-size: 18px; color: var(--sage); letter-spacing: 0.2em; margin-bottom: 4px;
}
.section-head h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px); letter-spacing: 0.12em; color: var(--green-deep);
  margin: 0; line-height: 1.6;
}
.section-head p { margin: 20px auto 0; max-width: 680px; color: var(--text-sub); text-wrap: balance; }
/* 見出し・短い文で1〜2文字だけ次の行に残らないように */
h1, h2, h3, .worries-answer, .goal p, .loop-note { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Worries */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); font-family: var(--font-serif); font-size: 16px; line-height: 1.8;
  display: flex; gap: 14px; align-items: flex-start;
}
.worry::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 10px; border-radius: 50%;
  background: var(--sand);
}
/* 写真 */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-banner { aspect-ratio: 21 / 8; margin-bottom: 48px; }
.photo-banner img { object-position: center 40%; }

.worries-closing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.worries-closing .photo { aspect-ratio: 16 / 10; }
.worries-closing .worries-answer { text-align: left; margin-top: 0; }
.worries-answer .nw { display: inline-block; }

.worries-answer {
  text-align: center; margin-top: 56px; font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 22px); color: var(--green-deep); letter-spacing: 0.1em; line-height: 2;
}
.worries-answer strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--sand-soft) 62%); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; width: 100%; }
.about-visual .circle {
  position: absolute; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-family: var(--font-serif); color: var(--green-deep); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: 0.15em; line-height: 1.6;
  mix-blend-mode: multiply;
}
.about-visual .c1 { width: 58%; height: 58%; left: 21%; top: 0; background: rgba(214, 200, 180, .55); }
.about-visual .c2 { width: 58%; height: 58%; left: 0; top: 38%; background: rgba(143, 176, 163, .5); }
.about-visual .c3 { width: 58%; height: 58%; right: 0; top: 38%; background: rgba(214, 181, 136, .5); }
/* 文字は各円の中心に配置（.circle が grid で中央寄せ） */
.about-visual .circle span { color: #2f4724; white-space: nowrap; padding-left: 0.15em; /* 字間ぶんの右ずれを補正 */ }
.about-visual .center {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  font-family: var(--font-en); font-style: italic; font-size: 22px; color: #fff; letter-spacing: .1em;
}
.about-text h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 2.6vw, 26px);
  color: var(--green-deep); line-height: 1.8; letter-spacing: 0.1em; margin: 0 0 24px;
}

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 40px 38px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.service::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; top: -60px; background: var(--sage-mist);
}
.service > * { position: relative; z-index: 1; }
.service .num { font-family: var(--font-en); font-size: 44px; color: var(--sand); line-height: 1; font-style: italic; }
.service h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: var(--green-deep);
  letter-spacing: 0.1em; margin: 12px 0 4px;
}
.service .sub { font-size: 13px; color: var(--sage); letter-spacing: .15em; margin-bottom: 18px; }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service li { padding-left: 1.4em; position: relative; font-size: 15px; }
.service li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-soft); }

.tools { margin-top: 48px; text-align: center; }
.tools h3 { font-family: var(--font-serif); font-weight: 500; color: var(--green-deep); font-size: 18px; letter-spacing: .12em; margin: 0 0 18px; }
.tool-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; list-style: none; padding: 0; margin: 0 auto; max-width: 820px; }
.tool-tags li {
  background: var(--white); border: 1px solid var(--sage-soft); border-radius: 999px;
  padding: 14px 30px; font-family: var(--font-serif); font-size: 17px; letter-spacing: .08em; color: var(--green-deep);
  box-shadow: 0 4px 16px rgba(63, 90, 49, 0.06);
}
@media (max-width: 640px) { .tool-tags li { font-size: 15px; padding: 11px 22px; } }

.online-note {
  margin: 40px auto 0; max-width: 760px; display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--sage-soft); border-radius: 16px; padding: 18px 26px;
}
.online-note svg { flex: none; width: 34px; height: 34px; color: var(--sage); }
.online-note p { margin: 0; font-size: 15px; }
.online-note strong { display: block; color: var(--green-deep); font-family: var(--font-serif); font-weight: 600; letter-spacing: .1em; font-size: 16px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.step { text-align: center; padding: 0 16px; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -14px; width: 28px; height: 1px; background: var(--sage);
}
.step-circle {
  width: 104px; height: 104px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--sage-soft);
  font-family: var(--font-serif); font-size: 20px; color: var(--green-deep); letter-spacing: .1em;
  box-shadow: var(--shadow);
}
.step:nth-child(2) .step-circle { background: var(--sand-soft); }
.step:nth-child(3) .step-circle { background: var(--sage-mist); }
.step:nth-child(4) .step-circle { background: var(--beige); }
.step h3 { font-family: var(--font-serif); font-weight: 500; font-size: 17px; margin: 0 0 10px; color: var(--green-deep); letter-spacing: .08em; }
.step p { font-size: 14px; color: var(--text-sub); line-height: 1.85; text-align: left; }
.loop-note { text-align: center; margin-top: 40px; font-family: var(--font-serif); color: var(--green); letter-spacing: .15em; }
.loop-note span {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--sage); border-radius: 999px; padding: 10px 28px; background: var(--white);
  font-size: 15px; letter-spacing: .1em;
}
.loop-note svg { width: 22px; height: 22px; color: var(--sage); flex: none; }
.loop-note span { white-space: nowrap; }
@media (max-width: 640px) {
  .loop-note span { font-size: 13.5px; letter-spacing: .03em; padding: 10px 20px; gap: 8px; }
  .loop-note svg { width: 18px; height: 18px; }
}

.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.outcome { background: var(--white); border-radius: var(--radius); padding: 34px 34px 20px; border-top: 4px solid var(--sage); }
.outcome:nth-child(2) { border-top-color: var(--sand); }
.outcome h3 { font-family: var(--font-serif); font-weight: 500; color: var(--green-deep); font-size: 19px; letter-spacing: .1em; margin: 0 0 12px; }

.goal {
  margin-top: 48px; text-align: center; color: #fff;
  background:
    linear-gradient(rgba(52, 76, 40, .58), rgba(52, 76, 40, .66)),
    url("../images/photo-hands.jpg") center 45% / cover no-repeat;
  text-shadow: 0 1px 12px rgba(30, 45, 22, .45);
  border-radius: var(--radius); padding: 64px 24px;
}
.goal .label { font-family: var(--font-en); font-style: italic; letter-spacing: .2em; opacity: .85; }
.goal p { font-family: var(--font-serif); margin: 0; }
.goal .goal-main { font-size: clamp(22px, 3.2vw, 30px); letter-spacing: .14em; line-height: 1.6; margin: 10px 0 14px; }
.goal .goal-sub { font-size: 14px; letter-spacing: .06em; line-height: 1.9; opacity: .88; }
.goal .goal-sub span { display: inline-block; }
.goal .goal-sub .sep { margin: 0 .6em; }
.goal .goal-sub .nw { display: inline-block; }
@media (max-width: 640px) { .goal .goal-sub .sep { display: none; } .goal .goal-sub > span { display: block; } }

/* Numbers / Reasons */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 auto 80px; }
.number { text-align: center; padding: 30px 10px; border-radius: var(--radius); background: var(--bg); }
.number .value { font-family: var(--font-en); font-size: clamp(38px, 5vw, 52px); color: var(--green); line-height: 1.2; }
.number .value small { font-family: var(--font-serif); font-size: .4em; margin-left: 4px; }
.number .value small.pre { margin-left: 0; margin-right: 6px; }
.number .label { font-size: 14px; color: var(--text-sub); }
.industries span { display: inline-block; } /* 業界名の途中で改行しない */

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.reason .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-mist); display: grid; place-items: center; color: var(--green); }
.reason .icon svg { width: 26px; height: 26px; }
.reason h3 { font-family: var(--font-serif); font-weight: 500; color: var(--green-deep); font-size: 18px; letter-spacing: .08em; margin: 4px 0 8px; line-height: 1.6; }
.reason p { font-size: 15px; color: var(--text-sub); }

/* Message */
.message-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.portrait {
  text-align: center; position: sticky; top: 110px;
}
.portrait img {
  width: 240px; height: 240px; margin: 0 auto; border-radius: 50%; object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: 0 0 0 1px var(--sage-soft), var(--shadow);
}
.portrait-caption { margin-top: 20px; font-family: var(--font-serif); font-size: 13px; color: var(--text-sub); letter-spacing: .15em; line-height: 1.8; }
.portrait-caption span { font-size: 20px; color: var(--green-deep); letter-spacing: .3em; }

.name-origin {
  background: var(--sage-mist); border-radius: 16px; padding: 22px 26px 16px; margin-bottom: 30px; text-align: center;
}
.name-origin p { margin: 0; }
.name-origin-title { font-size: 12px; letter-spacing: .3em; color: var(--sage); margin-bottom: 6px !important; }
/* 単語と＋だけを横に並べ、＋の左右の余白を同じにする。説明文は各単語の真下に配置 */
.name-origin-formula { display: flex; justify-content: center; align-items: center; gap: 24px; font-family: var(--font-serif); color: var(--green-deep); margin-bottom: 22px; }
.name-origin-formula .term { position: relative; line-height: 1.3; }
.name-origin-formula span { font-family: var(--font-en); font-size: 36px; color: var(--green); }
.name-origin-formula small {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  font-size: 12px; color: var(--text-sub); white-space: nowrap;
}
.name-origin-formula .plus { font-size: 20px; color: var(--sand); line-height: 1; }
.name-origin-note { font-size: 12px; color: var(--text-sub); margin-top: 4px !important; }
.message-body h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 2.6vw, 26px);
  color: var(--green-deep); line-height: 1.8; letter-spacing: .1em; margin: 0 0 30px;
}
.message-body p { font-family: var(--font-serif); font-size: 16px; line-height: 2; letter-spacing: 0.01em; }
.signature { text-align: right; margin-top: 30px; font-family: var(--font-serif); }
.signature .role { font-size: 13px; color: var(--text-sub); display: block; }
.signature .name { font-size: 22px; letter-spacing: .3em; color: var(--green-deep); }

/* Profile */
.profile { margin-top: 90px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.profile h3 { font-family: var(--font-serif); font-weight: 500; color: var(--green-deep); font-size: 20px; letter-spacing: .1em; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.timeline.career li { display: block; line-height: 1.9; } /* 西暦の欄なし・文章形式の経歴 */
.timeline .year { font-family: var(--font-en); font-size: 20px; color: var(--sand); line-height: 1.6; }
.quals { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 10px 0 10px 1.6em; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px; }
.qual-note { display: block; font-size: 12.5px; color: var(--text-sub); line-height: 1.7; margin-top: 4px; }
.quals li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--sage); }

/* Company */
.company-table { width: 100%; max-width: 820px; margin: 0 auto; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.company-table th, .company-table td { padding: 22px 30px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { width: 30%; font-weight: 500; color: var(--green-deep); background: var(--sage-mist); letter-spacing: .1em; }
.company-table ul { margin: 0; padding-left: 1.2em; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 66px; position: relative;
  font-family: var(--font-serif); font-size: 16px; color: var(--green-deep); letter-spacing: .06em; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 26px; top: 18px; font-family: var(--font-en); font-size: 26px; color: var(--sage); }
.faq summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--sage); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 30px 24px 66px; position: relative; color: var(--text); font-size: 15px; }
.faq .answer::before { content: "A"; position: absolute; left: 26px; top: -6px; font-family: var(--font-en); font-size: 26px; color: var(--sand); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact {
  background:
    linear-gradient(160deg, rgba(74, 102, 57, .70), rgba(52, 76, 40, .80)),
    url("../images/photo-room.jpg") center / cover no-repeat;
  color: #fff; text-align: center;
}
.contact .section-head h2, .contact .section-head .en { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.88); }
.contact-box {
  max-width: 720px; margin: 0 auto; background: rgba(255,255,255,.96); color: var(--text);
  border-radius: var(--radius); padding: 48px 32px;
}
.contact-box .btn { font-size: 16px; }
.contact-items { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 32px auto 0; max-width: 420px; text-align: left; }
.contact-item { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.contact-item .label { font-size: 12px; color: var(--text-sub); letter-spacing: .15em; }
.contact-item .value { font-size: 17px; color: var(--green-deep); word-break: break-all; }

/* Footer */
.site-footer { background: #2f3f26; color: rgba(255,255,255,.8); padding: 56px 0 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { color: #fff; }
.footer-brand .brand-name { font-size: 30px; color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 13px; line-height: 1.9; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; letter-spacing: .1em; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 60; }
  .global-nav {
    position: fixed; inset: 0 0 auto 0; background: #fbfaf6;
    height: 100vh; height: 100dvh; /* ヘッダーのすりガラス効果があっても画面全体を覆う */
    display: grid; place-items: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-open .global-nav { opacity: 1; pointer-events: auto; }
  .global-nav ul { flex-direction: column; gap: 26px; }
  .global-nav a { font-size: 17px; }

  /* タブレット・スマホ：縦長画像の上部と下部の葉だけを使う */
  .hero::before, .hero::after {
    left: 0; right: 0; top: auto; bottom: auto;
    background-image: url("../images/hero-tall.webp");
    background-size: 100% auto;
  }
  .hero::before {
    top: 0; aspect-ratio: 1 / 0.55; background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
            mask-image: linear-gradient(180deg, #000 50%, transparent);
  }
  .hero::after {
    bottom: 0; aspect-ratio: 1 / 0.6; background-position: center bottom;
    -webkit-mask-image: linear-gradient(0deg, #000 50%, transparent);
            mask-image: linear-gradient(0deg, #000 50%, transparent);
  }

  .worries { grid-template-columns: 1fr 1fr; }
  .worries-closing { grid-template-columns: 1fr; gap: 32px; }
  .worries-closing .worries-answer { text-align: center; }
  .photo-banner { aspect-ratio: 16 / 8; }
  .about-grid, .message-grid, .profile { grid-template-columns: 1fr; gap: 48px; }
  .portrait { position: static; }
  .portrait img { width: 200px; height: 200px; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .pc-only { display: none; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .hero .logo-mark { width: 150px; }
  .hero-tagline { letter-spacing: .18em; }
  .hero h1 { font-size: 19px; letter-spacing: .04em; }
  .hero-lead { font-size: 13.5px; letter-spacing: .06em; }
  .worries, .services, .outcomes, .numbers, .reasons, .contact-items { grid-template-columns: 1fr; }
  .numbers { gap: 14px; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step p { text-align: center; }
  .service { padding: 32px 26px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 14px 20px; }
  .company-table th { border-bottom: 0; padding-bottom: 6px; }
  .faq summary { padding: 18px 50px 18px 54px; font-size: 15px; }
  .faq summary::before { left: 18px; top: 14px; }
  .faq .answer { padding: 0 20px 20px 54px; }
  .faq .answer::before { left: 18px; }
  .contact-box { padding: 36px 20px; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
}
