@charset "UTF-8";

/* =====================================================================
 * base.css — resume-site 共有スケルトン（01〜09 全サイトで宣言まで完全一致するルール）
 * どのサイトに読み込んでも挙動不変な構造/エンジン契約/モーダル論理のみ。
 * 色・レイアウト・スキンは各サイト theme-unique.css。⚠自動生成(split_all.js)。
 * ===================================================================== */

* { box-sizing: border-box; }
.field--full { grid-column: 1 / -1; }
.collapse.is-open { display: block; }
.baito-only { display: none; }
[hidden], .authm[hidden], .pmodal[hidden], .modal[hidden], .edu-modal[hidden] {
  display: none !important;
}
.authm__box[data-mode="login"] .authm-reg { display: none !important; }
.authm__box[data-mode="register"] .authm-login { display: none !important; }
.authm__box[data-mode="forgot"] .authm-reg,
.authm__box[data-mode="forgot"] .authm-login,
.authm__box[data-mode="forgot"] .authm-cred { display: none !important; }
.authm__box:not([data-mode="forgot"]) .authm-forgot { display: none !important; }
.authm__box:not(.is-dl) .authm-dl { display: none !important; }
.modal.is-open { display: flex !important; }
.edu-modal__box > label input[type="checkbox"] { margin-right: 8px; vertical-align: middle; }
.edu-modal__box select { display: block; width: 100%; margin-top: 6px; }
#eduSub { margin: 4px 0 10px; }
.edu-sub-lbl { flex: 0 0 auto; min-width: 168px; }
.edu-modal__foot { display: flex; gap: 12px; margin-top: 20px; }
.authm__consent input { margin-top: 3px; flex-shrink: 0; }
.authm__box--mp{max-width:460px;}
.mpm__head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.mpm__head .authm__title{text-align:left;margin:0;}
.mpm__body{margin-top:14px;}
.mpm__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.mpm__meta{flex:1 1 200px;min-width:0;}
.mpm__actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:16px;}
.mpm__new:hover{text-decoration:underline;}

/* 登録と申し込みを1つにした登録画面（#authModal[data-flow="optout"]・共有 auth.js）。06／01〜04・07〜09。
 * 規約同意を外すと、登録ボタンと「アカウントを作成せずに出力する」を押せなくする（auth.js が disabled を付ける）。
 * 表題・ボタンの文言が長いので、最後の1文字だけが次の行に落ちないよう文節の切れ目でそろえて折り返す。 */
#authModal[data-flow="optout"] #authSubmit:disabled,
#authModal[data-flow="optout"] #authSkip:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
#authModal[data-flow="optout"] .authm__title,
#authModal[data-flow="optout"] #authSubmit { text-wrap: balance; word-break: auto-phrase; }

/* お知らせの流れる帯（TOP・01〜04／06〜09）。常設＝中身は tools/skins/_common/partials/notice.html（空なら何も出ない）。
 * 01・04・06・08 はヘッダーの直下、02・03・07・09 は body の先頭（左のサイドバーがスマホで先に縦積みになるため）。
 * 02・03・07・09 の画面の高さに固定している幅は、各 theme-unique.css の「お知らせの帯があるとき」で収める。
 * 白地に赤字（Rirekisy 本体の帯と同じ色）。
 * テーマ色を使わない＝08 のベージュは白地で読めず、09 にはテーマ色が無い。
 * 「動きを減らす」設定の人には流さず、止めた文章を中央に出す。 */
.ticker { overflow: hidden; background: #fff; border-bottom: 1px solid rgba(51, 51, 51, 0.25); padding: 8px 0; }
.ticker__text { display: inline-block; margin: 0; padding-left: 100%; white-space: nowrap; font-size: 14px; font-weight: 700; color: #c05a5a; animation: tickerScroll 20s linear infinite; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__text { display: block; padding: 0 16px; white-space: normal; text-align: center; animation: none; }
}
