@charset "utf-8";

/*/////// いえらぶで追加 始まり //////////*/

.l-wrapper {
  background: #FFF;
}
.l-wrapper a {
  text-decoration: none;
}
[class*="org-header__navi--"] a {
  color: #263238;
}
.sp-wrap {
  overflow: hidden;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*/////// いえらぶで追加 終わり //////////*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
img,
ul,
li,
h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  font-family: "Noto Sans JP", "Lato", sans-serif;
  color: #333;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

:root {
  --main-color: #ff5800;
  --main-color-dark: #e04c00;
  --blue-color: #1657c8;
  --blue-color-dark: #0d3f9c;
  --gold-color: #a97a3a;
  --line-color: #808080;
  --tel-green: #1a9c4b;
  --bg-blue: #eef4ff;
  --bg-blue-soft: #f6f9ff;
  --bg-orange: #fff3e7;
  --bg-orange-soft: #fffaf4;
}

.mb80 {
  margin-bottom: 80px;
}

.site_content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* .wrap {
  max-width: 890px;
  margin: 0 auto;
  padding: 0 20px;
} */

html {
  scroll-behavior: smooth;
}

.sq_visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

.icon-freedial {
  width: 39px;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================
   ヒーロー（PC: 1366px / SP: 600px のデザインを、ヒーロー幅基準（cqw）で比例縮小）
   ========================================================== */
.sq_hero {
  position: relative;
  container-type: inline-size;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  background: #fff;
  color: #fff;
  text-align: center;
}

.sq_hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2219 / 1043;
  padding-top: 11.2cqw;
}

/* 左右2枚に分けて配置（PC: 横並び / SP: 縦並び） */
.sq_hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
}

.sq_hero__bg span {
  flex: 1;
  background: url("../image/24h_support/img_fv.png") no-repeat;
  background-size: 200% auto;
}

.sq_hero__bg span:first-child {
  background-position: 0 0;
}

.sq_hero__bg span:last-child {
  background-position: 100% 0;
}

.sq_hero__title {
  position: relative;
  height: auto;
  padding: 0;
  overflow: visible;
  color: #fff;
  font-weight: 700;
  text-shadow: none;
}

.sq_hero__title-sub,
.sq_hero__title-main {
  display: block;
  line-height: 1.2;
  text-shadow: 0.04em 0.04em 0 rgba(0, 0, 0, 0.85);
}

.sq_hero__title-sub {
  font-size: 4cqw;
}

.sq_hero__title-sub em {
  position: relative;
  font-style: normal;
  font-size: 1.375em;
  line-height: inherit;
  color: #fff;
  text-shadow: 0.03em 0.03em 0 rgba(0, 0, 0, 0.85);
}

/* 「トラブル」の傍点 */
.sq_hero__title-sub em::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: 0.1em;
  top: -0.08em;
  height: 0.32em;
  background: radial-gradient(circle closest-side, #fff 0 96%, transparent 100%) 0 0 / 1em 100% repeat-x;
}

.sq_hero__title-main {
  margin-top: 0.7cqw;
  font-size: 7.3cqw;
  font-weight: 900;
}

.sq_hero__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 9.2cqw;
  margin-top: -13.65cqw;
  padding: 0 12.5cqw;
}

.sq_hero__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 「設備トラブルでお困りのお客様はこちら」 */
.sq_hero__tag {
  position: relative;
  color: #fff;
  text-shadow: 0 0 0.8cqw rgba(0, 0, 0, 0.35);
}

.sq_hero__tag::before,
.sq_hero__tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 5.7cqw;
  background: #fff;
}

.sq_hero__tag::before {
  left: -2.5cqw;
  transform: translateY(-50%) rotate(-26deg);
}

.sq_hero__tag::after {
  right: -2.5cqw;
  transform: translateY(-50%) rotate(26deg);
}

.sq_hero__tag-lead {
  display: block;
  font-size: 1.6cqw;
  font-weight: 700;
  line-height: 1.2;
}

.sq_hero__tag-lead strong {
  font-size: 1.8em;
  font-weight: 700;
  line-height: inherit;
  font-feature-settings: "palt";
  color: #fff200;
}

.sq_hero__tag-text {
  display: block;
  font-size: 2.1cqw;
  font-weight: 700;
  line-height: 1.3;
}

.sq_hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2cqw;
  padding: 1.4cqw 1cqw 2.6cqw;
  border-radius: 0.6cqw;
  background: #fff;
  color: #333;
}

.sq_hero__card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 6.4cqw;
}

.sq_hero__card-logo {
  width: 25.5cqw;
}

.sq_hero__card-brand {
  font-size: 2.3cqw;
  font-weight: 700;
  line-height: 1.2;
}

.sq_hero__card-brand b {
  font-size: 1.25em;
  font-weight: 900;
  line-height: inherit;
  color: var(--main-color);
}

.sq_hero__card-note {
  margin-top: 0.4cqw;
  font-size: max(12px, 1.5cqw);
  font-weight: 700;
  line-height: 1.5;
}

.sq_hero__card-tel {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  margin-top: 1.3cqw;
  font-size: 2.85cqw;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.sq_hero__card-icon {
  width: 3cqw;
}

.sq_hero__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  width: 22.1cqw;
  height: 4.85cqw;
  margin-top: 1.7cqw;
  border-radius: 999px;
  color: #fff;
  font-size: max(12px, 1.5cqw);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

/* ホバー時は、ボタン自体は動かさず・透過もさせず、矢印だけを少し下に動かす
   （共通CSSの a:hover { opacity: .7 } を打ち消す） */
.sq_hero__card-btn:hover {
  opacity: 1;
}

.sq_hero__card-btn:hover .icon--chevron,
.sq_hero__card-btn:focus-visible .icon--chevron {
  transform: translateY(3px);
}

.sq_hero__item--call .sq_hero__card-btn {
  background: #004cbf;
}

.sq_hero__item--support .sq_hero__card-btn {
  background: var(--main-color);
}

.icon--chevron {
  width: 3.2cqw;
  height: 3.2cqw;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

/* ==========================================================
   セクション共通（BraTToコール24 / サポート窓口）
   ========================================================== */
/* 背景は ::before で画面幅いっぱいに広げ、中身は .wrap の幅のまま */
.sq_block {
  position: relative;
  isolation: isolate;
  padding: 100px 0 56px;
  scroll-margin-top: 20px;
}

.sq_block::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
}

.sq_block--call::before {
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg-blue-soft) 100%);
}

.sq_block--support::before {
  background: linear-gradient(180deg, var(--bg-orange) 0%, var(--bg-orange-soft) 100%);
}

.sq_block__head {
  text-align: center;
}

.sq_block__head-img {
  max-width: 640px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* サポート窓口の見出し画像は、コール24の画像より文字が約2割小さい（「BraTTo」の高さ 59px : 71px）ので、
   中央を軸に 1.2 倍にして、コール24と文字の大きさをそろえる */
.sq_block--support .sq_block__head-img {
  transform: scale(1.2);
}

/* お問い合わせボックス */
.sq_contact {
  max-width: 460px;
  margin: 32px auto 0;
  padding: 13px 20px 14px;
  background: #fff;
  border: 2px solid;
  border-radius: 12px;
  text-align: center;
}

.sq_block--call .sq_contact {
  border-color: var(--blue-color);
}

.sq_block--support .sq_contact {
  border-color: var(--main-color);
}

.sq_contact__label {
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.sq_contact__tel {
  --tel-size: clamp(22px, 7.6vw, 38px);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--tel-size) * 0.53);
  margin-top: 6px;
  font-size: var(--tel-size);
  font-weight: 900;
  line-height: 1.3;
  color: var(--main-color);
  text-decoration: none;
}

.sq_contact__tel .icon-freedial {
  width: calc(var(--tel-size) * 1.03);
}

.sq_contact__note {
  margin-top: 5px;
  font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

/* 症状の見出し */
.sq_question {
  position: relative;
  margin: 56px 0 28px;
  text-align: center;
  font-size: clamp(18px, 3.2vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.sq_question > span {
  position: relative;
  display: inline-block;
  padding: 0 34px;
}

.sq_question > span::before,
.sq_question > span::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 2px;
  height: 70px;
  background: #333;
}

.sq_question > span::before {
  left: 6px;
  transform: rotate(-20deg);
}

.sq_question > span::after {
  right: 6px;
  transform: rotate(20deg);
}

/* 「お電話下さい」は途中で折り返さない。1文字でも入りきらなければ、丸ごと次の行へ送る */
.sq_question__nowrap {
  white-space: nowrap;
}

.sq_block--call .sq_question :is(b, strong),
.sq_block--call .sq_question {
  color: #222;
}

/* 「BraTToコール24」だけオレンジ */
.sq_block--call .sq_question .sq_question__brand,
.sq_block--support .sq_question .sq_question__brand {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: #ff5800;
}

/* 症状カードグリッド */
/* minmax(0, 1fr): 中の文字の長さで列幅が変わらないようにし、カードの幅をそろえる */
.sq_case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px 36px;
  max-width: 900px;
  margin: 0 auto;
}

/* 縦長のカード（270:343） */
.sq_case {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 幅は必ず列いっぱいにする（aspect-ratio があると、中身が長いカードだけ高さから幅が決まって広がるため） */
  width: 100%;
  aspect-ratio: 270 / 343;
  padding: clamp(14px, 3.5vw, 26px) clamp(8px, 2.5vw, 20px) clamp(14px, 3.5vw, 28px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(20, 30, 60, 0.06);
  text-align: center;
}

.sq_case__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44%;
  max-width: 118px;
  aspect-ratio: 1;
  margin-bottom: clamp(10px, 3vw, 24px);
}

.sq_case__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sq_case h4 {
  font-size: clamp(15px, 4.3vw, 24px);
  font-weight: 700;
}

.sq_block--call .sq_case h4 {
  color: var(--blue-color);
}

.sq_block--support .sq_case h4 {
  color: var(--main-color);
}

.sq_case ul {
  margin-top: clamp(8px, 2.5vw, 16px);
  text-align: left;
}

/* 文字サイズなどは li に直接指定（共通CSSが li に font-size: 14px を当てているため） */
.sq_case li {
  position: relative;
  padding-left: 1em;
  font-size: clamp(11px, 3vw, 16px);
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

.sq_case li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* 8ヶ国語対応 */
.sq_lang {
  max-width: 900px;
  margin: 64px auto 0;
}

.sq_lang__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 22px;
  padding-bottom: 6px;
  border-bottom: 4px solid #004cbf;
  font-size: clamp(24px, 5.6vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  color: #004cbf;
}

.sq_lang__title span {
  font-size: clamp(11px, 2.9vw, 22px);
  font-weight: 700;
  color: #004cbf;
}

/* 左: 国旗（4列×2段） / 右: 英文の案内 */
.sq_lang__body {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 30px;
}

.sq_lang__list {
  display: grid;
  flex: none;
  grid-template-columns: repeat(4, max-content);
  gap: 20px;
}

.sq_lang__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: Georgia, "Times New Roman", "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #333;
  text-align: center;
}

.sq_lang__flag {
  display: block;
  width: 70px;
  height: auto;
  aspect-ratio: 7 / 5;
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.12);
  outline-offset: -1px;
  object-fit: cover;
}

.sq_lang__note {
  flex: 1;
  min-width: 0;
}

.sq_lang__note-en {
  font-size: clamp(15px, 4.6vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.sq_lang__note-en span {
  display: block;
}

.sq_lang__note-en span + span {
  padding-left: 0.6em;
}

.sq_lang__note-jp {
  margin-top: 14px;
  padding-left: 1em;
  text-indent: -1em;
  font-size: clamp(11px, 2.8vw, 15px);
  line-height: 1.6;
  color: #444;
}
/* サポート窓口の3カラム */
.sq_case-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* セクション下部の街並み
   奥から順に「帯（濃い色のグラデーション）」→「帯の中の濃い細い帯（コール24のみ）」→「建物（背景なしの透過PNG）」を重ねる。
   建物は拡大せず横に並べて画面幅いっぱいに広げる（1336px 未満の画面では画面幅に合わせて縮小） */
.sq_block__deco {
  --deco-w: min(100vw, 1336px);
  --deco-u: calc(var(--deco-w) / 1336); /* 1336px 幅を基準にした 1px 相当 */
  position: relative;
  width: 100vw;
  height: calc(var(--deco-u) * 207); /* 建物 173 + 建物の足元から下 34 */
  margin: 40px calc(50% - 50vw) -56px;
  background-image: var(--deco-color);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% calc(var(--deco-u) * 66); /* 帯の高さ */
}

.sq_block__deco::before,
.sq_block__deco::after {
  content: "";
  position: absolute;
}

/* 建物 */
.sq_block__deco::after {
  inset: 0;
  background: url("../image/24h_support/img_help_under.png") repeat-x center top / var(--deco-w) auto;
}

.sq_block--call .sq_block__deco {
  --deco-color: linear-gradient(90deg, #5170ff, #5170ff);
}

.sq_block--support .sq_block__deco {
  --deco-color: linear-gradient(90deg, #ffde59, #ff914d);
}

/* コール24: 帯の中の、質感のある濃い細い帯 */
.sq_block--call .sq_block__deco::before {
  right: calc(var(--deco-u) * 24);
  bottom: calc(var(--deco-u) * 21);
  left: calc(var(--deco-u) * 24);
  height: calc(var(--deco-u) * 26.4);
  background: url("../image/24h_support/bg_road_call.png") repeat-x left center / auto 100%;
}
/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 780px) {
  .sq_case-grid,
  .sq_case-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sq_hero__visual {
    aspect-ratio: 600 / 455;
    padding-top: 25.8cqw;
  }

  .sq_hero__bg {
    flex-direction: column;
  }

  .sq_hero__bg span:first-child {
    background-position: 0 30%;
  }

  .sq_hero__bg span:last-child {
    background-position: 100% 50%;
  }

  .sq_hero__title-sub {
    font-size: 6.5cqw;
  }

  .sq_hero__title-sub em {
    font-size: 1.385em;
  }

  .sq_hero__title-main {
    margin-top: 2.7cqw;
    font-size: 12cqw;
  }

  .sq_hero__cards {
    padding-bottom: 10cqw;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12.3cqw 0;
    margin-top: 60px;
    padding: 0;
  }

  .sq_hero__item {
    width: 64cqw;
  }

  .sq_hero__tag {
    text-shadow: none;
    color: #333;
  }

  .sq_hero__tag::before,
  .sq_hero__tag::after {
    height: 10cqw;
    background: #333;
  }

  .sq_hero__tag::before {
    left: -4.3cqw;
  }

  .sq_hero__tag::after {
    right: -4.3cqw;
  }

  .sq_hero__tag-lead {
    font-size: 3.6cqw;
    line-height: 1.25;
  }

  .sq_hero__tag-lead strong {
    font-size: 1.45em;
  }

  .sq_hero__item--call .sq_hero__tag-lead strong {
    color: #004cbf;
  }

  .sq_hero__item--support .sq_hero__tag-lead strong {
    color: var(--main-color);
  }

  .sq_hero__tag-text {
    font-size: 3.8cqw;
    line-height: 1.4;
  }

  .sq_hero__card {
    margin-top: 1.7cqw;
    padding: 3.7cqw 2cqw 3.5cqw;
    border-radius: 1.4cqw;
  }

  .sq_hero__item--call .sq_hero__card {
    background: #f0f7ff;
  }

  .sq_hero__item--support .sq_hero__card {
    background: #fff6f1;
  }

  .sq_hero__card-head {
    height: 12.1cqw;
  }

  .sq_hero__card-logo {
    width: 45cqw;
  }

  .sq_hero__card-brand {
    font-size: 4.5cqw;
  }

  .sq_hero__card-note {
    font-size: max(11px, 2.85cqw);
  }

  .sq_hero__card-tel {
    gap: 2.6cqw;
    margin-top: 1.5cqw;
    font-size: 5.7cqw;
  }

  .sq_hero__card-icon {
    width: 5.5cqw;
  }

  .sq_hero__card-btn {
    gap: 3cqw;
    width: 42cqw;
    height: 9cqw;
    margin-top: 2.5cqw;
    font-size: max(12px, 3.2cqw);
  }

  .icon--chevron {
    width: 6cqw;
    height: 6cqw;
  }
}

@media (max-width: 600px) {
  .sq_block {
    padding: 36px 0 40px;
  }

  .sq_contact {
    padding: 20px 16px;
  }

  .sq_case-grid {
    gap: 16px;
  }

  .sq_question > span {
    padding: 0 26px;
  }

  /* 線を短くして、2行の見出しの中央に揃える（2行 = 3.2em） */
  .sq_question > span::before,
  .sq_question > span::after {
    top: 0.5em;
    height: 2.2em;
  }

  .sq_lang__body {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-top: 22px;
  }

  .sq_lang__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
  }

  .sq_lang__list li {
    font-size: 12px;
  }

  .sq_lang__flag {
    width: 100%;
    max-width: 84px;
  }

  .sq_block__deco {
    margin-top: 32px;
    margin-bottom: -40px;
  }
}
