@charset "UTF-8";

/*=====================================
Recruit Banner
=====================================*/
.fv-recruit-wrap{
    position:fixed;
    right:2%;
    top: 85%;
    z-index:50;

  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

.fv-recruit-wrap.is-footer-hide,
.fv-recruit-wrap.is-user-hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
}

.fv-recruit__close{
    position:absolute;
    left:10px;
    top:10px;

    display:flex;
    align-items:center;
    justify-content:center;

    width:24px;
    height:24px;

    background:#0474C7;
    color:#fff;
    border:2px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    border-radius:50%;

    font-size:18px;
    cursor:pointer;

    transition:.3s;
}

.fv-recruit__close:hover{
    background:#005da3;
}

.fv-recruit-wrap.is-hide{
    display:none;
}

.fv-recruit{
    position:relative;

    display:flex;
    align-items:flex-end;

    min-width:320px;
    height:90px;

    color:#fff;
    text-decoration:none;

    background:#0474C7;
    border-radius:6px;
    overflow:hidden;
  padding: 1rem 1.5rem;

    transition:.35s;
}

.fv-recruit:hover{
   opacity: .6;
}

.fv-recruit__icon{
    display:flex;
    align-items:center;
    justify-content:center;
}

.fv-recruit__icon img{
    width:32px;
  height:auto;
}

.fv-recruit__content{
    flex:1;
    padding:0 10px;
}

.fv-recruit__content p:nth-child(1){
    display:block;
    background-color: #FFF;
    color: #0474C7;
    margin-bottom:8px;
    text-align: center;
    padding: .25rem .5rem;
    border-radius: 30px;

    font-size:12px;
    font-weight:500;
    line-height:1;
}

.fv-recruit__content p:nth-child(2){
    display:block;

    font-size:20px;
    color: #fff;
    font-weight:500;
    line-height:1;
    text-align: center;
}

.fv-recruit__arrow{
    position:relative;

    width:32px;
    height:100%;
}

.fv-recruit__arrow::before{
    content:"";

    position:absolute;
    top:50%;
    left:50%;

    width:9px;
    height:9px;

    border-top:2px solid #fff;
    border-right:2px solid #fff;

    transform:translate(-70%,-50%) rotate(45deg);
}

.fv-recruit:hover .fv-recruit__arrow{
    background:rgba(255,255,255,.08);
}

/* ========================================
   TOP FV
======================================== */

.top-fv {
  position: relative;
  padding-top: 2rem;
  background: #ffffff;
  overflow: hidden;
}

.top-fv__inner {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.72fr)
    minmax(600px, 1.28fr);
  align-items: center;
  width: min(calc(100% - 80px), 1760px);
  min-height: 600px;
  margin: 0 0 0 auto;
}

/* ========================================
   左側テキスト
======================================== */

.top-fv__content {
  position: relative;
  z-index: 5;
  padding: 70px 40px 150px 0;
}

/* ========================================
   FVタイトル
======================================== */

.top-fv__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.top-fv__title-line {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 8px 16px;

  color: #000000;
  background: #ffffff;
  border: 2px solid #0474c7;
  border-radius: 3px;

  font-size: clamp(36px, 3.1vw, 60px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  white-space: nowrap;

  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateY(16px);

  transition:
    opacity 0.5s ease,
    clip-path 0.8s ease,
    transform 0.7s ease;
}

.top-fv__title-line:nth-child(1) {
  transition-delay: 0.05s;
}

.top-fv__title-line:nth-child(2) {
  transition-delay: 0.25s;
}

.top-fv__title.is-show .top-fv__title-line {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

/* JSで生成する1文字 */

.top-fv__title-char {
  display: inline-block;
  color: #000000;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px);
}

.top-fv__title-char.is-accent {
  color: #0474c7;
}

.top-fv__title.is-show .top-fv__title-char {
  animation: fv-title-char 0.55s ease forwards;
  animation-delay: var(--char-delay, 0ms);
}

@keyframes fv-title-char {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* ========================================
   説明文
======================================== */

.top-fv__description {
  margin: 22px 0 0;
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 500;
  line-height: 1.9;

  opacity: 0;
  transform: translateY(16px);

  transition:
    opacity 0.7s ease 1.25s,
    transform 0.7s ease 1.25s;
}

.top-fv__content.is-show .top-fv__description {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   メインビジュアル
======================================== */

.top-fv__visual {
  position: relative;
  width: 100%;
  min-width: 0;
}

.top-fv-slider {
  width: 100%;
  height: clamp(440px, 40vw, 650px);
  border-radius: 100px 0 0 0;
  overflow: hidden;
}

.top-fv-slider .swiper-wrapper,
.top-fv-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.top-fv-slider .swiper-slide {
  overflow: hidden;
}

.top-fv-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1.05);
  transition: transform 6s ease;
}

.top-fv-slider .swiper-slide-active img {
  transform: scale(1);
}

/* ========================================
   スライダー操作
======================================== */

.top-fv__controls {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  width: max-content;
}

/* 矢印 */

.top-fv__arrow {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 44px;
  height: 44px;
  padding: 0;

  color: #0474c7;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.top-fv__arrow:hover {
  color: #ffffff;
  background: #0474c7;
  transform: translateY(-2px);
}

/* CMS上で矢印記号を直接入れる場合 */

.top-fv__arrow p {
  margin: 0;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

/* spanでCSS矢印を作る場合 */

.top-fv__arrow > span {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
}

.top-fv__arrow > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;

  width: 6px;
  height: 6px;

  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;

  transform: translateY(-50%) rotate(45deg);
}

.top-fv__arrow--prev > span {
  transform: rotate(180deg);
}

/* ========================================
   ページネーション
======================================== */

.top-fv__pagination {
  position: static;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: max-content !important;
  min-width: max-content;
  margin: 2px 0 0;

  white-space: nowrap;
}

.top-fv__pagination .swiper-pagination-bullet {
  display: block;
  flex: 0 0 auto;

  width: 10px;
  height: 10px;
  margin: 0 !important;

  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  opacity: 1;

  transform: none;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.top-fv__pagination .swiper-pagination-bullet-active {
  background: #0474c7;
  border-color: #0474c7;
  transform: none;
}

.top-fv__pagination .swiper-pagination-bullet::before {
  display: none;
}

/* ========================================
   車種ナビゲーション
======================================== */

.top-fv__vehicle {
  position: relative;
  z-index: 10;

  display: grid;
  grid-template-columns: 220px 1fr;

  width: min(calc(100% - 160px), 1500px);
  min-height: 170px;
  margin: 2rem auto 0;

  background: #ffffff;
  border: 3px solid #0474c7;
  border-left-width: 12px;
  border-radius: 16px;

  overflow: hidden;
}

.top-fv__vehicle-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 22px;
  text-align: center;
}

.top-fv__vehicle-guide p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.top-fv__vehicle-guide::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  z-index: 2;

  width: 0;
  height: 0;

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #0474C7;

  transform: translateY(-50%);
}

.top-fv__vehicle-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-width: 112px;
  min-height: 34px;
  margin-top: 12px;
  padding: 5px 12px;

  color: #0474c7;
  background: #ffffff;
  border: 2px solid #0474c7;
  border-radius: 5px;

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.top-fv__vehicle-guide a:hover {
  color: #ffffff;
  background: #0474c7;
}

.top-fv__vehicle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-fv__vehicle-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  min-width: 0;
  padding: 18px 14px 12px;

  color: #000000;
  text-decoration: none;

  border-right: 1px solid #e3e3e3;

  transition: background-color 0.3s ease;
}

.top-fv__vehicle-item:last-child {
  border-right: 0;
}

.top-fv__vehicle-item:hover {
  background: #e9f4fd;
}

.top-fv__vehicle-name {
  display: block;
  min-height: 26px;
  margin-bottom: 8px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.top-fv__vehicle-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;

  width: 100%;
  height: 86px;
}

.top-fv__vehicle-image img {
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 100%;

  object-fit: contain;

  transition: transform 0.35s ease;
}

.top-fv__vehicle-item:hover .top-fv__vehicle-image img {
  transform: translateY(-5px);
}

/* ========================================
   高さが低いPC
======================================== */

@media screen and (min-width: 1025px) and (max-height: 800px) {
  .top-fv__inner {
    min-height: 520px;
  }

  .top-fv__content {
    padding-top: 40px;
    padding-bottom: 110px;
  }

  .top-fv-slider {
    height: 520px;
  }

  .top-fv__vehicle {
    min-height: 145px;
  }

  .top-fv__vehicle-image {
    height: 68px;
  }
}

/* ========================================
   1400px以下
======================================== */

@media screen and (max-width: 1400px) {
  .top-fv__inner {
    grid-template-columns:
      minmax(300px, 0.7fr)
      minmax(560px, 1.3fr);

    width: calc(100% - 50px);
  }

  .top-fv__content {
    padding-right: 28px;
  }

  .top-fv__vehicle {
    grid-template-columns: 180px 1fr;
    width: calc(100% - 100px);
  }
}

/* ========================================
   1200px以下
======================================== */

@media screen and (max-width: 1200px) {
  .top-fv__inner {
    grid-template-columns: 38% 62%;
    min-height: 550px;
  }

  .top-fv__title-line {
    font-size: clamp(32px, 3.2vw, 44px);
  }

  .top-fv-slider {
    height: 520px;
    border-radius: 72px 0 0 0;
  }

  .top-fv__vehicle {
    width: calc(100% - 60px);
  }
}

/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px) {
  .top-fv {
    padding-top: 2rem;
  }

  .top-fv__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .top-fv__content {
    width: 100%;
    padding: 64px 40px 40px;
  }

  .top-fv__title {
    gap: 8px;
  }

  .top-fv__title-line {
    font-size: clamp(30px, 6vw, 46px);
  }

  .top-fv__description {
    margin-top: 18px;
    font-size: 16px;
  }

  .top-fv__about {
    margin-top: 28px;
  }

  .top-fv__visual {
    width: calc(100% - 40px);
    margin-left: auto;
  }

  .top-fv-slider {
    height: clamp(390px, 62vw, 570px);
    border-radius: 64px 0 0 0;
  }

  .top-fv__vehicle {
    grid-template-columns: 1fr;

    width: calc(100% - 80px);
    margin-top: 40px;

    border-radius: 10px;
  }

  .top-fv__vehicle-guide {
    flex-direction: row;
    justify-content: space-between;

    padding: 18px 24px;

    border-right: 0;
    border-bottom: 1px solid #c6d8e5;

    text-align: left;
  }
  .top-fv__vehicle-guide::after {
  display: none;
}

  .top-fv__vehicle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-fv__vehicle-item {
    min-height: 150px;
    border-bottom: 1px solid #e3e3e3;
  }

  .top-fv__vehicle-item:nth-child(2n) {
    border-right: 0;
  }

  .top-fv__vehicle-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* ========================================
   767px以下
======================================== */

@media screen and (max-width: 767px) {
  .top-fv__content {
    padding: 2rem 24px;
  }

  .top-fv__title {
    gap: 8px;
  }

  .top-fv__title-line {
    padding: 2px 7px 4px;
    border-width: 1px;

    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.4;
  }

  .top-fv__description {
    font-size: 13px;
    line-height: 1.8;
  }

  .top-fv__about {
    gap: 9px;
    margin-top: 24px;
    font-size: 14px;
  }

  .c-circle-arrow {
    width: 22px;
    height: 22px;
  }

  .top-fv__visual {
    width: calc(100% - 24px);
  }

  .top-fv-slider {
    height: 360px;
    border-radius: 48px 0 0 0;
  }

  .top-fv-slider .swiper-slide img {
    object-position: 58% center;
  }

  .top-fv__controls {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .top-fv__arrow {
    width: 40px;
    height: 40px;
  }

  .top-fv__pagination {
    gap: 7px;
  }

  .top-fv__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .top-fv__vehicle {
    width: calc(100% - 48px);
    margin-top: 18px;
  }

  .top-fv__vehicle-guide {
    padding: 15px 16px;
  }

  .top-fv__vehicle-guide p {
    font-size: 13px;
  }

  .top-fv__vehicle-guide a {
    min-width: 96px;
    min-height: 32px;
    padding: 4px 8px;
    font-size: 12px;
  }
  

  .top-fv__vehicle-item {
    min-height: 135px;
    padding: 15px 8px 10px;
  }

  .top-fv__vehicle-name {
    min-height: 36px;
    margin-bottom: 5px;
    font-size: 12px;
  }

  .top-fv__vehicle-image {
    height: 65px;
  }
}

/* ========================================
   414px以下
======================================== */

@media screen and (max-width: 414px) {
  .top-fv__content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .top-fv__title-line {
    font-size: clamp(25px, 7.2vw, 30px);
    white-space: nowrap;
  }

  .top-fv-slider {
    height: 320px;
    border-radius: 42px 0 0 0;
  }

  .top-fv-slider .swiper-slide img {
    object-position: 55% center;
  }

  .top-fv__vehicle {
    width: calc(100% - 32px);
  }
}


/* ========================================
   TOP ABOUT
======================================== */

.top-about {
  position: relative;
  margin: 3rem auto;
  padding: 3rem 0;
  background: #ffffff;
  overflow: hidden;
}

/* ========================================
   英字ループ
======================================== */

.top-about__marquee {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 0;

  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.top-about__marquee-track {
  display: flex;
  align-items: center;
  width: max-content;

  animation: top-about-marquee 28s linear infinite;
  will-change: transform;
}

.top-about__marquee-image {
  display: block;
  flex-shrink: 0;

  width: auto;
  height: clamp(52px, 5.5vw, 92px);
  margin-right: 40px;

  opacity: 0.78;
}

@keyframes top-about-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================================
   レイアウト
======================================== */

.top-about__inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 42% 58%;
gap: clamp(40px,5vw,72px);

  width: min(calc(100% - 120px), 1500px);
  margin: 0 auto;
  padding-top: 80px;
}

/* ========================================
   写真
======================================== */

.top-about__images {
  position: relative;
}

.top-about__image {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
}

.top-about__image img {
  display: block;
  width: 100%;
  height: 90%;
  object-fit: cover;

  transition: transform 0.8s ease;
}

.top-about__image--01 {
  top: 0;
  left: 0;

  width: min(46%, 330px);
  height: auto;
}

.top-about__image--02 {
  right: 0;
  bottom: 0;

  width: min(48%, 350px);
  height: auto;
}

/* ========================================
   テキスト
======================================== */

.top-about__content {
  margin-top: 2rem;
  max-width: 540px;
}

.top-about__title {
  margin: 0;

  color: #0474c7;
  font-size: clamp(24px, 2.4vw, 32px);
}

.top-about__body {
  margin-top: 30px;
}

.top-about__body p {
  margin: 0;
  color: #000000;
  font-size: 16px;
}

.top-about__body p + p {
  margin-top: 1rem;
}

.top-about__slogan {
  color: #0474c7 !important;
  font-weight: 500;
}

/* ========================================
   ボタン
======================================== */
.top-about__button{
    position:relative;
　　　　margin: 2rem 0
}

/* 順番に表示 */

.top-about__image--01 {
  transition-delay: 0s;
}

.top-about__image--02 {
  transition-delay: 0.16s;
}


/* ========================================
   1200px以下
======================================== */

@media screen and (max-width: 1200px) {
  .top-about__inner {
    grid-template-columns: minmax(440px, 1fr) minmax(380px, 0.9fr);
    gap: 56px;

    width: calc(100% - 80px);
  }

  .top-about__images {
    min-height: 580px;
  }

  .top-about__image--01 {
    width: 42%;
    height: 380px;
  }

  .top-about__image--02 {
    width: 45%;
    height: 380px;
  }
}

/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px) {

  .top-about__inner {
    grid-template-columns: 1fr;
    gap: 64px;

    width: calc(100% - 80px);
    padding-top: 72px;
  }

  .top-about__images {
    width: min(100%, 720px);
    min-height: 540px;
    margin: 0 auto;
  }

  .top-about__content {
    width: min(100%, 720px);
    max-width: none;
    margin: 0 auto;
  }
}

/* ========================================
   SP
======================================== */

@media screen and (max-width: 767px) {
  .top-about {
    padding: 2rem 0;
    margin: 1rem auto;
  }

  .top-about__marquee {
    top: 10px;
  }

  .top-about__marquee-image {
    height: 48px;
    margin-right: 24px;
  }

  .top-about__inner {
    gap: 48px;

    width: calc(100% - 40px);
    padding-top: 50px;
  }

  /* 写真を横並び */

  .top-about__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    width: 100%;
    min-height: 0;
  }

  .top-about__image {
    position: relative;
    inset: auto;

    width: 100%;
    height: auto;
    aspect-ratio: 0.72;

    border-radius: 8px;
  }

  .top-about__image--01 {
    margin-top: 0;
  }

  .top-about__image--02 {
    margin-top: 68px;
  }

  .top-about__content {
    width: 100%;
  }

  .top-about__title {
    font-size: clamp(24px, 6.8vw, 30px);
    line-height: 1.65;
  }

  .top-about__body {
    margin-top: 24px;
  }

  .top-about__body p {
    font-size: 13px;
    line-height: 1.9;
  }

  .top-about__body p + p {
    margin-top: 22px;
  }

  .top-about__button {
    width: min(100%, 230px);
    min-height: 56px;
    margin: 34px auto 0;
  }

  .top-about__button p {
    font-size: 14px;
  }
}

/* ========================================
   414px以下
======================================== */

@media screen and (max-width: 414px) {
  .top-about__inner {
    width: calc(100% - 32px);
  }

  .top-about__images {
    gap: 10px;
  }

  .top-about__image--02 {
    margin-top: 56px;
  }

  .top-about__body p {
    font-size: 12px;
  }
}

/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .top-about__marquee-track {
    animation: none;
  }

  .js-scroll-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*========================================
選ばれる理由
========================================*/

.top-reason{
    padding:2rem 0;
}

.top-reason__inner{
    width:min(80%,1280px);
    margin:0 auto;
}

/*----------------------------------
見出し
----------------------------------*/

.top-reason__heading{
    text-align:center;
  margin-bottom: 2rem;
}

.top-reason__heading p{
  position: relative;
    display:inline-block;

    margin:0;
    padding-bottom:8px;
    font-size:30px;
    font-weight:500;
}
.top-reason__heading p:after{
    content: "";
    position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background-color:#D1E4F4;
  z-index: -1;
}

.top-reason__heading span{
    margin:0 6px;
    color:#0474C7;
    font-size:58px!important;
    line-height:1;
}

/*----------------------------------
カード
----------------------------------*/

.top-reason__list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2%;
}

.top-reason__card{
    position:relative;
    padding-top:6rem;
}

.top-reason__card:nth-child(2){
    animation-delay: .3s;
}
.top-reason__card:nth-child(3){
    animation-delay: .6s;
}

.top-reason__image{
    position:absolute;
    top:0;
    left:50%;
    z-index:2;
    width:180px;
    transform:translateX(-50%);
}

.top-reason__content{
    height:100%;
    padding:95px 30px 34px;
    border:1px solid #7FB5E6;
    border-radius:14px;
    text-align:center;
    transition:.35s;
}

.top-reason__sub{
    margin:0;
    color:#0474C7;
    font-size:16px;
}

.top-reason__content h3{
    margin:10px 0 22px;
    color:#0474C7;
    font-size:24px;
    font-weight:500;
    line-height:1.45;
}

.top-reason__text{
    position:relative;
    margin:0;
    padding-top:22px;
    font-size:14px;
}

.top-reason__text::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:100%;
    height:6px;
    background:#D9EAF7;
    transform:translateX(-50%);
}

/*----------------------------------
ボタン
----------------------------------*/

.top-reason .c-button{
    display:flex;
    margin:2rem auto 0;
}

/*========================================
1200
========================================*/

@media(max-width:1200px){
.top-reason__list{
    gap:30px;
}

.top-reason__content{
    padding:90px 22px 28px;
}

.top-reason__content h3{
    font-size:28px;
}

}

/*========================================
SP
========================================*/

@media(max-width:960px){
.top-reason{
    padding: 2rem 0;
    margin: 1rem auto;
}
.top-reason__inner{
    width:calc(100% - 40px);
}
.top-reason__heading{
    margin-bottom:50px;
}
.top-reason__heading p{
    font-size:24px;
}
.top-reason__heading span{
    font-size:42px;
}
.top-reason__list{
    grid-template-columns:1fr;
    gap:70px;
}
.top-reason__image{
    width:160px;
}
.top-reason__content{
    padding:82px 24px 28px;
}
.top-reason__sub{
    font-size:14px;
}
.top-reason__content h3{
    font-size:26px;
}
.top-reason__text{
    font-size:13px;
    line-height:1.9;
}
.top-reason .c-button{
    margin-top:50px;
}
}


/* ========================================
   SERVICE
======================================== */

.top-service{
  padding: 3rem 0 5rem;
  overflow: hidden;
}

.top-service__inner{
  width: min(80%, 1280px);
  margin: 0 auto;
}

/* ========================================
   見出し
======================================== */

.top-service__sub{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.top-service__heading{
  position: relative;
  margin: 6px 0 60px;
  color: #0474c7;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.top-service__heading::after{
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 16px auto 0;
  background: #7fb5e6;
}

/* ========================================
   サービス一覧
======================================== */

.top-service__list{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========================================
   サービスカード
======================================== */

.top-service__item{
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  width: 95%;
  min-height: 240px;
  margin-left: auto;
  color: #000000;
  background: #ffffff;
  border: 1px solid #7fb5e6;
  border-left: 8px solid #0474c7;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition:
    width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease;
}

.top-service__item:hover{
  width: 100%;
  color: #000000;
  box-shadow: 0 16px 40px rgba(4, 116, 199, 0.1);
}

/* ========================================
   文章部分
======================================== */

.top-service__content{
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 36px 60px 32px 36px;
  background: #ffffff;
}

.top-service__content h3{
  margin: 0;
  color: #0474c7;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}

.top-service__content p{
  margin: 16px 0 0;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

/* ========================================
   丸矢印
======================================== */

.top-service__arrow{
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 34px;
  height: 34px;
  background: #ffffff;
  border: 1px solid #0474c7;
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.top-service__arrow::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 46%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #0474c7;
  border-right: 1px solid #0474c7;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

.top-service__item:hover .top-service__arrow{
  background: #0474c7;
  transform: translateX(4px);
}

.top-service__item:hover .top-service__arrow::before{
  border-color: #ffffff;
}

/* ========================================
   画像部分
======================================== */

.top-service__image{
  min-width: 0;
  overflow: hidden;
  margin: 1.5rem;
  border-radius: 10px;
}

.top-service__image img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.55s ease;
  border-radius: 10px;
}

.top-service__item:hover .top-service__image img{
  transform: scale(1.025);
}

/* ========================================
   1200px以下
======================================== */

@media screen and (max-width: 1200px){
  .top-service__inner{
    width: calc(100% - 80px);
  }

  .top-service__item{
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  }

  .top-service__content{
    padding: 32px 54px 28px 30px;
  }

  .top-service__content h3{
    font-size: 25px;
  }
}

/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px){
  .top-service{
    padding: 100px 0;
  }

  .top-service__inner{
    width: calc(100% - 64px);
  }

  .top-service__item{
    width: 96%;
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
    min-height: 220px;
  }

  .top-service__item:hover{
    width: 100%;
  }

  .top-service__image img{
    min-height: 220px;
  }
}

/* ========================================
   767px以下
======================================== */

@media screen and (max-width: 768px){
  .top-service{
    padding: 2rem 0;
    margin: 1rem auto;
  }

  .top-service__inner{
    width: calc(100% - 40px);
  }

  .top-service__heading{
    margin-bottom: 40px;
    font-size: 40px;
  }

  .top-service__list{
    gap: 20px;
  }

  .top-service__item{
    display: flex;
    flex-direction: column-reverse;
    width: 94%;
    min-height: 150px;
    border-left-width: 5px;
  }

  .top-service__item:hover{
    width: 100%;
  }

  .top-service__content{
    padding: 20px 38px 20px 18px;
  }

  .top-service__content h3{
    font-size: 20px;
    line-height: 1.4;
  }

  .top-service__content p{
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.7;
  }

  .top-service__image img{
    min-height: 150px;
  }

  .top-service__arrow{
    right: 12px;
    bottom: 12px;
    width: 28px;
    height: 28px;
  }
}


/* ========================================
   REVIEW
======================================== */

.top-review{
  margin: 3rem auto 0;
  padding: 0 0 120px;
  background: #e9f4fd;
}

.top-review__inner{
  width: min(calc(100% - 120px), 1500px);
  margin: 0 auto;
}

.top-review__heading{
  position:relative;
  top: -4rem;
  text-align: center;
}

.top-review__heading p{
  margin: 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
}

.top-review__heading h2{
  position: relative;
  margin: 6px 0 0;
  padding-bottom: 18px;
  color: #0474c7;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
}

.top-review__heading h2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 2px;
  background: #7fb5e6;
  transform: translateX(-50%);
}

/* ========================================
   SLIDER
======================================== */

.top-review__slider-wrap{
  position: relative;
  padding: 0 56px;
}

.top-review__slider{
  overflow: hidden;
}

.top-review__slider .swiper-wrapper{
  align-items: stretch;
}

.top-review__slider .swiper-slide{
  display: flex;
  height: auto;
}

/* ========================================
   CARD
======================================== */

.top-review__card{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 330px;
  padding: 28px 30px 30px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.top-review__meta{
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-review__user{
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #e9f4fd;
  border-radius: 50%;
}

.top-review__user::before{
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #0474c7;
  border-radius: 50%;
  transform: translateX(-50%);
}

.top-review__user::after{
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 20px;
  height: 13px;
  background: #0474c7;
  border-radius: 12px 12px 5px 5px;
  transform: translateX(-50%);
}

.top-review__rating{
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-review__rating p{
  margin: 0;
  color: #f6a800;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.top-review__rating strong{
  color: #000000;
  font-size: 24px;
  font-weight: 500;
}

.top-review__card h3{
  margin: 22px 0 0;
  color: #0474c7;
  font-size: 18px;
  line-height: 1.7;
}

.top-review__text{
  margin: 16px 0 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.9;
}

/* ========================================
   ARROW
======================================== */

.top-review__arrow{
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #0474c7;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.top-review__arrow::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid #0474c7;
  border-right: 1px solid #0474c7;
}

.top-review__arrow--prev{
  left: 0;
}

.top-review__arrow--prev::before{
  transform: translate(-35%, -50%) rotate(-135deg);
}

.top-review__arrow--next{
  right: 0;
}

.top-review__arrow--next::before{
  transform: translate(-65%, -50%) rotate(45deg);
}

.top-review__arrow:hover{
  background: #0474c7;
}

.top-review__arrow:hover::before{
  border-color: #ffffff;
}

/* ========================================
   PAGINATION
======================================== */

.top-review__pagination{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}

.top-review__pagination .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #ffffff;
  border-radius: 50%;
  opacity: 1;
}

.top-review__pagination .swiper-pagination-bullet-active{
  background: #0474c7;
}

/* ========================================
   1024px
======================================== */

@media screen and (max-width: 1024px){
  .top-review__inner{
    width: calc(100% - 64px);
  }

  .top-review__slider-wrap{
    padding: 0 48px;
  }

  .top-review__card{
    padding: 26px 24px;
  }
}

/* ========================================
   SP
======================================== */

@media screen and (max-width: 768px){
  .top-review{
    padding: 88px 0;
  }

  .top-review__inner{
    width: calc(100% - 1rem);
  }

  .top-review__heading{
    margin-bottom: 40px;
  }

  .top-review__heading h2{
    font-size: 40px;
  }

  .top-review__slider-wrap{
    padding: 0 38px;
  }

  .top-review__card{
    min-height: 0;
    padding: 24px 16px;
  }

  .top-review__rating p{
    font-size: 14px;
  }

  .top-review__rating strong{
    font-size: 20px;
  }

  .top-review__card h3{
    font-size: 16px;
  }

  .top-review__text{
    font-size: 12px;
  }

  .top-review__arrow{
    width: 34px;
    height: 34px;
  }

  .top-review__pagination{
    margin-top: 28px;
  }
}


/* ========================================
   Recruit
======================================== */

.top-recruit{
    padding:80px 0;
}

.top-recruit__inner{
    width:min(80%,1280px);
    margin:0 auto;
}

.top-recruit__head{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:60px;
    align-items:center;
}

.top-recruit__sub{
    margin:0;
    font-size:14px;
  text-align: center;
}

.top-recruit__title h2{
    position:relative;
    margin:8px 0 40px;
    color:#0474C7;
    font-size:56px;
  text-align: center;
}

.top-recruit__title h2::after{
    content:"";
    position:absolute;
    left:0;
    right: 0;
    margin: 0 auto;
    bottom:-16px;
    width:60px;
    height:2px;
    background:#7FB5E6;
}

.top-recruit__catch{
    font-size: 1.25rem;
  text-align: center;
}

.top-recruit__catch span{
    color:#0474C7;
}

.top-recruit__image img{
    width:100%;
    border-radius:12px;
}

.top-recruit__point{
    position:relative;
    margin:50px 0 36px;
    text-align:center;
}

.top-recruit__point::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:100%;
    height:2px;
    background:#7FB5E6;
}

.top-recruit__point p{
    position:relative;
    display:inline-block;
    padding:0 24px;
    background:#fff;
    color:#0474C7;
    font-size:20px;
}

.top-recruit__list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.top-recruit__card{
    display:grid;
    grid-template-columns:90px 1fr;
    gap:20px;
    padding:28px;
    border:1px solid #7FB5E6;
    border-radius:8px;
}

.top-recruit__card:nth-child(2){
    animation-delay: .3s;
}

.top-recruit__card:nth-child(3){
    animation-delay: .6s;
}

.top-recruit__card img{
    width:90px;
}

.top-recruit__card-img p{
    display:block;
    margin-bottom:10px;
    color:#0474C7;
    font-size:14px;
    text-align: center;
}

.top-recruit__card h3{
    margin:0;
    color:#0474C7;
    font-size:18px;
}

.top-recruit__card p{
    margin-top:14px;
    font-size:14px;
}

.top-recruit__cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    margin-top:40px;
    padding:36px 48px;
    background:#E9F4FD;
}

.top-recruit__cta h3{
    margin:0;
    color:#0474C7;
    font-size:28px;
}

.top-recruit__cta p{
    font-size:15px;
}

.top-recruit__cta-button{
    display:flex;
    gap:20px;
}

/* ========================================
   Recruit Responsive
======================================== */

@media screen and (max-width: 1024px){
  .top-recruit{
    padding: 100px 0;
  }

  .top-recruit__inner{
    width: calc(100% - 80px);
  }

  .top-recruit__head{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .top-recruit__title{
    text-align: center;
  }

  .top-recruit__title h2::after{
    //transform: translateX(-50%);
  }

  .top-recruit__catch{
    font-size: 24px;
    line-height: 1.7;
  }

  .top-recruit__image{
    width: 100%;
  }

  .top-recruit__image img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    object-fit: cover;
  }

  .top-recruit__list{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-recruit__card{
    grid-template-columns: 90px 1fr;
    gap: 20px;
  }

  .top-recruit__cta{
    flex-direction: column;
    align-items: flex-start;
  }

  .top-recruit__cta-button{
    width: 100%;
  }
}

/* ========================================
   Recruit SP
======================================== */

@media screen and (max-width: 767px){
  .top-recruit{
    padding: 3rem 0;
  }

  .top-recruit__inner{
    width: calc(100% - 40px);
  }

  .top-recruit__head{
    gap: 32px;
  }

  .top-recruit__sub{
    font-size: 12px;
  }

  .top-recruit__title h2{
    margin: 6px 0 34px;
    font-size: 40px;
  }

  .top-recruit__title h2::after{
    bottom: -12px;
    width: 42px;
  }

  .top-recruit__catch{
    font-size: 16px;
    line-height: 1.75;
  }

  .top-recruit__image img{
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .top-recruit__point{
    margin: 34px 0 26px;
  }

  .top-recruit__point p{
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .top-recruit__list{
    gap: 14px;
  }

  .top-recruit__card{
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
  }

  .top-recruit__card img{
    width: 72px;
  }

  .top-recruit__card small{
    margin-bottom: 6px;
    font-size: 12px;
  }

  .top-recruit__card h3{
    font-size: 16px;
    line-height: 1.55;
  }

  .top-recruit__card p{
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.75;
  }

  .top-recruit__cta{
    gap: 22px;
    margin-top: 32px;
    padding: 28px 20px;
  }

  .top-recruit__cta-text{
    width: 100%;
    text-align: center;
  }

  .top-recruit__cta h3{
    font-size: 20px;
    line-height: 1.6;
  }

  .top-recruit__cta p{
    font-size: 12px;
  }

  .top-recruit__cta-button{
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .top-recruit__cta-button .c-button{
    width: 100%;
    margin-top: 0;
  }
}

/* ========================================
   Recruit 414px
======================================== */

@media screen and (max-width: 414px){
  .top-recruit__inner{
    width: calc(100% - 32px);
  }

  .top-recruit__catch{
    font-size: 15px;
  }

  .top-recruit__card{
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }

  .top-recruit__card img{
    width: 64px;
  }

  .top-recruit__card h3{
    font-size: 15px;
  }

  .top-recruit__card p{
    font-size: 12px;
  }

  .top-recruit__cta{
    padding: 24px 16px;
  }
}


/* ========================================
   TOP NEWS
======================================== */

.top-news {
  padding: 60px 0;
  background: #ffffff;
}

.top-news__inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(48px, 8vw, 80px);
  width: min(80%, 1280px);
  margin: 0 auto;
}

/* 広い方：NEWS一覧 */
.top-news__main {
  flex: 1 1 0;
  min-width: 0;
}

/* 左側：見出し */
.top-news__side {
  flex: 0 0 260px;
}


/* ========================================
   投稿一覧
======================================== */

.top-news .news-main {
  width: 100%;
}

.top-news .news-main .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.top-news .news-main .webgene-blog article {
  width: 100%;
  margin: 0;
  font-size: 16px;
}

.top-news .news-main .webgene-blog article > a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 32px 0;
  color: #000000 !important;
  border-top: 1px solid #7fb5e6;
  box-shadow: none;
  text-decoration: none;
  transition: all .5s;
}

.top-news .news-main .webgene-blog article:last-child > a {
  border-bottom: 1px solid #7fb5e6;
}

.top-news .news-main .webgene-blog article > a:hover {
  opacity: .6;
}

.top-news .newsTextWrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.top-news__meta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-news .newsItemTime {
  color: #0474c7;
  font-size: 14px;
  line-height: 1.5;
}

.top-news .newsItemCate {
  width: fit-content;
  margin: 0;
  padding: 7px 18px;
  color: #ffffff !important;
  background: #0474c7;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1;
}

.top-news .newsItemTit {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #000000;
  border-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
}


/* ========================================
   見出し
======================================== */

.top-news__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.top-news__heading {
  text-align: right;
}

.top-news__heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.top-news__heading h2 {
  position: relative;
  margin: 6px 0 0;
  padding-bottom: 18px;
  color: #0474c7;
  font-size: 52px;
  line-height: 1.2;
}

.top-news__heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: #7fb5e6;
}

.top-news__button {
  margin-top: 48px;
}


/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px) {

  .top-news__inner {
    gap: 48px;
    width: calc(100% - 80px);
  }

  .top-news__side {
    flex: 0 0 220px;
  }

  .top-news__heading h2 {
    font-size: 46px;
  }
}


/* ========================================
   767px以下
======================================== */

@media screen and (max-width: 767px) {

  .top-news {
    padding: 3rem 0;
  }

  .top-news__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: calc(100% - 40px);
  }

  .top-news__main {
    width: 100%;
    flex: none;
  }

  .top-news__side {
    width: 100%;
    flex: none;
    align-items: flex-start;
  }

  .top-news__heading {
    text-align: left;
  }

  .top-news__heading h2 {
    font-size: 40px;
  }

  .top-news__heading h2::after {
    right: auto;
    left: 0;
  }

  .top-news__button {
    width: 100%;
    margin-top: 28px;
  }

  .top-news .news-main .webgene-blog article > a {
    padding: 24px 0;
  }

  .top-news__meta {
    gap: 16px;
  }

  .top-news .newsItemTime {
    font-size: 12px;
  }

  .top-news .newsItemCate {
    padding: 6px 12px;
    font-size: 12px;
  }

  .top-news .newsItemTit {
    font-size: 14px;
  }
}