/* クロストーク詳細ページ用のスタイル */

/* クロストークページでは.interview-section-title::beforeを無効化 */
.crosstalk-detail-page .interview-section-title::before {
  display: none;
}

/* .interview-section-titleを.page-subtitleと同じデザインに */
.crosstalk-detail-page .interview-section-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin: 0 0 30px 0 !important;
  padding-bottom: 5px !important;
  display: inline-block !important;
  position: relative !important;
  line-height: 1.5 !important;
  cursor: default !important;
  user-select: text !important;
}

.crosstalk-detail-page .interview-section-title::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 8px !important;
  background-color: #FFEB01 !important;
  z-index: -1 !important;
  display: block !important;
}

/* クロストークヘッダー */
.crosstalk-header {
  position: relative;
  width: 100%;
  margin-bottom: 80px;
}

/* パンくずリスト */
.crosstalk-header-breadcrumb {
  padding: 30px 0 0;
  margin-bottom: 40px;
}

/* コンテンツラッパー */
.crosstalk-header-content-wrapper {
  max-width: 1104px;
  margin: 0 auto;
  padding: 0 10px 55px;
}

.crosstalk-header-section .interview-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  border: none;
  margin-bottom: 20px;
}

.crosstalk-header-section .interview-label-text {
  font-size: 27px;
  font-weight: 500;
  font-family: 'Afacad', sans-serif;
  letter-spacing: 0.05em;
  color: #000;
}

.crosstalk-header-section .interview-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 22px;
  background-image: url('../img/interview-header-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.crosstalk-header-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 30px;
  color: #000;
}

/* ハッシュタグ */
.crosstalk-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.crosstalk-hashtag {
  display: inline-block;
  padding: 6px 20px;
  background-color: #EBEBEB;
  border: 1px solid #000;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

/* 写真 */
.crosstalk-header-photo {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
}

.crosstalk-header-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 60px 60px;
}

/* Member Profile */
.member-profile-section {
  margin-bottom: 80px;
}

/* セクション内のMember Profile */
.member-profile-section-inner {
  margin-top: 50px;
}

/* リードテキスト */
.crosstalk-lead-text {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 50px;
  color: #000;
}

.member-profile-title {
  text-align: center;
  font-size: 45px;
  font-weight: 500;
  font-family: 'Afacad', sans-serif;
  font-style: italic;
  margin-bottom: 50px;
  color: #000;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1104px;
  margin: 0 auto;
}

.member-profile-card {
  background: #FFFFFF;
  border-radius: 0 30px 30px 30px;
  overflow: hidden;
  position: relative;
}

.member-profile-card.green-border {
  box-shadow: 10px 10px 0 #FFA7F8;
}

.member-profile-card.blue-border {
  box-shadow: 10px 10px 0 #2FEF9D;
}

.member-profile-category {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  align-content: center;
  border: 1.5px solid #000;
  border-bottom-right-radius: 20px;
  padding: 8px 0px;
  font-size: 18px;
  font-weight: bold;
  z-index: 2;
  width: 76px;
  height: 76px;
}

.member-profile-card.green-border .member-profile-category {
  background-color: #fff;
}

.member-profile-card.blue-border .member-profile-category {
  background-color: #fff;
}

.member-profile-photo-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  border-radius: 0 30px 0 0;
  border-bottom: none;
  aspect-ratio: 390 / 320;
}

.member-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 30px 0 0;
  border: 1.5px solid #000;
}

.member-profile-info {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: auto;
  aspect-ratio: 220 / 70;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 0 0 8%;
  box-sizing: border-box;
  z-index: 3;
  border-top-left-radius: 20.5px;
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
  border-right: 1.5px solid #000;
  overflow: hidden;
}

.member-profile-info::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -1px;
  aspect-ratio: 165 / 70;
  width: 220px;
  height: auto;
  border-top-left-radius: 20.5px;
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
  z-index: -1;
  background-color: inherit;
}

.member-profile-text-content {
  border-left: 1.5px solid #000;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.member-profile-card.green-border .member-profile-info {
  background-color: #fff;
}

.member-profile-card.blue-border .member-profile-info {
  background-color: #fff;
}

.member-profile-role {
  font-size: clamp(14px, 1.8vw, 14px);
  margin: 0;
  text-align: left;
  width: auto;
  margin-bottom: 10px;
}

.member-profile-name {
  font-size: clamp(20px, 2.2vw, 20px);
  font-weight: bold;
  margin: 0 0 2px 0;
  text-align: left;
  font-family: "Afacad", sans-serif;
  line-height: 1;
  width: auto;
}

.member-profile-name-suffix {
  font-size: 16px;
  margin-left: 4px;
}

.member-profile-text-content {
  padding: 30px;
}

.member-profile-description {
  font-size: 16px;
  line-height: 1.75;
  color: #000;
}

/* クロストーク本文セクション */
.crosstalk-talk-section {
  margin-bottom: 80px;
}

.crosstalk-section-header {
  position: relative;
  margin-bottom: 50px;
}

.crosstalk-section-number {
  display: none;
}

.crosstalk-section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

/* 白背景の見出しボックススタイル（.page-subtitle / .section_sub_titleと同じデザイン） */
.crosstalk-section-heading-box {
  background-color: #fff;
  color: #000;
  font-size: 22px;
  font-weight: 500;
  padding: 0 10px;
  margin: 0 0 30px 0;
  display: inline-block;
  position: relative;
  line-height: 1.5;
  border: 1px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.crosstalk-section-subtitle {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  position: relative;
  z-index: 1;
  margin-bottom: 54px;
}

/* クロストークページの目次に下線を追加 */
.crosstalk-detail-page .interview-contents-item {
  border-bottom: 1px solid #000;
  margin-bottom: 15px;
}

.crosstalk-detail-page .interview-contents-link {
  margin-bottom: 0;
}

/* 動画エリア */
.crosstalk-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1104px;
  margin: 0 auto 30px;
  border-radius: 20px;
  overflow: hidden;
}

.crosstalk-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.video-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

.video-control-btn {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-control-btn:hover {
  background-color: #f0f0f0;
}

.video-control-text {
  color: #000;
  font-size: 14px;
  font-weight: bold;
}

.video-control-icon img {
  width: 6px;
  height: 10px;
  margin-bottom: 3px;
  margin-left: 4px;
  margin-right: 6px;
}

/* クロストーク発言 */
.crosstalk-talk-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.crosstalk-talk-avatar-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.crosstalk-talk-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #000000;
}

.crosstalk-talk-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crosstalk-talk-content {
  flex: 1;
  padding-bottom: 30px;
}

.crosstalk-talk-name {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-align: center;
}

.crosstalk-talk-name-suffix {
  font-size: 14px;
  font-weight: 500;
  margin-left: 3px;
}

.crosstalk-talk-text {
  font-size: 18px;
  line-height: 2;
  color: #000;
}


@media (min-width: 992px) {
  .crosstalk-detail-page .interview-header {
    padding-top: 150px;
  }
}


/* レスポンシブ対応 */
@media (max-width: 991px) {
  .crosstalk-header {
    margin-bottom: 60px;
  }

  .crosstalk-header-breadcrumb {
    padding: 20px 0 0;
    margin-bottom: 30px;
  }

  .crosstalk-header-content-wrapper {
    padding: 0 20px 40px;
  }

  .crosstalk-header-title {
    font-size: 32px;
  }

  .crosstalk-hashtag {
    font-size: 14px;
    padding: 5px 16px;
  }

  .crosstalk-header-photo img {
    border-radius: 45px;
    aspect-ratio: 393 / 269;
    object-fit: cover;
  }

  .member-profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .member-profile-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .crosstalk-section-title {
    font-size: 24px;
  }

  .crosstalk-section-heading-box {
    font-size: 20px;
  }

  .crosstalk-section-subtitle {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .crosstalk-talk-item {
    gap: 10px;
    margin-bottom: 0;
  }

  .crosstalk-talk-avatar {
    width: 60px;
    height: 60px;
  }

  .crosstalk-talk-content {
    padding: 0 0 20px 20px;
    padding-top: 0;
  }

  .video-control {
    bottom: 15px;
    right: 15px;
  }

  .video-control-btn {
    padding: 10px 20px;
  }

  .member-profile-info { 
    padding-left: 5%;
  }

  .interview-header-breadcrumb {
    padding: 0;
    margin-top: 20px;
  }

  .interview-contents-wrapper-sp {
    margin-bottom: 110px;
  }

  #section1 {
    margin-top: -50px;
  }

  .training-page #section1 {
    margin-top: -80px;
    padding-top: 0;
  }

  .crosstalk-detail-page .interview-section-container {
    padding-top: 40px;
  }

}

@media (max-width: 576px) {
  .crosstalk-header {
    margin-bottom: 40px;
  }

  .crosstalk-header-breadcrumb {
    padding: 15px 0 0;
    margin-bottom: 25px;
  }

  .crosstalk-header-content-wrapper {
    padding: 0 0 30px;
  }

  .crosstalk-header-title {
    font-size: 28px;
    line-height: 1.7;
  }

  .crosstalk-hashtags {
    gap: 8px;
  }

  .crosstalk-hashtag {
    font-size: 14px;
    padding: 4px 14px;
  }

  .crosstalk-lead-text {
    font-size: 16px;
  }

  .member-profile-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .member-profile-photo-wrapper {
    aspect-ratio: 1 / 1;
  }

  .member-profile-info {
    padding: 20px 20px 0 30px;
  }

  .crosstalk-section-title {
    font-size: 20px;
  }

  .crosstalk-section-subtitle {
    font-size: 21px;
    margin-bottom: 30px;
  }

  .crosstalk-talk-item {
    gap: 0;
  }

  .crosstalk-talk-avatar {
    width: 50px;
    height: 50px;
  }

  .crosstalk-talk-content {
    padding: 0 0 15px 15px;
  }

  .crosstalk-talk-name {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .crosstalk-talk-text {
    font-size: 16px;
    line-height: 1.875;
  }

  .video-control-btn {
    padding: 8px 16px;
  }

  .video-control-text {
    font-size: 12px;
  }

  .interview-contents-wrapper-sp {
    margin-bottom: 80px;
  }

  .crosstalk-detail-page #section1 .interview-section-container {
    padding-bottom: 40px;
  }

  .training-page .interview-contents-wrapper-sp {
    margin-bottom: 120px;
  }

}

/* 偶数セクションの背景色 */
#section2 .interview-section-container,
#section4 .interview-section-container,
#section6 .interview-section-container {
  background-color: #EFEFEF;
}

/* ===============================================
   Training Page Specific Styles
   =============================================== */

/* Training Header Photo Wrapper */
.training-header-photo-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 40px;
  margin-bottom: 0;
  padding: 0;
}

.training-header-photo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 60px 60px 60px 60px;
}

@media (min-width: 992px) {
  .training-header-photo-img {
    aspect-ratio: 1280 / 480;
  }
}

/* Training Page Section Titles */
.training-page .interview-section-title {
  font-size: 36px;
}

/* Training Page Section Text */
.training-page .interview-section-text {
  font-size: 18px;
  line-height: 2;
}

/* Training Box Title */
.training-box-title {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  box-shadow: 6px 6px 0 #000000;
  font-size: 22px;
  font-weight: 500;
  padding: 3px 10px;
  margin-bottom: 28px;
}

/* Training List */
.training-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  margin-bottom: 35px;
}

.training-list li {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  margin-bottom: 18px;
}

.training-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: #000000;
  border-radius: 50%;
}

.training-list li:last-child {
  margin-bottom: 0;
}

/* Training Table */
.training-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 60px;
}

.training-table td {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: none;
  border-right: none;
  padding: 20px;
  vertical-align: middle;
}

.training-table-header {
  width: 200px;
  background-color: #EFEFEF;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}

.training-table-header-line1 {
  font-size: 18px;
}

.training-table-header-line2 {
  font-size: 16px;
}

.training-table-content {
  font-size: 16px;
  line-height: 2;
}

/* Training Reference Link */
.training-reference-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  margin-bottom: 40px;
}

.training-reference-text {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.training-reference-arrow {
  width: 32px;
  height: 32px;
  display: block;
  background-image: url('../img/arrow_right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

.training-reference-link:hover .training-reference-text {
  opacity: 0.7;
}

.training-reference-link:hover .training-reference-arrow {
  background-image: url('../img/arrow_right_hover.png');
}

/* Training Photo Grid */
.training-photo-grid {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.training-photo-item {
  flex: 1;
}

.training-photo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
}

.training-photo-caption {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 0;
  text-align: left;
}

@media (max-width: 991px) {
  .training-header-photo-wrapper {
    margin-top: 30px;
    margin-bottom: 0;
  }

  .training-page  .training-header-photo-wrapper {
    margin-top: 0;
    margin-bottom: 30px;
  }
  
  .training-header-photo-img {
    border-radius: 45px 45px 45px 45px;
  }

  /* Training Page Section Titles - Mobile */
  .training-page .interview-section-title {
    font-size: 22px;
  }

  /* Training Page Section Text - Mobile */
  .training-page .interview-section-text {
    font-size: 16px;
    line-height: 1.75;
  }

  /* Training Box Title - Mobile */
  .training-box-title {
    font-size: 20px;
    margin-bottom: 23px;
  }

  /* Training List - Mobile */
  .training-list li {
    font-size: 16px;
    margin-bottom: 14px;
  }

  /* Training Table - Mobile */
  .training-table {
    margin-bottom: 45px;
  }

  .training-table tr {
    display: block;
    margin-bottom: 0;
  }

  .training-table td {
    display: block;
    width: 100%;
    padding: 15px;
    border-left: none;
    border-right: none;
  }

  .training-table td:first-child {
    padding-left: 15px;
    padding-bottom: 15px;
    border-bottom: none;
    border-top: none;
  }

  .training-table tr:first-child td {
    border-top: 1px solid #000;
  }

  .training-table td:first-child br {
    display: none;
  }

  .training-table td:last-child {
    padding-top: 15px;
    font-size: 14px;
  }

  .training-table-header {
    width: 100%;
    text-align: left;
  }

  .training-table-header-line1 {
    font-size: 16px;
  }

  .training-table-header-line2 {
    font-size: 14px;
  }

  .training-table-content {
    font-size: 16px;
    line-height: 1.75;
  }

  /* Training Reference Link - Mobile */
  .training-reference-link {
    margin-bottom: 30px;
  }

  .training-reference-text {
    font-size: 14px;
  }

  .training-reference-arrow {
    width: 28px;
    height: 28px;
  }

  /* Training Photo Grid - Mobile */
  .training-photo-grid {
    flex-direction: column;
    gap: 30px;
  }

  .training-photo-img {
    border-radius: 20px;
  }

  .training-photo-caption {
    font-size: 16px;
    margin-top: 10px;
  }
}


.crosstalk-detail-page .crosstalk-title {
  position: relative;
  z-index: 1;
}