@charset "utf-8";
@import url("root.css");

/***************************************
-------------- NEWS --------------
***************************************/
.low_header {
  width: 100%;
  height: 65px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.phone_num {
  /* =============================
     purchase.css と同じ挙動へ統一
     - アイコン: 文字サイズに連動
     - 縦位置: 可変オフセット (--tel-icon-offset)
     - 画面幅で段階的にオフセット縮小
  ============================= */
  --tel-icon-offset: 0.15em; /* 基本(大) */
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0 2% 0 0;
  a {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1;
  }
  a::before {
    content: "";
    display: inline-block;
    background: url(../img/svg/icn_tel_bl.svg) no-repeat center/contain;
    width: clamp(1.8rem, 3vw, 2.4rem);
    height: auto;
    aspect-ratio: 31/25;
    object-fit: cover;
    margin-right: 0.6ch; /* 数字幅基準で余白可変 */
    margin-top: var(--tel-icon-offset); /* 旧: 固定, 今: 連動 */
    flex-shrink: 0;
  }
  .open_time {
    font-size: 0.7em; /* 親サイズに追従 */
    font-weight: 600;
    line-height: 1;
    margin-top: 0.25em;
  }
}

/* オフセット段階縮小（purchase.css と同様の考え方） */
@media (max-width: 900px) {
  .phone_num {
    --tel-icon-offset: 0.12em;
  }
}
@media (max-width: 600px) {
  .phone_num {
    --tel-icon-offset: 0.1em;
  }
}
@media (max-width: 420px) {
  .phone_num {
    --tel-icon-offset: 0.15em;
  }
}

#pagetitle {
  width: 100%;
  height: 200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: url(../img/main_bg.webp) no-repeat;
  background-position: center center;
  background-size: cover;
  h1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
    color: var(--text-color);
    span {
      font-size: 0.75em;
      color: var(--text-color);
      margin-left: 1rem;
    }
  }
  h1::before {
    content: "";
    display: block;
    background: linear-gradient(#4545b0, var(--base-color01));
    width: 8px;
    height: calc(clamp(2.4rem, 4.5vw, 3.2rem) * 1.2);
    margin-right: 10px;
    margin-top: 2px;
  }
}

.desc {
  width: 100%;
  margin: clamp(25px, 5vw, 50px) auto;
  text-align: center;
}

/***************************************
-------------- パンくず --------------
***************************************/
#Breadcrumb {
  ol {
    display: flex;
    flex-wrap: wrap;
    line-height: 1;
    width: 100%;
    margin: 2rem auto;
    padding-bottom: 2rem;
    border-bottom: 2px dotted #ddd;
    li {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      a {
        font-size: 1.4rem;
        line-height: 1;
      }
      a:hover {
        text-decoration: underline;
      }
      span {
        font-size: 1.4rem;
        line-height: 1;
      }
    }
    li:not(:last-of-type)::after {
      content: "≫";
      display: block;
      margin: 0 1rem;
      font-size: 1rem;
      line-height: 1;
    }
  }
}

/* =======================
  PC
======================== */
@media (min-width: 1200px) {
}

/* =======================
  TABLET
======================== */
@media (max-width: 1199px) {
}

/* =======================
  SP
======================== */
@media (max-width: 599.98px) {
  #pagetitle {
    margin-top: 65px;
  }
}
