@charset "UTF-8";

/* Reset */

body,
div,
dl,dt,dd,
ul,ol,li,
h1,h2,h3,h4,h5,h6,
pre,code,
form,fieldset,legend,input,textarea,
p,
blockquote,
th,td,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
  margin:0;
  padding:0;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
fieldset,img {
  border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
  font-style:normal;
  font-weight:normal;
}
li {
  list-style:none;
}
caption,th {
  text-align:left;
}
h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:normal;
}
q:before,
q:after{
  content:'';
}
sup {
  vertical-align:text-top;
}
sub {
  vertical-align:text-bottom;
}
input,
textarea,
select {
  font-family:inherit;
  font-size:inherit;
  font-weight:inherit;
}
input,
textarea,
select {
  *font-size:100%;
}
a {
  text-decoration: none;
}

/*========================================*/

/* redefine */
html {
  font-size: 62.5%;
}
body,td,th {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.6rem;
  color: #000000;
  line-height: 1.6;
}
body {
  background-color: #eeeeee;
  margin: 0;
}
a {
  color: #003300;
  padding-bottom: 1px;
  border-bottom: 1px dotted;
}
a:visited {
  color: #003300;
}
a:hover {
  color: #CC0000;
}
a:active {
  color: #CC0000;
}
h1 {
  font-size: 2.4rem;
  font-weight: bold;
}
h2 {
  font-size: 2.2rem;
  font-weight: bold;
}
h3 {
  font-size: 1.8rem;
  font-weight: bold;
}
h4 {
  font-size: 1.6rem;
  font-weight: bold;
}
h5 {
  font-size: 1.6rem;
  font-weight: bold;
}
h6 {
  font-size: 1.6rem;
  font-weight: bold;
}

/* fixed */
img {
  vertical-align: bottom;
}
a img {
  border: none;
}
.borderfix {
  border: none;
  text-decoration: none;
}

/*========================================*/
/* common define */

.clearfix {
  clear: both;
}
.aligncenter {
  text-align: center;
}
.alignright {
  text-align: right;
}
.alignleft {
  text-align: left;
}

/*========================================*/
/*========================================*/

.gototop a {
  position: fixed;
  right: 2em;
  bottom: 50px;
  background-color: rgba(0,0,0,0.50);
  color: #fff;
  padding: 0.5em 1em;;
  line-height: 2;
  border-radius: 100%;
  opacity: 0.5;
  z-index: 10;
}
.gototop a:hover {
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}


/*========================================*/
/* Common */

header {
}
header nav {
  border-top: 10px solid #009242;
  border-bottom: 2px solid #009242;
  margin-bottom: 10px;
}
#sidebar {
}
h2 {
  color: #009242;
  font-weight: bold;
  font-style: oblique;
  background-image: url("/images/common/indextab.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  border-bottom: solid 3px;
  margin: 20px 0 10px 0;
  line-height: 1;
  padding: 5px 0 10px 10px;
  letter-spacing: 2px;
}
h3 {
  color: #009242;
  font-weight: bold;
  font-style: oblique;
  background-image: url("/images/common/indextab2.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  border-bottom: solid 3px;
  margin: 20px 0 10px 0;
  line-height: 1;
  padding: 5px 0 2px 50px;
  letter-spacing: 1px;
}
ul.headernav {
  text-align: center;
  padding: 5px 0;
}
ul.headernav li {
  display: inline-block;
  width: 15%;
  padding: 0 5px;
  font-size: 0.9em;
}
ul.headernav li:not(:last-child) {
  border-right: 1px solid #000;
}
ul.headernav a {
  padding-bottom: 1px;
  border-bottom: 1px dotted;
}
ul.sidenav {
  padding-right: 10px;
}
.sidenav li {
  position: relative;
  color: #009242;
  font-size: 0.9em;
  font-style: oblique;
  background-image: url("/images/common/indextab3_top.png");
  background-repeat: no-repeat;
  background-position: top left;
  border-top: solid 3px;
  border-bottom: solid 3px;
  margin: 20px 0 10px 0;
  line-height: 0;
  padding: 15px 5px 15px 35px;
  letter-spacing: 1px;
}
.sidenav li::after {
  position: absolute;
  content: url("/images/common/indextab3_btm.png");
  bottom: 0;
  right: 0;
  /*background-image: url("/images/common/indextab3_btm.png");
  background-repeat: no-repeat;
  background-position: bottom right;*/
}
.sidenav li a {
  color: #009242;
  border: none;
}
.sidenav li a:hover {
  color: #cc0000;
}
header .catchcopy {
  padding: 3px 3px 3px 10px;
  background-color: #eee;
  margin: 0 0 10px;
}
header .logobox {
  float: left;
}
header .logobox a {
  border: none;
}
header .inqbox {
  float: right;
  padding-top: 10px;
}
header .inqbox a {
  border: none;
}
header .inqbox tel {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}
header nav {
  clear: both;
}
.inqbannerbox {
  margin: 10px 0;
  text-align: center;
}
footer {
  margin-top: 50px;
  border-top: 10px solid #009242;
  padding: 0 10px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  border-top: 20px solid #009242;
  top: -5px;
  height: 7px;
}
footer .infobox {
  display: inline-block;
  width: 30%;
  font-size: 0.9em;
  color: #333;
  float: left;
  padding: 3px 10px;
}
footer .infobox2 {
  display: inline-block;
  width: 30%;
  font-size: 0.9em;
  color: #333;
  float: left;
  padding: 3px 10px;
}
footer .infobox3 {
  display: inline-block;
  width: 30%;
  font-size: 0.9em;
  color: #333;
  float: right;
  padding: 3px 10px;
  text-align: right;
}
footer nav ul {
  padding: 5px 0 20px;
  text-align: center;
}
footer nav li {
  font-size: 0.85em;
  display: inline-block;
  padding: 0px 10px;
  /*width: 12%;*/
  text-align: center;
}
footer nav li:not(:first-child) {
  border-left: 1px solid;
}
footer nav li a {
  color: #333;
  padding-bottom: 1px;
  border-bottom: 1px dotted;
}
footer .copyright {
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
  color: #333;
}
.box1 {
  padding: 5px 10px 20px 25px;
}
.textlink {
}
/*========================================*/

@media screen and (max-width:765px) { /* mobile */
  .test {
    background-color: #ccc;
    color: #fff;
  }
.pc-only {
  display: none;
}
img {
  max-width: 100%;
  height: auto;
}
  #container {
    width: 100%;
    background-color: #ffffff;
  }
  #mainbox {
    width: 100%;
  }
  #sidebar {
    display: none;
  }
header .catchcopy {
  font-size: 0.85em;
}
h2 {
  background-image: none;
  letter-spacing: normal;
}
h3 {
  letter-spacing: normal;
}
ul.headernav {
  text-align: center;
  padding: 5px 0;
}
ul.headernav li {
  display: inline-block;
  width: calc(50% - 5px);
  padding: 10px 0;
  font-size: 0.9em;
}
ul.headernav li:not(:last-child) {
  border-right: none;
}
ul.headernav li {
  border-bottom: 1px solid #000;
}
ul.headernav li:nth-child(2n) {
  border-left: 1px solid #000;
}
ul.headernav a {
  padding-bottom: 1px;
  border-bottom: 1px dotted;
}
footer .infobox {
  display: block;
  width: 100%;
  padding: 3px 10px;
}
footer .infobox2 {
  display: block;
  width: 100%;
  float: none;
}
footer .infobox3 {
  display: block;
  width: 100%;
  float: none;
  text-align: center;
}
.box1 {
  padding: 5px 5px 20px 10px;
}
} /* end mobile */

@media screen and (min-width:766px) and (max-width:980px) { /* tablet */
  .test {
    background-color: #ddd;
    color: #999;
  }
.mobile-only {
  display: none;
}
img {
  max-width: 100%;
  height: auto;
}
  #container {
    width: 100%;
    background-color: #ffffff;
  }
  #mainbox {
    width: 70%;
    float: right;
  }
  #sidebar {
    width: 30%;
    float: left;
  }
  footer {
    clear: both;
  }
} /* end tablet */

@media screen and (min-width:981px) { /* pc */
  .test {
    background-color: #eee;
    color: #999;
  }
.mobile-only {
  display: none;
}
  #container {
    width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
    filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.6));
  }
  #mainbox {
    width: 700px;
    float: right;
  }
  #sidebar {
    width: 260px;
    float: left;
  }
  footer {
    clear: both;
  }
} /* end pc */

