@charset "shift_jis";
/* CSS Document */

html, body {
  width: 100%;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", "MS PGothic", sans-serif;
  color: #555;
  font-size: 62.5%;
  line-height: 1.6;
  /*word-break: break-all;*/
  /*word-wrap: break-word;*/
  position: relative;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

html {
  background: #f5f5f5;
}

h2 {
  font-size: 2.4rem;
  font-weight: bold;
}

h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: #eee;
  padding: .5rem;
}

h3#case {
  background: white;
  padding: 0;
  margin: 1rem 0;
}

a {
  display: block;
  color: black;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p, li {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

table, tr, td {
  font-size: 1.5rem;
}

hr {
  margin-top: 2rem;
}

/***** login form*****/

#modal_bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: block;
  background: black;
  width: 100%;
  height: 100vh;
  opacity: 0.5;
  transition: opacity 0.5s;
}

#loginform {
  box-sizing: border-box;
  z-index: 99;
  background: white;
  padding: 2rem;
  display: block;
  max-width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-size: 15px;
}

#logintxt {
  display: block;
  width: 500px;
  max-width: 100%;
  height: 30px;
  font-size: 100%
}

#Loginbtn {
  display: block;
  width: 200px;
  height: 30px;
  margin: 1rem auto 0;
}

/*********/

#wholewrapper {
  display: block;
  margin: 0 auto;
  max-width: 1600px;
  box-sizing: border-box;
  /* background: yellow; */
  /* height: 1000px; */
}

#wrapper {
  float: left;
  width: 75%;
  height: 100vh;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

/*********/
#menu_toggle {
  display: none;
}

#nav {
  overflow: auto;
  float: left;
  width: 25%;
  height: 100vh;
  box-sizing: border-box;
  padding: 1.5rem;
  padding-top: 0;
  border: 1px solid #ccc;
  font-size: 1.5rem;
  background: white;
}

#nav a {
  color: blue;
}

#nav a:hover {
  font-weight: bold;
}

#nav h3 {
  margin: 0 0 1rem;
}

#nav p {
  margin: 0;
  font-weight: bold;
}

#nav .top, #nav .help {
  font-weight: normal;
}

#nav-title {
  padding-top: 2rem;
  font-size: 2rem;
}

#nav-title span {
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
}

#linktotop {
  margin-bottom: 120px;
}

/*********/

#header {
  width: 100%;
  background: #3b9ee6;
  line-height: 1.2;
  color: white;
  height: 45px;
}

#header span {
  font-size: 40px;
}

#header h2 {
  display: inline-block;
  margin-top: 1.4rem;
  margin-left: 1rem;
  font-size: 1.5rem;
  font-weight: normal;
}
/*********/
#main {
  padding: 1rem;
  position: relative;
  background: white;
  /* height: -webkit-calc(100% - 121px); */
  height: calc(100% - 121px);
  overflow-y: auto;
  margin: 0 auto;
}


div#frontcover>h3 {
  font-size: 2.3rem;
  text-align: center;
}

div#frontcover img {
  max-width: 350px;
  max-width: 35%;
  display: block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin: 0 auto;
}

div#frontcover p {
  text-align: center;
  margin: 1rem;
  font-weight: bold;
}
/*********/

.accordion {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  color: #fff;
  overflow: hidden;
}

input#accordion-bar {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

label#accordion-bar-label {
  position: relative;
  padding-left: 2.5rem;
  display: block;
  border: 1px solid #3b9ee6;
  border-radius: 8px;
  color: #3b9ee6;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 2.5;
  cursor: pointer;
  font-size: 1.5rem;
}

label#accordion-bar-label::after {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 1.6em;
  height: 2.4em;
  line-height: 2.5;
  text-align: center;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}

input#accordion-bar[type=checkbox]+label#accordion-bar-label::after {
  content: "\25BC";
}

input#accordion-bar[type=checkbox]:checked+label#accordion-bar-label::after {
  transform: rotateX(180deg);
}

.accordion-content {
  max-height: 0;
  opacity: 0.99;
  overflow: hidden;
  transition: all .3s;
}

#accordion-bar:checked~.accordion-content {
  opacity: 1;
  max-height: 120em;
}

label#accordion-bar-label {
  font-weight: bold;
}

/*********/

#img_wrapper::after {
  display: block;
  clear: both;
  content: "";
}

#img01, #img02, #img03, #img04 {
  max-width: 48.5%;
  max-height: 300px;
  float: left;
  padding: 3px;
  margin: 3px;
  box-sizing: border-box;
  border: 1px solid #999;
}

figure {
  margin: 0;
  padding: 0;
}

.cfx {
  clear: both;
  content: "";
  display: block;
}

#answer span {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.9rem;
  border-radius: 10px;
}

#ref_page span {
  font-style: italic;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 10px;
}

#ref_page {
  margin-bottom: 56px;
}
/*********/
#nav_arrow {
  background: #f9f9f9;
  color: #3b9ee6;
  padding: 1rem 1rem;
  box-sizing: border-box;
  text-align: right;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  height: 56px;
  text-align: center;
}

#arrow_prev {
  cursor: pointer;
  float: left;
  display: none;
  background: #3b9ee6;
  border: 1px solid #3b9ee6;
  color: white;
  margin-left: 1rem;
  padding: .5rem 1.5rem;
  border-radius: 5px;
  font-size: 1.6rem;
}

#arrow_next {
  cursor: pointer;
  float: right;
  display: none;
  background: #3b9ee6;
  border: 1px solid #3b9ee6;
  color: white;
  margin-right: 1rem;
  padding: .5rem 1.5rem;
  border-radius: 5px;
  font-size: 1.6rem;
}

#copyright {
  font-size: 1.4rem;
  color: #555;
}

/* ########### ########### */

@media (max-width:768px) {
  #menu_toggle_label {
    position: absolute;
    z-index: 7;
    top: 3px;
    right: 5px;
    display: block;
    width: 32px;
    height: 30px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 12%;
    padding: 4px;
    padding-bottom: 7px;
  }
  #menu_toggle_icon, #menu_toggle_icon::before, #menu_toggle_icon::after {
    /*create 3bars for menu-icon*/
    position: relative;
    top: 50%;
    left: 50%;
    display: block;
    height: 3px;
    width: 24px;
    background: #fff;
    content: '';
    transition: all 0.12s ease-in-out;
  }
  #menu_toggle_icon::before {
    transform: translate3d(-50%, -10.5px, 0);
  }
  #menu_toggle_icon {
    transform: translate3d(-50%, -5px, 0);
  }
  #menu_toggle_icon::after {
    transform: translate3d(-50%, 4px, 0);
  }
  #menu_toggle_caption {
    position: relative;
    top: calc(100% - 16px);
    height: 14px;
    display: block;
    text-align: center;
    /* font-family: 'Roboto', sans-serif; */
    line-height: 3;
    font-size: 8px;
    color: gray;
  }
  #menu_toggle_caption::before {
    color: white;
    position: absolute;
    width: 100%;
    left: 0;
    font-size: 10px;
    line-height: 2.7;
    content: 'ﾒﾆｭｰ';
    /* content: 'メニュー'; */
    letter-spacing: .1rem;
    transition: all 0.12s ease-in-out;
    visibility: visible;
    opacity: 1;
  }
  #menu_toggle_caption::after {
    color: #555;
    position: absolute;
    width: 100%;
    left: 0;
    content: '閉じる';
    transition: all 0.12s ease-in-out;
    visibility: hidden;
    opacity: 0;
  }
  #menu_toggle:checked~#menu_toggle_label #menu_toggle_icon {
    background-color: transparent;
  }
  #menu_toggle:checked~#menu_toggle_label #menu_toggle_icon::before {
    transform: translateX(-50%) rotate(45deg);
    top: 1.5px;
    background-color: #555;
  }
  #menu_toggle:checked~#menu_toggle_label #menu_toggle_icon::after {
    transform: translateX(-50%) translateY(-10px) rotate(-45deg);
    top: 8.5px;
    background-color: #555;
  }
  #menu_toggle:checked~#menu_toggle_label #menu_toggle_caption::before {
    visibility: hidden;
    opacity: 0;
  }
  #menu_toggle:checked~#menu_toggle_label #menu_toggle_caption::after {
    visibility: visible;
    opacity: 1;
  }
  #menu_toggle:checked~#nav {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  div#frontcover img {
    max-width: 62%;
  }
  #wrapper {
    width: 100%;
    border: 0;
  }
  #nav {
    transition: transform .2s ease-out;
    float: none;
    position: fixed;
    transform: translate3d(-100%, 0, 0);
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
  }

  div#frontcover>h3 {
    font-size: 2rem;
  }
  #img01, #img02, #img03, #img04 {
    max-height: 180px;
    margin: 1px;
  }
  label#accordion-bar-label {
    font-weight: normal;
  }
  #nav-title {
    margin-right: 4rem;
  }
  #nav_arrow {
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
  }
  #arrow_prev {
    background: white;
    color: #3b9ee6;
  }
  #arrow_next {
    background: white;
    color: #3b9ee6;
  }
}

@media (min-width:767px) {
  /* * { -ms-overflow-style: none; } */
  ::-webkit-scrollbar {
    width: 5px;
  }
  ::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
  }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 50, .3);
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
  }
}

@media (min-height:1000px) {
  div#frontcover img {
    max-width: 420px;
  }
}
