:root {
    --ink: #404040;
    --muted: #a8a8a8;
    --line: #ececec;
    --bg: #fff;
    --accent: #3d5c54;
    --dark: #1a1a1a;
    --cat: #ff9933;
    --link: #296eb8;
    --hover: #f4f6fa;
  }
  * { box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
  }
  body {
    margin: 0;
    color: var(--ink);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", "Lucida Grande", Verdana, sans-serif;
    background: var(--bg);
    line-height: 1.15;
    font-size: 11px;
    overflow-x: clip;
    max-width: 100%;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
  img { display: block; max-width: 100%; }
  .wrap { width: min(1320px, calc(100% - 20px)); margin: 0 auto; }

  .ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.15;
  }
  .ticker__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    padding: 20px 0;
    text-align: center;
  }
  .ticker__left,
  .ticker__right {
    margin: 0;
    font-size: 14px;
  }
  .ticker__left {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
  }
  .ticker__right {
    flex: 0 1 auto;
    text-align: center;
    white-space: normal;
    max-width: min(420px, 48%);
  }
  .ticker__em {
    color: #9f0404;
    font-weight: 700;
  }

  .nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
  }
  .nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 0;
    padding: 14px 0;
  }
  .brand {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", "Lucida Grande", Verdana, sans-serif;
    font-size: 20px;
    letter-spacing: .18em; font-weight: 400;
    white-space: nowrap; flex-shrink: 0;
    line-height: 1;
  }
  .nav__right {
    display: flex; align-items: center; gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
  }
  .nav__auth {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; color: var(--muted);
    margin-right: 4px;
  }
  .nav__auth a:hover, .nav__auth button:hover { color: var(--ink); }
  .nav__login {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--ink);
    line-height: 1.1;
    min-width: 42px;
    padding: 4px 2px;
  }
  .nav__login:hover { opacity: .7; }
  .nav__user { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav__icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    color: var(--ink);
  }
  .nav__icon:hover { opacity: .7; }
  .nav__icon:not(.nav__icon--label) svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none; stroke-width: 1.5;
  }
  .nav__icon--label {
    width: auto;
    min-width: 42px;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1.1;
    padding: 4px 2px;
  }

  .nav__login svg,
  .nav__icon--label svg {
    width: 22px; height: 22px;
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
  }
  .nav__cart-ico { position: relative; display: grid; place-items: center; }
  .nav__cart-badge {
    position: absolute; top: -7px; right: -9px; z-index: 1;
    min-width: 18px; height: 18px; padding: 0 5px;
    border: 1px solid #fff; border-radius: 999px;
    background: #ef3038; color: #fff;
    font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
  }

  .modal {
    position: fixed; inset: 0; z-index: 100;
    display: none; align-items: center; justify-content: center;
    padding: 20px; background: rgba(0,0,0,.45);
  }
  .modal.is-open { display: flex; }
  .modal__panel {
    width: min(380px, 100%);
    background: #fff; padding: 32px 28px 24px; position: relative;
  }
  .modal__close {
    position: absolute; right: 12px; top: 10px;
    font-size: 20px; color: var(--muted);
  }
  .modal h2 {
    margin: 0 0 8px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", "Lucida Grande", Verdana, sans-serif;
    font-size: 20px; letter-spacing: .06em; font-weight: 400;
  }
  .modal .hint { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
  .modal label { display: block; font-size: 11px; color: var(--muted); margin: 0 0 6px; }
  .modal input[type="text"],
  .modal input[type="password"] {
    width: 100%; padding: 10px 12px; margin-bottom: 14px;
    border: 1px solid var(--line); font-size: 14px;
  }
  .modal__submit {
    width: 100%; padding: 12px; border: 0; cursor: pointer;
    background: var(--ink); color: #fff; font-size: 12px;
  }
  .modal__links {
    margin-top: 14px; display: flex; justify-content: space-between;
    font-size: 12px; color: var(--accent);
  }

  .hero {
    position: relative;
    width: 100%;
    background: #f4f6fa;
    box-sizing: border-box;
    padding: 12px 16px 16px;
    height: auto;
    max-width: 100%;
    overflow: hidden;
  }
  @media screen and (min-width: 768px) {
    .hero { padding: 16px 24px 20px; }
  }
  @media screen and (min-width: 1200px) {
    .hero { padding: 20px 32px 24px; }
  }
  .hero__viewport {
    width: 100%;
    overflow: hidden;
  }
  .hero__track {
    display: flex;
    gap: 0;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    will-change: transform;
    transition: transform .4s ease;
  }
  @media screen and (min-width: 768px) {
    .hero__track {
      height: 260px;
      gap: 16px;
    }
  }
  @media screen and (min-width: 1200px) {
    .hero__track {
      height: 300px;
      gap: 24px;
    }
  }
  .hero__item {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #e8ebf0;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    overflow: hidden;
    transition: opacity .3s;
  }
  @media screen and (min-width: 768px) {
    .hero__item { flex-basis: calc((100% - 32px) / 3); }
  }
  @media screen and (min-width: 1200px) {
    .hero__item { flex-basis: calc((100% - 48px) / 3); }
  }
  .hero__item:hover { opacity: .7; }
  @media (hover: none) {
    .hero__item:hover { opacity: 1; }
  }
  .hero__card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
  }
  .hero__image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  .hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
  }
  .hero__card-body {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(0,0,0,.45);
  }

  .hero__card-body strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
  }
  @media screen and (max-width: 768px) {
    .hero__card-body strong { font-size: 14px; }
  }
  .hero__card-body span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
  }
  @media screen and (max-width: 768px) {
    .hero__card-body span { font-size: 11px; }
  }

  .hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    margin: 0;
    height: 8px;
  }
  @media screen and (max-width: 768px) {
    .hero__dots { bottom: 1px; }
  }
  .hero__dot {
    pointer-events: auto;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #a8a8a8;
    cursor: pointer;
  }
  .hero__dot.is-on {
    background: #404040;
  }

  body > .page {
    padding: 28px 0 0;
  }
  .page__inner {
    display: block;
    overflow: visible;
    min-width: 0;
  }
  .page__main { width: 100%; min-width: 0; }
  .nav,
  .ticker,
  footer {
    max-width: 100%;
    overflow-x: clip;
  }

  .page__main section { padding: 0 0 40px; }
  .page__main section.alt {
    background: transparent;
  }
  .page__main .sec-panel {
    background: #faf9f7;
    padding: 20px 16px;
    margin: 0 -8px 0;
  }
  @media (min-width: 901px) {
    .page__main .sec-panel { padding: 22px 20px; margin: 0; }
  }

  .sec-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 22px; gap: 12px;
  }
  .sec-title {
    margin: 0;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--ink);
  }
  .more {
    font-size: 14px;
    font-weight: 700;
    color: var(--link);
  }
  .more:hover { text-decoration: underline; color: var(--link); }

  .grid {
    display: grid; gap: 24px 14px;
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: 600px) { .grid { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
  .card { display: flex; flex-direction: column; gap: 8px; }
  .card:hover .card__img img { transform: scale(1.03); }
  .card__img { aspect-ratio: 1; background: #f0eeea; overflow: hidden; }
  .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
  .card h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .card__price {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
  }
  .card__price .tax {
    font-size: 11px;
    font-weight: 400;
    margin-left: 5px;
  }

  .tabs-scroll {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 22px;
  }
  .tabs-scroll__arrow {
    display: none;
    flex: 0 0 auto;
    width: 28px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    cursor: pointer;
    place-items: center;
  }
  .tabs-scroll__arrow svg {
    width: 18px;
    height: 18px;
  }
  .tabs-scroll__arrow:disabled {
    opacity: .28;
    cursor: default;
  }
  .tabs-scroll__arrow[hidden] {
    display: none;
  }
  .tabs {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 2px;
    overflow: hidden;
    border-radius: 4px;
  }
  .tab {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
    border: 0;
    background: #f0f0f2;
    color: #8a8a90;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
  }
  .tab:hover:not(.is-on) { background: #e8e8ec; color: #666; }
  .tab.is-on {
    background: #2f2f33;
    color: #fff;
    font-weight: 700;
  }
  @media (max-width: 799px) {
    .tabs-scroll__arrow {
      display: grid;
    }
    .tabs-scroll__arrow[hidden] {
      visibility: hidden;
      pointer-events: none;
      display: grid;
    }
    .tabs {
      gap: 8px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      border-radius: 0;
      scrollbar-width: none;
    }
    .tabs::-webkit-scrollbar { display: none; }
    .tab {
      flex: 0 0 auto;
      padding: 9px 16px;
      border: 1px solid #e6e6ea;
      border-radius: 999px;
      background: #fff;
      color: #222;
      font-size: 13px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    }
    .tab:hover:not(.is-on) {
      background: #fff;
      color: #222;
    }
    .tab.is-on {
      background: #2f2f33;
      border-color: #2f2f33;
      color: #fff;
    }
  }
  #popular .sec-head { margin-bottom: 16px; }

  .diy-embed {
    padding: 0 0 40px;
  }
  .diy-embed__frame {
    position: relative;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 72vh;
  }
  .diy-embed__frame iframe {
    display: block;
    width: 100%;
    height: 72vh;
    min-height: 520px;
    border: 0;
  }
  .diy-embed__shield {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
  }
  .diy-embed__frame.is-active .diy-embed__shield {
    display: none;
  }
  @media (max-width: 799px) {
    .diy-embed__frame,
    .diy-embed__frame iframe { min-height: 640px; height: 80vh; }
  }

  .reviews-wrap {
    position: relative;
  }
  .reviews-strip {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .reviews-strip::-webkit-scrollbar { display: none; }
  .reviews-track {
    display: flex;
    gap: 16px;
    width: max-content;
  }
  .reviews-nav {
    display: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
    place-items: center;
  }
  .reviews-nav svg { width: 18px; height: 18px; }
  .reviews-nav:disabled {
    opacity: .28;
    cursor: default;
    color: #999;
  }
  .reviews-nav[hidden] { display: none; }
  .review-card {
    flex: 0 0 280px;
    width: 280px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  @media (max-width: 799px) {
    .reviews-wrap {
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr) 36px;
      align-items: center;
      gap: 8px;
    }
    .reviews-nav {
      display: grid;
      position: relative;
      z-index: 1;
    }
    .reviews-strip {
      overflow: hidden;
      padding: 4px 0 8px;
      touch-action: pan-y;
    }
    .reviews-track {
      gap: 0;
      width: max-content;
      transition: transform .28s ease;
      will-change: transform;
    }
    .review-card {
      flex: 0 0 auto;
      max-width: none;
    }
  }
  .review-card__media {
    display: block;
    aspect-ratio: 1;
    background: #f7f5f1;
    overflow: hidden;
    flex-shrink: 0;
  }
  .review-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .review-card__body {
    margin: 0;
    padding: 18px 16px 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink);
    min-height: calc(1.8em * 4);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
  .review-card__foot {
    margin-top: auto;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .review-card__user {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 12px;
    color: var(--ink);
  }
  .review-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0eeea;
  }
  .review-card__avatar--ph {
    display: grid;
    place-items: center;
    color: #9a9a9f;
  }
  .review-card__avatar--ph svg { width: 16px; height: 16px; }
  .review-card__date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .reviews-nav[hidden] { display: none; }

  .trust {
    display: grid; gap: 1px; background: var(--line);
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--line);
  }
  @media (min-width: 800px) { .trust { grid-template-columns: repeat(3, 1fr); } }
  .trust article {
    background: #fff;
    padding: 22px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .trust strong {
    display: block; font-size: 16px; margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", "Lucida Grande", Verdana, sans-serif;
    font-weight: 700; letter-spacing: .06em;
  }
  .trust strong + span { margin-top: 6px; }
  .trust span { font-size: 11px; color: var(--muted); }

  .empty {
    grid-column: 1 / -1; text-align: center; padding: 40px 12px;
    color: var(--muted); font-size: 12px;
  }

  footer {
    background: #fff;
    color: var(--ink);
    border-top: 1px solid var(--line);
    padding: 40px 0 0;
    font-size: 14px;
  }
  .foot__grid {
    display: grid;
    gap: 32px 28px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    width: 100%;
  }
  @media (min-width: 900px) {
    .foot__grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: 28px;
    }
  }
  .foot__grid > div {
    text-align: left;
  }
  footer h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
    text-align: left;
  }
  footer ul { list-style: none; margin: 0; padding: 0; }
  footer li { margin: 0; }
  .foot__grid > div > ul > li > a {
    display: inline-block;
    color: var(--ink);
    font-size: 14px;
    padding: 8px 0;
    line-height: 1.4;
  }
  .foot__grid > div > ul > li > a:hover { text-decoration: underline; }

  .foot__sns { list-style: none; margin: 0; padding: 0; }
  .foot__sns li + li { margin-top: 10px; }
  .foot__sns a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    padding: 6px 0;
  }
  .foot__sns a:hover { opacity: .65; text-decoration: none; }
  .foot__sns-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .foot__sns-row svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .foot__sns-row strong {
    font-size: 14px;
    font-weight: 700;
  }
  .foot__sns p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
  }

  @media (max-width: 720px) {
    .brand img { height: 36px; max-width: 140px; }

    footer { padding-top: 0; }
    footer h4 {
      font-size: 14px;
      color: var(--muted);
      background: #f4f6fa;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 12px;
      margin: 0;
      text-align: left;
    }
    .foot__grid { gap: 0; margin: 0; width: 100%; }
    .foot__grid > div > ul > li > a {
      display: block;
      width: 100%;
      padding: 16px;
      box-sizing: border-box;
      text-align: left;
    }
    .foot__sns li + li { margin-top: 0; }
    .foot__sns a { padding: 16px; }
  }
  @media (max-width: 480px) {

  }

  @media (max-width: 1024px) {
    .wrap { width: min(1320px, calc(100% - 20px)); }
  }

  @media (max-width: 900px) {
    body > .page { padding: 20px 0 0; }
    .page__main section { padding: 0 0 32px; }
    .sec-title { font-size: 16px; letter-spacing: 0; }
  }

  @media (max-width: 720px) {
    .wrap { width: min(1320px, calc(100% - 16px)); }
    .ticker {
      font-size: 11px;
    }
    .ticker__left,
    .ticker__right {
      font-size: 11px;
    }
    .ticker__inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 6px;
      padding: 12px;
    }
    .ticker__right {
      text-align: center;
      white-space: normal;
    }
    .nav__top {
      gap: 8px 10px;
      min-height: 0;
      padding: 8px 0 10px;
    }
    .brand { font-size: 16px; letter-spacing: .12em; align-self: center; }
    .nav__right { margin-left: auto; }
    .nav__login,
    .nav__icon--label {
      min-width: 40px;
      gap: 4px;
      padding: 2px;
      font-size: 11px;
    }
    .nav__login svg,
    .nav__icon--label svg { width: 20px; height: 20px; }
    .nav__icon:not(.nav__icon--label) {
      width: 40px; height: 40px;
    }

    .page__main .sec-panel {
      margin: 0 -12px;
      padding: 18px 12px;
    }
    .sec-head { margin-bottom: 16px; flex-wrap: wrap; }
    .grid { gap: 16px 10px; }
    .card h3 { font-size: 11px; }
    .card__price { font-size: 12px; }
    .trust article { padding: 16px 10px; }
    .trust strong { font-size: 14px; }
    .modal__panel { padding: 28px 20px 20px; }
    .modal__links { flex-direction: column; gap: 8px; }
    footer { padding: 32px 0 0; }

  }

  @media (max-width: 480px) {
    .wrap { width: calc(100% - 16px); }
    .nav__login > span,
    .nav__icon--label > span:not(.nav__cart-ico) { display: none; }
    .nav__login,
    .nav__icon--label { gap: 0; padding: 6px; min-width: 36px; }
    .grid { gap: 14px 8px; }
    .card__price { font-size: 12px; }
    .trust { grid-template-columns: 1fr; }
  }

  @supports (padding: max(0px)) {

    .nav {
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }
  }

  .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
  }
  .brand img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
  }

  .foot__copy img { height: 14px; width: auto; display: inline-block; vertical-align: middle; object-fit: contain; }
