/* ===========================
   iroha LIFESTYLE & DESIGN
   CSS Design System
   =========================== */

/* --- CSS Variables --- */
:root {
  --color-text:      #5A5577;
  --color-text-dark: #3D3A52;
  --color-text-light:#73738C; /* WCAG AA(4.5:1)を満たす濃さ */
  --color-main:      #C4B8EA;
  --color-main-dark: #9B8EC4;
  --color-mint:      #A8D8B0;
  --color-peach:     #F5C0A0;
  --color-blue:      #A0C8E8;
  --color-pink:      #F0A8BC;
  --color-yellow:    #F5E888;
  --color-bg:        #F8F8FA;
  --color-white:     #FFFFFF;
  --color-border:    #E8E4F0;

  --font-en: 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(90, 85, 119, 0.08);
  --shadow-md: 0 4px 24px rgba(90, 85, 119, 0.12);
  --shadow-lg: 0 8px 40px rgba(90, 85, 119, 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s ease;
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  /* fade-left/right の translateX が横スクロールを生まないように */
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-ja); }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
section { padding: 96px 0; }

.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-main-dark);
  display: block;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-main-dark), var(--color-pink));
  margin-right: 8px;
  vertical-align: 1px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 560px;
}

.section-header { margin-bottom: 60px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* shine sweep */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--color-main-dark);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(155, 142, 196, 0.4);
}
.btn-primary:hover {
  background: var(--color-text-dark);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(155, 142, 196, 0.5);
}

.btn-outline {
  border: 2px solid var(--color-main-dark);
  color: var(--color-main-dark);
}
.btn-outline:hover {
  background: var(--color-main-dark);
  color: var(--color-white);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-main-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 248, 250, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img {
  height: 44px;
  width: auto;
  transition: transform 0.5s var(--ease-bounce);
}
.header-logo:hover img { transform: rotate(14deg) scale(1.06); }
.header-logo-text {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.header-logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-text-light);
  display: block;
}

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

.nav-link {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--color-main);
  color: var(--color-text-dark);
  opacity: 1;
}

.nav-contact {
  background: var(--color-main-dark);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
}
.nav-contact:hover {
  background: var(--color-text-dark) !important;
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; animation: mobileNavIn 0.35s var(--ease-out); }
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-nav a:hover { background: var(--color-bg); }

/* ===========================
   PAGE HERO (サブページ)
   =========================== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 64px;
  background: linear-gradient(135deg, var(--color-white) 0%, #EDE8F8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--color-main);
  opacity: 0.18;
  animation: float 9s ease-in-out infinite;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--color-mint);
  opacity: 0.18;
  animation: float 11s ease-in-out 1.2s infinite;
}
.page-hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-main-dark);
  margin-bottom: 12px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.1s forwards;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  opacity: 0;
  animation: heroReveal 0.9s var(--ease-out) 0.25s forwards;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.45s forwards;
}
.breadcrumb a:hover { color: var(--color-main-dark); opacity: 1; }
.breadcrumb span { color: var(--color-text-light); }

/* 下層ヒーローに漂うテーマ写真のメダリオン */
.ph-medallion {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 34px rgba(90, 85, 119, 0.18);
  opacity: 0;
  animation:
    medallionPop 0.9s var(--ease-out) forwards,
    gentleFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}
.ph-medallion-main {
  width: 128px;
  height: 128px;
  right: 9%;
  bottom: 16%;
  animation-delay: 0.55s, 1.6s;
}
.ph-medallion-sub {
  width: 84px;
  height: 84px;
  left: 8%;
  top: 30%;
  animation-delay: 0.75s, 2.1s;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-text-dark);
  color: var(--color-white);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo img { height: 40px; filter: none; }
.footer-logo-text {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}
.footer-logo-sub {
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.6;
  display: block;
}
.footer-tagline {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.footer-nav-title {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.footer-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-nav a:hover { opacity: 1; transform: translateX(-4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  opacity: 0.45;
  letter-spacing: 0.04em;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

.fade-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.fade-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.fade-left.visible, .fade-right.visible {
  opacity: 1;
  /* transformを完全に外し、子のmix-blend-modeが効くようにする */
  transform: none;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.zoom-in.visible {
  opacity: 1;
  transform: none;
}

.blur-in {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.9s ease, filter 0.9s ease;
}
.blur-in.visible {
  opacity: 1;
  filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===========================
   SHARED KEYFRAMES
   =========================== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes gentleFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ===========================
   *** INDEX PAGE ***
   =========================== */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #FFFFFF 0%, #EDE8F8 40%, #E8F4EC 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
.hero-orb-1 { width: 280px; height: 280px; background: rgba(196, 184, 234, 0.24); top: 5%; left: -60px; animation-delay: 0s; }
.hero-orb-2 { width: 200px; height: 200px; background: rgba(168, 216, 176, 0.2); top: 15%; right: -40px; animation-delay: 1s; }
.hero-orb-3 { width: 160px; height: 160px; background: rgba(245, 192, 160, 0.19); bottom: 15%; left: 10%; animation-delay: 2s; }
.hero-orb-4 { width: 120px; height: 120px; background: rgba(240, 168, 188, 0.19); bottom: 20%; right: 12%; animation-delay: 1.5s; }
.hero-orb-5 { width: 80px; height: 80px; background: rgba(245, 232, 136, 0.24); top: 45%; left: 5%; animation-delay: 3s; }

/* 彩りの輪 = 漂う写真のメダリオン */
.hero-medallion {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(90, 85, 119, 0.2);
  opacity: 0;
  animation:
    medallionPop 1s var(--ease-out) forwards,
    gentleFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes medallionPop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-medallion-1 {
  width: 150px;
  height: 150px;
  left: 6%;
  top: 26%;
  object-position: 50% 45%;
  animation-delay: 1.7s, 2.8s;
}
.hero-medallion-2 {
  width: 132px;
  height: 132px;
  right: 7%;
  top: 16%;
  object-position: 72% 25%;
  animation-delay: 1.9s, 3.2s;
}
.hero-medallion-3 {
  width: 108px;
  height: 108px;
  right: 12%;
  bottom: 15%;
  object-position: 40% 40%;
  animation-delay: 2.1s, 2.5s;
}

/* Paint-drop ripples — 一滴の彩りが波紋になって広がる */
.hero-ripples {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ripple-ring {
  opacity: 0;
  animation: rippleGrow cubic-bezier(0.2, 0.55, 0.35, 1) forwards;
  will-change: r, opacity;
}
.ripple-wash {
  opacity: 0;
  filter: blur(16px);
  animation: rippleGrow cubic-bezier(0.2, 0.55, 0.35, 1) forwards;
  will-change: r, opacity;
}
@keyframes rippleGrow {
  0%   { r: 4px; opacity: 0; }
  7%   { opacity: var(--rop, 0.5); }
  100% { r: var(--rmax, 560px); opacity: 0; }
}
.ripple-splat {
  animation: splatFly cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
@keyframes splatFly {
  0%   { transform: translate(0, 0); opacity: 0.9; }
  100% { transform: translate(var(--dx, 40px), var(--dy, -30px)); opacity: 0; }
}

/* 各セクションに落ちる絵の具の波紋レイヤー */
.ink-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* The falling drop of paint */
.hero-drop {
  position: absolute;
  top: -28px;
  width: 20px;
  height: 26px;
  margin-left: -10px;
  border-radius: 50% 50% 55% 55% / 65% 65% 35% 35%;
  background: linear-gradient(160deg, #9B8EC4, #F0A8BC);
  box-shadow: 0 4px 14px rgba(155, 142, 196, 0.4);
  opacity: 0;
  animation: dropFall 0.8s cubic-bezier(0.5, 0.05, 0.8, 0.4) 0.15s forwards;
}
@keyframes dropFall {
  0%   { opacity: 0; transform: translateY(0) scale(0.85); }
  12%  { opacity: 1; }
  88%  { opacity: 1; transform: translateY(var(--fall, 42vh)) scale(1, 1.18); }
  100% { opacity: 0; transform: translateY(var(--fall, 42vh)) scale(1.7, 0.3); }
}

/* Rising color particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 0.75; }
  60%  { opacity: 0.45; }
  100% { transform: translateY(-92vh) translateX(24px); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

/* Entrance sequence */
.reveal {
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) forwards;
}
.reveal-d1 { animation-delay: 1.25s; }
.reveal-d2 { animation-delay: 1.8s; }
.reveal-d3 { animation-delay: 2s; }

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 32px;
  opacity: 0;
  /* ポップインは雫の着弾(≈0.95s)に合わせる */
  animation:
    logoPop 0.9s var(--ease-out) 0.92s forwards,
    gentleFloat 5s ease-in-out 2.1s infinite alternate;
}
@keyframes logoPop {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hero-tagline {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-main-dark);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-title .line-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  animation: lineReveal 1.05s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: 1.4s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 1.58s; }
@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--color-main-dark), var(--color-pink), #7BBE8B, var(--color-main-dark));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 9s linear infinite;
}

.hero-title em ruby rt {
  background: linear-gradient(90deg, var(--color-main-dark), var(--color-pink), #7BBE8B, var(--color-main-dark));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 9s linear infinite;
}

.hero-title ruby,
.ab-title ruby,
.mission-quote ruby,
.footer-tagline ruby,
.mvp-statement ruby,
.company-value ruby {
  ruby-position: over;
}
.hero-title rt,
.ab-title rt,
.mission-quote rt,
.footer-tagline rt,
.mvp-statement rt,
.company-value rt {
  font-size: 0.52em;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 48px;
  line-height: 1.9;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  opacity: 0;
  animation: scrollFadeIn 1s ease 2.7s forwards;
}
@keyframes scrollFadeIn { to { opacity: 1; } }
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-main-dark), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* Mission Section */
.mission-section {
  background: var(--color-white);
  padding: 96px 0;
}
.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
}
/* 円形にトリミングした写真 */
.mv-photo {
  position: absolute;
  left: 9%;
  top: 11%;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 13% 60%;
  box-shadow: 0 24px 60px rgba(90, 85, 119, 0.18);
  z-index: 1;
}
/* 写真の周りをゆっくり巡る軌道リング */
.mv-orbit {
  position: absolute;
  left: 3%;
  top: 5%;
  width: 88%;
  height: 88%;
  z-index: 2;
  animation: orbitSpin 46s linear infinite;
}
/* 彩りの色玉 */
.mv-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}
.mv-orb-purple {
  left: -2%;
  top: 3%;
  width: 30%;
  aspect-ratio: 1;
  background: #C4B8EA;
  opacity: 0.8;
  filter: blur(2px);
  animation: gentleFloat 7s ease-in-out infinite alternate;
}
.mv-orb-green {
  right: 1%;
  top: 16%;
  width: 26%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, #A8D8B0 0%, #B9DFC0 60%, rgba(185, 223, 192, 0) 100%);
  opacity: 0.85;
  filter: blur(5px);
  animation: gentleFloat 8.5s ease-in-out 1.2s infinite alternate;
}
.mv-orb-peach {
  left: -4%;
  bottom: 2%;
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, #F5C0A0 0%, #F6CDB2 60%, rgba(246, 205, 178, 0) 100%);
  opacity: 0.85;
  filter: blur(6px);
  animation: gentleFloat 7.5s ease-in-out 2.4s infinite alternate;
}

.mission-text .section-subtitle { margin-top: 16px; }
.mission-text .section-title { font-size: clamp(26px, 3.6vw, 42px); }
/* モックに合わせ、このセクションのラベルはドットなし */
.mission-text .section-label::before { display: none; }

/* 引用カード */
.mission-quote {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, #F6F4FB 0%, #F1EEF9 100%) padding-box,
    linear-gradient(135deg, #C4B8EA 0%, #EDE8F8 30%, #EDE8F8 60%, #F5E888 82%, #A8D8B0 100%) border-box;
  box-shadow: var(--shadow-md);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.6;
}
.mission-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 60px;
  line-height: 0.4;
  color: var(--color-main-dark);
  flex-shrink: 0;
  align-self: flex-start;
  transform: translateY(18px);
}
.mission-quote-text {
  flex: 1;
  text-align: center;
}

/* Values Section */
.values-section { background: var(--color-bg); }
.values-section .section-subtitle { font-family: var(--font-serif); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  --vc-tint: #E6DFF5;
  --vc-accent: var(--color-main-dark);
  background: linear-gradient(180deg, #FFFFFF 28%, var(--vc-tint) 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card--diversity  { --vc-tint: #E6DFF5; --vc-accent: #9B8EC4; }
.value-card--compassion { --vc-tint: #DFF0E3; --vc-accent: #7BBE8B; }
.value-card--integrity  { --vc-tint: #FAF0DC; --vc-accent: #DCA24E; }
.value-card--challenge  { --vc-tint: #FAE4EA; --vc-accent: #E087A0; }
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
/* 写真は下端でカードの色に溶ける */
.value-card-photo {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.35) 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.35) 85%, transparent 100%);
}
.value-card-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.value-card--challenge .value-card-photo img { object-position: 68% 28%; }
.value-card:hover .value-card-photo img { transform: scale(1.06); }
.value-card-body { padding: 4px 26px 32px; }
.value-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vc-accent);
  margin-bottom: 8px;
}
.value-ja {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}
.value-ja::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--vc-accent);
  margin-top: 10px;
  opacity: 0.7;
}
.value-desc {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 2;
}

/* Service Teaser */
.service-teaser {
  background: var(--color-white);
}
.service-teaser-card {
  background: linear-gradient(115deg, #E7E0F6 0%, #EDE8F8 42%, #E5F1EA 100%);
  border-radius: 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* 左下のやわらかな波 */
.service-teaser-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 100%, rgba(196, 184, 234, 0.45) 0%, transparent 55%);
  pointer-events: none;
}
.service-teaser-text-col {
  position: relative;
  z-index: 1;
  padding: 76px 16px 76px 64px;
}
.service-teaser-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-main-dark);
  margin-bottom: 28px;
}
.service-teaser-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--color-main-dark);
  margin-top: 10px;
  opacity: 0.6;
}
.service-teaser-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.55;
  margin-bottom: 22px;
}
.service-teaser-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-text);
  line-height: 2.15;
  max-width: 480px;
}

/* 右側:写真+浮遊するUIチップ */
.service-teaser-visual {
  position: relative;
  min-height: 480px;
}
.st-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 90% 22%;
  /* 明るい背景をカードのグラデーションに溶かし、左端はフェードで馴染ませる */
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
  mask-image: linear-gradient(to right, transparent 0%, #000 26%);
}
.st-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(90, 85, 119, 0.16);
  z-index: 2;
  animation: gentleFloat 5.5s ease-in-out infinite alternate;
}
.st-chip-assistant {
  /* 指差しの先に来るように(手には被せない) */
  left: 5%;
  top: 11%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 18px;
}
.st-chip-assistant img {
  width: 42px;
  height: 42px;
}
.st-chip-assistant-text strong {
  display: block;
  font-size: 13px;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}
.st-chip-assistant-text span {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.6;
}
.st-chip-check {
  top: 58%;
  left: 42%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.9s;
}
.st-chip-check svg { width: 22px; height: 22px; }
.st-chip-chart {
  top: 9%;
  left: 55%;
  padding: 11px 12px;
  animation-delay: 1.7s;
}
.st-chip-chart svg { width: 52px; height: 44px; display: block; }
.st-chip-list {
  top: 60%;
  left: 3%;
  padding: 13px 15px;
  animation-delay: 2.3s;
}
.st-chip-list svg { width: 96px; height: 52px; display: block; }
.st-chip-pie {
  top: 79%;
  left: 32%;
  padding: 10px;
  animation-delay: 1.3s;
}
.st-chip-pie svg { width: 42px; height: 42px; display: block; }

/* 浮遊する彩りのドット */
.st-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  animation: gentleFloat 6s ease-in-out infinite alternate;
}
.st-dot-1 { width: 12px; height: 12px; background: #C4B8EA; top: 5%; left: 74%; animation-delay: 0.5s; }
.st-dot-2 { width: 9px; height: 9px; background: #A8D8B0; top: 47%; left: 1%; animation-delay: 1.8s; }
.st-dot-3 { width: 11px; height: 11px; background: #F5C0A0; top: 88%; left: 58%; animation-delay: 2.6s; }

/* 左下のドットグリッド */
.st-dots {
  position: absolute;
  left: 60px;
  bottom: 44px;
  width: 92px;
  height: 44px;
  background-image: radial-gradient(rgba(155, 142, 196, 0.5) 1.6px, transparent 1.6px);
  background-size: 16px 15px;
  pointer-events: none;
}

/* CTA Section */
.cta-section {
  background: var(--color-text-dark);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(196, 184, 234, 0.12);
  animation: float 10s ease-in-out infinite;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(168, 216, 176, 0.1);
  animation: float 12s ease-in-out 1.5s infinite;
}
.cta-section .section-label { color: var(--color-main); }
.cta-section .section-title { color: var(--color-white); }
.cta-section .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto 40px; }
.cta-section .section-header { margin-bottom: 40px; }

/* ===========================
   *** ABOUT PAGE ***
   =========================== */
/* 共通: 明朝の見出し+下線、リード文、装飾イラスト、アイコンタイル */
.ab-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 22px;
}
.ab-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-main-dark);
  opacity: 0.6;
  margin-top: 18px;
}
.ab-lead {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
}
.ab-deco {
  display: block;
  width: 78%;
  max-width: 250px;
  margin-top: 44px;
  /* 白背景を純白に飛ばしてからmultiplyで溶かす */
  filter: brightness(1.06);
  mix-blend-mode: multiply;
  animation: gentleFloat 7s ease-in-out infinite alternate;
}

/* Philosophy: 左テキスト+右にMission/Vision/Philosophyカード */
.philosophy-section { background: var(--color-white); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.philosophy-body {
  font-size: 14.5px;
  color: var(--color-text-light);
  line-height: 2.1;
}
.mvp-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mvp-card {
  --mvp-accent: #9B8EC4;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 24px 140px 24px 58px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mvp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mvp-card--mission {
  background: linear-gradient(120deg, #F0EBF9 0%, #E2D9F4 100%);
}
.mvp-card--vision {
  --mvp-accent: #7BBE8B;
  background: linear-gradient(120deg, #E9F5ED 0%, #D5EDDD 100%);
}
.mvp-card--philosophy {
  --mvp-accent: #E8A94A;
  background: linear-gradient(120deg, #FBF0E7 0%, #F7E0CE 100%);
}
/* 左上の小さな球体 */
.mvp-orb {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.95), var(--mvp-accent) 75%);
  box-shadow: 0 4px 10px rgba(90, 85, 119, 0.18);
}
.mvp-label {
  display: block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.75;
  margin-bottom: 8px;
}
.mvp-statement {
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.6;
}
.mvp-photo {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(90, 85, 119, 0.18);
  transition: transform 0.5s var(--ease-bounce);
}
.mvp-card:hover .mvp-photo { transform: translateY(-50%) scale(1.07); }

/* Values: 左イントロ+右2×2カード */
.about-values-section { background: var(--color-bg); }
.ab-values-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.ab-value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ab-value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ab-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ab-value-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ab-value-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(90, 85, 119, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.ab-value-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 元画像の円の大きさが画像ごとに違うため、ズーム率で余白を揃える */
  transform: scale(var(--icon-zoom, 1.06));
  transition: transform 0.4s var(--ease-bounce);
}
.ab-value-card:nth-child(1) .ab-value-icon img { --icon-zoom: 1.12; } /* 多様性 */
.ab-value-card:nth-child(2) .ab-value-icon img { --icon-zoom: 1.2; }  /* 思いやり */
.ab-value-card:hover .ab-value-icon img {
  transform: scale(calc(var(--icon-zoom, 1.06) * 1.1)) rotate(-4deg);
}
.ab-value-num {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 3px;
}
.ab-value-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-text-dark);
}
.ab-value-lead {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.ab-value-desc {
  font-size: 12.5px;
  color: var(--color-text-light);
  line-height: 1.95;
}

/* Company Info: 左イントロ+右カードグリッド */
.company-info-section { background: var(--color-white); }
.ab-company-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.company-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.company-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.company-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.company-card--wide { grid-column: 1 / -1; }
.company-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(90, 85, 119, 0.16);
}
.company-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 元画像の白い縁を切り落とす */
  transform: scale(1.1);
  transition: transform 0.4s var(--ease-bounce);
}
.company-card:hover .company-icon img { transform: scale(1.2); }
.company-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 3px;
}
.company-value {
  font-size: 12.5px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===========================
   *** SERVICE PAGE ***
   =========================== */
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Features: 写真入りカード */
.service-features-section { background: var(--color-bg); }
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-photo-card {
  --fc-accent: #9B8EC4;
  --fc-tint: #EFEAF9;
  --fc-blob1: rgba(196, 184, 234, 0.55);
  --fc-blob2: rgba(196, 184, 234, 0.3);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFFFFF 45%, var(--fc-tint) 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature--support {
  --fc-accent: #7BBE8B;
  --fc-tint: #E7F4EB;
  --fc-blob1: rgba(168, 216, 176, 0.55);
  --fc-blob2: rgba(168, 216, 176, 0.3);
}
.feature--consulting {
  --fc-accent: #DCA24E;
  --fc-tint: #FBF3E4;
  --fc-blob1: rgba(245, 192, 160, 0.6);
  --fc-blob2: rgba(245, 192, 160, 0.35);
}
.feature-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 28px 0;
}
.feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.feature-icon img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s var(--ease-bounce);
}
.feature-photo-card:hover .feature-icon img {
  transform: scale(1.12) rotate(-6deg);
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
}
.feature-desc {
  padding: 16px 28px 20px;
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 2;
}
.feature-photo {
  position: relative;
  margin-top: auto;
}
.feature-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.feature-blob-1 {
  width: 150px;
  height: 150px;
  left: -36px;
  top: 8px;
  background: var(--fc-blob1);
}
.feature-blob-2 {
  width: 110px;
  height: 110px;
  right: -22px;
  top: 46px;
  background: var(--fc-blob2);
}
.feature-photo img {
  position: relative;
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: center 22%;
  /* 明るい背景をカードに溶かし、後ろのブロブを透かす */
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease-out);
}
.feature-photo-card:hover .feature-photo img { transform: scale(1.05); }

/* Flow: 中央ラインのジグザグタイムライン */
.service-flow-section { background: var(--color-white); }
.flow-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(to bottom, var(--color-main), var(--color-mint), var(--color-peach));
  opacity: 0.7;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}
.flow-timeline.in-view::before { transform: scaleY(1); }
.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
}
.flow-num {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease-bounce);
}
.flow-row:hover .flow-num { transform: scale(1.12); }
.flow-num--purple { background: #9B8EC4; }
.flow-num--green  { background: #7BBE8B; }
.flow-num--violet { background: #A99BD6; }
.flow-num--orange { background: #E8A94A; }
.flow-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 26px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.flow-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.flow-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.flow-icon img { width: 100%; height: 100%; }
.flow-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
}
.flow-desc {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 2;
}
.flow-photo img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.7s var(--ease-out);
}
.flow-photo:hover img { transform: scale(1.03); }

/* ===========================
   *** CONTACT PAGE ***
   =========================== */
.contact-section { background: var(--color-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact-info {}
.contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}
.contact-info-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 32px;
}
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.contact-info-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(90, 85, 119, 0.16);
}
.contact-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.4s var(--ease-bounce);
}
.contact-info-item:hover .contact-info-icon img {
  transform: scale(1.18);
}
.contact-info-label {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}
.contact-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Form */
.contact-form {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-required {
  display: inline-block;
  background: var(--color-pink);
  color: var(--color-text-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-main-dark);
  box-shadow: 0 0 0 3px rgba(155, 142, 196, 0.15);
}
.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.8;
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5577' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.form-note {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 8px;
}
.form-submit { text-align: center; }
.form-input.error, .form-textarea.error { border-color: #E88A8A; }
.form-error-msg {
  font-size: 12px;
  color: #C44444;
  margin-top: 6px;
  display: none;
}
.form-error-msg.visible { display: block; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-features-grid { grid-template-columns: repeat(2, 1fr); }
  /* 幅が狭いときは固定改行をやめて自然に折り返す */
  .service-teaser-text br { display: none; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  /* Header */
  .site-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-orb-1 { width: 180px; height: 180px; }
  .hero-orb-2 { display: none; }
  .hero-medallion-1 { width: 92px; height: 92px; left: 4%; top: 19%; }
  .hero-medallion-2 { width: 84px; height: 84px; right: 5%; top: 13%; }
  .hero-medallion-3 { display: none; }

  /* 下層ヒーローのメダリオン */
  .ph-medallion-main { width: 88px; height: 88px; right: 4%; bottom: 10%; }
  .ph-medallion-sub { display: none; }

  /* Mission */
  .mission-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .mission-visual { max-width: 340px; margin: 0 auto; }
  .mission-quote { padding: 22px 24px; font-size: 16px; gap: 12px; }
  .mission-quote-mark { font-size: 44px; transform: translateY(14px); }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* About */
  .philosophy-grid,
  .ab-values-grid,
  .ab-company-grid { grid-template-columns: 1fr; gap: 40px; }
  .ab-value-cards { grid-template-columns: 1fr; }
  .company-cards { grid-template-columns: 1fr; }
  .ab-deco { margin: 28px auto 0; }
  .mvp-card { padding: 22px 116px 22px 52px; }
  .mvp-photo { width: 78px; height: 78px; right: 16px; }

  /* Service */
  .service-teaser-card { grid-template-columns: 1fr; gap: 0; }
  .service-teaser-text-col { padding: 48px 28px 32px; }
  .service-teaser-visual { min-height: 360px; }
  .st-photo { object-position: 85% 20%; }
  .st-chip-assistant { padding: 12px 14px; border-radius: 16px; }
  .st-chip-assistant img { width: 40px; height: 40px; }
  .st-dots { left: 28px; bottom: 20px; }
  .service-features-grid { grid-template-columns: 1fr; }

  /* Flow */
  .flow-timeline::before { left: 27px; }
  .flow-row {
    grid-template-columns: 56px 1fr;
    gap: 14px 18px;
    align-items: start;
    padding: 20px 0;
  }
  .flow-num { grid-column: 1; grid-row: 1; margin: 0; width: 48px; height: 48px; font-size: 14px; }
  .flow-card { grid-column: 2; grid-row: 1; }
  .flow-photo { grid-column: 2; grid-row: 2; }
  .flow-photo img { height: 170px; }

  /* Contact */
  .contact-form { padding: 28px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up, .fade-left, .fade-right, .zoom-in, .blur-in,
  .reveal, .hero-logo, .hero-title .line-inner, .hero-scroll,
  .hero-medallion, .ph-medallion,
  .page-hero-label, .page-hero-title, .breadcrumb {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .flow-timeline::before { transform: scaleY(1) !important; }
  .hero-particles, .hero-drop, .hero-ripples,
  .ink-layer { display: none; }
}
