@charset "UTF-8";

/* ========================================
  基本CSS（bootstrap利用）
======================================== */
body {
  margin: 0 auto;
  font-family: 'Noto Sans JP', 'M PLUS 1p', 'M PLUS 1p', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro', sans-serif, 'ＭＳ Ｐゴシック', 'MS PGothic';
  font-size: 100%;
  color: #000;
  word-break: break-all;
  background: #ddd;
  text-size-adjust: none;
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

@media (width >= 992px) {
  .container {
    max-width: 890px; /* */
    margin: 0 auto;
  }
}

a:hover,
button:hover {
  cursor: pointer;
  opacity: 0.75;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
ol,
ul,
figure {
  padding: 0;
  margin: 0;
  font-size: 100%;
}

img {
  width: auto;
  vertical-align: middle;
}

/* 森川変更 2021/12/25
.iframe-wrap {
    position:relative;
	width:100%;
	height:0;
	padding-top:70%;
}
iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
 */

/* header */
header {
  margin-bottom: -1px;
}

header nav {
  padding-bottom: 0 !important;
}

.navbar-brand {
  width: 80%;
}

header nav .container-fluid,
header .main-menu ul.nav {
  width: 992px;
  margin: 0 auto;
}

header .main-menu {
  background: #8ce9f4;
}

header .main-menu ul.nav > li:not(:last-child) {
  border-right: 1px solid #0043a0;
}

header .main-menu ul.nav li a {
  font-weight: bold;
  color: #0043a0;
}

.size-changer li.button.on {
  background-color: #0043a0;
}

.htt-logo-zev {
  width: 30%;
}

@media (width >= 992px) {
  header .main-menu ul.nav > li:first-child a {
    padding-left: 0;
  }
  header .main-menu ul.nav > li:last-child a {
    padding-right: 0;
  }
}

@media (width <= 991.98px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    padding-top: 1rem;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
  }

  .navbar-brand {
    width: 50%;
  }

  header nav .container-fluid,
  header .main-menu ul.nav {
    width: 100%;
  }

  header .main-menu {
    background: #fff;
  }

  .htt-logo-zev {
    width: 15%;
  }
}

/* サブナビ（ヘッダー、サイトマップ） */
#zevNav > li {
  position: relative;
  z-index: 101;
}

#zevNav li .subNav {
  position: absolute;
  z-index: 100;
  display: none;
  width: 200%;
  background-color: rgb(255 255 255 / 90%);
}

#zevNav li .subNav.open {
  display: block;
}

#zevNav li:hover .subNav {
  display: block;
}

.subNav li {
  position: relative;
  display: block;
  padding: 0;
  text-align: left;
}

.subNav li::before {
  position: absolute;
  top: 1.3rem;
  left: 1.35rem;
  color: #0043a0 !important;
}

.subNav li a {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2rem;
  font-weight: bold;
  color: #0043a0 !important;
  text-decoration: none;
}

.subNav li:hover,
.subNav li:hover a {
  background-color: transparent;
}

.subNav li.page_item_has_children ul.children {
  padding-left: 1rem;
}

@media (width <= 991.98px) {
  #zevNav > li {
    width: 100%;
    text-align: left;
    border-right: none;
  }

  #zevNav li .subNav {
    position: static;
    display: block;
    width: 100%;
  }
}

/* パンくずリスト */
.breadcrumb {
  padding: 0.5rem 0;
  margin-bottom: -1px;
  background: #8ce9f4;
}

.breadcrumb ul {
  width: 992px;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin: 0 auto;
}

.breadcrumb li,
.breadcrumb li a {
  display: inline;
  color: #0043a0;
  text-decoration: none;
}

.breadcrumb li::after {
  padding: 0 0.5rem;
  content: '＞';
}

.breadcrumb li:last-child::after {
  content: '';
}

@media (width <= 991.98px) {
  .breadcrumb ul {
    width: 100%;
  }
}

/* page-main */
.page-main article .entry-header {
  position: relative;
}

.page-main article .entry-header h2 {
  position: absolute;
  top: 3%;
  left: 50%;

  /*  */
  display: flex;
  align-items: center;
  justify-content: center;

  /*  */
  width: 392px;
  height: 392px;
  padding: 1.5%;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: #0043a0;
  border-radius: 50%;
  transform: translateX(-50%);
  transform: translateX(-50%);
  transform: translateX(-50%);
}

.page-main article .entry-header h2 span {
  padding-bottom: 1.5%;
  border-bottom: 5px solid #fff;
}

.page-main article .entry-content {
  min-height: 500px;
}

@media (width <= 1600px) {
  .page-main article .entry-header h2 {
    width: 24.5vw;
    height: 24.5vw;
  }

  .page-main article .entry-header h2 span {
    border-bottom: 0.35vw solid #fff;
  }
}

/* footer */
footer .copyright {
  font-size: 85%;
}

footer .copyright ul.nav li:first-child {
  border-left: 1px solid #000;
}

footer .copyright ul.nav li {
  border-right: 1px solid #000;
}

footer .copyright ul.nav li a {
  padding: 0 0.5rem;
  color: #000 !important;
}

/* Layout */
section:not(:last-child) {
  margin-bottom: 3rem;
}

@media (width >= 992px) {
  .content-inner {
    max-width: 890px; /* */
    margin: 0 auto;
  }
}

@media (width >= 576px) {
  section.top-1 {
    margin-top: 3rem;
  }
}

@media (width <= 991.98px) {
  .content-inner {
    padding: 1.5rem;
  }

  section:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}

/* Colors */
.bg-color {
  background: #8ce9f4;
}
.text-color {
  color: #0043a0;
}
.border-top-color {
  border-top: 2px solid #0043a0;
}
.border-bottom-color {
  border-bottom: 2px solid #0043a0;
}
.bg-blue {
  background-color: #c5f4fa;
}
.bg-purple {
  background-color: #f0e9ff;
}

/* Text */
.text-16 {
  font-size: 16px;
}
.text-18 {
  font-size: 18px;
}
.text-21 {
  font-size: 21px;
}
.text-28 {
  font-size: 28px;
}
.text-35 {
  font-size: 35px;
}

@media (width <= 1600px) {
  .text-16 {
    font-size: 1vw;
  }
  .text-18 {
    font-size: 1.125vw;
  }
  .text-21 {
    font-size: 1.3125vw;
  }
  .text-28 {
    font-size: 1.75vw;
  }
  .text-35 {
    font-size: 2.1875vw;
  }
}

@media (width <= 991.98px) {
  .text-16,
  .text-18,
  .text-21 {
    font-size: 100%;
  }
  .text-28 {
    font-size: 125%;
  }
}

/* ========================================
  ブロックパーツ
======================================== */

/* 大見出し */
.headline-zev {
  margin-bottom: 3%;
  font-weight: bold;
  color: #0043a0;
  text-align: center;
}

.headline-zev div {
  margin-bottom: 1.5%;
}

/* 中見出し */
.subheading-zev {
  margin-bottom: 3%;
  text-align: center;
}

.subheading-zev span {
  padding-bottom: 1%;
  font-weight: bold;
  color: #0043a0;
  border-bottom: 2px solid #0043a0;
}

/* 小見出し */
.subtitle-zev {
  padding-left: 0.5em;
  margin-bottom: 1%;
  font-weight: bold;
  color: #0043a0;
  border-left: solid 5px #0043a0;
}

/* 黒丸小見出し */
.list-b-zev {
  font-family: TsukuGoPro-E;
  font-weight: bold;
  color: #000;
}

.list-b-zev::before {
  padding-right: 0.3rem;
  content: '●';
}

/* 画像１枚／テキスト */
.img1-text figure {
  margin-bottom: 1rem;
}

/* 画像３枚／テキスト */
.img3-text .wp-block-columns {
  display: flex;
}

.img3-text .wp-block-columns .wp-block-column {
  width: calc(100% / 3);
}

.img3-text .wp-block-columns .wp-block-column:nth-child(2) {
  margin: 0 1rem;
}

.img3-text .wp-block-columns .wp-block-column figure {
  margin-bottom: 1rem;
}

.img3-text .wp-block-columns .wp-block-column figure img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* 画像１枚／テキスト横並び */
.img1-text-side .wp-block-columns {
  display: flex;
  justify-content: space-between;
}

.img1-text-side .wp-block-columns .wp-block-column {
  width: 48.5%;
}

@media (width <= 575.98px) {
  /* 画像３枚／テキスト */
  .img3-text .wp-block-columns {
    display: block;
  }

  .img3-text .wp-block-columns .wp-block-column {
    width: 100%;
    margin: 0 0 1.5rem !important;
  }

  .img3-text .wp-block-columns .wp-block-column figure img {
    height: auto;
  }

  /* 画像１枚／テキスト横並び */
  .img1-text-side .wp-block-columns {
    display: block;
  }

  .img1-text-side .wp-block-columns .wp-block-column {
    width: 100%;
  }

  .img1-text-side .wp-block-columns .wp-block-column figure {
    margin-bottom: 1rem;
  }
}

/* テーブル */
.border-table table {
  width: 100%;
  border-top: 1px solid #414141;
}

.border-table th,
.border-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid #414141;
}

.border-table th a,
.border-table td a {
  text-decoration: none;
}

.border-table th {
  width: 13%;
  padding-right: 1rem;
}

.border-table td {
  width: 87%;
}

@media (width <= 575.98px) {
  .border-table th,
  .border-table td {
    display: block;
    width: 100%;
  }
}

/* 黒丸番号リスト */
.black-circle-list {
  list-style-type: none;
  counter-reset: num;
}

.black-circle-list li {
  position: relative;
  padding: 0.3em 0.3em 0.3em 25px;
  padding-left: 30px;
  line-height: 1.5em;
}

.black-circle-list li::before {
  position: absolute;
  top: 6px;
  left: 0;
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  content: counter(num);
  counter-increment: num;
  background: #000;
  border-radius: 50%;
}

/* 楕円形緑ボタン */
.btn-green-oval {
  display: inline-block;
  padding: 0.25rem 1.5rem;
  font-weight: bold;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-decoration: none;
  background-color: #00aa9f;
  border-radius: 50rem;
}

.btn-green-oval.white {
  color: #00aa9f !important;
  background-color: #fff;
}

/* 角丸青ボタン */
a.btn-blue-square {
  display: inline-block;
  padding: 2.5rem 1.5rem;
  font-weight: bold;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-decoration: none;
  background-color: #0043a0;
  border-radius: 1.5rem;
}

/* 下線青リンク */
a.under-blue-link {
  padding-bottom: 1%;
  font-weight: bold;
  color: #0043a0;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-bottom: 2px solid #0043a0;
}

/* 大見出し／画像１枚／背景色*** */
.headline-bg-fluid {
  width: 100vw;
  padding: 5.5% 0;
  margin: 0 calc(50% - 50vw);
}
.headline-bg-fluid.white {
  background-color: #fff;
}
.headline-bg-fluid.blue {
  background-color: #c5f4fa;
}
.headline-bg-fluid.purple {
  background-color: #f0e9ff;
}

.headline-bg-fluid .headline-zev {
  margin-bottom: 5%;
}

.headline-bg-fluid figure {
  text-align: center;
}

.headline-bg-fluid figure iframe {
  max-width: 100%;
}

/* ブロックエディタからの画像挿入CSS */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* ========================================
  TOP
======================================== */
.top-img {
  position: relative;
}

.top-img .top-logo {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  transform: translateX(-50%);
  transform: translateX(-50%);
}

/* top-1 */
.info-box .col-inner {
  max-height: 322px;
  overflow-y: auto;
}

.twitter-zev {
  position: relative;
  text-align: center;
}

.twitter-zev .card {
  border: none;
  border-radius: 0;
}

.twitter-zev .card-body {
  padding: 0;
  border-right: 2px solid #1d9bf0;
  border-bottom: 2px solid #1d9bf0;
  border-left: 2px solid #1d9bf0;
}

.twitter-zev .col-inner {
  max-height: 277px;
}

@media (width >= 576px) {
  .twitter-zev .twitter-icon {
    position: absolute;
    top: -30%;
    right: 0;
  }
}

@media (width <= 575.98px) {
  .twitter-zev .twitter-icon {
    margin-bottom: 1.5rem;
  }
  .top-img .top-logo {
    bottom: 3%;
  }
}

/* top-2 */
.top-2 {
  background-color: #00aa9f;
}

.top-2-2-wrap {
  position: relative;
  text-align: center;
}

@media (width >= 992px) {
  .top-2-2 {
    position: absolute;
    right: -17%;
    bottom: 0;
  }
}

@media (width <= 991.98px) {
  .top-2-2 {
    margin-top: 1.5rem;
  }
}

/* top-3 */
.top-3-wrap {
  position: relative;
}

@media (width >= 992px) and (width <= 1600px) {
  .top-3-1 {
    width: 13.5vw;
  }
  .top-3-2 {
    width: 13.5vw;
  }
}

@media (width >= 992px) {
  .top-3-1 {
    position: absolute;
    top: 10%;
    left: -14%;
  }

  .top-3-2 {
    position: absolute;
    top: 15%;
    right: -13%;
  }
}

.top-3 .card {
  border: none;
  border: 2px solid #0043a0;
  border-radius: 0;
}

.top-3 .card-header {
  background: #eaff5a;
  border-bottom: 2px solid #0043a0;
}

.top-3 .card-body {
  min-height: 12rem;
  background: #fff;
}

/* top-4 */
.top-4 {
  position: relative;
  background-color: #fffacb;
}

@media (width >= 992px) and (width <= 1600px) {
  .top-4-1 {
    width: 19vw;
  }
  .top-4-2 {
    width: 18vw;
  }
}

@media (width >= 992px) {
  .top-4-1 {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .top-4-2 {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media (width <= 991.98px) {
  .top-4-1,
  .top-4-2 {
    margin: 1.5rem 0.75rem 0;
  }
}

/* top-5 */
.top-5-1-wrap {
  position: relative;
}

@media (width >= 992px) and (width <= 1600px) {
  .top-5-1 {
    width: 9vw;
  }
}

@media (width >= 992px) {
  .top-5-1 {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media (width <= 991.98px) {
  .top-5-1 {
    margin-top: 1.5rem;
  }
}

/* top-6 */
.top-6 {
  background-color: #ededed;
}

/* ========================================
  制度スキーム
======================================== */
.scheme-2 {
  background-image: url('/assets/images/pages/zero-emission-vehicle-portal/scheme-2-1-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.scheme-3 .card {
  background-color: transparent;
  border: none;
  border-radius: 0;
}

.scheme-3 .card-body {
  min-height: 12rem;
  background: #fff;
  border-right: 2px solid #0043a0;
  border-bottom: 2px solid #0043a0;
  border-left: 2px solid #0043a0;
}

.scheme-5-2-wrap {
  position: relative;
}

@media (width >= 992px) {
  .scheme-5-2 {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

@media (width <= 991.98px) {
  .scheme-5-2 {
    margin-top: 1.5rem;
  }
}

/* ========================================
  グーテンベルク対応CSS
======================================== */

/* テーブル */
.wp-block-table:not(.is-style-stripes) th,
.wp-block-table:not(.is-style-stripes) td {
  border: 1px solid #000;
}

/* 埋め込み */
.wp-block-embed {
  text-align: center;
}

/* ========================================
  取組事例
======================================== */
.effort-example .effort-example-block a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.effort-example .card {
  border: 1px solid #b7b7d0;
  border-radius: 0;
}

.effort-example .card .card-img-top {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.effort-example .card .card-header {
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

/* ページネーション */
.page-numbers {
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-top: 1rem;
  list-style: none;
}

.page-numbers li {
  padding: 0.3rem;
}

.page-numbers li a {
  padding: 0.3rem 0.75rem;
  color: #0043a0 !important;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid #0043a0;
}

.page-numbers li span {
  padding: 0.3rem 0.75rem;
  color: #fff !important;
  background: #0043a0;
  border: 1px solid #0043a0;
}
