:root{
  --bg: #0b0b10;
  --card: rgba(255,255,255,.06);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.14);
  --accent: rgba(255,170,210,.85);
  --accent2: rgba(160,210,255,.75);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(255,170,210,.16), transparent 60%),
    radial-gradient(700px 500px at 85% 30%, rgba(160,210,255,.14), transparent 55%),
    radial-gradient(900px 700px at 50% 95%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .02em;
}

.wrap{
  width:min(920px, 92vw);
  margin: 0 auto;
  padding: 56px 0 40px;
}

/* Hero */
.hero{
  padding: 26px 18px 30px;
  margin-bottom: 18px;
}

.badge{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,.25);
}

.title{
  margin: 14px 0 6px;
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
}

.subtitle{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Card */
.card{
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--card), rgba(0,0,0,.08));
  backdrop-filter: blur(10px);
}

.h2{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .08em;
}

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

/* Buttons */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color: var(--text);
  text-decoration:none;
  transition: transform .08s ease, border-color .18s ease, background .18s ease;
  min-height: 48px;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,170,210,.35);
  background: linear-gradient(180deg, rgba(255,170,210,.14), rgba(160,210,255,.06));
}

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

.btn-disabled{
  cursor: default;
  color: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  pointer-events: none;
}

/* Contact */
.contact{
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}

.row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 12px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.row:first-child{ border-top: none; }

.k{
  color: rgba(255,255,255,.55);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mail-note{
  margin-left: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* Footer */
.foot{
  margin-top: 22px;
  padding: 10px 6px 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  text-align:center;
}

.line{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,170,210,.35), rgba(160,210,255,.25), transparent);
  margin: 0 auto 10px;
  width: min(520px, 92vw);
}

/* Package */
.package{
  margin: 10px 0 18px;
  text-align: center;
}

.work-title{
  margin: 0 auto 12px;
  padding-bottom: 10px;
  width: min(600px, 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 15px;
  text-align: center;
  color: rgba(255,255,255,.82);
  letter-spacing: .05em;
}

.package img{
  display: block;
  width: min(600px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .2s ease, filter .2s ease;
}

.package a:hover img{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* chobit movie */
.movie{
  width: 100%;
  max-width: 600px;
  margin: 18px auto 14px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.movie iframe{
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* (旧memo系が不要なら消してOK) */
.memo{ margin-top: 6px; }
.memo-date{
  color: rgba(255,255,255,.55);
  font-size: 12px;
  letter-spacing: .06em;
  text-align: left;
  margin-bottom: 8px;
}
.memo-body{ text-align: center; }
.rank-shots{
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
.rank-shots img{
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* =========================
   Note：ヘッダ + ドット（6px / ボタン完全リセット）
========================= */
.note-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.note-dots{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
}

/* buttonのデフォルトを消す（ここが超重要） */
.note-dot{
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  font: inherit;

  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.18);
  opacity: .55;

  cursor: pointer;
  transition:
    transform .18s ease,
    opacity .18s ease,
    background .18s ease,
    border-color .18s ease;
}



/* hoverできる環境だけ */
@media (hover:hover){
  .note-dot:hover{
    opacity: .85;
    transform: translateY(-1px);
  }
}

/* 表示中（アクティブ）＝ピンク
   aria-current="true" と "page" 両対応 */
.note-dot[aria-current="true"],
.note-dot[aria-current="page"]{
  background: rgba(255,170,210,.9);
  border-color: rgba(255,170,210,.95);
  opacity: 1;
  transform: scale(1.12);
}


/* =========================
   Note：横スライド（scroll-snap）
========================= */
.note-slider{
  margin-top: 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(560px, 92%);
  gap: 12px;

  overflow-x: auto;
  padding: 6px 4px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}

.note-slider::-webkit-scrollbar{ height: 8px; }
.note-slider::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.16);
  border-radius: 999px;
}
.note-slider::-webkit-scrollbar-track{ background: transparent; }

@media (min-width: 860px){
  .note-slider{
    grid-auto-columns: min(520px, 48%);
  }
}

/* =========================
   Note：カード（高さ揃え）
========================= */
.note-post{
  padding: 14px 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);

  display: grid;
  grid-template-rows:
    auto
    minmax(44px, auto)
    1fr
    auto;

  row-gap: 8px;
  scroll-snap-align: start;

  position: relative;
  transition: transform .12s ease, border-color .18s ease;
}

.note-post:active{
  transform: scale(.99);
}

/* 影の基準線（控えめ） */
.note-post::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

.note-date{
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.new-badge{
  font-size: 10px;
  letter-spacing: .12em;
  padding: 2px 6px;
  border-radius: 999px;
  color: #ffb6d9;
  border: 1px solid rgba(255,182,217,.45);
  background: rgba(255,182,217,.12);
}

.note-text{
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  margin: 0;
  text-align: center;
}

.note-media{
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-self: end;
}

.note-media img{
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 520px){
  .grid{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 90px 1fr; }
}


