@charset "UTF-8";
/* country.css - 国別ページ（下層ページ）専用のスタイル - 修正版 */

/* 国別ヘッダー */
.country-header{
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0 50px;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  overflow: hidden;
}

.country-header::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.country-header-content{
  position: relative;
  z-index: 2;
}

.country-name{
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.country-description{
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* インターネット事情セクション */
.internet-info{
  background-color: #f0f4f8;
  padding: 50px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.info-header{
  margin-bottom: 30px;
  text-align: center;
}

.info-summary{
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* グリッドレイアウトの修正 */
.info-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* カードのサイズ調整 */
.info-card{
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.info-title{
  font-size: 1.3rem;
  color: #3a86ff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.info-icon{
  margin-right: 10px;
  font-size: 1.5rem;
}

.info-list{
  margin-top: 15px;
}

.info-list li{
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.info-list li::before{
  content: '→';
  position: absolute;
  left: 0;
  color: #3a86ff;
}

/* サブセクション */
.sub-section{
  margin-top: 20px;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sub-section h4{
  color: #333;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* カード内のテーブル調整 */
.info-card .table-responsive{
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0;
}

/* ミニテーブル */
.mini-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 10px;
}

.mini-table th, 
.mini-table td{
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.mini-table th{
  background-color: #f0f7ff;
}

/* アプリ推奨グリッド */
.app-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-item{
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid #3a86ff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.app-item h5{
  margin-bottom: 5px;
  color: #333;
}

.app-item p{
  font-size: 0.9rem;
  margin: 0;
}

/* 特徴チェックリスト */
.feature-checklist{
  list-style: none;
  padding: 0;
}

.feature-checklist li{
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.feature-checklist li::before{
  position: absolute;
  left: 0;
  font-size: 1rem;
}

.feature-checklist li.checked::before{
  content: '✓';
  color: #2ecc71;
}

.feature-checklist li.unchecked::before{
  content: '✗';
  color: #e74c3c;
}

.feature-checklist li.warning::before{
  content: '⚠';
  color: #f39c12;
}

/* 地域情報のグリッド修正 */
.region-info{
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .region-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

.region-item{
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.region-item h4{
  margin-bottom: 10px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
}

/* 旅行ポイントセクション */
.travel-tips{
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.travel-tips h3{
  color: #3a86ff;
  margin-bottom: 20px;
  text-align: center;
}

/* 3列レイアウトの調整 */
.tips-columns{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tips-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tips-column h4{
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #e6f0ff;
  padding-bottom: 5px;
}

.tips-column ul{
  padding-left: 20px;
}

.tips-column li{
  margin-bottom: 8px;
}

/* 専門家アドバイス */
.expert-advice{
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.expert-advice h3{
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.expert-advice blockquote{
  background-color: white;
  border-left: 4px solid #3a86ff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-style: italic;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.expert-advice blockquote p{
  color: #333;
  line-height: 1.6;
}

.expert-advice blockquote footer{
  text-align: right;
  margin-top: 10px;
  color: #666;
  font-style: normal;
  background: none;
  padding: 0;
}

/* タブサブタイトル */
.tab-subtitle{
  margin-bottom: 15px;
  color: #3a86ff;
  font-size: 1.2rem;
}

/* 情報ボックス */
.info-box{
  background-color: #e6f0ff;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #3a86ff;
  max-width: 100%;
  box-sizing: border-box;
}

/* 価格ノート */
.price-note{
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  max-width: 100%;
  box-sizing: border-box;
}

.price-note ul{
  padding-left: 20px;
}

.price-note li{
  margin-bottom: 8px;
}

/* カバレッジ評価テーブル */
.rating-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.rating-table th, 
.rating-table td{
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
}

.rating-table th{
  background-color: #f0f7ff;
}

.coverage-note{
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
  font-style: italic;
}

/* カバレッジマップ */
.coverage-map{
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.coverage-map h4{
  margin-bottom: 15px;
  color: #333;
}

/* 速度の詳細 */
.speed-details{
  margin: 20px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.speed-note{
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

/* サポート比較 */
.support-comparison{
  margin: 20px 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ユーザー証言 */
.user-testimonial{
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  font-style: italic;
  max-width: 100%;
  box-sizing: border-box;
}

.user-testimonial footer{
  text-align: right;
  margin-top: 8px;
  font-style: normal;
  color: #666;
  background: none;
  padding: 0;
}

/* 総合評価 */
.overall-ratings{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.rating-item{
  text-align: center;
  margin: 10px;
}

.rating-service{
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.rating-stars{
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 5px;
  display: block;
}

.rating-count{
  font-size: 0.8rem;
  color: #666;
}

/* レビューのまとめ */
.review-summary{
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.review-summary h4{
  margin-bottom: 10px;
  color: #333;
}

.review-summary ul{
  padding-left: 20px;
}

.review-summary li{
  margin-bottom: 8px;
}

/* セキュリティノート */
.security-note{
  background-color: #fff3e0;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #f39c12;
  max-width: 100%;
  box-sizing: border-box;
}

.security-note h4{
  color: #f39c12;
  margin-bottom: 10px;
}

.security-note ol{
  padding-left: 20px;
}

.security-note li{
  margin-bottom: 8px;
}

/* コスト比較 */
.cost-comparison{
  margin: 15px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cost-note{
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* データ利用量 */
.data-usage{
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
}

.data-usage h4{
  margin-bottom: 10px;
  color: #333;
}

/* おすすめプラン */
.plans-container{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 100%;
}

.recommended-plan{
  background-color: #e6f0ff;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #3a86ff;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
}

.recommended-title{
  font-size: 1.3rem;
  color: #3a86ff;
  margin-bottom: 15px;
  font-weight: bold;
}

.plan-details{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.plan-item{
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 300px; /* 最小幅を300pxに設定 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  box-sizing: border-box;
}

.plan-provider{
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.plan-price{
  color: #3a86ff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.plan-features{
  margin-top: 10px;
}

.plan-features ul{
  padding-left: 20px;
}

.plan-features li{
  margin-bottom: 5px;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .country-name{
    font-size: 2rem;
  }
  
  .country-description{
    font-size: 1rem;
  }
  
  .plan-item{
    flex: 1 1 100%; /* モバイルでは全幅表示 */
    margin-bottom: 15px;
  }
  
  .recommended-plan{
    padding: 15px;
  }
  
  .info-card{
    padding: 15px;
  }
  
  .travel-tips,
  .expert-advice blockquote{
    padding: 15px;
  }
  
  /* レスポンシブテーブル - 横スクロール対応強化 */
  .mini-table,
  .rating-table{
    min-width: auto;
    width: 100%;
  }
  
  /* 各種テーブルの横スクロール調整 */
  .info-card .table-responsive,
  .sub-section .table-responsive{
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 親要素からはみ出さないようにする */
  .info-card .table-responsive table,
  .sub-section .table-responsive table{
    min-width: 500px;
    width: 100%;
  }
  
  /* インターネット事情全体のパディング調整 */
  .internet-info{
    padding: 30px 0;
  }
  
  /* 各カードの間隔調整 */
  .info-grid {
    gap: 15px;
  }
  
  /* アイコンとタイトルの調整 */
  .info-title{
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .info-icon{
    margin-right: 8px;
    font-size: 1.3rem;
  }
  
  /* フレックスの子要素がはみ出さないようにする */
  .plan-details {
    flex-direction: column;
  }
}