.hero {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 19 / 9;
  width: 100%;
  min-height: 500px;
  max-height: 850px;
  background-color: #59b6f0;
  overflow: hidden;
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;

  margin: 0 auto;
  max-width: 1920px;
  background: url('../../../img/fm/ab01/mv/mv-pc.webp') no-repeat center / cover;

  pointer-events: none;
}

/* テキストエリア */
.hero-content {
  z-index: 1;
  padding: 0 60px;
  max-width: 1535px;
  width: 100%;
  text-align: left;
}

/* 料金変動システム */
.text-sub {
  margin: 0;
  font-size: clamp(26px, 1.95vw, 34px);
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Stan Yield（縁取り） */
.text-main {
  margin: 0 0 20px;
  letter-spacing: 3px;
  line-height: 1.1;
  font-size: 80px;
  font-size: clamp(64px, 5.21vw, 90px);
  font-weight: bold;
  color: var(--main-color);

  -webkit-text-stroke: 0.15em #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* 下部キャッチコピー */
.text-desc {
  margin: 0;
  line-height: 1.4;
  font-size: 38px;
  font-size: clamp(32px, 2.48vw, 42px);
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .hero {
    align-items: flex-start;
    aspect-ratio: 375 / 500;
  }
  .hero-bg {
    background: url('../../../img/fm/ab01/mv/mv-sp.webp') no-repeat center bottom / cover;
  }
  .hero-content {
    text-align: center;
    padding: clamp(36px, 16vw, 96px) 10px 0;
  }
  .text-sub {
    margin-bottom: 8px;
    font-size: 22px;
  }
  .text-main {
    font-size: 44px;
    -webkit-text-stroke: 0.12em #fff; /* スマホでは縁を少し細く */
  }
  .text-desc {
    font-size: 26px;
  }
  .text-desc span {
    display: block; /* キャッチコピーを途中で改行させる */
  }
}

/* //////////////////////////////////////////// */

section.ContentArea {
  overflow: hidden;
}
.section-title {
  position: relative;
  z-index: 1;
}

/* Stan Yieldとは
--------------------------- */
@media (max-width: 1280px) {
  .section-about .ContentBody {
  }
}

/* 背面の極太英字 */
.section-title.about::before {
  z-index: -1;
  content: "ABOUT STAN YIELD";
  position: absolute;
  top: 0%;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(96px, 16vw, 110px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.045);
  white-space: nowrap;
  pointer-events: none;

  @media (max-width: 767px) {
    top: -20px;
    font-size: 30px;
  }
}

.about-text p {
  font-size: 26px;
  @media (max-width: 767px) {
    font-size: 18px;
  }
}

/* お悩みごとはありませんか？
--------------------------- */
.section-problem {
  position: relative;
}

/* イラスト背景 */
.onayami-img {
  text-align: center;
  border-radius: 50px;
  padding: 30px 0 20px;
  background-color: #8fd0df;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.12),
      rgba(255,255,255,.12) 6px,
      transparent 6px,
      transparent 18px
    );
}
.onayami-img img {
  display: inline;
}

/* 解決します！
--------------------------- */
.section-solution {
  position: relative;
}

/* 下向き三角 */
.section-solution::before{
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-top: 60px solid #fff;
  z-index: 100;
  @media (max-width: 767px) {
    top: -20px;
  }
}
.section-solution .ContentBody {
  padding: 140px 10px 130px !important;
  max-width: 1200px;
  overflow: visible;

  @media (max-width: 767px) {
    padding-top: 80px !important;
    padding-bottom: 50px !important;
  }
}

.section-title.solution::before {
  z-index: -1;
  content: "STAN YIELD SOLUTION";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(96px, 16vw, 110px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.045);
  white-space: nowrap;
  pointer-events: none;
  @media (max-width: 767px) {
    top: -20px;
    font-size: 30px;
  }
}

/* 写真とセットボックスの段差横並び */
.CardWrap .SetBox_ {
  background-color: #fff;
}
/* -- PC -- */
@media (min-width: 768px) {
  .CardWrap{
    position: relative;
    margin-bottom: 90px;
    padding: 70px 0 0;
    width: 100%;
  }
  .CardWrap:last-child{
    margin-bottom: 0;
  }
/* -------------------------------------------- */
  .CardWrap .ImageBox_ {
    z-index: 2;
    position: absolute;
    top: 0;
    right: calc(50% - 65px);
    max-width: 785px;
    width: calc(50vw + 65px);
    height: 440px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  }
  .CardWrap.Reverse .ImageBox_ {
    top: 0;
    right: auto;
    left: calc(50% - 65px);
  }
  .CardWrap .ImageBox_ img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
/* -------------------------------------------- */
  .CardWrap .SetBox_ {
    z-index: 1;
    box-sizing: border-box;
    border: 1px solid #ccc;
    margin-left: auto;
    padding: 75px 70px 75px 260px;
    min-width: 700px;
    width: 63%; /* 760px */
  }
  .CardWrap.Reverse .SetBox_{
    margin-left: 0;
    padding-left: 70px;
    padding-right: 260px;
  }
  .CardWrap .HeadingBox_ {
    margin-bottom: 20px;
  }
  .CardWrap .TextBox_ {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
  }
  .CardWrap .ButtonBox_{
    display: inline-block !important;
  }
}
/* -------------------------------------------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .CardWrap .ImageBox_ {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: calc(100vw - 500px) !important;
  }
  .CardWrap.Reverse .ImageBox_ {
    top: 0;
    right: 0 !important;
    left: auto;
  }
}
/* -- SP -- */
@media (max-width: 767px) {
  .CardWrap{
    margin-bottom: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  }
  .CardWrap .SetBox_ {
    padding: 20px;
  }
  .CardWrap .ImageBox_ {
    width: 100%;
    margin-bottom: 0;
  }
  .CardWrap .ImageBox_ img{
    width: 100%;
    height: auto;
  }
  .CardWrap .HeadingBox_ {
    margin-bottom: 10px;
  }
  .CardWrap .TextBox_ {
    margin-bottom: 15px;
  }
}

/* 背景色あり（右下がほんのり明るい） */
.SetBox_.CardBusiness {
  background-color: var(--main-color);
  background-image: radial-gradient(
    circle at right 12% bottom 12%,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,0) 75%
  );
}
/* 背景色ありではフォントは白 */
.CardBusiness .HeadingBox_ h2,
.CardBusiness .HeadingBox_ h2 span,
.CardBusiness .TextBox_ p {
  color: #fff;
}

/* 写真の色味調整
------------------------------- */
.photo-blue {
  position: relative;
  overflow: hidden;
}
.photo-blue img {
  display: block; /* 余白対策 */
  width: 100%;
  height: auto;
  filter: saturate(0.90) brightness(1.50);
}
.photo-blue::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(40, 90, 160, 0.20);
  pointer-events: none;
}

/* 特徴
--------------------------- */
section#feature{
  background-color: #3db4cc;
}

#feature .HdgStyleE_ h1 { color: var(--font-colorE) !important; }
#feature .HdgStyleE_ span { color: var(--font-colorE) !important; }

.PB_.feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  container-type: inline-size;
  counter-reset: feature;
  row-gap: 15px;
}
.feature .CB_ {
  border-radius: 30px;
  padding: 30px 0;
  width: 100%;
  max-width: 360px;
  background-color: #fff;
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1);
}
.feature .CB_ .ImageBox_{
  margin: 0 0 20px;
}
.feature .CB_ .HeadingBox_{
  margin: 0;
}
.feature .CB_ .HeadingBox_ h2{
  text-align: center;
  font-size: clamp(16px, 2.5455vw, 24px);
}
/* -- SP -- */
@media screen and (max-width: 767px) {
  .feature .CB_ {
    margin-bottom: 0;
    width: 100%;
  }
  .feature .CB_ .HeadingBox_ h2{
    font-size: 24px;
  }
}

.feature-card {
  position: relative;
  counter-increment: feature;
  padding-left: 72px; /* ←番号分の余白 */
}
/* 数字の表示 */
.feature-card::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(31, 79, 138, 0.15);
}
.feature-icon {
  width: 160px;
  height: 160px;
  color: #1f4f8a;
}

/* 背景デザイン */
.bg-diagonal {
  background-color: #3db4cc;
  position: relative;
  overflow: hidden;
}
.bg-diagonal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.18);
  clip-path: polygon(
    60% 0,
    100% 0,
    100% 100%,
    40% 100%
  );
}
.bg-diagonal::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.10);
  clip-path: polygon(
    75% 0,
    100% 0,
    100% 100%,
    55% 100%
  );
}
.bg-diagonal > * {
  position: relative;
  z-index: 1;
}

/* 料金
--------------------------- */
.price-message p {
  font-size: 22px;
  @media (max-width: 768px) {
    font-size: 18px;
  }
}

/* 全体 */
.pricing-summary {
  display: flex;
  justify-content: center;
}

.pricing-items {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* 円の共通スタイル */
.pricing-item {
  display: flex;
  flex-direction: column;
  justify-content: center;

  border-radius: 50%;
  width: 300px;
  height: 300px;
  background-color: var(--main-color);
  text-align: center;
  color: #fff;
}

/* ラベル（上のテキスト） */
.pricing-label {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 0px;
}

/* 金額ブロック */
.pricing-amount {
  position: relative;
  margin-bottom: 4px;
  padding-top: 10px;
  font-size: 28px;
  font-weight: 700;
}

/* 金額の上のライン */
.pricing-amount::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 65%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

/* 数字 */
.pricing-value {
  font-size: 32px;
}

/* 円 */
.pricing-unit {
  font-size: 18px;
  margin-left: 2px;
}

.pricing-value {
  font-size: 36px;
}

/* 税別 */
.pricing-note {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 2px;
}

/* プラス記号 */
.pricing-operator {
  font-size: 40px;
  font-weight: bold;
  color: #666;
}

@media (max-width: 768px) {
  .pricing-items {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-operator {
    font-size: 32px;
  }
}

.price-attention p {
  display: inline;
  padding: 0 0.15em;
  font-size: 22px;
  color: var(--main-color);
  background: linear-gradient(
    transparent 65%,
    rgba(255, 105, 180, 0.35) 75%
  );
}

/* よくあるご質問
--------------------------- */
.FaqBox {
  margin: 0 auto 50px;
  max-width: 990px;
}
.FaqBox .HeadingBox_ {
  position: relative;
  margin: 0;
  padding: 24px 10px 24px 90px;
  background-color: #3db4cc;
}
.FaqBox .HeadingBox_ h2 {
  font-size: 20px;
  color: #fff;
}
.FaqBox .TextBox_ {
  position: relative;
  padding: 20px 50px 20px 90px;
  background-color: #dbf4fe;
}
.FaqBox .TextBox_ p {
  font-size: 18px;
}
/* -- SP -- */
@media (max-width: 767px) {
  .FaqBox {
    margin: 0 auto 30px;
    width: 100%;
  }
  .FaqBox .HeadingBox_ {
    padding: 24px 10px 24px 70px;
  }
  .FaqBox .HeadingBox_ h2 {
    font-size: 18px;
  }
  .FaqBox .TextBox_ {
    padding: 20px 10px 10px 70px;
  }
  .FaqBox .TextBox_ p {
    font-size: 15px;
  }
}

.CT_.FaqBox .HeadingBox_::before {
  content: "Q";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.CT_.FaqBox .TextBox_::before {
  content: "A";
  position: absolute;
  left: 30px;
  top: 20px;
  font-size: 28px;
  font-weight: 700;
  color: var(--main-color);
}

