@import url('https://fonts.googleapis.com/css?family=Abel&display=swap');

/* Font Settings */
@font-face {    
    font-family: DINBOLD;
    src: url('/fonts/DINEngschriftStd.otf') format('opentype');
    font-weight: normal; 
    font-style: normal;
    }

@font-face {    
    font-family: DINNARROW;
    src: url('/fonts/DINnarrow.otf') format('opentype');
    font-weight: lighter;
    font-style: normal;
    }
H1{
    font-family: 'DINBOLD','Abel', sans-serif;
    font-size: 6.5em;
    color: #9E8564;
    line-height: 0.85em;
    letter-spacing:0.05em;
    margin-bottom: 0%;
    

}

p{
    font-family: 'DINNARROW','Abel', sans-serif;
    font-size: 1.5em;
    color: #E2E2E2;
    line-height: 1em;
    letter-spacing:0.05em;
    margin-top: 0.1em;

}

body,html{
    height: calc(100% - 2em);
    margin: 0;
    font-family: 'Abel', sans-serif;
}

body{
background: rgb(50,50,50); /* Old browsers */
background: -moz-linear-gradient(45deg,  rgba(50,50,50,1) 0%, rgba(0,0,0,1) 64%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  rgba(50,50,50,1) 0%,rgba(0,0,0,1) 64%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(50,50,50,1) 0%,rgba(0,0,0,1) 64%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#595757', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
background-repeat: no-repeat;
background-attachment: fixed;
}

main{
    margin:1em;
    width:30em;
    margin:  0 auto;    
}

.left-nav-text {
    display: none;
  }

.top-navigation{
    display:none;
}

.social-media{
    display:none;
}


aside{
    color:#fff;
    display: grid;
    grid-template-columns: auto 45px;
    padding: 1.2em;
    align-items: center;
    background: rgba(0,0,0,0.2);
    
}

.main-illustration{
    margin:0%;
    width:30em;
    padding:0;
    
}


.logo{
    width: 45px;
}

.menu{
    width: 40px;
    cursor: pointer;

}

figure{
    margin:0;
}
figcaption{
    font-size:1.3em;
    font-weight: bold;
}

nav{
    background: rgba(0,0,0,0.4);
    
}

.active{
    position: absolute;
    display:block;
    background: rgba(0,0,0,0.5);
    width:50%;
    left:0;
    top:0;
    height: 100%;
}

ul{
    display:none;
    list-style-type: none;
    margin:0;
    padding:0;
}

ul li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    display: block;
    padding: 1.5em 3em;
    background-color: #9E8564;
    color:#fff;
    margin:0em 0em 0.2em 0em;
}


@media only screen and (min-width: 768px){
    body {
        margin: 0;
        padding: 0;
      }
      .slide {
        width: 100vw;
        height: 100vh;
      }
      .wrapper {
        display: flex;
        flex-direction: row;
        width: 400vw;
        height:50%;
        transform: rotate(90deg) translateY(-100vh);
        transform-origin: top left;
        top:  0;                     /* 位置指定 */
        bottom:  0;                  /* 位置指定 */
        left:  0;                    /* 位置指定 */
        right:  0;                   /* 位置指定 */
        margin:  auto;               /* 中央寄せ */

      }
      .box {
        position: relative;
        background:none;
        background-size: auto 10vh;
        background-repeat: repeat-x;
        display:inline-flex;
        width:100vh;
        height:100%;
        margin-top:-3em;
        margin-left:15em;
        margin-right:80em;
        align-items: center;
        vertical-align: middle;
      }


@keyframes opening {
    from {
      transform: translateX(0vw);
    }
    to {
      transform: translateX(-160%);
    }
  }
    .box1{
        background: none;
    }
    .box2{
        background: none;
    }
    .box3{
        background: none;
        margin-top:-5em;
    }
      .outer-wrapper {
        width: 100vh;
        height: 100vw;
        transform: rotate(-90deg) translateX(-100vh);
        transform-origin: top left;
        overflow-y: scroll;
        overflow-x: hidden;
        position: absolute;
        scrollbar-width: none;
        top: 50%;
        margin-top: -30% ;
        z-index:0;
       

      }
      ::-webkit-scrollbar {
        display:none;
      }

      a.anchor{
        margin-left:-50vh;
        padding-left:50vh;
        width:20vh;
        display: block;
    }
    #anchor2{
        margin-right:-70vh;
        padding-right:70vh;
        width:5vh;
        display: block;
    }
    #anchor3{
        margin-right:-60vh;
        padding-right:60vh;
        width:22vh;
        display: block;
    }
    .logo{
        width: 5em;
    }    
    body{
        display:grid;
        grid-template-columns: 20% auto;
        padding: 2em;
    }

    aside{
        grid-template-columns: none;
        grid-template-rows:none;
        background: none;
        height:50em;
        width:5em;
        padding:0;
        margin-left:5em;
        margin-top:-5em;
        padding: 20px;               /* 余白指定 */
        top:  0;                     /* 位置指定 */
        bottom:  0;                  /* 位置指定 */
        left:  0;                    /* 位置指定 */
        right:  0;                   /* 位置指定 */
        margin:  auto;               /* 中央寄せ */
        width:  150px;               /* 幅指定 */
        height: 100%;                /* 高さ指定 */
        z-index: inherit 0;
        
    }

    .menu{
        display:none;
        
    }


    .top-navigation  {
        color:#fff;
        display:inline-flex;
        float: right;
        margin: 3em 5em 0em 0em;
        position: relative;
        z-index:1;
    }

    .top-navigation li {
        background-color: none;
    }

    ul li a{
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1em;
        display:inline-block;
        padding: 1.5em 1em;
        background:none;
        color:#fff;
        margin:0em 0em 0.2em 0em;
    }
    main{
        display: inline-flex;
        position: relative;          /* 位置指定 */
        padding: 10em;               /* 余白指定 */
        top:  0;                     /* 位置指定 */
        bottom:  0;                  /* 位置指定 */
        left:  0;                    /* 位置指定 */
        right:  0;                   /* 位置指定 */
        margin:  auto;               /* 中央寄せ */
        width:  50%;               /* 幅指定 */
        height: 100%;                /* 高さ指定 */
        z-index:  1;
    }
    

    .vline {
        border-left: 0.05em solid #E2E2E2;
        height: 2em;
        margin-left:2.4em;

      }

    .left-nav-text {
        display: inline-block;   
        transform: rotate(-90deg);
        text-align: center;
        margin-left:-4.2em;
        padding:0;
        margin-top:1em;
        margin-bottom:1;


      }
     .left-nav-text  p{
        font-family: 'DINNARROW','Abel', sans-serif;
        font-size: 0.8em;
        color: #E2E2E2;
        line-height: 1em;
        letter-spacing:0.08em;
        margin-top: 0.5em;
        white-space: nowrap;
    
    }
    .social-media {
        display:inline-block;
        margin-left:1em;
        position: relative;
        z-index:1;
        width:3em;
    }
    .social-media img{
        display:block;
        width:3em;
        color: #9E8564;
        margin-top:1em;
        position: relative;
    }
    

    
    .block{
            margin:0;
            margin-left:3vh;
            display: inline-block;   
            width:25em;
            height:25em;       
                
     }

     .block h1{
        font-size:15vh;
     }

     .block p{
         font-size:3vh;
     }

    
    
     .main-illustration{
            display:inline-block;
            width:40vh;
            height:40vh;
            margin-left: 3em;
      }

      div#quad { 
   
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 1em;
        row-gap: 1em;
        align-items: center;
        
      }
 
      div#quad img {
        width: 50em;
      }
      
      #myImg:hover {
          opacity: 0.7;
        }


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .popup-content, #caption { 
    animation-name: fade-in;
    animation-duration: 0.8s;
    transition-timing-function: ease-out;
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  @keyframes fade-in {
    0% {opacity: 0}
    100% {opacity: 1}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  

  .popup {
    background-color: #000;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .8);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 50vw;
    width: auto;
    overflow: hidden;
    z-index: 1; /* Sit on top */
    
    
  }
  /* チェックボックスの初期設定 */
  #popup-on{
    display: none;
  }
  /* チェックされたらポップアップウインドウを開く */
  #popup-on:checked + .popup{
    display: block;
    overflow: hidden;
  }

  /* 閉じるアイコン（右上） */
  .icon-close{
    background: #000;
    color: #fff;
    font-size: 30px;
    padding: 0 10px;
    position: absolute;
    right: 0;
  }
  
  /* 閉じるボタン */
  .btn-close{
    background-size: cover;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 開くボタン */
  .btn-open{
    background: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    margin: 10px auto;
    width: 95%;
    text-align: center;
  }
  
  /* ポップアップの内容 */
  .popup-content{
    margin: 5em 5em 5em 5em;
    display: block;
    width: 50%;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

      div#quad figure { 
        margin: 0; width: 20vh; 
        height: auto; transition: 1s; 
        position: relative; overflow: hidden; 
        
      }
      div#quad figure:hover { cursor: pointer; z-index: 4; }
      div#quad figure img { width: 100%; height: auto; }
      div#quad figure:nth-child(1) { transform-origin: top left; }
      div#quad figure:nth-child(2) { transform-origin: top right; }
      div#quad figure:nth-child(3) { transform-origin: bottom left; }
      div#quad figure:nth-child(4) { transform-origin: bottom right; }
      div#quad figure figcaption { 
        margin: 0; opacity: 0; 
        background: rgba(0,0,0,0.3); 
        color: #fff; padding: .3rem; 
        font-size: 1.2rem; 
        position: absolute; 
        bottom: 0; width: 100%;
          transition: 1s 1s opacity; 
      }
      .expanded { transform: scale(2); z-index: 5;  }
      div#quad figure.expanded figcaption { opacity: 1; }
      div.full figure:not(.expanded) { pointer-events: none; }

    
      /* The dots/bullets/indicators */
.dots{
    position:fixed;
    width:100%;
    bottom:5em;
}
.dot {

    cursor: pointer;
    height: 1.5em;
    width: 1.5em;
    margin: 0 2px;
    border-radius: 50%;
    display: inline-block;
	transition: background-color 0.6s ease;
	font-size:2em;
	transform:rotate(45deg);
    color: rgba(158,133,61,0.5);
    text-decoration: none;
  }

  @-webkit-keyframes sdb03 {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      box-shadow: 0 0 0 60px rgba(255,255,255,.1);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes sdb03 {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      box-shadow: 0 0 0 60px rgba(255,255,255,.1);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  

}

.placeholder{
  color: #b3aca7;
  font-size:1.4em;
}
/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text {
  width: 470px;
  max-width: 470px;
  height: 1em;
  grid-gap:0;
  max-height: 20em;
  padding: 15px;
  background: transparent;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size:2em;
  border: solid 1px #b3aca7;
  color: #b3aca7;
  border-bottom: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 470px;
  max-width: 470px;
  height: 10em;
  grid-gap:0;
  max-height: 20em;
  padding: 15px;
  background: transparent;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size:2em;
  border: solid 1px #b3aca7;
  color: #b3aca7;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
input.wpcf7-form-control.wpcf7-text:hover {
  background: rgba(255, 255, 255, 0.8);
  font-size:3em;
   color: #000;
}
textarea.wpcf7-form-control.wpcf7-textarea:hover {
  background: rgba(255, 255, 255, 0.8);
  font-size:3em;
   color: #000;
}


textarea.wpcf7-form-control.wpcf7-textarea{
  font-size:3em;
  color:#b3aca7;
}


/* 送信ボタンを見やすくする */
input.wpcf7-submit {
  width: 502px;
  
margin:1em 0em 1em 0em;
display:grid;
grid-gap:0;
height: 3em;
max-height: 20em;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  color: #b3aca7;
  
  outline:none;
  cursor: pointer;
  
  border: solid 1px #b3aca7;
  border-top: none;
}
input.wpcf7-submit:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}

.wpcf7-textarea{
  color: #b3aca7;
}
