/* ============================================
   MovoMind - Modern Redesign v2
   ============================================ */

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

:root {
  --color-primary: #364C97;
  --color-primary-light: #4a62b0;
  --color-accent: #EE8073;
  --color-accent-light: #fdf0ee;
  --color-accent-soft: #fdf5f4;
  --color-text: #2c3e50;
  --color-text-light: #3d5468;
  --color-text-muted: #5a6d7e;
  --color-white: #ffffff;
  --color-surface: #ffffff;
  --color-bg: #fafbfc;
  --color-border: #e8ecf0;
  --color-red: #e74c3c;
  --color-green: #5DAC83;
  --font-ja: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', 'Noto Sans JP', 'Meiryo', sans-serif;
  --font-en: 'Inter', 'Hiragino Kaku Gothic Pro', sans-serif;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* 時間帯テーマ用（デフォルト=昼） */
  --hero-overlay: linear-gradient(180deg, rgba(54,76,151,0.82) 0%, rgba(54,76,151,0.75) 50%, rgba(54,76,151,0.85) 100%);
  --about-hero-bg: var(--color-primary);
  --contact-bg: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --footer-bg: #0f1f2e;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-text: var(--color-text);
  --theme-transition: background 0.8s ease, color 0.8s ease;
}

/* ============================================
   時間帯カラーテーマ
   早朝(5-7) / 朝(7-11) / 昼(11-16) / 夕方(16-19) / 夜(19-5)
   ============================================ */

/* --- 早朝 dawn（5:00-7:00）--- 淡い藤色＋ピンクの夜明け */
body.theme-dawn {
  --color-primary: #5c6b9e;
  --color-primary-light: #7b89b8;
  --color-accent: #d4899e;
  --color-accent-light: #f8ecef;
  --color-accent-soft: #fbf3f5;
  --color-bg: #f5f2f6;
  --color-border: #e5dfe8;
  --hero-overlay: linear-gradient(180deg, rgba(92,107,158,0.80) 0%, rgba(140,120,160,0.70) 50%, rgba(180,140,160,0.75) 100%);
  --about-hero-bg: #5c6b9e;
  --contact-bg: linear-gradient(135deg, #5c6b9e 0%, #7b6b9e 100%);
  --footer-bg: #1a1528;
}

/* --- 朝 morning（7:00-11:00）--- 爽やかなスカイブルー */
body.theme-morning {
  --color-primary: #3a6fa8;
  --color-primary-light: #5088c0;
  --color-accent: #f0a068;
  --color-accent-light: #fdf2e8;
  --color-accent-soft: #fef8f2;
  --color-bg: #f4f8fc;
  --color-border: #dce8f0;
  --hero-overlay: linear-gradient(180deg, rgba(58,111,168,0.78) 0%, rgba(70,130,180,0.68) 50%, rgba(80,150,200,0.72) 100%);
  --about-hero-bg: #3a6fa8;
  --contact-bg: linear-gradient(135deg, #3a6fa8 0%, #5088c0 100%);
  --footer-bg: #0d1e2d;
}

/* --- 昼 noon（11:00-16:00）--- デフォルト、変更なし --- */

/* --- 夕方 sunset（16:00-19:00）--- 暖かいオレンジ＋パープル */
body.theme-sunset {
  --color-primary: #7a4a82;
  --color-primary-light: #9a6a98;
  --color-accent: #e87c4a;
  --color-accent-light: #fceee6;
  --color-accent-soft: #fdf5f0;
  --color-bg: #faf5f2;
  --color-border: #ecddd5;
  --hero-overlay: linear-gradient(180deg, rgba(122,74,130,0.78) 0%, rgba(180,100,80,0.70) 50%, rgba(200,120,70,0.75) 100%);
  --about-hero-bg: #7a4a82;
  --contact-bg: linear-gradient(135deg, #7a4a82 0%, #b06040 100%);
  --footer-bg: #1a1020;
}

/* --- 夜 night（19:00-5:00）--- 深いダークネイビー */
body.theme-night {
  --color-primary: #1e2d4a;
  --color-primary-light: #2a3d5c;
  --color-accent: #6a9ec8;
  --color-accent-light: rgba(106,158,200,0.15);
  --color-accent-soft: rgba(106,158,200,0.10);
  --color-text: #c8d6e0;
  --color-text-light: #98b0c4;
  --color-text-muted: #7a9ab0;
  --color-surface: #1a2332;
  --color-bg: #141c28;
  --color-border: #2a3a4e;
  --hero-overlay: linear-gradient(180deg, rgba(14,20,35,0.88) 0%, rgba(20,28,40,0.82) 50%, rgba(14,20,35,0.90) 100%);
  --about-hero-bg: #1e2d4a;
  --contact-bg: linear-gradient(135deg, #1e2d4a 0%, #2a3d5c 100%);
  --footer-bg: #0a0f18;
  --header-bg: rgba(26, 35, 50, 0.95);
  --header-text: #c8d6e0;
}

/* ダークテーマ：ロゴ切替 */
.logo-dark { display: none; }
body.theme-night .logo-default { display: none; }
body.theme-night .logo-dark { display: block; }

/* 夜テーマ：ヘッダーナビ */
body.theme-night .nav-link { color: var(--header-text); }
body.theme-night .nav-link:hover { color: var(--color-accent); background: rgba(106,158,200,0.12); }
body.theme-night .nav-cta { background: var(--color-accent); color: #1a2332 !important; }
body.theme-night .header.scrolled { border-bottom-color: var(--color-border); }
body.theme-night .lang-btn { color: var(--header-text); }
body.theme-night .hamburger span { background: var(--header-text); }

/* 夜テーマ：セクション背景 */
body.theme-night .section-approach { background: var(--color-bg); }
body.theme-night .section-news { background: var(--color-bg); }
body.theme-night .news-item:hover { background: rgba(106,158,200,0.08); }
body.theme-night .btn-news-more {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
body.theme-night .btn-news-more:hover {
  background: var(--color-accent);
  color: #1a2332;
}

/* 夜テーマ：About セクション */
body.theme-night .purpose-block { background: linear-gradient(135deg, #1a2540 0%, #1e2d4a 100%); }
body.theme-night .purpose-title { color: #c8d6e0; }
body.theme-night .value-card { background: #1e2d3e; border-color: var(--color-border); }
body.theme-night .value-keyword { color: var(--color-accent); }
body.theme-night .about-summary { background: rgba(106,158,200,0.08); }

/* --- 各テーマ：SVGウェーブを about-hero-bg に合わせる --- */

/* 早朝 dawn: about-hero-bg = #5c6b9e */
body.theme-dawn .olne-lp-wave svg:nth-child(1) path { fill: rgba(92,107,158,0.3) !important; }
body.theme-dawn .olne-lp-wave svg:nth-child(2) path { fill: rgba(92,107,158,0.6) !important; }
body.theme-dawn .olne-lp-wave svg:nth-child(3) path { fill: #5c6b9e !important; }

/* 朝 morning: about-hero-bg = #3a6fa8 */
body.theme-morning .olne-lp-wave svg:nth-child(1) path { fill: rgba(58,111,168,0.3) !important; }
body.theme-morning .olne-lp-wave svg:nth-child(2) path { fill: rgba(58,111,168,0.6) !important; }
body.theme-morning .olne-lp-wave svg:nth-child(3) path { fill: #3a6fa8 !important; }

/* 夕方 sunset: about-hero-bg = #7a4a82 */
body.theme-sunset .olne-lp-wave svg:nth-child(1) path { fill: rgba(122,74,130,0.3) !important; }
body.theme-sunset .olne-lp-wave svg:nth-child(2) path { fill: rgba(122,74,130,0.6) !important; }
body.theme-sunset .olne-lp-wave svg:nth-child(3) path { fill: #7a4a82 !important; }

/* 夜 night: about-hero-bg = #1e2d4a, body = #1a2332 */
body.theme-night .about-wave-bottom svg:nth-child(1) path { fill: rgba(26,35,50,0.3) !important; }
body.theme-night .about-wave-bottom svg:nth-child(2) path { fill: rgba(26,35,50,0.6) !important; }
body.theme-night .about-wave-bottom svg:nth-child(3) path { fill: #1a2332 !important; }
body.theme-night .olne-lp-wave svg:nth-child(1) path { fill: rgba(30,45,74,0.3) !important; }
body.theme-night .olne-lp-wave svg:nth-child(2) path { fill: rgba(30,45,74,0.6) !important; }
body.theme-night .olne-lp-wave svg:nth-child(3) path { fill: #1e2d4a !important; }

/* 夜テーマ：Approach カード */
body.theme-night .approach-card { background: #1e2d3e; border-color: var(--color-border); }
body.theme-night .approach-accent { background: rgba(106,158,200,0.12); color: var(--color-accent) !important; }

/* 夜テーマ：Advisor ブロック */
body.theme-night .advisor-block { background: #1e2d3e; border-color: var(--color-border); }

/* 夜テーマ：olne セクション */
body.theme-night .section-olne { background: linear-gradient(180deg, #141c28 0%, #1a2332 100%); }
body.theme-night .olne-lp-hero { background: #1a2332; }
body.theme-night .olne-lp-heading { color: #c8d6e0; }
body.theme-night .olne-lp-subtitle { color: #98b0c4; }
body.theme-night .olne-lp-desc { color: #7a9ab0; }
body.theme-night .manifesto-block { background: linear-gradient(135deg, #1a2540 0%, #1e2d3e 100%); border-color: var(--color-border); }

/* 夜テーマ：Company テーブル */
body.theme-night .company-table th { color: var(--color-accent); }
body.theme-night .company-table th,
body.theme-night .company-table td { border-bottom-color: var(--color-border); }

/* 夜テーマ：Contact フォーム */
body.theme-night .contact-form input,
body.theme-night .contact-form textarea,
body.theme-night .contact-form select { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #ffffff; }
body.theme-night .contact-form input::placeholder,
body.theme-night .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
body.theme-night .btn-submit { background: #ffffff; color: #1e2d4a; }

/* 夜テーマ：Recruit・サブページ */
body.theme-night .recruit-note { background: rgba(106,158,200,0.08); }
body.theme-night .recruit-card { background: #1e2d3e; border-color: var(--color-border); }

html {
  scroll-behavior: smooth;
  /* Fluid typography: 16px@375 → 20px@1440 — 画面幅に応じて自動スケール */
  font-size: clamp(16px, 14.5px + 0.35vw, 20px);
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.8s ease, color 0.8s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: inline; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition), background 0.8s ease;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-img {
  height: 32px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-ja);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn .material-icons-outlined {
  font-size: 18px;
  transition: var(--transition);
}

.btn:hover .material-icons-outlined {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(54, 76, 151, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(54, 76, 151, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 48px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  transition: background 1.2s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(1.75rem, min(4.5vw, 5.5vh), 3.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: clamp(12px, 2vh, 24px);
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.hero-title em {
  font-style: normal;
  color: #ffffff;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, min(1.5vw + 0.25rem, 2vh), 1.25rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: clamp(8px, 1.5vh, 16px);
  font-weight: 400;
  line-height: clamp(1.6, 0.2vh + 1.5, 2);
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-lead {
  font-size: clamp(0.9375rem, min(1.4vw + 0.25rem, 2vh), 1.1875rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: clamp(16px, 4vh, 40px);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator .material-icons-outlined {
  font-size: 32px;
  color: rgba(255,255,255,0.6);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-label.center {
  justify-content: center;
}

.label-accent {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-heading-large {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 32px;
}

.section-heading-large.center {
  text-align: center;
}

.section-heading-large.white {
  color: var(--color-white);
}

/* --- About Section --- */
.about-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--about-hero-bg);
  padding-bottom: 120px;
  transition: background 0.8s ease;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.about-hero-content .section-heading-large {
  text-align: left;
  margin-bottom: 32px;
}

.about-hero-sub {
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.0625rem;
  line-height: 2.0;
  width: 100%;
}

.about-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.about-wave-bottom svg {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
}

.about-wave-bottom svg:nth-child(1) {
  animation: waveFlow 4s ease-in-out infinite;
}

.about-wave-bottom svg:nth-child(2) {
  animation: waveFlow 3s ease-in-out infinite reverse;
}

.about-wave-bottom svg:nth-child(3) {
  animation: waveFlow 5s ease-in-out infinite;
}

@keyframes waveFlow {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(5%); }
  100% { transform: translateX(0); }
}

.section-about {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -1px;
}

.section-about .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Purpose Block */
.purpose-block {
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 24px;
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, #f8fbff 100%);
  border-radius: var(--radius-xl);
}

.purpose-label {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.purpose-title {
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 20px;
}

.purpose-title em {
  font-style: normal;
  color: var(--color-accent);
}

.purpose-tagline {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

/* Logo / Meaning */
.about-logo-section {
  text-align: center;
  margin-bottom: 64px;
}

.about-logo-large {
  max-width: 400px;
  margin: 0 auto;
}

.about-meaning {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.meaning-divider {
  width: 1px;
  height: 100%;
  min-height: 200px;
  background: var(--color-border);
}

.meaning-card:first-child {
  text-align: right;
}

.meaning-title {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.meaning-desc {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
}

/* Values */
.values-section {
  margin-bottom: 64px;
}

.values-heading {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto repeat(3, 1fr);
  gap: 12px 32px;
}

.values-col {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}

.values-col-label {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.value-card {
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 0;
  border-left: 3px solid var(--color-accent);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.value-keyword {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.about-summary {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
  padding: 40px;
  background: var(--color-accent-soft);
  border-radius: 16px;
}

/* --- Approach Section --- */
.section-approach {
  background: var(--color-bg);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.approach-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.approach-icon {
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}

.approach-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.approach-card p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.approach-card p:last-child {
  margin-bottom: 0;
}

.approach-accent {
  color: var(--color-primary) !important;
  font-weight: 500;
  font-size: 0.9375rem !important;
  padding: 12px 16px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* Advisor */
.advisor-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--color-border);
}

.advisor-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.advisor-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.advisor-label {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.advisor-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.advisor-affiliation {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.advisor-desc {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* ============================================
   olne Product Section
   ============================================ */
.section-olne {
  background: linear-gradient(180deg, #f0faf5 0%, #ffffff 100%);
  overflow: hidden;
  padding: 0;
}

/* --- olne LP Hero --- */
.olne-lp-hero {
  position: relative;
  background: #fcfdfe;
  padding: 100px 24px 160px;
  overflow: hidden;
}

.olne-lp-container {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.olne-lp-content {
  text-align: left;
}

.olne-lp-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.4;
  color: #1b1b1b;
  margin-bottom: 16px;
}

.olne-lp-highlight {
  color: #3CCC82;
}

.olne-lp-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.olne-lp-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2;
  font-weight: 400;
  color: #555;
  margin-bottom: 32px;
}

.olne-lp-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.olne-lp-store img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.olne-lp-store:hover img {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.olne-lp-mockups {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.olne-lp-mockups .olne-mockup-img {
  width: 45%;
  max-width: 260px;
}

.olne-lp-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.olne-lp-wave svg {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
}

.olne-lp-wave svg:nth-child(1) {
  animation: waveFlow 4s ease-in-out infinite;
}

.olne-lp-wave svg:nth-child(2) {
  animation: waveFlow 3s ease-in-out infinite reverse;
}

.olne-lp-wave svg:nth-child(3) {
  animation: waveFlow 5s ease-in-out infinite;
}

.olne-hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.olne-logo-wrap {
  margin-bottom: 24px;
}

.olne-logo-img {
  height: 48px;
  width: auto;
}

.olne-hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 16px;
}

.olne-accent {
  color: var(--color-green);
}

.olne-hero-subtitle {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-green);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.olne-hero-desc {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.olne-store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #111;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.3;
  transition: var(--transition);
}

.store-badge:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-badge .material-icons-outlined {
  font-size: 28px;
}

.store-badge strong {
  font-size: 0.9375rem;
}

.olne-hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 400px;
}

.olne-mockup-img {
  width: 45%;
  max-width: 220px;
  border-radius: 0;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.22)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.olne-mockup-left {
  transform: translateY(20px);
}

.olne-mockup-right {
  transform: translateY(-20px);
}

.olne-hero-block:hover .olne-mockup-left {
  transform: translateY(10px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.28)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.14));
}

.olne-hero-block:hover .olne-mockup-right {
  transform: translateY(-10px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.28)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.14));
}

/* olne 4 Concepts */
.olne-concepts {
  margin-bottom: 80px;
}

.olne-concepts-heading {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.olne-concepts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.olne-concept-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid rgba(61, 186, 122, 0.15);
  transition: var(--transition);
  position: relative;
}

.olne-concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-green);
}

.olne-concept-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(61, 186, 122, 0.15);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.olne-concept-card h4 {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 4px;
}

.olne-concept-jp {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.olne-concept-card p:last-child {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* olne Routines Grid */
.olne-routines {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.olne-routine-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(61, 186, 122, 0.15);
  transition: var(--transition);
}

.olne-routine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(61, 186, 122, 0.3);
}

.olne-routine-icon {
  font-size: 32px;
  color: var(--color-green);
  margin-bottom: 12px;
}

.olne-routine-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}

.olne-routine-time {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green);
  background: rgba(61, 186, 122, 0.1);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.olne-routine-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Manifesto */
.manifesto-block {
  background: linear-gradient(135deg, #f8fdfb 0%, #f0faf5 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  margin-bottom: 64px;
  border: 1px solid rgba(61, 186, 122, 0.12);
}

.manifesto-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.6;
}

.manifesto-body p {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.manifesto-body p:last-child {
  margin-bottom: 0;
}

.manifesto-closing {
  font-weight: 600;
  color: var(--color-text) !important;
  font-size: 1.125rem !important;
}

.manifesto-signature {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-green) !important;
  font-size: 1.125rem !important;
  text-align: right;
  margin-top: 24px !important;
}

/* olne CTA */
.olne-cta {
  text-align: center;
}

.olne-cta-note {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.btn-olne {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(61, 186, 122, 0.3);
}

.btn-olne:hover {
  background: #4d9a73;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61, 186, 122, 0.4);
}

/* --- News Section --- */
.section-news {
  background: var(--color-bg);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.news-header .section-heading-large {
  margin-bottom: 0;
}

.news-placeholder {
  padding: 48px;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.news-item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-item:hover {
  background: var(--color-accent-soft);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
  border-radius: var(--radius-sm);
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 100px;
  padding-top: 2px;
}

.news-title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
}

.news-item:hover .news-title {
  color: var(--color-accent);
}

/* ニュースタイプアイコン */
.news-type-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  padding-top: 2px;
}

.news-type-icon .material-icons-outlined {
  font-size: 18px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.news-item:hover .news-type-icon .material-icons-outlined {
  color: var(--color-accent);
}

.news-type-pdf .material-icons-outlined {
  color: #e74c3c;
}

.news-item:hover .news-type-pdf .material-icons-outlined {
  color: #c0392b;
}

/* ニュース「すべて見る」ボタン */
.news-more {
  text-align: center;
  margin-top: 40px;
}

.btn-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-news-more:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-news-more .material-icons-outlined {
  font-size: 1.125rem;
}

/* --- Company Section --- */
.section-company {
  background: var(--color-surface);
}

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-border);
}

.company-table th,
.company-table td {
  padding: 20px 16px;
  text-align: left;
  font-size: 1.0625rem;
  vertical-align: top;
}

.company-table th {
  font-weight: 600;
  color: var(--color-primary);
  width: 140px;
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text);
  line-height: 1.8;
}

/* --- Contact Section --- */
.section-contact {
  background: var(--contact-bg);
  padding: 80px 0;
  transition: background 0.8s ease;
}

.contact-inner {
  text-align: center;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  transition: background 0.8s ease;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Overlay for mobile nav --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .section-about {
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-olne {
    padding: 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .olne-concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .olne-routines {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-meaning {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-surface);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 32px 32px;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    text-align: center;
    margin-top: 16px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .pc-only { display: none; }

  .section {
    padding: 64px 0;
  }

  .section-about {
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-olne {
    padding: 0;
  }

  .section-heading-large {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .about-hero {
    min-height: auto;
    padding-bottom: 100px;
  }

  .about-hero-content {
    padding: 48px 20px;
  }

  .section-about .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-hero-sub {
    font-size: 0.9375rem;
  }

  .about-meaning {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meaning-card:first-child {
    text-align: left;
  }

  .meaning-divider {
    width: 100%;
    height: 1px;
    min-height: auto;
  }

  .about-summary {
    padding: 24px;
    font-size: 0.9375rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }

  .values-col {
    display: block;
  }

  .values-col-label {
    margin-bottom: 16px;
  }

  .value-card {
    margin-bottom: 12px;
  }

  .purpose-block {
    padding: 40px 20px;
  }

  .olne-lp-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olne-lp-hero {
    padding: 60px 24px 140px;
  }

  .olne-lp-mockups {
    order: -1;
  }

  .olne-hero-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olne-hero-mockup {
    min-height: 300px;
  }

  .olne-concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .olne-routines {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-block {
    padding: 32px 24px;
  }

  .advisor-block {
    padding: 32px 24px;
  }

  .advisor-inner {
    flex-direction: column;
    text-align: center;
  }

  .news-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .company-table th {
    width: 100px;
    font-size: 0.9375rem;
  }

  .company-table td {
    font-size: 0.9375rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .hero-lead {
    font-size: 0.9375rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-about {
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-olne {
    padding: 0;
  }

  .about-hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .about-hero-content {
    padding: 36px 16px;
  }

  .section-about .container {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .about-logo-large {
    max-width: 250px;
  }

  .meaning-title {
    font-size: 1.5rem;
  }

  .olne-concepts-grid {
    grid-template-columns: 1fr;
  }

  .olne-routines {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .olne-hero-mockup {
    min-height: 250px;
  }

  .olne-mockup-img {
    max-width: 160px;
  }

  .store-badge {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .company-table th,
  .company-table td {
    padding: 14px 8px;
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 4px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .news-item {
    flex-direction: column;
    gap: 4px;
  }

  .news-date {
    font-size: 0.875rem;
  }
}

/* --- Hero Tagline --- */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, min(2.5vw, 3vh), 2rem);
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  margin-top: clamp(4px, 1vh, 8px);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* --- About Text Section (新しい「私たちについて」) --- */
.about-text-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-text-section p {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-text-section p:last-child {
  margin-bottom: 0;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-accent);
  font-size: 0.8125rem;
  margin-left: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-ja);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.18);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select option {
  color: var(--color-text);
  background: var(--color-surface);
}

.btn-submit {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 16px 48px;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-message {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.contact-message-success {
  background: rgba(93, 172, 131, 0.2);
  border: 1px solid rgba(93, 172, 131, 0.5);
  color: #c8f0d8;
}

.contact-message-error {
  background: rgba(238, 128, 115, 0.2);
  border: 1px solid rgba(238, 128, 115, 0.5);
  color: #fdd;
}

/* --- Contact Page --- */
.contact-page-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-page-desc {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 40px;
  text-align: center;
}

.contact-page-form .form-group label {
  color: var(--color-text);
}

.contact-page-form .form-group label .required {
  color: var(--color-accent);
}

.contact-page-form .form-group input,
.contact-page-form .form-group textarea,
.contact-page-form .form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-ja);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: var(--transition);
}

.contact-page-form .form-group input::placeholder,
.contact-page-form .form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.5;
}

.contact-page-form .form-group input:focus,
.contact-page-form .form-group textarea:focus,
.contact-page-form .form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(54, 76, 151, 0.1);
}

.contact-page-form .form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit-page {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 48px;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-submit-page:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-page-form .contact-message {
  color: var(--color-text);
}

.contact-page-form .contact-message-success {
  background: rgba(93, 172, 131, 0.1);
  border: 1px solid rgba(93, 172, 131, 0.4);
  color: #2d7a4f;
}

.contact-page-form .contact-message-error {
  background: rgba(238, 128, 115, 0.1);
  border: 1px solid rgba(238, 128, 115, 0.4);
  color: #c0392b;
}

/* --- Sub Pages (Privacy / Recruit) --- */
.subpage-header {
  padding-top: 120px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  text-align: center;
}

.subpage-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
}

.subpage-body {
  padding: 80px 0;
}

.subpage-body .container {
  max-width: 1200px;
}

.subpage-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

.subpage-body h2:first-child {
  margin-top: 0;
}

.subpage-body p {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.subpage-body ul, .subpage-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.subpage-body li {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.subpage-body a {
  color: var(--color-primary);
}

.subpage-body a:hover {
  color: var(--color-accent);
}

/* 採用情報ページ */
.recruit-intro {
  font-size: 1.125rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 48px;
  text-align: left;
}

.recruit-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
}

.recruit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.recruit-table th {
  font-weight: 600;
  color: var(--color-primary);
  width: 140px;
  white-space: nowrap;
}

.recruit-table td {
  color: var(--color-text-light);
  line-height: 1.8;
}

.recruit-note {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
}

.recruit-note p {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text);
}

/* サブページ ナビ戻り */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding: 12px 24px;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .subpage-header {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .subpage-body {
    padding: 48px 0;
  }

  .recruit-card {
    padding: 24px;
  }

  .recruit-table th {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .recruit-table th {
    padding-bottom: 2px;
    border-bottom: none;
  }
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
  position: relative;
  margin-left: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--color-text);
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
}

.lang-btn .material-icons-outlined {
  font-size: 18px;
}

.lang-arrow {
  font-size: 16px !important;
  transition: transform 0.2s;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-current {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  list-style: none;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1001;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-dropdown li {
  margin: 0;
}

.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s;
  white-space: nowrap;
}

.lang-dropdown a:hover {
  background: var(--color-bg);
}

.lang-dropdown a.active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(54, 76, 151, 0.05);
}
body.theme-night .lang-dropdown a.active {
  color: var(--color-accent);
  background: rgba(106, 158, 200, 0.1);
}

/* ヘッダースクロール時の言語ボタン色調整 */
.header.scrolled .lang-btn {
  color: var(--color-text);
}

/* モバイルでの言語切替 */
@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    top: 12px;
    right: 56px;
    margin-left: 0;
    z-index: 1002;
  }

  .lang-current {
    display: none;
  }

  .lang-arrow {
    display: none;
  }

  .lang-btn {
    padding: 6px 8px;
    border-color: transparent;
  }

  .lang-dropdown {
    right: -8px;
    top: calc(100% + 8px);
  }
}

/* ============================================
   記事詳細ページ
   ============================================ */

.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  margin-bottom: 16px;
}

.article-date {
  font-family: var(--font-en);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.article-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.article-body {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body strong,
.article-body b {
  font-weight: 700;
  color: var(--color-text);
}

.article-body a {
  color: var(--color-primary);
  transition: var(--transition);
}

.article-body a:hover {
  color: var(--color-accent);
}

.article-body .ql-size-small {
  font-size: 0.75em;
}

.article-body .ql-size-large {
  font-size: 1.5em;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 24px 0;
}

.article-back {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.article-back .back-to-top {
  text-decoration: none;
}

@media (max-width: 768px) {
  .article-title {
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-back {
    margin-top: 40px;
    padding-top: 24px;
  }
}
