@charset "utf-8";

/*----------------------------------
     胃・大腸カメラ・CT同日検査ページ専用スタイル
----------------------------------*/

/* ヒーローなしのため冒頭余白を調整 */
.page_main .page_recommendation:first-child{
  margin-top: 0;
  margin-bottom: 60px;
}

/* ============================================
   メリット（CT室写真＋テキスト）
   ============================================ */
.samedayct_merit{
  width: calc(100% - 2rem);
  max-width: 960px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.samedayct_merit_image{
  flex: 0 0 45%;
  max-width: 420px;
}
.samedayct_merit_image img{
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.samedayct_merit_text{
  flex: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}
.samedayct_merit_text p{
  margin-bottom: 1rem;
}

@media screen and (max-width: 991px){
  .samedayct_merit{
    max-width: 600px;
    flex-direction: column;
    gap: 20px;
  }
  .samedayct_merit_image{
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* 詳細リンク */
.samedayct_link_text{
  width: calc(100% - 2rem);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}
.samedayct_link_text a{
  color: #2C2A53;
  text-decoration: underline;
  transition: opacity 0.3s;
}
.samedayct_link_text a:hover{
  opacity: 0.7;
}

/* ============================================
   各検査で発見可能ながん
   ============================================ */
.samedayct_cancer{
  width: calc(100% - 2rem);
  max-width: 960px;
  display: flex;
  gap: 24px;
}
.samedayct_cancer_block{
  flex: 1;
  padding: 32px 24px;
  background-color: #FFF;
  border: 1px solid #EBEBED;
  border-radius: 4px;
  text-align: center;
}
.samedayct_cancer_label{
  margin-bottom: 16px;
  padding-bottom: 12px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: #2C2A53;
  border-bottom: 1px solid #2C2A53;
}
.samedayct_cancer_block p{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

@media screen and (max-width: 991px){
  .samedayct_cancer{
    max-width: 450px;
    flex-direction: column;
    gap: 16px;
  }
  .samedayct_cancer_block{
    padding: 24px 20px;
  }
}

/* ============================================
   即日CT検査セクション内のサブ見出し
   （「一般の患者様へ」「医療機関の先生方へ」）
   page_main_titleを継承しつつフォントサイズを調整
   ============================================ */
.samedayct_subhead{
  margin-top: 80px !important;
  font-size: 26px;
}

@media screen and (max-width: 991px){
  .samedayct_subhead{
    margin-top: 60px !important;
    font-size: 22px;
  }
}

/* ============================================
   手順ステップ（電話予約 ▼ 来院 ▼ ...）
   ============================================ */
.samedayct_step{
  margin-top: 16px;
}
.samedayct_step_item{
  padding: 12px 20px;
  background-color: #F5F5F5;
  border-radius: 4px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}
.samedayct_step_arrow{
  padding: 8px 0;
  text-align: center;
  color: #2C2A53;
  font-size: 14px;
}

/* ============================================
   最後のセクションの底部余白を詰める
   （sub_footer との間に余分な白が出るのを防ぐ）
   ============================================ */
#samedayct_05 > div:last-child{
  margin-bottom: 0 !important;
}
