@charset "UTF-8";
@import url(reset.css);
/***********************************************
*/
/*  COMMON
*/
/**********************************************/
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    width: 100%;
    min-width: 1200px;
}

body {
    line-height: 1.0;
    font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro w3","Hiregino Kaku Gothic pro","MS ゴシック","Osaka",sans-serif;
    font-size: 1.4em;
    background: url(../images/bg_body.png);
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: underline;
}

a:hover {
    color: inherit;
    text-decoration: none;
    opacity: .8;
}

/**********************************************
*/
/*   header
*/
/*********************************************/
header {
    width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

header nav {
    margin-left: auto;
}

header nav a {
    color: #666;
}

header nav a + a {
    margin-left: 3em;
}

/**********************************
*/
/*   main
*/
/*********************************/
main {
    width: 1200px;
    margin: auto;
    padding-bottom: 80px;
}

.main-visual {
    margin: 0 auto 40px;
}

section {
    width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

section + section {
    margin-top: 80px;
}

section h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5em;
    color: green;
    font-family: serif;
    position: relative;
}

section h2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 2px;
    margin: auto;
    background: green;
}

section h2 span {
    display: inline-block;
    padding: 0 2em;
    background: url(../images/bg_body.png);
}

.item {
    width: 28%;
    background: white;
    padding: 20px;
}

.item + .item {
    margin-left: auto;
}

.iten img {
    border-radius: 50%;
}

.item figcaption {
    font-size: 1.4em;
    text-align: center;
    margin: 1em 0;
}

.item p {
    line-height: 1.6;
}

.price {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 1em;
}

.price span {
    font-size: .8em;
    margin-left: .5em;
}

.blog-posts {
    display: flex;
    justify-content: space-around;
    position: relative;
    padding-bottom: 40px;
}

.blog-posts .post {
    display: block;
    width: 20%;
    color: inherit;
    text-decoration: none;
}

.blog-posts .post .inner {
    background: white;
    padding: 10px;
}

.blog-posts .post time {
    font-size: .9em;
}

.blog-posts .post h3 {
    margin-top: .5em;
    line-height: 1.4;
}

.blog-posts .post p {
    line-height: 1.4;
}

.blog-posts .blog-link {
    position: absolute;
    right: 0;
    bottom: 0;
    color: green;
    padding-right: 2em;
}

.blog-posts .blog-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
    border: .5em solid transparent;
    border-left: 1em solid green;
}

/*********************************************
*/
/*   footer
*/
/********************************************/
footer {
    background: url(../images/bg_footer.png);
    padding: 60px 0;
}

footer nav {
    text-align: center;
}

footer nav a {
    color: #ccc;
}

footer nav a:hover {
    color: white;
}

footer nav a + a {
    margin-left: 3em;
}

footer small {
    display: block;
    color: white;
    text-align: center;
    font-size: .9em;
    margin-top: 2em;
}