/*
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%;
}
/*画像の大きさの指定。画像が親要素よりも大きくなることを防ぐ*/

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;
}

.spring-contents p {
  font-size: 20px;
  line-height: 1.45;
}

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

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

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

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

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

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

.item6{
  margin-left: 100px;
}

.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 p {
  font-size: 20px;
  line-height: 1.45;
}

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

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

.next-left h3 {
  font-size: max(1.3rem, min(2vw, 2ch));
}

.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;
  margin-bottom: 50px !important;
}

.end-flag{
  font-size: 15px;
}

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

@media (max-width: 900px) {
  .next-event{
    flex-direction: column;
  }
  .next-left {
    width: 100%;
  }

  .pc-only{
    display: none;
  }
  
  .next-left h3 {
    font-size: 17px;
  }

  .btn-area a{
    margin: auto;
  }
 
  .next-right {
    width: 70%;
    margin: auto;
  }
  .next-label{
    font-size: 24px !important;
  }
  h1.back-blue {
    font-size: 22px;
    height: 110px;
  }

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

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

  .spring-contents p {
    margin-top: 25px;
    font-size: 15px;
  }

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

  .spring-item-wrap{
    display: block;
    flex-direction: column;
    margin-top: 30px;

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

  .item5 {
    margin-bottom: 25px;
  }

  .item6 {
    margin-left: 0px;
  }

  .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 p {
    font-size: 15px;
  }
 
}