/* ==========================================================================
   TOPページ専用CSS
   ========================================================================== */

:root {
  --tp-pink: #e94c76;
  --tp-orange: #f2b27f;
  --tp-orange-strong: #ffac6a;
  --tp-text: #4a4542;
  --tp-text-dark: #313133;
  --tp-cream: #f2e2d9;
  --tp-bg: #fffdfc;
  --tp-gradient: linear-gradient(120deg, rgba(233, 76, 118, 0.85) 0%, rgba(242, 178, 127, 0.85) 100%);
  --tp-gradient-solid: linear-gradient(120deg, #e94c76 0%, #f2b27f 100%);
  --tp-gradient-banner: linear-gradient(90deg, #ffb1c6 0%, #ffb9c5 20%, #ffbcc4 39%, #fec6bd 55%, #ffcfc3 71%, #ffdfcb 84%, #ffead1 100%);
  --tp-font: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --tp-container: 1200px;
}

* {
  box-sizing: border-box;
}

.tp-body {
  margin: 0;
  padding: 0;
  font-family: var(--tp-font);
  font-weight: 500;
  color: var(--tp-text);
  background: var(--tp-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.tp-body img {
  max-width: 100%;
  display: block;
}

.tp-container {
  width: 100%;
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tp-accent-solid {
  color: var(--tp-pink);
  font-weight: 900;
}

.tp-accent-gradient {
  background: var(--tp-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.tp-eyebrow {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
}

.tp-eyebrow::first-letter {
  background: var(--tp-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-eyebrow--center {
  text-align: center;
}

.tp-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.tp-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* ---------- ボタン ---------- */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--tp-font);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.tp-btn:hover {
  opacity: 0.88;
}

.tp-btn--gradient {
  background: var(--tp-gradient);
  color: #fff;
}

.tp-btn--outline {
  background: #fff;
  color: var(--tp-pink);
  border: 2.5px solid var(--tp-pink);
  background-image: var(--tp-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
}

.tp-btn--pink {
  background: rgba(233, 76, 118, 0.85);
  color: #fff;
}

.tp-btn--orange {
  background: var(--tp-orange-strong);
  color: #fff;
}

.tp-btn--pill {
  padding: 12px 26px;
  font-size: 15px;
}

.tp-btn--sm {
  padding: 11px 22px;
  font-size: 14.5px;
}

.tp-btn--lg {
  padding: 16px 32px;
}

/* ---------- ヘッダー（SP用・白帯固定） ---------- */
.tp-header-mobile {
  display: none;
}

.tp-header-mobile__inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tp-header-mobile__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.tp-header-mobile__logo {
  height: 40px;
  width: auto;
}

.tp-header-mobile__brand-name {
  font-size: 17px;
  font-weight: 700;
  background: var(--tp-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.tp-header-mobile__nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 24px 16px;
  background: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.tp-header-mobile__nav.is-open {
  display: flex;
}

.tp-header-mobile__nav a:not(.tp-btn) {
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid #f3ede9;
  color: var(--tp-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.tp-header-mobile__nav .tp-btn {
  margin-top: 16px;
}

.tp-header-mobile__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.tp-header-mobile__burger span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: #4c372b;
}

/* ---------- ヘッダー（PC用・FV写真上のオーバーレイ） ---------- */
.tp-fv__header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding: 0 2.5%;
  box-sizing: border-box;
  pointer-events: none;
}

.tp-fv__header > * {
  pointer-events: auto;
}

.tp-fv__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 100px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(1px 1px 0 rgba(255, 255, 255, 1));
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.tp-fv__header.is-stuck .tp-fv__brand {
  background: #fff;
  box-shadow: 1.6px 1.6px 3.2px rgba(0, 0, 0, 0.08);
  filter: none;

  &:hover {
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.08));
  }
}

.tp-fv__brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 79px;
  height: 62px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.25s ease;
}

.tp-fv__brand-logo--stuck {
  width: 51px;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.tp-fv__header.is-stuck .tp-fv__brand-logo--top {
  opacity: 0;
  pointer-events: none;
}

.tp-fv__header.is-stuck .tp-fv__brand-logo--stuck {
  opacity: 1;
  pointer-events: auto;
}

.tp-fv__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border-radius: 100px;
  padding: 10px 8px 10px 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tp-fv__nav a:not(.tp-btn) {
  color: var(--tp-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tp-fv__nav a:not(.tp-btn):hover {
  color: var(--tp-pink);
}

/* 下層: ヘッダーは MV 上に浮かせ、ヒーロー側で上余白を確保（PCのみ） */
@media (min-width: 901px) {
  .tp-body--sub > main > .cp-hero,
  .tp-body--sub > main > .wd-hero,
  .tp-body--sub > main > .wd-dhero,
  .tp-body--sub > main > .tps-page-hero,
  .tp-body--sub > main > .pl-page > .pl-hero,
  .tp-body--sub > main > .cf-page > .cf-hero,
  .tp-body--sub > .cl-main > .cl-page,
  .tp-body--sub > .cl-main > .cl-single {
    padding-top: calc(var(--tp-sub-mv-pad, 56px) + 60px);
  }

  .tp-body--sub > main > .pl-page > .pl-hero,
  .tp-body--sub > main > .cf-page > .cf-hero {
    --tp-sub-mv-pad: 64px;
  }

  .tp-body--sub > main > .wd-dhero {
    --tp-sub-mv-pad: 40px;
  }

  .tp-body--sub > .cl-main > .cl-page,
  .tp-body--sub > .cl-main > .cl-single {
    --tp-sub-mv-pad: 40px;
  }
}

/* ---------- ヘッダー（サブページ用・通常の固定ヘッダー） ---------- */
.tps-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tps-header__inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tps-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tps-header__logo {
  height: 46px;
  width: auto;
}

.tps-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.tps-header__nav a:not(.tp-btn) {
  color: var(--tp-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tps-header__nav a:not(.tp-btn):hover {
  color: var(--tp-pink);
}

.tps-header__nav .tp-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.tps-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.tps-header__burger span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: #4c372b;
}

@media (max-width: 900px) {
  .tps-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    background: #fff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
  }

  .tps-header__nav.is-open {
    display: flex;
  }

  .tps-header__nav a:not(.tp-btn) {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #f3ede9;
  }

  .tps-header__nav .tp-btn {
    margin: 16px 0 0;
    width: 100%;
  }

  .tps-header__burger {
    display: flex;
  }
}

/* ---------- ヒーロー（FV） ---------- */
.tp-fv {
  position: relative;
  padding: 0 0 56px;
}

.tp-fv__frame {
  position: relative;
  width: 100%;
  height: clamp(420px, 42vw, 760px);
  background-color: var(--tp-bg);
}

/* 背景の波模様：元画像右上のオレンジ部分が写真の外（左下）に見えるよう180度回転して配置 */
.tp-fv__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero_bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: rotate(180deg);
  opacity: 0;
  transform: translateY(24px);
  animation: tp-fv-photo-fade-in 1.2s ease 1s forwards;
}

.tp-fv__photo {
  position: absolute;
  top: 0;
  left: 9.5%;
  width: 92%;
  height: 88%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0 0 0 28px;
  opacity: 0;
  animation: tp-fv-fade-in 1.2s ease 0.2s forwards;
}

.tp-fv__taglines {
  position: absolute;
  top: 14%;
  left: 13%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tp-fv__tagline {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--tp-text);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.tp-fv__tagline span {
  color: var(--tp-pink);
}

.tp-fv__pc {
  position: absolute;
  right: 3%;
  bottom: 2%;
  width: clamp(390px, 34vw, 580px);
  height: auto;
  opacity: 0;
  transform: translateY(24px);
  animation: tp-fv-photo-fade-in 1s ease 1.5s forwards;
}

@keyframes tp-fv-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes tp-fv-photo-fade-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tp-fv-pc-fade-in-center {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-fv__photo,
  .tp-fv__pc {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.tp-fv__scroll {
  position: absolute;
  z-index: 2;
  left: 2.2%;
  bottom: 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tp-fv__scroll-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--tp-text);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.tp-fv__scroll-label span {
  background: var(--tp-gradient-solid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-fv__scroll-line {
  width: 0;
  height: 64px;
  border-left: 2px dotted rgba(74, 69, 66, 0.45);
}

.tp-lead-illustration {
  width: auto;
  height: 72px;
  margin: 0 auto 4px;
}

/* ---------- About Us ---------- */
.tp-about {
  position: relative;
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.tp-about__watermark {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  margin: 0;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(74, 69, 66, 0.08);
  white-space: nowrap;
  text-align: left;
  padding-left: 4%;
  z-index: 0;
}

.tp-about__watermark span {
  background: linear-gradient(120deg, rgba(233, 76, 118, 0.14), rgba(242, 178, 127, 0.14));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-about__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.tp-about__heading {
  font-size: 24px;
  font-weight: 900;
  margin: 12px 0 24px;
}

.tp-about__text {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 32px;
}

.tp-about__more {
  display: inline-block;
}

/* ---------- Service ---------- */
.tp-service {
  position: relative;
  padding: 64px 0 80px;
  background-color: #fff;
  background-image: linear-gradient(180deg, #fff 0%, rgba(255, 244, 240, 0.6) 100%);
  overflow: hidden;
}

.tp-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/sevice_section_background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 248%;
  opacity: 0.06;
  z-index: 0;
}

.tp-service > .tp-container {
  position: relative;
  z-index: 1;
}

.tp-service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.tp-service__grid--single {
  grid-template-columns: 1fr;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.tp-service-card {
  background: #fff;
  border-radius: 6px;
  border: 5px solid rgba(233, 76, 118, 0.5);
  padding: 32px;
  text-align: left;
  position: relative;
}

.tp-service-card--orange {
  border-color: rgba(242, 178, 127, 0.6);
}

.tp-service-card__media {
  position: absolute;
  top: -24px;
  right: 32px;
  width: 90px;
}

.tp-service-card__phone-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.tp-service-card--pink .tp-service-card__label {
  color: var(--tp-pink);
}

.tp-service-card--orange .tp-service-card__label {
  color: var(--tp-orange-strong);
}

.tp-service-card__label {
  font-weight: 900;
  font-size: 22px;
  margin: 0;
}

.tp-service-card__label-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 12px;
}

.tp-service-card__label-row .tp-service-card__mini-logo {
  order: 1;
}

.tp-service-card__mini-logo {
  height: 32px;
  width: auto;
}

.tp-service-card__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 16px;
}

.tp-service-card__text {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 24px;
}

/* ---------- 機能一覧 ---------- */
.tp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-feature-card {
  position: relative;
  clip-path: polygon(50% 0%, 100% 13%, 100% 100%, 0% 100%, 0% 13%);
  background: #fff;
  padding: 6px;
}

.tp-feature-card__inner {
  position: relative;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 13%, 100% 100%, 0% 100%, 0% 13%);
  padding: 44px 24px 52px;
  background: linear-gradient(160deg, rgba(243, 111, 133, 0.14), rgba(248, 168, 89, 0.08));
}

.tp-feature-card--orange .tp-feature-card__inner {
  background: linear-gradient(160deg, rgba(248, 168, 89, 0.16), rgba(243, 111, 133, 0.06));
}

.tp-feature-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 12px;
}

.tp-feature-card__title-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tp-feature-card__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tp-feature-card__text {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.tp-feature-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  display: block;
}

.tp-feature-card__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tp-feature-card__arrow-mark {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

/* ---------- News ---------- */
.tp-news {
  padding: 64px 0;
}

.tp-news-list {
  max-width: 780px;
  margin: 40px auto 0;
}

.tp-news-item {
  border-bottom: 1px solid #e9e2de;
}

.tp-news-item__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--tp-font);
}

.tp-news-item__date {
  font-weight: 900;
  font-size: 15px;
  color: var(--tp-text);
  flex-shrink: 0;
}

.tp-news-item__badge {
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(243, 111, 133, 0.85), rgba(248, 168, 89, 0.85));
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
}

.tp-news-item__text {
  flex: 1;
  font-size: 14.5px;
  color: var(--tp-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tp-news-item__chevron {
  flex-shrink: 0;
  color: var(--tp-text);
  transition: transform 0.2s ease;
}

.tp-news-item.is-open .tp-news-item__chevron {
  transform: rotate(180deg);
}

.tp-news-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  font-size: 14px;
  padding: 0 8px;
}

.tp-news-item.is-open .tp-news-item__body {
  max-height: 200px;
  padding-bottom: 16px;
}

/* ---------- Note ---------- */
.tp-note {
  padding: 40px 0 140px;
}

/* Column と Staff が並ぶ場合、セクション間の余白が二重にならないよう詰める */
.tp-note:has(+ .tp-note) {
  padding-bottom: 60px;
}

.tp-note + .tp-note {
  padding-top: 0;
}

.tp-note__carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.tp-note__nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #c9c0ba;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tp-note__nav:hover {
  color: var(--tp-text);
}

.tp-note__track {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}

.tp-note__carousel--static .tp-note__track {
  overflow: visible;
  padding-bottom: 0;
}

.tp-note__carousel--center .tp-note__track {
  justify-content: center;
}

.tp-note__carousel--slider {
  width: 100%;
  max-width: 1248px; /* track 1152px + arrows + gap */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.tp-note__carousel--slider .tp-note__track {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 1152px;
  overflow: hidden;
  container-type: inline-size;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tp-note__carousel--slider .tp-note__track::-webkit-scrollbar {
  display: none;
}

.tp-note__carousel--slider .tp-note__track-inner {
  display: flex;
  gap: 20px;
  align-items: stretch;
  will-change: transform;
}

.tp-note-card {
  flex: 0 0 300px;
  color: inherit;
  text-decoration: none;
}

/* 3枚並び（gap 20px × 2） */
.tp-note__carousel--slider .tp-note-card {
  flex: 0 0 auto;
  width: calc((100cqw - 40px) / 3);
  display: flex;
  flex-direction: column;
  max-width: none;
}

.tp-note-card__media {
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(243, 111, 133, 0.12), rgba(248, 168, 89, 0.12));
  margin-bottom: 12px;
  overflow: hidden;
}

.tp-note-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-note-card__text {
  flex-shrink: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tp-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tp-note__carousel--slider .tp-note-card__text {
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- CTAバナー ---------- */
.tp-cta {
  position: relative;
  padding: 60px 0 72px;
  background: var(--tp-gradient-banner);
}

.tp-cta__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background-color: var(--tp-bg);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'><path d='M0 0 L1200 0 L1200 28 C 1050 42 950 14 800 28 C 650 42 550 14 400 28 C 250 42 150 18 0 30 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'><path d='M0 0 L1200 0 L1200 28 C 1050 42 950 14 800 28 C 650 42 550 14 400 28 C 250 42 150 18 0 30 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.tp-cta__card {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.tp-cta__illustration {
  position: absolute;
  top: -130px;
  right: 24px;
  width: 190px;
  height: auto;
}

.tp-cta__heading {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 20px;
}

.tp-cta__text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.tp-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- フッター ---------- */
.tp-footer {
  position: relative;
  background: #fff;
  padding: 40px 0 120px;
}

.tp-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
}

.tp-footer__nav a {
  color: var(--tp-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tp-footer__nav a i {
  color: var(--tp-orange-strong);
}

.tp-footer__nav a img {
  width: 16px;
  height: 16px;
}

.tp-footer__divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.tp-footer__company {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.tp-footer__company-logo {
  height: 60px;
  width: auto;
}

.tp-footer__company-name {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}

.tp-footer__company-address {
  font-size: 12px;
  margin: 0;
  color: #7a726e;
}

.tp-footer__illustration {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 100px;
  height: auto;
}

.tp-copyright {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  background: var(--tp-gradient-solid);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- サブページ共通（見出しヒーロー） ---------- */
.tps-page-hero {
  padding: 64px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 244, 240, 0.6) 100%);
}

.tps-page-hero__title {
  font-size: 32px;
  font-weight: 900;
  margin: 4px 0 0;
}

/* ---------- 会社概要ページ ---------- */
.cp-hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.cp-hero__blob {
  position: absolute;
  z-index: 0;
  top: -120px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 127, 0.18), transparent 70%);
  pointer-events: none;
}

.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/sevice_section_background.png");
  background-repeat: no-repeat;
  background-position: right;
  right: 600px;
  background-size: 400%;
  opacity: 0.06;
  z-index: 0;
}

.cp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 48px;
  align-items: start;
}

.cp-hero__photo {
  width: 100%;
  margin-top: 48px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.cp-hero__content {
  position: relative;
}

.cp-hero__title {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 24px;
}

.cp-hero__content-text {
  position: relative;
  z-index: 1;
}

.cp-hero__label {
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 10px;
}

.cp-hero__label span {
  color: var(--tp-pink);
}

.cp-hero__heading {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 20px;
}

.cp-hero__text {
  font-size: 15px;
  line-height: 1.9;
}

.cp-hero__watermark {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  transform: translateY(50%);
  text-align: left;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(74, 69, 66, 0.08);
  margin: 0;
  line-height: 1;
  pointer-events: none;
}

.cp-hero__watermark span {
  background: linear-gradient(120deg, rgba(233, 76, 118, 0.14), rgba(242, 178, 127, 0.14));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cp-body {
  padding: 24px 0 96px;
}

.cp-body__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  align-items: start;
}

.cp-body__column {
  display: grid;
  gap: 40px;
}

.cp-table {
  width: 100%;
  border-collapse: collapse;
}

.cp-table th,
.cp-table td {
  padding: 24px 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid #eee2dd;
  vertical-align: top;
}

.cp-table tr:last-child th,
.cp-table tr:last-child td {
  border-bottom: none;
}

.cp-table th {
  width: 140px;
  padding-right: 24px;
  font-weight: 700;
  color: var(--tp-text);
  white-space: nowrap;
}

.cp-table__link {
  color: var(--tp-pink);
  font-weight: 700;
  text-decoration: underline;
}

.cp-company__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.cp-company__header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee2dd;
}

.cp-company__logo {
  height: 40px;
  width: auto;
}

.cp-business__lead {
  margin: 0;
}

.cp-business__item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee2dd;
}

.cp-business__name {
  margin: 0 0 4px;
  color: var(--tp-pink);
  font-weight: 900;
}

.cp-business__text {
  margin: 0;
}

.cp-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}

.cp-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee2dd;
}

.cp-group__company {
  margin-top: 24px;
}

.cp-group__name {
  font-size: 17px;
  font-weight: 900;
  margin: 0;
}

.cp-group__logo {
  height: 32px;
  width: auto;
}

.cp-map {
  border-radius: 16px;
  overflow: hidden;
}

.cp-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.cp-station__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 16px;
}

.cp-station__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee2dd;
}

.cp-station__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
}

.cp-station__list li::before {
  content: "・";
}

.cp-body__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- 静的ポリシーページ（プライバシー／セキュリティ） ---------- */
.pl-page {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.pl-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1600px;
  background-image: url("../img/sevice_section_background.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1400px;
  opacity: 0.06;
  z-index: 0;
}

.pl-hero {
  position: relative;
  padding: 64px 0 40px;
  text-align: center;
}

.pl-hero__blob {
  position: absolute;
  z-index: 0;
  top: -140px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  /* background: radial-gradient(circle, rgba(242, 178, 127, 0.16), transparent 70%); */
  pointer-events: none;
}

.pl-hero > .tp-container {
  position: relative;
  z-index: 1;
}

.pl-hero__title {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 900;
  margin: 4px 0 0;
}

.pl-body {
  position: relative;
  padding: 40px 0 96px;
}

.pl-body__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.pl-body__intro {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 48px;
}

.pl-section {
  margin: 0 0 36px;
}

.pl-section__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--tp-text);
  text-align: center;
  margin: 0 0 16px;
}

.pl-section__text {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 12px;
}

.pl-section__list {
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 12px;
  padding-left: 0;
}

.pl-section__list li {
  margin-bottom: 6px;
}

.pl-signature {
  text-align: right;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 48px;
}

/* ---------- お問い合わせ／資料請求フォーム ---------- */
.cf-page {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.cf-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/sevice_section_background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 337%;
  opacity: 0.06;
  z-index: 0;
}

.cf-hero {
  position: relative;
  padding: 64px 0 48px;
  text-align: center;
}

.cf-hero > .tp-container {
  position: relative;
  z-index: 1;
}

.cf-hero__illustration {
  position: absolute;
  top: 120px;
  width: 90px;
  height: auto;
  z-index: 1;
}

/* リード文（最大600px）に被らないよう、画面が狭いときは中央から離して端側へ退避させる */
.cf-hero__illustration--left {
  left: max(16px, calc(50% - 410px));
}

.cf-hero__illustration--right {
  right: max(16px, calc(50% - 410px));
}

.cf-hero__title {
  font-size: 32px;
  font-weight: 900;
  margin: 4px 0 0;
}

.cf-hero__lead {
  font-size: 15px;
  line-height: 1.8;
  max-width: 600px;
  margin: 20px auto 0;
}

.cf-body {
  position: relative;
  padding: 56px 0 96px;
}

.cf-body__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cf-alert {
  background: rgba(233, 76, 118, 0.06);
  border: 1px solid rgba(233, 76, 118, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.cf-form {
  padding: 0;
}

.cf-field {
  margin: 0 0 24px;
}

.cf-field:last-of-type {
  margin-bottom: 0;
}

.cf-field__label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 8px;
}

.cf-field__required {
  display: inline-block;
  background: var(--tp-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.cf-field__optional {
  display: inline-block;
  background: #ddd;
  color: #4a4542;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.cf-field__input,
.cf-field__textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--tp-font);
  color: var(--tp-text);
  background: #fff;
}

.cf-field__input::placeholder,
.cf-field__textarea::placeholder {
  color: #b8b2ae;
}

.cf-field__input {
  border-radius: 30px;
}

.cf-field__input:focus,
.cf-field__textarea:focus {
  outline: none;
  border-color: var(--tp-pink);
}

.cf-field__textarea {
  resize: vertical;
  min-height: 140px;
}

.cf-field__select {
  appearance: auto;
  cursor: pointer;
}

.cf-field__error {
  color: #e0403f;
  font-size: 13px;
  margin: 6px 0 0;
}

.cf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 32px;
}

.cf-checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--tp-pink);
}

.cf-checkbox__text {
  font-size: 14.5px;
  line-height: 1.5;
}

.cf-checkbox__note {
  display: block;
  font-size: 13px;
  color: #7a726e;
  margin-top: 4px;
}

.cf-checkbox__note a {
  color: var(--tp-pink);
  font-weight: 700;
}

.cf-form__submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: none;
}

.cf-complete {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cf-complete__icon {
  font-size: 48px;
  color: var(--tp-pink);
  margin: 0 0 16px;
}

.cf-complete__title {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 16px;
}

.cf-complete__text {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 32px;
}

/* ---------- 資料請求：2カラムレイアウト・資料プレビュー ---------- */
.cf-body__inner--wide {
  max-width: 1120px;
}

.cf-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.cf-preview__main {
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(233, 76, 118, 0.12);
}

.cf-preview__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* .tp-body img の display: block が hidden 属性より優先されるため明示的に隠す */
.cf-preview__image[hidden] {
  display: none;
}

.cf-preview__thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.cf-preview__thumb {
  flex: 1;
  padding: 6px;
  border: 2px solid var(--tp-cream);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.cf-preview__thumb.is-active {
  border-color: var(--tp-pink);
}

.cf-preview__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.cf-preview__info {
  margin-top: 26px;
  padding: 26px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(233, 76, 118, 0.08);
}

.cf-preview__title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px;
}

.cf-preview__desc {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 16px;
}

.cf-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cf-preview__tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(233, 76, 118, 0.08);
  color: var(--tp-pink);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 資料請求：オンライン相談予約QRコード ---------- */
/* 左カラム（資料プレビュー）内の要素として資料カードの直下に並べる */
.cf-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
}

.cf-qr__title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.cf-qr__link {
  color: inherit;
  text-decoration: none;
}

.cf-qr__image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* ---------- 資料請求：ご希望の資料チェックボックス ---------- */
.cf-field__note {
  margin-left: 8px;
  color: #7a726e;
  font-size: 12px;
  font-weight: 500;
}

.cf-materials {
  display: grid;
  gap: 12px;
}

.cf-material {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--tp-cream);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cf-material.is-checked {
  border-color: var(--tp-pink);
  background: rgba(233, 76, 118, 0.05);
}

.cf-material__checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--tp-pink);
  cursor: pointer;
}

.cf-material__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.cf-material__tagline {
  display: block;
  margin-top: 2px;
  color: #7a726e;
  font-size: 12.5px;
  line-height: 1.7;
}

.cf-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* reCAPTCHA バッジ（右下固定）がモーダルより前面に出ないよう調整する */
.grecaptcha-badge {
  z-index: 100;
}

/* ---------- 資料請求：サンクス・予約モーダル ---------- */
.cf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 32px;
  background: rgba(49, 49, 51, 0.5);
  align-items: center;
  justify-content: center;
}

.cf-modal.is-open {
  display: flex;
}

.cf-modal__dialog {
  width: 100%;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(49, 49, 51, 0.3);
}

.cf-modal__dialog--thanks {
  max-width: 640px;
  padding: 56px 48px 44px;
  text-align: center;
}

.cf-modal__icon {
  display: block;
  height: 54px;
  width: auto;
  margin: 0 auto 22px;
}

.cf-modal__title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 16px;
}

.cf-modal__text {
  font-size: 14.5px;
  line-height: 2;
  margin: 0 0 32px;
}

.cf-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cf-modal__booking-button {
  width: 100%;
  max-width: 420px;
  border: none;
}

.cf-modal__close-text {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: #7a726e;
  font-family: var(--tp-font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.cf-modal__dialog--booking {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  max-height: 92vh;
  overflow: hidden;
}

.cf-booking__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  padding: 22px 30px 18px;
  background: rgba(233, 76, 118, 0.06);
}

.cf-booking__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  margin: 0 0 8px;
}

.cf-booking__icon {
  display: block;
  height: 36px;
  width: auto;
}

.cf-booking__lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
}

.cf-booking__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #7a726e;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.cf-booking__body {
  flex: 1;
  min-height: 200px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Google カレンダー上部の重複ヘッダーを隠すため上へずらして表示する */
.cf-booking__iframe {
  display: block;
  width: 100%;
  height: 790px;
  margin-top: -70px;
  border: 0;
}

.cf-booking__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  padding: 14px 30px;
  border-top: 1px solid var(--tp-cream);
}

.cf-booking__later {
  padding: 13px 30px;
  border: none;
  border-radius: 999px;
  background: var(--tp-cream);
  color: var(--tp-text);
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.is-modal-open {
  overflow: hidden;
}

@media (hover: hover) {
  .cf-preview__thumb:hover,
  .cf-material:hover {
    border-color: var(--tp-pink);
  }

  .cf-modal__close-text:hover,
  .cf-booking__close:hover,
  .cf-qr__link:hover {
    color: var(--tp-pink);
  }

  .cf-booking__later:hover {
    opacity: 0.85;
  }
}

/* 資料請求（Tablet 以下：1カラム化・プレビュー非表示） */
@media (max-width: 900px) {
  .cf-hero__illustration {
    top: 140px;
    width: 64px;
  }

  .cf-hero__illustration--left {
    left: 12px;
  }

  .cf-hero__illustration--right {
    right: 12px;
  }

  .cf-body__inner--wide {
    max-width: 680px;
  }

  .cf-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* 資料プレビューは隠し、内包する QR ブロックだけをフォームの下へ回り込ませる */
  .cf-preview__main,
  .cf-preview__thumbs,
  .cf-preview__info {
    display: none;
  }

  .cf-preview {
    order: 1;
  }

  /* 1 カラム時は QR を出さず、見出しのテキストリンクで予約カレンダーへ誘導する */
  .cf-qr {
    margin-top: 40px;
  }

  .cf-qr__title {
    margin: 0;
  }

  .cf-qr__link {
    color: var(--tp-pink);
    text-decoration: underline;
  }

  /* .tp-body img の display: block に詳細度で勝つため 2 階層で指定 */
  .cf-qr .cf-qr__image {
    display: none;
  }

  .cf-modal {
    padding: 16px;
  }

  .cf-modal__dialog--thanks {
    padding: 40px 24px 32px;
  }

  .cf-modal__title {
    font-size: 20px;
  }

  .cf-booking__header {
    padding: 18px 20px 14px;
  }

  .cf-booking__title {
    font-size: 17px;
  }

  .cf-booking__icon {
    height: 28px;
  }

  .cf-booking__footer {
    padding: 12px 20px;
  }
}

/* 資料請求（SP：ヒーローイラスト非表示） */
@media (max-width: 767px) {
  .cf-hero .cf-hero__illustration {
    display: none;
  }
}

/* ==========================================================================
   レスポンシブ（SP）
   ========================================================================== */
@media (max-width: 1200px) {
  .tp-fv__pc {
    right: 0;
    bottom: -48px;
  }
}
@media (max-width: 900px) {
  .tps-header {
    display: none;
  }

  .tp-header-mobile {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .tp-header-mobile__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .tp-fv__header,
  .tp-fv__header--sub {
    display: none;
  }

  .tp-fv {
    padding-bottom: 72px;
  }

  .tp-fv__frame {
    height: 92vw;
    max-height: 420px;
  }

  /* 背景の波をhero_pcの下まで表示するため下方向に拡張 */
  .tp-fv__frame::before {
    height: calc(100% + 40px);
  }

  .tp-fv__photo {
    left: 0;
    width: 100%;
    border-radius: 0;
  }

  .tp-fv__taglines {
    top: 16px;
    left: 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }

  .tp-fv__tagline {
    writing-mode: horizontal-tb;
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 0 4px 4px 0;
  }

  .tp-fv__scroll {
    display: none;
  }

  .tp-about__heading {
    font-size: 20px;
  }

  .tp-service__grid {
    grid-template-columns: 1fr;
  }

  .tp-service-card {
    padding: 84px 24px 24px;
  }

  .tp-service-card__label-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .tp-service-card__label-row .tp-service-card__mini-logo {
    order: 0;
  }

  .tp-service-card__media {
    top: -48px;
    right: 16px;
    width: 64px;
  }

  .tp-features {
    grid-template-columns: 1fr;
  }

  .tp-note__carousel--slider {
    gap: 4px;
  }

  .tp-note__carousel--slider .tp-note__nav {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  /* タブレットは2枚並び（gap 20px × 1） */
  .tp-note__carousel--slider .tp-note-card {
    width: calc((100cqw - 20px) / 2);
  }

  .tp-container--note {
    padding-left: 0;
    padding-right: 0;
  }

  .tp-container--note .tp-eyebrow {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tp-news-item__text {
    white-space: normal;
  }

  .tp-cta__card {
    padding: 32px 24px;
  }

  .cp-body__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cp-body__column {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .tp-fv__pc {
    width: clamp(360px, 28vw, 580px);
  }
}

/* スマホは1枚ずつのスライド */
@media (max-width: 767px) {
  .tp-note__carousel--slider .tp-note-card {
    width: 100cqw;
  }
}

@media (max-width: 480px) {
  .tp-fv__pc {
    left: 50%;
    right: auto;
    width: 68%;
    max-width: 320px;
    margin-inline: 0;
    transform: translate(-50%, 24px);
    animation-name: tp-fv-pc-fade-in-center;
  }

  @media (prefers-reduced-motion: reduce) {
    .tp-fv__pc {
      transform: translateX(-50%);
    }
  }

  .tp-fv__actions,
  .tp-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tp-news-item__row {
    flex-wrap: wrap;
  }

  .tp-news-item__text {
    order: 3;
    flex-basis: 100%;
  }
}

/* ---------- サブページ共通・会社概要・ポリシー・フォーム（SP） ---------- */
@media (max-width: 700px) {
  .tps-page-hero__title,
  .cp-hero__title,
  .pl-hero__title,
  .cf-hero__title {
    font-size: 24px;
  }

  .cp-table,
  .cp-table tbody,
  .cp-table tr {
    display: block;
    width: 100%;
  }

  .cp-table th,
  .cp-table td {
    display: block;
    width: auto;
    padding: 4px 0;
  }

  .cp-table th {
    border-bottom: none;
    padding-top: 20px;
  }

  .cp-table td {
    padding-bottom: 20px;
  }

  .cp-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cp-hero__photo {
    margin-top: 0;
  }

  .cp-hero__watermark {
    font-size: 44px;
  }

  .cp-map iframe {
    height: 240px;
  }

  .cf-form {
    padding: 24px;
  }

  .pl-signature {
    text-align: left;
  }
}

/* ==========================================================================
   Scroll fade-in
   ========================================================================== */

[data-fade-in] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease var(--fade-delay, 0s),
    transform 0.7s ease var(--fade-delay, 0s);
}

[data-fade-in].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-fade-in] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
