@import url("hamburger_20251230_2000.css");
/* ================================
   基本設定
================================ */

.container {
  font-family: "Noto Sans JP", sans-serif !important;
}

.content {
  width: calc(100% - 25%);
}

.mb-5 {
  margin-bottom: 0 !important;
}

.col-lg-4 {
  flex: 0 0 auto;
  width: 25%;
}

/* キャッチコピー */
.top-catch {
  font-size: 18px;
  color: #c62828;
  font-weight: bold;
}

/* スライダー枠 */
.slider-wrapper {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 仮スライド画像 */
.slide-img {
  background-color: #e0e0e0;
  width: 100%;
  height: 80px;
  border-radius: 4px;
}

/* 左右の矢印 */
.slider-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
}

.slider-arrow span {
  line-height: 1;
}

.slider-arrow:hover {
  background-color: #f3f3f3;
}

/* 赤ボタン */
.btn-red {
  width: 30%;
  background-color: #c62828;
  color: #fff !important;
  padding: 15px 50px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  transition: opacity 0.2s;
}

.btn-red.four {
  width: 24%;
  background-color: #c62828;
  color: #fff !important;
  padding: 15px 25px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  transition: opacity 0.2s;
  margin-bottom: 40px;
}


.btn-red:hover,
.btn-red.four:hover {
  opacity: 1;
  color: #fff !important;
  background-color: #c62828;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .slider-wrapper {
    padding: 0;
  }

  .slide-img {
    height: 80px;
  }

  .btn-red {
    width: 100%;
    text-align: center;
  }
}

/* セクション余白 */
section {
  margin-bottom: 80px;
}

/* 見出し */
section h2 {
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 24px;
}


/* セクション全体 */
.online-section {
  padding-top: 30px;
}

/* タイトル */
.online-title {
  font-size: 26px;
  font-weight: bold;
  color: #c62828;
  border-left: 5px solid #c62828;
  padding-left: 12px;
}

/* 説明文 */
.online-desc {
  font-size: 16px;
  padding-left: 45px;
  line-height: 1.8;
  text-align: left;
}

.online-note {
  font-size: 13px;
  padding-left: 45px;
  padding-bottom: 20px;
}

/* アイコン丸枠 */
.icon-circle {
  width: 100px;
  height: 100px;
  align-content: center;
  border-radius: 50%;
  background-color: #c62828;
  box-shadow: 0px 0px 0px 4px rgba(211, 47, 47, 0.16);
}

/* アイコン文字 */
.icon-text {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .icon-circle {
    width: 95px;
    height: 95px;
  }

  .icon-text {
    font-size: 13px;
  }
}

/* ================================
   ヒーロースライダー
================================ */
#hero .carousel-item img {
  object-fit: cover;
  border-radius: 12px;
}


/* ================================
   オンライン診療導線
================================ */
#online-guide {
  background-image: url(../images/bg.png);
  background-size: cover;
  font-weight: 700;
  padding: 40px 10px;
  border-radius: 5px;
}


#online-guide .btn {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 10px;
  border-radius: 5px;
  border: 1px solid #D32F2F;
  background-color: #fff;
}

#online-guide .btn:hover{
  color: #D32F2F;
}


#online-guide h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}

#online-guide p {
  color: #fff;
  line-height: 24px;
  text-align: left;
  font-weight: 400;
  width: fit-content;
  margin: auto;
}

#online-guide .col-md-6 {
  color: #fff;
  width: fit-content;
  margin-bottom: 10px;
}

/* ================================
   医院紹介
================================ */
#clinic-info .col-md-6 {
  width: 45%;
  border: 1px solid #D32F2F;
  padding: 30px 25px;
}

#clinic-info .col-md-6 ul li {
  list-style: none;
}

#clinic-info h5 {
  font-size: 18px;
  color: #D32F2F;
  margin-bottom: 30px;
}

#clinic-info img {
  border-radius: 10px;
}


/* ================================
   タブ（ED/AGA/診療の流れ）
================================ */

/* タブのコンテナ全体 */
.tab-container {
  padding-top: 5px;
  /* 必要に応じて調整 */
}

/* タブナビゲーション：共通の下線を持つ親要素 */
.tab-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 2px solid #ccc;
}

/* タブの各項目 */
.tab-item {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

/* アクティブなタブ */
.tab-item.active {
  color: #cc0000;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ccc;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  margin-bottom: -2px;
}


.tab-pane {
  display: none;
  padding: 20px 0;
}

.tab-pane.active {
  display: block;
}

.med-nav {
  display: flex;
}

.med-nav li {
  width: 20%;
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.med-nav li img {
  width: 50%;
  margin: auto;
}

/* 全体のコンテナ */
.flow-container {
  margin: 0 auto;
  background-color: #fff;
}

/* 各ステップのセクション */
.flow-step {
  display: flex;
  border: 1px solid #eee;
  margin-bottom: 20px;
  background: #FFF2F2;
  border-radius: 8px;
  align-items: center;
}

/* 画像ボックス */
.flow-image-box {
  width: 40%;
  overflow: hidden;
}

.flow-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: unset;
}

#online_sinryo a{
  margin: auto;
  width: 50% !important;
}

/* コンテンツボックス */
.flow-content-box {
  width: 60%;
  background: #FFF2F2;
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

/* ステップ番号（01, 02, 03） */
.flow-number {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #c00000;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 4px rgba(211, 47, 47, 0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* タイトル（受付、診察、お会計） */
.flow-title {
  width: 80%;
  font-size: 18px;
  font-weight: bold;
  color: #c00000;
}

/* 説明テキスト */
.flow-text {
  width: 100%;
  font-size: 16px;
  line-height: 1.8;
  color: #D32F2F;
}

/* レスポンシブ対応 */
@media (max-width: 820px) {
  .flow-step {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .flow-image-box,
  .flow-content-box {
    width: 100%;
  }

  .flow-image-box {
    height: 200px;
  }

  .flow-content-box {
    padding: 15px;
  }

  .flow-title {
    font-size: 20px;
  }

  .flow-number {
    background-color: #c00000;
    margin-left: 0;
  }
}

/* ================================
   FAQ（アコーディオン）
================================ */
/* 全体のコンテナ */

/* 各質問と回答のセット */
.faq-item {
  margin-bottom: 30px;
}

/* 質問エリア */
.faq-question {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Qマークのアイコン */
.q-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: #c00000;
  /* 赤色 */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  /* 丸い形 */
  flex-shrink: 0;
  /* 縮小させない */
  margin-right: 10px;
}

/* 質問テキスト */
.question-text {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}


.answer-text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-top: 0;
  margin-bottom: 10px;
}

.answer-text:last-child {
  margin-bottom: 0;
  /* 最後の段落は下マージンなし */
}

/* 注釈 (※) のスタイル */
.answer-text.note {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}


/* メインタイトル (インフォメーション) */
.main-heading {
  font-size: 24px;
  font-weight: bold;
  color: #c00000;
  border-bottom: 3px solid #c00000;
  /* 太い赤線 */
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* 各セクションのボックス */
.section-box {
  margin-bottom: 40px;
  padding-left: 30px;
}

/* セクションタイトル (お知らせ, お役立ち情報, お支払い方法) */
.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #c00000;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* --- お知らせ・お役立ち情報リスト --- */

.info-list {
  list-style: none;
  padding: 0px 30px;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.info-list li:last-child {
  border-bottom: none;
}

/* 日付 */
.date {
  font-size: 14px;
  color: #666;
  width: 90px;
  flex-shrink: 0;
}

/* タグ（お知らせ、EDなど） */
.tag {
  font-size: 12px;
  color: #fff;
  padding: 2px 8px;
  margin-right: 15px;
  border-radius: 3px;
  flex-shrink: 0;
}

.tag.notice {
  background-color: #c00000;
  /* お知らせタグの背景色 (赤) */
}

.tag.ed {
  background-color: #e38a8a;
  /* EDタグの背景色 (少し薄い赤) */
}

/* リンク */
.info-list a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.info-list a:hover {
  color: #c00000;
  text-decoration: underline;
}


/* --- お支払い方法テーブル --- */

.payment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.payment-table th,
.payment-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

/* 支払い方法の列 (th) */
.payment-method {
  width: 25%;
  background: #E57373;
  color: #fff;
  font-weight: bold;
  border-right: none;
}

/* 詳細の列 (td) */
.payment-detail {
  width: 75%;
  background-color: #fff;
  border-left: none;
  line-height: 1.6;
}

/* モバイル対応（簡易版） */
@media (max-width: 600px) {
  .info-container {
    padding: 10px;
  }

  .info-list li {
    flex-wrap: wrap;
    /* 狭い画面で折り返す */
  }

  .date,
  .tag {
    margin-bottom: 5px;
  }

  .info-list a {
    width: 100%;
    /* リンクを次の行に配置 */
    font-size: 14px;
  }

  /* テーブルを積み重ねて表示 */
  .payment-table,
  .payment-table tbody,
  .payment-table tr,
  .payment-table th,
  .payment-table td {
    display: block;
    width: 100%;
  }

  .payment-table tr {
    margin-bottom: 10px;
  }

  .payment-method {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .payment-detail {
    border-top: none;
    background-color: #f9f9f9;
    /* モバイルでの背景色 */
  }
}

/* ================================
   汎用：画像の丸角
================================ */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


/* ================================
   SP対応（必要最低限）
================================ */
@media (max-width: 1024px) {
  iframe {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .content {
    width: 100%;
  }

  section {
    margin-bottom: 60px;
  }

  .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .online-section .container {
    padding-left: 0;
    padding-right: 0;
  }

  .online-section .d-flex {
    padding: 0 25px;
  }

  .online-section .col-6 {
    width: 30%;
  }

  .online-section .slider-wrapper .slider-item:nth-child(2) {
    display: none;
  }

  .online-desc {
    padding-left: 0;
  }

  .online-note {
    padding-left: 0;
  }

  #online-guide {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    background: linear-gradient(rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.5)), url(../images/clinic/5-step/step-4.png) center / cover no-repeat;
  }

  #online-guide h2 {
    font-size: 20px;
  }

  #online-guide p {
    font-size: 16px;
    text-align: left;
  }

   #online_sinryo a {
    width:80%;
  }

  .nav-tabs .nav-link {
    padding: 10px 14px;
    font-size: 15px;
  }

  #clinic-info .col-md-6 {
    width: 100%;
    border: 1px solid #D32F2F;
    padding: 15px 10px;
  }

  .flow-title {
    width: 50%;
  }

  .tab-item {
    padding: 5px;
    font-size: 14px;
    width: 40%;
  }

  .med-nav {
    padding-left: 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .med-nav li {
    width: 40%;
  }

  .med-nav li img {
    width: 75%;
  }

  .btn-red.four {
    width: 48%;
    padding: 15px 0px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .faq-container {
    margin-top: 30px;
  }

  .section-box.payment-section {
    padding-left: 0;
  }

  .section-box {
    padding-left: 15px;
  }

  .info-list {
    padding: 0px 15px;
  }
}


/* ================================
  改行
================================ */
.sp-only {
  display: none!important;
}

.pc-only {
  display: inline!important;
}

@media (max-width: 765px) {
  .sp-only {
    display: inline!important;
  }

  .pc-only {
    display: none!important;
  }
}


/* 親項目 */
.sidebar-menu .menu-item.parent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.sidebar-menu .menu-item.parent a {
  color: #c40000;
  text-decoration: none;
}

/* 赤丸アイコン */
.sidebar-menu .menu-icon {
  width: 18px;
  height: 18px;
  background: #d80000;
  border-radius: 50%;
  position: relative;
}

.sidebar-menu .menu-icon::after {
  content: "";
  width: 10px;
  height: 10px;
  background: url("images/icons/link.png") no-repeat center/contain;
  position: absolute;
  top: 4px;
  left: 4px;
}

/* 子階層 */
.sidebar-menu .menu-children {
  margin-left: 18px;
  padding-left: 14px;
  border-left: 2px solid #f1bcbc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-menu .menu-children a {
  font-size: 14px;
  color: #c40000;
  text-decoration: none;
}

.sidebar-menu .menu-children a:hover {
  text-decoration: underline;
}