@charset "UTF-8";

/* ===================================
   Member Detail Page Specific Styles
   (Existing styles kept for detail page)
=================================== */

/* --- Header Logo Control --- */
.hdr .logo-white { display: none; }
.hdr .logo-color { display: block; }

/* 一覧ページなどで背景画像を敷く場合、スクロール時にロゴを切り替える */
.hdr.hdr__bg-dark {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background-color 0.4s, padding 0.4s;
  color: #fff;
}
.hdr.hdr__bg-dark .logo-color { display: none; }
.hdr.hdr__bg-dark .logo-white { display: block; }

@media screen and (max-width: 768px) {
  .hdr.hdr__bg-dark { padding: 10px 20px; }
}


/* --- Member List Page Styles --- */

/* List Page Header */
.member-list-header {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  color: #fff;
}

.member-list-header .header-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.member-list-header .header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-list-header .header-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.member-list-header .header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.member-list-header .page-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-list-header .page-title .en {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.member-list-header .page-title .ja {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Members Grid Layout */
.members-list-sec {
  background: #fff;
}

.members-grid {
  display: grid;
  /* PC: 4カラム */
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
}

.members-grid .member-card {
  height: 100%; /* 高さ揃え */
  transition: transform 0.3s, box-shadow 0.3s;
}

.members-grid .member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Responsive for List Page --- */
@media screen and (max-width: 1280px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .member-list-header { height: 250px; }
  .member-list-header .page-title .en { font-size: 2.5rem; }
  
  /* SP: 2カラム */
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* SPでのカード内フォントサイズ調整 */
  .members-grid .member-card__body {
    padding: 15px;
  }
  .members-grid .member-card .role {
    font-size: 0.85rem; /* 大きく修正 */
  }
  .members-grid .member-card .name {
    font-size: 1.2rem; /* 大きく修正 */
    margin-bottom: 5px;
    flex-wrap: wrap;
  }
  .members-grid .member-card .name .en {
    font-size: 0.8rem;
    display: block;
    width: 100%;
  }
  .members-grid .member-card .comment {
    font-size: 0.9rem; /* 大きく修正 */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* ----------------------------------------------------------------
   Common Member Card Styles & Detail Page Styles
---------------------------------------------------------------- */

/* --- Member Main Visual (FV) --- */
.member-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 600px;
  overflow: hidden;
}
.member-hero__bg { width: 100%; height: 100%; position: relative; }
.member-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-hero__bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.1); }
.member-hero__container { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: flex-end; padding-bottom: 60px; pointer-events: none; }
.member-hero__box { background: rgba(245, 166, 35, 0.95); backdrop-filter: blur(5px); color: #fff; padding: 50px 60px; max-width: 700px; width: 100%; position: relative; pointer-events: auto; box-shadow: 20px 20px 60px rgba(0,0,0,0.2); border-radius: 0 16px 0 0; }
.hero-copy { font-size: 2.4rem; font-weight: 900; line-height: 1.4; margin-bottom: 30px; letter-spacing: 0.05em; }
.hero-profile { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid rgba(255,255,255,0.4); padding-top: 20px; }
.hero-name { font-size: 1.8rem; font-weight: 700; }
.hero-role { font-size: 1rem; font-weight: 500; opacity: 0.9; }

/* --- Breadcrumb --- */
.breadcrumb { background: #f5f5f7; padding: 15px 0; }
.breadcrumb ul { display: flex; gap: 10px; font-size: 0.9rem; color: var(--c-text-light); }
.breadcrumb ul li:not(:last-child)::after { content: '>'; margin-left: 10px; }

/* --- Content Wrapper --- */
.member-content-wrapper { position: relative; overflow: hidden; padding-bottom: 0; }
#particles-js-member { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; }
.bg-watermark { position: absolute; top: 100px; right: -50px; font-family: var(--font-en); font-size: 15rem; font-weight: 900; color: rgba(0,0,0,0.03); z-index: -1; pointer-events: none; writing-mode: vertical-rl; }
.narrow-container { max-width: 900px; position: relative; z-index: 1; }

/* --- Q&A --- */
.interview-block { margin-bottom: 80px; display: flex; }
.interview-block:last-child { margin-bottom: 0; }
.interview-block.left { justify-content: flex-start; }
.interview-block.right { justify-content: flex-end; }
.qa-box { background: #fff; padding: 50px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); position: relative; max-width: 800px; width: 100%; border: none; }
.qa-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; border-bottom: 1px dashed #ddd; padding-bottom: 20px; }
.q-icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 1.4rem; border-radius: 50%; flex-shrink: 0; box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4); }
.q-text { font-size: 1.4rem; font-weight: 700; line-height: 1.5; color: var(--c-text); }
.qa-body p { font-size: 1.05rem; line-height: 2; color: #555; text-align: justify; }

/* --- Middle Image --- */
.member-mid-img-wide { width: 90%; max-width: 1280px; margin: 90px auto; position: relative; }
.member-mid-img-wide img { width: 100%; height: auto; border-radius: 4px; box-shadow: 20px 20px 0 rgba(245, 166, 35, 0.1); position: relative; z-index: 1; }
.img-decoration { position: absolute; top: -20px; left: 0; width: 100%; height: 100%; border: 2px solid var(--c-primary); z-index: 0; opacity: 0.3; transform: scale(0.95) translateX(-20px); }

/* --- Schedule --- */
.schedule-block { margin-top: 100px; margin-bottom: 100px; background: #fff; padding: 60px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; }
.schedule-ttl { margin-bottom: 40px; display: flex; flex-direction: column; gap: 5px; }
.schedule-ttl .en { font-family: var(--font-en); font-size: 2rem; color: var(--c-primary); font-weight: 700; letter-spacing: 0.1em; }
.schedule-ttl .ja { font-size: 1.2rem; font-weight: 700; }
.schedule-img img { width: 100%; height: auto; max-width: 1080px; margin: 0 auto; }

/* --- Message --- */
.message-section { background: var(--c-primary); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.message-section::before { content: 'MESSAGE'; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-size: 10rem; font-weight: 900; color: rgba(255,255,255,0.1); pointer-events: none; line-height: 1; }
.message-ttl { font-size: 2.2rem; font-weight: 900; text-align: center; margin-bottom: 50px; position: relative; }
.message-ttl::after { content: ''; display: block; width: 60px; height: 4px; background: #fff; margin: 20px auto 0; }
.message-content { font-size: 1.1rem; line-height: 2.2; text-align: justify; max-width: 900px; margin: 0 auto; }
.message-content p { margin-bottom: 1.5em; }
.message-content p:last-child { margin-bottom: 0; }

/* Swiper & Common Card Styles */
.members-slider-sec {
	overflow: hidden;
	padding-top: 0;
}


/* --- Related Links --- */
.related-links { display: flex; width: 100%; height: 300px; }
.related-link { width: 50%; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-decoration: none; }
.related-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease; z-index: 1; }
.related-link.item-company .related-bg { background-image: url('../images/company_thum.jpg'); filter: brightness(0.5); }
.related-link.item-service .related-bg { background-image: url('../images/service_thum.jpg'); filter: brightness(0.5); }
.related-link.item-recruit .related-bg { background-image: url('../images/recruit_thum.jpg'); filter: brightness(0.5); }
.related-link:hover .related-bg { transform: scale(1.1); filter: brightness(0.7); }
.related-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.related-content .en { font-family: var(--font-en); font-size: 2rem; font-weight: 700; letter-spacing: 0.1em; }
.related-content .ja { font-size: 1rem; font-weight: 500; }
.related-content .arrow { margin-top: 15px; font-size: 1.5rem; transition: transform 0.3s; }
.related-link:hover .arrow { transform: translateX(10px); }

/* --- Responsive Detail --- */
@media screen and (max-width: 1600px) {
   .member-hero__box { max-width: 560px; padding: 30px; }
}

@media screen and (max-width: 1024px) {
  .member-hero__box { padding: 40px; max-width: 90%; }
  .hero-copy { font-size: 2rem; }
  .related-links { flex-direction: column; height: auto; }
  .related-link { width: 100%; height: 200px; }
  .member-mid-img-wide { width: 95%; margin: 80px auto; }
}

@media screen and (max-width: 768px) {
  .member-hero { height: auto; min-height: auto; display: block; }
  .member-hero__bg { height: 350px; }
  .member-hero__container { position: relative; height: auto; padding: 0 20px; margin-top: -60px; padding-bottom: 0; display: block; }
  .member-hero__box { width: 100%; max-width: 100%; padding: 30px 20px; }
  .hero-copy { font-size: 1.6rem; margin-bottom: 20px; }
  .hero-name { font-size: 1.4rem; }
  
  .qa-block { margin-bottom: 60px; justify-content: center; }
  .qa-box { padding: 30px 20px; }
  .qa-head { flex-direction: column; gap: 10px; align-items: flex-start; }
  .q-icon { width: 50px; height: 50px; font-size: 1.2rem; }
  .q-text { font-size: 1.2rem; }
  
  .member-mid-img-wide { margin: 60px auto; width: 90%; }
  .img-decoration { top: -10px; transform: scale(0.95) translateX(-10px); }
  
  .schedule-block { padding: 30px 20px; margin: 60px 0; }
  .schedule-ttl .en { font-size: 1.6rem; }
  
  .message-section { padding: 80px 0; }
  .message-section::before { font-size: 4rem; top: 10px; }
  .message-ttl { font-size: 1.6rem; margin-bottom: 30px; }
  .message-content { font-size: 1rem; text-align: left; }
}