@charset "utf-8";

/* ===========================================
　　main_visual
============================================ */
.main_visual {
  position: relative;
}
.main_visual_heading {
  position: absolute;
  inset: 0;
  text-align: center;
  width: 60%;
  margin: auto;
  height: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  max-width: fit-content;
}
.main_visual_heading > img {
  width: auto;
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .main_visual_heading {
    width: 36%;
  }
}
/* ===========================================
　　ページリンク
============================================ */
.schedule_link_item_time {
  color: var(--primary-color);
  margin-top: 4px;
}
.inline_bg--color {
  background-color: var(--season-color);
  padding: 0.4em;
  color: #fff;
}
.day_list {
  display: grid;
  gap: 8px;
  grid-template-columns: calc((100% - 8px) / 11 * 6) 1fr;
}
.schedule_link_list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}
.schedule_link_item {
  display: grid;
}
.schedule_link_item_img {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.schedule_link_item_img > img {
  object-fit: cover;
  display: block;
  height: 100%;
  width: auto;
}
/* ===========================================
　　schedule_item
============================================ */
.day_bar {
  font-size: var(--text-size_lv4);
}
.schedule_item_wrap,
.schedule_box_wrap {
  display: grid;
  gap: var(--space-lg);
}
.schedule_box {
  display: grid;
  gap: var(--space-sm) var(--space-md);
}
.schedule_header {
  display: grid;
  grid-template-columns: min(14%, 50px) 1fr;
  gap: 2em;
  align-items: center;
}
.section_heading_sub {
  margin-left: 1em;
}
.schedule_time {
  display: grid;
  gap: 2px;
  justify-items: center;
  font-size: 1.6rem;
}
.schedule_item {
  display: grid;
  gap: var(--space-xs);
}
/*画像*/
.schedule_box_img {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.schedule_box_img_sub {
  margin-top: 38%;
  width: 40%;
  align-self: flex-end;
  -webkit-align-self: flex-end;
  -moz-align-self: flex-end;
  -ms-align-self: flex-end;
  z-index: 2;
}
.schedule_box_img_main {
  width: 85%;
  -webkit-align-self: baseline;
  -moz-align-self: baseline;
  -ms-align-self: baseline;
  align-self: baseline;
  margin-left: -25%;
}
/*大小画像　逆並び*/
.schedule_box_img.is-reverce {
  flex-direction: row-reverse;
}
.schedule_box_img.is-reverce .schedule_box_img_main {
  margin-right: -25%;
  margin-left: 0;
}
@media screen and (min-width: 1024px) {
  .schedule_item {
    grid-template-columns: 90px 1fr;
    gap: var(--space-sm);
  }
  .schedule_time {
    font-size: 1.8rem;
  }
  .schedule_header {
    display: block;
    position: relative;
  }
  .schedule_header::after {
    content: "";
    position: absolute;
    top: 140px;
    left: calc(50% - 1px);
    width: 1px;
    height: calc(100% - 140px);
    background-color: var(--primary-color);
  }
  .schedule_box {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }
  .schedule_item:nth-of-type(even) .schedule_box {
    flex-direction: row;
  }
  .schedule_box_img {
    width: 60%;
  }
  .schedule_box_body {
    width: calc(40% - var(--space-sm));
  }
  .schedule_item.is-no-header {
    position: relative;
  }
  .schedule_item.is-no-header::before {
    content: "";
    margin-inline: calc(50% - 1px);
    top: 140px;
    left: calc(50% - 1px);
    width: 1px;
    margin-top: -80px;
    height: calc(100% + 80px);
    background-color: var(--primary-color);
  }
  .schedule_item.is-no-header .schedule_box {
    grid-area: 1 / 2 / 2 /3;
  }
}

/* ===========================================
　　時計
============================================ */
.schedule_time_clock {
  font-size: 100px;
  position: relative;
  width: 100%;
  max-height: 90px;
  padding-top: calc(100% - 2px);
  border: 1px solid #c7a957;
  border-radius: 100%;
  background-color: #d1c278;
  margin: auto;
  box-sizing: border-box;
}
/* 長針 */
.schedule_time_clock::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: calc(50% - 1px);
  width: 38%;
  height: 2px;
  background-color: #fff;
  transform-origin: calc(100% - 1px) center;
  transform: rotate(90deg); /* 0 = 90dge * 30分 = 270dge*/
}

/* 短針 　9時起点　+1時間＝+30度*/
.schedule_time_clock::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: calc(50% - 1px);
  width: 26%;
  height: 2px;
  background-color: #fff;
  transform-origin: calc(100% - 1px) center;
}
/* ==========================
　　【長針】分のコントロール（12時＝90deg起点）
=========================== */
.m-00::before {
  transform: rotate(90deg);
} /* 00分は真上 */
.m-30::before {
  transform: rotate(270deg);
} /* 30分は真下 */

/* ===============================     　　
【短針】時のコントロール（9時＝0deg起点）]
=============================== */

/* --- 3時 --- (9時から6時間後 = 180度) */
.h-3.m-00::after {
  transform: rotate(180deg);
}
.h-3.m-30::after {
  transform: rotate(195deg);
} /* 180 + 15 */

/* --- 4時 --- (9時から7時間後 = 210度) */
.h-4.m-00::after {
  transform: rotate(210deg);
}
.h-4.m-30::after {
  transform: rotate(225deg);
} /* 210 + 15 */

/* --- 5時 --- (9時から8時間後 = 240度) */
.h-5.m-00::after {
  transform: rotate(240deg);
}
.h-5.m-30::after {
  transform: rotate(255deg);
} /* 240 + 15 */

/* --- 6時 --- (9時から9時間後 = 270度) */
.h-6.m-00::after {
  transform: rotate(270deg);
}
.h-6.m-30::after {
  transform: rotate(285deg);
} /* 270 + 15 */

/* --- 7時 --- (9時から10時間後 = 300度) */
.h-7.m-00::after {
  transform: rotate(300deg);
}
.h-7.m-30::after {
  transform: rotate(315deg);
} /* 300 + 15 */

/* --- 8時 --- (9時から11時間後 = 330度) */
.h-8.m-00::after {
  transform: rotate(330deg);
}
.h-8.m-30::after {
  transform: rotate(345deg);
} /* 330 + 15 */

/* --- 9時 --- (9時から0時間後 = 0度) */
.h-9.m-00::after {
  transform: rotate(0deg);
}
.h-9.m-30::after {
  transform: rotate(15deg);
} /* 0 + 15 */

/* --- 10時 --- (9時から1時間後 = 30度) */
.h-10.m-00::after {
  transform: rotate(30deg);
}
.h-10.m-30::after {
  transform: rotate(45deg);
} /* 30 + 15 */

/* --- 11時 --- (9時から2時間後 = 60度) */
.h-11.m-00::after {
  transform: rotate(60deg);
}
.h-11.m-30::after {
  transform: rotate(75deg);
} /* 60 + 15 */

/* --- 12時 --- (9時から3時間後 = 90度) */
.h-12.m-00::after {
  transform: rotate(90deg);
}
.h-12.m-30::after {
  transform: rotate(105deg);
} /* 90 + 15 */
@media screen and (min-width: 768px) {
  .schedule_time_clock {
    font-size: 100px;
    position: relative;
    width: 100%;
    max-height: 90px;
    padding-top: calc(100% - 6px);
    border: 2px solid #c7a957;
    border-radius: 100%;
    background-color: #d1c278;
    margin: auto;
    box-sizing: border-box;
  }
}

.sightseeing_btn {
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
}
