@charset "UTF-8";
/* === リセット＆基本設定 === */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f0f4f8;
  font-size: 16px;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

/* === ヘッダー - クリーン＆モダン === */
header{
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  padding: 2.5em 2em;
  text-align: center;
  position: relative;
  border-bottom: 3px solid #0099cc;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

header::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 85% 20%, rgba(0,153,204,0.03) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(0,184,148,0.03) 0%, transparent 50%);
  pointer-events: none;
}

header > *{
  position: relative;
  z-index: 1;
}

.header-logo{
  width: 160px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  margin: 0 auto 0.8em;
  display: block;
}

.logo{
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.3em;
  letter-spacing: 0.02em;
  color: #006699;
  text-shadow: none;
}

.subtitle{
  font-size: 0.9em;
  margin-bottom: 1.5em;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #64748b;
}

.page-title{
  font-size: 1.5em;
  font-weight: 700;
  margin: 1em 0 0.8em;
  line-height: 1.5;
  padding: 0 1em;
  color: #0f172a;
  text-shadow: none;
}

.update-date{
  font-size: 0.85em;
  margin-top: 1em;
  font-weight: 400;
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.6em 1.5em;
  border-radius: 25px;
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 8px rgba(0,153,204,0.1);
}

/* === 特典バナー - クリーン＆モダン === */
.benefits{
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #0c4a6e;
  padding: 2em 2em;
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.05);
  border-bottom: 1px solid #93c5fd;
}

.benefits-title{
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2em;
  letter-spacing: 0.03em;
  color: #0369a1;
}

.benefits-items{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item{
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  background: #ffffff;
  color: #0369a1;
  padding: 0.9em 1.8em;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid #93c5fd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.benefit-item:hover{
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,153,204,0.2);
  border-color: #0099cc;
}

.benefit-item span{
  font-size: 1.4em;
}

/* === 冒頭文 === */
.intro{
  max-width: 960px;
  margin: 2em auto;
  padding: 1.5em 2em;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border-left: 5px solid #0099cc;
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.intro p{
  margin-bottom: 0.8em;
  color: #334155;
  font-size: 1em;
}

.intro p:last-child{
  margin-bottom: 0;
}

/* === メインコンテンツ === */
.main-content{
  padding: 1em 1.5em 2em;
}

/* === 目次 === */
.toc{
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0099cc;
  border-radius: 12px;
  padding: 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 2px 8px rgba(0,153,204,0.1);
}

.toc-title{
  font-size: 1.1em;
  font-weight: 700;
  color: #006699;
  margin-bottom: 1em;
  text-align: center;
}

.toc-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8em;
}

.toc-links a{
  background: #fff;
  color: #0099cc;
  padding: 0.7em 1.4em;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #0099cc;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.toc-links a:hover{
  background: #0099cc;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,153,204,0.3);
}

/* === セクション共通 === */
.section-header{
  margin: 2em 0 1.2em;
}

.section-header h2{
  font-size: 1.6em;
  color: #006699;
  border-left: 6px solid #00b894;
  padding-left: 0.8em;
  line-height: 1.3;
}

/* === おすすめ機種TOP3 === */
.recommend-section{
  margin: 2em 0;
}

.recommend-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  margin-top: 1.2em;
}

.recommend-card{
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.3em;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.recommend-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,153,204,0.2);
  border-color: #0099cc;
}

.badge{
  position: absolute;
  top: -12px;
  right: 15px;
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: #fff;
  padding: 0.4em 1em;
  border-radius: 25px;
  font-size: 0.82em;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,184,148,0.4);
  letter-spacing: 0.03em;
}

.model-image{
  width: 110px;
  height: 110px;
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  display: block;
  margin: 0.8em auto;
}

.model-name{
  font-size: 1.15em;
  font-weight: 700;
  color: #006699;
  text-align: center;
  margin: 0.6em 0 0.4em;
  line-height: 1.3;
}

/* === 星評価 === */
.rating{
  text-align: center;
  margin: 0.4em 0 0.8em;
  font-size: 1.1em;
  color: #f59e0b;
  line-height: 1.2;
}

.rating strong{
  color: #334155;
  margin-left: 0.4em;
  font-size: 1em;
  font-weight: 700;
}

.features{
  list-style: none;
  margin: 0.8em 0;
}

.features li{
  padding: 0.35em 0 0.35em 1.5em;
  position: relative;
  line-height: 1.5;
  color: #475569;
}

.features li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #00b894;
  font-weight: bold;
  font-size: 1.1em;
}

.note{
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.9em;
  border-radius: 8px;
  font-size: 0.9em;
  color: #64748b;
  line-height: 1.6;
  margin-top: 0.8em;
  border-left: 3px solid #0099cc;
}

.review-link{
  color: #0099cc;
  text-decoration: none;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 0.5em;
  font-weight: 600;
  transition: all 0.3s;
}

.review-link:hover{
  color: #006699;
  text-decoration: underline;
}

/* === キャリアセクション === */
.carrier-section{
  margin: 2.5em 0;
}

.carrier-header{
  font-size: 1.35em;
  font-weight: 700;
  color: #fff;
  padding: 1em 1.2em;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

.carrier-header.softbank{
  background: linear-gradient(135deg, #a8a8a8 0%, #565656 100%);
}

.carrier-header.wimax{
  background: linear-gradient(135deg, #00a0dc 0%, #005e97 100%);
}

.carrier-header.au{
  background: linear-gradient(135deg, #ff8c00 0%, #b24700 100%);
}

.carrier-header.docomo{
  background: linear-gradient(135deg, #c41e3a 0%, #6d0f1c 100%);
}

/* === テーブル === */
.table-wrapper{
  overflow-x: auto;
  border: 2px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  position: relative;
}

table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

thead{
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

th{
  padding: 0.8em 0.7em;
  font-weight: 700;
  color: #334155;
  border-bottom: 2px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  font-size: 0.9em;
  white-space: nowrap;
}

th:last-child{
  border-right: none;
}

/* 列幅の統一 */
th:nth-child(1){
	width: 28%;
}  /* 機種 */
th:nth-child(2){
	width: 11%;
}  /* 容量 */
th:nth-child(3){
	width: 9%;
}   /* 2泊3日 */
th:nth-child(4){
	width: 9%;
}   /* 4泊5日 */
th:nth-child(5){
	width: 9%;
}   /* 7泊8日 */
th:nth-child(6){
	width: 9%;
}   /* 10泊11日 */
th:nth-child(7){
	width: 10%;
}  /* 15~31日 */
th:nth-child(8){
	width: 10%;
}  /* 32日以降 */

td{
  padding: 0.9em 0.7em;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  vertical-align: middle;
}

td:last-child{
  border-right: none;
}

tbody tr:hover{
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

/* レスポンシブ時の機種列固定 */
@media screen and (max-width: 1024px) {
  .table-wrapper{
    overflow-x: scroll;
  }
  
  table{
    min-width: 900px;
  }
  
  th:first-child,
  td:first-child{
    position: sticky;
    left: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }
  
  thead th:first-child{
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    z-index: 11;
  }
  
  tbody tr:hover td:first-child{
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  }
}

.model-info {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.model-info img{
  width: 55px;
  height: 55px;
  max-width: 55px;
  max-height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}

.model-details {
  flex: 1;
}

.model-title{
  font-weight: 700;
  font-size: 1.05em;
  color: #006699;
  margin-bottom: 0.2em;
  line-height: 1.2;
}

.model-spec{
  font-size: 0.85em;
  color: #64748b;
  margin-bottom: 0.2em;
  line-height: 1.2;
}

.capacity-badge{
  display: inline-block;
  padding: 0.4em 0.9em;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 700;
  white-space: nowrap;
}

.capacity-badge.unlimited{
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #fff;
}

.capacity-badge.full-unlimited{
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  color: #fff;
}

.capacity-badge.limited{
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
  color: #795548;
}

.price{
  font-weight: 700;
  color: #0099cc;
  font-size: 1.08em;
  white-space: nowrap;
}

/* === 選び方ガイド === */
.guide-section{
  margin: 2.5em 0;
}

.guide-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  margin-top: 1.2em;
}

.guide-card{
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 5px solid #00b894;
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.guide-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,184,148,0.15);
}

.guide-card h3{
  color: #006699;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  font-weight: 700;
}

.guide-card p{
  margin-bottom: 0.7em;
  line-height: 1.65;
  color: #475569;
}

.guide-card strong{
  color: #0f172a;
  font-weight: 700;
}

/* === FAQ === */
.faq-section{
  margin: 2.5em 0;
}

.faq-list{
  margin-top: 1.2em;
}

.faq-item{
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom: 1em;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.faq-item:hover{
  border-color: #0099cc;
  box-shadow: 0 4px 12px rgba(0,153,204,0.1);
}

.faq-question{
  font-weight: 700;
  color: #006699;
  font-size: 1.05em;
  margin-bottom: 0.7em;
  line-height: 1.5;
  position: relative;
  padding-left: 2em;
}

.faq-question::before{
  content: "Q";
  position: absolute;
  left: 0;
  color: #00b894;
  font-weight: 700;
  font-size: 1.3em;
}

.faq-answer{
  color: #475569;
  line-height: 1.7;
  padding-left: 2em;
}

/* === CTA === */
.cta-section{
  text-align: center;
  margin: 2.5em 0 2em;
  padding: 2em;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,153,204,0.15);
}

.cta-section h3{
  color: #006699;
  font-size: 1.3em;
  margin-bottom: 1.2em;
  font-weight: 700;
}

.cta-button{
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  padding: 1.1em 3.5em;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15em;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
  letter-spacing: 0.05em;
}

.cta-button:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.5);
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

/* === フッター === */
footer{
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  text-align: center;
  padding: 2.5em 1em;
  font-size: 0.95em;
}

footer p{
  margin: 0.6em 0;
}

footer a{
  color: #22d3ee;
  text-decoration: none;
  transition: all 0.3s;
}

footer a:hover{
  color: #06b6d4;
  text-decoration: underline;
}

/* === レスポンシブ === */
@media screen and (max-width: 768px) {
  body{
    font-size: 15px;
    line-height: 1.65;
  }
  
  header{
    padding: 2em 1.5em;
  }
  
  .header-logo{
    width: 140px;
    max-height: 45px;
  }
  
  .logo{
    font-size: 1.6em;
  }
  
  .page-title{
    font-size: 1.25em;
    padding: 0 0.5em;
  }
  
  .benefits{
    padding: 1.5em 1em;
  }
  
  .intro{
    margin: 1.5em 1em;
    padding: 1.3em 1.5em;
  }
  
  .main-content{
    padding: 1em;
  }
  
  .benefits-items {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  
  .benefit-item{
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .recommend-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
  }
  
  .toc-links {
    gap: 0.6em;
  }
  
  .toc-links a{
    padding: 0.6em 1.1em;
    font-size: 0.9em;
  }
  
  table{
    font-size: 0.85em;
    min-width: 750px;
  }
  
  th, td{
    padding: 0.7em 0.5em;
  }
  
  th:first-child,
  td:first-child{
    position: sticky;
    left: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }
  
  thead th:first-child{
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    z-index: 11;
  }
  
  tbody tr:hover td:first-child{
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  }
  
  .model-info {
    flex-direction: row;
    align-items: center;
  }
  
  .model-info img{
    width: 45px;
    height: 45px;
    max-width: 45px;
    max-height: 45px;
    object-fit: contain;
  }

  .cta-button{
    padding: 0.9em 2.2em;
    font-size: 1.05em;
  }
}

@media screen and (max-width: 480px) {
  .page-title{
    font-size: 1.15em;
  }
  
  .section-header h2{
    font-size: 1.35em;
  }
  
  .carrier-header{
    font-size: 1.15em;
  }
}