.recruit-header {
  width: 100%;
  height: 330px;
  margin-left: 50%;
  background-image: url('../img/mv_recruit.webp');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-title-wrapper {
  position: absolute;
  left: 50px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.recruit-en {
  background-color: white;
  color: var(--color-primitivie-color-promary-600);
  padding: 6px 16px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
}
.recruit .contents{
  gap: 10px;
}

.recruit-content-wrapper > p,
  body.recruit .h-2,
  .charm-list,.movie p,.faq-list{
    width: calc(100% - 40px);
    margin: auto;
    line-height: 1.8;
    letter-spacing: 0.4px;
  }
  body.recruit .recruit-buttons{
    width: calc(100% - 40px);
    margin: auto;
    margin-top: 30px;
  }

.recruit .breadcrumb{
  width: calc(100% - 40px);
  max-width: 980px;
  font-size: 13px;
  margin-bottom: 40px;
}

.recruit-header h1{
  font-size: 46px;
  font-weight: 700;
  background-color: white;
  padding: 6px 16px;
  margin: 0;
}

.recruit-content-wrapper {
  max-width: 1020px;
}

.recruitment-req{
  margin-top: 60px;
}
.recruit-btn {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: var(--color-primitivie-color-promary-600);
  border: 1px solid var(--color-primitivie-color-promary-600);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: 6px 6px 10px rgba(202, 215, 227, 0.4);
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 50%;
}

.recruit-btn:hover {
  background-color: var(--color-primitivie-color-promary-600);
  color: white;
}

.recruit-btn .arrow {
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
  line-height: 1;
  position: relative;
  right: 0px;
  width: 12px;
}

.taxi-driver{
  margin-top: 40px;
}

.taxi-driver-pc {
  display: block;
}

.taxi-driver-sp {
  display: none;
}

.office-staff-pc {
  display: block;
}

.office-staff-sp {
  display: none;
}

.office-staff{
  margin-top: 100px;
}

.taxi-driver,.office-staff {
  background-color: var(--color-primitivie-color-natral-200);
  padding: 20px 20px 60px;
  border-radius: 10px;
  width: calc(100% - 40px);
  margin: 40px auto 0px;
}

.office-staff{
  margin-top: 100px!important;
  margin-bottom: 20px;
}

.taxi-driver dl {
  margin: 20px 0 0 0;
  padding: 20px 40px;
}

.taxi-driver .dl-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.taxi-driver dt {
  font-weight: bold;
  min-width: 160px;
  margin-right: 20px;
}

.taxi-driver dd {
  margin: 0;
  flex: 1;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.requirement-item:last-child {
  margin-bottom: 0;
}

.requirement-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.requirement-text {
  flex: 1;
}

.application-info {
  padding: 0px 40px;
}

.application-info p {
  line-height: 1.8;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 40px;
}

.driver-charm {
  margin-top: 100px;
}

.charm-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
}

.charm-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 10px;
}

.charm-image {
  max-width: 430px;
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 6%;
  flex-shrink: 0;
}

.charm-text {
  flex: 1;
}

.charm-text h3 {
  margin: 0 0 10px 0;
  font-size: 32px;
  font-weight: 700;
  position: relative;
  padding-top: 40px;
}

.charm-text h3::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primitivie-color-promary-600);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
}

.charm-item:nth-child(1) .charm-text h3::before {
  content: "01";
}

.charm-item:nth-child(2) .charm-text h3::before {
  content: "02";
}

.charm-item:nth-child(3) .charm-text h3::before {
  content: "03";
}

.charm-item:nth-child(4) .charm-text h3::before {
  content: "04";
}

.charm-text p {
  margin: 0;
  line-height: 1.8;
}

.office-staff .application-info p{
  margin-top: 40px;
}

.movie {
  margin-top: 100px;
}

.movie p {
  margin: 20px auto 20px;
  font-size: 18px;
  width: calc(100% - 40px);
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* カラム間の余白 */
}

.tiktok-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.tiktok-wrapper blockquote.tiktok-embed,
.tiktok-wrapper iframe {
  width: 100% !important;   /* 横幅100% */
  max-width: 100%;
  min-width: 0;
}

.overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
  background: rgba(0,0,0,0); /* 完全透明 */
  text-decoration: none;
}


.tiktok-more-btn {
  text-align: center;
  margin: 40px auto 0;
  width: calc(100% - 40px);
}

.btn-tiktok-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  gap: 12px;
}

.btn-tiktok-more:hover {
  opacity: 0.8;
}

.tiktok-icon-btn {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.faq {
  margin: 100px 0px 60px;
}

.faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 14px;
  border: 1px solid  var(--color-primitivie-color-promary-600);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 6px 6px 10px rgba(202, 215, 227, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: white;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-arrow {
  transition: transform 0.3s;
  font-size: 14px;
  color:  var(--color-primitivie-color-promary-600);;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

.faq-answer p {
  padding: 20px;
  margin: 0;
  line-height: 1.8;
}

.q-mark {
  color: var(--color-primitivie-color-promary-600)!important;
  font-weight: bold;
  margin-right: 5px;
}

.a-mark {
  color: var(--color-semantic-color-background-secondary);
  font-weight: bold;
  margin-right: 5px;
}

.faq-question span{
  color: var(--color-semantic-color-text-primary);
}

/* スマホ対応 */
@media (max-width: 768px) {
  body.recruit .fixed-header-sp {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.recruit .recruit-buttons{
    margin-top: 20px;
  }
  body.recruit .fixed-header-sp {
    box-shadow: none !important;
  }
  
  body.recruit .fixed-header-sp.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  body.recruit .menu-btn-fixed-independent {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .recruit-header{
    margin-left: 40px;
    height: 220px;
    background-position: left;
  }

  .recruit-en{
    font-size: 15px;
    padding: 2px 8px 2px 16px;
  }

  .recruit-header h1{
    font-size: 30px;
    padding: 2px 8px 2px 16px;
  }
  .recruit-title-wrapper{
    left: 0px;
    gap:2px;
  }

  .recruit .breadcrumb{
    margin-bottom: 20px;
  }
  
  .recruitment-req{
    margin-top: 40px;
  }

  .recruit-btn{
    display:flow-root;
    font-size: 15px;
    text-align: center;
    position: relative;
    padding: 12px 12px 20px;
    line-height: 1.4;
  }
  .recruit-btn .arrow{
    position: absolute;
    left: 48%;
    margin-top: 30px;
  }
  .recruit.main-container {
    margin-top: 64px;
  }
  .taxi-driver dl{
    padding: 10px 20px;
  }
  .taxi-driver .dl-row{
    display: flow-root;
  }

  .application-info{
    padding: 0px 20px;
    font-size: 15px;
  }
  .application-info p{
    font-size: 16px;
  }
  .taxi-driver,.office-staff {
    padding: 0px 0px 60px;
    width: 100%;
  }

  .taxi-driver-pc {
    display: none;
  }

  .taxi-driver-sp {
    display: block;
    width: 100%;
    height: auto;
  }

  .office-staff-pc {
    display: none;
  }

  .office-staff-sp {
    display: block;
    width: 100%;
    height: auto;
  }

  .driver-charm{
    margin-top: 70px;
  }
  .charm-item{
    display: flow-root;
  }
  .charm-text h3{
    font-size: 22px;
    padding-left: 32px;
    padding-top: 6px;
    margin-bottom: 6px;
  }
  .taxi-driver dt{
    margin-bottom: 12px;
  }
  .charm-text h3::before{
    top: auto;
    font-size: 20px;
  }

  .charm-list{
    margin: 20px auto 40px;
  }
  
  .charm-image{
    max-width: 100%;
    width: 100%;
    margin-right: 0px;
  }

  .tiktok-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    transform: scale(0.6);
    transform-origin: top left;
    justify-content: flex-start !important;
    width: 167% !important;
    overflow: visible !important;
    margin-bottom: -120px !important;
    height: 1080px !important;
    padding: 0px 20px;
  }

  .tiktok-wrapper{
    width:calc(50% - 10px) !important;
    margin: 0px;
  }

 .ttiktok-grid .tiktok-embed {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    overflow: hidden !important;
    display: inline-block !important;
  }
  
  .tiktok-grid .tiktok-embed:nth-child(3) {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    margin: 0px;
  }
  
  .tiktok-grid .tiktok-embed blockquote,
  .tiktok-grid .tiktok-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .movie{
    margin-top: 70px;
  }

  .movie p{
    font-size: 16px;
    margin-bottom: 20px;
  }

  .faq{
    margin: 70px 0px 20px;
  }
  .faq-list{
    margin-top: 20px;
  }
}