@charset "UTF-8";

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

html,
body {
  width: 100%;
  min-height: 100dvh;
  /* Ensure full height */
  background-color: #ffffff;
  color: #000000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  /* overflow-y is handled by default flow now */
  position: relative;

  /* Flex Column Layout for Sticky Footer */
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  /* Take remaining space */
  /* Remove fixed height */
}

h1 {
  font-family: "Anton", sans-serif;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1.hero {
  font-size: 18vw;
}

h1.error {
  font-size: 10vw;
}

p {
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 15px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1002;
  /* Above nav overlay */
}

/* Logo */
.header_logo {
  font-family: "Anton", sans-serif;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  line-height: 1;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden;
}

/* Hamburger Trigger */
.hamburger {
  display: block;
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

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

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

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

/* Global Nav Overlay */
.global_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1001;
  /* Below header_inner but above content */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.global_nav.is-active {
  opacity: 1;
  visibility: visible;
}

.nav_list {
  list-style: none;
  text-align: center;
}

.nav_list li {
  margin: 20px 0;
  overflow: hidden;
  /* For reveal animation */
}

.nav_list a {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.global_nav.is-active .nav_list a {
  transform: translateY(0);
}

/* Staggered animation delay */
.global_nav.is-active .nav_list li:nth-child(1) a {
  transition-delay: 0.1s;
}

.global_nav.is-active .nav_list li:nth-child(2) a {
  transition-delay: 0.2s;
}

.global_nav.is-active .nav_list li:nth-child(3) a {
  transition-delay: 0.3s;
}

.global_nav.is-active .nav_list li:nth-child(4) a {
  transition-delay: 0.4s;
}

/* Footer */
#footer {
  position: relative;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Footer Links Row */
.footer_links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

#footer p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px !important;
  color: #000;
  margin: 0;
}

.footer_link {
  display: inline-block;
  font-size: 12px !important;
  color: #000;
  text-decoration: underline;
  font-family: "Helvetica Neue", Arial, sans-serif;
  border-bottom: none;
  padding-bottom: 0;
}

.footer_link:hover {
  text-decoration: none;
  border-bottom: none;
}

/* Privacy Page */
.page-privacy {
  display: block;
  /* Override flex centered layout */
  padding: 120px 20px 100px;
  text-align: left;
  height: auto;
}

.page-privacy .container {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(24px, 5vw, 40px);
  margin-bottom: 40px;
  opacity: 1;
  transform: none;
  animation: none;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy section {
  margin-bottom: 80px;
}

.page-privacy h2 {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
}

.page-privacy p,
.page-privacy ul {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
}

.page-privacy ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

/* Privacy Page Links */
.page-privacy a {
  color: #000;
  text-decoration: underline;
  border-bottom: none;
  position: static;
  display: inline;
  padding-bottom: 0;
}

.page-privacy a:hover {
  border-bottom: none;
  text-decoration: none;
}

/* Tokusho-ho List */
dl.tokusho {
  width: 100%;
  border: none;
}

dl.tokusho .row {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping */
  padding: 15px 0;
  border-bottom: none;
  gap: 10px;
  /* Add gap for spacing when wrapped */
}

dl.tokusho dt {
  width: 30%;
  min-width: 150px;
  /* Ensure minimum width before wrapping or shrinking */
  font-weight: bold;
  padding-right: 20px;
}

dl.tokusho dd {
  flex: 1;
  min-width: 250px;
}



/* Body Lock */
body.fixed {
  overflow: hidden;
}

/* Contact Form */
.contact-form {
  margin-top: 40px;
  width: 100%;
}

.form-group {
  margin-bottom: 30px;
  position: relative;
  /* Anchor for absolute validation bubble */
}

.contact-form label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-form .required {
  color: #000;
  font-size: 12px;
  margin-left: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #000;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.form-actions {
  margin-top: 40px;
  text-align: center;
}

.submit-btn {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 15px 60px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #fff;
  color: #000;
}

.submit-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: #000;
  border-color: #000;
  color: #fff;
}

/* Custom Validation Bubble */
.error-message {
  position: absolute;
  top: 100%;
  /* Below the input */
  left: 0;
  margin-top: 10px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.error-message::before {
  content: '';
  position: absolute;
  bottom: 100%;
  /* Top of bubble */
  left: 20px;
  /* Offset for arrow */
  border: 6px solid transparent;
  border-bottom-color: #000;
}

.recaptcha-policy {
  margin-top: 30px;
  font-size: 12px !important;
  color: #000;
  line-height: 1.5;
  text-transform: none;
}

.recaptcha-policy a {
  color: #000;
  text-decoration: underline;
}

/* Thanks Page Link */
.thanks-link {
  color: #000;
  text-decoration: underline;
}

.thanks-link:hover {
  text-decoration: none;
}