:root{
  --bg:#faf7f3;
  --panel:#fffdfa;
  --panel-soft:#fcf8f5;
  --line:#e6ddd6;
  --text:#4d4039;
  --muted:#7b6d66;
  --gold:#c89f51;
  --gold-dark:#ab8240;
  --white-metal:#cdd2d6;
  --yellow-metal:#d5b05d;
  --pink-metal:#d5ac9f;
  --green-metal:#bcc4a2;
  --champagne-metal:#d4bc82;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hiragino Mincho ProN","Yu Mincho",serif;color:var(--text);background:var(--bg);line-height:1.8;letter-spacing:.04em}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 48px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:20;height:76px;background:rgba(255,253,250,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,221,214,.7);display:flex;align-items:center;gap:20px;padding:0 22px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:34px;height:34px;border:1px solid #d8c7b4;border-radius:50%;display:grid;place-items:center;color:#9d836c;font-size:13px}.brand-text{display:grid;line-height:1.1}.brand-text strong{font-size:22px;font-weight:500}.brand-text small{font-size:12px;color:var(--muted)}
.site-nav{margin-left:auto;display:flex;gap:24px;font-size:13px;white-space:nowrap}.site-nav a{color:#6a5d56}
.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid transparent;min-height:46px;padding:0 26px;font-size:14px;transition:.2s}.header-cta,.button.primary{background:linear-gradient(180deg,#d2af67 0%,#bf9348 100%);color:#fff;box-shadow:0 10px 24px rgba(191,147,72,.22)}.button.secondary{background:#fff;color:var(--gold-dark);border-color:#dac3ac}.button:hover{transform:translateY(-1px)}
.hero{background:linear-gradient(90deg,#fbf7f4 0%,#fceee9 100%);padding:52px 0 26px}.hero-grid{display:grid;grid-template-columns:minmax(340px,1fr) minmax(420px,1.1fr);align-items:center;gap:40px}.hero-copy h1{font-size:clamp(50px,4.4vw,74px);line-height:1.24;margin:0 0 24px;font-weight:500}.hero-copy p{margin:0 0 14px;font-size:19px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.hero-visual img{width:100%;border-radius:0;object-fit:cover}
.feature-strip{margin-top:18px;background:rgba(255,252,249,.96);border:1px solid rgba(230,221,214,.8);border-radius:14px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;box-shadow:0 10px 28px rgba(128,100,80,.06)}.feature-strip div{text-align:center;padding:18px 12px;font-size:15px;color:#7f6f66}.feature-strip div+div{border-left:1px solid rgba(230,221,214,.9)}
.about{padding:68px 0 50px}.about-grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(380px,1.1fr);gap:34px;align-items:center}.about-copy h2{font-size:56px;margin:0 0 24px;font-weight:500}.about-copy p{font-size:22px;margin:0 0 6px}.script{margin-top:28px;font-size:44px;line-height:1.2;color:#d5bb9d;font-style:italic;font-family:"Times New Roman",serif}.about-visual img{width:100%;border-radius:0}
.section{padding:48px 0}.section-title{text-align:center;font-size:54px;line-height:1.25;margin:0 0 28px;font-weight:500;position:relative}.section-title:before,.section-title:after{content:"";display:inline-block;width:92px;height:1px;background:#d9ccb8;vertical-align:middle;margin:0 22px}.section-sub{text-align:center;margin:-8px 0 28px;color:var(--muted);font-size:16px}
.gem-lineup{display:grid;grid-template-columns:repeat(6,1fr);background:transparent}.gem-item{text-align:center;padding:8px 18px 0;position:relative}.gem-item + .gem-item:before{content:"";position:absolute;left:0;top:22px;bottom:24px;width:1px;background:#ddd0c2}.gem-item h3{font-size:20px;line-height:1.5;margin:0 0 16px;font-weight:500;min-height:60px}.gem-item img{width:min(100%,152px);margin:0 auto}
.note-box{margin-top:26px;border:1px solid var(--line);background:#fffaf7;border-radius:12px;padding:16px 24px;text-align:center;color:#6f635d}.note-box p{margin:4px 0;font-size:15px}
.section-metals{padding-top:40px}.metal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.metal-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px 16px;text-align:center}.swatch{display:block;width:72px;height:72px;border-radius:50%;margin:0 auto 16px;box-shadow:inset 10px 10px 16px rgba(255,255,255,.58), inset -12px -12px 18px rgba(85,65,40,.15)}.swatch.white{background:var(--white-metal)}.swatch.yellow{background:var(--yellow-metal)}.swatch.pink{background:var(--pink-metal)}.swatch.green{background:var(--green-metal)}.swatch.champagne{background:var(--champagne-metal)}.metal-card h3{font-size:21px;margin:0 0 10px;font-weight:500}.metal-card p{margin:0;color:#6a5d56;font-size:17px;line-height:1.7}.small-note{text-align:center;color:#8b7a71;font-size:14px;margin:18px 0 0}
.simulation{padding-top:34px}.sim-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:26px;display:grid;grid-template-columns:minmax(340px,.95fr) minmax(420px,1.05fr);gap:22px;box-shadow:0 12px 30px rgba(120,95,75,.05)}.sim-preview-card,.sim-controls-card{background:#fffdfb;border:1px solid #ede3dc;border-radius:14px;padding:22px}.ring-stage{padding:10px 0 6px}.position-labels{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:240px;margin:0 auto 12px;text-align:center;color:#816d63;font-size:20px}.fixed-design-box{border-top:1px solid var(--line);padding-top:18px;text-align:center;color:#6a5d56}.fixed-design-box strong{display:block;font-size:26px;margin-bottom:8px;font-weight:500}.fixed-design-box small{font-size:16px}

.step-block + .step-block{margin-top:18px}.step-block h3{font-size:22px;margin:0 0 12px;font-weight:500}.choice-grid{display:grid;gap:10px}.metal-choice-grid{grid-template-columns:repeat(5,1fr)}.choice-button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 8px;text-align:center;cursor:pointer;transition:.2s}.choice-button:hover,.choice-button.is-active{border-color:#d2b27a;box-shadow:0 8px 20px rgba(191,147,72,.14)}.choice-button .mini-swatch{display:block;width:36px;height:36px;border-radius:50%;margin:0 auto 8px;box-shadow:inset 7px 7px 10px rgba(255,255,255,.6), inset -9px -9px 12px rgba(60,45,30,.16)}.choice-button img{width:52px;height:52px;border-radius:50%;object-fit:cover;margin:0 auto 8px}.choice-button small{display:block;font-size:12px;line-height:1.35;color:#5f534d}

.simulation-notes{padding:16px 6px 0;color:#7a6d66;font-size:14px}.simulation-notes p{margin:5px 0}.warning{color:#9a533b;font-weight:700;font-size:14px}
.flow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.flow-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px 18px;text-align:center;position:relative}.flow-card span{display:block;color:var(--gold);font-size:38px;line-height:1;margin-bottom:10px}.flow-card h3{font-size:22px;margin:0 0 8px;font-weight:500}.flow-card p{font-size:15px;margin:0;color:#6b5f57}

.bottom-cta{padding:56px 0 76px;background:linear-gradient(90deg,rgba(251,245,241,.94) 0%,rgba(250,240,235,.84) 42%,rgba(250,240,235,.16) 100%), url('assets/footer-ring-final.png') center right/cover no-repeat}.bottom-cta-inner{min-height:240px;display:flex;align-items:center}.bottom-copy h2{font-size:56px;line-height:1.35;margin:0 0 16px;font-weight:500}.bottom-copy p{font-size:18px;color:#645750;margin:0 0 20px}
@media (max-width:1100px){
  .site-header{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 18px}
  .site-nav{order:3;width:100%;overflow-x:auto;padding-bottom:4px;gap:18px}
  .hero-grid,.about-grid,.sim-panel{grid-template-columns:1fr}
  .hero-copy h1{font-size:58px}
  .gem-lineup{grid-template-columns:repeat(3,1fr);row-gap:24px}
  .gem-item:nth-child(4):before{display:none}
  .metal-grid{grid-template-columns:repeat(3,1fr)}
  
  .metal-choice-grid{grid-template-columns:repeat(3,1fr)}
  .flow-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  body{line-height:1.7}
  .container{width:min(100%,calc(100% - 28px))}
  .hero{padding-top:30px}
  .hero-copy h1{font-size:42px}
  .hero-copy p{font-size:16px}
  .section-title{font-size:34px}
  .section-title:before,.section-title:after{display:none}
  .about-copy h2{font-size:38px}
  .about-copy p{font-size:17px}
  .script{font-size:32px}
  .feature-strip{grid-template-columns:1fr;border-radius:12px}
  .feature-strip div+div{border-left:0;border-top:1px solid rgba(230,221,214,.9)}
  .gem-lineup{grid-template-columns:repeat(2,1fr)}
  .gem-item:before{display:none !important}
  .gem-item h3{font-size:16px;min-height:auto}
  .note-box p{font-size:13px}
  .metal-grid,.faq-boxes,.flow-grid{grid-template-columns:1fr}
  .metal-card h3{font-size:18px}.metal-card p{font-size:14px}
  .sim-panel{padding:14px}
  .sim-preview-card,.sim-controls-card{padding:16px}
  .position-labels{font-size:16px}
  .fixed-design-box strong{font-size:18px}.fixed-design-box small{font-size:14px}
  .metal-choice-grid,
  
  .step-block h3{font-size:18px}
  .bottom-cta{background-position:72% center;padding:42px 0 60px}
  .bottom-copy h2{font-size:34px}
  .bottom-copy p{font-size:16px}
}

.sim-ring-base{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  z-index:1;
  filter:drop-shadow(0 14px 18px rgba(118,92,70,.08));
}
.sim-stone{
  position:absolute;
  width:7.4%;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  transform:translate(-50%,-50%);
  z-index:3;
  filter:drop-shadow(0 2px 3px rgba(72,54,42,.20));
  pointer-events:none;
}
.sim-stone-1{left:40.2%;top:45.2%;}
.sim-stone-2{left:46.3%;top:53.5%;}
.sim-stone-3{left:53.7%;top:46.2%;}
.sim-stone-4{left:60.4%;top:42.4%;}
.sim-preview-card .position-labels{
  max-width:275px;
  margin-top:8px;
}
@media (max-width:720px){
  
  .sim-stone{width:8.6%;}
}

/* real ring simulation preview */
.ring-stage {
  display: none;
}

.sim-ring-stage {
  position: relative;
  width: min(100%, 520px);
  margin: 16px auto 10px;
  aspect-ratio: 600 / 330;
  background: #fff;
}

.sim-ring-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sim-stone {
  position: absolute;
  width: 13.8%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.04);
}

.sim-stone-1 {
  left: 39.5%;
  top: 53.2%;
}

.sim-stone-2 {
  left: 47.6%;
  top: 63.6%;
}

.sim-stone-3 {
  left: 54%;
  top: 51.2%;
}

.sim-stone-4 {
  left: 63.5%;
  top: 47.4%;
}

.position-labels {
  max-width: 260px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .sim-ring-stage {
    width: 100%;
    max-width: 460px;
  }

  .sim-stone {
    width: 13.8%;
  }
}

/* v5: fixed real ring simulation */
.sim-ring-stage {
  position: relative;
  width: min(100%, 520px);
  margin: 16px auto 10px;
  aspect-ratio: 600 / 330;
  background: #fff;
  overflow: hidden;
}

.sim-ring-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sim-stone {
  position: absolute;
  width: 13.8%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.04);
}

.sim-stone-1 { left: 39.5%; top: 53.2%; }
.sim-stone-2 { left: 47.6%; top: 63.6%; }
.sim-stone-3 { left: 54%; top: 51.2%; }
.sim-stone-4 { left: 63.5%; top: 47.4%; }

.position-labels {
  max-width: 260px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .sim-ring-stage {
    width: 100%;
    max-width: 460px;
  }

  .sim-stone {
    width: 13.8%;
  }
}

/* v6: slot card style simulation UI */
.current-selection-card {
  margin-top: 52px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf7;
  text-align: left;
}

.current-selection-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.current-selection-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  color: #5e5048;
  font-size: 15px;
}

.slot-picker-lead {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.slot-card-list {
  display: grid;
  gap: 14px;
}

.slot-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.slot-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.slot-no {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #d4b16a 0%, #bd9148 100%);
  font-size: 17px;
  line-height: 1;
}

.slot-current-gem {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee3dc;
  background: #fff;
}

.slot-current-text {
  display: grid;
  gap: 1px;
}

.slot-current-text strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.slot-current-text small {
  color: var(--muted);
  font-size: 12px;
}

.slot-gem-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-gem-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  padding: 8px 5px;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #5e5048;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.slot-gem-button:hover,
.slot-gem-button.is-active {
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(191, 147, 72, .14);
  transform: translateY(-1px);
}

.slot-gem-button img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .current-selection-card {
    margin-top: 34px;
  }
}

@media (max-width: 720px) {
  .sim-preview-card {
    order: 1;
  }

  .sim-controls-card {
    order: 2;
  }

  .current-selection-card {
    margin-top: 28px;
    padding: 20px 18px;
  }

  .current-selection-card h3 {
    font-size: 22px;
  }

  .slot-card {
    padding: 14px;
  }

  .slot-card-head {
    align-items: flex-start;
  }

  .slot-gem-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .slot-gem-button {
    min-height: 76px;
    font-size: 11px;
  }

  .slot-gem-button img {
    width: 42px;
    height: 42px;
  }
}

/* v7: compact slot selector UI */
.slot-picker-block {
  margin-top: 18px;
}

.slot-picker-lead {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.slot-card-list {
  display: grid;
  gap: 10px;
}

.slot-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 12px 14px;
}

.slot-card-head {
  display: grid;
  grid-template-columns: 58px 44px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.slot-no {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: transparent;
  color: var(--gold-dark);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.slot-current-gem {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee3dc;
  background: #fff;
}

.slot-current-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.slot-current-text small {
  color: var(--muted);
  font-size: 11px;
  flex: 0 0 auto;
}

.slot-current-text strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.slot-gem-buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr));
  gap: 8px;
}

.slot-gem-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  padding: 7px 5px 8px;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #5e5048;
  font-family: inherit;
  font-size: 10.5px;
  line-height: 1.25;
  min-height: 70px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.slot-gem-button img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.slot-gem-button:hover,
.slot-gem-button.is-active {
  border-color: var(--gold);
  box-shadow: 0 6px 14px rgba(191, 147, 72, .13);
  transform: translateY(-1px);
}

.current-selection-card {
  margin-top: 46px;
  padding: 22px 24px;
}

.current-selection-card h3 {
  font-size: 22px;
}

.current-selection-card ul {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .slot-gem-buttons {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
  }

  .slot-gem-button {
    min-height: 74px;
  }
}

@media (max-width: 720px) {
  .slot-card {
    padding: 13px;
  }

  .slot-card-head {
    grid-template-columns: 52px 40px 1fr;
    gap: 8px;
  }

  .slot-current-gem {
    width: 34px;
    height: 34px;
  }

  .slot-current-text {
    display: grid;
    gap: 0;
  }

  .slot-current-text strong {
    font-size: 13px;
  }

  .slot-gem-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .slot-gem-button {
    min-height: 68px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .slot-gem-button img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 430px) {
  .slot-gem-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-gem-button {
    min-height: 74px;
  }
}

/* v8: SP compact one-line selectors */
@media (max-width: 720px) {
  .sim-controls-card {
    padding: 14px;
  }

  .step-block + .step-block {
    margin-top: 14px;
  }

  .step-block h3 {
    font-size: 17px;
    margin-bottom: 9px;
  }

  .slot-picker-lead {
    font-size: 12px;
    margin-bottom: 10px;
  }

  /* 地金カラー：SPは1行横スクロール */
  .metal-choice-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .metal-choice-grid .choice-button {
    flex: 0 0 78px;
    min-height: 64px;
    padding: 7px 6px;
    scroll-snap-align: start;
  }

  .metal-choice-grid .choice-button .mini-swatch {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
  }

  .metal-choice-grid .choice-button small {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .slot-card-list {
    gap: 9px;
  }

  .slot-card {
    padding: 10px;
    border-radius: 12px;
  }

  .slot-card-head {
    grid-template-columns: 48px 34px 1fr;
    gap: 7px;
    margin-bottom: 8px;
  }

  .slot-no {
    font-size: 13px;
  }

  .slot-current-gem {
    width: 30px;
    height: 30px;
  }

  .slot-current-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .slot-current-text small {
    font-size: 10px;
  }

  .slot-current-text strong {
    font-size: 12.5px;
    line-height: 1.25;
  }

  /* 各石枠の宝石選択：SPは1行横スクロール */
  .slot-gem-buttons {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 1px 7px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .slot-gem-button {
    flex: 0 0 74px;
    min-height: 66px;
    padding: 6px 5px;
    font-size: 10px;
    scroll-snap-align: start;
  }

  .slot-gem-button img {
    width: 30px;
    height: 30px;
  }

  .current-selection-card {
    margin-top: 22px;
    padding: 16px;
  }

  .current-selection-card h3 {
    font-size: 19px;
    margin-bottom: 9px;
  }

  .current-selection-card ul {
    gap: 4px;
    font-size: 12.5px;
  }
}

/* かなり狭いSPでも2列化せず、横1行スクロールを維持 */
@media (max-width: 430px) {
  .slot-gem-buttons {
    display: flex;
    grid-template-columns: none;
  }

  .slot-gem-button {
    flex-basis: 72px;
    min-height: 66px;
  }

  .metal-choice-grid .choice-button {
    flex-basis: 76px;
  }
}

/* v9: prevent horizontal page overflow on SP */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
.container,
.sim-panel,
.sim-preview-card,
.sim-controls-card,
.step-block,
.slot-card,
.slot-card-list,
.current-selection-card {
  max-width: 100%;
  min-width: 0;
}

.sim-panel {
  overflow: hidden;
}

.sim-controls-card,
.sim-preview-card {
  overflow: hidden;
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .sim-panel {
    padding: 12px;
    gap: 14px;
  }

  .sim-controls-card,
  .sim-preview-card {
    width: 100%;
    max-width: 100%;
  }

  .metal-choice-grid,
  .slot-gem-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overscroll-behavior-inline: contain;
  }

  .metal-choice-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    margin: 0;
  }

  .metal-choice-grid .choice-button {
    flex: 0 0 68px;
    width: 68px;
    min-width: 68px;
    max-width: 68px;
  }

  .slot-gem-buttons {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 0 7px;
    margin: 0;
  }

  .slot-gem-button {
    flex: 0 0 64px;
    width: 64px;
    min-width: 64px;
    max-width: 64px;
  }

  .slot-card {
    width: 100%;
    max-width: 100%;
  }

  .slot-card-head {
    width: 100%;
    max-width: 100%;
  }

  .slot-current-text {
    min-width: 0;
  }

  .slot-current-text strong {
    overflow-wrap: anywhere;
  }

  .hero-grid,
  .about-grid {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-visual,
  .about-visual,
  .bottom-cta {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .sim-panel {
    padding: 10px;
  }

  .sim-controls-card,
  .sim-preview-card {
    padding-left: 10px;
    padding-right: 10px;
  }

  .metal-choice-grid .choice-button {
    flex-basis: 62px;
    width: 62px;
    min-width: 62px;
    max-width: 62px;
  }

  .slot-gem-button {
    flex-basis: 60px;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    font-size: 9.5px;
  }

  .slot-gem-button img {
    width: 28px;
    height: 28px;
  }
}

/* v10: SP no horizontal scroll for metal/gem selectors */
@media (max-width: 720px) {
  /* SPでは横スクロールを出さず、必ずカード内に収める */
  .metal-choice-grid,
  .slot-gem-buttons {
    display: grid;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }

  /* 金種は5つを1行で表示 */
  .metal-choice-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .metal-choice-grid .choice-button {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: none;
    min-height: 54px;
    padding: 6px 2px;
    border-radius: 9px;
  }

  .metal-choice-grid .choice-button .mini-swatch {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }

  .metal-choice-grid .choice-button small {
    font-size: 8.5px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    word-break: keep-all;
  }

  /* 各石枠の宝石は6つを1行で表示 */
  .slot-gem-buttons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
  }

  .slot-gem-button {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: none;
    min-height: 58px;
    padding: 5px 2px;
    border-radius: 8px;
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .slot-gem-button img {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
  }

  .slot-gem-button span {
    display: block;
    white-space: normal;
    word-break: keep-all;
  }

  .slot-card {
    padding: 10px 8px;
  }

  .slot-card-head {
    margin-bottom: 8px;
  }
}

@media (max-width: 430px) {
  /* 430px以下でも横スクロール・2列化させず、6列を維持 */
  .metal-choice-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .slot-gem-buttons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
  }

  .metal-choice-grid .choice-button {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: none;
    min-height: 50px;
    padding: 5px 1px;
  }

  .metal-choice-grid .choice-button .mini-swatch {
    width: 21px;
    height: 21px;
  }

  .metal-choice-grid .choice-button small {
    font-size: 7.8px;
  }

  .slot-gem-button {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: none;
    min-height: 54px;
    padding: 4px 1px;
    font-size: 7.2px;
  }

  .slot-gem-button img {
    width: 21px;
    height: 21px;
  }

  .slot-card {
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* v11: SP selectable gemstones section 2 columns, fixed image alignment */
@media (max-width: 720px) {
  #gems .gem-lineup {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  #gems .gem-item {
    min-width: 0;
    padding: 14px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffdfa;
    display: grid;
    grid-template-rows: 46px 74px;
    align-items: start;
  }

  #gems .gem-item::before {
    display: none;
  }

  #gems .gem-item h3 {
    min-height: 46px;
    height: 46px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  #gems .gem-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    margin: 6px auto 0;
    align-self: start;
  }
}

@media (max-width: 430px) {
  #gems .gem-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  #gems .gem-item {
    padding: 12px 6px 14px;
    grid-template-rows: 48px 68px;
  }

  #gems .gem-item h3 {
    height: 48px;
    min-height: 48px;
    font-size: 12px;
  }

  #gems .gem-item img {
    width: 62px;
    height: 62px;
  }
}

/* v12: SP metals section 2 columns */
@media (max-width: 720px) {
  #metals .metal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #metals .metal-card {
    padding: 16px 10px 18px;
    min-width: 0;
  }

  #metals .swatch {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
  }

  #metals .metal-card h3 {
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 8px;
    min-height: 2.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #metals .metal-card p {
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    text-align: center;
    min-height: 3.2em;
  }
}

@media (max-width: 430px) {
  #metals .metal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #metals .metal-card {
    padding: 14px 8px 16px;
  }

  #metals .swatch {
    width: 52px;
    height: 52px;
  }

  #metals .metal-card h3 {
    font-size: 14px;
  }

  #metals .metal-card p {
    font-size: 11px;
  }
}

/* v13: SP button to return to created design preview */
.sp-back-to-preview {
  display: none;
}

#madeDesignPreview {
  scroll-margin-top: 88px;
}

@media (max-width: 720px) {
  .sp-back-to-preview {
    display: flex;
    justify-content: center;
    margin: 18px 0 8px;
  }

  .sp-back-to-preview .button {
    width: min(100%, 280px);
    min-height: 42px;
    font-size: 13px;
    padding: 0 18px;
    background: #fff;
  }

  #madeDesignPreview {
    scroll-margin-top: 80px;
  }
}

/* v14: hero section closer to target reference */
.hero {
  position: relative;
  padding: 0;
  min-height: 515px;
  background:
    linear-gradient(90deg, rgba(251, 246, 241, 0.96) 0%, rgba(251, 246, 241, 0.90) 30%, rgba(250, 229, 220, 0.55) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.75), transparent 16%),
    radial-gradient(circle at 74% 3%, rgba(255, 255, 255, 0.65), transparent 12%),
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: 28px;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 10px;
}

.hero-copy {
  padding-left: clamp(10px, 2vw, 28px);
  align-self: center;
}

.hero-copy h1 {
  font-size: clamp(43px, 3.45vw, 60px);
  line-height: 1.28;
  margin: 0 0 22px;
  letter-spacing: .08em;
  font-weight: 500;
}

.hero-copy p {
  margin: 0 0 15px;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: .06em;
}

.hero-actions {
  margin-top: 24px;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.hero-visual img {
  width: min(100%, 760px);
  height: 410px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: saturate(1.03) brightness(1.03);
}

.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0 20px;
}

.feature-strip div {
  position: relative;
  padding: 38px 10px 4px;
  color: #4d4039;
  font-size: 14px;
  text-align: center;
}

.feature-strip div + div {
  border-left: 0;
}

.feature-strip div::before {
  content: "◇";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}

.feature-strip div:nth-child(2)::before {
  content: "○";
}

.feature-strip div:nth-child(3)::before {
  content: "✧";
}

.feature-strip div:nth-child(4)::before {
  content: "×";
  font-size: 28px;
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 34px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: 410px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 22px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 14px;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-visual img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding: 0 0 18px;
  }

  .feature-strip div {
    padding: 12px 10px;
    font-size: 13px;
  }

  .feature-strip div::before {
    position: static;
    display: block;
    transform: none;
    margin: 0 auto 4px;
    font-size: 20px;
  }
}

/* v15: restore original feature strip style; keep only hero image display adjustment */
.feature-strip {
  margin-top: 18px;
  background: rgba(255, 252, 249, .96);
  border: 1px solid rgba(230, 221, 214, .8);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(128, 100, 80, .06);
  padding: 0;
}

.feature-strip div {
  position: static;
  text-align: center;
  padding: 18px 12px;
  font-size: 15px;
  color: #7f6f66;
}

.feature-strip div + div {
  border-left: 1px solid rgba(230, 221, 214, .9);
}

.feature-strip div::before {
  content: none;
}

/* hero: image display only, closer to supplied reference */
.hero {
  padding: 52px 0 26px;
  min-height: auto;
  background: linear-gradient(90deg, #fbf7f4 0%, #fceee9 100%);
}

.hero-grid {
  min-height: 410px;
  grid-template-columns: minmax(340px, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: 34px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-copy {
  padding-left: 0;
}

.hero-visual {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual img {
  width: 100%;
  max-width: 760px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: saturate(1.03) brightness(1.03);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .hero-visual {
    justify-content: center;
  }

  .feature-strip {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 30px;
  }

  .hero-grid {
    padding-top: 0;
    padding-bottom: 0;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .feature-strip div {
    padding: 12px 10px;
    font-size: 13px;
  }

  .feature-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(230, 221, 214, .9);
  }
}

/* v16 hero image fills the hero area more fully */
.hero{
  overflow:hidden;
  padding: 34px 0 10px;
}
.hero .container{
  width:min(1320px, calc(100% - 48px));
}
.hero-grid{
  grid-template-columns:minmax(320px, .68fr) minmax(560px, 1.32fr);
  align-items:stretch;
  gap:24px;
  min-height:560px;
}
.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 26px 0 16px;
  position:relative;
  z-index:2;
}
.hero-copy h1{
  margin-bottom:18px;
}
.hero-copy p{
  font-size:18px;
}
.hero-visual{
  position:relative;
  min-height:560px;
  width:100%;
  display:block;
}
.hero-visual img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.feature-strip{
  margin-top: 4px;
}

@media (max-width: 1100px){
  .hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    gap:20px;
  }
  .hero-copy{
    padding: 12px 0 0;
  }
  .hero-visual{
    min-height:auto;
    order:-1;
  }
  .hero-visual img{
    min-height:auto;
    aspect-ratio: 16 / 9;
  }
  .feature-strip{
    margin-top:16px;
  }
}

@media (max-width: 720px){
  .hero{
    padding: 16px 0 8px;
  }
  .hero .container{
    width:min(100%, calc(100% - 24px));
  }
  .hero-grid{
    gap:16px;
  }
  .hero-copy p{
    font-size:15px;
  }
  .hero-visual img{
    aspect-ratio: 16 / 9;
  }
}

/* v17: hero image should feel full-width like the provided reference */
.hero{
  background:linear-gradient(90deg,#fbf7f4 0%,#fceee9 100%);
  padding:0 0 26px;
  overflow:hidden;
}
.hero .container.hero-grid{
  width:100%;
  max-width:none;
  margin:0;
  display:grid;
  grid-template-columns:minmax(0, 43%) minmax(0, 57%);
  gap:0;
  align-items:stretch;
  min-height:460px;
}
.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:72px 36px 42px max(48px, calc((100vw - 1180px) / 2 + 8px));
  position:relative;
  z-index:2;
}
.hero-copy h1{
  margin:0 0 22px;
}
.hero-copy p{
  max-width: 28rem;
}
.hero-visual{
  min-height:460px;
}
.hero-visual img{
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.hero .container.feature-strip{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto;
  margin-top:0;
  transform: translateY(-1px);
}

@media (max-width: 1100px){
  .hero .container.hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-copy{
    order:1;
    padding:24px 24px 8px;
  }
  .hero-copy p{
    max-width:none;
  }
  .hero-visual{
    order:0;
    min-height:auto;
  }
  .hero-visual img{
    min-height:auto;
    height:auto;
    aspect-ratio: 16 / 9;
    object-fit:cover;
  }
  .hero .container.feature-strip{
    margin-top:14px;
  }
}

@media (max-width: 720px){
  .hero{
    padding:0 0 12px;
  }
  .hero-copy{
    padding:20px 18px 8px;
  }
  .hero .container.feature-strip{
    width:min(100%, calc(100% - 24px));
    margin-top:12px;
    transform:none;
  }
}

/* v18: hero image as full-width background, matching supplied reference */
.hero {
  position: relative;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(252, 247, 243, .94) 0%, rgba(252, 247, 243, .78) 28%, rgba(252, 238, 232, .18) 54%, rgba(252, 238, 232, .02) 100%),
    url("assets/hero-ring.png") center center / cover no-repeat;
}

/* keep image element for HTML/SEO, but use it only as background via .hero */
.hero-visual {
  display: none;
}

.hero .container.hero-grid {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  min-height: 470px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-copy {
  width: min(420px, 42vw);
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 28px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(42px, 3.45vw, 58px);
  line-height: 1.28;
  margin: 0 0 22px;
  letter-spacing: .08em;
  font-weight: 500;
}

.hero-copy p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .06em;
}

.hero-actions {
  margin-top: 22px;
}

/* feature row sits inside the full hero, not in a separate boxed area */
.hero .container.feature-strip {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0 0 28px;
}

.hero .feature-strip div {
  position: relative;
  padding: 42px 10px 0;
  border: 0;
  text-align: center;
  color: #4d4039;
  font-size: 14px;
  line-height: 1.5;
}

.hero .feature-strip div + div {
  border-left: 0;
}

.hero .feature-strip div::before {
  content: "◇";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  font-family: serif;
}

.hero .feature-strip div:nth-child(2)::before {
  content: "○";
}

.hero .feature-strip div:nth-child(3)::before {
  content: "✧";
}

.hero .feature-strip div:nth-child(4)::before {
  content: "×";
  font-size: 30px;
}

/* make next section start right after the hero like the reference */
.about {
  padding-top: 0;
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    background-position: 56% center;
  }

  .hero .container.hero-grid {
    min-height: 430px;
  }

  .hero-copy {
    width: min(400px, 48vw);
    min-height: 430px;
  }

  .hero .container.feature-strip {
    padding-bottom: 24px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(252, 247, 243, .92) 0%, rgba(252, 247, 243, .78) 48%, rgba(252, 238, 232, .22) 100%),
      url("assets/hero-ring.png") center top / cover no-repeat;
  }

  .hero .container.hero-grid {
    width: min(100%, calc(100% - 24px));
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: 230px 0 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero .container.feature-strip {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
    padding: 0 0 18px;
  }

  .hero .feature-strip div {
    padding: 30px 6px 0;
    font-size: 12px;
  }

  .hero .feature-strip div::before {
    font-size: 22px;
  }
}

@media (max-width: 430px) {
  .hero-copy {
    padding-top: 205px;
  }

  .hero .container.feature-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* v19: remove hero label, restore feature strip display style */

/* 4項目は背景上のアイコン表示ではなく、以前の白い横長カード表示に戻す */
.hero .container.feature-strip {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 252, 249, .92);
  border: 1px solid rgba(230, 221, 214, .82);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(128, 100, 80, .06);
  overflow: hidden;
  padding: 0;
}

.hero .feature-strip div {
  position: static;
  padding: 18px 12px;
  border: 0;
  text-align: center;
  color: #7f6f66;
  font-size: 15px;
  line-height: 1.55;
}

.hero .feature-strip div + div {
  border-left: 1px solid rgba(230, 221, 214, .9);
}

.hero .feature-strip div::before {
  content: none;
}

/* ラベル削除後の余白を整える */
.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy p {
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .hero .container.feature-strip {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: 1fr;
    margin: 12px auto 18px;
    border-radius: 12px;
  }

  .hero .feature-strip div {
    padding: 12px 10px;
    font-size: 13px;
  }

  .hero .feature-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(230, 221, 214, .9);
  }
}

/* v20: hero tuning per feedback */
.hero {
  padding: 0 0 20px;
  min-height: auto;
  background:
    linear-gradient(90deg, rgba(252,247,243,.95) 0%, rgba(252,247,243,.80) 30%, rgba(252,238,232,.20) 56%, rgba(252,238,232,.05) 100%),
    url("assets/hero-ring.png") 68% center / cover no-repeat;
}

.hero .container.hero-grid {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  min-height: 455px;
  display: block;
  margin: 0 auto;
}

.hero-copy {
  width: min(390px, 36vw);
  min-height: 455px;
  padding: 50px 0 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 3.05vw, 52px);
  line-height: 1.38;
  letter-spacing: .04em;
  margin: 0 0 18px;
  font-weight: 500;
}

.hero-copy p {
  max-width: 27rem;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
}

.hero-actions {
  margin-top: 18px;
}

/* restore the 4 features as a clean icon + text row */
.hero .container.feature-strip {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 22px !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 12px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero .feature-strip div,
.hero .feature-strip div + div {
  border: 0 !important;
}

.hero .feature-strip div {
  position: static !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 68px;
  padding: 0 8px !important;
  text-align: center;
  color: #65534a;
  font-size: 14px !important;
  line-height: 1.5;
}

.hero .feature-strip div::before {
  position: static !important;
  display: block;
  margin: 0;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  font-size: 26px !important;
  line-height: 1;
  color: var(--gold);
  font-family: serif;
  content: "◇";
}

.hero .feature-strip div:nth-child(2)::before {
  content: "○";
}

.hero .feature-strip div:nth-child(3)::before {
  content: "✧";
}

.hero .feature-strip div:nth-child(4)::before {
  content: "×";
  font-size: 28px !important;
}

@media (max-width: 1100px) {
  .hero {
    background-position: 64% center;
  }

  .hero .container.hero-grid {
    width: min(100%, calc(100% - 32px));
    min-height: 400px;
  }

  .hero-copy {
    width: min(360px, 48vw);
    min-height: 400px;
    padding: 34px 0 10px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 0 0 12px;
    background:
      linear-gradient(180deg, rgba(252,247,243,.95) 0%, rgba(252,247,243,.80) 48%, rgba(252,238,232,.20) 100%),
      url("assets/hero-ring.png") right 22% top 6px / 175% auto no-repeat;
  }

  .hero .container.hero-grid {
    width: min(100%, calc(100% - 24px));
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: 104px 0 10px;
  }

  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 10px;
  }

  .hero .container.feature-strip {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 0;
    padding: 10px 0 12px !important;
  }

  .hero .feature-strip div {
    min-height: 54px;
    gap: 6px;
    padding: 0 4px !important;
    font-size: 12px !important;
  }

  .hero .feature-strip div::before {
    font-size: 20px !important;
  }
}

@media (max-width: 430px) {
  .hero {
    background-position: right 28% top 4px;
    background-size: 188% auto;
  }

  .hero-copy {
    padding-top: 94px;
  }
}

/* v21: mobile hero spacing + feature strip cleanup */
.hero-copy h1 {
  font-size: clamp(32px, 2.75vw, 46px);
  line-height: 1.42;
}

.hero-copy {
  width: min(445px, 45vw);
}

.hero-actions {
  margin-top: 22px;
  margin-bottom: 6px;
}

.hero .container.feature-strip {
  padding-top: 4px !important;
}

.hero .feature-strip div::before {
  font-size: 23px !important;
}

@media (max-width: 720px) {
  .hero {
    padding: 0 0 16px;
    background:
      linear-gradient(180deg, rgba(252,247,243,.96) 0%, rgba(252,247,243,.84) 44%, rgba(252,238,232,.22) 100%),
      url("assets/hero-ring.png") right -6px top 122px / 150% auto no-repeat;
  }

  .hero .container.hero-grid {
    width: min(100%, calc(100% - 24px));
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: 28px 0 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: .03em;
  }

  .hero-copy p {
    max-width: 17.5em;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 18px;
    margin-bottom: 18px;
    gap: 12px;
  }

  .hero-actions .button {
    align-self: flex-start;
  }

  .hero .container.feature-strip {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .hero .feature-strip div,
  .hero .feature-strip div + div {
    border: 1px solid rgba(230, 221, 214, .92) !important;
    border-top: 1px solid rgba(230, 221, 214, .92) !important;
  }

  .hero .feature-strip div {
    background: rgba(255, 252, 249, .98);
    border-radius: 12px;
    min-height: 76px;
    padding: 10px 8px !important;
    justify-content: center;
    gap: 6px;
    font-size: 12px !important;
    line-height: 1.45;
  }

  .hero .feature-strip div::before {
    font-size: 18px !important;
  }
}

@media (max-width: 430px) {
  .hero {
    background-position: right -208px top 50px;
    background-size: 240% auto;
  }

  .hero-copy {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-copy p {
    max-width: 20em;
  }
}

@media (max-width: 414px) {
  .hero {
    background-position: right -208px top 62px;
    background-size: 240% auto;
  }
}

@media (max-width: 390px) {
  .hero {
    background-position: right -208px top 3px;
    background-size: 281% auto;
  }
}

@media (max-width: 375px) {
  .hero {
    background-position: right -176px top 120px;
    background-size: 242% auto;
  }
}

@media (max-width: 360px) {
  .hero {
    background-position: right -200px top 21px;
    background-size: 300% auto;
  }
}


/* v22: restore hero feature strip to table layout with proper icons */
.hero .feature-strip {
  margin-top: 18px;
  background: rgba(255,252,249,.96) !important;
  border: 1px solid rgba(230,221,214,.9) !important;
  border-radius: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(128,100,80,.06);
  padding: 0 !important;
  gap: 0 !important;
}

.hero .feature-strip > div::before,
.hero .feature-strip .feature-item::before {
  content: none !important;
  display: none !important;
}

.hero .feature-strip .feature-item {
  min-height: 98px;
  padding: 16px 12px 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  color: #8a7667;
  font-size: 15px !important;
  line-height: 1.45;
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
}

.hero .feature-strip .feature-item + .feature-item {
  border-left: 1px solid rgba(230,221,214,.9) !important;
}

.hero .feature-strip .feature-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7a04d;
  flex: 0 0 auto;
}

.hero .feature-strip .feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero .feature-strip .feature-label {
  display: block;
  white-space: normal;
}

@media (max-width: 720px) {
  .hero .container.feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-radius: 12px !important;
    background: rgba(255,252,249,.96) !important;
    border: 1px solid rgba(230,221,214,.9) !important;
  }

  .hero .feature-strip .feature-item {
    min-height: 72px;
    padding: 12px 10px !important;
    gap: 6px;
    font-size: 12px !important;
    line-height: 1.4;
  }

  .hero .feature-strip .feature-item + .feature-item {
    border-left: 1px solid rgba(230,221,214,.9) !important;
  }

  .hero .feature-strip .feature-item:nth-child(odd):nth-last-child(n+2),
  .hero .feature-strip .feature-item:nth-child(even):nth-last-child(n+1) {
    border-bottom: 1px solid rgba(230,221,214,.9);
  }

  .hero .feature-strip .feature-item:nth-child(2n+1) {
    border-left: 0 !important;
  }

  .hero .feature-strip .feature-icon {
    width: 20px;
    height: 20px;
  }
}

/* v25: 販売中BEATリング セクション */
.ready-made {
  background:
    linear-gradient(180deg, rgba(255, 250, 247, .82), rgba(250, 244, 239, .92));
}

.section-kicker {
  margin: 0 0 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .18em;
  color: #b99255;
  font-family: var(--serif);
}

.ready-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.ready-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(218, 203, 191, .82);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(118, 88, 68, .06);
}

.ready-image-link {
  display: block;
  background: #fff;
  overflow: hidden;
}

.ready-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.ready-card:hover img {
  transform: scale(1.035);
}

.ready-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
  text-align: center;
}

.ready-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .12em;
  color: #b99255;
}

.ready-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #4f4038;
}

.ready-metal {
  margin: 0 0 10px;
  font-size: 13px;
  color: #9a8678;
}

.ready-card-body p:not(.ready-label):not(.ready-metal) {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #6f625a;
}

.ready-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px;
  margin: auto auto 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: #c59d49;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(151, 111, 48, .18);
}

.ready-link::after {
  content: "›";
  margin-left: 10px;
  font-size: 17px;
  line-height: 1;
}

.ready-note {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .ready-card {
    border-radius: 12px;
  }

  .ready-card-body {
    padding: 12px 10px 14px;
  }

  .ready-label {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .ready-card h3 {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1.4;
  }

  .ready-metal {
    font-size: 11px;
  }

  .ready-card-body p:not(.ready-label):not(.ready-metal) {
    display: none;
  }

  .ready-link {
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 9px 10px;
    font-size: 11px;
  }
}

/* v31: ヘッダーロゴ画像 */
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(260px, 34vw);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.brand-mark,
.brand-text {
  display: none;
}

@media (max-width: 720px) {
  .brand-logo {
    width: min(190px, 54vw);
    max-height: 38px;
  }
}

/* v32: FAQ削除後の注文ページ誘導セクション */
.order-cta {
  padding-top: 44px;
  padding-bottom: 60px;
  background:
    linear-gradient(180deg, rgba(255, 250, 247, .86), rgba(250, 244, 239, .94));
}

.order-cta-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 30px 46px;
  border: 1px solid rgba(218, 203, 191, .86);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  text-align: center;
  box-shadow: 0 16px 36px rgba(118, 88, 68, .06);
}

.order-cta .section-sub {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.order-page-button {
  margin-top: 8px;
  min-width: 220px;
}

@media (max-width: 720px) {
  .order-cta {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  .order-cta-box {
    padding: 30px 18px 34px;
    border-radius: 14px;
  }

  .order-page-button {
    width: 100%;
    max-width: 280px;
  }
}


.campaign-band {
  max-width: 900px;
  margin: 56px auto 48px;
  padding: 28px 24px;
  text-align: center;
  background: linear-gradient(135deg, #fff8f6, #f9ece8);
  border: 1px solid #ead6cf;
  border-radius: 14px;
  color: #5a463f;
}

.campaign-band span {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  color: #b89257;
  margin-bottom: 8px;
}

.campaign-band strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.campaign-band p {
  font-size: 14px;
  line-height: 1.9;
}

/* SP */
@media screen and (max-width: 768px) {
  .campaign-band {
    width: calc(100% - 32px);
    margin: 36px auto 34px;
    padding: 22px 16px;
    border-radius: 12px;
  }

  .campaign-band span {
    font-size: 11px;
    letter-spacing: .14em;
    margin-bottom: 7px;
  }

  .campaign-band strong {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: .06em;
    margin-bottom: 10px;
  }

  .campaign-band p {
    font-size: 13px;
    line-height: 1.8;
  }
}

.hero-copy p.campaign-note {
  margin: -11px 0 0;
  font-size: 23px;
  font-weight: bold;
  line-height: 2.6;
  letter-spacing: .06em;
  color: #7b6258;
}

/* SP */
@media screen and (max-width: 768px) {
  .hero-copy p.campaign-note {
    max-width: none;
    margin: -11px 0 0;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 17px;
    line-height: 2.6;
    letter-spacing: .04em;
  }
}

.campaign-final {
    max-width: 900px;
  margin: 14px auto 54px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .06em;
  text-align: center;
  color: #9a6b35;
  background: #fff8f4;
  border: 1px solid #ead6cf;
  border-radius: 999px;
}

/* SP */
@media screen and (max-width: 768px) {
  .campaign-final {
          width: calc(100% - 32px);
    margin: 12px auto 14px;
    padding: 9px 12px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .04em;
    border-radius: 12px;
  }
}