/* =========================================================
   総合建築業M's 外壁塗装HP  production styles
   Design tokens: #ffed00 (accent) / #000 / #fff / #f7f7f7
   Font: Inter Tight（日本語はsystem-uiにフォールバック）
   ※ Claude Design 版 index.dc.html を忠実に再現
   ========================================================= */
:root{
  --yellow:#ffed00;
  --black:#000000;
  --white:#ffffff;
  --gray-bg:#f7f7f7;
  --line:#f2f2f2;
  --line-mid:#e0e0e0;
  --muted:#666666;
  --text2:#222222;
  --white-72:rgba(255,255,255,.72);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;padding-bottom:72px;background:var(--white);color:var(--black);
  font-family:'Inter Tight',system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  -webkit-font-smoothing:antialiased;text-wrap:pretty;line-height:1.6;
}
a{color:var(--black);text-decoration:none}
a:hover{color:var(--text2)}
h1,h2,h3{margin:0}
img{display:block;max-width:100%}

.band{padding:0 clamp(20px,5vw,48px)}
.inner{max-width:1200px;margin:0 auto}
.section-pad{padding:clamp(48px,6vw,80px) 0}
section[id]{scroll-margin-top:60px}
.narrow{max-width:70ch}

/* ---------- 共通見出し ---------- */
.eyebrow{display:block;font-weight:700;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.eyebrow-dark{color:var(--black)}
.h2{font-weight:700;font-size:clamp(30px,3.4vw,40px);line-height:.95;margin-bottom:36px}
.h2-sm{font-size:clamp(24px,2.6vw,32px);margin-bottom:20px}
.h2-light{color:var(--white)}
.h2.left{text-align:left}
.h3{font-weight:700;font-size:18px;line-height:1;margin:0 0 12px}
.lead-p{font-size:17px;line-height:1.5;max-width:60ch;margin:0 0 32px;color:var(--text2)}
.note{font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0 0}
.muted{color:var(--muted)}

/* ---------- ボタン ---------- */
.btn{display:inline-block;font-weight:700;font-size:16px;padding:15px 28px;border-radius:2px;border:0;cursor:pointer;font-family:inherit;white-space:nowrap;transition:filter .15s,transform .15s}
.btn-yellow{background:var(--yellow);color:var(--black)}
.btn-yellow:hover{filter:brightness(.94);color:var(--black)}
.btn-sm{font-size:15px;padding:14px 24px}
.btn-block{width:100%;text-align:center}

/* Instagram グラデーションボタン */
.btn-ig{display:inline-flex;align-items:center;gap:10px;text-decoration:none;background:linear-gradient(90deg,#ee2a7b 0%,#6228d7 100%);color:#fff;font-weight:700;font-size:15px;padding:12px 22px;border-radius:2px}
.btn-ig:hover{color:#fff;filter:brightness(1.05)}
.btn-ig svg{flex:none}

/* ---------- NAV ---------- */
.nav{position:sticky;top:0;z-index:40;background:var(--white);border-bottom:1px solid var(--line)}
.nav-inner{height:60px;display:flex;align-items:center;gap:28px;flex-wrap:nowrap;overflow:hidden}
.brand{display:flex;align-items:center;gap:12px;margin-right:auto}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--yellow);transform:rotate(45deg)}
.brand-mark span{transform:rotate(-45deg);font-weight:700;font-size:15px}
.brand-name{font-weight:700;font-size:17px;letter-spacing:.02em;white-space:nowrap}
.navlinks{display:flex;align-items:center;gap:28px;flex-wrap:nowrap;white-space:nowrap}
.navlinks a{font-weight:700;font-size:14.4px;letter-spacing:.144px}
.navlinks a:hover{color:var(--muted)}
.nav-cta{flex:none;white-space:nowrap;background:var(--yellow);color:var(--black);font-weight:700;font-size:14.4px;letter-spacing:.144px;padding:11px 20px;border-radius:2px}
.nav-cta:hover{filter:brightness(.94);color:var(--black)}

/* ---------- HERO ---------- */
.hero{background:var(--black);color:var(--white)}
.hero-inner{padding:clamp(48px,7vw,96px) 0}
.hero-badge{display:inline-block;font-weight:700;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--black);background:var(--yellow);padding:6px 12px;margin-bottom:24px}
.hero-title{font-weight:700;font-size:clamp(32px,7vw,88px);line-height:1.08;letter-spacing:0;text-wrap:balance}
.hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(28px,5vw,64px);align-items:end;margin-top:30px}
.hero-lead{font-weight:600;font-size:clamp(17px,1.6vw,19.2px);line-height:1.4;max-width:52ch;margin:0}
.hero-checks{list-style:none;padding:0;margin:22px 0 0;display:flex;gap:28px;flex-wrap:wrap;font-size:16px}
.hero-checks li{display:flex;gap:10px}
.tick{color:var(--yellow);font-weight:700}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}

/* ---------- 信頼バッジ ---------- */
.badges{padding:clamp(28px,4vw,44px) 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.badge{padding:8px 24px;border-right:1px solid var(--line)}
.badge:first-child{padding-left:0}
.badge-last{border-right:0;padding-right:0}
.badge-num{font-weight:700;font-size:26px;line-height:.95}
.badge-sub{font-size:12px;color:var(--muted);margin-top:8px}

/* ---------- 共感 ---------- */
.empathy{background:var(--black);color:var(--white)}
.empathy-inner{padding:clamp(48px,6vw,80px) 0;max-width:820px}
.empathy-title{font-weight:700;font-size:clamp(30px,3.6vw,40px);line-height:.95}
.dash-list{list-style:none;padding:0;margin:32px 0 0;display:flex;flex-direction:column;gap:16px;font-size:18px;line-height:1.5}
.dash-list li{padding-left:26px;position:relative}
.dash{position:absolute;left:0;color:var(--yellow);font-weight:700}
.empathy-strong{font-weight:700;font-size:24px;line-height:1.1;margin:36px 0 0}
.empathy-sub{font-size:17px;line-height:1.6;margin:14px 0 0;color:var(--white-72)}

/* ---------- 選ばれる理由・採用（共通カードグリッド） ---------- */
.reasons-grid,.recruit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));border-top:1px solid var(--black);border-left:1px solid var(--black)}
.recruit-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.reason{padding:28px;border-right:1px solid var(--black);border-bottom:1px solid var(--black)}
.reason-no{font-weight:700;font-size:14px;color:var(--muted)}
.reason h3{font-weight:700;font-size:22px;line-height:1;margin:8px 0 12px}
.reason p{font-size:15px;line-height:1.5;color:var(--text2);margin:0}

/* ---------- お見積り ---------- */
.alt{background:var(--gray-bg)}
.estimate-wrap{max-width:70ch}
.estimate-card{background:var(--white);border:1px solid var(--black);padding:clamp(24px,3vw,36px)}
.estimate-head{font-weight:700;font-size:clamp(20px,2.2vw,26px);line-height:1.3;margin:0}
.estimate-body{font-size:15px;line-height:1.6;margin:16px 0 0;color:var(--text2)}
.addfee{margin-top:40px;max-width:60ch}
.disc{margin:0;padding-left:20px;font-size:15px;line-height:1.6;color:var(--text2)}
.promise{font-weight:700;font-size:18px;margin:18px 0 26px}

/* 四角リスト（共通） */
.sq-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.5}
.estimate-card .sq-list,.narrow .sq-list{font-size:16px;gap:14px}
.sq-list li{display:flex;gap:10px}
.sq{font-weight:700}
.sq-list strong{font-weight:700}

/* ---------- 画像プレースホルダー ---------- */
.ph{display:flex;align-items:center;justify-content:center;text-align:center;background:repeating-linear-gradient(45deg,#efefef,#efefef 10px,#e6e6e6 10px,#e6e6e6 20px);color:var(--muted);font-size:13px;font-weight:600}
.ph-ceo{aspect-ratio:4/5;border:1px solid var(--black)}

/* ---------- お客様の声 ---------- */
.dark{background:var(--black);color:var(--white)}
.voices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:clamp(24px,3vw,40px)}
.voice{margin:0;background:#111;padding:24px}
.voice blockquote{font-weight:600;font-size:16px;line-height:1.55;margin:0}
.voice figcaption{font-size:13px;margin-top:12px;color:var(--white-72)}

/* ---------- 流れ ---------- */
.flow{list-style:none;margin:0;padding:0}
.flow li{display:grid;grid-template-columns:auto 1fr;gap:20px;padding:18px 0;border-top:1px solid var(--line-mid)}
.flow li.flow-first{border-top:1px solid var(--black)}
.flow li.flow-last{border-bottom:1px solid var(--line-mid)}
.flow-no{font-weight:700;font-size:20px;min-width:1.8em}
.flow strong{font-weight:700;font-size:18px}

/* ---------- 企業理念 ---------- */
.yellow{background:var(--yellow);color:var(--black)}
.philosophy{font-weight:700;font-size:clamp(26px,3.4vw,40px);line-height:1.05;max-width:22ch;margin:0}
.philosophy-body{max-width:62ch;margin-top:clamp(28px,4vw,40px);display:flex;flex-direction:column;gap:16px;font-size:16px;line-height:1.7}
.philosophy-body p{margin:0}

/* ---------- 代表あいさつ ---------- */
.ceo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:clamp(28px,5vw,64px);align-items:start}
.ceo-photo{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 30%;border:1px solid var(--black)}
.ceo-text{font-size:16px;line-height:1.8;margin:0;color:var(--text2)}
.ceo-name{font-weight:700;font-size:18px;margin:24px 0 0}

/* ---------- 会社概要 ---------- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.company-table{width:100%;max-width:760px;border-collapse:collapse;font-size:15px;background:var(--white);border:1px solid var(--black)}
.company-table tr{border-bottom:1px solid var(--line)}
.company-table tr:last-child{border-bottom:0}
.company-table th{width:10em;text-align:left;padding:14px 16px;background:var(--black);color:var(--white);font-weight:700;vertical-align:top;white-space:nowrap}
.company-table td{padding:14px 16px}

/* ---------- FAQ ---------- */
.faq-inner{max-width:840px}
.faq-list details{border-top:1px solid var(--line-mid);padding:16px 0}
.faq-list details.faq-first{border-top:1px solid var(--black)}
.faq-list details.faq-last{border-bottom:1px solid var(--line-mid)}
.faq-list summary{font-weight:700;font-size:18px;cursor:pointer;list-style:none;position:relative;padding-right:28px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"＋";position:absolute;right:0;top:0;color:#000;font-weight:700}
.faq-list details[open] summary::after{content:"−"}
.faq-list details p{font-size:15px;line-height:1.6;margin:12px 0 0;color:var(--text2)}

/* ---------- 採用 ---------- */
.recruit-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:32px}
.recruit-cta p{font-weight:700;font-size:17px;margin:0}
.tel-underline{font-weight:700;font-size:15px;border-bottom:2px solid var(--yellow);padding-bottom:2px}

/* ---------- マスコット ---------- */
.mascot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:clamp(28px,5vw,56px);align-items:center}
.mascot-img{width:100%;height:auto}
.mascot-title{font-weight:700;font-size:clamp(30px,3.4vw,44px);line-height:.98;margin:0}
.mascot-text{font-size:17px;line-height:1.6;max-width:46ch;margin:18px 0 0}
.mascot-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}

/* ---------- クロージング／フォーム ---------- */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(36px,5vw,64px);align-items:start;padding:clamp(48px,6vw,88px) 0}
.contact-h{font-size:clamp(28px,3.2vw,40px);line-height:.98;margin-bottom:0}
.contact-lead{font-size:16px;line-height:1.6;margin:22px 0 0;color:var(--white-72)}
.contact-info{margin-top:28px;display:flex;flex-direction:column;gap:14px}
.ci-tel{display:flex;align-items:baseline;gap:12px;color:var(--white)}
.ci-tel:hover{color:var(--white)}
.ci-num{font-weight:700;font-size:28px;line-height:1}
.ci-row{display:flex;align-items:baseline;gap:12px;color:var(--white)}
.ci-row:hover{color:var(--white)}
.ci-row span:last-child{font-size:17px}
.ci-label{font-size:12px;letter-spacing:.08em;color:var(--white-72);min-width:3.5em}
.contact-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

.contact-form{display:flex;flex-direction:column;gap:16px;background:#111;padding:28px}
.contact-form h3{font-weight:700;font-size:20px;line-height:1}
.contact-form label{display:block}
.fl{display:block;font-size:12px;color:var(--white-72);margin-bottom:6px}
.req{color:var(--yellow)}
.contact-form input,.contact-form textarea{width:100%;box-sizing:border-box;padding:12px 16px;background:var(--black);color:var(--white);border:0;border-bottom:1px solid var(--white);font:inherit;font-size:16px}
.contact-form input{height:48px}
.contact-form textarea{min-height:90px;resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--yellow);outline-offset:2px}
.contact-form .file{height:auto;padding:8px 0;border-bottom:0;font-size:14px}
.form-note{font-size:13px;line-height:1.5;margin:0;color:var(--white-72)}

/* ---------- フッター ---------- */
.footer-inner{padding:40px 0 28px;font-size:14px;line-height:1.8;color:var(--white-72);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid rgba(255,255,255,.16)}

/* ---------- スマホ固定CTA ---------- */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex}
.mb{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 8px;font-weight:700;font-size:15px}
.mb-yellow{background:var(--yellow);color:var(--black)}
.mb-yellow:hover{color:var(--black)}
.mb-tel{background:var(--black);color:var(--white);border-left:1px solid rgba(255,255,255,.16)}
.mb-tel:hover{color:var(--white)}
.mb-ig{background:linear-gradient(90deg,#ee2a7b 0%,#6228d7 100%);color:var(--white);border-left:1px solid rgba(255,255,255,.16)}
.mb-ig:hover{color:var(--white)}

/* =========================================================
   レスポンシブ（Claude Design 版のブレークポイントを踏襲）
   ========================================================= */
@media(max-width:1150px){
  .navlinks{display:none !important}
}
@media(max-width:640px){
  .band{padding:0 18px}
  h1,h2,h3,p,blockquote,li,td,th,dd,dt{word-break:normal;overflow-wrap:anywhere;line-break:strict}
  table{font-size:14px}
  .badge{border-right:0;border-bottom:1px solid var(--line);padding:12px 0}
  .badge-last{border-bottom:0}
  .hero-checks{gap:12px}
  .footer-inner{flex-direction:column}
}
/* PCではスマホ固定CTAを隠す */
@media(min-width:1151px){
  .mobile-bar{display:none}
  body{padding-bottom:0}
}
