/* ================================================
   Base & Reset
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-border: #e8e6e0;
  --color-border-light: #f0ede8;
  --color-text-primary: #1a1a18;
  --color-text-secondary: #6b6860;
  --color-text-muted: #9b9890;
  --color-accent: #2d2d2a;
  --color-accent-hover: #1a1a18;
  --color-tag-bg: #f0ede8;
  --color-tag-text: #5c5a55;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);
  --transition: 0.2s ease;

  /* LINE Seed JP をベースフォントに */
  --font-sans: 'LINESeedJP', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  border-top: 3px solid var(--color-accent);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.9;
  min-height: 100vh;
  letter-spacing: 0.02em;
}

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

strong {
  font-weight: 700;
}

/* ================================================
   Layout
   ================================================ */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================================
   Hero
   ================================================ */
.hero {
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
  /* 極薄ドットグリッド背景 */
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* "01" ウォーターマーク */
.hero::before {
  content: '01';
  position: absolute;
  right: -24px;
  top: -40px;
  font-size: 28rem;
  font-weight: 700;
  color: var(--color-text-primary);
  opacity: 0.028;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-sans);
}

/* コンテンツをウォーターマークの上に */
.hero .container {
  position: relative;
  z-index: 1;
}

/* ================================================
   Hero — アニメーション
   ================================================ */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 36px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0s;
}

.hero__eyebrow i {
  font-size: 0.6rem;
}

/* ================================================
   Hero — Title（3層構造）
   ================================================ */
.hero__title {
  font-size: 1rem; /* リセット。各 span で個別指定 */
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 48px;
}

/* 「0から始めた」— 小さめ・落ち着いたカラー */
.hero__title-sub {
  display: block;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.12s;
}

/* 「Webフリーランス」— 超大型・グラデーション */
.hero__title-main {
  display: block;
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.93;
  margin-bottom: 14px;
  /* グラデーションテキスト */
  background: linear-gradient(
    155deg,
    var(--color-text-primary) 0%,
    #4a4a47 55%,
    #8a8780 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.28s;
}

/* 「の話」— アウトライン（中抜き）ポスター手法 */
.hero__title-tag {
  display: inline-block;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  -webkit-text-stroke: 1.5px var(--color-text-primary);
  color: transparent;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.46s;
}

/* ================================================
   Hero — Date Rule（タイトル下の横罫日付）
   ================================================ */
.hero__date-rule {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
}

.hero__date-rule::before,
.hero__date-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ================================================
   Hero — Info Panel（インフォバー）
   ================================================ */
.hero__info {
  display: flex;
  align-items: stretch;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.75s;
}

.hero__info-item {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__info-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__info-label i {
  font-size: 0.6rem;
}

.hero__info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.hero__info-value small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.hero__info-divider {
  width: 1px;
  background: var(--color-border-light);
  flex-shrink: 0;
  margin: 14px 0;
}

/* ================================================
   Divider
   ================================================ */
.divider {
  height: 1px;
  background: var(--color-border);
}

/* ================================================
   Section
   ================================================ */
.section {
  padding: 80px 0;
}

.section + .section {
  border-top: 1px solid var(--color-border-light);
}

.section__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.section__label i {
  font-size: 0.68rem;
}

.section__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.section__title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.section__body {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 2.05;
  letter-spacing: 0.025em;
}

.section__body p + p {
  margin-top: 22px;
}

/* ================================================
   Callout（Notion風）
   ================================================ */
.callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  margin-top: 36px;
}

.callout__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--color-tag-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.callout__body {
  flex: 1;
}

.callout__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.callout__text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 2;
  letter-spacing: 0.035em;
}

/* ================================================
   Ticket（イベント詳細）
   ================================================ */
.ticket {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}

.ticket__header {
  background: var(--color-accent);
  color: #fff;
  padding: 36px 40px;
}

.ticket__header-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 12px;
  font-weight: 700;
}

.ticket__header-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.ticket__body {
  padding: 0;
}

.ticket__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: start;
  padding: 24px 40px;
  gap: 20px;
}

.ticket__row:not(:last-child) {
  border-bottom: 1px solid var(--color-border-light);
}

.ticket__key {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-top: 4px;
}

.ticket__key i {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  width: 14px;
}

.ticket__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.ticket__value small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 5px;
  letter-spacing: 0.035em;
  line-height: 1.7;
}

.ticket__dashed {
  border-top: 2px dashed var(--color-border);
  margin: 0 40px;
  position: relative;
}

.ticket__dashed::before,
.ticket__dashed::after {
  content: '';
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  background: var(--color-bg);
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.ticket__dashed::before { left: -52px; }
.ticket__dashed::after  { right: -52px; }

/* ================================================
   Form
   ================================================ */
.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.form-subtitle {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.form-label i {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  width: 14px;
}

.form-label span {
  display: inline-block;
  font-size: 0.63rem;
  background: var(--color-accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-label span.optional {
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text-primary);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(45, 45, 42, 0.08);
}

.form-input::placeholder {
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.form-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239b9890' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--color-text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--color-accent);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(45, 45, 42, 0.08);
}

.form-note {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.form-note i {
  margin-top: 2px;
  flex-shrink: 0;
}

.form-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 36px 0;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-submit i {
  font-size: 0.82rem;
}

.privacy-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ================================================
   Map Link
   ================================================ */
.map-link {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border);
  transition: text-decoration-color var(--transition);
}

.map-link:hover {
  text-decoration-color: var(--color-text-secondary);
}

/* ================================================
   Footer
   ================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0 64px;
  margin-top: 16px;
}

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

.footer__logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}

.footer__logo i {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer__hp {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--color-border);
  transition: color var(--transition);
  margin-left: 2px;
}

.footer__hp:hover {
  color: var(--color-text-secondary);
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* ================================================
   Thanks Page
   ================================================ */
.thanks-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.thanks-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.thanks-icon {
  width: 64px;
  height: 64px;
  background: var(--color-tag-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  margin: 0 auto 32px;
}

.thanks-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.thanks-body {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 2.05;
  margin-bottom: 40px;
  letter-spacing: 0.035em;
}

.thanks-details {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: left;
  margin-bottom: 36px;
}

.thanks-details__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding: 11px 0;
  letter-spacing: 0.03em;
  line-height: 1.75;
}

.thanks-details__row:not(:last-child) {
  border-bottom: 1px solid var(--color-border-light);
}

.thanks-details__row i {
  color: var(--color-text-muted);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.thanks-details__row strong {
  font-weight: 700;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--color-tag-bg);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-back:hover {
  background: var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ================================================
   Responsive — タブレット（〜768px）
   ================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .hero__info-item {
    padding: 18px 20px;
  }

  .section {
    padding: 64px 0;
  }

  .ticket__row {
    grid-template-columns: 100px 1fr;
    padding: 20px 28px;
    gap: 16px;
  }

  .ticket__header {
    padding: 32px 28px;
  }

  .ticket__dashed {
    margin: 0 28px;
  }

  .ticket__dashed::before { left: -40px; }
  .ticket__dashed::after  { right: -40px; }

  .form-section {
    padding: 40px 32px;
  }

  .thanks-card {
    padding: 52px 36px;
  }
}

/* ================================================
   Responsive — スマホ（〜480px）
   ================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__title-main {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
  }

  .hero__title-tag {
    font-size: 1.7rem;
    -webkit-text-stroke: 1.2px var(--color-text-primary);
  }

  .hero__date-rule {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    gap: 14px;
  }

  .hero__info {
    flex-direction: column;
  }

  .hero__info-item {
    padding: 16px 20px;
  }

  .hero__info-divider {
    width: auto;
    height: 1px;
    margin: 0 20px;
  }

  .section {
    padding: 52px 0;
  }

  .section__title {
    font-size: 1.55rem;
  }

  .callout {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .ticket__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }

  .ticket__header {
    padding: 26px 20px;
  }

  .ticket__header-title {
    font-size: 1.15rem;
  }

  .ticket__dashed {
    margin: 0 20px;
  }

  .ticket__dashed::before { left: -32px; }
  .ticket__dashed::after  { right: -32px; }

  .form-section {
    padding: 32px 20px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .thanks-card {
    padding: 44px 24px;
  }

  .thanks-details {
    padding: 20px;
  }
}
