/* =========================================================
   Consultation Page Visual CSS
   Source: style-origin.css（復元）
   Scope: body.consultation only
========================================================= */

/* ------------------------------
   ページヘッダー
------------------------------ */
.consultation .momo-consult-header {
  background: linear-gradient(135deg, #fef4f7 0%, #fff 100%);
  padding: 80px 20px 60px;
  text-align: center;
}

.consultation .momo-consult-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.consultation .momo-consult-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #453336;
}

.consultation .momo-consult-note {
    color: #453336;
    font-weight: 500;
    line-height: 1.6;
}






/* ------------------------------
   相談の流れ（#consultation-flow）
------------------------------ */
.consultation .momo-contact-section {
  background: #ee85a1; /* 背景色が反映されない問題の復元 */
  padding: 40px 20px;
  /*padding: 50px 0;*/
  color: #fff;
}

/* 全体枠 */
.consultation .momo-consultation-flow {
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
}

/* 見出し */
.consultation .momo-consultation-flow h3 {
    font-size: 32px;
    margin-bottom: 20px !important;
    font-weight: 500;
  /*font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;*/
}

/*.consultation .momo-consultation-flow h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 12px auto 0;
  border-radius: 999px;
}*/

.consultation .flow-boxes {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin-bottom: 50px;
    margin: auto;
    gap: 20px;
  /*display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;*/
}

.consultation .flow-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 16px;
    background-color: #fff;
    color: #333;
  /*display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;*/
}

.consultation .momo-flow-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    min-width: 240px;
    height: 240px;
    min-height: 240px;
    padding: 10px;
    border-radius: 16px;
    background-color: #fff;
    color: #453336;
  /*flex: 0 0 220px;
  background: #fff0f3;
  padding: 20px;
  text-align: center;*/
}

.consultation .momo-flow-box h4 {
    margin-bottom: 0;
    padding: 0 0 16px;
    border: none;
    color: #eb6e90;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 1px;
  /*font-size: 1.2rem;
  color: #eb6e8f;
  font-weight: 700;
  margin-bottom: 15px;*/
}

.consultation .momo-flow-box img {
    max-height: 112px;
  /*width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;*/
}

.consultation .flow-desc {
    padding: 10px 32px 10px 10px;
    font-size: 22px;
    text-align: left;
  /*flex: 1;
  padding: 20px 25px;
  color: #453336;
  font-size: 20px;
  line-height: 1.7;
  text-align: left;*/
}

.consultation .flow-desc p {
  margin: 8px 0 0;
  font-size: 80%;
  /*font-size: 18px;*/
  color: #666;
  line-height: 1.7;
}

.consultation .flow-desc b {
  font-weight: 700;
  color: #453336;
}

.consultation .flow-desc b.pink {
  color: #eb6e8f;
}


/* ------------------------------
   子ども担当弁護士とは
------------------------------ */
.consultation .momo-consult-lawyer {
  background: #fff;
  padding: 40px 20px;
}

.consultation .momo-consult-lawyer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.consultation .momo-lawyer-content {
    padding: 40px;
    border-radius: 16px;
    border: 4px dashed #f8e1bc !important;
    box-shadow: 0 0 0 2px #fdf6ea;
    line-height: 1.8;
  /*border: 2px dashed #f2b4c6;
  border-radius: 14px;
  padding: 30px;
  margin-top: 30px;
  background: #fffdfd;
  text-align: left;*/
}

.consultation .momo-lawyer-content p {
    margin: 16px 0;
    color: #453336;
    font-size: 1.05rem;
  /*margin: 0 0 12px;
  color: #453336;
  line-height: 1.9;*/
}


/* ------------------------------
   モモができる支援（momo-support-content）
   ※ここは consultation スコープ内に閉じて副作用を防ぐ
------------------------------ */
.consultation .momo-support-content {
    background: #fef4f7;
  /*background: #fff0f3;*/
  padding: 40px 20px;
}

.consultation .momo-support-content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.consultation .momo-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
  /*display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;*/
}

.consultation .momo-support-card {
    background: #fff;
    padding: 40px 24px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
  /*background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  padding: 35px 25px 25px;
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;*/
}

.consultation .momo-support-card .inner {
  display: flex;
  flex-direction: column;
  /*gap: 20px;*/
}

.consultation .momo-support-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
  /*display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;*/
}

.consultation .momo-support-icon img {
    width: auto;
    height: 100%;
  /*width: 120px;
  height: auto;*/
}

.consultation .momo-support-desc {
    min-height: 80px;
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    line-height: 1.7;
    margin-bottom: 25px;
  /*color: #453336;
  line-height: 1.8;
  font-size: 1rem;*/
}

.consultation .momo-support-detail {
    min-height: 150px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fef4f7;
    border-radius: 10px;
    text-align: left;
  /*background: #fff8fa;
  border-radius: 12px;
  padding: 15px;
  text-align: left;
  font-size: 0.95rem;
  color: #453336;*/
}

.consultation .momo-support-card .momo-btn {
    padding: 12px;
    width: 100%;
    font-size: 100%;
    border-radius: 100px;
    border-width: 3px;
    line-height: 1.8;
  /*margin-top: 25px;
  display: inline-block;
  width: 100%;
  text-align: center;*/
}


/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 1120px) {
    .consultation .momo-support-title {
        font-size: calc(28px + 2 * (100vw - 1024px) / 96) !important;
    }
}

/* 1024px */
@media (max-width: 1024px) {
  .consultation .momo-consult-header .momo-phone-number {
    font-size: 40px;
  }

  /*.consultation .momo-support-grid {
    gap: 20px;
  }*/
}

@media (max-width: 1023px) {
  .consultation .momo-support-grid {
      grid-template-columns: 1fr;
  }
  .consultation .momo-support-card {
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  .consultation .momo-support-card .inner {
    /*flex-direction: row;
    align-items: baseline;*/
    gap: 20px;
  }
  .consultation .momo-support-card .momo-support-title {
    margin-bottom: 10px !important;
    padding: 0;
  }
  .consultation .momo-support-card .item {
    display: flex;
    flex-direction: column-reverse;
    flex: 1;
  }
  .consultation .momo-support-icon {
    margin: 10px 0 0;
  }
  /*.consultation .momo-support-icon img {
    width: 80px;
    height: auto;
  }*/
  .consultation .momo-support-desc {
    min-height: auto;
    font-size: 16px;
    font-weight: 500;
  }
  .consultation .momo-support-content .momo-btn.momo-btn-pink-outline {
    width: auto;
    min-width: 280px;
    font-size: 100%;
  }
}

@media (max-width: 768px) {
  .consultation .flow-desc {
      font-size: 20px;
  }
  .consultation .momo-support-title {
    font-size: calc(24px + 8 * (100vw - 320px) / 448) !important;
    margin-bottom: calc(20px + 20 * (100vw - 320px) / 448) !important;
  }
    /*.consultation .momo-consult-title {
        font-size: 1.8rem;
    }*/
    
    .consultation .momo-consult-phone-number a {
        font-size: 1.8rem;
    }
    
    .consultation .momo-problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .consultation .momo-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
  .consultation .momo-consult-header {
    padding: 60px 20px 50px;
  }

  .consultation .momo-consult-title {
    font-size: 1.8rem;
  }

  .consultation .momo-consult-header .momo-phone-number {
    font-size: 36px;
  }

  .consultation .flow-box {
    flex-direction: column;
    text-align: center;
  }

  .consultation .momo-flow-box {
    width: 100%;
    flex: none;
  }

  .consultation .flow-desc {
    text-align: left;
    font-size: 18px;
  }

  .consultation .momo-support-card {
    width: 100%;
    max-width: 420px;
  }
}

/* 500px */
@media (max-width: 500px) {
  .consultation .momo-consult-header .momo-phone-number {
    font-size: 32px;
  }

  .consultation .flow-desc {
    padding: 18px 18px;
  }
      .consultation .momo-support-content .momo-btn.momo-btn-pink-outline {
        min-width: 232px;
    }
}




.consultation .momo-support-detail {
  display: none !important;
}






/*===============================================================================================*/
/*=== [SELF REFACTORING]
=================================================================================================*/

/*-----------------------------------------------------------
  MAIN VISUAL
-----------------------------------------------------------*/
 .consultation .mv {
  background: linear-gradient(135deg, #fef4f7 0%, #fff 100%);
}
.consultation .mv .inner  {
  max-width: 900px;
}
.consultation .mv .consult-phone {
    background: transparent;
    padding: 0;
    margin: 0;
}
.consultation .mv .consult-phone .ttl {
  padding: 0;
}
.consultation .mv .consult-phone .ttl:after {
  display: none;  
}
.consultation .mv .phone-number a {
    color: var(--consult-phone-number-color) !important;
}
.consultation .mv .note span {
	display: inline-block;
	font-weight: 700;
	padding-top: 4px;
}
.consultation .consult-phone .note {
  text-align: center;
}

@media (max-width: 767px) {
    .consultation .consult-phone .ttl {
        font-size: 1.8rem !important;
  }
}

@media (max-width: 500px) {
  .consultation .mv {
      padding: calc(30px + 30 * (100vw - 320px) / 180) calc(10px + 10 * (100vw - 320px) / 180) calc(20px + 20 * (100vw - 320px) / 180);
  }
  .consultation .flow-boxes .flow-box {
    width: 100%;
  }
  .consultation .consult-phone .note {
    text-align: left;
  }
}