:root {
  --green: #0f3d32;
  --green-2: #174f42;
  --vermilion: #b83a2e;
  --vermilion-dark: #9f3026;
  --gold: #c9a646;
  --gold-soft: #e8d58d;
  --paper: #fbf1e6;
  --paper-deep: #f7eadc;
  --ink: #302b25;
  --muted: #6f665b;
  --white: #fff8ef;
  --shadow: 0 20px 50px rgba(42, 32, 16, 0.12);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 248, 239, 0.9), transparent 34%),
    radial-gradient(circle at 18% 12%, rgba(201, 166, 70, 0.08), transparent 28%),
    radial-gradient(circle at 88% 26%, rgba(184, 58, 46, 0.055), transparent 24%),
    linear-gradient(135deg, rgba(255, 248, 239, 0.42) 25%, transparent 25%) 0 0 / 24px 24px,
    var(--paper);
  font-family: var(--sans);
  line-height: 1.8;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(15, 61, 50, 0.045) 1px, transparent 1.4px),
    linear-gradient(90deg, rgba(201, 166, 70, 0.035), transparent 45%, rgba(201, 166, 70, 0.035));
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(480px, 45vw);
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: url("./public/images/bamboo_test.png");
  background-repeat: no-repeat;
  background-position: right -180px center;
  background-size: auto 100%;
  opacity: 0.85;
}

@keyframes fade-up {
  from {
    opacity: 0.68;
    transform: translateY(10px);
  }

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

@keyframes image-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.nowrap {
  display: inline-block;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(251, 241, 230, 0.92);
  border-bottom: 1px solid rgba(201, 166, 70, 0.32);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  animation: fade-up 600ms ease both;
}

.brand-logo {
  display: block;
  height: clamp(44px, 5.5vw, 56px);
  width: auto;
  object-fit: contain;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  animation: fade-up 650ms 80ms ease both;
}

.site-nav a,
.header-cta,
.button {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover {
  color: var(--vermilion);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.35;
}

.header-cta {
  color: #fff;
  background: var(--vermilion);
  box-shadow: 0 10px 24px rgba(184, 58, 46, 0.18);
  animation: fade-up 650ms 140ms ease both;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  padding: clamp(48px, 6vw, 86px) clamp(18px, 4vw, 64px) 0;
  background:
    radial-gradient(circle at 77% 28%, rgba(255, 248, 239, 0.92), transparent 36%),
    linear-gradient(90deg, rgba(251, 241, 230, 0.96), rgba(251, 241, 230, 0.86) 44%, rgba(248, 238, 226, 0.62));
}

.hero::before,
.page-hero::before {
  position: absolute;
  top: 76px;
  left: clamp(22px, 6vw, 120px);
  color: rgba(184, 58, 46, 0.22);
  content: "✽";
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
}

.hero::after {
  position: absolute;
  right: -4vw;
  bottom: 5.4vw;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  content: "";
  opacity: 0.22;
  background:
    radial-gradient(ellipse at center, transparent 42%, var(--green) 43%, transparent 45%) 0 0 / 42px 21px,
    radial-gradient(ellipse at center, transparent 42%, var(--green) 43%, transparent 45%) 21px 10px / 42px 21px;
  mask-image: radial-gradient(circle, #000 0 70%, transparent 72%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  max-width: 1240px;
  min-height: calc(100vh - 172px);
  margin: 0 auto;
}

.hero-inner::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(72px, 8vw, 116px);
  content: "";
  background: var(--green);
  clip-path: ellipse(64% 68% at 50% 100%);
  z-index: -1;
}

.hero-copy {
  animation: fade-up 760ms 120ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
.section h2,
.content-card h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.content-card ruby {
  ruby-position: over;
}

.content-card rt {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 74px);
}

.hero-lead {
  margin: clamp(26px, 4vw, 44px) 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 48px);
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-2);
}

.button-secondary {
  color: var(--vermilion);
  background: rgba(255, 253, 250, 0.78);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: clamp(460px, 58vw, 680px);
}



.hero-main-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  filter: drop-shadow(0 20px 34px rgba(58, 39, 18, 0.08));
  z-index: 2;
  animation: fade-up 900ms 220ms ease both;
}

@media (min-width: 981px) {

  .hero-inner,
  .hero-visual {
    position: static;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-right: 0;
  }

  .hero-main-img {
    left: auto;
    right: 0;
    width: 100%;
    object-position: right center;
  }
}

.section {
  position: relative;
  padding: clamp(70px, 8vw, 118px) clamp(18px, 4vw, 64px);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 80px);
}

.section h2,
.content-card h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 3.2vw, 34px);
}

.prose p,
.service-panel p {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 16px;
}

.split-band {
  background:
    linear-gradient(180deg, rgba(15, 61, 50, 0.06), rgba(255, 253, 250, 0.12)),
    var(--paper-deep);
}

.service-grid,
.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-panel,
.content-card,
.contact-form {
  position: relative;
  border: 1px solid rgba(201, 166, 70, 0.28);
  border-radius: 24px;
  background: radial-gradient(circle at 12% 12%, rgba(255, 254, 252, 0.99), rgba(251, 241, 230, 0.93));
  box-shadow: 0 16px 40px rgba(58, 42, 22, 0.04);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1), border-color 380ms ease;
  z-index: 1;
}

.service-panel {
  padding: clamp(26px, 4vw, 44px);
}

.service-panel:hover,
.content-card:hover,
.contact-form:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 166, 70, 0.6);
  box-shadow: 0 24px 48px rgba(58, 42, 22, 0.09);
}

/* Elegant Inner Double-Border Frame */
.service-panel::after,
.content-card::after,
.contact-form::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(201, 166, 70, 0.14);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color 300ms ease;
  z-index: -1;
}

.service-panel:hover::after,
.content-card:hover::after,
.contact-form:hover::after {
  border-color: rgba(201, 166, 70, 0.36);
}

/* Gold Flower Crest in Card Corner with Hover Rotate */
.service-panel::before,
.content-card::before,
.contact-form::before {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(201, 166, 70, 0.32);
  content: "✽";
  font-size: 26px;
  line-height: 1;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), color 300ms ease;
  z-index: 2;
}

.service-panel:hover::before,
.content-card:hover::before,
.contact-form:hover::before {
  transform: rotate(45deg) scale(1.08);
  color: rgba(184, 58, 46, 0.45);
}



.achievements {
  overflow: hidden;
}

.achievement-list,
.simple-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.simple-list li {
  border: 1px solid rgba(201, 166, 70, 0.36);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.78);
  color: var(--green);
  font-weight: 700;
}

.achievement-list li {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 70, 0.36);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 12px 30px rgba(42, 32, 16, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.achievement-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 58, 46, 0.34);
  box-shadow: 0 16px 34px rgba(42, 32, 16, 0.11);
}

.achievement-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
  margin-top: auto; /* Pushes the image to the very bottom of the card */
}

.achievement-list li:hover img {
  transform: scale(1.04);
}

.achievement-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 58px;
  padding: 12px 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.profile-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(42, 32, 16, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.profile-gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 32, 16, 0.11);
}


.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 64px) clamp(34px, 5vw, 56px);
  border-bottom: 1px solid rgba(201, 166, 70, 0.24);
}

.page-hero::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(201, 166, 70, 0.56);
  border-radius: 50%;
}

.page-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(38px, 5.8vw, 66px);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.profile-photo {
  position: sticky;
  top: 114px;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.content-card {
  padding: clamp(28px, 5vw, 54px);
}

.contact-copy {
  padding: 8px 0;
}

/* Contact Success Banner */
.success-banner {
  grid-column: 1 / -1;
  background: rgba(15, 61, 50, 0.05);
  border: 1px solid rgba(15, 61, 50, 0.2);
  border-left: 5px solid var(--green);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 8px;
  animation: fade-up 400ms ease;
}

.success-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--green);
}

.success-icon {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.success-banner-inner h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--green);
}

.success-banner-inner p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
  opacity: 0.9;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(201, 166, 70, 0.5);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.88);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 166, 70, 0.28);
  border-color: var(--gold);
}

.form-button {
  grid-column: 1 / -1;
  width: min(260px, 100%);
  justify-self: center;
  border-radius: 16px;
  cursor: pointer;
}

.site-footer {
  padding: 44px 18px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--green);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    padding-top: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-inner,
  .two-column,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-inner::after {
    height: 88px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .achievement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-photo {
    position: relative;
    top: auto;
    max-width: 360px;
  }

  .profile-grid .content-card {
    order: -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }

  .brand {
    justify-self: center;
  }

  .site-nav {
    order: 2;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
  }

  .header-cta {
    order: 3;
    width: min(360px, 100%);
    min-height: 44px;
    padding: 11px 18px;
    justify-self: center;
    box-shadow: 0 8px 18px rgba(184, 58, 46, 0.14);
  }

  .hero {
    padding: 38px 16px 0;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    width: calc(100% + 16px);
    margin-right: -16px;
    margin-left: 0;
    min-height: 430px;
  }

  .hero-main-img {
    left: auto;
    right: 0;
    width: 100%;
    object-fit: cover;
    object-position: right center;
  }

  .service-grid,
  .detail-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .achievement-list span {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 50px;
  }

  .section {
    padding: 64px 16px;
  }



  body::after {
    width: min(320px, 35vw);
    opacity: 0.55;
  }

  .form-button {
    justify-self: stretch;
  }
}

/* Pricing Page Styles */
.section-header-group {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-group.text-left {
  text-align: left;
}

.section-header-group.text-left .section-desc {
  margin-left: 0;
}

.section-desc {
  max-width: 860px;
  margin: 12px auto 0;
  color: var(--ink);
  opacity: 0.82;
  font-size: 16px;
  line-height: 1.6;
}

.price-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.price-badge {
  align-self: start;
  padding: 6px 14px;
  border-radius: 4px 14px 14px 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border-left: 3px solid currentColor;
}

.badge-trial {
  background: rgba(184, 58, 46, 0.08);
  color: var(--red);
}

.badge-regular {
  background: rgba(15, 61, 50, 0.08);
  color: var(--green);
}

.badge-premium {
  background: rgba(201, 166, 70, 0.14);
  color: rgb(156, 120, 26);
}

.price-amount-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--green);
  border-bottom: 1px dashed rgba(201, 166, 70, 0.4);
  padding-bottom: 16px;
}

.price-currency {
  font-size: 20px;
  font-weight: 700;
}

.price-number {
  font-size: 42px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.price-unit {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.74;
  margin-left: 4px;
}

.price-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--ink);
  opacity: 0.9;
}

.price-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.price-features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.price-features-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  content: "✽";
  color: var(--red);
  font-size: 14px;
  opacity: 0.78;
}

.price-notes-card {
  max-width: 960px;
  margin: 0 auto;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.note-item h3 {
  font-size: 18px;
  color: var(--green);
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(201, 166, 70, 0.24);
  padding-bottom: 6px;
}

.note-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--ink);
}

.notes-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 166, 70, 0.18);
}

.notes-cta p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* Responsive adjustment for notes-grid */
@media (max-width: 768px) {
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* Instagram Navigation Link & Footer Socials */
.nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: color 180ms ease, transform 180ms ease;
  line-height: 1;
}

.nav-instagram:hover {
  color: var(--vermilion);
  transform: translateY(-1px);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  justify-content: center;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-instagram:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  body::after {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    width: min(340px, 82vw);
    height: 100svh;
    background-position: right -340px bottom;
    background-size: auto 100svh;
    opacity: 0.34;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
