@charset "utf-8";

/* Reset
*********************************************************************/
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
ul,
ol,
li,
dl,
dt,
dd,
address,
th,
td {
  font-family: メイリオ, ＭＳ Ｐゴシック, Osaka;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  line-height: 1.5;
  text-decoration: none;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Layout
*********************************************************************/
/* TOP用 */
#mainvisual {
  text-align: center;
  overflow: hidden;
  margin: 0 auto;
  background-image: url("../img/bg.png");
  background-position: center top;
  background-repeat: repeat-x;
}
#mainvisual img {
  vertical-align: middle;
}

/* Link
*********************************************************************/
a {
  color: #0000ff;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
a:hover img {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
a:visited {
}

/* General
*********************************************************************/
body {
  color: #111;
  text-align: center;
}
p {
  margin-bottom: 1em;
}
hr {
  display: none;
}
object,
embet {
  vertical-align: top;
  outline: none;
}
ol li {
  margin-left: 1.5em;
  list-style-type: decimal;
}
img {
  border: none;
}
i.fa-arrow-circle-right {
  color: #0063b6;
  text-decoration: none;
  margin-right: 0.2em;
}
input,
textarea {
  font-family: メイリオ, ＭＳ Ｐゴシック, Osaka;
  font-size: 100%;
}
.ime_off {
  ime-mode: disabled;
}
.mini {
  width: 90px;
}
.short {
  width: 140px;
}
.normal {
  width: 300px;
}
.long {
  width: 90%;
}
.full {
  width: 100%;
}
.btn {
  text-align: center;
  margin: 10px 0 20px;
}
.red {
  color: #ff0000;
}
.img_l {
  float: left;
  margin: 0 10px 1.5em 0;
}
.img_r {
  float: right;
  margin: 0 0 1.5em 10px;
}
  .main-pc {
    display: block !important;
  }
  .main-sp {
    display: none !important;
  }


/* 404error
*********************************************************************/
div.error {
  text-align: center;
  padding: 40px 0 40px 0;
}
div.errortext {
  color: #ff0000;
  border-top: 1px dashed #ff0000;
  border-bottom: 1px dashed #ff0000;
  padding: 10px 0;
  margin: 30px 0;
}

/* Layout
*********************************************************************/
#fixedbox {
  position: fixed;
  top: 20%;
  right: 0%;
  z-index: 5000;
}
@media print {
  #fixedbox {
    position: relative;
  }
}
#fixedbox li {
  margin-left: 30px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
#fixedbox li:nth-of-type(1) {
  background-color: #26c44a;
  margin-bottom: 10px;
}
#fixedbox li:nth-of-type(2) {
  background-color: #558ffa;
}
#fixedbox li:hover {
  margin-left: 0;
}
#fixedbox li:hover img {
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}

.graybox {
  background-color: #f2f2f2;
  padding: 2em 0;
}
.sec {
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.sec img {
  vertical-align: middle;
}

/* #contents
*********************************************************************/
/* titledesign */
.subtitle {
  color: #e50011;
  font-weight: bold;
  border: 1px solid #e50011;
  padding: 0.2em 0.5em 0;
  margin: 0 0 0.5em;
}
.topicpath {
  width: 1000px;
  margin: 0.5em auto 2em;
}
.topicpath_full {
  max-width: 1200px;
  margin: 0.5em auto 2em;
}
#contents h2 {
  text-align: center;
  margin: 1em 0;
}
#contents h2 span {
  font-size: 190%;
  padding: 0 2em;
  border-bottom: 1px solid #e50013;
}

@media (max-width: 767px) {
  .main-pc {
    display: none !important;
  }
  .main-sp {
    display: block !important;
  }
}


@media (max-width: 500px) {
  .fixed #header {
    height: 60px;
  }
  .fixed #contents {
    padding-top: 60px;
  }
  .sec {
    max-width: 1000px;
    width: 100%;
  }
  #contents,
  .topicpath,
  .topicpath_full {
    max-width: 1000px;
    width: auto;
  }
  .for-pc {
    display: none !important;
  }
  .for-sp {
    display: block !important;
  }
}
