@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}
 
html {
  -ms-text-size-adjust: 100%;  /* IE on Windows Phone用 */
  -webkit-text-size-adjust: 100%;  /* iOS用 */
  font-family: Tahoma, Geneva, sans-serif;
}

p,h1,h2,h3,h4,h5,h6{
 margin-top:0;
}

img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align:bottom;
}

a{color:#008080;text-decoration:none;}
a:hover{color:#00ff7f;  background: #3B6FB5;}

#wrapper { /* 小画面、中画面 */
  width: 100%;
}

header { /* 全レイアウトで共通 */
  width: 100%;
}
@media only screen and (min-width:961px) { /* 大画面 */
  #wrapper {
    max-width: 1160px;
    padding: 0px 15px;
    margin: 0px auto;
    display:flex;
  }
  header {
    max-width: 1160px;
    padding: 0px 15px;
    margin: 0px auto;
  }
}

#main { /* 小画面、中画面 */
  width: 100%;
  margin: 40px 0px;
  padding: 0px 15px;
}
@media only screen and (min-width:961px) { /* 大画面 */
  #main {
    margin-right: -300px;
    padding-right: 330px;
  }
}

aside { /* 小画面 */
  width: 300px;
  margin: 40px auto;
}

#sidebar2 {
  display: none;
}
@media only screen and (min-width:651px) { /* 中画面 */
  aside {
    width: 620px;
    display:flex;
  }
  #sidebar1 {
    width: 300px;
  }
  #sidebar2 {
    width: 300px;
    display: block;
  }
}
@media only screen and (min-width:961px) { /* 大画面 */
  aside {
    display:block;
    width: 300px;
    padding-top:30px;
  }
}

footer {
 width: 100%;
 background: #030D2E;
 padding-bottom: 50px;
}
footer_content {
 max-width: 1160px;
 margin: auto;
}

#top_title {  /* 小画面 */
  font-family: 'Architects Daughter', cursive;
  margin: 15px 0px 3px 10px;
  font-size: 18px;
  color: #777;
}
@media only screen and (min-width:401px) {  /* マイナーブレークポイント */
  #top_title {
    font-size: 24px;
  }
}
@media only screen and (min-width:651px) {  /* 中画面、大画面 */
  #top_title {
    font-size: 32px;
  }
}

#header-img {  /* 小画面 */
  height: 200px;
  background-image: url("../images/header-img.jpg");
  background-size: cover;
  background-position: bottom;
}
 
@media only screen and (min-width:651px) {  /* 中画面 */
  #header-img {
    height: 250px;
  }
}
 
@media only screen and (min-width:961px) {  /* 大画面 */
  #header-img {
    height: 300px;
  }
}

.banner {
  margin-bottom: 15px;
  text-align: center;
  font-size: 14px;
}
aside p {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}

footer ul {
  width: 100%;
  margin-bottom: 30px;
  list-style-type: none;
  display:flex;
}

@media only screen and (min-width:651px) {  /* 中画面＆大画面 */
  footer ul {
    width: 300px;
    margin-left: 90px;
  }
}

footer li {
  width: 50%;
  text-align:center;
}
footer li a {
  display: block;
  color: #FFF;
  font-size: 13px;
  line-height: 48px;
  text-decoration: none;
}
 
@media only screen and (min-width:961px) {  /* 大画面 */
  footer li a {
    line-height: 24px;
  }
}

#copyright {
  text-align: right;
  color: #FFF;
  font-size: 14px;
  margin-right: 10px;
}
 
@media only screen and (min-width:651px) {  /* 中画面＆大画面 */
  #copyright br {
    display: none;
  }
}

#main section {
  margin-bottom: 60px;
}
#main section section{
  margin-top: 40px;
}

h1.title, h2.title {  /* 小画面 */
  color: #333;
  line-height: 1.2;
  border-bottom: solid 1px #999;
  margin-bottom: 8px;
  text-align:left;
}
h1.title {
  font-size: 20px;
}
h2.title {
  font-size: 18px;
}
@media only screen and (min-width:651px) { /* 中画面＆大画面 */
  h1.title {
    font-size: 24px;
  }
  h2.title {
    font-size: 20px;
  }
}

.main-text-comment {  /* 小画面 */
  font-size: 15px;
  line-height: 1.5;
  text-align:left;
}

.main-text-customer {  /* 小画面 */
   text-align: left;
   width: 200px;
}

.main-customer-wrapper {  /* 小画面 */
 width:340px;
}

.main-text-registdate { /*全画面で共通 */
  font-size: 15px;
  line-height: 2;
  text-align: left;
}

@media only screen and (min-width:651px) { /* 中画面＆大画面 */
  .main-text-comment {
    margin-left: 50px;
    font-size: 16px;
  }
  .main-customer-wrapper { 
   width:auto;
   display:flex;
   text-align: right;
  }
  .main-text-customer { 
   font-size: 15px;
   line-height: 1.5;
   text-align: right;
   margin-left: 100px;
  }
}

.row {
  margin: 10px 0px;
  text-align:left;
}

.image-small { /* サムネイル 全画面で共通 */
  margin-top: 20px;
  padding: 0px 10px;
  display:inline-block;

}

.image-small-inside{ /* サムネイル 全画面で共通 */
  width: 230px;
  height:230px;
  vertical-align:middle;
  display:table-cell;

}

.image-small-blank { 
  display: none;
}

@media only screen and (min-width:651px) { /* 中画面＆大画面 */
/* サムネイル３個ずつ表示にしたい場合
  .row {
    display:flex;
   }
*/
}

.thumbnail-wrapper:after{
 content:"";
 clear:both;
 display:block;
}

.thumbnail-300 {  /* 全画面共通 */
  width:300px;
  height:auto;
  margin:0 10px 10px 10px;
}

.thumbnail-600 {  /* 小画面、 中画面 */

  width:300px;
  height:auto;
  margin:0 10px 10px 10px;
}

@media only screen and (min-width:401px) { /* マイナーブレイクポイント*/
  .thumbnail-600 {
    width:400px;
  }
}

@media only screen and (min-width:961px) { /* 大画面*/
  .thumbnail-600 {
    width:500px;
    margin:0 30px 10px 30px;
  }
  .thumbnail-300 {
    float:left;
  }
}

@media only screen and (min-width:1200px) { /* 大画面マイナーブレイクポイント*/
  .thumbnail-600 {
    float:left;
  }
}

nav ul {
  list-style-type: none; /* マーカーなしを指定 */
}
nav li {
  width: 50%;
  float: left;
  border-bottom: solid 2px #355B8E;
}
nav li:nth-child(odd) {
  border-right: solid 2px #355B8E;
}
 
@media only screen and (min-width:651px) { /* 中画面、大画面 */
  nav li {
    width: 16.66666667%;
    border-right: solid 2px #355B8E;
    border-bottom: none;
  }
  nav li:last-child {
    border-right: none;
  }
}
 
nav a {
  display: block;
  background: #030D2E;
  color: #FFF;
  font-weight: bold;
  font-size: 13px;
  line-height: 48px;
  padding-left: 15px;
  text-decoration: none;
}
 
@media only screen and (min-width:651px) { /* 中画面、大画面 */
  nav a {
    line-height: 36px;
    text-align: center;
    padding-left: 0;
  }
}

nav ul:after {
  display: table;
  content: "";
  clear: both;
}

.page-index-wrapper{
  display:flex;
  width:300px;

}

.page-index{
  text-align:right;

}

hr{display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;}


