@charset "utf-8";

.container {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* サービスハイライト */
.service-highlights {
  padding: 0;
  text-align: center;
}

.service-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-summary-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.service-summary-list li a:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-text {
  text-align: left;
  max-width: 85%;
}

.service-text strong {
  font-size: 16px;
  color: var(--color-main);
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-sub3);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-summary-list li a:hover .arrow-icon {
  transform: translateX(4px);
}

/* First View Section */
.first-view {
  height: calc(100vh - 100px);
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first-view-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.first-view-background-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.first-view-background-slider img.active {
  opacity: 1;
}

.first-view-text {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-bottom: 0;
  text-align: center;
}

.top-catch {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.first-view-text p {
  font-size: 18px;
  margin-top: 20px;
  color: var(--color-white);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* News Section */
.news {
  margin: 20px auto 0;
  border: 2px solid var(--color-main);
  border-radius: 15px;
  padding: 5px 20px 5px 20px;
  position: relative;
  max-width: 700px;
}

.news-list {
  list-style: none outside;
  margin: 0;
}

.news-list .item a {
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-sub2);
  padding: 5px;
}

.news-list .item:first-child a {
  border-top: none;
}

.news-list .item:last-child a {
  border-bottom: none;
}

.news-list .item .date {
  min-width: 100px;
  font-size: 12px;
  color: var(--color-gray);
  padding-right: 20px;
  margin-left: 40px;
}

.news-list .item .category {
  margin: 0;
  min-width: 135px;
  padding-right: 20px;
}

.news-list .item .category span {
  background: var(--color-main);
  color: var(--color-white);
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
  border-radius: 50px;
}

.news-list .item .news-title {
  margin: 5px;
  width: 100%;
  font-size: 12px;
}

.news-list .item a:hover .news-title {
  color: var(--color-main);
}

/* Recommended Section */
.recommended {
  background-color: var(--color-white);
  margin: 95px 20px 55px;
  padding-bottom: 30px;
  max-width: 1024px;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

.recommended-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.item-list {
  display: flex;
  padding: 40px 60px 10px;
  overflow: scroll;
  overflow-y: hidden;
  cursor: grab;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}

.item-list.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}

.item-list li {
  flex-shrink: 0;
  width: 280px;
  margin-left: 75px;
}

.item-list li:first-child {
  margin-left: 0;
}

.item-list li img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.item-list li p {
  color: var(--color-gray);
}

.item-list dl {
  margin-top: 20px;
}

.item-list dt {
  font-weight: bold;
}

.item-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 0;
}

.item-list .price {
  font-weight: bold;
  margin-top: 15px;
}

/* バイク全体画像エリア */
.hero-bike-section {
  margin-top: 40px;
  padding-bottom: 20px;
  text-align: center;
  position: relative;
}

.hero-bike-section .container {
  padding: 15px;
}

.cheki-container {
  position: relative;
  max-width: 700px;
  width: 80%;
  margin: 20px auto;
}

.cheki-frame {
  position: relative;
  border: 20px solid var(--color-white);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cheki-container .bike-silhouette {
  position: absolute;
  top: 32%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: 120%;
  opacity: 0.3;
  z-index: 1;
}

.cheki-container .bike {
  position: relative;
  z-index: 2;
  max-width: 100%;
  display: block;
}

.cheki-text-area {
  background-color: var(--color-white);
  padding: 10px;
  text-align: center;
}

.cheki-text-area p {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-gray);
}


/* 料金表 */
/* 基本料金 */
/* 料金表 */
.basic-fee-section {
  text-align: center;
  margin-bottom: 40px;
}

.tax-included {
  font-size: 18px;
}

/* 基本料金テーブル */
.basic-fee.table {
  width: 100%;
  max-width: 600px;
  padding: 20px 0;
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
  background-color: var(--color-white);
  border-radius: 10px;
}

.basic-fee.table table {
  width: 80%;
  margin: auto;
  font-size: 16px;
}

/* 各列の幅を指定 */
.basic-fee.table colgroup col:nth-child(1) {
  width: 50%;
  /* プラン名 */
}

.basic-fee.table colgroup col:nth-child(2) {
  width: 30%;
  /* 価格 */
}

.basic-fee.table colgroup col:nth-child(3) {
  width: 20%;
  /* BOKUNボタン */
}

/* BOKUN予約ボタン */
.bokun-button-container {
  text-align: center;
}

.basic-fee.table td {
  padding: 12px 15px;
  border: none;
  border-bottom: 1px solid var(--color-sub3);
  text-align: center;
}

.basic-fee.table td .price {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-sub1);
}

.basic-fee-notes {
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 30px;
}

/* プラン名（左端の列）に下線を追加 */
.basic-fee.table th {
  border-bottom: 1px solid var(--color-sub3);
}

/* 最後の行の下線を削除 */
.basic-fee.table tr:last-child th,
.basic-fee.table tr:last-child td {
  border-bottom: none;
}

/* Basic fee details */
.fee-details-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 40px auto;
}

.fee-details {
  margin-bottom: 15px;
}

.fee-details.box {
  position: relative;
  border: 2px solid var(--color-main);
  color: var(--color-gray);
  margin-bottom: 25px;
  border-radius: 15px;
}

.fee-details.box .box-title {
  position: absolute;
  display: inline-block;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0rem 1rem;
  background-color: var(--color-base);
  color: var(--color-sub2);
  font-size: 18px;
  white-space: nowrap;
}

.fee-details.box .box-body {
  text-align: left;
  padding: 1rem;
  line-height: 1.5;
}

.fee-details.box .box-body ul {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--color-table);
}

.fee-details.included {
  margin-top: 20px;
  border-color: #FFB74D;
}

.fee-details.excluded {
  margin-top: 20px;
  border-color: #FF8A65;
}

.fee-details p.note {
  font-size: 0.8em;
  color: var(--color-gray);
  margin-top: 5px;
  margin-left: 30px;
}

.policy-link {
  text-decoration: underline;
}


/* 店舗位置セクション */
.location-section {
  text-align: center;
}

.location-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.location-section .section-title {
  margin-bottom: 30px;
}

.location-section .location-map {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 300px;
}

/* 京都府地図 */
.location-section .kyoto-map {
  position: absolute;
  bottom: -151px;
  left: 136px;
  width: 30%;
  border-radius: 10px;
}

/* 吹き出し */
.location-section .location-bubble {
  position: absolute;
  top: -19px;
  right: -46px;
  width: 400px;
  height: 400px;
  background-color: #fff;
  border-radius: 50%;
  padding: 20px;
  text-align: center;
}

.location-section .location-bubble::before {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 73%;
  border: 28px solid transparent;
  border-right: 100px solid var(--color-white);
  transform: rotate(-43deg);
}

/* 京都市地図 */
.location-section .kyoto-city-map {
  width: 60%;
}

/* ピン */
.location-section .location-pin {
  width: 10%;
  position: absolute;
  top: 308px;
  left: 245px;
  transform: translate(-50%, -100%);
}

.location-section .location-description {
  margin-top: 200px;
  font-size: 1.1em;
  line-height: 1.6;
  font-size: 16px;
}

.access-link {
  color: var(--color-headline);
  text-decoration: underline;
}


/* レンタル手順 */
.usage-guide .container {
  position: static;
}

.section-title {
  margin-top: 80px;
  margin-bottom: 50px;
}

.guide-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-main);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.guide-item:last-child {
  margin-bottom: 40px;
}

.item-content {
  display: flex;
  align-items: flex-start;
  flex-grow: 1;
  margin-right: 30px;
}

.item-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.item-text {
  flex-grow: 1;
}

.item-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--color-gray);
  padding-left: 0;
}

.item-text p {
  margin: 0 0 8px 0;
  font-size: 1em;
  line-height: 1.6;
}

.item-text p:last-child {
  margin-bottom: 0;
}

.item-image {
  flex-shrink: 0;
  width: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.item-image img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-supplement {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1em;
  line-height: normal;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

p.fee-note {
  text-align: center;
  color: var(--color-gray);
}

.button-center {
  text-align: center;
}

/* モデルプラン */
.map-and-cards {
  display: flex;
  flex-direction: row-reverse;
  max-width: 1024px;
  width: 90%;
  margin: auto;
  gap: 1rem;
  padding: 2rem 0;
}

.map-area,
.card-area {
  flex: 1 1 50%;
  min-width: 300px;
  height: auto;
}

.card-area {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: auto;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* スポット */
.card-stack-container {
  position: relative;
  width: 300px;
  height: 400px;
  margin: auto;
  perspective: 1000px;
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: white;
  border: 8px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease, opacity 0.4s ease;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.card img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  border-radius: 4px;
}

.spotCaption {
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

/* スポット情報全体 */
.spot-info {
  text-align: center;
  padding: 10px;
}

/* スポット名 */
.spot-name {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

/* スポット説明文 */
.spot-description {
  font-size: 0.9rem;
  line-height: 1.4;
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%) rotate(-5deg);
}

.controls {
  margin-top: 20px;
  text-align: center;
}

.card-number {
  position: absolute;
  width: 35px;
  height: 35px;
  top: 10px;
  left: 10px;
  background-color: var(--color-main);
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 2px 12px;
  border-radius: 50%;
  z-index: 3;
}

/* 2桁の数字の場合の調整 */
.card-number.two-digit {
  padding-left: 7px;
  padding-right: 7px;
}

.card.clicked {
  opacity: 0;
  pointer-events: none;
}

.touch-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  opacity: 0.5;
  animation: pulse 1.6s infinite ease-in-out;
  z-index: 5;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.05);
  }

  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
}



/* Photo Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Adjusted for base, overridden on mobile */
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 15px;
  background-color: var(--color-gray);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
}

/* Access Section */
.access-section {
  text-align: center;
  padding-bottom: 40px;
  color: var(--color-gray);
}

.access-inner {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.access-title {
  margin-bottom: 30px;
}

.access-address {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.access-zip {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 30px;
  margin-bottom: 15px;
}

.access-map-photo {
  margin-top: 40px;
}

.access-map {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  display: block;
  border: 0;
}

.access-photo {
  flex: 1;
  min-width: 0;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.access-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 15px;
}

/* 詳細アクセス情報 */
.access-details {
  display: flex;
  width: 80%;
  max-width: 700px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.access-detail-card.bus-card {
  text-align: center;
}

.access-details-left {
  width: 50%;
  padding-right: 10px;
  box-sizing: border-box;
}

.access-details-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  box-sizing: border-box;
}

.access-detail-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: center;
}

.access-detail-card.walking-card {
  margin-bottom: 20px;
  flex: 1;
}

.access-detail-card h3 {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--color-main);
}

.access-detail-card p {
  margin: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-main);
}

.access-detail-card span {
  font-size: 15px;
}

/* アクセス情報 */
.access-info {
  display: flex;
  margin: 5px 0;
  align-items: center;
  justify-content: center;
}

/* アイコン */
.icon {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 0.2em;
}

/* 区切り線 */
.separator {
  margin: 0 0.5em;
  color: #ccc;
}

/* バス番号 */
.bus-numbers {
  background-color: var(--color-sub3);
  color: #fff;
  padding: 3px 5px;
  border-radius: 5px;
  display: inline-block;
}

/* Mobile Layout Styles */
@media screen and (max-width: 768px) {
  .container {
    padding: 15px;
    min-height: auto;
  }

  /* First View Section Adjustments */
  .first-view {
    height: calc(100vh - 50px);
    background-image: url(モバイル用の背景画像のURLを入れる);
    align-items: flex-start;
  }

  .first-view-text {
    padding-top: 60px;
  }

  .first-view-text h1 {
    line-height: 48px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  /* news */
  .news {
    margin: 20px 20px 0;
    padding: 15px 20px 20px 20px;
  }

  .news-list .item a {
    flex-wrap: wrap;
  }

  .news-list .item .date {
    min-width: auto;
    width: 100%;
    margin-left: 15px;
    font-size: 12px;
  }

  .news-list .item .category {
    min-width: auto;
    width: 100%;
    margin-bottom: 5px;
  }

  .news-list .item .news-title {
    width: 100%;
    font-size: 13px;
  }

  .arrow-icon {
    margin-right: 10px;
  }

  /* Recommended Section Adjustments */
  .recommended {
    margin: 40px 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: none;
  }

  .recommended-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .item-list {
    padding: 40px 20px 10px;
  }

  .item-list li {
    flex-shrink: 0;
    width: 220px;
    margin-left: 30px;
  }

  .item-list li img {
    border-radius: 8px;
  }

  .item-list dd {
    margin-left: 0;
    margin-right: 0;
  }

  /* Hero Bike Section */
  .hero-bike-section {
    position: static;
    height: auto;
    margin-top: 40px;
  }

  .hero-bike-section .container {
    padding: 15px;
  }

  .cheki-container {
    width: 100%;
  }

  .cheki-container .bike-silhouette {
    top: 17%;
    left: 48%;
  }

  .cheki-text-area p {
    font-size: 14px;
    line-height: 1.5;
  }


  /* 料金表モバイル */
  /* 基本料金 */
  .basic-fee.table {
    width: 90%;
    max-width: 100%;
    margin: 20px auto;
  }

  .basic-fee.table th,
  .basic-fee.table td {
    display: table-cell;
    padding: 12px 10px;
    border: none;
    text-align: center;
    font-size: 14px;
  }

  /* 価格を常に表示 */
  .basic-fee.table td.price {
    display: flow;
  }

  .basic-fee.table th {
    font-size: 18px;
    color: var(--color-gray);
  }

  .basic-fee-notes {
    font-size: 13px;
    color: var(--color-gray);
  }


  /* 注意書き */
  .basic-fee-notes {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-gray);
    padding: 10px 35px 0;
    text-align: left;
    font-weight: normal;
  }

  .basic-fee.table td.price {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 5px;
    background-color: var(--color-main);
    color: var(--color-white);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
  }

  /* ボタンを非表示にする */
  .basic-fee.table td:nth-child(3) {
    display: none;
  }


  /* 地図セクションのモバイル対応 */
  .location-section .location-map {
    transform: scale(0.7);
    transform-origin: top center;
    margin-bottom: -50px;
  }

  .location-section .location-description {
    font-size: 14px;
    margin-top: 60px;
  }

  .location-section .kyoto-map {
    bottom: -86px;
    left: -2%;
    z-index: -1;
  }

  .location-section .location-bubble {
    top: -19px;
    right: -46px;
    width: 350px;
    height: 350px;
  }

  .location-section .location-bubble::before {
    bottom: -15px;
    right: 63%;
    transform: rotate(-43deg);
    z-index: -1;
  }

  .location-section .location-pin {
    top: 254px;
    left: 206px;
  }

  /* Usage Guide Section Adjustments */
  .section-title {
    margin-bottom: 30px;
  }

  .guide-item {
    flex-direction: column;
    padding: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 40px;
  }

  .guide-item:last-child {
    margin-bottom: 30px;
  }

  .item-content {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .item-number {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .item-text {
    text-align: center;
  }

  .item-text h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3em;
  }

  .item-text p {
    font-size: 0.9em;
    line-height: 1.5;
  }

  .item-image {
    width: 70%;
  }

  .guide-supplement {
    font-size: 0.9em;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .button-center {
    margin-top: 20px;
    margin-bottom: 0;
  }

  /* モデルコース */
  .map-and-cards {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .map-area,
  .card-area {
    width: 100%;
    min-width: unset;
  }

  .map-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Photo Gallery Section Adjustments */
  .photo-gallery {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 0;
    border-radius: 10px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 22px;
    overflow-x: auto;
    overflow-y: hidden;
    grid-column-gap: 0px;
    grid-row-gap: 10px;
    justify-items: center;
  }

  .gallery-item {
    flex-shrink: 0;
    width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    margin-right: 10px;
  }

  .gallery-item:last-child {
    margin-right: 0;
  }

  .gallery-item img {
    border-radius: 10px;
  }

  /* アクセス */
  .access-inner {
    width: 100%;
  }

  .access-details {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .access-details-left,
  .access-details-right {
    width: 100%;
    padding: 0;
    border: none;
  }

  .access-detail-card {
    width: 90%;
    margin: 0 auto 20px;
  }
}

@media screen and (max-width: 320px) {

  .gallery-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .location-section .location-bubble::before {
    bottom: -22px;
    right: 54%;
  }

  .cheki-container .bike-silhouette {
    top: 14%;
    left: 48%;
  }

  .circle-button-container a:after {
    left: -10px;
  }

  .circle-button-container a:before {
    left: 0.6rem;
  }
}