:root {
  --color-main: #005630;
  --color-main-rgb: 0, 86, 48;
  --color-sub: #f8f0e3;
  --color-sub-rgb: 248, 240, 227;
  --color-accent: #f4e414;
  --color-accent-rgb: 244, 228, 20;
  --color-gray: #e2e2e1;
  --color-gray-rgb: 226, 226, 225;
  --font-en: 'Futura PT- Book', 'Futura', sans-serif;
  --font-jp-main: '砧 丸丸ゴシックBSr StdN R', 'Kinuta Marumaru Gothic BSr StdN', sans-serif;
  --font-jp-sub: '游ゴシックPr6N-M', 'Yu Gothic Pr6N', 'Yu Gothic', sans-serif;
  --stagger: 0.12s;
  /* 項目の遅延間隔を変数化 */
}

html {
  font-size: clamp(10px, 2vw, 16px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-en), var(--font-jp-sub);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-main);
  background: var(--color-sub);
}

[data-i18n] {
  white-space: pre-line;
}

.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1rem 14rem;
  color: var(--color-sub);
  overflow: hidden;

  z-index: 0;
  /* 直下と同じ色をベースにする */
  background-color: var(--color-sub);
}

/* 背景画像＋色のレイヤー */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: url("assets/about-hero-img.webp");

  /* 質感の出方はここで調整 */
  opacity: .9;
  /* まずは0.4〜0.7くらいで */
  mix-blend-mode: multiply;
  /* 濃いなら soft-light / overlay に */

  /* テクスチャだけフェードイン */
  -webkit-mask-image: linear-gradient(to top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 1) 80%);
  mask-image: linear-gradient(to top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 1) 80%);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(1px);
  transform: scale(1.05);
  /* 端のボケ防止 */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background: linear-gradient(to top,
      rgba(var(--color-sub-rgb), 1) 0%,
      rgba(var(--color-sub-rgb), 0.9) 10%,
      rgba(var(--color-main-rgb), 0.30) 30%,
      rgba(var(--color-main-rgb), 0.60) 80%);
}

.hero p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2.0;
  letter-spacing: 0.1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.hero .zen {
  margin-top: 8rem;
}

.hero .zen p {
  font-size: 4vw;
  letter-spacing: 1.3rem;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}


.lang-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1.25rem rgba(var(--color-main-rgb), 0.25);
}

.lang-popover {
  position: absolute;
  top: calc(1rem + 40px);
  /* ボタンの下 */
  right: 1rem;
  padding: 4px;
  background: var(--color-sub);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  gap: .4rem;
}

.lang-popover button {
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.lang-popover button:hover {
  background: rgba(0, 0, 0, .06);
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-sub);
  color: var(--color-main);
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0rem 2rem;
}

.section {
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding: 5rem 1rem;
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeUp 0.6s ease forwards;
}

.section:nth-child(1) {
  animation-delay: 0.2s;
}

.section:nth-child(2) {
  animation-delay: 0.4s;
}

.section:nth-child(3) {
  animation-delay: 0.6s;
}

.section:nth-child(4) {
  animation-delay: 0.8s;
}

.section:nth-child(5) {
  animation-delay: 1.0s;
}

.section:nth-child(6) {
  animation-delay: 1.2s;
}

.section:nth-child(even) {
  background: rgba(var(--color-main-rgb), 0.03);
  padding: 5rem 4rem;
  border-radius: 2rem;
}

.section p {
  margin-bottom: 1rem;
  max-width: 640px;
  line-height: 1.8;
}

.section h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.1rem;
  background: var(--color-accent);
  margin-top: 1rem;
  border-radius: 0.2rem;
}

.section ul {
  padding-left: 0rem;
  max-width: 640px;
}

.section ul li {
  margin-bottom: 0.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  max-width: 640px;
}

.feature-list li {
  background: rgba(var(--color-sub-rgb), 0.9);
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;

  line-height: 1.7;
  font-size: 1rem;

  box-shadow: 0 0.75rem 1.5rem rgba(var(--color-main-rgb), 0.06);

  transform: translateY(0);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.feature-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 2rem rgba(var(--color-main-rgb), 0.12);
  background: rgba(var(--color-sub-rgb), 1);
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.plan-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 5rem;
  font-size: 0.95rem;
  max-width: 640px;
}

.plan-table th,
.plan-table td {
  padding: 10px;
  border-bottom: 1px solid var(--color-gray);
  text-align: center;
}

.plan-table th:first-child,
.plan-table td:first-child {
  text-align: left;
  font-weight: bold;
}

.plan-table thead th {
  background: rgba(var(--color-main-rgb), 0.05);
}

.plan-table tbody tr:hover {
  background: rgba(var(--color-accent-rgb), 0.08);
}

.emotion-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.emotion-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.9rem 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.emotion-list li::before {
  content: "🌿";
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* フッター */
.footer {
  position: relative;
  z-index: 0;
  text-align: center;
  padding: 18rem 2rem 2rem;

  /* 直上と同じ色をベースにする */
  background-color: rgb(var(--color-sub-rgb));


  color: var(--color-main);
  overflow: hidden;
}

/* テクスチャレイヤー：上端は“ほぼ無地”、下に行くほど出す */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: url("assets/washi_paper.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 質感の出方はここで調整 */
  opacity: .55;
  /* まずは0.4〜0.7くらいで */
  mix-blend-mode: multiply;
  /* 濃いなら soft-light / overlay に */

  /* ★ここがキモ：テクスチャだけ上端フェードイン */
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 20%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 20%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 1) 100%);
}

/* 色（グラデ）レイヤー：上端をcolor-subに固定 */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background: linear-gradient(to bottom,
      rgba(var(--color-sub-rgb), 1) 0%,
      rgba(var(--color-sub-rgb), 0.92) 10%,
      rgba(var(--color-main-rgb), 0.90) 100%);
}



.closing-message h2 {
  font-size: 2rem;
  color: var(--color-sub);
  margin-bottom: 3rem;
}

.closing-message p {
  font-size: 1.1rem;
  color: var(--color-sub);
  line-height: 2.1;
  letter-spacing: 0.1rem;
}


.closing-message .cta-button {
  margin-top: 3rem;
}


.cta-button {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-top: 2rem;
}

.cta-button:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1.25rem rgba(var(--color-main-rgb), 0.25);
}

.footer-contact {
  display: inline-block;
  margin-top: 6rem;
  color: var(--color-sub);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact:hover {
  color: white;
}

.footer-bottom {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--color-sub);
  font-size: 0.8rem;
  opacity: 0.6;
  text-decoration: none;
  display: block;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-sub);
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .zen {
    margin-top: 5rem;
  }

  .tagline {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  main {
    padding: 0rem 1.25rem;
  }

  .section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 5rem 1rem;
    animation-duration: 0.4s;
  }

  .section:nth-child(even) {
    padding: 5rem 1.75rem;
    border-radius: 1.5rem;
  }

  .section p,
  .section ul {
    max-width: 100%;
  }

  .plan-table {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .plan-table th,
  .plan-table td {
    padding: 0.75rem 0.5rem;
  }

  .cta-button {
    display: block;
    width: fit-content;
    margin: 4rem auto 0;
  }
}

/* ==========================================
   sub pages
   ========================================== */
.subpage-header-title {
  display: flex;
  padding: 1rem;
  background-color: var(--color-main);
  color: var(--color-sub);
  align-items: center;
  gap: 0.5rem;
}

.subpage-header-title img {
  height: 2rem;
  width: auto;
}

.subpage-header-title h1 {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact {
  max-width: 600px;
  margin: 0rem auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact select,
.contact textarea {
  padding: 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(var(--color-main-rgb), 0.3);
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
}

.contact textarea:focus {
  border-color: var(--main);
  background: white;
  box-shadow: 0 8px 24px rgba(0, 86, 48, 0.1);
}

.contact button {
  padding: 1rem;
  background-color: var(--color-main);
  color: var(--color-sub);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 86, 48, 0.2);
}

.contact button:hover {
  background: rgba(var(--color-main-rgb), 0.8);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 86, 48, 0.3);
}

.qa {
  max-width: 800px;
  margin: 0rem auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.qa details {
  margin-bottom: 1.5rem;
}

.qa summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  border-bottom: 1px solid rgb(var(--color-main-rgb), 0.3);
}

.qa .answer {
  padding: 0.5rem;
  white-space: pre-wrap;
}

.commercial-disclosure,
.terms,
.privacy {
  max-width: 800px;
  margin: 0rem auto;
  padding: 3rem 2rem;
}

.commercial-disclosure h1,
.terms h1,
.privacy h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.terms h2,
.privacy h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgb(var(--color-main-rgb), 0.3);
}

.terms ul,
.privacy ul {
  padding-left: 2rem;
}

.privacy a {
  color: var(--color-main);
}

.commercial-disclosure table {
  width: 100%;
}

.commercial-disclosure tr {
  text-align: left;
}

.commercial-disclosure th {
  font-weight: bold;
  width: 10rem;
  padding: 1rem 0;
  padding-left: 0.5rem;
  border-bottom: 1px solid rgb(var(--color-main-rgb), 0.3);
  border-right: 1px solid rgb(var(--color-gray-rgb));
}

.commercial-disclosure td {
  padding-left: 0.5rem;
  border-bottom: 1px solid rgb(var(--color-main-rgb), 0.2);
}