@charset "UTF-8";

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

# テスト
# Universal
# Header
# Key
# Container
# Article
# Footer
# Responsive

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



/* Universal
------------------------------------------------------------------*/
html,body {
    font-family: "Noto Sans JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    width: 100%;
    min-width: 320px;
    height: auto;
    margin-top: 0;
    text-align: center;
    color: #333;
    background-size: 100%;
    margin: 0;
    letter-spacing: .04em;
    line-height: 1.4;
    font-weight: 400;
}
html{
    font-size: 62.5%;
}
body{
    font-size: 1.6rem;
    background: #fff;
}

#wrap {
    width: 100%;
    margin: 0 auto 0 auto;
}

a{
    display: inline-block;
}

p{
    text-align: left;
    margin: 0 auto;
    line-height: 1.6;
}
#wrap{
    overflow: hidden;
}



/* Header
------------------------------------------------------------------*/
header {
    width: auto;
    height: auto;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 6;
}

header #gmenu_btn{
    background: #55a3e6;
    width: 62px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 8;
    position: relative;
}

header #gmenu_btn span{
    display: inline-block;
    background: #fff;
    width: 60%;
    height: 1px;
    top: -8px;
    position: relative;
    transition: all .4s;
}
header #gmenu_btn span:after{
    content: "";
    background: #fff;
    width: 60%;
    height: 1px;
    position: absolute;
    bottom: -13px;
    left: 20%;
    transition: all .4s;
}
header #gmenu_btn.active span{
    transform: translateY(6px) rotate(-45deg);
}
header #gmenu_btn.active span:after{
    transform: translateY(-6px) rotate(90deg);
    width: 100%;
    left: 0;
    bottom: -7px;
}
header #gmenu{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    height: 100vh;
    align-items: start;
    justify-content: start;
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    overflow: hidden;
    width: 100vw;
    border-left: 62px solid #fff;
}
header #gmenu.active{
    display: flex;
    animation: appear .2s ease;
    transition: all .25s ease;
}
header #gmenu.active.fadeout{
    opacity: 0;
}
@keyframes appear {
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
}
header #gmenu ul{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 600px;
    background: #55a3e6;
    padding-top: 62px;
    box-sizing: border-box;
}
header #gmenu.active ul{
    animation: appearul .4s ease;
}
@keyframes appearul {
    0%{
        opacity: 0;
        transform: translateX(-20px);
    }
    50%{
        opacity: 0;
        transform: translateX(-20px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
header #gmenu ul li{
    text-align: left;
    padding-left: 60px;
    padding-right: 60px;
}
header #gmenu ul li a{
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}
header #gmenu ul li a,
header #gmenu ul li div{
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    display: block;
    padding: 30px 40px 30px 55px;
    position: relative;
    font-weight: 700;
}
header #gmenu ul li:not(:last-child) a,
header #gmenu ul li:not(:last-child) div{
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}
header #gmenu ul li div{
    color: #ccc;
}
header #gmenu ul li div span{
    font-size: 1.2rem;
    vertical-align: middle;
    margin-left: 10px;
}
header #gmenu ul li > *:before{
    content: "";
    height: 36px;
    width: 36px;
    position: absolute;
    left: 0;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}
header #gmenu ul li:nth-child(1) > *:before{
    background: url(../img/Spades_01.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(2) > *:before{
    background: url(../img/Spades_02.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(3) > *:before{
    background: url(../img/Spades_03.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(4) > *:before{
    background: url(../img/Spades_04.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(5) > *:before{
    background: url(../img/Spades_05.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(6) > *:before{
    background: url(../img/Spades_06.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(7) > *:before{
    background: url(../img/Spades_07.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:nth-child(8) > *:before{
    background: url(../img/Spades_08.png) no-repeat;
    background-size: cover;
}
header #gmenu ul li:not(:nth-last-of-type(1)):not(:nth-last-of-type(2)):after{
    content: "";
    bottom: 0;
    display: block;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s;
}
header #gmenu ul li:not(:nth-last-of-type(1)):not(:nth-last-of-type(2)):not(:nth-last-of-type(3)):not(:nth-last-of-type(4)):hover:after{
      width: 100%;
}



/* Container
------------------------------------------------------------------*/
#container{
    border-top: solid 62px #fff;
}

/* LoadingのためのCSS
------------------------------------*/

/* Loading背景画面設定 */
.splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: #fff;
    text-align:center;
    color: #fff;
    z-index: 999;
}

.splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: calc(320px + 16%);
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
}

.splash_logo img {
  width: 100%;
}

.fadeUp{
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}




/* Key
------------------------------------------------------------------*/
#key{
    position: relative;
    height: calc(100vh - 62px);
    background: #fff;
    z-index: 5;
    box-sizing: border-box;
}

#key_catch{
    position: absolute;
    bottom: -3px;
    left: 62px;
    opacity: 0;
    transition: .5s;
    transition-delay: .5s;
    z-index: 3;
    max-width: 937px;
    width: 77%;
}
#key_catch.show {
    opacity: 1;
}
@media screen and (min-width:768px) {
    #key_catch{
        transform: translateX(-40px);
    }
    #key_catch.show {
        transform: translateX(0);
    }
}
#key_catch img{
    width: 100%;
}
.logo{
    display: inline-block;
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 3;
    opacity: 0;
    transform: translateX(-40px);
    transition: .5s;
    transition-delay: .5s;
    max-width: 447px;
    width: calc(100% - 122px);
    padding-left: 92px;
}
.logo.show {
    opacity: 1;
    transform: translateX(0);
}
.logo img{
    width: 100%;
}

.scroll{
    position: absolute;
    left: 6px;
    bottom: -50px;
    z-index: 3;
    background: #fff;
    width: 50px;
    height: 230px;
    padding-top: 20px;
    box-sizing: border-box;
    transform: translateY(-40px);
    opacity: 0;
    transition: .5s;
    transition-delay: .5s;
}
.scroll img{
    max-width: 13px;
    width: 100vw;
}
.scroll.show {
    opacity: 1;
    transform: translateY(0);
}
.scroll:before{
    content: "";
    display: inline-block;
    height: 90px;
    width: 1px;
    background: #797979;
    position: absolute;
    top: 120px;
    left: calc(50% - 1px);
    animation-name: animescroll;
    animation-delay: 0;
    animation-iteration-count: infinite;
    animation-duration: 1.5s;
}

/* アニメーション定義 */
@keyframes animescroll {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}


/* スライダー全体 */
.slider{
    position: absolute;
    top: 0;
    left: 62px;
    overflow: hidden;
    width: calc(100% - 62px);
    height: calc(100vh - 62px);
    background-color: #000;
}

/* スライダー画像 */
.slider .image{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*
  ①スライド画像
  表示する画像を定義
*/
.slider .image:nth-of-type(1){
    background-image: url(../img/key.jpg);
}
.slider .image:nth-of-type(2){
    background-image: url(../img/key2.jpg);
    animation-delay: 6s;
}
.slider .image:nth-of-type(3){
    background-image: url(../img/key1.jpg);
    animation-delay: 12s;
}

/*
  ②アニメーション設定
  animation-durationのみ変更
*/
.slider .image{
  animation-name: anime;
  animation-delay: 0;
  animation-iteration-count: infinite;
  animation-duration: 12s;  /* ①で設定したanimation-delayを合計を挿入 */
}

/* アニメーション定義 */
@keyframes anime {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.news{
    position: absolute;
    right: 0;
    bottom: -20px;
    z-index: 4;
    background: #55a3e6;
    padding: 10px 20px;
    color: #fff;
    transform: translateX(60px);
    transition: .5s;
    transition-delay: .5s;
    z-index: 3;
    opacity: 0;
    text-align: left;
    width: 100%;
    max-width: 420px;
}
.news.show {
    opacity: 1;
    transform: translateX(0);
}
.news a{
    color: #fff;
    transition: all ease .4s;
    text-decoration: none;
    display: flex;
}
.news:hover a{
    opacity: 0.7;
}
.news .article-date{
    display: inline-block;
    margin-right: 15px;
    width: 90px;
}
.news .article-title{
    display: inline-block;
    width: 100%;
    max-width: calc(100% - 105px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


#para-bg{
    position: fixed;
    z-index: -1;
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 100%;
}

#para-bg:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background: url(../img/key_blur.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    /*filter: blur(7px);*/
    opacity: 0.8;
    transform: scale(1.03);
}

/* 背景動画の場合 */
#video-area{
    position: fixed;
    z-index: -1;
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 100%;
}

#video {
    /*天地中央配置*/
    opacity: 0.2;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}


/* Article
------------------------------------------------------------------*/
article {
    overflow: hidden;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: calc(100vh - 402px);
}

#first_sec{
    width: 100%;
    height: auto;
    min-height: 95vh;
    background: none;
    border-right: solid 164px #eee;
    border-top: solid 62px #eee;
    border-bottom: solid 62px #eee;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 3;
}
#first_sec > .sec_bg{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #000;
}
#first_sec > .sec_bg span{
    display: block;
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background: url(../img/Atelier_002.jpg) no-repeat;
    background-size: 103% auto;
    background-position: center center;
    background-attachment: fixed;
    opacity: 0.7;
}
.iPad #first_sec > .sec_bg span{
    background-attachment: scroll;
}

#first_sec:before{
    content: "";
    display: block;
    width: 80%;
    top: -62px;
    height: calc(100% + 124px);
    position: absolute;
    left: 0;
    background: transparent;
    box-sizing: border-box;
    border-top: 62px solid #fff;
    border-bottom: 62px solid #fff;
}
#first_sec:after{
    content: "";
    position: absolute;
    display: block;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid #fff;
    opacity: 0.4;
}
#first_sec > div{
    text-align: center;
    z-index: 4;
    opacity: 0;
    transition: all ease 1s;
    transform: translateY(50px);
    padding-top: 60px;
    padding-bottom: 60px;
}
#first_sec.view > div{
    opacity: 1;
    transform: translateY(0);
}
/*#first_sec > div br{
    display: none;
}*/
#first_sec h2{
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    font-size: 4.8rem;
    color: #fff;
    margin-bottom: 60px;
    padding: 0 60px;
}
#first_sec p{
    font-size: 1.9rem;
    color: #fff;
    line-height: 2.6;
    padding: 0 60px;
}
#second_sec{
    width: 100%;
    height: auto;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-top: 120px solid #fff;
    border-bottom: 120px solid #fff;
    padding-bottom: 80px;
}
#second_sec > .sec_bg{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40%;
    z-index: 2;
}
#second_sec > .sec_bg span{
    display: block;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    z-index: -1;
    background-attachment: fixed;
    background-image: url(../img/Atelier_004.jpg);
    background-size: calc(70% + 14px) auto;
    background-repeat: no-repeat;
    background-position: right -55% center;
    /*filter: blur(7px);*/
    opacity: 0.7;
    margin: -7px;
}
.iPad #second_sec > .sec_bg span{
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}
#second_sec:after{
    content: "";
    width: 60%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
#second_sec .txt{
    width: 60%;
    padding: 8% 10% 5%;
    box-sizing: border-box;
    transition: all ease 0.5s;
    opacity: 0;
    transform: translateX(50px);
}
#second_sec.show .txt{
    opacity: 1;
    transform: translateY(0);
}
#second_sec > *{
    z-index: 4;
}
#second_sec h2{
    font-size: 4.8rem;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
}
#second_sec p{
    color: #333;
    line-height: 2;
    text-align: left;
}
#second_sec .dao2{
    margin: 0 10% 0 10%;
}
#second_sec .dao2 ul{
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    width: 80vw;
}
#second_sec .dao2 ul li{
    display: block;
    width: calc(50% - 10px);
    position: relative;
}
#second_sec div ul li:first-child{
    margin-right: 20px;
    opacity: 0;
    transition: all ease 0.5s;
    transform: translateY(50px);
    transition-delay: 0.2s;
}
#second_sec.show div ul li:first-child{
    opacity: 1;
    transform: translateY(0);
}
#second_sec div ul li:nth-child(2){
    opacity: 0;
    transition: all ease 0.5s;
    transform: translateY(50px);
    transition-delay: 0.4s;
}
#second_sec.show div ul li:nth-child(2){
    opacity: 1;
    transform: translateY(0);
}
#second_sec .dao2 ul li a,
#second_sec .dao2 ul li div{
    background-color: #ddd;
    padding: 20px;
    color: #fff;
    font-size: 2.4rem;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
}
#second_sec div ul li:first-child a{
    background: url(../img/key.jpg) no-repeat;
    background-size: 100%;
    background-position: center center;
    transition: all 0.4s ease;
}
#second_sec.show div ul li:first-child:hover a{
    background-size: 105%;
}
#second_sec .dao2 ul li span{
    display: block;
    width: 100%;
    font-size: 1.6rem;
}
#second_sec.show div ul li:first-child:before{
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    transition: all 0.2s linear;
}
#second_sec.show div ul li:first-child:after{
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 10px;
    right: 10px;
    transition: all 0.2s linear;
}
#second_sec.show div ul li:first-child:hover:before,
#second_sec.show div ul li:first-child:hover:after{
    width: calc(100% - 20px);
}
#second_sec.show div ul li a:before{
    content: "";
    display: block;
    width: 1px;
    height: 0;
    background: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    transition: all 0.2s linear;
    transition-delay: 0.2s;
}
#second_sec.show div ul li a:after{
    content: "";
    display: block;
    width: 1px;
    height: 0;
    background: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.2s linear;
    transition-delay: 0.2s;
}
#second_sec.show div ul li:hover a:before,
#second_sec.show div ul li:hover a:after{
    height: calc(100% - 20px);
}


#third_sec{
    width: 100%;
    height: auto;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-top: 60px solid #fff;
    border-bottom: 120px solid #fff;
    padding-bottom: 80px;
}
#third_sec > .sec_bg{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    z-index: 2;
}
#third_sec > .sec_bg span{
    display: block;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    z-index: -1;
    background-attachment: fixed;
    background-image: url(../img/Atelier_003.jpg);
    background-size: calc(70% + 14px) auto;
    background-repeat: no-repeat;
    background-position: left -20% center;
    /*filter: blur(7px);*/
    opacity: 0.7;
    margin: -7px;
}
.iPad #third_sec > .sec_bg span{
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}
#third_sec:after{
    content: "";
    width: 50%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}
#third_sec .txt{
    width: 50%;
    padding: 8% 10% 5%;
    box-sizing: border-box;
    margin-left: 50%;
    transition: all ease 0.5s;
    opacity: 0;
    transform: translateX(50px);
}
#third_sec.show .txt{
    opacity: 1;
    transform: translateY(0);
}
#third_sec > *{
    z-index: 4;
}
#third_sec h2{
    font-size: 4.8rem;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
}
#third_sec h3{
    font-size: 2.4rem;
    text-align: left;
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    margin-bottom: 1.5em;
    color: #5EA3E3;
}
#third_sec p{
    color: #333;
    line-height: 2;
    text-align: left;
}
#third_sec ul{
    margin-top: 15px;
}
#third_sec ul li{
    text-align: left;
    padding-left: 1.2em;
    position: relative;
    line-height: 2;
    color: #333;
}
#third_sec ul li:last-child{
    margin-bottom: 2em;
}
#third_sec ul li::before{
    content: "";
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: #333;
    left: 5px;
    top: calc(50% - 3px);
    position: absolute;
}

#third_sec .dao2{
    margin: 0 10% 0 60%;
}

#third_sec .dao2 a{
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    text-decoration: none;
    border: 1px solid #fff;
    background: url(../img/key2.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-color:rgba(222,198,118,0.95);
    background-blend-mode: lighten;
    color: #fff;
    padding: 20px 40px;
    font-size: 2.4rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(50px);
    transition: all ease 0.5s;
    transition-delay: 0.2s;
    overflow: hidden;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.2);
}
#third_sec .dao2 a:before{
    content: "";
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    display: block;
    position: absolute;
    border: 1px solid #fff;
    box-sizing: border-box;
    opacity: 0.6;
}
#third_sec .dao2 a:after{
    content: "";
    background: #55a3e6;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500%;
    transform: skewY(-40deg) scale(1, 0);
    transform-origin: left top;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
    opacity: 0;
}
#third_sec .dao2 a:hover:after{
    transform: skewY(-40deg) scale(1, 1);
    opacity: 0.6;
}

#third_sec.show .dao2 a{
    transform: translateY(0);
    opacity: 1;
}
#third_sec .dao2 a span{
    display: block;
    font-size: 1.6rem;
}

#forth_sec{
    width: 100%;
    height: auto;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-top: 60px solid #fff;
    padding-bottom: 160px;
    padding-top: 120px;
}

#forth_sec .txt{
    max-width: 1140px;
    margin: 0 auto 0 auto;
    padding: 80px 80px 80px;
    background: rgba(255, 255, 255, 1);
    box-sizing: border-box;
    position: relative;
    transition: all ease 0.5s;
    transform: translateX(50px);
    opacity: 0;
    text-align: left;
}
#forth_sec.show .txt{
    opacity: 1;
    transform: translateY(0);
}
#forth_sec .txt:before{
    content: "";
    display: block;
    width: calc((100vw - 1140px)/2);
    height: 100%;
    margin: 0 auto 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 1);
    box-sizing: border-box;
    position: absolute;
    left: 100%;
    top: 0;
}

#forth_sec > *{
    z-index: 4;
}
#forth_sec h2{
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    font-size: 4.8rem;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}
#forth_sec.show h2{
    opacity: 1;
}
#forth_sec p{
    color: #333;
    line-height: 2;
    text-align: left;
    transform: translateY(20px);
    transition: all ease 0.5s;
    transition-delay: 0.2s;
    opacity: 0;
}
#forth_sec.show p{
    opacity: 1;
    transform: translateY(0);
}
#second_sec p:not(:last-child),
#third_sec p:not(:last-child),
#forth_sec p:not(:last-child){
    margin-bottom: 2em;
}
#forth_sec .dao2{
    margin: 0 auto 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    top: 0;
    z-index: 2;
    transition: all ease 0.5s;
    transform: translateY(50px);
    opacity: 0;
}
#forth_sec.show .dao2{
    transform: translateY(0);
    opacity: 1;
}
#forth_sec .dao2 ul{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /*background: #ccc;*/
}
#forth_sec .dao2 ul li{
    width: 25%;
    opacity: 0.2;
}
#forth_sec .dao2 ul li img{
    width: 100%;
}


/* Footer
------------------------------------------------------------------*/
footer {
    width: 100%;
    height: 340px;
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    position: relative;
}
.link_area{
    display: inline-block;
    background: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 140px;
    width: 100%;
    padding: 20px 30px;
    box-sizing: border-box;
}
.link_area ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.link_area ul li:not(:last-child){
    margin-right: 20px;
}
.link_area ul li#pagetop{
    max-width: 30px;
    width: 100%;
}
.link_area ul li#pagetop a{
    width: 100%;
}
.link_area a{
    line-height: 0;
}
.link_area a span{
    display: inline-block;
    width: 1px;
    height: 24px;
    position: relative;
    background: #666;
    border-right: 10px solid #fff;
}
.link_area a span:after{
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: -2px;
    width: 14px;
    height: 1px;
    background: #666;
    transform: rotate(45deg);
}
.link_area svg{
    max-width: 30px;
    width: 100%;
    line-height: 1;
    fill: #333;
}
footer p {
    display: flex;
    height: 100%;
    justify-content: start;
    align-items: center;
    text-align: left;
    padding: 30px 40px 28px 62px;
    font-size: 1.2rem;
    color: #fff;
    box-sizing: border-box;
    margin: 0 auto 0 0;
}
footer .f_menu{
    padding: 26px 40px 24px 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
}
footer .f_menu ul{
    display: flex;
    justify-content: start;
    align-items: center;
}
footer .f_menu ul li{
    line-height: 0;
}
footer .f_menu ul li:not(:last-child){
    margin-right: 40px;
}

footer .f_menu ul li a{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 5px 15px;
    border-left: 1px dotted rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.9;
}


/* Responsive
------------------------------------------------------------------*/
@media screen and (max-width:1300px) {
    #second_sec > .sec_bg span,
    #third_sec > .sec_bg span{
        background-size: auto 100%;
    }
    #second_sec > .sec_bg span{
        background-position: right calc(-252px + 14%) center;
    }
    #third_sec > .sec_bg span{
        background-position: left calc(-82px + 18%) center;
    }
    .iPad #second_sec > .sec_bg span,
    .iPad #third_sec > .sec_bg span{
        background-position: center center;
    }
}
@media screen and (max-width:1240px) {
    .news{
        width: 100%;
        max-width: 300px;
        font-size: 1.4rem;
    }
    .news .article-date{
        width: 80px;
    }
    .news .article-title{
        max-width: calc(100% - 95px);
    }
    .slider .image:nth-of-type(2){
        background-position: left 25% center;
    }
    #forth_sec .txt{
        width: 92%;
    }
    #forth_sec .txt:before{
        content: none;
    }
}

@media screen and (max-width:1100px) {
    #key_catch{
        max-width: 800px;
    }
    #first_sec{
        border-right: solid 124px #eee;
    }
    #second_sec > .sec_bg span{
        background-position: right calc(-352px + 14%) center;
    }
    #second_sec:after{
        width: 70%;
    }
    #second_sec .txt{
        width: 70%;
    }
    #second_sec > .sec_bg{
        width: 30%;
    }
    #third_sec:after{
        width: 60%;
    }
    #third_sec .txt{
        width: 60%;
        margin-left: 40%;
    }
    #third_sec > .sec_bg{
        width: 40%;
    }
    #third_sec .dao2{
        margin-left: 50%;
    }
}

@media screen and (max-width:1060px) {
    #key_catch{
        bottom: 30px;
    }
}

@media screen and (max-width:1020px) {
    #first_sec{
        border-right: solid 84px #eee;
    }
}

@media screen and (max-width:940px) {
    #second_sec .dao2 ul li a,
    #second_sec .dao2 ul li div{
        height: 160px;
    }
    footer p{
        padding-left: 40px;
        padding-right: 30px;
    }
}

@media screen and (max-width:767px) {
    article{
        min-height: calc(100vh - 328px);
    }
    .logo{
        top: 10px;
        right: 10px;
        width: calc(100% - 74px);
        max-width: 220px;
        padding-left: 64px;
    }
    .news{
        width: 100%;
        max-width: calc(100% - 74px);
        box-sizing: border-box;
        padding: 7px 15px;
    }
    .news a{
        display: block;
    }
    .news .article-date{
        width: 100%;
        margin-right: 0;
    }
    .news .article-title{
        width: 100%;
        max-width: 100%;
    }
    header #gmenu_btn{
        height: 44px;
        width: 44px;
    }
    header #gmenu{
        border-left: 44px solid #fff;
    }
    header #gmenu ul{
        padding-top: 44px;
    }
    header #gmenu ul li{
        padding-left: 20px;
        padding-right: 20px;
    }
    header #gmenu ul li a,
    header #gmenu ul li div{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    header #gmenu_btn span{
        top: -6px;
    }
    header #gmenu_btn span:after{
        bottom: -10px;
    }

    #key{
        height: calc(100vh - 164px);
    }
    #key:after{
        content: "";
        display: block;
        width: calc(100% - 44px);
        height: calc(100vh - 164px);
        background: #000;
        position: absolute;
        left: 44px;
        z-index: 1;
    }
    #key_catch{
        left: 44px;
        top: 50%;
        bottom: auto;
        transform: translate(-40px, -50%);
        width: calc(100% - 64px);
    }
    #key_catch.show{
        transform: translate(0, -50%);
    }
    .slider{
        left: 44px;
        width: calc(100% - 44px);
        height: calc(100vh - 164px);
        opacity: 0.8;
        z-index: 2;
    }
    .slider .image:nth-of-type(2){
        background-position: left 15% center;
    }
    .scroll{
        width: 44px;
        left: 0;
        height: 210px;
    }
    .scroll:before{
        height: 70px;
    }

    #first_sec h2,
    #second_sec h2,
    #third_sec h2,
    #forth_sec h2{
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    #second_sec h2,
    #third_sec h2{
        margin-bottom: 19px;
        color: #fff;
    }
    #second_sec p,
    #third_sec p,
    #forth_sec p{
        font-size: 1.4rem;
    }
    #second_sec p br,
    #third_sec p br,
    #forth_sec p br{
        display: none;
    }

    #first_sec{
        border-right: solid 31px #eee;
        border-top: solid 31px #eee;
        border-bottom: solid 31px #eee;
        min-height: 0;
    }
    #first_sec:before{
        top: -31px;
        height: calc(100% + 62px);
        border-top: solid 31px #fff;
        border-bottom: solid 31px #fff;
        width: 20%;
    }
    #first_sec > div{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    #first_sec h2{
        padding-left: 30px;
        padding-right: 30px;
    }
    #first_sec p{
        font-size: 1.6rem;
        line-height: 2;
        padding-left: 30px;
        padding-right: 30px;
    }
    #first_sec p br{
        display: none;
    }
    #first_sec:after{
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    #first_sec > .sec_bg span{
        background-size: cover;
        background-attachment: scroll;
    }

    #second_sec{
        border-top: 80px solid #fff;
        border-bottom: 80px solid #fff;
        padding-bottom: 0;
        overflow: visible;
    }
    #second_sec > .sec_bg{
        height: 200px;
        width: 100%;
    }
    #second_sec > .sec_bg span{
        background-size: cover;
        background-position: center center;
        opacity: 0.8;
        margin: 0;
        width: 100%;
        height: 100%;
        background-attachment: scroll;
    }
    #second_sec:after{
        top: 92px;
        width: 92%;
        left: 4%;
    }
    #second_sec .txt{
        width: 100%;
        padding: 34px 4% 30px;
    }
    #second_sec h2,
    #second_sec p{
        padding-left: 20px;
        padding-right: 20px;
    }
    #second_sec p{
        padding-top: 20px;
    }
    #second_sec .dao2{
        margin: 0 4%;
    }
    #second_sec .dao2 ul{
        width: 92vw;
    }
    #second_sec .dao2 ul li{
        width: 100%;
    }
    #second_sec div ul li:first-child{
        margin-right: 0;
        margin-bottom: 10px;
    }
    #second_sec .dao2 ul li a, #second_sec .dao2 ul li div{
        height: 43vw;
    }

    #third_sec{
        border-top: 20px solid #fff;
        border-bottom: 80px solid #fff;
        padding-bottom: 0;
        overflow: visible;
        filter: blur(0);
    }
    #third_sec > .sec_bg{
        height: 200px;
        width: 100%;
    }
    #third_sec > .sec_bg span{
        background-size: cover;
        background-position: center center;
        opacity: 0.8;
        margin: 0;
        width: 100%;
        height: 100%;
        background-attachment: scroll;
    }
    #third_sec:after{
        top: 92px;
        width: 92%;
        left: 4%;
    }
    #third_sec .txt{
        width: 100%;
        padding: 34px 4% 30px;
        margin-left: 0;
    }
    #third_sec h2,
    #third_sec p{
        padding-left: 20px;
        padding-right: 20px;
    }
    #third_sec h3{
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 0;
        font-size: 2rem;
    }
    #third_sec p{
        padding-top: 20px;
    }
    #second_sec p:not(:last-child),
    #third_sec p:not(:last-child){
        margin-bottom: 0;
    }
    #third_sec ul{
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
    }
    #third_sec ul li{
        font-size: 1.6rem;
        margin-top: 10px;
        margin-bottom: 0;
    }
    #third_sec ul li:last-child{
        margin-bottom: 0;
    }
    #third_sec .dao2{
        margin: 0 4%;
        width: 92%;
    }
    #third_sec .dao2 a{
        line-height: 1.2;
        width: 100%;
        box-sizing: border-box;
    }
    #third_sec .dao2 a:after{
        height: 800%;
    }

    #forth_sec{
        padding-top: 80px;
        border-top: 20px solid #fff;
        padding-bottom: 80px;
    }
    #forth_sec .txt{
        padding: 20px;
    }

    footer{
        flex-direction: column;
        align-items: end;
        height: auto;
        padding-top: 40px;
    }
    footer .f_menu{
        order: 1;
        width: 92%;
        padding: 26px 0 26px 0;
        box-sizing: border-box;
        margin: 0 4%;
    }
    footer .f_menu ul{
        flex-wrap: wrap;
    }
    footer .f_menu ul li{
        width: 50%;
        box-sizing: border-box;
        text-align: left;
    }
    footer .f_menu ul li:not(:last-child){
        margin-right: 0;
    }
    footer .f_menu ul li:not(:last-child):not(:nth-last-of-type(2)){
        margin-bottom: 20px;
    }
    footer .f_menu ul li a{
        display: block;
        padding: 5px 20px;
    }
    footer p{
        order: 2;
        width: 100%;
        justify-content: center;
        padding: 35px 4% 35px;
    }
    .link_area{
        position: relative;
        margin-bottom: 15px;
    }
}
