/*----------------------------------------------------
  インターネット TCNひかり
----------------------------------------------------*/
/*メインイメージ*/
.mainimg-wrap .mainimg {
  margin-bottom: 0;
}
.mainimg-wrap .mainimg-min {
  display: none;
}
.maintext-wrap {
  background: #BCCC08;
  padding: 30px 25px;
}
.maintext-wrap .maintext-inner {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}
.maintext-wrap .maintext-inner .text-area {
  margin-left: 50px;
}
.maintext-wrap .maintext-inner .text-area p {
  line-height: 2.2;
}
.maintext-wrap .maintext-inner .text-area p:first-child {
  font-size: 2.0rem;
  line-height: 1.7;
}
.point-wrap {
  background: #EDEDED;
  padding: 30px 10px;
  margin-bottom: 60px;
}
.point-wrap .point-inner {
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
  display: flex;
}
.point-wrap .point-inner .point-area {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 31.25%;
  margin-left: 3.125%;
}
.point-wrap .point-inner .point-area:first-of-type {
  margin-left: 0;
}
.point-wrap .point-inner .point-area img {
  margin-bottom: 0;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.point-wrap .point-inner .point-area .text-area {
  text-align: center;
  padding: 0 30px 30px 30px;
  width: 100%;
}
.point-wrap .point-inner .point-area .text-area p {
  margin-bottom: 0 !important;
  font-size: 1.4rem;
}
.point-wrap .point-inner .point-area .text-area p:first-child {
  font-size: 2.0rem;
  margin-bottom: 15px !important;
}
/*料金のご案内*/
.getsugaku-wrap {
  margin-bottom: 0px !important;
}
.img-syugo,
.img-syugo img,
.img-kodate,
.img-kodate img {
  margin-bottom: -3px !important;
  z-index: 2;
}
.img-syugo img,
.img-kodate img {
  width: 100%;
}
.getsugaku {
  border: 6px solid #64B6CB;
  padding: 20px 20px 0;
  margin-bottom: 0 !important;
  z-index: 0;
}
.getsugaku.kodate {
  border-color: #66A0D7;
}
.getsugaku .keiyaku,
.getsugaku .ens {
  font-weight: normal;
}
/*テーブル*/
table {
  border-top: 1px solid #87c2e1;
  border-left: 1px solid #87c2e1;
  border-collapse: collapse;
  margin-bottom: 10px !important;
}
table th {
  width: 240px;
  color: #ffffff;
  font-weight: normal;
  background-color: #4ba4d2 !important;
  padding: 10px 20px !important;
  border: 1px solid #87c2e1 !important;
  text-align: left !important;
}
table td {
  border: 1px solid #87c2e1 !important;
  padding: 10px 20px;
  vertical-align: middle;
}
table td.price {
  color: #4ba4d2;
  background-color: #e9f4fa;
}
table td.price span {
  font-size: 1.8rem;
}
.editor-area table + p {
  margin-bottom: 0 !important;
  font-size: 1.3rem;
}
.construction-costs-wrap {
  margin-bottom: 20px !important;
}
.construction-costs-wrap .construction-costs {
  margin-bottom: 0 !important;
}
/*転用とは*/
.diversion-wrap {
  border: 1px solid #ccc;
  padding: 40px;
}

@media screen and (max-width: 767.98px) {
  .mainimg-wrap .mainimg {
    display: none;
  }
  .mainimg-wrap .mainimg-min {
    display: block;
    margin-bottom: 0;
  }
  .maintext-wrap .maintext-inner {
    flex-direction: column;
    width: 100%;
  }
  .maintext-wrap .maintext-inner .text-area {
    margin-left: 0;
    width: 100%;
  }
  .maintext-wrap .maintext-inner .text-area p br {
    display: none;
  }
  .maintext-wrap .maintext-inner .text-area p:first-child {
    font-size: 1.8rem;
  }
  .point-wrap .point-inner {
    width: 100%;
    flex-direction: column;
  }
  .point-wrap .point-inner .point-area {
    width: 100%;
    margin-left: 0;
    margin-bottom: 30px;
  }
  .point-wrap .point-inner .point-area .text-area p:first-child {
    font-size: 1.6rem;
  }
  .getsugaku:not(.kodate) {
    margin-bottom: 30px !important;
  }
  table, 
  table tbody,
  table tr,
  table th,
  table td {
    display: block;
    width: 100%;
  }
  table {
    border: none;
  }
  table th,
  table td {
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid #87c2e1 !important;
    padding: 10px !important;
    white-space: normal !important;
  }
  table th br {
    display: none;
  }
  table td {
    background-color: #bddff0;
  }
  .diversion-wrap {
    padding: 20px;
  }
}
