/* インフルエンサー事務所データベース（/office_db）専用。既存ページのCSSとは独立。 */
:root {
  --odb-primary: #0A74C0;          /* 文字・ボタン用の水色。白地4.92:1、セクション地4.61:1 */
  --odb-primary-dark: #075E9E;
  --odb-primary-bright: #00A6FE;   /* 装飾のみ（文字には使わない） */
  --odb-primary-soft: #E3F3FD;
  --odb-primary-soft-2: #EEF8FE;
  --odb-ink: #0E1D4B;
  --odb-text: #1B2A44;
  --odb-sub: #6B7790;
  --odb-muted: #8C97AD;
  --odb-line: #E3ECF3;
  --odb-line-2: #D7E3EC;
  --odb-surface: #FFFFFF;
  --odb-surface-tint: #F9FCFE;
  --odb-page: #F0FAFD;
  --odb-panel: #EEF8FD;
  --odb-heart: #F0508C;
  --odb-radius: 10px;
  --odb-font: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --odb-tag-youtube: #F0145A;
  --odb-tag-tiktok: #1B1F24;
  --odb-tag-liver: #1F7AE0;
  --odb-tag-vliver: #7A5AE0;
  --odb-tag-vtuber: #C25700;

  --odb-src-editor-bg: #E2EAF6;   --odb-src-editor-fg: #1D3A6E;  /* 編集部＝ネイビー */
  --odb-src-public-bg: #EEF1F5;   --odb-src-public-fg: #55617A;  /* 公開情報より＝グレー */
  --odb-src-office-bg: #FFE4EF;   --odb-src-office-fg: #C8184E;  /* 事務所提供＝ピンク */
  --odb-src-answer-bg: #FFEBD9;   --odb-src-answer-fg: #A94F00;  /* 事務所の回答＝オレンジ */
  --odb-src-verified-bg: #E1F5E9; --odb-src-verified-fg: #1B7A45; /* 面談確認済み＝グリーン */

  --odb-badge-pink-bg: #FFE4EF;   --odb-badge-pink-fg: #C8184E;
  --odb-badge-blue-bg: #DDF0FD;   --odb-badge-blue-fg: #0A6AB0;
  --odb-badge-green-bg: #DDF5E7;  --odb-badge-green-fg: #1B7A45;
  --odb-badge-purple-bg: #ECE6FD; --odb-badge-purple-fg: #5B3EC4;
  --odb-badge-orange-bg: #FFEBD9; --odb-badge-orange-fg: #A94F00;
}

.odb-body { margin: 0; font-family: var(--odb-font); color: var(--odb-text); background: var(--odb-page); -webkit-font-smoothing: antialiased; }
.odb-body *, .odb-body *::before, .odb-body *::after { box-sizing: border-box; }
:where(.odb-body) a { color: inherit; text-decoration: none; }
:where(.odb-body) button { font-family: inherit; }
:where(.odb-body) :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
:where(.odb-body) :where(ul, ol) { list-style: none; }
.odb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header（事務所管理画面のヘッダーとサイズ・デザインを揃える） ---------- */
.odb-header { position: relative; z-index: 50; background: #FFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); padding: 10px 0; }
.odb-header__inner { position: relative; min-height: 56px; display: flex; align-items: center; padding: 0 41px 0 25px; }
.odb-header__logo { display: block; width: 110px; height: 41px; margin-top: 1px; }
.odb-header__logo img { width: 110px; height: 41px; display: block; }
.odb-nav { display: flex; align-items: center; gap: 30px; margin-left: 20px; font-size: 15px; font-weight: 500; color: #666; white-space: nowrap; }
.odb-nav a:hover, .odb-nav a.active { color: var(--odb-primary); }
.odb-header__right { margin-left: auto; display: flex; align-items: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.odb-header__login { color: var(--odb-primary); margin-right: 20px; }
.odb-header__register { display: inline-flex; align-items: center; justify-content: center; height: 38px; margin-top: 0; padding: 0 16px; border-radius: 7px; background: var(--odb-primary); color: #FFF !important; box-shadow: 0 3px 8px rgba(10, 116, 192, .25); }
.odb-header__register:hover { background: var(--odb-primary-dark); }
.odb-header__agency { color: var(--odb-primary); margin-left: 19px; }

/* ---------- Common layout ---------- */
.odb-main { position: relative; overflow-x: clip; }
.odb-hero-deco { position: absolute; top: 0; right: 0; width: 420px; height: 145px; overflow: hidden; pointer-events: none; z-index: 0; }
.odb-hero-deco::before { content: ""; position: absolute; left: 138px; top: -178px; width: 380px; height: 380px; border-radius: 50%; background: linear-gradient(200deg, rgba(196, 234, 252, .55), rgba(214, 240, 253, .35)); }
.odb-hero-deco::after { content: ""; position: absolute; left: 230px; top: 32px; width: 93px; height: 96px; border-radius: 50%; background: linear-gradient(160deg, rgba(160, 218, 248, .75), rgba(178, 226, 250, .6)); transform: rotate(-15deg); }
.odb-hero-deco span { position: absolute; left: 48px; top: 42px; width: 165px; height: 125px; border-radius: 48% 52% 40% 60%; background: rgba(206, 236, 251, .55); transform: rotate(-8deg); }
.odb-container { position: relative; z-index: 1; width: 93%; max-width: 1200px; margin: 0 auto; padding: 0 0 40px; }
.odb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding-top: 12px; padding-bottom: 2px; font-size: 12.5px; line-height: 18px; color: var(--odb-muted); }
.odb-breadcrumb li { display: flex; align-items: center; }
.odb-breadcrumb li + li::before { content: ">"; margin: 0 6px 0 7px; color: var(--odb-muted); }
.odb-breadcrumb a:hover { color: var(--odb-primary); }
.odb-breadcrumb [aria-current] { color: var(--odb-sub); }

/* ---------- Page head / search / chips ---------- */
.odb-pagehead { padding-top: 24px; }
.odb-pagehead h1 { font-size: 30px; line-height: 40px; font-weight: 700; color: var(--odb-ink); letter-spacing: 2.2px; }
.odb-pagehead__lead { margin-top: 7px; font-size: 17.3px; line-height: 26px; color: var(--odb-sub); }
.odb-pagehead__lead--genre { font-size: 15px; line-height: 24px; white-space: pre-line; max-width: 720px; }
.odb-search { position: relative; margin-top: 19px; }
.odb-search input { width: 100%; height: 45px; padding: 0 16px 0 52px; border: 1px solid var(--odb-line-2); border-radius: 6px; background: #FFF; font: inherit; font-size: 15.5px; color: var(--odb-text); outline: none; }
.odb-search input::placeholder { color: #8F9AB0; }
.odb-search input:focus { border-color: var(--odb-primary); box-shadow: 0 0 0 3px rgba(10, 116, 192, .15); }
.odb-search svg { position: absolute; left: 20px; top: 13px; width: 19px; height: 19px; color: #5A6680; }
.odb-chips { display: flex; align-items: center; gap: 13px; margin-top: 12px; }
.odb-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 22px; border-radius: 19px; background: #FFF; border: 1px solid var(--odb-line); font-size: 14px; font-weight: 500; color: var(--odb-ink); white-space: nowrap; }
.odb-chip:hover { border-color: var(--odb-primary); color: var(--odb-primary); }
.odb-chip.is-active { background: var(--odb-primary); border-color: var(--odb-primary); color: #FFF; }
.odb-chip--all { min-width: 87px; }
.odb-chips__more { flex: none; margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--odb-primary); text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Genre tag / source label / badges ---------- */
.odb-ptag { display: inline-flex; align-items: center; height: 19px; padding: 0 8px; border-radius: 3px; font-size: 11.5px; font-weight: 500; line-height: 1; color: #FFF; white-space: nowrap; }
.odb-ptag--youtube { background: var(--odb-tag-youtube); }
.odb-ptag--tiktok { background: var(--odb-tag-tiktok); }
.odb-ptag--liver { background: var(--odb-tag-liver); }
.odb-ptag--vliver { background: var(--odb-tag-vliver); }
.odb-ptag--vtuber { background: var(--odb-tag-vtuber); }
.odb-src { display: inline-flex; align-items: center; height: 22px; padding: 0 11px; border-radius: 11px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.odb-src--editor { background: var(--odb-src-editor-bg); color: var(--odb-src-editor-fg); }
.odb-src--public { background: var(--odb-src-public-bg); color: var(--odb-src-public-fg); }
.odb-src--office { background: var(--odb-src-office-bg); color: var(--odb-src-office-fg); }
.odb-src--answer { background: var(--odb-src-answer-bg); color: var(--odb-src-answer-fg); }
.odb-src--verified { background: var(--odb-src-verified-bg); color: var(--odb-src-verified-fg); }
.odb-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 12px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.odb-badge--pink { background: var(--odb-badge-pink-bg); color: var(--odb-badge-pink-fg); }
.odb-badge--blue { background: var(--odb-badge-blue-bg); color: var(--odb-badge-blue-fg); }
.odb-badge--green { background: var(--odb-badge-green-bg); color: var(--odb-badge-green-fg); }
.odb-badge--purple { background: var(--odb-badge-purple-bg); color: var(--odb-badge-purple-fg); }
.odb-badge--orange { background: var(--odb-badge-orange-bg); color: var(--odb-badge-orange-fg); }
.odb-entry { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 3px; border: 1px solid #8ED3AE; background: #EAF8F0; color: #1B7A45; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }

/* ---------- Office card (grid) ---------- */
.odb-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 12px 12px 12px; background: #FFF; border: 1px solid var(--odb-line); border-radius: 8px; transition: box-shadow .15s, border-color .15s; }
.odb-card:hover { border-color: #BFDDF2; box-shadow: 0 4px 14px rgba(14, 29, 75, .08); }
.odb-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.odb-card__link:focus-visible { outline: 2px solid var(--odb-primary); outline-offset: 2px; }
.odb-card__logo { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--odb-line); background: #FFF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.odb-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.odb-logo-ph { font-size: 24px; font-weight: 700; color: #9FB0C8; }
.odb-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; }
.odb-card__name { margin-top: 8px; font-size: 14.5px; line-height: 1.4; font-weight: 700; color: var(--odb-ink); overflow-wrap: anywhere; }
.odb-card__sub { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--odb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.odb-card__foot { margin-top: auto; padding-top: 10px; }
.odb-card__tags { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px; }
.odb-mtag { display: block; min-width: 0; flex: 0 1 auto; height: 23px; line-height: 21px; padding: 0 7px; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--odb-line); border-radius: 4px; background: var(--odb-surface-tint); font-size: 11.5px; color: #5E6B84; white-space: nowrap; }
.odb-mtag--cond { border-color: #BFE0F5; background: var(--odb-primary-soft-2); color: var(--odb-primary); }
.odb-card__likes { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--odb-sub); }
.odb-card__foot > .odb-card__likes:first-child { margin-top: 0; }
.odb-card__likes > span { display: inline-block; }
.odb-heart { width: 14px; height: 14px; flex: none; color: var(--odb-heart); }

/* ---------- Office card (row: 似ている事務所) ---------- */
.odb-card--row { flex-direction: row; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; }
.odb-card--row .odb-card__logo { width: 52px; height: 52px; margin: 0; flex: none; border-radius: 6px; border: 0; background: #EAF2FA; }
.odb-card--row .odb-logo-ph { font-size: 22px; color: #9AAFC9; }
.odb-card--row .odb-card__body { flex: 1; min-width: 0; }
.odb-card--row .odb-card__title { display: flex; align-items: center; gap: 8px; }
.odb-card--row .odb-card__name { margin-top: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.odb-card--row .odb-entry { flex: none; }
.odb-card--row .odb-card__row-tags { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px; margin-top: 6px; }
.odb-card--row .odb-rtag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px; background: var(--odb-primary-soft); color: #2B5F8E; font-size: 11.5px; white-space: nowrap; }
.odb-card--row .odb-card__likes { flex-wrap: nowrap; gap: 5px; margin-top: 6px; font-size: 12px; white-space: nowrap; }
.odb-card--row .odb-card__chev { flex: none; width: 9px; height: 14px; color: var(--odb-primary); }

/* ---------- Index sections ---------- */
.odb-sections { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.odb-section { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 20px 22px 20px 20px; border: 1px solid #E2EEF5; border-radius: 10px; background: var(--odb-panel); }
.odb-section__head { grid-column: 1 / 3; display: flex; align-items: center; gap: 14px; min-height: 28px; }
.odb-section__title { font-size: 21px; font-weight: 700; color: var(--odb-ink); letter-spacing: 0.01em; white-space: nowrap; }
.odb-section__all { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--odb-primary); white-space: nowrap; }
.odb-section__desc { padding: 16px 14px 0 2px; font-size: 13.5px; line-height: 1.75; color: var(--odb-sub); }
.odb-section__cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }

/* ---------- Category page ---------- */
.odb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; padding: 14px 18px; background: #FFF; border: 1px solid var(--odb-line); border-radius: 10px; }
.odb-toolbar__count { font-size: 15px; color: var(--odb-sub); }
.odb-toolbar__count strong { font-size: 22px; color: var(--odb-ink); margin-right: 2px; }
.odb-toolbar__toggle { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--odb-line-2); border-radius: 19px; background: #FFF; color: var(--odb-ink); font-size: 14px; cursor: pointer; }
.odb-toolbar__toggle[aria-expanded="true"] { border-color: var(--odb-primary); color: var(--odb-primary); }
.odb-toolbar__sort { margin-left: auto; display: flex; gap: 6px; }
.odb-toolbar__sort a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 14px; color: var(--odb-sub); }
.odb-toolbar__sort a.is-active { background: var(--odb-primary-soft); color: var(--odb-primary); font-weight: 700; }
.odb-filter { width: 100%; padding-top: 14px; border-top: 1px solid var(--odb-line); }
.odb-filter[hidden] { display: none; }
.odb-filter label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--odb-ink); cursor: pointer; }
.odb-filter input { width: 18px; height: 18px; accent-color: var(--odb-primary); }
.odb-filter__note { margin-top: 8px !important; font-size: 13px; line-height: 1.7; color: var(--odb-muted); }
.odb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.odb-empty { margin-top: 24px; padding: 44px 20px; text-align: center; background: #FFF; border: 1px solid var(--odb-line); border-radius: 10px; }
.odb-empty p { font-size: 16px; color: var(--odb-ink); font-weight: 700; margin-bottom: 16px !important; }
.odb-empty .odb-chips { justify-content: center; flex-wrap: wrap; }
.odb-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.odb-pager a, .odb-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--odb-line); background: #FFF; font-size: 15px; color: var(--odb-ink); }
.odb-pager .is-current { background: var(--odb-primary); border-color: var(--odb-primary); color: #FFF; font-weight: 700; }
.odb-pager .is-disabled { color: #B5BFCF; }

/* ---------- Detail page ---------- */
.odb-container--detail { padding-bottom: 48px; }
.odb-detail { display: grid; grid-template-columns: minmax(0, 1fr) 238px; column-gap: 18px; align-items: start; }
.odb-detail > .odb-breadcrumb { grid-column: 1 / 3; margin-left: 0; padding: 12px 0 10px; }
.odb-panel { position: relative; background: #FFF; border: 1px solid var(--odb-line); border-radius: 10px; padding: 22px 24px 24px; }
.odb-panel + .odb-panel, .odb-rest > * + * { margin-top: 16px; }
.odb-rest { margin-top: 16px; }
.odb-panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 26px; }
.odb-panel__title { font-size: 18px; font-weight: 700; color: var(--odb-ink); line-height: 1.4; }
.odb-panel__meta { margin-left: auto; font-size: 12px; color: var(--odb-muted); white-space: nowrap; }
.odb-panel__foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.odb-textlink { font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--odb-primary); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.odb-textlink:hover { text-decoration: underline; }
.odb-textlink--sm { font-size: 13px; }

.odb-ohead-wrap { padding: 24px 24px 24px; }
.odb-ohead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; }
.odb-ohead__logo { flex: none; align-self: flex-start; width: 100px; height: 100px; border-radius: 8px; background: #EEF4FA; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; color: var(--odb-ink); overflow: hidden; }
.odb-ohead__logo img { width: 100%; height: 100%; object-fit: contain; }
.odb-ohead__body { flex: 1 1 260px; min-width: 0; align-self: flex-start; }
.odb-ohead__name { font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--odb-ink); letter-spacing: .5px; word-break: break-word; }
.odb-ohead__company { font-size: 13.5px; line-height: 1.5; color: var(--odb-sub); margin-top: 4px; }
.odb-ohead__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.odb-gtag { display: inline-flex; align-items: center; height: 26px; padding: 0 13px; border-radius: 13px; background: var(--odb-primary-soft); color: #1E5C92; font-size: 13px; white-space: nowrap; }
.odb-ohead__status { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.odb-status { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 12px; background: #E9EDF2; color: #4A566E; font-size: 12.5px; font-weight: 700; }
.odb-ohead__likes { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--odb-sub); }
.odb-ohead__likes[hidden] { display: none; }
.odb-ohead__likes .odb-heart { width: 16px; height: 16px; }
.odb-ohead__owner { position: absolute; top: 24px; right: 24px; font-size: 13px; }
.odb-cta { flex: none; display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.odb-cta__item { display: flex; flex-direction: column; align-items: stretch; }
.odb-cta__note { margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--odb-muted); text-align: center; white-space: nowrap; }
.odb-btn-like { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 140px; height: 44px; padding: 0 18px; border: 1px solid #7FC3EE; border-radius: 6px; background: #FFF; color: var(--odb-primary); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.odb-btn-like .odb-heart { width: 17px; height: 17px; }
.odb-btn-like.is-on { background: #FFF1F6; border-color: #F6A9C6; color: #B8124D; }
.odb-btn-primary { display: inline-flex; align-items: center; justify-content: center; min-width: 260px; height: 44px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--odb-primary); color: #FFF !important; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; }
.odb-btn-primary:hover { background: var(--odb-primary-dark); }
.odb-btn-primary:disabled, .odb-btn-like:disabled { background: #D9E1EA; border-color: #D9E1EA; color: #4E5A70 !important; cursor: not-allowed; }
.odb-btn-primary.odb-btn-muted { background: #D9E1EA; color: #4E5A70 !important; }
.odb-btn-primary.odb-btn-muted:hover { background: #CBD5E0; }
.odb-btn-block { width: 100%; min-width: 0; }
.odb-need-talent { font-size: 12.5px; color: var(--odb-sub); text-align: center; margin-top: 8px; }

.odb-intro { margin-top: 16px; font-size: 14.5px; line-height: 1.85; color: var(--odb-text); }

.odb-cond { margin-top: 18px; border: 1px solid var(--odb-line); border-radius: 8px; overflow: hidden; }
.odb-cond__row { display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 1fr); min-height: 50px; }
.odb-cond__row + .odb-cond__row { border-top: 1px solid var(--odb-line); }
.odb-cond__row dt { display: flex; align-items: center; padding: 12px 18px; background: var(--odb-surface-tint); border-right: 1px solid var(--odb-line); font-size: 14px; line-height: 1.6; color: var(--odb-text); }
.odb-cond__row dd { display: flex; align-items: center; padding: 12px 18px; font-size: 14px; line-height: 1.6; }
.odb-undisclosed { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 12px; background: #EEF1F5; color: #55617A; font-size: 12px; }

.odb-creators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.odb-creator { padding: 18px 20px 18px; border: 1px solid var(--odb-line); border-radius: 8px; }
.odb-creator__name { font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--odb-ink); }
.odb-creator__pf { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--odb-sub); }
.odb-creator__pf svg { width: 20px; height: 18px; }
.odb-creator__stat { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--odb-sub); }
.odb-creator__stat span { margin-left: 12px; color: var(--odb-text); font-weight: 700; }
.odb-creator__link { display: inline-block; margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--odb-primary); }
.odb-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--odb-muted); }

.odb-gtags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.odb-gtags .odb-gtag { height: 30px; padding: 0 16px; border-radius: 15px; font-size: 13.5px; }

.odb-emptybox { text-align: center; padding: 8px 0 4px; }
.odb-emptybox svg { display: block; margin: 12px auto 0; width: 30px; height: 30px; color: var(--odb-primary-bright); }
.odb-emptybox p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--odb-text); }
.odb-emptybox .odb-textlink { display: inline-block; margin-top: 8px; }
.odb-emptybox .odb-emptybox__sub { margin-top: 6px; font-size: 13.5px; color: var(--odb-primary); }

.odb-notfound { max-width: 480px; margin: 64px auto; padding: 48px 24px; background: var(--odb-surface); border: 1px solid var(--odb-line); border-radius: var(--odb-radius); text-align: center; }
.odb-notfound__icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--odb-primary-bright); }
.odb-notfound__icon svg { width: 100%; height: 100%; }
.odb-notfound__title { font-size: 20px; font-weight: 700; color: var(--odb-ink); }
.odb-notfound__text { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--odb-sub); }
.odb-notfound .odb-btn-primary { margin-top: 28px; min-width: 220px; }

.odb-apply-cta { margin-top: 32px; text-align: center; }
.odb-apply-cta__title { font-size: 16px; font-weight: 700; color: var(--odb-ink); }
.odb-apply-cta__text { margin-top: 8px; font-size: 13.5px; color: var(--odb-sub); }
@media (max-width: 767px) {
  .odb-notfound { margin: 32px 0; padding: 36px 20px; }
}

.odb-faq { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; margin-top: 18px; }
.odb-faq__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--odb-ink); margin-bottom: 12px; }
.odb-faq__title small { font-size: 12.5px; font-weight: 400; color: var(--odb-muted); }
.odb-faq__list { border: 1px solid var(--odb-line); border-radius: 8px; padding: 4px 18px; }
.odb-faq__item { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 0; }
.odb-faq__item + .odb-faq__item { border-top: 1px solid #EDF2F7; }
.odb-faq__icon { width: 20px; height: 20px; flex: none; color: var(--odb-primary-bright); }
.odb-faq__q { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.6; color: var(--odb-text); }
.odb-faq__wait { flex: none; font-size: 12px; color: var(--odb-muted); }
.odb-faq__answer { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--odb-sub); }
.odb-vote { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--odb-primary-soft); color: #0A63A6; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; }
.odb-vote.is-on { background: var(--odb-primary); color: #FFF; }
.odb-vote:disabled { cursor: not-allowed; opacity: .7; }
.odb-vote span:empty { display: none; }
.odb-uq { border: 1px solid var(--odb-line); border-radius: 8px; padding: 6px 18px 18px; }
.odb-uq__item { display: flex; gap: 12px; padding: 14px 0; }
.odb-uq__item + .odb-uq__item { border-top: 1px solid #EDF2F7; }
.odb-uq__icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--odb-ink); }
.odb-uq__q { flex: 1; min-width: 0; font-size: 14px; line-height: 1.6; color: var(--odb-text); }
.odb-uq__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 12.5px; line-height: 1.6; color: var(--odb-muted); }
.odb-uq__none { padding: 14px 0; }
.odb-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin-top: 14px; border: 1px solid #7FC3EE; border-radius: 8px; background: #FFF; color: var(--odb-primary); font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.odb-btn-outline svg { width: 16px; height: 16px; }
.odb-uq__note { margin-top: 12px; font-size: 12px; line-height: 1.75; color: var(--odb-muted); }

.odb-similar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.odb-similar__lead { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--odb-sub); }
.odb-correction-line { margin: 18px 0 0 2px; }
.odb-correction-line .odb-textlink { font-size: 14px; font-weight: 700; }

.odb-owner { display: flex; align-items: center; gap: 24px; padding: 28px 28px 28px 32px; background: rgba(255, 255, 255, .7); }
.odb-owner__body { flex: 1; min-width: 0; }
.odb-owner__title { font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--odb-ink); }
.odb-owner__lead { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--odb-sub); }
.odb-owner__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 18px; }
.odb-owner__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--odb-text); }
.odb-owner__list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--odb-primary-bright); }
.odb-owner .odb-btn-primary { min-width: 0; width: 220px; height: 48px; font-size: 14.5px; border-radius: 8px; }

.odb-side { position: sticky; top: 16px; }
/* 詳細ページはヘッダーも追従。スクロール中は背景を透過して文字だけ見せる */
.odb-body--detail .odb-header { position: sticky; top: 0; z-index: 60; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.odb-body--detail .odb-header.is-scrolled { background: transparent; box-shadow: none; }
.odb-body--detail .odb-side { top: 70px; max-height: calc(100vh - 86px); overflow-y: auto; scrollbar-width: thin; }
.odb-side .odb-panel { padding: 20px 18px 20px; }
.odb-side .odb-panel__title { font-size: 16px; }
.odb-basic { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.odb-basic dt { font-size: 12px; color: var(--odb-muted); }
.odb-basic dt:not(:first-child) { margin-top: 12px; }
.odb-basic dd { margin-top: 2px; }
.odb-basic dd { color: var(--odb-text); overflow-wrap: anywhere; }
.odb-basic a { color: var(--odb-primary); }
.odb-side__cta { margin-top: 14px; }
.odb-side__cta[hidden] { display: none; }
.odb-side__cta .odb-btn-like, .odb-side__cta .odb-btn-primary { width: 100%; min-width: 0; height: 44px; }
.odb-side__cta .odb-btn-primary { margin-top: 12px; padding: 0 8px; font-size: 13px; }
.odb-side__cta .odb-cta__note { white-space: normal; font-size: 11.5px; }
.odb-side__owner { display: block; margin-top: 14px; text-align: center; }
.odb-panel__foot--split { justify-content: space-between; align-items: center; gap: 8px; }
.odb-panel__foot--split .odb-panel__meta { margin-left: 0; }

/* ---------- SP fixed footer ---------- */
.odb-spbar { display: none; }

/* ---------- Modal / sheet ---------- */
.odb-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 29, 75, .45); }
.odb-modal[hidden] { display: none; }
.odb-modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; background: #FFF; border-radius: 14px; padding: 26px 24px 22px; box-shadow: 0 12px 40px rgba(14, 29, 75, .25); }
.odb-modal__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--odb-sub); cursor: pointer; }
.odb-modal__title { font-size: 17px; font-weight: 700; color: var(--odb-ink); padding-right: 30px; }
.odb-modal__text { margin-top: 10px !important; font-size: 13px; line-height: 1.7; color: var(--odb-text); }
.odb-field { margin-top: 16px; }
.odb-field > label, .odb-field__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--odb-ink); }
.odb-field input[type=text], .odb-field input[type=email], .odb-field input[type=url], .odb-field input[type=password], .odb-field select, .odb-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--odb-line-2); border-radius: 8px; font: inherit; font-size: 14px; color: var(--odb-text); background: #FFF; }
.odb-field textarea { min-height: 110px; resize: vertical; }
.odb-field__count { margin-top: 4px !important; text-align: right; font-size: 11px; color: var(--odb-muted); }
.odb-field__hint { margin-top: 4px !important; font-size: 12px; color: var(--odb-sub); }
.odb-field__error { margin-top: 6px !important; font-size: 12.5px; color: #C8184E; }
.odb-req { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 7px; border-radius: 3px; background: #FEE2DC; color: #DC5C4E; font-size: 10.5px; font-weight: 700; vertical-align: middle; }

.odb-genre-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.odb-genre-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--odb-text); border: 1px solid var(--odb-line-2); border-radius: 8px; padding: 9px 16px; background: #FFF; cursor: pointer; }
.odb-genre-check:has(input:checked) { border-color: var(--odb-primary); color: var(--odb-primary); background: var(--odb-primary-soft-2); }

.odb-checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; font-size: 13.5px; line-height: 1.6; color: var(--odb-text); }
.odb-checkbox-row input { margin-top: 3px; }

.odb-apply { max-width: 640px; margin: 32px auto 64px; }
.odb-apply__head { text-align: center; margin-bottom: 24px; }
.odb-apply__head h1 { font-size: 22px; font-weight: 700; color: var(--odb-ink); }
.odb-apply__head p { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--odb-sub); }
.odb-apply .odb-panel + .odb-panel { margin-top: 20px; }
.odb-apply .odb-panel h2 { font-size: 15px; font-weight: 700; color: var(--odb-ink); }
.odb-apply .odb-btn-primary { width: 100%; height: 48px; margin-top: 24px; }

.odb-password-field { position: relative; }
.odb-password-field input { padding-right: 44px !important; }
.odb-password-toggle { position: absolute; top: 0; right: 0; width: 44px; height: 100%; display: flex; align-items: center; justify-content: center; background: none; border: none; color: var(--odb-muted); cursor: pointer; }
.odb-password-toggle svg { width: 20px; height: 14px; }
.odb-password-toggle:hover { color: var(--odb-sub); }
.odb-opt { color: var(--odb-muted); font-weight: 400; font-size: 11px; margin-left: 4px; }
.odb-req { color: #C8184E; font-weight: 400; font-size: 11px; margin-left: 4px; }
.odb-profile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--odb-primary-soft-2); font-size: 13px; }
.odb-profile__name { font-weight: 700; color: var(--odb-ink); }
.odb-profile__comp { margin-top: 8px !important; font-size: 12px; color: var(--odb-sub); }
.odb-profile__comp a { color: var(--odb-primary); text-decoration: underline !important; }
.odb-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--odb-text); cursor: pointer; }
.odb-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--odb-primary); }
.odb-explain { margin-top: 12px !important; padding: 10px 12px; border-radius: 8px; background: #F6F8FB; font-size: 12px; line-height: 1.7; color: var(--odb-sub); }
.odb-modal .odb-btn-primary { width: 100%; height: 46px; margin-top: 18px; font-size: 14px; border-radius: 8px; }
.odb-error { margin-top: 10px !important; font-size: 12.5px; color: #C8184E; }
.odb-error:empty { display: none; }
.odb-choices { display: grid; gap: 10px; margin-top: 16px; }
.odb-choice { display: block; width: 100%; padding: 14px 16px; border: 1px solid var(--odb-line-2); border-radius: 10px; background: #FFF; text-align: left; font-size: 14px; font-weight: 700; color: var(--odb-ink); cursor: pointer; }
.odb-choice:hover { border-color: var(--odb-primary); color: var(--odb-primary); }
.odb-radio { display: grid; gap: 8px; }
.odb-radio label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--odb-text); cursor: pointer; }
.odb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.odb-done { text-align: center; padding: 8px 0; }
.odb-done__icon { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: var(--odb-primary-soft); color: var(--odb-primary); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.odb-done .odb-similar { grid-template-columns: 1fr; text-align: left; }
.odb-back { margin-top: 12px; background: none; border: 0; color: var(--odb-primary); font-size: 13px; cursor: pointer; padding: 0; }

/* ---------- Toast ---------- */
.odb-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1100; max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 12px 18px; border-radius: 10px; background: var(--odb-ink); color: #FFF; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px rgba(14, 29, 75, .3); }
.odb-toast[hidden] { display: none; }
.odb-toast.is-error { background: #B8124D; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .odb-header__inner { padding: 0 20px 0 12px; }
  .odb-nav { gap: 14px; margin-left: 10px; }
  .odb-nav a:not(:first-child) { display: none; }
  .odb-container { width: auto; padding: 0 20px 40px; }
  .odb-sections { margin-left: 0; margin-right: 0; }
  .odb-section { grid-template-columns: 1fr; padding: 16px 16px 8px; }
  .odb-section__head { grid-column: 1; }
  .odb-section__all { margin-right: 0; }
  .odb-section__desc { padding: 8px 0 0; }
  .odb-br { display: none; }
  .odb-section__cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; margin-top: 12px; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .odb-section__cards > * { scroll-snap-align: start; }
  .odb-chips { overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .odb-chips::-webkit-scrollbar { display: none; }
  .odb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .odb-detail { grid-template-columns: minmax(0, 1fr); }
  .odb-detail .odb-breadcrumb { grid-column: 1; }
  .odb-side { position: static; order: 2; }
  .odb-main-col { display: contents; }
  .odb-main-col > .odb-panel { margin-top: 16px; }
  .odb-ohead-wrap { order: 1; }
  .odb-intro-wrap { order: 1; }
  .odb-side { order: 1; margin-top: 16px; }
  .odb-rest { order: 3; }
  .odb-side__cta, .odb-side__owner { display: none !important; }
  .odb-faq { grid-template-columns: minmax(0, 1fr); }
  .odb-creators, .odb-similar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 45%); overflow-x: auto; padding-bottom: 6px; }
  .odb-ohead__owner { position: static; display: inline-block; margin-top: 16px; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 767px) {
  .odb-header { height: 56px; }
  .odb-header__inner { height: 55px; padding: 0 12px 0 4px; }
  .odb-nav { display: none; }
  .odb-header__login, .odb-header__agency { display: none; }
  .odb-header__register { height: 36px; padding: 0 14px; font-size: 13px; }
  .odb-container { padding: 0 16px 32px; }
  .odb-hero-deco { display: none; }
  .odb-pagehead { padding-top: 18px; }
  .odb-pagehead h1 { font-size: 24px; line-height: 32px; }
  .odb-pagehead__lead { font-size: 14px; line-height: 22px; }
  .odb-chips { margin-right: -16px; padding-right: 16px; gap: 8px; }
  .odb-chip { height: 36px; padding: 0 16px; font-size: 14px; }
  .odb-section { padding: 18px 0 14px 16px; }
  .odb-section__head { padding-right: 16px; flex-wrap: wrap; height: auto; gap: 6px 10px; }
  .odb-section__title { font-size: 19px; }
  .odb-section__all { font-size: 13.5px; width: 100%; margin-left: 0; order: 3; }
  .odb-section__desc { padding-right: 16px; font-size: 13.5px; }
  .odb-section__cards { grid-auto-columns: 158px; padding-right: 16px; }
  .odb-toolbar__sort { margin-left: 0; }
  .odb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .odb-ohead { gap: 14px; }
  .odb-ohead__logo { width: 72px; height: 72px; }
  .odb-ohead__name { font-size: 22px; }
  .odb-cta { display: none; }
  .odb-panel, .odb-ohead-wrap { padding: 20px 16px; }
  .odb-cond__row { grid-template-columns: minmax(0, 1fr) auto; }
  .odb-cond__row dt, .odb-cond__row dd { padding: 12px; }
  .odb-creators, .odb-similar { grid-auto-columns: 80%; }
  .odb-faq__list, .odb-uq { padding-left: 14px; padding-right: 14px; }
  .odb-faq__item { flex-wrap: wrap; gap: 8px 12px; }
  .odb-faq__q { flex-basis: calc(100% - 34px); }
  .odb-faq__item .odb-vote { margin-left: 32px; }
  .odb-owner { flex-direction: column; align-items: stretch; padding: 22px 16px; }
  .odb-owner__list { grid-template-columns: 1fr; }
  .odb-owner .odb-btn-primary { width: 100%; height: 48px; }
  .odb-body--detail { padding-bottom: 80px; }
  .odb-spbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #FFF; box-shadow: 0 -4px 16px rgba(14, 29, 75, .1); }
  .odb-spbar .odb-btn-like { width: 34%; min-width: 0; height: 46px; padding: 0 8px; }
  .odb-spbar .odb-btn-primary { flex: 1; min-width: 0; width: auto; height: 46px; padding: 0 10px; font-size: 12.5px; line-height: 1.35; white-space: normal; text-align: center; }
  .odb-spbar .odb-need-talent { position: absolute; left: 0; right: 0; top: -18px; }
  .odb-modal { align-items: flex-end; padding: 0; }
  .odb-modal__box { max-width: none; max-height: 90vh; border-radius: 16px 16px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
  .odb-toast { bottom: 90px; }
}
.odb-notices { margin-top: 12px; }
.odb-notices li { padding: 14px 0; border-bottom: 1px solid var(--odb-line); font-size: 14.5px; line-height: 1.6; }
.odb-notices time { color: var(--odb-muted); margin-right: 8px; }
.odb-need-talent--head { margin: 0 0 0 auto; text-align: right; }
.odb-modal__title--center { padding-right: 0; }
.odb-explain--left { text-align: left; }
.odb-modal__text--sub { text-align: left; font-weight: 700; }
.odb-status--joined { background: var(--odb-primary-soft); color: #0A5E9C; }
.odb-filter__row { display: flex; flex-wrap: wrap; gap: 10px 24px; }

.odb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
