/* top.css ===================================================
   front-page.php 専用スタイル
   各セクションのデザイン根拠は design_img/{番号}-{セクション名}.md を参照
   ============================================================ */

/* 01-FV ------------------------------------------------------ */
.top_fv {
  width: 100%;
  background: var(--bg_cream);
}
.top_fv img {
  max-width: var(--sectionWidth);
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* TOP TITLE（共通見出し：04-ads/05-case/06-plan/07-flow/09-faq） --- */
.top_title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 3.2rem;
}
.top_title__icon {
  font-size: 2.4rem;
  color: var(--accent_color);
  margin-bottom: .8rem;
  text-align: center;
}
.top_title__icon img {
  margin: 0 auto;
  width: 2.6rem;
}
.top_title--line {
  position: relative;
  display: inline-block;
  padding-bottom: 1.2rem;
}
.top_title--line::after {
  content: "";
  position: absolute;
  bottom: .4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.8rem;
  height: .3rem;
  background: var(--accent_color);
  border-radius: 999px;
}
.top_title--line::before {
  content: "";
  position: absolute;
  bottom: .4rem;
  left: calc(50% + 1.8rem);
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background: var(--accent_color);
}

/* 02-worry ----------------------------------------------------- */
.top_worry {
  /* このセクション固有の色（design_img/colorset.png の共通パレットには無い実測値） */
  --worry_list_bg:     #F1F2ED;
  --worry_gradient_end: #C81800;
  --worry_highlight:   #FCE400;
  --worry_sparkle:     #E28E81;
  padding-bottom: 0;
  background: #fff;
  text-align: center;
}
.top_worry__head {
  margin-bottom: 3.2rem;
}
.top_worry__logo {
  display: inline-block;
  min-width: 16rem;
  width: 50%;
  vertical-align: middle;
  margin-right: .2rem;
}
.top_worry__lead {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: .4rem;
}
.top_worry__lead-em {
  font-size: 3.0rem;
  font-weight: 600;
}
.top_worry__title {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  justify-content: center;
}
.top_worry__title-icon {
  width: 3.4rem;
  height: 5.1rem;
  vertical-align: middle;
  margin: 0 .4rem;
}
.top_worry__title-icon--left {
  transform: scaleX(-1);
}
.top_worry__list li {
  background: var(--worry_list_bg);
  border-radius: 1.6rem;
  padding: 1.6rem 2.4rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
}
.top_worry__list li:last-child { margin-bottom: 0; }
.top_worry__illust {
  width: 13rem;
  height: auto;
  margin: 0 2rem 0 auto;
  position: relative;
  z-index: 2;
}
.top_worry__illust--pc {
  z-index: 3;
  margin-top: -3.2rem;
  margin-bottom: -2.4rem;
}
.top_worry__illust--document {
  position: absolute;
  right: clamp(2rem, 2.75vw, 4rem);
  bottom: 0;
  margin: 0;
}
.top_worry__summary {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--accent_color), var(--worry_gradient_end));
  border-radius: 2.4rem;
  padding: 2.8rem 2rem 3.2rem;
  margin: 0;
  color: #fff;
}
.top_worry__summary-lead {
  font-size: 2rem;
  margin-bottom: .8rem;
}
.top_worry__summary-main {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
}
.top_worry__summary-main strong {
  font-weight: 700;
  font-size: 2.8rem;
}
.top_worry__summary-highlight {
  color: var(--worry_highlight);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
}
.top_worry__sparkle {
  position: absolute;
  color: var(--worry_sparkle);
  font-size: 2.4rem;
  line-height: 1;
}
.top_worry__sparkle--tr-lg { top: 2.6rem; right: 3rem; }
.top_worry__sparkle--tr-sm { top: 4.4rem; right: 1.2rem; }
.top_worry__sparkle--bl-lg { bottom: 3.6rem; left: 1.6rem; }
.top_worry__sparkle--bl-sm { bottom: 2rem; left: 3.6rem; }
.top_worry__summary::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #f8be7f;
  box-shadow: 0 1.2rem #f8be7f, 0 2.4rem #f8be7f, 0 3.6rem #f8be7f;
  transform: translateX(-50%) translateY(-50%);
}
.top_worry__foot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg_cream);
  padding: 0;
}
.top_worry__foot .section__inner {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.7;
}
.top_worry__foot .is-accent {
  color: var(--accent_color);
}
.top_worry__foot .is-big {
  font-size: 3.2rem;
}
.top_worry__foot::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -2rem;
  left: 50%;
  width: 100vw;
  height: calc(100% + 2rem);
  transform: translateX(-50%);
  background-image: radial-gradient(var(--worry_highlight) 1px, transparent 1.5px);
  background-size: 1.6rem 1.6rem;
  opacity: .4;
}
.top_worry__foot::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3.6rem;
  left: 50%;
  width: 26rem;
  height: 26rem;
  transform: translateX(-50%);
  border: .4rem solid var(--point_color);
  border-radius: 50%;
  background: #fff;
}

/* 03-reason ----------------------------------------------------- */
.top_reason {
  background: #fff;
  text-align: center;
}
.top_reason__head {
  margin-bottom: 0;
}
.top_reason__logo {
  display: inline-block;
  min-width: 16rem;
  width: 50%;
  vertical-align: middle;
  margin-right: .2rem;
}
.top_reason__head p {
  font-size: 2.2rem;
  font-weight: 500;
  display: inline;
}
.top_reason__title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 500;
  margin-top: .4rem;
  display: block;
}
.top_reason__title-text {
  display: inline-block;
  position: relative;
  padding-bottom: 1.2rem;
}
.top_reason__title-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.2rem;
  background: url("../images/admini/wave.svg") repeat-x left center / 2rem 1rem;
}
.top_reason__list {
  display: flex;
  flex-direction: column;
}
.top_reason__card {
  background: var(--bg_cream);
  border: 1px solid rgba(15, 14, 15, .08);
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  text-align: left;
  position: relative;
}
.top_reason__card-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}
/* POINT.01・POINT.02 のイラストは高さ143px、POINT.03〜05は123px（書き出し素材準拠） */
.top_reason__list > .top_reason__card:nth-child(1) .top_reason__card-img{
  max-height: 14.3rem;
  top: 0;
  transform: translate(-30%, -90%);
}
.top_reason__list > .top_reason__card:nth-child(2) .top_reason__card-img {
  max-height: 14.3rem;
  top: 0;
  transform: translate(-45%, -80%);
}
.top_reason__list > .top_reason__card:nth-child(3) .top_reason__card-img,
.top_reason__list > .top_reason__card:nth-child(4) .top_reason__card-img,
.top_reason__list > .top_reason__card:nth-child(5) .top_reason__card-img {
  max-height: 12.3rem;
  top: 0;
  transform: translate(-50%, -90%);
}
.top_reason__list > .top_reason__card:nth-child(1) {
  margin-top: 16.2rem;
}
.top_reason__list > .top_reason__card:nth-child(2) {
  margin-top: 16.2rem;
}
.top_reason__list > .top_reason__card:nth-child(3),
.top_reason__list > .top_reason__card:nth-child(4),
.top_reason__list > .top_reason__card:nth-child(5) {
  margin-top: 14.2rem;
}
.top_reason__badge {
  display: inline-block;
  background: var(--accent_color);
  color: #fff;
  font-family: var(--font_number);
  font-size: 1.3rem;
  font-weight: 700;
  padding: .4rem 1.6rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.top_reason__card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.top_reason__card-body {
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: left;
}
.top_reason__price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: .8rem;
  flex-wrap: wrap;
}
.top_reason__price-brand {
  width: clamp(12rem, calc(157 / var(--design-width) * 100vw), 15.7rem);
  height: auto;
}
.top_reason__price-value {
  font-size: 1.4rem;
  font-weight: 700;
}
.top_reason__price-value strong {
  font-family: var(--font_number);
  font-size: 2.4rem;
  color: var(--accent_color);
}
.top_reason__price-note {
  font-size: 1.1rem;
  color: rgba(15, 14, 15, 0.6);
  text-align: center;
  margin-bottom: 1.6rem;
}

/* 04-ads --------------------------------------------------------- */
.top_ads {
  /* デザイン実測値。--bg_orange(#F6E7D8)より濃いタン色で別値のため section 固有変数として保持 */
  --ads_bg: #F3E0CC;
  background: var(--ads_bg);
  text-align: center;
  padding: 4.8rem 0 4.4rem;
}
.top_ads__card {
  border-radius: 1.2rem;
  padding: 1.6rem;
  margin: 0 1.6rem 2.4rem;
}
.top_ads__illust {
  width: 100%;
  height: auto;
  display: block;
}
.top_ads__body {
  font-size: 1.4rem;
  line-height: 1.9;
}
.top_ads__accent {
  color: var(--accent_color);
  font-weight: 700;
}

/* 05-case ---------------------------------------------------------- */
.top_case {
  background: var(--bg_cream);
  text-align: center;
}
.top_case__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  text-align: left;
}
.top_case__item-title {
  background: #fff;
  border-radius: .8rem;
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  text-align: center;
  box-shadow: 0 0 1rem rgba(165, 165, 66, .15);
}
.top_case__item-body {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}
.top_case__item-img {
  flex-shrink: 0;
  width: clamp(10rem, 25vw, 15rem);
  height: clamp(10rem, 25vw, 15rem);
  object-fit: contain;
}
.top_case__item-data { flex: 1; }
.top_case__item-data > div {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: .8rem 0;
  border-bottom: 1px dashed var(--point_color);
  font-size: 1.6rem;
}
.top_case__item-data > div:last-child { border-bottom: none; }
.top_case__item-data dt { color: var(--txt_color); }
.top_case__item-data dd { font-family: var(--font_number); }
.top_case__item-data dd.is-accent { color: var(--accent_color); }
.top_case__num {
  font-size: 2.2rem;
  font-weight: 700;
}

/* 06-plan ------------------------------------------------------------ */
.top_plan {
  background: var(--bg_orange);
  text-align: center;
  padding-bottom: 0;
}
.top_plan__lead {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 3.2rem;
}
.top_plan__price-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--accent_color);
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  margin-bottom: 2.4rem;
  text-align: left;
}
.top_plan__row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.top_plan__row + .top_plan__row {
  align-items: flex-start;
  margin-top: 1.6rem;
}
.top_plan__pill {
  flex-shrink: 0;
  display: inline-block;
  width: 7.6rem;
  text-align: center;
  background: var(--deep_color);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  padding: .5rem 0;
  border-radius: .4rem;
}
.top_plan__price {
  font-family: var(--font_number);
  font-size: clamp(2.4rem, 6vw, 3.0rem);
  font-weight: 700;
  color: var(--txt_color);
}
.top_plan__price-unit {
  font-family: var(--font_jp);
  font-size: 1.8rem;
  font-weight: 700;
}
.top_plan__price-note {
  font-family: var(--font_jp);
  font-size: 1.5rem;
  font-weight: 400;
  margin-left: .4rem;
}
.top_plan__illust {
  position: absolute;
  right: 1.6rem;
  bottom: -1.6rem;
  width: 12rem;
  height: auto;
}
.top_plan__checklist {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: .4rem;
}
.top_plan__checklist li {
  position: relative;
  padding: 0 0 0 2.4rem;
  font-size: 1.5rem;
}
.top_plan__checklist li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--point_color);
}
.top_plan__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.4rem;
}
.top_plan__table-size-sm {
  font-size: 1.2rem;
}
.top_plan__table-size-lg {
  font-size: 1.6rem;
}
.top_plan__table-size-xl {
  font-size: 2rem;
}
.top_plan__table-size-xxl {
  font-size: 3rem;
  line-height: 1;
}
.top_plan__table th,
.top_plan__table td {
  padding: 1.2rem .8rem;
  text-align: center;
}
.top_plan__table thead th {
  font-weight: 700;
}
.top_plan__table thead th.is-brand {
  background: #fff9f1;
  border: 2px solid var(--accent_color);
  border-bottom: none;
  border-radius: .8rem .8rem 0 0;
  text-align: center;
}
.top_plan__table thead th:last-child {
  background: #f1f1f1;
  color: var(--txt_color);
  border-radius: .8rem .8rem 0 0;
}
.top_plan__table-logo {
  width: 13rem;
  margin: 0 auto;
}
.top_plan__table tbody th {
  background: var(--accent_color);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.top_plan__table tbody tr:first-child th {
  border-radius: .8rem 0 0 0;
}
.top_plan__table tbody tr:last-child th {
  border-bottom: none;
  border-radius: 0 0 0 .8rem;
}
.top_plan__table tbody td {
  background: #fff;
  font-family: var(--font_number);
}
.top_plan__table tbody td:nth-child(2) {
  border-left: 2px solid var(--accent_color);
  border-right: 2px solid var(--accent_color);
  border-bottom: 1px solid var(--color_gray);
}
.top_plan__table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid var(--accent_color);
}
.top_plan__table tbody td:last-child {
  border-bottom: 1px solid var(--color_gray);
}
.top_plan__table tbody tr:last-child td {
  border-bottom: none;
}
.top_plan__table tbody tr:last-child td:last-child {
  border-radius: 0 0 .8rem 0;
}
.top_plan__table-note {
  font-size: 1.1rem;
  color: rgba(15, 14, 15, 0.6);
  text-align: right;
  margin-top: .8rem;
}
.top_plan__arrow {
  display: block;
  color: #B8B8B8;
  font-size: 3rem;
  margin-bottom: 1.6rem;
}
.top_plan__summary {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}
.top_plan__summary-num {
  font-family: var(--font_number);
  font-size: 2.6rem;
}
.top_plan__summary-wavy {
  text-decoration: underline wavy var(--accent_color);
  text-decoration-thickness: 2px;
  text-underline-offset: .3rem;
}
.top_plan__note {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  font-size: 1.3rem;
  line-height: 1.9;
  text-align: left;
}
.top_plan__note .is-accent {
  color: var(--accent_color);
  font-weight: 700;
}
.top_plan__team {
  display: block;
  width: 18rem;
  height: auto;
  margin: -6rem 0 0 auto;
  transform: translateY(10%);
}

/* 07-flow -------------------------------------------------------------- */
.top_flow {
  background: #fff;
  text-align: center;
}
.top_flow__list {
  margin-bottom: 3.2rem;
}
.top_flow__step {
  position: relative;
  background: var(--bg_cream);
  border-radius: .8rem;
  padding: 3.5rem 2rem 2.4rem;
  text-align: left;
}
.top_flow__step--center {
  text-align: center;
}
.top_flow__free {
  position: absolute;
  top: -2rem;
  left: .8rem;
  width: 5rem;
  height: 5rem;
}
.top_flow__pill {
  position: absolute;
  top: -1.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background: var(--accent_color);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: .5rem 1.6rem;
  border-radius: 999px;
}
.top_flow__pill-num {
  font-size: 2rem;
  font-weight: 500;
}
.top_flow__step-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: .8rem;
}
.top_flow__step-body {
  font-size: 1.5rem;
  line-height: 1.8;
}
.top_flow__step-body .is-accent {
  color: var(--accent_color);
}
.top_flow__arrow {
  color: #b8b8b8;
  font-size: 4rem;
  line-height: 1;
  transform: translateY(-30%);
  padding: 0 0 1rem;
}
.top_flow__cta {
  background: linear-gradient(160deg, var(--bg_cream) 0%, var(--bg_orange) 100%);
  border: 1px solid var(--accent_color);
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  text-align: center;
}
.top_flow__cta-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.top_flow__cta-head-text {
  text-align: left;
}
.top_flow__cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.top_flow__cta-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent_color);
  line-height: 1.5;
}
.top_flow__cta-body {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.top_flow__cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 1.6rem;
}
.top_flow__cta-badge {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  min-width: 9rem;
  background: #fff;
  border: 1px solid rgba(15, 14, 15, .08);
  border-radius: 1.2rem;
  padding: 1.2rem .8rem;
}
.top_flow__cta-badge img {
  width: 4rem;
  height: 4rem;
}
.top_flow__cta-badge span {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}
.top_flow__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: 1.6rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.top_flow__cta-btn-text--sp {
  display: none;
}
@media (min-width: 769px) {
  /* 右カラムの.sidebar-formへ視線を誘導する三角 */
  .top_flow__cta {
    position: relative;
  }
  .top_flow__cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 1.2rem 0 1.2rem 1.4rem;
    border-color: transparent transparent transparent var(--accent_color);
  }
}
@media (max-width: 768px) {
  .top_flow__cta-btn-text--pc {
    display: none;
  }
  .top_flow__cta-btn-text--sp {
    display: inline;
  }
}

/* 08-form（SPインライン相談フォーム。PC(769px〜)は.sidebar-formに委譲） --- */
.top_form {
  background: var(--bg_cta_orange);
  clip-path: polygon(0 0, 50% 4.7rem, 100% 0, 100% 100%, 0 100%);
  padding: 8rem 2rem 4rem;
  text-align: left;
  position: relative;
}
.top_form__free {
  position: absolute;
  top: 1.3rem;
  left: 2.1rem;
  width: 5.7rem;
  height: 5.7rem;
}
.top_form__title {
  font-size: clamp(2.0rem, 5.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.top_form__lead {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}
.top_form__illust {
  display: block;
  width: 16rem;
  height: auto;
  margin: 2.4rem 0 0 auto;
}
@media (min-width: 769px) {
  .top_form { display: none; }
}

/* 09-faq ------------------------------------------------------------------ */
.top_faq {
  background: var(--bg_cream);
  text-align: center;
}
.top_faq__list {
  text-align: left;
}
.top_faq__item {
  background: #fff;
  border-radius: .8rem;
  margin-bottom: 1.6rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.top_faq__question {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  padding: .5rem 1.6rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font_jp);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--txt_color);
  cursor: pointer;
}
.top_faq__q-mark {
  flex-shrink: 0;
  color: var(--accent_color);
  font-family: var(--font_number);
}
.top_faq__toggle-icon {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--accent_color);
  font-size: 3rem;
}
.top_faq__answer {
  display: flex;
  gap: 1.2rem;
  padding: 0 1.6rem 1.8rem;
}
.top_faq__item:not(.is-open) .top_faq__answer {
  display: none;
}
.top_faq__a-mark {
  flex-shrink: 0;
  color: var(--point_color);
  font-family: var(--font_number);
  font-weight: 700;
}
.top_faq__answer p {
  font-size: 1.4rem;
  line-height: 1.8;
}

/* PC（1200px〜）：top_reasonのカードを2カラムに */
@media (min-width: 1200px) {
  .top_reason__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
  }
}
