/* ============================================================
   リセット & CSS変数
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.satei-view {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.satei-view button {
  font: inherit;
  color: inherit;
}

.satei-view img {
  max-width: 100%;
  height: auto;
  display: block;
}

.satei-view a {
  text-decoration: none;
  color: inherit;
}

:root {
  --brand-color: #DC0000;
  --text-color: #333333;
  --gray-bg: #F2F2F2;
}

/* ============================================================
   共通: SP・PC両方で使用
   ============================================================ */

/* --- セクションヘッダー --- */
.section-header {
  padding: 32px 24px;
  text-align: center;
}

.section-header__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 40px;
}

.section-header__line {
  display: block;
}

.section-header__line--large {
  font-size: 40px;
  line-height: 48px;
}

/* --- DetailCard --- */
.detail-card {
  width: 100%;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.detail-card__label {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 18px;
}

.detail-card__title {
  margin-top: 8px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 30px;
}

.detail-card__body {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-color);
  line-height: 22px;
  white-space: pre-line;
}

.detail-card__note {
  color: #797979;
}

.detail-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 22px;
}

.detail-card__link-arrow-svg {
  width: 16px;
  height: 16px;
  color: var(--brand-color);
  flex-shrink: 0;
}

/* --- PointHeader --- */
.point-header {
  position: relative;
}

.point-header__number {
  font-size: 72px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 1;
  font-family: "DIN 2014", sans-serif;
}

.point-header__title {
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
}

/* --- Campaign バナー --- */
.campaign__banner-link {
  display: block;
}

.campaign__banner-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- CTA ボタン (ベース) --- */
.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  background: var(--brand-color);
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
}

.cta-btn:hover {
  opacity: 0.9;
}

/* ============================================================
   SP専用: 768px未満で表示されるセクション
   ============================================================ */

/* --- SP: レスポンシブ幅制約 --- */
.campaign-sp .section-header,
.feature-sp .section-header {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.campaign-sp .campaign__banners--sp {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- SP: DetailCard フォントサイズ上書き ---
   プロジェクトのTailwindカスタム: text-base = 14px (SP) */
.view-sp .detail-card__label {
  font-size: 14px;
}

.view-sp .detail-card__title {
  font-size: 20px;
}

/* --- SP: PointHeader --- */
.point-header--sp .point-header__number {
  position: absolute;
  left: 0;
  top: 0;
}

.point-header__keyword {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 72px;
  padding-top: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 30px;
}

.point-header__title--sp {
  margin-top: 8px;
  font-size: 40px;
  line-height: 60px;
}

.point-header__title--small {
  font-size: 36px;
  line-height: 54px;
}

/* --- SP: Feature Section --- */
.feature-sp__panel {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 55px;
  background: var(--gray-bg);
}

.feature-point--sp {
  overflow: hidden;
  padding: 28px 24px 24px;
}

.feature-point--sp.feature-point--point02 {
  padding: 24px 0 56px;
}

.point03__header-sp {
  padding: 0 24px;
}

.feature-point--sp.feature-point--point03 {
  padding: 24px;
}

/* Point01 SP */
.point01__price-cards-sp {
  margin: 24px -24px 0;
}

.point01__price-cards-img {
  width: 100%;
  height: auto;
}

.point01__card1-sp {
  position: relative;
  z-index: 10;
  margin-top: -24px;
}

.point01__card2-sp {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

/* Point02(満足感) SP */
.point03__card1-sp {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 0 24px;
}

.point03__card2-sp {
  position: relative;
  z-index: 1;
  margin-top: -16px;
  padding: 0 24px;
}

/* Point03(安心) SP */
.point02__escrow-sp {
  margin-top: 24px;
}

.point02__escrow-img {
  width: 100%;
  height: auto;
}

.point02__card-sp {
  margin-top: 24px;
}

/* --- SP: CTA ボタン --- */
.section-cta--sp {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.cta-btn--sp {
  height: 80px;
  width: 330px;
  padding-left: 16px;
}

.cta-btn__magnifier--sp {
  height: 48px;
  width: auto;
}

.cta-btn__text-wrap {
  margin-left: 16px;
  margin-top: 4px;
}

.cta-btn__sub {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 18px;
}

.cta-btn__num {
  font-size: 18px;
}

.cta-btn__main {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 30px;
}

.cta-btn__silhouette--sp {
  position: absolute;
  right: 0;
  bottom: -26px;
  overflow: hidden;
  clip-path: inset(-100px 0px 26px 0px round 0 0 16px 0);
}

.cta-btn__silhouette--sp img {
  height: 125px;
  width: auto;
}

/* --- SP: Flow Section --- */
.flow-sp {
  padding: 40px 0 16px;
}

.flow-sp__outer {
  max-width: 375px;
  margin: 0 auto;
}

.flow-sp__inner {
  max-width: 500px;
  margin: 0 auto;
}

.flow__heading {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 60px;
}

.flow-sp__tabs {
  margin-bottom: 24px;
}

.flow-sp__tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flow-sp__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: #FAFAFA;
  padding: 8px 0;
}

.flow-sp__tab-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 100%;
}

.flow-sp__tab-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.flow-sp__tab-img--small {
  height: 65px;
}

.flow-sp__tab-dots {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: -12px;
}

.flow-sp__tab-dot {
  position: relative;
  z-index: 20;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-color);
  flex-shrink: 0;
}

.flow-sp__tab-line {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(to right, #DC0000 0px, #DC0000 1px, transparent 1px, transparent 5px);
}

.flow-sp__tab-spacer {
  flex: 1;
}

.flow-sp__tab-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.flow-sp__tab-label p {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 16px;
  white-space: pre-line;
}

.flow-sp__tab-label-small {
  font-size: 10px;
}

.flow-sp__timeline {
  border-radius: 24px;
  background: #fff;
  padding: 32px 16px;
}

.flow-sp__step {
  display: flex;
  gap: 16px;
}

.flow-sp__step + .flow-sp__step {
  margin-top: 12px;
}

.flow-sp__step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}

.flow-sp__step-badge {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.flow-sp__step-line {
  margin-top: 2px;
  margin-bottom: -15px;
  width: 1px;
  flex: 1;
  background-image: repeating-linear-gradient(to bottom, #DC0000 0px, #DC0000 1px, transparent 1px, transparent 5px);
}

.flow-sp__step-content {
  flex: 1;
  padding-top: 2px;
}

.flow-sp__step-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 32px;
  white-space: pre-line;
}

.flow-sp__step-desc {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-color);
  line-height: 22px;
  white-space: pre-line;
}

.flow-sp__step-illust {
  margin: 8px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 206px;
  height: 132px;
  border-radius: 24px;
  background: var(--gray-bg);
}

.flow-sp__step-illust img {
  height: 132px;
  width: auto;
  object-fit: contain;
}

.flow-sp__step-illust-img--small {
  height: 95px !important;
  width: auto;
}

/* ============================================================
   PC専用: 768px以上で表示されるセクション
   ============================================================ */

/* --- PC: セクションヘッダー --- */
.section-header__title--pc {
  font-size: 40px;
  line-height: 40px;
}

.section-header__title--campaign-pc {
  font-size: 32px;
  line-height: 40px;
}

.section-header__no {
  font-size: 33px;
  font-weight: 700;
}

.section-header--campaign-pc {
  padding: 48px 16px;
}

.section-header--feature-pc {
  padding: 48px 16px;
}

/* --- PC: DetailCard --- */
.detail-card--pc {
  width: 364px;
  border-radius: 40px;
  padding: 32px;
}

.detail-card__label--pc {
  text-align: left;
}

.detail-card__title--pc {
  text-align: left;
  font-size: 24px;
  line-height: 36px;
}

/* --- PC: PointHeader --- */
.point-header__number--pc {
  position: absolute;
  left: 36px;
  top: 0;
  font-size: 80px;
}

.point-header__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.point-header__keyword-pc {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 30px;
}

.point-header__title--pc {
  font-size: 40px;
  line-height: 60px;
}

/* --- PC: Campaign --- */
.campaign__banners--pc {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.campaign__banners-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* --- PC: Feature Section --- */
.feature-pc__panel {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 80px;
  background: var(--gray-bg);
  overflow: hidden;
}

.feature-pc__outer {
  padding: 0 24px;
}

.feature-point--pc {
  padding: 64px 40px 40px;
}

.feature-point--pc.feature-point--point02 {
  padding-top: 40px;
  padding-bottom: 64px;
}

.feature-point--pc.feature-point--point03 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.feature-point--point01 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Point01 PC */
.point01__header-pc {
  padding: 0 40px;
}

.point01__content-pc {
  position: relative;
  margin-top: 40px;
}

.point01__right-pc {
  position: absolute;
  top: 48px;
  right: 0;
}

.point01__right-inner-pc {
  width: 620px;
}

.point01__price-cards-img--pc {
  width: 100%;
  height: auto;
}

.point01__gradient-bar-pc {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 265px;
  height: 110px;
  background: linear-gradient(to top, #F2F2F2 50%, #E4E4E4 100%);
}

.point01__cards-pc {
  position: relative;
  z-index: 10;
  padding: 0 40px;
}

.point01__row2-pc {
  margin-top: 24px;
  display: flex;
  gap: 40px;
}

.point01__graph-pc {
  width: 480px;
}

.point01__graph-img--pc {
  width: 100%;
  height: auto;
}

/* Point02(満足感) PC */
.point03__section-pc {
  position: relative;
  margin-top: 40px;
}

.point03__row-pc {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 40px;
}

.point03__illust-pc {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point03__illust-pc img {
  width: 400px;
  height: auto;
}

.point03__illust-pc--bottom {
  align-items: flex-end;
}

.point03__devices-img--pc {
  width: 520px !important;
  height: auto;
  transform: translateY(30px);
}

.point03__gradient-bar-pc {
  position: absolute;
  right: -80px;
  bottom: 0;
  left: 265px;
  height: 80px;
  background: linear-gradient(to top, #F2F2F2 50%, #E4E4E4 100%);
}

/* Point03(安心) PC */
.point02__row-pc {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.point02__escrow-pc {
  flex: 1;
}

.point02__escrow-img--pc {
  width: 100%;
  height: auto;
}

/* --- PC: Flow Section --- */
.flow-pc {
  padding: 64px 0;
}

.flow-pc__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.flow-pc__panel {
  border-radius: 80px;
  background: #fff;
  padding: 48px 40px 64px;
}

.flow-pc__heading {
  margin-bottom: 40px;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 60px;
}

.flow-pc__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-pc__image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-pc__image-outer {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 100%;
}

.flow-pc__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 160px;
  border-radius: 24px;
  background: var(--gray-bg);
  overflow: hidden;
}

.flow-pc__image-wrap img {
  height: 160px;
  width: 230px;
  object-fit: contain;
}

.flow-pc__img--small {
  height: 95px !important;
  width: auto !important;
}

.flow-pc__badges {
  position: relative;
  margin-bottom: 24px;
}

.flow-pc__dash-line {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  width: 75%;
  transform: translateY(-50%);
}

.flow-pc__badges-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-pc__badge-item {
  display: flex;
  justify-content: center;
}

.flow-pc__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-color);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  font-family: "DIN 2014", sans-serif;
}

.flow-pc__descriptions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-pc__desc-item {
  text-align: center;
}

.flow-pc__desc-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-bottom: 12px;
}

.flow-pc__desc-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-color);
  line-height: 30px;
  white-space: pre-line;
}

.flow-pc__desc-title--small {
  font-size: 18px;
}

.flow-pc__desc-text {
  font-size: 12px;
  color: var(--text-color);
  line-height: 22px;
  white-space: pre-line;
  text-align: left;
}

/* ============================================================
   PC専用: 1280px以上のレスポンシブ調整
   ============================================================ */
@media (min-width: 1280px) {
  .feature-point--pc        { padding-left: 80px; padding-right: 80px; }
  .point01__header-pc        { padding: 0 80px; }
  .point01__cards-pc         { padding: 0 80px; }
  .point01__right-inner-pc   { width: 720px; }
  .point01__row2-pc          { gap: 130px; }
  .point01__graph-pc         { width: 460px; }
  .point03__row-pc           { gap: 90px; }
  .point03__illust-pc img    { width: 480px; }
  .point02__row-pc           { gap: 90px; }
  .flow-pc__panel            { padding-left: 80px; padding-right: 80px; }
  .flow-pc__image-wrap       { width: 206px; height: 132px; }
  .flow-pc__image-wrap img   { height: 132px; width: 206px; }
}
