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

ul {
  list-style: none;
}

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

a {
  cursor: pointer;
}

img {
  height: auto;
  max-width: 100%;
}

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

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

.industry-contents p {
  line-height: 1.445;
}

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

.industry-next-schedule th,
.industry-next-schedule td {
  font-size: 20px;
  border:none;
  padding-left: 0;
}

.industry-next-schedule {
  border: none;
  margin-top: 35px;
}

.industry-next-schedule th {
  width: 15%;
  text-align: justify;
}

.att {
  font-size: 16px;
  margin-top: 50px;
}

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

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

.past-theme {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    margin-top: 35px;
}

.past-theme li {
  border: 1px solid rgb(141, 138, 138);
  width: 22%;
  margin-right: 15px;
  text-align: center;
  font-size: 16px;
  height: 60px;
  line-height: 60px;
  border-radius: 7px;
  background-color: #1760a0;
  border: 1px solid #1760a0;
}

.past-theme li a{
  color: #fff;
}

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

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

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

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

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

.end-flag{
  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;
  }

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

  .industry-contents {
    margin-bottom: 0px;
  }
  
  .industry-contents h2, .past-theme-wrap h2, .application-wrap h2 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 0;
  }

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

  .att {
    font-size: 15px;
    margin-top: 25px;
    word-break: keep-all;
  }

  .theme-container {
    padding-bottom:  0px;
  }

  table {
    display: block;
    width: 100%;
  }

  table tbody {
    display: block;
    width: 100%;
  }

  table tr {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  table th {
    display: block;
    width: 100%;
  }

  .next-lecturer1 {
    padding-bottom: 0;
  }

  .next-lecturer2 {
    padding-top: 0;
    padding-bottom: 0;
  }

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

  .industry-next-schedule {
    margin-top: 25px;
  }

  .industry-next-schedule th,
  .industry-next-schedule td,
  .industry-next-schedule p{
    font-size: 14px;
  }

  .industry-next-schedule th {
    width: 100%;
    padding-bottom: 0;
  }

  .theme-container {
    margin-top: 25px;
  }

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

  .past-themes-wrap {
    flex-direction: column;
    column-gap: 0; /* 縦並びにする場合は横の間隔を0に設定 */
    margin-top: 25px;
  }

  .past-theme {
    display: block;
    flex-direction: column;
    margin-top: 25px;
    margin-bottom: 0;
  }

  .past-theme li {
    width: 80%;
    margin: 10px auto 10px;
  }

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