@charset "UTF-8";

#page #title {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#page #title h1 {
  color: var(--primary-color);
  font-size: 4rem;
}
#page #title h1::after {
  content: attr(data-title);
  margin-bottom: 3px;
  color: #000;
  font-size: 1.4rem;
}
#page #title img {
  border-radius: 10px;
}
#page section {
  margin: 80px 0;
  padding: 50px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  font-size: 2rem;
  position: relative;
}
#page section .flex {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}
#page section .title {
  width: 50%;
}
#page section .title h2 {
  margin-bottom: 20px;
}
#page section .title strong {
  font-size: 1.8rem;
}
#page section picture {
  width: 50%;
}
#page section picture img {
  border-radius: 10px;
}
#page section section {
  margin: 40px 0;
  padding: 0;
}
#page section h3 {
  margin-bottom: 10px;
  font-size: 2.4rem;
}
#page section ul {
  margin-left: 24px;
}
#page section table {
  border-collapse: collapse;
}
#page section th {
  padding: 10px 20px;
}
#page section td {
  padding: 10px 20px;
  position: relative;
}
#page section td::before {
  content: '';
  width: 1px;
  background: var(--primary-color);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#page td::after {
  content: '';
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 100vw;
  display: block;
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
}
#page .photo {
  width: auto;
  position: absolute;
  right: 80px;
  bottom: 80px;
}
#page .photo img {
  border: solid 10px #fff;
  border-radius: 0;
  box-shadow: 0 0 10px #ccc;
}
#interview01 .photo img {
  transform: rotate(3deg);
}
#interview02 .photo img {
  transform: rotate(-3deg);
}

@media screen and (max-width: 768px) {
  #page #title {
    margin-top: 40px;
    flex-direction: column-reverse;
    gap: 20px;
  }
  #page #title h1, #page #title picture {
    width: 100%;
  }
  #page #title h1 {
    font-size: 3.6rem;
    text-align: center;
  }
  #page section {
    margin: 40px 0;
    padding: 20px;
    font-size: 1.8rem;
  }
  #page section .flex {
    flex-direction: column-reverse;
    gap: 20px;
  }
  #page section .title {
    width: 100%;
  }
  #page section .title h2 {
    margin-bottom: 0;
  }
  #page section picture {
    width: 100%;
  }
  #page section h3 {
    font-size: 2rem;
  }
  #page .photo {
    position: static;
  }
  #page .photo img {
    margin: 0 auto;
    width: 240px;
    height: auto;
    border: solid 8px #fff;
    display: block;
  }
}