/* SP */
@media screen and (max-width: 767px) {}

/* PC */
@media screen and (min-width: 768px) {}

/* =====================================================================
 index
===================================================================== */
@media screen and (max-width: 767px) {
  .c-section:last-child .c-section__detail {
    margin-bottom: 110px;
  }
}
.c-section__detail > *:not(:last-child) {
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .c-section__detail > *:not(:last-child) {
    margin-bottom: 20px;
  }
}

.c-news {
  border-bottom: 1px solid #dcdcdc;
  margin: 0 30px;
}
@media screen and (max-width: 767px) {
  .c-news {
    margin: 0px;
  }
}
@media screen and (max-width: 767px) {
  .c-heading3 {
    margin-bottom: 30px !important;
  }
}
@media screen and (max-width: 767px) {
  .c-heading2:has(+.c-news) {
    margin-bottom: 20px !important;
  }
}


.title-visual {
      position: relative;
      display: block;
      text-decoration: none !important;
      border: none;
      overflow: hidden;
      margin-bottom: 60px;
    }
@media screen and (max-width: 767px) {
  .title-visual {
    margin-bottom: 0px;/* 下にパーツが来るため */
  }
}

.title-visual__image {
    margin-bottom: 28px;
    text-align: center;
}
@media screen and (max-width: 767px) {
  .title-visual__image {
    height: 288px;
    margin-bottom: 25px;
  }
  .title-visual__image img{
    object-fit: cover;
    height: 100%;
  }
}

.title-visual-detail {
    max-width: 950px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px;
}
@media screen and (max-width: 767px) {
    .title-visual-detail {
      padding-right: 15px;
      padding-left: 15px;
  } 
}

.title-visual-detail__lead-text {
    text-align: center;
}

/* リンクテキスト右側 */
.c-list-cn li {
  text-align: right;
}

.p-cn__list {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 37px;
  margin-bottom: 40px !important;
}
@media screen and (max-width: 767px) {
  .p-cn__list {
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px !important;
  }
}

.p-cn__graph {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px calc( 32/950 * 100%);
  margin-bottom: 40px !important;
}

.p-cn__item {
  width: calc(228/950 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn__item {
    width: 100%;
  }
}

.p-cn__graph-item__full {
  width: 100%;
}
.p-cn__graph-item__full img{
  width: 100%;
}

.p-cn__graph-item__half {
  width: calc(425/950 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn__graph-item__half {
    width: 100%;
  }
}


.p-cn__item-number {
  text-align: center;
  background-color: #004098;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .p-cn__item-number {
    padding: 18px 9px;
    line-height: 1.3;
    font-weight: 700;
  }
}

.p-cn__item-icon {
  margin-bottom: 10px;
}
.p-cn__item-icon img {
  margin: 0 auto;
  display: block;
}
@media screen and (max-width: 767px) {
  .p-cn__item-icon img {
    width: calc(150 / 335 * 100%);
  }
}

.p-cn__item-lead {
  text-align: center;
  font-weight: 500;
  font-size: calc(16 / 15 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn__item-lead {
    font-size: 16px;
    font-weight: 700;
  }
}

.c-accordion__head--note {
  border: 1px solid #DCDCDC;
}
@media screen and (max-width: 767px) {
  .c-accordion__body-inner {
    padding: 15px;
  }
  .c-accordion__body {
    border-left: 1px solid #DCDCDC;
    border-right: 1px solid #DCDCDC;
    border-bottom: 1px solid #DCDCDC;
  }
  .c-card-list .c-card-list__title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .c-card-list  .c-card-list__img {
    margin-bottom: 20px;
  }
}


.c-accordion__body-inner .c-list:not(:last-of-type){
  margin-bottom: 30px;
}

/* カーボンニュートラルロードマップ */
.c-section:has(.c-section__road-map) {
  background-color: #E3F2F9;
}

.c-section__road-map {
  max-width: 1170px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
  margin-top: 100px;
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
  .c-section__road-map {
    padding-right: 0px;
    padding-left: 0px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

.c-section__road-map .c-heading2 {
  text-align: center;
  font-size: 50px;
  color: #004098;
  border-bottom: transparent;
  margin-bottom: 40px !important;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .c-section__road-map .c-heading2 {
    font-size: 32px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 0;
    margin-bottom: 30px !important;
  }
}

.p-cn-map__card-item {
  background-color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  padding: 60px 110px;
}
.p-cn-map__card-item:not(:last-child) {
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .p-cn-map__card-item {
    padding: 40px 20px;
  }
  .p-cn-map__card-item:not(:last-child) {
    margin-bottom: 40px;
  }
}

.p-cn-map__heading3 {
  text-align: center;
  font-size: 32px;
  color: #004098;
  border-bottom: transparent;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .p-cn-map__heading3 {
    font-size: 24px;
  }
}

.p-cn-map__image-text_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px calc(30 / 950 * 100%);
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  .p-cn-map__image-text_list {
    margin-top: 30px;
    flex-direction: column;   
  }
}

.p-cn-map__image-text_item {
  width: calc(296 / 950 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn-map__image-text_item {
    width: 100%;
  }
}

.p-cn-map__image-text_link:hover {
  text-decoration: none;
}

.p-cn-map__image-text_image {
  margin-bottom: 20px;
}

.p-cn-map__image-text_title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #004098;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-cn-map__image-text_title {
    font-size: 16px;
  }
}

.p-cn-map__image-text_desc {
  color: #3C3C3C;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* connection */
@media screen and (max-width: 767px) {
  .c-cn-section-connection .c-section__detail {
    margin-top: 60px;
  }
}
/* topics */
.p-cn-top__topics {
  margin: 40px 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px calc(30 / 890 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn-top__topics {
    margin: 30px 0px 20px;
  }
}

.p-cn-top__topics_item {
  width: calc(276/ 890 * 100%);
}
@media screen and (max-width: 767px) {
  .p-cn-top__topics_item {
    width: 100%;
  }
}

.p-cn-top__topics_item a {
  text-decoration: none;
}

.p-cn-top__topics__body {
  margin-top: 18px;
  color: #3C3C3C;
}
@media screen and (max-width: 767px) {
  .p-cn-top__topics__body {
    margin-top: 15px;
  }
}

.p-cn-top__topics__date {
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.p-cn-top__topics__title {
  font-size: 14px;
}

/* =====================================================================
 cn_modal
===================================================================== */
.p-detail-cn__modal { 
  display: none;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3); 
  overflow-y: scroll;
}

.p-detail-cn__modal-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0;
}
@media screen and (max-width: 767px) {
  .p-detail-cn__modal-inner {
    padding: 80px 0;
  }

  .p-detail-cn__modal-inner:has(.p-detail-cn__modal-main__movie) {
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 40px 0;
  }
}

.p-detail-cn__modal-main {
  position: relative;
  z-index: 1001;
  background-color: #fff;
  max-width: 1100px;
  width: 100%;
  padding: 80px;
  box-shadow: 0px 0px 18px 0px rgba(14, 63, 129, 0.2);
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .p-detail-cn__modal-main {
    max-width: 92%;
    padding: 15px;
  }
}

.p-detail-cn__modal-main:has(.p-detail-cn__modal-main__movie) {
  padding: 0;
}

.p-detail-cn__modal-main__movie iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 1100px;
  display: block;
  margin: auto;
}

.p-detail-cn__modal-qr {
  padding: 40px;
  text-align: center;
}

.p-detail-cn__modal-qr img {
  max-width: 250px;
}

@media screen and (max-width: 767px) {
  .p-detail-cn__modal-qr img {
    width: 70%;
  }
}

.p-detail-cn__modal-close {
  position: absolute;
  top: -40px;
  right: 15px;
}

.p-detail-cn__modal-close a {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
}

.p-detail-cn__modal-close a::before,
.p-detail-cn__modal-close a::after {
  position: absolute;
  content: "";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
}

.p-detail-cn__modal-close a::before {
  border-top: 2px solid #fff;
  width: 30px;
  height: 0;
  top: 0%;
  bottom: 0;
  left: 0;
  transform: rotate(45deg);
}

.p-detail-cn__modal-close a::after {
  border-left: 2px solid #fff;
  width: 0;
  height: 30px;
  top: 0%;
  bottom: 0;
  left: 13px;
  transform: rotate(45deg);
}

.p-detail-cn__modal-close a:hover {
  opacity: 0.7;
}




/* ---------------------------------------------------------------------
 SmartPhone
--------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    /* -------- common -------- */
    .pc {
      display: none !important;
    }
    .sp {
      display: block !important;
    }
    .inner950 {
      padding: 0 calc((40/750)*100vw);
      /* padding: 0 20px; */
    }
    .btn {
      font-size: 15.5px;
    }
    /* -------- index -------- */
}