/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

* {
  box-sizing: border-box;
} /*全ての要素をborder-boxにするーーコンテンツ、border、paddingの合計がwidthと解釈される*/

html {
  font-size: 100%;
}
/*設定した文字サイズを正しく反映*/

img {
  max-width: 100%;
}
/*画像の大きさの指定。画像が親要素よりも大きくなることを防ぐ*/

ul {
  list-style: none;
}

body {
  background-color: white;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  cursor: pointer;
}

main {
    margin: auto;
}

h1.back-blue {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: white;
  height: 140px;
  background-color: #336b94;
  line-height: 140px; /*見出し垂直方向のセンタリング*/
  margin-top: 0;
}

.section-wrap {
  width: 58.33%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.ma-contents p {
  font-size: 20px;
  line-height: 1.45;
  text-align: justify;
}

.ma-contents h2, .next-schedule h2, .application-wrap h2 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 25px;
}

.ma-pg-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: left;
  margin-top: 35px;
}

.ma-pg-first,
.ma-pg-second {
  border: 1px solid;
  padding: 20px 20px;
}

.ma-pg-first p,
.ma-pg-second p {
  font-size: 14px;
  margin-bottom: 15px;
}

.ma-pg-second {
  border-left: none; /*table重なる部分のborderを消す*/
}

.ma-pg-first h3,
.ma-pg-second h3 {
  font-size: 16px;
  text-align: center;
}

.bold {
  font-weight: bold;
}

.bold-color {
  background-color: #e1ebf2;
  width: 100%;
  display: block;
  font-weight: bold;
}

.ma-item-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.item5, 
.item6 {
  width: 45%;
  height: 250px;
  object-fit: cover;
  flex:1;
}

.item6{
  margin-left: 100px;
}

.next-schedule{
  margin-top: 50px;
}

.schedule {
  width: 80%;
  font-size: 20px;
  line-height: 1.45;
  margin-top: 35px;
  border: none;
}

.schedule th {
  font-size: 20px;
  width: 20%;
  text-align: justify;
  border: none;
  padding-left: 0;
}

.schedule td {
  font-size: 20px;
  border: none;
}

th.date {
  padding-top: 0;
  padding-bottom: 0;
}

td.date-time {
  padding-top: 0;
}

.application-wrap {
  margin-top: 50px;
}

.application {
  margin-left: 80px;
  margin-top: 25px;
}

.application-text p{
  font-size: 20px;
}

.application ul {
  margin-top: 25px;
  margin-bottom: 25px;
}

.application ul li {
  font-size: 20px;
  line-height: 1.45;
  list-style-type: disc;
}

.inquiry {
  font-size: 20px;
}

/*====================メディアクエリーcss=======*/

@media (max-width: 678px) {

  h1.back-blue {
    font-size: 18px;
    font-weight: 700;
    height: 80px;
    line-height: 80px; /*見出し垂直方向のセンタリング*/
  }

  .section-wrap {
    width: 84%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify; /*文章両端揃え*/
  }

  .ma-contents p {
    text-align: justify;
    margin-top: 25px;
    font-size: 15px;
  }

  .ma-contents h2, .next-schedule h2, .application-wrap h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .ma-pg-container {
    display:block;
    width: 100%;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
  }

  .ma-pg-first,
  .ma-pg-second {
    display: block;
    width: 100%;
  }

  .ma-pg-second {
    margin-top: 20px;
    border-left: 1px solid;
  }

  .ma-pg-first p,
  .ma-pg-second p {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .ma-item-wrap {
    display: block;
    flex-direction: column;
    margin-top: 50px;
  }

  .item5,
  .item6 {
    width: 100%;
  }

  .item5 {
    margin-bottom: 25px;
  }

  .item6 {
    margin-left: 0px;
  }
  .next-schedule {
    width: 100%;
    margin-top: 50px;
  }

  .schedule {
    width: 100%;
    margin-top: 25px;
  }

  .schedule th,
  .schedule td {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 15px;
  }

  .application-wrap {
    margin-top: 30px;
  }

  .application {
    margin-top: 25px;
    margin-left: 0;
  }

  .application-text p{
    font-size: 15px;
  }

  .application ul {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .application ul li {
    font-size: 15px;
  }

  .inquiry {
    font-size: 15px;
}
 
}