/*!
Theme Name: PersonalGymNEXUS
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: personalgymnexus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

PersonalGymNEXUS is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}
ul{
  padding: 0;
  margin: 0;
}
body{
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}
img{
  max-width: 100%;
}
header{
  position: absolute;
  width: 100%;
  z-index: 1000;
}
.logo__box{
  width: 240px;
  height: 100px;
  background: #1A1311;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.mv_wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.mv_wrapper::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(images/mv_back.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  -webkit-animation: zoom 10s 1;
  animation: zoom 10s 1;
  animation-fill-mode: forwards;
  z-index: 0;
}
.sub_mv_wrapper {
  position: relative;
  width: 100%;
  height: 30vh;
  background-image: url(images/sub_mv_back.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.mv__text{
  position: relative;
  z-index: 10;
}
.ttl__small{
  padding-left: 60px;
  font-weight: 600;
  font-size: 20px;
  text-align: left;
  color: #fff;
}
.ttl__small .font__mid{
    font-size: 130%;
}
.ttl__bigger{
  font-size: 80px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0px;
  padding-left: 60px;
}
.ttl__bigger strong{
  font-size: 120%;
  font-weight: 800;
}
.ttl__bigger span{
  font-weight: 800;
}
.font__lench{
  letter-spacing: -50px;
}

@keyframes zoom {
  0% {
     transform: scale(1);
  }
  100% {
     transform: scale(1.1);
  }
}

/*==================================================
背景色が伸びて出現
===================================*/

/*全共通*/

.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1.6s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1.5s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から右*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}
.mv__btn__area{
  padding-left: 60px;
  margin-top: 80px;
}
.btn{
  background: #1A6DB4;
  width: 380px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  z-index: 80;
}
.inner-text{
  z-index: 3;
  font-weight: 600;
}
a.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s cubic-bezier(.19, 1, .22, 1);
  background: #222;
}
a.btn:after{
  content: '';
  background: url(images/btn_yajirushi.svg);
  background-size: 100%;
  width: 36px;
  height: 36px;
  position: absolute;
  right: 16px;
  margin: auto;
  top: 0;
  bottom: 0;
}

a.btn:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.about__contents{
  padding: 120px 5%;
  width: 100%;
  background: url(images/back2.jpg);
  background-size: cover;
  background-position: center;
}

.sub__base__contents{
  padding: 120px 5%;
  width: 100%;
}
.sub__base__contents2{
  padding: 120px 0%;
  width: 100%;
}
.color__wh{
  color: #fff;
}
.base__ttl{
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 64px;
}
.text-center{
  text-align: center;
}
.container{
  width: 100%;
  max-width: 1280px;
  margin: auto;
}
.base__block{
  background: #EFEFEF;
      overflow: hidden;
}
.block1__contents{
  margin: auto;
  height: 940px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 80px;
}
.block1__contents:before{
  content: '';
  background: url(images/back_block1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 70%;
  height: 80%;
  position: absolute;
  right: 0;
  margin: auto;
  bottom: 0;
  top: 0;
  z-index: 0;
}
.block1__item{
  width: 40%;
  background: rgba(0,0,0,.7);
  height: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 0 3%;
}
.block1__item h3{
  font-size: 32px;
  margin-bottom: 24px;
}
.block1__item p{
  margin-bottom: 24px;
}
.block2_staff{
  background: #000000;
  display: flex;
  margin-bottom: 104px;
}
.staff__img{
  position: relative;
  width: 40%;
  overflow: hidden;
}
.staff__text{
  position: relative;
  width: 60%;
  display: flex;
  align-items: center;
}
.staff__text > div{
  margin-left: 40px;
  width: 80%;
}
.staff__text > div h3{
  font-size: 28px;
  margin-bottom: 16px;
}
.staff__text > div p{
  margin-bottom: 16px;
}
.block__access{
  background: url(images/back_block3.jpg);
  padding: 96px 0;
  position: relative;
  min-height: 640px;
  background-size: cover;
  overflow: hidden;
}
.block__access:before{
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  border-right: 0 solid transparent;
  border-left: 100vw solid transparent;
  border-top: 83vw solid #000;
  z-index: 0;
}
.access__item{
  position: relative;
  z-index: 10;
}
.access__item h2{
    font-size: 32px;
    margin-bottom: 24px;
}
.access__item p{
  margin-bottom: 24px;
}
/* グーグルマップ・レスポンシブレイアウト */
.gmap-wrap{
  position : relative;
  height : 0;
  padding-bottom : 56.25%; /* 縦横比の指定 */
  overflow : hidden;
  width: 90%;
  margin: 16px auto 32px;
}

.gmap-wrap iframe,
.gmap-wrap object,
.gmap-wrap embed{
  position : absolute;
  top : 0;
  left : 0;
  width : 100%;
  height : 100%;
}
.flex-center{
  display: flex;
  justify-content: center;
}

.footer__contents{
  background: #1A1311;
  padding: 48px 0;
}
.relative{
  position: relative;
}
.footer__items{
  display: flex;
}
.footer__about{
  width: 30%;
  color: #fff;
}
.footer__about p{
  margin-bottom: 16px;
}
.logo_footer{
  width: 280px;
}
.footer__about p:last-child{
  margin-bottom: 0;
}
.footer__menu{
  width: 70%;
}
.footer__menu > div{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer__menu__item{
  display: flex;
  width: 100%;
  column-gap: 16px;
  justify-content: flex-end;
}
.footer__menu__item a{
  color: #fff;
  text-decoration: none;
}
.footer__link{
  display: flex;
  width: 100%;
  column-gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  column-gap: 32px;
}
.footer__copy{
/*  margin-top: 32px;*/
  text-align: right;
}
.btn2{
  background: #1A6DB4;
  width: 280px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.btn3{
  background: #fff;
  width: 280px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A6DB4;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.pc{
  display: block;
}
.sp{
  display: none;
}
.sub__ttl__contents{
  font-size: 36px;
  margin-bottom: 64px;
  line-height: 1.5;
}
.sub__ttl__contents small{
  display: inline-block;
  margin-bottom: 16px;
}
.sub__text__block{
  width: 640px;
  margin: 0 auto 96px;
  max-width: 100%;
}
.time__table{
  width: 640px;
  margin: 0 auto 96px;
  max-width: 100%;
  text-align: center;
  vertical-align: middle;
}
.price__table{
  width: 640px;
  margin: 0 auto 40px;
  max-width: 100%;
  text-align: center;
  vertical-align: middle;
}
.price__table{
  border: 1px solid #3980BE;
  height: 96px;
  font-size: 120%;
  font-weight: 600;
}
.time__table td{
  border: 1px solid #3980BE;
  height: 96px;
  font-size: 120%;
  font-weight: 600;
}
.price__table td:first-child{
  background: #3980BE;
  color: #fff;
  width: 50%;
}
.price__trial{
  border: 1px solid #ff566b;
}
.price__trial td:first-child{
  background: #ff566b; 
}
.price__trial td:last-child{
  color: #ff566b; 
}
.time__table td:first-child{
  width: 70%;
}
.menu__link{
  margin: 96px auto;
  width: 1000px;
  max-width: 100%;
  display: flex;
  justify-content: space-around;
}
.menu__link > div{
  width: 312px;
  text-align: center;
}
.menu__link a{
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  color: #fff;
  line-height: 1.4;
  font-size: 180%;
  font-weight: 600;
  text-decoration: none;
}
.menu__box{
  width: 100%;
  height: 960px;
  position: relative;
  margin-bottom: 240px;
}
.menu__box > img{
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}
.menu__text__box{
  background: rgba(0,0,0,.8);
  width: 70%;
  padding: 32px;
  position: absolute;
  left: 5%;
  bottom: 0;
  z-index: 10;
}
.menu__text__box h2{
  margin: -150px 0 10% -80px;
}
.menu__text__box > p{
  font-size: 24px;
  max-width: 80%;
}
.menu__point{
  width: 800px;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 48px;
}
.menu__point li{
  background: #2976B9;
  color: #fff;
  /* width: 360px; */
  width: 47%;
  height: 80px;
  font-size: 24px;
  font-weight: 700;
  align-items: center;
  display: flex;
  align-items: center;
  margin: 0 16px 16px 0;
}
.menu__point li p{
  text-align: center;
  width: 100%;
}
.text__border{
  text-decoration: underline;
}
.staff__item{
  display: flex;
  justify-content: flex-end;
  position: relative;
  padding-top: 160px;
}
.staff__item .block2_staff{
  width: 80%;
  background: #000000;
    display: flex;
    margin-bottom: 104px;
    padding: 64px;
}
.staff__item .staff__img{
  left: 0;
  top: 0;
  position: absolute;
}
.staff__item .staff__text {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-left: 26%;
}
.staff__item .staff__text > div{
  width: 95%;
}
.pb-5{
  padding-bottom: 5%;
}
.company__box{
  width: 880px;
  max-width: 100%;
  margin: 0 auto 120px;
}
.company__table{
  border-collapse:collapse;
  width: 100%;
}
.company__table td{
  border: 1px solid #fff;
  padding: 16px;
  font-size: 20px;
  color: #fff;
}
.company__table td:first-child{
  text-align: center;
  font-weight: 600;
}
body.preload .wow.fadeIn {
	opacity: 0 !important;
}
.company__table a{
    color: #fff;
}
.menu__point li.menu__point2{
    background: #E3A543;
    border: 8px solid #D18C1F;
}
.container2{
    width: 90%;
    margin: auto;
}
.access_step ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.access_step ul li{
    width: 240px;
    margin-right: 32px;
    display: inline-block;
}
.access_step ul li div{
    background: #333;
    text-align: center;
    padding: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 90%
}
.access_step ul li div small{
    font-size: 80%;
}
.access_step ul li:last-child{
    margin-right: 0;
}
.access_step ul li img{
    max-width: 100%;
}
.box1{
    overflow-x: auto;
    white-space: nowrap;
}
.mt-5{
    margin-top: 5%;
}

@media screen and (max-width: 599px){
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  body{
    font-size: 15px;
    line-height: 1.8;
  }
  .staff__img,
  .staff__text,
  .footer__about,
  .footer__menu{
    width: 100%;
  }
  .btn{
    width: 90%;
  }
  .block2_staff{
    display: block;
  }
  .block1__contents{
    margin-left: 0;
  }
  .block1__contents:before {
      content: '';
      background: url(images/back_block1.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 280px;
      height: 200px;
      position: absolute;
      right: 0;
      margin: auto;
      bottom: auto;
      top: 5%;
      z-index: 0;
  }
  .block1__item {
    width: 85%;
    background: rgba(0,0,0,.7);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 10% 5%;
    margin-left: 5%;
  }
  .block1__item h3 {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .btn {
      background: #1A6DB4;
      width: 280px;
      height: 64px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #fff;
      text-decoration: none;
      overflow: hidden;
      position: relative;
      z-index: 80;
  }
  a.btn:after {
      content: '';
      background: url(images/btn_yajirushi.svg);
      background-size: 100%;
      width: 24px;
      height: 24px;
      position: absolute;
      right: 16px;
      margin: auto;
      top: 0;
      bottom: 0;
  }
  .block1__contents {
      margin: auto;
      height: auto;
      width: 100%;
      position: relative;
      display: flex;
      align-items: center;
      padding: 80px 0 40px;
  }
  .staff__text > div {
      margin-left: auto;
      width: 80%;
      margin-right: auto;
      padding: 10% 0;
  }
  .staff__text > div h3 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .base__ttl {
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 32px;
  }
  .about__contents {
    padding: 20% 5%;
  }
  .about__contents {
      padding: 20% 8%;
      width: 100%;
      background: url(images/back2.jpg);
      background-size: cover;
      background-position: 14%;
  }
  .about__contents p{
    text-align: left;
  }
  .block__access:before {
      content: "";
      position: absolute;
      top: 0;
      width: 100%;
      box-sizing: border-box;
      border-right: 0 solid transparent;
      border-left: 102vw solid transparent;
      border-top: 173vw solid #000;
      z-index: 0;
  }
  .block__access {
      background: url(images/back_block3.jpg);
      padding: 20vw 0;
      position: relative;
      min-height: 0;
      background-size: cover;
      overflow: hidden;
  }
  .footer__items {
      display: block;
      padding: 0 5%;
      text-align: center;
  }
  .logo_footer {
      width: 280px;
      display: block;
      margin: auto;
  }
  .footer__menu__item {
    display: block;
    margin-top: 40px;
  }
  .footer__menu__item li{
    padding: 16px 0;
    border-top: 1px dotted #666;
  }
  .footer__menu__item li:last-child{
    border-bottom: 1px dotted #666;
  }
  .footer__link{
    display: block;
  }
  .btn2,
  .btn3{
    margin: 0 auto 24px;
  }
  .footer__copy {
      margin-top: 32px;
      text-align: center;
      width: 100%;
  }
  .ttl__bigger {
    font-weight: 800;
    color: #fff;
    padding-left: 5%;
    line-height: 1.8;
    font-size: 7vw;
  }
  .font__lench {
      letter-spacing: -24px;
  }
  .ttl__small{
    font-size: 18px;
    padding: 0 24px;
      color: #fff;
  }
  .mv__btn__area {
      padding-left: 28px;
      margin-top: 10%;
  }
  .logo__box {
    width: 160px;
    height: 80px;
  }
  .sub__ttl__contents {
      font-size: 24px;
      margin-bottom: 32px;
  }
  .sub__base__contents {
      padding: 20% 5%;
      width: 100%;
  }
  .time__table td{
    display: inline-block;
    width: 100% !important;
    height: 40px;
    vertical-align: middle;
  }
  .time__table td:first-child{
    background: #2976B9;
    color: #fff;
  }
  .time__table td:last-child{
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sub__text__block {
      width: 640px;
      margin: 0 auto 18%;
      max-width: 100%;
  }
  .menu__link{
    display: block;
  }
  .menu__link > div {
      width: 312px;
      text-align: center;
      margin: 0 auto 16px;
  }
  .menu__link a {
      background: #000000;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 80px;
      color: #fff;
      line-height: 1.4;
      font-size: 140%;
      font-weight: 600;
      text-decoration: none;
  }
  .menu__box > img {
      width: 80%;
  }
  .menu__text__box {
      background: rgba(0,0,0,.8);
      width: 90%;
      padding: 32px;
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 10;
  }
  .menu__text__box > p {
      font-size: 16px;
      max-width: 100%;
  }
  .menu__point li {
      background: #2976B9;
      color: #fff;
      width: 360px;
      height: 54px;
      font-size: 16px;
      font-weight: 700;
      align-items: center;
      display: flex;
      align-items: center;
      margin: 0 auto 8px;
  }
  .menu__text__box h2 {
      margin: -28% 0 10% -16%;
      width: 95%;
  }
  .menu__point {
      width: 800px;
      max-width: 100%;
      display: flex;
      flex-wrap: wrap;
      margin-top: 10%;
  }
  .menu__box {
      width: 100%;
      height: 760px;
      position: relative;
  }
  .staff__item .block2_staff {
      width: 100%;
      background: #000000;
      display: flex;
      padding: 5%;
      z-index: 100;
      margin: 240px auto 104px;
  }
  .staff__item .staff__text {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
      margin-left: 0;
  }
  .sub__base__contents2 {
      padding: 20% 5%;
      width: 100%;
  }
  .about__contents {
      padding: 20% 5%;
    }
  .company__table td{
    display: block;
    width: 100% !important;
    border: none;
  }
  .company__table td:first-child{
    border-top: 2px solid #fff;
    border-bottom: 1px dotted #a2a2a2;
  }
  .sub_mv_wrapper {
    position: relative;
    width: 100%;
    height: 30vh;
    background-image: url(images/sub_mv_back_sp.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .time__table{
      width: 100%;
  }
  #menu3{
      height: 960px;
  }
  .sp__marker{
      display: inline-block;
        background: rgba(0,0,0,.9);
        padding: 4px;
        margin-bottom: 4px;
  }
  .mv_wrapper::before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/mv_back_sp.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    -webkit-animation: zoom 10s 1;
    animation: zoom 10s 1;
    animation-fill-mode: forwards;
    z-index: 0;
}
}
.sns__link{
    display: flex;
    justify-content: flex-end;
    margin: 16px 0;
    width: 100%;
}
.sns__link img{
    width: 40px;
    margin: 8px;
}
.staff__sns{
  justify-content: flex-start;

}
.mv__icon{
    position: absolute;
    right: 2%;
    bottom: 4%;
    width: 16%;
}
.aisatsu__block{
    display: flex;
    flex-wrap: wrap;
    width: 960px;
    max-width: 100%;
    margin: auto;
}
.aisatsu__block > div:first-child{
    width: 30%;
}
.aisatsu__block > div:last-child{
    width: 70%;
}
.aisatsu__block > div img{
    margin: 2%;
}
.aisatsu__block > div p{
    padding: 0;
    margin-left: 6%;
}
img{
    max-width: 100%;
}
.price__item{
    width: 1080px;
    margin: auto;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.price__item > div{
    width: 50%;
}
.price__item > div img{
    padding: 0 3%;
}
.attention__text strong{
    font-size: 110%;
    font-weight: 600
}
.attention__text strong.red{
    color: red;
}
.attention__text strong.underline{
    text-decoration: underline;
}
@media screen and (max-width: 599px){
    .mv__icon {
        width: 30%;
    }
    .aisatsu__block > div:first-child{
        width: 100%;
        display: flex;
        order: 2;
    }
    .aisatsu__block > div:first-child img{
        width: 46%;
    }
    .aisatsu__block > div:last-child{
        width: 100%;
        order: 1;
    }
    .aisatsu__block > div p{
        padding: 0;
        margin-left: 0%;
        margin-bottom: 6%;
    }
    .price__item > div{
        width: 100%;
    }
    .price__item > div img{
        padding: 0;
    }
}