html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.loading {
  overflow: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "NotoSansJP", "Inter", sans-serif;
}

#loadingScreen {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #eee;
  border-top: 5px solid #888;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body:not(.loading) #loadingScreen {
  display: none;
}

.main {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.main img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* アニメーション共通設定 */
.animate-on-scroll {
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeInRightToCenter {
  0% {
    opacity: 0;
    transform: translate(-48%, 0);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============
* FV 
================*/
.sec-FV {
  position: relative;
  max-width: 480px;
  width: 100%;
}

.FV-text {
  position: absolute;
  top: 14%;
  left: 70%;
  width: 63%;
  opacity: 0;
}

.FV-text.is-visible {
  animation: fadeUp 1s ease-out 0.3s forwards;
}

.FV-3point {
  position: absolute;
  bottom: 21%;
  left: 50%;
  opacity: 0;
  width: 90%;
}

.FV-3point.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.7s forwards;
}

.FV-img-btn {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 97%;
  height: 11%;
  z-index: 2;
  
}

/* ==============
* sec-03/slider
================*/
.sec-03-slider {
  background: linear-gradient(to bottom, rgba(49, 139, 201, 0.07) 0%, rgb(49 139 200 / 7%) 100%);
  padding: 0 16px 50px;
}

.slider-container {
  overflow: hidden;
  margin: 24px auto;
  padding-bottom: 32px;
}

.slider-track {
  display: flex;
  transition: transform 1.5s ease;
  will-change: transform;
  gap: 16px;
  padding: 0 15px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CDD8EA;
  
  transition: background 0.3s;
}

.dot.active {
  background: #318BC9;
}

.slider-text-outer {
  display: flex;
}

.slider-text-wrap {
  overflow: hidden;
  width: 100%;
}

.slider-text-outer .slider-text-wrap {
  width: 50%;
}

.slider-text-track {
  display: flex;
  transition: transform 0.8s ease;
}

.slider-text-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #005088;
  box-sizing: border-box;
}

.slider-text-item--left {
  justify-content: flex-start;
}

.slider-text-item2 {
  color: #fff;
}

.slider-arrow {
  height: auto;
  width: 18px;
}

.slider-arrow--flip {
  transform: scaleX(-1);
}

.sec3-tll {
  text-align: center;
  margin: -18px auto;
  width: 22%;
}

.sec03-lead {
  margin-bottom: 40px;
}

.sec-03-slider p {
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  font-size: 16pt;
  padding: 15px 0 0;
  margin-bottom: -10px;
  color: #133954;
}

p.sec03-main-copy {
  font-size: 20pt;
  color: #133954;
  margin-top: 12px;
}

.sec03-main-copy span {
  font-size: 24pt;
  color: #0061A4;
  font-weight: bold;
}

/* ==============
* sec-04
================*/
.sec-04 {
  position: relative;
  width: 100%;
  background-image: url('../../assets/img/sec4-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  margin-top: -25px;
}

.sec-04 .slider-container {
  width: 100%;
}

img.sec4-ttl {
  margin-bottom: 24px;
}

img.sec4-img01 {
  width: 129px;
  display: block;
  margin: 0 auto 17px;
}

/* ==============
* sec-05
================*/
.sec-05{
  margin-top: -25px;  
}

.sec-05-img2 {
  margin-top: -8px;
}

/* ==============
* sec-cta
================*/
.cta-btn-wrap {
  position: relative;
  width: 100%;
}

.cta-btn-wrap .cta-btn {
  width: 100%;
  display: block;
}

.cta-btn-link {
  position: absolute;
  bottom: 19%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 50%;
  z-index: 2;
  
}

.cta-btn-link2 {
    position: absolute;
    bottom: 13%;
    left: 49%;
    transform: translateX(-50%);
    width: 83%;
    height: 18%;
    z-index: 2;
    
}


/* ==============
* 追従ボタン
================*/
.follow-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 432px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  
}

.follow-btn.show {
  opacity: 1;
  visibility: visible;
}

.follow-btn a {
  display: block;
  text-decoration: none;
}

.follow-btn img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

/* ==============
* footer
================*/
.footer {
  background-color: #002b58;
  padding: 15px 20px 10px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-divider {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.5;
}

.footer-copy {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.7;
  margin: 0;
}

.follow-btn:hover img {
  transform: scale(1.02);
}