@charset "UTF-8";
@import url(reset.css);

*{
    box-sizing: border-box;
}

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

body{
    line-height: 1.0;
    font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ ゴシック","Osaka",sans-serif;
    font-family: 1.4em;
    background: url(../img/bg_body.png);
}

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

a{
    text-decoration: underline;
}

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

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{
    width: 1200px;
    margin: auto;
    padding-bottom: 80px;
}

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

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(../img/bg_body.png);
}

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

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

.item img{
    margin-right: 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;
}

.bkog-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{
    background: url(../img/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;
}

#global-nav {
  width: 1000px;
  height: 800px;margin: auto;
  padding: 0;
}

#global-nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
}

#global-nav li {
  width: 20%;
}

#global-nav li + li {
  border-left: 1px solid white;
}

#global-nav li a {
  display: block;
  color: white;
  text-align: center;
  font-size: 18px;
  padding:  1em;
  background: #666;
}

#global-nav li a:hover {
  background: #333;
  text-decoration: none;
}

