/* 伊豆原シロアリ — 木の質感・深緑・端正な明朝体 */
/* 基本色はここで変更できます。ページ共通 → トップ → 詳細 → スマホの順。 */
@font-face {
  font-family:IzuharaSerif;
  src:url("serif.woff") format("woff");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
:root {
  --ink:#153b30;
  --green:#103c30;
  --paper:#f7f5ee;
  --white:#fffdf7;
  --muted:#58645b;
  --line:#d6d8cc;
  --gold:#d8caa5;
  --serif:IzuharaSerif,"Yu Mincho","Hiragino Mincho ProN",serif;
  --gutter:clamp(24px,6vw,100px);
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:105px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size:16px;
  line-height:1.9;
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-decoration:none;
}
a,button,summary {
  touch-action:manipulation;
}
a:hover {
  text-decoration:none;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:2px solid #a07a35;
  outline-offset:5px;
}
img {
  display:block;
  max-width:100%;
  height:auto;
}
figure,p,h1,h2,h3 {
  margin:0;
}
h1,h2,h3 {
  font-family:var(--serif);
  font-weight:500;
  line-height:1.6;
  letter-spacing:.055em;
  text-wrap:balance;
}
h1 {
  font-size:clamp(32px,3.4vw,56px);
}
h2 {
  font-size:clamp(28px,3vw,42px);
}
h3 {
  font-size:25px;
}
p+p {
  margin-top:1em;
}
ul {
  padding-left:1.25em;
}
button,input,textarea {
  font:inherit;
}
button {
  cursor:pointer;
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  background:var(--white);
  padding:10px 20px;
  z-index:100;
}
.skip:focus {
  top:10px;
}
header {
  height:98px;
  padding:0 3.5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  border-bottom:1px solid var(--line);
  background:var(--paper);
  position:relative;
  z-index:30;
}
.brand {
  display:flex;
  align-items:center;
  gap:15px;
  flex-shrink:0;
  font-family:var(--serif);
  font-size:25px;
  line-height:1.4;
  letter-spacing:.06em;
}
.brand small {
  display:block;
  font-family:sans-serif;
  font-size:11px;
  letter-spacing:.06em;
  margin-top:6px;
}
.brand-mark {
  font-family:Arial,sans-serif;
  font-size:53px;
  font-weight:400;
  line-height:1;
  color:var(--ink);
}
header nav {
  display:flex;
  align-items:center;
  gap:22px;
  font-size:13px;
}
header nav a {
  padding:12px 0;
}
header nav a:hover {
  color:#82734e;
}
header .nav-contact {
  border:1px solid var(--ink);
  padding:11px 18px;
  font-size:14px;
}
.mobile-menu {
  display:none;
}
.eyebrow {
  font-family:sans-serif;
  font-size:13px;
  letter-spacing:.16em;
  margin-bottom:22px;
  font-weight:500;
}
.eyebrow:before {
  content:"";
  display:inline-block;
  width:25px;
  height:1px;
  background:currentColor;
  vertical-align:middle;
  margin-right:12px;
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:54px;
  padding:13px 22px;
  font-size:14px;
  line-height:1.6;
  border:1px solid var(--ink);
  background:transparent;
  transition:background .2s,color .2s;
}
.button:hover {
  background:#e6e7dc;
}
.line-button,.submit-button {
  background:var(--green);
  color:var(--white);
}
.line-button:hover,.submit-button:hover {
  background:#245847;
}
.text-link,.experience-link {
  display:inline-block;
  border-bottom:1px solid currentColor;
  padding:9px 0;
  margin-top:20px;
  font-size:14px;
}
.section,.article-content,.area-section {
  max-width:1360px;
  margin:0 auto;
  padding:100px var(--gutter);
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:55px;
}
.section-heading>p {
  color:var(--muted);
  font-size:15px;
}
.fine,.field-hint {
  font-size:13px;
  color:var(--muted);
}
.number {
  display:block;
  font-family:var(--serif);
  font-size:17px;
  color:#7d846f;
  margin-bottom:20px;
}
/* トップ：写真と縦書きのメインメッセージ */
.hero {
  position:relative;
  min-height:760px;
  height:calc(100svh - 98px);
  max-height:920px;
  background:#122c22;
  color:var(--white);
  overflow:hidden;
}
.hero-photo {
  position:absolute;
  inset:0 0 0 27%;
  height:100%;
}
.hero-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 55%;
}
.hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#112c24 0%,rgba(17,44,36,.95) 14%,rgba(17,44,36,.2) 60%,transparent 100%);
}
.hero-copy {
  position:relative;
  z-index:1;
  height:100%;
  padding:45px var(--gutter) 35px;
  display:flex;
  align-items:flex-start;
  flex-direction:column;
}
.hero-eyebrow {
  font-size:13px;
  margin:0 0 30px;
}
.hero h1 {
  writing-mode:vertical-rl;
  font-size:clamp(38px,3.6vw,55px);
  line-height:1.8;
  letter-spacing:.13em;
  flex:1;
  min-height:0;
  margin:0 0 20px 16px;
}
.hero h1 span {
  display:block;
}
.hero-lead {
  font-family:var(--serif);
  font-size:18px;
  letter-spacing:.06em;
  line-height:1.9;
}
.hero-actions {
  display:flex;
  gap:10px;
  margin-top:23px;
}
.hero .button {
  border-color:#c6cec0;
  color:var(--white);
  min-width:135px;
}
.hero .line-button {
  background:var(--white);
  color:var(--ink);
}
.hero .button:hover {
  background:var(--gold);
  color:var(--ink);
}
.hero-area-cities {
  font-size:12px;
  margin-top:18px!important;
  color:#dce1d6;
}
.hero-area-cities a {
  border-bottom:1px solid #c1c5b5;
  margin-left:12px;
}
.price-strip {
  background:var(--green);
  color:var(--white);
  display:grid;
  grid-template-columns:1fr 1.2fr;
  align-items:center;
  padding:55px var(--gutter);
  gap:70px;
}
.price-strip .eyebrow {
  margin-bottom:8px;
  color:var(--gold);
}
.price {
  font-family:var(--serif);
  font-size:clamp(40px,5.3vw,78px);
  letter-spacing:.08em;
  line-height:1.3;
  color:var(--gold);
}
.price-note {
  border-left:1px solid #5a7468;
  padding-left:50px;
}
.price-benefits {
  display:flex;
  gap:25px;
  font-size:14px;
  margin-bottom:16px;
  color:var(--gold);
}
.price-note h2 {
  font-size:24px;
}
.price-note p {
  font-size:14px;
  line-height:2;
  margin-top:14px;
  color:#dae1d8;
}
.guide-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px;
  padding-bottom:70px;
}
.guide-card {
  display:grid;
  grid-template-columns:42% 1fr;
  gap:25px;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding-bottom:25px;
}
.guide-card img {
  width:100%;
  height:245px;
  object-fit:cover;
  transition:filter .2s;
}
.guide-card:hover img {
  filter:brightness(.9);
}
.guide-card .eyebrow {
  font-size:12px;
  margin-bottom:12px;
  letter-spacing:.06em;
}
.guide-card h2 {
  font-size:24px;
}
.guide-card p {
  font-size:13px;
  color:var(--muted);
  margin-top:12px;
  line-height:1.8;
}
.guide-card strong {
  display:inline-block;
  font-size:13px;
  font-weight:500;
  border-bottom:1px solid var(--ink);
  margin-top:15px;
}
.prevention-story {
  max-width:1360px;
  margin:0 auto;
  padding:80px var(--gutter) 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
}
.prevention-story>div:last-child {
  padding-top:45px;
  line-height:2.2;
  color:var(--muted);
}
.services,.steps,.building-types {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.services article,.steps article,.building-types article {
  border-top:1px solid #899a8c;
  padding:30px 0;
}
.services p,.steps p,.building-types p {
  font-size:15px;
  line-height:2;
  margin:18px 0;
  color:var(--muted);
}
.service-label {
  font-size:12px;
  letter-spacing:.06em;
  color:#6a735d;
}
.experience-section {
  background:var(--green);
  color:var(--white);
  display:grid;
  grid-template-columns:1.1fr 1fr;
  grid-template-rows:auto 1fr;
  column-gap:70px;
  padding:80px var(--gutter);
  align-items:start;
}
.experience-photo {
  grid-row:1/3;
  height:570px;
}
.experience-photo img {
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:60% center;
}
.experience-heading {
  padding-top:25px;
}
.experience-heading .eyebrow {
  color:var(--gold);
}
.experience-body {
  padding-top:30px;
}
.experience-lead {
  font-family:var(--serif);
  font-size:22px;
}
.experience-types {
  list-style:none;
  padding:0;
  display:flex;
  gap:22px;
  font-size:13px;
  margin:20px 0;
  color:var(--gold);
}
.experience-body>p:last-of-type {
  font-size:15px;
  line-height:2;
  color:#dde3d9;
}
.experience-link {
  color:var(--white);
}
.area-layout {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:65px;
  align-items:center;
}
.service-map {
  width:100%;
  height:auto;
}
.area-map-card {
  background:#eeeee5;
  padding:15px;
}
.map-legend {
  display:flex;
  gap:25px;
  justify-content:center;
  font-size:12px;
  margin-top:12px;
}
.swatch {
  display:inline-block;
  width:12px;
  height:12px;
  margin-right:7px;
  background:#b4bea2;
}
.swatch.base {
  background:#274f3c;
}
.map-note {
  font-size:12px;
  margin:15px 10px;
  color:var(--muted);
}
.area-home {
  padding-bottom:25px;
  border-bottom:1px solid var(--line);
}
.area-home>span {
  font-size:12px;
  margin-right:20px;
}
.area-home strong {
  font-family:var(--serif);
  font-size:30px;
  font-weight:500;
}
.area-home p {
  font-size:14px;
  margin-top:8px;
}
.area-caption {
  font-size:13px;
  margin-top:25px;
}
.area-list dl {
  margin:0;
}
.area-list dl>div {
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.area-list dt {
  font-size:13px;
  color:var(--muted);
  margin-bottom:8px;
}
.area-list dd {
  font-size:15px;
  line-height:2;
  margin:0;
}
.area-list .fine {
  margin-top:14px;
}
.contact-section {
  max-width:none;
  background:#eaece2;
  padding-top:85px;
  padding-bottom:85px;
}
.contact-section>div:first-child {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-end;
  gap:15px;
}
.contact-section>div:first-child>.eyebrow {
  width:100%;
  margin-bottom:0;
}
.contact-section>div:first-child>p:last-child {
  font-size:14px;
  max-width:390px;
  color:var(--muted);
}
.contact-options {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:35px;
  margin-top:45px;
}
.contact-card {
  border-top:1px solid #8b9b8a;
  padding:25px 0;
}
.contact-card h3 {
  font-size:25px;
}
.contact-card p {
  font-size:14px;
  color:var(--muted);
  margin:15px 0 20px;
}
.contact-action {
  display:block;
  padding:13px 0;
  border-bottom:1px solid #abb5a5;
  font-size:15px;
}
.contact-action:hover {
  color:#648065;
}
footer {
  padding:55px var(--gutter);
  display:flex;
  justify-content:space-between;
  gap:35px;
  align-items:start;
  background:var(--paper);
}
footer .brand {
  font-size:23px;
}
footer .brand small {
  font-size:12px;
}
footer p,footer a.footer-phone {
  font-size:13px;
}
footer>small {
  font-size:12px;
  color:var(--muted);
}
footer>small a {
  display:inline-block;
  margin-top:15px;
  border-bottom:1px solid var(--line);
}
.mobile-cta {
  display:none;
}
/* 詳細ページ */
.breadcrumbs {
  max-width:1360px;
  margin:auto;
  padding:25px var(--gutter);
  font-size:12px;
  color:var(--muted);
}
.breadcrumbs a {
  border-bottom:1px solid var(--line);
  margin-right:10px;
}
.article-hero,.temple-hero {
  padding:40px var(--gutter) 65px;
  max-width:1440px;
  margin:auto;
}
.ants-hero,.temple-hero {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:60px;
  align-items:center;
}
.ants-hero figure,.temple-hero figure {
  height:520px;
}
.ants-hero img,.temple-hero img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.article-lead,.temple-hero-copy>p:not(.eyebrow) {
  font-size:16px;
  margin:25px 0;
  line-height:2;
  color:var(--muted);
}
.temple-tags {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  font-size:13px;
  margin:25px 0;
}
.temple-tags span {
  border-bottom:1px solid var(--line);
  padding-bottom:8px;
}
.article-content {
  padding-top:60px;
}
.advice-box {
  background:#e9ece2;
  border-left:2px solid #76856c;
  padding:40px;
  margin:50px 0;
}
.advice-box h3 {
  font-size:25px;
}
.advice-box p {
  margin-top:18px;
  line-height:2;
}
.comparison {
  margin:75px 0 35px;
}
.comparison>p:not(.eyebrow) {
  margin:20px 0;
}
.comparison table {
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  margin-top:30px;
}
.comparison caption {
  text-align:left;
  font-size:13px;
  margin-bottom:10px;
  color:var(--muted);
}
th,td {
  text-align:left;
  padding:20px;
  border-bottom:1px solid var(--line);
}
th {
  font-weight:500;
}
thead {
  background:#e7eadd;
}
tbody th {
  white-space:nowrap;
}
.sources-note {
  font-size:12px;
  color:var(--muted);
}
.sources-note a {
  text-decoration:underline;
}
.page-consult {
  background:var(--green);
  color:var(--white);
  text-align:center;
  padding:75px var(--gutter);
}
.page-consult>.eyebrow {
  color:var(--gold);
}
.page-consult>p:not(.eyebrow) {
  margin-top:20px;
  font-size:15px;
}
.page-actions {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin:30px 0 20px;
}
.page-consult .button {
  border-color:#9baa98;
  color:var(--white);
  min-width:175px;
}
.page-consult .line-button {
  background:var(--white);
  color:var(--ink);
}
.page-consult .button:hover {
  background:var(--gold);
  color:var(--ink);
}
.consult-phone-numbers {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:25px;
  font-size:14px!important;
}
.page-consult .text-link {
  font-size:13px;
}
.temple-consult-info {
  margin:55px 0 0;
  border-top:1px solid var(--line);
  padding-top:50px;
}
.temple-consult-info ul {
  line-height:2.5;
}
.temple-consult-info>p:last-child {
  color:var(--muted);
}
.work-hero {
  text-align:center;
  padding-bottom:55px;
}
.work-scenes {
  padding:0 var(--gutter) 80px;
  max-width:1440px;
  margin:auto;
}
.work-scene {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
  gap:70px;
  margin:0 0 85px;
}
.work-scene:nth-child(even) {
  grid-template-columns:1fr 1.2fr;
}
.work-scene:nth-child(even) figure {
  order:2;
}
.work-scene img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.work-scene p:not(.eyebrow) {
  margin-top:25px;
  line-height:2;
  color:var(--muted);
}
/* お問い合わせ：入力項目・送信処理は従来どおり */
.inquiry-section {
  max-width:900px;
  margin:auto;
  padding:40px var(--gutter) 90px;
}
.form-heading {
  text-align:center;
  margin-bottom:45px;
}
.form-heading>p:last-child {
  margin-top:20px;
  color:var(--muted);
}
.form-notice {
  font-size:14px;
  background:#e8ebe0;
  padding:15px 20px;
  margin-bottom:30px;
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:25px;
}
.form-field {
  margin-bottom:30px;
}
.form-field label {
  display:block;
  font-size:14px;
  margin-bottom:10px;
}
.required {
  font-size:11px;
  border:1px solid #b0b8a8;
  padding:2px 7px;
  margin-left:8px;
}
.form-field input,.form-field textarea {
  width:100%;
  border:1px solid #b3bcae;
  background:#fffdf9;
  border-radius:0;
  padding:13px 15px;
  color:var(--ink);
  font-size:16px;
}
.form-field textarea {
  min-height:170px;
  resize:vertical;
}
.form-field input:focus,.form-field textarea:focus {
  outline:2px solid #48664e;
  outline-offset:2px;
}
.field-hint {
  margin-top:8px;
}
.honeypot {
  display:none;
}
.submit-button {
  width:100%;
  min-height:60px;
}
.button:disabled {
  opacity:.55;
  cursor:not-allowed;
}
.contact-line-alternative {
  text-align:center;
  margin:30px 0;
}
.phone-secondary {
  display:flex;
  justify-content:center;
  gap:30px;
  font-size:14px;
  border-top:1px solid var(--line);
  padding-top:25px;
}
#form-result {
  font-size:14px;
  margin-top:20px;
}
.thanks-page {
  padding:65px var(--gutter) 90px;
}
.thanks-card {
  max-width:850px;
  margin:auto;
  text-align:center;
}
.thanks-lead {
  margin-top:25px;
}
.thanks-note {
  text-align:left;
  background:#e9ece2;
  padding:30px;
  margin-top:40px;
}
.thanks-note h2 {
  font-size:22px;
  margin-bottom:15px;
}
.thanks-note p {
  font-size:15px;
}
.thanks-phones {
  font-size:14px;
}
@media(min-width:1500px) {
  .hero-photo {
    inset:0 0 0 34%;
  }
  .hero-copy {
    padding-left:10%;
  }
}
@media(max-width:1200px) {
  header nav {
    gap:13px;
    font-size:12px;
  }
  .brand {
    font-size:22px;
  }
  .brand small {
    font-size:10px;
  }
  .brand-mark {
    font-size:45px;
  }
  .guide-card {
    grid-template-columns:1fr;
  }
  .guide-card img {
    height:230px;
  }
  .experience-section {
    column-gap:40px;
  }
  .experience-photo {
    height:560px;
  }
}
@media(max-width:1020px) {
  header {
    height:80px;
    padding:0 25px;
  }
  header nav {
    display:none;
  }
  .mobile-menu {
    display:block;
  }
  .mobile-menu summary {
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    padding:12px 0;
  }
  .mobile-menu summary::-webkit-details-marker {
    display:none;
  }
  .menu-lines {
    display:block;
    width:24px;
    height:10px;
    border-top:1px solid var(--ink);
    border-bottom:1px solid var(--ink);
  }
  .mobile-menu[open] .menu-lines {
    border-bottom:0;
    transform:rotate(-45deg);
  }
  .mobile-menu-panel {
    position:absolute;
    top:80px;
    left:0;
    right:0;
    background:var(--paper);
    padding:15px 25px 25px;
    border-bottom:1px solid var(--line);
    box-shadow:0 14px 18px #102b2215;
    max-height:calc(100svh - 160px);
    overflow:auto;
  }
  .mobile-menu-panel a {
    display:block;
    padding:12px;
    border-bottom:1px solid var(--line);
    font-size:15px;
  }
  .hero {
    height:790px;
    min-height:730px;
  }
  .hero h1 {
    font-size:44px;
  }
  .area-layout {
    gap:30px;
  }
  .ants-hero,.temple-hero {
    gap:30px;
  }
  .ants-hero figure,.temple-hero figure {
    height:450px;
  }
  .experience-heading .eyebrow {
    font-size:11px;
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top:20px;
  }
  .brand {
    font-size:21px;
    gap:9px;
  }
  .brand small {
    font-size:9px;
    letter-spacing:.015em;
    margin-top:4px;
  }
  .brand-mark {
    font-size:39px;
  }
  header {
    height:74px;
    padding:0 20px;
  }
  .mobile-menu-panel {
    top:74px;
  }
  body {
    padding-bottom:76px;
  }
  .hero {
    height:calc(100svh - 74px - 70px);
    min-height:650px;
    max-height:850px;
  }
  .hero-photo {
    inset:0;
  }
  .hero-photo img {
    object-position:center center;
  }
  .hero:after {
    background:linear-gradient(0deg,rgba(8,32,23,.98),rgba(8,32,23,.05) 62%),linear-gradient(90deg,rgba(8,22,16,.25),rgba(8,22,16,.37));
  }
  .hero-copy {
    padding:26px 24px 22px;
    align-items:flex-end;
  }
  .hero-eyebrow {
    align-self:flex-start;
    font-size:11px;
    letter-spacing:.08em;
    margin-bottom:18px;
  }
  .hero-eyebrow:before {
    width:18px;
    margin-right:8px;
  }
  .hero h1 {
    font-size:37px;
    line-height:1.75;
    letter-spacing:.12em;
    margin:0 7px 25px 0;
    min-height:320px;
    flex:1;
    text-shadow:0 2px 16px #0008;
  }
  .hero-lead {
    font-size:15px;
    align-self:flex-start;
    line-height:1.9;
  }
  .hero-actions {
    width:100%;
    gap:7px;
    margin-top:17px;
  }
  .hero .button {
    font-size:12px;
    padding:12px 5px;
    min-width:0;
    min-height:48px;
    flex:1;
  }
  .hero-area-cities {
    align-self:flex-start;
    font-size:10px;
    margin-top:13px!important;
    letter-spacing:0;
  }
  .hero-area-cities a {
    margin-left:7px;
  }
  .price-strip {
    grid-template-columns:1fr;
    gap:25px;
    padding:38px 24px;
  }
  .price {
    font-size:50px;
  }
  .price-strip>.price-note {
    border-left:0;
    border-top:1px solid #526c5c;
    padding:23px 0 0;
  }
  .price-note h2 {
    font-size:23px;
  }
  .price-note p {
    font-size:13px;
  }
  .price-benefits {
    margin-bottom:13px;
  }
  .section,.article-content,.area-section {
    padding:60px 24px;
  }
  .section-heading {
    display:block;
    margin-bottom:30px;
  }
  .section-heading>p {
    margin-top:24px;
    font-size:14px;
  }
  .eyebrow {
    font-size:12px;
    margin-bottom:18px;
  }
  h2 {
    font-size:29px;
    line-height:1.65;
  }
  h3 {
    font-size:24px;
  }
  .guide-links {
    display:grid;
    grid-template-columns:1fr;
    gap:30px;
    padding-bottom:20px;
  }
  .guide-card {
    grid-template-columns:36% 1fr;
    gap:20px;
    padding-bottom:30px;
  }
  .guide-card img {
    height:185px;
  }
  .guide-card h2 {
    font-size:22px;
    letter-spacing:.015em;
  }
  .guide-card p {
    font-size:12px;
  }
  .guide-card .eyebrow {
    font-size:10px;
    letter-spacing:0;
  }
  .guide-card .eyebrow:before {
    display:none;
  }
  .guide-card strong {
    font-size:12px;
  }
  .prevention-story {
    padding:65px 24px 0;
    grid-template-columns:1fr;
    gap:20px;
  }
  .prevention-story>div:last-child {
    padding:0;
    font-size:15px;
    line-height:2.1;
  }
  .services,.steps,.building-types {
    grid-template-columns:1fr;
    gap:8px;
  }
  .services article,.steps article,.building-types article {
    padding:25px 0;
  }
  .number {
    float:right;
    font-size:20px;
    margin:3px 0 0 15px;
  }
  .services p {
    margin:15px 0;
    font-size:15px;
  }
  .experience-section {
    display:flex;
    flex-direction:column;
    padding:0 0 50px;
    gap:0;
  }
  .experience-photo {
    height:340px;
    width:100%;
  }
  .experience-heading {
    padding:35px 24px 0;
  }
  .experience-heading .eyebrow {
    font-size:11px;
  }
  .experience-body {
    padding:20px 24px 0;
  }
  .experience-lead {
    font-size:21px;
  }
  .area-layout {
    grid-template-columns:1fr;
    gap:30px;
  }
  .area-map-card {
    margin:0 -12px;
    padding:10px;
  }
  .area-home {
    padding-bottom:20px;
  }
  .area-list dd {
    font-size:14px;
  }
  .contact-section>div:first-child {
    display:block;
  }
  .contact-section>div:first-child>.eyebrow {
    margin-bottom:20px;
  }
  .contact-section>div:first-child>p:last-child {
    margin-top:20px;
  }
  .contact-options {
    grid-template-columns:1fr;
    margin-top:35px;
    gap:10px;
  }
  .contact-card {
    padding:25px 0 15px;
  }
  .contact-card p {
    font-size:14px;
    margin:12px 0;
  }
  .contact-action {
    font-size:16px;
  }
  footer {
    padding:40px 24px;
    flex-direction:column;
    gap:25px;
  }
  .mobile-contact-bar {
    position:fixed;
    z-index:25;
    bottom:0;
    left:0;
    right:0;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    background:var(--paper);
    padding-bottom:env(safe-area-inset-bottom);
    border-top:1px solid #c6cbbd;
    box-shadow:0 -5px 18px #122b2410;
  }
  .mobile-contact-bar a {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:12px 2px;
    border-left:1px solid var(--line);
    height:66px;
    line-height:1.6;
  }
  .mobile-contact-bar a:first-child {
    background:var(--green);
    color:var(--white);
    border:0;
  }
  .mobile-contact-bar small {
    font-size:9px;
    letter-spacing:0;
  }
  .mobile-contact-bar span {
    font-size:14px;
    letter-spacing:.04em;
  }
  .breadcrumbs {
    padding:20px 24px;
    font-size:11px;
  }
  .article-hero,.temple-hero {
    padding:25px 24px 45px;
  }
  .ants-hero,.temple-hero {
    grid-template-columns:1fr;
    gap:30px;
  }
  .ants-hero h1,.temple-hero h1 {
    font-size:32px;
  }
  .ants-hero figure,.temple-hero figure {
    height:320px;
    margin:0 -24px;
  }
  .article-lead,.temple-hero-copy>p:not(.eyebrow) {
    font-size:15px;
  }
  .temple-tags {
    font-size:12px;
    gap:14px;
  }
  .article-content {
    padding-top:35px;
  }
  .advice-box {
    padding:26px 22px;
    margin:30px 0;
  }
  .advice-box h2 {
    font-size:26px;
  }
  .advice-box p {
    font-size:15px;
  }
  .comparison {
    margin-top:50px;
  }
  .comparison h2 {
    font-size:27px;
  }
  .comparison table {
    font-size:13px;
    line-height:1.7;
  }
  th,td {
    padding:15px 9px;
  }
  .page-consult {
    padding:55px 24px;
  }
  .page-consult h2 {
    font-size:28px;
  }
  .page-consult>.eyebrow {
    font-size:11px;
    letter-spacing:.04em;
  }
  .page-consult>.eyebrow:before {
    display:none;
  }
  .page-consult .page-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .page-consult .page-actions .button {
    min-width:0;
    padding:13px 8px;
    font-size:13px;
  }
  .page-consult .page-actions .phone-button {
    grid-column:1/-1;
  }
  .consult-phone-numbers {
    flex-direction:column;
    gap:5px;
    font-size:14px!important;
  }
  .work-hero {
    text-align:left;
  }
  .work-hero h1 {
    font-size:32px;
  }
  .work-scenes {
    padding:0 24px 20px;
  }
  .work-scene,.work-scene:nth-child(even) {
    display:flex;
    flex-direction:column;
    gap:25px;
    margin-bottom:55px;
    align-items:stretch;
  }
  .work-scene:nth-child(even) figure {
    order:0;
  }
  .work-scene figure {
    margin:0 -24px;
  }
  .work-scene h2 {
    font-size:28px;
  }
  .work-scene p:not(.eyebrow) {
    font-size:15px;
    margin-top:15px;
  }
  .inquiry-section {
    padding:25px 24px 55px;
  }
  .form-heading {
    text-align:left;
    margin-bottom:30px;
  }
  .form-heading h1 {
    font-size:33px;
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .phone-secondary {
    flex-direction:column;
    gap:15px;
  }
  .thanks-page {
    padding:40px 24px;
  }
  .thanks-card {
    text-align:left;
  }
  .thanks-card h1 {
    font-size:29px;
  }
  .thanks-lead {
    font-size:15px;
  }
  .thanks-note {
    padding:25px;
  }
  .thanks-card .page-actions {
    flex-direction:column;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    transition:none!important;
  }
}
.brand-mark {
  width:44px;
  display:flex;
  align-items:center;
}
.brand-mark img {
  width:100%;
  height:auto;
}
@media(max-width:700px) {
  .brand-mark {
    width:34px;
  }
}

/* 2026-09 レスポンシブ補強：見出しの改行はHTMLのheading-lineで管理 */
h1, h2, h3 {
  text-wrap: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
.fit-heading {
  container-type: inline-size;
  min-width: 0;
  width: 100%;
}
.heading-line {
  display: block;
  font-size: min(1em, calc(100cqi / var(--line-units, 12)));
  line-height: 1.65;
  white-space: nowrap;
}
.section-heading > div,
.hero-copy, .temple-hero-copy,
.ants-hero > div, .work-scene > div,
.experience-heading, .experience-body,
.area-layout > *, .services > *, .contact-options > * {
  min-width: 0;
}
.section-heading > div { flex: 1 1 55%; }
.section-heading > p { flex: 0 1 40%; }
.brand, header nav, .button { white-space: nowrap; }
.hero h1 {
  flex: 0 0 auto;
  min-height: auto;
  height: auto;
  white-space: nowrap;
  margin-bottom: auto;
  padding-bottom: 28px;
}
.hero h1 span { white-space: nowrap; }
.hero {
  height: auto;
  min-height: 800px;
  max-height: none;
}
.hero-copy {
  min-height: 800px;
  padding-top: 42px;
}
.hero h1 { font-size: clamp(38px, 3.5vw, 52px); }
.hero-lead { margin-top: 22px; }
.hero-photo img { aspect-ratio: auto; }
.page-actions .button { flex-shrink: 0; }
.contact-section > div:first-child h2 { width: auto; flex: 1 1 50%; }
footer .brand { white-space: normal; }
.brand small { white-space: nowrap; }
img { color: transparent; }
input, textarea { scroll-margin-bottom: 100px; }

/* 静かな動き：文章は14px、写真はごく小さな倍率差のみ */
[data-reveal] {
  transition: opacity 800ms ease, transform 900ms cubic-bezier(.22,.61,.36,1);
}
.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
}
.is-visible {
  opacity: 1;
  transform: none;
}
.motion-ready .hero-photo img {
  animation: house-arrive 2200ms cubic-bezier(.2,.6,.3,1) both;
}
.motion-ready .hero h1 {
  animation: title-arrive 1100ms ease both;
}
@keyframes house-arrive {
  from { opacity: .65; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes title-arrive {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover:hover) and (pointer:fine) {
  .guide-card img { transition: filter 600ms ease; }
  .guide-card:hover img { filter: brightness(.94); }
  header nav a:not(.nav-contact) {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 8px;
    transition: color 250ms, text-decoration-color 250ms;
  }
  header nav a:not(.nav-contact):hover { text-decoration-color: currentColor; }
  .button, .contact-action { transition: color 250ms, background-color 250ms, border-color 250ms; }
}
@media (min-width:701px) and (max-width:1100px) {
  .ants-hero, .temple-hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .ants-hero h1, .temple-hero h1 { font-size: 36px; }
  .temple-hero-copy > p:not(.eyebrow), .article-lead { font-size: 15px; }
  .price-strip { gap: 35px; grid-template-columns: .85fr 1.15fr; }
  .price-note { padding-left: 28px; }
  .area-layout { grid-template-columns: 1fr; }
  .area-map-card { max-width: 700px; width: 100%; margin: auto; }
  .area-grid { display:grid; grid-template-columns: .7fr 1.3fr; gap:35px; }
  .area-home { align-self:start; }
  .area-list .area-caption { margin-top: 0; }
  footer { flex-wrap:wrap; }
}
@media (max-width:900px) {
  .experience-section { column-gap: 30px; padding-left: 32px; padding-right: 32px; }
  .experience-photo { height: 540px; }
  .contact-options { gap: 24px; }
}
@media (max-width:700px) {
  .hero, .hero-copy {
    min-height: max(660px, calc(100svh - 140px));
  }
  .hero-copy { height:auto; padding:26px 24px 24px; }
  .hero h1 {
    min-height:0;
    font-size:clamp(32px, 9.2vw, 39px);
    padding-bottom:25px;
    margin-bottom:auto;
  }
  .hero-lead { margin-top:24px; font-size:16px; }
  .hero .button { font-size:13px; min-height:48px; padding-inline:7px; white-space:nowrap; }
  .hero-area-cities { font-size:12px; line-height:1.8; }
  .hero-area-cities a { display:inline-block; }
  .hero-eyebrow { font-size:12px; }
  .experience-section { padding-left:0; padding-right:0; }
  .section-heading > div { width:100%; }
  .contact-section > div:first-child h2 { width:100%; }
  .guide-card { grid-template-columns:35% minmax(0,1fr); gap:18px; }
  .guide-card h2 { font-size:22px; }
  .guide-card p, .guide-card strong { font-size:14px; }
  .guide-card .eyebrow { font-size:12px; }
  .guide-card img { height:220px; }
  .mobile-contact-bar small { font-size:10px; }
  .mobile-contact-bar span { font-size:14px; }
  .contact-card p, .services p, .steps p, .building-types p { font-size:16px; }
  .article-content table { table-layout:fixed; }
  .article-content th, .article-content td { overflow-wrap:anywhere; }
  .article-content th:first-child { width:25%; }
  .button { white-space:normal; }
  .price-strip .price { font-size:clamp(40px,12vw,52px); }
}
@media (max-width:360px) {
  header { padding:0 16px; gap:12px; }
  .brand { font-size:19px; }
  .brand-mark { width:28px; }
  .brand small { font-size:9px; }
  .mobile-menu summary { gap:6px; font-size:11px; }
  .hero-copy { padding-left:20px; padding-right:20px; }
  .hero-eyebrow { font-size:11px; letter-spacing:.03em; }
  .hero h1 { margin-right:0; }
  .hero-lead { font-size:14px; }
  .guide-card { grid-template-columns:1fr; }
  .guide-card img { height:210px; }
  .guide-card h2 { font-size:26px; }
  .hero .button { font-size:12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after {
    animation:none!important;
    transition:none!important;
  }
  .reveal-pending { opacity:1; transform:none; }
}
@media print {
  [data-reveal] { opacity:1!important; transform:none!important; }
  .mobile-contact-bar, .mobile-menu { display:none; }
  body { padding-bottom:0; }
}

/* 写真と余白を主役にしたページ案内・施工・寺院の構成 */
.editorial-guides {gap:64px;padding-top:100px;padding-bottom:100px;align-items:start}
.editorial-guides .guide-card {display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0}
.editorial-guides figure {margin:0;overflow:hidden}
.editorial-guides .guide-card img {display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}
.editorial-guides .guide-card>div {padding:30px 0 0;max-width:100%}
.editorial-guides .guide-card h2 {font-size:clamp(28px,2.7vw,38px);letter-spacing:.04em}
.editorial-guides .guide-card .eyebrow {font-size:12px;margin-bottom:19px}
.editorial-guides .guide-card p {font-size:15px;line-height:2;margin:18px 0 0;max-width:32em}
.editorial-guides .guide-card strong {display:flex;justify-content:space-between;align-items:center;border:0;border-top:1px solid var(--line);padding:20px 0 0;margin-top:28px;font-size:14px}
.editorial-guides .guide-card strong:after {content:'→';font-size:22px;font-weight:400;transition:transform .3s}
.editorial-guides .guide-card:hover strong:after {transform:translateX(5px)}
.editorial-guides .photo-guide {margin-top:90px}
.work-detail .work-hero {max-width:1120px;text-align:left;margin:auto;padding-bottom:70px}
.work-detail .work-hero .article-lead {max-width:35em;margin-top:24px}
.work-detail .work-scene {grid-template-columns:1.4fr 1fr;gap:70px;align-items:center;margin-bottom:100px}
.work-detail .work-scene:nth-child(even) {grid-template-columns:1fr 1.4fr}
.work-detail .work-scene img {height:auto;aspect-ratio:1.5;object-fit:cover}
.work-detail .work-scene h2 {font-size:clamp(28px,3vw,40px)}
.work-detail .work-scene p:not(.eyebrow) {font-size:16px;line-height:2.2}
.temple-detail .temple-editorial-hero {position:relative;display:block;max-width:none;margin:0 0 100px;padding:0;min-height:690px;background:#123c31;color:#fff9e9;isolation:isolate}
.temple-editorial-hero figure {position:absolute;inset:0;z-index:-2;margin:0}
.temple-editorial-hero figure img {width:100%;height:100%;object-fit:cover;object-position:center}
.temple-editorial-hero:after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,31,24,.88),rgba(8,31,24,.55) 45%,rgba(8,31,24,.08))}
.temple-detail .temple-hero-copy {max-width:660px;padding:95px 55px 85px;margin-left:max(0px,calc((100vw - 1280px)/2))}
.temple-detail .temple-hero h1 {font-size:44px;color:inherit}
.temple-detail .temple-hero .eyebrow,.temple-detail .temple-hero p {color:inherit}
.temple-detail .temple-hero-copy>p:not(.eyebrow) {font-size:16px;line-height:2.2;margin-top:30px;max-width:28em}
.temple-detail .temple-hero .text-link {color:inherit;border-color:#cfc9b5;margin-top:30px}
.temple-detail .temple-content {max-width:1120px;padding:0 40px;margin:0 auto 110px}
.temple-introduction>div {display:grid;grid-template-columns:1fr 1.3fr;gap:90px;margin-top:35px}
.temple-introduction h2 {font-size:40px}
.temple-introduction p:not(.eyebrow) {font-size:16px;line-height:2.3;margin-bottom:22px}
.temple-scope {margin-top:100px}
.scope-row {display:grid;grid-template-columns:45px 180px 1fr;gap:30px;padding:35px 0;border-top:1px solid var(--line);align-items:baseline}
.scope-row:last-child {border-bottom:1px solid var(--line)}
.scope-row>span {font-family:Georgia,serif;color:var(--muted);font-size:14px}
.scope-row h3 {font-size:25px;font-weight:500}
.scope-row p {font-size:15px;line-height:2.1;margin:0}
@media(max-width:1000px){.editorial-guides{gap:35px}.work-detail .work-scene{gap:35px}.temple-introduction>div{gap:45px}.scope-row{grid-template-columns:30px 130px 1fr;gap:20px}}
@media(max-width:700px){
 .editorial-guides{grid-template-columns:1fr;gap:60px;padding:60px 24px}
 .editorial-guides .photo-guide{margin-top:0}
 .editorial-guides .guide-card>div{padding-top:23px}
 .editorial-guides .guide-card h2{font-size:30px}
 .editorial-guides .guide-card img{height:auto;aspect-ratio:1.4}
 .editorial-guides .guide-card p{font-size:15px}
 .work-detail .work-hero{padding:35px 24px 50px}
 .work-detail .work-scene,.work-detail .work-scene:nth-child(even){grid-template-columns:1fr;gap:28px;margin-bottom:65px}
 .work-detail .work-scene figure{order:0;margin:0}
 .work-detail .work-scene h2{font-size:30px}
 .temple-detail .temple-editorial-hero{min-height:650px;margin-bottom:65px}
 .temple-detail .temple-hero-copy{padding:60px 24px;margin:0;max-width:100%}
 .temple-detail .temple-hero h1{font-size:34px}
 .temple-editorial-hero:after{background:linear-gradient(90deg,rgba(8,31,24,.86),rgba(8,31,24,.45))}
 .temple-detail .temple-content{padding:0 24px;margin-bottom:65px}
 .temple-introduction>div{grid-template-columns:1fr;gap:30px;margin-top:25px}
 .temple-introduction h2{font-size:32px}
 .temple-scope{margin-top:60px}
 .scope-row{grid-template-columns:25px 1fr;gap:12px;padding:28px 0}
 .scope-row p{grid-column:2}.scope-row h3{font-size:25px}
}
.temple-detail .temple-editorial-hero figure {height:100%;width:100%;aspect-ratio:auto}


/* 写真の陰影と文字をつなぐ、二つの案内 */
.editorial-guides {display:grid;grid-template-columns:1fr;gap:44px;padding-top:72px;padding-bottom:48px}
.editorial-guides .guide-card {position:relative;display:flex;justify-content:center;align-items:stretch;isolation:isolate;overflow:hidden;margin:0;border:0;padding:0;color:#fff9ee;background:#173a30}
.editorial-guides .guide-card figure {position:absolute;inset:0;margin:0;width:100%;height:100%;z-index:-2}
.editorial-guides .guide-card img {width:100%;height:100%;aspect-ratio:auto;object-fit:cover;filter:none}
.editorial-guides .guide-card:before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,29,23,.89),rgba(8,29,23,.68) 40%,rgba(8,29,23,.08) 78%)}
.editorial-guides .guide-card>div {padding:48px 58px;width:58%;max-width:680px;background:none;margin:0}
.editorial-guides .guide-card h2 {font-size:clamp(28px,3vw,40px);color:inherit}
.editorial-guides .guide-card .eyebrow {color:#e4e6d9;font-size:12px;margin-bottom:22px}
.editorial-guides .guide-card .eyebrow:before {background:currentColor}
.editorial-guides .guide-card p {font-size:15px;line-height:2;color:#edece2;margin-top:20px;max-width:30em}
.editorial-guides .guide-card strong {display:flex;justify-content:flex-start;gap:30px;align-items:center;width:fit-content;font-size:13px;font-weight:400;padding:0 0 7px;margin-top:26px;border:0;border-bottom:1px solid #babdab;color:inherit}
.editorial-guides .guide-card strong:after {font-size:20px}
.editorial-guides .urgent-guide {min-height:330px}
.editorial-guides .urgent-guide img {object-position:center 55%}
.editorial-guides .urgent-guide h2 {font-size:clamp(27px,2.6vw,36px)}
.editorial-guides .photo-guide {min-height:510px}
.editorial-guides .photo-guide img {object-position:center 48%}
@media(hover:hover) and (pointer:fine){.editorial-guides .guide-card img {transition:transform 1.2s ease}.editorial-guides .guide-card:hover img {transform:scale(1.025);filter:none}}
@media(max-width:1000px){.editorial-guides .guide-card>div{width:65%;padding:40px}.editorial-guides .photo-guide{min-height:460px}}
@media(max-width:700px){
 .editorial-guides{gap:32px;padding:40px 20px 40px}
 .editorial-guides .guide-card>div{width:100%;max-width:none;padding:30px 24px}
 .editorial-guides .urgent-guide{min-height:310px}
 .editorial-guides .urgent-guide img{object-position:60% center}
 .editorial-guides .urgent-guide:before{background:linear-gradient(90deg,rgba(8,29,23,.88),rgba(8,29,23,.55))}
 .editorial-guides .guide-card h2,.editorial-guides .urgent-guide h2{font-size:28px}
 .editorial-guides .guide-card .eyebrow{font-size:11px;margin-bottom:18px}
 .editorial-guides .guide-card p{font-size:14px;margin-top:17px}
 .editorial-guides .guide-card strong{font-size:12px;margin-top:22px}
 .editorial-guides .photo-guide{min-height:500px;justify-content:flex-end}
 .editorial-guides .photo-guide figure{height:100%;inset:0}
 .editorial-guides .photo-guide img{object-position:65% top}
 .editorial-guides .photo-guide:before{background:linear-gradient(0deg,rgba(8,29,23,.97),rgba(8,29,23,.85) 35%,rgba(8,29,23,.05) 78%)}
 .editorial-guides .photo-guide>div{padding-top:190px}
}
