
/* ─── STAFF SECTION ─── */


.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 36px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: center;
}

.section-heading h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark);
}

.section-heading .en {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #aaa;
  letter-spacing: 0.15em;
  font-style: italic;
}

.staff-intro {
  font-size: 13.5px;
  line-height: 2;
  color: var(--gray-text);
  margin-bottom: 60px;
  max-width: 640px;
}

/* ─── STAFF CARD ─── */

.staff-section{
  margin-top: 80px;
}

.staff-card {
  display: flex;
  align-items: stretch;
  margin-bottom: 40px;
  background: var(--gray-light);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.staff-card::before {
  display: block;
  content: '';
  position: absolute;
  height: 50%;
  width: 100vw;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  background: #f3f3f3;
  z-index: -1;
}

.staff-card.reverse {
  flex-direction: row-reverse;
}

.staff-card__img {
    min-width: 340px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    width: 50%;
}

.staff-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.staff-card:hover .staff-card__img img {
  transform: scale(1.04);
}

/* ─── DUAL IMAGE (大賀カード) ─── */
.dual-img {
  position: relative;
  aspect-ratio: 1 / 1;
}

.dual-img .img-bike,
.dual-img .img-person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* それぞれ独立した transition */
  transition: opacity 0.9s ease, transform 0.5s ease;
}

/* 初期状態：バイクが見える、人物は透明 */
.dual-img .img-bike   { opacity: 1; z-index: 2; }
.dual-img .img-person { opacity: 0; z-index: 1; }

/* scroll でカードが中央に入ったとき：人物が表示される */
.dual-img.show-person .img-bike   { opacity: 0; }
.dual-img.show-person .img-person { opacity: 1; }

/* hover 時：画像エリアにマウスが乗ったときだけ人物→バイクに戻す（全カード共通） */
.dual-img.show-person:hover .img-bike   { opacity: 1; }
.dual-img.show-person:hover .img-person { opacity: 0; }

.staff-card__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.role-name{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.staff-card__role {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #a0002b;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-left: 3px solid var(--red);
  padding-left: 10px;
  font-style: italic;
}

.staff-card__name-ja {
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.staff-card__name-en {
  font-size: 0.9rem;
  color: #fff;
  font-style: italic;
  border-bottom: 1px solid var(--gray-mid);
  display: block;
  background: #a0002b;
  text-align: end;
  font-weight: 600;
  padding-right: 10px;
  line-height: 2;
  transform: skewX(-15deg);
}

.staff-card__desc {
  line-height: 2;
  color: var(--gray-text);
  margin-top: 20px;
}

.chapman-san .role-name {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
}

.chapman-san .staff-card__name-ja{
  font-size: 3.5rem;
  text-align: end;
  width: 100%;
  letter-spacing: -2px;
}

.staff-card__desc span{
  display: inline-block;
  background: #555;
  color: #fff;
  padding: 2px 3px 4px 5px;
  transform: skewX(-10deg);
  line-height: 1;
  margin-left: 5px;
}


/* ─── RECRUIT SECTION ─── */
.recruit-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.recruit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.recruit-inner {
  display: flex;
  min-height: 480px;
  position: relative;
}

.recruit-photo {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(60%) contrast(1.1);
  transition: filter 0.6s ease;
}

.recruit-section:hover .recruit-photo img {
  filter: grayscale(30%) contrast(1.1);
}

.recruit-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--dark));
}

.recruit-content {
  background: #f3f3f3;
  flex: 1;
  padding: 60px 60px 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.recruit-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.recruit-title .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}

.recruit-title .sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
}

.recruit-divider {
  width: 48px;
  height: 3px;
  background: var(--red-accent);
  margin-bottom: 28px;
}

.recruit-lead {
  color: #a0002b;
  line-height: 1.9;
  margin-bottom: 16px;
  font-weight: 600;
  margin-top: 20px;
}

.recruit-lead span{
  display: block;
  background: #a0002b;
  color: #fff;
  padding-left: 15px;
  line-height: 2;
  transform: skewX(-15deg);
  text-align: left;
  font-size: 1.15rem;
}

.recruit-body {
  font-size: 1rem;
  color: #000;
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap:10px;
}

.recruit-body li {
  padding: 0 15px;
}

.recruit-body li p{
  position: relative;
  left: 30px;
}

.recruit-body li p::after{
  position: absolute;
  content: '';
  display: block;
  background: url("../img/icon/check.png") no-repeat center;
  background-size:  cover;
  width: 25px;
  aspect-ratio:1/1;
  left: -30px;
  top:0;
}

.recruit-content .btn-box{
    margin-left: 0;
    margin-top: 0;
}


.recruit-content .btn::after {
    border-right: 2px solid rgba(161, 0, 0, 1);
    border-top: 2px solid rgba(161, 0, 0, 1);
 }

.recruit-content .btn:hover::after {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
 }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  
  .staff-section {
    margin-top: 20px;
  }

  .staff-card__body {
    padding: 20px;
  }
  
  .staff-card__name-ja {
    font-size: 48px;
  }
  
  .staff-card__name-ja,
  .chapman-san .staff-card__name-ja {
    font-size: min(60px, 4.9vw);
    letter-spacing: 0;
  }
  
  .staff-card::before {
    height: 80%;
  }
  
  .recruit-photo {
    width: 50%;
    min-width: 400px;
  }
  
  .recruit-content {
    background: #f3f3f3;
    padding: 30px;
  }
  
  .recruit-title .big {
    font-size: 60px;
    line-height: 1;
    letter-spacing: 0;
  }
  
}


@media (max-width: 1000px) {
  
  .recruit-title {
    gap: 10px;
    flex-direction: column;
  }
  
  .recruit-title .big {
    font-size: min(60px, 4.9vw);
  }
  
  .recruit-title .sub {
     position: relative;
  }
  
  .recruit-title .sub::after {
    position: absolute;
    content: '';
    display: block;
    background: #000;
    width: 5px;
    height: 1px;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
  }
  
  .recruit-title .sub::before {
    position: absolute;
    content: '';
    display: block;
    background: #000;
    width: 5px;
    height: 1px;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
  }
  
  .recruit-lead span {
    transform: skewX(0deg);
    text-align: center;
    font-size: 0.9rem;
  }
  
  .recruit-title {
    gap: 5px;
    flex-direction: column-reverse;
    align-items: center;
  }
  
  .recruit-content .btn-box {
    margin: auto;
    transform: skewX(0);
  }
  
}

@media (max-width: 768px) {
  .staff-section { 
    padding: 0; 
  }
  
  .role-name {
    align-items: center;
    flex-direction: column;
  }
  
  .staff-card__role {
    letter-spacing: 0;
    padding-left: 0;
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-style: normal;
    position: relative;
  }
  
  .staff-card__role::after {
    position: absolute;
    content: '';
    display: block;
    background: #a0002b;
    width: 4px;
    height: 1px;
    top:50%;
    left: -10px;
    transform: translateY(-50%);
  }
  
   .staff-card__role::before {
    position: absolute;
    content: '';
    display: block;
    background: #a0002b;
    width: 4px;
    height: 1px;
    top:50%;
    right: -10px;
    transform: translateY(-50%);
  }
  

  .staff-card, .staff-card.reverse {
    flex-direction: column;
    background: #f3f3f3;
    padding: 20px;
  }

  .staff-card__img {
    width: 100%;
    min-width: 100%;
  }

  .staff-card__body {
    padding: 20px 20px;
    background: #fff;
  }

  .staff-card__name-ja { 
    margin-bottom: 10px;
    font-size: max(30px, 5vw); 
  }

  .recruit-inner { 
    flex-direction: column; 
  }
  
  .recruit-photo { 
    min-width: 100%;
    width: 100%; 
    aspect-ratio: 1920 / 1080;
    height: inherit; 
  }
  
  .recruit-photo::after { 
    background: linear-gradient(to bottom, transparent 60%, var(--dark)); 
  }
  
  .recruit-content { 
    padding: 40px 24px; 
  }
  
  .recruit-title .big { 
    font-size: 52px; 
  }
  
  
  .staff-card__name-en {
    font-size: 0.75rem;
    font-style: normal;
    text-align: center;
    padding-right: 0;
    transform: skew(0);
  }
  
  .staff-card__desc {
      margin-top: 10px;
  }
  
  .chapman-san .role-name {
    align-items: center;
  }
  
  .chapman-san .staff-card__name-ja {
    text-align: center;
    font-size: max(26px, 5vw);
  }
  
  .recruit-body li {
    padding: 0;
  }
  
  .recruit-body li p {
    left: 20px;
    padding-right: 20px;
  }
  
  .recruit-body li p::after {
    width: 20px;
    aspect-ratio: 1 / 1;
    left: -20px;
  }
}
