@charset "UTF-8";


body{
margin:0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight:900;
}

/* ===== 初期状態（共通） ===== */
.fade-in {
  opacity: 0;
  transition: all 0.8s ease;
}

/* ===== 発火後 ===== */
.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== 上から ===== */
.fade-in-top {
  transform: translateY(-40px);
}

/* ===== 下から ===== */
.fade-in-bottom {
  transform: translateY(40px);
}

/* ===== 左から ===== */
.fade-in-left {
  transform: translateX(-40px);
}

/* ===== 右から ===== */
.fade-in-right {
  transform: translateX(40px);
}


/* 全体 */
.side-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%); /* 最初は完全に隠す */
  z-index: 10;

  display: flex;
  flex-direction: column;
  gap: 42px;

  transition: transform 1s ease;
}

/* 表示状態 */
.side-widget.is-visible {
  transform: translate(0, -50%);
}

/* 各アイテム（タグ型） */
.side-item {
  width: 170px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border-radius: 14px 0 0 14px;

  text-decoration: none;
  
  box-shadow: -2px 4px 12px rgba(0,0,0,0.12);

  /* 右から“ちょい隠し” */
  transform: translateX(20px);
  transition: 0.25s ease;
}

/* ホバーでスッと出る */
.side-item:hover {
  transform: translateX(0);
}

/* キャラ */
.char {
  width: auto;
  height: 70px;
  object-fit: contain;
  margin-bottom: 6px;
  margin-top: -40px;
}

/* テキスト */
.btn {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* ちょいアクセント線（控えめ） */
.side-item::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 100%;
  background: #7fd3ff;
  border-radius: 34px 0 0 34px;
}

.br-display{
  display: none;
}


/* 右サイドボタン */
@media (max-width: 768px) {

  .side-widget {
    top: auto;
    bottom: -20px;
    right: 50%;
    transform: translate(50%, 100%);

    display: flex;
    flex-direction: row; /* ← 横並びに戻す */
    justify-content: center;
    gap: 0px;

    width: 100%;
    padding: 10px 8px;

    transition: transform 0.8s ease;
  }

  .side-widget.is-visible {
    transform: translate(50%, 0);
  }

  /* 各ボタン */
  .side-item {
    width: 125px;
    height: 90px;

    display: flex;
    flex-direction: column; /* ← キャラ＋文字は縦 */
    align-items: center;
    justify-content: center;

    border-radius: 14px;
  box-shadow: -2px 4px  12px rgba(0, 0, 0, 0);

    position: relative;
    transform: none;
  }
  .side-item:nth-child(1),
  .side-item:nth-child(2) {
    border-right: 2px solid rgba(0, 0, 0, 0.12);
  }
  .side-item:hover {
    transform: none;
  }

  /* キャラ */
  .char {
    height: 60px;
    position: relative;
    z-index: 3;
    margin: -30px 0 4px 0;
  }

  /* テキスト */
  .btn {
    font-size: 13px;
    text-align: center;
  }
.br-display{
  display: block;
}

  /* 🔥 上ラインアクセント */
  .side-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 10px;

    background: #7fd3ff;
    border-radius: 14px 14px 0 0;
  }
}

/* top */

.top{
  position: relative;
  background: #ff9823;
  padding: 180px 20px 0;
  overflow: hidden;
  z-index: 0;
    
}

.top-bg {
  position: absolute;
  inset: 0;
  background: url("../img/template_background.webp") repeat;
  background-size: 50% 100%;
  opacity: 0.1;
  z-index: 1;
}

.top-pop-up {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;

  animation: popBounce 0.8s ease-out forwards;
}

.top-pop-up img {
  width: 100%;
  margin-bottom: -6px;
}
@keyframes popBounce {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(40px);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) translateY(-10px);
  }
  60% {
    transform: scale(0.9) translateY(5px);
  }
  75% {
    transform: scale(1.05) translateY(-3px);
  }
  90% {
    transform: scale(0.98) translateY(1px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@media (max-width:1250px){
.top-bg {
  position: absolute;
  inset: 0;
  background: url("../img/template_background.webp") repeat;
  background-size: 70% 70%;
  opacity: 0.1;
  z-index: 1;
}
  .top-pop-up {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
}

}
@media (max-width:768px){

  .top{
  position: relative;
  background: #ff9823;
  padding: 100px 20px 0;
  overflow: hidden;
  z-index: 0;
    
}

}


/* ーーーーーーーーーー
ここから別
ーーーーーーーーーー */

/* ===== セクション ===== */
.plan-section {
  position: relative;
  padding: 120px 20px;
  overflow: hidden;
}

/* 左（黄色） */
.plan-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffe066;
  clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%);
  z-index: -2;
}

/* 右（水色） */
.plan-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #6ecbff;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
  z-index: -1;
}

/* ===== タイトル ===== */
.plan-header {
  text-align: center;
  margin-bottom: 100px;
}

.plan-header img {
  max-width: 650px;
  width: 100%;
}

/* ===== レイアウト ===== */
.plan-container {
  display: flex;
  justify-content: center;
  gap: 0px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== カード ===== */
.plan-card {
  width: 100%;
  max-width: 450px;
  text-align: center;
  position: relative;
}
.plan-middle {
  width: 100%;
  max-width: 280px;
  text-align: center;
  position: relative;
}

/* ===== 画像エリア（スライド構造だけ使う） ===== */
.plan-slider {
  width: 100%;
  margin-bottom: -40px;
  position: relative;
  z-index: 2;
}

.plan-track {
  display: flex;
  justify-content: center;
}

.plan-track img {
  width: 300px;
}

/* ===== 白ボックス ===== */
.plan-box {
  background: #fff;
  border-radius: 20px;
  padding: 120px 20px 100px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;

}

.plan-box h3{
    margin-bottom: 30px;
}
.recommend{
    display: block;
    margin-bottom: 10px;
}

/* ===== 共通マーカー ===== */
.marker-yellow,
.marker-blue {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 1.6s ease;
}

/* 色はそのまま */
.marker-yellow {
  background-image: linear-gradient(#ffeb99, #ffeb99);
  background-position: left bottom;
}

.marker-blue {
  background-image: linear-gradient(#aae0ff, #aae0ff);
  background-position: left bottom;
}

/* 発火 */
.inview .marker-yellow,
.inview .marker-blue {
  background-size: 100% 40%;
}

.plan-box-middle {
  padding: 150px 20px 30px;
}

.plan-box-middle img {
  width: 100%;
}

.plan-box-middle img {
  animation: middleBounce 6s ease-in-out infinite;
}

@keyframes middleBounce {
  0%, 90%, 100% {
    transform: scale(1);
  }
  95% {
    transform: scale(1.18);
  }
}


.plan-box img {
  width: 100%;
}
.plan-deco {
  position: absolute;
  width: 80px !important;
  pointer-events: none;
}

.deco-top-right {
  top: 60px;
  right: 30px;
  rotate: 10deg;
}

.deco-bottom-left {
  bottom: 30px;
  left: 10px;
  rotate: -15deg;
}

.plan-deco {
  opacity: 0;
  transform: scale(0.6);
}

/* 発火：ぽよん */
.inview .plan-deco {
  animation: decoPop 1.6s ease forwards;
}

/* 個別で少しズラすと気持ちいい */
.inview .deco-top-right {
  animation-delay: 0.1s;
}
.inview .deco-bottom-left {
  animation-delay: 0.2s;
}

@keyframes decoPop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}



/* ===== ボタン ===== */
.plan-btn {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);

  display: inline-block;
  padding: 16px 54px;
  background: #fff; /* ← ここは触らない */
  color: #333;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;

  border: 3px solid #333;

  /* ← 浮いてる状態 */
  box-shadow: 0 8px 0 #333;

  transition: all 0.12s ease;
}

/* ホバー：ちょい押される */
.plan-btn:hover {
  transform: translateX(-50%) translateY(3px);
  box-shadow: 0 4px 0 #333;
}

/* クリック：完全に押される */
.plan-btn:active {
  transform: translateX(-50%) translateY(8px);
  box-shadow: 0 0px 0 #333;
}


/* ===== SP ===== */
@media screen and (max-width: 768px) {

  /* 背景：上下 */
  .plan-section::before {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  }

  .plan-section::after {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  }

  .plan-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
.plan-header {
  text-align: center;
  margin-bottom: 60px;
}
.plan-track img {
  width: 250px;
}

.plan-deco {
  position: absolute;
  width: 60px !important;
  pointer-events: none;
}

.plan-box {
  background: #fff;
  border-radius: 20px;
  padding: 100px 20px 80px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;

}
.plan-box-middle {
  padding: 0px 20px 0px;
}
.plan-box h3{
    margin-bottom: 30px;
    font-size: 15px;
}

.plan-btn {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);

  display: inline-block;
  padding: 16px 34px;
  background: #fff; /* ← ここは触らない */
  color: #333;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;

  border: 3px solid #333;

  /* ← 浮いてる状態 */
  box-shadow: 0 8px 0 #333;

  transition: all 0.12s ease;
}

.deco-bottom-left {
  bottom: 30px;
  left: 10px;
  rotate: -15deg;
}

}

.plan-flow{
  margin: 100px auto 50px;
  max-width: 400px;
}
.plan-flow img{
  width: 100%;
}

/* ===== タブ ===== */
.price-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.tab-btn.active {
  background: #ff9823;
  color: #fff;
}

/* ===== コンテンツ切り替え（フェード） ===== */
.tab-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  transform: translateY(10px);
  transition: 
    opacity 0.4s ease,
    transform 0.4s ease;
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateY(0);
}

/* wrapperにrelative追加 */
.price-wrapper {
  position: relative;
}

/* ===== 比較UI ===== */
.price-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.compare-col {
  background: #fff;
  text-align: center;
}

.compare-col.labels {
  background: #fafafa;
  color: #333;
}

.cell {
  padding: 20px;
  height: 100px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
}

.head {
  height: 170px !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.plan-img {
  width: 190px;
}

.plan-name {
  font-weight: bold;
}

/* ===== 見せ方 ===== */
.price {
  font-size: 30px;
  font-weight: bold;
  color: #eb7f04;
  flex-direction: column;
}

.price small {
  display: block;
  font-size: 12px;
  color: #999;
}

.highlight {
  color: #333;
  font-weight: bold;
  font-size: 20px;
}

.good {
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.muted {
  color: #6b6b6b;
  font-weight: lighter;
}

/* ===== アイコン ===== */
.icon.plus {
  color: #e01c40;
  font-size: 30px;
  font-weight: bold;
 }

/* ===== ポップ要素 ===== */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d6d;
  color: #fff;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 20px;
}

.price-detail-btn {
  padding: 6px 25px;
  font-size: 15px;
  background: #ff9823;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  border: 3px #ff9823 solid;
  transition: 0.3s;
}

.price-detail-btn:hover {
  background: #fff;
  color: #333;
}

.sp-label {
  display: none;
  font-size: 11px;
  color: #999;
  margin-bottom: 5px;
}

/* ===== SP ===== */
/* ===== SP横スクロール ===== */
@media screen and (max-width: 768px) {

  .price-compare {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }

  .compare-col {
    min-width: 260px;
    flex: 0 0 auto;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  /* ラベル列は非表示（スマホでは邪魔） */
  .compare-col.labels {
    display: none;
  }

  .cell {
    padding: 16px;
  }

  /* カード感強化 */
  .compare-col.light {
    background: #fff;
  }

  .compare-col.strong {
    transform: none;
  }

    .sp-label {
    display: block;
    background-color: #ddd;
    padding: 3px 10px;
    border-radius: 10px;
    color: #444;
  }

  .cell {
    flex-direction: column;
  height: 120px;

  }
  .good {
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
}
.icon.plus {
  color: #e01c40;
  font-size: 25px;
  font-weight: bold;
  height: 35px;
  margin-top: -7px;
 }
}


/* ===== セクション ===== */
.functions {
  padding: 60px 20px;
  background: #fff;
  background-image: url(../img/function_background.webp);
  background-size: 80% 30%;
}

/* ===== タイトル ===== */
.functions-header {
  text-align: center;
  overflow: hidden;
}
.functions-header img {
  max-width: 520px;
  width: 100%;
  margin-bottom: -5px;
}

/* ===== 左右 ===== */
.functions-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== テーブル ===== */
.functions-table {
  border-top: 3px solid #ddd;
}

/* ===== 行 ===== */
.function-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 3px solid #ddd;
}

/* ===== 左 ===== */
.function-title {
  padding: 16px;
  font-weight: bold;
  background: #fafafa;
  border-left: 3px solid #ddd;
  border-right: 3px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
}

/* ===== 右（中央寄せ） ===== */
.function-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 3px solid #ddd;
  text-align: center;
  background: #fff;
}

/* ===== 〇 ===== */
.function-content img {
  width: 22px;
  margin-bottom: 6px;
}

/* ===== desc ===== */
.function-desc {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

/* ===== sub ===== */
.function-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

/* ===== caution ===== */
.function-caution {
  margin-top: 4px;
  font-size: 12px;
  color: #e01c40;
  line-height: 1.5;
}

/* ===== オプション専用 ===== */
.option-section .function-content.no-icon img {
  display: none;
}

.option-header{
  margin-top: 100px;
}
/* 金額強調 */
/* ===== 金額UI ===== */
.option-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

/* 月額とか */
.price-prefix {
  font-size: 12px;
  color: #777;
}

/* メイン金額（主役） */
.price-main {
  font-size: 22px;
  font-weight: bold;
  color: #1c92e0;
  line-height: 1;
}

/* 税込 */
.price-tax {
  font-size: 11px;
  color: #777;
}

/* caution少しだけ強調 */
.function-caution {
  margin-top: 6px;
  font-size: 12px;
  color: #e01c40;
  line-height: 1.5;
}
/* ===== スマホ ===== */
@media (min-width: 1200px) {
.functions {
  padding: 60px 20px;
  background: #fff;
  background-image: url(../img/function_background.webp);
  background-size: 70% 50%;
}

}

@media (max-width: 768px) {
.functions {
  background: #fff;
  background-image: url(../img/function_background.webp);
  background-size: 100% auto;
}
  .functions-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* ★ここが本質 */
  .function-row {
    grid-template-columns: 120px 1fr; /* ←左を細くする */
  }
.function-title {
  padding: 5px;
}
.function-content {
  padding: 16px 12px;
}

}


/* ===== セクション ===== */
.flow-section {
  padding: 150px 20px 70px;
  text-align: center;
}

/* タイトル */
.flow-header img {
  max-width: 520px;
  width: 100%;
  margin-bottom: -8px;
}

/* ===== 横並び ===== */
.flow-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===== 外枠 ===== */
.flow-box {
  position: relative;
  border-radius: 20px;
  padding: 15px;
  width: 300px;
  box-sizing: border-box;
}

/* 色 */
.color1 { background: #ecca5f; }
.color2 { background: #da8e83; }
.color3 { background: #518da4; }

/* ===== STEP表示 ===== */
.step-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);

  font-weight: bold;
  font-size: 14px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 999px;
}

/* 色連動 */
.color1 .step-label { color: #ecca5f; }
.color2 .step-label { color: #da8e83; }
.color3 .step-label { color: #518da4; }

/* ===== 内側 ===== */
.flow-inner {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  height: 100%;
  color: #333;
}

/* ===== STEP全体 ===== */
.step-wrap {
  position: relative;
  margin-bottom: 10px;
  text-align: right;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: -35px;
}

/* STEP文字 */
.step-text {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
  display: block;
  margin-bottom: -10px;
}

/* 数字（主役） */
.step-num {
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  position: relative;
  display: inline-block;
  z-index: 2;
}

/* 白フチ（超重要） */
.step-num {
  -webkit-text-stroke: 3px #fff;
}

/* ===== 色連動 ===== */
.color1 .step-text,
.color1 .step-num { color: #ecca5f; }

.color2 .step-text,
.color2 .step-num { color: #da8e83; }

.color3 .step-text,
.color3 .step-num { color: #518da4; }

.price1 {
  color: #ecca5f;
  font-size: 60px;
}

.price2 {
  color: #da8e83;
  font-size: 60px;
}
.price3 {
  color: #518da4;
  font-size: 35px;
}
.special{
  margin-top: 20px;
}
.unit {
  font-size: 20px;
  margin-left: 5px;
}
.tax{
  color: #919191;
  background-color: #eeeeee;
  border-radius: 20px;
  padding: 3px 20px;
  display: inline-block;
  margin-bottom: 20px;
}

/* ===== はみ出し演出 ===== */
.step-wrap {
  position: relative;
  top: -25px; /* 上にはみ出す */
}

/* 内側の余白調整 */
.flow-inner {
  padding-top: 40px;
}

/* タイトル */
.flow-inner h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

/* 画像 */
.flow-img img {
  width: 100%;
  max-width: 80px;
  border-radius: 10px;
}

/* 説明 */
.flow-inner p {
  font-size: 14px;
  line-height: 1.6;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .flow-section {
  padding: 100px 0px 50px;
  text-align: center;
}
  .flow-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .flow-box {
    width: 100%;
    max-width: 350px;
  }
}



/* ===== セクション背景 ===== */
.simulation-section {
  position: relative;
  background: #ff9823;
  padding: 80px 20px;
  overflow: hidden;
  z-index: 0;
}


.simulation-accent > * {
  position: relative;
  z-index: 2;
}

.simulation-bg {
  position: absolute;
  inset: 0;
  background: url("../img/template_background.webp") repeat;
  background-size: 50% 20%;
  opacity: 0.1;
  z-index: 1;
}

/* ===== タイトル ===== */
.simulation-header {
  position: relative;
  z-index: 0;
  text-align: center;
  margin-bottom: -90px;
  overflow: hidden;
}

.simulation-header img {
  max-width: 450px;
  width: 100%;
}

.sim-card {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.form-label {
  width: 220px;
  font-weight: 600;
  color: #333;
    font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.form-label::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #ffd43b;
  border-radius: 50%;
}

.form-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9fc;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s;
  border: 2px solid transparent;
}

.form-options input {
  display: none;
}

.form-options label:has(input:checked) {
  background: #e6f4ff;
  border-color: #00aaff;
  transform: scale(1.03);
}

.option-content {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-weight: 600;
  font-size: 18px;
}

.option-desc {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  line-height: 1.4;
}

.option-caution{
    font-size: 12px;
    margin-left: 10px;
    color: #b94a4a;
    margin-top: 5px;
    line-height: 1.4;
}

/* これでレイアウト崩れ防止 */
.form-options label {
  align-items: flex-start;
}

/* ===== option ===== */
.option-box {

  border: 2px dashed #ddd;
  padding: 10px 14px;
  border-radius: 10px;
}
.option-flex{
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-toggle{
    display: flex;
    align-items: center !important;
}

.option-toggle input {
  display: block;
}

.option-box input[type="number"] {
  width: 70px;
  padding: 6px;
}

.option-box input:disabled {
  opacity: 0.4;
  background: #eee;
}

.option-box.active {
  border-color: #00aaff;
  background: #f0faff;
}

/* ===== result ===== */
/* 全体 */
.result {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}

/* 共通カード */
.price-box {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 24px;
  border: 1.5px solid #eaeaea;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);

  text-align: center;
  position: relative;
  overflow: hidden;

  transition: 0.2s ease;
}

/* 角アクセント共通 */
.price-box::before,
.price-box::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  border: 6px solid;
  pointer-events: none;
}

/* ===== 初期費用（オレンジ） ===== */
.price-box.initial::before {
  top: -1.5px;
  left: -1.5px;
  border-color: #ff8a3d transparent transparent #ff8a3d;
  border-top-left-radius: 18px;
}

.price-box.initial::after {
  bottom: -1.5px;
  right: -1.5px;
  border-color: transparent #ff8a3d #ff8a3d transparent;
  border-bottom-right-radius: 18px;
}

/* ===== 月額（水色） ===== */
.price-box.monthly::before {
  top: -1.5px;
  left: -1.5px;
  border-color: #00aee6 transparent transparent #00aee6;
  border-top-left-radius: 18px;
}

.price-box.monthly::after {
  bottom: -1.5px;
  right: -1.5px;
  border-color: transparent #00aee6 #00aee6 transparent;
  border-bottom-right-radius: 18px;
}

/* ラベル（上に小さく） */
.price-label {
  font-size: 19px;
  color: #7c7c7c;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

/* 区切りライン（これが効く） */
.price-label::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: #e5e5e5;
  margin: 6px auto 0;
}

/* 金額（主役） */
.price-value {
  font-size: 58px;
  font-weight: 800;
    color: #333;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* 円 */
.yen {
  font-size: 14px;
  margin-left: 4px;
  color: #777;
}

/* 微ポップ（ズレ） */
.price-box.initial {
  transform: rotate(-0.4deg);
}

.price-box.monthly {
  transform: rotate(0.4deg);
}

/* ===== button ===== */
.next-btn {
  width: 100%;
  background: #00aaff;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  border: none;
  margin-top: 20px;
}
.count-view {
  margin-left: auto;
  font-weight: bold;
  color: #00aaff;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stepper button {
  width: 28px;
  height: 28px;
  border: none;
  background: #00aaff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.stepper input {
  width: 50px;
  text-align: center;
}



/* ===== 仮申し込み ===== */
.entry-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px dashed #eee;
}

/* 全体 */
.entry-block {
  text-align: center;
  margin: 50px auto;
  max-width: 520px;

  padding: 28px 22px;
  border-radius: 16px;

  background: #fff;

  /* 👇 ポップな黄色外枠 */
  border: 4px solid #ffd84d;

  /* 👇 ほんのり浮かせる */
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);

  position: relative;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.entry-block::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: #ffcc00;
  border-radius: 50%;
}

/* タイトル */
.entry-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

/* 赤アクセント（シンプル） */
.entry-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #ff3b30;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 本文 */
.entry-notice {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

/* 強調 */
.entry-notice .strong {
  font-size: 16px;
  font-weight: 700;
  color: #ff3b30;
  margin-bottom: 6px;
}

/* 矢印導線 */
.entry-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  font-size: 12px;
  font-weight: 600;
  color: #ff7a00;

  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

/* 矢印 */
.entry-arrow .arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #ff7a00;
  border-bottom: 2px solid #ff7a00;
  transform: rotate(45deg);
  animation: arrowMove 1.2s infinite;
}

/* アニメーション */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@keyframes arrowMove {
  0% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
  100% { transform: translateY(0) rotate(45deg); }
}


.confirm-box {
  background: #f9fbff;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 24px;
  border: 1px solid #e3ecff;
  text-align: center; /* ← 全体中央 */
}

/* タイトル */
.confirm-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 14px;
}

/* 選択内容 */
.confirm-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← 中央寄せ */
  gap: 8px;
  margin-bottom: 18px;
}

.confirm-item {
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid #d0dcff;
  color: #333;
}

/* 金額エリア */
.confirm-total {
  display: flex;
  justify-content: center; /* ← 中央 */
  gap: 20px;
  margin-bottom: 18px;
}

.total-card {
  min-width: 120px;
}

/* ラベル */
.total-card span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

/* 金額 */
.total-card strong {
  font-size: 26px; /* ← しっかり大きく */
  font-weight: bold;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

/* 円を横に */
.total-card strong span {
  font-size: 26px;
}

.total-card strong::after {
  content: "円";
  font-size: 14px;
  margin-left: 2px;
}

/* ボタン */
.edit-btn {
  display: inline-block;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.edit-btn:hover {
  background: #f0f0f0;
}

.entry-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.contact-method {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.contact-method label {
  display: inline-flex;   /* ← これ重要 */
  align-items: center;    /* ← 縦中央揃え */
  gap: 0px;

  white-space: nowrap;    /* ← 改行防止（これも地味に効く） */
}

.contact-method input {
  margin: 0;
  position: relative;
  left: 10px;   /* ← 左に寄せる（余白削り） */
}

.contact-method label {
  display: inline-flex;
  align-items: center;
  gap: 4px;                /* ← ここは少しだけ空けるのが正解 */
}
.submit-btn {
  width: 100%;
  padding: 16px;
  background: #00aaff;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
}


.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 80px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}

.circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 6px;
}

.line {
  width: 40px;
  height: 2px;
  background: #ddd;
}

/* アクティブ */
.step.active .circle {
  background: #ff8a3d;
}

.step.active span {
  color: #ff8a3d;
}

.line.active {
  background: #ff8a3d;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
}

.required {
  color: #ff3b30;
  font-size: 11px;
  margin-left: 6px;
}

.optional {
  color: #999;
  font-size: 11px;
  margin-left: 6px;
}

.entry-form{
    max-width: 600px;
    margin: 0 auto;
}

.entry-form input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.entry-form input:focus {
  border-color: #ff8a3d;
  outline: none;
}

.confirm-btn {
  display: block;
  width: fit-content;
  margin: 16px auto 0;

  padding: 12px 24px;

  background: #f37e30;
  color: #fff;

  border: 3px solid #f37e30;   /* ← これを残す */
  border-radius: 999px;

  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
}

/* ホバーで反転 */
.confirm-btn:hover {
  background: #fff;
  color: #f37e30;
}


/* 完了画面 */
.complete-box {
  text-align: center;
  padding: 60px 20px;
}

.complete-box h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.complete-box p {
  color: #555;
}

.confirm-btn.confirm-mode {
  background: #00aaff;
  border-color: #00aaff;
}

.confirm-btn.confirm-mode:hover {
  color: #00aaff;
  background-color: #fff;
}

/* ===== ユーザー確認カード ===== */
.confirm-user {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  max-width: 500px;
  margin: 26px auto;

  display: flex;
  flex-direction: column;
  gap: 10px;
  
}

/* 1行 */
.confirm-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 12px;
  border-radius: 10px;

  background: #f9fafc;
}

/* ラベル */
.confirm-label {
  font-size: 13px;
  color: #888;
  font-weight: 600;
}

/* 値 */
.confirm-value {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-align: right;
}

/* 通常状態 */
.entry-form .confirm-box {
  display: none;
}

/* 確認モード */
.entry-form.is-confirm #formInner {
  display: none;
}

.entry-form.is-confirm .confirm-box {
  display: block;
}

.confirm-box.active {
  display: block;
}

/* ユーザー情報も同様に非表示 */
.confirm-user {
  display: none;
}

.confirm-box.active .confirm-user {
  display: flex;
}

.bow{
    max-width: 150px;
    width: 100%;
    margin: 0 auto;
}
.bow img{
    width: 100%;
}



/* SP */
@media (max-width: 768px) {
    /* ===== タイトル ===== */
.simulation-header {
  position: relative;
  z-index: 0;
  text-align: center;
  margin-bottom: -70px;
  overflow: hidden;
}

  .form-group {
    flex-direction: column;
  }

  .form-label {
    width: 100%;
  }

    .result {
    flex-direction: column;
  }

  .price-box.monthly {
    transform: none;
  }
}
/* スマホ対応 */
@media (max-width: 600px) {
  .confirm-row2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .confirm-value {
    text-align: left;
  }
}


/* =========================
   波 共通
========================= */
.wave-line{
  width:100%;
  height:80px;
  line-height:0;
  position: relative;
  z-index: 5;
}

.wave-line svg{
  width:100%;
  height:100%;
  display:block;
}
.wave-top{
  background-color: transparent;

}
.wave-bottom{
  background-color: transparent;

}


@media(max-width:768px){

.wave-line{
  width:100%;
  height:40px;
  line-height:0;
  position: relative;
  z-index: 5;
}
}


