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

:root {
  --color-primary-green: #89c997;
  --color-secondary-blue: #4a7c8f;
  --color-text-dark: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg-light: #f8f8f8;
  --color-border: #e0e0e0;
  --color-nav-green: #89c997;
  --color-accent-green: #86b88d;

  /* ===== font-size ===== */
  --fs-xxl: 140px;
  --fs-xl: 80px;
  --fs-lg: 40px;
  --fs-md: 18px;
  --fs-sm: 1.4rem;
  --fs-xs: 1.2rem;
}

html { scroll-behavior: smooth; 
  scroll-padding-top: 110px;
}

body {
  font-family:
    "Poppins",
    "Zen Kaku Gothic New",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    sans-serif;
  color: var(--color-text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
}

.sp { display: none; }
.tablet { display: none; }
.mini { display: none; }
.pc { display: block; }

/* =========================================================
   Header
========================================================= */
#header {
  transition: background-color 0.3s ease;
  height: 110px;
}

#header .nav-link {
  color: var(--color-white);
}

#header.is-scrolled {
  background-color: var(--color-white);
}

#header.is-scrolled .nav-link {
  color: var(--color-nav-green);
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  font-size: 18px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 70px 0; /* 縦幅をさらに圧縮 */
}

.logo {
  position: relative;
  display: inline-block;
}

.logo:hover {
  opacity: 0.8;
}

/* ロゴ画像共通 */
.logo-img {
  display: block;
  height: 80px;
  width: auto;
  transition: opacity 0.3s ease;
}

/* 2枚を重ねる（greenをabsoluteに） */
.logo-img--green {
  position: absolute;
  inset: 0;
}

/* 常に緑ロゴを表示 */
.logo-img--white {
  opacity: 1;
}

.logo-img--green {
  opacity: 0;
}

#header.is-scrolled .logo-img--white {
  opacity: 0;
}

#header.is-scrolled .logo-img--green {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-link {
  position: relative;
  color: var(--color-nav-green);
  transition: color 0.4s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-nav-green);
  transform: translateX(-50%);
  transition: background-color 0.4s ease, width 0.3s ease;
}

.nav-link:hover::after {
  width: 18px;
}

.nav-link.is-active::after {
  width: 18px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 170px;
  height: 38px;
  padding: 0 16px;
  border: 2px solid var(--color-white);
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-primary-green);                          /* 文字を白 */
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#header.is-scrolled .btn-contact {
  color: var(--color-white);        
  border: 2px solid var(--color-nav-green);
  background-color: var(--color-nav-green); /* 背景を緑 */
}

.btn-arrow {
  color: var(--color-primary-green);   
}

#header.is-scrolled .btn-arrow {
  color: var(--color-white);
}

.btn-text {
  position: relative;
}

.btn-text::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
}

.btn-contact:hover {
  background-color: #72b57f;
  color: #ffffff;
}

.btn-contact:hover .btn-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

/* ===== Tablet ===== */
@media (max-width: 1280px) {
  .logo {
    width: fit-content;
  }
  .nav {
    display: none;
  }
}

/* ===== SP ===== */
@media (max-width: 767px) {
  .header-content {
    padding: 16px 5%;
  }

  /* ロゴ：SPは幅が変わるならここで調整 */
  .logo-img {
    height: auto;
    width: 70%;
  }
}

/* =========================================================
   SP Menu button + icon switch (white <-> green) by is-scrolled
========================================================= */
.menuBtn {
  display: none;
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;

  position: relative;
  width: 44px;
  height: 44px;
}

.menuBtn__icon {
  display: block;
  width: 44px;
  height: 44px;
}

/* 2枚重ね */
.menuBtn__icon--white,
.menuBtn__icon--green {
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
}

.menuBtn__icon--green {
  opacity: 0;
}

.menuBtn__icon--white {
  opacity: 1;
}

#header.is-scrolled .menuBtn__icon--green {
  opacity: 1;
}

#header.is-scrolled .menuBtn__icon--white {
  opacity: 0;
}
/* ===== Tablet ===== */
@media screen and (max-width: 1280px) {
  .menuBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  #header {
    height: auto;
  }
}

/* =========================================================
   Hero
========================================================= */
.mv-catchcopy {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-primary-green);
  background-image: url(image/mv_bg.png);
  background-size: cover;
}

.hero-text {
  position: absolute;
  top: 40%;
  color: var(--color-white);
  font-size: var(--fs-lg);
  line-height: 2;
  font-weight: bold;
}

/* 1280px以上の時のみ左揃え適用 */
@media screen and (min-width: 1281px) {
  .hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    padding-left: 250px;
  }
}

/* 1280px以下の時は従来の配置 */
@media screen and (max-width: 1280px) {
  .hero-text {
    position: absolute;
    top: 45%;
    right: 20px;
  }
}

/* ===== Tablet ===== */
@media screen and (max-width: 1400px) {
  .hero-text {
    position: absolute;
    top: 45%;
    right: 20px;
    color: var(--color-white);
    font-size: var(--fs-lg);
    line-height: 1.6;
  }
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .hero {
    min-height: 60vh;
  }

  .hero-bg {
    background-image: url(image/mv_bg_sp.png);
  }

  .mv-catchcopy {
    bottom: 0;
    width: 100%;
    object-fit: cover;
  }

  .hero-text {
    position: absolute;
    top: 45%;
    right: 3%;
    color: var(--color-white);
    font-size: 25px;
    line-height: 1.6;
  }
}

/* ===== mini ===== */
@media screen and (max-width: 430px) {
  .hero-text {
    font-size: 20px;
  }
}

/* =========================================================
   Concept
========================================================= */
.concept {
  position: relative;
  padding: 120px 0;
  background: var(--color-secondary-blue);
  color: var(--color-white);
}

.concept-content {
  display: flex;
  height: 1280px;
  padding: 100px 70px;
  background-image: url(image/concept_bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1280px 1280px;
}

.concept-title {
  color: var(--color-white);
  font-size: var(--fs-xxl);
  font-weight: normal;
  width: 50%;
  font-weight: 500;
  line-height: 1;
}

.concept-text {
  width: 50%;
  padding-left: 250px;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  font-weight: 500;
}

.concept-main {
  margin-bottom: 128px;
  font-size: 38px;
  text-align: left;
  line-height: 1.4;
}

.concept-sub {
  margin-bottom: 1em;
  font-size: 26px;
  line-height: 2;
}

@media screen and (max-width: 1280px) {
  .concept {
    padding: 120px 0 60px;
  }

  .concept-content {
    display: block;
    height: 800px;
    padding: 0;
    gap: 0;
    background-size: contain;
  }

  .concept-title {
    position: absolute;
    font-size: var(--fs-xl);
    top: 30px;
    left: 68px;
  }

  .concept-text {
    width: 100%;
    padding-left: 0;
    padding-top: 80px;
    margin-top: 18px;
    text-align: center;
  }

  .concept-main {
    font-weight: bold;
    text-align: left;
    margin: auto;
    margin-bottom: 24px;
  }

  .concept-sub {
    font-weight: bold;
  }
}

@media screen and (max-width: 767px) {
  .concept {
    padding: 120px 0 60px;
  }

  .concept-content {
    display: block;
    height: auto;
    padding: 0;
    gap: 0;
    background-size: contain;
  }

  .concept-title {
    position: absolute;
    width: auto;
    top: 30px;
    left: 5%;
    font-size: var(--fs-lg);
  }

  .concept-text {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    margin-top: 18px;
    text-align: center;
  }

  .concept-main {
    font-size: 26px;
    font-weight: bold;
    text-align: left;
    width: auto;
    margin: auto;
    margin-bottom: 24px;
  }

  .concept-sub {
    font-size: 16px;
    font-weight: bold;
  }
}

@media screen and (max-width: 430px) {
    .concept-title {
    position: absolute;
    width: auto;
    top: 30px;
    left: 5%;
  }
}


/* =========================================================
   What we do
========================================================= */
.wwd {
  background: #fff;
  color: #111;
}

.wwd-content {
  padding: 180px 70px;
}

.wwd__title {
  margin: 0 0 32px;
  color: var(--color-primary-green);
  font-size: var(--fs-xxl);
  font-weight: normal;
  line-height: 1;
}

/* frame */
.cutFrame {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px;
  background: #fff;
}

.cutFrame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 46px solid var(--color-primary-green);
  pointer-events: none;
}

.cutFrame::after {
  content: "";
  position: absolute;
  top: 46px;
  right: 0;
  width: 46px;
  height: 15%;
  background: #fff;
  pointer-events: none;
}

.cutFrame__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;  /* 水平方向センター */
  align-items: center;      /* 垂直方向センター */
  gap: 40px;
  padding: 115px 40px;
}

.cutFrame__image img {
  max-width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cutFrame__title {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
}

.cutFrame__text {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}

.wwd__lead {
  margin-top: 150px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}

.wwd__highlight {
  margin-bottom: 18px;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}

.wwd__highlight .hl {
  display: inline-block;
  padding: 4px 8px;
  background: var(--color-primary-green);
}

.wwd__highlight--sp {
  display: none;
}

@media screen and (max-width: 1400px) {
  .cutFrame__inner {
    display: block;
    padding: 48px 57px;
  }

  .wwd__title {
    font-size: var(--fs-xl);
  }

  .wwd-content {
    padding: 90px 70px 80px;
  }

  .cutFrame__title {
    margin: 26px 0 14px;
    line-height: 1.6;
  }
}

@media screen and (max-width: 1151px) {
  .wwd__highlight--sp {
    display: block;
  }

  .wwd__highlight--pc {
    display: none;
  }

  .wwd__highlight .hl {
    margin-bottom: 12px;
  }

  .wwd__highlight {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .wwd-content {
    padding: 48px 0;
  }

  .wwd__title {
    margin-bottom: 24px;
    font-size: var(--fs-lg);
  }

  .cutFrame {
    padding: 28px;
  }

  .cutFrame::before {
    border-width: 16px;
  }

  .cutFrame::after {
    top: 16px;
    width: 16px;
    height: 15%;
  }

  .cutFrame__inner {
    display: block;
    padding: 24px 12px;
  }

  .cutFrame__image img {
    width: 90%;
  }

  .cutFrame__title {
    margin-top: 26px;
    margin-bottom: 21px;
    text-align: center;
    font-size: 22px;
  }

  .cutFrame__text {
    font-size: 14px;
  }

  .wwd__lead {
    margin-top: 50px;
  }

  .wwd__lead,
  .wwd__highlight {
    margin-bottom: 0;
    font-size: 20px;
  }

  .wwd__highlight span {
    margin-bottom: 10px;
  }
}

/* =========================================================
   Company
========================================================= */
.company {
  position: relative;
  min-height: 3233px;
  padding: 80px 0 70px;
  background-image: url("image/company_bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.company__inner {
  max-width: 1920px;
  margin-top: 600px;
  padding: 0 70px;
}

.company__topBox {
  display: flex;
  align-items: flex-start; /* ✅ 上端揃え */
  gap: 40px;
  margin-bottom: 100px; /* 下のセクションとの間隔 */
}

.company__label {
  width: 6em;
}

.company__title {
  color: #89c997;
  font-size: var(--fs-xxl);
  font-weight: normal;
  line-height: 0.9;
  width: 50%;
  mix-blend-mode: multiply;
  margin: 0; /* ✅ 変更: marginをリセット */
  flex-shrink: 0; /* ✅ 追加: 幅を固定 */
}

/* ✅ 変更3: company__contentの幅とpaddingを調整 */
.company__content {
  width: 50%;
  padding-left: 40px;
  padding-top: 0; /* ✅ 追加: 上端を揃える */
  flex-shrink: 0; /* ✅ 追加: 幅を固定 */
}

.company__bottomBox {
  display: flex;
  align-items: flex-start; /* ✅ 上端揃え */
  gap: 40px;
  margin-bottom: 130px; /* company__note--pcとの間隔 */
}

.company__absolute {
  width: 50%;
  margin: 0;
  color: var(--color-primary-green);
  font-size: var(--fs-xl);
  font-weight: normal;
  line-height: 1;
  padding: 0;
  padding-left: 200px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.company__stanceLayout {
  width: 50%;
  padding-left: 40px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.company__info {
  font-size: 20px;
  margin: 0;
}

.company__dl {
  margin: 0;
}

.company__row {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 2.2;
}

.company__map {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid #111;
  border-radius: 10px;
  color: #111;
  font-size: 10px;
}

.company__stance--pc {
  padding-top: 8px;
  font-size: 20px;
}

.stanceItem {
  position: relative;
  margin: 80px 0 22px;
}

.stanceItem:first-child {
  margin-top: 0;
}

.stanceItem:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 38px;
  height: 38px;
  background-image: url("image/company_icon.png");
}

.stanceItem__title {
  margin: 0 0 6px;
  margin-left: 48px;
  color: #89c997;
  line-height: 55px;
}

.stanceItem__text {
  margin: 0;
  font-weight: bold;
  line-height: 1.9;
}

.company__note--pc {
  margin: 0; /* ✅ 変更: marginを調整 */
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.9;
}

.company__stance--sp {
  display: none;
}

/* ✅ 追加: company__note--spのスタイル */
.company__note--sp {
  display: none;
}

.stance__title {
  display: none;
}

/* タブレット以下の対応 */
@media screen and (max-width: 1400px) {
  .company {
    min-height: 1883px;
  }

  .company__inner {
    margin-top: 300px;
  }

  .company__title {
    margin-bottom: 28px;
  }

  .company__row {
    font-size: var(--fs-md);
  }

  .stanceItem {
    margin: 48px 0 22px;
  }

  .stanceItem__text {
    font-size: var(--fs-md);
  }

  .company__topBox,
  .company__bottomBox {
    display: block;
  }

  .company__title,
  .company__content,
  .company__absolute,
  .company__stanceLayout {
    width: 100%;
    padding-left: 0;
  }

  .company__title {
    font-size: var(--fs-xl);
  }

  .company__topBox {
    margin-bottom: 100px;
  }

  .company__label {
    width: 6em;
  }

  .company__bottomBox {
    margin-bottom: 80px;
  }

  .company__absolute {
    margin-top: 40px;
    margin-bottom: 28px;
  }

  .company__note--sp {
    display: block;
    margin-top: 30px;
    margin-bottom: 80px;
    font-weight: bold;
  }

  .company__note--sp p {
    font-size: 20px;
    text-align: center;
    line-height: 1.9;
  }

  .stance__title {
    display: block;
    color: #4a9959;
    font-size: var(--fs-xxl);
    font-weight: normal;
    line-height: 0.9;
  }

  .company__dl {
    margin-bottom: 40px;
  }
}


@media screen and (max-width: 767px) {
  .company__absolute {
    font-size: var(--fs-lg);
  }

  .company__display--tablet {
    display: none;
  }

  .company__stance--sp {
    display: block;
  }
}

@media screen and (max-width: 420px) {
  .company__display--mini {
    display: none;
  }  
}

/* =========================================================
   Message
========================================================= */
.message__inner {
  max-width: 1920px;
  padding: 0 70px;
}

.message__title {
  margin: 0 0 70px;
  color: var(--color-primary-green);
  font-size: var(--fs-xxl);
  font-weight: normal;
}

.message__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  margin-top: 180px;
  margin-bottom: 200px;
}

.msgCard {
  width: 660px;
  font-weight: bold;
}

.msgCard__head {
  display: flex;
  align-items: flex-end;
  gap: 38px;
  margin: 0 0 34px;
}

.msgCard__nameJP {
  margin: 0;
  color: var(--color-primary-green);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.msgCard__meta {
  padding-top: 10px;
}

.msgCard__role {
  margin: 0 0 10px;
  color: #111;
  font-size: 14px;
}

.msgCard__nameEN {
  margin: 0;
  color: #111;
  font-size: 18px;
}

.msgCard__body {
  padding-left: 4px;
}

.msgCard__text {
  margin: 0;
  font-size: 16px;
  line-height: 2.05;
}

@media screen and (max-width: 1400px) {
  .message__title {
    font-size: var(--fs-xl);
  }

  .message__grid {
    margin-top: 100px;
  }
}

@media screen and (max-width: 767px) {
  /* Message */
  .message__inner {
    padding: 0;
  }

  .message__title {
    margin-bottom: 30px;
    font-size: var(--fs-lg);
  }

  .message__grid {
    display: block;
    margin-top: 24px;
    margin-bottom: 80px;
  }

  .msgCard {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .msgCard + .msgCard {
    margin-top: 52px;
  }

  .msgCard__head {
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 18px;
  }

  .msgCard__nameJP {
    font-size: 28px;
  }

  .msgCard__meta {
    padding: 0;
    font-size: 14px;
  }

  .msgCard__role,
  .msgCard__nameEN {
    font-size: 14px;
    font-weight: 500;
  }

  .msgCard__text {
    font-size: 13px;
    line-height: 1.95;
  }
}

/* =========================================================
   Footer
========================================================= */
.siteFooter {
  padding: 100px 0 60px;
  background: var(--color-primary-green);
  color: #fff;
}

.siteFooter__inner {
  text-align: center;
}

.siteFooter__brand {
  display: inline-block;
  margin: 0 0 80px;
}

.siteFooter__logo {
  display: block;
  width: auto;
  height: 84px;
}

.siteFooter__nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 0 0 67px;
}

.siteFooter__nav a {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.siteFooter__nav a:hover {
  text-decoration: underline;
}

.siteFooter__policy {
  display: inline-block;
  margin: 80px 0 30px;
  color: #fff;
  font-size: 16px;
}

.siteFooter__policy:hover {
  text-decoration: underline;
}

.siteFooter__copy {
  font-size: 16px;
}

/* Footer用：白背景＋緑テキスト/矢印 */
.btn-contact--footer {
  background-color: #ffffff;
  color: var(--color-nav-green);
}

.btn-contact--footer .btn-arrow {
  color: var(--color-nav-green);
}

.btn-contact--footer:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-nav-green);
}

.btn-contact--footer:hover .btn-arrow {
  color: var(--color-nav-green);
}

/* =========================================================
   Reveal on scroll
========================================================= */
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Tablet and down (unified breakpoint)
========================================================= */
@media screen and (max-width: 1400px) {
  .tablet {
    display: block;
  }
}

@media screen and (max-width: 400px) {
  .mini {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .container {
    padding: 0 5%;
  }

  /* Company */
  .company {
    min-height: 690px;
    padding: 54px 0 56px;
    background-image: url("image/company_bg.png");
  }

  .company__inner {
    display: block;
    margin-top: 120px;
    padding: 0;
    gap: 0;
  }

  .company__title {
    margin-top: 60px;
    margin-bottom: 18px;
    font-size: var(--fs-lg);
  }

  .company__row {
    font-size: 13px;
  }

  .company__label{
    width: 6em;
  }

  .company__note--sp {
    margin-top: 30px;
    margin-bottom: 80px;
  }

  .company__note--sp p {
    font-size: 18px;
    text-align: center;
  }

  .stanceItem {
    margin: 30px 0 22px;
  }

  .stanceItem__title {
    font-size: 22px;
    mix-blend-mode: multiply;
  }

  .stanceItem__text {
    font-size: 14px;
  }

  .stanceItem__text br,
  .company__note br {
    display: none;
  }

  /* Footer */
  .siteFooter {
    padding: 48px 0 40px;
  }

  .siteFooter__inner {
    padding: 0 5%;
  }

  .siteFooter__brand {
    margin-bottom: 0;
  }

  .siteFooter__logo {
    width: 100%;
    height: 55px;
  }

  .siteFooter__nav {
    flex-direction: column;
    gap: 26px;
    margin-top: 24px;
    margin-bottom: 32px;
  }

  .siteFooter__policy {
    margin: 27px 0 10px;
    font-size: 14px;
  }

  .siteFooter__copy {
    font-size: 14px;
  }
}

/* =========================================================
   SP Menu (Modal)
========================================================= */
.spMenu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.spMenu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.spMenu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.spMenu__panel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #4a7c8f;
  padding: 28px 22px 40px;
  overflow: hidden;

  transform: translateY(-8px);
  transition: transform 0.25s ease;
}

.spMenu.is-open .spMenu__panel {
  transform: translateY(0);
}

/* top */
.spMenu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.spMenu__brand {
  display: inline-block;
}

.spMenu__logo {
  display: block;
  height: 38px;
  width: auto;
}

.spMenu__close {
  appearance: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

/* links */
.spMenu__nav {
  display: grid;
  gap: 26px;
  margin-top: 10px;
  padding: 0 5%;
}

.spMenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 24px;
  font-weight: normal;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(137, 201, 151, 0.8);
}

.spMenu__arrow {
  color: #89c997;
  font-size: 34px;
  line-height: 1;
}

/* CTA */
.spMenu__cta {
  margin-top: 37px;
  display: flex;
  justify-content: center;
}

.spMenu__contact {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 190px;
  padding: 16px 22px;
  border-radius: 10px;
  background: #ffffff;
  color: #89c997;
  font-size: 22px;
  font-weight: normal;
}

.spMenu__bg {
  position: absolute;
  inset: 0; /* ← 画面いっぱい */
  background-image: url("image/modal_bg_sp.png");
  background-repeat: no-repeat;
  background-position:  center bottom;
  background-size: contain; /* ← 見切れない最重要 */
  z-index: 0;
  pointer-events: none;
}

.spMenu__top,
.spMenu__nav,
.spMenu__cta {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Privacy Policy Page Styles
========================================================= */
.privacy-page {
  min-height: 100vh;
}

/* Privacy Content */
.privacy-content {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
  background: var(--color-primary-green);
}

.privacy-title {
  font-size: 36px;
  margin-top: 100px;
  font-weight: normal;
  color: var(--color-white);
  text-align: center;
}

.privacy-content .container {
  max-width: 1024px;
  margin-top: 125px;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-heading {
  font-size: 24px;
  font-weight: normal;
  color: var(--color-white);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}

.privacy-text {
  font-size: 20px;
  font-weight: normal;
  line-height: 2;
  color: var(--color-white);
}

.privacy-footer-content {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: none;
}

.privacy-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-section {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2.5rem;
  background: var(--color-white);
  border: none;
  border-radius: 50px;
  color: var(--color-primary-green);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
}

.footer-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact-btn svg {
  transition: transform 0.3s ease;
}

.footer-contact-btn:hover svg {
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-privacy {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-copyright {
  color: var(--color-white);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-content {
    padding: 100px 0 60px;
  }

  .privacy-content .container {
    margin-top: 65px;
    margin-bottom: 65px;
  }

  .privacy-title {
    font-size: 22px;
    margin-top: 65px;
    margin-bottom: 65px;
  }

  .privacy-heading {
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .privacy-text {
    font-size: 14px;
  }

  .privacy-section {
    margin-bottom: 45px;
    padding-bottom: 0;
  }

  .privacy-footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
