@charset "UTF-8";

/* =====================================================
   font-family（blesse/CSS/font-family）
   h2：Shippori Mincho B1 / 本文：Noto Serif JP
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho+B1:wght@400;500;600;700;800&display=swap');

/* =====================================================
   root（blesse/CSS/root）
===================================================== */
:root {
  /* ベース */
  --orig-body-color: #2B2B2B;
  --orig-body-bg: #ffffff;

  /* 役割 */
  --orig-primary: #004879;
  --orig-secondary: #6F9EBD;
  --orig-primary-bg: #E9F2FB;
  --orig-accent: #C88B2D;
  --orig-marker: rgba(200, 139, 45, 0.45);
  --orig-cta: #B93B3B;

  /* 色名 */
  --orig-navy: #004879;
  --orig-navy-light: #6F9EBD;
  --orig-navy-pale: #E9F2FB;
  --orig-gray: #D1D1D1;
  --orig-gold: #C88B2D;
  --orig-beige: #EFE8E4;
  --orig-red: #B93B3B;
  --orig-teal: #3C8DA1;
  --orig-teal-light: #59A6B8;

  /* グラデーション */
  --orig-gradient: linear-gradient(180deg, var(--orig-teal) 0%, var(--orig-teal-light) 100%);
}

body {
  color: var(--orig-body-color) !important;
  background-color: var(--orig-body-bg) !important;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif !important;
}

.font-serif {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}

.font-sans {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "YuGothic", "Meiryo", sans-serif;
}

h2,
.font-shippori {
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}

/* =====================================================
   カラーユーティリティ（.bg-*** / .text-*** / .border-***）
===================================================== */
/* navy #004879 */
.bg-navy { background-color: #004879 !important; }
.text-navy { color: #004879 !important; }
.border-navy { border-color: #004879 !important; }

/* navy-light #6F9EBD */
.bg-navy-light { background-color: #6F9EBD !important; }
.text-navy-light { color: #6F9EBD !important; }
.border-navy-light { border-color: #6F9EBD !important; }

/* navy-pale #E9F2FB */
.bg-navy-pale { background-color: #E9F2FB !important; }
.text-navy-pale { color: #E9F2FB !important; }
.border-navy-pale { border-color: #E9F2FB !important; }

/* gray #D1D1D1 */
.bg-gray { background-color: #D1D1D1 !important; }
.text-gray { color: #D1D1D1 !important; }
.border-gray { border-color: #D1D1D1 !important; }

/* gold #C88B2D */
.bg-gold { background-color: #C88B2D !important; }
.text-gold { color: #C88B2D !important; }
.border-gold { border-color: #C88B2D !important; }

/* beige #EFE8E4 */
.bg-beige { background-color: #EFE8E4 !important; }
.text-beige { color: #EFE8E4 !important; }
.border-beige { border-color: #EFE8E4 !important; }

/* red（CTA） #B93B3B */
.bg-red { background-color: #B93B3B !important; }
.text-red { color: #B93B3B !important; }
.border-red { border-color: #B93B3B !important; }

/* teal #3C8DA1 */
.bg-teal { background-color: #3C8DA1 !important; }
.text-teal { color: #3C8DA1 !important; }
.border-teal { border-color: #3C8DA1 !important; }

/* teal-light #59A6B8 */
.bg-teal-light { background-color: #59A6B8 !important; }
.text-teal-light { color: #59A6B8 !important; }
.border-teal-light { border-color: #59A6B8 !important; }

/* グラデーション #3C8DA1 → #59A6B8 */
.bg-teal-gradient { background: linear-gradient(180deg, #3C8DA1 0%, #59A6B8 100%) !important; }

/* =====================================================
   bg-white-alpha80（blesse/CSS/bg-white-alpha80）
===================================================== */
.bg-white-alpha80 {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.bg-navy-pale-alpha50 {
  background-color: rgba(233, 242, 251, 0.5) !important;
}

/* =====================================================
   hover-80（blesse/CSS/hover-80）
===================================================== */
.hover-80:hover {
  filter: brightness(1.5);
  filter: saturate(150%);
  transition: all 0.3s ease-in-out;
}

/* =====================================================
   arrow-right（blesse/CSS/arrow-right）
===================================================== */
.arrow-right {
  position: relative;
}

.arrow-right::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* =====================================================
   btn（blesse/CSS/btn）
===================================================== */
.btn-common {
  transition: all 0.3s ease-in-out;
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1rem 0.4rem;
  border-radius: 100px;
  font-weight: bold;
  position: relative;
  color: #fff;
  font-size: clamp(14.00px, calc(0.23vw + 13.27px), 16.00px);
}

.btn-common:hover {
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.btn-common:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: block;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.btn-common:hover:after {
  right: 0.9rem;
  transition: all 0.3s ease-in-out;
}

.btn-primary {
  background-color: var(--orig-cta);
}

.btn-primary::after {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--orig-cta);
  color: var(--orig-cta);
}

.btn-secondary::after {
  border-right: 2px solid var(--orig-cta);
  border-bottom: 2px solid var(--orig-cta);
}

/* =====================================================
   marker（blesse/CSS/marker）
===================================================== */
.marker,
.marker-yellow {
  background: linear-gradient(transparent 80%, var(--orig-marker) 20%);
  word-break: break-all;
  overflow-wrap: break-word;
}

/* =====================================================
   fukidashi_under（blesse/CSS/fukidashi_under）
===================================================== */
.fukidashi_under {
  position: relative;
}

.fukidashi_under::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  height: 10px;
  width: 10px;
  background-color: var(--orig-accent);
}

/* =====================================================
   font-size（blesse/CSS/font size）
===================================================== */
.fs-110per {
  font-size: 110%;
}

.fs-120per {
  font-size: 120%;
}

.fs-66 {
  font-size: clamp(20.00px, calc(4.55vw + 5.45px), 60.00px);
}

.fs-60 {
  font-size: clamp(20.00px, calc(4.55vw + 5.45px), 60.00px);
}

.fs-50 {
  font-size: clamp(20.00px, calc(3.41vw + 9.09px), 50.00px);
}

.fs-40 {
  font-size: clamp(20.00px, calc(2.27vw + 12.73px), 40.00px);
}

.fs-36 {
  font-size: clamp(20.00px, calc(1.82vw + 14.18px), 36.00px);
}

.fs-30 {
  font-size: clamp(20.00px, calc(1.14vw + 16.36px), 30.00px);
}

.fs-26 {
  font-size: clamp(16.00px, calc(1.14vw + 12.36px), 26.00px);
}

.fs-24 {
  font-size: clamp(16.00px, calc(0.91vw + 13.09px), 24.00px);
}

.fs-20 {
  font-size: clamp(16.00px, calc(0.45vw + 14.55px), 20.00px);
}

.fs-18 {
  font-size: clamp(14.00px, calc(0.45vw + 12.55px), 18.00px);
}

.fs-16 {
  font-size: clamp(14.00px, calc(0.23vw + 13.27px), 16.00px);
}

/* 追加：PC 14px / スマホ（〜767px）13px */
.f14px-13px {
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .f14px-13px {
    font-size: 13px;
  }
}

/* 追加：1400〜320px */
.fs-14 {
  font-size: 14px;
}

/* 追加：sm以下（〜767px）で13pxにする上書き用（style.css の .f-sm-16 と同じ形式） */
@media screen and (max-width: 767px) {
  .f-sm-13 {
    font-size: 13px !important;
  }
}

.fs-100 {
  font-size: clamp(1.8750rem, 0.8131rem + 4.5307vw, 6.2500rem);
}

/* =====================================================
   line-height（blesse/CSS/line-height）
===================================================== */
.lh-120 {
  line-height: 120% !important;
}

.lh-140 {
  line-height: 140% !important;
}

.lh-160 {
  line-height: 160% !important;
}

.lh-180 {
  line-height: 180% !important;
}

.lh-200 {
  line-height: 200% !important;
}

/* 追加：sm以下（〜767px）で行間を180%にする上書き用 */
@media screen and (max-width: 767px) {
  .lh-sm-180 {
    line-height: 180% !important;
  }
}

/* =====================================================
   ・用のletter-spacing（blesse/CSS/・用のletter-spacing）
===================================================== */
.ls-5 {
  letter-spacing: -2px;
  margin-left: -2px;
}

.ls-10 {
  letter-spacing: -5px;
  margin-left: -5px;
}

@media screen and (min-width: 591px) {
  .ls-5 {
    letter-spacing: -5px;
    margin-left: -5px;
  }

  .ls-10 {
    letter-spacing: -10px;
    margin-left: -10px;
  }
}

/* =====================================================
   padding（blesse/CSS/padding）
===================================================== */
.pt-6 {
  padding-top: clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem) !important;
}

.py-6 {
  padding-top: clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem);
  padding-bottom: clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem);
}

.py-7 {
  padding-top: clamp(1.50rem, calc(5.50vw + 0.40rem), 7.00rem) !important;
  padding-bottom: clamp(1.50rem, calc(5.50vw + 0.40rem), 7.00rem) !important;
}

/* =====================================================
   margin（追加：1400〜320px）
===================================================== */
/* h2用 80px → 40px */
.mb-80 {
  margin-bottom: clamp(2.50rem, calc(3.70vw + 1.76rem), 5.00rem) !important;
}

/* h3用 40px → 24px */
.mb-40 {
  margin-bottom: clamp(1.50rem, calc(1.48vw + 1.20rem), 2.50rem) !important;
}

/* =====================================================
   height（blesse/CSS/height-40）
===================================================== */
.height-40 {
  height: 40px;
}

@media screen and (min-width: 768px) {
  .min-height-md-100 {
    min-height: 100px;
  }
}

@media screen and (min-width: 992px) {
  .min-height-lg-50 {
    min-height: 50px;
  }

  .min-height-lg-100 {
    min-height: 100px;
  }

  .min-height-lg-200 {
    min-height: 200px;
  }
}

/* =====================================================
   width（追加）：sm以下（〜767px）だけ幅60%・中央寄せ
===================================================== */
@media screen and (max-width: 767px) {
  .w-sm-60 {
    display: block;
    width: 60% !important;
    margin-inline: auto;
  }

  .w-sm-40 {
    display: block;
    width: 40% !important;
    margin-inline: auto;
  }
}

/* =====================================================
   width（追加）：md（768〜991px）だけ幅60%・中央寄せ
===================================================== */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .w-md-60 {
    display: block;
    width: 60% !important;
    margin-inline: auto;
  }
}

/* =====================================================
   max-width（追加）
===================================================== */
.mw-500 {
  max-width: 500px;
}

.mw-650 {
  max-width: 650px;
}

/* =====================================================
   overflow-x-1100-scroll（blesse/CSS/overflow-x-1100-scroll）
   ※base.css の table{width:100% !important} に負けないよう !important を付与
===================================================== */
@media screen and (max-width: 1100px) {
  .overflow-x-1100-scroll {
    overflow-x: auto;
  }

  .width-min-1100 {
    width: 1100px !important;
  }

  .width-800-1100 {
    width: 1100px !important;
  }
}

@media screen and (min-width: 591px) and (max-width: 768px) {
  .width-600-768-1100 {
    width: 768px !important;
  }
}

@media screen and (max-width: 590px) {
  .width-600-768-1100 {
    width: 600px !important;
  }

  .width-800-1100 {
    width: 800px !important;
  }
}

/* 追加：320px以下で幅600px（2列カードの1枚目が画面内に収まる幅） */
@media screen and (max-width: 320px) {
  .width-800-1100.width-320-600 {
    width: 600px !important;
  }
}

/* =====================================================
   t-fv-index（blesse/CSS/t-fv-index）
===================================================== */
.t-fv-index a {
  color: var(--orig-body-color);
}

@media screen and (min-width: 992px) {

  .t-fv-index {
    position: relative;
  }

  /* 文字量に合わせて幅を配分し、項目内では折り返さない */
  .t-fv-index li {
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .t-fv-index::before,
  .t-fv-index::after,
  .t-fv-index-border::after {
    content: "";
    display: block;
    width: 1px;
    height: 48px;
    background-color: var(--orig-navy-light);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .t-fv-index::before {
    left: 0;
  }

  .t-fv-index::after {
    right: 0;
  }

  .border-lg-0 {
    border: none !important;
  }

  .t-fv-index-border::after {
    right: 0;
  }

}

/* =====================================================
   header（blesse/CSS/header,footer）
===================================================== */
@media screen and (min-width: 992px) {

  #navbarNavDropdown {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* PC版g-navi：黒文字＋白シャドウ */
  .header-nav .nav-link {
    color: #000 !important;
    text-shadow: 0 0 5px #fff, 0 0 5px #fff !important;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem) !important;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  /* PC：スクロール後のヘッダー背景 */
  .header-nav.change-color {
    background: var(--orig-beige) !important;
  }

}

/* SP：スクロール後にハンバーガーの横に出るグレー（base.css）を透明に */
@media screen and (max-width: 991px) {
  .header-nav.change-color {
    background-color: transparent !important;
  }
}

/* SP：ハンバーガーメニューを開いたときのナビゲーション背景をベージュに
   （開いている間は JS で .bg-white-on が付く） */
.header-nav.bg-white-on {
  background-color: var(--orig-beige) !important;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  background: var(--orig-beige) !important;
}

.btn-hamburger {
  background: var(--orig-cta) !important;
}

/* =====================================================
   footer（blesse/CSS/header,footer）
===================================================== */
#faq {
  background: var(--orig-beige);
}

#articles {
  background: var(--orig-beige);
}

#articles h2 {
  text-align: center;
  font-size: clamp(20.00px, calc(3.41vw + 9.09px), 50.00px) !important;
  color: var(--orig-primary) !important;
}

#articles a.btn {
  box-shadow: none !important;
  border: var(--orig-primary) 1px solid !important;
  color: var(--orig-primary) !important;
}

#site-contents h2 span.green {
  color: var(--orig-primary) !important;
  line-height: 1.3;
  font-size: clamp(20.00px, calc(3.41vw + 9.09px), 50.00px) !important;
}

#site-contents h3.border-green {
  border-bottom: 1px solid var(--orig-body-color) !important;
  text-align: center;
}


/* *****************************************************
   ここから今回のコーディングで追加
***************************************************** */

/* =====================================================
   共通パーツ
===================================================== */
/* テキストシャドウ */
.text-shadow-dark {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

/* カードの影 */
.shadow-navy {
  box-shadow: 0 0 20px rgba(0, 72, 121, 0.15);
}

/* 見出し下のライン（20px → 35px） */
.title-line {
  position: relative;
  padding-bottom: clamp(1.25rem, calc(1.39vw + 0.97rem), 2.19rem);
}

.title-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--orig-accent);
}

.title-line-wide::after {
  width: min(545px, 80%);
  height: 3px;
}

.title-line-white::after {
  background-color: #fff;
}

/* Point.01 */
.point-label {
  display: block;
  text-align: center;
  font-size: clamp(14.00px, calc(0.56vw + 12.22px), 20.00px);
  font-weight: bold;
  line-height: 1;
}

.point-num {
  display: block;
  font-size: clamp(2.50rem, calc(2.22vw + 2.06rem), 4.00rem);
  line-height: 1;
}

/* リスト（チェック・ドット・人） */
.list-check,
.list-dot,
.list-human {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-check li,
.list-dot li,
.list-human li {
  position: relative;
  padding-left: 1.8em;
}

.list-check li + li,
.list-dot li + li,
.list-human li + li {
  margin-top: 0.9em;
}

.list-check li::before,
.list-dot li::before,
.list-human li::before {
  content: "";
  position: absolute;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.list-check li::before {
  top: 0.25em;
  width: 1.15em;
  height: 1.15em;
  background-image: url(../img/common_icon_check.png);
  background-image: image-set(url(../img/common_icon_check.webp) type("image/webp"), url(../img/common_icon_check.png) type("image/png"));
}

.list-dot li {
  padding-left: 1.5em;
}

.list-dot li::before {
  top: 0.6em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background-color: rgba(43, 43, 43, 0.5);
}

/* sm以下：●を小さく、本文までの距離を詰める */
@media screen and (max-width: 767px) {
  .list-dot li {
    padding-left: 1.1em;
  }

  .list-dot li::before {
    top: 0.62em;
    width: 0.4em;
    height: 0.4em;
  }
}

.list-human li::before {
  top: 0.3em;
  width: 0.95em;
  height: 1.1em;
  background-image: url(../img/common_icon_human.png);
  background-image: image-set(url(../img/common_icon_human.webp) type("image/webp"), url(../img/common_icon_human.png) type("image/png"));
}

/* sm以下：アイコンを少し小さく、本文までの距離を詰める */
@media screen and (max-width: 767px) {
  .list-human li {
    padding-left: 1.4em;
  }

  .list-human li::before {
    top: 0.35em;
    width: 0.8em;
    height: 0.95em;
  }
}

/* =====================================================
   FV
===================================================== */
.bg-fv {
  height: auto;
  padding-top: clamp(3.75rem, calc(6.48vw + 2.45rem), 8.13rem);
  padding-bottom: clamp(2.00rem, calc(2.59vw + 1.48rem), 3.75rem);
  background-color: #f2f2f2;
  background-image: url(../img/t-fv.png);
  background-image: image-set(url(../img/t-fv.webp) type("image/webp"), url(../img/t-fv.png) type("image/png"));
  /* background-size: contain; */
  background-position: top right;
  background-repeat: no-repeat;
}

/* 画面幅が狭いとき（lg未満）は cover */
@media screen and (max-width: 991px) {
  .bg-fv {
    background-size: cover;
  }
}

/* md未満：コンテンツごと中央寄せ */
.fv-inner {
  max-width: 600px;
  margin-inline: auto;
}

/* md以上：コンテンツ幅を無視して左寄せ、青枠は固定幅・改行なし */
@media screen and (min-width: 768px) {
  .fv-container {
    max-width: none;
    padding-left: clamp(2.00rem, calc(5.00vw + 0.50rem), 6.00rem);
  }

  .fv-inner {
    width: 600px;
    max-width: none;
    margin-left: 0;
  }

  .fv-inner p {
    white-space: nowrap;
  }
}

.fv-box {
  background-color: rgba(0, 72, 121, 0.88);
}

.fv-sub {
  background-color: rgba(233, 242, 251, 0.9);
  color: var(--orig-body-color);
}

.fv-house {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 172px;
}

.fv-cta {
  max-width: 410px;
}

/* =====================================================
   section03：おすすめ2選
===================================================== */
.badge-float {
  position: relative;
  margin-top: -2.5rem;
}

/* =====================================================
   会社概要テーブル（base.css の th/td 指定を上書き）
===================================================== */
.table-company {
  width: 100%;
}

.table-company th,
.table-company td {
  background-color: transparent !important;
  color: #fff;
  border: 0 !important;
  border-bottom: 1px solid rgba(111, 158, 189, 0.7) !important;
  padding: 0.75rem 0.5rem !important;
  vertical-align: top;
}

.table-company tr:first-child th,
.table-company tr:first-child td {
  border-top: 1px solid rgba(111, 158, 189, 0.7) !important;
}

.table-company th {
  width: 25%;
  white-space: nowrap;
  font-weight: bold;
}

.table-company a {
  color: #fff;
}

/* =====================================================
   section05：土地相場テーブル（base.css の th/td 指定を上書き）
===================================================== */
.table-land th,
.table-land td {
  border: 1px solid var(--orig-gray) !important;
  padding: 1.25rem 1.5rem !important;
  vertical-align: middle;
}

.table-land th {
  background-color: var(--orig-primary-bg) !important;
  color: var(--orig-primary);
  font-weight: bold;
}

.table-land td {
  background-color: #fff;
}

/* sm以下：見出し列（エリア・市名）を内容幅まで細くする */
@media screen and (max-width: 767px) {
  .table-land .cell-sm-narrow {
    width: 1%;
    white-space: nowrap;
    padding-inline: 0.75rem !important;
  }
}

/* section05：アイコン */
.img-icon {
  width: clamp(80px, 9vw, 136px);
}

/* =====================================================
   口コミのアイコン（md以上：タイトル＋本文の右に並列 / sm以下：本文の下）
===================================================== */
.voice-icon {
  width: 142px;
}

@media screen and (max-width: 767px) {
  .voice-icon {
    width: 90px;
  }
}

/* =====================================================
   施工事例カルーセル
===================================================== */
.carousel-case {
  padding: 0 2.5rem;
}

.carousel-case .carousel-control-prev,
.carousel-case .carousel-control-next {
  width: 2.5rem;
  opacity: 1;
}

.carousel-case .carousel-control-prev-icon,
.carousel-case .carousel-control-next-icon {
  width: 16px;
  height: 16px;
  background-image: none;
  border-top: 4px solid var(--orig-primary);
  border-left: 4px solid var(--orig-primary);
}

.carousel-case .carousel-control-prev-icon {
  transform: rotate(-45deg);
}

.carousel-case .carousel-control-next-icon {
  transform: rotate(135deg);
}

/* プレースホルダー（画像差し替え前） */
.case-placeholder {
  aspect-ratio: 1138 / 581;
}

/* =====================================================
   section01：4つのチェックポイント
   PC（lg以上）は2件1セットで「見出し・画像・本文・確認すべき項目」の高さを揃える（subgrid）
===================================================== */
.point-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 992px) {
  .point-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@supports (grid-template-rows: subgrid) {
  @media screen and (min-width: 992px) {
    .point-grid > * {
      display: contents;
    }

    .point-card {
      display: grid !important;
      grid-template-rows: subgrid;
      grid-row: span 4;
      row-gap: 0;
    }
  }
}

/* =====================================================
   会社一覧（#list）
   PC：3件1セット、タブレット：2件1セットで
   「会社名・説明・所在地・電話番号・地図・ボタン」の高さを行ごとに揃える（subgrid）
===================================================== */
.list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.list-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 複数拠点の会社：説明〜全拠点（拠点名・所在地・電話番号・地図）を縦スクロールの枠に入れる
   sm以下：最大560pxでスクロール
   md以上：横に並ぶ会社の「説明〜地図」と同じ高さでスクロール（subgridの4行分） */
.list-scroll {
  max-height: 560px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@supports (grid-template-rows: subgrid) {
  @media screen and (min-width: 768px) {
    .list-card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      row-gap: 0.75rem;
    }

    /* 中身の高さで行を広げないように contain: size にして、行の高さいっぱいに伸ばす */
    .list-scroll {
      grid-row: span 4;
      max-height: none;
      contain: size;
    }
  }
}

/* =====================================================
   320px以下（xxs）用のユーティリティ
   ※他のユーティリティより後に置くこと（!important同士で後勝ちさせるため）
===================================================== */
@media screen and (max-width: 320px) {
  .d-xxs-block {
    display: block !important;
  }

  .f-xxs-13 {
    font-size: 13px !important;
  }

  .px-xxs-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/*# sourceMappingURL=add.css.map */
