@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:700,500,900|Oswald:700,500|Zen+Old+Mincho:400,500,700|Cinzel:400,500,600,700|EB+Garamond:400,500,600,700|Niconne:400");
body {
  min-width: unset;
}

main {
  font-family: "Noto Sans JP";
}
main .view-more-button {
  font-family: "Noto Sans JP";
  color: #00479D;
  display: flex;
  align-items: center;
  gap: min(8px, 1vw);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  main .view-more-button {
    gap: 8px;
  }
}
main .view-more-button:hover {
  opacity: 0.7;
}
main .view-more-button span {
  width: 24px;
  height: 24px;
  border: 1px solid #00479D;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: #00479D;
}
main .view-more-button span::after {
  content: "→";
  font-size: 12px;
  color: #ffffff;
}
main .view-more-button-white {
  font-family: "Noto Sans JP";
  color: #00479D;
  display: flex;
  align-items: center;
  gap: min(8px, 1vw);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  main .view-more-button-white {
    gap: 8px;
  }
}
main .view-more-button-white:hover {
  opacity: 0.7;
}
main .view-more-button-white span {
  width: 24px;
  height: 24px;
  border: 1px solid #00479D;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: #00479D;
}
main .view-more-button-white span::after {
  content: "→";
  font-size: 12px;
  color: #ffffff;
}
main .view-more-button-white {
  color: #ffffff;
}
main .view-more-button-white span {
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
main .view-more-button-white span::after {
  color: #333333;
}
@media (max-width: 768px) {
  main .sp-hide {
    display: none;
  }
}
main .sp-show {
  display: none;
}
@media (max-width: 768px) {
  main .sp-show {
    display: initial;
  }
}
main .section-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
@media (max-width: 768px) {
  main .section-title {
    font-size: 32px;
    line-height: 48px;
    gap: 12px;
  }
}
main .section-title p {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  line-height: 19px;
  text-transform: uppercase;
  color: #00479D;
  letter-spacing: 0.1em;
}
main .section-title.white {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
@media (max-width: 768px) {
  main .section-title.white {
    font-size: 32px;
    line-height: 48px;
    gap: 12px;
  }
}
main .section-title.white p {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  line-height: 19px;
  text-transform: uppercase;
  color: #00479D;
  letter-spacing: 0.1em;
}
main .section-title.white {
  color: #ffffff;
}
main .section-title.white p {
  color: #ffffff;
}
main .fv-section {
  width: 100%;
  height: 700px;
  display: flex;
  position: relative;
  overflow: hidden;
  --progress: 0;
  margin-top: 80px;
}
main .fv-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, transparent calc((var(--progress) * 1.5 - 1) * 100%), #ffffff calc(var(--progress) * 1.5 * 100%));
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 768px) {
  main .fv-section {
    flex-direction: column;
    margin-top: 60px;
    height: 100vh;
  }
}
main .fv-section .bg-image {
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: 0;
}
main .fv-section .bg-image.half-bg {
  width: 50%;
  z-index: 1;
}
@media (max-width: 768px) {
  main .fv-section .bg-image.half-bg {
    width: 100%;
    height: 50%;
  }
}
main .fv-section .bg-image.full-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
main .fv-section .bg-image .bg-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  opacity: 0;
}
main .fv-section .bg-image .bg-inner.active {
  opacity: 1;
}
main .fv-section .bg-image.full-bg .bg-inner {
  background-image: url(../../images/top/top-section2-bg.png);
}
@media (max-width: 768px) {
  main .fv-section .bg-image.full-bg .bg-inner {
    background-image: url(../../images/top/top-section2-bg-sp.png);
  }
}
main .fv-section .bg-image.half-left .bg-inner:nth-child(1) {
  background-image: url(../../images/top/top-hero-1-new.JPG);
}
main .fv-section .bg-image.half-left .bg-inner:nth-child(2) {
  background-image: url(../../images/top/top-hero-1-2.png);
}
main .fv-section .bg-image.half-left .bg-inner:nth-child(3) {
  background-image: url(../../images/top/top-hero-1-3.png);
}
main .fv-section .bg-image.half-right .bg-inner:nth-child(1) {
  background-image: url(../../images/top/top-hero-2.png);
}
main .fv-section .bg-image.half-right .bg-inner:nth-child(2) {
  background-image: url(../../images/top/top-hero-2-2.png);
}
main .fv-section .bg-image.half-right .bg-inner:nth-child(3) {
  background-image: url(../../images/top/top-hero-2-3.png);
}
main .fv-section .fv-title-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-40px);
  height: clamp(220px, 22vw, 360px);
  width: 100%;
  z-index: 1;
}
@media (min-width: 769px) and (max-width: 1024px) {
  main .fv-section .fv-title-container {
    height: clamp(200px, 20vw, 300px);
    transform: translate(-50%, -50%) translateY(-20px);
  }
}
@media (max-width: 768px) {
  main .fv-section .fv-title-container {
    height: clamp(180px, 28vw, 260px);
    transform: translate(-50%, -50%);
  }
}
main .fv-section .fv-title-container h1 {
  position: relative;
  height: 100%;
  width: 65%;
  max-width: 960px;
  margin: 0 auto;
  --progress: 0;
}
@media (max-width: 768px) {
  main .fv-section .fv-title-container h1 {
    width: 90%;
  }
}
main .fv-section .fv-title-container h1:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, #ffffff calc((var(--progress) * 1.5 - 1) * 100%), transparent calc(var(--progress) * 1.5 * 100%));
  -webkit-mask: url(../../images/top/fv-title-pc.png) 50% 50%/contain no-repeat;
  mask: url(../../images/top/fv-title-pc.png) 50% 50%/contain no-repeat;
}
main .fv-section .fv-title-container h1:after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../../images/top/fv-title-pc.png) 50% 50%/contain no-repeat;
  opacity: var(--progress);
}
main .fv-section .fv-title-container h1 .fv-title-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
}
main .fv-message-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
@media (max-width: 768px) {
  main .fv-message-section {
    padding: 56px min(20px, 5%);
  }
}
main .fv-message-section > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  width: 100%;
  text-align: center;
}
main .fv-message-title,
main .fv-message-body {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 500;
}
main .home-news-section {
  width: 100%;
  padding: 80px min(150px, 10%);
  background: #e8f1ff;
}
@media (max-width: 768px) {
  main .home-news-section {
    padding: 60px 20px;
  }
}
main .home-news-section .home-news-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 60px min(95px, 8vw);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  main .home-news-section .home-news-card {
    padding: 56px min(20px, 5%);
  }
}
main .home-news-section .home-news-card .home-news-header {
  text-align: center;
}
main .home-news-section .home-news-card .home-news-header .section-title p {
  color: #5b8cd7;
}
main .home-news-section .home-news-card .news-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
main .home-news-section .home-news-card .news-list .news-item {
  border-bottom: 1px solid #d5deef;
  padding: 0 0 16px 0;
  transition: background-color 0.3s ease;
}
main .home-news-section .home-news-card .news-list .news-item:hover {
  background-color: #eef4ff;
}
main .home-news-section .home-news-card .news-list .news-item .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  main .home-news-section .home-news-card .news-list .news-item .news-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-date {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-category {
  font-size: 12px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 2px;
  color: #ffffff;
  font-family: "Noto Sans JP";
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-category.company {
  background-color: #00479D;
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-category.news {
  background-color: #00479D;
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-category.recruitment {
  background-color: #e1ebf9;
  color: #333333;
}
main .home-news-section .home-news-card .news-list .news-item .news-meta .news-category.new {
  background-color: #ffd800;
  color: #333333;
}
main .home-news-section .home-news-card .news-list .news-item .news-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .title-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .title-text:hover {
  opacity: 0.7;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .arrow-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .arrow-btn::after {
  content: "→";
  color: #333333;
  font-size: 12px;
  transition: color 0.3s ease;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .arrow-btn:hover {
  background-color: #00479D;
  border-color: #00479D;
}
main .home-news-section .home-news-card .news-list .news-item .news-title .arrow-btn:hover::after {
  color: #ffffff;
}
@media (max-width: 768px) {
  main .home-news-section .home-news-card .news-list .news-item .news-title {
    flex-direction: column;
    align-items: flex-start;
  }
  main .home-news-section .home-news-card .news-list .news-item .news-title .arrow-btn {
    margin-top: 8px;
  }
}
main .home-news-section .home-news-card .news-link {
  margin-left: auto;
  margin-top: 20px;
}
@media (max-width: 768px) {
  main .home-news-section .home-news-card .news-link {
    margin-left: 0;
    align-self: flex-end;
  }
}
main .home-news-section .home-news-card .view-more-button-white {
  color: #00479D;
}
main .home-news-section .home-news-card .view-more-button-white::before {
  background: #00479D;
}
main .home-news-section .home-news-card .view-more-button-white span {
  border: 1px solid #00479D;
  background-color: transparent;
}
main .home-news-section .home-news-card .view-more-button-white span::after {
  color: #00479D;
}
main section:nth-of-type(2) {
  width: 100%;
  padding: 80px min(150px, 10%);
}
@media (max-width: 768px) {
  main section:nth-of-type(2) {
    padding: 56px min(20px, 5%) 90px min(20px, 5%);
  }
}
main section:nth-of-type(2) .section-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(2) .section-title {
    font-size: 32px;
    line-height: 48px;
    gap: 12px;
  }
}
main section:nth-of-type(2) .section-title p {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  line-height: 19px;
  text-transform: uppercase;
  color: #00479D;
  letter-spacing: 0.1em;
}
main section:nth-of-type(2) .section-title {
  text-align: center;
}
main section:nth-of-type(2) ul {
  margin-top: 65px;
  display: flex;
  gap: min(40px, 3vw);
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul {
    flex-direction: column;
    gap: 56px;
    margin-top: 44px;
  }
}
main section:nth-of-type(2) ul .business-item-card {
  width: 100%;
}
main section:nth-of-type(2) ul .business-item-card img {
  width: 100%;
  aspect-ratio: 1;
  -o-object-fit: contain;
     object-fit: contain;
}
main section:nth-of-type(2) ul .business-item-card h3 {
  margin: 16px 0;
  font-size: 24px;
  line-height: 1.5;
  color: #333333;
  font-family: "Zen Old Mincho";
  text-align: center;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul .business-item-card h3 {
    font-size: 20px;
    text-align: left;
    padding: 0 min(20px, 5%);
  }
}
main section:nth-of-type(2) ul .business-item-card h3 span {
  font-family: "Cinzel";
  font-size: 20px;
  line-height: 1.35;
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul .business-item-card h3 span {
    font-size: 18px;
    line-height: 25px;
  }
}
main section:nth-of-type(2) ul .business-item-card div {
  width: 100%;
  height: 1px;
  background-color: #B7B7B7;
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul .business-item-card div {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
}
main section:nth-of-type(2) ul .business-item-card p {
  font-family: "Noto Sans JP";
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: #333333;
  margin: 21px 0 18px 0;
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul .business-item-card p {
    margin: 16px 0 0 0;
    padding: 0 min(20px, 5%);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(2) ul .business-item-card .view-more-button {
    padding: 0 min(20px, 5%);
    margin-top: 24px;
  }
}
main section:nth-of-type(3) {
  width: 100%;
  position: relative;
}
main section:nth-of-type(3) .section-title.white p {
  text-align: center;
}
main section:nth-of-type(3) .section-title.white + p {
  color: white;
  line-height: 19px;
  margin-top: 45px;
}
main section:nth-of-type(3) .movie-carousel {
  display: flex;
  height: min(300px, 25vw);
  overflow: hidden;
}
@media (max-width: 1024px) {
  main section:nth-of-type(3) .movie-carousel {
    height: min(250px, 30vw);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-carousel {
    height: 180px;
  }
}
main section:nth-of-type(3) .movie-carousel .carousel-track {
  display: flex;
  gap: min(5px, 0.5vw);
  will-change: transform;
}
main section:nth-of-type(3) .movie-carousel .carousel-track img {
  width: min(350px, 25vw);
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  main section:nth-of-type(3) .movie-carousel .carousel-track img {
    width: min(300px, 40vw);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-carousel .carousel-track img {
    width: 210px;
    height: 180px;
    aspect-ratio: 210/180;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
main section:nth-of-type(3) .movie-container {
  position: relative;
  padding: 80px min(150px, 10%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: min(60px, 5vw);
  background-color: #00479D;
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container {
    padding: 56px min(20px, 5%);
    gap: 60px;
  }
}
main section:nth-of-type(3) .movie-container > p {
  font-size: 16px;
  font-family: "Noto Sans JP";
  line-height: 29px;
  color: #ffffff;
}
main section:nth-of-type(3) .movie-container > p.caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container > p.caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 46px;
  }
}
main section:nth-of-type(3) .movie-container > p.caption a {
  font-family: "Noto Sans JP";
  color: #00479D;
  display: flex;
  align-items: center;
  gap: min(8px, 1vw);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container > p.caption a {
    gap: 8px;
  }
}
main section:nth-of-type(3) .movie-container > p.caption a:hover {
  opacity: 0.7;
}
main section:nth-of-type(3) .movie-container > p.caption a span {
  width: 24px;
  height: 24px;
  border: 1px solid #00479D;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: #00479D;
}
main section:nth-of-type(3) .movie-container > p.caption a span::after {
  content: "→";
  font-size: 12px;
  color: #ffffff;
}
main section:nth-of-type(3) .movie-container > p.caption a {
  color: #ffffff;
}
main section:nth-of-type(3) .movie-container > p.caption a span {
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
main section:nth-of-type(3) .movie-container > p.caption a span::after {
  color: #333333;
}
main section:nth-of-type(3) .movie-container .movie-title-container {
  position: absolute;
  top: -80px;
  left: 0;
  background-color: #00479D;
  width: min(620px, 45%);
  padding: min(56px, 4vw) min(150px, 10%) 0 min(150px, 10%);
  height: auto;
}
@media (max-width: 1280px) {
  main section:nth-of-type(3) .movie-container .movie-title-container {
    width: min(520px, 50%);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container .movie-title-container {
    padding: 24px 0 0 min(20px, 5%);
    width: 55%;
    min-width: 220px;
  }
}
main section:nth-of-type(3) .movie-container .movie-title-icon {
  width: min(200px, 15vw);
  height: min(200px, 15vw);
  -o-object-fit: contain;
     object-fit: contain;
  position: absolute;
  bottom: 4px;
  right: -160px;
}
@media (max-width: 1280px) {
  main section:nth-of-type(3) .movie-container .movie-title-icon {
    width: min(180px, 15vw);
    height: min(180px, 15vw);
    right: -120px;
  }
}
@media (max-width: 1024px) {
  main section:nth-of-type(3) .movie-container .movie-title-icon {
    width: min(150px, 20vw);
    height: min(150px, 20vw);
    right: -80px;
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container .movie-title-icon {
    width: 129px;
    height: 129px;
    bottom: 17px;
  }
}
main section:nth-of-type(3) .movie-container .movie-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(40px, 3vw);
}
@media (min-width: 769px) and (max-width: 1024px) {
  main section:nth-of-type(3) .movie-container .movie-grid {
    gap: min(24px, 2vw);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container .movie-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
main section:nth-of-type(3) .movie-container .movie-grid .movie-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
main section:nth-of-type(3) .movie-container .movie-grid .movie-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container .movie-grid .movie-item iframe {
    width: 100%;
    height: 225px;
  }
}
main section:nth-of-type(3) .movie-container .movie-grid .movie-item h3 {
  margin-top: 16px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: #ffffff;
  font-family: "Zen Old Mincho";
  text-align: center;
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(3) .movie-container .movie-grid .movie-item h3 {
    font-size: 20px;
  }
}
main section:nth-of-type(4) {
  width: 100%;
  max-width: 2200px;
  position: relative;
  display: flex;
  padding: 100px 0;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) {
    padding: 120px min(20px, 5%) 130px;
  }
}
main section:nth-of-type(4) .bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
  flex-direction: row;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) .bg-container {
    flex-direction: column;
  }
}
main section:nth-of-type(4) .bg-container > div {
  width: 33.3333333333%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) .bg-container > div {
    width: 100%;
    height: 33.3333333333%;
  }
}
main section:nth-of-type(4) .bg-container > div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(244, 248, 255, 0.85);
}
main section:nth-of-type(4) .bg-container > div:nth-child(1) {
  background-image: url(../../images/top/top-section6-bg-1.png);
}
main section:nth-of-type(4) .bg-container > div:nth-child(2) {
  background-image: url(../../images/top/top_slider_new.JPG);
}
main section:nth-of-type(4) .bg-container > div:nth-child(3) {
  background-image: url(../../images/top/top-section6-bg-3.png);
}
main section:nth-of-type(4) div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
main section:nth-of-type(4) div h2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) div h2 {
    font-size: 32px;
    line-height: 48px;
    gap: 12px;
  }
}
main section:nth-of-type(4) div h2 p {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  line-height: 19px;
  text-transform: uppercase;
  color: #00479D;
  letter-spacing: 0.1em;
}
main section:nth-of-type(4) div h2 p {
  text-align: center;
}
main section:nth-of-type(4) div h3 {
  margin-top: min(56px, 5vh);
  font-size: 16px;
  line-height: 1.5;
  font-family: "Zen Old Mincho";
  text-align: center;
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) div h3 {
    margin-top: 40px;
    font-size: 20px;
    line-height: 32px;
  }
}
main section:nth-of-type(4) div > p:not(:has(.view-more-button)) {
  margin-top: 24px;
  font-family: "Noto Sans JP";
  font-size: 16px;
  line-height: 19px;
  text-align: center;
}
main section:nth-of-type(4) div a {
  margin-top: 40px;
  font-family: "Noto Sans JP";
  color: #00479D;
  display: flex;
  align-items: center;
  gap: min(8px, 1vw);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  main section:nth-of-type(4) div a {
    gap: 8px;
  }
}
main section:nth-of-type(4) div a:hover {
  opacity: 0.7;
}
main section:nth-of-type(4) div a span {
  width: 24px;
  height: 24px;
  border: 1px solid #00479D;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: #00479D;
}
main section:nth-of-type(4) div a span::after {
  content: "→";
  font-size: 12px;
  color: #ffffff;
}
main section:nth-of-type(4) div a {
  color: #ffffff;
}
main section:nth-of-type(4) div a span {
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
main section:nth-of-type(4) div a span::after {
  color: #333333;
}
main section:nth-of-type(4) div a {
  color: #00479D;
}
main section:nth-of-type(4) div a span {
  border: 1px solid #00479D;
  background-color: #00479D;
}
main section:nth-of-type(4) div a span::after {
  color: #ffffff;
}
main section:nth-of-type(5) {
  width: 100%;
  padding: 80px min(245px, 17.5%);
}
@media (max-width: 768px) {
  main section:nth-of-type(5) {
    padding: 56px min(20px, 5%);
  }
}
main section:nth-of-type(5) > div {
  width: 100%;
  height: 280px;
  background-image: url(../../images/top/top-section8-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px;
}
@media (max-width: 768px) {
  main section:nth-of-type(5) > div {
    background-image: url(../../images/top/top-section8-bg-sp.png);
    height: auto;
  }
}
main section:nth-of-type(5) > div > div {
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, #00479d 5%, transparent 100%);
  display: flex;
  flex-direction: column;
  padding: min(40px, 4vh) 0 min(40px, 4vh) min(40px, 5%);
  border-radius: 3px 0 0 3px;
}
@media (max-width: 1280px) {
  main section:nth-of-type(5) > div > div {
    width: min(75%, 700px);
  }
}
@media (max-width: 1024px) {
  main section:nth-of-type(5) > div > div {
    width: min(80%, 600px);
  }
}
@media (max-width: 768px) {
  main section:nth-of-type(5) > div > div {
    width: 100%;
    border-radius: 3px;
  }
}
main section:nth-of-type(5) > div > div h2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
  color: #333333;
  font-family: "Zen Old Mincho";
  font-weight: 600;
}
@media (max-width: 768px) {
  main section:nth-of-type(5) > div > div h2 {
    font-size: 32px;
    line-height: 48px;
    gap: 12px;
  }
}
main section:nth-of-type(5) > div > div h2 p {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  line-height: 19px;
  text-transform: uppercase;
  color: #00479D;
  letter-spacing: 0.1em;
}
main section:nth-of-type(5) > div > div h2 {
  color: #ffffff;
}
main section:nth-of-type(5) > div > div h2 p {
  color: #ffffff;
}
main section:nth-of-type(5) > div > div h2 {
  text-align: center;
}
main section:nth-of-type(5) > div > div h3 {
  font-size: 16px;
  line-height: 29px;
  color: #ffffff;
  font-family: "Noto Sans JP";
  margin-top: 16px;
  text-align: center;
}
main section:nth-of-type(5) > div > div a {
  font-family: "Noto Sans JP";
  color: #00479D;
  display: flex;
  align-items: center;
  gap: min(8px, 1vw);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  main section:nth-of-type(5) > div > div a {
    gap: 8px;
  }
}
main section:nth-of-type(5) > div > div a:hover {
  opacity: 0.7;
}
main section:nth-of-type(5) > div > div a span {
  width: 24px;
  height: 24px;
  border: 1px solid #00479D;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: #00479D;
}
main section:nth-of-type(5) > div > div a span::after {
  content: "→";
  font-size: 12px;
  color: #ffffff;
}
main section:nth-of-type(5) > div > div a {
  color: #ffffff;
}
main section:nth-of-type(5) > div > div a span {
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
main section:nth-of-type(5) > div > div a span::after {
  color: #333333;
}
main section:nth-of-type(5) > div > div a {
  margin: 24px auto 0 auto;
}/*# sourceMappingURL=top.css.map */