@charset "UTF-8";
a:hover { opacity: 0.7; }
a img:hover { opacity: 0.7; }

body{
  background-color: #f2f2f2;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.wrap{
  width: 100%;
  margin: 0 auto;
  padding:0 15px;
  max-width: 1200px;
  box-sizing: border-box;
  background-color: #fff;
}
header{
  padding: 13px 0;
  background-color: #fff;
}
.header-wrap{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.header-logo img{
  max-width: 214px;
}

nav{
  background: #0195D8;
  border-bottom: #444444 10px solid;
}

.breadcrumb{
  list-style: none;
  padding:20px 0;
  color:#707070;
}
.breadcrumb li{
  display: inline-block;
}
.breadcrumb a{ color:inherit; }

.ad-top{
  margin:20px 0;
  text-align: center;
}

.ad-side{
  margin:0;
  width: 336px;
  max-width: 100%;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  padding:0;
  float: right;
}

h1{
  font-size:1.5em;
  color:#707070;
  margin:20px 0;
}

h2{
  background-color: #58C6FF;
  padding:10px;
  margin:20px 0;
}

h3{
  font-weight: bold;
  margin:5px 0;
  position: relative;
}

.p-text{
  line-height:1.5em;
}

.red{
  font-size:0.8em;
  color:#ff0000;
}

.center{text-align: center;}
.right{text-align: right;}

.left-cont {
  max-width: 814px;
}

#setting-form ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

#setting-form ul li{
  width: 100%;
  background-color: #e2f5ff;
  display: inline-block;
  padding:10px 20px;
  box-sizing: border-box;
  margin: 0 0 14px 0;
}

#setting-form input[type="text"]{
  padding: 5px;
  margin:5px;
}


.main-terms {
  padding-bottom: 50px;
}

footer{
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

input[type="radio"]{
  margin:0;
  padding:0;
  margin:3px 5px 3px 0px;
}


.help-tip{
  display: inline-block;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
  padding:4px 7px 3px 7px;
  border:solid #707070 1px;
  box-sizing: border-box;
  cursor: pointer;
}

.help-text {
  display: none;
  position: absolute;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6em;
  color: #fff;
  border-radius: 5px;
  background: #000;
  width: 200px;
}
.help-text:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 15px solid transparent;
  border-top: 15px solid #000;
  margin-left: -15px;
}
.help-wrap{
  position: relative;
}
.help-wrap:hover .help-text{
  display: inline-block;
  top: -12px;
  transform: translateY(-100%);
  left: -98px;
}


/*nav ここから*/

.bold{font-weight: bold;}

nav .wrap {
  background-color: #0195D8;
  color: #fff;
  font-weight: normal;
}

nav .wrap a {
  color: #fff;
  text-decoration: none;
}

nav .wrap li ul li a {
  color: #333;
}

nav .wrap a:hover {
  background-color: #55B1DB;
  text-decoration: none;
}

#navi {
  width: 100%;
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}

#menu {
  display: flex;
  text-align: center;
  border-left: solid 1px #fff;
}
#menu li {
  position: relative;
  white-space: nowrap;
  flex-basis: 240px;
  line-height: 3em;
  font-weight: normal;
  font-size: 18px;
  border-right: solid 1px #fff;
}
#menu li a {
  display: block;
  font-size:0.9em;
}

/* パソコンでは V を非表示 */
#menu > li .pd {
  display: none;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}

/* ドロップダウンメニュー */
#menu li ul {
  position: absolute;
}
/* 子メニュー */
#menu > li > ul li {
  /*font-size: 14px;*/
  display: none;
  padding: 0px 20px;
  background-color: #DBDBDB;
  text-align: left;
  color:#333;
}
#menu li ul li ul {
  top: 0px;
  left: 100%;
}
#menu li ul li ul li ul,
#menu li:nth-child(n+3) ul li ul {
  left: inherit;
  right: 100%;
}
#menu > li > ul {
  width: auto;
}

#menu li:hover {
    background: #55B1DB;
  }
#menu li.li-h:hover {
    background:inherit;
  }
#menu > li > ul li:hover,nav .wrap li ul li a:hover {
  background-color: #EEE;
}
  #menu > li:hover > ul > li,
  #menu li ul li:hover > ul > li {
    display: block;
  }
  /* 階層がある場合の誘導の印 */
  #menu li ul li ul:before,
  #menu li ul li ul li ul:before,
  #menu li:nth-child(n+3) ul li ul:before {
    position: absolute;
    top: 28px;
    content: "";
    border: 5px solid transparent;
    display: block;
  }
  /* 通常タイプ */
  #menu li ul li ul:before {
    left: -10px;
    border-left-color: #666;
  }
  /* 右側タイプ */
  #menu li ul li ul li ul:before,
  #menu li:nth-child(n+3) ul li ul:before {
    right: -10px;
    border-right-color: #666;
  }

/* ハンバーガー */
#navibtn {
  display: none;

}

/*共有*/
@media only screen and (min-width: 768px) {
  .pc_no { display: none; }
}
@media only screen and (max-width: 767px) {
  .sp_no { display: none; }
  .wrap{ padding: 0 2%;}
  .header-wrap{
    padding: 0 2%;
    box-sizing: border-box;
    position: relative;
  }
  .ad-side{
    margin-left:auto;
    margin-right:auto;
    padding-left:2%;
    padding-right:2%;
    box-sizing: border-box;
  }
  .left-cont{
    max-width: 100%;
  }
  
/* nav ここから */
/* 基本非表示 */
  #menu {
    display: none;
    border-left: none;
  }
  #menu li {
    height: auto;
    width: 100%;
    border-bottom: 1px solid #fff;
    border-right: none;
    white-space: nowrap;
    flex-basis: 100%;
    text-align: left;
  }
  #menu > li {
    margin-right: -20px;
  }
  /* V を表示 */
  #menu > li .pd {
    display: inline-block;
  }
  #menu li a {
    /*display: inline-block;*/
  }
  #menu li:first-child {
    border-top: 1px solid #0195D8;
  }
  #menu li i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
  
/* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * #menu {
    display: block;
  }
  #menu-navibtn:checked ~ * #menu > li {
    max-height: inherit;
    overflow-y: visible;
  }
  #menu > li ul {
    line-height: 50px;
  }
  #menu > li > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  #menu li ul {
    position: static;
  }
  /* 子メニュー */
  #menu > li > ul {
    margin-left: initial;
    display: block;
    position: relative;
    width: auto;
    text-align: left;
  }
  #menu li ul li:first-child {
    border-top: 1px solid #fff;
  }
  #menu ul li:last-child {
    border-bottom: none;
  }
  #menu > li > ul li {
    padding: 0;
    display: block;
  }
  #menu li ul li ul {
    top: inherit;
    left: 0;
  }
  #menu li ul li:last-child {
    border-bottom: none;
  }
  
  #menu li ul li a, #menu li ul li span {
    margin-left: 20px;
  }
  
  /* ハンバーガー */
  #navibtn {
    display: block;
    position: absolute;
    top: 0px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #0195D8;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }  
  
}
