@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2? family= Yuji+Mai & display=swap');

@font-face {
  /* ① ここにfont-familyで指定したい名前を書く*/
  font-family: "myfont";

  /* フォントが置かれているパスを書く */
  src: url("font/YujiMai-Regular.ttf") format("truetype") }
}

/* ①で作成した名前を使うと、普通にfont-familyを使う感じで、アップロードしたフォントを利用できる */
h1{
  font-family: "myfont";
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.or {
  background: linear-gradient(transparent 60%, #ffd89c 0%);
}

.bl {
  background: linear-gradient(transparent 60%, #c3defe 0%);
}

/* primary ================================== */
#primary {
  margin: 0 auto;
}

.primary_bg {
  margin: 0 auto;
}

.sp_primary_bg {
  display: none;
}


/* all ================================== */
.sec {
  margin: 0 auto 100px;
}

.title {
  font-size: 2.8rem;
  font-family: serif;
  font-weight: bold;
  margin-bottom: 50px;
  border-left: 15px solid #e55616;
  padding: 8px 15px;
}

.text{
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
}

.a{
  color: #e55616;
  font-weight: bold;
  display: inline-block;
}

.b {
  color: #0643b0;
  font-weight: bold;
  display: inline-block;
}


/* guide ================================== */
.title span{
  background: linear-gradient(transparent 60%, #ffd89c 0%);
}

.guide_box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  font-size: 1.8rem;
  font-weight: 500;
}

.guide_box .text {
  margin-bottom: 20px;
}

.guide_list {
  margin-bottom: 20px;
}

.guide_list li {
  list-style: disc;
  font-weight: bold;
  margin-left: 20px;
}

.guide_box .box1{
  width: 48%;
}

.guide_box .box2{
  width: 48%;
}

/* about ================================== */
.about_title {
  padding: 20px 30px 10px;
  background: #e55616;
  color: #fff;
  font-weight: bold;
  font-size: 2.5rem;
  font-family: serif;
  line-height: 1.3;
  margin-bottom: 100px;
}

.about_title span{
  color: #fff;
  font-size: 1.4rem;
  display: block;
  text-align: right;
  margin-top: 10px;
}

.about_innerttl {
  font-size: 2.5rem;
  font-weight: bold;
}

.about_box ul {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
}

.about_box ul li{
  width: 45%;
  margin-bottom: 40px;
}

.about_box ul li p{
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 3px;
  color: #e55616;
}

.about_box ul li:nth-child(2n){
  margin-bottom: 0;
}

.about_box ul li img{
  padding: 20px;
  border: 1px solid #ecb306;
  box-sizing: border-box;
}

.about_box ul .symptom{
  width: 70%;
  margin-bottom: 40px;
}


/* about(table)  ======================================== */
.table_box {
  margin-bottom: 100px;
  width: 100%;
  font-size: 1.8rem;
  font-family: serif;
  font-weight: bold;
  box-sizing: border-box;
}

.table_box table tr{
  vertical-align: middle;
  border-bottom: 1px solid #fff;
}

.table_box table tr:last-child{
  border-bottom: 1px solid #ff9c01;
}

.table_box table tr th{
  width: 20%;
  padding: 10px;
  font-size: 2rem;
  font-weight: bold;
  background: #ff9c01;
  border-right: 1px solid #fff;
  color: #fff;
  box-sizing: border-box;
}

.table_box table .top_tr th{
  background: #ff9c01;
  border-right: 1px solid #ff9c01;
  color: #fff;
}

.table_box table .top_tr th:nth-of-type(1){
  border-right: 1px solid #fff;
}

.table_box table tr td{
  width: 80%;
  padding: 10px;
  background: #fff1cd;
  border-left: 1px solid #fff;
  border-right: 1px solid #ff9c01;
  box-sizing: border-box;
}

.table_box table tr:nth-child(2n) td{
  background: #ffe49a;
}


/* error ================================== */
#error .text .or {
  background: linear-gradient(transparent 60%, #ffd89c 0%);
}

#error .text .bold {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: bold;
}

.red_txt {
  line-height: 2;
  font-size: 1.8rem;
  padding: 5px;
  color: #e55616;
  font-weight: bold;
  border: 2px solid #e55616;
  text-align: center;
  margin-bottom: 40px;
}

.error_image {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 30px;
}

.error_image img{
  width: 60%;
  margin: 0 auto;
}

.error_list {
  margin-bottom: 30px;
}

.error_list p{
  font-size: 2.3rem;
  font-weight: bold;
}

#error .txt1 {
  margin-bottom: 40px;
}

#error .under {
  border-bottom: 2px solid red;
}

.error_box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.error_box .box1 {
  width: 58%;
}

.error_box .box1 .or{
  background: linear-gradient(transparent 60%, #ffd89c 0%);
}

.error_box .box2 {
  width: 38%;
}

.error_list .list1{
  padding: 5px 10px;
  color: #fff;
  background: #e55616;
  border-radius: 0px 50px 50px 0;
  margin-bottom: 10px;
}

.error_list .list2{
  padding: 5px 10px;
  color: #fff;
  background: #0643b0;
  border-radius: 0px 50px 50px 0;
  margin-bottom: 10px;
}

.error_list li{
  font-weight: bold;
  margin-left: 30px;
  font-size: 1.8rem;
  list-style: decimal;
  margin-bottom: 3px;
}

.error_list li ul li{
  margin-left: 0px;
  font-size: 1.4rem;
  list-style: none;
}

/* school ================================== */
#school .text {
  margin-bottom: 20px;
}

.school_box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.school_image {
  width: 48%;
  margin-bottom: 30px;
}

.school_list {
  width: 50%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.school_list2 {
  width: 800px;
  padding: 15px 0 15px 20px;
  border: 1px solid #000;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.school_list2 li{
  font-size: 1.8rem;
  font-weight: bold;
}

.school_list .list_ttl{
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: bold;
}

.school_list .list_ttl2{
  margin-top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.school_list .list_ttl3{
  font-size: 1.8rem;
  font-weight: bold;
}

.school_list .list_ttl2 .a{
  color: #e55616;
  font-weight: bold;
  display: inline-block;
}

.school_list .list_ttl3 .a{
  color: #e55616;
  font-weight: bold;
  display: inline-block;
}

.school_list .list_ttl3 .b{
  color: #0643b0;
  font-weight: bold;
  display: inline-block;
}

.school_list li{
  font-weight: bold;
  font-size: 1.8rem;
  list-style: decimal;
  margin-left: 20px;
}

/* treatment ============================ */
.treatment_list {
  width: 400px;
  border: 2px solid #e55616;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.treatment_list li{
  font-weight: bold;
  list-style: disc;
  margin-left: 20px;
}

#treatment .text {
  margin-bottom: 20px;
}

.treatment_list2 li{
  list-style: disc;
  margin-left: 20px;
  font-weight: bold;
}

.treatment_list2 li span{
  display: block;
  font-weight: 500;
}


/* each_school ================================== */
.each_school_inner {
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

#each_school .text {
  margin-bottom: 20px;
}

#each_school .subtitle {
  font-size: 2.5rem;
  font-weight: bold;
  color: #cb0505;
  margin-bottom: 10px;
}

#each_school .subtitle span {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.toyo {
  color: #e55616;
}

.seyo {
  color: #0643b0;
}

.each_school_box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

#each_school .box1 li {
  font-size: 1.8rem;
  font-weight: 500;
  list-style: disc;
  margin-left: 20px;
}

#each_school .box1 {
  width: 58%;
}

#each_school .box2 {
  width: 38%;
}

#each_school .each_1 {
  font-weight: bold;
  line-height: 1.5;
}

#each_school .red{
  color: #cb0505;
  font-weight: bold;
}

#each_school .or{
  background: linear-gradient(transparent 60%, #ffd89c 0%);
}

#each_school .bl {
  background: linear-gradient(transparent 60%, #c3defe 0%);
}

/* last_guide ================================== */
.last_guide_box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.last_box1 {
  width: 40%;
}

.last_box2 {
  width: 55%;
  margin-bottom: 30px;
}

.last_guide_list {
  margin-bottom: 20px;
}

.last_guide_list li {
  list-style: disc;
  margin-left: 20px;
  font-size: 1.8rem;
  font-weight: bold;
}

.last_1 {
  margin-bottom: 20px;
}

#last_guide .under {
  border-bottom: 2px solid red;
}

/* promise ================================== */
#promise {
  margin: 0 auto 50px;
}

.promise_box {
  max-width: 800px;
  padding: 40px 30px;
  margin: 0 auto;
  background-image: url(../img/promise_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

.promise_title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  font-family: serif;
  margin-bottom: 20px;
}

.promise_image {
  width: 50%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 30px;
}

.promise_txt {
  width: 80%;
  padding: 10px;
  text-align: left;
  margin: 0 auto 30px;
  box-sizing: border-box;
}

.promise_txt li {
  width: 100%;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: serif;
  margin-left: 20px;
  list-style: disc;
  margin-bottom: 10px;
}

.promise_box .promise_name {
  display: block;
  font-family: "myfont";
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1.5;
  letter-spacing: -0.05em;
  text-align: center;
}


/* ---------------------------------------------------------
@media (max-width: 1200px)
----------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    width: 92%;
  }

  .red_txt {
    text-align: left;
    padding: 10px 15px;
    line-height: 1.5;
  }
}

/* ---------------------------------------------------------
@media (max-width: 1024px)
----------------------------------------------------------- */
@media (max-width: 1024px) {
  .sec {
    margin: 0 auto;
  }

  .title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .about_title {
    padding: 20px 20px 10px;
    font-size: 2.3rem;
    margin-bottom: 50px;
    line-height: 1.4;
  }

  .about_innerttl {
    font-size: 2.3rem;
  }

  .guide_box .box1{
    width: 58%;
  }

  .guide_box .box2{
    width: 40%;
  }

  .school_box {
    flex-direction: column;
  }

  .school_list {
    width: 100%;
  }

  .school_list .list_ttl3 {
    margin-bottom: 30px;
  }

  .error_list p {
    font-size: 2.2rem;
  }

  .error_box {
    flex-direction: column;
  }

  .error_box .box2 {
    margin-bottom: 40px;
    width: 70%;
  }

  .error_box .box1 {
    width: 100%;
  }

  .school_image {
    width: 70%;
    margin-bottom: 20px;
  }

  .each_school_box {
    margin-bottom: 20px;
    flex-direction: column-reverse;
  }

  #each_school .box1 {
    width: 100%;
  }

  #each_school .box2 {
    margin-bottom: 20px;
    width: 70%;
  }

  .last_guide_box {
    flex-direction: column;
  }

  .last_box1 {
    margin-bottom: 20px;
    width: 70%;
  }

  .last_box2 {
    width: 100%;
  }

  .promise_box {
    width: 100%;
  }
}

/* ---------------------------------------------------------
@media (max-width: 900px)
----------------------------------------------------------- */
@media (max-width: 900px) {
  .guide_box {
    flex-direction: column-reverse;
  }

  .guide_box .box1 {
    width: 100%;
  }

  .guide_box .box2 {
    margin-bottom: 20px;
    width: 75%;
  }

  #about .about_table {
    width: 80%;
  }

  .about_box ul {
    width: 90%;
  }

  .about_box ul .symptom {
    width: 100%;
  }
}

/* ---------------------------------------------------------
@media (max-width: 768px)
----------------------------------------------------------- */
@media (max-width: 768px) {
  .primary_bg {
    display: none;
  }

  .sp_primary_bg {
    display: block;
  }

  .title {
    font-size: 2.2rem;
    line-height: 1.4;
  }

  .guide_box {
    flex-direction: column-reverse;
  }

  .guide_box .box2 {
    width: 70%;
    margin-bottom: 20px;
  }

  .guide_box .box1 {
    width: 100%;
  }

  #about .about_table {
    width: 100%;
  }

  .about_box ul {
    width: 100%;
  }

  .about_box ul li {
    width: 48%;
  }

  .about_box ul .symptom {
    width: 100%;
  }

  .about_title span {
    margin-top: 10px;
  }

  .promise_box {
    width: 100%;
    padding: 40px 20px;
  }

  .promise_txt {
    width: 100%;
  }
}

/* ---------------------------------------------------------
@media (max-width: 600px)
----------------------------------------------------------- */
@media (max-width: 600px) {
  .breadcrumbs {
    margin-bottom: 50px;
  }

  .title br {
    display: none;
  }

  .guide_box .box2 {
    width: 100%;
  }

  .about_innerttl {
    font-size: 2rem;
  }

  .about_box ul li p {
    font-size: 1.4rem;
  }

  #error .text span {
    font-size: 2rem;
  }

  .red_txt {
    line-height: 1.5;
  }

  .error_image img {
    width: 100%;
  }

  .error_box .box2 {
    width: 100%;
  }

  #each_school .box2 {
    width: 100%;
  }

  .school_image {
    width: 100%;
  }

  .last_box1 {
    width: 100%;
  }

  .treatment_list {
    width: auto;
  }

  .school_list li {
    margin-left: 30px;
  }
}

/* ---------------------------------------------------------
@media (max-width: 428px)
----------------------------------------------------------- */
@media (max-width: 428px) {
  .title {
    font-size: 2rem;
    padding: 5px 10px;
    line-height: 1.3;
    margin-bottom: 20px;
    border-left: 10px solid #e55616
  }

  #guide {
    margin: 0 auto 20px;
  }

  .guide_box {
    margin-bottom: 30px;
  }

  .about_title {
    padding: 20px 18px 20px;
    font-size: 2rem;
  }

  .about_title span {
    font-size: 1.2rem;
    text-align: left;
  }

  .about_innerttl {
    font-size: 1.8rem;
  }

  .about_box ul {
    flex-direction: column;
  }

  .about_box ul li {
    width: 100%;
    margin-bottom: 20px;
  }

  .about_box ul li:nth-child(2n) {
    margin-bottom: 20px;
  }

  #about .about_table {
    margin-bottom: 30px;
  }

  .error_list p {
    font-size: 2rem;
  }

  #school .text span{
    display: inline;
  }

  #each_school .subtitle {
    font-size: 2rem;
  }

  #each_school .subtitle span {
    font-size: 1.8rem;
  }

  .promise_box {
    padding: 40px 20px 20px;
  }

  .promise_title {
    font-size: 2.5rem;
  }

  .promise_image {
    width: 100%;
  }

  .promise_txt li {
    margin-left: 10px;
  }

  .promise_box .promise_name {
    font-size: 2.2rem;
    line-height: 1.4;
    text-align: right;
  }

  .last_guide_list li {
    font-size: 2rem;
  }

  .treatment_list {
    padding: 10px 8px;
  }

  .error_list li ul li br {
    display: none;
  }

  .table_box {
    margin-bottom: 50px;
  }

  .table_box table tr th {
    width: 14%;
    font-size: 1.6rem;
  }

  .table_box table tr td {
    font-size: 1.6rem;
  }
}
