/*
Theme Name: solarmate-mirai_news
Description: 投稿一覧と詳細表示に対応したシンプルテーマ
Version: 1.0
Author: あなたの名前
*/

/* ------------------------------------------------ */

/* 初期状態：PCでは非表示 */
.br-sp {
  display: none;
}

/* スマホ（480px以下）では表示 */
@media screen and (max-width: 480px) {
  .br-sp {
    display: inline;
  }
}



/* -------------------------------------------------- */

.bottom-btn-lst {
  width: 100%;
  min-height: 400px;
  background: url(../images/pran-bg-aozora.webp) center bottom no-repeat;
  display: flex;
  flex-flow: column;
  justify-content: center;
  background-attachment: fixed;
  margin-top: 100px;
  width: 100vw;
  /* ビューポート幅を指定 */
  margin-left: calc(50% - 50vw);
  /* 中央基準の位置調整で親の幅を無視 */
}


@media screen and (max-width: 480px) {
  .bottom-btn-lst {
    font-size: 16px;
    padding: 40px 20px 100px;
    margin-top: 80px;
    min-height: 286px;

  }
}


.top_line {
  max-width: 1098px;
  width: 100%;
  border: 1px solid #F5F5F5;
  margin: 40px 0;
}

.bottom-btn-lst .cv-buttonArea {
  background: none;
  margin: 40px auto 0;
  height: auto;
}

@media screen and (max-width: 480px) {
  .bottom-btn-lst .cv-buttonArea {
    margin-top: 15px;
  }
}

.bottom-btn-lst .cv-buttonArea .cv-button {
  margin: 0 auto;
}

@media screen and (max-width: 480px) {
  .bottom-btn-lst .cv-buttonArea .cv-button {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 335px;
    padding: 0 20px 0 15px;
  }

  .bottom-btn-lst .cv-buttonArea .cv-button img.icon_30sec {
    width: 43px;
    height: auto;
  }

  .bottom-btn-lst .cv-buttonArea .cv-button img.icon_play {
    width: 11px;
    height: auto;
  }
}

.bottom-btn-lst dl {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.bottom-btn-lst dl dt {
  color: #002244;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.bottom-btn-lst dl dd {
  width: 480px;
  height: 80px;
  border-radius: 60px;
  margin-top: 10px;
}

@media screen and (max-width: 480px) {
  .bottom-btn-lst dl dd {
    width: 335px;
  }
}

.bottom-btn-lst dl dd a {
  width: 100%;
  height: 100%;
  font-size: 24px;
  font-weight: bold;
  display: block;
  color: #ffffff;
  border-radius: 60px;
  background: #002244;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

@media screen and (max-width: 480px) {
  .bottom-btn-lst dl dd a {
    font-size: 18px;
  }
}

.bottom-btn-lst dl dd a:hover {
  background: #002299;
}

section.value .labels.value {
  background: #FF5500;
}

section.value .PlanTitle:first-of-type {
  color: #FF5500;
  border: solid #FF5500;
  border-width: 1px 0 1px 0;
}

section.value .gradientBox::before,
section.value .noneBox::before {
  background-color: #FF5500;
}

section.value .FlowChartSubhead {
  color: #FF5500;
}

#page-qa {
  background-color: #f8f8f8;
}

#page-qa #top-head {
  position: absolute;
}

#page-qa .qa-bg {
  width: 100%;
  height: auto;
  background-image: url(../images/SMmirai2023sky.webp);
  background-repeat: no-repeat;
  background-size: cover;
}


@media screen and (max-width: 480px) {
  .companyFVcopy h2 {
    display: flex;
    flex-flow: column;
    padding: 0;
    margin: 0 auto;
  }
}


.cv-buttonArea {
  width: 100%;
  height: 180px;
  background-color: #fff;
  display: grid;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 480px) {
  .cv-buttonArea {
    display: block;
  }
}

.cv-button {
  width: 480px;
  height: 80px;
  margin: 24px auto;
  border-radius: 12px;
  background-color: #FF5500;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.074em;
  font-weight: bold;
  text-align: center;
  display: grid;
  grid-template-columns: 62px 1fr 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 40px 0 24px;
  transition: 0.3s ease;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

@media screen and (max-width: 480px) {
  .cv-button {
    display: block;
  }
}

.cv-button:hover {
  background-color: #FF9600;
}

.cv-button .icon_play {
  transition: transform 0.3s ease;
}

.cv-button:hover .icon_play {
  transform: translateX(10px);
}

.cv-button img {
  width: 100%;
  height: auto;
}

/* utility */
.center {
  text-align: center;
}

.flexbx {
  display: flex;
}

.mgAuto {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}

.b_orange {
  background-color: #ff5500;
}

.orangeTxt {
  color: #ff5500;
  font-weight: 500;
}

.orangeTxtB {
  color: #ff5500;
  font-weight: bold;
}

.b_blue {
  background-color: #002299;
}

.b_yellow {
  background-color: #FF9700;
}





















/* ------------mv部分-------------------- */


.news_mv {
  background-image: url(../images/SMmirai2023sky.webp);
  background-repeat: no-repeat;
  background-size: 100%;
  background-size: cover;
  width: 100%;
  height: auto;
}



.companyFV {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

@media screen and (max-width: 480px) {
  .companyFV {
    height: auto;
    padding-top: 65px;
  }
}

.companyFVwrap {
  width: 100%;
  max-width: 1098px;
  margin: 0 auto;
  padding: 0 20px;
}

.companyFVwrap h2 {
  font-size: 36px;
  letter-spacing: 0.2em;
  color: #002299;
  font-weight: bold;
  height: 170px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  align-items: center;
  gap: 12px;
  padding-left: 0;
}

@media screen and (max-width: 480px) {
  .companyFVwrap h2 {
    font-size: 24px;
    height: auto;
  }
}

.companyDescript {
  width: 100%;
  max-width: 1098px;
  letter-spacing: 0.08em;
  line-height: 38px;
  color: #002299;
  font-weight: bold;
  font-size: 18px;
  margin: 36px auto 32px auto;
}


.companyFVimg {
  width: 100%;
  height: auto;
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 480px) {
  .companyFVimg {
    height: 135px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
  }
}


.dlFVtitle {
  position: relative;
  padding-left: 36px;
}

.dlFVtitle::before {
  left: 20px;
}




/* -------------------------------------- */


.news_box {
  max-width: 1098px;
  margin: 0 auto;
  padding: 70px 0px 0px;
  font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (max-width: 480px) {
  .news_box {
    padding: 40px 0px 0px;
  }
}

.news-header {
  margin-bottom: 80px;
  padding: 0 20px;
}

@media screen and (max-width: 480px) {
  .news-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }
}

.news-filter {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

@media screen and (max-width: 480px) {
  .news-filter {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 0;
    justify-content: flex-start;
  }
  .news-filter li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .news-filter li a {
    width: 200px;
    text-align: center;
  }
  .news-filter li:first-child {
    width: 100%;
    justify-content: flex-start;
  }
  .news-filter li:nth-child(2) {
    width: 50%;
    justify-content: flex-start;
  }
  .news-filter li:nth-child(3) {
    width: 50%;
    justify-content: flex-end;
  }
}



.news-filter li a {
  display: inline-block;
  padding: 10px 35px;
  border-radius: 24px;
  background: #eee;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .news-filter li a {
    width: 200px;
    padding: 10px 0px;
    text-align: center;
  }
}
@media screen and (max-width: 430px) {
  .news-filter li a {
    width: 160px;
  }
}



/* ALL タブ */
.filter-tab.all {
  background-color: #667088;
  color: #fff;
}

/* お知らせ（news）タブ */
.filter-tab.notice {
  background-color: #002299;
  color: #fff;
}

/* 重要なお知らせタブ*/
.filter-tab.important {
  background-color: #FF5500;
  color: #fff;
}


/* ----------------タブのホバー状態----------------- */
.filter-tab.notice:hover {
  background-color: #00229933;
  color: #002299;
}

.filter-tab.all:hover {
  background-color: #66708833;
  color: #667088;
}

.filter-tab.important:hover {
  background-color: #FF550033;
  color: #FF5500;
}


/* ALL タブがアクティブなとき */
.filter-tab.all.active {
  background-color: #66708833;
  color: #667088;
}

/* お知らせ（notice）タブがアクティブなとき */
.filter-tab.notice.active {
  background-color: #00229933;
  color: #002299;
}

/* 重要なお知らせ（important）タブがアクティブなとき */
.filter-tab.important.active {
  background-color: #FF550033;
  color: #FF5500;
}





div.news-label.news {
  background-color: #002299;
  /* 青 */
}

/* ニュースラベル */
.news-label.notice {
  background-color: #002299;
  /* 青 */
}

.news-label.important {
  background-color: #FF5500;
  /* オレンジ */
}



/* お知らせリスト */
.news-list {
  max-width: 820px;
  width: 100%;
  list-style: none;
  padding: 0 20px;
  margin: 0 auto;
  min-height: 360px;
  /* 5件分の高さに相当する数値に調整 */
}

/* achive.php一覧に戻る */
.back-news-list {
  text-align: center;
  font-weight: bold;
  color: #002299;
  margin-top: 100px;
}

.back-news-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24%;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .back-news-list a {
    width: 100%;
  }
}

.back-news-list a:hover {
  transition: all 0.3s;
  opacity: 0.6;

}



.back-news-list a span {
  display: inline-block; /* アニメーションさせるにはこれが必要 */
  transition: transform 0.3s ease;
  font-size: 10px;
  position: relative;
  margin-left: 16px;
      top: 1px;
}

.back-news-list a:hover span {
  transform: translateX(4px); /* 右に4px動かす */
}




.news-item {
  /* display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  gap: 20px; */
}

.news-item a {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  gap: 20px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.6;
}
.news-item a:hover {
  transition: all 0.3s;
  opacity: 0.7;
}


@media screen and (max-width: 480px) {
  .news-item a {
    flex-wrap: wrap;
    gap: initial;
    row-gap: 20px;
  }
}

.news-date {
  width: 110px;
  color: #444;
  font-weight: 500;
  flex-shrink: 0;
}

.news-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}


.news-title a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.6;
}

.news-title a:hover {
  text-decoration: underline;
}

/* ページネーション */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px 10px;
  margin: 0 4px;
  border-radius: 4px;
  text-decoration: none;
  color: #BBBBBB;
}

.pagination .page-numbers span {
  font-size: 10px;
}

@media screen and (max-width: 480px) {
  .pagination .page-numbers {
    font-size: 14px;
  }
}


.pagination .current {
  color: #333333;
  font-weight: bold;
}

.pagination .next,
.pagination .prev {
  font-size: 10px;
  /* 小さくする */
  vertical-align: middle;
  /* 高さ揃える調整 */
}