@charset "UTF-8";
/* ============================================================
   LINE対応（2026-09-17）
   問い合わせ導線を「メール（フォーム）」→「公式LINE／電話」へ。
   style.css の後に読み込み、必要な既存ルールだけここで上書きする。
   ・ボタンのセット（LINE＋電話）は .cta-set で1カラムに統一
   ・PCは 1440px 基準（画像と同じ vw 換算・上限px）、SPは 750px 基準
   ============================================================ */
:root {
  --line: #06c755;
  --line-light: #22d16b;
  --yellow: #ffd400;
  --yellow-light: #ffe14d;
  --navy: #0b2559;
  --btn-w: min(calc(520 / 1440 * 100vw), 520px);
  --btn-h: min(calc(86 / 1440 * 100vw), 86px);
  --btn-fs: min(calc(28 / 1440 * 100vw), 28px);
}
@media screen and (max-width: 767px) {
  :root {
    --btn-w: calc(671 / 750 * 100vw);
    --btn-h: calc(120 / 750 * 100vw);
    --btn-fs: calc(32 / 750 * 100vw);
  }
}

/* ---------- 共通ボタン ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  position: relative;
  width: var(--btn-w);
  height: var(--btn-h);
  padding: 0 1.6em 0 1.2em;
  border-radius: 999px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: var(--btn-fs);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}
.btn--line {
  background: linear-gradient(180deg, var(--line-light) 0%, var(--line) 100%);
  color: #fff;
}
.btn--tel {
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--yellow) 100%);
  color: var(--navy);
}
.btn_icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: currentColor;
}
.btn_label {
  display: block;
  text-align: center;
}
.btn_label small {
  display: block;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn_label b {
  display: block;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn_arrow {
  position: absolute;
  right: 0.55em;
  top: 50%;
  width: 1.15em;
  height: 1.15em;
  margin-top: -0.575em;
  border-radius: 50%;
  background: #fff;
}
.btn_arrow::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 27%;
  border-style: solid;
  border-width: 0.23em 0 0.23em 0.38em;
  border-color: transparent transparent transparent var(--navy);
}
.btn--line .btn_arrow::after {
  border-left-color: var(--line);
}

/* ---------- ヘッダー（PC）: メール画像ボタン → LINEボタン ---------- */
.btn--header {
  width: auto;
  height: min(calc(83 / 1440 * 100vw), 83px);
  padding: 0 min(calc(36 / 1440 * 100vw), 36px);
  font-size: min(calc(26 / 1440 * 100vw), 26px);
  box-shadow: none;
}
@media screen and (max-width: 1200px) {
  .header-btn-line {
    display: none; /* 旧メールボタンと同じ扱い（SPは固定フッターにLINEがある） */
  }
}

/* ---------- CTA帯の上に載せるボタンセット（LINE＋電話・1カラム） ---------- */
.cta-set {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(calc(14 / 1440 * 100vw), 14px);
}
/* 帯画像の中の空きスペースに合わせた縦位置（帯1・3は上に文字があるので下寄せ） */
.cta-set--1 { top: min(calc(232 / 1440 * 100vw), 232px); }
.cta-set--3 { top: min(calc(360 / 1440 * 100vw), 360px); }
.cta-set--2,
.cta-set--4 { top: 50%; transform: translate(-50%, -50%); }
@media screen and (max-width: 767px) {
  .cta-set { gap: calc(18 / 750 * 100vw); }
  .cta-set--1,
  .cta-set--2,
  .cta-set--4 { top: 50%; transform: translate(-50%, -50%); }
  .cta-set--3 { top: calc(360 / 750 * 100vw); transform: translateX(-50%); }
}

/* ---------- お問い合わせ: フォーム → LINE ---------- */
.contact-line {
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--navy);
}
.contact-line_lead {
  font-size: 24px;
  line-height: 1.8;
  margin-bottom: 36px;
  word-break: auto-phrase; /* 文節で折り返す（行末に1〜2文字だけ残さない） */
}
.contact-line .btn {
  margin: 0 auto;
}
.contact-line_note {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 28px;
  color: #333;
  word-break: auto-phrase;
}
@media screen and (max-width: 767px) {
  .contact-tel {
    margin-bottom: calc(100 / 750 * 100vw);
  }
  .contact-line {
    padding: calc(10 / 750 * 100vw) 0 calc(90 / 750 * 100vw);
  }
  .contact-line_lead {
    font-size: calc(28 / 750 * 100vw);
    margin-bottom: calc(40 / 750 * 100vw);
    text-align: left;
  }
  .contact-line_note {
    font-size: calc(22 / 750 * 100vw);
    margin-top: calc(30 / 750 * 100vw);
    text-align: left;
  }
}

/* ---------- 事務所情報（画像 pc-12/sp-22 → HTML） ---------- */
.office {
  background: #ebebeb;
  padding: min(calc(163 / 1440 * 100vw), 163px) 0 min(calc(160 / 1440 * 100vw), 160px);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #0a1f4d;
}
.office_title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400;
  font-size: min(calc(60 / 1440 * 100vw), 60px);
  line-height: 1;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: min(calc(166 / 1440 * 100vw), 166px);
}
.office_list {
  width: min(calc(1108 / 1440 * 100vw), 1108px);
  margin: 0 auto;
}
.office_row {
  display: flex;
  align-items: center;
  min-height: min(calc(180 / 1440 * 100vw), 180px);
  padding: min(calc(30 / 1440 * 100vw), 30px) 0;
  border-bottom: 1px dashed #222;
}
.office_row dt {
  flex: 0 0 min(calc(504 / 1440 * 100vw), 504px);
  font-size: min(calc(24 / 1440 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.5;
}
.office_row dd {
  flex: 1 1 auto;
  font-size: min(calc(22 / 1440 * 100vw), 22px);
  line-height: 1.6;
}
.office_row dd small {
  font-size: 0.9em;
}
.office_row dd a {
  color: inherit;
}
.office_line {
  display: inline-block;
  padding: 0.35em 1.2em;
  border-radius: 999px;
  background: var(--line);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .office {
    padding: calc(100 / 750 * 100vw) calc(80 / 750 * 100vw) calc(90 / 750 * 100vw);
  }
  .office_title {
    font-size: calc(60 / 750 * 100vw);
    margin-bottom: calc(100 / 750 * 100vw);
  }
  .office_list {
    width: 100%;
  }
  .office_row {
    display: block;
    min-height: 0;
    padding: calc(48 / 750 * 100vw) 0 calc(52 / 750 * 100vw);
    text-align: center;
  }
  .office_row dt {
    font-size: calc(32 / 750 * 100vw);
    line-height: 1.3;
    text-align: left;
    margin-bottom: calc(44 / 750 * 100vw);
  }
  .office_row dd {
    display: inline-block;
    font-size: calc(26 / 750 * 100vw);
    line-height: 1.55;
    text-align: left;
  }
}

/* ---------- SP固定フッター: 電話1本 → 電話＋LINEの2ボタン ---------- */
.btn-footer._sp-only {
  display: none;
}
@media screen and (max-width: 767px) {
  .btn-footer._sp-only {
    display: flex;
    height: calc(140 / 750 * 100vw);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
  }
  .fbtn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(14 / 750 * 100vw);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.15;
    text-decoration: none;
    color: var(--navy);
  }
  .fbtn--tel { background: var(--yellow); }
  .fbtn--line { background: var(--line); color: #fff; }
  .fbtn_icon {
    width: calc(46 / 750 * 100vw);
    height: calc(46 / 750 * 100vw);
    flex: none;
    fill: currentColor;
  }
  .fbtn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .fbtn small {
    font-size: calc(20 / 750 * 100vw);
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .fbtn b {
    font-size: calc(31 / 750 * 100vw);
    font-weight: 700;
    letter-spacing: 0.02em;
  }
}
