@charset "UTF-8";
/* Course CSS */
/*--tab--*/
/* タブボタン部分 - 完全独立 */
.tab-buttons {
  display: flex;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  gap: 50px;
  margin-bottom: 10rem;
}

.tab-button {
  /* ここだけ変更すればボタンの見た目を自由に調整できる */
  padding: 1.3rem 2rem;
  background: #9e9e9e;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 500px; /* ボタンの幅を簡単に調整 */
  width: 100%;
}

.tab-button.active {
  background: var(--link-color);
  color: white;
  box-shadow: 0 4px 16px rgba(150, 120, 120, 0.4);
}

/* コンテンツ部分 - 完全独立 */
.tab-content {
  margin: 0 auto;
  position: relative;
}

/* パネル表示/非表示 */

.tab-panel {
  opacity: 0;
  transform: translateY(-20px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.tab-panel.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  max-height: 10000px;
}
/* 非アクティブなパネルのみ隠す */
.tab-panel:not(.active) {
  display: none !important; /* 非アクティブのみ完全に隠す */
}

.tab-content {
  margin: 0 auto;
  position: relative;
}
/* アニメーション用のクラス */
.tab-panel.animating {
  display: block !important; /* アニメーション中も表示 */
  opacity: 0;
  transform: translateY(-20px);
}
@media (max-width: 768px) {
  .tab-panel {
    transform: translateY(-10px);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .tab-panel.animating {
    transform: translateY(-10px);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: 2rem;
    margin-bottom: 5rem;
  }

  .tab-button {
    width: 90%;
    min-width: auto;
    font-size: 16px;
  }
}
/*-- Web Programming Section --*/
.course-wrapper {
  background: linear-gradient(to right, #f2f4f8, #f8ddd8);
  padding: 5rem 0 10rem 0;
}
.course-wrapper.python-course {
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
}
.course-top-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media (min-width: 1700px) {
  .course-top-block {
    display: flex;
    justify-content: center;
  }
}
.course-top-block .course-top-illust {
  max-width: 750px;
  margin-left: -3rem;
  margin-right: 3rem;
  margin-top: -10rem;
}

.course-top-block .course-top-text {
  max-width: 650px;
  padding-right: 5rem;
}
@media screen and (max-width: 767px) {
  .course-top-block {
    flex-direction: column;
  }
  .course-top-block .course-top-illust {
    margin-top: 2rem;
    margin-bottom: 1rem;
    margin-left: -1rem;
    margin-right: 1rem;
    order: 2;
  }
  .course-top-block .course-top-text {
    order: 1;
    max-width: 650px;
    padding: 0rem 2rem;
  }
}
.course-top-block .course-top-text .course-top-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--link-color);
  line-height: 1.5;
  margin-bottom: 3rem;
}

@media screen and (max-width: 767px) {
  .course-top-block .course-top-text .course-top-title {
    margin-bottom: 1.5rem;
  }
}

.course-top-block .course-top-text .course-top-title .course-top-subtitle {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  display: block;
  color: #252525;
}
.course-top-block .course-top-text .course-top-description {
  font-size: clamp(15px, 2vw, 1.15rem);
  text-align: justify;
}
/*-- Skill Section --*/
.skill-section {
  padding: 8rem 0 0;
}

.skill-section .section_title {
  margin-right: 8%;
  margin-bottom: 1rem;
}
.skill-section .section-text-box {
  margin: 10% 0 1% 0;
}
.skill-section .section-title-box {
  display: flex;
  margin-bottom: 0rem;
}

.skill-section .skill-list-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}
.skill-list-box {
  position: relative;
  background: transparent;
  border: 2px solid var(--link-color);
  border-top: none;
  padding: 40px 30px 30px 30px;
  margin-top: 20px;
}
.skill-list-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 20px;
  height: 2px;
  background: var(--link-color);
}

/* 右側の上線 */
.skill-list-box::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  height: 2px;
  background: var(--link-color);
  left: var(--title-end, 300px);
}

.skill-list-box .skill-box-title {
  position: absolute;
  top: -1.3rem;
  left: 25px;
  background: transparent;
  color: var(--link-color);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 5px 10px;
  z-index: 10;
}

.skill-list {
  padding-left: 20px;
  margin: 0;
  text-align: justify;
}

.skill-list li {
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.skill-list li:last-child {
  margin-bottom: 0;
}
/* SP版用の追加要素（PC版では非表示） */
.sp-skill-header,
.skill-dots {
  display: none;
}
@media (max-width: 1300px) {
}

@media (max-width: 768px) {
  .skill-section {
    padding: 5rem 0 2rem 0;
  }
  .skill-section .section-title-box {
    margin-bottom: 2rem;
  }

  .skill-section .skill-list-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .skill-box-title {
    display: none;
  }

  .skill-list-box .skill-box-title {
    font-size: 1rem;
    left: 20px;
  }
  .skill-list-box {
    padding: 40px 10px 30px;
  }

  .skill-list {
    padding-left: 10px;
    padding-right: 10px;
  }
  .skill-list li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 7px;
  }

  .sp-skill-header {
    display: flex !important;
    align-items: center;
    position: absolute;
    top: -1.5rem; /* タイトルの高さ分調整 */
    left: 20px;
    right: 20px;
    z-index: 10;
    padding: 0; /* パディングクリア */
    background: transparent;
  }

  .sp-skill-header::before {
    content: "";
    position: absolute;
    top: calc(1.5rem - 2px); /* タイトル高さに合わせて調整 */
    right: -12px;
    height: 2px;
    background: var(--link-color);
    left: 0px; /* 固定値に変更 */
  }

  .sp-skill-title {
    color: white; /* 白文字 */
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    padding: 10px 30px 10px 20px; /* 右側に矢印のスペース確保 */
    background: var(--link-color); /* 赤で塗りつぶし */
    border-radius: 8px; /* 角丸 */
    position: relative;
    display: inline-block;
    min-width: 200px; /* 最小幅設定 */
  }

  .sp-skill-title::after {
    content: "";
    position: absolute;
    top: 45%;
    right: 15px; /* タイトル背景の右側 */
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: center;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .skill-list-box.expanded .sp-skill-title::after {
    transform: translate(-50%, 0%) rotate(-135deg);
  }

  .sp-skill-arrow {
    display: none !important;
  }

  .skill-list-box.expanded .sp-skill-arrow {
    display: none !important;
  }
  .skill-dots {
    display: block !important;
    position: absolute !important;
    top: 55% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #999 !important;
    font-size: 1rem !important;
    opacity: 1 !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .skill-list-box.expanded .skill-dots {
    opacity: 0 !important;
  }

  /* アコーディオン動作 */
  .skill-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.3s ease;
  }

  .skill-list-box.expanded .skill-content {
    opacity: 1;
    max-height: 500px;
    transition: opacity 0.3s ease 0.1s, max-height 0.3s ease;
  }
}

/*-- Course Content --*/
.course-content-section {
  padding: 7rem 0 0;
}

.course-content-section .section_title_box {
  margin-bottom: 7rem;
}
.course-content-section .section_title {
  text-align: left;
}
@media screen and (max-width: 767px) {
  .course-content-section .section_title_box {
    margin-bottom: 3rem;
  }
  .course-content-section .section_title {
    margin-bottom: 3rem;
  }
}
.course-content-section .section-text-box {
  max-width: 600px;
  margin: 0 auto;
}
.course-content-section .common-list-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.course-content-section .common-list-content-2 {
  grid-template-columns: 2fr 1.5fr;
}
.course-content-section .common-list-table tr {
  border-bottom: 16px solid transparent;
}
.course-content-section .common-list-table th {
  width: 200px;
  margin-bottom: 0.5rem;
  color: var(--link-color);
  font-weight: 500;
}
.course-content-section .common-list-table td {
  font-size: 15px;
  text-align: justify;
}

@media (max-width: 768px) {
  .course-content-section {
    padding: 2rem 0;
  }
  .course-content-section .common-list-content-2 .content_title {
    font-size: 1.7rem;
  }
  .course-content-section .common-list-content {
    grid-template-columns: 1fr;
    margin-bottom: 0rem;
  }
  .course-content-section .common-list-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 2rem solid transparent;
    font-size: 17px;
  }
  .course-content-section .common-list-content-2 .common-list-image {
    order: 1;
  }
  .course-content-section .common-list-content-2 .common-list-text-box {
    order: 2;
  }
  .course-content-section .common-list-content .content-title-box .content-number {
    font-size: 1.2rem;
    margin-right: 2%;
  }
}

/*--schedule--*/
.schedule {
  position: relative;
  font-size: 14px;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}
.schedule::before {
  position: absolute;
  background-color: #232323;
  content: "";
}

.schedule ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.schedule li {
  position: relative;
}

.schedule_time {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 5em;
  height: 2em;
  border-radius: 6px;
  background-color: var(--link-color);
  color: #fff;
  text-align: center;
}
.schedule_time::before {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  z-index: -1;
  background-color: var(--link-color);
  content: "";
}
.schedule_time::after {
  position: absolute;
  width: 1em;
  height: 1em;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  background-color: var(--link-color);
  content: "";
}

.schedule_content_title {
  font-weight: bold;
}

@media screen and (max-width: 991.98px) {
  .schedule::before {
    top: 0px;
    left: 6.3em;
    width: 4px;
    height: 100%;
  }
  .schedule li {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .schedule li + li {
    margin-top: 2em;
  }
  .schedule_time::before {
    top: 50%;
    right: 0px;
    transform: translateX(50%) translateY(-50%) rotate(45deg);
  }
  .schedule_time::after {
    top: 50%;
    left: 5.9em;
    transform: translateY(-50%);
  }
  .schedule_content {
    margin: 0px 0px 0px 3em;
    width: calc(100% - 10em);
  }
  .schedule_content_detail {
    font-size: 15px;
  }
}
@media screen and (min-width: 992px) {
  .schedule::before {
    top: 3.5em;
    left: 0px;
    transform: translateY(-50%);
    width: 100%;
    height: 5px;
  }
  .schedule ul {
    margin: 0px -10px;
    display: flex;
    justify-content: center;
  }
  .schedule li {
    margin: 0px 45px;
    width: calc(30% - 10px);
  }
  .schedule_time {
    margin: 0px auto;
  }
  .schedule_time::before {
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%) translateY(50%) rotate(45deg);
  }
  .schedule_time::after {
    top: 3.5em;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  .schedule_content {
    margin: 3em 0px 0px;
  }
  .schedule_content_title {
    text-align: center;
  }
  .schedule_content_detail {
    margin-top: 0.5em;
    text-align: justify;
  }
}

/*--interview--*/
.interview-section {
  position: relative;
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
}
.interview-section::before {
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
  background-size: 100vw 100%; /* ビューポート幅に合わせる */
}
.interview-section .section-title-tab {
  top: -88px;
  left: 160px;
}
@media screen and (max-width: 768px) {
  .interview-section .section-title-tab {
    top: 0px;
    left: 0%;
  }
}
/*--interview アコーディオン--*/

.interview-section .interview-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 2%;
}
.interview-section .interview-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview-section .interview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.interview-section .card-header {
  padding: 32px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.interview-section .card-content {
  display: flex;
  align-items: center;
  gap: 70px;
}

.interview-section .profile-image {
  width: 28%;
  height: 28%;
  object-fit: cover;
  flex-shrink: 0;
}

.interview-section .profile-info {
  flex: 1;
}
.interview-section .interview-number-name {
  display: flex;
  margin-bottom: 1%;
}
.interview-section .interview-number {
  color: var(--link-color);
  font-size: 18px;
  margin-bottom: 8px;
  margin-right: 2%;
  line-height: 1;
}

.interview-section .name {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.interview-section .year-position {
  font-size: 14px;
  margin-bottom: 4%;
  margin-left: 7%;
  font-weight: 300;
  font-family: "Noto Sans JP", sans-serif;
}

.interview-section .catchphrase {
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  margin-left: 7%;
  letter-spacing: 0.07em;
}

.interview-section .arrow-button {
  position: absolute;
  top: 110px;
  right: 32px;
  width: 50px;
  height: 50px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: white;
}

.arrow-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-button .arrow-path {
  stroke: var(--link-color);
  transition: stroke 0.3s ease;
}

.card-header:hover .arrow-button {
  background: var(--link-color);
  transform: scale(1.1);
}

.card-header:hover .arrow-button .arrow-path {
  stroke: white;
}

.interview-card.active .arrow-button svg {
  transform: rotate(180deg);
}

.interview-section .card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease 0.1s;
  opacity: 0;
}

.interview-section .interview-card.active .card-body {
  max-height: 500px;
  padding: 1% 5% 5%;
  opacity: 1;
}

.interview-section .interview-text {
  line-height: 1.8;
  font-size: 15px;
  animation: slideInUp 0.6s ease 0.2s both;
}

.interview-section .interview-card.active .interview-text {
  animation: slideInUp 0.6s ease 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .interview-section .interview-container {
    gap: 40px;
    padding: 3%;
  }
  .interview-section .interview-number-name {
    justify-content: center;
    margin-bottom: 3%;
  }
  .interview-section .name {
    font-size: 25px;
  }
  .interview-section .interview-number {
    margin-right: 3%;
  }
  .interview-section .card-header {
    padding: 24px 20px;
  }
  .interview-section .year-position {
    margin-left: 0%;
    font-size: 13px;
  }
  .interview-section .card-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .interview-section .catchphrase {
    font-size: 16px;
    line-height: 1.7;
    margin-left: 0%;
  }
  .interview-section .profile-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }
  .interview-section .interview-text {
    line-height: 1.8;
    font-size: 14px;
  }
  .interview-section .arrow-button {
    top: 24px;
    right: 20px;
  }

  .interview-section .interview-text {
    padding-left: 0;
  }

  .interview-section .interview-card.active .card-body {
    padding: 0 20px 24px;
  }
}
.video-container-wrapper {
  position: relative;
  width: 50%;
  margin: 0 auto;
}
.video-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1rem;
}
.video-container-wrapper .video-container {
  aspect-ratio: 16/9;
  margin: 0 auto 5rem auto;
}

.video-container-wrapper:last-child .video-container {
  margin-bottom: 0;
}
.video-container iframe {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .video-container-wrapper {
    width: 90%;
    margin: 0 auto;
  }
  .video-container {
    height: 0;
    padding-top: 56.25%;
    position: relative;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
