/* ===================================
   TENSEIKAI — 天晴会 — Landing Page
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;900&family=Cinzel:wght@400;600;700&display=swap');

/* ── CSS変数 ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #9B7B2E;
  --black:       #0A0A0A;
  --dark:        #141414;
  --dark2:       #1C1C1C;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE5D8;
  --text-dark:   #2A2A2A;
  --text-mid:    #555;
  --white:       #FFFFFF;
  --border-gold: 1px solid rgba(201, 168, 76, 0.4);
}

/* ── リセット ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Serif JP', serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ruby { ruby-align: center; }
rt   { font-size: 0.5em; letter-spacing: 0.05em; color: inherit; opacity: 0.85; }

/* ── ユーティリティ ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 0.4em;
}
.section-title-ja {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--cream);
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 2.5rem;
}
.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* ===================================
   HERO
   =================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero_bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.70) 70%,
    rgba(0,0,0,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-en-logo {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: rgba(255,255,255, 0.92);
  letter-spacing: 0.15em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
  line-height: 1;
  margin-bottom: 0.1em;
  animation: fadeInDown 1.2s ease both;
}
.hero-ja-logo {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--gold-light);
  letter-spacing: 0.5em;
  text-shadow: 0 1px 20px rgba(0,0,0,0.8);
  margin-bottom: 3rem;
  animation: fadeInDown 1.4s ease both;
}
.hero-separator { color: rgba(201,168,76,0.5); }

.hero-catch {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  color: var(--white);
  letter-spacing: 0.5em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
  margin-bottom: 3.5rem;
  animation: fadeIn 1.6s ease both;
}

.hero-foundation {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  animation: fadeIn 1.8s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-shadow: 0 2px 30px rgba(0,0,0,0.9), 0 0 60px rgba(201,168,76,0.3);
  margin-bottom: 1.5rem;
  animation: fadeInUp 2s ease both;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 0.5rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  animation: fadeInUp 2.2s ease both;
  position: relative;
}
.hero-badge::before, .hero-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.hero-badge::before { right: calc(100% + 12px); }
.hero-badge::after { left: calc(100% + 12px); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  animation: scrollBounce 2s infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
}

/* ===================================
   CONCEPT
   =================================== */
#concept {
  background: var(--dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#concept::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.concept-main-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  background: var(--cream);
  display: inline-block;
  padding: 1.5rem 2.5rem;
  position: relative;
}
.concept-main-title::before {
  content: '「';
  color: var(--gold-dark);
}
.concept-main-title::after {
  content: '」';
  color: var(--gold-dark);
}
.concept-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(245,240,232,0.85);
  line-height: 2.2;
  max-width: 720px;
  margin: 0 auto 1rem;
  text-wrap: pretty;
}
.concept-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--gold);
  background: rgba(201, 168, 76, 0.06);
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  line-height: 1.7;
}
.concept-note strong {
  color: var(--white);
  font-weight: 700;
}
.note-icon {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===================================
   LECTURERS
   =================================== */
#lecturers {
  background: var(--cream);
  padding: 100px 0;
}
#lecturers .section-title { color: var(--gold-dark); }
#lecturers .section-title-ja { color: var(--text-dark); }
#lecturers .section-label { color: var(--gold-dark); }
#lecturers .gold-line { background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }

.lecturers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.lecturer-card {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lecturer-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.lecturer-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--cream-dark);
  margin-bottom: 1.2rem;
  transition: border-color 0.3s;
}
.lecturer-card:hover .lecturer-photo {
  border-color: var(--gold);
}
.lecturer-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.lecturer-title {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.lecturer-theme-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.lecturer-theme {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  border-top: 1px solid var(--gold-dark);
  padding-top: 0.6rem;
}

/* ===================================
   SCHEDULE
   =================================== */
#schedule {
  background: var(--dark2);
  padding: 100px 0;
  position: relative;
}
#schedule::before, #schedule::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
#schedule::before { top: 0; }
#schedule::after { bottom: 0; }

.schedule-meta {
  text-align: center;
  margin-bottom: 2.5rem;
}
.schedule-meta-title {
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.schedule-meta-sub {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.7);
  letter-spacing: 0.1em;
}

.schedule-table-wrap {
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.schedule-table th {
  background: var(--gold-dark);
  color: var(--black);
  padding: 12px 16px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.3);
}
.schedule-table td {
  padding: 11px 16px;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.15);
  color: rgba(245,240,232,0.9);
  transition: background 0.2s;
}
.schedule-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.schedule-table tr:hover td {
  background: rgba(201,168,76,0.08);
}
.schedule-table .col-date { font-weight: 600; color: var(--gold-light); }

/* ===================================
   VENUE
   =================================== */
#venue {
  background: var(--cream);
  padding: 100px 0;
}
#venue .section-title { color: var(--gold-dark); }
#venue .section-title-ja { color: var(--text-dark); }
#venue .section-label { color: var(--gold-dark); }
#venue .gold-line { background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }

.venue-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.venue-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  Line-height: 1.5;
  margin-bottom: 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}
.venue-info p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 0.5rem;
}
.venue-info .access-note {
  display: inline-block;
  background: var(--gold-dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
}
.venue-map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.5);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 0 0 6px rgba(201, 168, 76, 0.08);
}
.venue-map::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(201, 168, 76, 0.2);
}
.venue-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

/* ===================================
   CONTACT
   =================================== */
#contact {
  background: var(--dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-box {
  max-width: 640px;
  margin: 0 auto;
  border: var(--border-gold);
  padding: 3rem 2.5rem;
  position: relative;
}
.contact-box::before, .contact-box::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold);
  border-style: solid;
}
.contact-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.contact-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.contact-org {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.contact-address {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.8);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.contact-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.contact-person {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.7);
  margin-bottom: 1rem;
}
.contact-tel {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.contact-tel a { color: inherit; text-decoration: none; }
.contact-tel a:hover { color: var(--white); }
.contact-email {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.75);
}
.contact-email a { color: var(--gold-light); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* フォーム */
.form-group {
  margin-bottom: 1.4rem;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.75);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.required {
  font-size: 0.7rem;
  background: var(--gold-dark);
  color: var(--white);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,240,232,0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { text-align: center; margin-top: 1.8rem; }
.form-submit button {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  padding: 0.9rem 4rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.form-submit button:hover { opacity: 0.85; transform: translateY(-2px); }
.form-submit button:active { transform: translateY(0); }

.contact-free-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.5);
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--black);
  border-top: var(--border-gold);
  padding: 32px 24px;
  text-align: center;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.1em;
}

/* ===================================
   HEADER NAV
   =================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  transition: background 0.4s;
}
header.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom: var(--border-gold);
}
.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.3em;
  text-decoration: none;
}
nav { display: flex; gap: 32px; }
nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.2em;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold-light); }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
  .lecturers-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .lecturers-grid { grid-template-columns: 1fr; }
  header { padding: 12px 16px; }
  nav { gap: 16px; }
  nav a { font-size: 0.72rem; }
  .contact-box { padding: 2rem 1.2rem; }
  .hero-badge::before, .hero-badge::after { display: none; }
}
