/* フォント設定 */

.mincho {
  font-family: "Sawarabi Mincho";
  font-weight: 400;
}
/* ヘッダーボタン */

.header-flex {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  font-size: 0.8vw;
}

.hd-contact-button a {
  display: block;
  background: #9FD26A;
  border-radius: 100px;
  width: 100%;
  padding:15px 30px 15px 55px;
  color: #1F4E4E;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  position: relative;
}

.hd-contact-button a::before {
  content: "";
  display: flex;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: 20px;
  background: url(img/mail_icom.svg);
}

.hd-tel-button a {
  display: block;
  width: 100%;
  height: 100%;
  padding:10px 30px 10px 55px;
  border-radius: 100px;
  background: #1F4E4E;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
  position: relative;
}
.hd-tel-button a::before {
  content: "";
  display: flex;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: 20px;
  background: url(img/tell_icom.svg);
}

.tel-btn-text {
  display: block;
  position: relative;
}

.tel-annotation {
  font-size: 0.7vw;
  display: block;
}



/* スライダー全体 */
.slider-wrapper {
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
}
/* スライド3枚のグループ */
.slider {
  animation: scroll-left 50s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
  list-style: none;
  padding-left: 0;
}
/* スライド */
.slide {
  width: calc(100vw / 5); /* 3はスライドの枚数 */
  margin-left: 30px;
}
/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
}


/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 639px) {
.slide {
  width: calc(100vw / 3); /* 3はスライドの枚数 */
  margin-left: 10px;
}
}


/* キービジュアル */

.kv-wrapper  {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  position: relative;
}

@media screen and (max-width: 639px) {
  .kv-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.6;
    position: relative;
  }
}

.kv-wrapper video {
	position: absolute;
	top: 50%;
	left: 50%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
  animation: imgfade 0.5s ease-in 0s;
  opacity: 1;
}

@-webkit-keyframes imgfade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 639px) {
.kv-wrapper video {
	position: absolute;
	top: 50%;
	left: 50%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
}
}

.kv-wrapper img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  animation: imgfade 0.5s ease-in 0s;
  opacity: 1;
}

.main-copy {
  position: relative;
  width: 100%;
}



.jp-copy {
  position: absolute;
  top: 15vw;
  left:5vw;
  color: #fff;
  font-size: 1.5vw;
  font-weight: normal;
  -webkit-animation: fade 3.5s ease-in 0s;
  animation: fade 3.5s ease-in 0s;
}

@media screen and (max-width: 639px) {
.jp-copy {
  position: absolute;
  top: 33vw;
  left:5vw;
  color: #fff;
  font-size: 5vw;
  line-height: 1.4;
  font-weight: normal;
  -webkit-animation: fade 3.5s ease-in 0s;
  animation: fade 3.5s ease-in 0s;
}
}

@-webkit-keyframes fade {
  0% {
    opacity: 0.0;
  }
  30% {
    opacity: 0.0;
  }
  100% {
    opacity: 1;
  }
}
/* ラインsvg */

.line-canvas {
  position: absolute;
  width: 90vw;
  top: -20vw;
  left: -9vw;
}


@media screen and (max-width: 639px) {
.line-canvas-sp {
  position: absolute;
  width: 100vw;
  top: 2vw;
  left: 0vw;
  z-index: 4;
}
}

.line01 {
  stroke-dasharray: 3500;
  stroke-dashoffset: 0;
  -webkit-animation: line01 3.5s ease-in 0s;
  animation: line01 3.5s ease-in 0s;
  animation-delay: 0s;
}

@-webkit-keyframes line01 {
  0% {
  stroke-dashoffset: 3500;
  }
  100% {
  stroke-dashoffset: 0;
  }
}

.line02 {
  stroke-dasharray: 3000;
  stroke-dashoffset: 0;
  -webkit-animation: line02 3.5s ease-in 0s;
  animation: line02 3.5s ease-in 0s;
  animation-delay: 0s;
}

@-webkit-keyframes line02 {
  0% {
  stroke-dashoffset: 3000;
  }
  100% {
  stroke-dashoffset: 0;
  }
}

/* svg */

.canvas {
  position: absolute;
  width: 45vw;
  top: 5vw;
  left:5vw;
}

@media screen and (max-width: 639px) {
.canvas {
  position: absolute;
  width: 90vw;
  top: 10vw;
  left: 5vw;
}
}

.st0{
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello 4.5s ease-in 0s;
  animation: hello 4.5s ease-in 0s;
}

@-webkit-keyframes hello {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    fill:#fff;
  }
}


/* ロゴ */

.kv-logo {
  position: absolute;
  width: 15vw;
  top: 30vw;
  left:5vw;
  -webkit-animation: logo 3.5s ease-in 0s;
  animation: logo 3.5s ease-in 0s;
}

@media screen and (max-width: 639px) {
.kv-logo {
  position: absolute;
  width: 30vw;
  top: 60vw;
  left:5vw;
  -webkit-animation: logo 3.5s ease-in 0s;
  animation: logo 3.5s ease-in 0s;
}
}


@-webkit-keyframes logo {
  0% {
    opacity: 0.0;
  }
  60% {
    opacity: 0.0;
  }
  100% {
    opacity: 1;
  }
}



/*　メニューの文字サイズ */
@media screen and (max-width: 639px) {
  .home-menu-btn {
    font-size: 14px;
  }

  .home-menu-btn-s {
    font-size: 12px;
    letter-spacing: 1;
  }
}


.kv-texture {
  mix-blend-mode: screen;
}

@media screen and (max-width: 639px) {
.kv-texture {
  mix-blend-mode: screen;
}
}

/* ホバーアニメーション */
.hover-animation-green .smb-btn {
  transition-duration: .4s;
}
.hover-animation-green .smb-btn:hover {
  transform: scale(1.1);
}

.hover-animation {
    transition-duration: .4s;
}

.hover-animation:hover {
  transform: scale(1.1);
}

/* ボタン用アイコン */

.btn-arrow a{
  position: relative;
  padding-right: 40px !important;
}

.btn-arrow a::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  background-image: url(img/arrow.png);
  background-size: contain;
}


.btn-arrow a::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.btn-arrow.arrow-rotate a::after {
  background-image: url(img/arrow_rotate.png);
}

.btn-arrow-orange a {
  position: relative;
  padding-right: 40px !important;
}

.btn-arrow-orange a::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  background-image: url(img/arrow_orange.png);
  background-size: contain;
}

.btn-arrow-orange a::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.btn-arrow-orange.arrow-rotate a::after {
  background-image: url(img/arrow_orange_rotate.png);
}


.btn-arrow-blue a {
  position: relative;
  padding-right: 40px !important;
}

.btn-arrow-blue a::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  background-image: url(img/arrow_blue.png);
  background-size: contain;
}

.btn-arrow-blue.arrow-rotate a::after {
  background-image: url(img/arrow_blue_rotate.png);
}


.btn-arrow-blue a::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

/* 小見出しアイコン */
.h4-icon {
  position: relative;
  padding-left: 20px !important;
}

.h4-icon::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-image: url(img/midashi_icon.svg);
  background-size: contain;
}

/* オレンジアイコン */

.h4-icon-orange {
  position: relative;
  padding-left: 20px !important;
}

.h4-icon-orange::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-image: url(img/midashi_icon_orange.png);
  background-size: contain;
}

/* 会社概要テーブルの装飾 */
.company-table th {
  border-bottom: #1F4E4E 1px solid !important;
  padding-top: 20px !important;
}

.company-table td {
  border-bottom: #1F4E4E 1px solid !important;
  padding: 40px 20px 10px 20px !important;
}

/* お問い合わせボタンアイコン */


.contact-btn-main .smb-btn__label {
  position: relative;
  margin-left: 54px;
  margin-right: 24px;
}
.contact-btn-main .smb-btn__label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -40px;
  background: url(img/mail_icom.svg);
}


.tel-btn-main .smb-btn__label {
  position: relative;
  margin-left: 30px;
}
.tel-btn-main .smb-btn__label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -40px;
  background: url(img/tell_icom.svg);
}


/* フッター */

.footer-flex {
  justify-content: space-between;
}

.c-sub-nav .c-navbar {
  gap: 20px;
}

.c-sub-nav {
  text-decoration: none;
  transition: 0.4s;
}

.c-sub-nav .c-navbar a:hover {
  color: #9FD26A;
  text-decoration: none;
  transition: 0.4s;
}

.c-copyright .c-container {
  text-align: center;
}

@media screen and (max-width: 639px) {
.l-footer-widget-area .smb-flex.is-horizontal {
  flex-direction: column;
}

:root :where(.is-layout-flex) {
  gap: 60px;
}
}

/* フッターのボタン */
.footer-flex .contact-btn-main .smb-btn__label {
  position: relative;
  margin-left: 22px;
  margin-right: 0px;
}

.footer-flex .contact-btn-main .smb-btn__label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -40px;
  background: #9FD26A;
}


.footer-flex .contact-btn-main .smb-btn__label::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -36px;
  background: url(img/mail_icom.svg);
}



.footer-flex .tel-btn-main .smb-btn__label {
  position: relative;
  margin-left: 22px;
  margin-right: 0px;
}

.footer-flex .tel-btn-main .smb-btn__label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -40px;
  background: #1F4E4E;
}


.footer-flex .tel-btn-main .smb-btn__label::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: -36px;
  background: url(img/tell_icom.svg);
}

@media screen and (max-width: 639px) {
.wp-container-snow-monkey-blocks-flex-is-layout-e863ca7d {
  flex-direction: column;
  align-items: center !important;
  gap: 20px !important;
}
}




/* 下層ページタイトル */
.c-page-header__title {
  display: block;
  position: relative;
  padding: 30px 60px;
  color: #1F4E4E;
  z-index: 1;
}

.c-page-header__title::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
  backdrop-filter: blur(7px);
}


/* お問い合わせページ */

.page-id-505 .l-contents__container{
  background: #1F4E4E;
}

.page-id-505 .c-breadcrumbs {
  color: #fff;
}

.smf-text-control__control {
  width: 100%;
}

.smf-select-control {
  width: 100%;
}

.smf-select-control__control {
  width: 100%;
}

.smf-action .smf-button-control__control {
  background: #1F4E4E;
  color: #fff;
  width: 100%;
  max-width: 400px;
}

/* h5の見出し装飾 */

.h5-midashi {
  position: relative;
  background: none;
}

.h5-midashi::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: 0;
  width: 100%;
  height: 1px;
  background: #1F4E4E;
}

.h5-midashi-blue {
  position: relative;
  background: none;
}

.h5-midashi-blue::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY( -50%);
  left: 0;
  width: 100%;
  height: 1px;
  background: #2974A3;
}

/* お支払い方法 */

.price-grid div {
  display: grid;
  height: 100%;
  align-items: center;
}

.price-grid p {
  text-align: center;
}

@media screen and (max-width: 639px) {
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}
}

/* マイコンの表示にテーブル */
.microcom-table thead th {
  background: #E9F7EF;
  color: #1F4E4E !important;
}

/* 温水器ページの矢印 */
@media screen and (max-width: 639px) {
.exchange-aroww {
  rotate: 90deg;
}
}


