:root {
  --ink: #17252d;
  --ink-soft: #43535c;
  --paper: #f6f4ef;
  --white: #fff;
  --red: #be2e27;
  --red-dark: #8f201c;
  --gold: #c69a52;
  --line: #d9d5cc;
  --shadow: 0 18px 60px rgba(23, 37, 45, .13);
  --radius: 20px;
  --container: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font: 700 12px/1.2 system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section { padding: 100px 0; }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 42px; }
.section-head h2, .page-title h1 { margin: 0; font-family: "Shippori Mincho", "Yu Mincho", serif; font-weight: 600; line-height: 1.35; }
.section-head h2 { font-size: clamp(32px, 4vw, 54px); }
.section-head .choice-heading { font-size: clamp(24px, 7.4vw, 54px); white-space: nowrap; letter-spacing: -.035em; }
.section-head .service-heading { font-size: clamp(22px, 6.5vw, 48px); white-space: nowrap; letter-spacing: -.035em; }
.section-head p { max-width: 560px; margin: 0; color: var(--ink-soft); }
.section--ink .section-head p { color: rgba(255,255,255,.68); }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--red); font-weight: 700; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(5px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(23,37,45,.08);
  backdrop-filter: blur(15px);
}
.header-inner { height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 45px; aspect-ratio: 1; position: relative; display: grid; place-items: center; color: var(--white); background: var(--red); border-radius: 50% 50% 46% 54%; font-family: serif; font-size: 23px; font-weight: 700; }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.55); border-radius: inherit; }
.brand-text strong { display: block; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: 21px; letter-spacing: .12em; }
.brand-text small { display: block; color: #748088; font-size: 9px; line-height: 1.2; letter-spacing: .15em; }
.global-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.global-nav a { position: relative; font-size: 13px; font-weight: 700; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--red); transition: right .2s; }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { right: 0; }
.header-phone { display: grid; line-height: 1.1; color: var(--red); }
.header-phone small { color: var(--ink-soft); font-size: 9px; }
.header-phone strong { font-size: 18px; letter-spacing: .04em; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; color: var(--white); background: var(--red); border-radius: 999px; font-size: 13px; font-weight: 700; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { width: 26px; height: 2px; display: block; margin: 6px auto; background: var(--ink); transition: .25s; }

.hero { position: relative; min-height: min(790px, calc(100vh - 88px)); display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,25,31,.94) 0%, rgba(12,25,31,.63) 46%, rgba(12,25,31,.12) 75%), linear-gradient(0deg, rgba(12,25,31,.42), transparent 45%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.08); }
.hero-photo-curve { display: none; }
.hero .container { width: min(1500px, calc(100% - 96px)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: 80px 120px; color: var(--white); }
.hero-copy { max-width: none; min-width: 0; }
.hero-certification { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.hero-kicker strong { font-weight: 900; }
.hero-kicker::before { content: ""; width: 50px; height: 1px; background: var(--gold); }
.hero-certification-mark { width: 160px; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.hero-certification-mark img { width: 100%; height: auto; display: block; }
.hero h1 { margin: 0; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(50px, 4.2vw, 72px); line-height: 1.3; font-weight: 600; letter-spacing: .03em; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-line--accent { color: #efd5a5; }
.hero-lead { max-width: 620px; margin: 28px 0 36px; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.5vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 27px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: .2s; }
.btn--primary { color: var(--white); background: var(--red); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.hero-panel { align-self: end; padding: 28px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); backdrop-filter: blur(12px); border-radius: var(--radius); }
.hero-panel-label { margin: 0 0 18px; color: #efd5a5; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hero-points { display: grid; gap: 13px; }
.hero-point { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: center; }
.hero-point b { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: #efd5a5; border-radius: 50%; font-family: serif; }
.hero-point span { font-size: 14px; font-weight: 700; }
.hero-point-icon { display: none; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 40px; display: block; margin: 10px auto 0; background: rgba(255,255,255,.5); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.intro { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.intro-collage { position: relative; min-height: 520px; }
.intro-collage .main-photo { width: 82%; height: 470px; object-fit: cover; border-radius: 4px 80px 4px 4px; box-shadow: var(--shadow); }
.intro-collage .detail-photo { position: absolute; right: 0; bottom: 0; width: 48%; height: 230px; object-fit: cover; border: 10px solid var(--paper); }
.intro-collage .seal { position: absolute; right: 3%; top: -24px; width: 126px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--white); background: var(--red); border-radius: 50%; font: 700 12px/1.5 sans-serif; letter-spacing: .12em; transform: rotate(7deg); }
.intro-copy h2 { margin: 0 0 26px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.45; font-weight: 600; }
.intro-copy p { color: var(--ink-soft); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { min-height: 390px; position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); box-shadow: var(--shadow); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,27,34,.92), rgba(11,27,34,.05) 75%); }
.service-card:hover img { transform: scale(1.04); }
.service-card-body { position: absolute; z-index: 2; inset: auto 32px 30px; }
.service-card small { color: #efd5a5; font-weight: 700; letter-spacing: .18em; }
.service-card h3 { margin: 6px 0; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: 30px; }
.service-card p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }

.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.strength { min-height: 250px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.strength-num { color: var(--gold); font: 500 48px/1 serif; }
.strength h3 { margin: 44px 0 10px; font-size: 18px; }
.strength p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }

.feed-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.feed-tab { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.feed-tab.is-active { color: var(--white); border-color: var(--red); background: var(--red); }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 16px; box-shadow: 0 12px 35px rgba(23,37,45,.08); transition: transform .2s; }
.post-card:hover { transform: translateY(-5px); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: #d8d4cb; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb--news { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--white); background: linear-gradient(135deg, #152832, #2e4650); }
.post-thumb--news::before { content: ""; position: absolute; width: 150px; height: 150px; right: -35px; top: -45px; border: 1px solid rgba(239,213,165,.3); border-radius: 50%; }
.post-thumb--news { position: relative; }
.post-thumb--news span { color: #efd5a5; font: 600 clamp(34px, 5vw, 58px)/1 serif; letter-spacing: .08em; }
.post-thumb--news small { margin-top: 9px; font-size: 10px; letter-spacing: .2em; opacity: .72; }
.post-body { display: grid; gap: 12px; padding: 23px; }
.post-body > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.post-meta { display: flex; align-items: center; gap: 10px; color: #75828a; font-size: 11px; }
.post-tag { padding: 4px 9px; color: var(--red); background: #f7e8e5; border-radius: 999px; font-weight: 700; }
.post-card h3 { margin: 0; font-size: 17px; line-height: 1.65; }
.cms-note { margin-top: 28px; padding: 14px 18px; border: 1px dashed #c7bda9; border-radius: 10px; color: #70695e; background: #fbf8f1; font-size: 12px; }
.feed-status { margin-top: 24px; color: #70695e; font-size: 12px; }
.feed-loading, .feed-error { grid-column: 1 / -1; min-height: 180px; display: grid; place-content: center; padding: 30px; border: 1px dashed #c7bda9; border-radius: 16px; color: #70695e; background: #fbf8f1; text-align: center; }
.post-row--live { grid-template-columns: 150px 1fr; align-items: center; }
.post-date-tile { min-height: 112px; display: grid; place-content: center; color: var(--white); background: var(--ink); border-radius: 10px; text-align: center; }
.post-date-tile small { color: #efd5a5; font-size: 12px; letter-spacing: .12em; }
.post-date-tile strong { font: 600 28px/1.3 serif; }

.area-wrap { display: block; }
.area-wrap > .reveal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 52px; align-items: start; }
.area-wrap > .reveal > :not(.area-map) { grid-column: 1; }
.area-wrap > .reveal > .area-map { grid-column: 2; grid-row: 1 / 6; align-self: center; margin: 0; }
.area-map { min-height: 360px; position: relative; display: grid; place-items: center; overflow: hidden; background: #e8e2d6; border-radius: 50% 45% 52% 48%; }
.area-map::before { content: "埼玉県"; color: rgba(190,46,39,.13); font: 700 clamp(60px, 9vw, 118px)/1 serif; transform: rotate(-7deg); }
.area-map::after { content: "鶴ヶ島市を中心に対応"; position: absolute; padding: 12px 18px; color: var(--white); background: var(--red); border-radius: 999px; font-size: 13px; font-weight: 700; }
.area-map--image { margin: 0; padding: 18px; border: 1px solid #e2dbcf; border-radius: 30px; background: #f7f3eb; box-shadow: 0 16px 45px rgba(23,37,45,.09); }
.area-map--image::before, .area-map--image::after { content: none; }
.area-map--image img { width: 100%; height: auto; max-height: 430px; object-fit: contain; }
.area-map--embed { display: block; background: #e8e2d6; }
.area-map--embed::before, .area-map--embed::after { content: none; }
.area-map--embed iframe { width: 100%; height: 360px; min-height: 360px; display: block; border: 0; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.area-list span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; }
.area-list + .area-map--image { margin-top: 32px; }
.area-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; background: #f7f1e8; }
.area-contact p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.area-contact a { color: var(--red); font: 700 clamp(20px, 2.1vw, 27px)/1.1 system-ui, sans-serif; white-space: nowrap; }

.home-diagnosis-section { background: var(--paper); }
.home-diagnosis-card { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); overflow: hidden; color: var(--white); border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.home-diagnosis-photo { position: relative; min-width: 0; min-height: 520px; margin: 0; }
.home-diagnosis-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-diagnosis-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(12,25,31,.78)); }
.home-diagnosis-photo figcaption { position: absolute; z-index: 1; left: 34px; bottom: 30px; padding: 10px 16px; color: var(--ink); border-radius: 999px; background: var(--gold); font-size: 12px; font-weight: 800; }
.home-diagnosis-copy { padding: clamp(38px, 5vw, 68px); }
.home-diagnosis-copy h2 { margin: 0 0 22px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.45; font-weight: 600; }
.home-diagnosis-copy > p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.72); }
.home-diagnosis-copy .home-diagnosis-catch { margin: -8px 0 20px; color: var(--white); font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(21px, 2vw, 28px); line-height: 1.5; font-weight: 600; }
.home-diagnosis-signs { display: grid; gap: 9px; margin: 26px 0 32px; padding: 0; list-style: none; }
.home-diagnosis-signs li { position: relative; padding-left: 28px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; }
.home-diagnosis-signs li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.home-diagnosis-copy .btn { min-width: 250px; }

.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--red); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0 58%, rgba(255,255,255,.08) 58%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-block: 60px; }
.cta-inner h2 { margin: 0 0 8px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(28px, 4vw, 45px); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 12px; }
.cta-actions .btn { background: var(--white); color: var(--red); }
.cta-actions .btn--outline { color: var(--white); border-color: rgba(255,255,255,.55); background: transparent; }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.75); background: #101d23; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 70px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin: 26px 0 0; font-size: 13px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.footer-nav a { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }

.page-title { position: relative; padding: 88px 0 78px; overflow: hidden; color: var(--white); background: var(--ink); }
.page-title::after { content: attr(data-en); position: absolute; right: -10px; bottom: -35px; color: rgba(255,255,255,.035); font: 700 clamp(80px, 16vw, 220px)/1 sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.page-title h1 { position: relative; z-index: 1; font-size: clamp(38px, 6vw, 72px); }
.breadcrumbs { position: relative; z-index: 1; margin-top: 18px; color: rgba(255,255,255,.55); font-size: 11px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 58px; align-items: start; }
.article { min-width: 0; }
.contact-form [aria-invalid="true"] { border: 2px solid #b5221d; }
.contact-form .field-error { margin: 6px 0 0; color: #b5221d; font-size: 14px; }
.contact-form .form-status { color: #b5221d; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
.thanks-panel { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 70px); text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.thanks-panel h2 { margin: 10px 0 22px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.5; }
.thanks-panel p { color: var(--ink-soft); }
.thanks-panel .btn { margin-top: 18px; }
.article h2 { margin: 0 0 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.45; }
.article h3 { margin: 44px 0 16px; font-size: 23px; line-height: 1.5; }
.article p { color: var(--ink-soft); }
.article-photo { width: 100%; max-height: 440px; margin: 30px 0; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-photo-link { display: block; border-radius: var(--radius); }
.article-photo-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.loan-company-logos { display: flex; align-items: center; min-height: 148px; margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 12px 35px rgba(23,37,45,.07); }
.loan-company-logos img { display: block; width: 100%; max-width: 770px; height: auto; margin: 0 auto; }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 14px 16px 14px 48px; background: var(--white); border-radius: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--red); font-weight: 900; }
.info-table { width: 100%; border-collapse: collapse; background: var(--white); }
.info-table th, .info-table td { padding: 18px; border-bottom: 1px solid #e6e2da; text-align: left; vertical-align: top; }
.info-table th { width: 26%; color: var(--red); font-size: 13px; }
.price-scroll { overflow-x: auto; }
.price-table { min-width: 700px; }
.price-table.price-table--simple { width: 100%; min-width: 0; }
.sidebar { position: sticky; top: 115px; }
.side-box { padding: 24px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 35px rgba(23,37,45,.07); }
.side-box + .side-box { margin-top: 18px; }
.side-box h3 { margin: 0 0 14px; font-size: 16px; }
.side-menu { display: grid; }
.side-menu a { padding: 12px 0; border-bottom: 1px solid #ece8df; font-size: 13px; font-weight: 700; }
.side-contact { color: var(--white); background: var(--red); }
.side-contact strong { display: block; margin-top: 8px; font-size: 23px; }
.side-line { color: var(--white); background: #06c755; }
.side-line-link { min-height: 46px; display: flex; align-items: center; justify-content: center; margin-top: 18px; padding: 10px 16px; color: #06a947; background: var(--white); border-radius: 999px; font-size: 14px; font-weight: 800; }
.side-line-link::after { content: "→"; margin-left: 9px; }
.mobile-contact-options { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { overflow: hidden; background: var(--white); border-radius: 12px; box-shadow: 0 8px 25px rgba(23,37,45,.08); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item p { margin: 0; padding: 15px; font-size: 13px; }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.voice-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid #e4ded2; border-radius: 16px; box-shadow: 0 10px 30px rgba(23,37,45,.08); transition: transform .25s ease, box-shadow .25s ease; }
.voice-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(23,37,45,.13); }
.voice-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #f4f1ea; }
.voice-card span { padding: 14px 16px; font-size: 13px; font-weight: 700; }
.faq { display: grid; gap: 14px; }
.faq details { padding: 18px 22px; background: var(--white); border-radius: 12px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { padding-top: 12px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 700; font-size: 13px; }
.form-row input, .form-row textarea { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.form-row textarea { min-height: 170px; resize: vertical; }
.form-note { padding: 14px; color: #726b5f; background: #f0eadf; border-radius: 8px; font-size: 12px; }
.post-list { display: grid; gap: 18px; }
.post-row { display: grid; grid-template-columns: 220px 1fr; gap: 25px; padding: 18px; background: var(--white); border-radius: 14px; box-shadow: 0 8px 25px rgba(23,37,45,.06); }
.post-row img { width: 100%; height: 150px; object-fit: cover; border-radius: 9px; }
.post-row h2 { margin: 8px 0; padding: 0; border: 0; font: 700 20px/1.55 inherit; }
.works-intro { margin: 0 0 28px; }
.post-row--text { grid-template-columns: 1fr; padding: 22px 26px; }
.post-row--text h2 { margin-bottom: 0; }
.works-featured-grid { margin-bottom: 34px; }
.works-more { margin-top: 34px; }
.works-more summary { list-style: none; }
.works-more summary::-webkit-details-marker { display: none; }
.works-more-button { width: min(100%, 320px); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--white); background: var(--red); border-radius: 999px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(190,46,39,.2); }
.works-more-button:hover { filter: brightness(.96); }
.works-more-close { display: none; }
.works-more-icon { font-size: 22px; line-height: 1; transition: transform .25s; }
.works-more[open] .works-more-open { display: none; }
.works-more[open] .works-more-close { display: inline; }
.works-more[open] .works-more-icon { transform: rotate(45deg); }
.works-more-list { margin-top: 28px; }
.works-more > summary { width: min(100%, 320px); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: center; color: var(--white); background: var(--red); border-radius: 999px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(190,46,39,.2); }
.works-text-list { margin-top: 28px; display: grid; gap: 12px; }
.works-text-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; padding: 18px 22px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.works-text-item time { color: var(--red); font-size: 13px; font-weight: 700; }
.works-text-item span { font-weight: 700; }
.pagination { margin-top: 48px; }
.pagination .page-numbers { margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; }
.pagination a, .pagination span { min-width: 48px; min-height: 48px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-weight: 700; }
.pagination .current { border-color: var(--red); color: var(--white); background: var(--red); }
.single-featured { margin: 26px 0; }
.single-featured img { width: 100%; height: auto; border-radius: var(--radius); }
.post-article > h1 { margin: 12px 0 24px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.45; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note--success { margin-bottom: 24px; color: #185d35; background: #e5f5eb; }
.form-note--error { margin-bottom: 24px; color: #8c1f1a; background: #fbe7e5; }
.archive-pagination { margin-top: 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.archive-page { min-width: 48px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-weight: 700; transition: .2s ease; }
.archive-page:hover { border-color: var(--red); color: var(--red); }
.archive-page.is-current { border-color: var(--red); color: var(--white); background: var(--red); }
.archive-page--next { min-width: 110px; }
.company-office-photo { margin: 0; padding: 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.company-office-photo img { display: block; width: 100%; border-radius: 10px; }
.company-office-photo figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.article-detail h1 { margin: 10px 0 20px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.45; }
.article-loading, .article-error { min-height: 280px; display: grid; align-content: center; padding: 35px; border: 1px dashed #c7bda9; border-radius: var(--radius); background: #fbf8f1; }
.article-error h2 { margin-bottom: 12px; }
.legacy-article-photo { max-height: none; object-fit: contain; background: var(--white); }
.legacy-article-body { margin-top: 30px; }
.legacy-article-body p { white-space: pre-line; font-size: 16px; line-height: 2; }
.article-back { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.mobile-fixed { display: none; }

/* 横幅がやや狭い画面では、職人の顔を画面内に残すよう写真の表示位置だけを調整。 */
@media (min-width: 761px) and (max-width: 1360px) {
  .hero-media img { object-position: 75% center; }
}

@media (max-width: 1060px) {
  .global-nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .global-nav.is-open { position: fixed; inset: 88px 0 0; display: grid; align-content: start; gap: 0; padding: 28px 24px 120px; background: var(--white); overflow-y: auto; }
  .global-nav.is-open a { padding: 17px 6px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero .container { width: var(--container); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .side-box + .side-box { margin-top: 0; }
}

.contact-title-break { display: none; }

@media (max-width: 760px) {
  .contact-title-break { display: block; }
  :root { --container: min(100% - 32px, 1160px); }
  body { font-size: 14px; padding-top: 72px; padding-bottom: 64px; }
  .site-header { position: fixed; inset: 0 0 auto; width: 100%; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .header-inner { height: 72px; gap: 12px; }
  .brand-mark { width: 40px; }
  .brand-text strong { font-size: 17px; }
  .header-cta { display: none; }
  .global-nav.is-open { inset: 72px 0 0; }
  .hero { --hero-photo-height: clamp(210px, 62vw, 300px); min-height: 0; display: block; background: var(--ink); }
  .hero-media { height: var(--hero-photo-height); }
  .hero-media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(12,25,31,.7) 10%, transparent 48%); }
  .hero-media img { object-position: 66% center; filter: saturate(.86) contrast(1.06); }
  .hero-photo-curve { position: absolute; z-index: 1; top: calc(var(--hero-photo-height) - 54px); left: 0; display: block; width: 100%; height: 56px; pointer-events: none; }
  .hero-photo-curve-gold { fill: #efd5a5; }
  .hero-photo-curve-ink { fill: var(--ink); }
  .hero .container { width: min(100% - 32px, 560px); }
  .hero-grid { display: block; padding-block: calc(var(--hero-photo-height) - 27px) 52px; }
  .hero-certification { display: flex; flex-direction: row; align-items: center; gap: 8px; margin-bottom: 22px; }
  .hero-kicker { width: fit-content; max-width: 100%; margin: 0; padding: 10px 18px 10px 15px; color: var(--ink); background: linear-gradient(100deg, #f6d793, #e9bd65); clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%, 3% 50%); font-family: Meiryo, "Yu Gothic", sans-serif; font-size: clamp(8.8px, 2.65vw, 10.5px); font-weight: 900; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
  .hero-kicker strong { -webkit-text-stroke: .45px currentColor; }
  .hero-kicker::before { display: none; }
  .hero-certification-mark { position: static; width: clamp(62px, 18vw, 76px); padding: 4px 6px; border-radius: 6px; box-shadow: 0 5px 14px rgba(0,0,0,.16); }
  .hero h1 { font-size: clamp(25px, 7.8vw, 32px); line-height: 1.42; letter-spacing: .015em; }
  .hero-title-line { white-space: nowrap; }
  .hero-lead { max-width: none; margin: 20px 0 26px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.9; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .btn { width: 100%; min-height: 60px; position: relative; padding-inline: 24px 45px; font-size: 16px; }
  .hero-actions .btn::after { content: "›"; position: absolute; right: 24px; top: 50%; transform: translateY(-53%); font-size: 30px; font-weight: 400; }
  .hero-actions .btn--ghost { border: 2px solid #efd5a5; background: transparent; }
  .hero-panel { max-width: none; margin-top: 38px; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
  .hero-panel-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: Georgia, serif; font-size: 10px; line-height: 1; letter-spacing: .19em; white-space: nowrap; }
  .hero-panel-label::before, .hero-panel-label::after { content: ""; flex: 1; height: 1px; background: rgba(239,213,165,.75); }
  .hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 17px 8px; border: 1px solid rgba(255,255,255,.36); border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
  .hero-point { min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 0 8px; text-align: center; }
  .hero-point + .hero-point { border-left: 1px solid rgba(239,213,165,.46); }
  .hero-point b { width: 30px; height: 30px; color: #efd5a5; border-radius: 0; background: transparent; }
  .hero-point-number { display: none; }
  .hero-point-icon { width: 29px; height: 29px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .hero-point > span { font-size: clamp(10px, 2.75vw, 12px); line-height: 1.45; }
  .hero-scroll { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro-collage { min-height: 390px; }
  .intro-collage .main-photo { height: 360px; }
  .intro-collage .detail-photo { height: 165px; border-width: 7px; }
  .intro-collage .seal { width: 104px; }
  .service-grid, .feed-grid, .footer-grid, .cta-inner { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .strength { min-height: 215px; padding: 25px 18px; }
  .strength h3 { margin-top: 28px; }
  .cta-actions { display: grid; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: block; }
  .page-title { padding: 65px 0 58px; }
  .sidebar { grid-template-columns: 1fr; }
  .mobile-contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
  .mobile-contact-options .side-box { min-width: 0; padding: 18px 16px; }
  .mobile-contact-options .side-box + .side-box { margin-top: 0; }
  .mobile-contact-options .side-box h3 { font-size: 14px; }
  .mobile-contact-options .side-box p { color: var(--white); font-size: 11px; line-height: 1.65; }
  .mobile-contact-options .side-contact strong { font-size: clamp(17px, 4.6vw, 21px); white-space: nowrap; }
  .mobile-contact-options .side-line-link { min-height: 42px; padding: 8px 12px; font-size: 12px; }
  .sidebar > .side-contact, .sidebar > .side-line { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .post-row { grid-template-columns: 110px 1fr; gap: 15px; padding: 12px; }
  .post-row img { height: 110px; }
  .post-row h2 { font-size: 16px; }
  .mobile-fixed { position: fixed; z-index: 99; inset: auto 0 0; height: 64px; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 25px rgba(0,0,0,.14); }
  .mobile-fixed a { display: grid; place-items: center; color: var(--white); background: var(--red); font-weight: 700; }
  .mobile-fixed .mobile-phone-cta { align-content: center; gap: 2px; line-height: 1.15; }
  .mobile-phone-cta span { font-size: 10px; }
  .mobile-phone-cta strong { font-size: 16px; letter-spacing: .03em; }
  .mobile-fixed a:last-child { background: #2d9f55; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .strength-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 5px; border-bottom: 0; }
  .info-table td { padding-top: 5px; }
  .price-scroll { overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .price-scroll::before { content: "左右にスクロールしてご覧ください →"; position: sticky; left: 0; display: block; width: max-content; margin: 0 0 10px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
  .price-table { display: table; width: max-content; min-width: 700px; table-layout: auto; }
  .price-table tbody { display: table-row-group; }
  .price-table tr { display: table-row; }
  .price-table th, .price-table td { display: table-cell; width: auto; min-width: 135px; padding: 14px 16px; border-bottom: 1px solid #e6e2da; white-space: nowrap; }
  .price-table th { color: var(--red); background: #f7f1e8; }
  .price-table th:first-child, .price-table td:first-child { position: sticky; left: 0; z-index: 2; min-width: 86px; background: var(--white); box-shadow: 1px 0 0 #e6e2da; }
  .price-table th:first-child { z-index: 3; background: #f7f1e8; }
}

@media (max-width: 400px) {
  .mobile-contact-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Static preview: desktop and mobile use the same full-screen menu. */
.global-nav { display: none; }
.nav-open .site-header { backdrop-filter: none; }
.nav-toggle { display: block; flex: 0 0 46px; position: relative; z-index: 102; }
.nav-toggle::after { content: "ページ\Aメニュー"; position: absolute; top: calc(50% + 14px); left: 50%; transform: translateX(-50%); color: var(--ink); font-family: Meiryo, "Yu Gothic", sans-serif; font-size: 9px; font-weight: 500; line-height: 10px; letter-spacing: 0; text-align: center; white-space: pre; pointer-events: none; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.global-nav.is-open {
  position: fixed;
  inset: 88px 0 0;
  z-index: 101;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  grid-template-areas: "intro intro" "groups contact";
  align-items: start;
  gap: 34px clamp(38px, 5vw, 76px);
  padding: clamp(38px, 5vw, 64px) max(32px, calc((100vw - 1160px) / 2)) 80px;
  color: var(--white);
  background: var(--ink);
  overflow-y: auto;
}
.nav-menu-intro { grid-area: intro; display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.13); }
.nav-menu-label { margin: 0; color: var(--gold); font: 700 12px/1 system-ui, sans-serif; letter-spacing: .3em; }
.global-nav.is-open .nav-menu-intro > a { position: relative; padding-right: 24px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; }
.global-nav.is-open .nav-menu-intro > a::before { content: "→"; position: absolute; right: 0; color: var(--gold); }
.global-nav.is-open a::after { display: none; }
.nav-groups { grid-area: groups; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 42px); }
.nav-group { min-width: 0; }
.nav-group-heading { min-height: 72px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.26); }
.nav-group-heading small { display: block; margin-bottom: 6px; color: var(--gold); font: 700 10px/1.2 system-ui, sans-serif; letter-spacing: .2em; }
.nav-group-heading h2 { margin: 0; font: 600 clamp(19px, 1.6vw, 24px)/1.4 "Shippori Mincho", "Yu Mincho", serif; }
.nav-group-links { display: grid; }
.global-nav.is-open .nav-group-links a { position: relative; padding: 15px 24px 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; font-weight: 700; white-space: normal; }
.global-nav.is-open .nav-group-links a::before { content: "→"; position: absolute; right: 2px; color: var(--gold); font-size: 13px; transition: transform .2s; }
.global-nav.is-open .nav-group-links a:hover::before { transform: translateX(4px); }
.global-nav.is-open .nav-group-links a[aria-current="page"] { color: #efd5a5; }
.nav-contact { grid-area: contact; align-self: stretch; padding: 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.06); }
.nav-contact-kicker { margin: 0 0 12px; color: var(--gold); font: 700 10px/1.2 system-ui, sans-serif; letter-spacing: .2em; }
.nav-contact h2 { margin: 0 0 24px; font: 600 20px/1.65 "Shippori Mincho", "Yu Mincho", serif; }
.nav-contact-actions { display: grid; gap: 12px; }
.global-nav.is-open .nav-contact-actions a { border-radius: 10px; text-align: center; }
.nav-contact-phone { display: grid; gap: 4px; padding: 14px 12px; color: var(--ink); background: #efd5a5; }
.nav-contact-phone small { font-size: 11px; font-weight: 700; }
.nav-contact-phone strong { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; letter-spacing: .04em; }
.nav-contact-button { padding: 15px 12px; color: var(--white); background: var(--red); font-size: 13px; font-weight: 800; }

/* 新着情報・施工実績の2カテゴリー表示。 */
.category-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.category-panel { --panel-accent: #c72d26; --panel-pale: #fbe9e6; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #eadfd9; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(23,37,45,.07); }
.category-panel--works { --panel-accent: #c85c80; --panel-pale: #fbe8ef; }
.category-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; color: var(--panel-accent); border-bottom: 3px solid var(--panel-accent); background: var(--panel-pale); }
.category-panel-head small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.category-panel-head h3 { margin: 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
.category-panel-head > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #fff; border-radius: 50%; background: var(--panel-accent); }
.category-post-list { flex: 1; margin: 0; padding: 0 18px; list-style: none; }
.category-post-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 17px 0; border-bottom: 1px solid #ece5df; }
.category-post-list time { color: #6f777b; font-size: 12px; white-space: nowrap; }
.category-post-list a { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; }
.category-panel-more { width: 100%; display: block; padding: 13px 18px; color: #fff; border: 0; background: var(--panel-accent); font-size: 13px; font-weight: 800; text-align: center; }

/* おうちの無料診断 */
.diagnosis-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.diagnosis-intro h2, .diagnosis-cta h2 { margin: 0 0 24px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.45; font-weight: 600; }
.diagnosis-cta-line { display: block; white-space: nowrap; }
.diagnosis-title-line { display: block; white-space: nowrap; }
.diagnosis-intro p { margin-bottom: 30px; color: var(--ink-soft); }
.diagnosis-photo { width: 100%; min-height: 460px; max-height: 570px; object-fit: cover; border-radius: 80px 8px 80px 8px; box-shadow: var(--shadow); }
.diagnosis-signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diagnosis-signs article { min-height: 215px; padding: 26px; border: 1px solid #e4dfd6; border-radius: 16px; background: var(--paper); }
.diagnosis-signs span { color: var(--gold); font: 600 32px/1 serif; }
.diagnosis-signs h3 { margin: 28px 0 8px; font-size: 18px; }
.diagnosis-signs p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.diagnosis-inspection { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.diagnosis-inspection-photo { min-width: 0; margin: 0; }
.diagnosis-inspection-photo img { width: 100%; min-height: 590px; object-fit: cover; border-radius: 8px 72px 8px 8px; box-shadow: var(--shadow); }
.diagnosis-inspection-copy h2 { margin: 0 0 22px; font-family: "Shippori Mincho", "Yu Mincho", serif; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.5; font-weight: 600; }
.diagnosis-inspection-lead { margin: 0 0 28px; color: var(--ink-soft); }
.diagnosis-inspection-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diagnosis-inspection-points article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 18px; border: 1px solid #e4dfd6; border-radius: 12px; background: var(--white); }
.diagnosis-inspection-points b { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); font-size: 11px; }
.diagnosis-inspection-points h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.5; }
.diagnosis-inspection-points p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.diagnosis-inspection-note { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: #f7f1e8; color: var(--ink-soft); font-size: 13px; }
.diagnosis-flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.diagnosis-flow article { min-height: 245px; padding: 30px 25px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.diagnosis-flow b { color: var(--gold); font: 500 42px/1 serif; }
.diagnosis-flow h3 { margin: 40px 0 10px; font-size: 18px; }
.diagnosis-flow p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }
.diagnosis-cta { padding: clamp(40px, 7vw, 76px); border-radius: 24px; color: var(--white); background: linear-gradient(120deg, var(--ink), #2d4550); box-shadow: var(--shadow); }
.diagnosis-cta > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.diagnosis-cta > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.diagnosis-phone { color: var(--white); border-color: rgba(255,255,255,.45); }

@media (max-width: 900px) {
  .global-nav.is-open { grid-template-columns: 1fr; grid-template-areas: "intro" "groups" "contact"; gap: 26px; padding-block: 30px 110px; }
  .nav-groups { grid-template-columns: 1fr; gap: 28px; }
  .nav-group-heading { min-height: 0; }
  .nav-group-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .nav-contact { display: block; }
  .nav-contact h2 br { display: none; }
  .nav-contact-actions { grid-template-columns: 1fr 1fr; }
  .category-panels { grid-template-columns: 1fr; }
  .diagnosis-intro { grid-template-columns: 1fr; }
  .home-diagnosis-card { grid-template-columns: 1fr; }
  .home-diagnosis-photo { min-height: 360px; }
  .diagnosis-photo { min-height: 340px; order: -1; }
  .diagnosis-signs { grid-template-columns: repeat(2, 1fr); }
  .diagnosis-inspection { grid-template-columns: 1fr; }
  .diagnosis-inspection-photo img { min-height: 390px; max-height: 520px; }
  .diagnosis-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .global-nav.is-open { inset: 72px 0 0; }
  .global-nav.is-open .nav-group-links a { padding-block: 12px; font-size: 14px; }
  .category-post-list li { grid-template-columns: 82px minmax(0, 1fr); }
  .area-wrap > .reveal { display: block; }
  .area-wrap > .reveal > .area-map { margin-top: 32px; }
}

@media (max-width: 520px) {
  .header-phone { display: none; }
  .brand-text strong { font-size: 15px; letter-spacing: .06em; }
  .brand-text small { font-size: 8px; letter-spacing: .08em; }
  .global-nav.is-open { padding-inline: 20px; }
  .nav-group-links, .nav-contact-actions { grid-template-columns: 1fr; }
  .nav-contact { padding: 20px; }
  .diagnosis-photo { min-height: 260px; border-radius: 42px 6px; }
  .home-diagnosis-card { border-radius: 18px; }
  .home-diagnosis-photo { min-height: 250px; }
  .home-diagnosis-photo figcaption { left: 20px; bottom: 18px; }
  .home-diagnosis-copy { padding: 30px 22px; }
  .home-diagnosis-copy h2 { font-size: 34px; }
  .home-diagnosis-copy .btn { width: 100%; min-width: 0; padding-inline: 18px; }
  .diagnosis-signs, .diagnosis-flow { grid-template-columns: 1fr; }
  .diagnosis-signs article, .diagnosis-flow article { min-height: 0; }
  .diagnosis-inspection-photo img { min-height: 250px; border-radius: 42px 6px; }
  .diagnosis-inspection-points { grid-template-columns: 1fr; }
  .diagnosis-cta > div { display: grid; }
  .diagnosis-cta { padding: 36px 22px; }
  .diagnosis-cta h2 { font-size: clamp(19px, 6.1vw, 26px); line-height: 1.6; }
  .area-contact { grid-template-columns: 1fr; gap: 10px; }
  .works-text-item { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
}
