@charset "UTF-8";

/* リセットCSS
===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  line-height: 1.6;
  font-weight: 500;
  background: #fff;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, button, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

li, dd {
  list-style-type: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

input, select {
  -webkit-appearance: none;
  -moz-appearance: none;
        appearance: none;
  background: #fff;
}

/*------------------------------
common
------------------------------*/
body {
  word-break: break-all;
  color: #8C8282;
  font-family: "Noto Sans JP", sans-serif;
}
body.is-active {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-y: scroll; /* スクロールバー補完 */
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

/* スマホ用の表示の時はis-pcは非表示 */
@media (max-width: 767px) {
  .pc {
    display: none !important;
  }
}
/* PC用の表示の時はis-spは非表示 */
@media (min-width: 768px) {
  .sp {
    display: none !important;
  }
}

main {
  /* PC版は背景画像サイズを固定(1280px)して、ズーム時の拡大崩れを防ぐ */
  background: url(../img/bg1.jpg) repeat-y center top 600px / 1280px auto;
}

/* タイトル
------------------------------*/
.c-sec-ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #826E37;
  text-align: center;
}
@media (max-width: 767px) {
  .c-sec-ttl {
    font-size: 5.3333333333vw;
  }
}

/* コンテンツサイズ
------------------------------*/
/* PC版はmax-widthで幅を固定する */
.u-with-900 {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .u-with-900 {
    width: 90%;
  }
}

.u-with-1000 {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .u-with-1000 {
    width: 87%;
  }
}

.u-with-1050 {
  display: block;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .u-with-1050 {
    width: 87%;
  }
}

/*------------------------------
header
------------------------------*/
header {
  padding: 16px 0;
  background: #fff;
}
@media (max-width: 767px) {
  header {
    padding: 4.25vw;
  }
}

.header__content {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 767px) {
  .header__content {
    width: 92.2666666667vw;
    padding-left: 0;
    padding-right: 0;
  }
}

.header__logo {
  width: 200px;
}
@media (max-width: 767px) {
  .header__logo {
    width: 41.8666666667vw;
  }
}

.header__contact a {
  display: inline-block;
  width: 24em;
  font-size: 20px;
  font-weight: 700;
  background: #AA1F01;
  text-align: center;
  color: #fff;
  border-radius: 6px;
  box-shadow: inset 0 0 5px #8A1616;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 0.75em 0;
}
@media (max-width: 767px) {
  .header__contact a {
    width: 12.8em;
    font-size: 3.7333333333vw;
    padding: 1.2em 0;
  }
}

/*------------------------------
problem
------------------------------*/
.problem {
  background-color: #fff;
  position: relative;
  z-index: 5;
}

.problem__intro {
  padding: 30px 0;
  background: #FFFAE7;
}
@media (max-width: 767px) {
  .problem__intro {
    padding: 11.34375vw 0;
  }
}

.problme__block-wrap {
  position: relative;
  background: #fff;
}
@media (max-width: 767px) {
  .problme__block-wrap {
    padding-bottom: 90%;
  }
  .problme__block-wrap::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../img/problem_bg03_sp.png) no-repeat center center/100%;
    width: 100%;
    aspect-ratio: 751/2972;
  }
  .problme__block-wrap > * {
    position: relative;
    z-index: 10;
  }
}

.problme__block01 {
  background: url(../img/problem_bg01.png) no-repeat center center/cover;
  background-color: #fff;
  padding: 3% 0%;
}
@media (max-width: 767px) {
  .problme__block01 {
    padding: 7% 0;
  }
}

@media (max-width: 767px) {
  .problem__block02 {
    padding: 6% 0;
  }
}

/* 文字と装飾の重なり順を制御 */
.problem__block03 {
  position: relative;
  margin-top: 2.3%;
  padding-bottom: 21%;
}

/* SP用の背景 */
.problem__block03::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(../img/problem_bg03.png) no-repeat center center/100%;
  width: 100%;
  aspect-ratio: 2560/1762;
  z-index: 1; /* セクション背景より上 */
}

/* problem1画像：位置を中央基準にし、文字画像より奥へ */
.problem__block03::after {
  content: "";
  position: absolute;
  background: url(../img/problem1.png) no-repeat center center/100%;
  aspect-ratio: 230/410;

  width: 115px;
  top: -150px;
  left: 50%;
  transform: translate(0, 0);
  margin-left: 360px;

  z-index: 1; /* 背景と同じか少し上 */
}

/* 文字（画像）は手前へ */
.problem__block03 img,
.problem__block03 picture {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2; /* 装飾より手前 */
}

@media (max-width: 767px) {
  .problem__block03 {
    margin-top: 7.3%;
  }
  .problem__block03::before {
    display: none;
  }
  .problem__block03::after {
    width: 21%;
    left: 73.2vw;
    top: -39vw;
    margin-left: 0;
    transform: translate(0%, 0%);
  }
  .problem__block03 img {
    width: 87%;
    max-width: none;
  }
}

.problem__list {
  position: relative;
  width: 100%;
  max-width: 1045px;
  margin: 0 auto;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .problem__list {
    width: 86.9333333333vw;
    margin-top: 9.6vw;
    display: block;
  }
}

.problem__item {
  background: #F4E9BE;
  border-radius: 10px;
  padding: 35px 15px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  width: 31%;
  position: relative;
}
.problem__item:nth-child(1)::before {
  content: "";
  position: absolute;
  background: url(../img/problem2.png) no-repeat center center/100%;
  aspect-ratio: 111/269;
  transform: translate(-50%, -50%);
  width: 55px;
  left: 30px;
  top: 50px;
}
.problem__item:nth-child(2)::before {
  content: "";
  position: absolute;
  background: url(../img/problem3.png) no-repeat center center/100%;
  aspect-ratio: 94/303;
  transform: translate(-50%, -50%);
  width: 48px;
  left: auto;
  right: -25px;
  top: 45px;
}
.problem__item:nth-child(3)::before {
  content: "";
  position: absolute;
  background: url(../img/problem4.png) no-repeat center center/100%;
  aspect-ratio: 98/288;
  transform: translate(-50%, -50%);
  width: 50px;
  left: 25px;
  top: 45px;
}

@media (max-width: 767px) {
  .problem__item {
    width: 100%;
    padding: 2.4vw 4.8vw 6vw;
  }
  .problem__item:nth-child(n+2) {
    margin-top: 4vw;
  }
  .problem__item:nth-child(1)::before {
    width: 17%;
    left: 9%;
    top: 20%;
  }
  .problem__item:nth-child(2)::before {
    width: 15%;
    left: auto;
    left: 88%;
    right: auto;
    top: 22%;
  }
  .problem__item:nth-child(3)::before {
    width: 15%;
    left: 8%;
    top: 21%;
  }
}

.problem__item-icon {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 101/65;
  display: block;
  margin: 0 auto;
}
.problem__item-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
        object-fit: contain;
}

.problem__item-label {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  color: #3F3737;
  margin-top: 0.7em;
}
@media (max-width: 767px) {
  .problem__item-label {
    font-size: 6.4vw;
    line-height: 1.3;
    margin-top: 0.3em;
  }
}

.problem__item-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.7em;
}
@media (max-width: 767px) {
  .problem__item-text {
    font-size: 4.2666666667vw;
    margin-top: 0.5em;
    line-height: 1.2;
  }
}

/*------------------------------
strengths
------------------------------*/
.strengths {
  background-color: #fff;
  position: relative;
  z-index: 5;
  margin-top: -21%;
}
@media (max-width: 767px) {
  .strengths {
    margin-top: -102%;
  }
}

.strengths__intro {
  position: relative;
  padding-top: 40px;
}
@media (max-width: 767px) {
  .strengths__intro picture {
    width: 89.3333333333vw;
  }
}

.strengths__content {
  margin-top: 5.5%;
}

.strengths__item {
  display: flex;
  justify-content: space-between;
}
.strengths__item:nth-child(2n) {
  flex-direction: row-reverse;
}
@media (min-width: 768px) {
  .strengths__item:nth-child(2n-1) {
    padding-right: 4%;
  }
  .strengths__item:nth-child(2n-1) .strengths__item-message {
    width: 94%;
  }
  .strengths__item:nth-child(2n) {
    padding-left: 4%;
  }
  .strengths__item:nth-child(2n) .strengths__item-message {
    width: 94%;
  }
  .strengths__item:nth-child(n+2) {
    margin-top: 10.6%;
  }
  .strengths__item:nth-child(n+3) {
    margin-top: 5%;
  }
}
@media (max-width: 767px) {
  .strengths__item {
    display: block;
  }
  .strengths__item:nth-child(n+2) {
    margin-top: 7%;
  }
}

.strengths__item-image {
  width: 49.5%;
}
@media (max-width: 767px) {
  .strengths__item-image {
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
  }
}

.strengths__item-body {
  width: 45%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .strengths__item-body {
    width: 100%;
    margin-top: 8%;
  }
}

.strengths__item-message {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: #826E37;
  padding: 1.1em 0.9em;
  background: #fff;
  border-radius: 10px;
  margin-top: 2%;
}
@media (min-width: 768px) {
  .strengths__item-message {
    margin-left: auto;
    flex-grow: 1;
  }
}
@media (max-width: 767px) {
  .strengths__item-message {
    font-size: 4.2666666667vw;
    line-height: 1.3;
    padding: 1.1em 1.2em;
  }
}

/*------------------------------
case
------------------------------*/
.case {
  background-color: #fff;
  position: relative;
  z-index: 5;
  padding: 60px 0; /* paddingを少し縮小して調整 */
}
@media (max-width: 767px) {
  .case {
    padding: 27vw 0 10vw;
  }
}

.case__content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 40px;
}
@media (max-width: 767px) {
  .case__content {
    width: 80vw;
  }
}

.case__list {
  margin-top: 44px;
}

.case__item {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  background: #fff;
}

.case__thumbnail img {
  border-radius: 30px 30px 0 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
        object-fit: cover;
}

.case__text {
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  padding: 1em 2.25em 5em;
}
@media (max-width: 767px) {
  .case__text {
    font-size: 3.2vw;
    padding: 1em 2.25em 1em;
  }
}

.caseSwiper {
  position: relative;
}

.caseSwiper-pagination {
  margin-top: 3%;
}
.caseSwiper-pagination .swiper-pagination[class][class] {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  position: relative;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  gap: 0 20px;
}
.caseSwiper-pagination .swiper-pagination[class][class].swiper-pagination-lock {
  display: none;
}
.caseSwiper-pagination .swiper-pagination-bullet[class][class] {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  width: unset;
  height: unset;
  margin: 0;
  opacity: 1;
  width: 18px;
  aspect-ratio: 1/1;
  background: #D9D9D9;
  border-radius: 50%;
}
.caseSwiper-pagination .swiper-pagination-bullet[class][class].swiper-pagination-bullet-active {
  background: #3F3737;
}
@media (max-width: 767px) {
  .caseSwiper-pagination {
    margin-top: 8%;
  }
  .caseSwiper-pagination .swiper-pagination-bullet[class][class] {
    width: 2.4vw;
  }
}

/*------------------------------
plan
------------------------------*/
.plan {
  padding: 50px 0 60px;
  /* 背景色 #fff を指定し、mainのbg1.jpgが透けないようにする */
  background: #fff url(../img/plan_bg.png) no-repeat center center/cover;
  position: relative;
  z-index: 10;
}

.plan__title {
  color: #fff;
  position: relative;
  padding-top: 3.4em;
}
.plan__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/icon_plan-title.png) no-repeat center center/contain;
  width: 3.5em;
  aspect-ratio: 160/149;
}
.plan__title::after {
  content: "";
  position: absolute;
  background: url(../img/dec.png) no-repeat center center/100%;
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  width: 170px;
  left: 50%;
  top: 50%;
}
@media (max-width: 767px) {
  .plan__title {
    padding-top: 4.8em;
  }
  .plan__title::before {
    top: 1.2em;
    width: 2.6em;
  }
  .plan__title::after {
    width: 13%;
  }
}

.plan__list {
  width: 74%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-top: 86px;
}
@media (max-width: 767px) {
  .plan__list {
    width: 78%;
    display: block;
    margin-top: 18.75vw;
  }
}

/* プランアイテム：シンプルなボーダー構造に変更しズーム崩れを防止 */
.plan__item {
  width: 31%;
  position: relative;
  padding: 1.3% 2% 1%;
  background: #fff;
  border-radius: 15px; /* カード自体の角丸 */
}

/* カードの枠線 */
.plan__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #A56C0B;
  border-radius: 15px;
  pointer-events: none;
  z-index: 1; /* コンテンツより下 */
}

/* アイコン用の丸い背景（枠線の上に重ねて、枠線を隠す） */
.plan__item .icon {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fff;
  border: 3px solid #A56C0B;
  border-radius: 50%;

  /* 左上配置の調整 */
  top: 0;
  left: 20px;
  transform: translateY(-50%); /* 半分上に出す */

  /* アイコンの中身（画像）の配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* アイコン画像 */
.plan__item .icon::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  /* 各アイテムで画像を変えるためのベース */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 各アイコン画像の指定 */
.plan__item:nth-child(1) .icon::after {
  background-image: url(../img/plan4.svg);
}
.plan__item:nth-child(2) .icon::after {
  background-image: url(../img/plan5.svg);
}
.plan__item:nth-child(3) .icon::after {
  background-image: url(../img/plan6.svg);
}

/* 元の::afterを無効化（干渉を防ぐ） */
.plan__item::after {
  display: none;
}

@media (max-width: 767px) {
  .plan__item {
    width: 100%;
    padding: 4.3% 6% 4%;
  }
  /* SP版はvwに戻すなどの調整が必要だが、今回はPCのズーム対応優先で構造維持 */
  .plan__item::before {
    border-width: 0.8vw;
    border-radius: 4vw;
  }
  .plan__item .icon {
    width: 25vw;
    height: 25vw;
    border-width: 0.8vw;
    left: 5%;
  }
  .plan__item .icon::after {
    width: 15vw;
    height: 15vw;
  }
  .plan__item:nth-child(n+2) {
    margin-top: 18%;
  }
}

.plan__item-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1666666667;
  color: #826E37;
  text-align: center;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #826E37;
  /* アイコンと被らないように余白を追加 */
  margin-top: 40px;
}
@media (max-width: 767px) {
  .plan__item-title {
    font-size: 4.8vw;
    margin-top: 10vw;
  }
}

.plan__item-title--3 {
  padding-left: 0;
}
@media (max-width: 767px) {
  /* .plan__item-title--3 { padding-left: 3em; } PCと同じく中央揃えで良ければ削除 */
}

.plan__item-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan__item-price dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3333333333;
}
.plan__item-price dd {
  font-size: 32px;
  font-weight: 700;
  color: #826E37;
  padding: 0.3em 0;
}
@media (max-width: 767px) {
  .plan__item-price dt {
    font-size: 3.2vw;
  }
  .plan__item-price dd {
    font-size: 8.5333333333vw;
    padding: 0.2em 0;
  }
}

.plan__item-body {
  border-top: 1px solid #826E37;
  display: flex;
  justify-content: space-between;
  padding: 3% 0 0;
}

.plan__item-image {
  width: 110px;
}
@media (max-width: 767px) {
  .plan__item-image {
    width: 42.3076923077vw;
  }
}

.plan__item-list {
  width: 146px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  padding-left: 0.7em;
}
@media (max-width: 767px) {
  .plan__item-list {
    width: 56.1538461538vw;
    font-size: 3.2vw;
  }
}

/*------------------------------
flow
------------------------------*/
.flow {
  background-color: #fff;
  position: relative;
  z-index: 5;
  padding: 30px 0;
}
@media (max-width: 767px) {
  .flow {
    padding: 15.5vw 0 8vw;
  }
}

.flow__title {
  position: relative;
  padding-top: 4.4em;
}
.flow__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/icon_flow-title.png) no-repeat center center/contain;
  width: 3.5em;
  aspect-ratio: 160/149;
}
@media (max-width: 767px) {
  .flow__title::before {
    width: 2.6em;
  }
}

.flow__content {
  width: 100%;
  max-width: 885px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .flow__content {
    width: 82.6666666667vw;
  }
}

.flow__heading {
  margin-top: 4.1%;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1538461538;
  color: #826E37;
  text-align: center;
}
.flow__heading strong {
  color: #D32929;
}
@media (max-width: 767px) {
  .flow__heading {
    font-size: 4.8vw;
    margin-top: 1em;
  }
}

.flow__message {
  margin-top: 2.8125%;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .flow__message {
    font-size: 3.7333333333vw;
    line-height: 1.5;
    margin-top: 1.5em;
  }
}

.flow__section-wrapper {
  margin-top: 4%;
  position: relative;
}
.flow__section-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #826E37;
  width: 2px;
  height: 90%;
}
@media (max-width: 767px) {
  .flow__section-wrapper {
    width: 78.6666666667vw;
    margin: 7% auto 0;
  }
}

.flow__section {
  border: 2px solid #8D8D8D;
  padding: 2.7% 2.25%;
  border-radius: 8px;
  background: #fff;
  position: relative;
}
.flow__section:nth-child(n+2) {
  margin-top: 5.6497175141%;
}
@media (max-width: 767px) {
  .flow__section {
    padding: 9.3333333333vw 5.3333333333vw;
  }
  .flow__section:nth-child(n+2) {
    margin-top: 16%;
  }
}

.flow__section--01 .flow__section-label {
  background: #D9D9D9;
}

.flow__section--02 .flow__section-label {
  background: #F4E9BE;
}

.flow__section--03 {
  border: 2px solid #43C8C3;
  position: relative;
}
.flow__section--03::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  background: #43C8C3;
  width: 2px;
  height: 50px;
}
.flow__section--03 .flow__section-label {
  background: #43C8C3;
  color: #fff;
}
@media (max-width: 767px) {
  .flow__section--03::before {
    height: 10vw;
  }
}

.flow__section-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow__section-label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  padding: 0.4em 2em;
  border-radius: 3px;
  color: #000;
}
@media (max-width: 767px) {
  .flow__section-label {
    font-size: 3.7333333333vw;
    padding: 0.4em 1.2em;
  }
}

.flow__section-title {
  font-size: 24px;
  font-weight: 700;
  margin-left: 0.5em;
  color: #3F3737;
}
@media (max-width: 767px) {
  .flow__section-title {
    font-size: 4.8vw;
  }
}

.flow__list {
  margin-top: 1.9%;
  display: flex;
  flex-wrap: wrap;
  gap: 45px 4.79%;
}
@media (max-width: 767px) {
  .flow__list {
    display: block;
    margin-top: 5.3333333333vw;
  }
}

.flow__item {
  width: 30.1%;
}
@media (max-width: 767px) {
  .flow__item {
    width: 100%;
  }
  .flow__item:nth-child(n+2) {
    margin-top: 5.5865921788%;
  }
}

.flow__item-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #826E37;
  padding-left: 0.3em;
  position: relative;
  border-left: 4px solid #826E37;
  margin-top: 1em;
}
@media (max-width: 767px) {
  .flow__item-heading {
    font-size: 4.2666666667vw;
  }
}

.flow__item-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2857142857;
  margin-top: 1.3em;
}
@media (max-width: 767px) {
  .flow__item-description {
    font-size: 3.2vw;
    line-height: 1.6;
  }
}

@media (min-width: 768px) {
  .flow__item-description--2 {
    margin-top: 2.8em;
  }
}

.flow__list--2col {
  width: 64.79%;
  margin: 2% auto 0;
}
.flow__list--2col li {
  width: 47.6%;
}
@media (max-width: 767px) {
  .flow__list--2col {
    width: 100%;
    margin-top: 5.3333333333vw;
  }
  .flow__list--2col li {
    width: 100%;
  }
}

.flow__goal {
  margin-top: 10%;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #3F3737;
}
@media (max-width: 767px) {
  .flow__goal {
    font-size: 6.4vw;
    margin-top: 18%;
  }
}

/*------------------------------
cta
------------------------------*/
.cta__content {
  background: #FFFAE7;
  margin-top: 50px;
  padding-top: 70px;
  position: relative;
}
@media (max-width: 767px) {
  .cta__content {
    padding: 5.3333333333vw 0;
    margin-top: 12%;
  }
}

.cta__body {
  width: 100%;
  max-width: 964px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .cta__body {
    display: block;
    width: 87%;
  }
}

.cta__heading {
  width: 55.8%;
}
@media (max-width: 767px) {
  .cta__heading {
    width: 100%;
  }
}

.cta__message {
  width: 40.6%;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .cta__message {
    width: 100%;
    font-size: 4.8vw;
    margin-top: -1em;
    line-height: 1.4;
  }
}

.cta__note {
  padding: 67px 0;
  font-size: 30px;
  font-weight: 700;
  color: #826E37;
  text-align: center;
}
@media (max-width: 767px) {
  .cta__note {
    font-size: 4.8vw;
    padding: 9.0666666667vw 0;
  }
}

/* CTA画像：広がりすぎないようにPC版で最大幅を指定 */
.cta__hero img {
  max-width: 100%;
  width: 1280px;
  margin: 0 auto;
  display: block;
}

/*------------------------------
faq
------------------------------*/
.faq {
  background-color: #fff;
  position: relative;
  z-index: 5;
  /* 【修正】余白を縮小 */
  padding: 60px 0 9%;
}
@media (max-width: 767px) {
  .faq {
    padding: 31vw 0 17vw;
  }
}

.faq__list {
  margin-top: 54px;
}
@media (max-width: 767px) {
  .faq__list {
    width: 92vw;
  }
}

.faq__item {
  background: #FFFAE7;
  border-radius: 8px;
}
.faq__item:nth-child(n+2) {
  margin-top: 3%;
}
@media (max-width: 767px) {
  .faq__item:nth-child(n+2) {
    margin-top: 6%;
  }
}

.faq__item-q {
  cursor: pointer;
  -webkit-user-select: none;
    -moz-user-select: none;
        user-select: none;
  font-size: 24px;
  font-weight: 700;
  color: #3F3737;
  position: relative;
  padding: 3.3% 9.5%;
}
.faq__item-q::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 1.7777777778%;
  background: url(../img/icon_q.png) no-repeat center center/contain;
  width: 50px;
  aspect-ratio: 1/1;
}
.faq__item-q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3.3333333333%;
  transform: translateY(-50%);
  background: #8C8282;
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
          clip-path: polygon(50% 100%, 0 0, 100% 0);
  width: 0.8em;
  aspect-ratio: 20/20;
  transition: all 0.3s;
}
.faq__item-q.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 767px) {
  .faq__item-q {
    font-size: 4.2666666667vw;
    padding: 4vw 16vw;
    line-height: 1.3;
  }
  .faq__item-q::before {
    width: 10.6666666667vw;
    top: 1em;
    left: 0.8em;
  }
}

.faq__item-a {
  display: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2857142857;
  color: #3F3737;
  position: relative;
  padding: 2% 9.5%;
}
.faq__item-a::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 1.7777777778%;
  background: url(../img/icon_a.png) no-repeat center center/contain;
  width: 50px;
  aspect-ratio: 1/1;
}
.faq__item-a strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.7em;
}
@media (max-width: 767px) {
  .faq__item-a {
    font-size: 3.2vw;
    padding: 4vw 16vw;
  }
  .faq__item-a::before {
    width: 10.6666666667vw;
    top: 1em;
    left: 0.8em;
  }
  .faq__item-a strong {
    font-size: 3.7333333333vw;
  }
  .faq__item-a p {
    line-height: 1.5;
  }
}

/*------------------------------
trust
------------------------------*/
.trust {
  background-color: #fff;
  position: relative;
  z-index: 5;
  /* 【修正】余白を縮小 */
  padding: 60px 0;
}

.trust__lead {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #826E37;
}
@media (max-width: 767px) {
  .trust__lead {
    font-size: 4.8vw;
  }
}

.trust__image {
  margin-top: 90px;
}

/* trust_img：最大幅800pxで制限し、中央寄せ */
.trust__image img {
  max-width: 800px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 767px) {
  /* SP版は画面幅いっぱい */
  .trust__image img {
    max-width: 100%;
  }
}

.trust__text {
  padding: 90px 0 1%;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  color: #826E37;
  text-align: center;
}
@media (max-width: 767px) {
  .trust__text {
    font-size: 4.8vw;
    padding: 16vw 0;
  }
}

/*------------------------------
company
------------------------------*/
.conpany {
  background: #BFB48B;
  background-color: #BFB48B;
  position: relative;
  z-index: 5;
  padding: 35px 0;
}
@media (max-width: 767px) {
  .conpany {
    padding: 7vw 0 21vw;
  }
}

.company__content {
  width: 100%;
  max-width: 956px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .company__content {
    width: 84.5333333333vw;
  }
}

.company__info {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
@media (max-width: 767px) {
  .company__info {
    font-size: 3.2vw;
  }
  .company__info strong {
    font-size: 3.7333333333vw;
  }
}

/*------------------------------
footer
------------------------------*/
footer {
  padding: 20px 0 250px;
  background-color: #fff;
  position: relative;
  z-index: 5;
}

.footer__content {
  width: 100%;
  max-width: 956px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .footer__content {
    width: 82%;
  }
}

.footer__logo {
  width: 280px;
}
@media (max-width: 767px) {
  .footer__logo {
    width: 41.8666666667vw;
  }
}

.footer__message {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.7em;
  color: #3F3737;
  padding-left: 0.6em;
}
@media (max-width: 767px) {
  .footer__message {
    font-size: 3.2vw;
  }
}

.footer__copyright {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  margin-top: 0.5em;
  margin-right: 1em;
}
@media (max-width: 767px) {
  .footer__copyright {
    font-size: 2.6666666667vw;
    margin-top: 2.5em;
    margin-right: -1.7em;
  }
}

.header__contact--float {
  position: fixed;
  bottom: 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 3000;
  background: #fff;
  padding: 1.4% 0;
}
.header__contact--float a {
  width: 800px;
  max-width: 100%;
  font-size: 22px;
}
@media (max-width: 767px) {
  .header__contact--float a {
    width: 80vw;
    font-size: 4.8vw;
  }
}
/*# sourceMappingURL=style.css.map */

/* リフォームプランの横幅広がりすぎ防止 */
section.plan ul {
    max-width: 1100px; /* ここで最大幅を制限します */
    margin-right: auto; /* 右側の余白を自動調整 */
    margin-left: auto;  /* 左側の余白を自動調整（これで中央寄せになります） */
}
/* 例: .problem__item の before 要素などが PNG を背景に設定しているなら */

.problem__item::before {
  position: relative;   /* または absolute, depending on layout */
  z-index: 10;          /* ほかの要素より上に */
}

/* もし background-image で複数指定している場合（複数背景）なら */
/* background: url(...problem2.png), url(...problem_text03.png); の順序を入れ替える */
/* ＝ problem2.png を先に書けば上に表示される。 */
/* FAQ 回答テキスト（A部分）を大きくする */
.faq__item-a {
    font-size: 20px;      /* ← 好きな大きさに調整可能 */
    line-height: 1.8;     /* 読みやすさを確保 */
    color: #333;
}

/* スマホ用（文字が大きすぎないように調整） */
@media (max-width: 768px) {
    .faq__item-a {
        font-size: 14px;
        line-height: 1.7;
    }
}
/* strengths3.jpg を持つ画像要素をターゲットに指定 */
img[src*="strengths3.jpg"] {
  margin-bottom: 50px; /* 例：下部に30ピクセルの余白を追加 */
  display: block;      /* marginが正しく適用されるよう、必要であればブロック要素化 */
}
