@charset "UTF-8";

/* 全てのページで適応する設定 */
html{
    font-size: 16px;
    font-family: serif;
    background-color: #F5F0EC;
}

p,li,td,dl,dt,dd,section{
    line-height: 1.7;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

h1{
    color: #303231;
    text-align: center;
}

a:link{
    color:#303231;
    text-decoration: none;
}

a:visited{
    color: #303231;
    text-decoration: none;
}

a:hover{
    color: #303231;
    text-decoration: underline;
}

a:active{
    color: #303231;
    text-decoration: underline;
}

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

img{
    max-width: 100%;
}
/* 全てのページに適応 - ヘッダー - */


header {
    background-image: url(../images/header_back.png);
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0px 1px 15px -5px #777;
    padding-top: 1.75rem;
    padding-bottom: 1rem;
}

.header-logo {
    width: fit-content;
    margin: 0 auto;
    font-size: 1rem;
}

nav{
    margin: auto;
}

#menu-on-off {
    display: none;
}

.menu-btn {
    display: none;
}

.global-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 650px;
    padding-left: 0;
    margin: 0 auto;
    list-style-type: none;
}

.global-nav__item {
    position: relative;
    overflow: hidden;
    width: 25%;
    text-align: center;
    color: #303231;
}

.global-nav__item:hover {
    overflow: visible;
}

.global-nav__item a:link {
    color: #303231;
}

.global-nav__item a:visited {
    color: #303231;
}

.global-nav__item a:hover {
    color: #303231;
}

.global-nav__item a:active {
    color:#303231;
    text-decoration: none;
}

/* 全てのページに適応 - メイン - */

.contents{
    max-width: 800px;
    margin: auto;
    margin-bottom: 3rem;
}

.title{
    text-align: right;
    padding: 2rem 0 2rem 0;
    margin: 0;
}

/* 全てのページに適応 - フッター - */

footer{
    background-color: #AFBAB3;
    background-image: url(../images/back.png);
    margin: 0;
}

.gotop{
    text-align: center;
    padding-top: 0.25rem;
}

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

.footer_logo{
    text-align: left;
    margin: auto auto auto 20px;
    padding: 1rem;
}

.copyright{
    margin: 0 auto;
    text-align: center;
}


.shop_info{
    text-align: right;
    padding: 1rem 1rem 0 0;
}

.sns_icon{
    display: flex;
    justify-content: right;
    gap: 20px;
}

.under{
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

/* 個別のスタイル */

/* パンくずリストの設定 */
.breadcrumb {
    display: flex;
    gap: 1em;
    max-width: 1000px;
    padding: 0 3%;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
    list-style-type: none;
}

.breadcrumb__item::before {
    content: ">";
}

.breadcrumb__item:first-child::before {
    content: "";
}

.breadcrumb__item:last-child a:hover {
    color: inherit;
    text-decoration: none;
}

/* indexの設定 */
/* スライドショー設定 */
#graphic {
	max-width: 1200px;
	margin: 0 auto 30px auto;
}
#graphic ul {
	display: block;
	list-style: none;
	padding-left: 0;
	position: relative;
}
#graphic ul li {
	display: block;
	opacity: 0;
}
#graphic ul li:nth-child(2),
#graphic ul li:nth-child(3) {
	position: absolute;
	top: 0;
}
#graphic ul li:nth-child(1) {
	position: relative;
	z-index: 3;
}
#graphic ul li:nth-child(2) {
	z-index: 2;
}
#graphic ul li:nth-child(3) {
	z-index: 1;
}
#graphic ul li.now {
	opacity: 1;
}
#graphic ul li.now:nth-child(1) {
	z-index: 0;
}
#graphic ul li img {
	vertical-align: bottom;
}
/* スラドショーここまで↑ */

.chart{
    text-align: center;
    padding-bottom: 1em;
    width: 100%;
}

.top_h2{
    margin: 0;
    max-width: 100%;
}

.news_list{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.top_news{
    max-width: 100%;
    margin-bottom: 11rem;
}

.top_news ul{
    padding: 0;
    margin-top: 2rem;
}

/* チャート画像（縦）を隠す */
.chart-tate{
    display: none;
}

/* アバウトショップの設定 */

.about_shop{
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: left;
    text-indent: 1rem;
    margin: 0 0 2rem 0;
}

.about_shop:last-child{
    flex-direction: row-reverse;
}

/* .about_shop__img{
    width: 50%;
    margin: 0 auto;
}

.about_shop__para {
    width: 50%;
    margin: 0 auto;
} */

.about_shop__img{
    flex: 1;
    margin: 0 auto;
}

.about_shop__para {
    flex:1;
    margin: 0 auto;
} 



/* トガリネズミのページ */

.togari-icon{
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index:999;
}

.togari-bg{
    background-image: url(../images/togari-peta.png);
}

.togari-text{
    background-color: #a5b5ac5f;
    color: #4c3b3b;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 1rem;
}

.togari-pic{
    text-align: center;
}

.togari-under{
    text-align: right;
}

/* イベントニュースの設定 */

.eventpage_news{
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-align: left;
    margin: 0 0 2rem 0;
}


.event_img{
    /* width: 50%; */
    margin: 0 auto;
    flex: 1;
}

.event__para {
    /* width: 50%; */
    flex: 1;
    margin: 0 auto;
}


.event_item{
    font-weight: normal;
    text-align: left;
    margin-top: 1rem;
}



/* メニューの設定 */

.items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 3rem;
    padding: 0;
}

.item{
    text-align: center;
    margin-bottom: 3rem;
    padding: 0;
  }

  .menu_title{
    font-weight: normal;
    padding-left: 1rem;
}

  span{
    font-weight: bold;
    justify-content: center;
    text-align: right;
  }


/* アクセスページの設定 */
.access_main{
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.access_map{
    text-align: center;
    }

.access_dl{
    margin: auto;
}


.access_term{
    margin-bottom: 1rem;
}
.access_term,.access_desc{
    text-align: center;
}

.acces_sns_icon{
    display: flex;
    justify-content: center;
}

.access_text{
    text-align: center;
    margin-bottom: 1rem;
}

/* コンタクトページの設定 */
.contact_text{
    text-align: right;
    margin-bottom: 1rem;
}

.contact_item{
    text-align: left;
}

.contact_btn{
    text-align: center;
}

/* プライバシーポリシー */
.privacy_text{
    margin-bottom: 1rem;
}

/* 404ページ*/
.error_items{ 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
   
}

.error_item{
    width: 200px;
    text-align: center;
}

/* テストページ設定↓ */

.intro{
    margin: 2rem auto 1rem;
}

.intro-text{
    text-align: right;
}

.intro-text:last-of-type{
    margin-bottom: 3rem;

}

.go-top-test{
    color: #253958;
    text-align: right;
    background-image: url(../images/drink_n.png); 
    background-color: rgba(255, 255, 255, 0.494); 
    background-blend-mode: overlay;
    padding: 0 0 2rem 5rem;
    
}

#question_area {
    font-size: 1.5em;
    margin-top: 1.5rem;
}
.txt_hide {
    display: none;
}
.txt_display {
    display: block;
    margin-bottom: 3rem;
}
#btn_area {
    margin-top: 30px;
    text-align: center;
}
#btn_yes, #btn_no {
    display: inline-block;
    text-decoration: none;
    width: 100px;
    color: #ffffff;
    text-align: center;
    padding: 10px;
}
#btn_yes {
    background: #00a03e;
    opacity: 0.7;
}
#btn_yes:hover,
#btn_no:hover {
    opacity: 1;
}
#btn_no {
    background: #ffa200;
    opacity: 0.7;
}

.more-btn{
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    margin: 2rem;
    text-align: center;
}


#result_area,#question_area{
    text-align: center;
}

/* テストページに繋がるポップアップのリンクをしたい */

.drink_btn{
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index:999;
 }

/* モバイル対応 */


@media(max-width: 754px){

    .news_list{
        flex-direction: column;
        margin: 0 auto;
    }

    .top_news_icon{
        text-align: right;
    }

}
@media(max-width: 650px){

    /* レスポンシブヘッダーの設定 */
                
    .header-logo {
        padding-left: 1em;
        margin: 0;
        padding-right: 4.5em;
    }

    #menu-on-off:checked~nav {
        left: 0%;
    }

    .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 1.75rem;
        right: 0.5rem;
        z-index: 100;
        width: 3em;
        height: 3em;
        padding: 0.5em;
        border: solid 1px #ffffff;
        border-radius: 0.25em;
        color: #ffffff;
        font-size: 0.75rem;
        background-color: #253958;
    }


    nav {
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 99;
        width: 100%;
        height: 100%;
        padding-top: 5.5rem;
        padding-left: 4rem;
        background-color: #253958;
        transition: all 0.2s linear;
    }

    .global-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .global-nav__item {
        width: 100%;
        border-bottom: solid 1px #ffffff;
        font-size: 1.25rem;
        text-align: left;
        text-indent: 1.5rem;
    }

    .global-nav__item a {
        display: block;
        padding: 1rem 0;
    }

    .global-nav__item a:link{
        color: #ffffff;
    }

    .global-nav__item a:visited {
        color: #ffffff;
    }

    .global-nav__item a:hover {
        text-decoration: none;
    }
    /* レスポンシブヘッダーの設定ここまで */

    /* レスポンシブ-インデックス（チャート画像）の画像切り替え */
    .chart{
        display: none;
    }   
    .chart-tate{
        display: block;
    }
    /* レスポンシブ-インデックス（チャート画像）の画像切り替えここまで */

    /* レスポンシブ各ページ表示の設定 */

                        main{
                                padding: 0 4%;
                            }

                          .items{
                            grid-template-columns: 1fr 1fr;
                          }


                          #graphic{
                            max-width: 100%;
                          }

                         .shop_info{
                            padding-top: 1rem;
                         }

                         .index-text{
                            font-size: 16px;
                        }

                        .about_shop{
                            flex-direction: column;
                        }

                        .about_shop:last-child{
                            flex-direction: column;
                        }

                        .eventpage_news{
                            flex-direction: column;
                        }

                        .access_main{
                            display: block;
                            justify-content: center;
                            margin-bottom: 3rem;
                        }

                        .access_map{
                            margin-bottom: 3rem;
                        }

                        .error_items{
                            grid-template-columns: 1fr 1fr;
                        }

                        .error_item{
                            padding-bottom: 1rem;
                        }
                    }
/* レスポンシブ各ページ設定ここまで */
