/* ==========================================================
   Miyavi laboratory デザインCSS（Cocoon 用） v2
   白ベース × ネイビー・スカイブルー × ピンクの分子モチーフ
   ========================================================== */

:root {
  --ml-navy: #0B4A66;
  --ml-navy-deep: #0A3247;
  --ml-teal: #3D9BC7;
  --ml-sky: #7FD6F7;
  --ml-sky-soft: #E8F6FC;
  --ml-pink: #E8728A;
  --ml-magenta: #A3266B;
  --ml-pink-soft: #FBE9EE;
  --ml-text: #23323D;
  --ml-muted: #6B7F8C;
  --ml-rule: #8FB3C6;
  --ml-rule-soft: #D9E6ED;
  --ml-bg: #FFFFFF;
  --ml-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ml-en: "Jost", "Futura", "Century Gothic", sans-serif;
  --ml-grad-blue: radial-gradient(circle at 30% 28%, #86DAF8, #0E4D6E 78%);
  --ml-grad-pink: radial-gradient(circle at 30% 28%, #F7A1A1, #9B1F5E 78%);
  --ml-grad-text: linear-gradient(90deg, #E8728A 0%, #C2447A 38%, #8CCDE8 72%, #5BB8DF 100%);
  --ml-barrel: 36px / 50%;
}

/* ----------------------------------------------------------
   サイト全体（Cocoon のヘッダー・ナビ・フッター）
   ---------------------------------------------------------- */
body {
  font-family: var(--ml-font);
  font-weight: 400;
  color: var(--ml-text);
  background: var(--ml-bg);
}

#header-container,
#header-container .header,
#header,
#navi,
#navi .navi-in {
  background: var(--ml-bg);
}
#header-container-in {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--ml-rule);
}

/* ロゴ：分子マーク ＋ グラデーション文字「MiyaviLab」 */
.logo-header a,
.logo-footer a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-header a {
  padding-right: 32px;
  border-right: 1px solid var(--ml-rule-soft);
}
.logo-header a::before,
.logo-footer a::before {
  content: "";
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  background: url(logo-mark.svg?v=2) center / contain no-repeat;
}
.logo-header .site-name-text,
.logo-footer .site-name-text {
  font-size: 0;
  line-height: 1;
}
.logo-header .site-name-text::before,
.logo-footer .site-name-text::before {
  content: "MiyaviLab";
  font-family: var(--ml-en);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.01em;
  background: var(--ml-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* グローバルナビ：｜ About ｜ Service … */
#navi .navi-in a {
  color: var(--ml-teal);
  font-family: var(--ml-en);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.02em;
}
#navi .navi-in > ul > li {
  height: 88px;
  line-height: 88px;
}
#navi .navi-in > ul > li > a {
  height: 88px;
  padding: 0 14px;
}
#navi .navi-in > ul > li > a::before {
  content: "|";
  margin-right: 10px;
  color: var(--ml-rule);
  font-weight: 300;
}
#navi .navi-in a:hover {
  background: transparent;
  color: var(--ml-navy);
}
#navi .navi-in > ul > li > .sub-menu { top: 100%; }
#navi .navi-in > ul .sub-menu {
  min-width: 220px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--ml-rule-soft);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(11, 74, 102, 0.12);
  z-index: 100;
}
#navi .navi-in > ul .sub-menu li {
  width: 100%;
  height: auto;
  line-height: 1.4;
  background: transparent;
}
#navi .navi-in > ul .sub-menu a {
  display: block;
  height: auto;
  padding: 12px 14px;
  border-radius: 8px;
  background: transparent;
  font-family: var(--ml-font);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}
#navi .navi-in > ul .sub-menu a::before { content: none; }
#navi .navi-in > ul .sub-menu a:hover { background: var(--ml-sky-soft); }

/* フッター */
#footer,
.footer {
  background: var(--ml-bg);
  color: var(--ml-teal);
}
#footer-in,
.footer-in {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--ml-rule);
}
#footer a,
.footer a,
.navi-footer-in a {
  color: var(--ml-teal);
  background: transparent;
  text-decoration: none;
}
#footer a:hover,
.footer a:hover {
  color: var(--ml-navy);
  background: transparent;
}
.navi-footer-in a { font-size: 16px; }
.copyright {
  font-family: var(--ml-en);
  font-weight: 300;
  font-size: 16px;
  color: var(--ml-teal);
  text-align: center;
}

/* ----------------------------------------------------------
   デザインパーツを使うページ：Cocoon のタイトル・日付などを隠す
   ---------------------------------------------------------- */
html:has(.ml-section),
.ml-front {
  overflow-x: clip;
}
.ml-front .main,
.ml-front #main {
  padding: 0;
  border: none;
  background: transparent;
}
.ml-front .article-header,
.ml-front .article-footer,
.ml-front .breadcrumb,
.ml-front .entry-title,
.ml-front .date-tags,
.ml-front .sns-share,
.ml-front .sns-follow,
.ml-front .author-info,
.ml-front .under-entry-content {
  display: none;
}
.ml-front .article { margin-bottom: 0; }
.ml-front .content,
.ml-front #content { margin-top: 0; }

/* ----------------------------------------------------------
   セクション共通
   ---------------------------------------------------------- */
.ml-section {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 0 -50vw !important;
  padding: 110px 24px;
  box-sizing: border-box;
  background: var(--ml-bg);
  font-family: var(--ml-font);
  color: var(--ml-text);
}
.ml-section *,
.ml-section *::before,
.ml-section *::after { box-sizing: border-box; }
.ml-inner {
  max-width: 1080px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cocoon の見出し装飾をリセット */
.article .ml-section h1,
.article .ml-section h2,
.article .ml-section h3,
.ml-section h1,
.ml-section h2,
.ml-section h3 {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ml-text);
  font-family: var(--ml-font);
  font-weight: 400;
  line-height: 1.5;
}
.article .ml-section h1::before, .article .ml-section h1::after,
.article .ml-section h2::before, .article .ml-section h2::after,
.article .ml-section h3::before, .article .ml-section h3::after { content: none; }
.article .ml-section p,
.ml-section p { margin: 0; }
.ml-section .wp-block-columns { margin-bottom: 0; }
.ml-section a { text-decoration: none; }
.ml-section .wp-block-image { margin: 0; }

/* 英字の見出し（About / Service / Flow …） */
.article .ml-section .ml-en-title,
.ml-section .ml-en-title {
  font-family: var(--ml-en);
  font-weight: 300;
  font-size: 34px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ml-teal);
}

/* 下層ページの見出し（Works / Contact / News …） */
.ml-page-head,
.ml-price-head { padding-top: 90px; padding-bottom: 50px; }
.ml-page-head .ml-label,
.ml-price-head .ml-label {
  font-family: var(--ml-en);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.15;
  color: var(--ml-teal);
}
.article .ml-section .ml-title--page,
.ml-section .ml-title--page {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ml-navy);
}
.ml-page-head .ml-sub,
.ml-price-head .ml-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--ml-muted);
}
.ml-page-head .ml-inner,
.ml-price-head .ml-inner {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ml-rule);
}

/* ネイビーの丸ボタン（MORE） */
.ml-pill-wrap { margin-top: 48px; }
.ml-pill .wp-block-button__link {
  display: inline-block;
  min-width: 206px;
  padding: 7px 40px;
  background: var(--ml-navy) !important;
  border: none;
  border-radius: 999px;
  color: #FFFFFF !important;
  font-family: var(--ml-en);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  transition: background 0.2s;
}
.ml-pill .wp-block-button__link:hover { background: var(--ml-teal) !important; }

/* 線と点つきの小さなボタン（More） */
.ml-more-wrap { margin-top: 26px; }
.ml-more-wrap--center { justify-content: center; margin-top: 40px; }
.ml-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ml-more .wp-block-button__link {
  position: relative;
  display: inline-block;
  min-width: 140px;
  padding: 4px 30px;
  background: #FFFFFF !important;
  border: 1px solid var(--ml-navy);
  border-radius: var(--ml-barrel);
  color: var(--ml-navy) !important;
  font-family: var(--ml-en);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.ml-more .wp-block-button__link:hover {
  background: var(--ml-navy) !important;
  color: #FFFFFF !important;
}
/* 左側に「●―」 */
.ml-more::before {
  content: "";
  width: 38px;
  height: 1px;
  margin-left: 8px;
  background: var(--ml-navy);
  order: -1;
}
.ml-more::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--ml-navy);
}
.ml-more-wrap--center .ml-more::before,
.ml-more-wrap--center .ml-more::after { content: none; }

/* ----------------------------------------------------------
   メインビジュアル
   ---------------------------------------------------------- */
.ml-hero { padding-top: 90px; padding-bottom: 120px; }
.ml-hero-cols { align-items: center !important; gap: 40px; }
.ml-hero-text { flex: 1 1 52% !important; }
.ml-hero-art { flex: 1 1 48% !important; display: flex; justify-content: center; }
.article .ml-section .ml-hero-title,
.ml-section .ml-hero-title {
  font-weight: 300;
  font-size: 38px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  color: var(--ml-navy);
}
.ml-section .ml-hero-lead {
  margin-top: 26px;
  font-size: 15px;
  line-height: 2;
  color: var(--ml-muted);
}
.ml-mol { width: 100%; max-width: 420px; }
.ml-mol svg { display: block; width: 100%; height: auto; overflow: visible; }
.ml-mol g { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ml-mol-a { animation: ml-float 7s ease-in-out infinite; }
  .ml-mol-b { animation: ml-float 6s ease-in-out -2s infinite; }
  .ml-mol-c { animation: ml-float 8s ease-in-out -4s infinite; }
  .ml-mol-d { animation: ml-float 7.5s ease-in-out -1s infinite; }
}
@keyframes ml-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -6px); }
}

/* ----------------------------------------------------------
   About / News：細い円と点のモチーフ
   ---------------------------------------------------------- */
.ml-about { padding-top: 40px; padding-bottom: 40px; }
.ml-news-section { padding-top: 40px; padding-bottom: 80px; }
.ml-orbit {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
}
.ml-orbit > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
}
.ml-orbit-deco {
  position: absolute;
  top: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
}
.ml-orbit-deco--blue { left: 0; }
.ml-orbit-deco--pink { right: 40px; }
.ml-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #8CD3EF;
}
.ml-orbit-deco--pink .ml-orbit-ring { border-color: #D9708F; }
/* 円の途中を白で切る（見出し・文章の入口） */
.ml-orbit-deco::before,
.ml-orbit-deco::after {
  content: "";
  position: absolute;
  z-index: 1;
  background: var(--ml-bg);
}
.ml-orbit-deco--blue::before { left: 10px; top: 60px; width: 150px; height: 70px; }
.ml-orbit-deco--blue::after { right: -6px; top: 230px; width: 40px; height: 160px; }
.ml-orbit-deco--pink::before { left: 30px; top: 40px; width: 160px; height: 70px; }
.ml-orbit-deco--pink::after { left: -6px; top: 200px; width: 40px; height: 150px; }
.ml-orbit-deco i {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--ml-grad-blue);
}
.ml-orbit-deco--pink i { background: var(--ml-grad-pink); }
/* 円周上の点（円の中心 260,260／半径 260 の上に置く） */
.ml-orbit-deco--blue i:nth-of-type(1) { width: 12px; height: 12px; left: -3px; top: 218px; }
.ml-orbit-deco--blue i:nth-of-type(2) { width: 14px; height: 14px; left: -2px; top: 303px; }
.ml-orbit-deco--blue i:nth-of-type(3) { width: 16px; height: 16px; left: 32px; top: 390px; }
.ml-orbit-deco--blue i:nth-of-type(4) { width: 18px; height: 18px; left: 102px; top: 464px; }
.ml-orbit-deco--pink i:nth-of-type(1) { width: 11px; height: 11px; left: 510px; top: 205px; }
.ml-orbit-deco--pink i:nth-of-type(2) { width: 13px; height: 13px; left: 511px; top: 290px; }
.ml-orbit-deco--pink i:nth-of-type(3) { width: 15px; height: 15px; left: 480px; top: 379px; }
.ml-orbit-deco--pink i:nth-of-type(4) { width: 18px; height: 18px; left: 385px; top: 474px; }

.article .ml-section .ml-orbit-title,
.ml-section .ml-orbit-title {
  position: absolute;
  z-index: 2;
  font-size: 30px;
}
.ml-orbit--about .ml-orbit-title { left: 30px; top: 70px; }
.ml-orbit--news .ml-orbit-title { right: 420px; top: 50px; }
.article .ml-section .ml-orbit--news .ml-orbit-title,
.ml-orbit--news .ml-orbit-title {
  background: linear-gradient(90deg, #E8728A, #A3266B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ml-orbit-body {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.ml-orbit--about .ml-orbit-body { margin-left: 300px; }
.ml-orbit--news .ml-orbit-body { margin-left: auto; margin-right: 360px; }
.ml-section .ml-orbit-text {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}
.ml-section .ml-orbit-text + .ml-orbit-text { margin-top: 16px; }

/* お知らせ一覧（[ml_news]） */
.ml-news-list,
.article .ml-section .ml-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article .ml-section .ml-news-list li,
.ml-news-list li { margin: 0; padding: 0; list-style: none; }
.ml-news-list a {
  display: flex;
  gap: 4px 14px;
  flex-wrap: wrap;
  padding: 4px 0;
  color: var(--ml-text) !important;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.ml-news-list a:hover .ml-news-title { color: var(--ml-magenta); }
.ml-news-list time { font-family: var(--ml-font); }
.ml-news-cat,
.ml-news-go { display: none; }
.ml-news-empty { font-size: 15px; color: var(--ml-muted); }
.ml-news-more { margin-top: 18px; }
.ml-news-more a {
  color: var(--ml-magenta) !important;
  font-family: var(--ml-en);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.ml-news-more a::after { content: " →"; }
/* お知らせ一覧ページでは区切り線を入れる */
.ml-legal .ml-news-list li + li { border-top: 1px solid var(--ml-rule-soft); }
.ml-legal .ml-news-list a { padding: 18px 4px; }

/* ----------------------------------------------------------
   Service
   ---------------------------------------------------------- */
.ml-service { padding-top: 80px; }
.ml-svc-row {
  align-items: center !important;
  gap: 80px;
  margin-top: 70px;
}
.ml-service .ml-en-title + .ml-svc-row { margin-top: 50px; }
.ml-svc-row--rev { flex-direction: row-reverse; }
.ml-svc-media { flex: 0 0 380px !important; }
.ml-svc-body { flex: 1 1 auto !important; }
.ml-section .ml-svc-img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(11, 74, 102, 0.16);
}
.ml-section .ml-svc-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article .ml-section .ml-svc-title,
.ml-section .ml-svc-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ml-text);
}
.ml-section .ml-svc-text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--ml-muted);
}
/* 画像が右にある行は、More の線を右側に */
.ml-svc-row--rev .ml-more::before { order: 2; margin: 0 8px 0 0; }
.ml-svc-row--rev .ml-more::after { left: auto; right: 0; }

/* ----------------------------------------------------------
   Works
   ---------------------------------------------------------- */
.ml-works-grid { margin-top: 50px; gap: 36px; }
.ml-work {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ml-section .ml-work-img {
  height: 300px;
  margin: 0 0 8px;
  overflow: hidden;
  background: var(--ml-sky-soft);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(11, 74, 102, 0.12);
}
.ml-section .ml-work-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ml-section .ml-work-img--pink { padding: 12px; background: var(--ml-pink-soft); }
.ml-section .ml-work-img--cover img { object-fit: cover; object-position: center top; }
.ml-section .ml-work-cat {
  font-family: var(--ml-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ml-teal);
}
.article .ml-section .ml-work-title,
.ml-section .ml-work-title { font-size: 19px; font-weight: 500; }
.ml-section .ml-work-text { font-size: 14px; line-height: 2; color: var(--ml-muted); }
.ml-section .ml-work-link { margin-top: auto; padding-top: 4px; font-size: 14px; }
.ml-section .ml-work-link a {
  color: var(--ml-navy) !important;
  font-family: var(--ml-en);
  border-bottom: 1px solid var(--ml-navy);
}
.ml-section .ml-work-link a::after { content: " ↗"; }
.ml-section .ml-works-note {
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  color: var(--ml-muted);
}

/* 制作実績ページ（一覧） */
.ml-works-page { padding-top: 10px; }
.ml-works-list,
.ml-works-list > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 36px;
}
.ml-works-list > .wp-block-group__inner-container { width: 100%; }
.ml-works-list .ml-work > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.ml-works-list .ml-work > *,
.ml-works-list .ml-work > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 0; }

/* ----------------------------------------------------------
   Flow：たる型のボックスを線と点でつなぐ
   ---------------------------------------------------------- */
.ml-flow-list,
.ml-flow-list > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  margin-top: 50px;
}
.ml-flow-step {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 30px 40px;
  border-radius: var(--ml-barrel);
  text-align: center;
}
.ml-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 52px;
  margin-left: -1px;
  background:
    radial-gradient(circle, var(--ml-navy) 0 5px, transparent 5.5px) center 30px / 12px 12px no-repeat,
    linear-gradient(var(--ml-navy), var(--ml-navy)) center / 2px 100% no-repeat;
  width: 12px;
  margin-left: -6px;
}
.ml-flow-step--1 { background: #FFFFFF; border: 1px solid var(--ml-navy); }
.ml-flow-step--2 { background: linear-gradient(90deg, #D6F1FB, #6FAFCE); }
.ml-flow-step--3 { background: linear-gradient(90deg, #A9DAEE, #3E7896); }
.ml-flow-step--4 { background: linear-gradient(90deg, #7DD3F7, #1A5E7E); }
.ml-flow-step--5 { background: linear-gradient(90deg, #2E86AE, #0D4A66); }
.article .ml-section .ml-flow-title,
.ml-section .ml-flow-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ml-section .ml-flow-text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
}
.ml-flow-step--3 .ml-flow-title,
.ml-flow-step--4 .ml-flow-title,
.ml-flow-step--5 .ml-flow-title,
.ml-flow-step--3 .ml-flow-text,
.ml-flow-step--4 .ml-flow-text,
.ml-flow-step--5 .ml-flow-text { color: #FFFFFF !important; }

/* ----------------------------------------------------------
   Price
   ---------------------------------------------------------- */
.ml-price-groups {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 940px;
  margin: 56px auto 0;
}
.article .ml-section .ml-price-cat,
.ml-section .ml-price-cat {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ml-rule);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.ml-price-list,
.article .ml-section .ml-price-list { margin: 0; padding: 0; }
.ml-price-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 6px;
}
.ml-price-list dt {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
.ml-price-list dt small {
  display: block;
  font-size: 11px;
  color: var(--ml-muted);
}
.ml-price-list dd {
  flex-shrink: 0;
  margin: 0;
  font-family: var(--ml-en);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ml-section .ml-price-note {
  max-width: 940px;
  margin: 48px auto 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ml-muted);
}

/* ----------------------------------------------------------
   Company
   ---------------------------------------------------------- */
.ml-company-table,
.ml-table,
.article .ml-section .ml-company-table,
.article .ml-section .ml-table {
  max-width: 820px;
  margin: 56px auto 0;
  padding: 0;
}
.ml-company-table > div,
.ml-table > div {
  display: flex;
  gap: 24px;
  padding: 10px 0;
}
.ml-company-table dt,
.ml-table dt {
  flex-shrink: 0;
  width: 120px;
  margin: 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
}
.ml-company-table dd,
.ml-table dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}
.ml-company-table a {
  color: var(--ml-text) !important;
  text-decoration: underline !important;
}

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.ml-contact { padding-bottom: 90px; }
.ml-barrels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 980px;
  margin: 56px auto 0;
}
.ml-barrel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 164px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--ml-navy);
  border-radius: 40px / 50%;
  color: var(--ml-navy) !important;
  transition: background 0.25s, color 0.25s;
}
.ml-barrel-en {
  font-family: var(--ml-en);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ml-teal);
}
.ml-barrel-ja { font-size: 15px; letter-spacing: 0.1em; }
.ml-barrel:hover {
  background: linear-gradient(90deg, #2E86AE, #0D4A66);
  color: #FFFFFF !important;
}
.ml-barrel:hover .ml-barrel-en { color: #CDEFFB; }

/* ----------------------------------------------------------
   下層ページ共通（法務・お知らせ一覧・フォーム）
   ---------------------------------------------------------- */
.ml-legal { padding-top: 10px; padding-bottom: 100px; }
.ml-legal-inner { max-width: 880px; }
.ml-legal-table { margin-top: 0; font-size: 15px; }
.ml-legal-table dt { width: 180px; }
.ml-legal .ml-table > div { padding: 16px 0; border-bottom: 1px solid var(--ml-rule-soft); }
.ml-legal a { color: var(--ml-navy); text-decoration: underline; }
.article .ml-section .ml-legal-doc h3,
.ml-legal-doc h3 {
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ml-rule);
  font-size: 18px;
  font-weight: 500;
}
.article .ml-section .ml-legal-doc p,
.ml-legal-doc p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 2;
}
.article .ml-section .ml-legal-doc > p:first-child,
.ml-legal-doc > .wp-block-group__inner-container > p:first-child { margin-top: 0; }
.article .ml-section .ml-legal-doc .ml-legal-date { margin-top: 40px; text-align: right; font-size: 14px; }

/* お問い合わせフォーム（Contact Form 7） */
.ml-form-card { padding: 0; }
.article .ml-section .ml-form-notes,
.ml-form-notes {
  margin: 0 0 36px;
  padding: 18px 24px 18px 40px;
  background: var(--ml-sky-soft);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.9;
}
.article .ml-section .ml-form-notes li { margin: 0; }
.ml-req,
.ml-opt {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  vertical-align: middle;
}
.ml-req { background: var(--ml-magenta); color: #FFFFFF; }
.ml-opt { background: #EEF3F6; color: var(--ml-muted); }
.ml-form { display: flex; flex-direction: column; gap: 28px; }
.ml-form p { margin: 0; }
.ml-field > label { display: flex; flex-direction: column; gap: 10px; }
.ml-field-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.ml-form .wpcf7-form-control-wrap { display: block; }
.ml-form input[type="text"],
.ml-form input[type="email"],
.ml-form input[type="tel"],
.ml-form select,
.ml-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: #FFFFFF;
  border: 1px solid var(--ml-rule);
  border-radius: 10px;
  box-shadow: none;
  color: var(--ml-text);
  font-family: var(--ml-font);
  font-size: 16px;
  line-height: 1.6;
}
.ml-form textarea { min-height: 200px; resize: vertical; }
.ml-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
}
.ml-form input::placeholder,
.ml-form textarea::placeholder { color: #9AABB6; }
.ml-form input:focus,
.ml-form select:focus,
.ml-form textarea:focus {
  outline: none;
  border-color: var(--ml-teal);
  box-shadow: 0 0 0 4px var(--ml-sky-soft);
}
.ml-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ml-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.ml-form .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--ml-rule);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}
.ml-form .wpcf7-checkbox label:has(input:checked) { background: var(--ml-sky-soft); border-color: var(--ml-teal); }
.ml-form input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--ml-navy); }
.ml-agree { text-align: center; font-size: 14px; }
.ml-agree .wpcf7-list-item { margin: 0; }
.ml-agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ml-agree a { color: var(--ml-navy); text-decoration: underline; }
.ml-submit { position: relative; text-align: center; }
.ml-form input.wpcf7-submit {
  min-width: 300px;
  padding: 16px 48px;
  background: var(--ml-navy);
  border: none;
  border-radius: 999px;
  color: #FFFFFF;
  font-family: var(--ml-font);
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
.ml-form input.wpcf7-submit:hover { background: var(--ml-teal); }
.ml-form input.wpcf7-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.ml-submit .wpcf7-spinner { position: absolute; right: 0; top: 50%; margin: -12px 0 0; }
.ml-form-card .wpcf7-not-valid-tip { margin-top: 6px; color: var(--ml-magenta); font-size: 13px; }
.ml-form-card .wpcf7-not-valid { border-color: var(--ml-magenta) !important; }
.ml-form-card .wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 14px 20px;
  border: 1px solid var(--ml-rule);
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}
.ml-form-card .wpcf7 form.sent .wpcf7-response-output { background: var(--ml-sky-soft); border-color: var(--ml-teal); }
.ml-form-card .wpcf7 form.invalid .wpcf7-response-output,
.ml-form-card .wpcf7 form.failed .wpcf7-response-output { background: var(--ml-pink-soft); border-color: var(--ml-magenta); }

/* ----------------------------------------------------------
   LINE で相談するボタン
   ---------------------------------------------------------- */
.ml-line-wrap { margin-top: 36px; text-align: center; }
a.ml-line-btn,
a.ml-line-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  border-radius: 999px;
  color: #FFFFFF !important;
  font-family: var(--ml-font);
  font-weight: 500;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
a.ml-line-btn {
  padding: 12px 34px 12px 22px;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.25);
}
a.ml-line-btn:hover { transform: translateY(-2px); }
.ml-line-icon { flex-shrink: 0; }
.ml-line-icon path { stroke: #06C755; }
.ml-line-icon circle { fill: #06C755; }
a.ml-line-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9999;
  padding: 10px 20px 10px 12px;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(10, 50, 71, 0.25);
}
a.ml-line-float:hover { transform: translateY(-2px); }
.ml-line-card {
  margin-bottom: 36px;
  padding: 24px 28px;
  border: 1px solid var(--ml-rule-soft);
  border-radius: 16px;
  text-align: center;
}
.article .ml-section .ml-line-card-title,
.ml-line-card-title { font-size: 17px; font-weight: 500; }
.article .ml-section .ml-line-card-text,
.ml-line-card-text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ml-muted); }
.ml-line-card .ml-line-wrap { margin-top: 16px; }
.ml-no-line .ml-line-card { display: none; }

/* ----------------------------------------------------------
   タブレット
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .ml-svc-row { gap: 48px; }
  .ml-svc-media { flex-basis: 300px !important; }
  .ml-section .ml-svc-img { width: 300px; height: 300px; }
  .ml-orbit--about .ml-orbit-body { margin-left: 280px; }
  .ml-orbit--news .ml-orbit-body { margin-right: 300px; }
  .ml-works-list,
  .ml-works-list > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ----------------------------------------------------------
   スマホ
   ---------------------------------------------------------- */
@media (max-width: 834px) {
  #header-container-in { border-bottom-color: var(--ml-rule-soft); }
  .logo-header a { padding-right: 0; border-right: none; }
  .logo-header a::before { width: 44px; height: 34px; }
  .logo-header .site-name-text::before { font-size: 24px; }

  .ml-section { padding: 70px 16px; }
  .article .ml-section .ml-en-title,
  .ml-section .ml-en-title { font-size: 28px; }
  .ml-page-head,
  .ml-price-head { padding-top: 50px; padding-bottom: 30px; }
  .ml-page-head .ml-label,
  .ml-price-head .ml-label { font-size: 36px; }
  .ml-page-head .ml-sub br,
  .ml-price-head .ml-sub br { display: none; }

  .ml-hero { padding-top: 40px; padding-bottom: 60px; }
  .ml-hero-cols { flex-direction: column-reverse; gap: 20px; }
  .ml-mol { max-width: 300px; }
  .article .ml-section .ml-hero-title,
  .ml-section .ml-hero-title { font-size: clamp(24px, 7vw, 30px); }
  .ml-section .ml-hero-lead br { display: none; }
  .ml-pill-wrap { margin-top: 32px; }

  /* 円は小さくして、文章は円の下へ */
  .ml-orbit,
  .ml-orbit > .wp-block-group__inner-container { display: block; min-height: 0; }
  .ml-orbit { padding-top: 120px; }
  .ml-orbit-deco { width: 300px; height: 300px; }
  .ml-orbit-deco--blue { left: -40px; }
  .ml-orbit-deco--pink { right: -40px; }
  .ml-orbit-deco::before,
  .ml-orbit-deco::after,
  .ml-orbit-deco i { display: none; }
  .ml-orbit-ring { opacity: 0.7; }
  .ml-orbit--about .ml-orbit-title { left: 0; top: 40px; }
  .ml-orbit--news .ml-orbit-title { right: auto; left: 0; top: 40px; }
  .ml-orbit--about .ml-orbit-body,
  .ml-orbit--news .ml-orbit-body { margin: 0; max-width: none; }
  .ml-orbit-text br { display: none; }
  .ml-about { padding-bottom: 20px; }

  .ml-svc-row,
  .ml-svc-row--rev { flex-direction: column; gap: 24px; margin-top: 64px; }
  .ml-svc-media { flex-basis: auto !important; align-self: center; }
  .ml-section .ml-svc-img { width: 240px; height: 240px; }
  .ml-svc-body { width: 100%; }

  .ml-works-grid { gap: 44px; }
  .ml-works-list,
  .ml-works-list > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ml-section .ml-work-img { height: auto; aspect-ratio: 6 / 5; }

  .ml-flow-list,
  .ml-flow-list > .wp-block-group__inner-container { gap: 44px; }
  .ml-flow-step { padding: 24px 22px; border-radius: 28px / 40%; }
  .ml-flow-step:not(:last-child)::after { height: 44px; background-position: center 24px, center; }
  .ml-section .ml-flow-text br { display: none; }

  .ml-price-groups { gap: 48px; margin-top: 40px; }
  .ml-price-list > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ml-price-list dd { align-self: flex-end; font-size: 20px; }

  .ml-company-table > div,
  .ml-table > div { flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--ml-rule-soft); }
  .ml-company-table dt,
  .ml-table dt { width: auto; font-size: 13px; color: var(--ml-muted); }
  .ml-legal-table dt { width: auto; }

  .ml-barrels { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
  .ml-barrel { min-height: 120px; }

  a.ml-line-btn { width: 100%; justify-content: center; }
  a.ml-line-float { right: 12px; bottom: 80px; padding: 8px 16px 8px 10px; font-size: 13px; }
  a.ml-line-float .ml-line-icon { width: 24px; height: 24px; }
  .ml-form input.wpcf7-submit { width: 100%; min-width: 0; }
}
