html {
  font-family: 'Courier New', Courier, monospace;
}

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/* ヘッダー */
header {
  padding: 27px 0 45px 0;
}
.logo {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  background-color: #18448C;
  padding: 20px;
}
.header_menu li {
  margin-left: 40px;
  font-size: 20px;
}
.header_menu li a {
  transition: .3s;
}
.header_menu li a:hover {
  color: #18448C;
  transition: .3s;
}

@media only screen and (max-width: 768px) {
  header .container {
    justify-content: center;
  }
  .header_menu li {
    margin: 20px 16px 0;
  }
}

/* メイン */
#hero {
  background-image: url(../img/kindai.jpeg);
  background-position: center;
  background-size: cover;
  height: 540px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 90px;
  overflow: hidden;
}
#hero::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
  z-index: 1;
}
.hero_inner {
  z-index: 2;
  color: #fff;
  width: 100%;
  text-align: center;
}
.hero_inner p {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero_inner h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: .3rem;
}

@media only screen and (max-width: 768px) {
  #hero {height: 460px;}
  .hero_inner p {font-size: 15px;}
  .hero_inner h1 {font-size: 17px;}
}

/* サービス */
#service {
  margin-bottom: 120px;
}
.title {
  font-size: 30px;
  font-weight: 600;
  color: #18448C;
  margin-bottom: 40px;
}
#service h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
}
.column-2 {
  width: 48%;
}
.text {
  line-height: 2;
}
.service-img {
  background-image: url(../img/shimazu.jpeg);
  background-position: center;
  background-size: cover;
  height: 340px;
  border-radius: 20px;
}
.heading {
  font-family: 'Dancing Script', cursive;
  font-size: 200px;
  font-weight: 700;
  color: #18448C;
  opacity: 0.07;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-30%);
  z-index: -1;
}

@media only screen and (max-width: 768px) {
  #service h3 {
    font-size: 24px;
    line-height: 1.5;
  }
  .column-2 {
    width: 100%;
  }
  .text {
    font-size: 15px;
    line-height: 1.7;
  }
  .service-img {margin-top: 30px;}
}

/* コーチ */
#coach {
  margin-bottom: 120px;
}
.coach_inner {
  margin-bottom: 40px;
}
.column-40 {
  width: 40%;
}
.column-55 {
  width: 55%;
}
#coach img {
  border-radius: 20px;
}
#coach h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

@media only screen and (max-width: 768px) {
  .column-40 {
    width: 100%;
    margin-bottom: 30px;
  }
  .column-55 {
    width: 100%;
  }
  #coach h3 {
    font-size: 17px;
  }
}

/* 料金プラン */
table {
  border-collapse: collapse;
  margin: 0px auto 100px auto;
  padding: 0;
  width: 800px;
  table-layout: fixed;
}
table tr {
  background-color: #a8bfe8;
  padding: .35em;
  border-bottom: 2px solid #fff;
}
table th,
table td {
  padding: 1em 10px 1em 1em;
  border-right: 2px solid #fff;
}
table th {
  font-size: .85em;
}
table thead tr{
  background-color: #18448C;
  color: #fff;
}
table tbody th {
  background: #496FAE;
  color: #fff;
}
.txt{
   text-align: left;
   font-size: .85em;
}
.price{
   text-align: right;
   color: #18448C;
   font-weight: bold;
}
.non {
  background: #fff;
}

@media only screen and (max-width: 768px) {
  table {
    border: 0;
    width: 100%;
  }
  table th {
    background-color: #167f92;
    display: block;
    border-right: none;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    display: block;
    margin-bottom: .625em;
  }
  table td {
    border-bottom: 1px solid #bbb;
    display: block;
    font-size: .8em;
    text-align: right;
    position: relative;
    padding: .625em .625em .625em 4em;
    border-right: none;
  }
  table td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 10px;
    color: #167f92;
  }
  table td:last-child {
    border-bottom: 0;
  }
  table tbody th {
    color: #fff;
  }
}

/* お問い合わせ */
.form {
  font-family: "Open Sans",sans-serif;
  line-height: 1.25;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}
.formItem {
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.formItem-label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
.formItem-label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
.required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #18448C;
  color: #fff;
  font-size: 14px;
}
.formItem-input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
.formItem-textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
.btn {
  border-radius: 6px;
  margin: 32px auto 60px auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #18448C;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .form {
    margin-top: 40px;
  }
  .formItem {
    padding: 16px 14px;
    flex-wrap: wrap;
  }
  .formItem-label {
    min-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
  .formItem-label.isMsg {
    margin-top: 0;
  }
  .required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
  .formItem-input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
  .formItem-textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
  .btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

/* ボトム */
.column-a {
  background-image: url(../img/murata1.jpeg);
  background-position: center;
  background-size: cover;
  width: 24%;
  height: 270px;
  border-radius: 20px;
}
.column-b {
  background-image: url(../img/taguchi.jpeg);
  background-position: center;
  background-size: cover;
  width: 24%;
  height: 270px;
  border-radius: 20px;
}
.column-c {
  background-image: url(../img/usopen.jpeg);
  background-position: center;
  background-size: cover;
  width: 24%;
  height: 270px;
  border-radius: 20px;
}
.column-d {
  background-image: url(../img/kindai.jpeg);
  background-position: center;
  background-size: cover;
  width: 24%;
  height: 270px;
  border-radius: 20px;
}

@media only screen and (max-width: 768px) {
  .column-a, .column-b, .column-c, .column-d {
    width: 48%;
    height: 140px;
    margin: 1%;
  }
}

/* フッター */
.underLogo {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  background-color: #18448C;
  padding: 20px;
}
footer {
  text-align: center;
  margin: 90px 0;
}
.copyright {
  font-size: 12px;
  margin-top: 40px;
}

@media only screen and (max-width: 768px) {
  .underLogo {
    font-size: 24px;
    font-weight: 500;
  }
}