@charset “utf-8”;

.size_l{
    font-size: 1.5em;
}

.size_m{
    font-size: 1.2em;
}

.size_s{
    font-size: 1.0em;
}

body{
    background-image: url(../images/bk.png);
    background-repeat: no-repeat;
    background-color: #3dbabd;
    background-size: contain;
    background-attachment: fixed;
	font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

#page_01{
    height: 100vh;
}

#page_01 h1{
    writing-mode: vertical-rl;
    position: absolute;
    top: 30%;
    left: 20%;
}

#page_02{
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 5%;
}

#page_02 p{
    line-height: 2em;
    margin-bottom: 50px;
}

#logo{
    width: 200px;
    margin: 50px auto;
}

#page_03{
    background-color: #fff;
    padding: 5%;
}

#page_03 h1{
    font-size: 2em;
    text-align: center;
}

#page_03 h2{
    padding: 5%;
}

#page_03 img{
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 600px;
    display: inline-block;
}

#page_03 #stole{
    width: auto;
}

#page_03 ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#page_03 li{
    list-style: none;
    text-align: center;
    padding: 2%;
}

#page_04{
    padding: 5%;
    line-height: 2em;
}

#page_04 h1{
    margin: 50px;
}

#fix_blog{
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 20%;
}

#blog{
    text-decoration: none;
    background: rgba(255,255,255,0.7);
    display: block;
    color: #000;
    border: 1px solid #3dbabd;
    padding: 1%;
    line-height: 3em;
}

#contact{
    text-decoration: none;
    background: rgba(255,255,255,0.7);
    width: 40%;
    display: block;
    margin: 50px auto;
    color: #000;
    border: 1px solid #fff;
    padding: 1%;
}

#blog_page{
    text-align: center;
    padding: 5%;
}

#blog_page section.nav{
    margin: 0 auto;
	background-color: #FC0;
    line-height: 2em;
}
#blog_page section.nav p{
	margin: 0 auto;
	padding: 0 1rem;
	display:inline-table;
	width: 49%;
}
#blog_page section.nav p:first-child{
	text-align: left;
}
#blog_page section.nav p:last-child{
	text-align: right;
}


#blog_page section.bloglist{
    margin: 10px auto;
    padding: 2%;
	background-color: rgba(255,255,255,0.8);
    border-radius: 10px 10px;
    line-height: 2em;
}

#blog_page h2.title{
    text-align: left;
	border-bottom: #C90 solid 1px;
	padding-bottom: 0.1rem;
	margin-bottom: 0.5rem;
}

#blog_page p{
	margin-bottom: 1rem;
}

#blog_page p.date{
	color: #666;
	font-size: 90%;
    text-align: left;
	margin-bottom: 1.2rem;
}

#blog_page div.text{
    text-align: left;
	line-height: 1.2rem;
}

#blog_page p.img{
    padding 15px;
}
#blog_page p.img img{
    max-width: 80%;
	margin: 15px auto;
}

#contact_page{
    text-align: center;
    padding: 5%;
}

form {
  width: 50%;
  margin: 2% auto;
  min-width: 9rem;
}
  
input, textarea {
  width: 100%;
  max-width: 100%;
  border: none;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
  color: darken(#f9f9f9, 50%);
  
  &[type=submit] {
    background-color: #fde6c5;
    color: #000;
    width: auto;
  }

  &::placeholder {
    color: darken(#f9f9f9, 50%);
  }

  &.error {
    color: #fff;
  }
}
textarea {
  height: 10rem;
}
.captcha {
  float:left;
  input {
    float: right;
  }
  input[name=question] {
    width: 4rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: right;
    padding-right: 0;
  }
  [name=captcha] {
    width: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0.5rem;
    &::placeholder {
      text-align: center;
    }
  }
}




// Generic Styles ;)
* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}

#contact_page body {
  padding: 2rem;
  background: #f9f9f9;
  color: #2f2f2f;
  font-family: 'Open Sans';
}



.w_50{
    width: 50%;
}

.w_33{
    width: calc(100%/3);
}

.w_20{
    width: 20%;
}

.center{
    text-align: center;
}

@media screen and (min-width: 481px) { 
  #blog_page section{
    width: 70%;
  }
  #blog_page section.bloglist p.img:has(> :nth-child(2)) {
    text-align: center;
  }
  #blog_page section.bloglist p.img:has(> :nth-child(2)) img{
	display: inline-block;
	margin: 5px;
    width: 40%;
  }
    }
@media screen and (max-width: 480px) {
  #page_03 img{
    max-width: 70%;
  }

  #page_03 #stole{
    max-height: 600px;
    width: auto;
  }

  #fix_blog{
    width: 40%;
  }

  #contact{
    width: 80%;
    line-height: 3em;
  }

  #blog_page section{
    width: 90%;
  }

  form{
    width: 80%;
  }

}