@charset "UTF-8";
html {
    scroll-behavior: smooth;
}

body {
    color: rgb(95 99 104 / var(--tw-text-opacity, 1));
}

main{
    -webkit-box-shadow: 0 0 3rem 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3rem 0 rgba(0, 0, 0, 0.3);
}

section {
    padding-bottom: 2rem;
}

h2 {
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.25;
    font-size: 1.875rem;
}

.slider-container {
position: relative;	
width: 100%;	
height: 100%;	
min-height: 480px;	
overflow: hidden;	
border-radius: 0.75rem;
}	
.slider-image {	
position: absolute;	
width: 100%;	
height: 100%;	
background-size: cover;	
background-position: center;	
opacity: 0;	
animation: fade 9s infinite;	
background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), var(--bg-image);	
}	
.slider-image:nth-child(1) {	
animation-delay: 0s;	
}	
.slider-image:nth-child(2) {	
animation-delay: 3s;	
}	
.slider-image:nth-child(3) {	
animation-delay: 6s;	
}	
@keyframes fade {	
0% { opacity: 0; }	
11.1% { opacity: 1; }	
33.3% { opacity: 1; }	
44.4% { opacity: 0; }	
100% { opacity: 0; }	
}

.object-position-top{
    object-position: top;
}

.bg_img{
background-image: url(../img/bg_img.png);
background-repeat: no-repeat;
background-position: bottom;
background-size: cover; 
-webkit-box-shadow:inset 0 0 3rem 0 rgba(0, 0, 0, 0.3);
box-shadow:inset 0 0 3rem 0 rgba(0, 0, 0, 0.3);
}
/*
.bg_img{
background-image: url(../img/bg_img01.png);
background-repeat: no-repeat;
background-position: right bottom;
background-size: 200px auto; 
-webkit-box-shadow:inset 0 0 3rem 0 rgba(0, 0, 0, 0.3);
box-shadow:inset 0 0 3rem 0 rgba(0, 0, 0, 0.3);
}*/


.color-border {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    #f18a0c 0%,
    #f18a0c 16.66%,
    #ffd021 16.66%,
    #ffd021 33.33%,
    #9dc92d 33.33%,
    #9dc92d 50%,
    #9ddcf5 50%,
    #9ddcf5 66.66%,
    #f993a5 66.66%,
    #f993a5 83.33%,
    #b9a5d6 83.33%,
    #b9a5d6 100%
  );
}

/* 2カラムレイアウト */
.two-column-layout {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.aside-column {
  width: 50%;
  flex-shrink: 0;
  padding: 2.5rem;
  position: fixed;
  top: 6rem;
  left: 0;
  height: calc(100vh - 6rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aside-column nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgb(229, 231, 235);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.aside-column nav a {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  position: relative;
  z-index: 1;
  padding-left: 1rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.aside-column nav a.active {
  color: rgb(26 115 232);
}

#nav-indicator {
  position: absolute;
  left: 0;
  width: 3px;
  background-color: rgb(26 115 232);
  border-radius: 2px;
  transition: top 0.3s ease, height 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.aside-column button img,
.aside-column a img {
  height: 2rem;
}

.aside-column button span,
.aside-column a span {
  font-size: 0.75rem;
  font-weight: 700;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.aside-column > div > div > div > p,
.aside-column > div > div > p {
  font-size: 0.875rem;
  font-weight: 700;
}

.language-header {
  border-bottom: 1px solid rgb(229, 231, 235);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.language-header p {
  margin-bottom: 1rem;
}

.route-guide-aside {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(26 115 232 / var(--tw-bg-opacity, 1));
  color: #ffffff;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
}

.route-guide-aside:hover {
  background-color: rgb(25 103 210);
}

.route-guide-aside .material-icons {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.route-guide-aside span:not(.material-icons) {
  font-size: 1.125rem;
}

.language-switcher button,
.language-switcher a {
  flex: 1;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.75rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.language-switcher a {
  text-decoration: none;
  color: inherit;
}

.language-switcher a button {
  width: 100%;
  border: none;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
}

.language-switcher button.current,
.language-switcher a.current {
  --tw-text-opacity: 1;
  color: rgb(26 115 232 / var(--tw-text-opacity, 1));
  --tw-border-opacity: 1;
  border-color: rgb(26 115 232 / var(--tw-border-opacity, 1));
  background-color: rgb(26 115 232 / 0.1);
}

.language-switcher button.current span,
.language-switcher a.current span {
  --tw-text-opacity: 1;
  color: rgb(26 115 232 / var(--tw-text-opacity, 1));
}

.main-column {
  width: 50%;
  flex: 1;
  min-width: 0;
  padding: 2.5rem;
  margin-left: 50%;
}

/* レスポンシブ対応（モバイルでは縦並び） */
@media (max-width: 1024px) {
  .two-column-layout {
    flex-direction: column;
  }
  
  .aside-column {
    display: none;
  }
  
  .main-column {
    width: 100%;
    padding: 1rem;
  }
}

/* サービス概要の2カラムレイアウト */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-item {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.75rem;
}

.service-item img {
  object-position: top;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.service-item h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.service-item p {
  font-size: 0.875rem;
}

/* レスポンシブ対応（モバイルでは1カラム） */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* セクションヘッダー（h2を含む外枠） */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header p {
  font-weight: 700;
}

/* アクセス情報セクションのコンテンツ */
.access-content {
  border: 1px solid rgb(224, 224, 224);
  border-radius: 1rem;
}

.access-content h3 {
  --tw-text-opacity: 1;
  color: rgb(60 64 67 / var(--tw-text-opacity, 1));
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.5rem;
}

/* アクセス情報セクションのul */
#access ul {
  font-size: 0.875rem;
  line-height: 1.5rem;
  list-style-type: disc;
  padding-left: 1.5rem;
}

#access ul li {
  list-style-position: outside;
}

/* Coming Soonバッジのスタイル */
.coming-soon-badge {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgb(220, 38, 38);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  margin-top: 0.25rem;
  display: inline-block;
  width: 100%;
}

.access-info-wrapper > div {
  padding: 1.5rem;
  border-bottom: 1px solid rgb(224, 224, 224);
}

.access-info-wrapper > div:last-child {
  border-bottom: none;
}

/* Googleマップの高さ */
.google-map {
  width: 100%;
  height: 320px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Material Icons スタイル */
.access-info-wrapper .material-icons {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコンとh3を横並びにする */
.access-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.access-info-header h3 {
  display: flex;
  align-items: center;
  margin: 0;
  font-weight: 700;
}

/* access-info-header中のp要素 */
.access-info-header p {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

/* アイコンの色 */
.icon-location {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.icon-schedule {
  --tw-text-opacity: 1;
  color: rgb(26 115 232 / var(--tw-text-opacity, 1));
}

.icon-train {
  --tw-text-opacity: 1;
  color: rgb(14 165 233 / var(--tw-text-opacity, 1));
}

.icon-bus {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}

/* フロアマップとマップ情報を1カラム */
.floor-map > a:first-of-type {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

/* floor_map_info内のdivを横並び（均等配置） */
.floor_map_info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* floor_map_info内の各アイテム（画像とテキスト）を横並び */
.floor_map_info > div > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* floor_map_info内のspanのフォントサイズ */
.floor_map_info span {
  font-size: 0.75rem;
}

/* floor_map_info内の画像サイズ */
.floor_map_info img {
  width: 1.5rem;
  height: 1.5rem;
}

/* floor_map、floor_map_info、itc_counter、prayer-roomのスタイル */
.floor_map,
.itc_counter,
.prayer-room {
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
}

.floor_map_info {
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

/* 画像ホバー時のズームアニメーション */
.floor_map,
.itc_counter,
.prayer-room {
  display: block;
}

.floor_map img {
  transition: transform 0.3s ease;
  width: 100%;
  max-height: 33vh;
  object-fit: cover;
  display: block;
}

.itc_counter img,
.prayer-room img {
  transition: transform 0.3s ease;
  width: 100%;
  object-fit: cover;
  display: block;
}

.floor_map:hover img,
.itc_counter:hover img,
.prayer-room:hover img {
  transform: scale(1.1);
}

/* 虫眼鏡アイコンのスタイル */
.zoom-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.floor_map:hover .zoom-icon-wrapper,
.itc_counter:hover .zoom-icon-wrapper,
.prayer-room:hover .zoom-icon-wrapper {
  opacity: 1;
}

.zoom-icon-wrapper .material-icons {
  font-size: 1.5rem;
}

/* 画像の下のテキストスタイル */
.floor-map > a:first-of-type > p,
.counter-prayer-grid a > p {
  font-weight: 700;
  text-align: center;
  margin-top: 0.5rem;
}

/* モーダルウィンドウのスタイル */
#modal-floor-map,
#modal-tic-counter,
#modal-prayer-room {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#modal-floor-map:target,
#modal-tic-counter:target,
#modal-prayer-room:target {
  display: flex;
}

#modal-floor-map > a:first-child,
#modal-tic-counter > a:first-child,
#modal-prayer-room > a:first-child {
  position: absolute;
  inset: 0;
  cursor: default;
}

#modal-floor-map > div,
#modal-tic-counter > div,
#modal-prayer-room > div {
  position: relative;
  background-color: #ffffff;
  padding: 0.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#modal-floor-map img,
#modal-tic-counter img,
#modal-prayer-room img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  max-height: calc(90vh - 4rem);
}

/* PC表示時：modal-floor-mapの横幅を画像サイズに合わせる */
@media (min-width: 1024px) {
  #modal-floor-map > div {
    width: fit-content;
    max-width: 90vw;
    display: block;
  }
  #modal-floor-map img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: unset;
    /*max-height: calc(90vh - 4rem);*/
    display: block;
  }
}

.modal-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-decoration: none;
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-close-btn .material-icons {
  font-size: 1.5rem;
}

/* footerスタイル */
footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgb(229, 231, 235);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.25rem;
}

/* フッターの最初のp要素（運営元）を太文字 */
footer > div > p:first-child {
  font-weight: 700;
}

/* フッター内のリンクコンテナ */
footer > div > div:last-child {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* headerを追従（固定） */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(229, 231, 235);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.sticky-header h1 {
  display: flex;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}

.sticky-header h1 img {
  height: auto;
  max-height: 3rem;
}

.sticky-header h1 {
  display: flex;
  align-items: center;
  margin: 0;
}

.sticky-header h1 img {
  height: auto;
  max-height: 3rem;
}

/* languageドロップダウン */
.language-dropdown {
  position: relative;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.5rem;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.language-button:hover {
  background-color: rgb(243, 244, 246);
}

.language-button .material-icons {
  font-size: 1.25rem;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: #ffffff;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 10;
  min-width: 150px;
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu-content {
  padding: 0.25rem 0;
}

.language-menu-content a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgb(60, 64, 67);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.language-menu-content a:hover {
  background-color: rgb(243, 244, 246);
}

/* モバイルメニュー（PC時は非表示） */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: #ffffff;
  display: none;
  flex-direction: column;
}

#mobile-menu:target {
  display: flex;
}

#mobile-menu > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgb(229, 231, 235);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-header .material-icons {
  font-size: 1.25rem;
}

.mobile-menu-header p {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

#mobile-menu .modal-close-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  z-index: auto;
}

#mobile-menu .modal-close-btn:hover {
  background-color: rgb(243, 244, 246);
}

#mobile-menu .modal-close-btn .material-icons {
  font-size: 1.5rem;
}

.mobile-menu-content {
  padding: 1.5rem;
}

.mobile-menu-nav {
  border-bottom: 1px solid rgb(229, 231, 235);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-nav a {
  font-weight: 700;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: block;
}

.mobile-menu-info > div > div:first-of-type {
  margin-bottom: 1.5rem;
}

.mobile-menu-info p {
  font-size: 0.875rem;
}

/* PC時はモバイルメニューとハンバーガーボタンを非表示 */
@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .sticky-header h1 img {
    max-height: 6rem;
  }
}

/* スマホ時のみ表示 */
@media (max-width: 1023px) {
  .language-dropdown {
    display: none;
  }
  
  .sticky-header {
    padding: 0.5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle > a:first-of-type {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .mobile-menu-toggle a span:not(.material-icons) {
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .main-column {
    margin-left: 0;
  }
  
  .mobile-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    border: 1px solid rgb(229, 231, 235);
    text-decoration: none;
    color: inherit;
  }
  
  .mobile-hamburger:hover {
    background-color: rgb(243, 244, 246);
  }
  
  .mobile-hamburger .material-icons {
    font-size: 1.5rem;
  }
}

/* mobile-language-menu */
#mobile-language-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: #ffffff;
  display: none;
  flex-direction: column;
}

#mobile-language-menu:target {
  display: flex;
}

#mobile-language-menu > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgb(229, 231, 235);
}

#mobile-language-menu .modal-close-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  z-index: auto;
}

#mobile-language-menu .modal-close-btn:hover {
  background-color: rgb(243, 244, 246);
}

#mobile-language-menu .modal-close-btn .material-icons {
  font-size: 1.5rem;
}

.mobile-language-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-language-menu-header .material-icons {
  font-size: 1.25rem;
}

.mobile-language-menu-header p {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.mobile-language-menu-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

#mobile-language-menu:target .mobile-language-menu-content {
  display: block;
}

.mobile-language-menu-content > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mobile-language-menu-content a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
  font-weight: 700;
}

.mobile-language-menu-content a:hover {
  background-color: rgb(243, 244, 246);
}

.mobile-language-menu-content a img {
  height: 2rem;
  object-fit: cover;
}

.mobile-language-menu-content a.current {
  --tw-text-opacity: 1;
  color: rgb(26 115 232 / var(--tw-text-opacity, 1));
  --tw-border-opacity: 1;
  border-color: rgb(26 115 232 / var(--tw-border-opacity, 1));
  background-color: rgb(26 115 232 / 0.1);
}

.mobile-language-menu-content a.current span {
  --tw-text-opacity: 1;
  color: rgb(26 115 232 / var(--tw-text-opacity, 1));
}

/* PC時はmobile-language-menuを非表示 */
@media (min-width: 1024px) {
  #mobile-language-menu {
    display: none !important;
  }
  
  .route-guide-mobile {
    display: none !important;
  }
}

/* スマホ時のルート案内（画面下に追従） */
@media (max-width: 1023px) {
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  }
  footer {
    padding-bottom: 5rem;
  }
  
  .floor_map_info > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .route-guide-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    background-color: #ffffff;
    border-top: 1px solid rgb(229, 231, 235);
    padding: 1rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .route-guide-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(26 115 232 / var(--tw-bg-opacity, 1));
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  
  .route-guide-mobile a:hover {
    background-color: rgb(25 103 210);
  }
  
  .route-guide-mobile .material-icons {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
  }
}

/* クッキーポリシーモーダルのスタイル */
#cookie-policy {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookie-policy:target {
  display: flex;
}

#cookie-policy > a:first-child {
  position: absolute;
  inset: 0;
  cursor: default;
}

.cookie-modal-content {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  width: 100%;
  max-width: 48rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgb(229, 231, 235);
}

.cookie-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
}

.cookie-modal-content > div:last-child {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  line-height: 1.75;
}

#cookie-policy a[target="_blank"] {
  color: rgb(78, 177, 217);
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#cookie-policy h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#cookie-policy section:first-of-type h3 {
  margin-top: 0;
}

#cookie-policy h4 {
  font-weight: 700;
}

#cookie-policy h4 + p {
  padding-left: 1.5rem;
}

.cookie-policy-lead {
  padding-bottom: 2rem;
}

/* クッキーポリシーのp要素の下マージン */
#cookie-policy p {
  margin-bottom: 1.5rem;
}

#cookie-policy p:last-child {
  margin-bottom: 0;
}

/* クッキーポリシーのリストスタイル */
#cookie-policy ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#cookie-policy ul li {
  list-style-position: outside;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

#cookie-policy ul li:first-child {
  margin-top: 0;
}

#cookie-policy ul li:last-child {
  margin-bottom: 0;
}

/* TICカウンターと祈祷室を2カラム */
.counter-prayer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* レスポンシブ対応（モバイルでは1カラム） */
@media (max-width: 768px) {
  .counter-prayer-grid {
    grid-template-columns: 1fr;
  }
}