@charset "utf-8";

/* ========================================
   sim-header.css
   画面トップ部分（タイトル・エラー・テキスト）のスタイル
   Home.vue scoped styles から分離
   ======================================== */

/* ----- ページラッパー（背景グラデーション） ----- */
.sim-page-wrapper {
  padding: 60px 0;
  text-align: center;
}
@media screen and (max-width: 901px) {
  .sim-page-wrapper {
    padding: 30px 20px 40px;
    font-size: 14px;
  }
}

/* でんきページ（黄色グラデーション） */
.sim-page-wrapper--denki {
  background-image: linear-gradient(to bottom, #fcea05, #fed900, #fabd00 570px, #fff 570px);
}
.sim-page-wrapper--denki:has(.ouchidenki-gas-sim-error-area--visible) {
  background-image: linear-gradient(to bottom, #fcea05, #fed900, #fabd00 810px, #fff 810px);
}
@media screen and (max-width: 901px) {
  .sim-page-wrapper--denki {
    background-image: linear-gradient(to bottom, #fcea05, #fed900, #fabd00 380px, #fff 380px);
  }
  .sim-page-wrapper--denki:has(.ouchidenki-gas-sim-error-area--visible) {
    background-image: linear-gradient(to bottom, #fcea05, #fed900, #fabd00 648px, #fff 648px);
  }
}

/* でんき＋ガスページ（青色グラデーション） */
.sim-page-wrapper--denki-gas {
  background-image: linear-gradient(180deg, #e6f8fb, #92d4e0 390px, #fff 0);
}
.sim-page-wrapper--denki-gas:has(.ouchidenki-gas-sim-error-area--visible) {
  background-image: linear-gradient(180deg, #e6f8fb, #92d4e0 628px, #fff 628px);
}
@media screen and (max-width: 901px) {
  .sim-page-wrapper--denki-gas {
    background-image: linear-gradient(180deg, #e6f8fb, #92d4e0 210px, #fff 0);
  }
  .sim-page-wrapper--denki-gas:has(.ouchidenki-gas-sim-error-area--visible) {
    background-image: linear-gradient(180deg, #e6f8fb, #92d4e0 464px, #fff 464px);
  }
}

/* ----- タイトル ----- */
.ouchidenki-gas-sim-title {
  font-size: 40px;
  color: #242323;
  line-height: 1.3;
  margin-bottom: 60px;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }
}

.ouchidenki-gas-sim-title-main {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.ouchidenki-gas-sim-title-main span + span {
  padding-left: 10px;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-title-main span + span {
    padding-left: 5px;
  }
}

/* 東京ガス用タイトル（Powered by TEPCO サブテキスト） */
.ouchidenki-gas-sim-title-main-tokyo {
  display: block;
}
.ouchidenki-gas-sim-title-main-tokyo-sub {
  display: block;
  font-size: 12px;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-title-main-tokyo-sub {
    font-size: 10px;
  }
}

/* ----- 税込テキスト ----- */
.ouchidenki-gas-sim-text {
  margin-bottom: 20px;
  font-size: 16px;
  color: #242323;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-text {
    font-size: 11px;
    margin-top: 20px;
    line-height: 1.3;
  }
}

/* ----- 説明テキスト（おうちでんき系のみ） ----- */
.ouchi-denki-sim-text {
  margin-top: 40px;
  font-weight: bold;
  font-size: 18px;
  color: #242323;
}
@media screen and (max-width: 901px) {
  .ouchi-denki-sim-text {
    font-size: 14px;
    margin-top: 20px;
  }
}

/* ----- メンテナンス ----- */
.ouchidenki-gas-sim-maintenance-area {
  max-width: 946px;
  margin: 40px auto 0;
  padding: 40px;
  background: #fff;
  border: 2px red solid;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-maintenance-area {
    margin-top: 20px;
    padding: 20px;
  }
}
.ouchidenki-gas-sim-maintenance-period {
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
}
.ouchidenki-gas-sim-maintenance-text {
  text-align: center;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-maintenance-text {
    text-align: left;
  }
}

/* ----- 障害エラー表示 ----- */
.ouchidenki-gas-sim-error-area {
  max-width: 780px;
  margin: 60px auto 80px;
  padding: 30px 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  text-align: left;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-error-area {
    margin: 40px auto 60px;
    padding: 15px 20px 20px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.ouchidenki-gas-sim-error-icon {
  width: 98px;
  height: 85px;
  position: relative;
  top: 6px;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-error-icon {
    width: 49px;
    height: 42px;
    top: 0;
  }
}

.ouchidenki-gas-sim-error-text-title {
  color: #927B01;
  font-weight: bold;
  font-size: 22px;
  margin: 0;
  line-height: 1.5;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-error-text-title {
    font-size: 15px;
  }
}

.ouchidenki-gas-sim-error-text-detail {
  margin-top: 11px;
  font-size: 16px;
}
@media screen and (max-width: 901px) {
  .ouchidenki-gas-sim-error-text-detail {
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.3;
  }
}

/* ----- レスポンシブ改行ヘルパー ----- */
.br-pc-only {
  display: inline;
}
.br-sp-only {
  display: none;
}
@media screen and (max-width: 901px) {
  .br-pc-only {
    display: none;
  }
  .br-sp-only {
    display: inline;
  }
}
