/*
Theme Name: WS-N Theme
Theme URI: https://ws-n.jp/
*/

/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


html,body{
  font-size: 16px;
}
a{
  text-decoration: none;
  color: #4682b4;
}
a:hover{
  color: #00bfff;
}
p{
    line-height: 1.7;
}

#header{
  display: flex;
  background-color: #517D99;
}
.blog_name{
  margin-right: auto;
}
.blog_name a {
  display: block;
  padding: 12px 24px;
  color: #FFF;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
}
.blog_name a:hover {
  background-color: #6AC1B7;
}
#header ul{
 display: flex;
}
.nav a {
  display: block;
  padding: 12px 24px;
  color: #FFF;
  text-decoration: none;
}
.nav a:hover {
  background-color: #6AC1B7;
}



#container{
	display: flex;
}
#content{
	width: 60%;
  padding: 5%;
}
#sidebar{
	width: 40%;
	background-color: #DFEFED;
  padding: 5%;
}
#footer{
  background-color: #517D99;
  text-align: center;
  color: #fff;
  padding: 12px 0px;
}
section{
}
.post{
  margin-bottom: 100px;
  padding-bottom: 50px;
  border-bottom: 3px solid #ccc;
}
.post h1{
font-size: 1.4rem;
margin-bottom: 20px;
}
.post p{
  margin-bottom: 20px;
}


#footer-menu {
position: fixed;
width: 100%;
background-color: #1e1e1e;
bottom: 0;
left: 0;
z-index: 100;
padding: 0;
display: none;
}
#footer-menu ul{
display: flex;
}
#footer-menu li{
width: 25%;
text-align: center;
background-color: #1E1E1E;
}
#footer-menu li:nth-child(even){ 
background-color: #333;
}
#footer-menu li a{
width: 100%;
display: block;
padding: 5px 0;
color: #EEE;
}
#footer-menu li a:hover{
background-color: #666;
}



@media screen and (max-width: 1024px) {
.post p img{
    width: 100%;
    height: auto;
}
}

@media screen and (max-width: 414px) {
html,body{
  font-size: 14px;
}
#container{
  display: block;
}
#content{
  width: 100%;
  padding: 5%;
}
#sidebar{
  width: 100%;
  padding: 5%;
}
.nav a {
  padding: 12px 5px;
}
.post h1{
margin-bottom: 20px;
}
.post p{
  margin-bottom: 20px;
}
.post img{
    width: 100%;
    height: auto;
}
.form-text{  width: 100%;}
#footer-menu {

display: block;
}

}