@charset "utf-8";
 
/*-- Study Group（勉強会ページ）--*/

.sg-intro {
  margin: 0 auto;
  display: block;
  font-size: 0;
}

.main__img {
  margin: 0 auto;
  width: calc(100% - 140px);
}

.main__img > img {
  width: 100%;
  line-height: 1;
}

.sg__copy {
  position: absolute;
  top: 50%;
  right: 9%;
  padding: 3.9166666%;
  color: var(--blk);
  transform: translateY(-50%);
  background: rgb(255 255 255 / 0.85);
  line-height: 1.7;
}

.sg__copy > h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, -1.71rem + 5.11vw, 3.4rem);
  line-height: 1.4;
  letter-spacing: var(--05rem);
}

.sg__copy > p {
  font-size: clamp(1.4rem, -0.216rem + 1.7vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.3rem;
  line-height: 1.9;
}

.sg-event {
  width: 100%;
  background-color: var(--l-g-yellow)
}

.sg-event__inner {
  margin: auto;
  padding: 84px 0 100px;
  max-width: 926px;
}

.sg-event__inner > h2 {
  margin-bottom: 5px;
  font-size: 20px;
}

.sg-event__card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 30px;
  width: 100%;
  background-color: var(--wht);
  border-top: 2px solid var(--sg-red);
}

.card__content > h3 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 0.045rem + 2.27vw, 2.8rem);
  letter-spacing: var(--05rem);
  line-height: 1.6;
}

.card__content > p {font-size: clamp(1.4rem, 0.148rem + 1.14vw, 1.6rem);}

.card__btn a {
  display: block;
  padding: 30px 38px;
  font-size: clamp(1.4rem, 0.148rem + 1.14vw, 1.6rem);
  font-weight: 600;
  color: var(--wht);
  background-color: var(--sg-red);
  border-radius: 10px;
  transition: all 0.4s;
}

.card__btn a:hover {
  background-color: var(--sg-red-hover);
}

.sg-sct1,.sg-sct2 {padding: 60px 0 100px;}
.sg-sct2 {background-color: var(--l-g-yellow);}

.sct-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  max-width: 870px;
}

.sct-inner > h2,.sct-inner > h2 span {
  margin-bottom: 24px;
  letter-spacing: var(--03rem);
  text-align: center;
}

.sct-inner > h2 span {
  font-size: clamp(2.4rem, 0.833rem + 1.39vw, 3.0rem);
}

hgroup {margin-bottom: 40px;}

hgroup > h2 {
  width: 100%;
  font-size: 32px;
  font-feature-settings: 'palt';
  letter-spacing: var(--05rem);
}

  .sp-h2 {display: none;}


.sct-inner > p.intro {
  margin-bottom: 40px;
}

.sg-sct1 > .sct-inner > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 96.091954%/*836px*/;
}

.theme-card {
  margin-bottom: 20px;
  padding: 68px 0;
  width: 48.8038%;
  max-width: 408px;
  border-radius: 12px;
  background-color: #ffcfc1;
  background-image: url(../img/study-group/q-icon.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

.theme-card:nth-child(n+3) {
  margin-bottom: 50px;
}

.theme-card > h3 {
  font-size: clamp(1.7rem, 0.396rem + 1.39vw, 2.3rem);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.theme-card > p {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 8px;
  color: var(--wht);
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-align: center;
  background-color: var(--sg-red);
}

.theme-card > p span {
  font-size: clamp(2.0rem, 0.583rem + 1.39vw, 2.6rem);
  letter-spacing: var(--ls03);
}

.intro-summary {
  font-size: clamp(1.6rem, 0.667rem + 0.69vw, 1.9rem);
  line-height: 2.2;
  text-align: center;
}

.mini-ttl-jp,.mini-ttl {
  margin-bottom: 24px;
  width: 100%;
  font-size: clamp(1.4rem, 0.653rem + 0.46vw, 1.6rem);
  font-weight: 600;
  text-align: center;
}

.mini-ttl {
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
}

.mini-ttl-jp::before,.mini-ttl::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  right: 50%;
  transform: translateX(-55%);
  background-color: var(--sg-red);
  width: 53px;
  height: 2px;
}

.lecturer-card {
  display: flex;
  margin-bottom: 30px;
  max-width: 756px;
}

.lecturer-card > picture {
  margin-right: 3.43915%/*26px*/;
  width: 30.42328%;
  max-width: 230px;
}

.lecturer-card > div {
  width: 66.137566%;
  max-width: 500px;
}

.lecturer-card > div h3 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 0.778rem + 0.46vw, 1.8rem);
  line-height: 1.5;
}

.lecturer-card > div h3 span {font-size: clamp(2.1rem, 0.979rem + 0.69vw, 2.4rem);}

.message {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  background-color: var(--wht);
  border-radius: 10px;
}

.message-body {
  text-align: justify;
}

.message-body span {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.3rem, 0.701rem + 0.23vw, 1.4rem);
  font-weight: 600;
}

.lecture-point {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 33px;
  width: 100%;
}

.point-circle {
  margin-top: 5px;
  width: 9.1954%;
  max-width: 80px;
  aspect-ratio: 1 / 1;
  background-color: var(--sg-red);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  color: var(--wht);
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2.0rem, 0.472rem + 1.62vw, 2.7rem);
  font-weight: 600;
  letter-spacing: 0;
}

.lecture-point > div {
  max-width: 88.5057%/*770px*/;
  font-feature-settings: 'palt';
}

.lecture-point > div h3 {margin-bottom: 5px;}
.lecture-point > div p {text-align: justify;}

.recom-body {
  width: 78.16091%;
}

.recom-body li {
  position: relative;
  padding: 14px 0 14px 55px;
  border-bottom: 2px dashed #a4d6e9;
  font-feature-settings: 'palt';
}

.recom-body li::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 5px;
  background-image: url(../img/study-group/check.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 38px;
  height: 32px;
  display: inline-block;
}

.faq-body {max-width: 809px;}

.faq-body > div {margin-bottom: 20px;}
.faq-body > div:last-child {margin-bottom: 32px;}

.faq-q,.faq-a {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  padding: 15px 15px 15px 58px;
  border-radius: 18px;
  background-color: var(--wht);
}

.faq-q::before,.faq-a::before {
  content: 'Q.';
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 29px;
  font-weight: 600;
  color: var(--sg-red);
}

.faq-a::before {
  content: 'A.';
  font-weight: 400;
}

.faq-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  padding: 44px 0;
  width: 100%;
  max-width: 809px;
  background-color: var(--wht);
}

.faq-card::before,.faq-card::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -20px;
  height: 1px;
  width: 70px;
  background-color: var(--sg-red);
  transform: rotate(-45deg);
  z-index: 100;
}

.faq-card::after {
  top: auto;
  left: auto;
  bottom: 15px;
  right: -20px;
  height: 1px;
  width: 70px;
  background-color: var(--sg-red);
  transform: rotate(-45deg);
  display: block;
  z-index: 100;
}

.faq-card > h2 {
  position: relative;
  margin-bottom: 28px;
  letter-spacing: var(--05rem);
  text-align: center;
}

.faq-card > h2::before,.faq-card > h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left:  50%;
  right: 50%;
  transform: translateX(-50%);
  background-color: var(--sg-red);
  height: 3px;
  width: 474px;
}

.faq-card > h2::after {display: none;}
.faq-card > h2 span {font-size: clamp(2.0rem, 0.583rem + 1.39vw, 2.6rem);}
.faq-card > p {
  font-size: clamp(1.6rem, 0.667rem + 0.69vw, 1.9rem);
  line-height: 2;
}

.review-body {
  display: flex;
  align-items: flex-end;
}

.review-body > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 255px;
}

.review-body > div > p {
  position: relative;
  margin-bottom: 40px;
  padding: 30px;
  color: #fff;
  font-size: clamp(1.3rem, 0.59rem + 0.46vw, 1.5rem);
  background-color: var(--sg-blue);
  border-radius: 16px;
  text-align: justify;
}

.review-body > div > p::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  transform: rotate(45deg);
  background-color: var(--sg-blue);
  width: 25px;
  height: 75px;
  z-index: -1;
}

.review-body > div > figure img {
  margin-bottom: 10px;
  max-width: 226px; 
}

.review-body > div > figure figcaption {
  color: var(--sg-blue);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}


@media screen and (max-width: 1106px) {

  .sg-event__inner {
    margin: auto;
    padding: 84px 0 100px;
    max-width: calc(100% - 180px);
  }

}


@media screen and (max-width: 1023px) {

  .main__img {width: 100%;}
  .sg__copy > h1 {margin-bottom: 13px;}

  .sg-event__inner > h2 {
    margin-bottom: 5px;
    font-size: 17px;
  }
  
  .sct-inner {max-width: 100%;}
  .card__btn a {padding: 16px 38px;}
  .sg-sct1 > .sct-inner > div {width: 88%;}
  .lecturer-card {max-width: 88%;}

  .lecturer-card > img {
    margin-right: 26px;
    max-width: 230px;
  }
  
  .lecturer-card > div h3 {margin-bottom: 14px;}
  .message {margin-bottom: 8px;}
  .lecture-point {width: 85%;}
  .recom-body {width: 70%;}
  .recom-body li {padding: 14px 0 14px 44px;}
  .recom-body li::before {background-size: 75%;}
  .faq-body,.faq-card {max-width: 90%;}

  .faq-q::before,.faq-a::before {font-size: 25px;}
  
  .review-body > div {max-width: 30%;}
  .review-body > div > p {
    margin-bottom: 30px;
    padding: 20px;
  }

}


@media screen and (max-width: 767px) {

   header {
    margin-bottom: 50px;
    height: 55px;
  }

  h1.sp-head {
    display: block;
    margin: 0 auto 30px;
    width: 85%;
    font-size: 29px;
  }

  .main__img {margin-bottom: 36px;}

  .sg__copy {
    position: initial;
    top: auto;
    right: auto;
    margin: auto;
    padding: 0;
    width: 85%;
    transform: translateY(0%);
    background: none;
  }
    
  .sg__copy > h1 {display:none;}
  
  .sg__copy > p {
    margin-bottom: 70px;
    font-size: 15px;
    letter-spacing: 0.1rem;
    line-height: 2.2;
  }

  .sg-event__inner {
    margin: auto;
    padding: 50px 0 70px;
    max-width: 80%;
  }

  .sg-event__card {
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    padding: 22px;
  }
  
  .card__content {margin-bottom: 20px;}
  
  .card__content > h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }
  
  .card__btn {width: 100%;}
  
  .card__btn a {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }
  
  .sg-sct1,.sg-sct2 {padding: 40px 0 70px;}
  .sct-inner {max-width: 90%;}
  .sct-inner > h2 span {font-size: 17px;}
  .sct-inner > p.intro {font-feature-settings: 'palt';}

  .theme-card {
    margin-bottom: 20px;
    padding: 68px 0;
    width: 100%;
  }
  
  .theme-card:nth-child(n+3) {margin-bottom: 20px;}
  .theme-card:last-child {margin-bottom: 40px;}
  
  .intro-summary {
    font-size: clamp(1.4rem, 0.716rem + 0.59vw, 1.6rem);
  }
  
  .mini-ttl-jp,.mini-ttl {
    margin-bottom: 24px;
    width: 100%;
    font-size: 13px;
  }

  .mini-ttl {margin-bottom: 20px;}
  
 .lecturer-card {
    flex-direction: column;
    align-items: center;
  }
  
  .lecturer-card > picture {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    max-width: 210px;
  }
  
  hgroup {margin-bottom: 32px;}

  .lecturer-card > div {width: 100%;}

  .lecturer-card > div h3 {
    margin: auto;
    margin-bottom: 20px;
    width: 210px;
    font-size: 14px;
  }
  
  .lecturer-card > div h3 span {font-size: 18px;}
  
  .pc-h2 {display: none;}
  .sp-h2{display: block;}
  
  .lecture-point {width: 90%;}
  .lecture-point:last-child {margin-bottom: 0;}

  .point-circle {
    margin-top: 5px;
    margin-right: 10px;
    width: 19%;
    max-width: 60px;
    font-size: 19px;
  }
  
  .recom-body {width: 90%;}
  
  .faq-card > h2::before,.faq-card > h2::after {
    top: 36px;
    left:  50%;
    right: 50%;
    transform: translateX(-50%);
    background-color: var(--sg-red);
    height: 2px;
    width: 220px;
  }
  
  .faq-card > h2::after {
    display: inline;
    top: auto;
    bottom: -4px;
    left:  50%;
    right: 50%;
    transform: translateX(-50%);
    background-color: var(--sg-red);
    height: 2px;
    width: 220px;
  }
  
  .review-body {
    flex-direction: column;
    align-items: center;
  }
  
  .review-body > div {
    margin-bottom: 30px;
    max-width: 90%;
  }
  
  .review-body > div:last-child {margin-bottom: 0;}
  .review-body > div > figure img {max-width: 190px;}

}

