/*========================================================
　　ワークショップ　css
　========================================================*/
/*共通--------------------------------------------------*/
.note {
  text-align: right;
}

/*開催概要-----------------------------------------------*/
.overview-wrapper {
  margin: 150px auto 300px;
}

.overview-contents {
  display: grid;
  gap: 0 69px;
  grid-template: max-content/ auto auto;

    p + p  {
    margin-top: 30px;
  }

  .title {
    margin: 150px 0 30px;
    font-weight: bold;
  }
}

.overview-pic {
  grid-row: 1/ 5;
  grid-column: 2;
  width: 524px;
  height: 411px;
  border-radius: 20px;
  object-fit: cover;
}

.overview-list {
  grid-column:1/ 3; 
  display: flex;
  flex-wrap: wrap;
  gap: 25px 18px;
}

.overview-link {
  padding: 15px 25px;
  border: none;
  box-shadow: 4px 4px 30px #a6a7a773;
  font-weight: normal;
  font-size: 16px;
}

/*プログラム---------------------------------------------*/
.program-wrapper {
  margin-bottom: 300px;
}

.program-list {
  display: grid;
  grid-auto-rows: minmax(100px, auto);
  gap: 70px;
  margin: 100px auto 40px;
}

.program-list-li {
  position: relative;
  min-height: 412px;
  overflow: hidden;
  border-radius: 20px;
  background: #f0f0f0;

  .num {
    position: absolute;
    top: -200px;
    left: -20px;
    display: inline-block;
    background: linear-gradient(180deg, #ccc, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 400px;
    font-family: 'zen kaku gothic new';
    letter-spacing: .05em;
    pointer-events: none;
  }
}

.program-item {
  position: relative;
  z-index: 10;
  margin: 80px 170px;
}

.program-title {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 45px;
  font-size: 30px;

  span {
    font-family: 'zen kaku gothic new';
    font-size: 40px;
  }
}

.program-list-child {
  display: flex;
  flex-direction: column;
  max-width: 620px;
  font-size: 20px;
  font-weight: bold;
  line-height: 2.25em;
}

.program-pic {
  position: absolute;
  bottom: calc(50% - 284px);
  right: -111px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 568px;
  aspect-ratio: 1;
  border-radius: 50% 0 0 50%;
  background: #ffffffa6;

  img {
    margin: 60px 60px 0 0;
  }
}

/*協力---------------------------------------------------*/
.cooperation-wrapper {
  margin-bottom: 300px;
}

.cooperation-contents {
  display: flex;
  flex-direction: column;
  gap: 69px;
}

.cooperation-item {
  flex: 1;
  font-size: 18px;
}

.cooperation-title {
  margin-bottom: 30px;
  font-size: 25px;
  font-weight: 500;
}

/*開催スケジュール---------------------------------------*/
.schedule-wrapper {
  margin: 130px auto 350px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 100px 0 40px;

  time {
    font-family: 'zen kaku gothic new';
  }
}

.schedule-list-li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px;
  border-radius: 20px;
  background: #f0f0f0;
  letter-spacing: .1em;

  .num {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 142px;
    aspect-ratio: 1;
    padding: 7px 24px;
    background: #a6a7a7;
    border-top-left-radius: 20px;
    color: #fff;
    font-family: 'zen kaku gothic new';
    font-size: 40px;
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 0);
  }
}

.schedule-day {
  width: 275px;
  padding: 32px;
  font-size: 40px;

  span {
    font-size: 70px;
  }
}

.schedule-list-child {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 90px;
  padding: 50px;
  border-radius: 20px;
  background: #fff;
}

.schedule-list-child-li {
  display: flex;
  gap: 30px;
}

.schedule-time {
  display: flex;
  gap: 30px;
  justify-content: center;
  font-size: 30px;
  text-wrap: nowrap;

  &::after {
    content: '';
    width: 2px;
    height: 100%;
    background: #8e1728;
  }
}

.schedule-detail {
  flex-grow: 1;
  
  li {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .title {
      display: flex;
      gap: 20px;
      align-items: first baseline;
      font-size: 25px;
      font-weight: bold;

      &::before {
        content: '';
        flex-shrink: 0;
        width: 18px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: #8e1728;
      }
    }

    .instructor {
      font-weight:  500;
    }
    
    &:not(:last-child) {
      margin-bottom: 50px;
    }
    
    .link-btn {
      padding: 15px 30px;

      .span-icon::after {
        mask-image: url(../img/document.svg);
      }
    }
  }
}

/*講師陣のご紹介-----------------------------------------*/
.member-list {
  margin-top: 0;
}

/*会場について-------------------------------------------*/
.map-wrapper {
  margin-bottom: 200px;
}

.map {
  width: 100%;
  height: auto;
  aspect-ratio: 2.6/ 1;
}

.map-contents {
  display: flex;
  gap: 40px;
  margin-top: 65px;
}

.map-building-name {
  flex: 1;
  font-size: 25px;
  font-weight: 500;

  span {
    font-size: 32px;
    font-weight: bold;
  }
}

.map-dl {
  flex: 1;

  dt {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 22px;
    color: #a6a7a7;
  }

  .icon {
    width: 18px;
    aspect-ratio: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .address-icon {
    background-image: url(../img/address-icon.svg);
  }

  .access-icon {
    background-image: url(../img/access-icon.svg);
  }

  dd {
    font-size: 18px;

    &:not(:last-child) {
      margin-bottom: 60px;
    }

    li:not(:last-child) {
      margin-bottom: 10px;
    }
  }
}



/*募集要項-----------------------------------------------*/
.guideline-wrapper {
  position: relative;
  padding:250px 0 200px;
  overflow: hidden;
  background: #f0f0f0;

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 250px;
    background: #fff;
  }

  &::after {
    position: absolute;
    top: 0;
    left: calc(50% - 800px);
    content: '';
    display: block;
    width: 1600px;
    height: 250px;
    background: #f0f0f0;
    clip-path: shape(
      from 100% 100%,
      curve to 0 100% with 50% -250px,
    );
  }
}

.guideline-contents {
  padding: 70px 60px 40px;
  border-radius: 20px;
  background: #fff;
}

.guideline-dl {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 30px 0;

  &:not(:last-child) {
    border-bottom : solid 1px #a6a7a7;
  }

  dt {
    max-width: 410px;
    min-width: 64px;
    color: #a6a7a7;
    font-size: 20px;
    font-weight: bold;
  }

  dd {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 740px;
    font-size: 18px;
  }
}

/* 以下　スマホ版css ================================================================================================*/
@media (max-width: 768px) {
  /*スマホ_共通---------------------------------------------------*/
  .note {
    text-align: left;
  }

  /*スマホ_開催概要-----------------------------------------------*/
  .overview-wrapper {
    margin: 80px auto 260px;
  }

  .overview-contents {
    grid-template-columns: auto;

    .title {
      margin: 69px 0 30px;
    }
  }

  .overview-list {
    grid-column: auto;
    gap: 18px;
  }

  /*スマホ_プログラム---------------------------------------------*/
  .program-wrapper {
    margin-bottom: 110px;
  }

  .program-list {
    margin: 50px auto 40px;
  }

  .program-list-li {
    .num {
      top: -120px;
      left: -10px;
      font-size: 240px;
    }
  }

  .program-item {
    margin: 50px 30px 0;
  }

  .program-title {
    font-size: 22px;
    margin-bottom: 35px;
  }

  .program-list-child {
    font-size: 18px;
  }

  .program-pic {
    position: relative;
    top: 40px;
    left: -25%;
    width: 150%;
    margin-bottom: -60%;
    border-radius: 50% 50% 0 0;

    img {
      width: 50%;
      height: 50%;
      margin: 20px 0 40%;
    }
  }

  /*スマホ_協力---------------------------------------------------*/
  .cooperation-wrapper {
    margin-bottom: 110px;
  }

  .cooperation-item {
    font-size: 16px;
  }

  .cooperation-title {
    margin-bottom: 40px;
    font-size: 20px;
  }

  /*スマホ_開催スケジュール---------------------------------------*/
  .schedule-wrapper {
    margin:  80px auto 110px;
  }

  .schedule-list {
    margin: 69px 0 30px;
  }

  .schedule-list-li {
    flex-direction: column;
    gap: 48px;
    padding: 50px 15px;
    

    .num {
      width: 105px;
      padding: 12px 20px;
      font-size: 22px;
    }
  }

  .schedule-day {
    width: max-content;
    padding: 0;
    font-size: 20px;
    line-height: 1;

    span {
      font-size: 35px;
    }
  }

  .schedule-list-child {
    width: 100%;
    padding: 35px 20px;
  }

  .schedule-list-child-li {
    flex-direction: column;
    align-items: stretch;
    
  }

  .schedule-time {
    gap: 20px;
    align-items: center;
    font-size: 20px;

    &::after {
      width: 100%;
      height: 2px;
    }
  }

  .schedule-detail {
    li {
      .title {
        font-size: 18px;
        gap: 10px;

        &::before {
          width: 15px;;
        }
      }

      .instructor {
        margin-bottom: 15px;
        font-size: 14px;
      }

      .link-btn {
        justify-content: space-between;
        padding: 10px 20px 10px 28px;
      }
    }
  }
  /*スマホ_講師陣のご紹介-----------------------------------------*/

  /*スマホ_会場について-------------------------------------------*/
  .map-wrapper {
    margin-bottom: 110px;
  }

  .map {
    aspect-ratio: 1;
  }

  .map-contents {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .map-building-name {
    font-size: 18px;
    line-height: 2;

    span {
      font-size: 20px;
    }
  }

  .map-dl {
    dt {
      font-size: 18px;
      margin-bottom: 15px;
    }

    dd {
      font-size: 16px;

      &:not(:last-child) {
        margin-bottom: 30px;
      }
    }
  }

  /*スマホ_募集要項-----------------------------------------------*/
  .guideline-wrapper {
    padding: 100px 0;

    &::before {
      height: 100px;
    }

    &::after {
      left: calc(50% - 400px);
      width: 800px;
      height: 100px;
      clip-path: shape(
        from 100% 100%,
        curve to 0 100% with 50% -100px,
      );
    }

    .btn-red {
      padding: 20px;
    }
  }

  .guideline-contents {
    padding: 20px;
  }

  .guideline-dl { 
    flex-direction: column;

    dd {
      width: auto;
      font-size: 16px;
    }
  }
}