@charset "utf-8";
/* CSS Document */


.media_a .titlebox h2{
  color: #333;
  line-height: 1.5;
  letter-spacing: .16em;
  font-weight: 400;
}

.media_a .titlebox .fonteb{
  line-height: 1.2;
  letter-spacing: .16em;
  font-weight: 400;
  margin-top: 4px;
}

.media_gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px,4vw,56px) clamp(20px,3vw,36px);
  max-width: 1120px;
  margin: 0 auto;
}

.media_gallery a{
  display: block;
  min-width: 0;
  text-align: center;
  text-decoration: none;
  transition: .3s ease;
}

.media_gallery a:hover{
  opacity: .86;
  transform: translateY(-4px);
}

.media_gallery .imgbox{
  width: 100%;
  aspect-ratio: 1 / 1.28;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(51,51,51,.16);
  padding: clamp(10px,1.5vw,18px);
  margin-bottom: clamp(12px,1.6vw,18px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media_gallery .imgbox img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.media_gallery .txtbox{
  padding: 0 4px;
}

.media_gallery .txtbox h3{
  color: #333;
  line-height: 1.7;
  letter-spacing: .08em;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
}

.media_gallery .txtbox p{
  display: inline-block;
  color: #8cc63f;
  line-height: 1.6;
  letter-spacing: .08em;
  margin-top: 6px;
  font-size: clamp(12px,.9vw,14px);
}

@media screen and (max-width: 1080px){
  .media_gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 576px){
  .media_gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
}

.seminar_a{
  position: relative;
  background: url("https://risora.jp/system_panel/uploads/images/bg2.jpg") center center / cover no-repeat;
  overflow: hidden;
}


.seminar_a > *{
  position: relative;
  z-index: 1;
}

.seminar_a .seminar_img{
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.seminar_a .seminar_img img{
  width: 100%;
  height: auto;
  display: block;
}


.seminar_overlay{
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: clamp(-80px,-7vw,-40px) auto 0;
  padding: clamp(40px,5vw,70px) clamp(20px,4vw,50px) 0;
 
}

.seminar_overlay .entitle0{
  position: relative;
  z-index: 1;
  color: rgba(122,108,88,.38);
  line-height: .8;
  letter-spacing: .16em;
  font-weight: 400;
  margin-bottom: clamp(14px,1.6vw,22px);
  mix-blend-mode: multiply;
  position: relative;
}

.seminar_overlay .entitle0::after{
  content: "";
  display: block;
  width: 1px;
   height: clamp(54px,6vw,90px);
  background: rgba(51,51,51,.45);
  margin: clamp(14px,2vw,24px) auto clamp(18px,2vw,28px);
}

.seminar_overlay .lead{
  color: #333;
  line-height: 2.1;
  letter-spacing: .12em;
  font-weight: 400;
  margin-bottom: clamp(28px,4vw,46px);
}

.seminar_overlay .btn_wrap{
  justify-content: center;
  gap: clamp(18px,3vw,34px);
}

@media screen and (max-width: 576px){
  .seminar_overlay{
    margin-top: clamp(-40px,-8vw,-24px);
    padding: 36px 18px 0;
  }

  .seminar_overlay .lead br{
    display: none;
  }

  .seminar_overlay .btn_wrap{
    flex-direction: column;
    align-items: center;
  }
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

