/*******************
    common style
*******************/
body {
    background: #FEFFF1;
    margin:0 auto;
    width: 100%;
    color: #757575;
    float: center;
    text-align: center;
    
    font-family:"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","Meiryo","メイリオ","ＭＳ Ｐゴシック",sans-serif;
    font-size: calc((1.1em+0.25vw)*1);
}

img{
    max-width: 100%;
    border-radius: 5px;
}

li{
    list-style-type: none;
    text-align: center;
    margin: 0 auto;
}

.underline {
    border-bottom: solid 5px #388E3C;
}

article{
    margin-top: 100px;
}




/****************
    contents
****************/

/** top **/

.top{
    margin: 0px;
    width: auto;
}

.top h1{
    text-align: left;
    font-size: 15vw;
    line-height: 90%;
    font-weight:lighter;
    color: #fff;
    font-family: 'Cinzel', serif;
}

.top h2{
    text-align: left;
    font-size: 200%;
    margin-top: -150px;

    color: #388E3C;
    font-family: 'Alegreya Sans SC', sans-serif;
    }




/** content **/

.content {
    margin-top: -50px;
    padding-top: 50px;
}

.content h1{
    text-align: left;
    font-size: calc((1.2em + 0.5vw)*3);
    margin-left: 20px;
    font-family: 'Cinzel', serif;
    
    font-weight:lighter;
}

.content .white{
    color: #fff;
}

.content .col h1{
    text-align: center;
    font-size: calc((1.2em + 0.25vw)*2);
    margin-left: 0px;
    line-height: 100%;
}

.content .col h2{
    text-align: center;
    font-size: calc((1.2em)*2);
    margin: 10px auto 0px;
}

.content .col p{
    text-align: center;
    margin: auto;
}


/** Halal Style **/
.content-halalstyle {
    padding-bottom: 50px;
}

.content-halalstyle h1{
    color: #388E3C;
}

.content-halalstyle p {
    margin: 0 10vw;
}


/** Our Style **/
.content-ourstyle {
    width: 100%;
    background-image: url(../image/greencup.png);    /* 背景画像のURL */
    background-repeat: repeat;    /* リピート表示 */
    
    padding-bottom: 50px;
    margin-top: -55px;
}

.content-ourstyle h2 {
    color: #fff;
    font-size: calc((0.81em + 0.5vw)*2);
    margin-top: 10px;
}

.content-ourstyle h3 {
    color: #fff;
    font-size: calc((0.81em + 0.5vw)*1);
    margin-top: -6px;
}

.content-ourstyle .content .col h1{
    text-align: center;
    font-size: calc((1.2em + 0.25vw)*1.5);
    margin: 10px auto;
}



/** Menus **/
.content-menus .content .col h1 {
    text-align: center;
    font-size: calc((1.2em + 0.25vw)*1.4);
    
    margin: 10px auto;
}

.content-menus .content .col h2 {
    text-align: center;
    font-size: calc((1.2em + 0.25vw)*1);
    margin-top: -15px;
}



/** About **/
.content-about{
    background: #F5F0CF;
    color: #fff;
}

.aboutbox {
    background-image: url(../image/about_s_black_p_s.jpg);    /* 背景画像のURL */
    background-size: cover;    /* サイズいっぱいに背景画像を表示 */
    background-position: center;    /* 画像の中央を表示 */
    background-repeat: no-repeat;    /* リピート表示しない */
}


.content-about .content .col h1 {
    text-align: center;
    font-size: calc((1.4em + 0.25vw)*1.8);

    margin: 10px auto;
}

.content-about .content .col h2 {
    text-align: center;
    font-size: calc((1.3em + 0.25vw)*1.2);

    margin: 10px auto;
}

.content-about p {
    margin: 0 10vw;
}

.content-about ul {
    margin: 20px;
    color: #a5d6a7;
    font-weight: bold;
}

.content-about li {
    margin-top: 10px;
}

.aboutmebox {
    background: #fff;
    border-radius: 5px;
    margin: 40px 0px 10px;
    
    color: #757575;
}



/** Access **/
.content-access h2{
    font-size: calc((0.8em + 0.5vw)*2);
}


/** Google Maps **/

.map_wrapper {
    margin: 0px auto;
    padding: 0px;
    border: 0px solid #CCC;
}

.googlemap {
    position: relative;
    padding-bottom: 25.25%;
    height: 0;
    overflow: hidden;
}
.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/** Schedule **/
#schedule .col h1{
    text-align: center;
    font-size: calc((1.2em + 0.25vw)*2);
    margin: 3vh auto;
    line-height: 100%;
}


/** Policies **/
.content-policies ul {
    margin: 20px;
}

.content-policies li {
    list-style-type: disc;
    margin-top: 10px;
    color: #388E3C;
    text-align: left;
}



/** Contact **/
.content-contact{
    background: #F5F0CF;
}


/** footer **/

footer {
    background: #388E3C;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 40px 0 20px;
}
.footer a{
    text-decoration: none;
    color: #C8E6C9;
}
.footer a:hover{
    color: #FFFFFF;
}

.icons a{
    text-decoration: none;
    color: #C8E6C9;
}
.icons a:hover{
    color:#FFFFFF;
}



//***********
    menu
************//

.inner {
    width: 980px;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#top-head {
    top: 0px;
    position: absolute;
    width: 100%;
    margin: 0px auto 0;
    padding: 10px 0 0;
    line-height: 2;
    z-index: 999;
    
    
}

#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}

#top-head a:hover{
    color: #C8E6C9;
}



#top-head .inner {
    position: relative;
}

#top-head .logo {
    float: left;
    font-size: 24px;
    margin: 0px auto 12px;
    
    font-family: 'Cinzel', serif;
}
#top-head .logoimage {
    float: left;
    width:50px;
    margin: -15px 10px;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
    padding: 0 10px;
}

#global-nav ul li i {
    font-size: 20px;
}


/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed .logo {
    font-size: 24px;
    color: #BDBDBD;0
    
}

#top-head.fixed #global-nav ul li a {
    color: #BDBDBD;
    padding: 0px 11px;
    font-size: 14px;
}

#top-head.fixed #global-nav ul li a:hover {
    color: #4CAF50;
}


/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}



/***  menu hover animation  ***/

a,a:visited,a:hover,a:active{
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    position:relative;
    transition:0.5s color ease;
    text-decoration:none;
    font-size:14px;
}
a:hover{
    color: #4CAF50;
}
a.after:after{
    content: "";
    transition:0.5s all ease;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    position:absolute;
}

a.after:after{
    bottom:-0.25em;
}
a.after:after{
    height:3px;
    height:0.15rem;
    width:0;
    background:#388E3C;
}
a.first:after{
    left:0;
}

a.after:hover:after{
    width:100%;
}





/*****************
******************
    for mobile
******************
*****************/

@media screen and (max-width: 850px) {

/*******************
    mobile styles
*******************/
    
    img{
        max-width: 100%;
        border-radius: 0px;
    }
    
    article{
        margin-top: 50px;
    }

    /** top **/
    
    .top{
        margin-top: 0px;
    }

    .top h1{
        text-align: left;
        font-size: 20vw;
        line-height: 120%;
        
        color: #fff;
    }

    .top h2{
        text-align: left;
        font-size: 150%;
        margin-top: -50px;
        
        color: #388E3C;
    }


    /** contents **/

    .content{
        margin-top: 55px;
    }

    .content h1{
        text-align: left;
        font-size: calc((1.3em + 0.5vw)*2.5);
        margin: 0;
        
        line-height: 95%;
    }
    
    
    .content-halalstyle p {
        margin: 0 1vw;
    }
    
    .content-about p {
        margin: 0 1vw;
    }

    
    /** Our Style **/
    .content-ourstyle h2 {
        color: #fff;
        font-size: calc((0.81em + 0.6vw)*1.1);
        margin-top: -10px;
    }

    .content-ourstyle h3 {
        color: #fff;
        font-size: calc((0.81em + 0.6vw)*0.8);
        margin-top: -6px;
    }
    
    .content-ourstyle .content .col h1{
        text-align: center;
        font-size: calc((1.2em + 0.7vw)*1.3);
        margin: 20px auto;
    }
    

    /** about **/
    .aboutbox {
        background-image: url(../image/about_s_black_mobile_p_s.jpg);    /* 背景画像のURL */
        background-size: cover;    /* サイズいっぱいに背景画像を表示 */
        background-position: center;    /* 画像の中央を表示 */
        background-repeat: no-repeat;    /* リピート表示しない */
    }
    
    #about .col h1 {
        text-align: center;
        font-size: calc((1.2em + 0.5vw)*1.2);
        font-family: 'Cinzel', serif;
        
        font-weight:bold;
        line-height: 120%;
        margin: -10px -15px 0px;
    }
    
    #about .col h2 {
        text-align: center;
        font-size: calc((1.2em + 0.9vw)*0.8);
        font-family: 'Cinzel', serif;

        line-height: 90%;
        font-weight:lighter;
        margin-bottom: 20px;
    }
    
    #about .aboutmebox h2{
        text-align: center;
        font-size: calc((1.2em + 0.5vw)*2);
        font-family: 'Cinzel', serif;

        font-weight:lighter;
    }
    
    
    
    /** Access **/
    .content-access h2{
        font-size: calc((0.8em + 0.5vw)*1.5);
    }
    
    
    /** Google Maps **/
    .googlemap {
        position: relative;
        padding-bottom: 75.25%;
        height: 0;
        overflow: hidden;
    }
    .googlemap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
    
    
    /** Policies **/
    .content-policies h1 {
        text-align: left;
        font-size: calc((1.2em + 0.5vw)*2);
        margin-left: 0px;
        font-family: 'Cinzel', serif;

        font-weight:lighter;
    }
    


/****************
    mobile menu
****************/
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        line-height: 1;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #fff;
        background: rgba(255,255,255,0);
        width: 100%;
        height: 46px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #BDBDBD;
        font-size: 2px;
        display: none;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -650px;
        background: #BBBDCF;
        width: 100%;
        text-align: center;
        padding: 40px 0 30px;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    
    #global-nav ul li i {
        font-size: 25px;
    }
    
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 11px 0;
    }
    
    #nav-toggle {
        display: block;
    }
    
    
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(640px);
    }
}


