* {
  box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }

body {
  margin: 0;
  padding: 0;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }

.inner {
  width: 95%;
  max-width: 1243px;
  margin: 0 auto; }

.block {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto; }

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none; }

ul.dots {
  padding-left: 2em; }
  ul.dots li {
    list-style: disc; }

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between; }

.center {
  text-align: center; }

header {
  background-image: url(/img/bg_header.webp);
  background-size: cover;
  background-position: bottom center;
  padding: 100px 0 56px;
  height: 90vh;
  position: relative; }
  @media screen and (max-width: 768px) {
    header {
      background-image: url(/img/bg_header_sp.webp);
      background-position: bottom left -95%; } }
  header img {
    position: absolute; }
    header img#header_logo_big {
      opacity: 0;
      top: 30%;
      left: calc(50% - 400px);
      width: 100%;
      max-width: 800px; }
      @media screen and (max-width: 1160px) {
        header img#header_logo_big {
          width: 90%;
          left: 5%;
          top: 40%; } }
  header #pin_wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden; }
    header #pin_wrap img {
      opacity: 0; }
      header #pin_wrap img:nth-child(1) {
        top: 69%;
        left: 3.2%;
        z-index: 1;
        width: 1.4%; }
      header #pin_wrap img:nth-child(2) {
        top: 67%;
        left: 6.5%;
        z-index: 13;
        width: 8.15%; }
      header #pin_wrap img:nth-child(3) {
        top: 66%;
        left: 16%;
        z-index: 8;
        width: 4.47%; }
      header #pin_wrap img:nth-child(4) {
        top: 62%;
        left: 22%;
        z-index: 4;
        width: 2.26%; }
      header #pin_wrap img:nth-child(5) {
        top: 58%;
        left: 29%;
        z-index: 12;
        width: 6.94%; }
      header #pin_wrap img:nth-child(6) {
        top: 63%;
        left: 40%;
        z-index: 7;
        width: 4.42%; }
      header #pin_wrap img:nth-child(7) {
        top: 65%;
        left: 48%;
        z-index: 5;
        width: 2.31%; }
      header #pin_wrap img:nth-child(8) {
        top: 64.8%;
        left: 53.5%;
        z-index: 10;
        width: 5.94%; }
      header #pin_wrap img:nth-child(9) {
        top: 62.7%;
        left: 60.8%;
        z-index: 3;
        width: 2.21%; }
      header #pin_wrap img:nth-child(10) {
        top: 58.6%;
        left: 69.6%;
        z-index: 14;
        width: 9.78%; }
      header #pin_wrap img:nth-child(11) {
        top: 65%;
        left: 81.3%;
        z-index: 2;
        width: 1.73%; }
      header #pin_wrap img:nth-child(12) {
        top: 69.1%;
        left: 83.8%;
        z-index: 9;
        width: 5.31%; }
      header #pin_wrap img:nth-child(13) {
        top: 67%;
        left: 89.7%;
        z-index: 13;
        width: 2.57%; }
      header #pin_wrap img:nth-child(14) {
        top: 75%;
        left: 94%;
        z-index: 11;
        width: 6.89%; }
    @media screen and (max-width: 768px) {
      header #pin_wrap {
        display: none; } }
  @media screen and (max-width: 1160px) {
    header {
      height: 60vh; } }

@media screen and (max-width: 768px) {
  header #inheader_wrap a {
    font-size: 16px;
    padding: 10px 20px;
    display: block; } }

span.obj {
  width: 16px;
  height: 16px;
  background: #4fa7b2;
  /*background: #fff;*/
  position: absolute; }
  span.obj:first-child {
    top: 13px;
    left: 13px; }
  span.obj:nth-child(2) {
    top: 13px;
    right: 13px; }
  span.obj:nth-child(3) {
    bottom: 13px;
    right: 13px; }
  span.obj:nth-child(4) {
    bottom: 13px;
    left: 13px; }

#main {
  position: relative; }
  @media screen and (max-width: 1160px) {
    #main {
      padding-top: 60px; } }
  #main #top_msg {
    border: 5px solid #4fa7b2;
    background: #fff;
    box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
    padding: 3em;
    position: relative;
    margin-top: -5em;
    left: 0;
    right: 0;
    z-index: 20; }
    #main #top_msg p {
      width: 80%;
      max-width: 850px;
      margin: 0 auto; }
      #main #top_msg p span {
        font-weight: bold;
        color: #ef5526; }
    @media screen and (max-width: 1160px) {
      #main #top_msg {
        position: relative;
        top: auto;
        padding: 3em 0; } }
  #main .wrap {
    padding: 67px 0 30px;
    overflow: hidden;
    position: relative; }
    #main .wrap::before {
      content: '';
      display: block;
      background: rgba(0, 0, 0, 0.07);
      position: absolute;
      top: 7%;
      left: -50%;
      height: 100%;
      width: 500%;
      transform: skew(-15deg, -15deg);
      z-index: -1; }
  #main #basic {
    padding: 200px 0 60px; }
    @media screen and (max-width: 1160px) {
      #main #basic {
        padding-top: 60px; } }
  #main .inner h2,
  #main .block h2 {
    text-align: center; }
    #main .inner h2 span,
    #main .block h2 span {
      font-size: 24px;
      border: 1px solid #4fa7b2;
      background: #fff;
      padding: 13px 50px;
      color: #4fa7b2;
      position: relative; }
      #main .inner h2 span::after,
      #main .block h2 span::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: -1;
        border: 1px solid #4fa7b2;
        background: #fff; }
  #main .inner .price,
  #main .block .price {
    font-size: 20px;
    font-weight: bold; }
    #main .inner .price p,
    #main .block .price p {
      margin-top: 40px;
      font-size: 23px; }
      #main .inner .price p span,
      #main .block .price p span {
        color: #4fa7b2;
        font-size: 60px;
        font-weight: bold;
        padding: 0 10px; }
        @media screen and (max-width: 768px) {
          #main .inner .price p span,
          #main .block .price p span {
            font-size: 80px; } }
    #main .inner .price .nedan,
    #main .block .price .nedan {
      font-size: 47px; }
    #main .inner .price .yen,
    #main .block .price .yen {
      font-size: 32px; }
    #main .inner .price .small,
    #main .block .price .small {
      font-size: 14px;
      font-weight: normal;
      color: #707070; }
  #main .inner #base_system,
  #main .block #base_system {
    flex-wrap: wrap; }
    #main .inner #base_system a,
    #main .block #base_system a {
      width: 25%;
      text-align: center;
      cursor: pointer; }
      #main .inner #base_system a:hover,
      #main .block #base_system a:hover {
        opacity: 0.7; }
      #main .inner #base_system a img,
      #main .block #base_system a img {
        width: 100%; }
      #main .inner #base_system a p,
      #main .block #base_system a p {
        text-align: center;
        font-weight: bold;
        font-size: 17px;
        color: #4fa7b2; }
        #main .inner #base_system a p.op,
        #main .block #base_system a p.op {
          color: #53a654; }
      #main .inner #base_system a span,
      #main .block #base_system a span {
        background: #53a654;
        color: #fff;
        font-weight: bold;
        padding: 3px 20px;
        border-radius: 50px; }
      @media screen and (max-width: 1160px) {
        #main .inner #base_system a,
        #main .block #base_system a {
          width: 48%; } }
    #main .inner #base_system div,
    #main .block #base_system div {
      width: 25%; }
  #main .riyo {
    padding: 45px 0;
    position: relative; }
    #main .riyo a {
      display: block;
      margin: 0 auto;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
      border-radius: 50px;
      font-size: 30px;
      width: 90%;
      max-width: 500px;
      padding: 10px 20px;
      line-height: 1em;
      background: #53a654; }
      #main .riyo a.greenbtn:hover {
        background: #4fa7b2; }
      #main .riyo a.redbtn {
        background: #fda3a5;
        /* Old browsers */
        background: -moz-linear-gradient(top, #fda3a5 0%, #fd3834 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #fda3a5 0%, #fd3834 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #fda3a5 0%, #fd3834 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fda3a5', endColorstr='#fd3834',GradientType=0 );
        /* IE6-9 */ }
        #main .riyo a.redbtn:hover {
          background: #fd3834; }
      #main .riyo a:hover {
        background: #ef5527; }
  #main #tokucho_wrap {
    margin-top: 80px; }
    #main #tokucho_wrap .inner {
      border: 3px solid #53a654;
      box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.5);
      padding: 60px 0; }
      #main #tokucho_wrap .inner h2 span {
        color: #53a654;
        border-color: #53a654; }
        #main #tokucho_wrap .inner h2 span::after {
          border-color: #53a654; }
      #main #tokucho_wrap .inner ul {
        margin-top: 40px; }
        #main #tokucho_wrap .inner ul li {
          width: 30%; }
          #main #tokucho_wrap .inner ul li img {
            width: 100%; }
          @media screen and (max-width: 1160px) {
            #main #tokucho_wrap .inner ul li {
              width: 100%;
              margin-top: 40px; } }
        @media screen and (max-width: 1160px) {
          #main #tokucho_wrap .inner ul {
            display: block; } }
  #main #ex_school {
    margin-top: 80px; }
    #main #ex_school h2 + p {
      color: #4fa7b2;
      font-size: 14px;
      text-align: center; }
    #main #ex_school .block ul {
      flex-wrap: wrap; }
      #main #ex_school .block ul li {
        width: 32%; }
        #main #ex_school .block ul li img {
          width: 100%; }
        @media screen and (max-width: 1160px) {
          #main #ex_school .block ul li {
            width: 50%; } }
  #main #option .flex {
    margin-top: 80px; }
    #main #option .flex > div {
      width: 50%; }
    #main #option .flex div:first-child {
      padding-right: 25px; }
    #main #option .flex div:nth-child(2) {
      padding-left: 25px;
      /*font-size: 18px;*/ }
      #main #option .flex div:nth-child(2) h4 {
        font-size: 26px; }
      #main #option .flex div:nth-child(2) a {
        color: #fff;
        text-decoration: none;
        border-radius: 50px;
        padding: 7px 40px;
        background: #ffa84a; }
        #main #option .flex div:nth-child(2) a:hover {
          background: #da6059; }
      #main #option .flex div:nth-child(2) .price .flex {
        margin-top: 40px; }
    #main #option .flex iframe {
      width: 100%;
      height: 100%; }
  #main .banner_wrap {
    background: #fff;
    padding: 60px 0 80px; }
    #main .banner_wrap .inner {
      text-align: center;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: space-between;
      justify-content: center; }
      #main .banner_wrap .inner a {
        margin: 0 10px;
        width: 33%; }
        #main .banner_wrap .inner a:hover {
          opacity: 0.8; }
        #main .banner_wrap .inner a img {
          width: 100%; }
      @media screen and (max-width: 1160px) {
        #main .banner_wrap .inner {
          display: block; } }

@media (max-width: 768px) {
  #main .inner h2 span {
    font-size: 18px;
    padding: 13px 20px; }
  #main .inner h2.long_midashi span {
    font-size: 16px; } }

#modal_wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  display: none; }
  #modal_wrap.active {
    display: flex; }
  #modal_wrap #modal_inner {
    background: #fff;
    width: 80%;
    max-width: 850px;
    max-height: 90%;
    overflow: hidden;
    border: 5px solid #4fa7b2;
    background: #fff;
    box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
    padding: 50px;
    position: relative; }
    @media screen and (max-width: 1160px) {
      #modal_wrap #modal_inner {
        width: 95%; } }
    #modal_wrap #modal_inner #modal_title {
      color: #4fa7b2;
      text-align: center; }
      #modal_wrap #modal_inner #modal_title span {
        display: block;
        font-size: 12px;
        font-weight: normal;
        color: #666;
        margin-top: 0.5em; }
    #modal_wrap #modal_inner .iframe_wrap {
      width: 100%;
      padding-bottom: 56.25%;
      height: 0px;
      position: relative; }
      #modal_wrap #modal_inner .iframe_wrap iframe {
        margin: 0 auto 1em;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; }
    #modal_wrap #modal_inner img#modal_img_pg {
      width: 25%;
      margin: 1em 0; }
    #modal_wrap #modal_inner img#modal_img_denshi {
      width: 20%;
      margin: 0px 0 -7px 13px; }
      @media screen and (max-width: 1160px) {
        #modal_wrap #modal_inner img#modal_img_denshi {
          width: 45%;
          margin: 0px 0 -4px 13px; } }
  #modal_wrap #tojiru {
    font-weight: bold;
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    width: 40%;
    min-width: 150px;
    max-width: 600px;
    padding: 15px 20px;
    line-height: 1em;
    background: #53a654;
    margin: 40px auto 0;
    text-align: center;
    cursor: pointer; }
    #modal_wrap #tojiru:hover {
      background: #4fa7b2; }

#modal_text {
  overflow-y: auto;
  max-height: 400px;
  text-align: justify; }
  @media screen and (max-width: 768px) {
    #modal_text {
      max-height: 300px; } }
  #modal_text span {
    display: block;
    color: #e12222; }
  #modal_text .flex {
    align-items: center;
    justify-content: flex-start; }
    @media screen and (max-width: 768px) {
      #modal_text .flex {
        display: block; } }
    #modal_text .flex.ssul {
      flex-wrap: wrap;
      margin-bottom: 20px;
      justify-content: space-between; }
      #modal_text .flex.ssul li {
        margin: 10px 0 0;
        border: 1px solid #ccc;
        border-radius: 25px;
        padding: 5px 20px; }
  #modal_text .btn_wrap {
    text-align: center;
    margin-top: 30px; }
    @media screen and (max-width: 768px) {
      #modal_text .btn_wrap {
        margin: 20px 0;
        margin-left: 0;
        text-align: center; } }
    #modal_text .btn_wrap a {
      border: 1px solid #bbb;
      border-radius: 50px;
      background: #ef5526;
      color: #fff;
      text-decoration: none;
      padding: 5px 20px; }
      #modal_text .btn_wrap a:hover {
        opacity: 0.6; }

.pcview {
  display: block; }

.spview {
  display: none; }

@media screen and (max-width: 768px) {
  .pcview {
    display: none; }
  .spview {
    display: block; }
  header .inner {
    padding: 50px 10px; }
    header .inner h2 {
      margin: 0 0 24px;
      font-size: 20px; }
  #main .inner .price {
    font-size: 14px; }
    #main .inner .price .nedan {
      font-size: 36px; }
    #main .inner .price .yen {
      font-size: 21px; }
  #main .inner #base_system {
    flex-wrap: wrap;
    justify-content: center; }
    #main .inner #base_system a {
      width: 49%; }
      #main .inner #base_system a img {
        width: 100%; }
  #modal_wrap #modal_inner {
    padding: 50px 1em; }
  #main #option .flex {
    display: block; }
    #main #option .flex > div {
      width: 100%; }
    #main #option .flex div:first-child {
      padding-right: 0; }
    #main #option .flex div:nth-child(2) {
      padding-left: 0; }
  #main #option .price .flex {
    display: flex; }
  #main #option .flex div:nth-child(2) a {
    padding: 7px 20px;
    display: block;
    text-align: center; }
  #main .banner_wrap .inner a {
    margin: 0 0 10px;
    width: 100%; }
    #main .banner_wrap .inner a img {
      width: 100%; } }
