body { font-family: 'Noto Sans JP', sans-serif; }
        .font-serif { font-family: 'Noto Serif JP', serif; }
        .page { display: none; }
        .page.active { display: block; }
        .writing-vertical { writing-mode: vertical-rl; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .fade-in { animation: fadeIn 0.7s ease-in-out forwards; }
/* --- Shared navigation helpers --- */
.nav-link-active {
  color: #C8A2C8 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Ensure locking works */
html.overflow-hidden, body.overflow-hidden { overflow: hidden; }

/* Mobile menu readability */
#mobile-menu a { letter-spacing: 0.2em; }

/* Mobile menu slide-in polish */
@media (prefers-reduced-motion: reduce) {
  #mobile-menu * { transition: none !important; }
}

/* Force mobile menu panel to stick to the right edge (iOS Safari safe) */
#mobile-menu-panel{
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
}

/* Services note (one-line footnote under the service list) */
.services-note {
  margin-top: 2rem;            /* 例: mt-8 */
  padding-top: 1rem;           /* 例: pt-4 */
  border-top: 1px solid #E5E7EB; /* gray-200 */

  font-size: 0.875rem;         /* text-sm */
  line-height: 1.8;
  color: #6B7280;              /* text-gray-500 */
  letter-spacing: 0.02em;
}



/* WEBSITE行だけを強制非表示（確認画面専用） */
.formTable tr:first-of-type {
  display: none;
}

/* ----------------------------
   Nav link color control (single source of truth)
---------------------------- */

/* PC: デフォルト（トップ付近：mix-blend-difference前提で白寄せ） */
#navbar .nav-link--desktop {
  font-size: 0.875rem;            /* text-sm 相当 */
  letter-spacing: 0.15em;         /* tracking-[0.15em] */
  text-transform: uppercase;
  transition: color .3s ease, opacity .3s ease;
  color: #ffffff;
  opacity: .80;
}
#navbar .nav-link--desktop:hover {
  color: var(--sakura);
  opacity: 1;
}

/* PC: 現在地（Topの紫）※既存 nav-link-active と整合させるならこっちでOK */
#navbar .nav-link--desktop.nav-link-active {
  color: #C8A2C8;
  opacity: 1;
  font-weight: 700;
}

/* PC: スクロール後（濃いヘッダー上では白を100%に） */
#navbar.is-scrolled .nav-link--desktop {
  color: #ffffff;
  opacity: 1;
}
#navbar.is-scrolled .nav-link--desktop:hover {
  color: var(--sakura);
}

/* Mobile: パネル内は常に白＋hoverピンク */
#mobile-menu .nav-link--mobile {
  font-size: 1rem;                /* text-base */
  letter-spacing: 0.2em;
  transition: color .2s ease;
  color: #ffffff;
}
#mobile-menu .nav-link--mobile:hover {
  color: var(--sakura);
}


/* --- Color tokens (Harenoya) --- */
:root{
  --bg: #F8F9F9;
  --text: #333333;
  --ink: #1A2C4D;       /* 藍 */
  --accent: #E293AB;    /* 夜桜ピンク */
  --sakura: #FFB6C1;    /* hover ピンク */
  --lavender: #C8A2C8;  /* active 紫 */
  --footer: #E5E7EB;
}

.site-body{
  background: var(--bg);
  color: var(--text);
}
.site-body ::selection{
  background: var(--accent);
  color: #fff;
}

/* Semantic color helpers (avoid inline arbitrary Tailwind colors) */
.text-ink{ color: var(--ink) !important; }
.text-accent{ color: var(--accent) !important; }
.text-sakura{ color: var(--sakura) !important; }
.text-lavender{ color: var(--lavender) !important; }
.bg-accent{ background: var(--accent) !important; }
.border-accent{ border-color: var(--accent) !important; }

/* Footer */
.site-footer{
  background: var(--footer);
}

/* Service page: hero kanji tracking */
.service-hero-kanji{ letter-spacing: -0.1em; }

/* --- Service page: extracted typography utilities --- */
.service-section-title {
  font-family: 'Noto Serif JP', serif; /* aligns with .font-serif utility */
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em; /* tracking-widest */
  margin-bottom: 1rem; /* mb-4 */
  font-size: 1.25rem; /* text-xl */
  line-height: 1.6;
}
@media (min-width: 768px) {
  .service-section-title {
    font-size: 1.5rem; /* md:text-2xl */
  }
}

.service-section-lead {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem; /* mb-4 */
  border-left: 1px solid var(--accent);
  padding-left: 1rem; /* pl-4 */
  padding-top: 0.25rem; /* py-1 */
  padding-bottom: 0.25rem;
  line-height: 1; /* leading-none */
  font-size: 1rem; /* text-base */
}

.service-section-body {
  font-size: 1rem; /* text-base */
  color: #6B7280; /* text-gray-500 */
  line-height: 2; /* leading-loose */
  max-width: 32rem; /* max-w-lg */
}

.service-section-number {
  position: absolute;
  top: -4rem;   /* -top-16 */
  left: -2rem;  /* -left-8 */
  font-size: 120px;
  font-weight: 700;
  color: #6B7280; /* text-gray-500 */
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}

/* --- Approach page: extracted typography utilities --- */
.page-lead {
  font-size: 1rem; /* text-base */
  color: #4B5563;  /* text-gray-600 */
  line-height: 2;  /* leading-loose */
}

.approach-section-title {
  font-size: 1.125rem; /* text-lg */
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #1A2C4D;
  letter-spacing: 0.3em; /* tracking-[0.3em] */
  margin-bottom: 2.5rem; /* mb-10 */
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .approach-section-title {
    font-size: 1.25rem; /* md:text-xl */
  }
}

.approach-section-body {
  font-size: 1rem; /* text-base */
  color: #4B5563; /* text-gray-600 */
  line-height: 2; /* leading-loose */
  max-width: 42rem; /* max-w-2xl */
}

.approach-type-label {
  font-size: 1rem;
  color: #E293AB;
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem; /* mb-2 */
}

.approach-type-title {
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #1A2C4D;
  letter-spacing: 0.1em; /* tracking-widest */
}

.approach-tag {
  display: inline-block;
  padding: 0.375rem 1rem; /* py-1.5 px-4 */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em; /* tracking-widest */
  margin-bottom: 0.75rem; /* mb-3 */
}
.approach-tag--dark { background: #1A2C4D; }
.approach-tag--accent { background: #E293AB; }

.approach-scenario-text {
  font-size: 1rem;
  color: #1A2C4D;
  font-weight: 500; /* font-medium */
  line-height: 1.625; /* leading-relaxed */
}

.approach-approach-text {
  font-size: 1rem;
  color: #6B7280; /* text-gray-500 */
  line-height: 2; /* leading-loose */
}

.cta-lead {
  font-size: 1rem;
  color: #6B7280;
  letter-spacing: 0.1em; /* tracking-[0.1em] */
  margin-bottom: 3rem; /* mb-12 */
  font-weight: 300; /* font-light */
}

.cta-button-title {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem; /* mb-1 */
  white-space: nowrap;
  line-height: 1.25; /* leading-tight */
  letter-spacing: 0.18em;
}

.cta-button-subtitle {
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* --- About page: extracted typography utilities --- */
.about-intro-text {
  font-size: 1rem;
  color: #1A2C4D;
  line-height: 2;  /* leading-loose */
  font-weight: 300; /* font-light */
}

.about-intro-italic {
  font-size: 1rem;
  color: #1A2C4D;
  line-height: 2;
  font-weight: 500; /* font-medium */
  font-style: italic;
  opacity: 0.7;
}

.about-section-label {
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.3em;
  color: #1A2C4D;
  font-weight: 700;
  display: block;
  margin-bottom: 3rem; /* mb-12 */
  text-transform: uppercase;
  border-left: 4px solid #E293AB;
  padding-left: 1rem;
}

.about-meta-label {
  font-size: 11px;
  color: #9CA3AF; /* gray-400 */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-meta-value {
  font-size: 1rem;
  color: #1A2C4D;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.about-meta-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 400;
}

.about-note {
  padding-top: 2rem;
  font-size: 11px;
  color: #9CA3AF;
  font-style: italic;
}

.about-subsection-title {
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #1A2C4D;
  letter-spacing: 0.1em;
}

.about-item-title {
  font-size: 1rem;
  color: #1A2C4D;
  font-weight: 500;
}

.about-item-sub {
  font-size: 0.875rem; /* text-sm */
  color: #6B7280; /* gray-500 */
  font-weight: 300; /* font-light */
  line-height: 2; /* leading-loose */
}

.about-bullet-item {
  font-size: 1rem;
  color: #4B5563; /* gray-600 */
  font-weight: 300;
  line-height: 2;
  display: flex;
  align-items: flex-start;
}

.about-bullet-dot {
  margin-right: 0.75rem;
  margin-top: 0.5rem;
  width: 0.25rem;
  height: 0.25rem;
  background: #E5E7EB; /* gray-200 */
  border-radius: 9999px;
  flex-shrink: 0;
}

.about-related-label {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.about-related-text {
  font-size: 14px;
  color: #4B5563;
  line-height: 2;
}

.about-scope-chip {
  font-size: 14px;
  color: #1A2C4D;
  border: 1px solid #E5E7EB;
  background: rgba(255,255,255,0.7);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.about-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem; /* text-sm */
  letter-spacing: 0.02em; /* tracking-wide */
  color: #1A2C4D;
  font-family: 'Noto Sans JP', sans-serif;
}

.cta-button-title--dark {
  color: #1A2C4D;
}
.group:hover .cta-button-title--dark {
  color: #fff;
}

.cta-button-subtitle--muted {
  color: #9CA3AF;
}
.group:hover .cta-button-subtitle--muted {
  color: rgba(255,255,255,0.5);
}

/* --- Contact page: extracted typography & form utilities --- */
.contact-lead {
  margin-top: 2rem; /* mt-8 */
  font-size: 1rem; /* text-base */
  color: #9CA3AF; /* text-gray-400 */
  line-height: 2; /* leading-loose */
}

.contact-required-note {
  font-size: 0.75rem; /* text-xs */
  color: #1A2C4D;
  margin-bottom: 2rem; /* mb-8 */
  font-weight: 700;
  letter-spacing: 0.1em; /* tracking-widest */
}

.form-label {
  display: block;
  font-size: 0.75rem; /* text-xs */
  color: #1A2C4D;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input {
  width: 100%;
  background: #fff;
  border: 1px solid #D1D5DB; /* gray-300 */
  border-radius: 0.25rem;
  padding: 0.75rem 1rem; /* py-3 px-4 */
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: #1A2C4D;
}

.form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  min-height: 160px;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-textarea:focus {
  border-color: #1A2C4D;
}

.form-submit {
  background: #1A2C4D;
  color: #fff;
  padding: 1rem 5rem; /* py-4 px-20 */
  border-radius: 9999px;
  font-size: 1rem;
  letter-spacing: 0.3em;
  transition: background-color 0.2s ease;
  box-shadow: 0 10px 15px rgba(0,0,0,0.15); /* shadow-lg approx */
}
.form-submit:hover {
  background: #E293AB;
}

.privacy-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #E293AB;
  font-weight: 700;
  margin-bottom: 1.5rem; /* mb-6 */
  text-transform: uppercase;
}

.privacy-heading {
  font-size: 14px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  margin-bottom: 0.25rem; /* mb-1 */
  letter-spacing: 0.1em;
}

.privacy-text {
  font-size: 14px;
  color: #6B7280; /* gray-500 */
  line-height: 1.625; /* leading-relaxed */
}

/* --- Thanks page: extracted typography utilities --- */
/* Shared page label/title */
.page-eyebrow {
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.4em;
  color: #E293AB;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem; /* mb-4 */
  text-transform: uppercase;
}
.page-title {
  font-size: 1.875rem; /* text-3xl */
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #1A2C4D;
  line-height: 1.625; /* leading-relaxed */
}

.thanks-card {
  background: #F3F4F6;
  padding: 2rem; /* p-8 */
  border-radius: 0.75rem;
}
@media (min-width: 768px) {
  .thanks-card {
    padding: 3rem; /* md:p-12 */
  }
}

.thanks-message-title {
  font-size: 1rem;
  color: #1A2C4D;
  font-weight: 700;
  letter-spacing: 0.1em; /* tracking-widest */
}

.thanks-message-sub {
  font-size: 0.875rem; /* text-sm */
  color: #6B7280; /* gray-500 */
  line-height: 2; /* leading-loose */
}

.thanks-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A2C4D;
  color: #fff;
  padding: 0.75rem 2.5rem; /* py-3 px-10 */
  border-radius: 9999px;
  font-size: 0.875rem; /* text-sm */
  letter-spacing: 0.25em;
  transition: background-color 0.2s ease;
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}
.thanks-back-button:hover {
  background: #E293AB;
}

/* Footer shared tokens */
.site-footer-brand {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #1A2C4D;
  margin-bottom: 1rem;
}
.site-footer-tagline {
  font-size: 10px;
  color: #6B7280;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-footer-copy {
  font-size: 10px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
