.elementor-7567 .elementor-element.elementor-element-546bb59{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7567 .elementor-element.elementor-element-546bb59:not(.elementor-motion-effects-element-type-background), .elementor-7567 .elementor-element.elementor-element-546bb59 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1F1818;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-7567 .elementor-element.elementor-element-9f6875e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:5px;--padding-left:10px;--padding-right:10px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-7567 .elementor-element.elementor-element-cef7c41{text-align:center;}.elementor-7567 .elementor-element.elementor-element-cef7c41 .elementor-heading-title{font-size:2em;font-weight:600;}.elementor-7567 .elementor-element.elementor-element-89a07ce{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--overlay-opacity:0.5;--padding-top:30px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-7567 .elementor-element.elementor-element-89a07ce::before, .elementor-7567 .elementor-element.elementor-element-89a07ce > .elementor-background-video-container::before, .elementor-7567 .elementor-element.elementor-element-89a07ce > .e-con-inner > .elementor-background-video-container::before, .elementor-7567 .elementor-element.elementor-element-89a07ce > .elementor-background-slideshow::before, .elementor-7567 .elementor-element.elementor-element-89a07ce > .e-con-inner > .elementor-background-slideshow::before, .elementor-7567 .elementor-element.elementor-element-89a07ce > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-7567 .elementor-element.elementor-element-89a07ce > .elementor-shape-bottom .elementor-shape-fill, .elementor-7567 .elementor-element.elementor-element-89a07ce > .e-con-inner > .elementor-shape-bottom .elementor-shape-fill{fill:#E7E7E7;}.elementor-7567 .elementor-element.elementor-element-89a07ce > .elementor-shape-bottom svg, .elementor-7567 .elementor-element.elementor-element-89a07ce > .e-con-inner > .elementor-shape-bottom svg{height:152px;}.elementor-7567 .elementor-element.elementor-element-1201b9f{width:var( --container-widget-width, 53% );max-width:53%;--container-widget-width:53%;--container-widget-flex-grow:0;}.elementor-7567 .elementor-element.elementor-element-1201b9f.elementor-element{--align-self:center;}.elementor-7567 .elementor-element.elementor-element-013c232{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:0150px;--padding-right:150px;}@media(max-width:1024px){.elementor-7567 .elementor-element.elementor-element-546bb59{--padding-top:10px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-7567 .elementor-element.elementor-element-1201b9f{--container-widget-width:627px;--container-widget-flex-grow:0;width:var( --container-widget-width, 627px );max-width:627px;}.elementor-7567 .elementor-element.elementor-element-013c232{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-7567 .elementor-element.elementor-element-546bb59{--padding-top:15px;--padding-bottom:10px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-7567 .elementor-element.elementor-element-cef7c41 .elementor-heading-title{font-size:23px;}.elementor-7567 .elementor-element.elementor-element-1201b9f > .elementor-widget-container{padding:0px 20px 0px 20px;}.elementor-7567 .elementor-element.elementor-element-013c232{--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}@media(min-width:768px){.elementor-7567 .elementor-element.elementor-element-89a07ce{--content-width:1081px;}.elementor-7567 .elementor-element.elementor-element-013c232{--width:57%;}}@media(max-width:1024px) and (min-width:768px){.elementor-7567 .elementor-element.elementor-element-013c232{--width:500px;}}/* Start custom CSS for html, class: .elementor-element-1201b9f */body {
  font-family: sans-serif;
}

.hidden {
  display: none;
}

/* ─────────────────────────────
   問題文
   ───────────────────────────── */
#questions .question p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ─────────────────────────────
   選択肢（1行レイアウト）
   ───────────────────────────── */
#questions .question .choice {
  display: flex;
  align-items: center;   /* ラジオと文字を中央揃え */
  gap: 0.6rem;           /* ラジオと文字の間隔 */
  margin: 0.35rem 0;
  padding-left: 20px;    /* 左側の余白を追加 */
}

/* ラベル：文字列だけクリック可能に（横幅を広げない） */
#questions .question .choice label {
  display: inline;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  cursor: pointer;
}

/* ラジオボタン（大きさ＆余白） */
#questions .question .choice input[type="radio"] {
  margin: 0;
  transform: scale(1.1);
}

/* ─────────────────────────────
   問題ブロックの区切り線
   ───────────────────────────── */
#questions .question {
  padding: 0.8rem 0;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
}

/* 最後の問題だけ線を消す */
#questions .question:last-child {
  border-bottom: none;
}

/* ─────────────────────────────
   結果表示（採点後）
   ───────────────────────────── */
.result,
.result p,
.result span {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* 得点とメッセージ */
.score {
  font-size: 2rem;
  color: #0066cc;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.result-message {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feedback {
  margin-top: 1.2rem;
  font-weight: bold;
}

/* ─────────────────────────────
   ボタン（採点・再挑戦どちらも）
   ───────────────────────────── */

#quiz-form button,
#result-area button {
  font-size: 1.2rem !important;
  padding: 1.5rem 1.5rem 1rem !important; /* 上:1.2rem / 横:1.5rem / 下:1rem */
  border: none !important;
  border-radius: 6px !important;
  background-color: #0066cc !important;
  color: white !important;
  cursor: pointer !important;
  margin-top: 1rem !important;
  line-height: 1.4; /* ルビとの間隔を確保 */
}

#quiz-form button:hover,
#result-area button:hover {
  background-color: #004c99 !important;
}

/* ─────────────────────────────
   カテゴリ見出し
   ───────────────────────────── */
.category-block {
  margin: 2rem 0 1rem;
  padding-top: 1.2rem;
}

/* バッジ＋説明を横並び */
.category-header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* バッジ風アイコン */
.category-badge {
  display: inline-block;
  background: #19B5FF;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 説明文 */
.category-desc {
  margin: 0;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.8;
  color: #111;
}

/* スマホ用調整 */
@media (max-width: 560px) {
  .category-badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
  }
  .category-desc {
    font-size: 1rem;
    line-height: 1.9;
  }
}/* End custom CSS */