/*
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%;
}
/*設定した文字サイズを正しく反映*/

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: bold;
  text-align: center;
  color: white;
  height: 140px;
  background-color: #336b94;
  padding-top: 20px;
  margin-top: 0;
}

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

.comprehensive-contents h2,
.comprehensive-last-schedule h2, 
.past-theme-wrap h2,
.application-wrap h2, 
.convivial h2 {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 25px;
}

.comprehensive-contents p, .comprehensive-last-schedule p, .application-text p, .inquiry p {
  font-size: 20px;
  line-height: 1.448;
}

.comprehensive-last-schedule-contents {
  border: none;
}

.comprehensive-last-schedule-contents th,
.comprehensive-last-schedule-contents td {
  font-size: 20px;
  border: none;
}

.comprehensive-last-schedule-contents th {
  width: 15%;
  text-align: justify;
  padding-left: 0;
  padding-right: 0;
}

.theme-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgb(141, 138, 138);
  padding-top: 20px;
  padding-bottom: 20px;
}

.att {
  font-size: 16px;
}

.number, .date, .conference {
  font-size: 18px;
}

.conference-doc {
  font-weight: bold;
  color: #336b94;
  border: solid 2px;
  border-radius: 5px;
  width: 10%;
  min-width: 80px;
  text-align: center;
  margin-top: 5px; 
}

.comprehensive-item-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  max-width: 839px;
  margin: auto;
}
.ft-img{
  max-width: 839px;
  margin: auto;
}

.pic-row1,
.pic-row2{
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  width: max-content;
}

.pic-row1-left{
  display: flex;
  justify-content: space-between;
  min-width: 425px;
}
.pic-row1-left1{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 10px;
}
.pic-row1-right{
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.pic-row2-right {
  margin-left: 10px;
}
.convivial-item {
  display: block;
  text-align: center;
  margin-top: 25px;
}

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

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

.application 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, .convivial {
  margin-top: 50px;
}

.next-event{
  display: flex;
  justify-content: space-between;
}

.next-left {
  width: 59%;
  display: flex;
  flex-direction: column;
}

.next-left-img{
  margin: auto;
  width: 80%;
}

.next-right{
  width: 39%;
  height: fit-content;
}

.next-right img{
  border: 1px solid #000;
}

.next-label{
  text-align: center;
  font-size: 30px !important;
  margin-top: -30px !important;
}
.end-flag{
  font-size: 15px;
}

.contanct-link{
  text-decoration: underline !important;
  color: #336b94 !important;
}

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

@media (max-width: 678px) {
  .pic-row1,
  .pic-row2{
    flex-direction: column;
    width: 100%;
  }
  .next-event{
    flex-direction: column;
  }
  .next-left {
    width: 100%;
  }

  .next-right {
    width: 70%;
    margin: auto;
  }
  .next-label{
    font-size: 24px !important;
  }
  h1.back-blue {
    font-size: 22px;
    height: 110px;
  }
  .pic-row1-right{
    margin-left: 0;
    margin-top: 10px;
  }
  .pic-row1-left{
    min-width: auto;
  }
  .pic-row2-right{
    margin-left: 0;
    margin-top: 10px;
  }
  .pic-row1-left2{
    width: 65%;
  }

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

  .comprehensive-contents h2,
  .comprehensive-last-schedule h2, 
  .past-theme-wrap h2, 
  .application-wrap h2,
  .convivial h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 25px;
  }

  .comprehensive-contents p, .comprehensive-last-schedule p, .application p, .inquiry p {
    font-size: 15px;
    margin-top: 25px;
  }

  .comprehensive-last-schedule-contents{
    display: block;
    width: 100%;
  }

  .comprehensive-last-schedule-contents tbody {
    display: block;
    width: 100%;
  }

  .comprehensive-last-schedule-contents tr {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .comprehensive-last-schedule-contents th {
    display: block;
    width: 100%;
  }

  .comprehensive-last-schedule th,
  .comprehensive-last-schedule td {
  font-size: 14px;
  }

  .comprehensive-last-schedule th {
    width: 100%;
    padding-bottom: 0;
  }

  .comprehensive-item-wrap {
    
  }

  .att {
    font-size: 15px;
    margin-top: 25px;
    word-break: keep-all;
  }
  
  .date, .number, .conference {
    font-size: 14px;
  }

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

  .item5 {
    margin-bottom: 25px;
  }

  .item6 {
    margin-left: 0px;
  }

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

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

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

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

  .convivial {
    margin-top: 30px;
  }

  .inquiry, .convivial {
    margin-top: 30px;
  }
}
