@charset "utf-8";

/* =============================================
  style
============================================= */
.understand-guidance header{
  text-align: center;
}
.understand-guidance header h2{
  font-size: 1.8rem;
}
.understand-guidance > div{
  margin: 0 0 20px;
}
.understand-guidance{
  margin: 50px 0 0;
}
.understand-guidance > div{
  margin: 0 0 20px;
}
.understand-guidance > div h2{
  margin: 0 0 10px;
  font-size: 1.8rem;
  text-align: center;
}
.past-guidance{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin: 50px 0 0;
  text-align: left;
}
.past-guidance h5{
  margin: 0 0 15px;
  font-size: 1.8rem;
  text-align: center;
}
.past-guidance img{
  margin: 0;
}
.past-guidance p{
  font-size: 1.4rem;
  line-height: 1.6;
}
.day{
  margin-top: 5px;
}
.contact-us__main{
  margin: 20px 0 ;
}
.contact-list{
  margin: 0 0 25px;
}
.contact-list dt{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5em;
  margin-right: 5px;
  font-size: 1.25rem;
  text-align: center;
  border: 1px solid #333;
  border-radius: 3px;
}
.contact-list > div{
  display: flex;
}
.photo-img li{
  margin: 0 0 25px;
}
.photo-img p{
  font-size: 1.5rem;
}
.photo-img li img{
  width: 100%;
  height: auto;
  margin: 0 0 10px;
}
.seminar-table tr:first-of-type th, tr:first-of-type td {
  background-color: #474747;
}
.color-event span{
  font-size: 1.8em;
}
.color-event{
  background-color: #fdfaf7;
}
.color-event span{
  box-sizing: content-box;
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  padding: 0.15em;
  margin: 0 0 3px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  vertical-align: middle;
  color: transparent;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 20px;
}
.color-event span.e1{
 color: #2f9d36;
 border: 1px solid #2f9d36;
}
.color-event span.e2{
  color: #10a4b1;
  border: 1px solid #10a4b1;
}
.color-event span.e3{
  color: #194461;
  border: 1px solid #194461;
}
.color-event span.e4{
  color: #ac1128;
  border: 1px solid #ac1128;
}
.color-event span.e5{
  color: #005bd1;
  border: 1px solid #005bd1;
}
.color-event span.e6{
  color: #f47e6c;
  border: 1px solid #d42b11;
}
.color-event span.e7{
  color: #652287;
  border: 1px solid #652287;
}
.color-event span.e8{
  color: #d72e14;
  border: 1px solid #d72e14;
}

/* ===========================================
	MediaQueries
=========================================== */

/* スマホ----------------------------- */
@media screen and (width <= 767px){
  .understand-guidance > div > p{
    margin: 0 0 10px;
    text-align: center;
  }
  .understand-guidance > div > p img{
    width: 150px;
  }
  .contact-list > div{
    margin: 0 0 10px;
  }
  .link-box--ttl{
  display: flex;
  align-items: center;
  justify-content: center;
  }

}

/* PC----------------------------- */
@media screen and (width >= 768px){
  .understand-guidance > div{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
  }
  .understand-guidance > div h2{
    margin: 0 0 10px;
    font-size: 2.1rem;
    text-align: left;
  }
  .understand-guidance > div > p{
    width: 200px;
  }
  .understand-guidance > div > div{
    flex: 1;
  }
  .past-guidance{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0 0;
    text-align: left;
  }
  .past-guidance img{
    margin: 0 0 5px;
  }
  .photo-img {
    display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    width: 100%;
  }
  .contact-list{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 0 0 25px;
  }
}