@charset "UTF-8";

:root{
    --colorWhite: #fffded;
    --colorBrown: #884b23;
    --colorGreen: #4e7851;
    --colorBlack: #333;
    --colorYellow: #fcedbf;
}

body{
    box-sizing: border-box;
    color: var(--colorBlack);
    line-height: inherit;
    letter-spacing: .1em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
.main-title h1, .g-nav, .contents-title{
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}
.indoor{ /* インドアの背景色 */
    background-color: #cc9966;
}
.outdoor{ /* アウトドアの背景色 */
    background-color: #78bd7d;
}

/* 共通部分
---------------------------------------- */
.wrapper{
    max-width: 1000px;
    margin: 0 auto;
}
.d-flex{
    display: flex;
    justify-content: center;
    align-items: center;
}
a{
    text-decoration: none;
    cursor: pointer;
}

/* Header
---------------------------------------- */
.header{
    padding: 42px 0;
    max-width: 1600px;
    margin: 0 8%;
}
.g-nav{
    font-size: 1.6rem;
    text-align: right;
    list-style: none;
}
.g-nav li{
    display: inline-block;
    margin: 0 1%;
}
.g-nav a{
    padding: 4px 2px;
    color: var(--colorWhite);
}
.g-nav .active{
    font-weight: 600;
    border-bottom: 1.6px solid var(--colorWhite);
}
.g-nav a:hover{
    opacity: .6;
}

/* Main
---------------------------------------- */
/* mv
---------------------------------------- */
.main-title{
    margin-top: 20px;
    color: var(--colorWhite);
    text-align: center;
}
.main-title h1{
    font-size: 4rem;
    font-weight: 600;
}
.main-title span{
    font-size: 2rem;
}
.main-title p{
    margin-top: 12px;
    font-size: 1.4rem;
}
/* MV */
.mv-box{
    position: relative;
}
/* キービジュアル */
.mv-img{
    width: 100%;
    margin: 40px 0;
}
.comment{
    position: absolute;
    inset: 0;
    top: 12%;
    left: 76%;
    transform: rotateZ(28deg);
    transform-origin: left top;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--colorWhite);
}
/* アイコンボタン */
.btn-box{
    flex-wrap: wrap;
    padding: 40px 4% 80px;
    position: absolute;
    inset: 0px;
}
.btn img{
    padding: 0 40px;
    margin-top: 20px;
    max-width: 240px;
    height: auto;
}
.btn p{
    margin-top: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    color: var(--colorWhite);
}
/* ボタンホバー 切り替えの動き */
.btn{
    position: relative;
}
.btn img:nth-of-type(2){
    position: absolute;
    inset: 0;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
.btn:hover img:nth-of-type(2) {
    opacity: 0;
}
/* 注意書き */
.attention{
    margin: 40px auto;
    padding: 40px 54px;
    width: 40%;
    border: 2px solid var(--colorWhite);
    font-size: 1.2rem;
    text-align: center;
    color: var(--colorWhite);
}

/* サイドナビ
---------------------------------------- */
/* left */
.side-left{
    margin-left: 8vw; /* X方向 画面の左端へ */
    position: fixed;
    top: 50%;
    transform: translateY(-50%); /* Y方向 画面の中央へ */
    z-index: 9990;
    display: none;
    width: 10%;
}
.side-left img{
    max-width: 90%;
}
.side-left a img:hover{
    opacity: .8;
    background-color: var(--colorWhite);
    border: .5px solid var(--colorWhite);
}
/* right */
.side-right{
    padding: 1%;
    margin-left: 85vw; /* X方向 画面の右端へ */
    position: fixed;
    top: 50%;
    transform: translateY(-50%); /* Y方向 画面の中央へ */
    z-index: 9990;
    display: none;
}
.side-right img{
    max-width: 50%;
}
.btn-right{
    margin: 8px 0;
}
/* ボタンホバー 切り替えの動き */
.btn-right{
    position: relative;
}
.btn-right img:nth-of-type(2){
    position: absolute;
    inset: 0;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
.btn-right:hover img:nth-of-type(2) {
    opacity: 0;
}

/* コンテンツ
---------------------------------------- */
.contents{
    padding: 40px 6%;
    margin: 200px auto 0;
    width: 55%;
    background-color: var(--colorYellow);
    border-radius: 50px;
    border: 4px solid var(--colorBrown);
    position: relative;
}
.indoor .contents{ /* インドアの色指定 */
    border: 4px solid var(--colorBrown);
}
.outdoor .contents{ /* アウトドアの色指定 */
    border: 4px solid var(--colorGreen);
}
.contents-title{
    padding-bottom: 8px;
    padding-left: 4%;
    font-size: 1.8rem;
    font-weight: 600;
}
.indoor .contents-title{ /* イントドアの色指定 */
    border-bottom: 2px solid var(--colorBrown);
}
.outdoor .contents-title{ /* アウトドアの色指定 */
    border-bottom: 2px solid var(--colorGreen);
}
.contents-img{
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}
.star{
    font-size: 1.2rem;
}
.index, .desc{
    margin: 0 8%;
}
.indoor .desc{ /* イントドアの色指定 */
    color: var(--colorBrown);
}
.outdoor .desc{ /* アウトドアの色指定 */
    color: var(--colorGreen);
}
.explain{
    margin-top: 16px;
    font-size: 1rem;
}
/* 左上目印のアイコン */
.contents-mark{
    position: absolute;
    inset: 0;
    max-width: 180px;
    top: -120px;
    left: -80px;
    z-index: 99;
}
/* 背景のアイコン */
.contents-back{
    position: absolute;
    inset: 0;
    top: 58%;
    left: 45%;
    width: 60%;
    opacity: .15;
}
/* おすすめのふきだし */
.dialogue{
    width: 60%;
    height: auto;
    position: absolute;
    inset: 0;
    top: -140px;
    left: 55%;
}
/* Footer
---------------------------------------- */
.footer{
    margin-top: 40px;
    padding: 80px 0;
    text-align: center;
    color: var(--colorWhite);
}


/* レスポンシブ 
---------------------------------------*/
@media (max-width:1000px){
    /*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/

/*========= ボタンのためのCSS ===============*/

/*ボタン全体の形状*/
.openbtn1{
    /*はじめは非表示に*/
    display: none;
    /*ボタンの位置*/
    position:fixed;
    top: 16px;
    left: 78%;
    z-index: 999;
    /*ボタンの形状*/
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
}

/*ボタンのアイコン設定*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background-color: #333;
    width: 80%;
}

.openbtn1 span:nth-of-type(1) {
    top:15px; 
}

.openbtn1 span:nth-of-type(2) {
    top: 26px;
}

.openbtn1 span:nth-of-type(3) {
    top: 37px;
}

/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 80%;
}

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

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 80%;
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}
@keyframes fadeDownAnime{
    from {
    opacity: 0;
    ransform: translateY(-100px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
}


/*========= ヘッダーナビゲーションのためのCSS ===============*/

/*==ヘッダーの形状*/
#header{
    height: 80px;
    width:90%;
    justify-content: space-between;
    align-items: center;
    color: var(--colorWhite);
    text-align: center;
    padding: 20px;
}

/*.doneクラスがついたヘッダー*/
#header.dnone {
    opacity: 0;/*透過0にして非表示に*/
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
#header.dnone.panelactive {
    opacity: 1;/*不透明にして出現*/
}


/*==ヘッダーのテキストナビゲーションの形状*/
#g-navi ul{
    list-style: none;
    display: flex;
    justify-content: center;
}

#g-navi ul li a{
    display: block;
    text-decoration: none;
    color: var(--colorBlack);
    padding:10px;
    font-weight: 100;
    width: 100vw;
}

#g-navi ul li.current a,
#g-navi ul li a:hover{
    color:#fff; 
}

/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
#header.dnone #g-navi{
    /*固定位置にして最背面に*/
    position:fixed;
    top: 0;
    left: 0;
    z-index: -1;
    /*高さと幅*/  
    width:100%;
    height: 100%;
    /*天地中央＆テキスト中央揃え*/  
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    padding: 100px 0px 160px;
    /*はじめは透過0に*/
    opacity: 0;
    transition: all 0.4s;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
#header.dnone.panelactive #g-navi{
    opacity: 1;/*不透明に*/
    z-index:3;/*最前面に*/
    background:var(--colorWhite);
}

#header.dnone.panelactive #g-navi ul{
    display:block;/*flexの横並びをblockにして縦並びに*/
}


/*リストの形状*/
#header.dnone.panelactive #g-navi li a{
    color: var(--colorBlack);
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition:all 0.3s;
    width: 100vw;
}

section{
    position: relative;
    z-index: 1;
}

    .mv-img{
        height: 720px;
        object-fit: cover; 
    }
    .btn-box{
        padding: 100px 4% 80px;
    }
    .comment{
        top: 8%;
        left: 60%;
        font-size: 1.4rem;
        transform: rotateZ(12deg);
    }
    .attention{
        width: 70%;
    }
    .side-left a{
        display: none;
    }
    .side-right a{
        display: none;
    }
    .contents{
        width: 70%;
    }
    .contents-mark{
        max-width: 140px;
        top: -77px;
        left: -73px;
    }
}

@media (max-width:414px) {
    .wrapper{
        max-width: 375px;
    }
    #header {
        height: auto;
    }
    .g-nav{
        font-size: .8rem;
    }
    .g-nav a{
        padding: 2px 2px;
        color: var(--colorWhite);
    }
    .g-nav .active{
        font-weight: 600;
        border-bottom: 1.2px solid var(--colorWhite);
    }
    .main-title h1{
        font-size: 2rem;
    }
    .main-title span{
        font-size: 1.2rem;
    }
    .main-title p{
        font-size: .8rem;
    }
    .mv-img{
        height: 340px;
        margin: 20px 0;
        object-fit: cover; 
    }
    .comment{
        font-size: 0.5rem;
        top: 6%;
        left: 58%;
        transform: rotateZ(12deg);
    }
    .btn-box{
        padding: 40px 4% 56px;
    }
    .btn img{
        padding: 0 36px;
        margin-top: 10px;
        max-width: 140px;
    }
    .btn p{
        margin-top: 0px;
        font-size: .8rem;
    }
    .attention{
        margin: 10px auto;
        padding: 20px 10px;
        width: 80%;
        font-size: .6rem;
        border: 1.6px solid var(--colorWhite);
    }
    .contents{
        padding: 32px 6%;
        margin: 100px auto 0;
        width: 80%;
        border-radius: 30px;
    }
    .indoor .contents{ /* インドアの色指定 */
        border: 2px solid var(--colorBrown);
    }
    .outdoor .contents{ /* アウトドアの色指定 */
        border: 2px solid var(--colorGreen);
    }
    .contents-title{
        padding-bottom: 4px;
        font-size: 1.2rem;
    }
    .indoor .contents-title{ /* イントドアの色指定 */
        border-bottom: 1px solid var(--colorBrown);
    }
    .outdoor .contents-title{ /* アウトドアの色指定 */
        border-bottom: 1px solid var(--colorGreen);
    }
    .contents-img{
        margin: 8px 0;
    }
    .star{
        font-size: .8rem;
    }
    .explain{
        margin-top: 8px;
        font-size: .6rem;
    }
    .contents-mark{
        max-width: 88px;
        top: -56px;
        left: -32px;
    }
    /* おすすめのふきだし */
    .dialogue{
        top: -80px;
        left: 50%;
    }
    /* Footer
    ---------------------------------------- */
    .footer{
        margin-top: 20px;
        padding: 40px 0;
        font-size: .6rem;
    }
}