@charset "UTF-8";
/*
Theme Name: enerbank corporate site 2026
Version: 0.9
description : 旧CMSサーバーへの参照を除去
 */

/* btn */
.btn {
  text-align: center;
  border-radius: 2em;
  transition: 0.3s;
  box-sizing: border-box;
}
.btn.btn--light-blue {
  color: #5bb1e7;
  border: 3px solid #5bb1e7;
}
.btn.btn--light-blue:hover {
  background-color: #5bb1e7;
  color: #fff;
}
.btn.btn--blue {
  color: #fff;
  background-color: #5bb1e7;
}
.btn.btn--blue:hover {
  opacity: 0.8;
}

.btn.btn--big {
  width: 100%;
  max-width: 700px;
}

/* base style */
img {
  max-width: 100%;
  height: auto;
}
.header-nav-list .is-current {
  text-decoration: underline !important;
}

/* base layout */
.base-content-block {
  max-width: 1000px;
  width: calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vmax;
  margin-bottom: 10vmax;
}
.base-content-block img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.base-content-heading {
  border-bottom: 1px solid #000;
  padding-bottom: 1.5em;
  margin-bottom: 2em;
}
.base-content-heading__title {
  text-align: center;
  margin: 0;
}

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

.d-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.col-8 {
  width: calc(100% * 8 / 12);
  padding: 15px;
  box-sizing: border-box;
}
.col-4 {
  width: calc(100% * 4 / 12);
  padding: 15px;
  box-sizing: border-box;
}
.col-12 {
  width: calc(100% * 12 / 12);
  padding: 15px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .col-8,
  .col-4 {
    width: 100%;
  }
}

.d-row.no-garter {
  margin-left: auto;
  margin-right: auto;
}
.d-row.no-garter [class^="col-"] {
  padding: 0;
}

.movie-container,
.single-post-block__body .wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  margin: 1rem 0;
}
.movie-container iframe,
.single-post-block__body
  .wp-block-embed-youtube
  .wp-block-embed__wrapper
  iframe {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}
.movie-container:after,
.single-post-block__body
  .wp-block-embed-youtube
  .wp-block-embed__wrapper:after {
  content: "";
  display: block;
  padding-top: calc(100% * 9 / 16);
}

.single-post-block__body .wp-block-button {
  margin: 1rem 0 !important;
}

/* single-post */
.single-post-block__body h2 {
  line-height: calc(1.2 * (1 + (1 - 2.2) / 25));
  font-weight: 700;
}
@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .single-post-block__body h2 {
    font-size: calc((2.2 - 1) * 1.2vw + 1rem);
  }
}
@media screen and (min-width: 1100px) {
  .single-post-block__body h2 {
    font-size: calc(2.2 * 1rem);
  }
}

.single-post-block__body h3 {
  line-height: calc(1.2 * (1 + (1 - 2.2) / 25));
  font-weight: 700;
}
@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .single-post-block__body h3 {
    font-size: calc((1.8 - 1) * 1.2vw + 1rem);
  }
}
@media screen and (min-width: 1100px) {
  .single-post-block__body h3 {
    font-size: calc(1.8 * 1rem);
  }
}
.single-post-block__body .wp-element-caption {
  text-align: center;
}

/* archive-post */
.archive-post-block-wrapper {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 3rem auto;
}
.archive-post-block-wrapper .blog-image-wrapper {
  width: 300px;
  box-sizing: border-box;
  padding-right: 30px;
}
.archive-post-block-wrapper .blog-image-wrapper .no-image {
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
}
@media (max-width: 575px) {
  .archive-post-block-wrapper {
    flex-direction: column;
  }
  .archive-post-block-wrapper .blog-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
  }
  .archive-post-block-wrapper .blog-image-wrapper .no-image {
    display: none;
  }
}
.archive-post-block-wrapper .archive-post-block {
  flex: 1;
}
.archive-post-block-wrapper .archive-post-block__excerpt p {
  margin: 0;
}

.archive-post-block__heading .entry-title {
  font-weight: 700;
  margin: 0 0 0.5em 0;
}
@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .archive-post-block__heading .entry-title {
    font-size: calc((2.2 - 1) * 1.2vw + 1rem);
  }
}
@media screen and (min-width: 1100px) {
  .archive-post-block__heading .entry-title {
    font-size: calc(2.2 * 1rem);
  }
}

/* front-page */
.project-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 30px * 2) / 3));
  grid-gap: 60px 30px;
  padding: 0;
  margin-top: 60px;
}
@media (max-width: 780px) {
  .project-list {
    grid-template-columns: 100%;
    grid-gap: 30px;
  }
}
.project-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-list__item__thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
.project-list__item__name {
  font-size: calc(1.2 * 1rem);
  margin: 0 0 0.5em;
}
.project-list__item__description {
  font-size: 0.8rem;
  margin: 0 0 1em 0;
}

.project-list__item .btn {
  font-size: 0.9rem;
}
.project-list__item.pick-up .project-list__item__name {
  font-weight: 700;
}
.project-list__item.pick-up .project-list__item__description {
  font-size: 0.9rem;
  margin-bottom: 1.1em;
}

.toppage-news {
  background: #c0e1f6;
  padding-top: 6.6vmax;
  padding-bottom: 6.6vmax;
}
.page-section__heading {
  margin: 0;
  font-size: calc(1.8 * 1rem);
}
.toppage-news-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 60px * 2) / 3));
  grid-gap: 60px;
  padding: 0;
  margin: 60px 0;
}
@media (max-width: 780px) {
  .toppage-news-list {
    grid-template-columns: 100%;
    grid-gap: 30px;
  }
}
.toppage-news-list__item__title {
  font-size: 1.2rem;
  margin: 0 0 0.5em;
}
.toppage-news-list__item__date {
  font-size: 0.9rem;
  margin: 0;
}
.toppage-news-list__item__excerpt p {
  font-size: 0.9rem;
  margin: 0 0 0.5em;
}
.toppage-news-list__item .btn {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.toppage-latest-blog {
  padding-top: 6.6vmax;
  padding-bottom: 6.6vmax;
}
.toppage-latest-blog a {
  transition: opacity 0.3s;
}
.toppage-latest-blog a:hover {
  opacity: 0.8;
}
.toppage-latest-blog-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 60px * 2) / 3));
  grid-gap: 60px;
  padding: 60px 0 0 0;
  margin: 30px 0;
  border-top: 1px solid #000;
}
.toppage-latest-blog-list__item__thumbnail img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.toppage-latest-blog-list__item__thumbnail .no-image {
  position: relative;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toppage-latest-blog-list__item__thumbnail .no-image::after {
  content: "";
  display: block;
  padding-top: calc(100% * 9 / 16);
}
.toppage-latest-blog-list__item__title {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0.5em 0;
}
.toppage-latest-blog .btn {
  font-size: 0.9rem;
}
@media (max-width: 780px) {
  .toppage-latest-blog-list {
    grid-template-columns: 100%;
    grid-gap: 30px;
  }
}

.embed_googlemap iframe {
  width: 100%;
}

/* recruit */
.recruit-points {
  max-width: 1000px;
  width: calc(100% - 60px);
  margin: auto;
  border-top: 1px solid #000;
}

.recruit-points__heading {
  max-width: 1000px;
  width: calc(100% - 60px);
  margin: 0 auto 1.2em auto;
  font-size: calc(3 * 1rem);
}
@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .recruit-points__heading {
    font-size: calc((3 - 1) * 1.2vw + 1rem);
  }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .recruit-points__heading {
    font-size: calc((3 - 1) * calc(0.012 * min(100vh, 900px)) + 1rem);
  }
}

.recruit-points__block {
  display: flex;
  border-bottom: 1px solid #000;
  gap: 1.2rem;
  padding: 1.2rem 0 2rem 0;
  margin: 0;
}
@media (max-width: 767px) {
  .recruit-points__block:not(.block-center) {
    flex-direction: column;
    padding: 2rem 0;
  }
}

.recruit-points__block:last-child {
  border: none;
}

.recruit-points__block.block-center {
  display: flex;
  justify-content: center;
}

.recruit-points__title {
  text-align: center;
  font-size: calc(1.8 * 1rem);
  line-height: calc(1.2 * (1 + (1 - 1.8) / 25));
  margin: 0;
}
.recruit-points__value {
  margin: 0;
}

@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .recruit-points__title {
    font-size: calc((1.8 - 1) * 1.2vw + 1rem);
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .recruit-points__value {
    font-size: calc(1 * 1rem);
    width: 75%;
  }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .recruit-points__title {
    font-size: calc((1.8 - 1) * calc(0.012 * min(100vh, 900px)) + 1rem);
  }
  .recruit-points__value {
    font-size: calc((1 - 1) * calc(0.012 * min(100vh, 900px)) + 1rem);
  }
}

.single-recruit .section-background img {
  width: 100%;
  height: 100%;
  object-position: 41.7168% 77.6948%;
  object-fit: cover;
}

/* archive-news */
.archive-news {
  max-width: 1000px;
  width: calc(100% - 60px);
  margin: auto;
}

.archive-news__list {
  margin-bottom: 5rem;
}

.archive-news__year {
  font-size: calc((2.2 - 1) * calc(0.012 * min(100vh, 900px)) + 1rem);
  text-align: center;
  padding-bottom: 1.5rem;
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .archive-news__year {
    font-size: calc((2.2 - 1) * calc(0.012 * min(100vh, 900px)) + 1rem);
  }
}
@media screen and (min-width: 768px),
  screen and (max-width: calc(1099px)) and (orientation: landscape) {
  .archive-news__year {
    font-size: calc((2.2 - 1) * 1.2vw + 1rem);
  }
}
@media screen and (min-width: 1100px) {
  .archive-news__year {
    font-size: calc(2.2 * 1rem);
  }
}
.archive-news__item {
  max-width: 75%;
  margin-top: 4%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.archive-news__title {
  font-size: calc(var(--body-font-size-value) * 1rem);
  line-height: 1.6;
}

/* mobile style */
@media (max-width: 767px) {
  .header-menu-nav-folder {
    text-align: left;
  }
}

.no_scroll {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
}

.header-nav-folder-title[tabindex="-1"] {
  pointer-events: none;
}