@charset "UTF-8";
/* CSS Document */
body {
  background-color: #f7f7f7;
}
.title {
  text-align: center;
  width: 100%;
  padding-top: 180px;
  margin: 0 auto 80px;
  position: relative;
  font-family: 'Outfit';
}
.title::after {
  content: '';
  width: 2px;
  height: 50px;
  display: block;
  margin: 20px auto 0;
  background-color: #0f322a;
  border-radius: 2px;
}

.title h2 {
  font-size: 80px;
  color: #0f322a;
  font-weight: bold;
  text-align: center;
}
.title p {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #0f322a;
}
@media (max-width: 1024px) {
  .title {
    padding-top: 160px;
  }
}
@media (max-width: 768px) {
  .title {
    margin-bottom: 40px;
  }
  .title h2 {
    font-size: 60px;
  }
}
/*-------------introduction-------------------*/
.introduction {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px;
}
.introduction__photo {
  width: 40%;
  border-radius: 40px;
  overflow: hidden;
}
.introduction__photo img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
}
.introduction__description {
  width: 60%;
  padding-left: 50px;
}
.introduction__description h3 {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 23px;
}
.introduction__description-top {
  padding-bottom: 18px;
  line-height: 1.75em;
}
.introduction__description-bottom {
  line-height: 1.75em;
}
@media (max-width: 1024px) {
  .introduction .wrapper {
    display: block;
  }
  .introduction__description {
    margin: 0 auto;
    padding-left: 0;
  }
  .introduction__description h3 {
    text-align: center;
  }
  .introduction__photo {
    width: 380px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}
@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }
  .introduction__photo {
    width: 300px;
  }
  .introduction__photo img {
    width: 300px;
    height: 300px;
    border-radius: 5px;
    object-fit: cover;
  }
  .introduction__description {
    padding: 0;
    width: 100%;
  }
  .introduction__description-top {
    text-align: center;
  }
}
/*----------------年表共通--------------------*/
.history-container {
  width: 100%;
  margin: 0 auto 100px;
}
.year-month {
  width: 120px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-bottom: 3px;
}
@media (max-width: 1024px) {
  .history-container {
    padding: 0;
    width: 100%;
    margin-bottom: 70px;
  }
}
/*-------------education-------------------*/
.education,
.work_history,
.study_history,
.hobby {
  width: 100%;
  margin: 0 auto 70px;
  background: #f0f0f0;
  padding: 6%;
  border-radius: 40px;
}

.history-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #0f322a;
  color: #0f322a;
}

.history-list {
  padding: 20px 0 0;
}

.hobby-list ol {
  padding: 20px 0;
}

.history-list li,
.hobby-list ol li {
  line-height: 1.5em;
  padding: 0 10px 10px;
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 12px;
}
.education li:last-child,
.work_history li:last-child,
.study_history li:last-child,
.hobby li:last-child {
  border-bottom: none;
}
.education li p:last-child,
.work_history li p:last-child,
.study_history li p:last-child,
.hobby li p:last-child {
  width: 100%;
}
.hobbies__wrapper {
  width: 200%;
  display: flex;
  border: 1px solid #0f322a;
}
.hobbies__wrapper li {
  animation: loop 25s linear infinite;
  position: relative;
  width: 24%;
}
.hobbies__wrapper li::before {
  content: '';
  width: 1px;
  height: 100%;
  display: block;
  background-color: #0f322a;
  position: absolute;
  top: 0;
  left: 0;
}
.hobbies__wrapper li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-400%);
    /*    opacity: 1;*/
  }
}

.hobby .history-list,
.hobby .hobby-list {
  overflow: hidden;
}

.hobby-title {
  font-weight: bold;
  font-size: 14px;
}

@media (max-width: 768px) {
  .education,
  .work_history,
  .study_history,
  .hobby {
    padding: 42px 30px 30px;
    border-radius: 20px;
  }
  .hobbies__wrapper {
    width: 400%;
    margin-bottom: 26px;
  }
}
