@charset "UTF-8";
header p {
  margin-top: 10px;
  font-size: 1.2rem;
}
#mainvisual {
  margin: 0px auto;
}
#mainvisual img {
  width: 100%;
  min-width: 980px;
}
#home_contact {
  width: 860px;
  margin: 40px auto 0px;
}
#formWrap.formWrap{
  background-color: #ffb760;
  padding: 40px 0;
  color: #000;
}
#formWrap.formWrap h3{
  color: #11138b;
  font-size: 30px;
  margin-bottom: 40px;
}

#formWrap.formWrap table td,
#formWrap.formWrap table th{
  border: none;
}

.contact-btn {
  width: 300px;
  height: 55px;
  margin: 40px auto 0;
}
.contact-btn a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 55px;
  text-decoration: none;
  background: #11138b;
  text-align: center;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  box-shadow: 5px 5px 0px 0px #dedede;
}
.contact-btn a:hover {
  background: #5c89ff;
  color: #fffc00;
  margin-left: 5px;
  margin-top: 5px;
  box-shadow: none;
}

.home_contact_inner {
  background-color: #ffb760;
  padding-bottom: 40px;
}
.home_contact_inner h2 img {
  margin-top: -14px;
}
.home_contact_copy {
  margin-top: 0px;
  padding-top: 3px;
  margin-left: 30px;
  color: #11138b;
  font-size: 2.8rem;
  background-image: url(../images/contact_fukidashi.png);
  background-repeat: no-repeat;
  height: 90px;
  background-position: 20px 0px;
  text-align: center;
  vertical-align: middle;
}
.form_content {
  width: 760px;
  margin: 20px auto;
}
.form_content input {
  width: 540px;
  height: 28px;
  border: 0;
  padding: 10px;
  font-size: 1.3em;
  font-family: Arial, sans-serif;
  color: #000;
  margin-bottom: 20px;
  border: solid 1px #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.form_content input:focus {
  border: solid 1px #eea34a;
}
.form_content textarea {
  width: 540px;
  height: 80px;
  border: 0;
  padding: 10px;
  font-size: 1.3em;
  font-family: Arial, sans-serif;
  color: #000;
  margin-bottom: 20px;
  border: solid 1px #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
input#submit_button {
  font-size: 2.4rem;
  width: 240px;
  height: 60px;
  border: none;
  text-align: center;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 6px;
  color: #ffffff;
  background-image: -webkit-linear-gradient(0deg, #bb0a1b 0%, #cf4543 100%);
  background-image: linear-gradient(0deg, #bb0a1b 0%, #cf4543 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #bb0a1b;
  cursor: pointer;
}
input#submit_button:active {
  -ms-transform: translateY(4px);
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}
.formTable tr {
  margin-bottom: 30px;
  height: 50px;
}
.formTable tr th {
  width: 200px;
  color: #000;
  font-size: 1.4rem;
  font-weight: bold;
  vertical-align: middle;
  text-align: left;
}
.formTable tr td {
  width: 580px;
}
#home_messege {
  width: 860px;
  margin: 20px auto;
  text-align: center;
}
.home_message_content {
  border: #11138b 2px solid;
  color: #11138b;
  font-size: 2rem;
  font-weight: bold;
  line-height: 180%;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* home_aboutus */
#home_aboutus {
  margin-top: 60px;
}
.home_aboutus_content h2 {
  background-image: url(../commonimages/bg_pettern01.gif);
  background-repeat: repeat;
  background-position: top left;
  font-size: 1.8rem;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
}
.home_aboutus_contentin {
  background-image: url(../images/home_aboutus_bg.jpg);
  background-repeat: no-repeat;
  background-position: top center;
}
.home_aboutus_contentinner {
  width: 960px;
  margin: 0px auto;
  padding-bottom: 20px;
}
.home_aboutus_contentinner dl {
  float: left;
  width: 320px;
  margin-top: 40px;
}
.home_aboutus_contentinner dl dt {
  text-align: center;
}
.home_aboutus_contentinner dl dd {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 10px;
}
.home_aboutus_threestep {
  background-color: #4a85e0;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.home_aboutus_threestep {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
/* home_knowledge */
#home_knowledge {
  margin-top: 60px;
}
#home_knowledge h2 {
  background-image: url(../commonimages/bg_pettern01.gif);
  background-repeat: repeat;
  background-position: top left;
  font-size: 1.8rem;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
}
.home_knowledge_postcontent {
  width: 1200px;
  margin: 40px auto;
}
.home_knowledge_postcontent dl {
  width: 385px;
  border: 2px #bababa solid;
  padding: 10px;
  float: left;
  box-sizing: border-box;
  background: linear-gradient(0deg, #dcdcdc, #fff);
}
.home_knowledge_postcontent dt {
  width: 100px;
  float: left;
  margin-right: 10px;
}
.home_knowledge_postcontent dd {
  float: left;
  font-weight: bold;
  font-size: 2rem;
  line-height: 180%;
  width: 235px;
}
.home_knowledge_postcontent2 {
  width: 1200px;
  margin: 40px auto;
}
.home_knowledge_postcontent2 dl {
  width: 385px;
  border: 2px #bababa solid;
  padding: 10px;
  float: left;
  box-sizing: border-box;
  background: linear-gradient(0deg, #dcdcdc, #fff);
  margin-right: 5px;
}
.home_knowledge_postcontent2 dt {
  width: 100px;
  float: left;
  margin-right: 10px;
}
.home_knowledge_postcontent2 dd {
  float: left;
  font-weight: bold;
  font-size: 2rem;
  line-height: 180%;
  width: 235px;
}
.home_knowledge_postcontent_more {
  display: block;
  background-image: url(../commonimages/bg_pettern01.gif);
  background-repeat: repeat;
  background-position: top left;
  font-size: 1.8rem;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
  width: 200px;
  margin: 30px auto;
  cursor: pointer;
}
.home_knowledge_postcontent_more a {
  color: #fff;
}
.home_knowledge_jisseki {
  background-color: #4a85e0;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
#home_vocabulary {
  border-top: 2px solid #11138b;
  border-bottom: 2px solid #11138b;
  padding-bottom: 20px;
}
.home_vocabulary_incontent {
  width: 980px;
  margin: 0px auto;
  text-align: center;
}
.home_vocabulary_incontent h2 {
  color: #11138b;
  font-size: 2.3rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}
.home_vacabulary_btn {
  margin: 30px auto 0px;
  background: linear-gradient(0deg, #ccc, #fff);
  color: #11138b;
  border-color: #c7d0db;
  text-shadow: 0 1px 1px #a8b6c7;
  font-size: 2.4rem;
  letter-spacing: 0.8rem;
  line-height: 1.42;
  padding: 15px 10px;
  font-weight: bold;
  border-width: 3px;
  border-style: solid;
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
  vertical-align: bottom;
  border-style: solid;
  width: 400px;
}
.home_aboutus_onayamai {
  width: 980px;
  margin: 10px auto 0px;
}
/* home labpost */
#home_labpostlist {
  margin-top: 60px;
}
#home_labpostlist h2 {
  background-color: #092162;
  font-size: 2rem;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
}
.home_labpostlist_content {
  width: 1200px;
  margin: 20px auto;
}
.home_labpostlist_content dl {
  width: 385px;
  border: 1px #000 solid;
  padding: 10px;
  float: left;
  box-sizing: border-box;
  margin-right: 3px;
}
.home_labpostlist_content dt {
  width: 100px;
  float: left;
  margin-right: 10px;
}
.home_labpostlist_content dt img {
  width: 100%;
}
.home_labpostlist_content dd {
  float: left;
  font-weight: bold;
  font-size: 2rem;
  line-height: 180%;
  width: 235px;
}

.formTable .error{
  display: block;
  color: red;
}

/* home_qa */
#home_qa {
  margin-top: 60px;
}
#home_qa h2 {
  background-image: url(../commonimages/bg_pettern01.gif);
  background-repeat: repeat;
  background-position: top left;
  font-size: 1.8rem;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
}
.home_qa_incontent {
  width: 980px;
  margin: 0px auto;
}
.home_qa_one {
  margin-top: 40px;
  border-bottom: 1px solid #787878;
  padding-bottom: 20px;
}
.home_qa_q {
  background-image: url(../images/home_qa_icon_q.png);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 38px;
  color: #4a85e0;
  font-size: 2rem;
  font-weight: bold;
  height: 30px;
}
.home_qa_a {
  background-image: url(../images/home_qa_icon_a.png);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 48px;
  color: #ff7230;
  font-size: 2.6rem;
  font-weight: bold;
  margin-left: 100px;
  margin-top: 20px;
  height: 40px;
}
.home_qa_a_detail {
  margin-left: 100px;
  margin-top: 10px;
}
/* home_qa */
.accordion-box {
  /* position: relative; */
}
.accordion-box label {
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  position: absolute;
  bottom: 0;
  width: 100%;
  display: none;

  /* 以下グラデーションは「背景が白」に併せて設定しています */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 90%
  );
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 90%
  );
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 90%
  );
  background: -ms-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 90%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 90%
  );
}
.accordion-box input:checked + label {
  background: inherit; /* 開いた時には背景グラデーションを消す */
}
.accordion-box label:after {
  content: "Q&A 続きを見る"; /* ラベルの文字 */
  letter-spacing: 0.05em;
  line-height: 3rem;
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  color: #fff;
  background-color: #000;
  width: 40rem;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  font-size: 1.6rem;
}
.accordion-box label:before {
  content: "↓";
  font-weight: 700;
  position: absolute;
  bottom: 25px;
  left: 50%;
  -webkit-transform: translate(-140px, 0);
  transform: translate(-140px, 0);
  background-color: #fff;
  z-index: 1;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
.accordion-box input {
  display: none;
}
.accordion-box .accordion-container {
  /* overflow: hidden; */
  height: auto; /* 開く前に見えている部分の高さ */
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
  -ms-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

.accordion-box input:checked + label {
  /* display: none ; 閉じるボタンは要らないとき */
}
.accordion-box input:checked + label:after {
  content: "閉じる";
}
.accordion-box input:checked + label:before {
  content: "↑";
}
.accordion-box input:checked ~ .accordion-container {
  /* height: auto;
  padding-bottom: 80px; 閉じるボタンのbottomからの位置 */
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
  -ms-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}
.form_comformcontent h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}
.form_comformcontent table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.form_comformcontent table tr th,
.form_comformcontent table tr td {
  padding: 0 10px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.form_comformcontent table tr th {
  text-align: center;
  font-weight: bold;
}
input#comfirm_btn {
  margin-top: 20px;
  font-size: 2rem;
  width: 200px;
  height: 50px;
  border: none;
  text-align: center;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 6px;
  color: #ffffff;
  background-image: -webkit-linear-gradient(0deg, #4a84df 0%, #77b9d7 100%);
  background-image: linear-gradient(0deg, #4a84df 0%, #77b9d7 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #4171c9;
  cursor: pointer;
}
input#comfirm_btn.comfirm_btn_submit{
  font-size: 2.4rem;
  width: 240px;
  height: 60px;
  border: none;
  text-align: center;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 6px;
  color: #ffffff;
  background-image: -webkit-linear-gradient(0deg, #bb0a1b 0%, #cf4543 100%);
  background-image: linear-gradient(0deg, #bb0a1b 0%, #cf4543 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #bb0a1b;
  cursor: pointer;
}
#home_labbanner {
  width: 700px;
  margin: 10px auto;
}
@media (max-width: 800px) {
  header p {
  }
  #mainvisual {
    margin: 0px auto;
    width: 100%;
  }
  #mainvisual img {
    width: 100%;
    min-width: 100%;
  }
  #home_contact {
    width: 100%;
    margin: 20px auto 0px;
  }
  .home_contact_inner {
    background-color: #ffb760;
  }
  .home_contact_inner img {
    width: 100%;
  }
  .home_contact_inner h2 img {
    margin-top: 10px;
  }
  .home_contact_copy {
    font-size: 2rem;
    background-size: 20%;
    margin-left: 0px;
    margin-right: 5%;
    padding-left: 30%;
    background-position: 20px 0px;
    height: auto;
    text-align: left;
    font-weight: bold;
  }
  .form_content {
    width: 90%;
    margin: 20px 5%;
  }
  .form_content input {
    width: 90%;
    padding: 10px;
    font-size: 1.3em;
  }
  .form_content input:focus {
    border: solid 1px #eea34a;
  }
  .form_content textarea {
    width: 90%;
    height: 80px;
    border: 0;
    padding: 10px;
    font-size: 1.3em;
    font-family: Arial, sans-serif;
    color: #aaa;
    margin-bottom: 20px;
    border: solid 1px #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  input#submit_button {
    width: 80%;
  }
  input#submit_button:active {
  }
  .formTable tr {
    margin-bottom: 10px;
    height: auto;
    display: block;
  }
  .formTable tr th {
    width: 100%;
    display: block;
  }
  .formTable tr td {
    width: 100%;
    display: block;
  }
  #home_messege {
    width: 90%;
    margin: 20px 5%;
  }
  .home_message_content {
    font-size: 2rem;
    font-weight: bold;
    line-height: 180%;
    padding: 10%;
  }
  /* home_aboutus */
  #home_aboutus {
    margin-top: 60px;
    width: 100%;
  }
  .home_aboutus_content_headinner {
    background-image: url(../commonimages/bg_pettern01.gif);
    background-repeat: repeat;
    background-position: top left;
  }
  .home_aboutus_content h2 {
    width: 90%;
    margin: 0px 5%;
  }
  .home_aboutus_contentin {
    background-image: url(../images/home_aboutus_bg_sp.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    width: 100%;
    padding-top: 30px;
  }
  .home_aboutus_contentinner {
    width: 90%;
    margin: 0px 5%;
    padding-bottom: 20px;
  }
  .home_aboutus_contentinner dl {
    float: none;
    width: 100%;
    margin-top: 40px;
  }
  .home_aboutus_contentinner dl dt {
    text-align: center;
  }
  .home_aboutus_contentinner dl dd {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 10px;
  }
  .home_aboutus_threestep {
    width: 100%;
  }
  .home_aboutus_threestep img {
    width: 100%;
  }
  /* home_knowledge */
  #home_knowledge {
    margin-top: 60px;
  }

  .home_aboutus_content_headinner {
    background-image: url(../commonimages/bg_pettern01.gif);
    background-repeat: repeat;
    background-position: top left;
  }
  .home_aboutus_content h2 {
    width: 90%;
    margin: 0px 5%;
  }

  #home_knowledge h2 {
  }
  .home_knowledge_headinnder {
    background-image: url(../commonimages/bg_pettern01.gif);
    background-repeat: repeat;
    background-position: top left;
  }
  .home_knowledge_headinnder h2 {
    width: 90%;
    margin: 0px 5%;
  }
  .home_knowledge_postcontent {
    width: 100%;
    margin: 40px auto;
  }
  .home_knowledge_postcontent dl {
    width: 90%;
    margin: 0px 5%;
    float: none;
  }
  .home_knowledge_postcontent dt {
    width: 35%;
  }
  .home_knowledge_postcontent dt img {
    width: 100%;
  }
  .home_knowledge_postcontent dd {
    width: 55%;
  }
  .home_knowledge_postcontent2 {
    width: 100%;
    margin: 40px auto;
  }
  .home_knowledge_postcontent2 dl {
    width: 90%;
    margin: 0px 5%;
    float: none;
    margin-bottom: 10px;
  }
  .home_knowledge_postcontent2 dt {
    width: 35%;
  }
  .home_knowledge_postcontent2 dd {
    width: 55%;
  }
  .home_knowledge_postcontent_more {
  }
  .home_knowledge_postcontent_more a {
  }
  .home_knowledge_jisseki {
    width: 100%;
  }
  .home_knowledge_jisseki img {
    width: 90%;
    margin: 0px 5%;
  }
  #home_vocabulary {
    width: 100%;
  }
  .home_vocabulary_incontent {
    width: 90%;
    margin: 0px 5%;
    text-align: center;
  }
  .home_vocabulary_incontent h2 {
  }
  .home_vacabulary_btn {
    width: 90%;
  }
  .home_aboutus_onayamai {
    width: 100%;
    margin: 10px auto 0px;
  }
  .home_aboutus_onayamai img {
    width: 100%;
  }
  /* lab */
  .home_labpostlist_content h2 {
    width: 90%;
    margin: 0px 5%;
  }
  .home_labpostlist_content {
    width: 100%;
    margin: 20px auto;
  }
  .home_labpostlist_content dl {
    width: 90%;
    margin: 0px 5% 10px;
    float: none;
  }
  .home_labpostlist_content dt {
    width: 35%;
  }
  .home_labpostlist_content dt img {
    width: 100%;
  }
  .home_labpostlist_content dd {
    width: 55%;
  }
  /* home_qa */
  #home_qa {
  }
  #home_qa h2 {
  }
  .home_qa_incontent {
    width: 90%;
    margin: 0px 5%;
  }
  .home_qa_one {
  }
  .home_qa_q {
    height: auto;
  }
  .home_qa_a {
    height: auto;
    margin-left: 0px;
  }
  .home_qa_a_detail {
    margin-left: 0px;
    margin-top: 10px;
  }
  .accordion-box label {
    width: 100%;
  }
  .accordion-box label:after {
    bottom: 20px;
    left: 50%;
    width: 100%;
  }
  .accordion-box label:before {
    bottom: 25px;
    left: 50%;
  }
  #home_labbanner {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10px;
  }
  #home_labbanner img {
    width: 100%;
    height: auto;
  }
}
