@charset "UTF-8";

.js-router {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3",
               "Hiragino Mincho ProN", "MS 明朝", serif;
}
.hero{
  position:relative;
  min-height:400px;
  background-image:url('https://torusenergy.co.jp/wp/wp-content/themes/generatepress-child/assets/img/pages/528/solfeggio_bg01.webp');
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:left;
  padding:24px;
}
/* グラデーションで文字を見やすく */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0.4),rgba(0,0,0,0.1));
}
.hero-content{
  position:relative;
  display:flex;
  align-items:center;
  gap:24px;
  max-width:1000px;
  width:100%;
  /*flex-wrap:wrap;*/
  justify-content: center;
  text-align:center;
}
.text{
  flex:1 1 50%;
  color: #fff;
}
h1#toptitle{
  color: #fff!important;
  font-size: 3.5em!important;
  margin-bottom: 12px!important;
  font-weight: bold!important;
  line-height: 1.5!important;
}
.text p{
  font-size:16px;
  line-height:1.5;
  opacity:0.95;
}
.image{
  flex:1 1 40%;
}
.image img{
  max-width:60%;
  border-radius:12px;
}

/* スマホ */
@media (max-width:767px){
    .hero-content{
      flex-direction:column;
      text-align:center;
    }
    .text, .image{
      flex:1 1 100%;
    }
   h1#toptitle{
    color: #fff!important;
    font-size: 2.6em!important;
    margin-bottom: 12px!important;
    font-weight: bold!important;
    line-height: 1.4!important;
    padding-top:30px!important;
  }
  .image img{
    max-width:45%;
  }
}


#explain01{
  padding-top: 60px;
  padding-bottom: 30px;
}
#explain02{
  background-color: #ddeef9;
  padding-top: 60px;
  padding-bottom: 30px;
}

.mw1400{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.fc-blue528{
  color: #334fb4;
}
.fc-blue528-2{
  color: #2061b7;
}
#explain01 h2,
#explain02 h2,
.reason_flexbox02 h2{
  font-size: 3em;
}
#explain01 h3,
#weneed h3{
  font-size: 2.2em;
  padding-top:40px;
}
#explain01 h4,
#weneed h4{
  font-size: 1.8em;
  padding-top:30px;
}
#explain01 p,
#weneed p{
  font-size: 1.6em;
  padding-top: 30px;
  padding-bottom: 60px;
  line-height: 1.8;
}
#explain02 p,
.reason_flexbox02 p{
  font-size: 1.2em;
  padding-top: 30px;
  padding-bottom: 60px;
  line-height: 1.8;
}


@media (max-width:767px){
  #explain01 h2,
  #explain02 h2,
  .reason_flexbox02 h2{
    font-size: 2em;
  }
  #explain01 h3,
  #weneed h3{
    font-size: 1.4em;
  }
  #explain01 h4,
  #weneed h4{
    font-size: 1.2em;
  }
    #explain01 p,
    #explain02 p,
    #weneed p,
    .reason_flexbox02 p{
    font-size: 1em;
  }
}


.background_img {
    background-image: url(https://torusenergy.co.jp/wp/wp-content/themes/generatepress-child/assets/img/pages/528/wave_2.png);
    position: relative;
    padding: 30px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: local;
}

#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 95%;
    opacity: .2;
}
.weneed_flexbox{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.reason_flexbox{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 2rem;
  padding-right: 2rem;
}
.reason_flexbox01{
  width:100%;
  max-width: 25%;
}
.reason_flexbox02{
  width:100%;
  max-width: 60%;
  padding-top: 60px;
}

.weneed_flexbox li{
  display:block;
  width: 100%;
  max-width: 26%;
  padding-left: 5%;
  padding-right:5%;
  padding-bottom: 20px;
}
.weneed_card_info{
  text-align: center;
  font-size: 1.8em;
  font-weight: bold;
  color: #334fb4;
  padding-top: 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#custom-video{
  margin: 0;
  padding:0;
  height: auto;
  max-height: 450px;
}
.custom-video {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: none;
}
.video-overlay-text h2{
  font-size: 72px;
  color:#fff;
  font-weight: 600;
  text-align: left;
}
.video-overlay-text {
    position: absolute;
    top: 45%;
    left: 35%;
    transform: translate(-75%, -45%);
    background: transparent;
    padding: 10px;
    text-align: center;
    width: max-content;
}
video{
  pointer-events: none;
}
#infomation{
  background-color: #2061b7;
  color: #fff;
}
.info_flexbox{
  display: flex;
  justify-content: space-between;
}
.info_flexbox01{
  width:100%;
  max-width: 30%;
  font-weight: bold;
}
.info_flexbox01 a,.info_flexbox02 a{
  color: #fff!important;
}
.info_flexbox01,.info_flexbox02{
  line-height: 1.8;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width:767px){
    .weneed_flexbox li{
    width: 100%;
    max-width: 45%;
    padding-left: 2%;
    padding-right:2%;
    padding-bottom: 20px;
  }
  .weneed_card_info{
    font-size: 1.4em;
    font-weight: bold;
    color: #334fb4;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .reason_flexbox01{
    width:100%;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .reason_flexbox02{
    width:100%;
    max-width: 100%;
    padding-top: 30px;
  }
  .video-overlay-text h2 {
      font-size: 2em !important;
      padding-left: 100px;
  }
  .info_flexbox{
    flex-direction: column;
  }
  .info_flexbox01,.info_flexbox02{
    width:100%;
    max-width: 100%;
  }
}


/* Animations */

/* 初期状態は下に少し移動＋透明 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 表示時 */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-section {
  padding: 80px 20px;
  background: #f8f8f8;
  margin-bottom: 50px;
}

/* Animations end */

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
