/* === 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;
}

.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 span.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;
  object-position: center;
}

.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%);
  display: flex;
  align-items: center;
}

.hero-text {
  padding-left: 80px;
}

.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;
}

/* ── POLICY CONTENT ── */
.policy-section {
  width: 1440px;
  padding: 100px 0 120px;
  display: flex;
  justify-content: center;
}

.policy-inner {
  width: 800px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.policy-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-heading {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.9px;
  color: #00622f;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 6px solid rgba(0, 98, 47, 0.2);
}

.policy-body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #555;
  line-height: 2;
}

.policy-body ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-body ul li {
  padding-left: 1.2em;
  position: relative;
}

.policy-body ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ── 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 span.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;
}

.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: 24px;
  align-items: center;
}

.footer-nav-links a,
.footer-nav-links span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.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: 400;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
}

.footer-copy {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #7e7c57;
  line-height: 1.6;
  text-align: center;
}

/* ── 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);
  }

  .policy-section {
    width: 100%;
    padding: 80px 40px 100px;
  }

  .policy-inner {
    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;
    width: 100%;
  }

  .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%);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 30px;
    padding-top: 15px;
  }

  .hero-text {
    padding-left: 0;
  }

  .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;
  }

  /* Policy section SP */
  .policy-section {
    width: 100%;
    padding: 40px 20px 60px;
  }

  .policy-inner {
    gap: 40px;
  }

  .policy-item {
    gap: 12px;
  }

  .policy-heading {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.8px;
    color: #333;
    line-height: 1.4;
  }

  .policy-body {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 1.6;
  }

  /* 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 span.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;
  }
}
