/* ==========================================================
   Base
   ========================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

/* PCは全体を0.8倍で表示（デザイン1440px基準の見た目を縮小） */
@media (min-width: 1200px) {
  html {
    zoom: 0.8;
  }
}

body {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-white);
  padding-top: var(--header-height);
}

em {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: calc(var(--content-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* SP/PCでの改行出し分け */
.u-pc {
  display: none;
}

@media (min-width: 1200px) {
  .u-sp {
    display: none;
  }

  .u-pc {
    display: inline;
  }
}

/* 強調色ユーティリティ */
.u-red {
  color: var(--color-red);
}

.u-orange {
  color: var(--color-orange-deep);
}

/* ==========================================================
   Section title
   ========================================================== */
.section-title {
  font-family: var(--font-zen);
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--color-text);
}

/* 見出し左右のスラッシュ装飾 */
.heading-slash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.heading-slash::before,
.heading-slash::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 19px;
  background: url("../images/pages/top/deco-slash-left.svg") center / contain no-repeat;
}

.heading-slash::after {
  background-image: url("../images/pages/top/deco-slash-right.svg");
}

@media (min-width: 1200px) {
  .section-title {
    font-size: 50px;
    line-height: 1.8;
  }

  .heading-slash {
    gap: 18px;
  }

  .heading-slash::before,
  .heading-slash::after {
    width: 32px;
    height: 43px;
  }
}

/* ==========================================================
   CTA（画像ボタン）
   ========================================================== */
.cta-banner {
  display: block;
  width: min(100%, 556px);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-banner:hover,
.cta-banner:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ==========================================================
   電話番号ブロック
   ========================================================== */
.tel-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  letter-spacing: 0.02em;
}

.tel-block__label {
  font-size: 14px;
  line-height: 1.3;
}

.tel-block__number {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.3;
  color: var(--color-red);
}

.tel-block__hours {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.3;
}

.tel-block--lg .tel-block__label {
  font-size: 18px;
}

.tel-block--lg .tel-block__number {
  font-size: 36px;
}

.tel-block--lg .tel-block__hours {
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================================
   チェックアイコン / チェックリスト
   ========================================================== */
.icon-check {
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: url("../images/pages/top/icon-check-circle.svg") center / contain no-repeat;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 26px;
}

.check-list__item::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: url("../images/pages/top/icon-check-circle-32.svg") center / contain no-repeat;
}

@media (min-width: 1200px) {
  .check-list {
    gap: 28px;
  }

  .check-list__item {
    align-items: center;
    gap: 16px;
    font-size: 18px;
    line-height: 29px;
  }

  .check-list__item::before {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-height);
  padding: 0 0 0 16px;
  background-color: var(--color-white);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.site-header__logo {
  width: 180px;
  flex-shrink: 1;
}

.site-header__cta {
  display: none;
  width: 304px;
  transition: opacity 0.2s ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  opacity: 0.85;
}

.site-header__tel {
  display: none;
}

.site-header__sp-actions {
  display: flex;
  flex-shrink: 0;
}

.site-header__sp-btn {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-orange-deep);
}

.site-header__sp-btn--tel {
  background-color: var(--color-orange);
}

.site-header__sp-btn img {
  width: 32px;
}

@media (min-width: 1200px) {
  .site-header {
    padding: 0 20px 0 40px;
    box-shadow: var(--shadow-header);
  }

  .site-header__sp-actions {
    display: none;
  }

  .site-header__cta {
    display: block;
  }

  .site-header__logo {
    width: 318px;
  }

  .site-header__cta {
    width: 304px;
  }

  .site-header__tel {
    display: flex;
    width: 230px;
  }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px var(--gutter);
  font-weight: 500;
  text-align: center;
}

.site-footer__logo {
  width: 254px;
}

.site-footer__address {
  font-style: normal;
  font-size: 10px;
  line-height: 16px;
}

.site-footer__link,
.site-footer__copy {
  font-size: 10px;
  line-height: 14px;
}

.site-footer__pagetop {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-red);
  border: 1px solid var(--color-white);
  border-radius: 50%;
}

.site-footer__pagetop img {
  width: 8px;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  text-decoration: underline;
}

.site-footer__copy small {
  font-size: inherit;
}

@media (min-width: 1200px) {
  .site-footer {
    gap: 30px;
    font-weight: 700;
  }

  .site-footer__logo {
    width: 478px;
  }

  .site-footer__address {
    font-size: 14px;
    line-height: 22px;
  }

  .site-footer__link,
  .site-footer__copy {
    font-size: 12px;
    line-height: 17px;
  }

  .site-footer__pagetop {
    display: none;
  }
}
