@charset "UTF-8";

/* AI風チャットボット - style (Ver 10:
  Semantic HTML & Centered End Screen.
  Base: Ver 7.6 Design Structure + Vertical Centering for END screen.
*/

/* =========================================
   0. まなごさん追記コードまとめ
   ========================================= */
.red1 {
  color: rgb(255, 0, 0);
  font-size: 40px;
}
.blink {
    animation: blink 1.5s infinite; /* 1秒間隔で無限に繰り返す */
    color: red; /* 文字色を赤にする（任意） */
}
.recommend{
  height:45px;
  position: absolute;
  left:-5px;
  top:-5px;
}

@keyframes blink {
    0% { opacity: 1; }   /* 見える状態 */
    50% { opacity: 0; }  /* 消える状態 */
    100% { opacity: 1; } /* また見える状態 */
}

/* =========================================
   1. 基本設定
   ========================================= */
:root {
  --color-primary: #004191;
  --color-primary2: #7F7F7F; /* 真名子変更 */
  --color-bg: #ffffff;
  --color-ui-gray: #f0f0f0;
  --color-pc-bg: #d2d2d2;
  --color-text: #333333;
  --color-footer-text: #555555;
  --color-border: #e0e0e0;  /* ボーダー色 */
  --header-height: 60px;
  --color-ans-bg: #EBF1DE;

  --S001-bg:#DCE6F2;
  --S001-color: #000;
  --S002-bg:#FFCCCC;
  --S002-color: #000;
  --S003-bg:#7F7F7F;
  --S003-color: #fff;
  --S004-bg:#EBF1DE;
  --S004-color: #000;
  --S005-bg:#77933C;
  --S005-color: #fff;
  --S006-bg: #004191;
  --S006-color: #fff;
}

/* ★配色クラス */
.choice-button.btn-S001 { background-color: var(--S001-bg); color: var(--S001-color); border-color: var(--S001-bg); }
.choice-button.btn-S002 { background-color: var(--S002-bg); color: var(--S002-color); border-color: var(--S002-bg); }
.choice-button.btn-S003 { background-color: var(--S003-bg); color: var(--S003-color); border-color: var(--S003-bg); }
.choice-button.btn-S004 { background-color: var(--S004-bg); color: var(--S004-color); border-color: var(--S004-bg); }
.choice-button.btn-S005 { background-color: var(--S005-bg); color: var(--S005-color); border-color: var(--S005-bg); }
.choice-button.btn-S006 { background-color: var(--S006-bg); color: var(--S006-color); border-color: var(--S006-bg);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* アプリ全体のコンテナ */
#app-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  background-image: url("../img/backgroundA.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

/* =========================================
   2. ヘッダー・メイン・フッター
   ========================================= */
.holdings-header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-ui-gray);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-inner {
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-sp {
  height: 42px;
  width: auto;
}

/* ヘッダー見出し（収納診断） */
.header-subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #6f6f6f;
  color: #fff;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  width: 100%;
}

.header-icon {
  width: 45px;
  height: auto;
  display: inline-block;
}

/* 戻るボタン（ヘッダー直下） */
.header-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 50px 12px 15px;
  position: relative;
}

.back-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: #dcdcdc;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}

.back-btn.show {
  display: inline-flex;
}

.back-icon {
  font-size: 12px;
  line-height: 1;
}

.header-progress {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.02em;
}

/* メインコンテンツエリア */
#chat-timeline {
  position: relative;
  flex-grow: 1;
  padding: 0px 0px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.que-read{
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 14px;
  position: absolute;
  left:1em;
  top:.5em;
  z-index: 2;
}
.que-read::after{
  content: "";
  display: block;
  height: 10px;

}



/* ローディング演出（ANS直前） */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 63, 63, 0.86); /* 真名子変更 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-title {
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.08em;
}

/* ローディング表示切り替え */
.loading-variant-dots .loading-ring { display: none; }
.loading-variant-ring .loading-dots { display: none; }

.loading-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.loading-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.15) 0deg,
    rgba(255,255,255,0.35) 80deg,
    rgba(255,255,255,1) 120deg,
    rgba(255,255,255,0.15) 180deg,
    rgba(255,255,255,0.15) 360deg
  );
  -webkit-mask: radial-gradient(transparent 55%, #000 60%);
  mask: radial-gradient(transparent 55%, #000 60%);
  animation: ringSpin 2.0s linear infinite;
}

.loading-icon {
  width: 100px;
  height: auto;
}

.loading-dots {
  display: inline-flex;
  gap: 6px;
}

.loading-dots .dot {
  width: 8px;
  height: 8px;
  background: #666;
  border-radius: 50%;
  animation: dotPulse 1.2s infinite ease-in-out;
}

.loading-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}


.loading-overlay.loading--LD02 .loading-title {
  visibility: hidden;
  position: relative;
}

.loading-overlay.loading--LD02 .loading-title::after {
  content: "思考中";
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}

/* LD02: 背景色とタイトル変更（思考中） */
.loading-overlay.loading--LD02 {
  background: rgba(23, 138, 3, 0.85) !important;
}

/* AIA キーワード入力モック */
.aia-input-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.aia-input-panel {
  width: 90%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.aia-input-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.aia-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aia-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.aia-mic-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #eee;
  font-size: 18px;
}

.aia-mic-btn.disabled {
  opacity: 0.5;
}

.aia-submit {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: none;
  border-radius: 24px;
  background: #1a5fb4;
  color: #fff;
  font-weight: 700;
}

.aia-cancel {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border: none;
  border-radius: 24px;
  background: #ddd;
  color: #333;
}





/* フッター */
.holdings-footer {
  width: 100%;
  background-color: var(--color-ui-gray);
  border-top: 1px solid #ddd;
  padding: 15px 0;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--color-footer-text);
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.footer-actions {
  display: none;
}

/* リンク集 */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 0px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.footer-link-list li {
  position: relative;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
}

.footer-link-list li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #999;
  font-size: 10px;
}

.footer-link-list li a {
  color: var(--color-footer-text);
  text-decoration: none;
  white-space: nowrap;
}

.footer-locale {
  margin-top: 5px;
}

.footer-locale a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-footer-text);
  text-decoration: none;
  font-weight: bold;
}

.footer-locale img {
  height: 12px;
  width: auto;
}

.copyright {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-top: 5px;
}

/* =========================================
   3. スタート画面
   ========================================= */
.start-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-pc-bg);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.start-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-start-overlay-open {
  overflow: hidden;
}

.start-content {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.start-logo {
  width: 125px;
  margin-bottom: 0px;
  margin: 0 auto;
}

.start-title {
  font-size: 40px;
  font-weight: bold;
  margin: 10px 0 0em;
  color: var(--color-primary);
  letter-spacing: .25em;
  text-align: center;
}
.start-subtitle {
  font-size: 31px;
  font-weight: bold;
  margin: 0px;
  color: var(--color-primary);
  letter-spacing: .25em;
  text-align: center;
}

.start-desc {
  font-size: 14px;
  margin-bottom: 40px;
  color: #666;
  line-height: 1.8;
}

.start-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 16px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 65, 145, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.start-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 65, 145, 0.3);
}

.start-entry-btn {
  margin-top: 18px;
}

.start-entry-btn[data-id="S1"] {
  margin-bottom: 60px;
  font-size: 20px;
}

.start-entry-btn[data-id="S2"],
.start-entry-btn[data-id="S3"]{
  color: var(--color-primary);
  background-color: var(--S001-bg);
  border: 1px var(--color-primary) solid;
}



/* =========================================
   4. チャットUI
   ========================================= */
/* --- キーフレーム定義 --- */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.message-box{
  animation: slideInLeft 1s ease-out forwards;
}
.choice-item {
  opacity: 0;  /* JSが開始するまで隠す */
  animation: slideInRight .5s ease-out forwards;
}
.message-box.type-ans .choice-item {
  animation: slideInLeft .5s ease-out forwards;
}

/* ブロック単位の順次表示用 */
.chat-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* chat-step と同じ間隔を復元 */
}

.chat-block.is-hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* chat-blockが非表示の間は左右スライドを止める */
.chat-block.is-hidden .message-box,
.chat-block.is-hidden .choice-item {
  animation-play-state: paused;
}

/* 旧フェードイン定義 */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 質問セクション全体 */
.chat-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 600px;
}

/* ★追加：終了画面の垂直中央配置用フラグ */
.chat-step.is-end-step {
  flex: 1;
  justify-content: center; /* 垂直中央に寄せる */
  padding-bottom: 60px; /* フッターとのバランス調整 */
}

/* --- メッセージボックス (太枠・イラスト右上) --- */
.message-box {
  background-color: #fff;
  border: 8px solid var(--color-border);
  border-radius: 16px;
  padding: 0px 10px 0 30px ;
  position: relative;
  width: 95%;
  left: -5%;
  min-height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.message-box.type-aft{
  padding: 0px 10px 15px 30px;
}


/* アイコンなしの場合（AFTなど） */
.message-box.no-icon {
  margin-top: 0;
  border-width: 2px;
  justify-content: center;
}

.message-content {
  flex: 1;
  padding-right: 0px;
}

.no-icon .message-content {
  padding-right: 0;
  text-align: justify;
}

.message-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.type-ans .message-text{
  margin-top: 10px;
}
.type-aft .message-text {
  margin-top: 35px;
}


/* 検索キーワードの強調 */
.kw-highlight {
  color: #d40000;
  font-weight: 700;
}

.no-icon .message-text {
  text-align: left;
}

/* VAD 入力UI */
.vad-input {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.vad-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.vad-input-error {
  width: 90%;
  max-width: 420px;
  margin: 0;
  color: #c62828;
  font-size: 13px;
}

.vad-input-error [data-role="vad-msg-empty"],
.vad-input-error [data-role="vad-msg-notfound"] {
  display: none;
}

.vad-input-field {
  width: 90%;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 24px;
  font-size: 22px;
}

.vad-submit-btn {
  width: 90%;
  max-width: 420px;
  padding: 10px 12px;
  border: none;
  border-radius: 24px;
  background: #1a5fb4;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* キャラクターイラスト (figure) */
.bot-avatar {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-avatar img {
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

@media (min-width: 480px){
  .bot-avatar {
  width: 180px;
}
.message-text {
  font-size: 18px;
}
}

/* --- Type: ANS (回答画面) --- */
.message-box.type-ans {
  background-color: var(--color-ans-bg);
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 15px;
  border-color: #d1dcb2;
  gap:15px;
}

.message-box.type-ans .message-content {
  padding-right: 0;
  width: 100%;
  text-align: center;
}

.message-box.type-ans .bot-avatar {
  position: static;
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0;
  display: block;
}

.message-box.type-ans .bot-avatar img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

/* --- Type: AFT (回答後処理) --- */
.message-box.type-aft {
  margin-top: 0;
  border-width: 2px;
  justify-content: center;
}

.message-box.no-icon .message-content {
  padding-right: 0;
}

/* --- Ver 8.1 (新規追加) --- */
.options-nav {
  opacity: 0;
  visibility: hidden;
}

.options-nav.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --- 選択肢エリア --- */
.options-nav {
  width: 100%;
}

.choice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* 選択肢ボタン (角丸四角形・影付き) */
.choice-button {
  width: 95%;
  background:var(--S001-bg);
  border: 1px solid #ddd;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  text-align: left;
  line-height: 1.4;
  position: relative;
  left: 10%;
}

.choice-button:hover {
  border-color: var(--color-primary);
}

.choice-button:focus,
.choice-button:focus-visible {
  outline: none;
  border-color: #ddd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.choice-button:active,
.choice-button.active {
  background-color: var(--color-primary2);/* 真名子変更 */
  color: #fff;
  border-color: var(--color-primary2);/* 真名子変更 */
  transform: translateY(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.choice-button.disabled {
  background-color: #eee;
  color: #aaa;
  box-shadow: none;
  pointer-events: none;
  border-color: #eee;
}

/* ANS用グリッドレイアウト */
.choice-list.grid-layout {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  gap: 10px;
  max-width: 100%;
  margin-top: 0em;
}

.choice-list.grid-layout .choice-item {
  width: calc((100% - 20px) / 3);
}

.choice-list.grid-layout .choice-button {
  background-color: var(--S005-bg);
  padding: 5px 12px;
  font-size: 14px;
  color: var(--S005-color);
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  border-radius: 8px;
  position: relative;
  left: 0%;
}

/* ★追加：終了画面の「ウィンドウを閉じる」ボタン */
.close-btn-wrapper {
  width: 100%;
  max-width: 320px;
  margin-top: 30px;
  text-align: center;
}

.close-app-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 65, 145, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.close-app-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 65, 145, 0.3);
}

/* リンクエリア */
.link-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.external-link-wrapper {
  width: 100%;
  text-align: center;
}

.result-link {
  display: inline-block;
  margin: 10px 0;
  padding: 12px 24px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 動画モーダル */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 1;
}

video {
  width: 100%;
  max-height: 90vh;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* 下へ移動ボタン */
.scroll-bottom-btn{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 60px; /* フッターに被らない高さ。必要なら調整 */
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(77, 77, 77, 0.92); /* 真名子変更 */
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  display: grid;
  place-items: center;
  z-index: 9999;
  cursor: pointer;
}

.scroll-bottom-btn.is-hidden{
  display: none;
}

.scroll-bottom-icon{
  width: 30px;
  height: 30px;
  color: #fff; /*  真名子変更*/
}

/* app dialog */
.app-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}

.app-dialog-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.app-dialog-header {
  padding: 14px 16px 10px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.app-dialog-body {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.app-dialog-footer {
  padding: 12px 16px 16px;
  display: flex;
  justify-content: flex-end;
}

.app-dialog-btn {
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
}

.app-dialog-btn.confirm {
  background: var(--color-primary);
  color: #fff;
}

/* =========================================
   5. PC表示設定
   ========================================= */
@media (min-width: 480px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-pc-bg);
    min-height: 100vh;
  }

  #app-wrapper {
    max-width: 480px;
    height: 96vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
  }
}
