/* ----- トップ画像 ----- */
.top-image {
    margin-top: 50px;
    margin-bottom: 80px;
    position: relative;
    width: 100%;
    /* 親要素の幅に合わせる */
    height: auto;
    /* 高さは自動で調整（比率を維持） */
    display: block;
    /* 不要な余白を消すため */
    z-index: 5;
}

/* 交流会詳細ページ全体 */
.event-detail {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}
.event-detail-text {
    text-align: center;
}

.company-list-section {
    text-align: center;
    margin: 2em 0;
  }
  
  .company-list-title {
    font-weight: bold;
    margin-bottom: 1em;
  }
  
  .company-list {
    display: flex;
    flex-direction: column; /* ulを縦並びに */
    gap: 0.2em;
    align-items: center;    /* 中央寄せ（お好みで） */
  }
  
  .company-list ul {
    display: flex;
    flex-direction: row;      /* 横並び */
    flex-wrap: wrap;          /* 折り返し可 */
    gap: 0.5em 2em;           /* 行間・列間の余白 */
    padding: 0;
    margin: 0;
  }
  .mobile-br {
    display: none;
  }
  
  .company-list li {
    margin: 0;
    list-style: none;
    position: relative;
  padding-left: 1em;
    white-space: nowrap;      /* 長い社名の折り返し防止（必要に応じて） */
    /* list-style-position: inside; 点と文字の間隔を調整 */
  }
  .company-list li::marker {
    font-size: 0.7em;   /* 点を小さく */
  }
  .company-list li::before {
    content: '・';
    position: absolute;
    left: 0;
  }
  
  /* レスポンシブ対応：モバイル時は縦並び */
  @media (max-width: 600px) {
    .event-detail-text {
        text-align: left;
    }
    .company-list {
      flex-direction: column;
      align-items: center;
      align-items: flex-start;
    }
    .company-list ul {
      flex-direction: column;
      text-align: left;
      gap: 0.2em 2em;
      white-space: nowrap;
    }
    .mobile-br {
        display: block;
    }
  }

/* 左上、右下図形の装飾 */
.events-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
}
.events-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

.events-bg-left img {
    height: auto;
    width: 40%;
    object-fit: cover;
}

.events-bg-right img {
    height: auto;
    width: 30%;
    object-fit: cover;
}

/* コンテンツ本体 */
.event-detail-inner {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.student-voice {
    display: grid;
    grid-auto-rows: 1fr; /* すべての行の高さを自動で最大に揃える */
    gap: 1rem;           /* ボックス間の余白 */
  }
  
  .student-voice > div {
    display: flex;
    background-color: #fff7ee;
    padding: 1rem;
    border-radius: 8px;
    align-items: flex-start;
    /* margin-bottomは不要（gapで調整） */
    margin-bottom: 0;
  }
@media (max-width: 840px) {
    .event-detail-inner{
        width: 80%;
    }
}

/* タイトル */
.event-detail-title {
    text-align: center;
    margin-bottom: 20px;
}
.page-title.report ::before {
    content: "SCENE FROM THE EVENT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'LINESeedJP-Eb', sans-serif;
    font-size: clamp(16px, 6.5vw, 80px);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
    white-space: nowrap;
  }

/* タグ */
.tag-wrapper {
    text-align: center;
}
.event-detail-tag {
    font-family: 'LINESeedJP-Eb', sans-serif;
    font-size: 28px;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    background: linear-gradient(to right, #eebfa6, #e954a4);
    /* 左から右へのグラデーション */
    text-align: center;
    margin: 20px auto 40px auto;
}

.backstage {
  background: url("../image/2025/6gatu/bg-hougan.png") repeat;
  background-color: #fdf5f8;
  background-size: 100%;
  padding: 60px 20px;
  text-align: center;
}

.backstage h2 {
    display: block;
    background: #b3dc82;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.5;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
  }

  .member-voice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .member-voice-box {
    display: flex;
    align-items: flex-start;
    border: 2px solid #EA328B; /* ピンク枠 */
    border-radius: 10px;
    background: #FFFFFF;
    padding: 16px;
    gap: 16px;
  }
  
  .member-voice-photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .member-voice-border{
    border-bottom: 1px solid #F1AFAA;
    width: 95%;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  
  .member-voice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .member-voice-header {
    margin-bottom: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .role-badge {
    background: #EA328B;
    color: #fff;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.9em;
    margin-right: 8px;
  }

  .mobile-member-voice-header {
    display: none;
  }
  
  .university {
    color: #333;
    margin-right: 8px;
  }
  
  .name {
    color: #222;
    font-size: 1.1em;
  }
  
  .member-voice-text {
    color: #222;
    font-size: 1em;
  }

  .staff-section {
    margin-top: 60px;
    text-align: center;
  }
  
  .staff-title {
    display: inline-block;
    padding: 0.4em 1.5em;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    background: linear-gradient(90deg, #f8c08a 0%, #f36da7 100%);
    border-radius: 999px;
    box-shadow: none;
    border: none;
    letter-spacing: 0.05em;
  }
  
  .staff-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
  }
    

/* 削除予定　テキスト説明 */
.event-detail-text {
    margin-bottom: 50px;
}
.event-detail-text p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
}

.event-detail-text .emphasis {
    font-weight: bold;
    margin-bottom: 0;
}
/* 削除予定　ポイントリスト */
.event-detail-points {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.event-detail-points li {
    background-color: #fff0f5;
    padding: 8px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.event-detail-points img {
    width: 40px;
    height: auto;
    margin-right: 12px;
}

/* 削除予定　開催情報 */
.event-detail-info {
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 18px;
}

.event-detail-info p {
    margin: 0;
}
.event-detail-info .info-item {
    margin-top: 16px;
}
.attention {
    color:red;
    margin: 0;
}
.underline {
    border-bottom: 1px solid #dc5f9a;
    padding-bottom: 18px;
}

/* 削除予定　スケジュール */
.event-schedule {
    border-bottom: 1px solid #dc5f9a;
}
.event-schedule p {
    font-size: 18px
}
.event-schedule ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
}

.event-schedule li {
    padding-left: 10px;
    position: relative;
}





/* CTAボタン */
.event-application {
    text-align: center;
    margin-bottom: 80px;
}

.application-button {
    width: 50%;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #D74489;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #D74489;
    background: white;
    width: 80%;
    height: 42px;
    text-decoration: none;
    gap: 8px;
    margin-top: 20px;
    position: relative;
}

.btn-icon-wrapper {
    position: absolute;
    right: 0;
    height: auto;
    top: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 999px;
    box-sizing: border-box;
}

.btn-icon {
    background: #D74489;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 4px;
}

.btn span {
    margin-left: 6px;
}

.btn:hover {
    background: #D74489;
    color: white;
}

.btn:hover .btn-icon {
    background: white;
    color: #D74489;
}

@media (max-width: 670px) {
    .event-detail-tag {
        font-size: 1.5rem;
    }
    .application-button {
        width: 100%;
    }
    .btn {
        max-width: 340px;
        font-size: 14px;
    }
    .events-bg-right {
        display: none;
    }
    .member-voice-photo,
    .member-voice-header {
        display: none;
    }
    .mobile-member-voice-header {
        display: flex;
        flex-direction: row;
        gap:1rem;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .mobile-member-voice-photo img {
        width: 100px;
        height: 100px;
    }
    .mobile-member-voice-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mobile-member-voice-label .role-badge {
        display: inline-block;
        align-self: flex-start; 
    }

    .mobile-member-voice-label .name {
        font-size: 24px;
        padding-left: 2px;
    }
    .member-voice-border {
        display: none;
    }
}

@media screen and (max-width: 430px) {
    .events-bg-right img{
    width: 55%;
    }
    .event-detail-inner {
        width: 95%
    }
    .event-detail-text p,
    .event-detail-points p,
    .event-detail-info p,
    .event-schedule p {
        font-size: 16px;
    }
}