/* ========================================
   report119.css - 119番通報についてページ専用スタイル
   山梨国中地域消防指令センター
   .page-report119-wrap 配下にスコープ
======================================== */

/* ========================================
   セクション共通
======================================== */
.page-report119-wrap .report-section {
  padding: 10px 0;
}


/* ========================================
   119番通報のかけ方 - 外枠（グラデーション背景）
======================================== */
.report-howto {
  background: var(--gradient-back);
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 60px;
  @media (max-width: 600px) {
    border-radius: 12px 0 0 12px;
  }
}

/* 電話の場合 小見出し */
.report-howto__sub-heading {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #a0c0e0;
}

.report-howto__desc {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-white);
  margin-bottom: 32px;
}

/* 電話アイコン装飾 */
.report-howto__header {
  position: relative;
}

.report-howto__header-section {
  display: flex;
  gap: 5%;
  align-items: center;
}

.report-howto__tel-icon {
  font-size: 80px;
  opacity: 0.5;
  color: var(--color-primary);
  line-height: 1;
  pointer-events: none;
  @media (max-width: 600px) {
    display: none;
  }
}
.report-howto__tel-icon.sp-block {
  display: none;
}

@media screen and (max-width: 600px) {
  .report-howto__tel-icon.sp-block {
    display: block;
    margin-bottom: 10px;
    text-align: right;
  }
}

.report-howto__tel-icon i {
  display: inline-block;
  transform: rotate(240deg);
}

/* 電話のマーク*/
.report-howto__tel-icon .js-icon svg {
  width: 100px;
  height: 100px;
}

@media screen and (max-width: 600px) {
  .report-howto__tel-icon .js-icon svg {
    margin: 0 10px 0 0;
  }
}

/* 火災・救急 2カラム */
.report-howto__cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* .report-case {
  background: var(--color-white);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
} */

/* .report-case--fire {
  background: #fff5f5;
}
.report-case--ambulance {
  background: #f0f8ff;
} */

.report-case__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-case--fire .report-case__title {
  color: #d43030;
}

.report-case--ambulance .report-case__title {
  color: #1a6aad;
}

.report-case__icon {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 36px;
  opacity: 0.15;
}

/* チャット形式会話 */
.chat-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-turn {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-turn:nth-child(odd) .chat-label {
  color: var(--color-chatlabel-odd);
}

.chat-turn:nth-child(even) .chat-label {
  color: var(--color-chatlabel-even);
}

.chat-label {
  font-size: 10px;
  padding: 0 4px;
}

.chat-label--center {
  text-align: center;
}

.chat-label--right {
  text-align: right;
}

.chat-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chat-bubble-row--right {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chat-bubble {
  max-width: 75%;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

/* 指令センター（左）→ 水色 */
.chat-bubble--center {
  background: var(--color-primary);
  color: var(--color-white);
  border-bottom-left-radius: 4px;
}

/* 通報者（右）→ 赤/青 */
.report-case--fire .chat-bubble--caller {
  background: #e03030;
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.report-case--ambulance .chat-bubble--caller {
  background: #e03030;
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

/* ========================================
   映像通報機能
======================================== */
.report-video {
  margin-bottom: 60px;
}

.report-video__sub-heading {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid #a0c0e0;
}

.report-video__desc {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-white);
  margin-bottom: 32px;
}

.report-video__diagram {}

.diagram-node {
  background: var(--color-white);
  border: 1px solid #d0dce8;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.diagram-node__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.diagram-node__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  margin-bottom: 12px;
  background: #f0f4f8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.diagram-node__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagram-node__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.diagram-node__bullets li {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}

.diagram-node__bullets li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 4px;
  color: var(--color-primary);
}

/* 矢印 */
.diagram-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 11px;
  color: var(--color-text-light);
  text-align: center;
  min-width: 80px;
}

.diagram-arrow__label {
  font-size: 11px;
  color: var(--color-text);
  line-height: 1.4;
  text-align: center;
}

.diagram-arrow--right::after {
  content: '→';
  font-size: 24px;
  color: var(--color-text);
}

.diagram-arrow--both::after {
  content: '↔';
  font-size: 24px;
  color: var(--color-text);
}

/* ========================================
   電話以外の通報方法 - 3カラムカード
======================================== */
.report-other-methods {
  margin-bottom: 60px;
}

.report-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1%;
  border-radius: 8px;
}

.report-method-card {
  padding: 32px 28px;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.report-method-card:last-child {
  border-right: none;
}

.report-method-card__bg-icon {
  position: absolute;
  bottom: 10px;
  right: 20px;
  opacity: 0.5;
  color: var(--color-primary);
}

.report-method-card__title {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.report-method-card__text {
  font-size: 20px;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 16px;
  position: inherit;
  z-index: 1;
}

.report-method-card__dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-button);
  color: var(--color-white);
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: opacity 0.2s;
}

.report-method-card__dl-btn:hover {
  opacity: 0.85;
}

/* ========================================
   多言語通訳
======================================== */
.report-multilang {
  padding: 20px;
  margin-bottom: 60px;
}

.report-multilang__text {
  font-size: 20px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 12px;
}

.report-multilang__lang-count {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.report-multilang__lang-list {
  font-size: 20px;
  line-height: 2;
  color: var(--color-text);
}

/* 1. チェックボックス自体は画面から消す */
.accordion-hidden {
  display: none;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 900px) {
  .report-howto__cases {
    grid-template-columns: 1fr;
  }

  .report-video__diagram {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diagram-arrow--right::after,
  .diagram-arrow--both::after {
    content: '↓';
  }

  .report-method-grid {
    grid-template-columns: 1fr;
  }

  .report-method-card {
    border-right: none;
    border-bottom: 1px solid #d0dce8;
  }

  .report-method-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .report-howto {
      padding: 20px 0px 10px 20px;
  }


  .report-video {
    padding: 28px 20px;
  }



  /* 2. 初期状態の矢印（下向き） */
  .arrow-icon::before {
    content: '▼';
    /* またはSVGを背景画像に設定 */
    display: none;
    transition: transform 0.3s;
  }

  /* 3. 画像エリアを初期状態で隠す */
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  /* --- ここからが「仕組み」の核心 --- */

  /* 4. チェックが入ったら矢印を「上向き」にする（回転させる） */
  .accordion-hidden:checked+.accordion-label .arrow-icon::before {
    transform: rotate(180deg);
  }

  /* 5. チェックが入ったら画像を表示する */
  .accordion-hidden:checked~.accordion-content {
    max-height: 100%;
    /* 画像の高さに合わせて調整 */
    margin-top: 10px;
  }
}

/* ========================================
   [btn] 
   火災救急の連絡バナーパーツ
======================================== */
.emargency-banner-section__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: var(--inner-padding);
  margin-bottom: 150px;
}

.emargency-banner-sc {
  display: none;
  background: #e8f7fc;
  border-radius: 8px;
  /* padding: 40px; */
  /* margin: 60px 0 0; */
  color: #3767E0;
}

.disaster-color {
  background: rgba(252, 232, 232, 1);
    color: rgba(232, 56, 40, 1);
}

.emargency-banner- {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.emargency-banner-sc__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

/* 
.emargency-banner-sc__tel-block {
  display: flex;
  align-items: center;
  gap: 20px;
} */

.emargency-banner-sc__mail-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emargency-banner-sc__mail-box {
  display: flex;
  gap: 20px;
  height: 100%;
  align-items: center;
}

.emargency-banner-sc__tel-label,
.emargency-banner-sc__mail-label {
  font-size: 24px;
  font-weight: 600;
}

.emargency-banner-sc__tel-label {
  
}

.emargency-banner-sc__divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  align-self: center;
}


.emargency-banner-sc__form-note {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .emargency-banner-sc__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .emargency-banner-sc__divider {
    display: none;
  }
}

@media (max-width: 600px) {

  .section__wrap {
    padding: 10px 0px;
  }
  .emargency-banner-sc {
    padding: 5px 10px;
    display: inline-block;
  }
  /* 電話の場合 小見出し */
  .report-howto__sub-heading {
    font-size: 20px;
  }
  .report-video__sub-heading{
    font-size: 20px;
  }

  .section-heading {
      font-size: 17px;
  }
  .report-howto__sub-heading {
      font-size: 18px;
  }
  .report-video__sub-heading {
      font-size: 18px;
  }
  .report-video__desc {
      font-size: 16px;
  }
  .report-method-card__text {
      font-size: 16px;
  }
  .report-multilang__text {
      font-size: 16px;
  }
  .report-method-card__title {
      font-size: 16px;
  }
  .report-multilang__lang-count {
      font-size: 16px;
  }
  .report-multilang__lang-list {
      font-size: 16px;
  }
  .page-report119-wrap .section__inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: var(--inner-padding);
  }

  .section-heading {
      margin-bottom: 20px;
  }
  .report-howto {
      position: relative;
      width: 110%;
      padding: 20px 20px 10px 10px;
  }
.report-howto__desc {
    font-size: 18px;
}
}