@charset "utf-8";

*{
    margin: 0px;
    padding: 0px;
}

/*モバイルファースト*/

/*背景*/

img{
    width: 100%;
}

.main{
    width: 100%;
    height: 100%;
    background-color: #F5F3F2;
}

body{
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box
}

.grecaptcha-badge { 
    visibility: hidden; 
}

p{
    font-family: ten-mincho, serif;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: normal;
    text-align: justify;
    width: 60vw;
    margin: auto;
    line-height: 20px;
}

h1{
    font-family: ヒラギノ丸ゴ Pro;
    color: #231815;
    font-size: 3rem;
    font-weight: 500;
    padding: 10vw 0 5vw 10vw;
    text-shadow:
    3px 3px 3px #ffffff, -3px -3px 3px #ffffff,
   -3px 3px 3px #ffffff,  3px -3px 3px #ffffff,
    3px 3px 3px #ffffff, -3px -3px 3px #ffffff,
   -3px 3px 3px #ffffff,  3px -3px 3px #ffffff;
    text-shadow: 5px 5px 3px #4d4c4c8f;
}


@media (max-width: 900px){
    h1{
        font-size: 2rem;
        padding: 5vw 0 5vw 5vw;
    }
}

.selfInfoh1{
    padding: 7vw 0 5vw 10vw;
}

/*more非表示

.more{
    font-family: ten-mincho, serif;
    margin: 40px 20vw 30px 0;
    text-align: right;
    display: none;
}

*/

.image_container{
    width: 50vw;
    margin: 20px auto 20px auto;
}

/*ハンバーガー*/

.button{
    position: fixed;
    display: inline-block;
    width: 50px;
    height: 50px;
    top:10px;
    right: 12px;
    z-index: 999;
}

.button span{
    display: inline-block;
    position: absolute;
    right: 0;
    left: 0;
    height: 6px;
    width: 40px;
    margin: auto;
    transition: all .4s;
    background: #f2f2f2;
    box-shadow: 3px 3px 3px 0 #9682828f;
}

.button span:first-of-type {
    top: 5px;
    background-color: #2E5F6F;
    border-radius: 3px;
}
.button span:nth-of-type(2) {
    top: 19px;
    background-color: #96BECF;
    border-radius: 3px;
}
.button span:last-of-type {
    top: 33px;
    background-color: #E08024;
    border-radius: 3px;
}

.active span{
    background: #fff;
}
.active span:first-of-type {
    transform: translateY(14px) rotate(-45deg);
}

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

.active span:last-of-type {
    transform: translateY(-14px) rotate(45deg);
}

.nav_wrapper{
    font-family: ヒラギノ丸ゴ Pro;
    color: #f2f2f2;
    font-size: 15px;
    font-weight: 400;
    background: linear-gradient(210deg, #96BECF,#96BECF, #2E5F6F);
    padding-top: 100px;
    padding-left: 30px;
    display: block;
    box-sizing: border-box;
    position: fixed;
    max-width: 100%;
    width: 100vw;
    height: 50%;
    right: -160%;
    top: -40%;
    transition: all .7s;
    z-index: 990; 
    line-height: 30px;
    border-radius: 50%;
    box-shadow: 3px 3px 3px 0 #9682828f;
}

@media (min-width: 600px){
    .nav_wrapper{
        width: 30vw;
        max-width: 300px;
    }
}

.ul_header{
    font-family: ヒラギノ丸ゴ Pro;
    color: #F5F3F2;
    font-size: 20px;
    font-weight: 400;
    display: block;
    box-sizing: border-box;
    position: fixed;
    max-width: 100%;
    width: 100vw;
    height: 50%;
    right: -160%;
    top: 12vh;
    transition: all .8s;
    z-index: 998; 
    line-height: 40px;
}

@media (min-width: 600px){
    .ul_header{
        width: 300px;
    }
}

.view_menu {
    transform: scale(4);
}

@media (min-width: 600px){
    .view_menu {
        right: -30%;
    }
}

.view_item{
    transform: translateX(-90%);
}

@media (min-width: 600px){
    .view_item{
        right: -150px;
        transform: none;
    }
}

body {
    overflow-y: scroll;
}

/*ヘッド*/

.head_logo{
    width: 60vw;
    max-width: 300px;
    margin: 0 auto;
    padding-top: 20vh;
}

.headimage{
    width: 100%;
    padding-top: 30vh;
    padding-bottom: 10vh;
    filter: drop-shadow(5px 5px 3px 0 #9682828f);
}

.head_comment{
    font-family: ten-mincho, serif;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto 10vw auto;
    text-align: center;
    padding-bottom: 20vh; 
}

.scrolldown{
    top: 80vh;
    height: 50px;
    margin: auto;
    position: absolute;
    left: 50%;
}

.scrolldown span{
    font-family: ヒラギノ丸ゴ Pro;
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #528CA2;
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode:vertical-rl;
    writing-mode: vertical-rl;
}

.scrolldown::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #E08024;
    animation: 
        circlemove 1.6s ease-in-out infinite,
        circlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove{
    0%{bottom: 45px;}
    100%{bottom: -5px;}
}

@keyframes circlemovehide{
    0%{opacity: 0;}
    50%{opacity: 1;}
    80%{opacity: 0.9;}
    100%{opacity: 0;}
}

.scrolldown::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 50px;
    background: #E08024;
    border-radius: 2px;
}

.copyright{
    position: fixed;
    writing-mode: vertical-lr;
    z-index: 99;
    width: 50px;
    top: 60vh;
    left: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 900px){
    .copyright{
        top: 40vh;
    }
}

.color-code{
    width: 60vw;
    max-width: 300px;
    display: flex;
    margin: 7vh auto 5vh auto;
}

.color-code span{
    height: 25px;
    width: 25px;
    margin: auto;
    border-radius: 6px;
    box-shadow: 3px 3px 3px 0 #4d4c4c8f;
}

.color-code span:first-of-type {
    background-color: #231815;
}
.color-code span:nth-of-type(2) {
    background-color: #2E5F6F;
}
.color-code span:nth-of-type(3) {
    background-color: #528CA2;
}
.color-code span:nth-of-type(4) {
    background-color: #96BECF;
}
.color-code span:nth-of-type(5) {
    background-color: #F5F3F2;
}
.color-code span:last-of-type {
    background-color: #E08024;
}

.element-1 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0s;
  }
  .element-2 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0.1s;
  }
  .element-3 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0.2s;
  }
  .element-4 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  .element-5 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0.4s;
  }
  .element-6 {
    animation: bounce 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
  }

@keyframes bounce {
    0%  { transform: translateY(0); }
    7% { transform: translateY(-15px); }
    14% { transform: translateY(0); }
    50% { transform: translateY(0); }
    100% { transform: translateY(0); }
  }

.copyright p{
    font-size: 1rem;
    width: 100%;
    font-family: ヒラギノ丸ゴ Pro;
    color: #96BECF; 
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 900px){
    .copyright p{
        font-size: 0.8rem;
    }
    .sns img{
        width: 1rem;
        margin: 0.5rem;
        /*filter: drop-shadow(3px 3px 3px 0 #9682828f);*/
    }
}

.sns{
    margin: 1rem 0 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sns img{
    width: 2rem;
    margin: 1rem;
    /*filter: drop-shadow(3px 3px 3px 0 #9682828f);*/
}

.gallery_box{
    columns: 4;
    padding: 0 10vw 10vh 10vw;
    margin: 0;
}

.gallery_box li{
    margin: 0 1.5rem 1.5rem 1.5rem;
    list-style: none;
    filter: drop-shadow(5px 5px 3px 0 #9682828f);
    box-shadow: 3px 3px 3px 0 #9682828f;
    border-radius: 1rem;
}

.gallery_box img{
    width: 100%;
    height: auto;
}

.galleryLogo{
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
}

@media (max-width: 900px){
    .galleryLogo{
        padding: 1rem;
        background-color: white;
        border-radius: 0.5rem;
    }
}

@media (max-width: 900px){
    .gallery_box{
        columns: 2;
    }
}

.ps p{
    margin: 1rem 10vw 3rem auto;
    font-family: ten-mincho, serif;
    font-size: 1rem;
    text-align: right;
}

/*ボタンウィンドウ*/

.snap_container{
    overflow: auto;
    scroll-snap-type: y;
    overflow-x:hidden;
    overflow-y:hidden;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    height: 96vh;
  }
  
  .content {
    position: relative;
    width: 100vw;
    height: 16vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: 100%;
    text-align: center;
    background-position: center center;
  }

.content a{
    width: 100vw;
    height: 16vh;
  
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: scroll;
    border: 0.5rem #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
  
  
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: scroll;
    background-color: rgba(0, 0, 0, 0.5);
}

  .content img{
    size: 100%;
  }

  .content p {
    position: absolute;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    font-family: ten-mincho, serif;
    color: white;
    font-size: 3.5rem;

    width: 100vw;
    height: 16vh;
  
    content: "";
    top: 0;
    left: 0;
    border: 0.5rem #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
  
    background-color: rgba(0, 0, 0, 0.5);
  }

.content a{
    position: absolute;
}

@media (min-width: 900px){
    .buttons{
        flex-direction: row;
        flex-wrap: wrap;
        height: 90vh;
    }
    .content{
        flex-basis: calc(100% / 3);
        height: 45vh;
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .content a{
        flex-basis: calc(100% / 3);
        height: 45vh;
        width: 100%;
    }
    .content p{
        flex-basis: calc(100% / 3);
        height: 45vh;
        width: 100%;
    }
}

/*ボタンウィンドウここまで*/

.name{
    font-size: 20px;
    margin-bottom: 20px;
}

.contact{
    font-family: ten-mincho, serif;
    scroll-snap-align: start;
    height: 90vh;
}

form{
    width: 60vw;
    margin: auto;
    text-align: left;
}

label{
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

input[type="text"],
input[type="email"],
textarea{
    background: #96BECF2f;
    border: 3px #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 60vw;
}

input[type="text"],
input[type="email"]{
    height: 2rem;
}

textarea{
    height: 100px;
}

/*
input[type="submit"]{
    width: 8rem;
    height: 3rem;
    border-radius: 5px;
    background-color: #96BECF;
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 100px;
    margin-left: 0;
}
*/

.is-active{
    width: 8rem;
    height: 3rem;
    border-radius: 5px;
    background-color: #96BECF;
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 100px;
    margin-left: 0;
}

.is-inactive{
    width: 8rem;
    height: 3rem;
    border-radius: 5px;
    background-color: #858585;
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 100px;
    margin-left: 0;
}

input[value="送信"]{
    font-size: 1.4rem;
    position: relative;
    z-index: 5;
    color: #f2f2f2;
}

/*detail*/

.detail_wrapper{
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: #F5F3F2;
}

.minibuttons{
    flex: 1;
    z-index: 100;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.minicontent a{
    width: 100%;
    height: 20vh;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 0.5rem #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: scroll;
    background-color: rgba(0, 0, 0, 0.5);
}

  .minicontent img{
    size: 100%;
  }
  
  .minicontent p {
    position: absolute;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    font-family: ten-mincho, serif;
    color: white;
    font-size: 3.5rem;
    width: 100%;
    height: 20vh;
    border: 0.5rem #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
    background-color: rgba(0, 0, 0, 0.5);
  }

.minicontent{
    width: 100%;
    height: 20%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.minicontent .overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: scroll;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .minicontent .border{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: scroll;
    width: 100%;
    height: 100%;
    border: 0.5rem #96BECF solid ;
    border-image: linear-gradient(to right, #96BECF2f 0%, #F5F3F22f 80%, #E080242f 100%);
    border-image-slice: 1;
  }
  
.contentName {
    content: "";
    width: auto;
    height: auto;
    margin: auto;
    text-align: center;
    font-family: ten-mincho, serif;
    color: white;
    font-size: 3.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 900px){
    .minicontent p {
        font-size: 3rem;
    }
}

.detail{
    background-color: #F5F3F2;
    flex: 4;
    width: 100%;
    height: 100vh;
    justify-content: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.detail h1{
    font-family: ヒラギノ丸ゴ Pro;
    color: #231815;
    font-size: 4rem;
    font-weight: 500;
    text-shadow: 5px 5px 3px #4d4c4c8f;
}

@media (max-width: 900px){
    .detail h1{
        font-size: 2rem;
        padding: 10vw 0 5vw 5vw;
    }
}

.detail_content{
    width: 70w;
}

.detail_img{
    width: 70vw;
    max-width: 400px;
    padding: 0 0 1rem 5vw;
}

.selfImage{
    height: 20vh;
    background-size: 100%;
    text-align: center;
    background-position: center center;
    object-fit: cover;
    object-position: center -70px;
}

.detail_para{
    width: 80vw;
    padding: 3vh 10vw 0 5vw;
}

.detail_para .para a{
    margin: 0;
    padding: 0;
    background: none;
    display: inline;
    color:black;
}

.detail p{
    font-size: 0.7rem;
    line-height: 1.5;
    font-family: ten-mincho, serif;
    margin: 0;
    padding: 0 0 3rem 5vw;
}

.detail .name{
    padding: 0 0 1rem 5vw;
}

.logo_buttons{
    display: flex;
    justify-content: space-between;
}

.detail_logo{
    height: 7vh;
    object-fit: contain;
    width: auto;
    margin: 0 auto 0 auto;
}

.detail_buttons{
    margin-left: auto;
}

.detail a{
    width: 10rem;
    height: 2rem;
    border-radius: 7px;
    background: linear-gradient(to right, #2E5F6Faf 0%, #96BECF 40%, #96BECF 60%, #E08024 100%);;
    color: #F5F3F2;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.detail a p{
    padding: 0;
    text-align: center;
}

@media (min-width: 900px){
    .detail_img{
        margin: 0;
    }
    .detail_content{
        display: flex;
    }
    .detail_para{
        width: 40vw;
        padding: 5vh 10vw 10vh 5vw;
    }
    .detail p{
        width: auto;
        padding: 0 0 20vh 0;
        font-size: 1rem;
    }
    .detail a p{
        width: auto;
        padding: 0 0 0 0;
    }
    .detail_para .name{
        padding: 0;
    }
    .detail_para .para{
        padding: 0;
    }
    .selfImage{
        height: 100%;
        background-size: 100%;
        text-align: center;
        background-position: center center;
        object-fit: cover;
        object-position: center 0px; 
    }
}

.detail_back{
    margin: auto 0 auto 5vw;
    padding: 0 0 0 0;
    display: flex;
    text-align: center;
}

.detail_back a{
    margin: 0 0 0 0;
    width: 7rem;
}

.footer{
    margin-top: auto;
    padding-bottom: 1rem;
}

.footer p{
    background-color: #F5F3F2;
    height: auto;
    width: auto;
    font-family: ヒラギノ丸ゴ Pro;
    color: #96BECF; 
    text-align:center;
    padding: 0;
}

.contact{
    background-color: #F5F3F2;
    height: 90vh;
    scroll-snap-align: start;
}

.contact button{
    width: 6rem;
    height: 2.5rem;
    border-radius: 5px;
    background: linear-gradient(to right, #2E5F6Faf 0%, #96BECF 40%, #96BECF 60%, #E08024 100%);;
    color: #F5F3F2;
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 5vw;
    margin-left: 0;
}

.contact p{
    font-size: small;
    padding: 0 10vw 20vw 5vw;
    line-height: 1.3;
    margin: 0;
    padding: 0 0vw 0 20vw;
    width: 80vw;
}

/*飾り*/

.fuwafuwa {
    animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
    background: url(../img/ico-apple.svg) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 1.5s ease-in-out;
  }
   
  @keyframes fuwafuwa {
    0% {
      transform:translate(0, 0) rotate(0deg);
    }
    25% {
      transform:translate(0, 3px) rotate(7deg);
    }
    75% {
      transform:translate(0, -3px) rotate(-7deg);
    }
    100% {
      transform:translate(0, 0) rotate(0deg);
    }
  }

  .swing {
    animation: swing 4s ease-in-out infinite;
    transform-origin: top center;
  }
   
  @keyframes swing {
    0% {
      transform: rotate(5deg);
    }
    50% {
      transform: rotate(-5deg);
    }
    100% {
      transform: rotate(5deg);
    }
  }

    .fade-in {
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
      }
      .fade-in.is-visible {
        opacity: 1;
      }

      /*
      コース画像拡大モーダル （ここから本PEN のコア）
      ===================================================== */
      #grayDisplay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        /* コンテンツ全てに対して固定的に 1160pxとか指定されているときの対応で、
        ダサいが!importantつける */
        max-width: 100% !important;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
      }
      
      #grayDisplay img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        max-width: 90%;
        max-height: 90%;
        height: 90%;
        object-fit: contain;
      }