
/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
}
a {
  text-decoration: none;
  color: #0066cc;
}
a:hover {
  text-decoration: underline;
}
header {
  background: linear-gradient(90deg, #001f3f, #0067a5);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  font-size: 1.4rem;
  font-weight: 600;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
nav li {
  font-size: 1rem;
}
nav a {
  color: #ffffff;
  font-weight: 500;
}
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}
section {
  margin-bottom: 60px;
}
section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #0067a5;
}
.hero {
  position: relative;
  width: 100%;
  height: 360px;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.hero .hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.intro img {
  flex: 1 1 320px;
  max-width: 100%;
  border-radius: 8px;
}
.intro .text {
  flex: 1 1 320px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
}
.spec-table th,
.spec-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}
.spec-table th {
  background-color: #f2f2f2;
  width: 30%;
}
.spec-table + h3 {
  margin-top: 20px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.step {
  background-color: #f7f7f7;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0067a5;
  margin-bottom: 8px;
}
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.point {
  background-image: url('images/point-bg.png');
  background-size: cover;
  background-position: center;
  color: #333;
  padding: 24px;
  border-radius: 8px;
  min-height: 200px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.point h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #0067a5;
}
.scenes ul {
  list-style: disc inside;
  padding-left: 20px;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* 動画の最大幅を指定 */
  height: 0;
  padding-bottom: 56.25%; /* アスペクト比 16:9 の場合 */
  margin: 0 auto; /* 中央揃えにする場合 */
}
.video-container .promo-video__player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
footer {
  background-color: #001f3f;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero {
    height: 260px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}

.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .news-card { background:#fff; border:1px solid #eee; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,.05); overflow:hidden; display:flex; flex-direction:column; }
    .news-thumb { aspect-ratio:16/9; width:100%; object-fit:cover; background:#f3f6f9; }
    .news-body { padding:16px; }
    .badge { display:inline-block; font-size:.78rem; padding:2px 10px; border-radius:999px; background:#e8f2fa; color:#0067a5; margin-bottom:8px; }
    .news-meta { font-size:.85rem; color:#666; margin-bottom:6px; }
    .news-title { font-size:1.1rem; font-weight:700; line-height:1.4; margin:4px 0 8px; }
    .news-excerpt { color:#555; }
    .news-card a.more { margin-top:auto; padding:12px 16px; border-top:1px solid #eee; display:block; text-align:right; }
    .news-layout { display:grid; grid-template-columns: 1fr 320px; gap: 32px; }
    .news-list { list-style:none; padding:0; margin:0; border-top:1px solid #eee; }
    .news-row { display:grid; grid-template-columns: 1fr 140px 24px; gap: 16px; align-items:center; padding:18px 0; border-bottom:1px solid #eee; }
    .news-row .left { display:flex; flex-direction:column; gap:8px; }
    .news-row .title { font-size:1.05rem; font-weight:700; line-height:1.5; }
    .news-row .title a { color:#222; text-decoration:none; }
    .news-row .title a:hover { text-decoration:underline; }
    .news-row .meta { display:flex; gap:12px; align-items:center; }
    .badge--outline { display:inline-block; font-size:.78rem; border:1px solid #2c8dcf; color:#2c8dcf; padding:2px 10px; border-radius:999px; }
    .news-row .date { color:#666; text-align:right; white-space:nowrap; }
    .news-row .chev { text-align:center; font-size:1.2rem; color:#6aaed9; }
    .sidebar { position:sticky; top:24px; display:flex; flex-direction:column; gap:16px; }
    .sidecard { background:#fff; border:1px solid #eee; border-radius:12px; padding:16px; }
    .sidecard h3 { font-size:1rem; margin:0 0 12px; }
    .sidecard .field { margin-bottom:12px; }
    .sidecard select { width:100%; padding:8px 10px; border:1px solid #ddd; border-radius:6px; background:#fff; }
    .cat-chips { display:flex; flex-wrap:wrap; gap:8px; }
    .chip { border:1px solid #ddd; border-radius:999px; padding:6px 10px; font-size:.9rem; background:#f7fbff; color:#0a5b8a; cursor:pointer; }
    .chip.active { background:#0a5b8a; color:#fff; border-color:#0a5b8a; }
    .topics { display:flex; flex-direction:column; gap:12px; }
    .topic { display:grid; grid-template-columns: 72px 1fr; gap:10px; align-items:center; }
    .topic .thumb { width:72px; height:48px; background:#f0f3f6; object-fit:cover; border-radius:6px; }
    .topic .t-title { font-size:.95rem; line-height:1.4; }
    .topic .t-title a { color:#222; text-decoration:none; }
    .topic .t-title a:hover { text-decoration:underline; }
    .pager { display:flex; gap:8px; justify-content:center; margin-top:24px; }
    .pager a { padding:6px 10px; border:1px solid #ddd; border-radius:6px; }
    @media (max-width: 980px) { .news-layout { grid-template-columns: 1fr; } .sidebar { position:static; } }
    .article-body { padding-top: 8px; }
    .article-body p { margin: 0 0 1em; line-height: 1.9; }


/* === SoftBank-like rounded pager === */
.pager { display:flex; justify-content:center; gap:8px; margin-top:20px; flex-wrap:wrap; }
.pager a, .pager span { display:inline-flex; min-width:36px; height:36px; padding:0 10px; align-items:center; justify-content:center; border:1px solid #d6dfe7; border-radius:999px; text-decoration:none; color:#0d2235; background:#fff; }
.pager a:hover { border-color:#0a5b8a; }
.pager [aria-current="page"] { background:#0a5b8a; color:#fff; border-color:#0a5b8a; }
.pager .dots { border:none; background:transparent; color:#9aa5af; min-width:auto; }
.pager [aria-disabled="true"] { pointer-events:none; opacity:0.4; }
.pager .prevnext { min-width:auto; }

/* article share tweaks */
.share:empty{display:none}
.share-bottom{margin-top:16px}


/* ==== Share pill buttons (brand-like) ==== */
.share { display:flex; gap:10px; flex-wrap:wrap; }
.share-btn { display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:6px 12px; font-weight:700; text-decoration:none; border:0; cursor:pointer; }
.share-btn svg { width:16px; height:16px; fill: currentColor; }
.share-x { background:#000; color:#fff; }
.share-line { background:#06C755; color:#fff; }
.share-fb { background:#1877F2; color:#fff; }
.share-copy { background:#333; color:#fff; }
.share-btn.ok { filter: brightness(1.05); }
/* ==== Make the whole news row clickable ==== */
.news-list { list-style:none; margin:0; padding:0; border-top:1px solid #e6edf3; }
.news-row { border-bottom:1px solid #e6edf3; }
.news-row .row-link { display:grid; grid-template-columns: 1fr 140px 22px; gap:16px; align-items:center; padding:18px 4px; text-decoration:none; color:inherit; }
.news-row .row-link:hover { background:#f7fbff; }
.news-row .row-link:focus { outline:2px solid #0a7ebd; outline-offset:2px; border-radius:4px; }
.news-row .title { font-size:1.02rem; font-weight:700; }
.news-row .title:hover { text-decoration:underline; }
.news-row .date { color:#5c6670; white-space:nowrap; text-align:right; }
.news-row .chev { color:#79b4e2; text-align:center; font-weight:700; }

.breadcrumb a { color:#6b7b85 !important; text-decoration:none; }

.breadcrumb a:hover { color:#0a5b8a !important; text-decoration:underline; }

.news-row .row-link, .news-row .row-link:hover, .news-row .row-link:visited { text-decoration:none; }
