@charset "UTF-8";
@keyframes ani_fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* ------------------------------------------
 SP
------------------------------------------ */
@media screen and (max-width: 750px) {
  main {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
  }
  main > .main_inner {
    height: 400px;
  }
  main > .main_inner > .slider {
    position: relative;
    width: 100%;
    height: 400px;
    margin: auto;
    overflow: hidden;
    background-color: #fff;
  }
  main > .main_inner > .slider > .bgImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    animation: bgAnime 21s infinite; /* 3画像 × 各7s = 21s */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  main > .main_inner > .slider > .src1 {
    background-image: url(../images/top/slide_01.jpg);
  }
  main > .main_inner > .slider > .src2 {
    background-image: url(../images/top/slide_02.jpg);
    animation-delay: 7s;
  }
  main > .main_inner > .slider > .src4 {
    background-image: url(../images/top/slide_04.jpg);
    animation-delay: 14s;
  }
  @keyframes bgAnime {
    0% {
      opacity: 0;
      transform: scale(1, 1);
    }
    5% {
      opacity: 1;
    }
    33.333% {
      opacity: 1;
      transform: scale(1.1, 1.1);
    }
    38.333% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  main > .main_inner > .slider > .mainText {
    position: absolute;
    display: inline-block;
    top: 55%;
    left: 50%;
    width: 90%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(1.1);
    transform-origin: center center;
    text-align: center;
    font-size: 5.6vw;
    color: #fff;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-shadow: 1px 1px 3px #666;
    opacity: 0;
    animation: textAnime 1.4s ease-out forwards;
  }
  @keyframes textAnime {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
  .top_news {
    margin-bottom: 80px;
    overflow: hidden;
  }
  /* ------------------------------------------
   ビジネス
  ------------------------------------------ */
  .top_business {
    margin-bottom: 80px;
    overflow: hidden;
  }
  .top_business .topBusinessLink {
    width: 94%;
    margin: 0 auto;
  }
  .top_business .topBusinessLink nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    counter-reset: top-business-link;
  }
  .top_business .topBusinessLink nav ul li {
    counter-increment: top-business-link;
    display: flex;
  }
  .top_business .topBusinessLink nav ul li a {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(6, 50, 113, 0.12);
    box-shadow: 0 6px 18px rgba(6, 50, 113, 0.06);
    box-sizing: border-box;
    color: #063271;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a .image {
    flex: 0 0 38%;
    min-height: 96px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.35s ease;
  }
  .top_business .topBusinessLink nav ul li a .image.image1 {
    background-image: url("../images/top/business1.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image2 {
    background-image: url("../images/top/business2.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image3 {
    background-image: url("../images/top/business3.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image4 {
    background-image: url("../images/top/business4.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image5 {
    background-image: url("../images/top/business5.webp");
  }
  .top_business .topBusinessLink nav ul li a > div:not(.image) {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 40px 14px 16px;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.04em;
    box-sizing: border-box;
  }
  .top_business .topBusinessLink nav ul li a > div:not(.image)::before {
    content: counter(top-business-link, decimal-leading-zero);
    display: block;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    font-style: italic;
    letter-spacing: 0.12em;
    color: #1870FA;
    line-height: 1;
    transition: color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid #063271;
    border-right: 2px solid #063271;
    transform: rotate(45deg);
    transition: right 0.25s ease, border-color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a:hover, .top_business .topBusinessLink nav ul li a:focus-visible {
    background: linear-gradient(349deg, rgb(6, 50, 113) 0%, rgb(42, 105, 195) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(6, 50, 113, 0.2);
    transform: translateY(-3px);
  }
  .top_business .topBusinessLink nav ul li a:hover .image, .top_business .topBusinessLink nav ul li a:focus-visible .image {
    transform: scale(1.06);
  }
  .top_business .topBusinessLink nav ul li a:hover > div:not(.image)::before, .top_business .topBusinessLink nav ul li a:focus-visible > div:not(.image)::before {
    color: rgba(255, 255, 255, 0.72);
  }
  .top_business .topBusinessLink nav ul li a:hover::after, .top_business .topBusinessLink nav ul li a:focus-visible::after {
    right: 12px;
    border-color: #fff;
  }
  /* ------------------------------------------
   バリュー
  ------------------------------------------ */
  .top_value {
    margin-bottom: 80px;
    overflow: hidden;
  }
  .top_value > section > .value_wrap {
    width: 94%;
    margin: 0 auto;
  }
  .top_value > section > .value_wrap > ul > li {
    width: 100%;
    height: 200px;
    margin: 0 auto 10px;
    background-color: #ddd;
  }
  .top_value > section > .value_wrap > ul > li:last-child {
    margin-bottom: 0;
  }
}
/* ------------------------------------------
 PC
------------------------------------------ */
@media screen and (min-width: 751px) {
  main {
    margin-bottom: 100px;
  }
  main > .main_inner {
    height: 740px;
  }
  main > .main_inner > .slider {
    position: relative;
    width: 100%;
    height: 740px;
    margin: auto;
    overflow: hidden;
    background-color: #fff;
  }
  main > .main_inner > .slider > .bgImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    animation: bgAnime 21s infinite; /* 3画像 × 各7s = 21s */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  main > .main_inner > .slider > .src1 {
    background-image: url(../images/top/slide_01.jpg);
  }
  main > .main_inner > .slider > .src2 {
    background-image: url(../images/top/slide_02.jpg);
    animation-delay: 7s;
  }
  main > .main_inner > .slider > .src4 {
    background-image: url(../images/top/slide_04.jpg);
    animation-delay: 14s;
  }
  @keyframes bgAnime {
    0% {
      opacity: 0;
      transform: scale(1, 1);
    }
    5% {
      opacity: 1;
    }
    33.333% {
      opacity: 1;
      transform: scale(1.1, 1.1);
    }
    38.333% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  main > .main_inner > .slider > .mainText {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 90%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(1.1);
    transform-origin: center center;
    text-align: center;
    font-size: 5.8rem;
    color: #fff;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-shadow: 1px 1px 5px #333;
    opacity: 0;
    animation: textAnime 1.4s ease-out forwards;
  }
  @keyframes textAnime {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
  .top_news {
    margin-bottom: 150px;
    overflow: hidden;
  }
  /* ------------------------------------------
   ビジネス
  ------------------------------------------ */
  .top_business {
    margin-bottom: 150px;
    overflow: visible;
  }
  .top_business .topBusinessLink {
    width: 980px;
    margin: 0 auto;
  }
  .top_business .topBusinessLink nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    counter-reset: top-business-link;
  }
  .top_business .topBusinessLink nav ul li {
    counter-increment: top-business-link;
    display: flex;
    width: calc((100% - 60px) / 3);
  }
  .top_business .topBusinessLink nav ul li a {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(6, 50, 113, 0.12);
    box-shadow: 0 6px 18px rgba(6, 50, 113, 0.06);
    box-sizing: border-box;
    color: #063271;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a .image {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.35s ease;
  }
  .top_business .topBusinessLink nav ul li a .image.image1 {
    background-image: url("../images/top/business1.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image2 {
    background-image: url("../images/top/business2.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image3 {
    background-image: url("../images/top/business3.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image4 {
    background-image: url("../images/top/business4.webp");
  }
  .top_business .topBusinessLink nav ul li a .image.image5 {
    background-image: url("../images/top/business5.webp");
  }
  .top_business .topBusinessLink nav ul li a > div:not(.image) {
    flex: 1 1 auto;
    padding: 16px 24px 36px 16px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.04em;
    box-sizing: border-box;
  }
  .top_business .topBusinessLink nav ul li a > div:not(.image)::before {
    content: counter(top-business-link, decimal-leading-zero);
    display: block;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 200;
    font-style: italic;
    letter-spacing: 0.12em;
    color: #1870FA;
    line-height: 1;
    transition: color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #063271;
    border-right: 2px solid #063271;
    transform: rotate(45deg);
    transition: right 0.25s ease, border-color 0.25s ease;
  }
  .top_business .topBusinessLink nav ul li a:hover, .top_business .topBusinessLink nav ul li a:focus-visible {
    background: linear-gradient(349deg, rgb(6, 50, 113) 0%, rgb(42, 105, 195) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(6, 50, 113, 0.2);
    transform: translateY(-3px);
  }
  .top_business .topBusinessLink nav ul li a:hover .image, .top_business .topBusinessLink nav ul li a:focus-visible .image {
    transform: scale(1.06);
  }
  .top_business .topBusinessLink nav ul li a:hover > div:not(.image)::before, .top_business .topBusinessLink nav ul li a:focus-visible > div:not(.image)::before {
    color: rgba(255, 255, 255, 0.72);
  }
  .top_business .topBusinessLink nav ul li a:hover::after, .top_business .topBusinessLink nav ul li a:focus-visible::after {
    right: 12px;
    border-color: #fff;
  }
  /* ------------------------------------------
   バリュー
  ------------------------------------------ */
  .top_value {
    margin-bottom: 150px;
    overflow: hidden;
  }
  .top_value > section > .value_wrap {
    width: 980px;
    margin: 0 auto;
  }
  .top_value > section > .value_wrap > ul > li {
    width: 320px;
    height: 200px;
    background-color: #ddd;
    float: left;
    margin-right: 10px;
  }
  .top_value > section > .value_wrap > ul > li:last-child {
    margin-right: 0;
  }
}