.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 0.4s;
}

.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (min-width:768px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  .pc-br {
    display: inline;
  }

}

.interview-section {
  padding: 60px 20px;
  text-align: center;
  color: #333;
}

.interview-header .lead {
  margin-top: 40px;
  font-size: 14px;
  line-height: 2;
  text-align: center;
}

.title {
  font-size: 24px;
  letter-spacing: 0.1em;
}

.title span {
  display: block;
  font-size: 14px;
  color: #888;
  margin-top: 5px;
}

.lead-text {
  font-size: 14px;
  line-height: 1.8;
  margin: 30px 0;
}

input[name="interview-tab"] {
  display: none;
}

.tab-labels {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.label-item {
  cursor: pointer;
  width: 150px;
  text-align: center;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background: #eee;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-item p {
  display: none;
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.4;
  color: #6a7fad;
}

#tab1:checked~.tab-labels label[for="tab1"] p,
#tab2:checked~.tab-labels label[for="tab2"] p,
#tab3:checked~.tab-labels label[for="tab3"] p,
#tab4:checked~.tab-labels label[for="tab4"] p {
  display: block;
}

.label-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  min-height: 120px;
  cursor: pointer;
}

.circle {
  width: 120px;
  height: 120px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#tab1:checked~.tab-labels label[for="tab1"] .circle,
#tab2:checked~.tab-labels label[for="tab2"] .circle,
#tab3:checked~.tab-labels label[for="tab3"] .circle,
#tab4:checked~.tab-labels label[for="tab4"] .circle {
  border: 2px solid #6a7fad;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#tab1:checked~.tab-labels label[for="tab1"] p,
#tab2:checked~.tab-labels label[for="tab2"] p,
#tab3:checked~.tab-labels label[for="tab3"] p,
#tab4:checked~.tab-labels label[for="tab4"] p {
  color: #6a7fad;
  border-bottom: 2px solid #6a7fad;
}

.content {
  display: none;
  max-width: 1200px;
  height: auto !important;
  margin: 0 auto;
  flex-direction: column;
  display: flex;
  align-items: center;
  min-height: 300px;
  position: relative;
  text-align: left;
}

.interview-content-wrapper .content {
  display: none;
}

.content-1,
.content-2,
.content-3,
.content-4 {
  display: none;
  position: relative;
  width: 1000px;
  padding-bottom: 60px;
}

#tab1:checked~.interview-content-wrapper .content-1 {
  display: flex;
}

#tab2:checked~.interview-content-wrapper .content-2 {
  display: flex;
}

#tab3:checked~.interview-content-wrapper .content-3 {
  display: flex;
}

#tab4:checked~.interview-content-wrapper .content-4 {
  display: flex;
}

.interview-content-wrapper {
  position: relative;
  background: transparent;
  width: 1000px;
  margin: 0 auto;
  margin-top: 120px;
}

.interview-content-wrapper::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #eee;
  transition: transform 0.3s ease;
}

/* ----------------------------------
   選択されているボタンに応じて三角を移動させる
   ※丸い画像の中心に合うように調整
---------------------------------- */
/* 1人目選択時 */
#tab1:checked~.interview-content-wrapper::before {
  transform: translateX(calc(50% - -230px));
  /* 1つ目の丸の下 */
}

/* 2人目選択時（数値はボタンの幅や間隔に合わせて調整してください） */
#tab2:checked~.interview-content-wrapper::before {
  transform: translateX(calc(50% + 380px));
}

/* 3人目選択時 */
#tab3:checked~.interview-content-wrapper::before {
  transform: translateX(calc(50% + 530px));
}

/* 4人目選択時 */
#tab4:checked~.interview-content-wrapper::before {
  transform: translateX(calc(50% + 680px));
}

.absolute-name {
  position: absolute;
  top: -80px;
  left: 150px;
  width: 220px;
  text-align: center;
  pointer-events: none;
  padding-top: 10px;
  border-bottom: 2px solid #7C8EB6;
  border-right: 2px solid #7C8EB6;
}

.absolute-name .dept {
  font-size: 14px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.absolute-name .name {
  font-size: 18px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.absolute-name02 {
  position: absolute;
  top: -80px;
  left: 300px;
  width: 220px;
  text-align: center;
  pointer-events: none;
  padding-top: 10px;
  border-bottom: 2px solid #7C8EB6;
  border-right: 2px solid #7C8EB6;
}

.absolute-name02 .dept {
  font-size: 14px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.absolute-name02 .name {
  font-size: 18px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.absolute-name03 {
  position: absolute;
  top: -80px;
  left: 450px;
  width: 220px;
  text-align: center;
  pointer-events: none;
  padding-top: 10px;
  border-bottom: 2px solid #7C8EB6;
  border-right: 2px solid #7C8EB6;
}

.absolute-name03 .dept {
  font-size: 14px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.absolute-name03 .name {
  font-size: 18px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.absolute-name04 {
  position: absolute;
  top: -80px;
  left: 600px;
  width: 220px;
  text-align: center;
  pointer-events: none;
  padding-top: 10px;
  border-bottom: 2px solid #7C8EB6;
  border-right: 2px solid #7C8EB6;
}

.absolute-name04 .dept {
  font-size: 14px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.absolute-name04 .name {
  font-size: 18px;
  color: #7C8EB6;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.name-inner {
  display: block;
  font-size: 24px;
  margin-bottom: 20px;
}

.main-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: #D3DAEB;
  padding: 100px 40px;
}

.image-box {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.text-box {
  flex: 1;
  text-align: left;
}

.image-box {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.text-box {
  width: 50%;
  padding-left: 40px;
}

.text-box .name {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.text-box .dept {
  font-size: 14px;
  margin-bottom: 20px;
}

.question {
  font-size: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  display: inline-block;
}

.answer {
  font-size: 14px;
  line-height: 2;
}

.bottom-decoration {
  position: relative;
   !important;
  bottom: 0;
  height: auto !important;
  width: 100%;
  min-height: 250px;
  padding-bottom: 80px;
}

.bg-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  font-weight: bold;
  color: #D3DAEB;
  white-space: nowrap;
  z-index: 0;
  letter-spacing: 0.2em;
  top: -30px;
}

.circle-decoration {
  position: relative;
  margin: 0 auto;
  margin-top: 200px;
  margin-bottom: 100px;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  top: 0;
  transform: none;
}

.circle-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(107, 131, 185, 0.2);
  border-radius: 50%;
  z-index: 1;
}

.circle-text {
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding: 0 10px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.interview02 {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background-color: #fff;
  height: 1080px;
}

.interview-content-wrapper,
.content,
.content-1 {
  overflow: visible !important;
}

.interview02-inner {
  display: flex;
  gap: 80px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.interview02-inner .image-box02 {
  width: 50%;
  flex-shrink: 0;
  margin-left: calc(50% - 50vw);
  position: absolute;
  top: 120px;
}

.interview02-inner .text-area {
  width: 55%;
  text-align: left;
  position: absolute;
  right: 0;
}

.interview02-inner .image-box03 {
  width: 50%;
  flex-shrink: 0;
  margin-right: calc(50% - 50vw);
  position: absolute;
  top: 140px;
  right: 0;
}

.interview02-inner .text-area02 {
  width: 55%;
  text-align: left;
  position: absolute;
  left: 0;
}

.interview02-inner .image-box04 {
  width: 50%;
  flex-shrink: 0;
  margin-left: calc(50% - 50vw);
  position: absolute;
  top: 140px;
}

.bg-dot {
  position: absolute;
  left: 28%;
  width: 650px;
  height: 650px;
  z-index: 0;
}

.interview02.content {
  position: relative;
  display: flex;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

h3.label {
  background: #d8dbe3;
  padding: 24px 0 24px 100px;
  font-weight: bold;
  margin-bottom: 40px;
  width: 60vw;
  margin-right: calc(50% - 50vw);
  letter-spacing: 0.6em;
}

h3.label span {
  font-weight: bold;
  font-size: 30px;
}

h3.label02 {
  background: #d8dbe3;
  padding: 24px 0 24px 200px;
  font-weight: bold;
  margin-bottom: 40px;
  width: 60vw;
  box-sizing: border-box;
  letter-spacing: 0.6em;
  line-height: 1.2;
}

h3.label02 span {
  font-weight: bold;
  font-size: 30px;
}


.scroll-text {
  padding-right: 10px;
  position: absolute;
  left: 200px;
  top: 120px;
}
}

.scroll-text p {
  line-height: 1;
  font-size: 14px;
  width: 32em;
  text-align: justify;
  text-align-last: justify;
}

.scroll-text p.short {
  line-height: 1;
  font-size: 14px;
  width: 32em;
  text-align: left;
  letter-spacing: 5px;
}

.scroll-text p::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.scroll-text p span {
  line-height: 1;
  font-size: 24px;
  font-weight: bold;
}

.scroll-text02 {
  padding-right: 10px;
  position: absolute;
  left: 240px;
  top: 140px;
}

.scroll-text02 p {
  line-height: 1;
  font-size: 14px;
  width: 32em;
  text-align: justify;
  text-align-last: justify;
}

.scroll-text02 p::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.scroll-text02 p span {
  line-height: 1;
  font-size: 24px;
  font-weight: bold;
}

.scroll-text03 {
  padding-right: 10px;
  position: absolute;
  left: 200px;
  top: 140px;
}

.scroll-text03 p {
  line-height: 1;
  font-size: 14px;
  width: 32em;
  text-align: justify;
  text-align-last: justify;
}

.scroll-text03 p::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.scroll-text03 p span {
  line-height: 1;
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }

  .interview-header .lead {
    padding: 0 10%;
    font-size: 0.12rem;
  }

  .interview-section {
    padding: 60px 10%;
    text-align: center;
    color: #333;
  }

  .tab-labels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .label-item {
    width: 100%;
  }

  .circle {
    width: 150px;
    height: 150px;
  }

  .interview-content-wrapper {
    width: 100%;
  }

  #tab1:checked~.interview-content-wrapper::before {
    transform: translateX(-50%);
    left: 50%;
  }

  #tab2:checked~.interview-content-wrapper::before {
    transform: translateX(-50%);
    left: 50%;
  }

  #tab3:checked~.interview-content-wrapper::before {
    transform: translateX(-50%);
    left: 50%;
  }

  #tab4:checked~.interview-content-wrapper::before {
    transform: translateX(-50%);
    left: 50%;
  }

  .absolute-name {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    pointer-events: none;
    padding-top: 10px;
    border-bottom: 2px solid #7C8EB6;
    border-right: 2px solid #7C8EB6;
  }

  .absolute-name02 {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
  }

  .absolute-name03 {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
  }

  .absolute-name04 {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
  }

  .content-1,
  .content-2,
  .content-3,
  .content-4 {
    width: 100%;
  }

  .main-layout {
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
  }

  .image-box {
    width: 100%;
    flex: none;
  }

  .image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .text-box {
    width: 100%;
    flex: none;
    padding-left: 0;
  }

  .text-box .name {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .text-box .dept {
    font-size: 0.12rem;
    margin-bottom: 12px;
  }

  .question {
    font-size: 0.12rem;
    display: block;
    margin-bottom: 10px;
  }

  .answer {
    font-size: 0.12rem;
    line-height: 1.9;
  }

  .bg-text {
    font-size: clamp(32px, 8vw, 80px);
    max-width: 90vw;
    letter-spacing: 0.02em;
    top: -10px;
  }

  .bottom-decoration {
    padding-bottom: 0;
  }

  .circle-decoration {
    margin-top: 100px;
  }

  .interview02 {
    height: auto;
    padding-bottom: 20px;
  }

  .interview02-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: static;
  }

  .interview02-inner .image-box02,
  .interview02-inner .image-box03,
  .interview02-inner .image-box04 {
    width: 100%;
    position: static;
    margin-left: 0;
    margin-right: 0;
    top: auto;
    right: auto;
  }

  .interview02-inner .image-box02 img,
  .interview02-inner .image-box03 img,
  .interview02-inner .image-box04 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .interview02-inner .text-area,
  .interview02-inner .text-area02 {
    width: 100%;
    position: static;
    left: auto;
    right: auto;
  }

  .bg-dot {
    display: none;
  }

  h3.label,
  h3.label02 {
    width: 100%;
    padding: 16px 20px;
    margin-right: 0;
    margin-bottom: 24px;
    letter-spacing: 0.2em;
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
  }

  h3.label span,
  h3.label02 span {
    font-size: 20px;
  }

  .scroll-text,
  .scroll-text02,
  .scroll-text03 {
    position: static;
    left: auto;
    top: auto;
    padding: 0 10% 40px;
  }

  .scroll-text p,
  .scroll-text02 p,
  .scroll-text03 p {
    width: 100%;
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
    ;
    text-align-last: justify;
    ;
  }

  .scroll-text p::after,
  .scroll-text02 p::after,
  .scroll-text03 p::after {
    display: none;
  }

  .scroll-text p span,
  .scroll-text02 p span,
  .scroll-text03 p span {
    font-size: 17px;
  }

  .scroll-text p,
  .scroll-text02 p,
  .scroll-text03 p {
    font-size: 2.5vw;
    white-space: nowrap;
  }

  .scroll-text p.short {
    line-height: 1;
    font-size: 12px;
    width: 100%;
    text-align: left;
    text-align-last: left;
    letter-spacing: 5px;
  }

  .next.recruit {
    padding-top: 80px;
    padding-bottom: 0;
  }
}
