@charset "utf-8";
@media (max-width:1020px) {
  
  /*index Instructor +++++++++++++++++++++++++*/
  .box-index-instructor{
    grid-template-columns: 1fr;
  }
  .pic-intra01{
    top: 0;
    left: auto;
    right: 0;
    translate: -15% 15%;
  }
  .box-index-instructor .sec-title{
  }
  
}
@media (max-width:768px) {
  .sdw-thumb.sdw-rt.sp-hrz
  ,.sdw-thumb.sdw-lf.sp-hrz{
    rotate:0deg;
  }
  .sdw-thumb.sp-hrz.sdw-lf::before{
    translate: -2.5% 2.5%;
  }
  .sdw-thumb.sp-hrz.sdw-rt::before{
    translate: 2.5% 2.5%;
  }
  #hum-button {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  }
  .index-head_inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: min(55px, 15vw);
  }
  .header__nav, .head__button .link-member {
    display: none;
  }
  .h-title {
    position: relative;
    top: auto;
    left: 0;
    translate: none;
  }
  .head__button {
    position: relative;
    margin-left: auto;
    top: auto;
    right: auto;
    translate: none;
    grid-template-columns: auto;
  }
  .head__button a {
    grid-template-columns: 1.25em auto;
    padding: .85em 1.5em;
    font-size: min(12px, 3vw);
  }
  .head__button a .icon {
    width: 1.25em;
  }
  .head__button a::before {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
  }
  header {
    height: min(58px, 14.87vw);
  }
  /*hero*/
  #hero.hero-main {
    padding-top: calc(var(--head-h) + min(50px, 8vw));
    aspect-ratio: 1/1.15;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-main__inner {
    padding-left: min(20px, 2.5vw);
    padding-right: min(20px, 2.5vw);
  }
  .hero-image-wrap {
    z-index: -1;
  }
  .hero-img__main::after {
    translate: -20% -10%;
  }
  .hero-title-wrap {
    position: unset;
    top: auto;
    /*    height: 100%;*/
    display: grid;
    grid-template-columns: 100%;
    align-content: flex-end;
    padding-left: min(50px, 4vw);
    padding-right: min(50px, 4vw);
  }
  .hero-title-wrap::before {
    translate: -45% 0%;
  }
  .hero-title-wrap::after {
    translate: 50% -25%;
  }
  #hero .pic__grn-ball {
    translate: 40% 50%;
  }
  /*#index content 
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  .item-thumb-detail{
    gap:0;
  }
  
  .item-thumb-detail
  ,.item-thumb-detail:nth-child(even){
    grid-template-columns: auto;
  }
  .item-thumb-detail .thumb-area.sp-full{
    width: 100%;
  }
  .item-thumb-detail .thumb-area{
    width: min(500px,75vw);
    margin-left: auto;
    margin-right: auto;
  }
  .item-thumb-detail:nth-child(even) .thumb-area{
    grid-area: auto;
  }
  .item-thumb-detail .comment-area{
    margin-top: 0;
    padding-top: min(60px, 10vw);
    padding-left: min(40px,4vw);
    padding-right: min(40px,4vw);
  }
  .item-thumb-detail .comment-area::before
  ,.item-thumb-detail .comment-area::after{
    width: 100%;
  }
  .item-thumb-detail:nth-child(odd) .comment-area::before, .item-thumb-detail:nth-child(odd) .comment-area::after,.item-thumb-detail:nth-child(even) .comment-area::before, .item-thumb-detail:nth-child(even) .comment-area::after{
    translate: 0;
    top: auto;
    bottom: 0;
    border-radius: 100vmax 100vmax 0 0;
    height: calc(100% + min(200px,40vw));
  }
  .pic-teach03{
    left: 100%;
    translate: -80% 50%;
  }
  
  /*index message +++++++++++++++++++++++++*/
  .box-index_message {
    min-height: inherit;
    text-align: left;
  }
  #toggle-message {
    height: 9em;
  }
  #toggle-message::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4em;
  background: linear-gradient(rgba(251, 250, 249, 0) 5%, rgba(251, 250, 249, 1) calc(100% - 1em));
  translate: opacity var(--transit);
}
#toggle-message.open::after {
  opacity: 0;
}
  .js-board-open{
    display: grid;
  }
  #toggle-message .in-thumb {
    display: block;
  }
  #toggle-message .in-thumb + * {
    margin-top: min(50px, 10vw);
  }
  .pic-message-lf, .pic-message-rt {
    display: none;
  }
  /*index information +++++++++++++++++++++++++*/
  .box-index_info {
    grid-template-columns: auto min(117px, 25vw);
    -ms-align-items: center;
    align-items: center;
    padding-bottom: min(50px,5vw);
  }
  .box-index_info .pic {
    grid-area: 1 / 2;
    display: block;
    translate:0 -15%;
  }
  .box-index_info .arrow-button {
    grid-area: 4;
    grid-column: span 2;
    justify-content: flex-end;
  }
  .box-index_info .index-info-archive {
    grid-area: span 2;
    grid-column: span 2;
  }
  .idx-post-item{
    grid-template-columns: 1fr;
  }
  .idx-post-item .post-title{
    padding-left: 0;
    border-left: none;
  }
  
  /*index Instructor +++++++++++++++++++++++++*/
  .item-intra-profile{
    grid-template-columns: 1fr;
  }
  /*index Corse +++++++++++++++++++++++++*/
  .box-index-course{
    grid-template-columns: 1fr;
  }
  /*index Inquiry +++++++++++++++++++++++++*/
  .sec-inquiry-blc{
    grid-template-columns: 1fr;
  }
  .sec-inquiry-blc .sec-title{
    grid-column: auto;
    -ms-align-items: flex-start;
    align-items: flex-start;
  }
  .sec-inquiry-blc .pic-inq{
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    translate: max(-50px,-4vw) -18%;
    rotate: 20deg;
  }
  
  /*footer
  =====================================*/
  .footer-inner{
    grid-template-columns: auto;
    justify-content: center;
    gap:min(50px,10vw);
  }
  .foot__about .address{
    text-align: center;
    margin-top: min(30px, 6vw);
  }
  .foot__nav{
    justify-content: center;
  }
  
}