/* =========================
   Base / Reset
========================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 20px;
  background: #202020;
  color: #eee;
  line-height: 1.8;
}

main {
  max-width: 900px;
  margin: 10px auto 40px;
  padding: 0 20px;
}

h1 {
  margin: 16px 0 10px;
  padding: 0 12px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 3px solid #444;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

a {
  text-decoration: none;
  color: #1a73e8;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* 本文中リンクは「リンクだと分かる」優先 */
main p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   Header / Nav
========================= */
header {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 30px 10px;
}

header p {
  margin-top: 10px;
  line-height: 1.8;
  font-size: 16px;
}

nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 30px;
  background: transparent;
  color: inherit;
}

nav a {
  color: #1a73e8;
  font-weight: 600;
}

/* =========================
   Media
========================= */
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 18px 0 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* =========================
   Sections / Footer
========================= */
section {
  padding: 14px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

section > ul li a {
  display: inline-block;
  padding: 6px 0;
}

section h2 + p a {
  font-weight: 600;
}

footer {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 18px 30px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* =========================
   Utility
========================= */
.subtitle {
  margin: 0 auto 14px;
  padding: 0 14px;
  max-width: 900px;
  line-height: 1.8;
  text-align: center;
  color: #999999;
}

.breadcrumb + h1 {
  font-size: 14px;
  color: #5e8497;
  margin-bottom: 15px;
}

.breadcrumb a {
  color: #5e8497;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  margin: 20px auto 30px;
  max-width: 1100px;
  border-radius: 14px;
  overflow: hidden;
}

.heroimg {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.herooverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 26px 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.10) 70%,
    rgba(0, 0, 0, 0)
  );
  color: #fff;
}

.herokicker {
  margin: 0 0 6px;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.herotitle {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
}

.herolead {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
}

.heroMedia {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.heroContent {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.heroContent h1 {
  white-space: nowrap; /* PCでは1行寄せ */
  font-size: clamp(18px, 2.6vw, 28px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.recommend {
  margin: 0;
  margin-top: 14px;
}

.brand-banner {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  margin: 16px auto 24px;
  border-radius: 10px;
}

/* =========================
   Size Page
========================= */
.size-link {
  text-align: right;
  margin: 4px 0 14px 0;
  margin-top: 10px;
  opacity: 0.9;
  font-size: 0.9rem;
}

.size-link a {
  font-size: 0.85rem;
  color: #6ec1e4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.size-tendency ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
}

.size-tendency li {
  margin-bottom: 0.8rem;
}

.size-tendency h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #5e8497;
}

.size-summary {
  margin: 8px 0 16px;
  opacity: 0.95;
}

.size-list {
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.size-list li {
  margin-bottom: 0.8rem;
}

.size-tendency strong {
  padding: 0 2px;
}

.size-table, .brand-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.size-table th, .size-table td,
.brand-table th, .brand-table td {
  border: 1px solid #444;
  padding: 10px;
  vertical-align: top;
}

.size-table thead th,
.brand-table thead th {
  background: rgba(255, 255, 255, 0.06);
}

.note {
  opacity: 0.85;
  font-size: 0.9rem;
}

/* =========================
   Fold / Tables
========================= */
.fold {
  margin: 18px 0 26px;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.fold summary {
  cursor: pointer;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 600px;
}

/* =========================
   Mobile (Unified)
========================= */
@media (max-width: 600px) {
  body {
    padding-top: 12px;
  }

  main {
    padding: 0 14px;
  }

  header {
    padding: 18px 14px 8px;
  }

  nav {
    padding: 10px 14px;
  }

  h2 {
    margin-top: 28px;
    font-size: 18px;
  }

  header p,
  .subtitle,
  .herolead {
    font-size: 15px;
    line-height: 1.85;
  }

  .heroimg {
    height: 220px;
  }

  /* スマホでは折り返し許可（改行調整をBRに頼らない） */
  .heroContent h1 {
    white-space: normal;
  }

  .size-table th, .size-table td,
  .brand-table th, .brand-table td {
    padding: 8px;
    font-size: 0.9rem;
  }

  a {
    text-underline-offset: 3px;
  }

  section > ul li a {
    padding: 10px 0;
  }
  .spbr{ display:inline; }
}

