@charset "utf-8";
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color:rgb(44, 44, 44);
    font-size: 15px;
    line-height: 36px;
}

p,h1,h2,h3,h4,h5,h6 {
    margin-top: 0;
}

a {
    text-decoration: none;
}

.main-center a {
    color: #f3768f;
    position: relative;
}

.main-center a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0%;
    /*線の形状*/
    width: 100%;
    height: 1.5px;
    background:#FFBCBC;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

.main-center a:hover {
    color:#FFBCBC;
}

.main-center a:hover::after {
    transform: scale(1,1);
}

img {
    vertical-align: bottom;
}

ul {
    margin: 0;
    padding: 0;
}

h1,h2,h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

p,dt,dd {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.7rem;
    font-weight: light;
}

header {
    /*fixedで上部固定*/
    position: fixed;
    height: 7.7rem;
    width: 100%;
    z-index: 999;/*最前面へ*/
    margin: 0 auto;
    background-color: #493a35;
    justify-content: space-between;
    align-items: center;
    color:#fff;
    text-align: center;
    padding: 20px;
}

/*　上に上がる動き　*/

#header.UpMove{
    animation: UpAnime 0.5s forwards;
  }
  
  @keyframes UpAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 0;
    transform: translateY(-100px);
    }
  }
  
  /*　下に下がる動き　*/
  
  #header.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 0;
    transform: translateY(-100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  

.logo {
    float: left;
    padding-left: 0.4rem;
    padding-bottom: 1.2rem;
}

.logo img {
    width: 23rem;
}

.global-nav {
    float: right;
}

.global-nav li {
    float: left;
    margin:0 20px;
    font-size:20px;
    list-style: none;
}

.global-nav li a{
    color: #dedede;
    text-decoration: none;
    font-family: 'M PLUS 1', sans-serif;
    font-size: 2.2rem;
}

#local-nav li {
    line-height: 50px;
    list-style: none;
    padding: 3px;
    font-size: 2.8rem;
    font-family: 'Anton', sans-serif;
}

.sidebar{
    /*stickyで固定*/
    position: -webkit-sticky;/*safari*/
    position: sticky;
    /*固定したい位置*/
    top: 10rem;
    /*ナビゲーションの形状*/
    /*border: 1px solid #eee;
    box-shadow:0 0 5px #ddd;*/
    padding-left: 40px;
}

#wrap {
    clear: both;
}

.content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-center {
    width: 57%;
    margin: 0 auto;
    padding: 3rem 0;
    padding-top: 10rem;
}

.sub-area{
    width: 32rem;/*もとは16.6%*/
    background-color: #ECA869;
    z-index: 900;
    position: relative;
}

footer {
    text-align: center;
    color: rgb(58, 98, 98);
    padding: 20px 0;
    height: 7rem;
    width: 100%;
    z-index: -900;
    position: relative;
    background-color: aquamarine;
}

footer small {
    font-size: 12px;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #282828;
    border-radius: 0.5rem;
}

.btn:hover {
    color: rgb(234, 232, 230);
}

.slider {
    position: relative;/*スライドショーの位置の起点とするためposition:relative;をつける*/
    z-index: 1;/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    height: 70vmin;/*スライダー全体の縦幅を画面の高さ*/
    width: 100%;/*スライダー全体の横幅*/
}

/*背景画像設定*/
.slider-item01 {
    background:url(https://pbs.twimg.com/media/FgyqDM1UUAAUCbc.jpg:orig);
}
.slider-item02 {
    background:url(https://pbs.twimg.com/media/FX9c_LtUYAAXX55.jpg:orig);
}
.slider-item03 {
    background:url(https://pbs.twimg.com/media/FX9c_cBUYAAX3DE.jpg:orig);
}
.slider-item04 {
    background:url(https://pbs.twimg.com/media/FVn1-z7UcAAkyJo.jpg:orig);
}
.slider-item05 {
    background:url(https://pbs.twimg.com/media/FQTBtHWaUAAYoSr.jpg:orig);
}
.slider-item06 {
    background:url(https://pbs.twimg.com/media/FP-fUZ9acAIB7Hk.jpg:orig);
}
.slider-item07 {
    background:url(https://pbs.twimg.com/media/FP0KA6PakAM5_Vh.jpg:orig);
}
.slider-item08 {
    background:url(https://pbs.twimg.com/media/FP0KBPtacAEOIdY.jpg:orig);
}
.slider-item09 {
    background:url(https://pbs.twimg.com/media/FP0HKh_aAAInyWr.jpg:orig);
}
.slider-item10 {
    background:url(https://pbs.twimg.com/media/FPwPVdWagAEqRwq.jpg:orig);
}
.slider-item11 {
    background:url(https://pbs.twimg.com/media/FFSnEGkaQAE3BC6.jpg:orig);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする。ここいじっても変わらないなぜ？*/
    height: 65vmin;/*各スライダー全体の縦幅*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
    text-align:center;
  margin:-40px 0 0 0;
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    width: 8px;
    height: 1.45rem;
    outline: none;
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
    opacity: 0.5;
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

#home{
    display: none;
}

textarea {
    resize: none;
    width: 100%;
    height: 20rem;
}

.q {
    font-family: 'Lobster', cursive;
    font-size: 7rem;
    margin: 0;
    position: absolute;
    color: #ebc8a3;
}

.a {
    font-family: 'Lobster', cursive;
    font-size: 7rem;
    margin: 0;
    float: right;
    padding-right: 4rem;
    color: #FFBCBC;
    margin-bottom: 2rem;
    padding-top: 3rem;
    padding-left: 1rem;
}

.question {
    padding-left: 8rem;
    font-size: 1.8rem;
}

.stripe {
    background: repeating-linear-gradient(-45deg, #b3b3b3, #b3b3b3 5px, #eaeaea 5px, #eaeaea 10px);
    height: 0.5rem;
    margin-left: 5rem;
  }
  
.answer {
    padding-left: 3rem;
    padding-bottom: 3rem;
}

iframe {
    width: 100%;
    aspect-ratio: 16/9; /*アスペクト比（縦横比）を指定*/
  }
  

@media screen and (max-width:768px) {
    /*画面サイズが768px以下の場合に適用*/
    body {
        font-size: 3.5vw;        
    }
    .main-center{
        padding: 2rem;
        padding-right: 1.2rem;
        width: 100%;
    }
    .sub-area{
        display: none;
    }
    /*ハンバーガーメニューボタン外側*/
    .openbtn{
        position: relative;/*ボタン内側の基点となるためrelativeを指定*/
        float: right;
        background:#ECA869;
        cursor: pointer;
          width: 50px;
          height:50px;
        border-radius: 5px;
    }
    /*ボタン内側*/
    .openbtn span{
        display: inline-block;
        transition: all .4s;/*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #444444;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top:15px; 
    }
      
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
      
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    /*activeクラスが付与されると線が回転して×に*/
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;/*真ん中の線は透過*/
    }

    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    /*ナビゲーション*/
    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: -999;
        /*ナビのスタート位置と形状*/
        top:-900%;
            left:0;
        width:100%;
            height: 80vmin;/*ナビの高さ*/
        background:rgba(236, 168, 105, 0.904);
            /*動き*/
        transition: all 0.6s;
    }
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        top: 0;
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: -999; 
        width: 100%;
        height: 80vmin;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: -999;
        top:50%;
        left:50%;
        padding-top: 7.7rem;
        transform: translate(-50%,-50%);
    }
    /*リストのレイアウト設定*/
    #g-nav li{
        list-style: none;
        text-align: center; 
        font-family: 'Noto Serif JP', serif;
        float: none;
    }   
    #g-nav li a{
        color: #353535;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    } 
    .global-nav {
        width: 30rem;
    }
    #home {
        display: block;
        font-family: 'Anton', sans-serif;
        font-size: 3rem;
        float: left;
        padding-left: 2%;
        z-index: -9999;
    }
    #home a{
        color: #cccccc;
        transition: all 0.3s;
    }
    #home.pannelactive a{
        color: #dfdfdf;
        transition: all 0.3s;
    }
    .main-center {
        padding-top: 7rem;
        margin-top: 2rem;
    }
}

@media (max-height:680px) {
    .dice-anime{
        display: none;
    }
    .dice-anime img {
        display: none;
    }
}