@charset "utf-8";
/* ＝＝＝＝＝＝＝＝　INITIAL SETUP　＝＝＝＝＝＝＝＝＝ */
* {
  margin: 0px;
  padding: 0px;
  -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;
}
/*vertical-align: middle;*/
/*
#main img {
  display: block;
  max-width: 100%;
  height: auto;
}
*/

/*
.container {
#background-color: #003399;
}
*/


.img-container{
  display:flex;/* flexbox */
  justify-content:center; /* 水平方向 */
  align-items: center; /* 垂直方向 */
}

/* ＝＝＝＝＝＝＝＝　LAYOUT　＝＝＝＝＝＝＝＝＝ */

#warpper {
  width: 100%;
}
@media only screen and (min-width:961px) {
  #warpper {
    max-width: 1160px;
    padding: 0px 15px;
    margin: 0px auto;
  }
}

header {
  width: 100%;
}

#main {
  width: 95%;  /* 100% --> 95% */
  margin: 2px 0px;   /* 上下に2px・左右に0pxだけ余白*/
  padding: 0px 5px; /* 上下に0px・左右に15px --> 5pxだけ余白*/
/* padding: ○px △px □px ◎px;　- 上に○px・右に△px・下に□px・左に◎pxだけ余白 */

}
@media only screen and (min-width:961px) {
  #main {
    margin-left: -1px;    /* -15px --> -1px */
    float: left;
    margin-right: -300px;
    padding-right: 255px; /* 330px --> 255px */
  }
}

aside {
  width: 300px;
  margin: 2px auto;

}
#sidebar2 {
  display: none;
}
@media only screen and (min-width:651px) {
  aside {
    width: 620px;

  }
  #sidebar1 {
    width: 300px;
    float: left;
  }
  #sidebar2 {
    width: 300px;
    float: right;
    display: block;
  }
}
@media only screen and (min-width:961px) {
  aside {
    width: 300px;
    float: right;
  }
}
aside:after {
  display: table;
  content: "";
  clear: both;
}

footer {
  width: 100%;
  clear: both;
  background: #002837;
  padding-bottom: 50px;
  position: relative; /* この指定がないとfooter手前で Top Page釦が止まらない 2022/08/18*/
}
.footer_content {
  max-width: 1160px;
  margin: auto;
}
/* ＝＝＝＝＝＝＝＝　HEADER　＝＝＝＝＝＝＝＝＝ */
#top_title {
  font-family: 'Architects Daughter', cursive;
  float: left;
/*   margin: 15px 0px 3px 10px; */
  margin: 1px 0px 1px 10px; /*  上・右・下・左 で余白を設定   */
  font-size: 18px;
  color: #f0f8ff;
}
@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-top-link {
  float: right;
/*  margin: 10px 10px 5px; /*  上・左右・下 で余白を設定   */
  margin: 1px 6px 1px; /*  上・左右・下 で余白を設定   */
  list-style-type: none;
}
#header-top-link li {
  display: inline-block;
  margin-left: 6px;

/*  vertical-align: bottom;
*/
}
#header-top-link a {
  display: block;
  text-decoration: none;
  color: #c6ffe2;
}
#header-top-link i {
  font-size: 18px;
  vertical-align: -12px;

}
#header-top-link span {
  display: none;
}

@media only screen and (min-width:651px) {
  #header-top-link span {
    display: inline;
    color: #c6ffff;
    font-size: 15px;
  }
  #header-top-link i {
    vertical-align: baseline;
  }
}
#header-top:after {
  display: table;
  content: "";
  clear: both;
}
#header-img {  
  height: 200px;
  background-image: url("https://www.yakushima-tonbo.com/responsive/img/1200px-hasu_R.png");
  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;
  }
}
/* ＝＝＝＝＝＝＝＝　NAV　＝＝＝＝＝＝＝＝＝ */
/*
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 a:hover {
  background: #3B6FB5;
  text-decoration: underline;
}
nav ul:after {
  display: table;
  content: "";
  clear: both;
}
*/

/* ＝＝＝＝＝＝＝＝　MAIN　＝＝＝＝＝＝＝＝＝ */

#main section {
  margin-bottom: 5px;
  background: #ffffff;
}
#main section section{
  margin-top: 10px;
}
h1.title, h2.title {
  color: #333;
  line-height: 1.2;
  border-bottom: solid 1px #999;
  margin-bottom: 8px;
}
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 {
  font-size: 15px;
  line-height: 1.5;
}

@media only screen and (min-width:651px) {
  .main-text {
    font-size: 16px;
  }
}
.row {
  margin: 10px -15px;
}
.row:after {
  display: table;
  content: "";
  clear: both;
}

.col-2-2-1-60, .col-2-2-1-40, .col-3-3-1 {
  width: 100%;
  padding: 0px 15px;
  float: left;
  margin-top: 20px;
}
.col-4-2-2 {
  /*display: block;*/
  width: 50%;
  padding: 0px 15px;
  float: left;
}

@media only screen and (min-width:651px) {
   .col-2-2-1-60 {
    width: 60%;
    margin-top: 0;
  }
  .col-2-2-1-40 {
    width: 40%;
    margin-top: 0;
  }
  .col-3-3-1 {
    width: 33.33333333%;
    margin-top: 0;
  }
  .col-4-2-2 {
    width: 25%;
  }
}
/* ＝＝＝＝＝＝＝＝　SIDE BAR　＝＝＝＝＝＝＝＝＝ */

.banner {
  margin-bottom: 15px;
  text-align: center;
  font-size: 14px;
}
aside p {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}
/* ＝＝＝＝＝＝＝＝　FOOTER　＝＝＝＝＝＝＝＝＝ */

footer ul {
  width: 100%;
  margin-bottom: 30px;
  list-style-type: none;
}

@media only screen and (min-width:961px) {
  footer ul {
    width: 300px;
  }
}
footer li {
  width: 50%; /* 25%, 30% で2列, 50% で 3列表示 */
  float: left;
}
footer li a {
  display: block;
  color: #ffffff; /* White */
  font-size: 13px;
  line-height: 48px;
  padding-left: 10px;
  text-decoration: none;

}

@media only screen and (min-width:961px) {
  footer li a {
    line-height: 24px;
  }
}
footer li a:hover {
  background: #4169e1; /* DarkGreen #3B6FB5 */
  color: #ffffff; /* White */

}
footer ul:after {
  display: table;
  content: "";
  clear: both;
}

footer p a {
  display: inline-block; /* list 横並び */
  color: #ffffff; /* White */
  font-size: 13px;
  line-height: 48px;
  padding-left: 10px;
  text-decoration: none;
  text-align: right; /* list 右端表示 */
}

@media only screen and (min-width:961px) {
  footer p a {
    line-height: 24px;
  }
}
footer p a:hover {
  background: #4169e1; /* DarkGreen #3B6FB5 */
  color: #ffffff; /* White */

}
footer p:after {
  display: table;
  content: "";
  clear: both;
}


#copyright {
  text-align: right;
  color: #ffffff;
  font-size: 14px;
  margin-right: 10px;
}

@media only screen and (min-width:651px) {
  #copyright br {
    display: none;
  }
}
/* ＝＝＝＝＝＝＝＝　GENERAL　＝＝＝＝＝＝＝＝＝ */

.v-space {
  height: 0px;
  margin-bottom: 40px;
}
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}
.window_width, .bg_position {
  color: #4682b4;
  padding: 5px 10px;
  font-size: 14px;
}
.window_width_w, .bg_position_w {
  color: #ffffff;
  padding: 5px 10px;
  font-size: 14px;
}
h1 {
  margin: 3px 0 3px; /* 上: 3px 左右:0px 下: 3px */
  color: #777;

}
@media only screen and (max-width:650px) {
  .sm-nopad {
    padding: 0;
  }
}
