@charset "utf-8";
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
 
.clearfix::after{
  content: "";
	display: block;
	clear: both;
}

body {
  font-family: 'Zen Kaku Gothic New','Avenir Next', sans-serif;
	font-size: 13px;
	letter-spacing: .09em;
  font-weight: 400;
  color: #333;
}

a {
	text-decoration: none;
	color: #333;
  transition: 0.5s;
}
 
a:visited{
	text-decoration: none;
	color: #333;
}
 
a:hover{
	text-decoration: none;
	color: #806f2c;
}
 
a:active {
	text-decoration: none;
	color: #636363;
}

.all-wrap{
    overflow: hidden;
}

#slider {
    width: 100%;
    height: 100vh;
}

.heading-block{
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.heading-block ul{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}


.top-logo {
    width: 400px;
}

.top-icon {
    width: 30px;
    margin-bottom: 10px;
}

.scroll-top {
    position: fixed;
    right: 4%;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    visibility: hidden; 
    transition: opacity .5s, visibility .5s; 
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: nowrap;
    animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }

.scroll-top.scroll-view {
    opacity: 1;
    visibility: visible;
}

.scroll-top a {
    text-decoration: none;
    color: #333;
    font-size:0.9rem;
    display: block;
}

.js-scroll a::after{
    content:"";
    position: absolute;
    top: -80px;
    right:0;
    width:1px;
    height: 100px;
    background: rgb(167, 167, 167);
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 10px;
    right: -3px;
    width: 1px;
    height: 10px;
    background:  rgb(167, 167, 167);
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
    right:-11px;
}

.js-pagetop a::after{
    content:"";
    position: absolute;
    top:-50px;
    right:0;
    width:1px;
    height: 90px;
    background:#636363;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -3px;
    width: 1px;
    height: 10px;
    background: #636363;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
    right:0;
}



/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    position:fixed;
    z-index: 999;
    top:0;
    right: -120%;
    width:30%;
    height: 100vh;
    background:linear-gradient(45deg,rgba(141, 164, 170, 0.868),rgba(255, 255, 255, 0.9));
    transition: all 0.6s;
}

#g-nav.panelactive{
    right: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 30%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
    list-style: none;
    text-align: left;
}

#g-nav li a{
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
    position:fixed;
    z-index: 9999;
    top:10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;
}

/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 7px;
    height: 2px;
    background-color:  rgb(167, 167, 167);
    width: 70%;
}

.openbtn span:nth-of-type(1) {
    top:15px;	
}

.openbtn span:nth-of-type(2) {
    top:23px;
}

.openbtn span:nth-of-type(3) {
    top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 9px;
    transform: translateY(6px) rotate(-45deg);
    width: 60%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 60%;
}

section{
    padding:100px 50px;
    position: relative;
	z-index:1;
	background:#f4f3f3;
    position: -webkit-sticky;
    position: sticky;
    top: 0;

}


.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

.blur{
	animation-name:blurAnime;
	animation-duration:2s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}

.highlight {
    border-bottom: dashed 2px #636363;
}

.area-1{
    margin-top: 100%;
}

.area-ttl{
    width: 77.6388888889%;
    font-size: 0.8rem;
    line-height: 1.3;
    letter-spacing: .15em;
    font-family: "Avenir55Roman", sans-serif;
    font-weight: normal;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.about-txt{
    max-width: 960px;
    width: 77%;
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: .09em;
    font-weight: normal;
    margin: 0 auto;
    margin-bottom: 30px;
}

.about-subtxt{
    max-width: 960px;
    width: 77%;
    font-size: 0.9rem;
    line-height: 2.0;
    letter-spacing: .09em;
    margin: 0 auto;
}

.bg-wrapper {
    background-color: #f4f3f3;
    position: relative;
    width: 100%;
    height: 50vh;
    /*範囲外の背景画像を隠す*/
    clip-path: inset(0);
}

.about-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: right;
    background-size: 85%;
    background-image: url(../img/m8_fac_img04.jpg);
    border-top-left-radius: 10px;
}
.about-bg2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: left;
    background-size: 85%;
    background-image: url(../img/m8_fac_img00.jpg);
}
/* .about-bg::before {
    content: "";
    display: block;

    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #f4f3f3 url(../img/m8_fac_img04.jpg) 50% 60% no-repeat fixed; 
    background-size: 85%;
    background-position: right;
    z-index: -1; 
} */

.eqt-list {
    margin-top: 10px;
    margin-bottom: 30px;
    list-style-type: circle;
    margin:0;
    padding:0;
    padding-left: 20px;

}
.eqt-list li {
    padding: 20px 0 20px 0;
    position: relative;
    margin:0;
}
.eqt-list li:hover {
    opacity:0.8;
}

.rec-txt {
    font-size: 13px;
}

.ctt-txt{
    width: 77%;
    font-size: 13px;
    padding: 30px 0;
    max-width: 960px;
    margin: 0 auto;
}

#footer{
    background:#b7b7b7;
    position: relative;
    z-index: 2;
    padding:100px 20px 30px;
    text-align: center;
    font-family: 'Copperplate','Copperplate Gothic Light','fantasy'; 
    line-height: 1.2;
}

.footer-txt{
    margin-bottom:20px;
}

.footer-box{
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0 50px;
}
.footer-bd{
    text-align: center;
    padding: 10px;

}
.bd-icon1, .bd-icon2{
    padding-top: 10px;
}
.bd-icon1{
    width: 180px;
}
.bd-icon2{
    width: 130px;
}

.sns-list{
    display: flex;
    justify-content: center;
    list-style: none;
}

.sns-list li {
  padding: 8px 15px;
}

/* ///////loop */
.loopSlide {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    width: 100vw;
    overflow: hidden;
    background: #f4f3f3;
    padding-bottom: 50px;

  ul {
      padding: 0;
      width: 100vw;
      display: flex;
      flex-shrink: 0;

      &:first-child {
          animation: slide1 60s -30s linear infinite;
      }

      &:last-child {
          animation: slide2 60s linear infinite;
      }

      li {
          display: inline-block;
          width: 100%;
          min-width: 150px;
          margin-right: 20px;
          list-style: none;
          text-align: center;

          img {
              display: block;
              width: 100%;
              height: auto;
          }

      }

  }
  
 &:hover {
      ul {
          animation-play-state: paused;
      }
  }
}

@keyframes slide1 {
  0% {
      transform: translateX(100%);
  }

  to {
      transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
      transform: translateX(0);
  }

  to {
      transform: translateX(-200%);
  }
}

/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
    list-style: none;
}

.tab li a{
	display: block;
	margin:0 30px 10px 0;

}

.tab li.active a{
    border-bottom: 1px solid #6b6b6b;
}

/*エリアの表示非表示と形状*/
.area {
	display: none;
	opacity: 0;
	padding-top: 50px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

h2 {
    font-size: 0.75rem;
    line-height: 1.8;
    letter-spacing: .09em;
    font-weight: normal;
    margin: 0 auto;
    margin-bottom: 30px;
}

a.btn_04 {
	position: relative;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    border: 1px solid #666;
	text-align: center;
    border-radius: 25px;

}
a.btn_04::before {
	content: "";
	display: block;
	width: 60px;
	height: 1px;
	background: #666;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -30px;
	margin: auto;
    z-index: 10;
    transition: all 0.1s;
    transition-delay: 0.2s;
}
a.btn_04:hover {
  background: #fff;
}

.tab-wrapper{
    width:77%;
    max-width: 960px;
    margin:30px auto;
  
}

.inner-table tr {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-top: 1px solid #c1bfbf;
}

.inner-table th {
    text-align: left;
    width: 20%;
    margin-right: 3rem;
    font-weight: normal;
}

.inner-table td {
    width: 75%;
}

.inner-table {
    width: 100%;
}

table {
    width: 100%;
    margin: auto;
    border-collapse: separate;
}

.inner-table tr:last-child {
    border-bottom: 1px solid #c1bfbf;
}

.tab-txt{
    padding-bottom: 30px;
}

@media only screen and (max-width: 768px){
    .top-logo{
      width: 280px;
    }
    
    .top-icon{
      width: 25px;
      margin-bottom: 8px;
    }
  
    #g-nav, #g-nav.panelactive #g-nav-list {
      width: 100%;
    }
  
    section {
      padding: 30px 0px;
    }
  
    .area-ttl {
      margin-bottom: 30px;
    }
  
    .about-txt,.about-subtxt,.ctt-txt{
      width: 77.6388888889%;
    }
  
    .about-txt{
      font-size: 1.0rem;
      line-height: 1.8;
    }
  
    .about-subtxt, .ctt-txt{
      font-size: 0.75rem;
      line-height: 1.5;
  
    }
    .inner-table tr {
      padding: 0.4rem 0;
    }
    .tab-txt {
      padding-bottom: 20px;
    }
    .inner-table th {
      width: 18%;
      margin-right: 1rem;
    }
    .inner-table tr {
        padding: 0.4rem 0;
        font-size: 10px;
    }
  
    table {

      width: 100%;
      margin: auto;
      border-collapse: separate;
      border-spacing: 0px;
    }
    
    .area {
      padding: 20px 0px;
    }

    .bg-wrapper {
        height: 30vh;
    }

    .about-bg{
        background-position: center; 
        background-size: 100%;
        width: 100%;
        background-image: url(../img/m8_fac_img04.jpg);

    }

    .about-bg2{
        background-position: center; 
        background-size: 100%;
        width: 100%;
        background-image: url(../img/m8_fac_img00.jpg);

      } 

    .footer-box {
      grid-template-columns: 1fr;
      padding: 0 0 30px;
    }

}