/* === site-centering (fit-to-viewport for 1024-1439px) === */
html {
  overflow-x: hidden;
}

@media (min-width: 1440px) {
  body {
    width: 100%;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  min-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── HEADER ── */
.header {
  background: #fff;
  box-shadow: 0 4px 5px rgba(0, 98, 47, 0.1);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 1440px;
}

.header-logo {
  width: 290px;
  height: 40px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
}

.header-logo img {
  position: absolute;
  height: 152.5%;
  left: -5.46%;
  top: -32.5%;
  width: 110.93%;
  max-width: none;
}

.header-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.header-nav a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #00622f;
  text-decoration: none;
  line-height: 1.6;
}

.header-cta-btn {
  background: #00622f;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px 16px 36px;
  height: 70px;
  text-decoration: none;
}

.header-cta-btn .label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #fff;
  line-height: 1.6;
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(180deg) scaleY(-1);
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 1440px;
  height: 295px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 30px);
  height: 255px;
  border-radius: 40px;
  overflow: hidden;
  filter: blur(1px);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 30px);
  height: 255px;
  border-radius: 40px;
  background: linear-gradient(82.41deg, rgba(0, 98, 47, 0.6) 28.787%, rgba(0, 98, 47, 0.2) 97.41%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
}

.hero-title-row {
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.hero-title-ja {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.4;
}

.hero-title-en {
  font-family: "Cormorant", serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1.2px;
  color: #fff;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ── FORMSPREE messages & errors ── */
.form-message {
  display: none;
  max-width: 720px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.6px;
  margin: 0 auto;
}

.form-message-success {
  background: #e8f4ec;
  color: #00622f;
  border: 1px solid #00622f;
}

.form-message-error {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #b3261e;
}

.form-message.is-visible {
  display: block;
}

.form-error:not(:empty) {
  display: block;
  color: #b3261e;
  font-size: 13px;
  margin-top: 6px;
}

[data-fs-field][aria-invalid="true"] {
  border-color: #b3261e !important;
}

[data-fs-submit-btn][disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── CONTACT SECTION ── */
.contact-section {
  width: 1440px;
  padding: 80px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #333;
  line-height: 2;
  text-align: center;
  width: 800px;
}

/* ── FORM ── */
.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 700px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 700px;
}

.form-label-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.form-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #333;
  line-height: 1.4;
  white-space: nowrap;
}

.form-required {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #e6694a;
  line-height: 1.4;
}

.form-input {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #333;
  line-height: 1.6;
  background: #fff;
  outline: none;
}

.form-input::placeholder {
  color: #ccc;
}

.form-input:focus {
  border-color: #00622f;
}

.form-textarea {
  width: 100%;
  height: 260px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #333;
  line-height: 1.6;
  background: #fff;
  resize: vertical;
  outline: none;
}

.form-textarea::placeholder {
  color: #ccc;
}

.form-textarea:focus {
  border-color: #00622f;
}

/* radio group */
.form-radio-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-radio-item {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.form-radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  background: #fff;
}

.form-radio-item input[type="radio"]:checked {
  border-color: #00622f;
  background: #00622f;
}

.form-radio-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.form-radio-item label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #333;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
}

/* privacy checkbox */
.form-privacy-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
}

.form-privacy-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 2.5px;
  flex-shrink: 0;
  cursor: pointer;
  background: #fff;
  position: relative;
}

.form-privacy-row input[type="checkbox"]:checked {
  background: #00622f;
  border-color: #00622f;
}

.form-privacy-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-privacy-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #333;
  line-height: 1.4;
  white-space: nowrap;
}

.form-privacy-label a {
  color: #008026;
  text-decoration: underline;
}

/* submit button */
.form-submit-btn {
  background: #00622f;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 20px 36px;
  width: 400px;
  border: none;
  cursor: pointer;
}

.form-submit-btn span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #fff;
  line-height: 1.6;
  white-space: nowrap;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  width: 1440px;
  padding: 100px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: bottom;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 98, 47, 0.5);
}

.cta-inner {
  position: relative;
  width: 1180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.cta-title {
  font-family: "Cormorant", serif;
  font-weight: 500;
  font-size: 60px;
  letter-spacing: 3px;
  color: #fff;
  line-height: 1;
}

.cta-subtitle {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 1.4px;
  color: #fff;
  line-height: 1.8;
}

.btn-text-white {
  border-bottom: 1px solid #fff;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 20px;
  text-decoration: none;
}

.btn-text-white .label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.6;
  white-space: nowrap;
}

/* ── FOOTER ── */
.footer {
  background: #fff;
  box-shadow: 0 4px 5px rgba(0, 98, 47, 0.1);
  width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  padding: 48px 28px 60px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.footer-logo {
  width: 304px;
  height: 136.8px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
}

.footer-logo img {
  position: absolute;
  height: 353.62%;
  left: -29.33%;
  top: -112.49%;
  width: 159.13%;
  max-width: none;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.footer-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-nav-links a,
.footer-nav-links span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #00622f;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav-links a {
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 1.6;
}

.footer-nav-links .sep {
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 1.6;
}

.footer-privacy {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.55px;
  color: #00622f;
  line-height: 1.6;
  text-decoration: none;
}

.footer-copy {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.55px;
  color: #00622f;
  line-height: 1.6;
}

/* ── HEADER MAIL BTN ── */
.header-mail-btn {
  display: none;
  background: #00622f;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header-mail-btn img {
  display: block;
}

/* ══ HAMBURGER ══ */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 70px;
  padding: 0 10px;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #00622f;
  border-radius: 1px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 98;
  flex-direction: column;
  padding: 0 24px 24px;
  box-shadow: 0 8px 16px rgba(0, 98, 47, 0.1);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 98, 47, 0.1);
  letter-spacing: 0.8px;
}

.mobile-nav .mobile-cta-link {
  margin-top: 16px;
  background: #00622f;
  color: #fff !important;
  text-align: center;
  padding: 14px 0 !important;
  border-bottom: none !important;
  border-radius: 2px;
}

/* ══ RESPONSIVE TABLET ≤1023px ══ */
@media (max-width: 1023px) {
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .header {
    width: 100%;
  }

  .header-nav > a:not(.header-cta-btn) {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero {
    width: 100%;
  }

  .hero-photo {
    width: calc(100% - 30px);
  }

  .hero-gradient {
    width: calc(100% - 30px);
  }

  .hero-text {
    left: 40px;
  }

  .contact-section {
    width: 100%;
    padding: 60px 40px 80px;
  }

  .contact-lead {
    width: 100%;
  }

  .form-wrap {
    width: 100%;
    max-width: 700px;
  }

  .form-field {
    width: 100%;
  }

  .cta-section {
    width: 100%;
    padding: 70px 40px;
  }

  .cta-inner {
    width: 100%;
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }

  .cta-subtitle {
    font-size: 22px;
  }

  .footer {
    width: 100%;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* ══ RESPONSIVE MOBILE ≤767px ══ */
@media (max-width: 767px) {
  /* Header */
  .header {
    height: 50px;
    padding-left: 10px;
    padding-right: 0;
    justify-content: flex-start;
    gap: 0;
  }

  .header-logo {
    width: 174px;
    height: 24px;
  }

  .header-nav {
    display: none;
  }

  .header-mail-btn {
    display: flex;
    margin-left: auto;
  }

  .hamburger-btn {
    height: 50px;
    background: #008026;
    padding: 0;
    width: 50px;
  }

  .hamburger-btn span {
    background: #fff;
  }

  .mobile-nav {
    top: 50px;
  }

  /* Hero SP */
  .hero {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom-left-radius: 50px;
  }

  .hero-photo {
    width: calc(100% - 30px);
    height: 180px;
    border-radius: 20px;
  }

  .hero-gradient {
    width: calc(100% - 30px);
    height: 180px;
    border-radius: 20px;
    background: linear-gradient(53.81deg, rgba(0, 98, 47, 0.6) 40%, rgba(0, 98, 47, 0.2) 95.83%);
  }

  .hero-text {
    left: 40px;
    top: calc(50% + 7.5px);
    transform: translateY(-50%);
  }

  .hero-title-row {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .hero-title-ja {
    font-size: 28px;
    letter-spacing: 1.4px;
    line-height: 1.4;
  }

  .hero-title-en {
    font-size: 18px;
    letter-spacing: 0.9px;
    line-height: 1.6;
    margin-top: -2px;
  }

  /* Contact section */
  .contact-section {
    width: 100%;
    padding: 60px 20px;
    gap: 40px;
  }

  .contact-lead {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 2;
    text-align: left;
    width: 100%;
  }

  .form-wrap {
    width: 335px;
    gap: 40px;
  }

  .form-field {
    width: 335px;
  }

  .form-textarea {
    height: 200px;
  }

  .form-privacy-label {
    white-space: normal;
  }

  .form-submit-btn {
    width: 100%;
    padding: 20px 24px 20px 36px;
  }

  /* CTA SP */
  .cta-section {
    width: 100%;
    padding: 60px 20px;
  }

  .cta-inner {
    width: 100%;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .cta-title {
    font-size: 48px;
    letter-spacing: 2.4px;
  }

  .cta-subtitle {
    font-size: 20px;
    letter-spacing: 1px;
    font-feature-settings: "hwid" 1;
  }

  .btn-text-white .label {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Footer SP */
  .footer {
    width: 100%;
    padding: 48px 28px 60px;
  }

  .footer-inner {
    gap: 40px;
  }

  .footer-logo {
    width: 178px;
    height: 80px;
  }

  .footer-nav {
    gap: 40px;
  }

  .footer-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .footer-nav-links .sep {
    display: none;
  }

  .footer-nav-links a {
    font-size: 15px;
    letter-spacing: 0.75px;
  }

  .footer-copy {
    font-size: 10px;
    letter-spacing: 0.5px;
    text-align: center;
  }
}
