.amakusaCourse {
  margin-top: 50px;
}

.amakusaCourse__inner {
  padding: 0 20px;
}

.amakusaCourse__ttl {
  color: var(--c-primary);
  font-size: 30px;
  text-align: center;
  font-weight: 700;
}

.amakusaCourse__tabs {
  margin-top: 20px;
}

.amakusaCourse__tabList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.amakusaCourse__tabItem {
  width: 90%;
  background-color: #f2f2f2;
  padding: 6px 10px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.amakusaCourse__tabItem:hover {
  cursor: pointer;
  background-color: var(--c-primary);
  color: var(--c-tertiary);
}

.amakusaCourse__tabItem.active {
  background-color: var(--c-primary);
  color: var(--c-tertiary);
}

.amakusaCourse__tabContent {
  background-color: #fff;
  border: 1px solid var(--c-primary);
  margin-top: 30px;
}

.amakusaCourse__tabPanel {
  display: none;
  padding: 20px 20px 30px;
  max-width: 500px;
  margin: 0 auto;
}

.amakusaCourse__tabPanel.active {
  display: block;
}

.amakusaCourse__tabPanelInner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.amakusaCourse__Info {
}

.amakusaCourse__Img {
    max-width: 300px;
    align-items: center;
    margin: 0 auto;
}

.amakusaCourse__Recrutment {
  width: 100%;
  padding: 15px 10px;
  background-color: #e7f7ff;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.amakusaCourse__RecrutmentText {
  line-height: 1.5;
}

.amakusaCourse__RecrutmentTitle {
  font-weight: 700;
  font-size: 26px;
}

.amakusaCourse__RecrutmentDeadline {
  color: red;
  font-weight: 700;
  font-size: 12px;
}

.amakusaCourse__RecrutmentDeadline span {
  font-size: 18px;
}

.amakusaCourse__RecrutmentSeats {
  background-color: var(--c-tertiary);
  padding: 5px 10px;
  text-align: center;
  border-radius: 5px;
  width: 20%;
  line-height: 1.5;
}

.amakusaCourse__RecrutmentSeats div {
  font-size: 14px;
  color: #333;
  padding-bottom: 3px;
  border-bottom: 1px solid #333;
}

.amakusaCourse__RecrutmentSeats span {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-top: 5px;
}

.amakusaCourse__tabPanelBtn {
  margin-top: 20px;
  text-align: center;
}

.amakusaCourse__tabPanelBtn a {
  display: inline-block;
  background-color: var(--c-primary);
  color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.3s ease;
}

.amakusaCourse__tabPanelBtn a:hover {
  opacity: 0.8;
}
.amakusaCourse__tabPanelContents {
}

.amakusaCourse__tabPanelTtl {
  font-size: 18px;
  font-weight: 700;
  padding: 0 10px;
  text-align: center;
}

  .amakusaCourse__tabPanel.webdesigner .amakusaCourse__tabPanelTtl {
    background-color: #57b7e5;
    color: #fff;
  } 
  .amakusaCourse__tabPanel.graphicdesigner .amakusaCourse__tabPanelTtl {
    background-color: #ee828d;
    color: #fff;
  } 
  .amakusaCourse__tabPanel.cggym .amakusaCourse__tabPanelTtl {
    background-color: #ab86bf;
    color: #fff;
  } 
  .amakusaCourse__tabPanel.moviecreator .amakusaCourse__tabPanelTtl {
    background-color: #77c073;
    color: #fff;
  } 

.amakusaCourse__tabPanelText {
  margin-top: 10px;
  line-height: 1.8;
}

.amakusaCourse__duration {
  text-align: center;
  border: 1px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  width: fit-content;
  margin: 10px auto 0;
}

.amakusaCourse__tabPanel.webdesigner .amakusaCourse__duration {
  border-color: #57b7e5;
} 

.amakusaCourse__tabPanel.graphicdesigner .amakusaCourse__duration {
  border-color: #ee828d;
}

.amakusaCourse__tabPanel.cggym .amakusaCourse__duration {
  border-color: #ab86bf;
}

.amakusaCourse__tabPanel.moviecreator .amakusaCourse__duration {
  border-color: #77c073;
}

.amakusaCourse__duration div,
.amakusaCourse__duration span {
  padding: 5px 10px;
  font-weight: 700;
}

.amakusaCourse__duration div {
  font-size: 18px;
}

.amakusaCourse__duration span {
  color: #fff;
  font-size: 18px;
}

.amakusaCourse__tabPanel.webdesigner .amakusaCourse__duration div {
  color: #57b7e5;
}

.amakusaCourse__tabPanel.webdesigner .amakusaCourse__duration span {
  background-color: #57b7e5;
}

.amakusaCourse__tabPanel.graphicdesigner .amakusaCourse__duration div {
  color: #ee828d;
}
.amakusaCourse__tabPanel.graphicdesigner .amakusaCourse__duration span {
  background-color: #ee828d;
}
.amakusaCourse__tabPanel.cggym .amakusaCourse__duration div {
  color: #ab86bf;
}
.amakusaCourse__tabPanel.cggym .amakusaCourse__duration span {
  background-color: #ab86bf;
}
.amakusaCourse__tabPanel.moviecreator .amakusaCourse__duration div {
  color: #77c073;
}
.amakusaCourse__tabPanel.moviecreator .amakusaCourse__duration span {
  background-color: #77c073;
}

.amakusaCourse__point {
  margin-top: 20px;
}

.amakusaCourse__pointTtl {
  text-align: center;
  font-weight: 700;
}

.amakusaCourse__pointList {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amakusaCourse__pointItem {
  font-size: 15px;
  letter-spacing: -0.03em;
  padding-left: 20px;
  position: relative;
}

.amakusaCourse__pointItem::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("downloadResource.viewer?path=/fdndh71847/Images/school/amakusa/top-2510//course-point-icon.webp");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@media screen and (min-width: 850px) {
  .amakusaCourse {
    margin-top: 60px;
  }

  .amakusaCourse__inner {
    max-width: calc(980px + 40px * 2);
    padding: 0 40px;
    margin: 0 auto;
  }

  .amakusaCourse__ttl {
    color: var(--c-primary);
    font-size: 45px;
    text-align: center;
    font-weight: 700;
  }

  .amakusaCourse__tabs {
    margin-top: 20px;
  }

  .amakusaCourse__tabList {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .amakusaCourse__tabContent {
    background-color: #fff;
    border: 1px solid var(--c-primary);
    margin-top: 10px;
  }

  .amakusaCourse__tabPanel {
    padding: 30px 40px 40px;
    max-width: none;
  }

  .amakusaCourse__tabPanelInner {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .amakusaCourse__Info {
    flex-shrink: 0;
  }

  .amakusaCourse__Img {
    width: 300px;
  }

  .amakusaCourse__Recrutment {
    justify-content: center;
  }

  .amakusaCourse__RecrutmentText {
    line-height: 1.5;
  }

  .amakusaCourse__RecrutmentTitle {
    font-weight: 700;
    font-size: 26px;
  }

  .amakusaCourse__RecrutmentDeadline {
    color: red;
    font-weight: 700;
    font-size: 12px;
  }

  .amakusaCourse__RecrutmentDeadline span {
    font-size: 18px;
  }

  .amakusaCourse__RecrutmentSeats {
    background-color: var(--c-tertiary);
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
    width: 20%;
    line-height: 1.5;
  }

  .amakusaCourse__RecrutmentSeats div {
    font-size: 14px;
    color: #333;
    padding-bottom: 3px;
    border-bottom: 1px solid #333;
  }

  .amakusaCourse__RecrutmentSeats span {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
  }

  .amakusaCourse__tabPanelContents {
    margin-top: 47px;
  }

  .amakusaCourse__tabPanelTtl {
    font-size: 24px;
    font-weight: 700;
    padding: 0 10px;
    text-align: center;
  }




  .amakusaCourse__tabPanelText {
    margin-top: 16px;
  }

  .amakusaCourse__duration {
    margin-left: 0;
  }

  .amakusaCourse__point {
    margin-top: 10px;
  }

  .amakusaCourse__pointTtl {
    text-align: left;
  }

  .amakusaCourse__pointList {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

}

@media screen and (min-width: 1024px) {
    .amakusaCourse__tabPanel {
    padding: 30px 80px 40px;
  }
}
