/* ============================================================
   MemoLink WordPress Theme CSS
   対象テーマ：Twenty Twenty-Four 子テーマ or SWELLカスタム
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;500&display=swap');

/* ============================================================
   WordPress・親テーマ干渉リセット
   （白背景・余白・ブロックエディタスタイルを無効化）
   ============================================================ */

/* 管理バー分の margin-top をリセット */
html.wp-toolbar { padding-top: 0 !important; }
* { margin-top: 0 !important; }  /* wp-toolbar が body に付ける余白を除去 */

/* Twenty Twenty-Four が付けるデフォルト背景・余白・フォントをリセット */
body,
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
.wp-block-group,
.wp-block-template-part,
main,
article {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  color: inherit !important;
}

/* ブロックエディタが挿入するpadding-topをリセット */
.wp-block-post-content > *:first-child { margin-top: 0 !important; }

/* Twenty Twenty-Four の白背景・コンテナ幅リセット */
:where(.wp-site-blocks) > * { padding: 0 !important; margin: 0 !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ヘッダーとコンテンツの間の白い隙間を除去 */
body { padding-top: 68px !important; }  /* ml-header の高さ分だけ確保 */
.wp-site-blocks { padding-top: 0 !important; }

/* WordPressデフォルトのh1-h6余白リセット */
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }
p { margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ─── Variables ─── */
:root {
  --navy:       #0a1628;
  --navy-mid:   #122040;
  --navy-light: #1e3358;
  --gold:       #c9a84c;
  --gold-light: #e0c070;
  --gold-pale:  #f4e8c1;
  --ivory:      #faf8f3;
  --white:      #ffffff;
  --gray-50:    #f9f9f7;
  --gray-100:   #f0efe9;
  --gray-200:   #e0ddd5;
  --gray-400:   #9e9b92;
  --gray-600:   #6b6860;
  --text:       #1e1c16;
  --radius:     2px;
  --transition: 0.3s ease;
  --shadow:     0 4px 32px rgba(10,22,40,0.08);
  --shadow-lg:  0 12px 48px rgba(10,22,40,0.14);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* ─── Layout ─── */
.ml-container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.ml-section   { padding: 96px 0; }

/* ─── Typography ─── */
.ml-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ml-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.ml-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 20px;
}
.ml-lead {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  max-width: 600px;
  margin-bottom: 56px;
}

/* ─── Buttons ─── */
.ml-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.ml-btn::after { content: '→'; font-size: 14px; transition: transform var(--transition); }
.ml-btn:hover::after { transform: translateX(4px); }

.ml-btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.ml-btn-primary:hover { background: var(--gold-light); }

.ml-btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  background: transparent;
}
.ml-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.ml-btn-outline-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.ml-btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ─── Fade-in animation ─── */
.ml-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ml-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ml-fade-delay-1 { transition-delay: 0.1s; }
.ml-fade-delay-2 { transition-delay: 0.2s; }
.ml-fade-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   HEADER
   ============================================================ */
.ml-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  height: 68px;
  display: flex;
  align-items: center;
}
.ml-header-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ml-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ml-logo-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
}
.ml-logo-text { display: flex; flex-direction: column; }
.ml-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.2;
}
.ml-logo-sub {
  font-size: 9px;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-weight: 300;
}

/* ── ロゴ画像マーク（Mアイコン） ── */
.ml-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ml-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  /* 背景透過済みPNG：ネイビー背景にそのままなじむ */
  filter: drop-shadow(0 1px 4px rgba(201,168,76,0.2));
  transition: filter var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.ml-logo:hover .ml-logo-img {
  filter: drop-shadow(0 2px 10px rgba(201,168,76,0.45));
  transform: scale(1.05);
}

/* フッター内のロゴ画像はやや小さく */
.ml-footer .ml-logo-img {
  height: 40px;
}

/* フッタータグライン */
.ml-footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1.5px;
  margin-top: 12px;
}
.ml-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.ml-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.8px;
  font-weight: 300;
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}
.ml-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.ml-nav a:hover { color: var(--gold-light); }
.ml-nav a:hover::after, .ml-nav a.is-active::after { transform: scaleX(1); }
.ml-nav a.is-active { color: var(--gold-light); }
.ml-nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 1px;
  transition: all var(--transition) !important;
}
.ml-nav-cta::after { display: none !important; }
.ml-nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.ml-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ml-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all var(--transition);
}

/* ─── Mobile menu ─── */
.ml-mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(10,22,40,0.98);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 32px 40px;
  z-index: 999;
}
.ml-mobile-menu.is-open { display: flex; flex-direction: column; gap: 20px; }
.ml-mobile-menu a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ─── Page offset for fixed header ─── */
body { padding-top: 68px; }

/* ============================================================
   HERO
   ============================================================ */
.ml-hero {
  min-height: calc(100vh - 68px);
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ml-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 85% 50%, rgba(30,51,88,0.9) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(201,168,76,0.05) 0%, transparent 55%);
}
.ml-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.ml-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ml-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: heroFadeIn 1s 0.2s both;
}
.ml-hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.ml-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: heroFadeIn 1s 0.35s both;
}
.ml-hero-title em {
  font-style: normal;
  color: var(--gold-light);
  display: block;
}
.ml-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 2.1;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 44px;
  animation: heroFadeIn 1s 0.5s both;
}
.ml-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 1s 0.65s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero visual: rotating emblem */
.ml-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: heroFadeIn 1.2s 0.4s both;
}
.ml-emblem-outer {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotateSlow 36s linear infinite;
}
.ml-emblem-outer::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(201,168,76,0.1);
  border-radius: 50%;
}
.ml-emblem-inner {
  text-align: center;
  animation: rotateSlow 36s linear infinite reverse;
}
.ml-emblem-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 500;
  color: #e8c96a;
  opacity: 1;
  line-height: 1;
  text-shadow: 0 0 24px rgba(232,201,106,0.5), 0 2px 8px rgba(0,0,0,0.3);
}
.ml-emblem-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(201,168,76,0.45);
  text-transform: uppercase;
  margin-top: 8px;
}
.ml-emblem-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(201,168,76,0.08);
  border-radius: 50%;
  animation: rotateSlow 60s linear infinite reverse;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.ml-page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.ml-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(30,51,88,0.8) 0%, transparent 65%);
}
.ml-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
.ml-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.ml-breadcrumb a, .ml-breadcrumb span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}
.ml-breadcrumb a:hover { color: var(--gold); }
.ml-breadcrumb .sep { color: rgba(255,255,255,0.2); }
.ml-page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.ml-page-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  max-width: 560px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

/* About preview */
.ml-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ml-about-text p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2.2;
  margin-bottom: 18px;
}
.ml-about-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 2px solid var(--gold);
  background: rgba(201,168,76,0.03);
}
.ml-about-quote p {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  line-height: 2;
  margin: 0;
}
.ml-about-visual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ml-visual-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.ml-visual-card:hover { border-color: var(--gold); transform: translateX(4px); }
.ml-visual-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold-pale);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}
.ml-visual-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 6px;
}
.ml-visual-card p {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.9;
}

/* Services grid */
.ml-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-200);
  margin-top: 0;
}
.ml-service-card {
  background: var(--white);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}
.ml-service-card:hover { transform: translateY(-3px); }
.ml-service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-pale);
  transition: background var(--transition);
}
.ml-service-card:hover::after { background: var(--gold); }
.ml-service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 24px;
}
.ml-service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.ml-service-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 2.1;
  margin-bottom: 28px;
}
.ml-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.ml-service-tag {
  font-size: 11px;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ml-service-tag::before { content: '✓'; color: var(--gold); font-size: 10px; }
.ml-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  transition: gap var(--transition);
}
.ml-service-link::after { content: '→'; }
.ml-service-link:hover { gap: 14px; }

/* Strengths */
.ml-strengths-section { background: var(--navy); }
.ml-strengths-section .ml-heading { color: var(--white); }
.ml-strengths-section .ml-lead { color: rgba(255,255,255,0.45); }
.ml-strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 56px;
}
.ml-strength-item {
  background: var(--navy);
  padding: 40px 28px;
  transition: background var(--transition);
}
.ml-strength-item:hover { background: var(--navy-mid); }
.ml-strength-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: rgba(201,168,76,0.12);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}
.ml-strength-item h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 12px;
}
.ml-strength-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 2;
}

/* Problems / Concerns */
.ml-concerns-section { background: var(--gray-50); }
.ml-concerns-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--gray-200);
  max-width: 720px;
}
.ml-concern-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background var(--transition);
}
.ml-concern-item:last-child { border-bottom: none; }
.ml-concern-item:hover { background: var(--ivory); }
.ml-concern-check {
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--gold);
}
.ml-concern-item p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
}
.ml-concerns-closing {
  margin-top: 40px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  max-width: 720px;
  text-align: center;
}
.ml-concerns-closing p {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--navy);
  font-weight: 400;
  line-height: 2;
}

/* Flow */
.ml-flow-section { background: var(--white); }
.ml-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.ml-flow-step {
  padding: 0 20px 40px;
  text-align: center;
  position: relative;
}
.ml-flow-step::after {
  content: '→';
  position: absolute;
  top: 28px;
  right: -10px;
  font-size: 16px;
  color: var(--gold-pale);
  z-index: 1;
}
.ml-flow-step:last-child::after { display: none; }
.ml-step-circle {
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  background: var(--white);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.ml-flow-step:hover .ml-step-circle {
  border-color: var(--gold);
  background: var(--navy);
}
.ml-step-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.ml-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--navy);
  font-weight: 300;
  line-height: 1.2;
  transition: color var(--transition);
}
.ml-flow-step:hover .ml-step-num { color: var(--white); }
.ml-flow-step h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px;
}
.ml-flow-step p {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.9;
}

/* Message / CTA band */
.ml-message-section {
  background: var(--navy-mid);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ml-message-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(30,51,88,0.6) 0%, transparent 70%);
}
.ml-message-section .ml-container { position: relative; z-index: 1; }
.ml-message-ornament {
  font-family: 'Cormorant Garamond', serif;
  font-size: 100px;
  color: rgba(201,168,76,0.05);
  font-weight: 300;
  line-height: 1;
  margin-bottom: -36px;
  letter-spacing: -2px;
}
.ml-message-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--white);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 28px;
}
.ml-message-body {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 2.2;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* CTA Banner */
.ml-cta-banner {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.ml-cta-banner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--white);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.ml-cta-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  margin-bottom: 36px;
}
.ml-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Company table */
.ml-company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.ml-company-table tr { border-bottom: 1px solid var(--gray-200); }
.ml-company-table tr:first-child { border-top: 1px solid var(--gray-200); }
.ml-company-table th {
  width: 200px;
  padding: 20px 24px;
  text-align: left;
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
  letter-spacing: 0.8px;
  background: var(--gray-50);
  vertical-align: top;
}
.ml-company-table td {
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text);
  font-weight: 300;
  line-height: 1.9;
}

/* FAQ */
.ml-faq-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ml-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.ml-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 2px;
}
.ml-faq-q {
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  cursor: default;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.ml-faq-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  padding-top: 4px;
  grid-row: span 2;
  display: flex;
  align-items: flex-start;
}
.ml-faq-q-label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 6px;
  display: block;
}
.ml-faq-q-text {
  font-size: 18px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.65;
  display: block;
}
.ml-faq-a-wrap {
  padding: 28px 36px 32px calc(48px + 56px);
}
.ml-faq-a-label {
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 8px;
  display: block;
}
.ml-faq-a {
  padding: 0;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2.1;
}

/* Contact */
.ml-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 56px;
}
.ml-contact-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.ml-contact-info p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 20px;
}
.ml-contact-note {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 2;
  padding: 16px;
  border-left: 2px solid var(--gold-pale);
  background: var(--gray-50);
}
.ml-form { display: flex; flex-direction: column; gap: 20px; }
.ml-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ml-form-group { display: flex; flex-direction: column; gap: 7px; }
.ml-form-group label {
  font-size: 12px;
  color: var(--gray-600);
  letter-spacing: 0.5px;
}
.ml-form-group label .req { color: var(--gold); margin-left: 4px; }
.ml-form-group input,
.ml-form-group select,
.ml-form-group textarea {
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  border-radius: 0;
}
.ml-form-group input:focus,
.ml-form-group select:focus,
.ml-form-group textarea:focus { border-color: var(--gold); }
.ml-form-group textarea { min-height: 120px; resize: vertical; }
.ml-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.6;
}
.ml-form-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.ml-btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  font-size: 13px;
  letter-spacing: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}
.ml-btn-submit:hover { background: var(--navy-light); }

/* Values list (About page) */
.ml-values-list { display: flex; flex-direction: column; gap: 0; }
.ml-value-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.ml-value-item:first-child { border-top: 1px solid var(--gray-200); }
.ml-value-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--gold-pale);
  font-weight: 300;
  min-width: 44px;
  line-height: 1;
}
.ml-value-content h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 6px;
}
.ml-value-content p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ml-footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.ml-footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ml-footer-brand .ml-logo { margin-bottom: 16px; }
.ml-footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1.5px;
}
.ml-footer-cols {
  display: flex;
  gap: 64px;
}
.ml-footer-col h5 {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ml-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ml-footer-col ul li a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.ml-footer-col ul li a:hover { color: var(--gold-light); }
.ml-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.ml-copyright {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}
.ml-privacy-link {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.ml-privacy-link:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ml-container { padding: 0 24px; }
  .ml-section { padding: 64px 0; }
  .ml-nav { display: none; }
  .ml-hamburger { display: flex; }
  .ml-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .ml-hero-visual { display: none; }
  .ml-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .ml-services-grid { grid-template-columns: 1fr; }
  .ml-strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-flow-step::after { display: none; }
  .ml-contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .ml-form-row { grid-template-columns: 1fr; }
  .ml-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .ml-footer-cols { gap: 40px; }
  .ml-page-hero { padding: 56px 0 48px; }
  .ml-logo-img { height: 38px; }
  .ml-footer .ml-logo-img { height: 34px; }
}
@media (max-width: 600px) {
  .ml-hero-title { font-size: 28px; }
  .ml-strengths-grid { grid-template-columns: 1fr; }
  .ml-flow-grid { grid-template-columns: 1fr; }
  .ml-footer-cols { flex-direction: column; gap: 32px; }
  .ml-hero-btns { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SVGビジュアル（サービスカード用イメージ）
   ============================================================ */
.sv-img-wrap {
  width: 100%;
  aspect-ratio: 17 / 10;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 2px;
  background: var(--navy);
}
.sv-img-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   services.html 詳細ページ用スタイル
   ============================================================ */
.sv-detail { padding: 80px 0; border-bottom: 1px solid var(--gray-200); }
.sv-detail:last-of-type { border-bottom: none; }
.sv-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.sv-detail-inner.reverse { direction: rtl; }
.sv-detail-inner.reverse > * { direction: ltr; }
.sv-detail-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  color: var(--gold-pale);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
}
.sv-detail h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.sv-detail p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2.2;
  margin-bottom: 16px;
}
.sv-recommend {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 28px 32px;
  margin-top: 28px;
}
.sv-recommend h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sv-recommend h4::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.sv-recommend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sv-recommend ul li {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.8;
}
.sv-recommend ul li::before {
  content: '✓';
  color: var(--gold);
  font-size: 11px;
  margin-top: 3px;
  flex-shrink: 0;
}
.sv-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sv-feature {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px 32px;
  transition: border-color .3s, transform .3s;
}
.sv-feature:hover { border-color: var(--gold); transform: translateX(4px); }
.sv-feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold-pale);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}
.sv-feature h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px;
}
.sv-feature p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
  margin: 0;
}

/* services.html AIOセクション（ダーク背景） */
#aio .sv-detail { border-bottom-color: rgba(255,255,255,0.08); }
#aio .sv-detail h2 { color: var(--white); }
#aio .sv-detail p  { color: rgba(255,255,255,0.6); }
#aio .sv-recommend { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
#aio .sv-recommend h4 { color: var(--gold-light); }
#aio .sv-recommend ul li { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .sv-detail-inner         { grid-template-columns: 1fr; gap: 40px; }
  .sv-detail-inner.reverse { direction: ltr; }
}

/* ============================================================
   ドロップダウンナビゲーション
   ============================================================ */
.ml-nav-dropdown {
  position: relative;
  /* ホバー領域を拡張してメニューまで繋げる */
  padding-bottom: 20px;
  margin-bottom: -20px;
}
.ml-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.8px;
  font-weight: 300;
  white-space: nowrap;
  transition: color var(--transition);
  text-decoration: none;
  position: relative;
  line-height: 1.8;
}
.ml-nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.ml-nav-dropdown:hover .ml-nav-dropdown-trigger,
.ml-nav-dropdown-trigger.is-active {
  color: var(--gold-light);
}
.ml-nav-dropdown:hover .ml-nav-dropdown-trigger::after,
.ml-nav-dropdown-trigger.is-active::after {
  transform: scaleX(1);
}
.ml-nav-arrow {
  font-size: 9px;
  transition: transform var(--transition);
  display: inline-block;
}
.ml-nav-dropdown:hover .ml-nav-arrow {
  transform: rotate(180deg);
}

/* ドロップダウンメニュー本体 */
.ml-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0px); /* padding-bottomで隙間を埋める */
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 260px;
  background: rgba(10,22,40,0.99);
  border: 1px solid rgba(201,168,76,0.25);
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 500;
}
/* ホバーで開く（マウスがdropdown全体にある間は維持） */
.ml-nav-dropdown:hover .ml-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ドロップダウン 三角形 */
.ml-nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--gold);
}

/* ドロップダウン 各リンク */
.ml-nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  color: rgba(255,255,255,0.8) !important;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 300;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  text-decoration: none;
  line-height: 1.5;
}
.ml-nav-dropdown-menu a:last-child { border-bottom: none; }
.ml-nav-dropdown-menu a::after { display: none !important; }
.ml-nav-dropdown-menu a:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light) !important;
  padding-left: 28px;
}
.ml-dd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: rgba(201,168,76,0.45);
  font-weight: 300;
  min-width: 28px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.ml-dd-text {
  line-height: 1.7;
  font-size: 12px;
}
.ml-nav-dropdown-menu a:hover .ml-dd-num {
  color: var(--gold);
}

/* モバイル：サブメニュー */
.ml-mobile-submenu-wrap { display: flex; flex-direction: column; }
.ml-mobile-parent {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ml-mobile-submenu { display: flex; flex-direction: column; }
.ml-mobile-submenu a {
  font-size: 12px !important;
  color: rgba(255,255,255,0.55) !important;
  padding: 8px 0 8px 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  letter-spacing: 0.3px;
}
.ml-mobile-submenu a:last-child { border-bottom: none !important; }
