html {
  scroll-padding-top: 70px;
}

:root {
  --primary-main: #235429;
  --primary-sub: #EBF1CB;
  --primary-yellow: #878935;
  --primary-blue: #1e56a9;
}

body {
  background-color: var(--primary-sub);
  margin: 0 auto;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    margin: 0 5px;
  }
}

/* ==============
Header(Menu)
============== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff; /* 背景色を指定しないと下の要素が透ける */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 影で浮かせる印象に */
  border-bottom: 2px solid var(--primary-main);
  padding: 25px 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gnav_menu {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 50px;
}

.gnav_menu_item a {
  text-decoration: none;
  color: var(--primary-main);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 10px;
}

/* ハンバーガーアイコン */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu_line {
  width: 24px;
  height: 2px;
  background-color: var(--primary-main);
  display: block;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .header {
    justify-content: end;
  }
  .gnav_menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .gnav_menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}






/* ==============
ベース
============== */

.catch_image_wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.catch_image_wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.course-title {
  background-color: var(--primary-main);
  border-radius: 12px;
  padding: 15px 0px;
  margin: 40px auto 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 640px;
}

.course-title h1 {
  padding: 0;
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
}

.course-title p {
  font-size: 1.2rem;
  margin: 0;
  color: #ffffff;
}

@media screen and (max-width: 950px){
  .course-title h1 {
    font-size: 1.6rem;
    font-weight: bold;
  }
  .course-title p {
    font-size: 1.1rem;
  }
}


.tour-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 25px 24px;
  font-family: sans-serif;
  font-size: 1.1rem;
}

.tour-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 45px;
}
@media screen and (max-width: 950px){
    .tour-block {
    gap: 0;
  }
}

.tour-block h3 {
  font-size: 1.4rem;
  color: var(--primary-main);
  white-space: nowrap;
  margin: 0;
}

.tour-content img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
}

#north-canal .tour-content img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
}

.tour-content .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-main);
  margin: 0;
}

.tour-content .price-detail {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

/* スマホ表示（縦並び） */
@media (max-width: 767px) {
  .tour-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tour-block h3 {
    margin-bottom: 12px;
  }

  .tour-content img {
    max-width: 100%;
  }
}


#explanation {
  margin: 60px auto;
}

@media (max-width: 767px) {
#explanation p {
  line-height: 1.3;
  margin: 60px 10px;
  }
}


/* 手宮ツアー：PC版ベース */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}

.timeline-date {
  width: 150px;
  float: left;
  margin: 20px 0 0;
}

.timeline-date span {
    color: #6a1f19;
    margin: 0;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
}

.timeline-content {
  width: 75%;
  float: left;
  border-left: 3px solid var(--primary-main);
  padding-left: 30px;
  position: relative;
}

.timeline-content:before {
  content: '';
  width: 15px;
  height: 15px;
  background: var(--primary-main);
  position: absolute;
  left: -9px;
  top: 24px;
  border-radius: 100%;
}

.timeline-content p {
  margin: 0;
}

.timeline-wrapper {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.timeline-wrapper h3 {
  color: var(--primary-main);
  letter-spacing: 0.05em;
}

.timeline-event-title span {
  font-size: 0.9rem;
  letter-spacing: 0;
  padding-left: 5px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .timeline > li {
    display: block;
    margin-bottom: 15px;
  }

  .timeline-date {
    float: none;
    width: auto;
    margin-top: 0;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .timeline-content {
    float: none;
    width: 100%;
    border-left: none;
    padding-left: 0;
  }

  .timeline-content:before {
    display: none;
  }

  .timeline-wrapper h3 {
    line-height: 1.1;
    margin: 0.15rem 0;
  }
}


/* ツアー共通のご案内 */

.tour-title h1 {
  padding: 0;
  margin: 0 0 15px;
  color: var(--primary-main);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.tour-title p {
  font-size: 1.2rem;
  margin: 0;
  color: var(--primary-main);
  text-align: center;
}

.tour-contents {
  padding: 20px;
  display: flex;
  justify-content: center;
  border: dashed 1.5px var(--primary-main);
}

.tour-contents ul {
  margin: 0;
}
@media screen and (max-width: 950px){
    .tour-title h1 {
    font-size: 1.6rem;
  }
  .tour-title p {
    font-size: 1.1rem;
  }
    .tour-contents {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    border: dashed 1.5px var(--primary-main);
  }
    .tour-contents ul {
      padding: 10px;
    }
}

.tour-contents li {
  font-size: 0.9rem;
  line-height: 1.45;
  list-style-position: outside 2px var(--primary-main);
}

.tour-contents li::marker {
  font-size: 1.5em; /* 黒丸のサイズを拡大 */
}

.tour-contents li br:first-of-type {
  display: none; /* 一行目と二行目の間のbrは非表示にして、spanで分ける方がスマート */
}

.tour-contents li span {
  display: block;
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 0;
}

.tour-contents li:last-child {
  list-style-type: none;
  padding-left: 0;
}

/* 申込ボタン */
.form_content {
  text-align: center;
  margin: 40px 0 70px;
  border-bottom: 2px solid var(--primary-main);
  padding: 0 0 50px;
}

.tour-enjoy img {
  width: 100%;
  max-width: 800px;
}

.tour-enjoy p {
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.form-button {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--primary-blue);
  border-radius: 100vh;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #4a73da;
  color: #fff;
}



/* 詳細 */
.course-detail {
    background-color: #ffffff;
    padding: 30px 0 20px 0;
}

.detail_explanation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 30px 10px 10px;
}
@media screen and (max-width: 950px){
    .detail_explanation {
        flex-direction: column;
        justify-content: center;
        margin: 30px 0 10px;
    }
}

.detail_explanation span {
  font-weight: 600;
  font-size: 1.1rem;
}

.detail_sub_title {
    background: #102C8A;
    color: #ffffff;
    padding: 10px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media screen and (max-width: 950px){
    .detail_sub_title {
        width: 100%;
    }
}

.detail_sub_title p {
    margin:0;
    padding:0;
}

.detail_explanation table {
    text-align: left;
    border-spacing : 10px;
    line-height: 1.5;
    max-width: 800px;
}
@media screen and (max-width: 950px){
    .detail_explanation table th {
        width: 100%;
        display:block;
        border-right: 0px;
        border-bottom: 3px solid var(--primary-main);
        padding-bottom: 10px;
        margin-bottom: 10px;
        text-align: center;
    }
    .detail_explanation table td {
        width: 100%;
        display:block;
        padding: 0;
    }
}

.detail_explanation th {
    border-right: 3px solid var(--primary-main);
    line-height: 1;
    white-space: nowrap;
    font-weight: 500;
    padding: 0 1.2em 0 0;
}

.detail_explanation td {
    padding: 0 0 0 0.5em;
}

.detail_content_text01 {
    padding: 10px 10px 8px 15px;
    flex: 1;
}
@media screen and (max-width: 950px){
    .detail_explanation th {
      padding: 0;
    }
    .detail_content_text01 {
        padding: 10px 10px 8px 10px;
    }
}

.detail_content_bigtext {
    font-size: 1.5rem;
}
@media screen and (max-width: 950px){
    .detail_content_bigtext {
        font-size: 1.3rem;
    }
}

.course-detail span {
    color: #102C8A;
}

.detail_content_text02 {
    background: #E9E7F4; /*背景色の指定*/
    border: #102C8A 1px solid; /*境界線の指定*/
    padding: 10px;
    margin: 0px 20px 40px 20px;
}

/* フッター */

.footer {
  background-color: var(--primary-main);
  padding: 40px 20px 5px;
  text-align: center;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
}

.footer-company {
  font-size: 1.35rem;
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
}

.footer .copyright {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #ffffff;
}