/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  color: #3a2828;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: #fdf6f0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== 全体背景 ===== */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('img/bg-sakura.jpg') center/cover no-repeat;
}

.bg-fixed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 246, 244, 0.55);
}

/* ===== Fade-in ===== */
.fi {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.fi.v { opacity: 1; transform: none; }

/* ===== CTA ===== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #c2506e 0%, #e87e9e 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 52px;
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(194, 80, 110, 0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(194, 80, 110, 0.4);
}

.cta:active { transform: translateY(0); }

.cta-small {
  padding: 14px 40px;
  font-size: 15px;
}

/* ===== Section ===== */
.sec {
  position: relative;
  padding: 100px 24px;
}

.sec-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sec-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sec-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  color: #8c3a54;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0.15em;
  line-height: 1.7;
}

.sec-title small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #b88a9a;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ===== 1. Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-logo {
  width: 180px;
  filter: drop-shadow(0 2px 8px rgba(180, 60, 90, 0.15));
}

.hero-catch {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  color: #bf4f30;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.hero-sub {
  font-size: 14px;
  color: #8c6a6a;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 90, 126, 0.15);
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 12px;
  color: #9a5068;
  letter-spacing: 0.12em;
}

.scroll-arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #c2506e;
  opacity: 0.4;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 2. About ===== */
.about {
  padding: 80px 24px;
}

.about-text {
  text-align: center;
  font-size: 15px;
  color: #5a3a3a;
  line-height: 2.4;
  letter-spacing: 0.06em;
  max-width: 480px;
  margin: 0 auto;
}

.about-text strong {
  color: #8c3a54;
  font-weight: 600;
}

/* ===== 3. Screens ===== */
.screens {
  padding: 80px 0;
  overflow: hidden;
}

.screens .sec-title {
  padding: 0 24px;
}

.screens-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 calc(50vw - 140px) 20px;
  scrollbar-width: none;
}

.screens-track::-webkit-scrollbar { display: none; }

.phone {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

.phone-shell {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 140, 160, 0.18);
  border-radius: 24px;
  padding: 10px;
  box-shadow:
    0 2px 8px rgba(180, 100, 120, 0.06),
    0 8px 32px rgba(180, 100, 120, 0.08);
}

.phone-viewport {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fdf6f0;
}

.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* ── Screen: Top ── */
.scr-top {
  background: url('img/washi-koi.jpg') center/cover;
}

.scr-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 246, 244, 0.65);
}

.scr-top > * { position: relative; z-index: 1; }

.scr-top .s-logo { width: 130px; }

.scr-top .s-msg {
  font-family: 'Shippori Mincho', serif;
  font-size: 10px;
  color: #5a3a3a;
  text-align: center;
  line-height: 2;
  letter-spacing: 0.08em;
}

.scr-top .s-btn {
  background: linear-gradient(135deg, #c2506e, #e87e9e);
  color: #fff;
  border-radius: 999px;
  padding: 10px 28px;
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  box-shadow: 0 3px 12px rgba(194,80,110,0.25);
}

.scr-top .s-count {
  font-size: 9px;
  color: #a88;
  letter-spacing: 0.1em;
}

/* ── Screen: Draw ── */
.scr-draw {
  background: url('img/washi-koi.jpg') center/cover;
}

.scr-draw::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 246, 244, 0.65);
}

.scr-draw > * { position: relative; z-index: 1; }

.scr-draw .s-ritual {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}

.scr-draw .s-ritual span {
  writing-mode: vertical-rl;
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  color: #5a3a3a;
  letter-spacing: 3px;
}

.scr-draw .s-box { width: 100px; }

.scr-draw .s-hint {
  font-size: 9px;
  color: #888;
  letter-spacing: 0.08em;
}

/* ── Screen: Result ── */
.scr-result {
  background: linear-gradient(180deg, #fff6f0, #ffeef5);
}

.s-card {
  background: #fffbfc;
  border: 1.5px solid #c2506e;
  border-radius: 2px;
  padding: 3px;
  width: 88%;
}

.s-card-in {
  border: 1px dashed rgba(194, 80, 110, 0.5);
  padding: 14px 10px;
  text-align: center;
}

.s-rank {
  font-family: 'Shippori Mincho', serif;
  font-size: 28px;
  font-weight: 700;
  color: #c2506e;
  padding: 4px 16px;
  border-left: 2px solid #c2506e;
  border-right: 2px solid #c2506e;
  display: inline-block;
  margin: 2px 0 6px;
}

.s-souhyou {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  color: #c2506e;
  letter-spacing: 3px;
  padding: 4px 0 6px;
}

.s-guidance {
  font-size: 9px;
  color: #9a5068;
  line-height: 1.8;
  padding: 0 2px 8px;
}

.s-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

.s-divider::before, .s-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(194, 80, 110, 0.25);
}

.s-divider span {
  font-size: 9px;
  font-weight: 600;
  color: #c2506e;
  letter-spacing: 3px;
  white-space: nowrap;
}

.s-items {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 4px;
}

.s-items dt {
  font-size: 9px;
  font-weight: 700;
  color: #c2506e;
  writing-mode: vertical-rl;
}

.s-items dd {
  font-size: 9px;
  color: #9a5068;
  writing-mode: vertical-rl;
  margin-top: 4px;
}

.s-ft {
  font-size: 8px;
  color: #c9889a;
  letter-spacing: 4px;
  margin-top: 4px;
}

.phone-label {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #b89a9a;
  letter-spacing: 0.1em;
}

/* ===== 4. Features ===== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.feat {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feat-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 36px;
  font-weight: 400;
  color: #d4a0b0;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  padding-top: 2px;
}

.feat-body h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  color: #6a2a3e;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.feat-body p {
  font-size: 13px;
  color: #7a5a5a;
  line-height: 2;
}

/* ===== 5. Status ===== */
.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.status-tag {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 90, 126, 0.12);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 500;
  color: #8c3a54;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.status-tag:hover {
  background: rgba(200, 90, 126, 0.08);
  transform: translateY(-2px);
}

.status-note {
  text-align: center;
  font-size: 13px;
  color: #8c6a6a;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

/* ===== 6. Result Items ===== */
.items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.item-tile {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 90, 126, 0.08);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s;
}

.item-tile:hover { transform: translateY(-2px); }

.item-tile:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 200px;
  justify-self: center;
  width: 100%;
}

.item-tile-label {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  font-weight: 600;
  color: #b88a9a;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.item-tile-val {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  color: #5a3a3a;
  letter-spacing: 0.08em;
}

/* ===== 7. Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(200, 90, 126, 0.08);
}

.step:last-child { border-bottom: none; }

.step-n {
  font-family: 'Shippori Mincho', serif;
  font-size: 40px;
  font-weight: 400;
  color: #d4a0b0;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.step-txt {
  font-size: 15px;
  color: #5a3a3a;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ===== Column List ===== */
.column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-list li {
  margin: 0;
  padding: 0;
}

.column-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 90, 126, 0.1);
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.column-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(180, 100, 120, 0.1);
  text-decoration: none;
}

.column-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a3a3a;
  line-height: 1.7;
  letter-spacing: 0.04em;
  flex: 1;
}

.column-arrow {
  font-size: 14px;
  color: #d4a0b0;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.column-card:hover .column-arrow {
  transform: translateX(4px);
  color: #c2506e;
}

/* ===== 8. Final CTA ===== */
.final {
  text-align: center;
  padding: 100px 24px 80px;
}

.final-heading {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  color: #7a2e48;
  margin-bottom: 36px;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.final-note {
  margin-top: 20px;
  font-size: 12px;
  color: #b88a9a;
  letter-spacing: 0.1em;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 40px 24px 56px;
  position: relative;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(200, 90, 126, 0.1);
}

.footer-logo { width: 100px; opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: #a88a8a;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.footer-links a:hover { border-color: #c2506e; }

.footer-copy {
  font-size: 11px;
  color: #c8b0b0;
  letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .hero-catch { font-size: 30px; }
  .hero-logo { width: 220px; }
  .sec-title { font-size: 26px; }

  .screens-track {
    justify-content: center;
    padding: 0 40px 20px;
    gap: 28px;
  }

  .phone { flex: 0 0 300px; }

  .features-list {
    gap: 44px;
  }

  .items-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 540px;
    margin: 0 auto;
  }

  .item-tile:nth-last-child(1):nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
}

@media (min-width: 1024px) {
  .hero-catch { font-size: 36px; }
  .hero-logo { width: 260px; }
  .sec { padding: 120px 40px; }
  .sec-title { font-size: 28px; }
  .sec-inner { max-width: 680px; }
  .final-heading { font-size: 28px; }
}
/* ===== Column Section (カテゴリ別) ===== */

.col-group {
  margin-bottom: 48px;
}

.col-group:last-child {
  margin-bottom: 0;
}

/* ── カテゴリヘッダー ── */
.col-group-header {
  text-align: center;
  margin-bottom: 20px;
}

.col-group-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.col-group-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  color: #8c3a54;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.col-group-sub {
  display: block;
  font-size: 12px;
  color: #b88a9a;
  letter-spacing: 0.08em;
}

/* ── カードリスト ── */
.col-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── カード共通 ── */
.col-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 90, 126, 0.1);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

/* 左ボーダーアクセント（カテゴリ別色分け） */
.col-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  transition: opacity 0.2s ease;
}

.col-card--basics::before {
  background: linear-gradient(180deg, #e8a0b8, #d4a0b0);
}

.col-card--situation::before {
  background: linear-gradient(180deg, #c2506e, #e87e9e);
}

.col-card--deep::before {
  background: linear-gradient(180deg, #8c3a54, #b06080);
}

/* ── カードホバー ── */
.col-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(180, 100, 120, 0.12);
  border-color: rgba(200, 90, 126, 0.2);
  text-decoration: none;
}

.col-card:hover::before {
  opacity: 1;
}

/* ── カードタイトル ── */
.col-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a3a3a;
  line-height: 1.7;
  letter-spacing: 0.04em;
  flex: 1;
  padding-left: 8px;
}

/* ── 矢印 ── */
.col-card-arrow {
  flex-shrink: 0;
  color: #d4a0b0;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.col-card:hover .col-card-arrow {
  transform: translateX(4px);
  color: #c2506e;
}

/* ===== レスポンシブ ===== */
@media (min-width: 768px) {
  .col-group-title {
    font-size: 18px;
  }

  .col-card {
    padding: 18px 22px;
  }

  .col-card-title {
    font-size: 15px;
  }
}

/* ===== 新カテゴリ左ボーダー ===== */
.col-card--fun::before {
  background: linear-gradient(180deg, #e87e9e, #f0a0b8);
}
.col-card--season::before {
  background: linear-gradient(180deg, #d4a050, #e8b870);
}
.col-card--culture::before {
  background: linear-gradient(180deg, #6a7ab0, #8a9ad0);
}
