/* 風ぴかりウェブサイトの見た目。PC幅で先に作り、そのあとタブレット(960px以下)・スマホ(600px以下)に合わせる。
   読む方は50〜60代の女性が中心なので、文字は大きめ・行間は広め・色の差ははっきり。
   守りの設定(CSP)で外のフォント・インラインのstyleは使えないので、端末の文字とこのファイルだけで作る。 */
:root {
  --main: #1f6f8b;        /* 風の青 */
  --main-dark: #164f63;
  --sky: #eaf4f7;         /* 薄い空色(帯の背景) */
  --warm: #c8693a;        /* 申し込みボタンの色 */
  --warm-dark: #a9532a;
  --line: #06c755;        /* LINEの緑 */
  --line-dark: #05a647;
  --text: #22313a;
  --muted: #56666f;
  --border: #d9e3e7;
  --paper: #fbfaf7;
  --white: #ffffff;
  --draft: #fff4d6;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 79, 99, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 18px; line-height: 1.9; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--main); }
a:hover { color: var(--main-dark); }
h1, h2, h3 { line-height: 1.5; letter-spacing: .05em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 64px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 64px); }
.center { text-align: center; }
.note { color: var(--muted); font-size: 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 16px; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

/* 公開前の印 */
.preview-bar { background: #3a3a3a; color: #fff; text-align: center; font-size: 14px; padding: 4px 16px; }
.draft { background: var(--draft); border-left: 5px solid #e2b33c; padding: 12px 18px; margin: 24px 0 0; font-size: 15px; color: #6b5313; border-radius: 6px; text-align: left; }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { text-decoration: none; color: var(--text); display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-size: 28px; font-weight: 700; letter-spacing: .14em; color: var(--main-dark); }
.logo-kind { font-size: 13px; color: var(--muted); letter-spacing: .12em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.site-nav a { display: block; padding: 10px 16px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 17px; border-radius: 999px; }
.site-nav a:hover { background: var(--sky); color: var(--main-dark); }
.site-nav a[aria-current="page"] { color: var(--main); }
.site-nav a.nav-cta { background: var(--warm); color: var(--white); padding: 10px 24px; margin-left: 8px; }
.site-nav a.nav-cta:hover { background: var(--warm-dark); color: var(--white); }
.nav-check, .nav-button { display: none; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 36px; border-radius: 999px; font-size: 18px; font-weight: 700; text-decoration: none; letter-spacing: .06em; transition: background .2s, transform .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--warm); color: var(--white); box-shadow: 0 6px 16px rgba(200, 105, 58, .28); }
.btn-main:hover { background: var(--warm-dark); color: var(--white); }
.btn-line { background: var(--line); color: var(--white); }
.btn-line:hover { background: var(--line-dark); color: var(--white); }
.btn-ghost { border-color: var(--main); color: var(--main); background: var(--white); }
.btn-ghost:hover { background: var(--sky); }

/* ヒーロー */
.hero { background: linear-gradient(160deg, var(--white) 0%, var(--sky) 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero-kind { color: var(--main); font-weight: 700; letter-spacing: .14em; font-size: 16px; margin-bottom: 18px; }
.hero-title { font-size: 46px; margin: 0 0 28px; color: var(--text); line-height: 1.55; }
.hero-title em { font-style: normal; color: var(--main); }
.hero-lead { font-size: 19px; color: var(--muted); margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo, .photo-slot {
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.6;
  background: repeating-linear-gradient(135deg, #eef3f5 0 14px, #e5edf0 14px 28px);
  border: 2px dashed #b9cdd5; border-radius: 24px;
}
.hero-photo { aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; }
.photo-slot { aspect-ratio: 4 / 3; }
.photo-slot.tall { aspect-ratio: 3 / 4; }

/* 区切りの帯 */
.sec { padding: 96px 0; }
.sec-tint { background: var(--sky); }
.sec-kicker { color: var(--main); font-weight: 700; letter-spacing: .18em; font-size: 15px; margin-bottom: 8px; }
.sec-title { font-size: 34px; margin: 0 0 40px; }
.sec-title em { font-style: normal; color: var(--main); }

.sec-story { background: var(--white); }
.story { font-size: 20px; line-height: 2.2; margin-bottom: 1.6em; text-align: center; }
.story-q { font-size: 24px; font-weight: 700; color: var(--main-dark); }

.reveal-in, .area-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* カード */
.cards { display: grid; gap: 28px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.card-no { font-size: 40px; font-weight: 700; color: var(--main); opacity: .35; margin: 0 0 4px; line-height: 1; }
.card h3 { font-size: 22px; margin: 0 0 12px; }
.card p:last-child { margin: 0; }

/* お客様の声 */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.voice { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 36px 28px; position: relative; }
.voice::before { content: "“"; position: absolute; top: -8px; left: 24px; font-size: 80px; color: var(--main); opacity: .25; line-height: 1; }
.voice blockquote { margin: 0 0 16px; }
.voice figcaption { color: var(--muted); font-size: 16px; text-align: right; }
.voice figcaption::before { content: "― "; }
.more { margin-top: 32px; }

.sec-shop { background: var(--white); }
.shop-text { font-size: 19px; }
.shop-text.strong { font-size: 24px; font-weight: 700; color: var(--main-dark); margin-top: 1.4em; }

/* 相談の帯 */
.cta-band { background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%); color: var(--white); padding: 80px 0; text-align: center; }
.cta-title { font-size: 32px; margin: 0 0 16px; }
.cta-text { opacity: .92; margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cta-band .btn-main { box-shadow: none; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.price-card h3 { font-size: 21px; margin: 0 0 12px; }
.price { font-size: 40px; font-weight: 700; color: var(--main-dark); margin: 0 0 12px; line-height: 1.3; letter-spacing: .02em; }
.price .from { font-size: 24px; }
.price .tax { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.price-note { font-size: 15px; color: var(--muted); margin: 0; }
.price-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.price-sub h3 { font-size: 20px; margin: 0 0 12px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.price-table th, .price-table td { padding: 18px 22px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 600; }
.price-table th small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.price-table td { text-align: right; font-weight: 700; color: var(--main-dark); white-space: nowrap; font-size: 20px; }

/* 施工の流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--main); color: var(--white); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { font-size: 16px; margin: 0; color: var(--muted); }
.steps + .note { margin-top: 28px; }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: 12px; border: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; display: flex; gap: 14px; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--main); font-size: 22px; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { margin: 0; padding: 0 24px 22px; display: flex; gap: 14px; }
.q, .a { flex: 0 0 auto; font-weight: 700; font-size: 20px; line-height: 1.6; }
.q { color: var(--main); }
.a { color: var(--warm); }

.biz-link { text-align: center; padding: 28px 0 40px; color: var(--muted); font-size: 16px; margin: 0 auto; }

/* 下層ページ */
.sub-hero { background: linear-gradient(160deg, var(--white) 0%, var(--sky) 100%); padding: 72px 0 64px; border-bottom: 1px solid var(--border); }
.sub-title { font-size: 40px; margin: 0 0 12px; }
.sub-lead { font-size: 19px; color: var(--muted); margin: 0; }
.prose h2, .prose-title { font-size: 26px; margin: 48px 0 16px; padding-left: 16px; border-left: 5px solid var(--main); }
.prose > h2:first-child, .prose-title:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4em; margin: 0 0 1em; }
.about-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.about-side { display: grid; gap: 24px; position: sticky; top: 112px; }
.side-box { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.side-box h3 { margin: 0 0 8px; font-size: 20px; }
.side-box p { margin: 0; font-size: 16px; }
.sign { text-align: right; margin-top: 32px; font-weight: 600; }
.center .sign { text-align: center; }
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 20px 24px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 32%; background: #f4f8f9; font-weight: 600; }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tags li { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 22px; font-size: 17px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-box { background: var(--white); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); margin-bottom: 8px; }
.contact-box h2 { margin: 0 0 12px; font-size: 26px; }
.contact-box .btn { margin-top: 12px; }

/* フッター */
.site-footer { background: #1b2a31; color: #cfdbe0; padding: 64px 0 24px; font-size: 16px; }
.site-footer a { color: #e6eef1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.footer-name { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: .1em; }
.footer-name span { font-size: 14px; font-weight: 400; color: #cfdbe0; margin-left: 4px; }
.footer-biz a { display: inline-block; border: 1px solid #5d7480; border-radius: 999px; padding: 6px 20px; margin-top: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.copy { text-align: center; margin: 48px 0 0; font-size: 13px; color: #8ea2ab; }

/* 準備中ページ */
.soon { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, #fff 0%, var(--sky) 100%); }
.soon-box { text-align: center; max-width: 640px; }
.soon-kind { margin: 0; color: var(--main); font-size: 15px; letter-spacing: .2em; }
.soon-name { margin: 8px 0 28px; font-size: 56px; font-weight: 700; letter-spacing: .12em; }
.soon-lead { margin: 0; color: var(--muted); font-size: 17px; }

/* ===== タブレット(960px以下) ===== */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-visual { max-width: 420px; }
  .hero-title { font-size: 38px; }
  .cards-3, .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reveal-in, .area-in, .about-in, .footer-in { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
  .voices, .price-sub { grid-template-columns: 1fr; }

  .nav-button { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; }
  .nav-button span, .nav-button span::before, .nav-button span::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
  .nav-button span::before, .nav-button span::after { content: ""; position: absolute; left: 0; }
  .nav-button span::before { top: -6px; }
  .nav-button span::after { top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-check:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 4px; }
  .site-nav a { padding: 14px 16px; font-size: 18px; border-radius: 10px; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ===== スマホ(600px以下) ===== */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .header-in { min-height: 68px; }
  .logo-name { font-size: 23px; }
  .logo-kind { font-size: 11px; }
  .sec { padding: 64px 0; }
  .hero-in { padding: 44px 0 56px; }
  .hero-title { font-size: 29px; }
  .hero-lead { font-size: 17px; }
  .hero-buttons .btn, .cta-buttons .btn { width: 100%; }
  .sec-title { font-size: 25px; margin-bottom: 28px; }
  .story { font-size: 17px; text-align: left; }
  .story br, .hero-lead br { display: none; }
  .story-q { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .card, .voice, .price-card { padding: 28px 22px; }
  .price { font-size: 34px; }
  .price-table th, .price-table td { padding: 14px 16px; }
  .cta-band { padding: 56px 0; }
  .cta-title { font-size: 23px; }
  .cta-text br { display: none; }
  .sub-hero { padding: 48px 0 40px; }
  .sub-title { font-size: 28px; }
  .sub-lead { font-size: 17px; }
  .prose h2, .prose-title { font-size: 21px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 12px 18px; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .cases { grid-template-columns: 1fr; }
  .contact-box { padding: 32px 22px; }
  .footer-links { grid-template-columns: 1fr; }
  .soon-name { font-size: 40px; }
  .soon-lead { font-size: 15px; }
}

/* 2026-10-24 追加：割引の見せ方・Uターンの一文・お知らせ */
.discount-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.discount-box p { margin: 0; }
.uturn { margin-top: 36px; font-weight: 600; color: var(--main-dark); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.news-list li { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--border); }
.news-list time { color: var(--muted); flex: 0 0 auto; }
@media (max-width: 600px) {
  .news-list li { flex-direction: column; gap: 2px; }
  .discount-box { height: auto; }
}

/* 2026-10-26 追加：会社紹介の経歴に添える資格の一行 */
.side-box .cred { margin: 10px 0; font-weight: 600; color: var(--main-dark); }

/* 2026-10-26 追加：対応エリアの市町村の並び */
.area-list { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-size: 16px; }

/* 2026-10-26 追加：業者様ページ */
.lead-strong { font-size: 20px; font-weight: 700; color: var(--main-dark); margin-bottom: 56px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { background: var(--white); border-radius: 12px; padding: 18px 24px 18px 56px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 22px; top: 18px; color: var(--main); font-weight: 700; font-size: 20px; }
.check-list strong { display: block; font-size: 19px; }
.check-list span { color: var(--muted); font-size: 16px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.flow li { background: var(--white); border-radius: var(--radius); padding: 24px 12px; text-align: center; font-weight: 700; position: relative; }
.flow li .step-no { display: grid; margin: 0 auto 10px; }
.flow li:not(:last-child)::after { content: "›"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--main); font-size: 26px; }
.contact-box + .contact-box { margin-top: 20px; }
.contact-box h3 { margin: 0 0 10px; font-size: 22px; }
@media (max-width: 960px) {
  .cards-4 { grid-template-columns: 1fr 1fr; max-width: none; }
  .flow { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .flow li { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 20px; }
  .flow li .step-no { margin: 0; }
  .flow li:not(:last-child)::after { content: "⌄"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .cards-4 { grid-template-columns: 1fr; }
  .lead-strong { font-size: 18px; margin-bottom: 40px; }
  .check-list li { padding: 16px 18px 16px 48px; }
  .check-list li::before { left: 18px; top: 16px; }
}
.lead-strong.small { font-size: 19px; margin-bottom: 16px; }

/* 2026-10-26 追加：業者様ページのメールアドレス */
.mail-link { font-size: 22px; font-weight: 700; margin: 0; }
.mail-link a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .mail-link { font-size: 19px; } }

/* 2026-10-26 追加：保険の一文 */
.insurance { margin-top: 8px; color: var(--main-dark); }
