@charset "UTF-8";
/*
Theme Name: 石和温泉観光協会
Author: yadoken
*/

/* 温泉コラムテーブル */
.onsen_column {
  max-width: 800px;
}

.onsen_column table {
  width: 100%;
  border-collapse: collapse;
}

.onsen_column th,
.onsen_column td {
  padding: 12px 16px;
  border: 1px solid #ccc;
  text-align: left;
}

.onsen_column th {
  font-weight: bold;
}

.onsen_column tr:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

/* シンプルリンクボタン */
.outline-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-bottom: 1px solid #333;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  font-weight: normal;
  font-size: 14px;
  margin-top: 12px; 
  transition: color 0.2s ease, border-color 0.2s ease;
}

.outline-link-btn:hover {
  color: #a33735;
  border-color: #a33735;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.outline-link-btn:hover .arrow {
  transform: translateX(2px);
}

/* 絞り込みパーツアクセス非表示 */
.spot-list .spot-access{
	display:none;
}
.spot-list .spot-theme{
	width:100%;
}
.spot-list .spot-theme::before{
	content:none!important;
}
@media print, screen and (min-width: 768px) {
    .spot-list__link li:not(:last-of-type) {
        margin-right: 18px;
    }
}

/* sightseeing_map */
.sightseeing_map {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 50px; 
}
.sightseeing_map a img {
    width: 100%;
    max-width: 600px; 
    cursor: pointer; 
}

@media (max-width: 600px) {
    .sightseeing_map a img {
        width: 90%; 
    }
}

/* 会員専用ページ */
    .member_rules {
      color: #333;
      margin: 0;
      padding: 0;
    }

    .member_rules .container {
      max-width: 800px;
      margin: 50px auto;
      padding: 30px 25px;
      background-color: #fff;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
      border-radius: 8px;
    }

    .member_rules h1 {
      text-align: center;
      color: #2c3e50;
      margin-bottom: 25px;
      font-size: 1.8em;
    }

    .member_rules p {
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .member_rules .button-container {
      text-align: center;
      margin: 30px 0;
    }

    .member_rules a.button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      background-color: #a33735;
      color: #fff;
      padding: 12px 25px;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s;
    }

    .member_rules a.button:hover {
      background-color: #7a2522;
    }

    .member_rules a.button .icon {
      font-size: 1.2em;
    }

    .member_rules .note {
      font-size: 0.9em;
      color: #555;
      text-align: center;
      margin-top: 15px;
    }

    @media (max-width: 600px) {
      .member_rules a.button {
        width: 100%;
        justify-content: center;
      }
    }

@media print, screen and (min-width: 768px) {
    .ft-bnr__wrap ul {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* モデルコース */
.modelcourse-header {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.modelcourse-header h1 {
    margin: 0;
    font-size: 2rem;
}

.modelcourse-timeline-container {
    max-width: 600px;
    margin: 40px auto;
    position: relative;
}

.modelcourse-timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #a33735;
    border-radius: 2px;
}

.modelcourse-day-label {
    font-weight: bold;
    font-size: 1.4rem;
background-color: #fff !important;
    padding: 15px 20px;
    margin: 40px 0 20px 0;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.modelcourse-timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
    overflow: hidden; 
}

.modelcourse-timeline-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 70px;
    width: 25px;
    height: 25px;
    background: white;
    border: 4px solid #a33735;
    border-radius: 50%;
}

.modelcourse-timeline-time {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.modelcourse-timeline-title {
    font-size: 1.1rem;
    margin: 0;
}

.modelcourse-timeline-subtitle {
    font-size: 0.9rem;
    color: #a33735;
    margin: 2px 0 0 0;
}

.modelcourse-timeline-img {
    width: 120px;
    max-width: 30%;
    height: auto;
    border-radius: 8px;
    margin-left: 20px;
    margin-top: 5px;
    float: right;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .modelcourse-timeline-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .modelcourse-timeline-item,
    .modelcourse-day-label {
        padding-left: 60px;
    }

    .modelcourse-timeline-item::before {
        left: 10px;
    }

    .modelcourse-timeline-container::before {
        left: 20px;
    }

    .modelcourse-timeline-img {
        width: 100%; 
        max-width: 100%;
        float: none;
        display: block;
        margin: 10px 0 0 0;
    }
}

@media (max-width: 480px) {
    .modelcourse-timeline-item,
    .modelcourse-day-label {
        padding-left: 50px;
    }

    .modelcourse-timeline-container::before {
        left: 15px;
    }

    .modelcourse-timeline-item::before {
        left: 5px;
    }
}

  #access_map {
    position: relative;
    max-width: 900px;      
    margin: 40px auto;        
  }

  #access_map .map-image {
    width: 100%;
    display: block;
    border-radius: 8px;
  }

  #access_map .map-text {
    position: absolute;
    bottom: 5%;        
    left: 432px;         
    max-width: 52%;    
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    #access_map .map-text {
      position: static;       
      max-width: 100%;
      margin-top: 10px;       
      text-align: center;
      background-color: transparent; 
      padding: 0;
    }
  }

.wine-route--isawa .route-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.wine-route--isawa .course-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #e2b8c9, #C1849F);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.wine-route--isawa .course-badge .big {
  font-size: 26px;
  font-weight: bold;
}

.wine-route--isawa .course-badge .small {
  font-size: 11px;
}

.wine-route--isawa .route-title h2 {
  color: #C1849F;
  font-size: 26px;
}

.wine-route--isawa .route-flow {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wine-route--isawa .route-box {
  flex: 0 0 12%;
  min-width: 110px;
  background: #f3d6e1;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

.wine-route--isawa .route-box .label {
  font-weight: bold;
  margin-bottom: 4px;
  color: #C1849F;
}

.wine-route--isawa .route-card {
  flex: 1;
  min-width: 110px;
  text-align: center;
}

.wine-route--isawa .card-title {
  background: #C1849F;
  color: #fff;
  padding: 4px;
  margin-bottom: 14px;
}

.wine-route--isawa .route-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}

.wine-route--isawa .route-card p {
  line-height: 1.3;
  padding-top: 10px;
}

.wine-route--isawa .arrow {
  flex: 0 0 16px;
  height: 6px;
  background: #C1849F;
  position: relative;
}

.wine-route--isawa .arrow::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  border-left: 7px solid #C1849F;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.wine-route--isawa .note {
  margin-top: 40px;
}

@media (max-width: 1024px) {

  .wine-route--isawa .course-badge {
    width: 90px;
    height: 90px;
  }

  .wine-route--isawa .route-card img {
    height: 60px;
  }

  .wine-route--isawa .route-box {
    min-width: 90px;
  }
}

@media (max-width: 990px) {

  .wine-route--isawa .route-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .wine-route--isawa .route-box {
    width: 100%;
    text-align: center;
  }

  .wine-route--isawa .route-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    padding: 10px;
    background: #fff;
    border-radius: 6px;
  }

  .wine-route--isawa .card-title {
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: center;
  }

  .wine-route--isawa .route-card img {
    width: 110px;
    height: 80px;
    margin-bottom: 6px;
  }

  .wine-route--isawa .route-card p {
    padding-top: 0;
    font-size: 13px;
    margin: 0;
    text-align: center;
  }

  .wine-route--isawa .arrow {
    width: 2px;
    height: 20px;
    margin: 0 auto;
  }

  .wine-route--isawa .arrow::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: -5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #C1849F;
  }

}

/* 観光モデルコース */
.model-course-v1 {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 各日ブロック */
.model-course-v1 .day-block {
  flex: 1;
  display: flex;
  gap: 20px;
}

/* 左側 */
.model-course-v1 .day-left {
  width: 120px;
  text-align: center;
  flex-shrink: 0;
}

.model-course-v1 .day-left img {
  width: 300px;
  border-radius: 50%;
  object-fit: cover;
}

.model-course-v1 .day-text {
  margin-top: 8px;
}

.model-course-v1 .day {
  font-family: "Noto Sans JP", sans-serif; 
  display: block;
  font-size: 18px;
  color: #e58c8c;
  font-weight: bold;
}

/* タイムライン */
.model-course-v1 .timeline {
  flex: 1;
  position: relative;
  padding-left: 23px;
}

.model-course-v1 .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #f1caca;
}

/* 各項目 */
.model-course-v1 .item {
  position: relative;
  margin-bottom: 26px;
}

.model-course-v1 .item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: #e58c8c;
  border-radius: 50%;
}

/* 時間 */
.model-course-v1 .time {
  color: #e58c8c;
  font-weight: bold;
  margin-right: 8px;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif; 
}

/* 見出し（強調） */
.model-course-v1 .item p strong {
  display: block;
  font-size: 15px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  padding-top: 6px;
}

/* 本文 */
.model-course-v1 .item p {
  font-family: "Noto Sans JP", sans-serif; 
  display: inline;
  line-height: 1.5;
  font-size: 13px;
  color: #666;
}

/* タブレット */
@media (max-width: 1024px) {
  .model-course-v1 {
    gap: 30px;
  }

  .model-course-v1 .day-left {
    width: 100px;
  }

  .model-course-v1 .day-left img {
    width: 80px;
    height: 80px;
  }

  .model-course-v1 .timeline {
    padding-left: 20px;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .model-course-v1 {
    flex-direction: column;
    gap: 25px;
    padding: 0 12px;
  }

  .model-course-v1 .day-block {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
  }

  .model-course-v1 .day-left {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .model-course-v1 .timeline {
    width: 100%;
    padding-left: 22px;
    margin-top: 10px;
  }

  .model-course-v1 .timeline::before {
    left: 8px;
  }

  .model-course-v1 .item::before {
    left: -17px;
    width: 8px;
    height: 8px;
  }

  .model-course-v1 .item {
    margin-bottom: 14px;
  }

  .model-course-v1 .time {
    display: block;
    margin-bottom: 2px;
  }

  .model-course-v1 .item p {
    display: block;
    line-height: 1.6;
  }
}

@media screen and (min-width: 768px) {
    .tbl02 th {
        width: 26%; 
    }
   }

/* 既存のスタイルの上書き（無効化） */
@media print, screen and (max-width: 767.9px) {
    /* 奇数アイテムのmargin除外 */
    .txt_imgarea.no-responsive > ul > li:nth-child(odd),
    .txt_imgarea.no-responsive.img_top02 > ul > li:nth-child(odd),
    .txt_imgarea.no-responsive.img_top03 > ul > li:nth-child(odd),
    .txt_imgarea.no-responsive.img_top04 > ul > li:nth-child(odd) {
        margin-right: 0 !important;
    }

    /* li幅の除外 */
    .txt_imgarea.no-responsive > ul > li,
    .txt_imgarea.no-responsive.img_top02 > ul > li,
    .txt_imgarea.no-responsive.img_top03 > ul > li,
    .txt_imgarea.no-responsive.img_top04 > ul > li {
        width: auto !important;
    }
}