@charset "UTF-8";

:root {
  --green:       #64b8a4;
  --green-dark:  #3f8f7c;
  --green-deep:  #24443d;
  --ink:         #2b3230;
  --ink-soft:    #5d6866;
  --line:        #06c755;
  --paper:       #f4f1ea;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 18px 44px rgba(36, 68, 61, .14);
  --font-sans:   "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-serif:  "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.9;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(20, 46, 40, .62), rgba(20, 46, 40, .72)),
    url("public/KV.jpg");
  background-size: cover;
  background-position: 62% center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); }

.page {
  width: min(100% - 2.5rem, 720px);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

/* ---------- ヘッダー ---------- */

.hero { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

.hero__logo {
  width: clamp(150px, 34vw, 200px);
  margin-inline: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .35));
}

.hero__note {
  margin: 1.1rem 0 0;
  font-size: .82rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .82);
}

/* ---------- カード ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 5.5vw, 3.25rem) clamp(1.25rem, 5vw, 3.25rem);
  overflow: hidden;
}

.card__head { text-align: center; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .3em 1.35em;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.8;
}

.title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
}

.title__from {
  display: block;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  color: var(--ink-soft);
}

.title__arrow {
  display: block;
  width: 1px;
  height: 34px;
  margin: .7rem auto;
  background: linear-gradient(var(--green), rgba(100, 184, 164, .15));
  position: relative;
}

.title__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: translateX(-50%) rotate(45deg);
}

.title__to {
  display: block;
  font-size: clamp(2rem, 8.5vw, 3rem);
  letter-spacing: .06em;
  color: var(--green-deep);
}

.lead {
  margin: 1.5rem 0 0;
  font-size: clamp(.9rem, 3.2vw, .98rem);
  color: var(--ink-soft);
}

.lead strong { color: var(--ink); font-weight: 700; }

/* ---------- ボタン ---------- */

.actions {
  display: grid;
  gap: .9rem;
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-height: 64px;
  padding: .9rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn__label { font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.btn__sub    { font-size: .72rem; letter-spacing: .1em; opacity: .8; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(100, 184, 164, .38);
}

.btn--ghost {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid rgba(100, 184, 164, .55);
}

.btn--line {
  display: inline-flex;
  min-height: 0;
  margin-top: .9rem;
  padding: .6rem 1.6rem;
  background: var(--line);
  color: var(--white);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(6, 199, 85, .3);
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: var(--green-dark); box-shadow: 0 12px 26px rgba(100, 184, 164, .45); }
  .btn--ghost:hover   { background: rgba(100, 184, 164, .1); }
  .btn--line:hover    { background: #05b34c; }
}

/* ---------- LINE ---------- */

.line {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 1.75rem);
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  padding-top: clamp(1.5rem, 4.5vw, 2.25rem);
  border-top: 1px solid rgba(43, 50, 48, .1);
}

.line__qr {
  flex: 0 0 auto;
  width: clamp(96px, 26vw, 128px);
  border: 1px solid rgba(43, 50, 48, .1);
  border-radius: 8px;
  padding: 6px;
  background: var(--white);
}

.line__title {
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.line__text {
  margin: 0;
  font-size: .8rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 自動リダイレクト ---------- */

.redirect {
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  padding-top: clamp(1.25rem, 4vw, 1.75rem);
  border-top: 1px solid rgba(43, 50, 48, .1);
  text-align: center;
}

.redirect__text {
  margin: 0 0 .8rem;
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.redirect__bar {
  width: min(100%, 320px);
  height: 3px;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(43, 50, 48, .1);
  overflow: hidden;
}

.redirect__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--green);
  transform-origin: left center;
  animation: countdown 15s linear forwards;
}

@keyframes countdown {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .redirect__fill { animation: none; transform: scaleX(1); }
  .btn { transition: none; }
}

/* ---------- フッター ---------- */

.foot {
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  text-align: center;
}

.foot__logo {
  width: clamp(110px, 26vw, 140px);
  margin-inline: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.foot__copy {
  margin: .8rem 0 0;
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .7);
}

/* ---------- スマートフォン ---------- */

@media (max-width: 520px) {
  body { background-attachment: scroll; }

  .line {
    flex-direction: column;
    text-align: center;
  }

  .line__body { display: flex; flex-direction: column; align-items: center; }
}
