/**
 * conf-manager フロント画面スタイル
 *
 * @since 1.0.0
 */
/*
 * テーマのコンテンツエリアを広げる
 * プラグイン表示時のみ適用（:has でショートコードの存在を検知）
 */

/* プラグインのマウントポイント幅制限を解除 */
#conf-manager-public-app {
	max-width: none;
}

/* Lightning テーマ: 1カラム化 + コンテナ拡張 */
body:has(#conf-manager-public-app) .main-section {
	width: 100%;
	flex-basis: 100%;
	display: block;
}

body:has(#conf-manager-public-app) .main-section .sub-section {
	display: none;
}

body:has(#conf-manager-public-app) .site-body-container {
	max-width: 1200px;
}

/* 一般的なテーマ共通: エントリーコンテンツの幅を拡張 */
body:has(#conf-manager-public-app) .entry-body,
body:has(#conf-manager-public-app) .entry-content,
body:has(#conf-manager-public-app) .wp-block-post-content {
	max-width: none;
}

.conf-manager-public {
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ステップインジケーター */
.conf-manager-form__steps {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.conf-manager-form__step {
	padding: 6px 12px;
	border-radius: 4px;
	background: #f0f0f0;
	color: #757575;
	font-size: 13px;
}

.conf-manager-form__step.is-active {
	background: #0073aa;
	color: #fff;
	font-weight: bold;
}

.conf-manager-form__step.is-done {
	background: #00a32a;
	color: #fff;
}

/* エラー */
.conf-manager-form__error {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	padding: 12px 16px;
	margin-bottom: 16px;
}

/* 成功 */
.conf-manager-form__success {
	background: #f0f6fc;
	border-left: 4px solid #00a32a;
	padding: 16px 20px;
}

/* フォームフィールド */
.conf-manager-form__field {
	margin-bottom: 16px;
}

.conf-manager-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.conf-manager-form__field input,
.conf-manager-form__field select {
	padding: 8px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 14px;
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
}

.conf-manager-form__field input[type="email"] {
	max-width: 300px;
	display: inline-block;
	margin-right: 8px;
}

.conf-manager-form__checkbox {
	display: block;
	margin: 8px 0;
	cursor: pointer;
}

.conf-manager-form__checkbox input {
	width: auto;
	margin-right: 8px;
}

/* イベントカード */
.conf-manager-form__event-list {
	list-style: none;
	padding: 0;
}

.conf-manager-form__event-card {
	display: block;
	width: 100%;
	text-align: left;
	padding: 16px;
	margin-bottom: 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s;
}

.conf-manager-form__event-card:hover {
	border-color: #0073aa;
}

.conf-manager-form__event-card strong {
	display: flex;
	align-items: center;
	font-size: 16px;
	margin-bottom: 4px;
}

.conf-manager-form__event-badge {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #d63638;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
	animation: conf-badge-blink 1s ease-in-out infinite;
}

@keyframes conf-badge-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.2; }
}

.conf-manager-form__event-card span {
	color: #757575;
	font-size: 13px;
}

/* 前売・当日料金通知バナー */
.conf-manager-form__fee-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 14px;
}

.conf-manager-form__fee-notice.is-advance {
	background: #f0f6fc;
	border-left: 4px solid #0073aa;
	color: #0073aa;
}

.conf-manager-form__fee-notice.is-day {
	background: #fff3cd;
	border-left: 4px solid #856404;
	color: #856404;
}

/* 会員情報 */
.conf-manager-form__member-info {
	background: #f0f6fc;
	padding: 12px 16px;
	border-radius: 4px;
	margin: 12px 0;
}

/* 確認リスト */
.conf-manager-form__confirm-list {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 10px 20px;
	margin: 16px 0;
	padding: 16px 20px;
	background: #f9f9f9;
	border-radius: 6px;
}

.conf-manager-form__confirm-list dt {
	font-weight: 600;
	color: #50575e;
}

.conf-manager-form__confirm-list dd {
	margin: 0;
}

/* ボタン */
.conf-manager-form__actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.conf-manager-form__back,
.conf-manager-form__next,
.conf-manager-form__submit {
	padding: 10px 20px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.conf-manager-form__back {
	background: #f6f7f7;
	color: #50575e;
}

.conf-manager-form__next {
	background: #d63638;
	color: #fff;
	border-color: #d63638;
}

.conf-manager-form__next:hover {
	background: #b32d2e;
	border-color: #b32d2e;
}

.conf-manager-form__submit {
	background: #00a32a;
	color: #fff;
	border-color: #00a32a;
	font-weight: bold;
}

.conf-manager-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.conf-manager-form__register-new {
	padding: 10px 20px;
	border: 1px solid #d63638;
	border-radius: 4px;
	background: #d63638;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	margin-left: 8px;
}

.conf-manager-form__register-new:hover {
	background: #b32d2e;
	border-color: #b32d2e;
}

/* 自己登録フォーム */
.conf-manager-form__not-found {
	margin: 16px 0;
}

.conf-manager-form__self-register {
	margin-top: 8px;
}

.conf-manager-form__email-display {
	margin-bottom: 16px;
}

.conf-manager-form__otp-input {
	font-size: 20px !important;
	letter-spacing: 8px;
	text-align: center;
	max-width: 200px !important;
}

.conf-manager-form__field-row {
	display: flex;
	gap: 12px;
}

.conf-manager-form__field-row .conf-manager-form__field {
	flex: 1;
}

.conf-manager-form__radio-group {
	display: flex;
	gap: 20px;
	margin-top: 4px;
}

.conf-manager-form__radio-group label {
	display: inline-flex;
	align-items: center;
	font-weight: normal;
	cursor: pointer;
}

.conf-manager-form__radio-group input[type="radio"] {
	width: auto;
	margin-right: 6px;
}

.conf-manager-form__hint {
	margin-top: 12px;
	font-size: 13px;
}

.conf-manager-form__link-button {
	background: none;
	border: none;
	color: #0073aa;
	cursor: pointer;
	text-decoration: underline;
	font-size: 13px;
	padding: 0;
}

.conf-manager-form__link-button:hover {
	color: #005a87;
}

.conf-manager-form__field .required {
	color: #d63638;
}

/* 団体申込 */
.conf-manager-form__group-section {
	margin-bottom: 24px;
	padding: 16px;
	background: #f9f9f9;
	border-radius: 6px;
}

.conf-manager-form__group-section h4 {
	margin: 0 0 12px;
	font-size: 15px;
}

.conf-manager-form__staff-row {
	margin-bottom: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.conf-manager-form__staff-header {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}

.conf-manager-form__staff-num {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: #0073aa;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 24px;
	font-size: 12px;
	font-weight: bold;
}

.conf-manager-form__staff-name {
	flex: 1;
	min-width: 80px;
	padding: 6px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 14px;
}

.conf-manager-form__staff-email {
	flex: 2;
	min-width: 120px;
	padding: 6px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 14px;
}

.conf-manager-form__staff-options {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-left: 32px;
}

.conf-manager-form__staff-select {
	padding: 5px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 13px;
}

.conf-manager-form__staff-session {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	cursor: pointer;
}

.conf-manager-form__staff-session input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.conf-manager-form__staff-remove {
	background: none;
	border: none;
	color: #d63638;
	cursor: pointer;
	font-size: 18px;
	padding: 4px 8px;
}

.conf-manager-form__type-select {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.conf-manager-form__type-select .conf-manager-form__event-card {
	flex: 1;
}

/* マイページ */
.conf-manager-mypage__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	width: 100%;
}

.conf-manager-mypage__header h2 {
	width: 100%;
	max-width: none;
}

.conf-manager-mypage__welcome {
	font-size: 14px;
	color: #50575e;
	margin: 0 0 8px 0;
}

.conf-manager-mypage__layout {
	display: flex;
	gap: 24px;
}

.conf-manager-mypage__nav {
	flex: 0 0 180px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.conf-manager-mypage__nav-items {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.conf-manager-mypage__nav-item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 10px 16px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	color: #50575e;
}

.conf-manager-mypage__nav-item:hover {
	background: #f6f7f7;
}

.conf-manager-mypage__nav-item.is-active {
	background: #00838f;
	color: #fff;
	border-color: #00838f;
	font-weight: 600;
}

.conf-manager-mypage__content {
	flex: 1;
	min-width: 0;
}

.conf-manager-mypage__footer {
	text-align: right;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #e0e0e0;
}

.conf-manager-mypage__logout {
	background: none;
	border: 1px solid #bbb;
	color: #757575;
	cursor: pointer;
	font-size: 12px;
	padding: 6px 16px;
	border-radius: 4px;
	transition: color 0.2s, border-color 0.2s;
}

.conf-manager-mypage__logout:hover {
	color: #d32f2f;
	border-color: #d32f2f;
}

.conf-manager-mypage__section {
	margin-bottom: 24px;
}

.conf-manager-mypage__info {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 8px 16px;
}

/* マイページ 帳票一覧 */
.conf-manager-mypage__docs-list,
.conf-manager-mypage__cert-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.conf-manager-mypage__docs-row,
.conf-manager-mypage__cert-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	gap: 12px;
	flex-wrap: wrap;
}

/* 参加証Webページ */
.conf-manager-cert {
	background: #fff;
	border: 2px solid #333;
	border-radius: 8px;
	padding: 32px;
	max-width: 600px;
}

.conf-manager-cert__header {
	text-align: center;
	border-bottom: 2px solid #333;
	padding-bottom: 16px;
	margin-bottom: 24px;
}

.conf-manager-cert__header h2 {
	font-size: 28px;
	letter-spacing: 8px;
	margin: 0;
}

.conf-manager-cert__top {
	text-align: center;
	margin-bottom: 24px;
}

.conf-manager-cert__org {
	font-size: 14px;
	color: #50575e;
	margin: 0 0 4px;
}

.conf-manager-cert__name {
	font-size: 26px;
	font-weight: bold;
	margin: 0 0 20px;
}

.conf-manager-cert__qr {
	width: 160px;
	height: 160px;
	margin: 0 auto;
}

.conf-manager-cert__qr img {
	width: 100%;
	height: 100%;
}

.conf-manager-cert__detail {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 8px 16px;
	font-size: 14px;
	margin: 0 0 20px;
	padding: 16px;
	background: #f9f9f9;
	border-radius: 6px;
}

.conf-manager-cert__detail dt {
	font-weight: 600;
	color: #50575e;
}

.conf-manager-cert__detail dd {
	margin: 0;
}

.conf-manager-cert__organizer {
	text-align: right;
	font-size: 12px;
	color: #50575e;
	margin: 0 0 16px;
	line-height: 1.6;
}

.conf-manager-cert__no {
	font-size: 11px;
	color: #999;
	margin: 8px 0 0;
}


.conf-manager-mypage__info dt {
	font-weight: 600;
	color: #50575e;
}

.conf-manager-mypage__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.conf-manager-mypage__table {
	width: 100%;
	border-collapse: collapse;
	min-width: 500px;
}

.conf-manager-mypage__table th,
.conf-manager-mypage__table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
	font-size: 14px;
}

.conf-manager-mypage__table th {
	background: #f6f7f7;
	font-weight: 600;
}

.conf-manager-mypage__status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
}

.conf-manager-mypage__status--pending { background: #fcf0f1; color: #d63638; }
.conf-manager-mypage__status--confirmed { background: #fff3cd; color: #856404; }
.conf-manager-mypage__status--paid { background: #d4edda; color: #155724; }
.conf-manager-mypage__status--attended { background: #d1ecf1; color: #0c5460; }
.conf-manager-mypage__status--cancelled { background: #e2e3e5; color: #6c757d; }

/* マイページ 申込カード */
.conf-manager-mypage__reg-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.conf-manager-mypage__reg-card {
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.conf-manager-mypage__reg-card.is-expanded {
	border-color: #0073aa;
}

.conf-manager-mypage__reg-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	cursor: pointer;
	gap: 12px;
}

.conf-manager-mypage__reg-header:hover {
	background: #f6f7f7;
}

.conf-manager-mypage__reg-summary {
	flex: 1;
	min-width: 0;
}

.conf-manager-mypage__reg-summary strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}

.conf-manager-mypage__reg-meta {
	font-size: 12px;
	color: #757575;
}

.conf-manager-mypage__badge {
	display: inline-block;
	background: #0073aa;
	color: #fff;
	font-size: 11px;
	padding: 1px 6px;
	border-radius: 3px;
	margin-left: 6px;
}

.conf-manager-mypage__reg-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.conf-manager-mypage__reg-amount {
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
}

.conf-manager-mypage__reg-toggle {
	color: #757575;
	font-size: 12px;
}

.conf-manager-mypage__reg-detail {
	padding: 0 16px 16px;
	border-top: 1px solid #eee;
}

.conf-manager-mypage__pdf-links {
	display: flex;
	gap: 8px;
	margin: 12px 0;
	flex-wrap: wrap;
}

.conf-manager-mypage__pdf-btn {
	display: inline-block;
	padding: 6px 16px;
	background: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 13px;
}

.conf-manager-mypage__pdf-btn:hover {
	background: #005a87;
	color: #fff;
}

.conf-manager-mypage__pdf-btn--receipt {
	background: #00a32a;
}

.conf-manager-mypage__pdf-btn--receipt:hover {
	background: #008a20;
}

/* button 要素を pdf-btn として使う場合のリセット（編集・保存・キャンセル） */
button.conf-manager-mypage__pdf-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	line-height: 1.5;
}

button.conf-manager-mypage__pdf-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.conf-manager-mypage__pdf-btn--edit {
	background: #50575e;
}

.conf-manager-mypage__pdf-btn--edit:hover {
	background: #3c4146;
}

.conf-manager-mypage__pdf-btn--cancel {
	background: #fff;
	color: #50575e;
	box-shadow: inset 0 0 0 1px #c3c4c7;
}

.conf-manager-mypage__pdf-btn--cancel:hover {
	background: #f6f7f7;
	color: #50575e;
}

/* ---------------------------------------------------------------------------
 * テーマにボタンの文字色を奪われないようにする（2026-08-23 / v1.4.1）
 * ---------------------------------------------------------------------------
 * 上の .conf-manager-mypage__pdf-btn は詳細度 (0,1,0) しかないので、
 * テーマが .entry-content a { color: … } のような (0,2,0) を持っていると
 * **文字色と下線だけ**を奪われる（背景はこちらの色のまま残るので、
 * 「ボタンの色が変」ではなく「文字だけ別色」という見え方になる）。
 * Pro の顧客サイトで実際に起きた（ダウンロードの文字がピンクになった）。
 *
 * 配布先のテーマは選べないので、詳細度の勝負にはしない
 * （勝負にすると「もっと強いテーマ」に負ける）。最後は !important で決める。
 *
 * :link / :visited まで並べるのは、テーマが未訪問・訪問済みで別の色を
 * 当てている場合に片方だけ残らないようにするため。
 *
 * ⚠️ 背景は !important にしない。Free は --receipt（緑）/ --edit（灰）/
 *    --cancel（白地）で色分けしており、Pro のように 1 色へ統一していない。
 *    奪われていたのは文字色と下線なので、直すのもそこだけにする。
 * ⚠️ 対象はクラスそのもの（.conf-manager-mypage__pdf-btn）にする。
 *    .conf-manager-mypage__pdf-links の下だけに当てると、
 *    宛名編集の「編集」「保存」「キャンセル」を取りこぼす
 *    （あれらは __receipt-edit / __receipt-edit-actions の下に在る）。
 * ⚠️ クラス名を 2 回書いているのは、詳細度を (0,3,0) に揃えるため。
 *    :link / :visited / :hover などの擬似クラスは 1 つでクラス 1 個分に数えるので、
 *    その行だけ (0,3,0) になる。素の 1 回書きは (0,2,0) で、
 *    **<a> は :link が効くのに <button> は素の行しか当たらない**という
 *    非対称ができる（実測で保存・キャンセルだけがテーマに負けた）。
 *    ⚠️ ただしこれは「テーマも !important を使ってきたとき」の話で、
 *    !important の無いテーマ規則には素の (0,2,0) でも勝てる。
 */
.conf-manager-public .conf-manager-mypage__pdf-btn.conf-manager-mypage__pdf-btn,
.conf-manager-public .conf-manager-mypage__pdf-btn:link,
.conf-manager-public .conf-manager-mypage__pdf-btn:visited,
.conf-manager-public .conf-manager-mypage__pdf-btn:hover,
.conf-manager-public .conf-manager-mypage__pdf-btn:focus,
.conf-manager-public .conf-manager-mypage__pdf-btn:active {
	color: #fff !important;
	text-decoration: none !important;
}

/* --cancel だけは白地に濃い文字なので、文字色を別に固定する。
   上と同じ詳細度・同じ !important なので、後に書いたこちらが勝つ。 */
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel.conf-manager-mypage__pdf-btn--cancel,
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel:link,
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel:visited,
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel:hover,
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel:focus,
.conf-manager-public .conf-manager-mypage__pdf-btn--cancel:active {
	color: #50575e !important;
}

/* 領収書 宛名のインライン編集 */
.conf-manager-mypage__receipt-edit {
	margin-top: 10px;
}

.conf-manager-mypage__receipt-edit-form {
	margin-top: 8px;
	padding: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
	max-width: 480px;
}

.conf-manager-mypage__receipt-edit-form label {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.conf-manager-mypage__receipt-edit-form input {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 6px 8px;
	font-weight: 400;
	box-sizing: border-box;
}

.conf-manager-mypage__receipt-edit-ref {
	margin: 0 0 10px;
	font-size: 13px;
	color: #50575e;
}

.conf-manager-mypage__receipt-edit-hint {
	margin: 0 0 10px;
	font-size: 12px;
	color: #757575;
	line-height: 1.6;
}

.conf-manager-mypage__receipt-edit-actions {
	display: flex;
	gap: 8px;
}

.conf-manager-mypage__success {
	margin: 8px 0 0;
	font-size: 13px;
	color: #00a32a;
}

.conf-manager-mypage__pdf-note {
	font-size: 13px;
	color: #757575;
	margin: 0;
}

.conf-manager-mypage__staff-section {
	margin-top: 16px;
}

.conf-manager-mypage__staff-section h4 {
	margin: 0 0 8px;
	font-size: 14px;
}

/* マイページ 参加証印刷ボタン */
.conf-manager-mypage__print-btn {
	display: inline-block;
	padding: 14px 32px;
	background: #d63638;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.conf-manager-mypage__print-btn:hover {
	background: #b32d2e;
}

.conf-manager-mypage__print-note {
	margin: 12px 0 0;
	font-size: 13px;
	color: #757575;
}

/* マイページ ログインボタン */
.conf-manager-form__login-btn {
	display: block;
	width: 50%;
	max-width: 300px;
	margin-top: 12px;
	padding: 14px 24px;
	background: #d63638;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.conf-manager-form__login-btn:hover {
	background: #b32d2e;
}

.conf-manager-form__login-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* マイページ OTP認証 */
.conf-manager-mypage__email-hint {
	color: #0073aa;
	font-weight: 600;
	margin: 0 0 12px;
}
.conf-manager-mypage__otp-actions {
	display: flex;
	gap: 16px;
	margin-top: 12px;
}
.conf-manager-form__link {
	background: none;
	border: none;
	color: #0073aa;
	cursor: pointer;
	text-decoration: underline;
	font-size: 14px;
	padding: 0;
}
.conf-manager-form__link:hover {
	color: #005a87;
}
.conf-manager-form__link:disabled {
	color: #a7aaad;
	cursor: not-allowed;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 600px) {
	.conf-manager-public {
		padding: 12px;
	}

	.conf-manager-form__steps {
		gap: 4px;
	}

	.conf-manager-form__step {
		font-size: 11px;
		padding: 4px 8px;
	}

	.conf-manager-form__confirm-list {
		grid-template-columns: 1fr;
		gap: 4px 0;
		padding: 12px 16px;
	}

	.conf-manager-form__confirm-list dt {
		margin-top: 8px;
	}

	.conf-manager-form__confirm-list dt:first-child {
		margin-top: 0;
	}

	.conf-manager-form__field input[type="email"] {
		max-width: 100%;
		display: block;
		margin-right: 0;
		margin-bottom: 8px;
	}

	.conf-manager-form__field input,
	.conf-manager-form__field select {
		max-width: 100%;
	}

	.conf-manager-form__field-row {
		flex-direction: column;
		gap: 0;
	}

	.conf-manager-form__actions {
		flex-wrap: wrap;
	}

	.conf-manager-form__event-card {
		padding: 12px;
	}

	.conf-manager-mypage__info {
		grid-template-columns: 1fr;
	}

	.conf-manager-mypage__table th,
	.conf-manager-mypage__table td {
		padding: 8px;
		font-size: 12px;
	}

	.conf-manager-mypage__layout {
		flex-direction: column;
		gap: 16px;
	}

	.conf-manager-mypage__nav {
		flex: 0 0 auto;
		gap: 8px;
	}

	.conf-manager-mypage__nav-items {
		flex-direction: row;
		background: #f0f0f1;
		border-radius: 8px;
		padding: 3px;
		gap: 0;
	}

	.conf-manager-mypage__nav-item {
		flex: 1;
		text-align: center;
		white-space: nowrap;
		padding: 8px 12px;
		font-size: 13px;
		border: none;
		border-radius: 6px;
		background: transparent;
		color: #50575e;
		transition: background 0.15s, color 0.15s;
	}

	.conf-manager-mypage__nav-item:hover {
		background: rgba(0, 0, 0, 0.04);
	}

	.conf-manager-mypage__nav-item.is-active {
		background: #00838f;
		color: #fff;
		border-color: transparent;
		font-weight: 600;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	}

	.conf-manager-mypage__reg-header {
		flex-wrap: wrap;
	}

	.conf-manager-mypage__reg-right {
		width: 100%;
		justify-content: space-between;
		margin-top: 4px;
	}

	.conf-manager-mypage__docs-row,
	.conf-manager-mypage__cert-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.conf-manager-form__staff-header {
		flex-wrap: wrap;
	}

	.conf-manager-form__staff-name,
	.conf-manager-form__staff-email {
		flex: 1 1 100%;
	}

	.conf-manager-form__staff-options {
		margin-left: 0;
	}

	.conf-manager-form__staff-select {
		flex: 1 1 100%;
	}

	.conf-manager-form__type-select {
		flex-direction: column;
	}

	.conf-manager-cert {
		padding: 20px;
	}

	.conf-manager-cert__header h2 {
		font-size: 22px;
		letter-spacing: 4px;
	}

	.conf-manager-cert__name {
		font-size: 20px;
	}

	.conf-manager-cert__qr {
		width: 130px;
		height: 130px;
	}

	.conf-manager-cert__detail {
		grid-template-columns: 1fr;
		gap: 4px 0;
	}

	.conf-manager-cert__detail dt {
		margin-top: 8px;
	}

	.conf-manager-cert__detail dt:first-child {
		margin-top: 0;
	}

	/* 演題投稿モバイル */
	.conf-manager-form__coauthor-item {
		flex-direction: column;
		align-items: stretch;
	}

	.conf-manager-form__coauthor-item input[type="text"],
	.conf-manager-form__coauthor-item input[type="email"] {
		min-width: auto;
	}

	.conf-manager-form__coauthor-corresponding {
		justify-content: flex-start;
	}

	.conf-manager-form__coauthor-remove {
		align-self: flex-end;
	}

	.conf-manager-submission__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.conf-manager-submission__actions .conf-manager-form__login-btn {
		text-align: center;
	}

	.conf-manager-submission__detail-meta {
		flex-wrap: wrap;
		gap: 8px;
	}
}

/* ============================================
   Stripe決済フォーム
   ============================================ */
.conf-manager-stripe-form {
	max-width: 500px;
	margin: 20px 0;
}

.conf-manager-stripe-error {
	color: #d63638;
	font-size: 14px;
	margin: 12px 0 0;
	padding: 10px 14px;
	background: #fcf0f1;
	border-radius: 4px;
}

/* ─── 演題投稿フォーム ─── */

.conf-manager-form__textarea--large {
	width: 100%;
	min-height: 200px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	resize: vertical;
	padding: 8px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-sizing: border-box;
}

.conf-manager-form__required {
	color: #d63638;
}

/* 共著者リスト */
.conf-manager-form__coauthor-list {
	margin: 8px 0 12px;
}

.conf-manager-form__coauthor-item {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.conf-manager-form__coauthor-item input[type="text"],
.conf-manager-form__coauthor-item input[type="email"] {
	flex: 1;
	min-width: 100px;
	padding: 6px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 13px;
}

.conf-manager-form__coauthor-corresponding {
	white-space: nowrap;
	font-size: 12px;
	display: flex;
	align-items: center;
	gap: 3px;
}

.conf-manager-form__coauthor-remove {
	background: none;
	border: 1px solid #d63638;
	color: #d63638;
	cursor: pointer;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	flex-shrink: 0;
}
.conf-manager-form__coauthor-remove:hover {
	background: #d63638;
	color: #fff;
}

/* ファイルアップロード */
.conf-manager-form__file-upload {
	border: 2px dashed #c3c4c7;
	padding: 24px;
	text-align: center;
	border-radius: 8px;
	margin: 12px 0;
}
.conf-manager-form__file-upload:hover {
	border-color: #2271b1;
}

.conf-manager-form__file-info {
	margin-top: 8px;
	color: #50575e;
	font-size: 13px;
}

/* 演題投稿 — レイアウト部品 */

.conf-manager-submission__actions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 24px;
}

.conf-manager-submission__coauthor-confirm {
	list-style: disc;
	padding-left: 20px;
	margin: 8px 0;
}
.conf-manager-submission__coauthor-confirm li {
	padding: 4px 0;
}

.conf-manager-submission__done {
	text-align: center;
	padding: 40px 0;
}
.conf-manager-submission__done h3 {
	color: #00a32a;
}

.conf-manager-submission__deadline {
	font-size: 12px;
	color: #757575;
}

.conf-manager-submission__detail-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: #50575e;
}

.conf-manager-submission__avg-score {
	font-size: 16px;
	margin-bottom: 12px;
}

/* 演題ステータスバッジ */
.conf-manager-submission__status--submitted { background: #e8f0fe; color: #2271b1; }
.conf-manager-submission__status--reviewing { background: #fff3cd; color: #856404; }
.conf-manager-submission__status--revision { background: #fcf0f1; color: #d63638; }
.conf-manager-submission__status--accepted { background: #d4edda; color: #155724; }
.conf-manager-submission__status--rejected { background: #e2e3e5; color: #6c757d; }

/* 査読結果表示 */
.conf-manager-review-result {
	background: #f9f9f9;
	border: 1px solid #ddd;
	padding: 12px 16px;
	margin-bottom: 8px;
	border-radius: 4px;
}
.conf-manager-review-result__header {
	font-weight: 600;
	color: #50575e;
	margin: 0 0 4px 0;
}
.conf-manager-review-result__score {
	font-size: 16px;
	font-weight: bold;
}

.conf-manager-form__help {
	color: #757575;
	font-style: italic;
	font-size: 13px;
}

/* 文字数カウンター */
.conf-manager-form__char-counter {
	display: block;
	text-align: right;
	font-size: 12px;
	color: #757575;
	margin-top: 4px;
}
.conf-manager-form__char-counter.is-over {
	color: #d63638;
	font-weight: bold;
}

/* ========================================
   協賛企業一覧（公開ページ）
   ======================================== */

.conf-manager-sponsor-page {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 16px 40px;
}

/* ヘッダー */
.conf-manager-sponsor-page__header {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	color: #fff;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 32px;
}

.conf-manager-sponsor-page__title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	letter-spacing: .03em;
}

/* イベント別セクション */
.conf-manager-sponsor-page__event-section {
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid #e2e8f0;
}

.conf-manager-sponsor-page__event-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.conf-manager-sponsor-page__event-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 24px;
	padding: 16px 20px;
	background: #f1f5f9;
	border-radius: 8px;
	border-left: 4px solid #0f3460;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.conf-manager-sponsor-page__event-dates {
	font-size: 14px;
	font-weight: 400;
	color: #64748b;
}

/* 状態表示 */
.conf-manager-sponsor-page__loading,
.conf-manager-sponsor-page__empty {
	text-align: center;
	padding: 48px 16px;
	color: #757575;
	font-size: 15px;
}

.conf-manager-sponsor-page__error {
	text-align: center;
	padding: 20px;
	color: #d63638;
	background: #fef0f0;
	border-radius: 8px;
	margin-bottom: 24px;
}

/* ランクセクション */
.conf-manager-sponsor-page__section {
	margin-bottom: 32px;
}

.conf-manager-sponsor-page__rank-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e2e8f0;
}

.conf-manager-sponsor-page__rank-badge {
	display: inline-block;
	background: linear-gradient(135deg, #0f3460, #16213e);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 20px;
	letter-spacing: .04em;
}

.conf-manager-sponsor-page__rank-count {
	font-size: 13px;
	color: #94a3b8;
	font-weight: 400;
}

/* 企業カードグリッド */
.conf-manager-sponsor-page__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.conf-manager-sponsor-page__card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	transition: transform .15s, box-shadow .15s;
}

.conf-manager-sponsor-page__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.conf-manager-sponsor-page__company-name {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
}

.conf-manager-sponsor-page__pdf-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #3858e9, #2541b2);
	border-radius: 6px;
	text-decoration: none;
	transition: opacity .15s;
	align-self: flex-start;
}

.conf-manager-sponsor-page__pdf-link:hover {
	opacity: .85;
	color: #fff;
}

.conf-manager-sponsor-page__pdf-link svg {
	flex-shrink: 0;
}

.conf-manager-sponsor-page__no-pdf {
	display: inline-block;
	font-size: 12px;
	color: #94a3b8;
	padding: 4px 0;
}

/* PDFモーダル */
.conf-manager-sponsor-page__pdf-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .6);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.conf-manager-sponsor-page__pdf-modal {
	background: #fff;
	border-radius: 12px;
	width: 80vw;
	max-width: 900px;
	height: 80vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.conf-manager-sponsor-page__pdf-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.conf-manager-sponsor-page__pdf-modal-title {
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.conf-manager-sponsor-page__pdf-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #64748b;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
}

.conf-manager-sponsor-page__pdf-modal-close:hover {
	color: #1e293b;
}

.conf-manager-sponsor-page__pdf-modal-iframe {
	flex: 1;
	width: 100%;
	border: none;
}

.conf-manager-sponsor-page__pdf-modal-footer {
	padding: 12px 20px;
	border-top: 1px solid #e2e8f0;
	text-align: right;
	flex-shrink: 0;
}

.conf-manager-sponsor-page__pdf-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #3858e9, #2541b2);
	border-radius: 6px;
	text-decoration: none;
	transition: opacity .15s;
}

.conf-manager-sponsor-page__pdf-download-btn:hover {
	opacity: .85;
	color: #fff;
}

/* レスポンシブ */
@media (max-width: 600px) {
	.conf-manager-sponsor-page__header {
		padding: 24px 20px;
	}

	.conf-manager-sponsor-page__event-title {
		flex-direction: column;
		align-items: flex-start;
		font-size: 18px;
	}

	.conf-manager-sponsor-page__grid {
		grid-template-columns: 1fr;
	}
}

/* 利用規約承諾文 */
.conf-manager-form__terms-notice {
	margin: 16px 0 8px;
	font-size: 0.875rem;
	color: #555;
	line-height: 1.6;
}

.conf-manager-form__terms-notice a {
	color: #0073aa;
	text-decoration: underline;
	font-weight: 600;
}
