/* サービス メガメニュー（試作 2026-12-01）。header.css の後に読む。#ot-hd 配下だけに効かせる */
#ot-hd .ot-nav .ot-has-mega > a.ot-mega__tg{display:inline-flex;align-items:center;gap:8px}
#ot-hd .ot-nav .ot-mega__chev{display:inline-block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
#ot-hd .ot-nav .ot-has-mega.is-open > a.ot-mega__tg .ot-mega__chev{transform:translateY(2px) rotate(-135deg)}
#ot-hd .ot-nav .ot-has-mega.is-open > a.ot-mega__tg::after{transform:scaleX(1)}
#ot-hd .ot-nav .ot-mega ul{display:block;gap:0}
#ot-hd .ot-nav .ot-mega li{list-style:none}
#ot-hd .ot-nav .ot-mega a.ot-mega__a,#ot-hd .ot-nav .ot-mega a.ot-mega__all{display:flex;align-items:center;justify-content:space-between;gap:12px;white-space:normal;font-family:var(--ja);font-weight:500;font-size:15px;line-height:1.6;color:var(--navy);padding:12px 4px;border-bottom:1px solid var(--line);position:static;background:transparent;text-decoration:none}
#ot-hd .ot-nav .ot-mega a.ot-mega__a::after{content:"›";position:static;width:auto;height:auto;background:none;transform:none;color:var(--blue);font-size:18px;line-height:1;flex:none}
#ot-hd .ot-nav .ot-mega a.ot-mega__a:hover,#ot-hd .ot-nav .ot-mega a.ot-mega__a:focus-visible{color:#2470C9;background:#F4FAFD}
#ot-hd .ot-nav .ot-mega a.ot-mega__a:hover::after{transform:none}
#ot-hd .ot-nav .ot-mega a.ot-mega__all{display:inline-flex;border:0;padding:4px 0;font-size:14px;font-weight:700;color:#2470C9;white-space:nowrap}
#ot-hd .ot-nav .ot-mega a.ot-mega__all::after{display:none}
#ot-hd .ot-nav .ot-mega a.ot-mega__all:hover{text-decoration:underline;background:transparent}
#ot-hd .ot-nav .ot-mega button.ot-mega__cat{appearance:none;display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;border:0;border-left:3px solid transparent;background:transparent;font-family:var(--ja);font-weight:700;font-size:16px;line-height:1.5;letter-spacing:.32px;color:var(--navy);text-align:left;padding:13px 16px;cursor:pointer}
#ot-hd .ot-nav .ot-mega button.ot-mega__cat:focus-visible,#ot-hd .ot-nav .ot-mega a.ot-mega__a:focus-visible,#ot-hd .ot-nav .ot-mega a.ot-mega__all:focus-visible,#ot-hd .ot-nav a.ot-mega__tg:focus-visible{outline:2px solid #26A7E1;outline-offset:-2px}
#ot-hd .ot-nav .ot-mega__ph{font-weight:700;font-size:20px;line-height:1.4;color:var(--navy)}
#ot-hd .ot-nav .ot-mega__phrow{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:12px;margin-bottom:4px;border-bottom:2px solid var(--blue)}
#ot-hd .ot-nav .ot-mega__pane{display:none}
#ot-hd .ot-nav .ot-mega__item.is-active > .ot-mega__pane{display:block}

@media (min-width:1024px){
  #ot-hd .ot-nav a.ot-mega__tg::before{content:"";position:absolute;left:-16px;right:-16px;top:100%;height:48px}
  #ot-hd .ot-nav .ot-mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 20px 36px rgba(2,31,54,.12);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility 0s linear .2s;z-index:51;text-align:left}
  #ot-hd .ot-nav .ot-has-mega.is-open > .ot-mega{opacity:1;visibility:visible;transform:none;transition-delay:0s}
  #ot-hd .ot-nav .ot-mega__in{width:min(1320px,100% - 48px);margin-inline:auto;padding:24px 0 32px}
  #ot-hd .ot-nav .ot-mega__list{position:relative;min-height:480px;width:100%}
  #ot-hd .ot-nav .ot-mega__item{display:block}
  #ot-hd .ot-nav .ot-mega__cat{width:264px !important}
  #ot-hd .ot-nav .ot-mega button.ot-mega__cat::after{content:"›";font-size:20px;line-height:1;color:var(--blue);opacity:0;transition:opacity .15s}
  #ot-hd .ot-nav .ot-mega__item.is-active > button.ot-mega__cat{background:#F4FAFD;border-left-color:var(--blue);color:#2470C9}
  #ot-hd .ot-nav .ot-mega__item.is-active > button.ot-mega__cat::after{opacity:1}
  #ot-hd .ot-nav .ot-mega__pane{position:absolute;left:304px;right:0;top:0;bottom:0;overflow-y:auto;padding-right:4px}
  #ot-hd .ot-nav .ot-mega__pane ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px}
  /* 開いている間は、ヒーロー上の透明ヘッダーでも白地・濃色にする */
  #ot-hd.is-mega-open{background:#fff;border-color:var(--line)}
  #ot-hd.is-top.is-mega-open .ot-nav ul a.ot-mega__tg{color:var(--navy)}
  #ot-hd.is-top.is-mega-open .ot-hd__logo img{filter:none}
  #ot-hd.is-top.is-mega-open .ot-nav ul > li > a:not(.ot-mega__a):not(.ot-mega__all){color:var(--navy)}
  #ot-hd.is-top.is-mega-open .ot-btn--outline{color:var(--blue)}
}
@media (min-width:1024px) and (max-width:1199px){
  #ot-hd .ot-nav .ot-mega__pane ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  #ot-hd .ot-nav .ot-mega__chev,#ot-hd .ot-nav .ot-mega__ph{display:none}
  #ot-hd .ot-nav .ot-has-mega > a.ot-mega__tg{display:block}
  #ot-hd .ot-nav .ot-mega{position:static;background:none;box-shadow:none;border:0}
  #ot-hd .ot-nav .ot-mega__in{width:auto;padding:0}
  #ot-hd .ot-nav .ot-mega__list{min-height:0}
  #ot-hd .ot-nav .ot-mega button.ot-mega__cat{border-left:0;border-bottom:1px solid var(--line);padding:12px 2px 12px 16px;font-size:15px;font-weight:500}
  #ot-hd .ot-nav .ot-mega button.ot-mega__cat::after{content:"";flex:none;width:7px;height:7px;margin-right:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
  #ot-hd .ot-nav .ot-mega__item.is-active > button.ot-mega__cat::after{transform:translateY(2px) rotate(-135deg)}
  #ot-hd .ot-nav .ot-mega__pane{position:static;padding:4px 0 8px 16px;background:#F7FBFE}
  #ot-hd .ot-nav .ot-mega__phrow{border:0;padding:4px 0;margin:0}
  #ot-hd .ot-nav .ot-mega a.ot-mega__a{padding:10px 4px;font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  #ot-hd .ot-nav .ot-mega,#ot-hd .ot-nav .ot-mega__chev{transition:none}
}

/* 中層ページ（/service/saiyo/ ほか）。カード一覧 */
.ot-mid{width:min(1320px,100% - 48px);margin-inline:auto;padding:48px 0 24px}
.ot-mid-points{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ot-mid-points li{font-size:16px;line-height:1.7;color:#3D4650;padding-left:16px;position:relative}
.ot-mid-points li::before{content:"";position:absolute;left:0;top:.8em;width:6px;height:6px;background:#26A7E1}
.ot-mid-count{display:flex;align-items:baseline;gap:10px;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #26A7E1;font-size:22px;font-weight:700;color:#04497D;line-height:1.4}
.ot-mid-count span{font-size:14px;font-weight:500;color:#6B7580}
.ot-mid-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ot-mid-card{display:flex;flex-direction:column;gap:8px;height:100%;padding:20px 22px;background:#fff;border:1px solid #DDE2E7;color:inherit;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
.ot-mid-card b{display:flex;justify-content:space-between;gap:12px;font-size:17px;line-height:1.5;color:#04497D}
.ot-mid-card b::after{content:"›";color:#26A7E1;font-size:20px;line-height:1.2;flex:none}
.ot-mid-card span{font-size:14px;line-height:1.7;color:#3D4650}
.ot-mid-card:hover,.ot-mid-card:focus-visible{border-color:#26A7E1;box-shadow:0 8px 20px rgba(36,112,201,.12);transform:translateY(-2px)}
.ot-mid-cta{margin:48px 0 0;padding:40px 24px;background:#F4FAFD;text-align:center}
.ot-mid-cta h2{margin:0 0 20px;font-size:22px;line-height:1.5;color:#04497D}
@media (max-width:1023px){.ot-mid-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.ot-mid{padding-top:32px}.ot-mid-list{grid-template-columns:1fr}.ot-mid-count{font-size:19px}}

/* 見せる相手から選ぶ共通ナビ */
#ot-hd .ot-task-nav { gap: clamp(12px, 1.6vw, 24px); }
#ot-hd .ot-task-nav .ot-task-nav__list { gap: clamp(8px, 1.2vw, 18px); }

#ot-hd .ot-task-menu__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
#ot-hd .ot-task-menu__trigger span { white-space: nowrap; }
#ot-hd .ot-task-menu__trigger::-webkit-details-marker { display: none; }
#ot-hd .ot-task-menu__trigger::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .4s ease;
}
#ot-hd .ot-task-menu[open] > .ot-task-menu__trigger::after {
  transform: translateY(2px) rotate(225deg);
}

#ot-hd .ot-task-menu__panel {
  color: var(--navy);
  background: #fff;
}
#ot-hd .ot-task-menu__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 24px;
  max-width: 1160px;
  margin-inline: auto;
}
#ot-hd .ot-task-menu__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}
#ot-hd .ot-task-nav .ot-task-menu__group ul {
  display: block;
}
#ot-hd .ot-task-nav .ot-task-menu__group a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  border-bottom: 1px solid #dbe7f0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.5;
  white-space: normal;
}
#ot-hd .ot-task-nav .ot-task-menu__group a::after {
  content: "›";
  position: static;
  width: auto;
  height: auto;
  color: #2470C9;
  background: none;
  transform: none;
}
#ot-hd .ot-task-nav .ot-task-menu__group a:hover,
#ot-hd .ot-task-nav .ot-task-menu__group a:focus-visible { color: #2470C9; background: #F4FAFD; }
#ot-hd .ot-task-nav .ot-task-menu__group a:hover::after { transform: translateX(3px); }
#ot-hd .ot-task-menu__trigger:focus-visible { outline: 2px solid #26A7E1; outline-offset: 2px; }

#ot-hd .ot-task-menu__en {
  grid-area: en;
  font-family: var(--en);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .04em;
}

.ot-fixed-cta {
  position: fixed;
  z-index: 44;
  display: flex;
  gap: 4px;
  font-family: var(--ja, "Noto Sans JP", sans-serif);
}

.ot-fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  background: #04497D;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.ot-fixed-cta a:first-child { background: #2470C9; }
.ot-fixed-cta a:hover { background: #04497D; text-decoration: underline; }
.ot-fixed-cta a:focus-visible { outline: 2px solid #26A7E1; outline-offset: -4px; }
.ot-fixed-cta .ot-ic { color: #fff; stroke: currentColor; }
.ot-fixed-cta .ot-ic__accent { stroke: currentColor; }

@media (width > 800px) {
  .ot-fixed-cta { inset: 50% 0 auto auto; flex-direction: column; transform: translateY(-50%); }
  .ot-fixed-cta a { flex-direction: column; width: 48px; min-height: 108px; border-radius: 6px 0 0 6px; }
  .ot-fixed-cta span { writing-mode: vertical-rl; }
}

@media (width > 800px) {
  :root:has(#ot-hd .ot-task-nav) { --hd-h: 89px; }
  #ot-hd:has(.ot-task-nav) { --header-h: 88px; }
  #ot-hd .ot-hd__in:has(.ot-task-nav) { gap: 16px; }
  #ot-hd .ot-hd__in:has(.ot-task-nav) .ot-hd__tg { display: none; }
  #ot-hd .ot-nav.ot-task-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    transform: none;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: 0;
  }
  #ot-hd .ot-task-nav .ot-task-nav__list { flex-direction: row; align-items: stretch; gap: 0; }
  #ot-hd .ot-task-menu__trigger {
    position: relative;
    height: var(--header-h);
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px clamp(16px, 2vw, 30px) 14px;
    border-inline-start: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  }
  #ot-hd .ot-task-menu__trigger::after {
    position: absolute;
    bottom: 8px;
    left: calc(50% - 3px);
  }
  #ot-hd .ot-task-menu[open] > .ot-task-menu__trigger { background: #EEF8FD; color: #04497D; }
  #ot-hd .ot-task-menu__panel {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--hd-h));
    padding: 24px max(28px, (100% - 1160px) / 2) 30px;
    border-block: 1px solid #dbe7f0;
    box-shadow: 0 20px 36px rgba(2,31,54,.12);
    overflow-y: auto;
  }
  #ot-hd.is-top:not(:has(.ot-task-menu[open])) .ot-task-menu__trigger { color: #fff; }
  #ot-hd.is-top:not(:has(.ot-task-menu[open])) .ot-task-nav .ot-task-menu__trigger .ot-ic { stroke: currentColor; background: none; }
  #ot-hd.is-top:has(.ot-task-menu[open]) { background: #fff; border-color: var(--line); }
  #ot-hd.is-top:has(.ot-task-menu[open]) .ot-hd__logo img { filter: none; }
  #ot-hd.is-top .ot-task-nav .ot-task-menu__group a { color: var(--navy); }
  #ot-hd.is-top .ot-task-nav .ot-task-menu__group a:hover { color: #2470C9; }
  #ot-hd .ot-task-nav .ot-task-menu__group a::after { display: block; }
}

@media (max-width: 800px) {
  .ot-fixed-cta {
    inset: auto 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
  }
  .ot-fixed-cta a { flex: 1; min-height: 48px; }
  body:has(.ot-fixed-cta) { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  body:has(.ot-fixed-cta) details[aria-label*="お詫び"] {
    bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media print { .ot-fixed-cta { display: none; } }
@media (max-width: 800px) {
  #ot-hd .ot-task-nav { width: min(100%, 390px); gap: 22px; }
  #ot-hd .ot-task-nav .ot-task-nav__list { gap: 0; }
  #ot-hd .ot-task-menu__trigger {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon label arrow" "icon en arrow";
    gap: 2px 10px;
    padding: 13px 4px;
    border-bottom: 1px solid #dbe7f0;
  }
  #ot-hd .ot-task-menu__trigger > .ot-ic { grid-area: icon; }
  #ot-hd .ot-task-menu__trigger > span:first-of-type { grid-area: label; }
  #ot-hd .ot-task-menu__trigger::after { grid-area: arrow; margin-inline-start: auto; }
  #ot-hd .ot-task-menu__panel { padding: 12px 8px 16px; background: #F4FAFD; }
  #ot-hd .ot-task-menu__content,
  #ot-hd .ot-task-nav .ot-task-menu__group ul { grid-template-columns: 1fr; }
  #ot-hd .ot-task-nav .ot-task-menu__group a::after { display: block; }
  #ot-hd .ot-task-nav:not(.ot-task-nav--ready) {
    position: static;
    width: auto;
    height: auto;
    max-height: 45dvh;
    padding: 12px 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }
  #ot-hd .ot-hd__in:has(.ot-task-nav:not(.ot-task-nav--ready)) {
    display: block;
    height: auto;
    padding-block: 8px;
  }
  #ot-hd .ot-hd__in:has(.ot-task-nav:not(.ot-task-nav--ready)) .ot-hd__tg { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  #ot-hd .ot-task-menu[open] .ot-task-menu__panel { animation: ot-task-drop .4s ease-out both; }
  #ot-hd .ot-task-menu[open] .ot-task-menu__group li {
    animation: ot-task-link .4s ease-out both;
    animation-delay: var(--ot-task-delay, 0ms);
  }
  @keyframes ot-task-drop { from { opacity: 0; transform: translateY(-8px); } }
  @keyframes ot-task-link { from { opacity: 0; transform: translateY(-4px); } }
}
@media (prefers-reduced-motion: reduce) {
  #ot-hd:has(.ot-task-nav),
  #ot-hd .ot-task-nav,
  #ot-hd .ot-task-nav *,
  #ot-hd .ot-task-nav *::before,
  #ot-hd .ot-task-nav *::after,
  #ot-hd .ot-hd__tg span,
  .ot-overlay { transition: none; }
}

/* 2026-12-03d ナビの余白を広げ、右端に「資料請求」「無料相談」を置く。区切りの縦線はやめる */
#ot-hd .ot-hd__cta { display: none; }
#ot-hd .ot-hd__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 2px;
  font-family: var(--ja); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .08em;
  white-space: nowrap; transition: background .25s, color .25s, border-color .25s;
}
#ot-hd .ot-hd__btn--fill { background: #2470C9; color: #fff; border: 1.5px solid #2470C9; }
#ot-hd .ot-hd__btn--fill:hover, #ot-hd .ot-hd__btn--fill:focus-visible { background: #04497D; border-color: #04497D; color: #fff; }
#ot-hd .ot-hd__btn--line { background: #fff; color: #2470C9; border: 1.5px solid #2470C9; }
#ot-hd .ot-hd__btn--line:hover, #ot-hd .ot-hd__btn--line:focus-visible { background: #EEF8FD; color: #04497D; }
#ot-hd .ot-hd__btn:focus-visible { outline: 2px solid #26A7E1; outline-offset: 2px; }

@media (width > 800px) {
  :root:has(#ot-hd .ot-task-nav) { --hd-h: 105px; }
  #ot-hd:has(.ot-task-nav) { --header-h: 104px; }
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: min(1360px, 100% - 80px); gap: 24px; }
  #ot-hd .ot-hd__logo { flex: none; padding-block: 8px; }
  #ot-hd .ot-hd__logo img { width: 150px; }
  #ot-hd .ot-nav.ot-task-nav { margin-inline-start: auto; }
  #ot-hd .ot-task-menu__trigger {
    border-inline-start: 0;
    gap: 4px;
    padding: 4px clamp(12px, 1.5vw, 26px) 18px;
    font-size: 16px;
    letter-spacing: .06em;
  }
  #ot-hd .ot-task-menu__trigger::after { bottom: 12px; }
  #ot-hd .ot-task-menu__en { letter-spacing: .08em; }
  /* 右の縦タブは、ヘッダーにボタンが無い幅だけ出す。メガメニューより手前に置く */
  .ot-fixed-cta { z-index: 52; }
  .ot-fixed-cta a span { letter-spacing: .12em; }
}
@media (width >= 1200px) {
  #ot-hd .ot-hd__cta { display: flex; flex: none; align-items: center; gap: 12px; margin-inline-start: clamp(12px, 1.4vw, 24px); }
  .ot-fixed-cta { display: none; }
  /* ヒーロー上の透明ヘッダーでは、枠線のボタンを白抜きに */
  #ot-hd.is-top:not(:has(.ot-task-menu[open])) .ot-hd__btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
  #ot-hd.is-top:not(:has(.ot-task-menu[open])) .ot-hd__btn--line:hover { background: rgba(255,255,255,.14); }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: calc(100% - 48px); gap: 12px; }
  #ot-hd .ot-hd__btn { padding: 0 18px; }
  #ot-hd .ot-hd__cta { gap: 8px; }
}
@media (max-width: 800px) {
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: calc(100% - 40px); }
  .ot-fixed-cta a { letter-spacing: .06em; }
}
/* 801〜1199px は右端の縦タブ（48px）にナビが重ならないよう右を空ける */
@media (width > 800px) and (width < 1200px) {
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: auto; margin-inline: 24px 64px; gap: 12px; }
  #ot-hd .ot-hd__logo img { width: 130px; }
}

/* 2026-12-03f 困りごと型ナビ。英字を外し、余白とアイコンを大きく */
#ot-hd .ot-task-menu__en { display: none; }
#ot-hd .ot-task-menu__trigger > img.ot-ic-img { width: 40px; height: 40px; flex: none; }
#ot-hd .ot-task-menu__heading > img.ot-ic-img { width: 32px; height: 32px; flex: none; }
#ot-hd .ot-task-menu__title {
  max-width: 1160px; margin: 0 auto 20px; padding-bottom: 12px;
  border-bottom: 2px solid #26A7E1; color: #04497D;
  font-size: 22px; font-weight: 700; line-height: 1.5;
}
@media (width > 800px) {
  :root:has(#ot-hd .ot-task-nav) { --hd-h: 113px; }
  #ot-hd:has(.ot-task-nav) { --header-h: 112px; }
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: min(1440px, 100% - 96px); gap: 40px; }
  #ot-hd .ot-nav.ot-task-nav { margin-inline-start: auto; }
  #ot-hd .ot-task-menu__trigger {
    gap: 8px; padding: 6px 20px 22px;
    font-size: 15px; letter-spacing: .04em;
  }
  #ot-hd .ot-task-menu__trigger::after { bottom: 12px; }
  #ot-hd .ot-task-menu__panel { padding-top: 32px; padding-bottom: 36px; }
}
@media (width >= 1200px) {
  #ot-hd .ot-hd__cta { margin-inline-start: 32px; gap: 12px; }
}
/* 1200〜1439px：ボタンは右の縦タブへ逃がし、ナビに幅を回す */
@media (width >= 1200px) and (width < 1440px) {
  #ot-hd .ot-hd__cta { display: none; }
  .ot-fixed-cta { display: flex; }
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: auto; margin-inline: 40px 88px; gap: 24px; }
  #ot-hd .ot-task-menu__trigger { padding-inline: 16px; }
}
@media (width > 800px) and (width < 1200px) {
  #ot-hd .ot-hd__in:has(.ot-task-nav) { width: auto; margin-inline: 24px 64px; gap: 12px; }
  #ot-hd .ot-task-menu__trigger { padding-inline: 8px; font-size: 14px; letter-spacing: 0; }
  #ot-hd .ot-task-menu__trigger > img.ot-ic-img { width: 34px; height: 34px; }
}
@media (max-width: 800px) {
  #ot-hd .ot-task-menu__trigger { grid-template-areas: "icon label arrow"; align-items: center; gap: 0 14px; padding: 16px 4px; }
  #ot-hd .ot-task-menu__title { font-size: 18px; margin-bottom: 12px; }
}
