@charset "UTF-8";
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/foundation/_variables.scss */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/foundation/_mixins.scss */
/* フォント定義 */
/* scss/foundation/_fonts.scss */
/* 2. フォントの読み込み
-------------------------------------------------- */
@font-face {
  font-family: "kaisei_font";
  font-display: swap;
  src: url("../font/kaisei_font.woff2") format("woff2"), url("../font/kaisei_font.woff") format("woff");
}
@font-face {
  font-family: "genshin";
  font-display: swap;
  src: url("../font/genshin.woff2") format("woff2"), url("../font/genshin.woff") format("woff");
}
@font-face {
  font-family: "nangoku_font";
  font-display: swap;
  src: url("../font/nangoku.woff2") format("woff2"), url("../font/nangoku.woff") format("woff");
}
@font-face {
  font-family: "marumoji_font";
  font-display: swap;
  src: url("../font/marumoji01.woff2") format("woff2"), url("../font/marumoji01.woff") format("woff");
}
@font-face {
  font-family: "letrogo";
  font-display: swap;
  src: url("../font/letrogo.woff2") format("woff2"), url("../font/letrogo.woff") format("woff");
}
@font-face {
  font-family: "sixcaps";
  font-display: swap;
  src: url("../font/sixcaps.woff2") format("woff2"), url("../font/sixcaps.woff") format("woff");
}
/* リセットCSS (ブラウザのデフォルトスタイルを打ち消す) */
/* scss/foundation/_reset.scss */
/* html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/* 基本スタイル (html, body, 共通の背景設定など) */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/foundation/_base.scss */
/* 3. 基本スタイル & リセット
-------------------------------------------------- */
html {
  box-sizing: border-box;
  /* font-size: 62.5%; は撤廃済み */
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  /* ベース設定 */
  margin: 0;
  width: 100%;
  height: 100vh;
  /* フォント設定 */
  /* 旧 14px = 14px */
  font-size: 14px;
  font-family: "genshin", sans-serif;
  line-height: 1.5;
  color: #333; /* 追加: 文字色も変数化 */
  /* 背景設定（共通） */
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  /* 画面いっぱいに広げる */
  background-attachment: fixed;
  /* 背景固定 */
  /* ▼ デフォルト画像（季節指定なし・昼） */
  background-image: url("../img/bg/common/day.webp");
}

/* --- アプリ風レイアウトの固定（twiクラス以外） --- */
body:not(.twi) {
  position: fixed;
  inset: 0;
  /* top, right, bottom, left: 0; のショートハンド */
  overflow: hidden;
  /* はみ出し防止 */
}

/* --------------------------------------------------
   時間帯・季節による背景変化 (Modifier)
   -------------------------------------------------- */
/* --- 1. 時間帯のみ --- */
body.morning {
  background-image: url("../img/bg/common/morning.webp");
}

body.day {
  background-image: url("../img/bg/common/day.webp");
}

body.night {
  background-image: url("../img/bg/common/night.webp");
}

/* body.night { background-image: url('../img/bg/common/night.webp'); } */
/* --- 2. 季節 × 時間帯 --- */
/* 夏 */
body.summer.day {
  background-image: url("../img/bg/summer/day.webp");
}

body.summer.morning {
  background-image: url("../img/bg/summer/morning.webp");
}

body.summer.night {
  background-image: url("../img/bg/summer/night.webp");
}

/* クリスマス */
body.xmas.day {
  background-image: url("../img/bg/christmas/day.jpg");
}

body.xmas.morning {
  background-image: url("../img/bg/christmas/morning.jpg");
}

body.xmas.night {
  background-image: url("../img/bg/christmas/night.jpg");
}

/* お正月 */
body.newyear.day {
  background-image: url("../img/bg/newyear/day.webp");
}

body.newyear.morning {
  background-image: url("../img/bg/newyear/morning.webp");
}

body.newyear.night {
  background-image: url("../img/bg/newyear/night.webp");
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

img {
  height: auto;
  max-width: 100%;
  /* ★ width: auto から変更。はみ出し防止 */
  vertical-align: middle;
}

/* -----------------------------------------------------------------
   2. Layout (レイアウト)
   ヘッダー、フッター、メインエリア(.wrapper)など、共通の大枠
   ----------------------------------------------------------------- */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/layout/_layout.scss */
/* 4. レイアウト
-------------------------------------------------- */
.wrapper,
.mainbox {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.wrapper {
  height: 100vh;
}

.mainimg,
.dialogue-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.mainimg img,
.dialogue-image img {
  /* 画像自体のサイズ指定があればここですが、基本は親要素に依存 */
  height: 100vh;
  width: auto;
  /* 高さに合わせて幅を自動調整 */
  max-width: none;
  /* ここだけは枠からはみ出しても良い場合があるので制限解除 */
}

/* -----------------------------------------------------------------
   3. Object - Component (コンポーネント)
   再利用可能な小さな部品（ボタン、フォーム、メッセージ枠など）
   ----------------------------------------------------------------- */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_button.scss */
/* === レティシア竜崎による、生命を宿す「次へ」ボタンの最終形態 === */
.btn {
  /* 形状と配置 */
  position: absolute;
  /* 旧 10px = 10px */
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.7);
  /* 文字のスタイル */
  /* 旧 15px = 15px */
  font-size: 15px;
  color: #582e42; /* 変数化: #582e42 */
  text-shadow: none;
  cursor: pointer;
  transition: all 0.4s ease;
  /* アニメーション */
  animation: pulse-animation 2.5s infinite ease-in-out;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(200, 150, 170, 0.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
  }
}
.btn:hover {
  animation-play-state: paused;
  transform: scale(1.15);
  background-color: rgba(255, 255, 255, 0.8);
}

.btn a {
  color: inherit;
  text-decoration: none;
}

/* 戻るボタン */
.back_button,
.back_button_fixed {
  /* 旧 50px = 50px */
  width: 50px;
  /* 旧 8px = 8px */
  padding: 8px;
  text-align: center;
  border: solid 2px dimgray;
  background: linear-gradient(-225deg, white 0%, gainsboro 56%, silver 100%); /* 変数化 */
  border-radius: 8px;
  /* 旧 14px = 14px */
  font-size: 14px;
  z-index: 100;
  top: 16px;
  right: 16px;
}

.back_button {
  position: absolute;
}

.back_button_fixed {
  position: fixed;
}

/* イベントボタン */
.event_btn {
  display: block;
  position: relative;
  min-height: 70px;
  /* 旧 20px = 20px */
  padding: 6px 20px 5px;
  font-size: 18px;
  background: linear-gradient(90deg, rgb(64, 20, 17) 0%, rgb(246, 71, 62) 20%, rgb(255, 13, 0) 50%, rgb(246, 71, 62) 80%, rgb(64, 20, 17) 100%); /* 変数化 */
  color: #333;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
  max-width: 360px;
  /* 旧 5px = 5px */
  border-radius: 5px;
  /* 旧 10px = 10px */
  margin: 0 auto 10px;
}

.event_btn div.inner {
  font-family: "kaisei_font", serif; /* 変数化 */
  /* 旧 10px = 10px */
  padding: 10px;
  border-top: solid 2px goldenrod;
  border-bottom: solid 2px goldenrod;
}

.event_btn span:not(.material-symbols-outlined) {
  text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.event_btn span.material-symbols-outlined {
  color: #daa520;
  text-shadow: 1px 1px 0 #333, -1px 1px 0 #333, 1px -1px 0 #333, -1px -1px 0 #333;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.event_btn:before,
.event_btn:after {
  position: absolute;
  content: "";
  width: 0px;
  height: 0px;
  z-index: 1;
}

/* ボタン全般 */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_message.scss */
/* メッセージボックス */
.message_box {
  box-sizing: border-box;
  position: fixed;
  z-index: 1; /* 元の値: 1 */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 760px;
  /* 背景 */
  background: rgba(255, 255, 255, 0.85);
  /* 旧 10px = 10px */
  border-radius: 10px;
  /* 旧 16px = 16px */
  line-height: 16px;
  /* 旧 12px 15px = 12px 15px */
  padding: 12px 15px;
  /* 旧 12px = 12px */
  font-size: 12px;
  color: #333;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* --- PC時のレイアウト調整 (common.css最下部より統合) --- */
}
.message_box p {
  /* 旧 10px = 10px */
  padding: 10px 40px 10px 10px;
  /* PC (幅が481px以上) */
}
@media screen and (min-width: 481px) {
  .message_box p {
    /* 旧 20px 10px 30px = 20px 10px 30px */
    padding: 20px 10px 30px;
    text-align: center;
  }
}

/* メッセージボックス */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_accordion.scss */
/* アコーディオン関連 */
.acd-check,
.acd-chara-check {
  display: none;
}

.acd-content,
.acd-chara-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, height 0.5s ease;
  visibility: hidden;
  padding: 0;
  text-align: left;
}

/* メインのアコーディオンラベル */
.acd-label {
  display: block;
  max-width: 360px;
  /* 旧 10px = 10px */
  margin: 0 auto 10px;
  padding: 10px 45px 10px 15px;
  background: rgba(255, 255, 255, 0.4); /* 変数化 */
  border: 1px solid rgba(255, 255, 255, 0.5); /* 変数化 */
  border-radius: 25px;
  color: #333; /* 変数化 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

/* キャラクター用アコーディオンラベル */
.acd-chara-label {
  display: block;
  /* 旧 8px 20px 8px 0 = 8px 20px 8px 0 */
  padding: 8px 20px 8px 0;
  /* 旧 10px = 10px */
  margin: 0 auto 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* 変数化 */
  color: #333; /* 変数化 */
  transition: all 0.3s ease;
  position: relative;
}

.acd-chara-label span {
  /* 旧 9px = 9px */
  font-size: 9px;
  opacity: 0.7;
  /* 旧 10px = 10px */
  margin-left: 10px;
}

.acd-label::after,
.acd-chara-label::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* チェック時の変化 */
.acd-check:checked + .acd-label {
  background: #ffcce0; /* 変数化 */
  border-color: transparent;
  color: #582e42; /* 変数化 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.acd-chara-check:checked + .acd-chara-label {
  border-bottom-color: #ffcce0; /* 変数化 */
}

.acd-check:checked + .acd-label::after,
.acd-chara-check:checked + .acd-chara-label::after {
  transform: translateY(-50%) rotate(180deg);
}

.acd-check:checked + .acd-label::after {
  color: #582e42; /* 変数化 */
}

/* コンテンツ表示時 */
.acd-check:checked + .acd-label + .acd-content,
.acd-chara-check:checked + .acd-chara-label + .acd-chara-content {
  height: auto;
  opacity: 1;
  visibility: visible;
  /* 旧 15px = 15px */
  padding: 15px;
  /* 旧 -5px = -5px */
  margin-top: -5px;
  border-top: 1px solid rgba(255, 255, 255, 0.5); /* 変数化 */
}

/* 閉じるボタン */
.acd-close-label {
  display: block;
  text-align: center;
  /* 旧 15px = 15px */
  margin-top: 15px;
  /* 旧 5px = 5px */
  padding: 5px;
  color: #333; /* 変数化 */
  opacity: 0.7;
  text-decoration: underline;
  cursor: pointer;
  transition: opacity 0.3s;
}

.acd-close-label:hover {
  opacity: 1;
}

/* アコーディオンメニュー */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_navigation.scss */
/* パンくずリスト */
.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li {
  position: relative;
  display: inline-block;
  list-style: none;
  margin-right: 0.8em;
}
.breadcrumb li:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  border-style: solid;
  border-color: transparent;
  border-left-color: gainsboro;
  border-width: 14px 12px;
  width: 0;
  height: 0;
}
.breadcrumb li a {
  display: inline-block;
  padding: 0 3px 0 7px;
  height: 28px;
  line-height: 28px;
  text-decoration: none;
  color: #393939;
  background: gainsboro;
  font-size: 13px;
}
.breadcrumb li a:hover {
  color: white;
}

/* メニューリスト & スクロールコンテナ */
.scrollable-content {
  max-height: 40vh;
  overflow-y: auto;
  position: relative;
  /* 下の方をふんわり消すマスク */
  mask-image: linear-gradient(to bottom, black, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black, black 85%, transparent 100%);
  /* ★ここが修正ポイント！ */
  /* マスクで消えてしまう分、底上げするための余白をたっぷりとる */
  padding-bottom: 80px;
}

/* 以前の overflow 用クラス（念のため残すが、上のpaddingで解決済み） */
.scrollable-content.is-overflowing {
  padding-bottom: 80px;
}

/* スクロールバーのデザイン */
.scrollable-content::-webkit-scrollbar-thumb {
  background-color: #a8b8c8;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.scrollable-content::-webkit-scrollbar-thumb:hover {
  background-color: rgb(136.7535211268, 158.5, 180.2464788732);
}

.scrollable-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

@supports (scrollbar-color: auto) {
  .scrollable-content {
    scrollbar-width: thin;
    scrollbar-color: #a8b8c8 rgba(255, 255, 255, 0.1);
  }
}
/* メニューコンテナ（グリッド・配置） */
.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 0 10px;
  /* 直下のaタグ、またはform内のaタグ */
}
.menu-container form a, .menu-container > a {
  display: block;
  text-decoration: none;
  height: 100%;
  border-radius: 25px;
  color: inherit;
}
.menu-container form a:focus, .menu-container > a:focus {
  outline: none;
}
@media screen and (min-width: 481px) {
  .menu-container form {
    text-align: center;
  }
}

/* 個別ボタンデザイン */
.menu-button {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  background-clip: padding-box;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.menu-button:focus {
  outline: none;
}
.menu-button .button-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}
.menu-button .button-status {
  font-size: 13px;
  color: #333;
  opacity: 0.8;
  margin-top: 0.25px;
}
.menu-button:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.menu-button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition-duration: 0.1s;
}

/* レスポンシブ用メニュークラス (既存の移植) */
@media screen and (min-width: 481px) {
  .menulist {
    max-width: 780px;
    padding: 0 10px 10px;
  }
  .menulist a {
    text-align: center;
  }
  .menu {
    width: 200px;
  }
  .twimenu {
    width: 322px;
  }
  .twimenu_1 {
    width: 690px;
  }
}
@media screen and (max-width: 480px) {
  .menu {
    width: 136px;
  }
  .twimenu {
    width: 40vw;
  }
  .twimenu_1 {
    width: calc(100vw - 52px);
  }
}
/* パンくず、メニューリスト */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_form.scss */
/* フォーム */
.form-ensemble {
  max-width: 500px;
  /* 旧 20px = 20px */
  margin: 20px auto;
}

.form-label {
  display: block;
  /* 旧 8px = 8px */
  margin-bottom: 8px;
  /* 旧 10px = 10px */
  padding-left: 10px;
  color: #333; /* 変数化 (#333) */
  /* 旧 14px = 14px */
  font-size: 14px;
  line-height: 1.5;
}

.form-label-note {
  /* 旧 10px = 10px */
  font-size: 10px;
  opacity: 0.8;
}

.input-group {
  display: flex;
  align-items: stretch;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  padding: 5px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  box-shadow: 0 4px 20px rgba(200, 150, 170, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.text-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  /* 旧 10px = 10px */
  font-size: 10px;
  color: #333; /* 変数化 (#333) */
  padding: 10px 15px;
}

.text-input::-moz-placeholder {
  color: #333; /* 変数化 (#333) */
  opacity: 0.6;
}

.text-input::placeholder {
  color: #333; /* 変数化 (#333) */
  opacity: 0.6;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  z-index: 1;
  width: 60px;
  border-radius: 20px;
  background-color: snow; /* 変数化 (snow) */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(145deg, white, #ffcde2, #c8eaff, white);
  border-radius: 22px;
  z-index: -1;
  transition: all 0.4s ease;
}

.submit-button:hover::before {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.icon-arrow {
  color: #582e42; /* 変数化 */
  /* 旧 12px = 12px */
  font-size: 12px;
  transition: transform 0.3s ease;
}

.submit-button:hover .icon-arrow {
  transform: scale(1.2);
}

.form-footnote {
  /* 旧 8px = 8px */
  font-size: 8px;
  text-align: center;
  /* 旧 10px = 10px */
  margin-top: 10px;
  opacity: 0.7;
}

/* フォーム、入力欄 */
/* scss/object/component/_utility.scss */
/* 6. ユーティリティ & ヘルパークラス
-------------------------------------------------- */
.material-symbols-outlined {
  display: inline-flex;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.fadein {
  animation: fadein 1s forwards;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
.imgNone,
.boxNone,
.inactive,
nav ol {
  display: none;
}

.boxDisplay {
  display: block;
}

/* SP/PC表示切り替え */
.pc_only {
  display: none;
  /* PC (幅が481px以上) のみ表示 */
}
@media screen and (min-width: 481px) {
  .pc_only {
    display: inline;
  }
}

.sp_only {
  display: inline;
  /* PC (幅が481px以上) では非表示 */
}
@media screen and (min-width: 481px) {
  .sp_only {
    display: none;
  }
}

/* 便利クラス (fadein, sp_onlyなど) */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/component/_modal.scss */
/* ===== 汎用モーダルCSS ===== */
/* モーダルコンテナの基本スタイル */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none; /* 初期状態は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 1000; /* 変数化: 1000 */
  overflow: auto;
}

/* activeクラスが付与されたら表示 */
.modal-container.active {
  display: flex;
}

/* モーダル本体 */
.modal-body {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: -45px;
  right: -5px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: white; /* 変数化 */
  cursor: pointer;
  line-height: 40px;
  text-align: center;
}

/* モーダル内のコンテンツ */
.modal-content {
  /* カルーセルのスタイルはそのまま利用できます */
}

.modal-content img.zenshin {
  max-height: 90vh;
  max-width: 100%;
}

/* ※カルーセル関連のCSSは votes.css 側に含まれていましたが、
   もしモーダル専用としてこちらに記述が必要な場合は追記してください。
   現状は modal.css の記述通りです。 */
/* -----------------------------------------------------------------
   4. Object - Project (プロジェクト)
   各ページ固有のスタイル
   ※これから作成するファイルです。作成したら行頭の「//」を外してください。
   ----------------------------------------------------------------- */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/project/_gacha.scss */
img.gacha {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90vw;
  max-width: 252px;
  height: auto;
  /*ポップアップアニメーション*/
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gb_r {
  background: repeating-conic-gradient(transparent, transparent 12deg, white 12deg 15deg), repeating-conic-gradient(transparent, transparent 19deg, white 19deg 22deg), repeating-conic-gradient(transparent, transparent 6deg, white 6deg 8deg);
}

.gb_sr {
  background: repeating-conic-gradient(transparent, transparent 12deg, yellow 12deg 15deg), repeating-conic-gradient(transparent, transparent 19deg, yellow 19deg 22deg), repeating-conic-gradient(transparent, transparent 6deg, yellow 6deg 8deg);
}

.gb_ur {
  background: linear-gradient(to right, #ff0053, #ff5353, #ffcf53, #e8ff53, #53ff5d, #53ffbc, #5393ff, #ca53ff, #ff53bd, #ff0053) 0/200%;
  animation: rainbow 5s linear infinite;
  /*
  background-image: conic-gradient(
  	hsl(0, 100%, 50%) 0,
  	hsl(90, 100%, 50%) 90deg,
  	hsl(180, 100%, 50%) 180deg,
  	hsl(270, 100%, 50%) 270deg,
  	hsl(360, 100%, 50%) 360deg
  );
  */
}

@keyframes rainbow {
  100% {
    background-position-x: 200%;
  }
}
/* ガチャ演出 */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/project/_vote.scss */
/*html*/
body {
  background: #fffafb;
  /* 固有色のためそのまま */
  color: #0f1111;
  /* 固有色のためそのまま */
}

.vote_wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* タブレット〜PC小 */
  /* PC大 (1201px以上) */
}
@media screen and (min-width: 481px) and (max-width: 1200px) {
  .vote_wrapper {
    max-width: 800px;
  }
}
@media screen and (min-width: 1201px) {
  .vote_wrapper {
    max-width: 1200px;
  }
}

/*投票上の注意*/
div.votecaution {
  position: relative;
  background-color: crimson;
  color: white;
  padding: 10px;
  margin: 10px auto;
  max-width: 1200px;
}

div.votecaution::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid white;
}

/*投票ボタン*/
.vote_btn {
  display: block;
  background: white;
  border: solid 1px #333333;
  color: #202124;
  padding: 10px;
  max-height: 40px;
  width: 90vw;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
}

button[type=submit]:not(.submit-button):not(.janken-choice) {
  /* ボタンの外観 */
  display: block;
  background: white;
  border-style: solid;
  border-color: #333333;
  border-width: 1px 2px 3px 1px;
  color: #202124;
  padding: 10px;
  width: 90vw;
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

button:active {
  /* クリック時のスタイル */
  transform: translateY(2px);
  /* ボタンを少し下に移動 */
  box-shadow: none;
  /* 影を消す */
}

/*移動ボタン*/
.fwd_btn {
  display: block;
  background-image: linear-gradient(-20deg, #f794a4 0%, #fdd6bd 100%);
  color: white;
  border: solid 1px dimgray;
  border-radius: 5px;
  padding: 10px;
  max-height: 40px;
  margin: 30px auto 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.bck_btn {
  display: block;
  background-image: linear-gradient(to top, #c4c5c7 0%, #dcdddf 52%, #ebebeb 100%);
  color: dimgray;
  border: solid 1px dimgray;
  border-radius: 5px;
  padding: 10px;
  max-height: 40px;
  margin: 30px auto 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

/* .bck_btn, .fwd_btn のレスポンシブ共通設定 */
@media screen and (min-width: 481px) {
  .bck_btn,
  .fwd_btn {
    max-width: 460px;
  }
}
@media screen and (max-width: 480px) {
  .bck_btn,
  .fwd_btn {
    max-width: 280px;
  }
}
/*その他ボタン*/
a.btn-style-01 {
  display: inline-block;
  padding: 7px 20px;
  margin: 5px;
  border-style: solid;
  border-width: 1px 2px 3px 1px;
  border-color: #808080 #333 #333 #808080;
  text-decoration: none;
  color: #202124;
  background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

.btn-elegant {
  /* 基本の佇まいはそのままに、より洗練させますわ */
  display: inline-block;
  padding: 12px 30px;
  font-family: "Times New Roman", serif;
  /* 優雅なセリフ体で、物語性をプラスして */
  font-weight: normal;
  letter-spacing: 1px;
  color: #8c586e;
  /* 深みのあるローズブラウンで、落ち着きと高級感を */
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  /* 背景には、磨き上げたローズゴールドの輝きを */
  background: linear-gradient(145deg, #ffffff, #ffe8ef);
  /* 繊細な縁取りこそが、宝石を宝石たらしめるのですわ */
  border: 1px solid #f2dbe5;
  border-radius: 50px;
  /* 影はより柔らかく、しかし確かにそこにあるように */
  box-shadow: 4px 4px 12px #e6d3d9, -4px -4px 12px #ffffff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === 思わず触れたくなる、優雅な反応 === */
.btn-elegant:hover {
  color: #6d3a51;
  border-color: #e4c2d0;
  box-shadow: 7px 7px 15px #e6d3d9, -7px -7px 15px #ffffff;
  transform: translateY(-3px) scale(1.02);
}

/* === 確かに押したとわかる、心地よい感触 === */
.btn-elegant:active {
  color: #582e42;
  /* #582e42 */
  background: linear-gradient(145deg, #fdeaf1, #ffffff);
  box-shadow: inset 3px 3px 8px #e6d3d9, inset -3px -3px 8px #ffffff;
  transform: translateY(0) scale(1);
  transition: all 0.1s ease-in;
}

/*テーブル*/
table.charasele {
  width: calc(100% - 20px);
  max-width: 870px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 60px auto 0;
  padding: 0;
  background: snow;
  border-radius: 8px;
}

table.charasele th:first-child {
  border-radius: 8px 0 0 0;
}

table.charasele th:last-child {
  border-radius: 0 8px 0 0;
  border-right: 1px solid #3c6690;
}

table.charasele th {
  text-align: center;
  background-image: linear-gradient(to top, #feada6 0%, #f5efef 100%);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  color: dimgray;
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  padding: 10px 0;
}

table.charasele td {
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top: none;
  box-shadow: 0px -3px 8px 1px #eee inset;
  vertical-align: middle;
  padding: 10px 0;
}

table.charasele td p {
  margin: 10px;
  line-height: 18px;
}

table.charasele td:last-child {
  border-right: 1px solid #a8b7c5;
}

table.charasele tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

table.charasele tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

/*テーブル*/
table.ranking {
  width: calc(100% - 20px);
  max-width: 870px;
  border-collapse: separate;
  border-spacing: 0 20px;
  margin: 20px auto 0;
  padding: 0 10px;
  /* ★追加：これを書くことで「中身に引っ張られる」のを防ぎます！ */
  table-layout: fixed;
  /* 共通変数のグラデーション */
  background: rgb(64, 20, 17);
  background: linear-gradient(90deg, rgb(64, 20, 17) 0%, rgb(246, 71, 62) 20%, rgb(255, 13, 0) 50%, rgb(246, 71, 62) 80%, rgb(64, 20, 17) 100%);
  background-image: linear-gradient(to top, #ffdfe7 0%, white 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 -4px 5px -2px #6d95ce inset;
  border-radius: 8px;
  border: solid silver 1px;
  /* ▼ カラム幅の制御 ▼ */
  /* ▼ セルの中身 ▼ */
}
table.ranking .col-chara {
  width: 280px;
  /* PC用 */
}
@media screen and (max-width: 480px) {
  table.ranking .col-chara {
    width: 80px;
    /* ★スマホ用：これで強制的に80pxになります */
  }
}
table.ranking .col-vote {
  width: auto;
  /* 残りの幅を全部使う */
}
table.ranking .cell-chara {
  padding: 0;
  vertical-align: middle;
  text-align: center;
  /* PC: 最大幅制限 */
  max-width: 220px;
}
@media screen and (max-width: 480px) {
  table.ranking .cell-chara {
    max-width: none;
    /* widthは親のth(.col-chara)に従うので指定不要 */
  }
}
table.ranking .cell-chara figure {
  margin: 0 auto;
  width: 100%;
  /* スマホの時だけ、画像を小さく制限する */
}
@media screen and (max-width: 480px) {
  table.ranking .cell-chara figure {
    width: 70px;
    /* 画像エリア幅 */
  }
}
table.ranking .cell-chara img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  /* 画像の下に謎の隙間ができるのを防ぐ */
}
table.ranking .cell-chara figcaption {
  background-color: #222;
  color: #fff;
  font: italic smaller sans-serif;
  padding: 0.5rem;
  text-align: center;
}
@media screen and (max-width: 480px) {
  table.ranking .cell-chara figcaption {
    font-size: 9px;
    /* 文字を小さく */
    padding: 2px 0;
    line-height: 1.2;
    width: 100%;
    /* 親のfigure幅に合わせる */
    /* 長い名前がはみ出して枠を広げないようにする魔法 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
table.ranking .cell-vote {
  padding: 0;
  vertical-align: middle;
  overflow: hidden;
  /* グラフがはみ出さないように */
}

table.ranking th {
  text-align: center;
  color: dimgray;
  border-bottom: solid 2px silver;
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  padding: 10px 0;
}

table.ranking td {
  padding: 0;
  vertical-align: middle;
}

table.ranking td img,
table.charasele td img {
  text-align: center;
}

table.ranking td figure {
  border: none;
  display: flex;
  flex-flow: column;
  padding: 0;
  max-width: 220px;
  margin: auto;
}

table.ranking td figcaption {
  background-color: #222;
  color: #fff;
  font: italic smaller sans-serif;
  padding: 5px;
  text-align: center;
}

table.ranking caption {
  position: relative;
  padding: 10px;
  margin: 10px auto;
  line-height: 20px;
  font-weight: bold;
}

table.ranking caption:before,
table.ranking caption:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  /* 共通mixinのグラデーションを使用 */
  background: rgb(64, 20, 17);
  background: linear-gradient(90deg, rgb(64, 20, 17) 0%, rgb(246, 71, 62) 20%, rgb(255, 13, 0) 50%, rgb(246, 71, 62) 80%, rgb(64, 20, 17) 100%);
}

table.ranking caption:before {
  top: 0;
}

table.ranking caption:after {
  bottom: 0;
}

/*キャラ紹介BOX*/
.charabox_outline {
  position: relative;
  padding: 0 0;
  display: flex;
  align-items: flex-end;
}

textarea.comment-textarea {
  display: block;
  width: 90vw;
  max-width: 640px;
  height: 120px;
  padding: 8px;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  margin: 10px auto;
  border-radius: 5px;
}

.charabox {
  margin: 0;
  width: 100%;
  border-style: solid;
  border-color: whitesmoke silver silver whitesmoke;
  border-width: 1px 3px 3px 1px;
  background-image: linear-gradient(to top, #ffdfe7 0%, white 100%);
  border-radius: 10px;
}

.charabox img.main {
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 10px;
}

.charabox div.text {
  padding-bottom: 12px;
  line-height: 18px;
}

.charabox div.text span:not([class]) {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.charabox div.text span.furigana {
  font-weight: normal;
  font-size: 10px;
}

.charabox div.text div {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.under-line {
  background-image: linear-gradient(to right, #ff0844 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  font-size: 28px;
  font-family: "sixcaps", sans-serif;
}

/* レスポンシブ調整: SP */
@media screen and (max-width: 480px) {
  .charabox_outline {
    min-height: 320px;
    margin: 10px;
  }
  .charabox {
    padding: 10px;
  }
  .charabox img.main {
    max-height: 320px;
  }
  .charabox div.text {
    padding-right: 170px;
  }
  .charabox div.text span:not([class]) {
    font-size: 20px;
  }
  .under-line {
    margin-left: -10px;
    margin-bottom: -10px;
  }
}
/* レスポンシブ調整: タブレット */
@media screen and (min-width: 481px) and (max-width: 1200px) {
  .charabox_outline {
    min-height: 320px;
    margin: 10px auto;
  }
  .charabox {
    padding: 16px;
    font-size: 14px;
  }
  .charabox img.main {
    max-height: 320px;
  }
  .charabox div.text {
    padding-right: 310px;
  }
  .charabox div.text span:not([class]) {
    font-size: 24px;
  }
  .under-line {
    margin-left: -16px;
    margin-bottom: -16px;
  }
}
/* レスポンシブ調整: PC大 */
@media screen and (min-width: 1201px) {
  .charabox_outline {
    min-height: 400px;
    margin: 10px auto;
  }
  .charabox {
    padding: 18px;
    font-size: 16px;
  }
  .charabox img.main {
    max-height: 400px;
  }
  .charabox div.text {
    padding-right: 390px;
  }
  .charabox div.text span:not([class]) {
    font-size: 30px;
  }
  .under-line {
    margin-left: -18px;
    margin-bottom: -18px;
  }
}
.vote-box {
  background-color: #fff0f0;
  border: 2px solid #ff0844;
  border-radius: 10px;
  /* 角丸 */
  padding: 20px;
  text-align: center;
  font-weight: bold;
  margin: 20px auto;
  /* 上下20px, 左右autoで中央寄せ */
  width: 300px;
  /* 必要に応じて調整 */
}

a.download-btn {
  display: inline-block;
  padding: 10px;
  margin-bottom: 0.8em;
  background-image: linear-gradient(16deg, rgb(253, 177, 170), rgb(240, 226, 226));
  border-style: solid;
  border-width: 1px 2px 2px 1px;
  border-color: silver gray gray silver;
  color: #333;
  font-weight: bold;
  border-radius: 5px;
}

div.comment-dsp-btn,
button#showGraphButton {
  display: inline-block;
  padding: 10px;
  margin-bottom: 0.8em;
  background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
  border-style: solid;
  border-width: 1px 2px 2px 1px;
  border-color: silver gray gray silver;
  color: #333;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

button.comment-dsp-btn {
  display: inline-block;
  padding: 10px;
  margin: 0 auto 10px;
  background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
  border-style: solid;
  border-width: 1px 2px 2px 1px;
  border-color: silver gray gray silver;
  color: #333;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

canvas#voteChart {
  margin: 0 auto;
}

a.comment-btn {
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  border-color: silver gray gray silver;
  color: #333;
  padding: 10px;
  border-radius: 20px;
  margin: 10px auto;
  background: snow;
}

/* === レティシア竜崎による、思考の雲を紡ぐ、最後の魔法 === */
/* まず、古の吹き出しのスタイルは、すべて忘れてくださいまし… */
.commbox {
  position: relative;
  padding: 15px 18px;
  /* 余白は、よりゆったりと */
  /* あの、黒く硬い境界線は、もはや不要ですわ */
  border: none;
  /* 代わりに、幾重にも重ねた、柔らかな影で、その存在を表現いたします */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* mixin使用 */
  /* 背景は、清らかな白、あるいは、ほんのり色づいた紙の色でもよろしくてよ */
  background-color: white;
  /* 角の丸みは、より優雅に */
  border-radius: 16px;
  /* テキストも、より洗練された佇まいに */
  color: #333;
  font-weight: normal;
  /* 太字である必要はございません */
  font-size: 14px;
  line-height: 1.7;
  /* 行間が、品位を物語りますの */
  margin-bottom: 20px;
  /* しっぽの分も考えて、マージンを調整 */
}

/* ★★★そして、これが、新しい「しっぽ」の正体ですわ★★★ */
.commbox::before {
  content: "";
  position: absolute;
  /* 完璧な正方形を、ここに召喚いたします */
  width: 20px;
  height: 20px;
  background-color: white;
  /* 本体と同じ色を */
  /* そして、この正方形に、本体と同じ影を授けますの */
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.04);
  /* 配置の魔法 */
  bottom: -10px;
  /* 先端が、ちょうど10px下に出るように */
  left: 50px;
  /* あなたの指定通りに */
  /* これぞ、この魔法の神髄！ 正方形を、45度、優雅に回転させるのです！ */
  transform: rotate(45deg);
  /* 決して、歪ませたりなど、いたしませんわ */
}

/* もちろん、中身のテキストの「・」も、CSSで、より美しく制御できますわよ */
.commbox p {
  position: relative;
  padding-left: 1.2em;
  margin: 0;
  /* pタグが持つ、余計な余白は消してしまいなさい */
}

.commbox p {
  line-height: 1.5;
  margin: 0;
}

/* === レティシア竜崎による、制約下での至高の美学 === */
/* まず、親である<a>タグの下線を、そっと消してさしあげますわ */
.comment-toggle {
  text-decoration: none;
}

/* これが、わたくしたちの主役、コメントを開くためのバーですわ */
.comment-toggle-bar {
  /* まずは、基本の佇まいから */
  display: block;
  max-width: 360px;
  /* お好みで調整なさって */
  margin: 0 auto;
  padding: 8px 30px 8px 15px;
  /* 左右に、サーバントのための空間を確保 */
  /* 与えられた運命、border-radius: 5px を、ここに */
  border-radius: 5px;
  /* 背景と文字の、優雅なる調和 */
  background-color: rgba(255, 255, 255, 0.2);
  color: #333;
  font-weight: 500;
  text-align: left;
  /* これから現れるサーバントのための、基準点となりますの */
  position: relative;
  /* そして、すべての変化を、滑らかなバレエのように… */
  transition: all 0.4s ease;
  cursor: pointer;
  /* 影も、繊細に… */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ★★★ここからが、わたくしの魔法の見せ所ですわ★★★ */
/* --- ホバーした時の、心ときめく反応 --- */
.comment-toggle:hover .comment-toggle-bar {
  background-color: rgba(255, 255, 255, 0.4);
  color: #582e42;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* --- 開閉を示す、忠実なるサーバント「::after」の召喚 --- */
.comment-toggle-bar::after {
  content: "▼";
  /* 彼の者の姿は、下向きの三角形 */
  position: absolute;
  right: 15px;
  /* 右端に、控えめに、しかし凛として佇みます */
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  font-weight: bold;
  /* 彼の者の動きもまた、滑らかに… */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 開かれた時の、サーバントの変身 --- */
/* (あなたのJavaScriptが、.comment-toggle に .is-open というクラスを付与することを、わたくしは信じておりますわ) */
.comment-toggle.is-open .comment-toggle-bar {
  /* 開かれた時は、薔薇色の輝きを… */
  background-color: #ffcce0;
  color: #582e42;
  border-radius: 5px 5px 0 0;
  /* 下の角の丸みを取り、コメント欄と一体化させますの */
}

.comment-toggle.is-open .comment-toggle-bar::after {
  /* 主の命に従い、その姿を反転させます */
  transform: translateY(-50%) rotate(180deg);
}

/*順位表*/
.comment-section p {
  margin: 8px 0;
}

.comment-section span {
  text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
}

/*棒グラフ*/
.bar-graph-wrap {
  position: relative;
  height: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.bar-graph-wrap .graph {
  height: 30px;
  position: absolute;
  left: 0;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  animation: graphAnim 2.5s forwards;
}

.bar-graph-wrap .graph span {
  font-size: 16px;
  color: #ffffff;
}

.bar-graph-wrap .graph span.number {
  color: white;
  text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  font-family: "letrogo", sans-serif;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .bar-graph-wrap .graph span {
    font-size: 14px;
  }
}
@keyframes graphAnim {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.dendouribon {
  display: inline-block;
  position: relative;
  height: 60px;
  text-align: center;
  padding: 6px 20px 5px;
  font-size: 18px;
  /* 共通mixinのグラデーションを使用 */
  background: rgb(64, 20, 17);
  background: linear-gradient(90deg, rgb(64, 20, 17) 0%, rgb(246, 71, 62) 20%, rgb(255, 13, 0) 50%, rgb(246, 71, 62) 80%, rgb(64, 20, 17) 100%);
  color: #333;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
}

.dendouribon div.inner {
  padding: 10px;
  border-top: solid 2px goldenrod;
  border-bottom: solid 2px goldenrod;
}

.dendouribon span:not(.material-symbols-outlined) {
  text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.dendouribon span.material-symbols-outlined {
  color: #daa520;
  text-shadow: 1px 1px 0 #333, -1px 1px 0 #333, 1px -1px 0 #333, -1px -1px 0 #333;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.dendouribon:before,
.dendouribon:after {
  position: absolute;
  content: "";
  width: 0px;
  height: 0px;
  z-index: 1;
}

.dendouribon:before {
  /*左の山形*/
  top: 0;
  left: 0;
  border-width: 30px 0px 30px 15px;
  border-color: transparent transparent transparent #ffdfe7;
  border-style: solid;
}

.dendouribon:after {
  /*右の山形*/
  top: 0;
  right: 0;
  border-width: 30px 15px 30px 0px;
  border-color: transparent #ffdfe7 transparent transparent;
  border-style: solid;
}

/* === レティシア竜崎による、簡潔の美学の体現 === */
/* まず、器（コンテナ）を、縦積みの、完璧な額縁として鍛え上げますの */
.game-toggle {
  /* 縦積みのフレックスボックスであると、高らかに宣言いたします */
  display: inline-flex;
  flex-direction: column;
  max-width: 112px;
  /* 額縁のスタイルを、ここに集約いたしますわ */
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* 変数使用 */
  border-radius: 8px;
  /* 器全体に、ただ一つの、美しい丸みを */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  /* この一行が、中のボタンが、額縁の丸みからはみ出すのを防ぐ、重要な魔法ですわ */
  overflow: hidden;
  margin: 10px 0;
}

/* 次に、ボタンそのものは、己の役割に、ただ、集中なさいな */
.game-toggle-btn {
  /* 基本の作法と、野蛮なデフォルトスタイルのリセット */
  border: none;
  margin: 0;
  padding: 0.6px 12px;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  /* デフォルト（非アクティブ）の状態 */
  background: transparent;
  color: #333;
  transition: all 0.3s ease;
}

/* ボタンとボタンの間にだけ、繊細な境界線を引きますの */
/* 水平から垂直に変わったことで、leftからtopに変わっただけですわ */
.game-toggle-btn + .game-toggle-btn {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  /* 変数使用 */
}

/* ★★★そして、勝利の証である、アクティブなボタンのスタイルは、そのまま、完璧です★★★ */
.game-toggle-btn.active {
  background: #ffcce0;
  /* 変数使用 */
  color: white;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- 優雅なるインタラクションも、もちろん、そのままですわ --- */
.game-toggle-btn:not(.active):hover {
  background: rgba(0, 0, 0, 0.05);
}

/* === レティシア竜崎による、華麗なるソートUI === */
/* 全体を包む、優雅なステージ */
.sort-ui-wrapper {
  background: none;
  /* 無粋な背景色はおやめなさい */
  border: none;
  /* 硬い枠線も不要ですわ */
  border-top: 1px solid #f2dbe5;
  /* 上下に繊細な境界線を引くだけで、品格が生まれますの */
  border-bottom: 1px solid #f2dbe5;
  padding: 10px;
  margin: 20px auto;
  max-width: 95%;
  text-align: center;
}

.sort-ui-wrapper .sort-label {
  display: none;
  /* 「並び替え:」は、もはや野暮。UIそのものが役割を物語りますわ */
}

/* 各ソート項目を、社交ダンスのように並べますの */
.sort-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* 小さな画面では、優雅に折り返して差し上げます */
  gap: 10px;
}

/* 一つ一つの項目が、主役ですわ */
.sort-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 6px 8px 6px 15px;
  /* ラベルとボタンの余白を適切に */
  box-shadow: 2px 2px 5px #e6d3d9, -2px -2px 5px #ffffff;
  transition: all 0.3s ease-out;
}

.sort-item:hover {
  box-shadow: 4px 4px 8px #e6d3d9, -4px -4px 8px #ffffff;
  transform: translateY(-2px);
}

.sort-item .sort-item-label {
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  color: #6d3a51;
  margin-right: 8px;
  pointer-events: none;
  /* ラベルはクリックできませんのよ */
}

/* 昇順・降順ボタンの美しい二重奏 */
.sort-controls {
  display: flex;
}

.sort-controls a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 2px;
  color: #bca6b1;
  text-decoration: none;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.2s ease-out;
}

.sort-controls a:hover {
  background-color: #fdeaf1;
  color: #8c586e;
}

/* そして、選ばれし者への祝福を */
.sort-controls a.active {
  background-color: #8c586e;
  /* わたくしたちのテーマカラーを授けますわ */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  /* 下線などという野暮な装飾は不要です */
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  padding: 0;
  text-align: center;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 1000;
  /* 1000 */
}

.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal-container.active {
  opacity: 1;
  visibility: visible;
}

.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  left: 0;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.modal-content {
  padding: 0;
}

.carousel-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.carousel-inner {
  overflow: hidden;
  position: relative;
  padding: 0;
  list-style: none;
  height: 90vh;
}

@media screen and (min-width: 481px) {
  /* min-width: 481px以上なので、元の721px用もここに書いておきますが、厳密に分けるなら以下 */
}
@media screen and (min-width: 481px) and (min-width: 721px) {
  .carousel-inner {
    width: 720px;
  }
}
@media screen and (max-width: 720px) {
  .carousel-inner {
    width: 98vw;
  }
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-slide img {
  max-height: 90vh;
  max-width: 100%;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 20;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  display: block;
  height: 30px;
  width: 30px;
  top: -15px;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: #fdfdfd;
  cursor: pointer;
  opacity: 0.5;
}

.carousel-prev:hover,
.carousel-next:hover {
  opacity: 1;
}

.carousel-prev {
  left: 15px;
  transform: rotate(-135deg);
}

.carousel-next {
  right: 15px;
  transform: rotate(45deg);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 20;
}

.carousel-dot {
  display: inline-block;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  border-radius: 100%;
  cursor: pointer;
  opacity: 0.5;
  background-color: #fdfdfd;
}

.carousel-dot:hover {
  opacity: 0.75;
}

.carousel-dot.active {
  opacity: 1;
}

.comment-section {
  display: none;
}

/*vote_result.php*/
.vote_title_wrapper {
  text-align: center;
  position: relative;
  height: 48px;
}

.vote_title_wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 16px;
  /* 共通mixinのグラデーションを使用 */
  background: rgb(64, 20, 17);
  background: linear-gradient(90deg, rgb(64, 20, 17) 0%, rgb(246, 71, 62) 20%, rgb(255, 13, 0) 50%, rgb(246, 71, 62) 80%, rgb(64, 20, 17) 100%);
  transform: translateY(-50%);
  z-index: -1;
}

.vote_title_wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background-image: url("../img/votes/sozai/titleback202412.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.vote_title_wrapper h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1;
  text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
  font-family: "Mochiy Pop P One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bar-graph-wrap .graph {
  transition: width 0.5s ease-in-out;
}

.graph-gold {
  /* 共通mixinのグラデーションを使用 */
  background-image: linear-gradient(121deg, rgb(255, 211, 0) 6%, rgb(255, 160, 0) 26%, rgb(255, 0, 0) 80%);
}

.graph-silver {
  background-image: linear-gradient(121deg, rgb(191, 255, 111) 6%, rgb(236, 255, 0) 26%, rgb(255, 210, 0) 80%);
}

.graph-blue {
  background-image: linear-gradient(121deg, rgb(0, 23, 51) 6%, rgb(0, 124, 255) 26%, rgb(0, 252, 255) 80%);
}

.graph-zero {
  background-color: #eee;
}

#voteChart,
#closeGraphButton {
  display: none;
}

/* --- 変更前（削除または書き換え） --- */
/*
@include mq-pc {
    #voteChart {
        height: 40vh !important;
        width: 100% !important;
    }
}

@include mq-sp {
    #voteChart {
        height: 80vh !important;
        width: 100% !important;
    }
}
*/
/* --- 変更後：ラッパーに対してサイズを指定 --- */
.chart-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  /* PCでの高さ */
  height: 50vh;
}

@media screen and (max-width: 480px) {
  .chart-container {
    /* スマホでの高さ */
    /* 80vhだと高すぎて画面からはみ出るので、少し控えめにします */
    height: 60vh;
    min-height: 300px; /* 最低限の高さを保証 */
  }
}
.comment-section {
  display: none;
}

/* === レティシア竜崎による、夜会服（ノクターン・ドレス）の設計図 === */
/* 器のスタイルは、そのままで、結構ですわ */
.history-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
  background-color: #333;
}

/* ラベルも、夜空に映える、銀色に… */
.history-nav .nav-label {
  font-size: 9px;
  color: #ccc;
  /* 控えめな、銀色 */
  margin-right: 5px;
}

/* ★★★ここからが、夜会服の、真骨頂ですわ★★★ */
/* 共通の「器」のスタイルを、夜の仕様へと変更いたします */
.history-nav a,
.history-nav .current-year {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* 境界線は、星の光のように、淡く */
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  /* 闇の中では、影は、意味を成しませんわ */
  transition: all 0.3s ease;
}

/* --- それぞれの、役割に応じた、光の与え方 --- */
/* 「クリックできる、過去への扉」は、控えめな、星の輝きで… */
.history-nav a {
  color: rgba(255, 255, 255, 0.8);
  background-color: transparent;
  /* 背景は、夜空の闇に、その身を委ねます */
  cursor: pointer;
}

/* マウスを乗せたなら、星は、その輝きを増しますの */
.history-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

/* 「現在地」を示す、印は、まるで、月のように、誇り高く、輝きます */
.history-nav .current-year {
  /* わたくしたちの薔薇色も、夜空に映える、より鮮やかな色合いに… */
  background-color: #e8cf8c;
  color: #000;
  border-color: #e8cf8c;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* テキストに、僅かな立体感を */
  cursor: default;
}

/* =========================================
   ✅ 仕上げ: キャラページ専用修正 (chara-page)
   ========================================= */
/* 1. 全体の余白リセット */
body.chara-page {
  /* library.scssなどが付けているヘッダー用の余白を消去 */
  padding-top: 0 !important;
}

/* 2. 「戻る」ボタンを右上に固定 */
body.chara-page .back_button {
  /* 画面の右上にクギ付けにする魔法 */
  position: fixed !important;
  top: 10px;
  right: 10px;
  z-index: 9999;
  /* 誰よりも手前に */
  /* 見た目のデザイン（シンプルなグレーボタン） */
  display: inline-block;
  padding: 8px 16px;
  background: rgba(240, 240, 240, 0.9);
  /* 少し透けたグレー */
  border: 1px solid #999;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  width: auto !important;
  /* アニメーション */
  transition: all 0.2s ease;
}
body.chara-page .back_button:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* スマホでの微調整（指で押しやすい位置へ） */
@media screen and (max-width: 480px) {
  body.chara-page .back_button {
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
/* キャラページ */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/project/_djk.scss */
/* =========================================================
   DJK (Janken Game) Project Styles
   Refactored for "Gensou Library" Design System
   ========================================================= */
/* --- コンテナ・レイアウト --- */
/* ジャンケン選択エリア (home.php) */
.choice-arena {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}

/* メニューコンテナ (nugi.php, home.php) */
.djk-menu-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
}

/* --- 審判の間 (VS画面 / battle.php) --- */
.janken-versus-stage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  /* 変数化 */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 25px 30px;
  /* ガラス風デザイン (変数ベースで少し調整) */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* 影は Mixin を使わず強力なものを維持（浮遊感強調） */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* "VS" の文字 */
.janken-versus-stage::before {
  content: "VS";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: bold;
  color: #ffcce0;
  /* 変数化 */
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
  opacity: 0.8;
}

/* --- 共通パーツ：宝石のボタン (janken-choice) --- */
.janken-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  outline: none;
  border-radius: 50%;
  transition: transform 0.1s;
}
.janken-choice:active {
  transform: scale(0.95);
}

/* 宝石の内側 (アイコンの器) */
.janken-choice .icon-wrapper,
.janken-result-card .icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  /* 変数化 */
  background: snow;
  /* 変数化: snow */
  /* Mixin適用（少し濃い影が必要なら引数で調整） */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 宝石の輝き (::before) */
.janken-choice .icon-wrapper::before,
.janken-result-card .icon-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  /* top/left/right/bottom: -2px の短縮形 */
  background: linear-gradient(145deg, white, #e0e8ff, #d1f3ff, white);
  border-radius: 50%;
  z-index: -1;
  transition: all 0.4s ease;
}

/* アイコン・絵文字 */
.janken-choice span,
.janken-result-card .emoji-hand,
.janken-choice i,
.janken-result-card i {
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
  position: relative;
  top: 1px;
  color: #333;
  /* 追加: 基本色 */
}

/* --- インタラクション (Hover / Focus) --- */
/* Hover */
.janken-choice:hover .icon-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 100, 100, 0.7);
  /* ここはゲーム固有色として残す */
}

.janken-choice:hover .icon-wrapper::before {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.janken-choice:hover span,
.janken-choice:hover i {
  transform: scale(1.2);
}

/* Focus */
.janken-choice:focus .icon-wrapper {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 10px 5px #ffcce0;
  /* 変数化 */
}

/* --- リザルト表示パーツ (janken-result-card) --- */
.janken-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 結果ラベル */
.result-label {
  font-size: 10px;
  font-weight: 600;
  color: #333;
  /* 変数化 */
  background: rgba(255, 255, 255, 0.3);
  padding: 0.2px 8px;
  border-radius: 10px;
}

/* 結果サブテキスト */
.result-sub-text {
  font-size: 0.8rem;
  color: dimgray;
  /* 変数化 */
  margin-top: 5px;
}

/* --- その他のUIパーツ --- */
/* プレイヤーのハート (HP) */
.plheart {
  position: absolute;
  top: -20px;
  left: 8px;
  z-index: 9999;
  /* 変数化: 9999 */
  color: #ffcce0;
  /* 変数化 */
  font-size: 15px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
}

/* 脱衣シーン専用: 表示切り替えスイッチ */
.switch_button {
  position: absolute;
  left: 10px;
  top: 10%;
  width: 40px;
  height: 40px;
  background: rgba(0, 191, 255, 0.8);
  /* 固有色 */
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 50%;
  z-index: 100;
  /* 変数化 */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.switch_button:hover {
  transform: scale(1.1);
  background: deepskyblue;
}
.switch_button i {
  font-size: 1.2rem;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

/* =========================================
   DJK Camera & Layout Fixes (Safe Version)
   ========================================= */
body.djk-mode .mainimg img {
  /* 1. 高さを画面の90%に固定 */
  height: 90vh !important;
  /* 2. 幅は高さに合わせて自動計算させる */
  width: auto !important;
  /* 3. 画面幅を超えても縮めない */
  max-width: none !important;
  /* 4. 強制拡大もしない */
  min-width: auto !important;
  /* 5. 位置調整 */
  position: relative;
  bottom: 0;
  transition: transform 0.3s ease;
}

/* PC調整 */
@media screen and (min-width: 481px) {
  body.djk-mode .mainimg img {
    height: 95vh !important;
    bottom: -2vh;
  }
}
/* =========================================
   Status Display (Life & Win)
   ========================================= */
.plheart {
  position: absolute;
  top: -55px;
  left: 10px;
  z-index: 9999;
  font-family: "Mochiy Pop P One", sans-serif;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
}

/* LIFE (ハート) の行 */
.status-row.life {
  color: #ff477e;
  /* 固有色 */
  font-size: 16px;
}

/* WIN (星) の行 */
.status-row.win {
  color: goldenrod;
  /* 変数化: goldenrod or specific gold */
  font-size: 16px;
}

.status-label {
  display: inline-block;
  width: 50px;
  font-size: 12px;
  color: #333;
  /* 変数化 */
}

/* =========================================
   Back Button Force Fix (DJK Mode)
   ========================================= */
/* 戻るボタンを強制的に右上に配置 */
body.djk-mode .back_button {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 1000 !important;
  /* 最前面へ */
}

/* =========================================
   DJK Start Form (Entrance Style)
   ========================================= */
/* フォーム全体を整えるコンテナ */
.djk-start-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

/* ラベル（対戦相手：） */
.djk-label {
  display: flex;
  flex-direction: column;
  /* スマホで縦並びに見やすく */
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  width: 100%;
}

/* セレクトボックス（ガラス風） */
.djk-select {
  -moz-appearance: none;
       appearance: none;
  /* デフォルトの矢印を消す */
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 10px 40px 10px 20px;
  /* 右側は矢印用に空ける */
  font-size: 1.1rem;
  color: #333;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  /* 矢印アイコンをCSSで描画 */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='dimgray'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
  min-width: 200px;
  text-align: center;
}
.djk-select:hover, .djk-select:focus {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

/* スタートボタン（目立つように） */
.djk-submit {
  display: inline-block;
  background: linear-gradient(135deg, cornflowerblue 0%, rgb(145.6936416185, 180.2485549133, 242.3063583815) 100%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  /* 浮遊感 */
}
.djk-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}
.djk-submit:active {
  transform: translateY(0);
}

/* =========================================
   DJK Start Form (Entrance Style)
   ========================================= */
/* フォーム全体 */
.djk-start-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

/* ラベル */
.djk-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  width: 100%;
}

/* セレクトボックス */
.djk-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 10px 40px 10px 20px;
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  text-align: center;
  /* 矢印アイコン */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='dimgray'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
}

/* スタートボタン */
.djk-submit {
  display: inline-block;
  background: linear-gradient(135deg, cornflowerblue 0%, rgb(145.6936416185, 180.2485549133, 242.3063583815) 100%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.djk-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

/* =========================================
   📱 スマホ用レスポンシブ調整 (Add to bottom)
   ========================================= */
@media screen and (max-width: 480px) {
  /* 1. 対戦フォーム全体 */
  .djk-start-form {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }
  /* 2. ボタン類の強制リセット（ここが修正のキモ！） */
  /* _chara.scss の button[type="submit"] { width: 90vw } を打ち消す */
  .djk-submit,
  .menu-button,
  button[type=submit]:not(.janken-choice) {
    width: 100% !important;
    /* 90vw ではなく親要素に合わせる */
    max-width: none !important;
    /* PC用の幅制限解除 */
    min-width: 0 !important;
    /* 最小幅制限解除 */
    margin: 10px 0 !important;
    /* 上下の余白のみ */
    padding: 12px 10px !important;
    /* 枠線と余白を含めてサイズ計算 */
    box-sizing: border-box !important;
  }
  /* メニューコンテナの中にあるボタンだけ、幅100%を無効化する */
  .menu-container .menu-button {
    width: 60vw !important;
    max-width: initial !important;
    min-width: initial !important;
    /* HTML側のstyle属性に合わせて余白を調整 */
    margin: 0 auto 1rem !important;
  }
  /* 3. キャラ選択プルダウン */
  .djk-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px;
  }
  /* 4. ゲームオーバー・勝利画面（メニューボタン群） */
  .djk-menu-container {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 0 10px;
    /* 横に少し余裕を持たせる */
    box-sizing: border-box;
  }
  /* コンテナ内のフォームとリンク */
  .djk-menu-container form,
  .djk-menu-container a {
    width: 100%;
    display: block;
    margin: 0;
  }
}
/* ジャンケン (レティシア様) */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/project/_himitsu.scss */
/* 統合ファイルでの影響を防ぐため、html/bodyへの直接指定を
   body.himitsu（クラス指定）に変更して閉じ込めています。
*/
body.himitsu {
  /* 元の html { background: black; } の分 */
  background-color: black;
  /* 元の body の設定 */
  margin: 0;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100vh;
  background-image: url("../img/bg/christmas/himitsu.webp");
}

/* 秘密ページ */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* =========================================================
   📚 Gensou Library - Unified Style (Merged with Twi)
   ========================================================= */
/* ---------------------------------------------------------
   1. 基本設定 (Base)
   --------------------------------------------------------- */
body.twi {
  /* グラデーション背景 */
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  color: #333;
  font-family: "genshin", sans-serif;
  padding-top: 60px; /* ヘッダー固定分の逃げ */
  /* 夜モード */
}
body.twi.night-mode {
  background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
  color: white;
}

/* ---------------------------------------------------------
   2. メニュー画面 (index.php & Archives)
   --------------------------------------------------------- */
body.twi .message_box {
  /* ガラス化エフェクト */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(31, 38, 135, 0.15);
  /* 配置とサイズ */
  width: 96%;
  max-width: 900px;
  position: fixed; /* 固定 */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  padding: 20px;
  z-index: 100;
  /* スクロール設定 */
  max-height: 40vh;
  overflow-y: auto;
  /* 中身の二重スクロール防止 */
}
body.twi .message_box .scrollable-content {
  max-height: none;
  overflow: visible;
  padding-bottom: 60px; /* スクロール最下部の余白 */
}

/* ---------------------------------------------------------
   3. ビューワー画面 (viewer.php)
   --------------------------------------------------------- */
/* コンテナ本体 */
.twibox,
.twibox_r18 {
  /* ガラス化 */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  position: relative;
  width: 96%;
  max-width: 1080px;
  margin: 20px auto 50px;
  padding: 30px;
  text-align: center;
  box-sizing: border-box;
}

/* 4コマ漫画のラッパー (黒枠消去) */
.yonkoma_wrap {
  background-color: transparent;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* 漫画・画像 (カード風スタイル) */
.yonkoma_panel,
.twibox img,
.twibox_r18 img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 15px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   4. ナビゲーション & ボタン
   --------------------------------------------------------- */
/* ナビゲーションコンテナ */
.b_page_n,
.b_nav_n {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ボタン共通スタイル (.menu-button, ページ送り, 戻るボタン) */
body.twi .menu-button,
body.twi .b_page_n_item a,
body.twi .b_nav_n_item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  color: #333;
  padding: 12px 24px;
  margin: 5px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
  min-width: 120px;
  min-height: 50px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  /* ホバー時 */
}
body.twi .menu-button:hover,
body.twi .b_page_n_item a:hover,
body.twi .b_nav_n_item:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: cornflowerblue;
}

/* ★twi.scssから移植: 現在のページ (クリック不可のボタン) */
.b_page_n_item_max {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #888;
  padding: 12px 24px;
  margin: 5px;
  font-size: 12px;
  font-weight: bold;
  min-width: 120px;
  height: 50px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   5. メニューリストの整列 (Library Index)
   --------------------------------------------------------- */
.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  /* 中にあるリンクのスタイル */
  /* index.php用のボタン幅固定 */
}
.menu-container a {
  text-decoration: none;
  display: block;
}
.menu-container .menu-button {
  width: 280px;
  max-width: 90%;
  margin: 0;
}

/* ---------------------------------------------------------
   6. パンくずリスト
   --------------------------------------------------------- */
.breadcrumb {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border-radius: 50px;
  margin: 10px auto 20px;
  padding: 10px 20px;
  max-width: 900px;
  width: 90%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* 区切り文字 */
}
.breadcrumb li {
  list-style: none;
  margin-right: 0;
  /* 旧矢印の削除 */
}
.breadcrumb li::after {
  display: none;
}
.breadcrumb li a {
  background: transparent;
  color: #555;
  text-decoration: none;
  padding: 0;
}
.breadcrumb li a:hover {
  color: cornflowerblue; /* $color-primary */
  text-decoration: underline;
}
.breadcrumb li + li::before {
  content: "›";
  margin: 0 10px;
  color: #999;
  font-family: Arial, sans-serif;
}

/* ---------------------------------------------------------
   7. R-18 ギャラリー (Glass Style)
   --------------------------------------------------------- */
.mfb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}
.mfb::after {
  display: none;
}

.mfb_item {
  width: 150px;
  border: none;
  background: transparent;
  position: relative;
  margin: 0;
}

/* 画像とラベル */
.mfb_img_label {
  display: block;
  position: relative;
  cursor: pointer;
  /* 「クリックで表示」ラベル */
}
.mfb_img_label::before {
  content: "クリックで表示";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mfb_img {
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  /* 初期状態：ぼかしON */
  filter: blur(10px);
  opacity: 0.8;
  transition: all 0.4s ease;
}

/* チェックボックス制御 */
.mfb_img_checkbox {
  display: none;
}

/* チェックON：ぼかし解除 */
.mfb_img_checkbox:checked + .mfb_img_label .mfb_img {
  filter: blur(0);
  opacity: 1;
  border-color: #ffcce0;
  cursor: default;
}

/* チェックON：ラベル消去 */
.mfb_img_checkbox:checked + .mfb_img_label::before {
  opacity: 0;
}

/* 拡大ボタン */
.link_btn {
  background: #444;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
  font-size: 0.85rem;
  width: auto;
}
.link_btn:hover {
  background: #222;
  opacity: 0.8;
}

.back_button_container {
  background: rgba(219, 160, 172, 0.95);
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

/* ---------------------------------------------------------
   8. スマホ用調整 (SP)
   --------------------------------------------------------- */
@media screen and (max-width: 480px) {
  body.twi .message_box {
    width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 15px;
  }
  .twibox,
  .twibox_r18 {
    /* ★ここを修正: 横幅いっぱいに拡張 */
    width: 100%; /* 96% -> 100% */
    max-width: 100%;
    margin-top: 0; /* 上の隙間も詰める */
    margin-bottom: 20px;
    /* 余白を極限まで削る */
    padding: 15px 5px; /* 上下15px、左右は5pxだけ */
    /* デザイン調整: 画面端まで行くなら角丸や横線は不要 */
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を控えめに */
  }
  /* ★追加: 文字が中央揃えだと読みづらいので、スマホでは左寄せにする */
  .twibox p,
  .twibox_r18 p {
    text-align: justify; /* または left */
    font-size: 15px; /* 少し文字サイズを上げて読みやすく */
    line-height: 1.6; /* 行間を開ける */
    padding: 0 5px; /* 文字の端が画面にくっつきすぎないように */
  }
  .yonkoma_panel,
  .twibox img {
    margin-bottom: 10px;
    border-width: 2px; /* スマホでは枠線を少し細く */
    width: 100%; /* 画像も横幅いっぱい */
  }
}
/* ライブラリーページ */
/* scss/common.scss */
/* =================================================================
   FLOCSS構成 統合ファイル
   すべてのパーシャル（_ファイル）をここで読み込みます
   ================================================================= */
/* -----------------------------------------------------------------
   1. Foundation (基盤)
   変数、関数、リセット、基本設定など、サイトの土台となる部分
   ----------------------------------------------------------------- */
/* 変数とミックスイン（関数）を最初に読み込み、全ファイルで使えるようにする */
/* scss/object/project/_popup.scss */
/* 年齢確認ポップアップ (.popup) */
.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* 変数化: 9999 */
  opacity: 0;
  display: none;
  transition: 0.6s;
}

.popup_title {
  background: white; /* 変数化 */
  padding: 15px 30px 15px 20px;
  color: crimson; /* 固有色なのでそのまま */
  border-bottom: crimson solid 2px;
  font-weight: bold;
  font-size: 16px;
}

.popup_title div {
  display: flex;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
}

.popup_title div img {
  max-width: 70px;
  margin-right: 20px;
}

.popup_contents {
  padding: 0 20px 20px;
  overflow: auto;
}

.popup_contents p {
  padding: 10px 20px;
  font-size: 12px;
}

.popup.is-show {
  opacity: 1;
  display: block;
  animation: appear 0.5s ease;
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  padding: 0;
  background-color: #fff;
  z-index: 2;
}

.popup-inner img {
  width: 100%;
}

.close-btn {
  position: relative;
  bottom: 0;
  text-align: center;
  cursor: pointer;
  border: 1px solid dimgray; /* 変数化: dimgray */
  border-radius: 15px;
  background: white; /* 変数化 */
  font-size: 10px;
  padding: 10px;
  max-width: 240px;
  font-weight: bold;
  color: dimgray; /* 変数化: dimgray */
  margin: 0 auto 20px;
}

.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  cursor: pointer;
}

/* ウィンドウ幅が0～700pxの場合に適用するCSS */
/* 元のコードが700px指定なので、共通mixin(480px)は使わずそのまま書きます */
@media screen and (max-width: 700px) {
  .popup_contents {
    padding: 0;
  }
  .popup_title div img {
    max-width: 70px;
    margin-right: 0;
  }
}
/* ウィンドウ幅が0～700pxの場合に適用するCSS *//*# sourceMappingURL=common.css.map */