@charset "UTF-8";

#mv::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:5;background-image:linear-gradient( 135deg,rgba(6,12,32,0.26) 25%,rgba(6,12,32,0) 25%,rgba(6,12,32,0) 50%,rgba(6,12,32,0.22) 50%,rgba(6,12,32,0.22) 75%,rgba(6,12,32,0) 75%,rgba(6,12,32,0) );background-size:6px 6px;mix-blend-mode:overlay;opacity:0.75;}#mv{position:relative;}#mv::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:clamp(400px,50vw,800px);height:clamp(400px,50vw,800px);background-image:url('/common/upload_data/kabi-mistcom/image/20260806180341.png');background-size:contain;background-repeat:no-repeat;background-position:center;pointer-events:none;z-index:10;}@media (max-width:900px){#mv::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80vw;aspect-ratio:16 / 9;background-image:url('/common/upload_data/kabi-mistcom/image/20260806180341.png');background-size:contain;background-repeat:no-repeat;background-position:center;pointer-events:none;z-index:10;}}

/* ========================================
   カビトラブル導線
======================================== */

.kabi-guide {
  width: 100%;
  padding: 80px 24px;
  background: #F2F6FF;
}

.kabi-guide,
.kabi-guide * {
  box-sizing: border-box;
}

.kabi-guide__inner {
  width: min(100%, 1400px);
  margin: 0 auto;
}


/* ========================================
   見出し
======================================== */

.kabi-guide__heading {
  margin-bottom: 58px;
  text-align: center;
}

.kabi-guide__title {
  margin: 0;

  color: #082C84;

  font-size: clamp(25px, 4vw, 45px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.kabi-guide__lead {
  margin: 20px 0 0;

  color: #222222;

  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.7;
}


/* ========================================
   カード一覧
======================================== */

.kabi-guide__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;

  align-items: stretch;
}


/* ========================================
   カード
======================================== */

.kabi-guide-card {
  position: relative;

  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;

  overflow: visible;

  background: #ffffff;

  border: 1px solid #d9e3f4;
  border-radius: 18px;

  box-shadow:
    0 10px 28px rgba(8, 44, 132, 0.08);
}


/* ========================================
   上部ラベル
======================================== */

.kabi-guide-card__label {
  position: absolute;
  z-index: 10;

  top: -26px;
  left: 50%;

  transform: translateX(-50%);

  width: min(58%, 390px);
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 12px 28px;

  color: #ffffff;
  background: #082C84;

  border-radius: 10px;

  font-size: clamp(22px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.2;

  white-space: nowrap;
}


/* ========================================
   上部ラベル アイコン
======================================== */

.kabi-guide-card__label-icon {
  display: block;

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  object-fit: contain;

  /* 白アイコンなのでそのまま表示 */
}


/* ラベル文字 */
.kabi-guide-card__label-text {
  display: block;

  color: #ffffff;

  font-weight: 900;
  line-height: 1.2;
}


/* ========================================
   画像
======================================== */

.kabi-guide-card__visual {
  position: relative;

  width: 100%;

  height: 320px;
  flex: 0 0 320px;

  overflow: hidden;

  border-radius: 18px 18px 0 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* ========================================
   個人向け画像
======================================== */

.kabi-guide-card__visual--individual {
  background-image:
    url("/common/upload_data/kabi-mistcom/image/20260825100426.png");

  background-position: center;
}


/* ========================================
   法人向け画像
======================================== */

.kabi-guide-card__visual--corporate {
  background-image:
    url("/common/upload_data/kabi-mistcom/image/20260825100428.png");

  background-position: center;
}


/* ========================================
   画像上の丸テキスト
======================================== */

.kabi-guide-card__bubble {
  position: absolute;
  z-index: 2;

  top: 72px;
  left: 42px;

  width: 185px;
  height: 185px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px;

  color: #082C84;
  background: rgba(255, 255, 255, 0.96);

  border-radius: 50%;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.13);

  text-align: center;

  font-size: 19px;
  font-weight: 900;
  line-height: 1.55;
}


/* ========================================
   本文
======================================== */

.kabi-guide-card__body {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 34px 42px 36px;
}


/* ========================================
   タイトル
======================================== */

.kabi-guide-card__title {
  margin: 0;

  min-height: 105px;

  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.kabi-guide-card__title-blue {
  display: block;

  color: #082C84;
}

.kabi-guide-card__title-black {
  display: block;

  color: #111111;
}


/* ========================================
   説明文
======================================== */

.kabi-guide-card__text {
  margin: 20px 0 0;

  min-height: 130px;

  color: #333333;

  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}


/* ========================================
   こんな方へ
======================================== */

.kabi-guide-card__points {
  width: 100%;

  min-height: 145px;

  margin-top: 22px;
  padding: 18px 24px 20px;

  background: #F5F8FD;

  border-radius: 10px;
}


/* ========================================
   こんな方へ 見出し
======================================== */

.kabi-guide-card__points-heading {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 18px;

  margin-bottom: 12px;
}

.kabi-guide-card__points-title {
  flex: 0 0 auto;

  margin: 0;

  color: #082C84;

  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;

  white-space: nowrap;
}

.kabi-guide-card__points-line {
  flex: 1;

  height: 1px;

  background: #8EAADD;
}


/* ========================================
   チェックリスト
======================================== */

.kabi-guide-card__points ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.kabi-guide-card__points li {
  position: relative;

  padding-left: 34px;

  color: #222222;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.kabi-guide-card__points li + li {
  margin-top: 7px;
}

.kabi-guide-card__points li::before {
  content: "✓";

  position: absolute;

  top: 3px;
  left: 0;

  width: 21px;
  height: 21px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: #082C84;

  border-radius: 50%;

  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}


/* ========================================
   ボタン
======================================== */

.kabi-guide-card__button {
  width: 100%;

  margin-top: auto;

  padding: 22px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  color: #111111;
  background: #FEE409;

  border-radius: 9px;

  text-decoration: none;

  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 900;
  line-height: 1.4;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.kabi-guide-card__button-text {
  flex: 1;

  text-align: center;
}

.kabi-guide-card__arrow {
  flex: 0 0 auto;

  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.kabi-guide-card__button:hover {
  color: #111111;
  background: #ffeb29;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(8, 44, 132, 0.14);
}


/* ========================================
   1200px以下
======================================== */

@media (max-width: 1200px) {

  .kabi-guide-card__body {
    padding: 32px 28px 30px;
  }

  .kabi-guide-card__visual {
    height: 290px;
    flex-basis: 290px;
  }

  .kabi-guide-card__bubble {
    top: 68px;
    left: 28px;

    width: 165px;
    height: 165px;

    padding: 18px;

    font-size: 17px;
  }

  .kabi-guide-card__label-icon {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }

  .kabi-guide-card__text {
    font-size: 16px;
  }

  .kabi-guide-card__points li {
    font-size: 16px;
  }

}


/* ========================================
   タブレット
======================================== */

@media (max-width: 900px) {

  .kabi-guide {
    padding: 70px 20px;
  }

  .kabi-guide__cards {
    gap: 20px;
  }

  .kabi-guide-card__label {
    width: 68%;
    min-height: 62px;

    gap: 10px;

    font-size: 23px;
  }

  .kabi-guide-card__label-icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .kabi-guide-card__visual {
    height: 250px;
    flex-basis: 250px;
  }

  .kabi-guide-card__bubble {
    top: 58px;
    left: 20px;

    width: 145px;
    height: 145px;

    font-size: 15px;
  }

  .kabi-guide-card__body {
    padding: 28px 22px 24px;
  }

  .kabi-guide-card__title {
    min-height: 100px;

    font-size: 25px;
  }

  .kabi-guide-card__text {
    min-height: 150px;

    font-size: 15px;
  }

  .kabi-guide-card__points {
    min-height: 155px;

    padding: 16px 18px;
  }

  .kabi-guide-card__points-title {
    font-size: 18px;
  }

  .kabi-guide-card__points li {
    padding-left: 29px;

    font-size: 14px;
  }

  .kabi-guide-card__button {
    padding: 18px 16px;

    font-size: 16px;
  }

}


/* ========================================
   スマホ
======================================== */

@media (max-width: 767px) {

  .kabi-guide {
    padding: 54px 16px;
  }

  .kabi-guide__inner {
    width: 100%;
  }


  /* 見出し */

  .kabi-guide__heading {
    margin-bottom: 56px;
  }

  .kabi-guide__title {
    font-size: 30px;
    line-height: 1.35;
  }

  .kabi-guide__lead {
    margin-top: 14px;

    font-size: 16px;
    line-height: 1.7;
  }

  .kabi-guide__lead br {
    display: none;
  }


  /* 1カラム */

  .kabi-guide__cards {
    grid-template-columns: 1fr;

    gap: 64px;
  }


  /* カード */

  .kabi-guide-card {
    height: auto;
  }


  /* ラベル */

  .kabi-guide-card__label {
    top: -22px;

    width: 72%;
    min-height: 58px;

    gap: 10px;

    padding: 10px 18px;

    font-size: 22px;

    border-radius: 8px;
  }

  .kabi-guide-card__label-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;
  }


  /* 画像 */

  .kabi-guide-card__visual {
    height: 245px;
    flex: none;
  }

  .kabi-guide-card__visual--individual {
    background-position: center;
  }

  .kabi-guide-card__visual--corporate {
    background-position: center;
  }


  /* 丸テキスト */

  .kabi-guide-card__bubble {
    top: 55px;
    left: 18px;

    width: 140px;
    height: 140px;

    padding: 15px;

    font-size: 15px;
    line-height: 1.45;
  }


  /* 本文 */

  .kabi-guide-card__body {
    padding: 26px 20px 22px;
  }


  /* 固定高さ解除 */

  .kabi-guide-card__title,
  .kabi-guide-card__text,
  .kabi-guide-card__points {
    min-height: 0;
  }


  /* タイトル */

  .kabi-guide-card__title {
    font-size: 25px;
    line-height: 1.4;
  }


  /* 説明文 */

  .kabi-guide-card__text {
    margin-top: 16px;

    font-size: 15px;
    line-height: 1.8;
  }


  /* チェック */

  .kabi-guide-card__points {
    margin-top: 20px;

    padding: 16px;
  }

  .kabi-guide-card__points-heading {
    gap: 12px;

    margin-bottom: 10px;
  }

  .kabi-guide-card__points-title {
    font-size: 18px;
  }

  .kabi-guide-card__points li {
    padding-left: 29px;

    font-size: 15px;
    line-height: 1.6;
  }

  .kabi-guide-card__points li + li {
    margin-top: 8px;
  }


  /* ボタン */

  .kabi-guide-card__button {
    margin-top: 24px;

    padding: 18px 14px;

    gap: 10px;

    font-size: 15px;
  }

  .kabi-guide-card__arrow {
    font-size: 25px;
  }

}


/* ========================================
   小さいスマホ
======================================== */

@media (max-width: 420px) {

  .kabi-guide {
    padding-left: 12px;
    padding-right: 12px;
  }

  .kabi-guide__title {
    font-size: 27px;
  }

  .kabi-guide-card__label {
    width: 78%;

    font-size: 20px;
  }

  .kabi-guide-card__label-icon {
    width: 29px;
    height: 29px;

    flex-basis: 29px;
  }

  .kabi-guide-card__visual {
    height: 225px;
  }

  .kabi-guide-card__bubble {
    top: 52px;

    width: 128px;
    height: 128px;

    font-size: 14px;
  }

  .kabi-guide-card__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kabi-guide-card__title {
    font-size: 23px;
  }

  .kabi-guide-card__button {
    font-size: 14px;
  }

}

.kb-comparison-section {
  --kb-navy: #082c84;
  --kb-line: #9cbcff;
  --kb-yellow: #fee409;
  --kb-header-height: 156px;
  --kb-row-height: 154px;

  width: 100%;
  padding: 30px 20px;
  color: #111827;
  background: transparent;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;
}

.kb-comparison-section *,
.kb-comparison-section *::before,
.kb-comparison-section *::after {
  box-sizing: border-box;
}

/* 横スクロール領域 */
.kb-scroll-shell {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 18px 10px 22px;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

/* 比較表全体 */
.kb-comparison {
  width: 1670px;
  min-width: 1670px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 300px 580px 385px 405px;
  grid-template-rows:
    var(--kb-header-height)
    repeat(5, var(--kb-row-height));

  background: transparent;

  filter:
    drop-shadow(0 18px 34px rgba(12, 45, 108, 0.08));
}

.kb-label-column,
.kb-ours-column,
.kb-rival-column {
  display: grid;
  grid-template-rows:
    var(--kb-header-height)
    repeat(5, var(--kb-row-height));
}

.kb-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 比較項目 */
.kb-label-column {
  grid-column: 1;
  grid-row: 1 / -1;

  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      #0b3793 0%,
      #062b80 100%
    );

  border: 1px solid var(--kb-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

.kb-label-column > .kb-header {
  border-bottom:
    1px solid rgba(255, 255, 255, 0.72);

  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kb-label-cell {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 0 22px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.72);

  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.kb-label-cell:last-child {
  border-bottom: 0;
}

.kb-label-cell b {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;

  display: grid;
  place-items: center;

  margin: 0;
  padding: 0;

  color: var(--kb-navy);
  background: #ffffff;
  border-radius: 50%;

  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

/* カビバスターズ本部 */
.kb-ours-column {
  position: relative;
  z-index: 5;

  grid-column: 2;
  grid-row: 1 / -1;

  transform: translateY(-10px);
}

.kb-ours-frame {
  position: absolute;
  inset: 0;

  display: grid;
  grid-template-rows:
    var(--kb-header-height)
    repeat(5, var(--kb-row-height));

  background: #ffffff;

  border: 4px solid var(--kb-navy);
  border-radius: 18px;

  box-shadow:
    0 0 0 5px #ffffff,
    0 0 0 8px var(--kb-navy),
    0 13px 26px rgba(3, 28, 91, 0.24);

  overflow: hidden;
}

.kb-ours-header {
  flex-direction: column;
  gap: 11px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #052875 0%,
      #0b42aa 100%
    );
}

.kb-company-pill {
  min-width: 140px;
  padding: 10px 28px 9px;

  color: var(--kb-navy);
  background: #ffffff;

  border-radius: 999px;

  text-align: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;

  box-shadow:
    inset 0 0 0 1px rgba(8, 44, 132, 0.12);
}

.kb-ours-header h3 {
  margin: 0;
  padding: 0;

  color: #ffffff;

  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
}

.kb-ours-cell {
  position: relative;

  display: flex;
  align-items: center;
  gap: 27px;

  padding: 22px 28px;

  background: #ffffff;
  border-top: 1px solid var(--kb-line);
}

/* 中央点なしの二重丸 */
.kb-target {
  position: relative;

  display: block;

  width: 58px;
  height: 58px;
  flex: 0 0 58px;

  border: 5px solid var(--kb-navy);
  border-radius: 50%;
}

.kb-target::before {
  content: "";

  position: absolute;
  inset: 8px;

  border: 4px solid var(--kb-navy);
  border-radius: 50%;
}

/* 当社欄の文章 */
.kb-ours-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  font-size: 23px;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
}

.kb-ours-copy strong {
  font-weight: 800;
}

/* 黄色い強調下線 */
.kb-accent {
  position: relative;
  display: inline-block;
}

.kb-accent::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;

  height: 4px;

  background: var(--kb-yellow);
  border-radius: 4px;
}

.kb-accent-inline {
  margin: 0 2px;
}

/* グループ全体 */
.kb-group-note {
  align-self: flex-end;

  margin: -1px 17px 0 0;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

/* 比較対象列 */
.kb-rival-column {
  grid-row: 1 / -1;
  background: #ffffff;
}

.kb-general-column {
  grid-column: 3;
}

.kb-cleaning-column {
  grid-column: 4;

  /* カビ取り業者とハウスクリーニングの縦線 */
  border-left: 1px solid var(--kb-line);
}

.kb-rival-header {
  flex-direction: column;
  gap: 2px;

  color: var(--kb-navy);

  background:
    linear-gradient(
      145deg,
      #f7faff 0%,
      #edf3ff 100%
    );

  border-top: 1px solid var(--kb-line);
  border-right: 1px solid var(--kb-line);
  border-bottom: 1px solid var(--kb-line);

  font-size: 29px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.kb-cleaning-column > .kb-rival-header {
  border-radius: 0 8px 0 0;
}

.kb-rival-cell {
  display: flex;
  align-items: center;
  gap: 24px;

  padding: 20px 28px;

  background: #ffffff;

  border-right: 1px solid var(--kb-line);
  border-bottom: 1px solid var(--kb-line);

  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

/* 境界の縦線が二重になるのを防止 */
.kb-general-column > .kb-rival-header,
.kb-general-column > .kb-rival-cell {
  border-right: 0;
}

.kb-rival-cell small {
  display: block;

  margin-top: 4px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.kb-cleaning-column > .kb-rival-cell:last-child {
  border-radius: 0 0 8px 0;
}

/* ○・△ */
.kb-mark {
  position: relative;

  display: block;

  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

/* 丸 */
.kb-circle {
  border: 4px solid var(--kb-navy);
  border-radius: 50%;
}

/* 三角形 */
.kb-triangle::before {
  content: "";

  position: absolute;
  top: 1px;
  left: 3px;

  width: 0;
  height: 0;

  border-right: 23px solid transparent;
  border-bottom: 47px solid var(--kb-navy);
  border-left: 23px solid transparent;
}

.kb-triangle::after {
  content: "";

  position: absolute;
  top: 11px;
  left: 10px;

  width: 0;
  height: 0;

  border-right: 16px solid transparent;
  border-bottom: 33px solid #ffffff;
  border-left: 16px solid transparent;
}

/* 横棒 */
.kb-dash {
  width: 100%;

  color: var(--kb-navy);

  text-align: center;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

/* スマートフォン・タブレット */
@media screen and (max-width: 900px) {
  .kb-comparison-section {
    padding: 10px 0;
    background: transparent;
  }

  .kb-scroll-shell {
    padding: 18px 14px 26px;
  }
}
/* ==================================================
   901px以上：パソコン表示
================================================== */
@media screen and (min-width: 901px) {
  .kb-comparison-section {
    width: 100%;
    padding: 25px 0;
    overflow: hidden;
    background: transparent;
  }

  .kb-scroll-shell {
    width: 100%;
    padding: 18px 10px 25px;
    overflow-x: auto;
    overflow-y: visible;
  }

  .kb-comparison {
    margin: 0 auto;
    zoom: 0.75;
  }
}

/* ==================================================
   900px以下：タブレット・スマートフォン表示
================================================== */
@media screen and (max-width: 900px) {
  .kb-comparison-section {
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
    background: transparent;
  }

  .kb-scroll-shell {
    width: 100%;
    padding: 14px 8px 20px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .kb-comparison {
    margin: 0;
    zoom: 0.4;
  }

  .kb-scroll-shell::-webkit-scrollbar {
    height: 5px;
  }

  .kb-scroll-shell::-webkit-scrollbar-track {
    background: #f2f6ff;
    border-radius: 10px;
  }

  .kb-scroll-shell::-webkit-scrollbar-thumb {
    background: #082c84;
    border-radius: 10px;
  }
}

:root {
	--mist-navy: #082c84;
	--mist-yellow: #fee409;
	--mist-pale: #f2f6ff;
	--mist-white: #ffffff;
	--mist-option-border: #e9b600;
	--mist-option-bg: #fff9d2;
}

/* ========================================
   共通設定
======================================== */

.mist-flow,
.mist-flow * {
	box-sizing: border-box;
}

.mist-flow {
	width: 100%;
	padding: 24px 0 30px;
	overflow: hidden;
	background: var(--mist-pale);
	color: var(--mist-navy);
	font-family:
		"Noto Sans JP",
		"Yu Gothic",
		"YuGothic",
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		sans-serif;
}

/* ========================================
   横スクロールエリア
======================================== */

.mist-flow__scroll {
	width: 100%;
	padding: 4px 18px 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-color: var(--mist-navy) #ffffff;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.mist-flow__scroll::-webkit-scrollbar {
	height: 7px;
}

.mist-flow__scroll::-webkit-scrollbar-track {
	border-radius: 999px;
	background: #ffffff;
}

.mist-flow__scroll::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: var(--mist-navy);
}

.mist-flow__canvas {
	position: relative;
	width: max(980px, 100%);
	max-width: 1280px;
	min-height: 390px;
	margin: 0 auto;
}

/* ========================================
   工程一覧
======================================== */

.mist-flow__steps {
	display: grid;
	grid-template-columns: repeat(7, minmax(112px, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.mist-flow__steps > li {
	margin: 0;
	list-style: none !important;
}

.mist-flow__steps > li::marker {
	display: none !important;
	content: "" !important;
	font-size: 0 !important;
}

/* ========================================
   工程カード
======================================== */

.mist-step {
	position: relative;
	min-width: 0;
	height: 246px;
	margin: 0;
	padding: 12px 9px 11px;
	border: 2px solid var(--mist-navy);
	border-radius: 8px;
	background: var(--mist-white) !important;
	color: var(--mist-navy);
}

/* ========================================
   工程間の青い矢印
======================================== */

.mist-step:not(:last-child)::after {
	content: "";
	position: absolute;
	z-index: 10;
	top: 50%;
	left: calc(100% + 5px);
	width: 20px;
	height: 26px;
	border: 0;
	background: var(--mist-navy);
	clip-path: polygon(
		28% 0,
		0 14%,
		36% 50%,
		0 86%,
		28% 100%,
		78% 50%
	);
	transform: translateY(-50%);
}

/* ========================================
   工程番号
======================================== */

.mist-step__number {
	display: block;
	color: var(--mist-navy);
	font-size: clamp(25px, 2.25vw, 35px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.mist-step__line {
	display: block;
	width: 28px;
	height: 4px;
	margin: 6px 0 9px;
	background: var(--mist-yellow);
}

/* ========================================
   アイコン画像
======================================== */

.mist-step__icon,
.mist-option__icon {
	display: grid;
	place-items: center;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 50%;
	background: var(--mist-navy);
}

.mist-step__icon {
	width: 96px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
}

.mist-option__icon {
	width: 74px;
	height: 74px;
	flex: 0 0 74px;
}

.mist-step__icon img,
.mist-option__icon img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	object-fit: contain;
}

/* 古いSVGを非表示 */
.mist-step__icon svg,
.mist-option__icon svg {
	display: none !important;
}

/* ========================================
   工程タイトル
======================================== */

.mist-step__title {
	margin: 10px -5px 0;
	color: var(--mist-navy);
	font-size: clamp(14px, 1.18vw, 18px);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.mist-step__title small {
	display: block;
	margin-top: 1px;
	font-size: 0.74em;
	font-weight: 800;
	line-height: 1.3;
}

/* ========================================
   オプションエリア
======================================== */

.mist-options {
	position: absolute;
	top: 295px;
	right: 1.5%;
	left: 11.2%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	pointer-events: none;
}

.mist-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 13px;
	width: 245px;
	min-height: 92px;
	padding: 8px 13px;
	border: 2px dashed var(--mist-option-border);
	border-radius: 10px;
	background: var(--mist-option-bg);
}

/* 工程カードとオプションをつなぐ点線 */
.mist-option::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	height: 49px;
	border-left: 2px dashed var(--mist-option-border);
	transform: translateX(-50%);
}

.mist-option__content {
	flex: 1;
	min-width: 0;
}

.mist-option__label {
	display: block;
	min-width: 112px;
	padding: 4px 12px 5px;
	border-radius: 999px;
	background: var(--mist-navy);
	color: var(--mist-white);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}

.mist-option p {
	margin: 6px 0 0;
	color: var(--mist-navy);
	font-size: 21px;
	font-weight: 900;
	line-height: 1.1;
	white-space: nowrap;
}

/* ========================================
   900px以下
======================================== */

@media screen and (max-width: 900px) {

	.mist-flow {
		padding: 14px 0 18px;
	}

	.mist-flow__scroll {
		padding: 4px 12px 10px;
	}

	.mist-flow__canvas {
		width: 920px;
		min-height: 350px;
	}

	.mist-flow__steps {
		grid-template-columns: repeat(7, 105px);
		gap: 27px;
	}

	.mist-step {
		height: 220px;
		padding: 10px 8px;
	}

	.mist-step:not(:last-child)::after {
		left: calc(100% + 4px);
		width: 19px;
		height: 24px;
	}

	.mist-step__number {
		font-size: 27px;
	}

	.mist-step__line {
		width: 25px;
		height: 4px;
		margin: 5px 0 8px;
	}

	.mist-step__icon {
		width: 82px;
	}

	.mist-step__title {
		margin-top: 8px;
		font-size: 14px;
	}

	.mist-options {
		top: 264px;
		right: 1.5%;
		left: 9.5%;
	}

	.mist-option {
		width: 220px;
		min-height: 82px;
		gap: 10px;
		padding: 7px 10px;
	}

	.mist-option::before {
		height: 44px;
	}

	.mist-option__icon {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}

	.mist-option__label {
		min-width: 104px;
		padding: 4px 10px 5px;
		font-size: 13px;
	}

	.mist-option p {
		font-size: 19px;
	}
}

/* ======================================
   重要文化財 施工実績スライダー
====================================== */

.heritage-slider {
  --heritage-navy: #082c84;
  --heritage-yellow: #fee409;

  position: relative;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 7px solid var(--heritage-navy);
  box-shadow: 0 14px 35px rgba(8, 44, 132, 0.13);
}

/* ======================================
   左側の固定タイトル
====================================== */

.heritage-slider__heading {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 58px 25px 45px;
  color: #ffffff;
  background: var(--heritage-navy);
  clip-path: polygon(
    0 0,
    89% 0,
    100% 50%,
    89% 100%,
    0 100%
  );
}

/* 黄色の斜めライン */
.heritage-slider__heading::before {
  position: absolute;
  top: 0;
  right: 32px;
  width: 7px;
  height: 100%;
  background: var(--heritage-yellow);
  content: "";
  transform: skewX(-22deg);
}

.heritage-slider__heading h2 {
  margin: 0;
  color: #ffffff;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.heritage-slider__heading p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.heritage-slider__heading sup {
  font-size: 6px;
}

/* ======================================
   スライド表示範囲
====================================== */

.heritage-slider__window {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #f6f9ff 0%,
    #ffffff 12%,
    #ffffff 100%
  );
}

/* 左側だけフェード */
.heritage-slider__window::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 70px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
}

/* 右側のフェード・縦シャドウなし */
.heritage-slider__window::after {
  display: none;
  content: none;
}

/* ======================================
   横に流れるトラック
====================================== */

.heritage-slider__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: heritage-scroll 36s linear infinite;
  will-change: transform;
}

.heritage-slider__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 17px;
  padding: 22px 8px;
}

/* ======================================
   各施工実績カード
====================================== */

.heritage-card {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 270px;
  min-height: 96px;
  padding: 14px 24px 14px 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5f5;
  box-shadow: 0 8px 24px rgba(8, 44, 132, 0.09);
}

/* 右下の黄色アクセント */
.heritage-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 4px;
  background: var(--heritage-yellow);
  content: "";
}

/* 指定画像のアイコン */
.heritage-card__icon {
  display: block;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  margin-right: 15px;
  object-fit: contain;
}

/* 施設情報 */
.heritage-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.heritage-card__text small {
  display: block;
  margin-bottom: 4px;
  color: #7188ad;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.heritage-card__text strong {
  display: block;
  color: var(--heritage-navy);
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* カーソルを合わせると停止 */
.heritage-slider:hover .heritage-slider__track {
  animation-play-state: paused;
}

/* ======================================
   無限ループアニメーション
====================================== */

@keyframes heritage-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
  .heritage-slider__track {
    animation-play-state: paused;
  }
}

/* ======================================
   スマートフォン
====================================== */

@media screen and (max-width: 767px) {
  .heritage-slider {
    display: block;
    min-height: auto;
    border-bottom-width: 5px;
  }

  .heritage-slider__heading {
    padding: 17px 22px;
    text-align: center;
    clip-path: none;
  }

  /* 黄色ラインを見出し下部へ移動 */
  .heritage-slider__heading::before {
    top: auto;
    right: 50%;
    bottom: -4px;
    width: 68px;
    height: 4px;
    transform: translateX(50%);
  }

  .heritage-slider__heading h2 {
    font-size: 19px;
  }

  .heritage-slider__heading h2 br,
  .heritage-slider__heading p br {
    display: none;
  }

  .heritage-slider__window::before {
    width: 30px;
  }

  .heritage-slider__group {
    gap: 11px;
    padding: 16px 6px;
  }

  .heritage-card {
    min-width: 235px;
    min-height: 78px;
    padding: 11px 16px 11px 12px;
  }

  .heritage-card__icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .heritage-card__text small {
    font-size: 9px;
  }

  .heritage-card__text strong {
    font-size: 14px;
  }
}
#a001 + section >div{
    max-width: 100% !important;
}
#a001 + section .content_wrapper {
    padding: 0 !important;
}

/* ==========================================
   1. PC表示（901px以上）
   #pcの次のセクションを表示、#spの次のセクションを非表示
   ========================================== */
@media screen and (min-width: 901px) {
  #pc + section {
    display: block; /* 必要に応じて flex や grid などに変更 */
  }
  #sp + section {
    display: none !important;
  }
}

/* ==========================================
   2. SP表示（900px以下）
   #pcの次のセクションを非表示、#spの次のセクションを表示
   ========================================== */
@media screen and (max-width: 900px) {
  #pc + section {
    display: none !important;
  }
  #sp + section {
    display: block; /* 必要に応じて flex や grid などに変更 */
  }
}


    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }
  


  /* 予約画面表示中は背面を固定 */
  html.reservation-modal-open,
  body.reservation-modal-open {
    overflow: hidden !important;
    width: 100%;
  }

  /* 予約入力画面をブラウザ画面全体に固定 */
  #reservation-modal {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;

    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;

    justify-content: center !important;
    align-items: center !important;

    background: rgba(0, 0, 0, 0.55) !important;

    /* 他コンテンツより必ず手前に表示 */
    z-index: 2147483647 !important;
    isolation: isolate !important;

    overflow: hidden !important;
  }

  /* 予約情報の入力部分 */
  #reservation-modal > div {
    position: relative !important;
    z-index: 1 !important;

    width: min(400px, 100%) !important;
    max-width: 400px !important;
    max-height: calc(100dvh - 40px) !important;

    margin: 0 !important;
    padding: 30px !important;
    box-sizing: border-box !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;

    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
  }

  /* スマホ表示 */
  @media (max-width: 767px) {
    #reservation-modal {
      padding: 10px !important;
      align-items: center !important;
    }

    #reservation-modal > div {
      width: 100% !important;
      max-width: 100% !important;
      max-height: calc(100dvh - 20px) !important;
      padding: 20px 16px !important;
      border-radius: 10px !important;
    }
  }
