@charset "UTF-8";

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue","Helvetica","YuGothic Medium","游ゴシック","YuGothic",
    "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    display: block;
    margin: 0; /* 上部スペースを削除 */
}

a {
    text-decoration: none;
    color: #0066cc;
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダーの統一スタイル */
header {
    background-color: #000;
    color: white;
    padding: 1.4rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}
  
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* ロゴの表示を統一 */
.logo {
    display: flex;
    align-items: center;
}
  
.logo a, .logo img {
    display: block; /* 重要：これが欠けていたことが原因 */
    max-height: 50px; /* ロゴ画像の高さを固定 */
    width: auto; /* 幅は自動調整 */
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0; /* マージンをリセット */
  padding: 0; /* パディングをリセット */
  line-height: 1.2; /* 行の高さを調整 */
}

/* ナビゲーションメニューの統一 */
nav {
    display: flex;
    align-items: center;
}
  
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
  
nav ul li {
    margin-left: 1.5rem;
}
  
nav ul li a {
    color: white;
    font-weight: bold;
    transition: opacity 0.3s;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}
  
nav ul li a:hover {
    opacity: 0.8;
}
  
/* direct-connection-page、shuttle-bus、category.phpページ向けの修正 */
.direct-connection-page header,
body.shuttle-bus header,
body.category-page header {
    padding: 1rem 0;
}
  
.direct-connection-page .header-container,
.shuttle-bus .header-container,
.category-page .header-container {
    align-items: center;
}

/* メディアクエリの調整 */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
  }
  
  nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #1a73e8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul li {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

nav ul li a {
    color: white;
    font-weight: bold;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* メインコンテンツ - 共通スタイル */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* コンテナ設定 */
.container {
    width: 100%; /* 幅100%に設定 */
    max-width: 100%; /* 最大幅も100%に */
    padding: 0; /* パディングを削除 */
    margin: 0; /* マージンを削除 */
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 検索セクション */
.search-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #333;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-group {
    flex: 1 1 200px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 24px;
}

.search-btn:hover {
    background-color: #1557b0;
}

/* ホテル一覧セクション */
.hotel-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.view-all {
    font-weight: bold;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hotel-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.hotel-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.hotel-details {
    padding: 1.2rem;
}

.hotel-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hotel-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 0.9rem;
}

.hotel-location:before {
    content: '📍';
    margin-right: 0.5rem;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background-color: #f0f4f8;
    color: #4a6fa5;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.hotel-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ff6b00;
}

.price-note {
    font-size: 0.8rem;
    color: #666;
}

.book-btn {
    background-color: #1a73e8;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #1557b0;
}

/* 特集セクション */
.featured-section {
    margin-bottom: 3rem;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-content {
    padding: 1.5rem;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.feature-content p {
    margin-bottom: 1rem;
    color: #555;
}

.feature-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

/* 情報セクション */
.info-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.info-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #333;
}

.info-section p {
    margin-bottom: 1rem;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.info-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #333;
}

.info-card p {
    font-size: 0.95rem;
}

/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0; /* 上下のパディングのみ指定 */
    width: 100%; /* 幅100%に設定 */
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem; /* 左右のパディングはコンテナ内で指定 */
}

.footer-logo {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-about p {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #1a73e8;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.contact-info p:before {
    content: "•";
    margin-right: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top: 1px solid #555;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ヘッダーのレスポンシブ対応 */
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1a73e8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul li {
        margin: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* ヒーローセクションのレスポンシブ対応 */
    .hero {
        height: 300px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* 検索フォームのレスポンシブ対応 */
    .search-btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* ホテル一覧セクションのレスポンシブ対応 */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header .view-all {
        margin-top: 0.5rem;
    }
    
    /* その他の調整 */
    .info-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 250px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hotel-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.share {
    margin: 56px 0;
    text-align: center;
}

.btn-social {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    color: #FFF;
    width: 50px;
    height: 50px;
    line-height: 30px;
    padding: 5px;
    font-size: 22px;
    border-radius: 50%;
    text-align: center;
    /* font-weight: bold; */
    box-shadow: inset 0 2px 0px rgba(255, 255, 255, 0.25), inset 0 -2px 0px rgba(0, 0, 0, 0.18);
    transition: .2s;
}
.btn-social a {
    color: #FFF;
}
.btn-social .fab {
    line-height: 30px;
    color: #FFF;  /* hover時にfont awesomeを白に */
}
.btn-social:hover {
    box-shadow: none;
}
.btn-social--twitter {
    background: #1da1f3;
    border: solid 5px #1da1f3;
}
.btn-social--facebook {
    background: #3b75d4;
    border: solid 5px #3b75d4;
}
.btn-social--line {
    background: #06c755;
    border: solid 5px #06c755;
}
.btn-social--whatsapp {
    background: #4FCE5d;
    border: solid 5px #4FCE5d;
}
.btn-social--instagram {
    background: #e1306c;
    border: solid 5px #e1306c;
}

.share-title {
    position: relative;
    display: inline-flex; /* インラインフレックスに変更 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    box-sizing: border-box;
    text-decoration: none;
    font-size: 12.3px;
    color: #2C313B;
    width: 50px;
    height: 49px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    vertical-align: top;
    letter-spacing: 2px;
}

/* SHARE文字を中央に配置 */
.share-title p {
    margin: 0; /* マージンをリセット */
    line-height: 1; /* 行の高さをリセット */
}

/* ホテルカテゴリーレイアウト */
.hotel-category-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-header {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.category-description {
    color: #666;
    line-height: 1.5;
}

.terminal-group {
    margin-bottom: 2rem;
}

.terminal-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: #1a73e8;
}

.hotel-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hotel-item {
    flex: 1 1 200px;
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hotel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hotel-image {
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
}

.hotel-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.detail-btn {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.detail-btn:hover {
    background-color: #1557b0;
}

.category-footer {
    text-align: center;
    margin-top: 2rem;
}

.category-more-btn {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.category-more-btn:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 関連ホテルセクション (detail.php用) */
.related-hotels-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.related-hotels-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-left: 4px solid #1a73e8;
    padding-left: 0.8rem;
}

.related-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-hotel-item {
    background-color: #f8f8f8;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.related-hotel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-hotel-image {
    height: 120px;
    background-size: cover;
    background-position: center;
}

.related-hotel-details {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-hotel-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
}

.related-detail-btn {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.related-detail-btn:hover {
    background-color: #1557b0;
    color: white;
}

/* SNSボタン */
.twitter a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    background: #00acee;
    border-radius: 4px;
    padding: 12px;
    margin: 20px 0;
    color: #fff; 
}
.twitter a:hover {
    background: #00acee;
    opacity: 0.8;
    color: #fff
}

.facebook a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    background: #3b5998;
    border-radius: 4px;
    padding: 12px;
    margin: 20px 0;
    color: #fff; 
}
.facebook a:hover {
    background: #3b5998;
    opacity: 0.8;
    color: #fff
}

.line a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    background: #06c755;
    border-radius: 4px;
    padding: 12px;
    margin: 20px 0;
    color: #fff; 
}
.line a:hover {
    background: #06c755;
    opacity: 0.8;
    color: #fff
}

.whatsapp a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    background: #4FCE5d;
    border-radius: 4px;
    padding: 12px;
    margin: 20px 0;
    color: #fff; 
}
.whatsapp a:hover {
    background: #4FCE5d;
    opacity: 0.8;
    color: #fff
}

/* 関連ホテルセクション用の追加スタイル */
.related-hotel-location {
    font-size: 0.85rem;
    color: #1a73e8;
    margin-bottom: 0.3rem;
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background-color: #e8f0fe;
    border-radius: 3px;
}

.related-hotel-shuttle {
    font-size: 0.85rem;
    color: #4caf50;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background-color: #e8f5e9;
    border-radius: 3px;
}

/* style.css に追加するコード */
/* トップに戻るボタン - 修正版 */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    text-align: center;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    cursor: pointer;
    text-decoration: none !important; /* リンクの下線を削除 */
}
  
/* 矢印アイコンの位置を調整 */
.back-to-top i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}
  
.back-to-top:hover {
    background-color: #1557b0;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    color: white; /* ホバー時にも白色を維持 */
}
  
/* モバイル向けに調整 */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .back-to-top i {
        font-size: 16px;
    }
}

/* ハンバーガーメニュー関連の修正 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
  

.nav-toggle:focus {
    outline: none;
}
  
/* レスポンシブ対応の統一 */
@media (max-width: 768px) {
    .nav-toggle {
      display: block;
    }
    
    nav {
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      background-color: #1a73e8;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s;
    }
    
    nav.active {
      max-height: 300px;
    }
    
    nav ul {
      flex-direction: column;
      padding: 1rem;
    }
    
    nav ul li {
      margin: 0;
      padding: 0.5rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* ぱんくず */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem 0 2rem;
    padding: 0;
    font-size: 0.9rem;
  }
  
  .breadcrumb li {
    display: flex;
    align-items: center;
  }
  
  .breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 0.5rem;
    color: #999;
  }
  
  .breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }

/* 共通の免責事項スタイル */
.disclaimer {
    margin: 2rem 0;
    padding: 1.2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    border-left: 3px solid #ddd;
  }
  
  .disclaimer p {
    margin: 0;
    line-height: 1.5;
  }

/* 通常のリストスタイル - シンプルなマークアップに */
.content-list {
    list-style-type: none;
    margin: 0 0 1.5rem;
    padding: 0;
  }
  
  .content-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
  }
  
  .content-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: #1a73e8;
    border-radius: 50%;
  }
  
  /* 番号付きリスト */
  .content-list-numbered {
    list-style-type: none;
    counter-reset: item;
    margin: 0 0 1.5rem;
    padding: 0;
  }
  
  .content-list-numbered li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    counter-increment: item;
  }
  
  .content-list-numbered li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a73e8;
    font-weight: bold;
  }
  
  /* リスト内のリンク */
  .content-list a,
  .content-list-numbered a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .content-list a:hover,
  .content-list-numbered a:hover {
    text-decoration: underline;
    color: #1557b0;
  }

/* リスト用の追加スタイル - style.cssに追加する内容 */

/* 追加のリスト修正スタイル */
.atoll-text ul,
.atoll-text ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.atoll-text ul li,
.atoll-text ol li {
  margin-bottom: 0.5rem;
}

/* CSVから読み込んだHTMLでコンテンツリストクラスが適用されていない場合にデフォルトスタイルを適用 */
.atoll-text ul:not(.content-list) {
  list-style-type: none;
  /* margin: 0 0 1.5rem; */
  padding: 0;
}

.atoll-text ul:not(.content-list) li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.atoll-text ul:not(.content-list) li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background-color: #1a73e8;
  border-radius: 50%;
}

/* 番号付きリスト */
.atoll-text ol:not(.content-list-numbered) {
  list-style-type: none;
  counter-reset: item;
  margin: 0 0 1.5rem;
  padding: 0;
}

.atoll-text ol:not(.content-list-numbered) li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  counter-increment: item;
}

.atoll-text ol:not(.content-list-numbered) li:before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a73e8;
  font-weight: bold;
}

/* 環礁説明テキスト内のヘッダー間隔の調整 */
.atoll-text h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: #333;
  border-left: 4px solid #1a73e8;
  padding-left: 0.8rem;
}

.atoll-text h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
  color: #333;
}

/* 改善されたリストスタイルとスペーシング */

/* リストの色を黒に近いグレーに変更 */
.atoll-text ul:not(.content-list) li:before {
    background-color: #555; /* 青から黒に近いグレーに変更 */
  }
  
  .atoll-text ol:not(.content-list-numbered) li:before {
    color: #555; /* 青から黒に近いグレーに変更 */
  }
  
  /* 段落とリストの間隔を調整 */
  .atoll-text p + ul,
  .atoll-text p + ol {
    margin-top: 1.2rem; /* 段落の後のリストに上部マージンを追加 */
  }
  
  /* 見出しとリストの間隔を調整 */
  .atoll-text h2 + ul,
  .atoll-text h2 + ol,
  .atoll-text h3 + ul,
  .atoll-text h3 + ol {
    margin-top: 1rem; /* 見出しの後のリストに上部マージンを追加 */
  }
  
  /* リスト項目間の間隔を調整 */
  .atoll-text ul li,
  .atoll-text ol li {
    margin-bottom: 0.8rem; /* リスト項目間のマージンを少し広げる */
  }
  
  /* リストの最後の項目の下マージンを削除して、次の要素との間隔を調整 */
  .atoll-text ul li:last-child,
  .atoll-text ol li:last-child {
    margin-bottom: 0;
  }
  
  /* リスト全体の下マージンを調整 */
  .atoll-text ul,
  .atoll-text ol {
    margin-bottom: 2rem; /* リストの後の要素との間隔を広げる */
  }
  
  /* コンテンツリストクラス付きのリストも同様に調整 */
  .content-list li:before {
    background-color: #555; /* 青から黒に近いグレーに変更 */
  }
  
  .content-list-numbered li:before {
    color: #555; /* 青から黒に近いグレーに変更 */
  }
  
  /* セクション間の間隔を調整 */
  .atoll-text h2 {
    margin-top: 3rem; /* セクション間の間隔を広げる */
  }