@charset "UTF-8";
/* ============================================================
   翔建装株式会社さま サイト（2026-09 納品版）

   🚩 茶色は3つに分けてあります（用途でコントラストが変わるため）
     --main    #7a5539  見出し・罫線。白地の上に乗るので、ここは濃いめ
     --wall    #97704e  ファーストビューの壁。いちばん明るい（社長の「明るい目の色」）
     --cta-bg  #8a6242  お問い合わせ帯。白い本文が乗るので --wall より一段濃い
   **--wall をそのまま帯にも使うと、白い本文が薄く見えます。**まとめないこと。
   配色は下の :root が基本ですが、帯の写真の上にかぶせる色・フッター・影は
   :root では変わりません。色を変えるときは「釧路市の帯」「フッター」も一緒に見てください。
   ============================================================ */

:root {
  --main: #7a5539;      /* 文字・罫線に使う茶（白地で読める濃さ） */
  --wall: #97704e;      /* ファーストビューの壁の茶（面で使う。明るめ） */
  --cta-bg: #8a6242;    /* お問い合わせ帯の茶（白い本文が読める濃さ） */
  --accent: #1b7fc4;    /* アクセントカラー（明るい青） */
  --text: #32302c;      /* 本文の文字色 */
  --line: #e3dad2;      /* 罫線 */
  --sub-bg: #f7f3ef;    /* サブ背景 */
  --wrap: 900px;        /* 本文の最大幅 */
}

* { box-sizing: border-box; }

/* ページ内リンクで飛んだとき、固定ヘッダーの下に見出しが隠れないようにする */
html { scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  /* 小さい「ォ」「っ」などが行頭に来ないようにする（日本語の禁則処理） */
  line-break: strict;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- ヘッダー（スクロールしても画面の上に残ります） ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line); background: #fff;
  box-shadow: 0 2px 10px rgba(107, 74, 50, .12);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.header__logo { margin: 0; font-size: 20px; font-weight: 700; color: var(--main); line-height: 1.35; }
.header__logo > span { display: block; font-size: 12px; font-weight: 400; color: #857a70; }
/* 電話番号はボタンにしています。スマートフォンでは押すとそのまま発信できます */
.header__tel {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; background: var(--accent); color: #fff;
  font-size: 20px; font-weight: 700; letter-spacing: .02em; line-height: 1;
  padding: 13px 20px; border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}
.header__tel svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
/* 「直通」＝代表に直接つながる番号であることを示すラベル */
.header__tel-txt { display: inline-flex; align-items: center; gap: 8px; }
.header__tel-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; background: rgba(255, 255, 255, .22); padding: 3px 6px; border-radius: 3px; }

/* ---------- ファーストビュー（サイディングの板と目地をCSSで描いています） ---------- */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--wall);
  background-image:
    /* 縦の目地（コーキングの入るつなぎ目） */
    repeating-linear-gradient(90deg,
      rgba(0,0,0,.20) 0 5px,
      rgba(255,255,255,.07) 5px 7px,
      rgba(0,0,0,0) 7px 300px),
    /* 横の板の継ぎ目 */
    repeating-linear-gradient(180deg,
      rgba(255,255,255,.085) 0 2px,
      rgba(255,255,255,.03) 2px 5px,
      rgba(0,0,0,0) 5px 58px,
      rgba(0,0,0,.28) 58px 62px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(0,0,0,.22));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 84px; }
.hero__eyebrow {
  margin: 0 0 16px; display: inline-block;
  border: 1px solid rgba(255,255,255,.5); border-radius: 3px;
  font-size: 13px; letter-spacing: .16em; padding: 4px 14px;
}
.hero__title { margin: 0 0 22px; font-size: 58px; font-weight: 900; line-height: 1.28; letter-spacing: .01em; }
/* 壁を明るくしたぶん、薄いクリームだと白文字と見分けがつきません。
   濃いめのアンバーにして「張り替え」が浮くようにしています */
.hero__title em { font-style: normal; color: #ffc65c; }
.hero__text { margin: 0 0 32px; font-size: 18px; max-width: 27em; line-height: 1.85; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 16px 40px; border-radius: 5px; background: #fff; color: var(--main);
}
.btn--accent { background: var(--accent); color: #fff; }

/* ---------- ファーストビューの文字を、ふわっと浮かび上がらせる ---------- */
/* 動かしているのは opacity（濃さ）と transform（位置）の2つだけです。
   この2つは画面を描き直さずに動かせるので、古いスマートフォンでもカクつきません。
   少しずつ遅らせて出すことで、目線が「業種 → 見出し → 説明 → ボタン」の順に流れます */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow,
.hero__title,
.hero__text,
.hero .btn {
  animation: heroUp .9s cubic-bezier(.22, .61, .36, 1) both;
}
.hero__eyebrow { animation-delay: .15s; }
.hero__title   { animation-delay: .30s; }
.hero__text    { animation-delay: .50s; }
.hero .btn     { animation-delay: .68s; }

/* 🚩 「動きを減らす」設定にしている方には動かしません（画面の動きで酔う方がいます。
   iPhone・Android・パソコンのどれでもOSの設定で選べます）。
   **文字そのものは最初から見えている状態が基本で、アニメーションはその上に乗せているだけ**なので、
   動きを止めても文字が消えることはありません */
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__title,
  .hero__text,
  .hero .btn { animation: none; }
}

/* ---------- セクション ---------- */
/* 全セクションを同じ厚みで並べると「どこが大事か分からない」ページになるため、
   主役（症状チェック）を厚く、脇役（その他の工事・会社概要）を薄くして差をつけています */
.section { padding: 74px 0; }
.section--main { padding: 100px 0; }   /* 主役 */
.section--quiet { padding: 54px 0; }   /* 脇役 */
.section--sub { background: var(--sub-bg); }
.ttl { margin: 0 0 18px; font-size: 30px; font-weight: 700; color: var(--main); line-height: 1.45; }
.ttl--main { font-size: 36px; margin-bottom: 22px; }
.ttl--quiet { font-size: 24px; margin-bottom: 14px; }
.lead { margin: 0 0 34px; max-width: 40em; }
.lead strong { color: var(--main); }
.note { margin: 22px 0 0; font-size: 14px; line-height: 1.85; color: #7d7167; }

/* ---------- 症状チェック ---------- */
.sign__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--main); }
.sign__item { padding: 22px 0 22px 42px; border-bottom: 1px solid var(--line); position: relative; }
.sign__item::before {
  content: ""; position: absolute; left: 4px; top: 30px;
  width: 18px; height: 10px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.sign__name { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--main); line-height: 1.5; }
.sign__text { margin: 0; }
.sign__cta { margin: 36px 0 0; text-align: center; }

/* ---------- 直し方 ---------- */
.ways { display: grid; gap: 22px; }
.way { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 24px 24px 26px; }
.way__num { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--accent); }
.way__name { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: var(--main); line-height: 1.4; }
.way__text { margin: 0; }


/* ---------- お見積り ---------- */
.free { display: grid; gap: 24px; }
.free__item { padding-left: 18px; border-left: 4px solid var(--accent); }
.free__name { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--main); line-height: 1.5; }
.free__text { margin: 0; }

/* ---------- 釧路市の帯 ---------- */
.band {
  /* 写真は上7割が空、下3割に釧路の街並みが写っています。帯は高さが低いので、
     center（＝中央）にすると空しか出ません。街が見える位置まで下げています */
  background: linear-gradient(rgba(107, 74, 50, .55), rgba(107, 74, 50, .55)), url("../images/kushiro.jpg") center 82% / cover no-repeat;
  color: #fff; padding: 66px 0; text-align: center;
}
.band__text { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.85; }

/* ---------- その他の工事 ---------- */
.other { display: grid; gap: 24px; }
.other__item { padding-left: 18px; border-left: 4px solid var(--main); }
.other__name { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--main); line-height: 1.5; }
.other__text { margin: 0; }

/* ---------- 会社概要 ---------- */
.company { width: 100%; border-collapse: collapse; }
.company th, .company td { padding: 15px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.company th { width: 8em; color: var(--main); font-weight: 700; white-space: nowrap; }

/* ---------- お問い合わせ ---------- */
.cta { background: var(--cta-bg); color: #fff; padding: 74px 0; text-align: center; }
.cta__title { margin: 0 0 14px; font-size: 30px; font-weight: 700; }
.cta__text { margin: 0 auto 28px; max-width: 32em; }
.cta__tel { margin: 0; }
.cta__tel a { display: inline-block; font-size: 42px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.cta__note { margin: 4px 0 0; font-size: 13px; color: #e8d9c9; }
/* 電話以外の連絡手段。LINEは公式カラー、メールは白抜き */
.cta__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 0; }
.cta__ways .btn { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; padding: 15px 28px; }
.cta__ways .btn svg { flex: none; width: 20px; height: 20px; fill: currentColor; }
.btn--line { background: #06c755; color: #fff; }
.btn--mail { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
/* QRは自分の端末では読めないので、スマートフォンでは出しません（下のmedia参照） */
.cta__qr { display: none; }
.cta__qr img { margin: 0 auto; background: #fff; padding: 8px; border-radius: 6px; }
.cta__qr-note { margin: 10px 0 0; font-size: 13px; color: #e8d9c9; line-height: 1.7; }

/* ---------- フッター ---------- */
.footer { background: #6b4a32; color: #ddd0c4; padding: 30px 22px; text-align: center; font-size: 13px; line-height: 1.9; }
.footer__copy { margin: 0; }

/* ---------- タブレット以上 ---------- */
@media (min-width: 760px) {
  .ways { grid-template-columns: repeat(3, 1fr); }
  .other { grid-template-columns: repeat(3, 1fr); }
  .free { grid-template-columns: repeat(3, 1fr); }
  /* パソコンで見ている人はタップできないので、ここだけQRを出す */
  .cta__qr { display: block; margin: 34px 0 0; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 700px) {
  /* 固定ヘッダーが画面を塞がないよう、スマートフォンでは1行に収める */
  html { scroll-padding-top: 68px; }
  .header__inner { padding-top: 9px; padding-bottom: 9px; gap: 10px; }
  .header__logo { font-size: 17px; line-height: 1.3; }
  /* 幅が足りないので、キャッチは業種だけ残して後半を隠す */
  .header__logo > span { font-size: 11px; letter-spacing: 0; }
  .header__logo-extra { display: none; }
  .header__tel { font-size: 16px; gap: 7px; padding: 11px 14px; }
  .header__tel svg { width: 15px; height: 15px; }
  .hero__inner { padding-top: 58px; padding-bottom: 58px; }
  .hero__title { font-size: 38px; }
  .hero__text { font-size: 16px; }
  .btn { display: block; text-align: center; padding: 16px 18px; font-size: 16px; }
  .section, .cta { padding: 52px 0; }
  /* スマートフォンでも主役と脇役の差を残す（ここを書かないと全部52pxに揃ってしまいます） */
  .section--main { padding: 70px 0; }
  .section--quiet { padding: 38px 0; }
  .ttl { font-size: 24px; }
  .ttl--main { font-size: 28px; }
  .ttl--quiet { font-size: 20px; }
  .sign__name { font-size: 18px; }
  .sign__item { padding-left: 36px; }
  .band { padding: 52px 0; }
  .band__text { font-size: 17px; }
  .cta__title { font-size: 24px; }
  .cta__tel a { font-size: 33px; }
  .header__tel-label { font-size: 10px; padding: 2px 5px; }
  .header__tel-txt { gap: 6px; }
  /* 連絡ボタンは横並びをやめて縦に積む */
  .cta__ways { flex-direction: column; gap: 12px; margin-top: 26px; }
  .cta__ways .btn { display: flex; justify-content: center; }
  .company th, .company td { display: block; width: auto; }
  .company th { border-bottom: none; padding-bottom: 0; }
  .company td { padding-top: 2px; }
}

/* ---------- 幅の狭いスマートフォン（iPhone SE など） ---------- */
/* 電話ボタンに「直通」を入れたぶん横幅を食うので、ここを書かないと会社名が2行に折れます。
   ヘッダーが1行に収まっていることが大事なので、両方を少しずつ小さくしています */
@media (max-width: 420px) {
  .header__logo { font-size: 15px; }
  .header__logo > span { font-size: 10px; }
  .header__tel { font-size: 15px; padding: 10px 11px; gap: 6px; }
  .header__tel svg { width: 14px; height: 14px; }
  .header__tel-txt { gap: 5px; }
  .header__tel-label { font-size: 9px; padding: 2px 4px; letter-spacing: .04em; }
}
