@charset "UTF-8";
/* ========================================
   相談ページ
======================================== */
.consultation {
  padding: 100px 0 60px;
}
@media only screen and (max-width: 768px) {
  .consultation {
    padding: 80px 0 50px;
  }
}

.consultation_heading {
  max-width: 1240px;
  margin: 0 auto 120px;
  padding: 0 20px;
}
@media only screen and (max-width: 768px) {
  .consultation_heading {
    margin-bottom: 80px;
  }
}

.consultation_title {
  margin: 0;
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.446;
  letter-spacing: .08em;
}
@media only screen and (max-width: 768px) {
  .consultation_title {
    font-size: 4rem;
    line-height: 1.45;
  }
}

.consultation_inner {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  .consultation_inner {
    width: calc(100% - 40px);
  }
}

/* ========================================
   共通カード
======================================== */
.consultation_section {
  padding: 80px 90px;
  background: #fff;
  border-radius: 16px;
}
.consultation_section + .consultation_section {
  margin-top: 56px;
}
@media only screen and (max-width: 768px) {
  .consultation_section {
    padding: 36px 20px 40px;
    border-radius: 16px;
  }
  .consultation_section + .consultation_section {
    margin-top: 40px;
  }
}

/* ========================================
   セクション01：上部
======================================== */
.consultation_intro {
  display: grid;
  grid-template-columns: 384px minmax(0, 1fr);
  grid-template-areas: "lead steps" "figure steps";
  column-gap: 80px;
  row-gap: 35px;
  align-items: start;
}
@media only screen and (max-width: 768px) {
  .consultation_intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lead" "steps" "figure";
    row-gap: 30px;
  }
}

.consultation_section--02 {
  /*	.consultation_note + .consultation_note{
  		margin-top: 8px;
  		@include sp {
  			margin-top: 0;
  		}
  	}*/
}
.consultation_section--02 .consultation_intro {
  grid-template-columns: 422px minmax(0, 1fr);
  column-gap: 80px;
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lead" "steps";
  }
}
.consultation_section--02 .consultation_step_title {
  width: 100%;
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_step_title {
    font-size: 1.8rem;
    gap: 6px;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_step_title .f_s {
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_step_title > span {
    padding: 3px 15px;
  }
}
.consultation_section--02 .consultation_note + .consultation_note {
  margin-top: 8px;
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_note + .consultation_note {
    margin-top: 0;
  }
}
@media only screen and (max-width: 768px) {
  .consultation_section--02 .consultation_note {
    margin-top: 8px;
  }
}

/* 左側テキスト */
.consultation_lead {
  grid-area: lead;
  min-width: 0;
}
.consultation_lead p {
  margin: 15px 0 0;
  font-size: 1.8rem;
  line-height: 1.777;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.consultation_lead p + p {
  padding-top: 1em;
}

.consultation_lead_title {
  display: inline-block;
  margin: 0;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.4;
  background: linear-gradient(transparent 80%, #FFF7CF 80%, #FFF7CF 95%, transparent 95%);
}
@media only screen and (max-width: 768px) {
  .consultation_lead_title {
    font-size: 2.8rem;
  }
}

/* 右側ステップ */
.consultation_steps {
  grid-area: steps;
  min-width: 0;
}

.consultation_step + .consultation_step {
  margin-top: 50px;
}
@media only screen and (max-width: 768px) {
  .consultation_step + .consultation_step {
    margin-top: 35px;
  }
}

.consultation_step_num {
  margin: 0 0 16px;
  font-size: 2.4rem;
  font-weight: 700;
}

.consultation_step_title {
  display: table;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 7px 24px;
  background: #FFF7CF;
  border-radius: 4px;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.458;
  letter-spacing: 0.1em;
}
@media only screen and (max-width: 768px) {
  .consultation_step_title {
    padding: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media only screen and (max-width: 768px) {
  .consultation_step_title > span {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 7px 12px;
    background-color: #FFF7CF;
    border-radius: 6px;
  }
}
.consultation_step_title .f_s {
  font-size: 2rem;
}

.consultation_step_text {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.777;
  letter-spacing: 0.08em;
}
@media only screen and (max-width: 768px) {
  .consultation_step_text {
    font-size: 1.6rem;
    line-height: 2;
  }
}

/* 左側画像 */
.consultation_figure {
  grid-area: figure;
  min-width: 0;
  width: 344px;
}
@media only screen and (max-width: 768px) {
  .consultation_figure {
    width: 272px;
    margin: auto;
  }
}
.consultation_figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   セクション01：下部画像
======================================== */
.consultation_detail {
  margin-top: 80px;
}
@media only screen and (max-width: 768px) {
  .consultation_detail {
    margin-top: 48px;
    padding-top: 48px;
    background-image: repeating-linear-gradient(to right, #E0E0E0 0 10px, transparent 10px 15px);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: top;
  }
}

.consultation_detail_label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  font-size: 2rem;
  font-weight: 500;
}
@media only screen and (max-width: 768px) {
  .consultation_detail_label {
    argin: 0 0 16px;
  }
}
.consultation_detail_label::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 4px solid #90D94B;
  border-radius: 50%;
  box-sizing: border-box;
}

.consultation_detail_frame {
  padding: 60px 90px;
  border: 3px solid #393939;
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(rgba(234, 229, 224, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 246, 209, 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
}
.consultation_detail_frame img {
  display: block;
  width: 100%;
  height: auto;
}
@media only screen and (max-width: 768px) {
  .consultation_detail_frame {
    border: none;
    padding: 0;
    background-image: none;
  }
}

.consultation_detail_note {
  margin: 12px 0 0;
  font-size: 1.4rem;
  text-align: right;
  line-height: 2;
  letter-spacing: 0.05em;
}
@media only screen and (max-width: 768px) {
  .consultation_detail_note {
    text-align: left;
  }
}

/* ========================================
   セクション02
======================================== */
.consultation_section_title {
  display: inline-block;
  margin: 0 0 26px;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.4375;
  letter-spacing: 0.14em;
}
.consultation_section_title span {
  display: inline;
  background: linear-gradient(transparent 80%, #FFF7CF 80%, #FFF7CF 95%, transparent 95%);
}
@media only screen and (max-width: 768px) {
  .consultation_section_title {
    font-size: 2.8rem;
    line-height: 1.46;
  }
}

.consultation_section_text {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.777;
  letter-spacing: 0.08em;
}
@media only screen and (max-width: 768px) {
  .consultation_section_text {
    font-size: 1.6rem;
    line-height: 2;
  }
}

.consultation_message {
  margin: 50px 0 0;
  padding: 30px 20px;
  border: 3px solid #393939;
  border-radius: 16px;
  background: #FFF7CF;
  text-align: center;
  letter-spacing: 0.08em;
  /*& + .consultation_section_text{
  	letter-spacing: 0.04em;
  	font-weight: 500;
  	@include sp {
  		font-size: 1.8rem;
  		line-height: 1.777;
  	}
  }*/
}
.consultation_message p {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.833;
}
.consultation_message span {
  display: inline-block;
  margin: 0 auto;
}
.consultation_message span span {
  background: linear-gradient(transparent 55%, #DDF0DC 55%, #DDF0DC 95%, transparent 95%);
  display: inline;
}
@media only screen and (max-width: 768px) {
  .consultation_message span span {
    padding-bottom: 5px;
  }
}
@media only screen and (max-width: 768px) {
  .consultation_message {
    margin: 25px 0 20px;
    padding: 32px 17px 30px;
    text-align: left;
    letter-spacing: 0;
  }
  .consultation_message p {
    font-size: 1.8rem;
    line-height: 2;
  }
}

.consultation_note {
  margin: 16px 0 0;
  font-size: 1.4rem;
  line-height: 1.428;
  text-align: right;
  letter-spacing: 0.04em;
}
@media only screen and (max-width: 768px) {
  .consultation_note {
    text-align: left;
  }
}

/* ========================================
   TOPへ戻る
======================================== */
.consultation_back {
  width: 462px;
  margin: 56px auto 0;
}
@media only screen and (max-width: 768px) {
  .consultation_back {
    width: 330px;
    margin-top: 48px;
  }
}
.consultation_back .common_btn .common_btn_in {
  min-height: 100px;
  font-weight: 500;
}
@media only screen and (max-width: 768px) {
  .consultation_back .common_btn .common_btn_in {
    min-height: 80px;
    font-size: 1.8rem;
  }
}
