@charset "UTF-8";

body {
    font-family: 'Noto Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    letter-spacing: 0;
    line-height: 1.5;
    color: #272727;
    text-align: center;
    overflow-x: hidden;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

#voice, #works, #example, #plan, #flow, #faq, #thanks {
  padding: 80px 0 70px 0;
}

img {
    max-width: 100%;
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

/** ----　タブレット　---- **/

@media (min-width: 768px) and (max-width: 1020px) {
  .section-inner {
    width: 90%;
    padding: 0 1%;
  }

}


/** ----　スマホ　---- **/

@media (max-width: 767px){
  .section-inner {
    max-width: 100%;
  }
  #voice, #works, #example, #plan, #flow, #faq, #thanks {
    padding: 40px 0 35px 0;
  }
  br.brank {
    display: none;
  }
}

/** -----------------------------------
    テキスト
-------------------------------------**/
h2 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: bold;
  position: relative;
  margin-bottom: clamp(3rem, 6vw, 8rem);
}

h2::after {
  content: "";
  width: clamp(8rem, 25vw, 22rem);
  height: 3px;
  background: linear-gradient(90deg, #011295, #f4f5fd);
  display: block;
  position: absolute;
  bottom: -10px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

h2.small {
  font-size: clamp(1.8rem, 3vw, 3.6rem);
}

.section-title {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.section-title.is-show {
  opacity: 1;
  transform: translateX(0);
}


h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 24px;
  color: #011295;
}

p.small,
a.small {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  font-weight: bold;
  margin-bottom: 2rem;
}

p.medium {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: bold;
}

.flow-text {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  text-align: left;
}

/** -----------------------------------
    CTA、ボタン
-------------------------------------**/
.cta {
  background: #011295;
  padding: 30px 0;
  text-align: center; 
  position: relative;
  z-index: 0;  
}

.white {
  color: #fff;
}

.button {
  position: relative; 
  width: 90%;
  max-width: 590px;
  margin: 0 auto;
  display: block;
  animation: pulseEffect 1s ease-in-out infinite;
  z-index: 2;
  overflow: hidden;
}

.thanks-button {
  display: inline-block;
  text-decoration: none;
  background: #011295;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 1.6rem;
  transition: 0.3s;
  margin-top: 20px;
}
.thanks-button:hover {
  background: #002080;
}

@keyframes pulseEffect {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.button::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100px;
  background-color: #b5e7ff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}

.button:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: none;
  -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/*-- 丸投げ君とはのCTA --*/

.cta-section {
  background-color: #011295;
  width: 90%;
  max-width: 800px;
  padding: 28px 0;
  margin: 0 auto;
  margin-top: -80px;
  border-radius: 10px;
  position: relative;
  z-index: 3;
  text-align: center;
}

/*-- 追従ボタン --*/

.contact-float {
  display: block;
  position: fixed;
  bottom: 40px;
  right: 0px;
  z-index: 100;
  cursor: pointer;
}

.contact-float img {
  width: 120px; 
  height: auto;
  transition: transform 0.2s ease;
}

.contact-float img:hover {
  transform: scale(1.05);
}

.sp-float {
  display: none;
}

/* 　　スマホ 　　*/

@media (max-width: 767px){
  .cta {
    padding: 60px 0 30px;
  }
  .cta-section {
    max-width: 100%;
    padding: 30px 0;
  }

  .contact-float {
    display: none;
  }

  .contact-button {
    width: 90%;
  }
  
  .sp-float {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8); 
    padding: 20px 10px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
    width: 100%;
  }
  .sp-float.is-show {
    display: block;
  }
    
  .contact-float img {
    width: 90%; 
    height: auto;
    transition: transform 0.2s ease;
  }

}




/** -----------------------------------
    ヘッダー
-------------------------------------**/
#header {
  width: 100%;
  padding: 0vw 6vw;
  position:absolute;
  z-index: 13;
}

.logo {
  width: clamp(125px, 20vw, 230px);
  max-width: 100%;
  height: auto;
}

h1 {
  text-align: left;
}

/** ----　タブレット　---- **/

@media (min-width: 768px) and (max-width: 1020px) {
  #header {
    padding: 2px 50px;
}
}

/** ----　スマホ　---- **/

@media (max-width: 767px){
  #header {
    padding: 2vw 5vw;
  }  
}

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

#kv {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.kv-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 10;
}

/** ----　スマホ　---- **/

@media (max-width: 767px){
  #kv {
    height: auto;
    background-image: url("../images/kv_sp.png");
    aspect-ratio: 1500 / 2366;
    margin-bottom: -40px;
    background-size: contain;
    background-position: top;
  }

}

/** -----------------------------------
    パートナー企業
-------------------------------------**/
.scroll-infinity {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.scroll-infinity__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: auto;
  margin-left: 20px;
  line-height: 40px;
  flex-shrink: 0; /* サイズが小さくならないようにする */
}

.scroll-infinity__list--left > .scroll-infinity__item {
  flex-shrink: 0;
}

.scroll-infinity__item:nth-child(16),
.scroll-infinity__item:nth-child(6) {
  margin-left: 30px; 
  margin-right: 20px; 
}

.scroll-infinity__item:first-child,
.scroll-infinity__item:nth-child(11) {
  margin-left: 0; 
  margin-right: 20px;
}
.scroll-infinity__item:nth-child(8),
.scroll-infinity__item:nth-child(9), 
.scroll-infinity__item:nth-child(10),
.scroll-infinity__item:nth-child(18), 
.scroll-infinity__item:nth-child(19), 
.scroll-infinity__item:last-child {
  margin-left: 0; 
}


/* 無限スクロール */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-50%);
  }
  }
  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
  }
  .scroll-infinity__list--left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
  }
  .scroll-infinity__item {
    width: clamp(200px, 25vw, 250px);
  }

  .scroll-infinity__item > img {
    height: 100%;
    width: auto;
    object-fit: contain; /* 比率を維持しながら枠内に収める */
  }

  /*　　 タブレット 　　*/

  @media(min-width: 768px) and (max-width: 1020px) {
    .scroll-infinity {
        padding: 60px 0;
    }
  }

  @media (max-width: 767px){
    .scroll-infinity {
      padding: 40px 0;
      text-align: center;
    }
    
  }
  
  
/** -----------------------------------
    お客様の声
-------------------------------------**/
.swiper-wrapper {
  display: none;
}
.fadeUp {
  opacity: 0;
}

.fadeUp.active {
  animation: 2s fadeup ease-in-out forwards;
}

.voice-swiper {
  display: none;
}

.swiper-slide img {
  height: auto;
  display: block;
}

.col-3 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.col-3 .item {
  width: calc((100% - 48px)/3);
}
.voice-card {
  position: relative;
  overflow: hidden;
}

.voice-img-wrap {
  position: relative;
}

.voice-card-bg {
  width: 100%;
  height: auto;
  display: block;
}

.voice-overlay {
  position: absolute;
  width: 100%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}

.voice-face {
  width: clamp(48px, 7vw, 100px);
  height: clamp(48px, 7vw, 100px);
  max-width: 25vw;
}

.sp-voice-face {
  width: clamp(120px, 22vw, 180px);
  height: clamp(120px, 22vw, 180px);
  max-width: 25vw;
}

/* ロゴ＋名前 */
.voice-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voice-logo {
  height: clamp(14px, 1.6vw, 20px);
  margin-bottom: 4px;
}
.logo3 {
  height: 28px;
}

.voice-name {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}
.sp-voice-name {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.speech-bubble {
  background-color: #011295;
  color: white;
  width: 80%;
  max-width: 800px;
  padding: 2vw 0;
  border-radius: 8px;
  display: inline-block;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: bold;
  position: relative;
}

/* 吹き出しの三角部分 */
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 28px 50px 0 50px;
  border-style: solid;
  border-color: #011295 transparent transparent transparent;
}

.banklogo-container {
  display: flex;
  justify-content: center;
  gap: 3rem; 
  align-items: center;
  margin-top: 50px;
}

.banklogo-container img {
  height: clamp(28px, 4vw, 48px); 
}

@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

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

@media (min-width: 768px) {
  .voice-swiper {
    display: none;
  }
}

@media (max-width: 767px) {
  
  .voice-swiper .swiper-wrapper {
    display: flex;
    justify-content: flex-start;
  }

  .voice-swiper {
    display: block;
    width: 100%;
    overflow: hidden; 
    padding: 0 12px; 
    }
  
  .voice-wrap {
    display: none;
  }

  .voice-swiper .swiper-slide {
    width: 90%;
    max-width: 340px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;

 }
  .voice-swiper .swiper-slide {
    width: 90%;
    max-width: 340px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    scroll-snap-align: start;
  }
  .voice-swiper .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .banklogo-container {
    flex-direction: column;
    gap: 12px;
  }

  .banklogo-container img {
    height: 40px;
  }
  .speech-bubble {
    padding: 5vw 0;
  }

  .sp-voice-logo {
    height: 18px !important;
    margin-bottom: 8px;
  }
  .sp-logo3 {
    height: 30px !important;
  }

  
  /* 吹き出しの三角部分 */
  .speech-bubble::after {
    bottom: -20px;
    border-width: 20px 40px 0 40px;
  }
  
}

@media (max-width: 480px) {
  .sp-voice-face {
    width: 80px;
    height: 80px;
  }
}


/** -----------------------------------
    お悩み
-------------------------------------**/
.blue-section {
  position: relative;
  background: #b5e7ff;
  border-bottom-left-radius: 100% 20%;
  border-bottom-right-radius: 100% 20%;
  padding: 80px 0 250px 0;
  z-index: 2;
}
.worry-title {
  width: 500px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.sos {
  display: block;
}

.sos_sp {
  display: none;
}
.point-inner {
  background: #007fd6;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px 24px;
  position: relative;
  margin-top: -250px;
  z-index: 3;
}

.point-inner p.medium {
  color: #fff;
  margin-bottom: 30px;
}
.point-image {
  display: block;
}
.solution_sp {
  display: none;
}
.arrow {
  text-align: center;
  width: 320px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

.content-inner {
  border: 10px solid;
  border-color: #011295;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px 24px;
  position: relative;
  z-index: 2;
}
.flow_img_pc {
  display: block;
}
.flow_img_sp {
  display: none;
}

.flex-item {
  text-align: center;
}

.logo-text-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-logo {
  height: 150px;
  width: auto;
  max-width: 100%;
}

.logo-text {
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: bold;
  color: #333;
  position: relative;
  bottom: -30px;
  white-space: nowrap;
}

@media (max-width: 767px){
  .worry-inner {
    max-width: 100%;
  }
  .worry-title {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 40px
  }
  .sos {
    display: none;
  }
  .sos_sp {
    display: block;
  }
  .point-inner {
    max-width: 100%;
  }
  .point-image {
    display: none;
  }
  .solution_sp {
    display: block;
  }
  .point_wrap > img {
    margin-bottom: 20px;
  }
  .point_wrap > img:first-child {
    margin-top: 20px;
  }
  .arrow {
    margin-top: 25px;
  }
  .content-inner {
    width: 90%;
    padding-top: 100px;
  }
  .flow_img_pc {
    display: none;
  }
  .flow_img_sp {
    display: block;
  } 
  .content-logo {
    width: 100%; 
    max-width: 270px; 
    height: auto;      
  }  
  .logo-text {
    bottom: -20px;
  }
}
/** -----------------------------------
    活用事例
-------------------------------------**/

.card-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.card-left {
  max-width: 300px;
}

.card-right img {
  max-width: 80px;
  height: auto;
}
.card {
  background: #fff;
  border: 3px solid #011295;
  padding: 24px 20px;
  box-sizing: border-box;
  width: calc((100% - 30px)/2);
  flex: 1;
  min-width: 0;
}
.card-left {
  position: relative;
}

.card-right {
display: flex;
justify-content: space-between;
align-items: center;
gap: 50px;
}

.card-right img {
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  float: right;
}

.title {
  position: static; 
  margin-top: 16px;
  text-align: left;
  font-weight: bold;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.divider {
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 20px;
  border-top: 1px solid #011295;
  width: 100%;
  max-width: 240px;
}
.sub-title {
  margin: 0 auto;
}
.sub-title .small {
  margin-bottom: 1.2rem;
}
.item-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.item-bottom li {
  font-size: 1.6rem;
}

.col-2 {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 1020px){
.col-2 {
    flex-direction: column;
    gap: 30px;
  }
  .card {
    width: 100%;
  }
  .card-item {
    flex-direction: column; 
    align-items: flex-start; 
    text-align: center;
  }
  .card-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin: 0 auto;
}
  .card-right .title {
    flex: 1;
    text-align: left;
  }
  .card-left {
    max-width: 400px;
    margin: 0 auto;
  }

  .card-right img {
    width: auto;
    height: auto;
    max-width: 30%;
    flex-shrink: 0;
    margin-top: 0;
  }
  .divider {
    max-width: 500px;
  }
  
  .item-bottom {
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
    align-items: flex-start;
    gap: 8px;
  }

}

@media (max-width: 767px) {
  .card-left {
    max-width: 280px;
  }
  .sub-title .small {
    margin-bottom: 0.8rem;
  }
  .item-bottom {
    gap: 6px;
  }
  .item-bottom li {
    font-size: 1.4rem;
  }
  
  
}

/** -----------------------------------
    対応業務一覧
-------------------------------------**/
.works-container {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pc-slider {
  flex: 1;
  width: calc(100% - 300px);
}
.works-img {
  margin-right: 100px;
  height: auto;
  width: 200px;
  min-width: 150px;
  max-width: 200px;
}


.works-img img {
  width: 100%;
  height: auto;
  display: block;
}

.works-tabs li.active {
  color: #011295;
  border-bottom: 2px solid #011295;
}

.mySwiper {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 16px;
  padding-left: 20px;
  padding-right: 20px;
}
.service-card {
  max-width: 280px;
  max-height: 380px;
  background-color: #fff;
  border: 2px solid #011295;
  border-radius: 8px;
  padding: 20px 25px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  box-shadow: 2px 2px 2px 1px rgba(1, 36, 50, 0.3);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #011295;
  border-bottom: 2px dashed #d3edfb ;
  word-break: break-word;
}

.task-name,
.task-time {
  font-weight: bold;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  text-align: left;
}

/* Swiper部分 */
.swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden; 
}
.mySwiper .swiper-wrapper {
  display: flex;
  align-items: stretch; 
  justify-content: flex-start !important;
  padding-left: 0;
}
.swiper-wrapper .swiper-slide {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 300px;
}
/* タブスタイル */
.works-wrap ul {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0;
}
.works-wrap li {
  margin: 0 1rem;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.6rem;
}
.works-wrap li.active {
  border-bottom: 2px solid #011295;
  color: #011295;
}

.swiper-buttons {
  display: flex;
  justify-content: end;
  padding-top: 24px;
  padding-right: 50px;
  margin-top: 20px;
  gap: 20px;
}

.works-button-prev,
.works-button-next {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1130px) and (min-width: 1021px) {
  .mySwiper {
    padding-left: 0 !important; 
  }

  .service-card {
    padding: 15px 20px;
  }

  .task-name, .task-time {
    font-size: 1.4rem;
  }
  
}

/** ----　タブレット　---- **/

@media (min-width: 768px) and (max-width: 1020px) {
  
  .service-card {
    max-width: 300px;
  }

  .works-container {
    width: 100%;
  }

  .mySwiper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .works-img {
    margin: 0 auto 30px;
    width: 30%; 
    min-width: 120px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 1;
  }
  .task-name {
    font-size: 1.4rem; 
  }
}


@media (max-width: 767px){
  .task-list {
    width: 90%;
    margin: 0 auto;
  }
  .works-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .works-container {
    flex-direction: column;
    align-items: center;
    padding-bottom: 120px;
    position: relative;
  }
  
  .pc-slider {
    width: 90%;
    position: relative;
    flex: none;
  }
  
  /* カードの調整 */
  .service-card {
    margin: 0 auto;
    border-radius: 5px;
    padding: 20px 20px 50px 20px;
    transform: scale(0.9);
    transform-origin: top center;
    height: auto;
    max-height: none;
    
  }
    
  .works-img {
    position: absolute;
    bottom: 50px; 
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 180px;
    margin: 0;
    z-index: 2;
  }
  
  .works-img img {
    width: 100%;
    height: auto;
  }
  
  /* タブ部分の調整 */
  .works-wrap {
    margin-bottom: 20px;
  }
  
  .works-wrap ul {
    flex-wrap: wrap;
    overflow-x: auto;
    justify-content: center;
    padding: 0 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  
  .works-wrap li {
    white-space: nowrap;
    display: inline-block;
    font-size: 1.4rem;
    scroll-snap-align: center;
    margin: 0.5rem;
  }
  
  .swiper-buttons {
    justify-content: center;
    padding-right: 0;
  }

  .swiper-wrapper .swiper-slide {
    max-width: 100%; 
    box-sizing: border-box;
  }
  .mySwiper {
    width: 100%;
    overflow: hidden;
    padding: 0 20px; 
    box-sizing: border-box;
  }
  .works-button-prev ,
  .works-button-next {
  position: absolute;
  width: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 1rem;
  font-weight: bold;
  }

  .works-button-prev {
  left: 1%;
  }

  .works-button-next {
  right: 1%;
  }
  
}

/** -----------------------------------
    料金プラン
-------------------------------------**/
#plan {
  position: relative;
  background-image: url(../images/bg_plan.jpg);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-bottom: 160px;
}

#plan > .section-inner {
  position: relative;
  z-index: 2;
  min-height: 500px;
}
#plan:after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  border-style: solid;
}

#plan:after {
  bottom: 0;
  border-color: transparent #011295 transparent;
  border-width: 19vw 50vw 0;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.sp-only img {
  width: 85%;
  margin-top: 30px;

}
.campaign {
  margin-top: 40px;
}
.bg-arrow {
  pointer-events: auto;
}

.bg-arrow-container {
  position: relative;
  background-color: #011295;
  z-index: 2;
}

.bg-arrow-container:after {
  content: "";
  position: absolute;
  padding-bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50vw solid #011295;
  border-right: 50vw solid #011295;
  border-bottom: 15vw solid #fff; 
}
.plan-wrapper {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap; 
  gap: 40px; 
  align-items: flex-end;
  margin-top: 40px;
}
.plan-card-top {
  background: #011295;
  padding-top: 20px;
}

.plan-card-top img {
  width: 35px;
}

.hour-pay {
  font-size: clamp(2.6rem, 2vw, 3.4rem);
  font-weight: bold;
}

.standard {
  transform: scale(1.05);
  transform-origin: bottom center;
  overflow: hidden; 
}

.triangle {
  margin-top: -1px;
}

.catch {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
}

.catch span {
  color: #fed938;
}

.plan-card {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  border: 3px solid #011295;
  transition: 0.3s;
}
.plan-detail li img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  align-items: center;
}

.item-row {
  display: flex;
  align-items: center; 
  justify-content: center;
}

.item-text {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  text-align:   center;
  line-height: 1.4;
}


.plan-detail li {
  width: fit-content;
  margin: 16px auto;
  width: 80%;
  border-bottom: 3px dashed #011295;
  font-size: 1.6rem;
}

.plan-detail li:last-child {
  border-bottom: none;
}
.bg-yellow {
  background: #fef5cf;
}
@media (min-width: 768px) and (max-width: 1020px) {
  .plan-wrapper {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
  }

  .plan-card {
    width: auto;
    max-width: 300px;
    flex: 1 1 300px;
  }
}

@media (max-width: 767px){
  #plan {
    padding-bottom: 80px;
    background-image: url(../images/bg_plan_sp.jpg);
  }
  
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  
  .plan-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .standard {
    transform: none;
  }

  .plan-card {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
  }

  .plan-card-top h3 {
    margin-bottom: 10px;
  }

  .plan-detail {
    margin-bottom: 40px;
  } 

  .plan-detail li {
    font-size: 1.4rem; 
    width: 65%;
    display: flex;
    justify-content: space-between;
  }

  .plan-detail li.bg-yellow {
    background: transparent;
  }
  
  .plan-detail li.bg-yellow p.medium {
    background: #fef5cf;
    padding: 2px 10px;
  }

  .campaign {
    margin-top: 0;
  }
  .campaign .small{
    margin-top: 30px;
  }
}

/** -----------------------------------
    導入の流れ
-------------------------------------**/
#flow {
  position: relative;
  z-index: 5;
}
.number {
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 40px;
}
.flow-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
}
.flow-items {
  width: calc((100% - 80px)/4);
  text-align: center;
}

.flow-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 20px;
}

.flow-img img {
  width: 100px;
  height: 80px;
  object-fit: contain;
}
.flow-pc-wrap {
  display: block;
}
.flow-sp-wrap {
  display: none;
}
.fadeUp.delay01.active {
  animation-delay: 0.2s;
}

.fadeUp.delay02.active {
  animation-delay: 0.4s;
}

.fadeUp.delay03.active {
  animation-delay: 0.6s;
}

.fadeUp.delay04.active {
  animation-delay: 0.8s;
}

@media (max-width: 767px){
  .flow-pc-wrap {
    display: none;
  }
  .flow-sp-wrap {
    display: block;
  }
  .sp-flow-container {
    flex-direction: column;
    justify-content:center;
    align-items:center;
  }
  .flow-items {
    width: 100%;
    padding: 40px;
  }
  .flow-items:first-child {
    padding-top: 0px;
  }
  .flow-text {
    text-align: left;
  }
  .flow-sp-wrap .number img {
    height: 80%;
    object-fit: contain;
  }
}

/** -----------------------------------
    よくある質問
-------------------------------------**/
#faq {
  background-color: #b5e7ff;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2%;
  font-size: 1.6rem;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-question {
  background: #fff;
  padding: 1% 2%;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
}

.faq-question.active {
  background: #011295;
  color: #fff;
  border-radius: 5px 5px 0 0;
}
.faq-answer {
  display: none;
  padding: 2%;
  background: #fff;
  border-radius: 0 0 5px 5px;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left; 
}

.fap-left {
  display: flex;
  align-items: center;
  text-align: left;
}

.circle-q, .circle-a {
  width: 50px;
  height: 50px;
  background-color: #011295; 
  color: white;
  font-size: 3rem; 
  font-weight: bold; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; 
  margin-right: 24px;
  flex-shrink: 0;
}

.faq-question.active .circle-q {
  background-color: #fff; 
  color: #011295;
}

.fap-right span {
  font-size: 3rem;
  font-weight: bold;
}

@media (max-width: 767px){
.container {
  max-width: 100%;
  font-size: 1.4rem;
}
.circle-q, .circle-a {
  width: 30px;
  height: 30px;
  font-size: 1.5rem; 
  margin-right: 20px;
}
.faq-answer {
  padding: 3%;
}

}

/** -----------------------------------
    フッター
-------------------------------------**/
#footer {
  background: #011295;
}

.footer-logo {
  width: 300px;
  margin-bottom: 30px;
}

.info-wrapper {
  display: flex;
  justify-content: space-around;
}

.information {
  text-align: left;
  padding: 2% 0;
}

.info-wrapper .cta {
  padding: 60px 0;
}

.privacy {
  color: #fff;
  font-size: 1.6rem;
  margin: 30px 0;
  font-weight: bold;
}

a .ceo_tel {
  font-size: 22px;
  font-weight: bold;
  padding-top: 2rem;
}

.video {
  margin: 50px 0 80px;
}

.video iframe {
  width: 100%;
height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px){
  .footer-logo {
    width: 150px;
    margin-bottom: 20px;
  }
  .information {
    padding: 5%;
  }
  .info-wrapper {
    flex-direction: column-reverse;
  }

  .video iframe {
    width: 90% !important;
  }
}
