@charset "UTF-8";


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */
}


body{
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    /*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
    color: #222;
    /* サイト全体の文字色を定義しておく */
    font-size:16px;
    line-height: 1;
}

ul{
    list-style: none;
}

a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}

img{
    max-width: 100%;
    /* 親要素の大きさ以上大きくならず、かつ、自身の原寸大以上に大きくならない */
    vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}


/* reset and initial */

header{
    background-color: #fff;
}

.header_inner{
    height: 100px;
}

.header_inner h1{
    line-height: 100px;
    font-size: 1.75rem;
    padding-left: 38px;
    font-family: 'Karla', sans-serif;
    letter-spacing: 0.01em;
}

nav{
    background-color: #333;
}

nav ul{
    display: flex ;
}

nav li{
    width: 20%;
}

nav a{
    display: block;
    line-height: 60px;
    text-align: center;
    color: #fff;
}


nav a:hover{
    background-color: #eee;
    color: #444;
}



.container{
    width: 960px;
    margin: 0 auto;
}

.main{
    background-color: #efefef;
    padding: 20px 10px 100px 10px;
}

.main h2{
    font-size: 20px;
    text-align: center;
    padding: 50px 0 20px;

}

.lbox{
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.lbox li{
    width: 24%;

}

.lbox .txt{
    line-height: 1.7;
    text-align: justify;
    padding: 10px 12px;  
}

/* lightbox */
.accordion{
    margin-bottom: 60px;
}

.accordion dt{
    font-size: 18px;
    color: #444;
    font-weight: bold;
    padding: 10px 0 10px 12px;
    border-left: 5px solid #666;
    background-color: #bbb;
    cursor: pointer;
    margin-bottom: 10px;
}

.accordion dd{
    text-align: justify;
    line-height: 1.7;
    padding: 0 10px;
    margin-bottom: 30px;
    
}
.accordion dd span#today,.accordion dd span#fortune{
    display: block;
    line-height: 60px;
    font-weight: bold;
}

.accordion .current{
    border-left: 5px solid #c00;
}

.accordion dd:nth-of-type(3) iframe{
    /* google map setting */
    width: 100%;
    height:25vh;
}
/* accordion */


.photo_img{
    max-width: 600px;
    margin: 0 auto 60px;
}

.photo_img .photo{
    margin-bottom: 30px;
}

.photo_img ul{
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.photo_img li{
    width:calc(100% / 3 - 15px);
}
/* atrribute */


#top{
    position: fixed;
    right: 5%;
    bottom: 50px;
    width: 60px;
    height: 60px;
    display: block;
    background-color: #666;
    text-align: center;
    line-height: 60px;
    font-size: 14px;
    color: #fff;
    display: none;
}


/* top */


footer{
    background-color: #666;
}

.footer_inner{
    height: 80px;
}

.footer_inner small{
    line-height: 80px;
    display: block;
    text-align: center;
    color: #eeeeee;
}


.good{
    color: #f00;
}
/* javascriptで、占いが大吉のさいに追加されるクラス */