/* Solo Time website styles */
:root {
  --bg: #14130f;
  --surface: #1f1d18;
  --line: #2c2a24;
  --line-strong: #5a554a;
  --text: #f3efe6;
  --soft: #c9c2b2;
  --muted: #b9b2a3;
  --nav: #d6cfbf;
  --accent: #e8b44a;
  --accent-hover: #f5cf7d;
  --ink: #14130f;
  --stage: #ece7dc;        /* light backdrop behind product photos */
  --stage-2: #e2dccf;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 6.6vw, 96px);
  color-scheme: dark;
}
html[lang="ja"] {
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--accent); color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #33302a; color: var(--text); }
.icon-btn {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--text); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20, 19, 15, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 900; font-size: 21px; white-space: nowrap; }
.brand svg { color: var(--accent); }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--nav); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.top-right { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; }
.langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.langs a:hover { color: var(--text); }
.langs a[aria-current] { background: var(--line); color: var(--text); }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 80px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
html[lang="ja"] .eyebrow { letter-spacing: 2px; }
.hero h1 { margin: 22px 0 24px; font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 1.1; }
html[lang="ja"] .hero h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.25; }
.lead { margin: 0 0 32px; max-width: 540px; font-size: 19px; line-height: 1.7; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.carousel { position: relative; height: 560px; border-radius: 32px; background: var(--stage); color: var(--ink); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.chip { position: absolute; top: 24px; padding: 8px 16px; border-radius: 999px; font-size: 14px; line-height: 1.3; }
.carousel .chip { background: var(--ink); color: var(--text); }
.carousel .chip-tag { left: 24px; font-weight: 700; font-size: 13px; color: var(--accent); }
.carousel .chip-spec { right: 24px; }
.slide-img { position: absolute; top: 84px; right: 40px; bottom: 116px; left: 40px; display: flex; align-items: center; justify-content: center; }
.slide-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.slide-info { position: absolute; left: 28px; bottom: 24px; right: 170px; display: flex; flex-direction: column; gap: 2px; }
.slide-info strong { font-family: var(--serif); font-weight: 900; font-size: 24px; line-height: 1.2; }
.slide-info .spec { display: none; font-size: 14px; color: #4a463d; }
.slide-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 15px; text-decoration: none; color: #8a5a00; }
.slide-link:hover { color: var(--ink); }
.car-ctrl { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; }
.carousel .icon-btn { background: var(--stage); color: var(--ink); border-color: #b5ad9c; }
.carousel .icon-btn:hover { border-color: var(--ink); }
.counter { min-width: 36px; text-align: center; font-size: 14px; color: #4a463d; }

/* ---------- sections ---------- */
.section { padding-top: 120px; scroll-margin-top: 60px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
h2 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; }
.sec-head p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.7; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.f-icon { color: var(--accent); }
.card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.3; }
.card p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- video ---------- */
.video-box { position: relative; aspect-ratio: 12 / 5; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-box .chip { left: 24px; background: rgba(20, 19, 15, .8); color: var(--text); }
.video-ctrls { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 10px; }
.video-ctrls .icon-btn { background: rgba(20, 19, 15, .8); }
.video-sound { width: auto; padding: 0 16px 0 12px; gap: 8px; font: inherit; font-size: 14px; font-weight: 700; }
.video-sound.is-on { background: var(--accent) !important; color: var(--ink); border-color: var(--accent); }
.tt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 56px 0 24px; }
.tt-head h3 { margin: 0; font-size: 26px; }
.tt-handle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }
.tt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tt-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 9 / 16; padding: 20px; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.tt-card:hover { color: var(--text); border-color: var(--line-strong); }
.tt-card .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tt-card:hover .cover { transform: scale(1.03); }
.tt-card.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, .78)); }
.tt-card .play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 999px; background: rgba(20, 19, 15, .72); display: flex; align-items: center; justify-content: center; }
.tt-card .cap { position: relative; z-index: 1; font-size: 15px; font-weight: 500; line-height: 1.4; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product { display: flex; flex-direction: column; gap: 18px; padding: 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.product.light { background: var(--text); border-color: var(--text); color: var(--ink); }
.ptag { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--line); color: var(--accent); }
.product.light .ptag { background: var(--ink); color: var(--text); }
.pimg { height: 220px; padding: 24px; border-radius: 20px; background: var(--stage); display: flex; align-items: center; justify-content: center; }
.product.light .pimg { background: var(--stage-2); }
.pimg img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 900; font-size: 32px; line-height: 1.2; }
.pdesc { margin: 0; font-size: 17px; line-height: 1.7; color: var(--soft); }
.product.light .pdesc { color: #4a463d; }
.product ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.product li::marker { color: var(--accent); }
.product.light li::marker { color: #8a5a00; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* ---------- compare ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
th, td { padding: 20px 32px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--surface); border-top: 0; color: var(--muted); font-weight: 700; }
tbody th { width: 28%; color: var(--muted); font-weight: 500; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.4; list-style-position: outside; }
details p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- footer ---------- */
.foot { margin-top: 120px; border-top: 1px solid var(--line); }
.foot .wrap { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--nav); text-decoration: none; }
.foot a:hover { color: var(--text); }
.buybar { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { gap: 40px; }
  .product { padding: 32px; }
}

/* ---------- phone ---------- */
@media (max-width: 860px) {
  body { padding-bottom: 84px; }
  .top .wrap { height: 64px; gap: 12px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand svg { width: 28px; height: 16px; }
  .top-cta { display: none; }
  .langs a { padding: 0 10px; }

  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .lead { font-size: 17px; margin-bottom: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .carousel { height: 400px; border-radius: 24px; }
  .carousel .chip { top: 16px; }
  .carousel .chip-tag { left: 16px; }
  .carousel .chip-spec { display: none; }
  .slide-img { top: 64px; right: 20px; bottom: 128px; left: 20px; }
  .slide-info { left: 20px; right: 20px; bottom: 16px; }
  .slide-info strong { font-size: 20px; padding-right: 112px; }
  .slide-info .spec { display: block; }
  .car-ctrl { right: 16px; bottom: 76px; }
  .counter { display: none; }

  .section { padding-top: 72px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
  .sec-head p { font-size: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 22px; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; }
  .card .f-icon { grid-row: span 2; }
  .card h3 { margin: 4px 0 6px; font-size: 18px; }
  .card p { font-size: 15px; }

  .video-box { aspect-ratio: 16 / 9; border-radius: 20px; }
  .video-box .chip { top: 12px; left: 12px; font-size: 12px; padding: 6px 12px; }
  .video-ctrls { right: 12px; bottom: 12px; gap: 8px; }
  .tt-head { margin: 36px 0 16px; }
  .tt-head h3 { font-size: 20px; }
  .tt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tt-card { padding: 14px; border-radius: 18px; }
  .tt-card .play { width: 48px; height: 48px; }
  .tt-card .cap { font-size: 14px; }

  .products { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product { padding: 26px 22px; gap: 14px; }
  .pimg { height: 170px; }
  .product h3 { font-size: 25px; }
  .pdesc { font-size: 15px; }
  .product ul { font-size: 15px; }
  .product .btn { align-self: stretch; }

  .table-wrap { border-radius: 18px; }
  table { font-size: 14px; }
  th, td { padding: 12px 12px; }
  tbody th { width: 30%; }

  .faq { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  summary { font-size: 17px; }

  .foot { margin-top: 72px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; justify-content: center; }

  .buybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(20, 19, 15, .96); border-top: 1px solid var(--line); }
  .buybar .btn { width: 100%; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
