/*
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;
}
.seminar-title {
  width: 69.44%;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto
}

#seminar-visual {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.border-only {
  width: 100%;
  height: 0px;
  border: solid #4070bf 3px;
  margin-top: 80px;
}

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

.seminar-contents-wrap {
  width: 58.33%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  text-align: justify;
}

.seminar-contents-wrap p{
  font-size: 20px;
}

.seminar-contents h2 {
  font-size: 24px;
  font-weight: bold;
  background-image: url('./_g3/image/vector.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  margin-bottom: 25px;
  padding-left: 10px;
  width: 280px;
}

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

.seminar-contents ul {
  font-size: 20px;
  line-height: 1.45;
  list-style: disc;
  font-weight: bold;
}

.seminar-container {
  display: flex;
  padding: 0 20px;
  justify-content: center;
  column-gap: 10px;
}

.public-seminar{
  display: flex;
  padding: 0 20px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.seminar-item {
  margin: auto;
  width: calc(60% + 30px);
}

.seminar-item p,
.seminar-item1 p,
.seminar-item2 p {
  font-size: 20px;
  text-align: justify;
  margin-top: 20px;
  line-height: 1.45;
}

.seminar-item h3,
.seminar-item1 h3,
.seminar-item2 h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.seminar-item,
.seminar-item1,
.seminar-item2 {
  border: 3px solid #4070bf;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.seminar-item1,
.seminar-item2 {
  width: 30%;
  margin: 10px;
}

.seminar-item a{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.seminar-item-title{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}

.seminar-item-title div{
  border: solid 2px #4070bf;
  padding: 5px 20px;
  width: 150px;
  margin: auto;
  text-align: center;
}

.seminar-item-text{
  display: flex;
  gap: 20px;
}

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

.seminar-btn{
  margin: auto;
  border: solid 2px #4070bf;
  padding: 8px 20px;
  min-width: 150px;
  text-align: center;
  border-radius: 10px;
}

.btn-area {
  display: flex;
  justify-content:space-between;
}

.btn-seminar-area{
  display: flex;
  justify-content:center;
  gap: 10px;
}

.btn-seminar-area div {
  width: 50%;
  margin: auto;
  display: flex;
}

.btn-left {
  margin-right: 45px !important;
}

.btn-right {
  margin-left: 45px !important;
}

.seminar-label{
  position: relative;
  top: -50px;
  left: -10px;
}

.end-flag{
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 15px;
}
/*====================メディアクエリーcss=======*/

@media (max-width: 678px) {
  .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;
  }
  .label-position {
    margin-left: 0;
  }
  .seminar-label{
    top: -45px;
  }
  .seminar-title {
    width: 94.67%;
    margin-top: 20px;
  }
  
  .seminar-item-text{
    flex-direction: column;
  }

  .seminar-item-text p{
    margin: 0;
  }

  .btn-area{
    flex-direction: column;
  }
  
  .btn-seminar-area{
    flex-direction: column;
  }
  .btn-right,
  .btn-left {
    margin: auto !important;
  }
  .seminar-btn{
    margin-top: 20px;
  }

  #seminar-visual {
    width: 100%;
  }

  .border-only {
    margin-top: 20px;
  }

  .seminar-title h1 {
    margin-bottom: 0;
  }

  .seminar-contents-wrap {
    width: 82.4%;
    margin-top: 30px;
  }

  .seminar-contents h2 {
    font-size: 18px;
    margin-bottom: 25px;
  }

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

  .seminar-container {
    display: flex;
    flex-direction: row; /* 横に並べる場合は row を指定 */
    flex-wrap: wrap; /* 要素が横幅を超えた場合に折り返す場合に flex-wrap を指定 */
    margin-top: 50px;
  }

  .seminar-item h3,
  .seminar-item1 h3,
  .seminar-item2 h3 {
    font-size: 18px;
    margin-top: 12px;
  }

  .seminar-item p,
  .seminar-item1 p,
  .seminar-item2 p {
    font-size: 15px;
    margin-top: 20px;
    text-align: justify;
  }

  .seminar-item2 {
    margin-top: 20px;
  }

  .seminar-contents ul {
    font-size: 15px;
    padding-left: 20px;
  }

  .seminar-contents li {
    text-align: left;
  }

  .seminar-item {
    width: calc(100% - 20px);
  }

  .seminar-item1,
  .seminar-item2 {
    width: 100%;
  }
}









