:root{
  --bg:#08110e;
  --card:#0f1917;
  --text:#f2f9f5;
  --muted:#7d938b;
  --line:rgba(255,255,255,.05);
  --accent:#3ed49f;
  --accent2:#6ee4b8;
  --shadow: 0 4px 16px rgba(0,0,0,.16), 0 1px 4px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.24), 0 4px 12px rgba(0,0,0,.12);
  --radius: 24px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  height:100%;
  scroll-behavior:smooth;
}

body{
  min-height:100%;
  margin:0;
  background:
    radial-gradient(1600px 700px at 18% -10%, rgba(62,212,159,.12), transparent 68%),
    radial-gradient(1100px 800px at 82% 8%, rgba(110,228,184,.06), transparent 62%),
    var(--bg);
  color:var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Meiryo", sans-serif;
  line-height:1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.hero{
  padding:80px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero__inner{
  display:flex;
  flex-direction:column;
  gap:20px;
  animation: fadeIn .8s ease;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

.badge{
  display:inline-flex;
  width:fit-content;
  padding:8px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--accent);
  background: rgba(62,212,159,.06);
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  transition: all .2s ease;
}

.badge:hover{
  background: rgba(62,212,159,.10);
  border-color: rgba(62,212,159,.2);
}

h1{
  margin:0;
  font-size:clamp(32px, 4.2vw, 56px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.02em;
}

.lead{
  margin:0;
  color:var(--muted);
  font-size:clamp(16px, 2.2vw, 19px);
  line-height:1.65;
}

.hero__cta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:8px;
}

main{
  padding:48px 0 64px;
  display:flex;
  flex-direction:column;
  gap:32px;
}

.card{
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  animation: slideUp .6s ease;
}

@keyframes slideUp{
  from{opacity:0; transform:translateY(16px)}
  to{opacity:1; transform:translateY(0)}
}

.card:hover{
  border-color: rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}

h2{
  margin:0 0 16px;
  font-size:24px;
  font-weight:700;
  letter-spacing:-.01em;
}

.muted{
  color:var(--muted);
}

.small{
  color:var(--muted);
  font-size:15px;
  margin:0 0 16px;
  line-height:1.6;
}

.tiny{
  font-size:13px;
  margin:12px 0 0;
  line-height:1.5;
}

.note{
  color:var(--muted);
  font-size:14px;
  margin:20px 0 0;
  line-height:1.6;
}

.bullets{
  margin:16px 0 0;
  padding-left: 24px;
  color:var(--text);
  list-style: none;
}

.bullets li{
  margin:12px 0;
  position:relative;
  padding-left:8px;
  line-height:1.7;
}

.bullets li::before{
  content: "→";
  position: absolute;
  left: -20px;
  color: var(--accent);
  font-weight: 700;
}

.btn{
  appearance:none;
  border:0;
  border-radius: 16px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--accent), rgba(62,212,159,.85));
  color:#041f16;
  font-size:15px;
  font-weight: 700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 8px rgba(62,212,159,.2);
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62,212,159,.3);
  background: linear-gradient(135deg, var(--accent2), var(--accent));
}

.btn:active{
  transform: translateY(0);
}

.btn:disabled{
  opacity:.5;
  cursor:not-allowed;
  transform:none;
  box-shadow: none;
}

.btn--ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn--ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.compare{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:20px;
  margin-top:24px;
}

.compare figure{
  margin:0;
  transition: transform .3s ease;
}

.compare figure:hover{
  transform: translateY(-4px);
}

.compare img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  transition: all .3s ease;
}

.compare img:hover{
  border-color: rgba(255,255,255,.12);
}

.compare figcaption{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
  text-align:center;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}

.gallery img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  transition: all .3s ease;
  cursor:pointer;
}

.gallery img:hover{
  transform: scale(1.02);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.video{
  margin-top:24px;
  aspect-ratio: 16/9;
  border-radius: 18px;
  border:1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  transition: all .3s ease;
}

.video:hover{
  border-color: rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
}

.video iframe{
  width:100%;
  height:100%;
  border:0;
}

.coupon-grid{
  margin-top:24px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}

.coupon{
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(62,212,159,.05), rgba(62,212,159,.02));
  transition: all .3s ease;
  cursor:pointer;
}

.coupon:hover{
  border-color: rgba(62,212,159,.3);
  background: linear-gradient(135deg, rgba(62,212,159,.08), rgba(62,212,159,.04));
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(62,212,159,.15);
}

.coupon h3{
  margin:0 0 8px;
  font-size:16px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:-.01em;
}

.coupon p{
  margin:0;
  color:var(--text);
  font-weight:600;
  font-size:15px;
}

.footer{
  border-top: 1px solid var(--line);
  padding: 32px 0;
  margin-top:auto;
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.footer a{
  color:var(--muted);
  text-decoration:none;
  transition: color .2s ease;
}

.footer a:hover{
  color:var(--accent);
}

.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 24px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(12px);
  z-index: 999;
  animation: fadeInModal .3s ease;
}

@keyframes fadeInModal{
  from{opacity:0}
  to{opacity:1}
}

.modal.is-open{
  display:flex;
}

.modal__panel{
  width: min(560px, 100%);
  border-radius: 24px;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(15,25,21,.98), rgba(11,20,17,.95));
  box-shadow: 0 24px 80px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  padding: 32px;
  outline: none;
  animation: slideUpModal .4s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slideUpModal{
  from{opacity:0; transform:translateY(24px) scale(.96)}
  to{opacity:1; transform:translateY(0) scale(1)}
}

.modal__panel h2{
  margin: 0 0 8px;
  font-size: 26px;
}

.modal__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

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

  .hero{
    padding:60px 0 32px;
  }

  .hero__inner{
    gap:16px;
  }

  h1{
    font-size:clamp(28px, 8vw, 36px);
  }

  main{
    padding:32px 0 48px;
    gap:24px;
  }

  .card{
    padding: 24px;
  }

  .compare{
    grid-template-columns: 1fr;
    gap:16px;
  }

  .compare img{
    height:240px;
  }

  .gallery{
    grid-template-columns: repeat(2, 1fr);
    gap:12px;
  }

  .gallery img{
    height:160px;
  }

  .coupon-grid{
    grid-template-columns: 1fr;
    gap:12px;
  }

  .modal__panel{
    padding: 24px;
  }

  .btn{
    padding: 14px 24px;
  }
}

@media (max-width: 480px){
  h1{
    font-size:26px;
  }

  h2{
    font-size:20px;
  }

  .card{
    padding: 20px;
  }

  .gallery{
    grid-template-columns: 1fr;
  }
}
