@charset "UTF-8";
/* ========================================
   Reset / Base
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
:root {
  --bg-pattern-image: url("../img/common/bg-pattern-tile.webp");
  --bg-pattern-size: 172.3px 383.7px;
  --bg-pattern-repeat: repeat;
}

@media screen and (min-width: 768px) {
  :root {
    --bg-pattern-size: 239.9px 534px;
  }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 1.4rem;
  line-height: 24px;
  color: #000000;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ========================================
   Typography（Figma text styles）
   SPベース → PCは min-width: 768px
   ※ page-title / breadcrumb はコンポーネント化（下記）
======================================== */
.section-case-list__label-num,
.section-case-detail__label-num,
.section-case-detail__worry-num,
.section-case-solution__badge-num,
.section-suport__badge-num,
.section-merit__num-digit,
.section-reason__badge-num,
.section-service__num,
.section-flow__num,
.section-faq__mark,
.section-faq__a-mark,
.footer__tel-number,
.footer__tel-meta,
.cta-banner__tel-number,
.cta-banner__tel-meta,
.card-news__date,
.card-column__date,
.card-news-list__date,
.entry-date,
.section-thanks__num,
.section-404__code,
.section-overview__contact,
.section-contact__counter {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.heading-1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 35px;
}

.heading-2 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 50px;
}

.heading-3 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 39px;
}

.lead {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
}

.text-em1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 24px;
}

.text-em2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 21px;
}

.text-body {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 24px;
}

.text-s {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 12px;
}

@media screen and (min-width: 768px) {
  .heading-1 {
    font-size: 4.5rem;
    line-height: 45px;
  }
  .heading-2 {
    font-size: 4rem;
    line-height: 60px;
  }
  .heading-3 {
    font-size: 3rem;
    line-height: 36px;
  }
  .lead {
    font-size: 2.2rem;
    line-height: 40px;
  }
  .text-em1 {
    font-size: 1.8rem;
    line-height: 35px;
  }
  .text-em2 {
    font-size: 1.6rem;
    line-height: 32px;
  }
  .text-body {
    font-size: 1.6rem;
    line-height: 28px;
  }
  .text-s {
    font-size: 1.4rem;
    line-height: 14px;
  }
}
/* ========================================
   Layout helpers
======================================== */
.u-pc {
  display: none;
}

.u-sp {
  display: block;
}

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

@media screen and (min-width: 768px) {
  .u-pc {
    display: block;
  }
  .u-sp {
    display: none;
  }
}
/* ========================================
   btn-primary
   Figma: btn-primary-pc / btn-primary-pc-hover
   Default: 赤塗り・白文字 / Hover: 黒塗り・白文字
======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  min-height: 62px;
  padding: 8px 24px 8px 43px;
  border: none;
  border-radius: 50px;
  background: #c30e23;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

.btn-primary__arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
}

@media screen and (min-width: 768px) {
  .btn-primary {
    max-width: 392px;
    min-height: 56px;
    padding: 8px 24px 8px 64px;
    font-size: 2.2rem;
    line-height: 40px;
  }
}
/* ========================================
   btn-back（一覧に戻る）
   Figma: btn-primary インスタンスに黒塗りを上書きしたもの（矢印は btn-primary と同一アセット）。
   記事詳細系テンプレート（コラム・解決事例・お客様の声など）の「一覧に戻る」導線として共通利用する想定
======================================== */
.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  padding: 16px 24px 16px 40px;
  border: none;
  border-radius: 50px;
  background: #000000;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
  transition: background-color 0.2s ease;
}

.btn-back:hover {
  background: #c30e23;
}

.btn-back__arrow {
  display: block;
  width: 20px;
  height: 8px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
}

@media screen and (min-width: 768px) {
  .btn-back {
    max-width: 392px;
    padding: 8px 24px 8px 64px;
    font-size: 2.2rem;
    line-height: 40px;
  }
}
/* ========================================
   btn-secondary
   Figma: btn-secondary-pc / btn-secondary-pc-hover
   Default: 赤塗り・白文字 / Hover: 透明＋赤枠2px・赤文字
======================================== */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  height: 72px;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  background: #c30e23;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  background: transparent;
  color: #c30e23;
  box-shadow: inset 0 0 0 2px #c30e23;
}

@media screen and (min-width: 768px) {
  .btn-secondary {
    max-width: 394px;
    height: 76px;
    padding: 0 120px;
  }
}
/* ========================================
   btn3 / btn4（円形矢印ボタン）
   Figma: btn3-pc|sp / btn4-pc|sp および -hover
======================================== */
.btn3,
.btn4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn3__icon,
.btn4__icon {
  display: block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  background-color: currentColor;
  mask: url("../img/common/btn-chevron.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/btn-chevron.svg") center/contain no-repeat;
}

/* btn3: 黒塗り・白矢印 → hover: 赤塗り・白矢印 */
.btn3 {
  border: none;
  background: #000000;
  color: #ffffff;
}

.btn3:hover {
  background: #c30e23;
  color: #ffffff;
}

/* btn4: 白塗り・赤矢印 → hover: 透明＋白枠2px・白矢印 */
.btn4 {
  border: 2px solid transparent;
  background: #ffffff;
  color: #c30e23;
}

.btn4:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

/* ========================================
   cta / cta2（カード型リンク）
   Figma: cta / cta-hover / CTA2 / CTA2-hover
   ※ HTML クラスは小文字。Figma の CTA2 → .cta2
   ※ SP: section-links（3518:6213）のカード寸法をベース
======================================== */
.cta,
.cta2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 540px;
  padding: 16px 24px;
  border-radius: 20px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta__lead,
.cta2__lead {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
  transition: color 0.2s ease;
}

.cta__row,
.cta2__row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta__title,
.cta2__title {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 35px;
  transition: color 0.2s ease;
}

.cta__icon,
.cta2__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta__icon::after,
.cta2__icon::after {
  content: "";
  display: block;
  width: 16px;
  height: 6px;
  background-color: currentColor;
  mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/btn-arrow.svg") center/contain no-repeat;
}

/* cta: 白塗り＋赤枠3px / 黒リード・赤タイトル / 赤丸＋白矢印
   hover: 赤塗り / 白文字 / 白丸＋赤矢印 */
.cta {
  border: 3px solid #c30e23;
  background: #ffffff;
  color: #000000;
}

.cta__title {
  color: #c30e23;
}

.cta__icon {
  background: #c30e23;
  color: #ffffff;
}

.cta:hover {
  background: #c30e23;
  color: #ffffff;
}

.cta:hover .cta__title {
  color: #ffffff;
}

.cta:hover .cta__icon {
  background: #ffffff;
  color: #c30e23;
}

/* cta2: 赤塗り / 白文字 / 白丸＋赤矢印
   Figma CTA2-hover は現状 default と同見た目のためホバー差分なし */
.cta2 {
  border: 3px solid #c30e23;
  background: #c30e23;
  color: #ffffff;
}

.cta2__icon {
  background: #ffffff;
  color: #c30e23;
}

@media screen and (min-width: 768px) {
  .cta,
  .cta2 {
    min-height: 154px;
    padding: 32px 24px 24px;
  }
  .cta__lead,
  .cta2__lead {
    font-size: 2.2rem;
    line-height: 40px;
  }
  .cta__title,
  .cta2__title {
    font-size: 4.5rem;
    line-height: 45px;
  }
  .cta__icon,
  .cta2__icon {
    width: 50px;
    height: 50px;
  }
  .cta__icon::after,
  .cta2__icon::after {
    width: 20px;
    height: 8px;
  }
}
/* ========================================
   cta-banner（幅広お問い合わせ帯）
   Figma: CTA / CTA-hover（クラス名衝突回避で cta-banner）
======================================== */
.cta-banner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: 10px;
  background: #c30e23;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-pattern-image) center/var(--bg-pattern-size) var(--bg-pattern-repeat);
  opacity: 0.2;
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-banner__title {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 40px;
}

.cta-banner__lead {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 24px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-banner__tel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.cta-banner__tel-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
}

.cta-banner__tel-number img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.cta-banner__tel-meta {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.cta-banner__divider {
  display: none;
  width: 1px;
  height: 70px;
  background: #ffffff;
  flex-shrink: 0;
}

/* Default: 白塗り・赤文字 / Hover: 透明＋白枠・白文字（CTA-hover） */
.cta-banner__form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 58px;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  color: #c30e23;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-banner__form:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.cta-banner__form-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
}

@media screen and (min-width: 768px) {
  .cta-banner {
    min-height: 166px;
    padding: 0 40px;
  }
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 166px;
  }
  .cta-banner__title {
    font-size: 4.5rem;
    line-height: 45px;
  }
  .cta-banner__lead {
    font-size: 1.6rem;
    line-height: 32px;
  }
  .cta-banner__actions {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
  }
  .cta-banner__tel-number {
    font-size: 4rem;
  }
  .cta-banner__divider {
    display: block;
  }
}
/* ========================================
   page-title（下層ページ見出し帯）
   Figma: page-title-pc / page-title-sp
======================================== */
.page-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 140px;
  padding: 0 20px 24px;
  background: #c30e23;
  color: #ffffff;
  overflow: hidden;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-pattern-image) center/var(--bg-pattern-size) var(--bg-pattern-repeat);
  opacity: 0.15;
  pointer-events: none;
}

.page-title__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .page-title {
    height: 280px;
    padding-bottom: 64px;
  }
  .page-title::before {
    opacity: 0.1;
  }
  .page-title__heading {
    font-size: 5rem;
    line-height: 50px;
  }
}
/* ========================================
   breadcrumb
   Figma: breadcrumb（home + > + 現在ページ）
======================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 10px;
  color: #000000;
}

.breadcrumb a {
  color: inherit;
  transition: color 0.2s ease;
}

.breadcrumb a:not(.breadcrumb__home):hover {
  color: #c30e23;
}

.breadcrumb__home {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.breadcrumb .breadcrumb__home {
  color: #c30e23;
}

.breadcrumb .breadcrumb__home:hover {
  color: #000000;
}

.breadcrumb__home-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  mask: url("../img/common/icon-home.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/icon-home.svg") center/contain no-repeat;
}

.breadcrumb__sep {
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .breadcrumb {
    padding: 32px 0 0;
    font-size: 1.2rem;
    line-height: 12px;
  }
}
/* ========================================
   header
======================================== */
.header {
  position: relative;
  z-index: 100;
}

/* 900pxスクロール後：上部固定＋ふわっと表示（全ページ共通） */
.header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.header.is-fixed.is-shown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-spacer {
  display: block;
  width: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .header.is-fixed {
    transition: none;
    transform: none;
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  margin: 16px 20px;
  padding: 0 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header__logo {
  display: block;
  width: 130px;
  height: auto;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__nav {
  display: none;
}

.header__menu-btn {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

.header__menu-btn span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: #c30e23;
}

.header__menu-btn span:nth-child(1) {
  top: 0;
}

.header__menu-btn span:nth-child(2) {
  top: 7px;
}

.header__menu-btn span:nth-child(3) {
  top: 14px;
}

.header__contact {
  display: none;
}

@media screen and (min-width: 1000px) {
  .header__inner {
    max-width: 1320px;
    width: calc(100% - 80px);
    height: 80px;
    padding: 0 30px 0 30px;
    border-radius: 20px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    margin-inline: auto;
  }
  .header__logo {
    width: 242px;
  }
  .header__menu-btn {
    display: none;
  }
  .header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
  }
  .header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #c30e23;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 17px;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .header__nav a::before {
    content: "";
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    margin-right: 4px;
    margin-left: -19px;
    border-radius: 50%;
    background: #c30e23;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .header__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    height: 50px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 40px;
    background: #c30e23;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 22px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .header__contact img {
    width: 26px;
    height: 26px;
  }
  .header__contact-icon {
    display: block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: #ffffff;
    mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
    -webkit-mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
    transition: background-color 0.2s ease;
  }
  .header:not(.header--on-mv) .header__nav a:hover,
  .header--on-mv.is-fixed .header__nav a:hover {
    color: #000000;
  }
  .header:not(.header--on-mv) .header__nav a:hover::before,
  .header--on-mv.is-fixed .header__nav a:hover::before {
    opacity: 1;
  }
  .header:not(.header--on-mv) .header__contact:hover,
  .header--on-mv.is-fixed .header__contact:hover {
    background: #ffffff;
    color: #c30e23;
    border-color: #c30e23;
  }
  .header:not(.header--on-mv) .header__contact:hover .header__contact-icon,
  .header--on-mv.is-fixed .header__contact:hover .header__contact-icon {
    background: #c30e23;
  }
}
/* PC狭幅：ロゴ・ナビ・お問合せを縮小（1000px〜1253px） */
@media screen and (min-width: 1000px) and (max-width: 1253px) {
  .header__logo {
    width: 200px;
  }
  .header__nav {
    gap: 20px;
  }
  .header__nav a {
    font-size: 1.4rem;
  }
  .header__contact {
    min-width: 160px;
    height: 40px;
    gap: 8px;
    padding: 0 16px;
    font-size: 1.6rem;
    line-height: 16px;
  }
  .header__contact-icon {
    width: 20px;
    height: 20px;
  }
}
/* ハンバーガーメニュー開閉時の body スクロール制御 */
body.drawer-open {
  overflow: hidden;
}

/* SP drawer（header-sp ハンバーガーメニュー展開時 / 3678:14017） */
.header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  overflow-y: auto;
  background: #dfd095;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__drawer.is-open {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .header__drawer {
    transition: none;
  }
}
.header__drawer-bg {
  display: none;
}

.header__drawer-bg::after {
  display: none;
}

.header__drawer-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 64px 40px 96px;
}

.header__drawer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-pattern-image) center/var(--bg-pattern-size) var(--bg-pattern-repeat);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.header__drawer-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 25px;
  height: 25px;
}

.header__drawer-close img {
  display: block;
  width: 100%;
  height: 100%;
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.header__drawer-nav-primary,
.header__drawer-nav-secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header__drawer-nav-primary a {
  color: #000000;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 39px;
}

.header__drawer-nav-secondary a {
  color: #000000;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 21px;
}

.header__drawer-nav-secondary a:last-child {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 24px;
}

.header__drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
  padding: 24px 0;
  border-radius: 10px;
  background: #c30e23;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 16px;
}

.header__drawer-cta-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@media screen and (min-width: 415px) and (max-width: 767px) {
  .header__drawer-inner {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}
@media screen and (min-width: 1000px) {
  .header__drawer {
    display: none !important;
  }
}
/* ========================================
   footer
   SP: footer-sp（3324:7023） / PC: footer-pc
======================================== */
.footer {
  position: relative;
  z-index: 2;
  color: #000000;
  background: #ffffff;
}

/* --- CTA（金帯） --- */
.footer__cta {
  background: #dfd095;
  border-radius: 50px 50px 0 0;
  padding: 40px 20px;
}

.footer__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.footer__cta-title {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
}

.footer__cta-title span {
  color: #c30e23;
}

.footer__cta-lead {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 21px;
  text-align: center;
}

.footer__cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.footer__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer__tel-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
}

.footer__tel-number img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.footer__tel-meta {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
}

/* SP: 電話とフォームの間の水平線（Figma Vector） */
.footer__cta-divider {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #000000;
  flex-shrink: 0;
}

/* Figma footer-sp/pc: 赤塗り・白文字。hover（3573:13399）は透明＋赤枠・赤文字 */
.footer__form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  min-height: 74px;
  padding: 24px;
  border: none;
  border-radius: 10px;
  background: #c30e23;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer__form-btn:hover {
  background: transparent;
  color: #c30e23;
  box-shadow: inset 0 0 0 2px #c30e23;
}

.footer__form-btn-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
  -webkit-mask: url("../img/common/icon-mail-white.svg") center/contain no-repeat;
}

/* --- メイン（赤帯） --- */
.footer__main {
  position: relative;
  padding: 0;
  background: #c30e23;
  color: #ffffff;
  overflow: hidden;
}

.footer__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-pattern-image) center/var(--bg-pattern-size) var(--bg-pattern-repeat);
  opacity: 0.15;
  pointer-events: none;
}

.footer__main-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

/* SP: ナビ → ブランドカードの順（Figma footer-sp） */
.footer__nav {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 56px;
  margin: 0;
  padding: 40px 0;
}

.footer__brand {
  order: 2;
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 30px 36px;
  background: #ffffff;
  border-radius: 30px;
  color: #000000;
  transition: opacity 0.3s ease;
}

.footer__brand:hover {
  opacity: 0.9;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SP: 2列目(身元保証サービス〜)と3列目(お客様の声〜)を入れ替えて表示順を揃える */
.footer__nav-col:nth-child(2) {
  order: 2;
}

.footer__nav-col:nth-child(3) {
  order: 1;
}

.footer__nav-col:nth-child(4) {
  order: 3;
}

.footer__nav a {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 14px;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: #000000;
}

.footer__nav a.is-small {
  font-size: 1rem;
  font-weight: 500;
  line-height: 10px;
}

.footer__brand-logo {
  display: block;
  width: 100%;
  max-width: 227px;
  margin: 0 auto 18px;
}

.footer__powered {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
}

.footer__powered-logo {
  display: block;
  width: 100%;
  height: auto;
}

/* SP Mask group: 364×219 / 画像 345×321 @ offset (6.87, 3.89)
   ブランド下端と約18px重なり、フッター下端まで伸びる */
.footer__character {
  order: 3;
  position: relative;
  z-index: 1;
  width: 364px;
  max-width: calc(100% - 30px);
  aspect-ratio: 364/219;
  margin: -18px auto 0;
  overflow: hidden;
}

.footer__character img {
  position: absolute;
  left: 1.8873626374%;
  top: 1.7762557078%;
  width: 94.8543956044%;
  height: 146.4931506849%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

/* SP: フッター下端から6px・キャラ下端に重ねる（Figma ©） */
.footer__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 2;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 12px;
  text-align: center;
  color: #000000;
}

@media screen and (min-width: 768px) {
  .footer__cta {
    padding: 0;
  }
  .footer__cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 164px;
    padding: 40px 20px;
    max-width: 1320px;
  }
  .footer__cta-copy {
    flex-shrink: 0;
    width: auto;
  }
  .footer__cta-title {
    font-size: 4.5rem;
    line-height: 45px;
    text-align: left;
  }
  .footer__cta-title span:first-child {
    color: #000000;
  }
  .footer__cta-title span:last-child {
    color: #c30e23;
  }
  .footer__cta-lead {
    font-size: 1.6rem;
    line-height: 32px;
    text-align: left;
  }
  .footer__cta-actions {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: auto;
    flex-shrink: 0;
  }
  .footer__cta-divider {
    display: block;
    width: 0;
    height: 70px;
    max-width: none;
    border: 0;
    border-left: 1px solid #000000;
  }
  .footer__tel {
    align-items: flex-start;
  }
  .footer__tel-number {
    font-size: 4rem;
  }
  .footer__tel-meta {
    font-weight: 500;
    line-height: 18px;
    text-align: left;
  }
  .footer__form-btn {
    width: auto;
    max-width: none;
    min-height: 74px;
    padding: 24px 80px;
  }
  .footer__main {
    padding: 60px 20px 40px;
    min-height: 432px;
  }
  .footer__main-inner {
    display: grid;
    grid-template-columns: 396px 1fr;
    align-items: start;
    padding-right: 8px;
  }
  .footer__nav {
    order: 0;
    display: flex;
    grid-template-columns: none;
    gap: 24px;
    width: auto;
    min-width: 592px;
    max-width: none;
    margin-top: 0;
    margin-left: auto;
    padding: 0;
    justify-content: space-between;
  }
  /* PC: SP用の入れ替えを解除し、DOM順(4列)に戻す
     nth-child 指定より詳細度を揃えないと SP の order が残る */
  .footer__nav-col:nth-child(2),
  .footer__nav-col:nth-child(3),
  .footer__nav-col:nth-child(4) {
    order: 0;
  }
  .footer__nav a {
    font-size: 1.6rem;
    line-height: 16px;
  }
  .footer__nav a.is-small {
    font-size: 1.2rem;
    line-height: 12px;
  }
  .footer__brand {
    order: 0;
    max-width: 396px;
    margin: 0;
    padding: 40px 48px;
    border-radius: 40px;
  }
  .footer__brand-logo {
    max-width: 300px;
    margin: 0 0 24px;
  }
  .footer__powered {
    font-size: 1.6rem;
    line-height: 28px;
    margin-bottom: 8px;
  }
  .footer__character {
    order: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 499px;
    max-width: 35%;
    aspect-ratio: 499/273;
    margin: 0;
    z-index: 0;
  }
  .footer__character img {
    left: 0;
    top: 0;
    width: 100%;
    height: 169.62%;
  }
  .footer__copy {
    left: auto;
    right: 80px;
    bottom: 24px;
    color: #ffffff;
    text-align: right;
  }
}
/* PC 1300px以下: 横並びだと CTA 内が見切れるため縦積み */
@media screen and (min-width: 768px) and (max-width: 1220px) {
  .footer__cta-inner {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
}
/* PC 1169px以下: 2×2 グリッド（4列すべて表示） */
@media screen and (min-width: 768px) and (max-width: 1169px) {
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 24px 40px;
    width: auto;
    min-width: 0;
    margin-top: 20px;
  }
}
/* ========================================
   スクロールで下からスッと
   対象に class="js-fade-up" を付けるだけ
======================================== */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.js .js-fade-up:not(.is-inview) {
  opacity: 0;
  transform: translateY(28px);
}

.js .js-fade-up.is-inview {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .js .js-fade-up:not(.is-inview),
  .js .js-fade-up.is-inview {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/*# sourceMappingURL=common.css.map */
