@charset "utf-8";
/*==========================
contents　pc
==========================*/
.contents {
  position: relative;
  padding: 170px 0 100px;
}
.relative{
 position: relative;
}
.contents .midashi {
  position: absolute;
  top: -54px;
  left: 0px;
}

.contents__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--primary-black);
  border-left: 2px solid var(--primary-black);
}

.contents__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 40px;
  background-color: var(--primary-white);
  border-right: 2px solid var(--primary-black);
  border-bottom: 2px solid var(--primary-black);
    transition: 0.3s;
}

.contents__item:hover {
  background: var(--primary-yellow);
  color: var(--primary-black);
  text-shadow: none;
}

.contents__item img {
  width: 278px;
  height: 156px;
  display: block;
  object-fit: cover;
}

.contents__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 156px;
}

.contents__text p {
  margin-bottom: 8px;
}

.contents__text h3 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.contents__text span {
  margin-top: auto;
  display: block;
  font-size: 1.6rem;
}

.contents__item--large {
  grid-row: span 2;
  display: block;
  padding: 100px 40px 40px;
  background-color: var(--primary-white);
  border-right: 2px solid var(--primary-black);
  border-bottom: 2px solid var(--primary-black);
}

.contents__item--large img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.contents__item--large .contents__text {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 120px;
}

.contents__item--large .contents__text span {
  margin-top: auto;
  text-align: right;
}

/* contents sp */
@media screen and (max-width: 768px) {
  .contents {
    padding: 110px 0 64px;
    margin: 0 auto;
  }

  .contents .midashi {
    position: absolute;
    top: -46px;
    left: 0px;
  }

  .contents__list {
    display: block;
    border-top: 2px solid var(--primary-black);
    border-left: 2px solid var(--primary-black);
    border-right: 2px solid var(--primary-black);
  }

  .contents__item,
  .contents__item--large {
    display: block;
    padding: 24px 16px;
    margin: 0;
    border: 0;
    border-bottom: 2px solid var(--primary-black);
    background: var(--primary-white);
  }

  .contents__item--large {
    padding: 80px 16px 24px;
  }

  .contents__item img,
  .contents__item--large img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
  }

  .contents__text {
    display: block;
    height: auto;
  }

  .contents__text p {
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 8px;
  }

  .contents__text h3 {
    font-size: 2.4rem;
    margin-bottom: 12px;
  }

  .contents__text span {
    display: block;
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-top: 0;
  }
}

/*==========================
animationn pc
==========================*/
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-animation 20s linear infinite;
  font-size: 13rem;
  line-height: 1;
  color: var(--primary-gray);
  -webkit-text-stroke: 2px var(--primary-black);
}
@keyframes marquee-animation {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* contents sp */
@media screen and (max-width: 768px) {
  .marquee p {
    font-size: 10rem;
  }
}

/*==========================
guidlines　pc
==========================*/
.guidlines {
  padding: 100px 0 80px;
}

.guidlines_txt {
  display: flex;
  justify-content: center;
}

/* guidlines sp */
@media screen and (max-width: 768px) {
  .guidlines {
    padding: 64px 0 54px;
  }
  .guidlines_txt {
    margin: 0 18px;
    font-size: 1.5rem;
    line-height: 1.9;
  }
}

/*==========================
guidlines2　pc
==========================*/
.guidlines2 {
  padding: 32px 0 80px;
}

/* guidlines2 sp */
@media screen and (max-width: 768px) {
  .guidlines2 {
    padding: 0px 0 54px;
  }

}

/*==========================
flow　pc
==========================*/
.flow {
  border-top: 2px solid var(--primary-black);
  border-bottom: 2px solid var(--primary-black);
  background-color: var(--secondary-gray);
  padding: 80px 0;
}

.flow__list {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  position: relative;
}

.flow__item {
  width: 210px;
  height: 210px;
  border: 2px solid var(--primary-black);
  border-radius: 50%;
  overflow: hidden;
}

.flow__list::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--primary-black);
  transform: translateY(-50%);
}

.flow__top {
  height: 50%;
  background: var(--primary-black);
  color: var(--primary-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
}

.flow__bottom {
  height: 50%;
  background: var(--primary-white);
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
  line-height: 24px;
  padding: 16px 0;
}

.flow .midashi {
  position: relative;
  display: inline-block;
}

.flow .midashi-tab,
.flow .midashi-box {
  position: relative;
  z-index: 2;
}

.midashi-bar_flow {
  position: absolute;
  bottom: 95%;
  left: 30px;
  display: block;
}

/* flow sp */
@media screen and (max-width: 768px) {
  .flow {
    padding: 54px 0;
  }

  .flow__list {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
  }

  .flow__list::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  .flow__item {
    position: relative;
  }

  .midashi-bar_flow {
    width: 105px;
    height: 60px;
    bottom: 95%;
    left: 10px;
  }
}

/*==========================
interview PC
==========================*/
.interview {
  padding: 80px 0;
  background-image: url(../images/interview_bg_pc.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.interview__wrap {
  display: flex;
  gap: 80px;
}

.interview__left {
  width: 40%;
}

.interview__right {
  width: 60%;
}

.interview__sticky {
  position: sticky;
  top: 100px;
}

.person {
  position: relative;
}

.person img {
  width: 100%;
  display: block;
  height: auto;
}

.story {
  position: absolute;
  top: -58px;
  left: -142px;
  width: 320px;
  z-index: 10;
}

.story img {
  width: 100%;
  display: block;
}

.profile {
  margin-bottom: 60px;
}

.profile h3 {
  font-size: 4.8rem;
  line-height: 1.4;
  margin-bottom: 168px;
}

.profile span {
  font-size: 6.4rem;
  background: linear-gradient(transparent 65%, var(--primary-yellow) 65%);
}

.profile table {
  width: 100%;
}

.profile tr {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.profile th {
  width: 120px;
  font-size: 1.6rem;
  border-bottom: 2px solid var(--primary-black);
  padding-bottom: 16px;
}

.profile td {
  flex: 1;
  font-size: 4rem;
  border-bottom: 2px solid var(--primary-black);
  padding-bottom: 16px;
}

.qa__item {
  border-bottom: 1px dashed var(--primary-black);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.qa__item:last-of-type{
  border-bottom: none;
}

.qa__item:last-child {
  margin-bottom: 0;
}

.q,
.a {
  display: flex;
  align-items: flex-start;
  font-size: 1.6rem;
  line-height: 1.8;
}

.q {
  margin-bottom: 16px;
  font-size: 2rem;
  align-items: center;
}

.q_icon,
.a_icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
}

.q_icon {
  background: var(--primary-black);
  color: var(--primary-white);
}

.a_icon {
  border: 2px solid var(--primary-black);
  color: var(--primary-black);
}

.interview-sign {
  position: absolute;
  top: 80px;
  right: -10px;
}

.interview-sign img {
  display: block;
  width: 100%;
}

/* interview SP */
@media screen and (max-width: 768px) {
  .interview {
    padding: 54px 0;
  }

  .interview__wrap {
    display: block;
  }

  .interview__left,
  .interview__right {
    width: 100%;
  }

  .interview__sticky {
    position: static;
    margin-bottom: 32px;
  }

  .person {
    text-align: center;
  }

  .person img {
    width: 100%;
    margin: 0 auto;
  }

  .story {
    display: none;
  }

  .profile {
    margin-bottom: 40px;
  }

  .profile h3 {
    font-size: 3.2rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .profile span {
    font-size: 3.8rem;
  }

  .profile tr {
    display: block;
    margin-bottom: 16px;
  }

  .profile th {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    padding-bottom: 8px;
    border-bottom: none;
  }

  .profile td {
    display: block;
    font-size: 2.4rem;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-black);
  }

.q {
  font-size: 1.6rem;
}

.a {
  font-size: 1.4rem;
}
  .qa__item {
    padding-bottom: 16px;
  }

  .q_icon,
  .a_icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }

  .interview-sign {
    display: none;
  }
}

/*==========================
schedule PC
==========================*/
.schedule {
  border-top: 2px solid var(--primary-black);
  padding: 80px 0;
}

.schedule__list {
  display: flex;
}

.schedule__item {
  flex: 1;
  text-align: center;
}

.schedule__time {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 24px;
}

.schedule__circle {
  width: 16px;
  height: 16px;
  background: var(--primary-black);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}

.schedule__circle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 900%;
  height: 2px;
  background: var(--primary-black);
  transform: translateY(-50%);
}

.schedule__item:last-child .schedule__circle::after {
  display: none;
}

.schedule__text {
  margin-top: 24px;
  writing-mode: vertical-rl;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.6rem;
}

/* schedule SP */
@media screen and (max-width: 768px) {
  .schedule {
    padding: 54px 0;
  }

  .schedule__list {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .schedule__item {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 30px;
  }

  .schedule__time {
    width: 50px;
    margin-bottom: 0;
  }

  .schedule__circle {
    margin: 0 20px;
  }

  .schedule__circle::after {
    top: 100%;
    left: 50%;
    width: 2px;
    height: 55px;
    transform: translateX(-50%);
  }

  .schedule__text {
    writing-mode: horizontal-tb;
    margin-top: 0;
    margin-left: 0;
  }
}
