:root {
  --green: #2e6b2e;
  --green-deep: #1f4a2a;
  --green-pale: #eaf1e6;
  --gold: #c9a84c;
  --red: #c4161c;
  --ink: #222;
  --paper: #f7f4ec;
  --line: #d9d3c3;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "游明朝", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "メイリオ", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--serif); font-size: 18px; line-height: 2;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1d5f9f; }
p { margin: 0 0 1.2em; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ナビ */
.nav { position: sticky; top: 0; z-index: 20; background: var(--green); }
.nav ul { display: flex; margin: 0 auto; padding: 0; max-width: 960px; list-style: none; }
.nav li { flex: 1; }
.nav a {
  display: block; padding: 14px 6px; color: #fff; text-align: center; text-decoration: none;
  font-family: var(--sans); font-size: 15px; line-height: 1.4; border-left: 1px solid rgba(255,255,255,.25);
}
.nav li:first-child a { border-left: 0; }
.nav a:hover { background: var(--green-deep); }

/* ファーストビュー */
.hero {
  color: #fff; text-align: center; padding: 72px 20px 56px;
  background:
    url("../images/hero-taki.jpg") center 40% / cover no-repeat;
  background-color: #1f4a2a;
}
.hero .biz { text-shadow: 0 0 10px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); margin: 0; font-size: clamp(22px, 4.2vw, 34px); color: #f0dc9a; letter-spacing: .12em; line-height: 1.5; }
.hero .sub { text-shadow: 0 0 10px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); margin: 10px 0 18px; font-size: clamp(16px, 2.6vw, 20px); color: #f0dc9a; letter-spacing: .1em; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(56px, 13vw, 112px); line-height: 1.2; letter-spacing: .08em; text-shadow: 0 0 10px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); }
.hero .lead {
  text-shadow: 0 0 10px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); display: inline-block; text-wrap: balance; margin: 20px 0 0; padding: 6px 4px; font-size: clamp(17px, 3vw, 24px); line-height: 1.7;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); letter-spacing: .08em;
}
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-family: var(--sans); }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.4;
}
.btn-tel { background: #fff; color: var(--green-deep); }
.btn-tel small { display: block; font-size: 13px; font-weight: 400; }
.btn-tel strong { font-size: 28px; letter-spacing: .04em; }
.btn-form { display: flex; align-items: center; justify-content: center; background: transparent; color: #fff; border: 2px solid #fff; }
.btn-form:hover { background: rgba(255,255,255,.12); }

/* セクション */
section { padding: 64px 0; }
section:nth-of-type(even) { background: #fff; }
.h2 {
  margin: 0 0 28px; padding: 12px 20px; font-size: clamp(22px, 3.4vw, 28px); font-weight: 500; color: var(--green);
  background: #f1f1f1; border-top: 3px solid #ddd; border-bottom: 1px solid #ccc; line-height: 1.5;
}
.h3 { margin: 40px 0 14px; padding-left: 12px; border-left: 6px solid var(--green); font-size: 22px; color: var(--green-deep); line-height: 1.5; }
.catch { margin: 36px 0 16px; padding-bottom: 12px; border-bottom: 1px dotted #999; font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--green); line-height: 1.7; }
.red { color: var(--red); font-weight: 700; }
.list { margin: 0 0 1.2em; padding: 0; list-style: none; }
.list li { padding-left: 1.2em; text-indent: -1.2em; }
.list li::before { content: "● "; font-size: .7em; vertical-align: .1em; }
.dot { margin: 0 0 1.2em; padding: 0; list-style: none; }
.dot li { padding-left: 1em; text-indent: -1em; }
.dot li::before { content: "・"; }
.fig { margin: 24px 0; }
.fig img { border-radius: 4px; }
.fig.narrow img { max-width: 420px; }
.note { font-size: 16px; color: #555; }
.toplink { text-align: right; font-size: 15px; margin: 24px 0 0; font-family: var(--sans); }

/* 華厳とは */
.kegon { display: flex; gap: 28px; align-items: center; margin-top: 40px; padding: 24px; background: var(--green-pale); border-radius: 8px; }
.kegon img { width: 160px; flex: none; }
.kegon h3 { margin: 0 0 8px; font-size: 20px; }
.kegon p { margin: 0 0 .6em; font-size: 17px; line-height: 1.9; }

/* 料金 */
.price img { width: 100%; max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }

/* メディア・お知らせ */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { padding: 20px; background: #f4f4f4; border: 1px solid #ddd; }
.card p { margin: 0 0 .8em; font-size: 17px; line-height: 1.8; }
.card img { margin: 8px 0 12px; }
.card .more { margin: 0; font-size: 16px; }
.news { margin-top: 44px; }
.news article { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.news h3 { margin: 0 0 12px; font-size: 20px; color: var(--green-deep); line-height: 1.6; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 12px 0; }

#shien .fig img { margin-left: auto; margin-right: auto; }

/* パンフレット */
.pamphlet { display: flex; gap: 20px; padding: 24px; background: #fffde0; border: 1px solid #e6e0a8; }
.pamphlet img { width: 110px; height: auto; flex: none; align-self: flex-start; }
.pamphlet p { margin: 0 0 .6em; }

/* 挨拶 */
.greet img { width: 100%; max-width: 640px; margin: 0 auto 28px; border-radius: 4px; }
.history { margin: 28px 0 0; padding: 20px 24px; background: var(--green-pale); }
.history h3 { margin: 0 0 8px; font-size: 20px; color: var(--green-deep); }
.history p { margin: 0 0 .5em; font-size: 17px; line-height: 1.9; }

/* 会社概要 */
.info { width: 100%; border-collapse: collapse; font-size: 17px; }
.info th, .info td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.info th { width: 9em; background: var(--green-pale); font-weight: 700; }

/* フォーム */
.office p { margin: 0 0 .3em; }
.freedial { margin: 20px 0 28px; padding: 20px; background: #fff; border: 2px solid var(--green); text-align: center; font-family: var(--sans); }
.freedial .label { margin: 0; font-size: 15px; color: var(--green); }
.freedial a { display: inline-block; font-size: clamp(32px, 7vw, 48px); font-weight: 700; color: var(--green); text-decoration: none; letter-spacing: .03em; line-height: 1.3; }
.freedial .ruby { margin: 0; font-size: 13px; color: #666; }
form { margin-top: 20px; font-family: var(--sans); }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 17px; }
.req { margin-left: .5em; padding: 2px 8px; color: #fff; background: var(--red); border-radius: 3px; font-size: 13px; font-weight: 400; }
input, textarea { width: 100%; padding: 14px; font: inherit; font-size: 18px; border: 1px solid #aaa; border-radius: 4px; background: #fff; }
textarea { min-height: 180px; }
input:focus, textarea:focus, a:focus-visible, .btn:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
.submit { display: block; width: 100%; max-width: 360px; margin: 28px auto 0; padding: 18px; border: 0; border-radius: 6px; background: var(--green); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; }
.submit:hover { background: var(--green-deep); }

.form-btn { display: inline-block; width: 100%; max-width: 420px; margin: 28px auto 0; padding: 18px 20px; border-radius: 6px; background: var(--green); color: #fff; font-family: var(--sans); font-size: 20px; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.4; }
.form-btn:hover { background: var(--green-deep); }

/* コラム導線 */
.column-link { text-align: center; }
.column-link .btn { background: var(--green); color: #fff; }

footer { padding: 32px 20px 96px; background: var(--green-deep); color: #fff; text-align: center; font-size: 15px; line-height: 1.9; }
footer a { color: #fff; }

/* スマホ固定の電話ボタン */
.fixed-tel { display: none; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav ul { flex-wrap: wrap; }
  .nav li { flex: 1 1 33.33%; }
  .nav a { padding: 11px 4px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.25); }
  section { padding: 48px 0; }
  .hero { padding: 48px 16px 40px; }
  .hero .lead { font-size: 15.5px; letter-spacing: .04em; }
  .kegon { flex-direction: column; text-align: left; }
  .pamphlet { flex-direction: column; }
  .info th { width: 7em; }
  .fixed-tel {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; font-family: var(--sans);
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
  }
  .fixed-tel a { flex: 1; padding: 14px 6px; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; }
  .fixed-tel .t { background: var(--green); color: #fff; }
  .fixed-tel .f { background: #fff; color: var(--green-deep); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
