/* === BASE === */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Anerome';
  src: url('../fonts/Anerome Stamped.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --pink: #f47cb9;
  --pink-light: #ffcae5;
  --pink-pale: #fff5fb;
  --gray-dark: #2a2a2a;
  --gray: #737373;
  --gray-light: #a6a6a6;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--white);
  color: var(--gray);
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === UTILITIES === */
.container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: "Playfair Display SC", serif;
  font-size: 56px;
  text-align: center;
  color: var(--gray);
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 24px;
  line-height: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.section-title.visible::after {
  width: 60px;
}

/* === FADE IN === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 50px;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 16px 50px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.nav-container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Anerome', sans-serif;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 4px;
  transition: color 0.4s;
}

.navbar.scrolled .nav-logo {
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-family: "Playfair Display SC", serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--gray);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--pink);
}

.nav-lang {
  display: flex;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  align-items: center;
}

.navbar.scrolled .nav-lang {
  color: var(--gray);
}

.nav-lang a {
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.nav-lang a.active {
  opacity: 1;
  font-weight: bold;
  border-bottom: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-dark);
}

/* === KEYFRAMES === */
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/kaho.jpg');
  background-size: cover;
  background-position: center top;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  /* Override fade-in: container is instantly transparent, children animate */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.hero-name {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-nickname {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-job {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-sns {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}

.hero-scroll {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

.hero-name {
  font-family: "Playfair Display SC", serif;
  font-size: 76px;
  letter-spacing: 10px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
  line-height: 1;
}

.hero-nickname {
  font-family: 'Anerome', sans-serif;
  font-size: 38px;
  color: var(--pink-light);
  letter-spacing: 6px;
  margin-bottom: 16px;
}

.hero-job {
  font-size: 13px;
  letter-spacing: 4px;
  opacity: 0.85;
  margin-bottom: 48px;
}

.hero-sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sns-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(6px);
}

.sns-link:hover {
  background: rgba(244, 124, 185, 0.4);
  border-color: var(--pink-light);
}

.sns-link i {
  font-size: 15px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 3px;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollAnim 1.8s ease infinite;
  transform-origin: top;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === REEL === */
.reel {
  padding: 80px 0;
  background: var(--white);
}

.reel-inner {
  display: flex;
  justify-content: center;
}

.reel-inner iframe {
  width: 800px;
  height: 450px;
  max-width: 100%;
}

/* === ABOUT === */
.about {
  background: var(--white);
}

.about-inner {
  display: flex;
  align-items: stretch;
  min-height: 640px;
}

.about-photo {
  width: 45%;
  flex-shrink: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1;
  background-color: var(--gray-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 80px 70px;
}

.about-text-inner h2 {
  font-family: 'Anerome', sans-serif;
  font-size: 58px;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 4px;
}

.about-text-inner h3 {
  font-family: 'Anerome', sans-serif;
  font-size: 30px;
  color: var(--pink-light);
  margin-bottom: 16px;
}

.about-job {
  font-family: 'Anerome', sans-serif;
  font-size: 16px;
  color: var(--gray-light);
  letter-spacing: 2px;
  margin-bottom: 36px;
}

.about-divider {
  width: 40px;
  height: 1px;
  background: var(--pink);
  margin-bottom: 32px;
}

.about-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2;
}

.about-info .label {
  color: var(--pink-light);
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 24px;
  margin-bottom: 4px;
}

/* === CAREER === */
.career {
  padding: 120px 0;
  background: var(--pink-pale);
}

.career-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 26px;
  border: 1px solid var(--pink);
  background: transparent;
  color: var(--pink);
  font-family: "Playfair Display SC", serif;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--pink);
  color: var(--white);
}

.tab-panel {
  display: none;
  animation: fadeTab 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeTab {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.career-list {
  list-style: none;
}

.career-item {
  display: grid;
  grid-template-columns: 1fr 180px 220px;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(115, 115, 115, 0.15);
  align-items: baseline;
}

.career-item:last-child {
  border-bottom: none;
}

.career-item.awards {
  grid-template-columns: 1fr 280px;
}

.career-item-title {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.6;
}

.career-item-role {
  font-size: 14px;
  color: var(--pink);
}

.career-item-note {
  font-size: 13px;
  color: var(--gray-light);
}

/* === STAGGER DELAYS === */
.media-grid .media-card:nth-child(2) { transition-delay: 0.12s; }
.media-grid .media-card:nth-child(3) { transition-delay: 0.24s; }
.media-grid .media-card:nth-child(4) { transition-delay: 0.36s; }

.classfee-cards .fee-card:nth-child(2) { transition-delay: 0.15s; }

/* === MEDIA === */
.media {
  padding: 120px 0;
  background: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.media-card {
  position: relative;
  border: 1px solid rgba(115, 115, 115, 0.15);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
}

/* Stretched link: covers entire card */
.media-card-stretch-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.media-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-card:hover .media-card-img img {
  transform: scale(1.04);
}

.media-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pink);
  border: 1px solid var(--pink-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.media-name {
  font-family: "Playfair Display SC", serif;
  font-size: 20px;
  color: var(--gray-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.media-desc {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.media-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
}

.media-link-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--pink);
  font-family: "Playfair Display SC", serif;
  transition: gap 0.3s;
}

.media-link-label i {
  font-size: 11px;
}

.media-card:hover .media-link-label {
  gap: 14px;
}

/* Secondary link sits above the stretch link */
.media-link-secondary {
  position: relative;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.media-link-secondary:hover {
  color: var(--pink);
}

/* === CLASS FEE === */
.classfee {
  padding: 120px 0;
  background: var(--gray-dark);
}

.classfee .section-title {
  color: var(--pink-light);
}

.classfee .section-title::after {
  background: var(--pink);
}

.classfee-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

.fee-card {
  background: #363636;
  border-radius: 16px;
  padding: 50px 44px;
  text-align: center;
  border: 1px solid rgba(244, 124, 185, 0.18);
  transition: transform 0.3s, border-color 0.3s;
}

.fee-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
}

.fee-card h2 {
  font-family: "Playfair Display SC", serif;
  font-size: 26px;
  color: var(--pink);
  margin-bottom: 8px;
}

.fee-card .fee-subtitle {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 28px;
}

.fee-divider {
  width: 40px;
  height: 1px;
  background: var(--pink);
  margin: 0 auto 28px;
}

.fee-section {
  margin-bottom: 20px;
}

.fee-section h3 {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--pink-light);
  margin-bottom: 10px;
}

.fee-section p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.fee-section small {
  font-size: 12px;
  color: var(--gray-light);
}

.classfee-supplement {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.classfee-supplement .genre-list {
  font-size: 15px;
  line-height: 2;
}

.classfee-supplement .other-offers {
  margin-top: 36px;
}

.classfee-supplement .other-offers h3 {
  font-family: "Playfair Display SC", serif;
  font-size: 20px;
  color: var(--pink);
  margin-bottom: 12px;
}

.classfee-supplement .other-offers p {
  font-size: 14px;
}

/* === CONTACT === */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.contact-photo {
  width: 44%;
  flex-shrink: 0;
}

.contact-photo img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.contact-text h2 {
  font-family: "Playfair Display SC", serif;
  font-size: 36px;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.contact-text .name-ja {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 44px;
}

.contact-email span {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.contact-email a {
  font-size: 17px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.contact-email a:hover {
  color: var(--pink);
}

/* === CONTACT FORM === */
.contact-form {
  margin-top: 8px;
}

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

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(115, 115, 115, 0.25);
  border-radius: 8px;
  font-family: "Kaisei Decol", serif;
  font-size: 15px;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  display: inline-block;
  padding: 13px 40px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 40px;
  font-family: "Playfair Display SC", serif;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.form-submit:hover {
  opacity: 0.8;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 40px 0;
}

.form-success i {
  font-size: 48px;
  color: var(--pink);
  margin-bottom: 20px;
  display: block;
}

.form-success p {
  font-size: 16px;
  color: var(--gray);
  line-height: 2;
}

.form-error {
  margin-top: 12px;
  font-size: 13px;
  color: #e05c5c;
}

/* === FOOTER === */
footer {
  background: var(--gray-dark);
  padding: 56px 30px;
  text-align: center;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-sns a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  transition: border-color 0.3s, color 0.3s;
}

.footer-sns a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
}
