/* ==================================

    Common -  共通CSS

================================== */

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'keifont';
    src: url('../font/keifont.woff2') format('woff2'),
        url('../font/keifont.woff') format('woff'),
        url('../font/keifont.ttf') format('truetype'),
        url('../font/keifont.eot') format('eot');
}

html {
    font-size: 62.5%;
}

body {
    font-family: tbcgothic-std, "メイリオ", sans-serif;
    font-style: normal;
    font-weight: 800;
    background-color: #FFF;
    color: #3C3737;
    font-size: 1.5rem;
}

a {
    color :#fff;
    transition: .4s;
    text-decoration: underline;
}

a:hover {
    color :#feefff;
    transition: .4s;
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

ul li {
    list-style: none;
}



/* ==================================

    Flex -  フレックス

================================== */

.flex-space-around {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
}

.flex-space-between {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}

.flex-space-between-center {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-space-between-wrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex-start {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
}

.flex-start-center {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    align-items: center;
}

.flex-start-center-wrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.flex-start-wrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-diretion: flex-start;
    flex-wrap: wrap;
}

.flex-center-center {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 640px) {
    .flex-space-between-center {
        display: block;
    }
}



/* ==================================

    Header -  ヘッダー

================================== */

.header-area {
    margin: 64px auto;
}

.logo-img-box {
    width: 120px;
    margin: 32px auto;
}

@media screen and (max-width: 768px) {
    .logo-img-box {
        width: 15.5%;
    }    
}

@media screen and (max-width: 640px) {
    .logo-img-box {
        width: 20%;
    }    
}



/* ==================================

    Nav -  ナビ

================================== */

.nav-area {
    width: 900px;
    list-style: none;
    margin: 64px auto;
}

@media screen and (max-width: 768px) {
    .nav-area {
        width: 90%;
    }
}

.nav-area ul li {
    display: inline;
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .nav-area ul li {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .nav-area ul li {
        font-size: 15px;
    }
}



/* ==================================

    Footer -  フッター

================================== */

.footer-area {
    position: fixed;
    bottom: 8px;
    right: 16px;
    text-align: right;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .footer-area {
        position: inherit;
        width: 90%;
        margin: 0 auto;
    }
}



/* ==================================

    H -  見出し

================================== */

h1 {
    font-size: 1.5rem;
    line-height: 2.0;
}

h2 img {
    width: 200px;
}

@media screen and (max-width: 640px) {    
    h1 {
        font-size: 1.2rem;
        line-height: 2.0;
    }

    h2 img {
        width: 50%;
        margin: 64px auto;
    }
}



/* ==================================

    Menu -  メニュー

================================== */

ul.menu {
    text-align: right;
}

@media screen and (max-width: 640px) {    
    ul.menu {
        text-align: center;
    }
}

ul.menu li {
    display: inline-block;
    font-size: 1.5rem;
    padding-left: 16px;
}

ul.menu li a {
    display: inline-block;
    font-size: 1.5rem;
    color: #3C3737;
    text-decoration: none;
    transition: .4s;
}

ul.menu li a:hover {
    color: rgba(204, 41, 54, 1);
    transition: .4s;
}