/* ============================================
   縁musubi - Business Design Company
   折り紙 Origami Design System
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Origami Palette */
  --bg-washi: #f7f3ec;
  --bg-washi-alt: #eee8dc;
  --bg-washi-dark: #e5ddd0;
  --bg-cream: #faf8f4;
  --bg-card: #ffffff;
  --bg-card-hover: #fdfcfa;
  --bg-header: rgba(247, 243, 236, 0.85);

  --origami-navy: #1a2a5e;
  --origami-navy-light: #2d3f7a;
  --origami-navy-dark: #0f1a3d;
  --origami-vermillion: #c43e2a;
  --origami-vermillion-light: #e04e38;
  --origami-gold: #9a7b0a;
  --origami-gold-light: #b8951a;
  --origami-gold-muted: rgba(154, 123, 10, 0.12);
  --origami-teal: #2a7a6e;

  --accent-gradient: linear-gradient(135deg, var(--origami-navy), var(--origami-gold));
  --accent-gradient-warm: linear-gradient(135deg, var(--origami-vermillion), var(--origami-gold));

  --text-primary: #2a2520;
  --text-secondary: #6b6358;
  --text-tertiary: #9a9189;
  --text-on-dark: #f7f3ec;

  --border-subtle: rgba(42, 37, 32, 0.12);
  --border-card: rgba(42, 37, 32, 0.14);
  --border-fold: rgba(42, 37, 32, 0.06);

  --shadow-card: 0 4px 24px rgba(42, 37, 32, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(42, 37, 32, 0.12);
  --shadow-fold: 0 2px 8px rgba(42, 37, 32, 0.08);

  /* Typography */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-ja-serif: 'Noto Serif JP', serif;
  --font-en: 'Inter', sans-serif;

  --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  --fs-section-title: clamp(1.8rem, 4vw, 3.2rem);
  --fs-card-title: clamp(1.3rem, 2.5vw, 1.8rem);
  --fs-body: clamp(1rem, 1.3vw, 1.2rem);
  --fs-small: clamp(0.8rem, 1vw, 0.9rem);
  --fs-label: 0.75rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1500px;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ja);
  background-color: var(--bg-washi);
  color: var(--text-primary);
  font-size: var(--fs-body);
  line-height: 1.8;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.section>.container,
.section>.container--wide {
  position: relative;
  z-index: 1;
}

.section--alt {
  background-color: var(--bg-cream);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.en {
  font-family: var(--font-en);
}

/* --- Origami Decorative Elements --- */

/* 折り目ライン */
.origami-fold {
  position: relative;
}

.origami-fold::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--origami-gold), transparent);
}

/* Section dividers removed per user request */

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up from center */
.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* Hero entrance now controlled by sparrow.js */

/* --- CTA Button Shimmer --- */
.hero__cta--premium {
  position: relative;
  overflow: hidden;
}

.hero__cta--premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 3s ease-in-out 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* --- Parallax Depth Layers --- */
[data-speed] {
  will-change: transform;
}

/* --- Section Title Reveal --- */
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.char-reveal.visible .char {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-base),
    backdrop-filter var(--transition-base),
    box-shadow var(--transition-base);
}

.header.scrolled {
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__logo {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0.7);
}

.header__logo span {
  color: var(--origami-navy);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-family: var(--font-ja);
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--origami-gold);
  transition: width var(--transition-base);
}

.header__nav-link:hover {
  color: var(--origami-navy);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta--premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #bba785, #9c845b);
  border-radius: 4px;
  color: #fff !important;
  transition: all var(--transition-fast);
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(160, 135, 95, 0.3);
  border: none;
}

.header__cta--premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160, 135, 95, 0.4);
  background: linear-gradient(135deg, #c5b292, #a68f66);
  color: #fff !important;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--origami-navy);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transition: right var(--transition-slow);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu__link {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: var(--fw-medium);
  color: var(--origami-navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--origami-gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-md);
  background-color: var(--bg-washi);
}

/* Hero background image */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: url('assets/hero-bg-2x.png') center center / cover no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0.65;
}

/* Washi paper texture on top */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(42, 37, 32, 0.008) 3px,
      rgba(42, 37, 32, 0.008) 6px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 3px,
      rgba(42, 37, 32, 0.006) 3px,
      rgba(42, 37, 32, 0.006) 6px);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.35;
}

.hero__sparrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Sparrow reveal: hidden by default, revealed by GSAP */
[data-sparrow-reveal] {
  opacity: 0;
  filter: blur(6px);
  display: inline-block;
}

[data-sparrow-reveal].revealed {
  opacity: 1;
  filter: blur(0);
}

/* Glow effect on highlight when revealed */
.highlight[data-sparrow-reveal].revealed {
  text-shadow: 0 0 30px rgba(196, 62, 42, 0.3), 0 0 60px rgba(154, 123, 10, 0.2);
}

.hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-washi) 100%);
  z-index: 2;
}



.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
}

.hero__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--origami-gold);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-ja-serif);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
  color: #1a1a1a;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--origami-vermillion), var(--origami-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-ja);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: #333;
  line-height: 2;
  margin-bottom: 1rem;
}

.hero__issues {
  list-style: none;
  padding: 0;
  margin: 0 auto 1rem;
  display: block;
  text-align: left;
  max-width: 24em;
}

.hero__issues li {
  font-family: var(--font-ja);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #555;
  line-height: 1.8;
  padding-left: 1.4em;
  position: relative;
}

.hero__issues li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent, #c8a45a);
}

.hero__resolve {
  font-family: var(--font-ja);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
}

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero__cta-note {
  font-family: var(--font-ja);
  font-size: 0.85rem;
  color: #888;
}

.hero__cta--premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 3rem;
  background: linear-gradient(135deg, #bba785, #9c845b);
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.1em;
  box-shadow: 0 10px 25px rgba(160, 135, 95, 0.4);
}

.hero__cta--premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(160, 135, 95, 0.5);
  background: linear-gradient(135deg, #c5b292, #a68f66);
  color: #fff;
}

.hero__cta--premium svg {
  transition: transform var(--transition-fast);
}

.hero__cta--premium:hover svg {
  transform: translateX(4px);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============================================
   SECTION LABELS (Shared)
   ============================================ */
.why__label,
.services__label,
.stance__label,
.target__label,
.cta__label {
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: var(--fw-medium);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--origami-gold);
  margin-bottom: var(--space-md);
}

/* --- Big Section Titles (watermark style) --- */
.section-title {
  position: absolute;
  top: 0;
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--origami-navy);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.section-title--left {
  left: 0;
}

.section-title--right {
  right: 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }
}

/* ============================================
   WHY SECTION (課題提示)
   ============================================ */
/* Why section background image */
.section--alt#philosophy {
  position: relative;
  overflow: hidden;
}

.section--alt#philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/why-bg.jpg') center center / cover no-repeat;
  opacity: 0.07;
  z-index: 0;
}

.section--alt#philosophy>.container {
  position: relative;
  z-index: 1;
}

.why__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.why__title {
  font-family: var(--font-ja-serif);
  font-size: var(--fs-section-title);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--origami-navy);
}

.why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Origami-folded card */
.why__card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Folded corner effect */
.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent var(--bg-washi-alt) transparent transparent;
  transition: border-width var(--transition-base);
  z-index: 2;
}

.why__card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(225deg, transparent 50%, rgba(42, 37, 32, 0.04) 50%);
  z-index: 1;
  transition: all var(--transition-base);
}

.why__card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.why__card:hover::before {
  border-width: 0 50px 50px 0;
}

.why__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--origami-gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--origami-gold);
}

/* ============================================
   PHILOSOPHY SECTION (半紙風)
   ============================================ */
.section--alt#philosophy {
  background: var(--bg-cream);
}

#philosophy::before {
  display: none;
}

/* ============================================
   CEO MESSAGE SECTION
   ============================================ */
.ceo {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.ceo__image-column {
  flex-shrink: 0;
  width: 320px;
}

.ceo__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(42, 37, 32, 0.1);
}

.ceo__text-column {
  flex: 1;
}

.ceo__heading {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: var(--fw-bold);
  color: var(--origami-navy);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.ceo__text {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.ceo__text:last-of-type {
  margin-bottom: 0;
}

.ceo__signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(42, 37, 32, 0.08);
  text-align: right;
}

.ceo__role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 0.4rem;
}

.ceo__name {
  display: block;
  font-family: var(--font-ja-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  letter-spacing: 0.15em;
}

@media (max-width: 900px) {
  .ceo {
    flex-direction: column;
    gap: 2.5rem;
  }

  .ceo__image-column {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ============================================
   PHILOSOPHY SECTION (半紙風)
   ============================================ */

/* 半紙画像 */
.hanshi {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hanshi__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow:
    0 1px 3px rgba(42, 37, 32, 0.04),
    0 8px 30px rgba(42, 37, 32, 0.06);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
/* --- Services Section: Dark Cream background --- */
#services {
  background: var(--bg-washi-dark);
  position: relative;
  overflow: hidden;
}

#services .container {
  position: relative;
  z-index: 2;
}

.services__label {
  color: var(--origami-gold) !important;
}

.stance__layout {
  display: flex;
  flex-direction: column;
}

/* Top Area */
.stance__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10rem;
  margin-bottom: 5rem;
}

.stance__text-column {
  flex: 1;
  min-width: 300px;
  position: relative;
  /* Top padding removed since align-items: center is used */
}

.stance__number-bg {
  position: absolute;
  top: -60px;
  left: -20px;
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  z-index: 0;
  letter-spacing: -0.05em;
  user-select: none;
}

.stance__heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--origami-navy);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

.stance__subheading {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: #b59f77;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stance__catchphrase {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--origami-navy);
}

.stance__divider {
  border: none;
  height: 2px;
  background-color: var(--origami-gold-light);
  width: 60px;
  margin-bottom: 2rem;
}

.stance__desc {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 450px;
  font-weight: 500;
}

/* Diagram Column */
.stance__diagram-column {
  flex: 1.2;
  min-width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .stance__diagram-column {
    justify-content: flex-end;
    /* Push orbit diagram to the right */
  }
}

.stance__cycle-diagram {
  width: 100%;
  max-width: 450px;
}

/* Button */
.stance__button-wrapper {
  display: flex;
  justify-content: flex-start;
  /* Align with text column */
  margin-bottom: 4rem;
  width: 100%;
}

.stance__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--origami-navy);
  color: #fff;
  padding: 1.2rem 3.5rem;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: var(--radius-sm);
}

.stance__btn:hover {
  background: var(--origami-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Full Width Divider */
.stance__divider-full {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 0;
}

/* List Items */
.stance__list {
  display: flex;
  flex-direction: column;
}

.stance__item {
  display: flex;
  align-items: flex-start;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 3rem;
  flex-wrap: wrap;
  transition: background-color 0.3s ease;
}

.stance__item:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.stance__item-num {
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  color: #e0e0e0;
  line-height: 0.8;
  width: 60px;
  flex-shrink: 0;
  text-align: center;
}

.stance__item-text {
  flex: 1;
  min-width: 250px;
}

.stance__item-title {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--origami-navy);
  margin-bottom: 0.5rem;
}

.stance__item-en {
  font-family: var(--font-en);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 600;
  color: var(--origami-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stance__item-desc {
  flex: 1.5;
  min-width: 300px;
  font-size: clamp(0.9rem, 1.1vw, 0.95rem);
  font-weight: 500;
  line-height: 2;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .stance__item {
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .stance__item-desc {
    margin-top: 0.5rem;
  }

  .stance__number-bg {
    font-size: 10rem;
    top: -20px;
  }

  .stance__heading {
    font-size: 2.5rem;
  }

  .stance__button-wrapper {
    justify-content: center;
    padding-right: 0;
  }
}

/* ============================================
   STANCE SECTION (NEW LAYOUT)
   ============================================ */
.section--alt#stance {
  background: var(--bg-cream);
}

#stance::before {
  display: none;
}

/* Two-column layout */
.stance__layout {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.stance__text-column {
  flex: 0 0 38%;
}

.stance__diagram-column {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.stance__label {
  font-family: var(--font-en);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b59f77;
  margin-bottom: 1.5rem;
}

.stance__title {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--origami-navy);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

/* brタグ: PCでは非表示、SPのみ改行 */
.sp-only {
  display: none;
}

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

  .stance__title {
    white-space: normal;
  }
}

.stance__desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .stance__desc {
    white-space: normal;
  }
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .stance__layout {
    flex-direction: column;
    text-align: center;
  }

  .stance__text-column {
    margin-bottom: 1rem;
    flex: unset;
  }

  .stance__diagram-column {
    min-width: unset;
    width: 100%;
  }
}

/* --- Orbit Diagram --- */
.orbit {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

/* 大きな風車 (背景) */
.orbit__kazaguruma-large {
  position: absolute;
  inset: -35%;
  width: 170%;
  height: 170%;
  z-index: 0;
}

.orbit__kazaguruma-svg {
  width: 100%;
  height: 100%;
  animation: kazaguruma-spin-large 30s linear infinite;
}

@keyframes kazaguruma-spin-large {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Center label */
.orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

.orbit__center-label {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: var(--fw-black);
  color: var(--origami-navy);
  letter-spacing: 0.08em;
  line-height: 1;
}

.orbit__center-sub {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  margin-top: 6px;
  letter-spacing: 0.15em;
}

/* Rotating ring container */
.orbit__ring {
  position: absolute;
  inset: 0;
  animation: orbit-spin 24s linear infinite;
}

/* Each orbit item */
.orbit__item {
  position: absolute;
  width: clamp(110px, 22vw, 130px);
  height: clamp(110px, 22vw, 130px);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--origami-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(42, 37, 32, 0.1);
  border: 1px solid rgba(42, 37, 32, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  cursor: pointer;
  /* Counter-rotate to keep text upright */
  animation: orbit-counter-spin 24s linear infinite;
}

/* Pause orbit rotation on hover */
.orbit:hover .orbit__ring {
  animation-play-state: paused;
}

.orbit:hover .orbit__item {
  animation-play-state: paused;
}

.orbit__item:hover {
  box-shadow: 0 12px 40px rgba(42, 37, 32, 0.18);
  transform: scale(1.15) !important;
}

.orbit__item:hover .kazaguruma__svg {
  animation-duration: 1s;
}

/* 正三角形配置: 中心(50%,55%)から半径42%、120°間隔
   重心をやや下寄りに配置 */
.orbit__item--1 {
  top: -2.5%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.orbit__item--tri2 {
  top: 60.5%;
  left: 75.9%;
}

.orbit__item--tri3 {
  top: 60.5%;
  left: 3.1%;
}

/* 風車 (Kazaguruma) */
.kazaguruma {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.kazaguruma__svg {
  width: 100%;
  height: 100%;
  animation: kazaguruma-spin 6s linear infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@keyframes kazaguruma-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit__name {
  font-family: var(--font-en);
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  font-weight: var(--fw-bold);
  color: var(--origami-navy);
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-top: 2px;
}

.orbit__name-ja {
  font-size: clamp(0.55rem, 1vw, 0.68rem);
  color: var(--text-secondary);
  opacity: 0.8;
  margin-top: 3px;
}

/* Keyframes */
@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes orbit-counter-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   FOR YOU SECTION (NEW LAYOUT)
   ============================================ */
/* Reset section padding for full width wrapper */
#target.section {
  padding: clamp(6rem, 12vw, 10rem) 0 0;
  background: transparent;
}

#target .section-title {
  top: 0;
  opacity: 0.03;
}

.foryou__layout {
  display: flex;
  background: var(--origami-navy);
  /* Optional, for softer edges */
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-3xl);
}

/* Left: Image */
.foryou__image-column {
  flex: 2;
  position: relative;
  min-height: 500px;
  /* Minimum height for smaller screens */
}

/* Ensure image covers the full half */
.foryou__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.foryou__image-column:hover .foryou__image {
  transform: scale(1.05);
}

.foryou__image-column {
  overflow: hidden;
}

/* Right: Content */
.foryou__content-column {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 8%;
  background: var(--origami-navy);
  /* Solid dark blue */
  color: #ffffff;
}

.foryou__heading {
  font-family: var(--font-ja-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.foryou__desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.foryou__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c3a171;
  /* Accent gold from reference */
  color: var(--origami-navy);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1rem 3rem;
  text-decoration: none;
  border-radius: 2px;
  align-self: flex-start;
  /* Keep button from stretching */
  transition: all 0.3s ease;
  gap: 12px;
}

.foryou__btn:hover {
  background: #d8b88d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.foryou__note {
  font-family: var(--font-ja);
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .foryou__layout {
    flex-direction: column;
  }

  .foryou__image-column {
    min-height: 300px;
  }

  .foryou__content-column {
    padding: 3rem 1.5rem;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.about__label {
  font-family: var(--font-en);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--origami-gold);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xs);
}

.about__title {
  font-family: var(--font-ja-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--origami-navy);
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  position: relative;
}

.about__content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent var(--bg-washi-alt, var(--bg-washi)) transparent transparent;
  z-index: 1;
}

.about__table {
  width: 100%;
  border-collapse: collapse;
}

.about__table th,
.about__table td {
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  line-height: 1.8;
}

.about__table tr:last-child th,
.about__table tr:last-child td {
  border-bottom: none;
}

.about__table th {
  width: 25%;
  font-weight: var(--fw-bold);
  color: var(--origami-navy);
  vertical-align: top;
}

.about__table td {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .about__content {
    padding: var(--space-lg) var(--space-md);
  }

  .about__table th,
  .about__table td {
    display: block;
    width: 100%;
    padding: var(--space-sm) 0;
  }

  .about__table th {
    padding-bottom: 0;
    font-size: 0.9em;
    color: var(--origami-gold);
  }

  .about__table td {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: var(--space-md);
  }

  .about__table tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--origami-navy);
  color: var(--text-on-dark);
}

/* Origami pattern background */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(60deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%),
    linear-gradient(-60deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
  background-size: 60px 100px;
  pointer-events: none;
}

/* Triangle fold top-left */
.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 60px 0 0;
  border-color: var(--bg-cream) transparent transparent transparent;
}

.cta .cta__label {
  color: var(--origami-gold-light);
  position: relative;
}

.cta__title {
  font-family: var(--font-ja-serif);
  font-size: var(--fs-section-title);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--text-on-dark);
}

.cta__desc {
  font-size: var(--fs-body);
  color: rgba(247, 243, 236, 0.7);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.8;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 3rem;
  background: var(--text-on-dark);
  color: var(--origami-navy);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  font-family: var(--font-ja);
}

.cta__button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--origami-gold-light);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cta__button:hover::before {
  opacity: 1;
}

.cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  color: var(--origami-navy-dark);
}

.cta__button span,
.cta__button svg {
  position: relative;
  z-index: 1;
}

.cta__button svg {
  transition: transform var(--transition-fast);
}

.cta__button:hover svg {
  transform: translateX(4px);
}

/* CTA Buttons Container */
.cta__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Outline variant for 資料DL */
.cta__button--outline {
  background: transparent;
  border: 2px solid rgba(247, 243, 236, 0.6);
  color: var(--text-on-dark);
}

.cta__button--outline::before {
  background: rgba(247, 243, 236, 0.15);
}

.cta__button--outline:hover {
  border-color: var(--origami-gold-light);
  color: var(--text-on-dark);
}

.cta__button--outline:hover svg {
  transform: translateY(2px);
}

.cta__note {
  font-size: var(--fs-small);
  color: rgba(247, 243, 236, 0.4);
  margin-top: var(--space-md);
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-washi);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0.7);
}

.footer__logo span {
  color: var(--origami-navy);
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__link {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast), transform 0.3s ease;
  position: relative;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--origami-navy);
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: var(--origami-navy);
  transform: translateY(-1px);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__copy {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .services__grid>.service-card:nth-child(1),
  .services__grid>.service-card:nth-child(2),
  .services__grid>.service-card:nth-child(3) {
    margin-top: 0;
  }

  .orbit {
    width: min(350px, 80vw);
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    padding: var(--space-3xl) var(--space-sm);
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero::before {
    width: 60px;
    height: 60px;
  }

  .hero::after {
    width: 40px;
    height: 40px;
  }

  .why__cards {
    grid-template-columns: 1fr;
  }

  .target__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section-divider {
    height: 50px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 5rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .service-card {
    padding: var(--space-lg) var(--space-md);
  }

  .cta::after {
    border-width: 40px 40px 0 0;
  }
}