@charset "UTF-8";

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f1c3b;
  --teal: #018b9a;
  --teal-light: #e6f4f6;
  --yellow: #f7ce41;
  --orange: #f08300;
  --gray-bg: #f3f3f3;
  --gray-bg2: #fafafa;
  --text-gray: #555f6e;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

/* マーカー */
.marker {
  background: linear-gradient(transparent 68%, var(--yellow) 68%);
  padding: 0 4px;
}

/* 改行制御（PC時はpc-br、スマホ時はsp-brのみ改行） */
.sp-br {
  display: none;
}

.pc-br {
  display: inline;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }
}

/* ===== ヒーロー ===== */
.hero {
  background: url("../img/header_bg.jpg") no-repeat center / cover;
  padding: 20px 0 60px 0;
}

.hero__inner {
  display: flex;
  /* stretchで左右カラムの高さを揃える */
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  max-width: 1150px;
}

.hero__left {
  width: 547px;
  max-width: 100%;
  flex-shrink: 0;
  padding-top: 0;
}

.hero__btn {
  display: block;
  max-width: 490px;
  margin:1rem auto;
}

/* SP用実績バッジ（PCではpc-header-text.pngに含まれるため非表示） */
.hero__jisseki {
  display: none;
}

.hero__right {
  width: 505px;
  max-width: 100%;
  flex-shrink: 0;
  padding-top: 30px;
}

/* ヒーロースライダー */
.hero-slider {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-slider__main {
  position: relative;
  width: 100%;
  margin: 0 auto;
  touch-action: pan-y;
}

.hero-slider__slides {
  position: relative;
}

.hero-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-slider__slide img {
  width: 100%;
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 28, 59, 0.15);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 28, 59, 0.25);
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 1;
}

.hero-slider__arrow:hover {
  opacity: 0.75;
}

.hero-slider__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.hero-slider__arrow--prev {
  left: -18px;
}

.hero-slider__arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.hero-slider__arrow--next {
  right: -18px;
}

.hero-slider__arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.hero-slider__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.hero-slider__thumbs li {
  flex: 1;
}

.hero-slider__thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 28, 59, 0.12);
  cursor: pointer;
  transition: border-color 0.3s, opacity 0.3s;
}

.hero-slider__thumbs button:hover {
  opacity: 0.8;
}

.hero-slider__thumbs button.is-active {
  border-color: var(--teal);
}

.hero-slider__thumbs img {
  display: block;
  width: 100%;
}

/* ===== お悩み ===== */
.problem {
  background: var(--gray-bg2) url("../img/main1-bg.jpg") no-repeat center;
  padding: 70px 0 90px;
  text-align: center;
}

/* pc-main1.png（1106px）を原寸表示するため広めに */
.problem .inner {
  max-width: 1146px;
}

/* ===== ご提案（ネイビー） ===== */
.proposal {
  position: relative;
  background: var(--navy);
  padding: 90px 0 100px;
  text-align: center;
}

/* 前セクション色の下向き三角形 */
.proposal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 55px 110px 0 110px;
  border-color: var(--gray-bg2) transparent transparent transparent;
}

.proposal__title {
  max-width: 820px;
}

/* 5ステップ設計 */
.steps {
  max-width: 1040px;
  margin: 40px auto 0;
  border-radius: 4px;
  overflow: hidden;
}

.steps__head {
  background: var(--teal);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  padding: 10px 10px;
}

.steps__head-num {
  font-size: 36px;
}

.steps__list {
  display: flex;
  background: #fff;
  padding: 28px 20px;
}

.steps__item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}

/* ステップ間の矢印 */
.steps__item + .steps__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--navy);
}

.steps__num {
  color: var(--teal);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.steps__name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.steps__desc {
  font-size: 15px;
  color: var(--text-gray);
  margin-top: 8px;
  text-align: left;
}

.proposal__copy {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 56px;
}

.proposal__copy strong {
  font-size: 36px;
  font-weight: 900;
}

/* 比較表 */
.compare__scroll-hint {
  display: none;
}

.compare__scroll {
  margin: 48px auto 0;
  max-width: 1040px;
}

.compare {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  text-align: left;
}

.compare th,
.compare td {
  padding: 17px 20px;
  background: #fff;
  border-bottom: 1px solid #d6e4ea;
  vertical-align: middle;
}

.compare thead th {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 10px;
}

.compare .compare__empty {
  background: #fff;
  border-bottom: 1px solid #d6e4ea;
}

.compare .compare__col-other {
  background: #3c4b63;
  color: #fff;
  width: 34%;
}

.compare .compare__col-ours {
  background: var(--teal);
  color: #fff;
  width: 44%;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
}

.compare tbody th {
  font-weight: 700;
  white-space: nowrap;
  width: 22%;
}

.compare__other {
  color: var(--text-gray);
}

.compare__ours {
  background: var(--teal-light) !important;
  color: var(--teal);
  font-weight: 700;
  border-left: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
}

.compare tbody tr:last-child .compare__ours {
  border-bottom: 3px solid var(--orange);
}

/* ✕・✓アイコン */
.icon-x,
.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: 1px;
}

.icon-x {
  background: #8a939f;
}

.icon-x::before {
  content: "✕";
}

.icon-check {
  background: var(--teal);
}

.icon-check::before {
  content: "✓";
}

/* ===== 7枚のストーリー ===== */
.story {
  background: var(--gray-bg);
  padding: 80px 0 70px;
  text-align: center;
}

.story__title {
  max-width: 838px;
}

.story__scroll {
  margin: 50px auto 0;
  max-width: 1100px;
}

.story__list {
  display: grid;
  grid-template-columns: repeat(3, 285px);
  justify-content: center;
  gap: 24px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.story__list li {
  width: 285px;
}

.story__note {
  font-size: 34px;
  font-weight: 700;
  margin-top: 3rem;
}

/* ===== おすすめ ===== */
.recommend {
  background: #fff;
  padding: 90px 0 0;
  text-align: center;
}

.recommend__title {
  font-size: 46px;
  font-weight: 900;
}

.recommend__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 21px 20px;
  max-width: 1030px;
  margin: 45px auto 0;
}

.recommend__list li {
  width: calc((100% - 40px) / 3);
}

.recommend__copy {
  position: relative;
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 65px;
  padding: 0 75px;
}

.recommend__copy-strong {
  font-size: 44px;
  font-weight: 900;
  color: var(--teal);
}

.recommend__copy-sub {
  font-size: 34px;
}

.recommend__copy .marker {
  background: linear-gradient(transparent 70%, var(--yellow) 70%);
  padding: 0 6px;
}

/* 左右の装飾線 */
.recommend__deco {
  position: absolute;
  top: -8px;
  width: 58px;
  height: 66px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.recommend__deco--left {
  left: 0;
  background-image: url("../img/ico-left.png");
}

.recommend__deco--right {
  right: 0;
  background-image: url("../img/ico-right.png");
}

.recommend__staff {
  display: block;
  max-width: 100%;
  margin: 35px auto 0;
}

/* ===== 料金 ===== */
.price {
  background: var(--teal);
  padding: 55px 0 60px;
}

.price__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.price__left {
  color: #fff;
}

.price__lead {
  font-size: 42px;
  font-weight: 700;
}

.price__amount {
  font-weight: 900;
  line-height: 1.1;
  margin-top: 8px;
  white-space: nowrap;
}

.price__num {
  font-size: 90px;
  letter-spacing: 0.02em;
}

.price__unit {
  font-size: 38px;
}

.price__right {
  max-width: 665px;
  flex-shrink: 0;
}

.price__btn {
  display: block;
  max-width: 490px;
  margin: 40px auto 0;
}

/* ===== FAQ ===== */
.faq {
  background: #fff;
  padding: 80px 0 120px;
}

.faq__title {
  font-size: 46px;
  font-weight: 900;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 44px;
  max-width: 1060px;
  margin: 45px auto 0;
}

.faq__item {
  width: calc((100% - 44px) / 2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 28, 59, 0.08);
  border-bottom: 2px solid var(--teal);
  align-self: flex-start;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  padding: 15px 18px;
  cursor: pointer;
}

.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq__toggle {
  position: relative;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--teal);
  transition: transform 0.3s;
}

.faq__toggle::before {
  width: 14px;
  height: 2px;
}

.faq__toggle::after {
  width: 2px;
  height: 14px;
}

.faq__item.is-open .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__a {
  display: none;
  font-size: 17px;
  color: var(--text-gray);
  padding: 0 18px 16px 56px;
}

.faq__item.is-open .faq__a {
  display: block;
}

/* ===== お問い合わせ ===== */
.contact {
  background: var(--gray-bg);
  padding: 80px 0 100px;
}

.contact__title {
  font-size: 46px;
  font-weight: 900;
  text-align: center;
}

.contact__lead {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-top: 18px;
}

.contact__form {
  max-width: 720px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 28, 59, 0.08);
  overflow: hidden;
}

.contact__form iframe {
  display: block;
  width: 100%;
  height: 1550px;
  border: 0;
  overflow: hidden;
}

/* ===== フッター ===== */
.footer {
  background: var(--navy);
  padding: 28px 0;
  text-align: center;
}

.footer__nav {
  margin-bottom: 10px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__copy {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ===== 特定商取引法 ===== */
.legal {
  background: var(--gray-bg);
  padding: 60px 0 80px;
}

.legal__inner {
  max-width: 900px;
}

.legal__back {
  margin-bottom: 28px;
}

.legal__back a {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.legal__back a:hover {
  text-decoration: underline;
}

.legal__title {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}

.legal__lead {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--text-gray);
  margin-top: 10px;
  margin-bottom: 36px;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 28, 59, 0.08);
}

.legal__table th,
.legal__table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e4eaee;
  font-size: 14px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}

.legal__table tr:last-child th,
.legal__table tr:last-child td {
  border-bottom: none;
}

.legal__table th {
  width: 28%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.legal__table td a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .legal {
    padding: 40px 0 60px;
  }

  .legal__title {
    font-size: 22px;
  }

  .legal__table,
  .legal__table tbody,
  .legal__table tr,
  .legal__table th,
  .legal__table td {
    display: block;
    width: 100%;
  }

  .legal__table th,
  .legal__table td {
    padding: 12px 16px;
  }

  .legal__table th {
    white-space: normal;
  }

  .legal__table td {
    border-bottom: 1px solid #d6e4ea;
  }
}

/* ===== レスポンシブ（簡易） ===== */
@media (max-width: 1119px) {
  /* 画面が狭いときは原寸維持をやめて縮小を許可 */
  .hero__left,
  .hero__right {
    flex-shrink: 1;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__btn {
    margin-left: auto;
    margin-right: auto;
  }

  .steps__list {
    flex-direction: column;
    gap: 24px;
  }

  .steps__item + .steps__item::before {
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .compare__scroll-hint {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin: 30px 0 10px;
    letter-spacing: 0.05em;
  }

  .compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px 10px;
  }

  .compare {
    width: 700px;
    max-width: none;
    font-size: 13px;
    margin: 0;
  }

  .compare th,
  .compare td {
    padding: 12px 10px;
    white-space: nowrap;
  }

  .recommend__list li {
    width: calc((100% - 20px) / 2);
  }

  .price__row {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .faq__item {
    width: 100%;
  }

  .recommend__title,
  .faq__title {
    font-size: 26px;
  }

  .proposal__copy {
    font-size: 22px;
    margin-top: 30px;
  }

  .proposal__copy strong {
    font-size: 26px;
  }

  .price__num {
    font-size: 64px;
  }

  .story__note {
    font-size: 26px;
    margin-top: 2rem;
  }
}

/* ===== SP（スマホ） ===== */
@media (max-width: 768px) {
  .hero {
    background: url("../img/sp_header_bg.jpg") no-repeat center top / cover;
    padding: 10px 0 28px;
  }
  .hero-slider__thumbs{
    gap: 3px;
    margin-top: 8px;
  }
  .recommend__deco{
    width: 38px;
  }
  .recommend__staff{
    margin-top: 10px;
  }
  .recommend__copy {
    padding: 0 31px;
    font-size: 23px;
  }
  .recommend__copy-sub{
    font-size: 24px;
  }
  .recommend__copy-strong{
    font-size: 29px;
  }
  .inner {
    padding:0 14px;
  }
  .steps{
    margin-top :20px;
  }
  .steps__head-num{
    font-size:30px;
  }
  .steps__head{
    font-size: 18px;
  }
  .hero-slider__arrow--prev{
    left:-9px;
  }
  .proposal{
    padding: 50px 0 48px;
  }
  .hero-slider__arrow--next {
    right: -9px;
  }
  .proposal::before{
    border-width: 33px 82px 0 82px;
  }
  .story{
    padding: 40px 0 40px;
  }

  .story__scroll {
    margin: 35px auto 0;
    padding: 0;
  }

  .story .inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .story__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
    max-width: 100%;
  }

  .story__list li {
    width: auto;
  }
  .recommend{
    padding: 27px 0 0;
  }
  .recommend__list{
    margin-top: 30px;
    gap: 10px 10px;
  }


  .hero__inner {
    gap: 14px;
  }

  /* 子要素を直接並べ替えるため中身を展開 */
  .hero__left {
    display: contents;
  }

  .hero__text-pic {
    display: block;
    order: 1;
    width: 390px;
    max-width: 100%;
  }
  .price{
    padding: 32px 0 38px;
  }
  .contact__title{
    font-size: 26px;
  }
  .contact{
    padding: 48px 0 100px;
  }
  
  .price__lead{
    font-size:34px;
    line-height: 1;
  }
  .faq{
    padding: 40px 0 40px;
  }

  .hero__text {
    width: 100%;
  }

  .hero__right {
    order: 2;
    width: 100%;
    padding-top: 0;
  }

  .hero__jisseki {
    display: block;
    order: 3;
    width: 352px;
    max-width: 100%;
  }

  .hero__btn {
    order: 4;
    width: 390px;
    max-width: 100%;
    margin: 0 auto;
  }

  /* SP用画像を原寸（2x）の半分サイズで表示 */
  .problem{
    padding:2rem 0;
  }
  .problem .inner{
    padding:0;
  }
  .problem__img {
    width: 388px;
    max-width: 100%;
  }

  .proposal__title {
    width: 348px;
    max-width: 100%;
  }

  .story__title {
    width: 280px;
    max-width: 100%;
  }
  .recommend__title, .faq__title{
    font-size: 28px;
  }
  .faq__list{
    margin-top :30px;
  }

  .contact__form iframe {
    height: 1700px;
  }
}
