
/* ========================================
   SCHEDULEページ（ID：2）
======================================== */


/* ----------------------------------------
   01. ページ全体・余白
---------------------------------------- */

/* H1と本文の間隔 */
#body_wrap.page-id-2 .l-mainContent__inner > .post_content {
  margin-top: 0;
}

/* 最初のフルワイドの上余白 */
#body_wrap.page-id-2 .post_content > .swell-block-fullWide:first-child {
  margin-top: 0 !important;
}

/* ページタイトル下の余白 */
#body_wrap.page-id-2 .c-pageTitle {
  margin-bottom: 20px;
}


/* ----------------------------------------
   02. カード型レイアウト
---------------------------------------- */

/* 左右カラム */
#body_wrap.page-id-2 .schedule-columns {
  align-items: stretch;
  gap: 24px;
}

/* カラム内部 */
#body_wrap.page-id-2 .schedule-columns > .wp-block-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 共通カード */
#body_wrap.page-id-2 .schedule-card,
#body_wrap.page-id-2 .schedule-line-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
}


/* ----------------------------------------
   03. 見出し・サブタイトル
---------------------------------------- */

/* カード見出し */
#body_wrap.page-id-2 .schedule-card h2,
#body_wrap.page-id-2 .schedule-line-card h2 {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: #d39f9f;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

/* サブタイトル */
#body_wrap.page-id-2 .schedule-card .reservation-subtitle,
#body_wrap.page-id-2 .schedule-line-card .reservation-subtitle {
  width: 100%;
  margin: 4px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eedddd;
  color: #886e6e;
  font-size: 12px;
  text-align: center;
}


/* ----------------------------------------
   04. アーティスト名
---------------------------------------- */

#body_wrap.page-id-2 .schedule-artist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .05em;
  text-align: center;
}

#body_wrap.page-id-2 .schedule-artist span {
  display: inline-block;
  padding: 2px 7px;
  color: #d39f9f;
  border: 1px solid rgba(211, 159, 159, .45);
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.4;
  transform: translateY(-1px);
}


/* ----------------------------------------
   05. カレンダー
---------------------------------------- */

#body_wrap.page-id-2 .schedule-card #calendar {
  width: 100%;
  min-width: 0;
}


/* ----------------------------------------
   06. カレンダー下の注釈
---------------------------------------- */

#body_wrap.page-id-2 .schedule-card .schedule-note {
  margin: 8px 0 20px;
  color: #a58b8b;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .03em;
  text-align: center;
}


/* ----------------------------------------
   07. クリニック色分け一覧
---------------------------------------- */

#body_wrap.page-id-2 .schedule-card .clinic-legend {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* 凡例のアンカーリンク */
#body_wrap.page-id-2 .clinic-legend__item {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}


/* ----------------------------------------
   08. LINE予約エリア
---------------------------------------- */

/* コンテンツ全体 */
#body_wrap.page-id-2 .schedule-line-card .reservation-line-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding-top: 20px;
  box-sizing: border-box;
}

/* 案内文 */
#body_wrap.page-id-2 .schedule-line-card .reservation-line-content p {
  width: 100%;
  margin: 0 0 16px;
  line-height: 1.9;
  text-align: center;
}

/* 説明文とボタンの余白 */
#body_wrap.page-id-2 .schedule-line-card .reservation-line-content p:has(+ .swell-block-button) {
  margin-bottom: 24px;
}

/* LINEアイコン背景 */
#body_wrap.page-id-2 .schedule-line-card .reservation-line-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #f8eeee;
}

/* LINEアイコン */
#body_wrap.page-id-2 .schedule-line-card .reservation-line-icon .icon-line {
  color: #d39f9f;
  font-size: 32px;
  line-height: 1;
  transform: translateY(3px);
}

/* LINE予約の注釈 */
#body_wrap.page-id-2 .schedule-line-card .reservation-note {
  margin: 12px 0 0;
  color: #A58B8B;
  font-size: 11px !important;
  line-height: 1.8;
  letter-spacing: .03em;
  text-align: center;
}

/* ボタンと注釈の余白 */
#body_wrap.page-id-2 .schedule-line-card .swell-block-button:has(+ .reservation-note) {
  margin-bottom: 12px;
}

/* LINE予約ボタンのサイズ・影 */
#body_wrap.page-id-2 .schedule-line-card .swell-block-button a {
  min-height: 46px;
  padding: 12px 24px;
  box-shadow: none !important;
  filter: none;
}


/* ----------------------------------------
   09. クリニック詳細一覧
---------------------------------------- */

#body_wrap.page-id-2 .clinic-list {
  max-width: 900px;
  margin: 80px auto 0;
}

/* 見出し */
#body_wrap.page-id-2 .clinic-list__heading {
  margin-bottom: 40px;
  text-align: center;
}

#body_wrap.page-id-2 .clinic-list__heading h2 {
  margin: 0;
  color: #d39f9f;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.2;
}

#body_wrap.page-id-2 .clinic-list__heading p {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: .08em;
}

/* 一覧 */
#body_wrap.page-id-2 .clinic-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
}

/* 各クリニック */
#body_wrap.page-id-2 .clinic-item {
  padding: 24px 4px 22px;
  border-bottom: 1px solid #f0e2e2;
  scroll-margin-top: 100px;
}

#body_wrap.page-id-2 .clinic-item__area {
  margin: 0 0 10px;
  color: #d39f9f;
  font-size: 13px;
  letter-spacing: .08em;
}

/* クリニック名 */
#body_wrap.page-id-2 .clinic-item .clinic-item__name {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08em;
}

/* 住所 */
#body_wrap.page-id-2 .clinic-item__address {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .03em;
}

/* リンク */
#body_wrap.page-id-2 .clinic-item__links {
  display: flex;
  gap: 22px;
  margin-top: 14px;
}

#body_wrap.page-id-2 .clinic-item__links a {
  color: #d39f9f;
  font-size: 10px;
  letter-spacing: .08em;
  text-decoration: none;
}


/* ----------------------------------------
   10. ホバー
---------------------------------------- */

@media (hover: hover) {

  #body_wrap.page-id-2 .clinic-legend__item,
  #body_wrap.page-id-2 .clinic-item__links a {
    transition: opacity .3s ease;
  }

  #body_wrap.page-id-2 .clinic-legend__item:hover,
  #body_wrap.page-id-2 .clinic-item__links a:hover {
    opacity: .6;
  }

}


/* ========================================
   PC（960px以上）
======================================== */

@media (min-width: 960px) {

  /* カラム全体の最大幅 */
  #body_wrap.page-id-2 .schedule-columns {
    width: min(1100px, calc(100vw - 80px));
    max-width: none;
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }

}


/* ========================================
   PC・タブレット（782px以上）
======================================== */

@media (min-width: 782px) {

  /* クリニック色分け一覧：2列 */
  #body_wrap.page-id-2 .schedule-card .clinic-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #body_wrap.page-id-2 .schedule-card .clinic-legend > * {
    min-width: 0;
    box-sizing: border-box;
  }

}


/* ========================================
   スマホ（781px以下）
======================================== */

@media (max-width: 781px) {

  /* カラム間余白 */
  #body_wrap.page-id-2 .schedule-columns {
    gap: 24px;
  }

  /* SWELL側の余白をリセット */
  #body_wrap.page-id-2 .schedule-columns > .wp-block-column + .wp-block-column {
    margin-top: 0 !important;
  }

  /* カード余白 */
  #body_wrap.page-id-2 .schedule-card,
  #body_wrap.page-id-2 .schedule-line-card {
    padding: 20px 16px;
  }

  /* カード見出し */
  #body_wrap.page-id-2 .schedule-card h2,
  #body_wrap.page-id-2 .schedule-line-card h2 {
    font-size: 18px;
  }

  /* LINE予約エリア */
  #body_wrap.page-id-2 .schedule-line-card .reservation-line-content {
    flex: none;
    padding-top: 0;
  }

  /* LINE予約の説明文 */
  #body_wrap.page-id-2 .schedule-line-card .reservation-line-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  /* LINE予約カードの下余白 */
  #body_wrap.page-id-2 .schedule-line-card {
    padding-bottom: 32px;
  }

  /* カレンダー注釈 */
  #body_wrap.page-id-2 .schedule-card .schedule-note {
    font-size: 10px;
  }

}


/* ========================================
   クリニック詳細一覧：スマホ
======================================== */

@media (max-width: 767px) {

  #body_wrap.page-id-2 .clinic-list {
    margin-top: 60px;
  }

  #body_wrap.page-id-2 .clinic-list__heading {
    margin-bottom: 25px;
  }

  #body_wrap.page-id-2 .clinic-list__heading h2 {
    font-size: 32px;
  }

  #body_wrap.page-id-2 .clinic-list__grid {
    grid-template-columns: 1fr;
  }

  #body_wrap.page-id-2 .clinic-item {
    padding: 20px 2px 18px;
  }

}


/* ========================================
   SCHEDULE：調整
======================================== */

/* フルワイド余白 */
@media (min-width: 960px) {

  #body_wrap.page-id-2 .fw-pc-pt-0 {
    padding-top: 0 !important;
  }

  #body_wrap.page-id-2 .fw-pc-pb-20 {
    padding-bottom: 2em !important;
  }

}

@media (max-width: 959px) {

  #body_wrap.page-id-2 .fw-sp-pt-0 {
    padding-top: 0 !important;
  }

  #body_wrap.page-id-2 .fw-sp-pb-20 {
    padding-bottom: 2em !important;
  }

}
