@charset "utf-8";
html{font-size: 0.65em;-webkit-text-size-adjust: 100%;}
* {-webkit-touch-callout: none;-webkit-user-select: none;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}
ol, ul {list-style: none;}
li {list-style-type: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
img {border: 0;display:block;margin:0px auto 0px auto;max-width: 100%;height: auto;}
a img:hover , span img:hover{
  opacity:0.7;
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  -ms-transition: 0.7s;
  transition: 0.7s;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body {
  color: #666;
  font-family:
  "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
  "メイリオ","ＭＳ Ｐゴシック", sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0;
  vertical-align: baseline;
  -webkit-overflow-scrolling:touch;
  border: 0;
  background:#EFEFEF;
  background:linear-gradient(-90deg, #E6E6E6, #FFFFFF);
}

/* font-size */
.fontSize_box{
  border-top: 1px #CCC solid;
  border-bottom: 1px #CCC solid;
}

#fontSize{
  margin:0px auto;
  padding: 5px;
  width: 75%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color:#666;
}

.small,.middle, .large{
  width:30px;
  line-height: 25px;
  text-align: center;
  margin: 2px;
  padding: 2px 2px;
  cursor: pointer;
}
.small:hover,.middle:hover, .large:hover{opacity: 0.8;}

.header_font_ttl{
  margin-right: 20px;
  cursor: default!important;
}

@media (max-width: 1080px) {
  #fontSize{
    width: 98%;
    padding: 1%;
  }
}

/* Font decoration */
#main a{text-decoration:underline; color:#0E1BBB;}
#main a:hover{text-decoration: none; color:#0E1BBB;}
#main a:visited{text-decoration: underline; color: #4C2472; }

#sub a{text-decoration: none; color:#0E1BBB;}
#sub a:hover{text-decoration: underline; color:#0E1BBB;}
#sub a:visited{text-decoration: none; color: #4C2472;}

#sub .nefv {
  text-decoration: none;
  color:#0E1BBB;
  cursor: pointer;
}
#sub .nefv:hover{
  text-decoration: underline;
  color:#0E1BBB;
}
#main .nefv {
  text-decoration: underline;
  color:#0E1BBB;
  cursor: pointer;
}
#main .nefv:hover{
  text-decoration: none;
  color:#0E1BBB;
}
.webfont{font-family: 'Quicksand', sans-serif;}

.em{font-weight: bold;color: #81a47a;}
.em2{font-weight: bold;color: #87643e;}
.red{color: #8b342a;}
.BM50{margin-bottom: 50px;}

.fa{padding-right: 10px;}
#sub .fa-bookmark-o {font-size: 25px;}
.fa-mars{color: #0066cc;}
.fa-venus{color: #ff99cc;}

article p , section p ,#main .text{
  font-size:18px;
  font-size:1.8rem;
  line-height: 40px;
  padding:10px 0;
  margin:0 auto 50px auto;
}
#main .text{line-height: 30px;}

/* Table */
table {
  font-size: 16px;
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0 auto 30px auto;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}
table tr {
  background: #EFEFEF;
  border: 1px solid #ddd;
  padding: .35em;
}
table th,
table td {
  padding: .625em;
  text-align: left;
}
@media screen and (max-width: 600px) {
table thead {
  display: none;
}
table tr {
  border-bottom: 3px solid #ddd;
  display: block;
}
table td {
  border-bottom: 1px solid #ddd;
  display: block;
  text-align: right;
}
table td:before {
  font-weight: bold;
  padding-right: 5px;
  content: attr(aria-label);
  float: left;
}
}

/* page framework*/
#contents{
  width:80%;
  padding:50px 10px 0px 10px;
  margin: 0px auto 50px auto;
  text-align: left;
  clear: both;
}

#main{
  float: right;
  width: 70%;
  margin: 0px auto 0px auto;
  padding: 1%;
  overflow:hidden;
  background: #FFF;
  border-radius: 6px;
  box-shadow: 0px 0px 3px #CCC;
}

#sub{
  float: left;
  width: 26%;
  margin: 0px auto 0px auto;
  overflow:hidden;
}

.side_box{
  margin-bottom: 100px;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 0px 3px #CCC;
}

.side_midasi{
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
  padding-left: 10px;
  margin-bottom: 5px;
  color: #AAA;
}

#sub .side{
  padding: 10px;
}

#sub .side li span{
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 55px;
  padding: 0px 0px 0px 0px;
  margin-left: 10px;
  display: block;
}
#sub .side li a {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 55px;
  padding: 0px 0px 0px 0px;
  margin-left: 10px;
  display: block;
}
#sub .side li i{
  margin-right: 7px;
  font-size: 15px;
  color: #CCC;
}

#sub .side li a:hover ,#sub .side li span:hover{
  opacity: 0.6;
  transition: all 200ms 0s ease;
  text-decoration: none;
}

#main article, section {
  margin: 10px auto 30px auto;
  padding:10px 0;
}

@media (max-width: 840px) {
  #contents{
    width:98%;
    padding:50px 1%;
    margin: 0px auto 50px auto;
    text-align: left;
    clear: both;
  }

  #main{
    float: none;
    width: 98%;
    margin: 0 auto;
  }

  #sub{
    float: none;
    width: 98%;
    margin: 0 auto;
  }

  #main article, section {
    width:98%;
    margin: 0px auto 100px auto;
    padding:20px 1%;
  }
}

/* 見出し */
#main h1 {
  font-size: 20px;
  font-size: 2.0rem;
  text-align: center;
  background: #dbebf8;
  box-shadow: 0px 0px 0px 5px #dbebf8;
  border: dashed 1px #FFF;
  padding: 8px 15px 8px 15px;
  color: #666;
  margin-bottom: 30px;
}

#main h2{
  font-size: 20px;
  font-size: 2.0rem;
  color: #666;
  text-align: center;
  position: relative;
  display: block;
  margin: 50px auto 50px auto;
}
#main h2:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 100px;
  height: 5px;
  left: 50%;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #dbebf8;
  border-radius: 2px;
}

#main h3{
  font-size: 20px;
  font-size: 2.0rem;
  color: #666;
  border-bottom: 2px solid #dbebf8;
  padding: 4px;
  margin: 50px auto 50px auto;
}

#main h4{
  font-size: 20px;
  font-size: 2.0rem;
  border-left :#dbebf8 4px solid;
  color: #666;
  padding: 4px 10px;
  margin: 50px auto 50px auto;
}

#main h5{
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 100;
  color: #666;
  padding: 4px 20px;
  margin: 50px auto 50px auto;
}
#main h5::before{
  font-family: FontAwesome;
  content: "\f0eb";
  font-size: 15px;
  color: #dbebf8;
  padding-right: 10px;
}

#sub h3{
  text-align: center;
  font-size: 16px;
  font-size: 1.6rem;
  background: #dbebf8;
  padding:5px;
  color: #666;
}

#sub h3 span, #main h3 span{
  font-size: 75%;
  padding-left: 15px;
}

.midasi_txt{
  display: block;
  font-size: 75%;
}

/* common */
.center{text-align: center;}

.bg{
  margin:10px auto 75px auto;
  padding:10px;
  border-radius: 4px;
  background: #dbebf8;
}

.bg div{
  padding:10px;
  background: #FFF;
  border-radius: 4px;
}

.bg_box{
  margin:10px 10px 75px 10px;
  padding:10px;
  background: #FFF;
  border: 2px solid #CCC;
  border-radius: 4px;
}

.bg_review , #toc{
    position: relative;
    background: #dbebf8;
    box-shadow: 0px 0px 0px 5px #dbebf8;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    margin-bottom: 30px;
    color: #454545;
}
.bg_review::after , #toc::after{
    position: absolute;
    content: '';
    right: -7px;
    top: -7px;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: #dbebf8 #fff #dbebf8;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.bg p , .bg_box p , .bg_review p {
  font-size:16px;
  font-size:1.6rem;
  padding:10px;
  margin:0 0 0 0;
}

.box{
  display: flex;
  margin: 5px auto 30px auto;
  padding: 10px;
}

.flex_column{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px auto 30px auto;
  padding: 10px;
}

.flex_column .col-1{
  flex:1;
  margin: 5px;
}

.flex_column .col-2{
  flex:2;
  margin: 5px;
}

.box .inner{
  flex: 1;
  padding:10px;
  margin: 10px;
  border-radius: 4px;
}

.more a, .more span{
  font-size: 16px;
  font-size: 1.6rem;
  display: block;
  width:98%;
  padding: 1%;
  text-align: center;
  background: #EFEFEF;
  border-radius: 10px;
  margin: 20px auto;
}

.imgR {
  float: right;
  margin: 5px;
  padding:5px;
}

.imgL {
  float: left;
  margin: 5px;
  padding:5px;
}

#main section img{border-radius: 10px;}

.clear{clear: both;}

.img_flexbox{
  display: flex;
  justify-content: center;
  margin: 0px;
}

.img_flexbox img{
  display: block;
  border: 1px #CCC solid;
  margin: 5px;
}

#main .slider{
  margin:10px 30px 100px 30px;
}

.topic_bg{
  background: #ebeddf;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #EAECC6, #2BC0E4);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #EAECC6, #2BC0E4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding:10px;
  margin-bottom: 30px;
  border-radius: 6px;
}

.topic_bg div{
  background: #FFF;
  padding: 7px;
}

@media (max-width: 640px) {
  .imgR {
    float: none;
    margin: 5px;
    padding:5px;
  }

  .imgL {
    float: none;
    margin: 5px;
    padding:5px;
  }

  .img_flexbox{
    display: block;
    margin: 5px auto;
  }

  .img_flexbox img, .box img{
    margin: 5px auto;
  }

  .flex_column , .box, .box .inner{
    display: block;
    border: none;
    margin: auto;
  }

  .box .inner{
    padding:0px;
    margin: 10px auto;
    border-radius: 4px;
  }
}

/* メイン画像 */
#main-visual {
  background:#EFEFEF;
  background: url(images/bg.jpg) no-repeat center center;
  background-size: cover;
  height: 400px;
}

/* 目次 */
ol li{
  padding: 5px 0 5px 0px;
  list-style: none;
  font-size: 16px;
  font-size: 1.6rem;
  list-style-type: decimal;
}

/* リスト */
#main section ul {
  margin:30px auto;
  font-size: 16px;
}

#main section ul li {
  margin: 0px auto;
  position: relative;
  list-style-type: none!important;
  padding: 0.5em;
  line-height: 1.5;
  background: #dbebf8;
  vertical-align: middle;
  color: #666;
  border-radius: 15px 0px 0px 15px;
}

#main section ul li:before{
  display:inline-block;
  vertical-align: middle;
  content:'';
  width:1em;
  height: 1em;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
}

/* totop */
#totop {
    position: fixed;
    bottom: 5%;
    right: 2%;
    z-index: 1000;
}

#totop a{text-decoration: none;}

#totop i {
    display: block;
    color: #fff;
    background-color: #666;
    padding: 10px;
    border-radius: 50%;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#totop i:hover {
    color: #666;
    background-color: #EEE;
}

/* footer */
footer {
  clear: both;
  padding: 50px 30px 30px 30px;
  text-align: center;
}
footer .copyright {
  font-size:16px;
  color: #666;
  text-decoration: none;
}

/* header */
#top-head {
  font-size: 16px;
  top: -100px;
  position: absolute;
  width: 96%;
  margin: 100px auto;
  padding: 5px 2%;
  line-height: 1;
  z-index: 999;
}
#top-head , #top-head a{
  color: #666;
  text-decoration: none;
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float: left;
  font-size: 36px;
}
#global-nav ul {
  list-style: none;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
}
#global-nav ul li {
  float: left;
  position: relative;
}
#global-nav ul li a {
  padding: 10px 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  color:#6a9176;
}
#global-nav a {color: #FFF;}

.inner {
  width:100%;
  margin: 0 auto;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}

.smart{display: none;visibility:hidden;}

@media screen and (max-width: 1600px) {
  .smart{display: block;visibility: visible;}
}

/* Btn Hover */
#global-nav ul li:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  bottom: -30px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
  background: #fff;
  bottom: -30px;
}

/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding-top: 10px;
  height: 55px;
  background: #fff;
  background: rgba(255,255,255,0.9);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo a{
  font-size: 24px;
  color: #666 !important;
}
#top-head.fixed #global-nav ul li a {
  color: #6a9176;
  padding: 0 20px;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
  bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
  background: #6a9176;
  bottom: -20px;
}

/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  left: 0;
  -webkit-transition: .30s ease-in-out;
  -moz-transition: .30s ease-in-out;
  transition: .30s ease-in-out;
}
#nav-toggle span:nth-child(1) {top: 0;}
#nav-toggle span:nth-child(2) {top: 11px;}
#nav-toggle span:nth-child(3) {top: 22px;}

@media screen and (max-width: 1600px) {
  article, section {width:98%;}
  .inner {
    width: 100%;
    padding: 0 20px;
  }
  #global-nav ul li a {  padding: 0 20px;}
  #top-head.fixed #global-nav ul li a {padding: 0 15px;}
}

@media screen and (max-width: 960px) {
  #main-visual {
    margin-top: 50px;
    height: 400px;
  }
}
@media screen and (max-width: 640px) {
  #main-visual {
    margin-top: 60px;
    height: 400px;
  }
}
@media screen and (max-width: 480px) {
  #main-visual {
    margin-top: 60px;
    height: 200px;
  }
}

@media screen and (max-width: 1600px) {
  #top-head,.inner {
    width: 100%;
    padding: 0;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: #fff;
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed .logo,
  #top-head .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
  }
  #global-nav {
    position: absolute;
    top: -600px;
    background: #FFF;
    width: 100%;
    text-align: center;
    padding: 0px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    padding: 0 5px;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 16px;
    box-shadow:0 1px rgba(0,0,0,0.4);
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #global-nav ul li:after  {display: none;}
  #global-nav ul li:hover  {opacity: 0.8;}
  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #6a9176;
    padding: 18px 0;
  }
  #top-head.fixed #global-nav ul li a:hover{opacity: 0.6;}
  #nav-toggle {display: block;}
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  .open #global-nav {
    -moz-transform: translateY(656px);
    -webkit-transform: translateY(656px);
    transform: translateY(656px);
  }
}


#toc > ol{
padding-left: 1em;
counter-reset: contentNum1;
}

#toc ol li{
position: relative;
padding-left: 1.5em;
list-style: none;
}

#toc ol li::before{
position: absolute;
display: block;
top: 50%;
left: 0;
transform: translate(0, -50%);

}

#toc ol li::before{
content: counter(contentNum1) ".";
counter-increment: contentNum1;
padding-right: 5px;
}

#toc ol > ol{
counter-reset: contentNum2;
}

#toc ol ol li{
padding-left: 2.5em;
}

#toc ol ol li::before{
content: counter(contentNum1)  "-" counter(contentNum2) ".";
counter-increment: contentNum2;
padding-right: 5px;
}

#toc ol > ol > ol{
counter-reset: contentNum3;
}

#toc ol ol ol li{
padding-left: 3.5em;
}

#toc ol ol ol li::before{
content: counter(contentNum1)  "-" counter(contentNum2) "-" counter(contentNum3) ".";
counter-increment: contentNum3;
padding-right: 5px;
}


/* リンク */
.link{
  margin: 25px auto;
  padding: 10px 0px;
  border: 2px solid red;
}
.link:hover{
  transform: translateX(2px);
}
