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

:root {
  --color-primary: #0f0f23;
  --color-accent: #e8834a;
  --color-accent-light: #f0a472;
  --color-hero-bg: #f5e6d8;
  --color-bg: #fafafa;
  --color-bg-alt: #f1f2f6;
  --color-surface: #ffffff;
  --color-text: #1e1e2e;
  --color-text-light: #5c5c7a;
  --color-border: #e4e4ec;
  --font-main: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1100px;
  --header-height: 64px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__inner {
  width: 100%;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.12em;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.3s;
  letter-spacing: 0.03em;
  position: relative;
}

.header__nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width 0.3s;
}

.header__nav a:hover {
  color: var(--color-accent);
}

.header__nav a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-primary);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

/* Blob decorations */
.hero__blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero__blob--1 {
  width: 520px;
  height: 520px;
  background: var(--color-hero-bg);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  top: -10%;
  left: -8%;
  animation: blobFloat1 6s ease-in-out infinite;
}

.hero__blob--2 {
  width: 180px;
  height: 180px;
  background: rgba(166, 214, 140, 0.25);
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 50%;
  bottom: -2%;
  left: 38%;
  animation: blobFloat2 7s ease-in-out infinite;
}

.hero__blob--3 {
  width: 220px;
  height: 220px;
  background: rgba(135, 206, 235, 0.2);
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  top: 12%;
  right: 5%;
  animation: blobFloat3 8s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero__text {
  flex: 1;
}

.hero__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  line-height: 2;
}

.hero__sub + .hero__sub {
  margin-top: 12px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 320px;
  max-width: 100%;
  padding: 16px 36px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  box-sizing: border-box;
}

.hero__btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.45);
}

.hero__btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.hero__btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero__slider {
  flex-shrink: 0;
  width: 50%;
  position: relative;
}

.hero__slides {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 12px 12px 32px rgba(0, 0, 0, 0.1);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-text-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.hero__dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .hero__blob--1 {
    width: 300px;
    height: 300px;
    top: -12%;
    left: -15%;
  }

  .hero__blob--2 {
    width: 120px;
    height: 120px;
    bottom: 5%;
    left: 10%;
  }

  .hero__blob--3 {
    width: 90px;
    height: 90px;
    top: 8%;
    right: -5%;
  }

  .hero__content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 32px;
  }

  .hero__slider {
    width: 85%;
  }

  .hero__title {
    font-size: 1.4rem;
  }

  .hero__sub {
    font-size: 0.75rem;
    line-height: 1.9;
  }

  .hero__cta {
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }

  .hero__btn {
    width: 240px;
    padding: 12px 18px;
    font-size: 0.75rem;
  }
}

/* ===== Section Common ===== */
.section {
  padding: 100px 24px;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.section__title-en {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2px;
}

.section__lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 56px;
  font-size: 0.9rem;
}

/* ===== Greeting ===== */
.greeting {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.greeting__image {
  flex-shrink: 0;
  width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.greeting__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting__body h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 16px;
}

.greeting__body h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.greeting__body p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.greeting__name {
  margin-top: 24px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.greeting__profile {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.greeting__profile dl {
  margin-bottom: 12px;
}

.greeting__profile dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.greeting__profile dd {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Event ===== */
.event-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.event-card__title {
  font-size: 1.3rem;
  font-weight: 500;
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.event-card__info {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
}

.event-card__info th,
.event-card__info td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.event-card__info tr:last-child th,
.event-card__info tr:last-child td {
  border-bottom: none;
}

.event-card__info th {
  width: 102px;
  font-weight: 400;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.event-card__concept {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.event-card__concept h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.event-card__concept h5 {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.event-card__concept p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.event-card__concept p + p {
  margin-top: 8px;
}

.event-card__cta {
  text-align: center;
}

.event-card__cta .hero__cta {
  justify-content: center;
}

.event-card__cta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.event-card__cta p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.btn-event {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.btn-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.4);
}

@media (max-width: 768px) {
  .event-card {
    padding: 28px 20px;
  }

  .event-card__info th {
    width: 90px;
  }

  .event-card__info tr:last-child th,
  .event-card__info tr:last-child td {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 350px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  .company-table th {
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    text-align-last: left;
  }

  .company-table td {
    padding-top: 4px;
  }

  .event-card__info th,
  .event-card__info td {
    display: block;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  .event-card__info th {
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    text-align-last: left;
  }

  .event-card__info td {
    padding-top: 4px;
  }
}

/* ===== Instagram ===== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.instagram-grid__item {
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.instagram-grid__item:hover {
  transform: scale(1.02);
}

.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-grid__item .ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.instagram-grid__item:hover .ig-overlay {
  opacity: 1;
}

.instagram-cta {
  text-align: center;
  margin-top: 32px;
}

.btn-instagram {
  display: inline-block;
  padding: 12px 36px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.4);
}

/* ===== Company Info ===== */
#company {
  padding-bottom: 140px;
}

.company-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.company-table th,
.company-table td {
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 128px;
  font-weight: 400;
  color: var(--color-primary);
  background: transparent;
  white-space: nowrap;
  position: relative;
  padding-left: 40px;
  text-align: justify;
  text-align-last: justify;
}

.company-table tr:last-child th {
  text-align: left;
  letter-spacing: 0.2em;
}

.company-table th::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ===== Audition Info ===== */
.audition-info {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.audition-info__overview {
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.audition-info__overview p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.8;
}

.audition-info__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 12px 0;
}

.audition-info__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.audition-info__title--required {
  margin-top: 24px;
  color: var(--color-accent);
}

.audition-info__list {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 0;
}

.audition-info__list li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.audition-info__schedule {
  list-style: none;
  padding-left: 0;
  margin-bottom: 8px;
}

.audition-info__schedule li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.audition-info__note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Forms ===== */
.form-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 48px;
  background: var(--color-bg-alt);
  border-radius: 50px;
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-tab {
  flex: 1;
  padding: 10px 24px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-main);
}

.form-tab.is-active {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.form-panel {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-panel.is-active {
  display: block;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-note {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 4px;
}

.form-group label .required {
  color: var(--color-accent);
  font-size: 0.7rem;
  margin-left: 4px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 131, 74, 0.12);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--color-accent);
}

.form-checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 32px auto 0;
  padding: 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.4);
}

/* ===== Contact Form 7 Integration ===== */
.form-panel .wpcf7 {
  max-width: 100%;
}

.form-panel .wpcf7-form p {
  margin-bottom: 24px;
}

.form-panel .wpcf7-form-control-wrap {
  display: block;
}

.form-panel .wpcf7-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-panel .wpcf7-form label .required {
  color: var(--color-accent);
  font-size: 0.7rem;
  margin-left: 4px;
  font-weight: 500;
}

.form-panel .wpcf7-form input[type="text"],
.form-panel .wpcf7-form input[type="email"],
.form-panel .wpcf7-form input[type="tel"],
.form-panel .wpcf7-form input[type="date"],
.form-panel .wpcf7-form input[type="url"],
.form-panel .wpcf7-form textarea,
.form-panel .wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--color-bg);
}

.form-panel .wpcf7-form input:focus,
.form-panel .wpcf7-form textarea:focus,
.form-panel .wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 131, 74, 0.12);
}

.form-panel .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-panel .wpcf7-form input[type="file"] {
  font-size: 0.85rem;
}

.form-panel .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 32px auto 0;
  padding: 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.form-panel .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.4);
}

.form-panel .wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.form-panel .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--color-accent);
}

.form-panel .wpcf7-form .wpcf7-acceptance a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-panel .wpcf7-form .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.78rem;
  margin-top: 4px;
}

.form-panel .wpcf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  text-align: center;
}

.form-panel .wpcf7-form.sent .wpcf7-response-output {
  border-color: #27ae60;
  color: #27ae60;
  background: rgba(39, 174, 96, 0.06);
}

.form-panel .wpcf7-form.failed .wpcf7-response-output,
.form-panel .wpcf7-form.invalid .wpcf7-response-output {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.06);
}

/* ===== Policy ===== */
.policy-content {
  max-width: 740px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.policy-content h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 32px;
  text-align: center;
}

.policy-content h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin: 32px 0 12px;
}

.policy-content p,
.policy-content li {
  font-size: 0.87rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.policy-content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 8px 0;
}

/* ===== Footer ===== */
.footer {
  background: #2c2c3a;
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 24px;
  text-align: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.78rem;
  transition: color 0.3s;
  letter-spacing: 0.03em;
}

.footer__nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__copy {
  font-size: 0.7rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .header__nav.is-open {
    max-height: 300px;
  }

  .header__nav a {
    display: block;
    padding: 16px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav a::after {
    display: none;
  }

  .section {
    padding: 72px 20px;
  }

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

  .greeting__image {
    width: 220px;
    margin: 0 auto;
  }

  .greeting__body p {
    text-align: left;
  }

  .greeting__body h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-table th {
    width: 125px;
    text-align: justify;
    text-align-last: justify;
  }

  .company-table tr:last-child th,
  .company-table tr:last-child td {
    border-bottom: 1px solid var(--color-border);
  }

  .company-table tr:last-child th {
    text-align: left;
    letter-spacing: 0.16em;
  }

  .form-tabs {
    max-width: 100%;
  }

  .form-panel {
    padding: 28px 20px;
  }

  .policy-content {
    padding: 32px 20px;
  }
.greeting__profile {
    text-align: left;
  }  
}

/* ===== Page Header (sub pages) ===== */
.page-header {
  margin-top: var(--header-height);
  padding: 72px 24px;
  background: var(--color-hero-bg);
  color: var(--color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 131, 74, 0.15) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.page-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
}

.page-header__title-en {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

/* ===== Utility ===== */
.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

/* Section title reveal animation */
.section__title {
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.section__title .section__title-en {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0s;
}

.section__title .section__title-jp {
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0s;
}

/* Step 1: line draws left to right */
.fade-in.is-visible .section__title::after {
  transform: scaleX(1);
}

/* Step 2: english text fades in */
.fade-in.is-visible .section__title .section__title-en {
  opacity: 1;
  transition-delay: 0.25s;
}

/* Step 3: japanese text fades in */
.fade-in.is-visible .section__title .section__title-jp {
  opacity: 1;
  transition-delay: 0.4s;
}
