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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  font-family: "Teachers", sans-serif;
  color: white;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.nebula-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(185deg, #1F1C2D 4.51%, #272028 87.92%);
  -webkit-animation: nebulaMove 25s ease infinite alternate;
          animation: nebulaMove 25s ease infinite alternate;
}

@-webkit-keyframes nebulaMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes nebulaMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}
#bubbleCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.contact-bg-overlay {
  position: fixed;
  top: 0;
  left: 15%;
  width: 70%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
@media (max-width: 768px) {
  .contact-bg-overlay {
    left: 5%;
    width: 90%;
  }
}

.contact-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 87px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 500;
}
@media (max-width: 768px) {
  .contact-header {
    height: 60px;
    padding: 0 20px;
  }
}

.header-logo {
  font-family: "Teachers", sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: white;
  line-height: 127px;
}
@media (max-width: 768px) {
  .header-logo {
    font-size: 28px;
    line-height: 60px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 256px;
  padding: 8px 32px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-family: "Teachers", sans-serif;
  font-size: 18px;
  letter-spacing: 0.07em;
  color: white;
  background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.header-pill:hover {
  background: white;
  color: #000;
  border-color: white;
}
@media (max-width: 768px) {
  .header-pill {
    display: none;
  }
}

.hamburger-trigger {
  width: 50px;
  height: 28px;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 768px) {
  .hamburger-trigger {
    width: 23px;
    height: 13px;
  }
}
.hamburger-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 768px) {
  .hamburger-trigger span {
    height: 1px;
  }
}
.hamburger-trigger.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.content-area {
  position: relative;
  z-index: 20;
  max-width: 1070px;
  margin: 0 auto;
  padding-top: 87px;
}
@media (max-width: 768px) {
  .content-area {
    max-width: 90%;
    padding-top: 60px;
  }
}

.content-inner {
  position: relative;
  z-index: 20;
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 85px;
}
@media (max-width: 768px) {
  .content-inner {
    padding: 0 20px;
    max-width: 100%;
  }
}

.section-hero {
  text-align: center;
  padding: 160px 0 80px;
  position: relative;
}
@media (max-width: 768px) {
  .section-hero {
    padding: 50px 0 30px;
  }
}

.section-hero__en {
  font-family: "Teachers", sans-serif;
  font-size: 256px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: white;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .section-hero__en {
    font-size: 80px;
    top: -10px;
  }
}

.section-hero__ja {
  font-family: "Zen Old Mincho", serif;
  font-size: 40px;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: 0.01em;
  margin-top: -30px;
  position: relative;
}
@media (max-width: 768px) {
  .section-hero__ja {
    font-size: 24px;
    margin-top: -5px;
  }
}

.contact-lead {
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  line-height: 36px;
  color: white;
  max-width: 600px;
  margin: 0 auto 80px;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-lead {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 40px;
    text-align: left;
  }
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.form-group {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 24px;
  }
}

.form-label {
  display: block;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .form-label {
    font-size: 15px;
    margin-bottom: 8px;
  }
}
.form-label--plain {
  font-weight: 400;
}

.form-required {
  display: inline-block;
  background: #c0392b;
  color: white;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-left: 12px;
  vertical-align: middle;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .form-required {
    font-size: 11px;
    padding: 2px 8px;
    margin-left: 8px;
  }
}

.form-input,
.form-textarea {
  width: 100%;
  background: #D9D9D9;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #1a1a1a;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #808080;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #808080;
}
.form-input:focus,
.form-textarea:focus {
  border-bottom-color: #c5a059;
  background: #e6e6e6;
}
@media (max-width: 768px) {
  .form-input,
.form-textarea {
    font-size: 14px;
    padding: 12px 14px;
  }
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
.form-textarea:focus {
  border-color: #c5a059;
}
@media (max-width: 768px) {
  .form-textarea {
    min-height: 150px;
  }
}

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}
@media (max-width: 768px) {
  .form-checkboxes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  color: white;
}
@media (max-width: 768px) {
  .form-checkbox {
    font-size: 14px;
    gap: 10px;
  }
}
.form-checkbox input[type=checkbox] {
  display: none;
}

.form-checkbox__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  background: #D9D9D9;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
}
input[type=checkbox]:checked + .form-checkbox__box {
  border-color: #c5a059;
  background: rgba(197, 160, 89, 0.2);
}
input[type=checkbox]:checked + .form-checkbox__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #c5a059;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .form-checkbox__box {
    width: 20px;
    height: 20px;
  }
  input[type=checkbox]:checked + .form-checkbox__box::after {
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
  }
}

.form-checkbox__text {
  line-height: 1.4;
}

.privacy-box {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 20px;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.04);
}
.privacy-box p {
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  .privacy-box p {
    font-size: 12px;
    line-height: 24px;
  }
}
@media (max-width: 768px) {
  .privacy-box {
    padding: 16px;
    max-height: 160px;
  }
}

.form-submit-wrap {
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .form-submit-wrap {
    margin-top: 40px;
  }
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  border: 1px solid white;
  border-radius: 55px;
  font-family: "Teachers", sans-serif;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: white;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.form-submit-btn:hover {
  background: white;
  color: #000;
}
.form-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.form-submit-btn:disabled:hover {
  background: transparent;
  color: white;
}
@media (max-width: 768px) {
  .form-submit-btn {
    width: 180px;
    height: 50px;
    font-size: 18px;
  }
}

.form-error {
  color: #e74c3c;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .form-error {
    font-size: 12px;
  }
}

.form-input.is-error,
.form-textarea.is-error {
  border-bottom-color: #e74c3c;
}

.form-textarea.is-error {
  border-color: #e74c3c;
}

.form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-btn {
  position: relative;
}
.form-submit-btn__loader {
  display: none;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: form-spin 0.8s linear infinite;
          animation: form-spin 0.8s linear infinite;
}
.form-submit-btn.is-submitting {
  pointer-events: none;
  opacity: 0.7;
}
.form-submit-btn.is-submitting .form-submit-btn__text {
  opacity: 0.6;
}
.form-submit-btn.is-submitting .form-submit-btn__loader {
  display: inline-block;
}

@-webkit-keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}
.form-summary-error {
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 4px;
  background: rgba(231, 76, 60, 0.08);
  color: #ff8a7d;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 768px) {
  .form-summary-error {
    font-size: 13px;
    padding: 12px 14px;
  }
}

.form-thanks {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
@media (max-width: 768px) {
  .form-thanks {
    padding: 50px 20px;
  }
}
.form-thanks__title {
  font-family: "Zen Old Mincho", serif;
  font-size: 26px;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .form-thanks__title {
    font-size: 20px;
    margin-bottom: 18px;
  }
}
.form-thanks__text {
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .form-thanks__text {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 28px;
    text-align: left;
  }
}
.form-thanks__back {
  margin-top: 24px;
}
.form-thanks__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  padding: 0 32px;
  border: 1px solid white;
  border-radius: 55px;
  font-family: "Teachers", sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: white;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.form-thanks__link:hover {
  background: white;
  color: #000;
}
@media (max-width: 768px) {
  .form-thanks__link {
    min-width: 180px;
    height: 48px;
    font-size: 15px;
  }
}

.contact-footer {
  position: relative;
  z-index: 20;
  max-width: 1070px;
  margin: 0 auto;
  padding: 80px 0 100px;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 100;
    padding: 16px 0;
    pointer-events: none;
  }
}

.footer-pills {
  display: flex;
  justify-content: center;
  gap: 40px;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .footer-pills {
    gap: 16px;
  }
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 255px;
  height: 57px;
  border: 1px solid white;
  border-radius: 55px;
  font-family: "Teachers", sans-serif;
  font-size: 25px;
  letter-spacing: 0.07em;
  color: white;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.footer-pill:hover {
  background: white;
  color: #000;
}
@media (max-width: 768px) {
  .footer-pill {
    width: 130px;
    height: 40px;
    font-size: 14px;
    gap: 4px;
  }
}

.footer-pill__arrow {
  display: block;
  width: 40px;
  height: auto;
  flex-shrink: 0;
  transition: filter 0.3s;
  position: relative;
  top: 2px;
}
@media (max-width: 768px) {
  .footer-pill__arrow {
    width: 14px;
  }
}

.footer-pill:hover .footer-pill__arrow {
  filter: invert(1);
}

.footer-pill__text {
  display: block;
  line-height: 1;
}

.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #050517;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 98px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
@media (max-width: 768px) {
  .nav-menu {
    justify-content: flex-start;
    padding: 72px 32px 120px 45px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu__list {
  list-style: none;
}

.nav-menu__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-menu.is-open .nav-menu__item {
  opacity: 1;
  transform: translateY(0);
}
.nav-menu.is-open .nav-menu__item:nth-child(1) {
  transition-delay: 0.06s;
}
.nav-menu.is-open .nav-menu__item:nth-child(2) {
  transition-delay: 0.12s;
}
.nav-menu.is-open .nav-menu__item:nth-child(3) {
  transition-delay: 0.18s;
}
.nav-menu.is-open .nav-menu__item:nth-child(4) {
  transition-delay: 0.24s;
}
.nav-menu.is-open .nav-menu__item:nth-child(5) {
  transition-delay: 0.3s;
}
.nav-menu.is-open .nav-menu__item:nth-child(6) {
  transition-delay: 0.36s;
}
.nav-menu.is-open .nav-menu__item:nth-child(7) {
  transition-delay: 0.42s;
}
.nav-menu.is-open .nav-menu__item:nth-child(8) {
  transition-delay: 0.48s;
}

.nav-menu__link {
  display: inline-block;
  font-family: "Teachers", sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 75px;
  letter-spacing: 0.07em;
  color: #d9d9d9;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  .nav-menu__link {
    font-size: 22px;
    line-height: 46px;
  }
}
.nav-menu__link:hover {
  opacity: 0.5;
}

.nav-menu__close {
  position: absolute;
  bottom: 60px;
  left: 98px;
  width: 139px;
  height: 50px;
  background: transparent;
  border: 1px solid white;
  border-radius: 57px;
  color: #d9d9d9;
  font-family: "Teachers", sans-serif;
  font-size: 21px;
  letter-spacing: 0.07em;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease, color 0.3s ease;
}
@media (max-width: 768px) {
  .nav-menu__close {
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
  }
}
.nav-menu__close:hover {
  background: white;
  color: black;
}

.nav-menu {
  z-index: 600;
}

body {
  cursor: crosshair;
}

.ripple-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.ripple-ring {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 1.5px solid rgba(218, 165, 32, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  -webkit-animation: ripple-out 1.3s cubic-bezier(0.15, 0.5, 0.4, 1) forwards;
          animation: ripple-out 1.3s cubic-bezier(0.15, 0.5, 0.4, 1) forwards;
}

@-webkit-keyframes ripple-out {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    border-width: 3px;
  }
  100% {
    transform: translate(-50%, -50%) scale(7);
    opacity: 0;
    border-width: 0.1px;
  }
}

@keyframes ripple-out {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    border-width: 3px;
  }
  100% {
    transform: translate(-50%, -50%) scale(7);
    opacity: 0;
    border-width: 0.1px;
  }
}
/* ============================================================
 * Confirm / Error page additions
 * ============================================================ */
.form-confirm-value {
  width: 100%;
  background: #D9D9D9;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #1a1a1a;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  padding: 14px 16px;
  margin: 0;
  min-height: 1em;
  word-break: break-word;
}

.form-confirm-value--multiline {
  white-space: pre-wrap;
  min-height: 6em;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .form-confirm-value {
    font-size: 14px;
    padding: 12px 14px;
  }
}

.form-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.form-actions__send {
  margin: 0;
}

.form-submit-btn--secondary {
  text-decoration: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.form-submit-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 768px) {
  .form-actions {
    gap: 16px;
    margin-top: 40px;
  }

  .form-submit-btn--secondary {
    font-size: 14px;
    width: 180px;
    height: 50px;
  }
}

.form-error-debug {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
}

.form-error-debug summary {
  cursor: pointer;
  padding: 8px 0;
  letter-spacing: 0.05em;
  user-select: none;
}

/*# sourceMappingURL=contact.css.map */