@charset "utf-8";

/* =========================================================
   京都サイト / 京紫テーマ
   ========================================================= */

:root {
  --kyoto-purple: #5b3a6e;
  --kyoto-purple-dark: #3f284d;
  --kyoto-purple-light: #80618f;
  --kyoto-purple-pale: #f3eef5;

  --kyoto-red: #a33a45;
  --kyoto-gold: #b89b5e;

  --text: #332d35;
  --text-light: #756d76;

  --bg: #f8f6f3;
  --white: #ffffff;
  --border: #e3dce5;

  --shadow: 0 8px 30px rgba(63, 40, 77, 0.08);
}


/* ---------------------------------------------------------
   全体
   --------------------------------------------------------- */

#main-box {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--text);
  line-height: 1.9;
  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
}

#archive-single-wrap {
  max-width: 100%;
}


/* ---------------------------------------------------------
   タイトル
   --------------------------------------------------------- */

#single-tit {
  position: relative;
  margin: 0 0 45px;
  padding: 28px 35px 25px;
  color: var(--kyoto-purple-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-align: center;
}

#single-tit::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--kyoto-gold);
}

#single-tit::after {
  content: "KYOTO";
  display: block;
  margin-top: 8px;
  color: var(--kyoto-purple-light);
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .35em;
}


/* ---------------------------------------------------------
   メイン画像
   --------------------------------------------------------- */

#single-mainview {
  margin-bottom: 40px;
}

#single-mainview figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--kyoto-purple-pale);
  box-shadow: var(--shadow);
}

#single-mainview figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.35);
}

#single-mainview img {
  display: block;
  width: 100%;
  height: min(500px, 55vw);
  min-height: 280px;
  object-fit: cover;
}


/* ---------------------------------------------------------
   概要
   --------------------------------------------------------- */

#single-excerpt {
  position: relative;
  max-width: 850px;
  margin: 0 auto 80px;
  padding: 35px 45px;
  background: var(--white);
  border-left: 4px solid var(--kyoto-purple);
  box-shadow: var(--shadow);
}

#single-excerpt dd {
  margin: 0;
  color: #514a53;
  font-size: 15px;
  line-height: 2.15;
}


/* ---------------------------------------------------------
   セクション
   --------------------------------------------------------- */

.spot-single-sec {
  margin: 0 0 90px;
}

.spot-single-sec > h2,
.basic-h2 {
  position: relative;
  margin: 0 0 35px;
  padding: 0 0 15px 20px;
  color: var(--kyoto-purple-dark);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
}

.spot-single-sec > h2::before,
.basic-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 5px;
  height: 1.1em;
  background: var(--kyoto-purple);
}


/* ---------------------------------------------------------
   基本情報
   --------------------------------------------------------- */

#single-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

#single-info dt,
#single-info dd {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

#single-info dt {
  color: var(--kyoto-purple-dark);
  background: var(--kyoto-purple-pale);
  font-weight: 600;
  letter-spacing: .08em;
}

#single-info dd {
  color: var(--text);
}


/* ---------------------------------------------------------
   タグ / カテゴリ
   --------------------------------------------------------- */

.btn-link-cat,
.btn-link-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-link-cat a,
.btn-link-tag a {
  display: inline-block;
  padding: 5px 13px;
  color: var(--kyoto-purple);
  background: #faf8fb;
  border: 1px solid #d9cfdd;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: .25s ease;
}

.btn-link-cat a:hover,
.btn-link-tag a:hover {
  color: var(--white);
  background: var(--kyoto-purple);
  border-color: var(--kyoto-purple);
}


/* ---------------------------------------------------------
   アクセス
   --------------------------------------------------------- */

.access-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  margin: 0 0 10px;
  padding: 13px 18px 13px 48px;
  background: #fbfafb;
  border-bottom: 1px solid var(--border);
}

.access-list li::before {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--kyoto-purple);
  font-family: sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.access-list .train::before {
  content: "鉄";
}

.access-list .bus::before {
  content: "バ";
}

.access-list .car::before {
  content: "車";
}

.access-list a {
  color: var(--kyoto-purple);
  font-weight: 600;
  text-decoration: none;
}

.access-list a:hover {
  color: var(--kyoto-red);
  text-decoration: underline;
}


/* ---------------------------------------------------------
   Google Map
   --------------------------------------------------------- */

#single-gmap {
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

#single-gmap iframe {
  display: block;
  width: 100%;
  min-height: 400px;
}


/* ---------------------------------------------------------
   みどころ
   --------------------------------------------------------- */

.midokoro-list {
  margin: 0;
}

.midokoro-item {
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.midokoro-txt p {
  margin: 0 0 1.5em;
}

.midokoro-txt p:last-child {
  margin-bottom: 0;
}


/* ---------------------------------------------------------
   施設案内
   --------------------------------------------------------- */

.facility-info {
  margin-top: 45px;
}

.facility-info-group {
  margin-bottom: 45px;
}

.facility-info-group-title,
.calendar-section-heading {
  margin: 0 0 20px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--kyoto-purple);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.facility-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.facility-info-item {
  display: flex;
  min-height: 150px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(63, 40, 77, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.facility-info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.facility-info-img {
  width: 35%;
  min-width: 130px;
}

.facility-info-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.facility-info-content {
  flex: 1;
  padding: 20px;
}

.facility-info-title {
  margin: 0 0 8px;
  color: var(--kyoto-purple-dark);
  font-size: 1.05rem;
}

.facility-info-txt {
  color: var(--text-light);
  font-family: sans-serif;
  font-size: 13px;
}

.facility-info-link {
  margin-top: 15px;
}

.facility-info-link a {
  color: var(--kyoto-purple);
  font-size: 13px;
  text-decoration: none;
}

.facility-info-link a::after {
  content: " →";
}


/* ---------------------------------------------------------
   年間行事 / カレンダー
   --------------------------------------------------------- */

.event_calender {
  margin: 0;
  padding: 0;
}

.event_calender dt {
  float: left;
  clear: left;
  width: 150px;
  padding: 20px 15px;
  color: var(--kyoto-purple);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

.event_calender dd {
  margin-left: 150px;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.basic-h3 {
  margin: 50px 0 20px;
  padding-bottom: 10px;
  color: var(--kyoto-purple-dark);
  font-size: 1.3rem;
  border-bottom: 2px solid var(--kyoto-purple);
}

.basic-h4 {
  margin: 0 0 8px;
  color: var(--kyoto-purple-dark);
  font-size: 1rem;
}

.basic-h4 a {
  color: inherit;
  text-decoration: none;
}

.basic-h4 a:hover {
  color: var(--kyoto-red);
}

.event_calender p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}


/* ---------------------------------------------------------
   新しいカレンダーUI
   --------------------------------------------------------- */

.calendar-list {
  display: grid;
  gap: 18px;
}

.calendar-item {
  display: grid;
  grid-template-columns: 90px 150px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(63, 40, 77, .05);
}

.calendar-date {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  color: var(--white);
  background: var(--kyoto-purple);
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.calendar-img {
  min-height: 120px;
}

.calendar-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.calendar-content {
  padding: 18px 22px;
}

.calendar-content h4 {
  margin: 0 0 8px;
  color: var(--kyoto-purple-dark);
}

.calendar-txt p {
  margin: 0;
  color: var(--text-light);
  font-size: 13px;
}


/* ---------------------------------------------------------
   レビュー
   --------------------------------------------------------- */

#single-content {
  margin: 70px 0;
}

.wpcr3_respond_2 {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.wpcr3_table_2 {
  width: 100%;
  border-collapse: collapse;
}

.wpcr3_table_2 td {
  padding: 10px;
  border: 0;
}

.wpcr3_leave_text {
  margin-bottom: 15px;
  color: var(--kyoto-purple-dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.wpcr3_table_2 input[type="text"],
.wpcr3_table_2 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  color: var(--text);
  background: #fcfbfc;
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.wpcr3_table_2 input[type="text"]:focus,
.wpcr3_table_2 textarea:focus {
  border-color: var(--kyoto-purple);
  box-shadow: 0 0 0 3px rgba(91, 58, 110, .08);
}

.wpcr3_button_1 {
  display: inline-block;
  padding: 10px 25px;
  color: var(--white);
  background: var(--kyoto-purple);
  border-radius: 2px;
  cursor: pointer;
  transition: .25s ease;
}

.wpcr3_button_1:hover {
  background: var(--kyoto-purple-dark);
}


/* ---------------------------------------------------------
   前後記事
   --------------------------------------------------------- */

#nav-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 60px 0 30px;
}

#nav-prev-next a {
  display: block;
  padding: 22px 25px;
  color: var(--kyoto-purple-dark);
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: .25s ease;
}

#nav-prev-next a:hover {
  color: var(--white);
  background: var(--kyoto-purple);
}

#nav-prev-next dl {
  margin: 0;
}

#nav-prev-next dt {
  display: none;
}

#nav-prev-next dd {
  margin: 0;
}

#nav-prev-next span {
  display: block;
  margin-bottom: 5px;
  color: var(--kyoto-purple-light);
  font-family: sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
}

#nav-prev-next a:hover span {
  color: rgba(255,255,255,.7);
}


/* ---------------------------------------------------------
   一覧へ戻る
   --------------------------------------------------------- */

#btn-single-ichiran {
  margin: 40px auto 80px;
  text-align: center;
}

#btn-single-ichiran a {
  display: inline-block;
  min-width: 220px;
  padding: 14px 35px;
  color: var(--white);
  background: var(--kyoto-purple);
  border: 1px solid var(--kyoto-purple);
  text-decoration: none;
  letter-spacing: .12em;
  transition: .25s ease;
}

#btn-single-ichiran a:hover {
  color: var(--kyoto-purple);
  background: var(--white);
}


/* ---------------------------------------------------------
   再検索
   --------------------------------------------------------- */

.main-select-archive {
  max-width: 500px;
  margin: 0 auto;
}

.main-select-archive select {
  width: 100%;
  padding: 15px 45px 15px 18px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}


/* ---------------------------------------------------------
   スマートフォン
   --------------------------------------------------------- */

@media (max-width: 768px) {

  #main-box {
    width: calc(100% - 24px);
  }

  #single-tit {
    margin-bottom: 30px;
    padding: 20px 10px;
    font-size: 2rem;
  }

  #single-mainview img {
    height: 280px;
  }

  #single-excerpt {
    margin-bottom: 55px;
    padding: 25px;
  }

  .spot-single-sec {
    margin-bottom: 60px;
  }

  .spot-single-sec > h2,
  .basic-h2 {
    font-size: 1.35rem;
  }

  /* 基本情報を縦型に */
  #single-info {
    display: block;
  }

  #single-info dt {
    padding: 10px 15px;
    border-bottom: 0;
  }

  #single-info dd {
    padding: 14px 15px 20px;
  }

  /* 施設 */
  .facility-info-list {
    grid-template-columns: 1fr;
  }

  .facility-info-item {
    min-height: 130px;
  }

  /* 年間行事 */
  .event_calender dt {
    float: none;
    width: auto;
    padding: 12px 15px 3px;
    color: var(--kyoto-purple);
    border-top: 1px solid var(--border);
  }

  .event_calender dd {
    margin-left: 0;
    padding: 5px 15px 18px;
    border-top: 0;
  }

  /* カレンダー */
  .calendar-item {
    grid-template-columns: 70px 100px 1fr;
  }

  .calendar-content {
    padding: 12px;
  }

  .calendar-date {
    padding: 8px;
    font-size: 11px;
  }

  /* 前後記事 */
  #nav-prev-next {
    grid-template-columns: 1fr;
  }

  #nav-prev-next-l {
    order: 2;
  }

  #nav-prev-next-r {
    order: 1;
  }

  /* レビュー */
  .wpcr3_respond_2 {
    padding: 18px;
  }

  .wpcr3_table_2,
  .wpcr3_table_2 tbody,
  .wpcr3_table_2 tr,
  .wpcr3_table_2 td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .wpcr3_table_2 td {
    padding: 5px 0;
  }

}




