@charset "utf-8";

/* ===========================================================================
   Sirius 医学会 演題登録システム デザイン刷新 共有CSS（demo / 本番移植元）
   ベース: events/ivra2026 デザイン言語 / 項目順: eKonpas準拠 / 2026-06-12
   =========================================================================== */

@import url("https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp.min.css");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900");
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');

/* =========================================================================
   0. reset（最小）
   ========================================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
*:focus { outline: none; }

/* =========================================================================
   1. base / typography
   ========================================================================= */
body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, "YakuHanJP", "Noto Sans JP", Meiryo, sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.77rem + 0.23vw, 0.9375rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: #454545;
  letter-spacing: 0.02em;
  background: #f0f1f2 url('../image/bg-body.png') repeat;
}
a { color: #2f6fb0; }

.wrap { width: 100%; margin: 0 auto; }

/* =========================================================================
   2. header（h1 = 明朝, 注意バンド）
   ========================================================================= */
header { width: 100%; margin: 15px auto; }
header h1 {
  font-family: "Sawarabi Mincho", serif;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.875rem);
  font-weight: bold; text-align: center; color: #2c2c2c;
  padding: 0.5em 0; margin: 0;
}
/* 二段ヘッダー：上＝画面名（小）／下＝大会名（主）。長い大会名の折り返しをバランス化 */
header h1 .page-type {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.62em; font-weight: 700; color: #fff;
  background: #f35d40; letter-spacing: 0.08em;
  padding: 3px 16px; border-radius: 999px;
  margin-bottom: 11px; vertical-align: middle;
}
header h1 .event-name { display: block; line-height: 1.4; }
header h1 .event-name .event-name-suffix { white-space: nowrap; }
header h1 .event-name .event-name-suffix::before { content: "\0020"; } /* PC：半角空き（…研究会 合同大会） */
header .registration-period {
  width: 960px; max-width: 95%; margin: 0 auto;
  font-size: clamp(0.875rem, 0.84rem + 0.17vw, 1rem);
  font-weight: bold; text-align: center;
  border-top: 1px solid #686868; border-bottom: 1px solid #686868;
  padding: 0.75em 0; line-height: 1.45;
}
header .registration-period .note {
  display: block; font-weight: 400; font-size: 0.85em; color: #777;
}

/* =========================================================================
   3. form 全体
   ========================================================================= */
form#mail_form { width: 960px; max-width: 95%; margin: 0 auto; padding: 0; }
form#mail_form * { margin: 0; padding: 0; }

/* 修正画面の注意文（旧 .chui-top 互換） */
p.chui-top {
  width: 960px; max-width: 95%; margin: 22px auto 0; text-align: center;
  font-size: 1.05em; font-weight: 500; color: #c2410c;
}

/* 修正画面 プレビューボタン */
.preview-row { width: 960px; max-width: 95%; margin: 18px auto 0; text-align: center; }
#preview_button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  border: 1.5px solid #46b8da; background: #f3f8fb; color: #1f7a9c;
  font-family: inherit; font-size: 0.95em; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
#preview_button:hover { background: #46b8da; color: #fff; box-shadow: 0 4px 12px rgba(70,184,218,0.3); }
#preview_button i { font-size: 1.1em; }
/* add.php ではプレビューボタンが #mail_form 内＝リセット(form#mail_form *{padding:0})に負けるため padding を再指定 */
form#mail_form #preview_button { padding: 12px 28px; }
form#mail_form .preview-hint { text-align: center; color: #1f7a9c; font-size: 0.9em; margin: 10px 0 0; line-height: 1.7; }
@media screen and (max-width: 640px) {
  /* 大会名：SPは「合同大会」を改行して2段目に（…研究会／合同大会） */
  header h1 { padding-left: 14px; padding-right: 14px; }            /* 左右に余白 */
  header h1 .event-name { font-size: 3.8vw; white-space: nowrap; }   /* 今案件のみ：1行目（…研究会）を1行に収める */
  header h1 .event-name .event-name-suffix { display: block; white-space: normal; }  /* 合同大会を2段目へ */
  header h1 .event-name .event-name-suffix::before { content: none; }
  /* プレビューボタン：モバイルは全幅・中央・余白控えめで折返しを整える */
  #preview_button, form#mail_form #preview_button {
    display: flex; width: 100%; box-sizing: border-box; justify-content: center;
    padding: 13px 14px; font-size: 0.9em; line-height: 1.55;
  }
  /* ※注意文：モバイルは左寄せ＋ぶら下げ（※の後に2段目を揃える） */
  form#mail_form .preview-hint { text-align: left; padding-left: 1.6em; text-indent: -1.6em; }
}

/* 修正画面の注意カード（.edit-notice） */
.edit-notice {
  width: 960px; max-width: 95%; margin: 26px auto 0;
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff7f4; border: 1px solid #f3c9b9;
  border-radius: 10px; padding: 22px 26px;
  box-shadow: 0 2px 10px rgba(216,90,48,0.08);
}
.edit-notice .ei {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: #f35d40; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.35em; margin-top: 2px;
}
.edit-notice .eb { flex: 1; }
.edit-notice .eb p { margin: 0 0 10px; line-height: 1.85; color: #4a4a4a; font-size: 0.96em; }
.edit-notice .eb p:last-child { margin-bottom: 0; }
.edit-notice .eb b {
  color: #c2410c; font-weight: 500;
  background: #fde7df; padding: 2px 7px; border-radius: 4px;
}
.edit-notice .eb .warn {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #f0cfc2;
  color: #b04a4a; font-size: 0.9em;
}
.edit-notice .eb .warn i { margin-right: 6px; vertical-align: -1px; }
@media screen and (max-width: 640px) {
  .edit-notice { padding: 18px; gap: 13px; }
  .edit-notice .ei { width: 36px; height: 36px; font-size: 1.15em; }
}

/* =========================================================================
   4. セクション見出し h2（黒アイコン + 下線）
      本番は <span class="iconNN"> のまま ::before を glyph 差し替え（PHP不変）
   ========================================================================= */
form#mail_form h2 {
  display: flex; align-items: center;
  border-bottom: 1px solid #333; width: 100%;
  margin: 60px auto 0; padding: 15px 0 6px 4px;
  font-size: 1.2em; font-weight: 500; color: #2c2c2c;
}
form#mail_form h2:first-of-type { margin-top: 25px; }
form#mail_form h2 > i { font-size: 1.45em; margin-right: 0.4em; color: #2c2c2c; }
/* 本番ビューは <span class="iconNN"> のまま。アイコンフォント glyph で表示（PHP非依存） */
form#mail_form h2 > span[class^="icon"]::before {
  font-family: "bootstrap-icons"; font-weight: normal !important;
  margin-right: 0.4em; font-size: 1.35em; vertical-align: -3px; color: #2c2c2c;
}

/* 見出し直下の補足ブロック */
form#mail_form .hosoku00 { width: 100%; margin: 16px auto 0; padding-bottom: 10px; }
form#mail_form .hosoku00 .lead { font-weight: 500; color: #333; margin-bottom: 6px; }
form#mail_form .hosoku00 .small { font-size: 0.92em; color: #01388b; line-height: 1.9; }
form#mail_form .hosoku00 .alert { font-size: 0.92em; color: #d9534f; line-height: 1.9; }

/* =========================================================================
   5. DL（dt 30% / dd 70%・1000px以下で縦積み）
   ========================================================================= */
form#mail_form dl {
  width: 100%; margin: 0 auto;
  border-bottom: 1px solid #cccccc;
  display: flex; flex-wrap: wrap;
}
form#mail_form dl.bbno { border-bottom: none; }
form#mail_form dl dt,
form#mail_form dl dd {
  border-top: 1px solid #cccccc; padding: 20px 14px; box-sizing: border-box;
}
form#mail_form dl dt {
  width: 30%; position: relative;
  display: flex; align-items: center; align-content: center; justify-content: flex-end; flex-wrap: wrap;
  padding: 25px 14px 25px 78px; text-align: right; font-weight: 500; line-height: 1.4;
}
form#mail_form dl dd { width: 69.5%; }
form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child + dd { border-top: none; }
form#mail_form dl dt small { 
  /* display: block;  */
  width: 100%; 
  font-size: 80%; 
  color: #797979; 
  font-weight: 400; 
}
form#mail_form dl dt .dt-sub { display: block; width: 100%; font-weight: 400; }

/* =========================================================================
   6. 必須 / 任意 バッジ（JS生成: dt > span.required / span.optional）
   ========================================================================= */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 54px; padding: 7px 13px; border-radius: 4px;
  color: #fff; font-size: 0.78em; font-weight: 400; line-height: 1.2; white-space: nowrap;
}
form#mail_form dl dt span.required { background: #d9534f; border: 1px solid #d43f3a; }
form#mail_form dl dt span.optional { background: #337ab7; border: 1px solid #2e6da4; }
/* 必須/任意バッジ ja-en：英語(.req-en)は一回り小さく＋日本語との間を少し開ける */
form#mail_form dl dt span.required .req-en,
form#mail_form dl dt span.optional .req-en { font-size: 0.82em; margin-left: 3px; font-weight: 400; }

/* エラー文言（JS生成） */
form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format { display: block; color: #ff0000; margin-top: 4px; font-size: 0.92em; }

/* =========================================================================
   7. 入力部品
   ========================================================================= */
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"],
form#mail_form select,
form#mail_form textarea {
  border: 1px solid #cccccc; border-radius: 3px; background: #fafafa;
  font-size: 100%; font-family: inherit; appearance: none; -webkit-appearance: none;
}
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] { width: 100%; padding: 11px 2%; }
form#mail_form textarea { display: block; width: 100%; height: 200px; padding: 10px 2%; resize: vertical; line-height: 1.7; }
input:not([type="button"]):not(.option-input):not([type="checkbox"]):not([type="radio"]):focus,
select:focus, textarea:focus {
  box-shadow: inset 0 0 0 1px #f35d40; background: #fff;
}
.option-input:focus, .option-input:focus-visible, .option-input:active {
  outline: none; box-shadow: none; border: none;
}
::placeholder { color: #ccc; font-size: 0.9em; }
form#mail_form dl dd > p { color: #01388b; font-size: 0.9em; margin-top: 7px; line-height: 1.6; }

/* 氏名・ふりがな 横並び（筆頭/共著者すべて） */
form#mail_form input[id^="name_"],
form#mail_form input[id^="read_"] {
  width: 40% !important; min-width: 190px; margin-right: 14px; margin-bottom: 6px;
}
.w100 { width: 100% !important; }

/* 郵便番号 + 検索ボタン */
form#mail_form input#postal, form#mail_form input#postal2 {
  width: 9em !important; text-align: center; margin-right: 6px; display: inline-block; vertical-align: middle;
}
form#mail_form input#postal + a, form#mail_form input#postal2 + a {
  display: inline-block; padding: 11px 16px; vertical-align: middle; line-height: 1.2;
  background: #5bc0de; border: 1px solid #46b8da; border-radius: 3px;
  color: #fff; text-decoration: none; font-size: 0.95em;
}
form#mail_form input#postal + a:hover, form#mail_form input#postal2 + a:hover { background: #31b0d5; border-color: #269abc; }
/* 電話・FAX */
form#mail_form input#institution_tel1, form#mail_form input#institution_tel2,
form#mail_form input#fax, form#mail_form input#tel1, form#mail_form input#tel2 { width: 15em !important; }
/* メール・住所
   ※実 add.php は id="address"/"institution02" が重複しているため
     幅指定は name 属性ベースで安全に当てる（id 非依存） */
form#mail_form input#mail_address, form#mail_form input#mail_address_confirm { width: 80% !important; min-width: 260px; }
form#mail_form input[name="institution_address"],
form#mail_form input[name="address"],
form#mail_form input#institution,
form#mail_form input[name^="institution_name"] { width: 100% !important; }
/* 生年月日 */
form#mail_form input#schedule { width: 13em !important; }

/* select 装飾（▼） */
form#mail_form select.minimal {
  width: 60%; min-width: 260px; height: 50px; padding: 12px 60px 12px 15px;
  background-image:
    linear-gradient(to bottom left, #ccc 50%, transparent 50%),
    linear-gradient(to bottom right, #ccc 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1.2rem), calc(100% - 15px) calc(1.2rem), calc(100% - 2.5rem) 0.85em;
  background-size: 5px 5px, 5px 5px, 1px 1.5rem; background-repeat: no-repeat;
}

/* =========================================================================
   8. ラジオ / チェック（.rbox + .option-input）
   ========================================================================= */
form#mail_form ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
form#mail_form ul li { list-style: none; }
form#mail_form ul li label.rbox {
  display: inline-flex; align-items: center; margin: 0;
  padding: 11px 18px;
  border: 1px solid #cccccc; border-radius: 3px; background: #fafafa; cursor: pointer; line-height: 1.4;
}
form#mail_form ul li label.rbox:hover { background: #f0f0f0; box-shadow: inset 0 0 0 1px #f35d40; }
.rbox:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px #46b8da; font-weight: 500; }

/* 所属機関番号チップ */
form#mail_form ul li label.rbox.w15 { min-width: 58px; justify-content: center; padding: 9px 12px; }
/* COI 等 */
form#mail_form ul li label.rbox.w45 { min-width: 38%; }

/* カスタム円ラジオ/チェック */
form#mail_form .option-input {
  position: relative; display: inline-block; width: 16px; height: 16px; min-width: 16px;
  flex-shrink: 0; margin: 0 0.5em 0 0; vertical-align: middle; cursor: pointer;
  appearance: none; -webkit-appearance: none; border: none; background: none;
}
.option-input:after {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; content: "";
  box-sizing: border-box; border: 1px solid #cccccc; border-radius: 50%; background: #fff;
}
.option-input:before {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 8px; height: 8px; content: '';
  transform: translate(-50%, -50%) scale(0); transition: transform 0.35s cubic-bezier(0.45, 1.8, 0.5, 0.75);
  border-radius: 50%; background: #46b8da;
}
.option-input:checked:before { transform: translate(-50%, -50%) scale(1); }

/* =========================================================================
   9. 共著者 追加ボックス（.box.add_box / チェックで入力欄を開く）
   ========================================================================= */
form#mail_form dl.author { display: flex; flex-wrap: wrap; }
form#mail_form .box.add_box {
  width: 100%; margin: 26px 0 6px; padding: 17px 24px;
  background: #fff; border: 1px solid #dbe3ea; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  font-weight: 500; color: #37474f; transition: all 0.2s;
}
form#mail_form .box.add_box:hover { border-color: #9fc4dc; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
form#mail_form .box.add_box:has(input:checked) { background: #f0f8fe; border-color: #46b8da; box-shadow: 0 2px 10px rgba(70,184,218,0.15); }
form#mail_form .box.add_box label.add_label {
  display: flex; align-items: center; gap: 0.5em; margin: 0; cursor: pointer;
  font-size: 1.02em; letter-spacing: 0.03em;
}
form#mail_form .box.add_box input[type="checkbox"] {
  width: 22px; height: 22px; min-width: 22px; margin: 0; cursor: pointer; accent-color: #1f9ad6;
}
form#mail_form .box.add_box label.add_label::after {
  content: "登録しない"; margin-left: auto;
  font-size: 0.78em; font-weight: 500; color: #90a4ae;
  background: #eceff1; padding: 6px 16px; border-radius: 999px;
}
form#mail_form .box.add_box:has(input:checked) label.add_label::after { content: "登録する"; color: #fff; background: #1f9ad6; }
.coauthor_detail_wrap { display: flex; flex-wrap: wrap; width: 100%; }

/* =========================================================================
   10. 文字数カウンタ / 特殊文字ボタン
   ========================================================================= */
form#mail_form #text-count1, form#mail_form #text-count3 { display: block; text-align: right; font-size: 0.9em; color: #666; margin-top: 6px; }
#text-count1 .num, #text-count3 .num,
#num1, #num3 { color: #1d9e75; font-weight: 500; }
form#mail_form .square_btn { margin: 4px 0 0; }
form#mail_form .square_btn a {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 26px 9px 9px; text-decoration: none; font-weight: 500; font-size: 0.95em;
  color: #c2410c; background: #fff;
  border: 1px solid #f0c4b4; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(216,90,48,0.12); transition: all 0.22s ease;
}
form#mail_form .square_btn a i {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: #f35d40; border: 1.5px solid #f35d40; font-size: 1em;
}
form#mail_form .square_btn a:hover {
  background: #f35d40; border-color: #f35d40; color: #fff;
  box-shadow: 0 6px 16px rgba(216,90,48,0.3); transform: translateY(-2px);
}
form#mail_form .square_btn a:hover i { background: #fff; color: #f35d40; border-color: #fff; }

/* 演題情報 説明カード（白パネル） */
form#mail_form .topic-guide {
  background: #fff; border: 1px solid #e3e8ec; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 26px 30px; margin: 20px 0 12px;
}
form#mail_form .topic-guide .desc { font-size: 0.95em; color: #444; line-height: 1.9; margin-bottom: 18px; }
form#mail_form .limit-box {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  background: #f3f8fb; border: 1px solid #d6e6ef; border-left: 4px solid #46b8da;
  border-radius: 0 6px 6px 0; padding: 16px 20px; margin-bottom: 18px;
}
form#mail_form .limit-box .lang-tag {
  flex: none; background: #46b8da; color: #fff; font-size: 0.82em; font-weight: 500;
  padding: 6px 16px; border-radius: 4px; letter-spacing: 0.06em; margin-top: 2px;
}
form#mail_form .limit-rows { flex: 1; min-width: 240px; }
form#mail_form .limit-row { display: flex; align-items: baseline; padding: 4px 0; }
form#mail_form .limit-row + .limit-row { border-top: 1px dashed #cfe3ee; margin-top: 4px; padding-top: 8px; }
form#mail_form .limit-label {
  flex: none; width: 6em; font-weight: 500; color: #1f7a9c; font-size: 0.95em; white-space: nowrap;
}
form#mail_form .limit-value { color: #2c3e50; font-size: 0.95em; line-height: 1.7; }
form#mail_form .limit-value b { color: #1f7a9c; }
form#mail_form .limit-note { display: block; font-size: 0.85em; color: #5b7686; margin-top: 10px; padding-left: 1.2em; text-indent: -1.2em; }
form#mail_form .caution-list { display: block; list-style: none; margin: 0 0 22px; padding: 0 0.2em; }
form#mail_form .caution-list li {
  display: block; width: 100%;
  position: relative; padding-left: 1.6em; font-size: 0.92em; color: #666; line-height: 2;
}
form#mail_form .caution-list li::before { content: "※"; position: absolute; left: 0; color: #f35d40; }

/* =========================================================================
   12. インフォメーション note
   ========================================================================= */
form#mail_form div.note { width: 100%; margin: 0 auto; padding: 28px 0; border-bottom: 1px solid #cccccc; line-height: 1.9; }
form#mail_form div.note p { margin-bottom: 34px; }
form#mail_form div.note p .ttl { display: inline-block; font-weight: 500; color: #2c2c2c; margin-bottom: 6px; }
form#mail_form div.note p.logo { margin: 44px 0 12px; }
form#mail_form div.note p.logo img { max-width: 220px; height: auto; }

/* =========================================================================
   13. 送信ボタン（CTA）
   ========================================================================= */
p#form_submit { width: 100%; text-align: center; padding: 36px 0 25vh; }
form#mail_form input#form_submit_button {
  width: min(100%, 460px);
  padding: 20px 40px;
  border: none; border-radius: 10px;
  background: #27ae60; color: #fff;
  font-family: inherit; font-size: 1.2em; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  box-shadow: 0 6px 16px rgba(39,174,96,0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
form#mail_form input#form_submit_button:hover {
  background: #229a54; box-shadow: 0 10px 22px rgba(39,174,96,0.42); transform: translateY(-2px);
}
form#mail_form input#form_submit_button:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(39,174,96,0.35); }

/* 修正画面：修正せず終了する（edit.php #form_submit_cancel_button .button_cancel） */
form#mail_form input#form_submit_cancel_button {
  width: min(100%, 280px);
  padding: 18px 30px; margin: 0 18px 12px 0;
  background: #fff; color: #b04a4a; border: 1.5px solid #d9a3a3; border-radius: 10px;
  font-family: inherit; font-size: 1em; font-weight: 500;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
form#mail_form input#form_submit_cancel_button:hover {
  background: #fdf6f6; border-color: #c97a7a; color: #963c3c;
}
@media screen and (max-width: 640px) {
  form#mail_form input#form_submit_cancel_button { margin: 0 0 14px; }
}

/* =========================================================================
   14. ページトップ / footer
   ========================================================================= */
#pagetop {
  position: fixed; right: 25px; bottom: 25px; width: 2.7em; height: 2.7em;
  border-radius: 50%; background: #f35d40; color: #fff; text-align: center; line-height: 2.7em;
  cursor: pointer; text-decoration: none; opacity: 0.92;
}
#pagetop:hover { opacity: 1; }
footer { width: 100%; padding: 15px 0; text-align: center; }
footer p { font-size: 0.8em; color: #454545; font-style: italic; margin: 0; }

/* =========================================================================
   14.5 セクションナビ（ドット・レール / h2から自動生成）
   ========================================================================= */
#section-nav {
  position: fixed; right: 16px; top: 110px; z-index: 100;
  font-size: 13px;
}
#section-nav ul {
  list-style: none; margin: 0; padding: 10px 9px;
  background: rgba(255,255,255,0.96); border: 1px solid #e3e8ec; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 2px;
}
#section-nav li { margin: 0; padding: 0; }
#section-nav a {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 8px; border-radius: 8px;
  text-decoration: none; color: #7a8a96; cursor: pointer;
}
#section-nav a .dot {
  width: 8px; height: 8px; min-width: 8px; border-radius: 50%;
  background: #c5d2da; transition: background 0.2s, box-shadow 0.2s;
}
#section-nav a .label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; margin-left: 0;
  transition: max-width 0.28s ease, opacity 0.22s ease, margin-left 0.28s ease;
}
#section-nav:hover a .label, #section-nav.sp-open a .label { max-width: 15em; opacity: 1; margin-left: 9px; }
#section-nav:hover a, #section-nav.sp-open a { justify-content: flex-start; }
#section-nav a:hover { background: #f3f8fb; color: #2c3e50; }
#section-nav a.active { color: #2c3e50; font-weight: 500; }
#section-nav a.active .dot { background: #f35d40; box-shadow: 0 0 0 3px rgba(243,93,64,0.18); }
#section-nav li.nav-action a .dot { background: #46b8da; box-shadow: 0 0 0 3px rgba(70,184,218,0.18); }
#section-nav li.nav-action a:hover { color: #1f7a9c; }
#section-nav-fab {
  display: none; position: fixed; right: 25px; bottom: 85px; z-index: 101;
  width: 2.7em; height: 2.7em; border-radius: 50%;
  background: #fff; color: #f35d40; border: 1.5px solid #f35d40;
  font-size: 1em; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
@media screen and (max-width: 1100px) {
  #section-nav { display: none; }
  #section-nav.sp-open {
    display: block; top: auto; bottom: 135px; transform: none; right: 25px;
  }
  #section-nav-fab { display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================================
   15. レスポンシブ（1000px以下: dl 縦積み・バッジはインライン）
   ========================================================================= */
@media screen and (max-width: 1000px) {
  form#mail_form dl { display: block; }
  form#mail_form .coauthor_detail_wrap { display: block; width: 100%; }
  form#mail_form dl dt, form#mail_form dl dd {
    display: block; width: auto; border-top: none; padding: 16px 0 6px;
  }
  form#mail_form dl dt { text-align: left; justify-content: flex-start; padding-left: 0; }
  form#mail_form dl dd { padding: 0 0 16px; }
  form#mail_form dl { border-bottom: 1px solid #ccc; padding-top: 6px; }
  form#mail_form dl dt span.required,
  form#mail_form dl dt span.optional {
    position: static; transform: none; margin: 0 8px 0 0; min-width: 0;
  }
  form#mail_form input[id^="name_"], form#mail_form input[id^="read_"],
  form#mail_form input#mail_address, form#mail_form input#mail_address_confirm,
  form#mail_form select.minimal { width: 100% !important; min-width: 0; }
}

/* 文字数制限ボックス：狭幅ではタグ→行を縦積み */
@media screen and (max-width: 640px) {
  form#mail_form .limit-box { display: block; }
  form#mail_form .limit-box .lang-tag { display: inline-block; margin: 0 0 12px; }
  form#mail_form .limit-rows { min-width: 0; }
  form#mail_form .limit-row { display: block; }
  form#mail_form .limit-label { display: block; width: auto; margin-bottom: 2px; }
  /* ヘッダー注意文：折返し時は左寄せ＋ぶら下げ（※の後に2段目を揃える） */
  header .registration-period .note { text-align: left; padding-left: 1.3em; text-indent: -1.3em; }
}

/* =========================================================================
   16. 確認画面（confirm / econfirm : div#confirm_field）
   ========================================================================= */
div#confirm_field {
  width: 960px; max-width: 95%; margin: 30px auto 0;
  background: #fff; border: 1px solid #e3e8ec; border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  padding: 34px 4% 30px; line-height: 1.8;
}
div#confirm_field h2 {
  text-align: center; font-size: 1.25em; font-weight: 500; color: #2c3e50;
  margin: 0 0 6px; padding: 0 0 14px;
}
div#confirm_field h3.section-title {
  display: flex; align-items: center;
  border-bottom: 1px solid #333;
  margin: 42px 0 0; padding: 12px 0 6px 4px;
  font-size: 1.1em; font-weight: 500; color: #2c2c2c;
}
/* 本番方式: span.iconNN の ::before に Bootstrap Icons glyph（PHP不変） */
.section-title span[class^="icon"]::before {
  font-family: "bootstrap-icons"; font-weight: normal !important;
  display: inline-block; margin-right: 0.45em; vertical-align: -2px;
  font-size: 1.3em; line-height: 1; color: #2c2c2c;
}
/* glyph マップ（フォーム見出し h2 / 確認画面 section-title 共通） */
form#mail_form h2 span.icon01::before, .section-title span.icon01::before { content: "\f4d7"; } /* 筆頭演者 = person-circle */
form#mail_form h2 span.icon02::before, .section-title span.icon02::before { content: "\f3e8"; } /* 所属機関住所 = geo-alt */
form#mail_form h2 span.icon03::before, .section-title span.icon03::before { content: "\f32f"; } /* 電子メール = envelope */
form#mail_form h2 span.icon04::before, .section-title span.icon04::before { content: "\f1dd"; } /* その他所属機関 = building */
form#mail_form h2 span.icon05::before, .section-title span.icon05::before { content: "\f5c1"; } /* 連絡先 = telephone */
form#mail_form h2 span.icon06::before, .section-title span.icon06::before { content: "\f4d0"; } /* 共著者 = people */
form#mail_form h2 span.icon07::before, .section-title span.icon07::before { content: "\f475"; } /* 所属機関番号 = list-ol */
form#mail_form h2 span.icon08::before, .section-title span.icon08::before { content: "\f431"; } /* インフォメーション = info-circle */
form#mail_form h2 span.icon10::before, .section-title span.icon10::before { content: "\f38b"; } /* 演題情報 = file-earmark-text */

div#confirm_field dl {
  width: 100%; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
div#confirm_field dl dt,
div#confirm_field dl dd {
  border-top: 1px solid #ececec; padding: 15px 14px; box-sizing: border-box; margin: 0;
  line-height: 1.7;
}
div#confirm_field dl dt {
  width: 30%; display: flex; align-items: center; align-content: center; justify-content: flex-end; flex-wrap: wrap;
  text-align: right; font-weight: 500; color: #555;
}
div#confirm_field dl dd { width: 69.5%; color: #2c2c2c; }
div#confirm_field dl dt span.required,
div#confirm_field dl dt span.optional { display: none; } /* 確認画面は入力済データの表示のため必須/任意バッジ非表示（モック一致） */
div#confirm_field dl dt:first-child,
div#confirm_field dl dt:first-child + dd { border-top: none; }
div#confirm_field dl dd p { margin: 0; }
div#confirm_field .box {
  width: 100%; margin: 22px 0 4px; padding: 13px 20px;
  background: #f0f8fe; border: 1px solid #bfe0f0; border-radius: 8px;
  font-weight: 500; color: #2c5870;
}
div#confirm_field .box p { margin: 0; }

/* 確認ボタン群＝白カードの「外」（下）に配置。
   ※ <p id="confirm_submit"> は中に <form> が来るとブラウザが自動で閉じる＝空の箱になるので余白は付けず、
     実際のボタン容器 form#confirm_form に上下余白を持たせる（上=カードとの間／下=フッター手前 25vh） */
p#confirm_submit { padding: 0; margin: 0; }
form#confirm_form { width: 100%; text-align: center; padding: 42px 0 25vh; }
#confirm_cancel_button, #confirm_submit_button {
  font-family: inherit; font-size: 1.05em; cursor: pointer;
  appearance: none; -webkit-appearance: none; border-radius: 10px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#confirm_cancel_button {
  min-width: 160px; padding: 18px 28px; margin: 6px 14px 6px 0;
  background: #fff; color: #666; border: 1.5px solid #c5ccd3;
}
#confirm_cancel_button:hover { border-color: #98a2ab; color: #444; }
#confirm_submit_button {
  min-width: 300px; padding: 18px 44px; margin: 6px 0;
  background: #27ae60; color: #fff; border: none;
  font-weight: 700; letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(39,174,96,0.35);
}
#confirm_submit_button:hover {
  background: #229a54; box-shadow: 0 10px 22px rgba(39,174,96,0.42); transform: translateY(-2px);
}

@media screen and (max-width: 1000px) {
  div#confirm_field dl { display: block; }
  div#confirm_field dl dt, div#confirm_field dl dd {
    display: block; width: auto; border-top: none; text-align: left; justify-content: flex-start;
  }
  div#confirm_field dl dt { background: #f7f9fa; border-radius: 4px; padding: 8px 12px; }
  div#confirm_field dl dd { padding: 8px 12px 16px; }
  #confirm_cancel_button { margin-right: 0; }
}

/* =========================================================================
   17. ログイン画面（form#login_form）
   ========================================================================= */
main#main__ { display: block; }
.inner.centerMiddle { width: 960px; max-width: 95%; margin: 40px auto 0; padding: 0; }
form#login_form {
  background: #fff; border: 1px solid #e3e8ec; border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  padding: 36px 5% 32px; margin: 0;
}
form#login_form h2 {
  font-size: 1.2em; font-weight: 500; color: #2c2c2c; text-align: center;
  border-bottom: 1px solid #333; padding: 0 0 14px; margin: 0 0 20px;
}
form#login_form > p { font-size: 0.95em; color: #555; line-height: 1.9; margin: 0 0 22px; letter-spacing: -0.01em; }
.login_area {
  background: #f8fafc; border: 1px solid #e3e8ec; border-radius: 8px;
  padding: 16px 22px; margin: 0;
}
form#login_form dl {
  display: flex; flex-wrap: wrap;
  margin: 0; padding: 10px 0; border-bottom: 1px dashed #dde5ea;
}
form#login_form dl.bbno { border-bottom: none; }
form#login_form dl dt {
  width: 9.5em; font-weight: 500; color: #2c3e50; text-align: left;
  padding: 6px 0; float: none;
}
form#login_form dl dd { flex: 1; min-width: 200px; margin: 0; padding: 4px 0; float: none; }
form#login_form input[type="text"],
form#login_form input[type="password"] {
  width: 100%; padding: 11px 3%; border: 1px solid #ccc; border-radius: 3px;
  background: #fff; font-size: 100%; font-family: inherit;
  appearance: none; -webkit-appearance: none;
}
div.button {
  width: 100%; text-align: center; margin: 26px auto 4px;
  background: none; height: auto; line-height: normal;
}
div.button a.btn__gg_wide,
a.btn__gg_wide {
  display: inline-block; width: min(100%, 420px);
  padding: 18px 30px; border-radius: 10px;
  background: #27ae60; color: #fff; text-decoration: none;
  font-size: 1.1em; font-weight: 700; letter-spacing: 0.08em; text-align: center;
  box-shadow: 0 6px 16px rgba(39,174,96,0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
a.btn__gg_wide:hover {
  background: #229a54; box-shadow: 0 10px 22px rgba(39,174,96,0.42); transform: translateY(-2px);
}
.inner .logo { text-align: center; margin: 46px 0 90px; }
.inner .logo img { max-width: 200px; height: auto; }

@media screen and (max-width: 600px) {
  form#login_form { padding: 24px 20px; }
  .login_area { padding: 12px 14px; }
  form#login_form dl dt { width: 100%; padding-bottom: 0; }
}

/* =========================================================================
   18. TOP（入口 2ボタン）
   ========================================================================= */
.inner.centerMiddle2 { width: 760px; max-width: 92%; margin: 50px auto 0; padding: 0; text-align: center; }
.centerMiddle2 h2 {
  font-size: 1.4em; font-weight: 500; color: #2c2c2c; margin: 0 0 30px;
}
/* ボタン群＝白パネル */
.centerMiddle2 > ul {
  list-style: none; margin: 0 0 44px; padding: 30px;
  display: flex; gap: 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e3e8ec; border-radius: 16px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.06);
}
.centerMiddle2 > ul > li { flex: 1 1 0; min-width: 240px; margin: 0; }
.centerMiddle2 a.btn01, .centerMiddle2 a.btn02 {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 170px;
  padding: 36px 20px; border-radius: 12px;
  font-size: 1.08em; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none; text-align: center;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.centerMiddle2 a.btn01 span, .centerMiddle2 a.btn02 span {
  display: flex; flex-direction: column; align-items: center; gap: 16px; line-height: 1.4;
}
.centerMiddle2 a.btn01 i, .centerMiddle2 a.btn02 i { font-size: 2.6em; line-height: 1; }
.centerMiddle2 a.btn01 {
  background: #27ae60; color: #fff; border: 2px solid #27ae60;
  box-shadow: 0 6px 16px rgba(39,174,96,0.28);
}
.centerMiddle2 a.btn01:hover { background: #229a54; border-color: #229a54; box-shadow: 0 12px 26px rgba(39,174,96,0.4); transform: translateY(-3px); }
.centerMiddle2 a.btn02 {
  background: #fff; color: #c2410c; border: 2px solid #f0997b;
  box-shadow: 0 2px 8px rgba(216,90,48,0.10);
}
.centerMiddle2 a.btn02:hover { background: #f35d40; color: #fff; border-color: #f35d40; box-shadow: 0 12px 24px rgba(216,90,48,0.3); transform: translateY(-3px); }
.centerMiddle2 .logo { text-align: center; margin: 48px 0 90px; }
.centerMiddle2 .logo img { max-width: 200px; height: auto; }
@media screen and (max-width: 560px) {
  .centerMiddle2 > ul { padding: 20px; gap: 16px; }
  .centerMiddle2 a.btn01, .centerMiddle2 a.btn02 { min-height: 0; padding: 28px 16px; }
}

/* =========================================================================
   19. 完了 / 終了 / エラー（div#thanks）
   ========================================================================= */
div#thanks {
  width: 960px; max-width: 95%; margin: 40px auto;
  background: #fff; border: 1px solid #e3e8ec; border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  padding: 40px 5% 30px; line-height: 1.9; font-size: 0.95em;
}
div#thanks h1 {
  display: flex; align-items: center; gap: 0.45em;
  font-size: 1.35em; font-weight: 500; color: #2c2c2c;
  border-bottom: 1px solid #333; padding: 0 0 16px; margin: 0 0 26px; line-height: 1.4;
}
div#thanks h1 > i { color: #27ae60; font-size: 1.25em; }
div#thanks h1.err > i { color: #d9534f; }
div#thanks p { margin: 0 0 26px; color: #444; }
div#thanks p.top { font-size: 1em; }
div#thanks h2 { font-size: 1em; font-weight: 500; color: #2c2c2c; margin: 30px 0 8px; }
div#thanks p span { font-weight: 500; }
div#thanks hr.hasen { border: none; border-top: 1px dashed #ccc; margin: 30px 0; }
div#thanks p.logo { margin: 40px 0 6px; }
div#thanks p.logo img { max-width: 220px; height: auto; }


/* =========================================================================
   ログイン パスワード表示トグル（目アイコン）
   ========================================================================= */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { padding-right: 46px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #8a93a0; font-size: 1.15rem; line-height: 1; padding: 6px; display: inline-flex; }
.pw-toggle:hover { color: #1f7a9c; }


/* =========================================================================
   ログイン画面のみ：横幅を約600pxに絞る（2026-06-14 shinj 指示）
   ※ body.login-page を login.php / demo_login.html に付与して限定
   ========================================================================= */
body.login-page header .registration-period,
body.login-page .inner.centerMiddle { width: 600px; }


/* ===== hepato33-hsrj40 追加：発表区分固定バナー・会員区分ラジオ・条件ヒント ===== */
.presen-fixed { width: 960px; max-width: 95%; margin: 16px auto 0; padding: 11px 18px; background: #eef7fb; border: 1px solid #bfe0ee; border-radius: 6px; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; box-sizing: border-box; }
.presen-fixed .lbl { color: #3f6b7c; font-weight: 600; }
.presen-fixed .val { color: #1c7ba0; font-weight: 700; font-size: 1.05rem; }
form#mail_form .member-radios { display: flex; flex-wrap: wrap; gap: 8px; }
form#mail_form .cond-hint { color: #1f5a8c; background: #f0f7ff; border-left: 3px solid #46b8da; padding: 3px 8px; border-radius: 3px; font-size: 0.8rem; margin: 4px 0 0; }

form#mail_form .topic-guide .guide-divider { border-top: 1px solid #dfe4e8; margin: 22px 0 0; }


/* ===== 抄録本文 全画面・2カラム入力モーダル（fullscreen-editor.js） ===== */
.fse-wrap { position: relative; }
.fse-open { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 0.8em; line-height: 1; border: 1px solid #46b8da; border-radius: 6px; background: #fff; color: #1f7a9c; cursor: pointer; }
.fse-open:hover { background: #46b8da; color: #fff; }
.fse-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
form#mail_form .fse-bar { margin-top: 6px; }
form#mail_form .fse-open { padding: 5px 10px; }
.fse-overlay { position: fixed; inset: 0; background: rgba(20,28,38,.55); z-index: 9999; display: none; padding: 3vh 3vw; box-sizing: border-box; }
.fse-overlay.on { display: flex; }
.fse-modal { margin: auto; background: #fff; border-radius: 10px; width: 100%; max-width: 1180px; height: 94vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.3); overflow: hidden; }
.fse-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #e3e8ec; flex: none; }
.fse-head .fse-ttl { font-weight: 700; color: #2c2c2c; font-size: 1.05em; }
.fse-head .fse-count { margin-left: auto; color: #1f7a9c; font-size: .9em; }
.fse-head .fse-count.over { color: #c90000; font-weight: bold; }
.fse-head .fse-close { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border: 1px solid #cfd6dd; border-radius: 6px; background: #f6f8fa; color: #444; cursor: pointer; font-size: .9em; }
.fse-head .fse-close:hover { background: #eceff2; }
.fse-body { flex: 1; display: flex; min-height: 0; }
.fse-main { flex: 1; display: flex; min-width: 0; }
.fse-area { flex: 1; width: 100%; border: none; outline: none; resize: none; padding: 20px 22px 25vh; font-size: 1.05em; line-height: 1.9; box-sizing: border-box; font-family: inherit; color: #333; }
.fse-side { width: 348px; flex: none; border-left: 1px solid #e7ecf0; background: #fafbfc; overflow-y: auto; padding: 16px 18px; box-sizing: border-box; }
.fse-side .fse-grp { margin-bottom: 18px; }
.fse-side .fse-h { margin: 0 0 8px; font-size: .95em; color: #2c2c2c; font-weight: 700; border-left: 3px solid #f35d40; padding-left: 8px; }
.fse-side .fse-note { margin: 0 0 10px; font-size: .8em; color: #6b7480; line-height: 1.7; }
.fse-side .fse-subh { margin: 12px 0 6px; font-size: .78em; color: #8a93a0; }
.fse-fmt { display: flex; flex-wrap: wrap; gap: 8px; }
.fse-fmt button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #cfd6dd; border-radius: 6px; background: #fff; color: #333; cursor: pointer; font-size: .85em; font-family: inherit; }
.fse-fmt button:hover { border-color: #46b8da; background: #f3f8fb; color: #1f7a9c; }
.fse-fmt button .ex { color: #1f7a9c; }
.fse-syms { display: flex; flex-wrap: wrap; gap: 5px; }
.fse-chip { min-width: 30px; padding: 5px 7px; border: 1px solid #dfe4e8; border-radius: 5px; background: #fff; color: #333; cursor: pointer; font-size: .95em; line-height: 1.1; font-family: inherit; }
.fse-chip:hover { border-color: #46b8da; background: #46b8da; color: #fff; }
.fse-tip { margin: 6px 0 0; font-size: .78em; color: #6b7480; line-height: 1.7; }
.fse-tip i { color: #46b8da; margin-right: 4px; }
body.fse-lock { overflow: hidden; }
@media screen and (max-width: 820px) {
  .fse-overlay { padding: 0; }
  .fse-modal { height: 100vh; max-width: none; border-radius: 0; }
  .fse-body { flex-direction: column; }
  .fse-main { flex: 1 1 auto; min-height: 150px; }
  .fse-side { width: auto; flex: 0 0 auto; max-height: 42vh; border-left: none; border-top: 1px solid #e7ecf0; }
}


/* ===== 登録者向け「使い方」マニュアル（usage-guide.js） ===== */
#section-nav .nav-help .dot { background: #27ae60; }
.ug-overlay { position: fixed; inset: 0; background: rgba(20,28,38,.55); z-index: 10000; display: none; padding: 4vh 4vw; box-sizing: border-box; }
.ug-overlay.on { display: flex; }
.ug-modal { margin: auto; background: #fff; border-radius: 12px; width: 100%; max-width: 720px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 12px 44px rgba(0,0,0,.32); overflow: hidden; }
.ug-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e3e8ec; flex: none; background: #f7fbf9; }
.ug-head .ug-ttl { font-family: "Sawarabi Mincho", serif; font-weight: 700; color: #2c2c2c; font-size: 1.1em; }
.ug-head .ug-ttl i { color: #27ae60; margin-right: 4px; }
.ug-head .ug-close { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 8px 15px; border: 1px solid #cfd6dd; border-radius: 6px; background: #fff; color: #444; cursor: pointer; font-size: .95em; }
.ug-head .ug-close:hover { background: #eceff2; }
.ug-body { overflow-y: auto; padding: 22px 24px; line-height: 1.9; color: #3a3a3a; }
.ug-body .ug-lead { margin: 0 0 18px; }
.ug-steps { list-style: none; margin: 0; padding: 0; }
.ug-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed #e3e8ec; }
.ug-steps li:first-child { border-top: none; }
.ug-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #46b8da; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05em; margin-top: 2px; }
.ug-btn { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 6px; border: 1px solid #46b8da; background: #f3f8fb; color: #1f7a9c; font-size: .92em; white-space: nowrap; }
.ug-btn.ok { border-color: #27ae60; background: #eaf7ef; color: #1e8a4d; }
.ug-body .hl { color: #fff; background: #d9534f; padding: 1px 9px; border-radius: 4px; font-weight: 400; }
.ug-body .hl2 { color: #c2410c; }
.ug-warn { margin: 20px 0 0; padding: 16px 18px; background: #fff7f4; border: 1px solid #f3c9b9; border-radius: 10px; }
.ug-warn i { color: #f35d40; margin-right: 6px; }
.ug-help { margin: 18px 0 0; color: #1f7a9c; }
.ug-help i { margin-right: 5px; }
body.ug-lock { overflow: hidden; }
@media screen and (max-width: 640px) {
  .ug-overlay { padding: 0; }
  .ug-modal { max-height: 100vh; height: 100vh; border-radius: 0; }
  .ug-body { padding: 18px 16px; }
}
