.kv {
  position: relative;
  background-image: url('../images/kv.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.kv-image-wrapper {
  position: relative;
  padding-top: 50vh;
  padding-bottom: 50vh;
  margin-left: 140px;
  margin-right: 140px;
}

.kv-image {
  position: absolute;
  top: 50vh;
  left: 0;
  transform: translateY(-50%);
  max-width: 750px;
  width: 100%;
}

.kv-text-wrapper {
  padding-bottom: 200px;
  color: #FFF;
  margin-left: 140px;
  margin-right: 140px;
}

@media (max-width: 1024px) {
  .kv-image-wrapper {
    margin-left: 60px;
    margin-right: 60px;
  }
  .kv-text-wrapper {
    margin-left: 60px;
    margin-right: 60px;
  }
}
@media (max-width: 768px) {
  .kv {
    background-image: url('../images/kv__sp.png');
    background-attachment: scroll;
  } 
  .kv-image-wrapper {
    margin-left: 24px;
    margin-right: 24px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
  }
  .kv-image {
    padding-top: 120px;
    position: static;
    width: 100%;
    max-width: 400px;
    transform: none;
    padding-bottom: 65px;
  }
  .kv-text-wrapper {
    margin-left: 24px;
    margin-right: 24px;
    padding-bottom: 100px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.nav-wrapper {
  background-color: #fff;
  padding: 20px 0;
}

@media (min-width: 769px) {
  .nav-wrapper {
    position: sticky;
    top: 80px;
    transition: background-color 0.3s, color 0.3s;
  }
  .nav-wrapper.stuck {
    background-color: rgba(23, 61, 96, 0.5);
    backdrop-filter: blur(8px);
    z-index: 999;
  }
  .nav-wrapper.stuck .nav-text {
    color: #fff;
  }
  .nav-wrapper.stuck .nav-arrow {
    border-bottom-color: #fff;
    border-right-color: #fff;
  }
  .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #ccc;
  }
}

.nav {
  display: flex;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  position: relative;
}
.nav-item:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-text {
  text-align: center;
  font-size: 14px;
  color: #333;
}

.nav-arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 1px solid #2C2C2C;
  border-bottom: 1px solid #2C2C2C;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .nav-wrapper {
    padding: 0;
  }
  .nav {
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-item {
    position: relative;
    flex: none;
    width: calc(50% - 3px);
    padding: 10px 0 16px;
  }
  /* 1 & 3 */
  .nav-item:nth-child(odd)::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 3px;
    bottom: 3px;
    width: 1px;
    background-color: #ccc;
  }
  /* 1 & 2 */
  .nav-item:nth-child(-n+2)::after {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: -4px;
    height: 1px;
    background-color: #ccc;
  }
  .nav-text {
    font-size: 10px;
  }
  .nav-arrow {
    width: 10px;
    height: 10px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.bg_marble {
  background-image: url('../images/bg_marble.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section-title-wrapper {
  color: #042646;
}

.section-title {
  font-size: 34px;
  font-weight: 500;
}

.section-subtitle {
  position: relative;
  padding-left: 60px;
  font-size: 12px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: #042646;
}

.underline-text {
  position: relative;
  padding-bottom: 12px;
  text-align: center;
}

.underline-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  height: 1px;
  background-color: #2C2C2C;
}

@media (max-width: 768px) {
  .bg_marble {
    background-image: url('../images/bg_marble__sp.png');
    background-attachment: scroll;
  }
  .section-title {
    font-size: 20px;
    text-align: center;
  }
  .section-subtitle {
    position: static;
    padding-left: 0;
    font-size: 12px;
    text-align: center;
    margin-top: 3px;
  }
  .section-subtitle::before {
    display: none;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.card-wrapper {
  border: 2px solid #EBEBEB;
}

.card-title-wrapper {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #44698B 0%, #042646 100%);
  color: #fff;
  font-weight: bold;
}

.card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 20px;
  font-size: 48px;
  
  border-right: 2px solid #fff;
}

.card-title {
  flex: 1;
  font-size: 26px;
  padding-left: 20px;
}

.card-content {
  padding: 60px 40px;
  background-color: #FFF;
}

@media (max-width: 768px) {
  .card-number {
    min-width: 30px;
    padding: 16px 10px;
    font-size: 20px;
  }
  .card-title {
    font-size: 16px;
    padding-left: 8px;
  }
  .card-content {
    padding: 30px 15px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.bg_blue {
  position: relative;
  margin-top: -100px;
  height: auto;
}

.bg_blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bg_blue.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  clip-path: polygon(
    0 0, 0 100%, 100% 100%, 100% 0, 
    calc(50% + 120px) 0, 
    50% 80px, 
    calc(50% - 120px) 0
  );
}

.bg-content {
  width: 100%;
  position: relative;
  color: #FFF;
  line-height: 2.5;
  font-weight: 500;
  padding: 110px 12px 50px;
  z-index: 1;
}

@media (max-width: 768px) {
  .bg_blue {
    margin-top: -150px;
    height: auto;
  }
  
  .bg_blue::before {
    background-image: url('../images/bg_blue__sp.png');
    clip-path: polygon(
      0 0, 0 100%, 100% 100%, 100% 0, 
      calc(50% + 70px) 0, 
      50% 50px, 
      calc(50% - 70px) 0
    );
  }
  
  .bg-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 80px 24px 50px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.col-3 {
  display: flex;
}

.col-item {
  flex: 1;
  position: relative;
  padding: 0 40px;
}

.col-item:first-child {
  padding-left: 0;
}

.col-item:last-child {
  padding-right: 0;
}

.col-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

@media (max-width: 768px) {
  .col-3 {
    flex-direction: column;
  }
  .col-item {
    padding: 40px 0;
  }
  .col-item:not(:last-child)::after {
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.parallax {
  position: relative;
  background-image: url('../images/bg-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 100px 0;
  margin-top: 100px;
}

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

.card-box {
  flex: 1;
  max-width: 550px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.card-header {
  position: relative;
  text-align: center;
  background-color: #173D60;
  color: #fff;
  padding: 16px 0;
  font-size: 20px;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 45px solid #173D60;
}

.card-body {
  padding: 40px 0 25px;
  background-color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-bottom: 25px;
}

.card-icon {
  max-width: 130px;
}

@media (max-width: 768px) {
  .parallax {
    background-image: url('../images/bg-image__sp.png');
    padding: 60px 0;
    margin-top: 60px;
    background-attachment: scroll;
  }
  .card-2col {
    flex-direction: column;
    align-items: center;
  }
  .card-box {
    flex: none;
    width: 100%;
    max-width: 450px;
  }
  .card-header {
    font-size: 14px;
    padding: 14px 0;
  }
  .card-body {
    padding: 20px 0 30px;
  }
  .card-content-wrapper {
    margin-bottom: 10px;
    gap: 15px;
  }
  .card-icon {
    max-width: 70px;
  }
  .parallax .btn-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.space {
  height: 95px;
}

.fixed-nav-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
  background-color: #173D60;
  padding: 10px 12px 0;
  height: 95px;
}

.fixed-nav-item {
  padding: 6px 0 8px;
}

.fixed-nav-text {
  color: #fff;
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
