@charset "UTF-8";

/* =========================================
   1. 基本設定 (Variables)
   ========================================= */
:root {
  /* --- Color Palette --- */
  --bgl-color-primary: #008CFF;

  /* 【追加】全社ガイドライン: Dark Primary / Link / Button */
  --bgl-color-dark-primary: #0077D9;

  --bgl-color-text-main: #1A3347;
  --bgl-color-link: #0062B2;
  --bgl-color-white: #FFFFFF;

  /* 背景色 */
  --bgl-bg-base: #FFFFFF;
  --bgl-bg-gray: #F0F1F3;
  --bgl-bg-light-blue: #EDF7FF;
  --bgl-bg-dark-blue: #0077D9;

  /* ボタン・アクセントカラー */
  --bgl-btn-blue-bg: #0077D9;
  --bgl-btn-blue-hover: #0062B2;
  --bgl-btn-orange-bg: #CC4E00;
  --bgl-btn-orange-hover: #A74000;

  /* アイコン・ステータスカラー */
  --bgl-icon-red: #ED0000;
  --bgl-icon-green: #14AE5C;
  --bgl-icon-yellow: #E8A200;

  /* ボーダー・影 */
  --bgl-border-color: #D9DDE0;
  --bgl-shadow-card: 0 0 10px rgba(0, 0, 0, 0.1);

  /* --- Typography --- */
  --bgl-font-family: "M Plus 1", sans-serif;
  --bgl-font-family-en: "Neo Sans W1G", sans-serif;

  /* --- Spacing (PC Default) --- */
  --bgl-section-margin: 70px;
  --bgl-component-margin: 50px;
  --bgl-component-margin-s: 30px;
  --bgl-inner-padding: 25px;
  --bgl-inner-padding-s: 20px;
}

/* --- Spacing (SP Override) --- */
@media screen and (max-width: 767px) {
  :root {
    --bgl-section-margin: 50px;
    --bgl-component-margin: 50px;
    --bgl-inner-padding: 20px;
  }
}

/* =========================================
   2. ベーススタイル & ユーティリティ
   ========================================= */
body {
  font-family: var(--bgl-font-family);
  color: var(--bgl-color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
.bgl-text-h1 { font-size: 32px; line-height: 1.3; font-weight: 400; }
.bgl-text-h2 { font-size: 22px; line-height: 1.3; font-weight: 400; }
.bgl-text-h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.bgl-text-h4 { font-size: 18px; line-height: 1.5; font-weight: 500; }

.bgl-text-body-l { font-size: 18px; line-height: 1.5; font-weight: 400; }
.bgl-text-body-m { font-size: 16px; line-height: 1.5; font-weight: 400; }
.bgl-text-body-s { font-size: 14px; line-height: 1.5; font-weight: 400; }
.bgl-text-caption { font-size: 12px; line-height: 1.5; font-weight: 400; }

/* 価格用 特大テキスト */
.bgl-text-price {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
}
.bgl-text-price span {
  font-size: 20px;
  font-weight: 500;
  margin-left: 4px;
}
@media screen and (max-width: 767px) {
  .bgl-text-price { font-size: 40px; }
  .bgl-text-price span { font-size: 16px; }
}

/* 配置・色 */
.bgl-text-center { text-align: center; }
.bgl-text-left { text-align: left; }
.bgl-text-right { text-align: right; }
.bgl-color-white { color: var(--bgl-color-white); }

/* --- Spacing --- */
.bgl-mt-section { margin-top: var(--bgl-section-margin); }
.bgl-mb-section { margin-bottom: var(--bgl-section-margin); }
.bgl-mt-l { margin-top: var(--bgl-component-margin); }
.bgl-mt-s { margin-top: var(--bgl-component-margin-s); }
.bgl-mb-l { margin-bottom: var(--bgl-component-margin); }
.bgl-mb-s { margin-bottom: var(--bgl-component-margin-s); }
.bgl-mb-5 { margin-bottom: 5px; }
.bgl-p-inner { padding: var(--bgl-inner-padding); }

/* --- Layout --- */
.bgl-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
@media screen and (min-width: 1025px) {
  .bgl-container { padding-right: 0; padding-left: 0; }
  .bgl-container--wide { max-width: 1200px; }
}

/* グリッドレイアウト */
.bgl-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bgl-component-margin);
}

@media screen and (min-width: 1025px) {
  .bgl-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media screen and (max-width: 767px) {
  .bgl-grid-2 {
    gap: 70px;
  }
}

/* --- 3カラムグリッドレイアウト --- */
.bgl-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bgl-component-margin);
}

@media screen and (min-width: 1025px) {
  .bgl-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

/* SP用調整 */
@media screen and (max-width: 767px) {
  .bgl-grid-3 {
    gap: 50px;
  }
}

/* --- 汎用リンク（アローアイコン付き） --- */
.bgl-link-arrow {
  color: var(--bgl-color-link);
  text-decoration: underline;
  position: relative;
  padding-left: 15px;
  display: inline-block;
  font-size: 16px;
  white-space: nowrap;
}

.bgl-link-arrow:hover {
  text-decoration: none;
}

.bgl-link-arrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--bgl-color-link);
  border-right: 2px solid var(--bgl-color-link);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -4px;
}

/* =========================================
   Component: お知らせボックス (Notice Box)
   ========================================= */

.bgl-notice-box {
  background-color: var(--bgl-bg-light-blue);
  padding: 30px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .bgl-notice-box {
    padding: 20px;
  }
}

.bgl-notice-box__title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--bgl-color-link);
  margin-bottom: 15px;
  line-height: 1.4;
}

.bgl-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--bgl-color-link);
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  line-height: 1;
}

.bgl-notice-box__body {
  font-size: 16px;
  line-height: 1.6;
}

.bgl-notice-box__body .bgl-mt-s {
  margin-top: 15px;
}

/* =========================================
   Component: アンケート結果 (Survey Box)
   ========================================= */

.bgl-survey-box {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- 質問エリア (Q) --- */
.bgl-survey-question {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bgl-color-primary);
}

.bgl-survey-icon {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

.bgl-survey-icon--q {
  color: var(--bgl-color-primary);
}

.bgl-survey-title {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  margin: 0;
  color: var(--bgl-color-text-main);
}

/* 黄色マーカー */
.bgl-marker-yellow {
  background: linear-gradient(transparent 60%, #ff6 60%);
  font-weight: normal;
  padding: 0 2px;
}

/* --- グラフ画像 --- */
.bgl-survey-graph {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.bgl-survey-graph img {
  max-width: 100%;
  height: auto;
  width: 320px;
}

/* --- コメント --- */
.bgl-survey-comment {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  font-weight: normal;
  text-align: center;
}

/* マーカー部分の文字サイズ拡大 */
.bgl-survey-comment .bgl-marker-yellow {
  font-size: 24px;
  line-height: 1.6;
}

/* --- 凡例エリア --- */
.bgl-survey-legend-box {
  background-color: #F2F2F2;
  border-radius: 4px;
  max-width: 450px;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px 15px 30px;
}

.bgl-survey-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 20px;
}

.bgl-survey-legend__item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--bgl-color-text-main);
  white-space: nowrap;
}

.bgl-force-break {
  width: 100%;
  height: 0;
  margin: 0;
}

.bgl-legend-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  flex-shrink: 0;
}

@media screen and (min-width: 1025px) {
  .bgl-survey-legend__item {
    font-size: 14px;
  }
}