*{
	box-sizing:border-box;
}

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

header{
	display:none;
}


.souzoku-sec{
  padding: 80px 0 70px;
}
.container{
  width: 92.84%;
  max-width: 1180px;
  margin: 0 auto;
}

/* 悩みボックス */
.worry-box{
  position: relative;
  border: 2px dashed #8a97a8;
  border-radius: 18px;
  padding: 40px 34px 26px;
  background: #fff;
}
.worry-box__label{
  position: absolute;
  top: -27.5px;
  left: 50%;
  transform: translateX(-50%);
  background: #8a97a8;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.worry-box__list{
  margin: 0;
  padding-left: 22px;
  line-height: 2.1;
  color: #333;
}
.worry-box__list li{
  margin: 0;
	font-size:20px;
}

/* 黄色帯（中央＋下三角） */
.note-band{
  position: relative;
  margin: 26px auto 34px;
  background: #fff1b8;
  border: 2px solid #333;
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 700;
	margin-top:40px;
	font-size:21px;
}
.note-band::after{
border: 8px solid transparent;
    border-top: 8px solid #333333;
    content: "";
    left: 50%;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
}



.sec-heading{
  position: relative;
  margin: 0 auto 44px;
  text-align: center;
	  border-bottom: 2px solid var(--epb-microcopy-style-color, #333);
	margin-top:48px;
}

.sec-heading p{
	font-size:22px;
	font-weight:bold;
}

.sec-heading h2{
  position: relative;
  display: block;
  margin: 0;
  padding: 10px 22px 0.2em;
  font-size: 28px;
  font-weight: 800;
  color: #222;
  background: #fff;
  width: 100%;
  text-align: center;
}

/* 外側（線色の三角） */
.sec-heading::after{
  content:"";
  position:absolute;
  left:50%;
  top: calc(100% + 2px); /* 下線のすぐ下 */
  transform: translateX(-50%);
  width:0;
  height:0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 13px solid var(--epb-microcopy-style-color, #333);
}

/* 内側（背景色の三角） */
.sec-heading::before{
  content:"";
  position:absolute;
  left:50%;
  top: calc(100% + -1px);
  transform: translateX(-50%);
  width:0;
  height:0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 13px solid var(--epb-microcopy-background-color, #fff);
  z-index: 1;
}


/* 理由カード（2×2） */
.reason-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 32px;
	margin-top:80px;
	margin-bottom:40px;
}
.reason-card{
  position: relative;
  border: 2px solid #2f5d86;
  border-radius: 8px;
  padding: 42px 28px 26px;
  background: #fff;
  min-height: 170px;
}
.reason-card__no{
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: #3b556f;
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.reason-card__ttl{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  color: #222;
}
.reason-card__txt{
  margin: 0;
  color: #333;
  line-height: 1.9;
	font-size:18px;
}

.contact-cta{
  padding: 24px 0 10px;
}

.contact-cta__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-cta__item{
  text-align: center;
}

.contact-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;      /* PCの見た目寄せ */
  max-width: 100%;
  height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid #333;
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
  transition: filter .2s ease, transform .2s ease;
}

.contact-cta__btn:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
}

.contact-cta__btn--tel{
  background: #f0ad4e;
  color: #333;
	position:relative;
}

.contact-cta__btn--tel:after{
	    font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	content:"\e973";
	margin-left:4px;
}

.contact-cta__btn--mail{
  background: #2A5C7A;
  color: #fff;
	position:relative;
}

.contact-cta__btn--mail:after{
	font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	content:"\e972";
	margin-left:4px;
}

.contact-cta__note{
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #333;
}

.service-grid{
  padding: 40px 0 70px;
}

.service-grid__title{
  text-align: center;
  font-weight: 800;
  margin: 0 0 24px;
		margin-top:60px;
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: solid 3px #8ba0b6;
}

.service-grid__title::before{
	    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 15%;
    height: 3px;
    background-color: #3f5973;
    z-index: 2;
}

.service-grid__items{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 26px;
  align-items: start;
	margin-top:40px;
}

.service-card{
  border: 2px solid #2A5C7A;
  background: #fff;
}

.service-card__head{
  margin: 0;
  padding: 12px 16px;
  background: #2A5C7A;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.service-card__body{
  margin: 0;
  padding: 14px 16px 18px;
  color: #333;
  line-height: 1.9;
  font-size: 18px;
	min-height:134.59px;
}

/* 最後のカードを中央に */
.service-card--center{
  grid-column: 2 / 3; /* 真ん中列 */
}


.use-flow{
  padding: 56px 0;
}

.use-flow__title{
  text-align: center;
  font-weight: 800;
  margin: 0 0 22px;
  position: relative;
	margin-top:60px;
}

/* タイトル上下の細いライン（画像の雰囲気） */
.use-flow__title::after{
  content:"";
  display:block;
  height: 2px;
  background:#90a6be;
  margin: 14px auto 0;
  width: 100%;
}

/* 2カラム */
.use-flow__wrap{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 26px;
	margin-top:40px;
}

.use-flow__figure{
  margin: 0;
}

.use-flow__img{
  display:block;
  width: 100%;
  height: auto;
}

/* steps */
.use-flow__steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.use-flow__step{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px 0;
  align-items: start;
}

/* 番号の吹き出し */
.use-flow__badge{
  width: 56px;
  height: 100%;
  background: #ffedb3;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: 2px;
}

.use-flow__badge span{
  font-weight: 800;
  color: #222;
}

/* 下の三角 */
.use-flow__badge::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #faedc0;
}

.use-flow__step:last-child .use-flow__badge::after{
	display:none;
}

.use-flow__heading{
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  color: #222;
}

.use-flow__text{
  margin: 0;
  line-height: 2;
  color: #333;
}


/* 共通（コンテナは既存があれば不要） */
.container{
  max-width: 1100px;
  width: 92%;
  margin: 0 auto;
}

.section-title{
  text-align:center;
  font-weight: 800;
	    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: solid 3px #8ba0b6;
	font-size:21px;
	margin-top:48px;
}
.section-title::after{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 15%;
    height: 3px;
    background-color: #3f5973;
    z-index: 2;
}

/* ===== 費用テーブル ===== */
.price-table-wrap{
  overflow-x: auto;
  margin-top: 40px;
}

.price-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 900px; /* SPで横スクロールにする */
  background:#fff;
}

.price-table th,
.price-table td{
  border: 1px solid #b8bcc4;
  padding: 14px 16px;
  vertical-align: middle;
  color:#333;
}

.price-table thead th{
  text-align: center;
  font-weight: 800;
  border-bottom: 3px solid #333;
  background: #fff;
	background:#fafafa;
}

.price-table tbody td:nth-child(1){
  width: 38%;
  text-align: center;
	background:#f8f8f8;
}
.price-table tbody td:nth-child(2){
  width: 18%;
  text-align: center;
  white-space: nowrap;
}
.price-table tbody td:nth-child(3){
  width: 44%;
}

.price-note{
  margin: 16px 0 40px;
  color:#333;
  font-weight: 600;
  line-height: 1.9;
	padding-left:1em;
	text-indent:-0.8em;
}

/* ===== お客様の声 ===== */
.voice-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
	margin-top:40px;
	margin-bottom:80px;
}

.voice-card{
  background: #fff;
}

.voice-card__title{
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #f3f3f3;
  font-weight: 800;
  color:#333;
}

.voice-card__text{
  margin: 0;
  color:#333;
  line-height: 2;
}


.profile-sec{
  padding: 0px 0px 70px 0;
}

.profile-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: start;
	margin-top:40px;
}

/* 左：画像 */
.profile-photo{
  margin: 0;
}

.profile-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* キャプション */
.profile-caption{
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

/* 右：本文 */
.profile-body p{
  margin: 0 0 18px;
  line-height: 2;
  color: #333;
}

.lp-contact .contact-cta__item{
	margin-top:40px;
}

.lp-contact .wpcf7{
	margin-top:48px;
}

.lp-contact .wpcf7 input,
.lp-contact .wpcf7 textarea{
	width:100%;
	margin-bottom:12px;
}
.lp-contact .wpcf7 input[type="submit"]{
	background-color: #3f5973;
    color: #ffffff;
	max-width:300px;
	margin:auto;
	display:block;
	padding:12px 0px;
	font-weight:bold;
}

.lp-outline{
	margin-top:80px;
}
.lp-outline h2{
	padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    padding-left: 12px;
    background-color: #8ba0b6;
    border-left: 6px solid #3f5973;
    color: #ffffff;
	margin-bottom:2em;
}
.lp-outline img{
	display:block;
	margin:auto;
	object-fit:contain;
}

.lp-outline table{
	width:100%;
	margin-top:40px;
	margin-bottom:40px;
}
.lp-outline tr{
	display:flex;
	position:relative;
	border-bottom:1px solid #b8bcc0;
}

.lp-outline tr:after{
	content:"";
	position:absolute;
	bottom:-1px;
	left:0;
	width:195px;
	height:1px;
	background:#3f5973;
}

.lp-outline td:first-child{
	padding:20px;
	width:195px;
}
.lp-outline td:nth-child(2){
	padding:20px;
	width:calc(100% - 195px);
}

.copyrights{
	display:block;
	background:#484848;
	color:#fff;
	padding:24px 0px;
}

@media (max-width:960px){
	.contact-cta__btn{
		min-width:inherit;
		width:280px;
	}
	.price-table{
		min-width:inherit;
		width:100%;
	}
}

@media (max-width:780px){
	.use-flow__wrap{
		grid-template-columns: 1fr;
    gap: 24px;
	}
	.voice-grid{
    grid-template-columns: 1fr;
  }
	.profile-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
	.lp-outline h2{
		text-align:center;
	}
}
@media (max-width:600px){
	.note-band{
		font-size:18px;
	}
	.sec-heading h2{
		font-size:20px;
	}
	.reason-grid{
    grid-template-columns: 1fr;
		gap:48px;
  }
	.reason-grid h3{
  font-size:20px; 
  }
	.reason-grid p{
   font-size:16px;
	}
	.sec-heading p{
		font-size:20px;
	}
	.contact-cta__grid{
		    grid-template-columns: 1fr;
	}
	.service-grid__title{
		font-size:20px;
	}
	.service-grid__items{
		    grid-template-columns: 1fr;
  }
  .service-card--center{
    grid-column: auto;
  }
	.service-card__head{
		font-size:20px;
	}
	.service-card__body{
		font-size:16px;
	}
	.lp-outline td:first-child{
		width:35%;
	}
	.lp-outline td:nth-child(2){
		width:65%;
	}
	.lp-outline tr:after{
		width:35%;
	}
}

/*souzoku-thanks*/
.souzoku-thanks{
	padding:60px 0px;
	padding-bottom:0;
}
.souzoku-thanks img{
	margin:auto;
	object-fit:contain;
	width:100%;
	margin-bottom:32px;
}
.souzoku-thanks p{
	margin-bottom:2em;
}
.souzoku-thanks p:last-child{
	margin-bottom:-2em;
}