@charset "UTF-8";

body{
  width:100%;
  height:5000px;
}
.wrapper {
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container{
  width:100%;
  display:flex;
  flex-direction: row-reverse;
  max-width: 1920px;
  margin: 0 auto;
}

main{
  width:95%;
  display: block;
  margin-right: 5%;
  transition: 0.5s;
}

a{
  text-decoration: none;
}

.wrap {
	overflow: hidden;
}

.black{
  color:#333;
}

.left{
  text-align: left;
}
/* タイトル手書き */

p{
  color:#fff;
  /* font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", verdana, "Osaka", "MS PGothic", Sans-Serif;; */
  font-size: 16px; 
  text-align: center;
}

.firstbox {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height:720px;
  top:0px;
  left:0;
  right:0;
  bottom:0; 
  background-color:#2D7638;
  z-index:9999;
}


.mask{
position   : absolute;
top        : 45%;
left       : 50%;
transform  : translate(-50%,-50%);
z-index    : 9999;
}

.none{
  display:none;
}

@media only screen and (min-width: 1800px){
  .mask{
    width:60%;
  }
  .firstbox {
    height:1123px;
  }
}

@media only screen and (max-width: 1024px) {
  .mask{
    width:100%;
  }
}
/* /////////モバイル向け//////////// */


h1{
  font-family:"Crimson Text", serif;
  font-size: 38px;
  color:#1a1a1a;
  font-weight: 500;
  text-align: center;
}


/* --- 全体のBOX定義 ---------------------------------------- */
.box {
  position   : relative;
  max-width  : 100%;
  height     : 720px;
  overflow   : hidden;
}

/* --- 背景の指定 ------------------------------------------- */
.box .bgImg {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 20s infinite;   /* 4画像 × 各5s = 20s */
}

/* --- 段差で背景画像のアニメーションを実行 ----------------- */
.box .src1 {
  background-image : url("../img/IMG_0963-min.jpg");   /* 背景の画像を指定 */
  background-size:cover;
  background-position:center;
}

.box .src2 {
  background-image : url("../img/jealous-weekends-pq4z8CuXwUM-unsplash-min.jpg");   /* 背景の画像を指定 */
  animation-delay  : 5s;
  background-position:center bottom;
  background-size:cover;
}
.box .src3 {
  background-image : url("../img/gazou1-min.jpg");   /* 背景の画像を指定 */
  animation-delay  : 10s;
  background-size:cover;
  background-position:center;
}
.box .src4 {
  background-image : url("../img/gazou3-min.jpg");   /* 背景の画像を指定 */
  animation-delay  : 15s;
  background-size:cover;
  background-position:center;
}

@media only screen and (min-width: 1800px){
  .box{
    height:1123px;
  }
}


@keyframes bgAnime {
   0% { opacity: 0; }
   5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
 100% { opacity: 0; }
}

/* --- ハサミ ----- */
.home-mv-scrollBtn {
  font-family: 'Arvo', serif;
  text-align: center;
  width: 30px;
  height: 70px;
  margin: 0 auto;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
  top:630px;
}

.box p{
  position: absolute;
  top:600px;
  display:block;
  color:#fff;
  font-family: 'Arvo', serif;
  font-size: 16px;  
}

.home-mv-scrollBtn a {
  color: #fff;
}

.home-mv-scrollBtn a:hover {
  text-decoration: none;
}

.home-mv-scrollBtn img {
  width: 30px;
  position: absolute;
  left: 0;
  top: 630px;
}

.on2 .home-mv-scrollBtn {
  opacity: 1;
}

.home-mv-scrollBtn-ico {
  position: relative;
  margin-left: 5px;
  width: 30px;
}

.home-mv-scrollBtn-scissors01 {
  -webkit-transform: rotate(14deg);
  -ms-transform: rotate(14deg);
  transform: rotate(14deg);
  -webkit-transform-origin: 19px 19px;
  -ms-transform-origin: 19px 19px;
  transform-origin: 19px 19px;
  -webkit-animation: home-mv-scrollBtn-scissors01 2.1s infinite;
  animation: home-mv-scrollBtn-scissors01 2.1s infinite;
}

.home-mv-scrollBtn-scissors02 {
  -webkit-transform: rotate(-14deg) translate(3px, 0px);
  -ms-transform: rotate(-14deg) translate(3px, 0px);
  transform: rotate(-14deg) translate(3px, 0px);
  -webkit-transform-origin: 19px 19px;
  -ms-transform-origin: 19px 19px;
  transform-origin: 19px 19px;
  -webkit-animation: home-mv-scrollBtn-scissors02 2.1s infinite;
  animation: home-mv-scrollBtn-scissors02 2.1s infinite;
}

@-webkit-keyframes home-mv-scrollBtn-scissors01 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  10% {
    -webkit-transform: rotate(14deg);
    transform: rotate(14deg);
  }
  20% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  30% {
    -webkit-transform: rotate(14deg);
    transform: rotate(14deg);
  }
  40% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes home-mv-scrollBtn-scissors01 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  10% {
    -webkit-transform: rotate(14deg);
    transform: rotate(14deg);
  }
  20% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  30% {
    -webkit-transform: rotate(14deg);
    transform: rotate(14deg);
  }
  40% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@-webkit-keyframes home-mv-scrollBtn-scissors02 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  10% {
    -webkit-transform: rotate(-14deg);
    transform: rotate(-14deg);
  }
  20% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  30% {
    -webkit-transform: rotate(-14deg);
    transform: rotate(-14deg);
  }
  40% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes home-mv-scrollBtn-scissors02 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  10% {
    -webkit-transform: rotate(-14deg);
    transform: rotate(-14deg);
  }
  20% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  30% {
    -webkit-transform: rotate(-14deg);
    transform: rotate(-14deg);
  }
  40% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

/* オープニングシャッター */

.shutter0{
  position: absolute;
  width: 100%;
  height:650px;
  top:720px;
  left:0;
  right:0;
  bottom:0; 
  background-color:#2D7638;
  z-index:9999;
}
.shutter1{
  position: absolute;
  width: 100%;
  height:650px;
  top:720px;
  left:0;
  right:0;
  bottom:0; 
  background-color:#2D7638;
  z-index:9997;
  -webkit-animation: byeShutter 2.0s forwards;
          animation: byeShutter 2.0s forwards;
}

@media only screen and (min-width: 1800px){
  .box{
    height:1123px;
  }
  .home-mv-scrollBtn img {
    top:1000px;
    width:50px;
  }
  .box p{
    top:950px;
    font-size: 26px;
}
  .shutter0{
    height:720px;
    top:1123px;
  }

}

@media only screen and (max-width: 1024px){
  .shutter1{
    height:620px;
  }
}

@media only screen and (max-width: 600px){
  .shutter1{
    height:720px;
    top:550px;
  }
  .shutter0{
    height:720px;
    top:550px;
  }
  .box{
    height:550px;
  }
    /* --- ハサミ ----- */
  .home-mv-scrollBtn {
    font-family: 'Arvo', serif;
    text-align: center;
    width: 30px;
    height: 70px;
    margin: 0 auto;
    -webkit-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
    top:430px;
  }

  .box p{
    position: absolute;
    top:390px;
    display:block;
    color:#fff;
    font-family: 'Arvo', serif;
    font-size: 16px;  
  }

  .home-mv-scrollBtn a {
    color: #fff;
  }

  .home-mv-scrollBtn a:hover {
    text-decoration: none;
  }

  .home-mv-scrollBtn img {
    width: 30px;
    position: absolute;
    left: 0;
    top: 430px;
  }
}


/* 白い線 */
.wcenter0{
  display:none;
}
.wcenter{
  position:absolute;
  top:0;
  left:0;
  z-index:9999;
  bottom:0; 
  -webkit-animation: scissorcenter 3s,width0 0.1s forwards;
          animation: scissorcenter 3s,width0 0.1s 3s forwards;
}

.home-greeting-scissors0 {
  display:none;
}

.home-greeting-scissors {
  position: absolute;
  left: 49.5%;
  top: -80px;
  z-index: 10000;
  opacity: 0;
  width:2%
}

.home-greeting-scissors {
  -webkit-animation: home-greeting-scissors 1.3s;
  animation: home-greeting-scissors 1.3s;
}

@keyframes home-greeting-scissors {
  0% {
    top:-80px;
    opacity: 1;
  } 
  100% {
    top: 550px;
    opacity: 1;
  }
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

@keyframes scissorcenter {
  0% {
    width: 2%;
    height: 0%;
    left:47%;  
  }
  30%{
    width: 2%;
    height: 100%;
    left:47%;
  }
  100% { 
    width: 400%;
    height: 100%;
    left:-148%;
  }
}

@keyframes width0{
  0%{
    width: 400%;
    height: 100%;
    left:-148%;
  }
  100%{
    width:0%;
  }
}
@media only screen and (min-width: 1800px) {
  @keyframes scissorcenter {
    0% {
      width: 2%;
      height: 0%;
      left:47.5%;  
    }
    30%{
      width: 2%;
      height: 100%;
      left:47.5%;
    }
    100% { 
      width: 400%;
      height: 100%;
      left:-148%
    } 
  }
  .home-greeting-scissors {
    position: absolute;
    left: 50%;
    top: -80px;
    z-index: 10000;
    opacity: 0;
    width:2%
  }
  
}


@media only screen and (max-width: 600px) {
  @keyframes scissorcenter {
    0% {
      width: 2%;
      height: 0%;
      left:49.5%;  
    }
    30%{
      width: 2%;
      height: 100%;
      left:49.5%;
    }
    100% { 
      width: 400%;
      height: 100%;
      left:-148%
    }
  }
}

/* block */
.block{
  width:100%;
  height:auto;
  margin-top:80px;
  padding:80px 0;
  background-size: cover;
}

.block p{
  font-size:18px;
  line-height: 1.8;
}

.block .category_title{
  font-family: "Crimson Text", serif;
  font-size: 38px;
}

@media only screen and (min-width: 1800px) {
  .block .category_title{
    font-size: 46px;
  }
  .block p{
    font-size:24px;
  }
}


@media only screen and (max-width: 600px) {
  .block{
    margin-top:40px;
    padding:40px 0px;
  }

  .block .category_title{
    font-size:24px;
  }
}

/* first */

.first2{
  max-width: 1000px;
  width: 100%;
  margin: 100px auto 0;
  padding: 0 20px;
}

.first2_all {
  position:relative;
}

.flex3-left-all {
  position: relative;
  z-index: 1;
}

.flex3-left-top{
  margin-bottom: 30px;
  margin-top:20px;
  z-index: 10;
}

.flex3-left-top p{
  color:#333;
  text-align: left;
}

.txtl{
  font-family: "Crimson Text", serif;
  font-size: 40px;
}

.txtm{
  font-family: "YuMincho",  serif;
  font-size:32px;
  font-weight:700px;
  margin-top:50px;
}

/* // アニメーション */
@keyframes fade-in4 {
  0% {
    opacity: 0;
    transform: translate3d(120px, 0, 0);
  }
  50% {
    opacity: 0;
    transform: translate3d(120px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);   
  }
}

.flex3-right-wrap {
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
}

.flex3-right{
  max-width: 100%;
    height: auto;
} 

_::-webkit-full-page-media, _:future, :root .flex3-right{
  width:820px;
  height:547px;
}

/* // アニメーション */
@keyframes fade-in5 {
  0% {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }
  50%{
    opacity: 0;
    transform: translate3d(0, -60px, 0);   
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);  
  }
}

.flex3-left-bottom0{
    width:35%;
    position:absolute;
    top:50%;
    left:10%;
    padding:40px 0;
    z-index: -5;
}

.flex3-left-bottom{
  opacity: 0;
  width: 45%;

}

/* // アニメーション */
@keyframes fade-in6 {
  0% {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);   
  }
}

.flex3-left-bottom p{
  color:#333;
  text-align:left;
  font-size: 18px;
  background-color: #fff;
  line-height: 2;
  padding: 30px;
  padding-left: 0;
}

.center{
  width:70px;
  top:-4%;
  right:6%;
  opacity: 0;
  position:absolute;

}

.circle1 {
  opacity: 0;
  display: inline-block;
  font-size: 3em;
  width: 140px;
  top: -9%;
  right: 3%;
  position:absolute;
}

@keyframes fade-in8 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0; 
    transform: translate3d(40px, 0, 0);
  }
  100% {
    opacity: 1;
  }
}
 
@keyframes r1 {
  0% {
    transform: rotate(0deg);
    opacity:1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 1;
  }
}

@media only screen and (min-width: 1800px){
  .flex3-left-bottom {
    top: 55%;
    padding: 50px 0;
  }
  .flex3-left-bottom p{
    font-size: 22px;
  }
  .txtl {
    font-size: 48px;
  }
  .txtm {
    font-size: 36px;
  }
  /* .center {
    right: 229px;
  } */
  /* .circle1 {
    right: 200px;
  } */
}


@media only screen and (max-width: 1024px){
  .flex3-left-bottom p{
    line-height: normal;
    font-size:16px;
  }
  .txtm{
    font-size:25px;
    margin-top:40px;
  }
  .txtl{
    font-size:30px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .flex3-left-all {
    padding-top: 60px;
  }
  .flex3-left-top{
    margin-bottom: 55px;
  }
}

@media only screen and (max-width: 767px){
  .first2 {
    padding: 0 20px;
  }
  .flex3-left-all {
    margin-top: -70px;
    padding-left: 20px;
  }
  .flex3-left-top {
    margin-bottom: 0;
    display: inline-block;
    padding: 20px 20px 0 0;
    background-color: #fff;
  }
  .flex3-left-top .txtl {
    font-size: 30px;
  }
  .flex3-left-bottom {
    width: 100%;
    left: 0;
    padding: 0;
  }
  .flex3-right-wrap {
    position: relative;
    margin: auto;
    max-width: 100%;
  }
  .txtm{
    font-size:18px;
    margin-top:30px;
  }
  .txtl{
    font-size:25px;
  }
  .center{
    width:40px;
    top:-7%;
    right:100px;
  }
  .circle1{
    width:80px;
    top:-11%;
    right:84px;
  }
  .block p{
    font-size:13px;
  }
}


@media only screen and (max-width: 600px){

  .flex3-left-bottom p{
    font-size:13px;
  }
  .txtl{
    font-size:18px;
  }
  /* .center{
    width:35px;
    top:-7%;
    right:50px;
  }
  .circle1{
    width:75px;
    top:-11%;
    right:34px;
  } */
  _::-webkit-full-page-media, _:future, :root .flex3-right{
    width: 253px;
    height:168px;
  } 
}

/* second */
.second {
  padding-top: 80px;
  display: block;
}

.second-bg {
  padding: 80px 30px;
  background:url("../img/salonget.jpg") no-repeat;
  background-size: cover;
  background-position: center right 30%;
  background-attachment: fixed;
}

.second .txtbox {
  max-width: 1000px;
  margin: auto;
  /* padding: 0 30px; */
}

.second p{
  color:black;
  text-align: left;
  line-height: 2;
}


@media only screen and (max-width: 600px) {
  .second{
    padding-left:0;
  }
  .second .txtbox {
    text-align: center;
    padding: 0 20px;
  }
  .second  .category_title{
    font-size: 20px;
  }
  .second p{
    display: inline-block;
    text-align: left;
    line-height: 1.7;
    font-size: 13px;
  }

}
/* Youtube */
#container{
  margin-top:80px;
}

.main_area .category_title {
  font-family: "Crimson Text", serif;
  font-size: 38px;
  color:#333;
}

#container .movie_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

#container .movie_wrap .ytube {
  margin-bottom: 20px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  /* padding-top: 56.25%; */
  width: 312px;
  height: 180px;
}

#container .movie_wrap .ytube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#container .movie_wrap .ytube a {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#container .movie_wrap::after {
  content: "";
  display: block;
  width: 320px;
  height: 0;
}

/* ここからchart */

.charts_wrap_bg {
  background-color: #f9f9f9;
}

.charts_wrap {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  padding: 60px 0;
}

.charts_wrap .category_title,
.flex .category_title {
  color: black;
  text-align: center;
}

.charts_all {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.charts_all > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  position: relative;
}

.charts_all p {
  color: black;
  font-size: 18px;
  margin-top: 20px;
}

.chart {
  position: relative;
  width: 200px;
  height: 200px;
  line-height: 200px;
  margin-top: 30px;
  font-size: 30px;
  color: #3c3c3c;
  font-weight: bold;
  text-align: center;
  }

  .chart canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  }
  .angular {
  margin-top: 100px;
  }
  .angular .chart {
  margin-top: 0;
  }
  input {
  display: block;
  margin: auto;
  margin-bottom: 3em;
  }

/* ここまで */

.box_right0 .box_left0{
  opacity:0;
}

.box_right{
  animation:fade-in11 1s  forwards ;
  opacity: 0;
}
.box_left{
  animation:fade-in11 2s  forwards ;
  opacity: 0;
}

@keyframes fade-in11 {
  0% {
    opacity: 0; 
    transform: translate3d(0, 60px, 0)
  }
  100% {
    opacity: 1;  
  }
}

@media only screen and (min-width: 1800px){
  .main_area .category_title{
    font-size: 48px;
  }

  .charts_all p,
  .flex_right_text {
    font-size: 26px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .container .movie_wrap {
    padding: 0 20px;
    justify-content: space-evenly;
  }
}

@media only screen and (max-width: 600px){
  #container{
    margin-top:40px;
  }
}

@media only screen and (max-width: 450px){
  .main_area .category_title {
    font-size: 24px;
  }

  #container .movie_wrap {
    display: block;
  }
  #container .movie_wrap iframe {
    width: 100%;
  }

  .charts_all {
    flex-direction: column;
    align-items: center;
  }
  .charts_all p {
    font-size: 16px;
  }
  .charts_wrap .category_title,
.flex .category_title {
  font-size: 24px;
}
}

/* three */

.three{
  background-image:url("../img/gazou3-min.jpg");
  background-position: center;
  opacity: 0;
  padding: 80px 30px;
  margin-top: 0;
}

.three .txtbox{
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 40px;
}

.three .txtbox p{
  color: black;
  opacity: 1;
  line-height: 1.8;
}

@media only screen and (max-width: 450px){
  .three{
    padding: 40px 20px;
    margin-top: 0;
  }
  .three .txtbox{
    padding: 30px;
    text-align: center;
  }
  .three .txtbox p {
    display: inline-block;
    text-align: left;
  }
  .three .category_title{
    font-size: 24px;
    margin-bottom: 20px;
  }
  .three .category_title p{
    line-height: 1.7;
    font-size: 14px;
  }
}

/* four */
.four{
  position:relative;
  height:100vh;
  background: rgba(0, 0, 0, 0.2);
  padding:70px 0;
}

.flex4{
  width:85%;
  margin:0 auto;
}

.flex4-left-top{
  /* width:45%; */
  position: absolute;
  z-index: 4;
}

.flex4-left-top p{
  color:#fff;
  text-align: left;
}

.flex4 .txtl{
  color: #333;
  font-size: 38px;
}

/* // アニメーション */
@keyframes fade-in12 {
  0% {
    opacity: 0;
    transform: translate3d(60px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);   
  }
}

.flex4-right{
  opacity: 0;
  position: absolute;
  left:48%;
  top: 18%;
  width:45%;
} 

/* // アニメーション */
@keyframes fade-in13 {
  0% {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);  
  }
}

.flex4-left-bottom{
  opacity: 0;
  width:40%;
  position:absolute;
  top:50%;
  left:7.92%;
  background-color:rgba(255, 255, 255, 0.6);
  text-align: center;
  padding:45px 20px;
}

/* // アニメーション */
@keyframes fade-in7 {
  0% {
    opacity: 0;
    transform: translate3d(-60px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);   
  }
}

.flex4-left-bottom p{
  color:#333;
  text-align:left;
  display: inline-block;
  font-size: 20px;
}

.flex4-right-bottom{
  opacity: 0;
  width:25%;
  position:absolute;
  top:28%;
  left:38%;
}

@media only screen and (min-width: 1800px){
  .flex4 .txtl {
    font-size: 46px;
  }
  .flex4-left-bottom p {
    line-height: 2;
    font-size: 26px;
  }
}

@media only screen and (max-width: 768px){
  .four {
    height: 450px;
  }
  .flex4-left-top {
    margin-top: 10px;
}
  .flex4 .txtl {
    font-size: 20px;
  }
  .flex4-right-bottom{
    top:30%;
  }
  .flex4-left-bottom {
    padding: 10px 0;
    padding-right: 10px;
  }
  .flex4-left-bottom p {
    font-size: 16px;
    line-height: unset;
  }
}
@media only screen and (max-width: 420px){
  .four {
    height: 380px;
    padding: 30px 0;
  }
  .flex4-left-top {
    margin-top: 5px;
}
  .flex4 .txtl {
    font-size: 20px;
  }
  .flex4-right-bottom{
    top:35%;
  }
  .flex4-left-bottom {
    padding: 15px;
    top:40%;
  }
  .flex4-left-bottom p {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* five */
.flex{
  margin:80px auto;
  text-align: center;
}

.flex-left{
  padding: 20px;
  background-color: #333;
}

.flex-left p{
  color:#fff;
  font-size:16px;
  line-height: 1.8;
  margin-top: 10px;
}

.flex-left .category_title{
  font-size:30px;
}

.flex-right{
  width: 50%;
  height: auto;
  display: flex;
}

.flex-right img{
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.flex-right0{
  display:none;
}

.flex-right1{
  width:50%;
  background-color: #fff;
}

.flex_right_text {
  color: black;
  text-align: center;
  display: inline-block;
}

.flex_right_text li {
  text-align: left;
  margin-bottom: 5px;
  position: relative;
  display: table;
}

.flex_right_text li:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform .7s;
}

.flex_right_text li:hover::before {
  transform: scale(1, 1);
}


.flex_right_text li span {
  padding-right: 10px;
}

.btn {
  display: flex;
  justify-content: center;
  margin: 25px auto 0;
}

.mod-btn01{
  color:black;
  padding: 12px 20px;
  font-family: 'Arvo', serif;
  display: block;
  text-align: center;
  position: relative;
  width: 400px;
  overflow: hidden;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.mod-btn01:hover {
  opacity: 0.8;
}

.mod-btn01:hover .btn_lines_item {
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}

.btn .btn_lines_item {
  position: absolute;
  -webkit-transition: 0.4s cubic-bezier(0.76, 0.15, 0.24, 0.87);
  -o-transition: 0.4s cubic-bezier(0.76, 0.15, 0.24, 0.87);
  transition: 0.4s cubic-bezier(0.76, 0.15, 0.24, 0.87);
  background: #333;
}

.btn .btn_lines_item.btn_line_01 {
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

.mod-btn01:hover .btn_lines_item.btn_line_01 {
  -webkit-animation: mod-btn01-lineX 0.4s forwards;
  animation: mod-btn01-lineX 0.4s forwards;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
}

.btn .btn_lines_item.btn_line_02 {
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

.mod-btn01:hover .btn_lines_item.btn_line_02 {
  -webkit-animation: mod-btn01-lineY 0.4s forwards;
  animation: mod-btn01-lineY 0.4s forwards;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
}

.btn .btn_lines_item.btn_line_03 {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

.mod-btn01:hover .btn_lines_item.btn_line_03 {
  -webkit-animation: mod-btn01-lineX 0.4s forwards;
  animation: mod-btn01-lineX 0.4s forwards;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
}

.btn .btn_lines_item.btn_line_04 {
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  -webkit-transform-origin: left bottom;
  -ms-transform-origin: left bottom;
  transform-origin: left bottom;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.mod-btn01:hover .btn_lines_item.btn_line_04 {
  -webkit-animation: mod-btn01-lineY 0.4s forwards;
  animation: mod-btn01-lineY 0.4s forwards;
  -webkit-transform-origin: left bottom;
  -ms-transform-origin: left bottom;
  transform-origin: left bottom;
}

@-webkit-keyframes mod-btn01-lineX {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

@keyframes mod-btn01-lineX {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

@-webkit-keyframes mod-btn01-lineY {
  0% {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes mod-btn01-lineY {
  0% {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@media only screen and (min-width: 1800px){
  .flex-left .category_title {
    font-size: 40px;
  }
  .charts_wrap .category_title,
  .flex .category_title {
    font-size: 46px;
  }
  .flex-left p {
    font-size: 22px;
  }
  .btn a {
    font-size: 22px;
    /* width: 70%; */
  }
}

@media only screen and (max-width: 1024px){
  .flex-right1{
    width:100%
  }
  .flex{
    flex-direction: column;
  }
  .flex-right {
    display: block;
  }
  .flex-left{
    width:100%;
  }
  .flex-left p{
    font-size:18px;
  }
  .flex-right{
    width:100%;
    vertical-align: middle;
  }
  .btn{
    margin-top:30px;
  }
}

@media only screen and (max-width: 767px){
  .flex-left .category_title {
    font-size: 24px;
    line-height: 1.3;
  }
}
@media only screen and (max-width: 600px){
  .flex-left p{
    font-size:14px;
    line-height: 1.8;
  }
}

/* instagram */

.iswg-icon{
  display:none;
}

.iswg-profile{
  display:none;
}

.iswg-images{
  justify-content: space-around;
}

.iswg-images .iswg-images-item{
  width:21% !important;
  margin-bottom: 35px;
}

#insta-widget{
  border:none !important;
  width:80%  !important;
  margin: 0 auto;
}

.iswg-copyright-wrapper{
  display:none;
}

.snapwidget{
  margin-top: 80px;
  opacity: 0;
}

.snapwidget p{
  color:#333;
}

.snapwidget-widget{ 
  width:90%;
  height:300px;
  display: block;
  margin:0 auto;
  animation:fade-in11 1s  forwards ;
  opacity: 0;
}


.snapwidget .btn{
  width:150px;
  height:50px;
  background-color:#fff;
  border-radius: 0px;
  border: #333 solid 1px;
  text-align:center;
  margin:40px auto 0 auto;
}

@media only screen and (min-width: 1800px){
  .snapwidget .category_title{
    font-size: 48px;
  }
}

@media only screen and (max-width: 768px){
  .snapwidget-widget{
    height:230px;
  }
  #insta-widget{
    width:95%  !important;
  }
}
@media only screen and (max-width: 600px){
  .snapwidget{
    margin-top: 40px;
  }
  #insta-widget{
    width:95%  !important;
  }
}
@media screen and (max-width: 450px){
  .mod-btn01 {
    width: 300px;
    font-size: 13px;
  }

  .flex_right_text {
    font-size: 13px;
  }

  .flex{
    padding: 0 20px;
  }
}

/* six */
.six1{
  background-color: #333;
  margin-top: 80px;
  padding: 100px 60px 80px 60px;
}

.greens {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #2D7638;
  z-index: 1;
} 

@keyframes greens {
  0% {
    width: 100%;
    height: 1%;
  }
  50% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 0%;
    height: 100%;
  }
}

.whitetop{
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

.whitetop2{
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

.whitetop3{
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

.whitetop4{
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

@keyframes whitetop {
  0% {
    left: 5%;
    top: 15px;
    width: 0;
    height: 1px;
  }
  100% {
    left: 5%;
    top: 15px;
    width: 90%;
    height: 1px;
  }
}

@keyframes nowhitetop {
  0% {
    left: 5%;
    top: 15px;
    width: 90%;
    height: 1px;
  }
  100% {
    left: 5%;
    top: 15px;
    width: 0;
    height: 0;
  }
}

.whiteright {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

.whiteright2{
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 
.whiteright3 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 
.whiteright4 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

@keyframes whiteright {
  0% {
    left: 95%;
    top: 15px;
    width: 1px;
    height: 0;
  }
  100% {
    left: 95%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
}

@keyframes nowhiteright {
  0% {
    left: 95%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
  50%{
    left: 95%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
  100% {
    left: 95%;
    top: 15px;
    width: 1px;
    height: 0;
  }
}

.whiteleft {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 
.whiteleft2 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 
.whiteleft3 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 
.whiteleft4 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: #fff;
  z-index: 2;
} 

@keyframes whiteleft {
  0% {
    left: 5%;
    top: 100%;
    width: 1px;
    height: 0;
  }
  100% {
    left: 5%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
}

@keyframes nowhiteleft {
  0% {
    left: 5%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
  50%{
    left: 5%;
    top: 15px;
    width: 1px;
    height: 100%;
  }
  100% {
    left: 5%;
    top: 100%;
    width: 1px;
    height: 0;
  }
}

.flex5{
  display:flex;
  /* justify-content: center; */
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex5_el{
  width:20%;
  position: relative;
  /* margin-right:40px; */
}

@keyframes flex5_el{
  0% {
    opacity:0;
  }
  90%{
    opacity:0;
  }
  100% {
   opacity: 1;
  }
}

.chat{
  opacity:0;
  background-size:cover;
  height:396px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease-out;
}

.chat:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("../img/Private\ Chat2-min.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.chat:hover:after {
  opacity: .8;
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.skype{
  opacity:0;
  background-size:cover;
  height:396px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease-out;
}

.skype:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("../img/Skype2-min.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.skype:hover:after {
  opacity: .8;
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.facebook{
  opacity:0;
  background-size:cover;
  height:396px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease-out;
}

.facebook:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("../img/Facebook2-min.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.facebook:hover:after {
  opacity: .8;
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.meeting{
  opacity:0;
  background-size:cover;
  height:396px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease-out;
}

.meeting:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("../img/Meeting2-min.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.meeting:hover:after {
  opacity: .8;
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.flex5_item {
  flex-direction: column;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
}

.flex5_el_txt{
  opacity: 0;
  background-color: white;
  padding:30px;
  margin-top: -10px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex5_el_txt p{
  color:#333;
  font-family: "Crimson Text", serif;
  font-size: 18px;
}

.white-height{
  /* max-width: 1000px; */
  width: 85%;
  margin: 80px auto 0;
  /* padding: 0 20px; */
  background-color: white;
  z-index: -1;
}

@media only screen and (min-width: 1800px){
  .six1{
    padding: 80px 60px;
  }
  .six1 .category_title {
    margin-bottom: 60px;
    font-size: 46px;
  }
  .chat{
    height:540px;
  }
  .meeting{
    height:540px;
  }
  .facebook{
    height:540px;
  }
  .skype{
    height:540px;
  }
  .flex5_el_txt p {
    font-size: 26px;
  }
}

@media only screen and (max-width: 1024px){
  /* .white-height{
    height:900px;
  }  */
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .flex5 {
    justify-content: center;
  }
  .flex5_el{
    width: 38%;
    margin-bottom: 3%;
    margin-right: 3%;
  }
}

@media screen and (max-width: 768px){
  /* .flex5_el {
    width: 45%;
    margin-right: 10px;
    margin-top: 10px;
  } */
  .six1 .category_title {
    font-size:24px;
  }
}

@media screen and (max-width: 450px){
  .six1{
    padding: 40px 20px;
    margin-top: 40px;
  }
  
  .flex5_el {
    width: 45%;
    margin-top: 10px;
  }

  .flex5_el_txt p{
    font-size: 15px;
  }

  .six1 .category_title {
    margin-bottom: 20px;
  }

}


/*7段目*/
  .wrap1{
    /* padding: 60px 0; */
    overflow: hidden;
    position:relative;
  }
/* ----- 背景用の動画ファイル ----- */
#bg-video{
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  position: absolute;
  bottom: 0;
  /* top: -300px; */
  /* background: url('poster.jpg') no-repeat;
  background-size: cover; */
 }
 /* ----- 背景の上に表示させたいコンテンツ ----- */

.wrap1-center{
  width: 50%;
  margin: 0 auto;
  padding: 50px 0;
}

.mask2{
  width:100%;
}

.mask3{
  display: block;
  margin: 0 auto;
  width:50%;
}

 .mask3 img{
   width:25px;
   vertical-align:text-bottom;
 }

 .flex2{
   display:flex;
   justify-content: center;
 }

 .flex2 i{
   margin-right:20px;
 }

 .flex2-right{
   margin-left:40px;
   font-size: 20px;
 }
 .flex2-left{
   font-size: 20px;
 }

 @media only screen and (min-width: 1800px){
  .flex2-right{
    font-size: 35px;
  }
  .flex2-left{
    font-size: 35px;
  }
}

  @media only screen and (max-width: 1024px){
    .mask3{
      width:50%;
    }
  }
  @media only screen and (max-width: 768px){
    .mask3{
      width:70%;
    }
  }

  @media only screen and (max-width: 600px){
    /* .mask3{
    width:70%;
  } */
    .flex2 i{
      margin-right:10px;
    }
    .flex2-right{
      margin-left:20px;
      font-size: 10px;
    }
    .flex2-left{
      font-size: 10px;
    }
 } 
/* colorbox */
 .seven-box-left{
  height:350px;
  width: 920px;
  background-color: black;
  margin: 0;
}

.seven-box-left-right-top-img{
  width:500px;
  height: 300px;
  margin-left:60px;
  margin-top:60px;
  background-image: url("../img/Chat-min.jpg");
  background-size: cover;
}
.seven-box-left-right-top-img2{
  width:500px;
  height: 300px;
  margin-left:60px;
  margin-top:60px;
  background-image: url("../img/Skype-min.jpg");
  background-size: cover;
}
.seven-box-left-right-top-img3{
  width:500px;
  height: 300px;
  margin-left:60px;
  margin-top:60px;
  background-image: url("../img/Facebook-min.jpg");
  background-size: cover;
}
.seven-box-left-right-top-img4{
  width:500px;
  height: 300px;
  margin-left:60px;
  margin-top:60px;
  background-image: url("../img/Meeting-min.jpg");
  background-size: cover;
}

.seven-box-left-right{
  position: absolute;
  top:22%;
  left:50%;
  background-color: white;
  width:370px;
  padding: 20px;
}

.seven-box-left-right p{
  color:black;
  text-align: left;
  line-height: 30px;
}

.blacks {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: black;
  z-index: 1;
  animation: blacks 1.5s forwards;
} 

@keyframes blacks {
  0% {
    width: 95%;
    height: 100%;
  }
  30% {
    width: 95%;
    height: 100%;
  }
  100% {
    width:0%;
    height: 100%;
  }
}

.blacks2 {
  position: absolute;
  top:0;
  left:0;
  content: "";
  display: block;
  background: black;
  z-index: 1;
  animation: blacks2 1.5s forwards;
} 

@keyframes blacks2 {
  0% {
    width: 100%;
    height: 95%;
  }
  30% {
    width: 100%;
    height: 95%;
  }
  100% {
    width:100%;
    height: 0%;
  }
}

@keyframes fade-up{
  0% {
    height:0%;
    opacity: 0;
  }
  30%{
    height:10%;
    opacity: 1;
  }
  40%{
    height: 10%;
    opacity: 1;
  }
  100% {
   height:100%;
   opacity: 1;
  }
}

@keyframes fade-slide{
  0% {
    width:0;
    height:220px;
    opacity: 0;
  }
  
  100% {
    width:370px;
    height:220px;
    opacity: 1;
  }
}

@media only screen and (max-width: 768px){
  .seven-box-left{
    height:190px;
    width: 500px;
    background-color: black;
    margin: 0;
  }
  .seven-box-left-right-top-img{
    width:271px;
    margin-left:30px;
    margin-top:30px;
  }
  .seven-box-left-right-top-img2{
    width:271px;
    margin-left:30px;
    margin-top:30px;
  }
  .seven-box-left-right-top-img3{
    width:271px;
    margin-left:30px;
    margin-top:30px;
  }
  .seven-box-left-right-top-img4{
    width:271px;
    margin-left:30px;
    margin-top:30px;
  }
  .seven-box-left-right{   
    width:271px;
    margin-left:20px;
    margin-top:20px;
  }
  .seven-box-left-right p{
    color:black;
    text-align: left;
    line-height: 20px;
    font-size: 9px;
  }
  .seven-box-left-right{
    position: absolute;
    top:14%;
    left:40%;
    background-color: white;
    width:230px;
    padding: 10px;
  }
}

@media only screen and (max-width: 450px){
  .seven-box-left{
    height:190px;
    width: 300px;
    background-color: black;
    margin: 0;
  }
  .seven-box-left-right-top-img{
    width:180px;
    margin-left:18px;
    margin-top:18px;
  }
  .seven-box-left-right-top-img2{
    width:180px;
    margin-left:18px;
    margin-top:18px;
  }
  .seven-box-left-right-top-img3{
    width:180px;
    margin-left:18px;
    margin-top:18px;
  }
  .seven-box-left-right-top-img4{
    width:180px;
    margin-left:18px;
    margin-top:18px;
  }
  .seven-box-left-right{
    width:180px;
    margin-left:18px;
    margin-top:18px;
  }
  .seven-box-left-right p{
    color:black;
    text-align: left;
    line-height: 15px;
    font-size: 5px;
  }
  .seven-box-left-right{
    position: absolute;
    top:4%;
    left:40%;
    background-color: white;
    width:120px;
    padding: 10px;
  }
  .rightunder{
    width:130px;
    top:-3%;
  }

  .leftunder{
    top:7%;
  }
}

/* ハンバーガーメニュ */
.sidebar{
  width:5%;
  position: fixed;
  margin-bottom: 0;
  z-index: 30;
  float: left;
  background-color: #fff;
  height: 100vh;
}
#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none; 
}

/*アイコンのスペース*/
#nav-open {
  display: block;
  width: 50%;
  height:20px;
  cursor: pointer;
  margin: 50px auto 0 auto;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: fixed;
  height: 3px;/*線の太さ*/
  width: 35px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  transition: 1s;
  
}
#nav-open span:before {
  bottom: -11px;
  transition: 1s;
  position: absolute;
}
#nav-open span:after {
  bottom: -21px;
  background: #2D7638;
  transition: 1s;
  position: absolute;
}

/*中身*/
#nav-content {
  /* overflow: auto; */
  position: fixed;
  top: 0;
  /* left: 0; */
  right: 5%;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  /*max-width: 330px; 最大幅（調整してください）*/
  max-width: 640px; /*最大幅（調整してください）*/
  height: 100vh;
  padding: 50px 70px;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(505%);
  transform: translateX(505%);/*右に隠しておく*/
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-open span{
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
  transition: 1s;
}
#nav-input:checked ~ #nav-open span:before{
  opacity: 0;
  transition: 1s;
}

#nav-input:checked ~ #nav-open span:after  {
  -webkit-transform: translateY(-20px) rotate(90deg);
  transform: translateY(-20px) rotate(90deg);
  transition: 1s;
}

#nav-input:checked ~ #nav-content {
  /* -webkit-transform: translateX(315%); */
  /* transform: translateX(315%); */
  /*中身を表示（右へスライド）*/
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  transition: 1s;
}

.filter{
  filter: blur(8px);
  transition: 0.5s;
}

/* サイドバー中身 */
.sidebarbox{
  width:90%;
  margin: 0 auto;
  border-top: #D2D2D2 1px solid;
  border-bottom:  #D2D2D2 1px solid;
}

.sidebarbox a{
  display:block;
  padding-top: 10px;
}

.sidebarbox p{
  color:#333;
  font-family: "YuMincho", serif;
  font-weight: 700px;
}

.sidebarbox p::after {
  content: "";
  display: block;
  width: 15px;
  height: 2px;
  background: #2D7638;
  margin: 7px auto;
}

.big{
  font-size:15px;
}

.small{
  font-size:12px;
}

.first-box{
  display:flex;
  border-bottom:  #D2D2D2 1px solid;
  padding: 30px 0;
}

.first-left{
  width:50%;
  border-right:  #D2D2D2 1px dotted;
  cursor: pointer;
}

.first-right{
  width:50%;
  cursor: pointer;
}

.second-box{
  display:flex;
  border-bottom:  #D2D2D2 1px solid;
  padding: 30px 0;
}
.second-left{
  width:33%;
  border-right:  #D2D2D2 1px dotted;
  cursor: pointer;
}
.second-center{
  width:33%;
  border-right:  #D2D2D2 1px dotted;
  cursor: pointer;
}
.second-right{
  width:33%;
  cursor: pointer;
}

.third-box{
  display:flex;
  padding: 30px 0;
}

.third-left{
  width:33%;
  border-right:  #D2D2D2 1px dotted;
  cursor: pointer;
}
.third-center{
  width:33%;
  border-right:  #D2D2D2 1px dotted;
  cursor: pointer;
}
.third-right{
  width:33%;
  cursor: pointer;
}

.vertical {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size:16px;
  text-align: left;
  margin: 0 auto;
  margin-top: 550%;
  height:190px;
}

@media only screen and (min-width: 1800px){
  .second .category_title {
    font-size: 48px;
  }
  .second .txtbox p:nth-of-type(2) {
    font-size: 24px;
  }
}

@media only screen and (max-width: 1024px){
  .vertical {
    margin-top: 900%;
  }
  #nav-open {
    width: 70%;
  }
  /* #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(195%);
    transform: translateX(195%);/*中身を表示（右へスライド）
  } */
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .sidebar{
    width:7%;
  }
  #nav-content {
    right: 6%;
    max-width: 640px;
    height: 100vh;
    padding: 50px 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
@media only screen and (max-width: 767px){
  .vertical {
    margin-top: 1200%;
  }
  #nav-open {
    width: 90%;
  }
  #nav-input:checked ~ #nav-content {
    /*-webkit-transform: translateX(122%);
    transform: translateX(122%);中身を表示（右へスライド）*/
    right: 0;
    width: 290px;
    height: 100%;
    padding: 50px 30px;
  }
  .vertical{
    font-size: 10px;
  }
}

@media only screen and (max-width: 600px){
  main{
    width:100%;
    margin-right: 0%;
  }
  .sidebar{
    width:50px;
    height:50px;
    padding: 10px;
  }
  .vertical{
    display:none
  }
  #nav-open {
    margin: 4px;
    position: fixed;
    z-index: 9999;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: fixed;
    height: 3px;/*線の太さ*/
    width: 24px;/*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    transition: 1s;
  }
  #nav-open span:before {
    bottom: -8px;
    transition: 1s;
    position: absolute;
  }
  #nav-open span:after {
    bottom: -16px;
    background: #2D7638;
    transition: 1s;
    position: absolute;
  }
  #nav-input:checked ~ #nav-content {
    /*-webkit-transform: translateX(14%);
    transform: translateX(14%);中身を表示（右へスライド）*/
    z-index: 1000;
  }
  #nav-input:checked ~ #nav-open span{
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
    transition: 1s;
  }
  #nav-input:checked ~ #nav-open span:before{
    opacity: 0;
    transition: 1s;
  }
  #nav-input:checked ~ #nav-open span:after  {
    -webkit-transform: translateY(-15px) rotate(90deg);
    transform: translateY(-15px) rotate(90deg);
    transition: 1s;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
