@charset "utf-8";
/* 南山人壽業務部_2025_q3 */ :root {
  --swiper-theme-color: #ffffff;
  --swiper-pagination-bullet-horizontal-gap: 0.5rem;
}
header.navbar {
  background-color: #fff !important;
  z-index: 999;
}
a:hover {
  text-decoration: none;
}
em {
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  margin: 0.5em auto 0;
}
img {
  max-width: 100%;
  height: auto;
}
.notice h6 a {
  color: #dc3c3c;
}
.nav-link {
  font-weight: 600;
  word-break: keep-all;
}
.sec-anchor {
  position: absolute;
  top: -45px;
}
/* swiper ---------------------------------*/
.ns-dm .swiper {
  margin: auto 4rem 2rem
}
.swiper-slide {
  height: auto;
  padding: 1rem;
}
.ns-dm .swiper-slide > div {
  height: 100%;
  margin-bottom: 3rem;
}
.swiper-pagination {
  position: static;
  margin: 2rem auto;
}
.swiper-pagination-bullet {
  border: 1px solid var(--swiper-theme-color);
  width: 1rem;
  height: 1rem;
  opacity: 1;
  background-color: transparent;
}
.swiper-pagination-bullet-active {
  background-color: var(--swiper-theme-color)
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-weight: bold;
}
@media(max-width:576px) {
  :root {
    --swiper-navigation-size: 20px;
  }
  .ns-dm .swiper {
    margin: auto 1.5rem 2rem
  }
}
/* swiper 關懷補給站 -------------------------*/
.b-seat {
  width: 300px;
  position: relative;
  margin: auto;
  margin-top: 60px;
}
/* kv ---------------------------------*/
.kv {
  display: flex;
  justify-content: center;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  max-width: 2560px;
  margin: auto;
  background-color: #c3ebff;
}
.kv-wrapper {
  /*background-image: url("../images/kv_bg.jpg");
  background-size: auto 100%;*/
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3
}
.kv-bg, .kv-bg-front {
  background-image: url("../images/kv_bg.png");
  background-size: 100% 100%;
  background-position: center center;
  width: calc(100% + 100px);
  height: auto;
  position: absolute;
  top: 0;
  left: -50px;
  bottom: 0;
  right: -50px;
  z-index: 1;
}
.kv-bg-front {
  background-image: url("../images/kv_bg_front.png");
  z-index: 10;
}
/*
.kv-mod-01, .kv-mod-02, .kv-mod-01 div, .kv-mod-02 div {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 4;
  background-size: cover;
  background-position: top center;
}
.kv-mod-01 div {
  background-image: url("../images/kv_model-01.png");
}
.kv-mod-02 div {
  background-image: url("../images/kv_model-02.png");
}*/
.parallax-item {
  transition: transform 0.1s linear;
}
.ani-stage {
  position: relative;
  z-index: 3;
}
.ani-stage > div {
  position: absolute;
  top: 0;
  left: 0;
}
.ani-stage .kv-theme {
  /*animation: heartAnimation 2s ease-out forwards, bounceAnimation 1s ease-out infinite;
	transform-origin: top center;
	animation: swing 2s ease infinite;	*/
  top: 7%;
  left: 0;
  width: 100%;
  text-align: center;
}
.kv-theme .position-absolute {
  top: 0;
  left: 0;
  z-index: 2;
}
.kv-theme2 {
  position: absolute;
  top: auto;
  bottom: -5px;
  width: 100%;
  text-align: center;
  left: 5%
}
.kv-theme-inner {
  position: relative;
  margin: auto;
  display: inline-flex;
  flex-direction: column
}
.kvp {
  animation: switchImage 1s infinite; /* 開啟動畫，每 1 秒切換一次 */
  left: 0;
  top: 0;
  position: absolute;
}
.kvp img:first-child {
  position: relative;
  z-index: 0
}
.breathing {
  transform-origin: bottom center; /* 變形中心設在下方置中 */
  animation: breathing 2s infinite ease-in-out;
}
.kv-m .breathing {
  animation-delay: 1.8s;
}
.kv-f .breathing {
  animation-delay: 1s;
}
.kv-k-a .breathing {
  animation-delay: 0.2s;
}
.kv-polo {
  z-index: 3
}
.kv-polo img {
  transform-origin: center bottom
}
/* 爺爺切換 
.kv-gp .kvp:nth-child(1) {
  animation-delay: 0s;
}
.kv-gp .kvp:nth-child(2) {
  animation-delay: 0.5s;
}*/
/* 奶奶切換 
.kv-gm .kvp:nth-child(1) {
  animation-delay: 0s;
}
.kv-gm .kvp:nth-child(2) {
  animation-delay: 0.5s;
}*/
/*氣球 A */
.balloon-a {
  animation: floatBalloon 3s ease-in-out infinite;
}
/* 氣球 B (延遲 1.5 秒開始) */
.balloon-b {
  animation: floatBalloon 3s ease-in-out infinite;
  animation-delay: 1.5s;
}
/* 人物圖片切換的動畫 */
@keyframes switchImage {
  0%, 50% {
    opacity: 1; /* 顯示當前圖片 */
  }
  100% {
    opacity: 0; /* 隱藏當前圖片 */
  }
}
/* 心型的跳動效果 */
@keyframes bounceAnimation {
  0%, 20%, 50%, 80%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.05);
  }
  60% {
    transform: scale(0.98);
  }
}
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
@keyframes spin {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(1deg);
  }
}
@keyframes floatUp {
  0% {
    transform: translate(5px, 0);
    opacity: 0;
  }
  25% {
    transform: translate(-5px, -20px);
    opacity: 0.8;
  }
  50% {
    transform: translate(5px, -50px);
    opacity: 1;
  }
  75% {
    transform: translate(-5px, -80px);
    opacity: 1;
  }
  100% {
    transform: translate(5px, -140px);
    opacity: 0;
  }
}
@keyframes flashing {
  from {
    opacity: 1
  }
  to {
    opacity: 0.8
  }
}
@keyframes floatBalloon {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes breathing {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.05);
  }
}
@keyframes zLoop {
  0% {
    transform: translateZ(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateZ(80px) scale(1.08);
    opacity: 0.9;
  }
  100% {
    transform: translateZ(0px) scale(1);
    opacity: 1;
  }
}
.mb {
  display: none;
}
.kv-nav {
  position: absolute;
  z-index: 10;
  width: 100%;
  bottom: 20px;
}
.kv-nav > .container {
  height: 100%;
  padding: 0 7%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6rem;
}
.kv-btn {
  animation-name: m2;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-delay: .5s;
}
.kv-btn:nth-child(2) {
  animation-delay: 1s
}
.kv-btn:nth-child(3) {
  animation-delay: 1.5s
}
.kv-btn:nth-child(4) {
  animation-delay: 2s
}
.kv-btn a {
  display: block;
  position: relative;
}
.kv-btn a > img {
  height: auto;
  transition: all .3s;
  width: 100%;
}
.kv-btn i {
  transform-origin: center center;
  height: 75%;
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: flex-start;
  transition: all .3s;
  position: absolute;
  top: 0;
  left: 0;
  padding: 3%;
  aspect-ratio: 1/1
}
.kv-btn i img {
  height: 100%;
  width: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.kv-btn a:hover i {
  transform: scale(1.2)
}
@-webkit-keyframes m2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}
@keyframes m2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}
.kv-span {
  max-height: 900px;
}
@media (max-width:1024px) {
  .ani-stage {
    margin-top: 10vw;
  }
  .kv-theme-inner {
    width: 80%
  }
  .kv-span {
    max-height: 660px;
  }
  .kv-nav {
    width: 60%;
    left: 20%;
  }
  .kv-nav > .container {
    padding: 0
  }
  .ani-stage .kv-theme {
    top: 0;
    left: 0;
  }
}
@media (max-width:992px) {
  .kv-span {
    max-height: 480px;
  }
}
@media(max-width:576px) {
  .ani-stage {
    max-width: 100%;
    margin-top: 40vw;
  }
  .ani-stage .kv-theme {
    top: -20vw;
    left: 0;
    width: 100%;
    padding: 0 30px
  }
  .kv-theme-inner {
    width: 100%
  }
  .kv-theme2 {
    position: static
  }
  .kv-bg {
    margin-top: 20vw;
  }
  .kv-bg-front {
    display: none
  }
  .kv-nav {
    width: 80%;
    left: 10%;
    bottom: 0
  }
  .kv-nav .container {
    padding: 0 5px 20px;
    column-gap: 8px;
  }
  .kv-btn {
    bottom: 0;
  }
  .kv-btn a img {
    width: 100%;
    transform: none;
  }
  .dt {
    display: none;
  }
  .mb {
    display: block;
  }
}
/* main ---------------------------------*/
main {
  background-size: 100% auto;
  position: relative;
  z-index: 2;
  background: url('../images/bg.png') top 150px center no-repeat, linear-gradient(to bottom, #006ee1 0%, #8cbef0 20%, #8cbef0 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  max-width: 2560px;
  margin: auto;
}
.btn {
  border-radius: 50px;
  padding: 0 1em;
  transition: all .2s;
}
em {
  display: block;
}
em.hilite {
  color: #d278b4;
}
li.hilite {
  display: flex;
}
/* #sec00 ---------------------------------*/
.video {
  margin: auto;
  max-width: 960px;
  padding: 1rem;
  border: 3px solid #96beff;
  background: #fff;
  border-radius: 20px;
}
.video-content {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}
.video iframe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}
/* #sec01 ---------------------------------*/
.container-fluid.content-wrap {
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  max-width: 1600px;
  position: relative;
}
h2.sec-1 {
  margin-bottom: 30px;
}
@media (max-width:992px) {
  .container-fluid.content-wrap {
    padding-left: 0;
    padding-right: 0
  }
}
.ns-dm {
  position: relative;
}
.ns-dm .item {
  border-radius: 20px;
  background-color: #be78be;
  overflow: hidden;
  box-shadow: #0005 0px 3px 8px;
}
.ns-dm .item a {
  text-decoration: none;
  color: #fff;
}
.ns-dm .item img {
  max-width: 100%;
  margin: 0 auto;
}
.ns-dm .item .item-text {
  text-align: left;
  padding: 15px 15px 0;
}
.ns-dm .item h4 {
  position: relative;
  margin-bottom: 0.25em;
  font-size: 2.4rem
}
.ns-dm .item h4 i {
  position: absolute;
  right: 15px;
  transform: translateY(-3em)
}
.ns-dm .item h4 i img {
  width: 4em
}
.ns-dm .item p {
  margin-bottom: 0;
}
.ns-dm-note {
  padding-left: 15px;
  padding-right: 15px;
}
/* #sec02 & #sec03 ---------------------------------*/
section {
  padding: 3rem 1rem;
  position: relative;
}
h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.inf-wraper {
  border: 3px solid #f0c8e6;
  background-color: #fff;
  border-radius: 50px;
  padding: 6rem;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}
.inf-02 {
  margin-top: 90px
}
.inf-wraper h3 {
  position: absolute;
  top: 0;
  transform: translateY(-50%)
}
.inf-date {
  color: #eb466e;
  font-size: 4.8rem;
  text-align: center;
  line-height: 1;
  display: flex;
  column-gap: 1rem;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap
}
.inf-gift-heading {
  font-size: 3rem;
  color: #966e64;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}
.inf-gift-heading:before, .inf-gift-heading:after {
  content: '';
  display: block;
  width: 2rem;
  height: 0.3rem;
  background-color: #966e6466
}
.inf-gift figure {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold
}
.inf-gift .grid-1 figure {
  font-size: 2.4rem
}
.grids-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grids-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
.inf-desc {
  color: #966e64
}
.inf-desc ul {
  margin: 0;
  padding: 0;
}
.inf-desc li {
  display: flex;
  flex-wrap: nowrap;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.inf-desc label {
  width: auto;
  white-space: nowrap
}
.inf-desc p {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
}
.inf-desc p .flex-grow-1 {
  flex-basis: 100%
}
#sec03 .swiper {
  text-align: center;
}
#sec03 .swiper-slide {}
/* Service */
.services {
  padding-bottom: 3rem
}
.service {
  border: 3px solid #f0c8e6;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #3a3a39;
  position: relative;
  padding-bottom: 1rem;
  height: 100%;
  background-color: #fff;
  transition: all .3s
}
.service h4 {
  padding: 1.5rem;
  font-size: 2rem;
  font-weight: bold
}
.service p {
  padding: 0 1.5rem 3rem;
}
.serv-link {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 2rem;
  padding: 0.5rem 3rem;
}
.serv-link strong {
  position: relative;
  display: block;
  z-index: 3;
  color: #fff;
}
.serv-link:before, .serv-link:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  border-radius: 50px;
  transition: all .3s;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0
}
.serv-link:after {
  border: 2px solid #f0c8e6;
  transform: translate(-2px, -2px);
}
.serv-link:before {
  background-color: #e682aa;
  transform: translate(2px, 2px);
}
.service:hover {
  transform: translateY(-10px)
}
.service:hover .serv-link:before, .service:hover .serv-link:after {
  transform: translate(0);
}
/* banner ---------------------------------*/
.banner-wraper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  bottom: 80px;
}
.banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto;
}
.banner-text {
  font-weight: bold;
  text-align: left;
  position: absolute;
  transform: translateX(-25%);
  z-index: 3;
}
.banner-text p {
  font-size: 4.2rem;
  color: #3e3a39;
}
.banner-text strong {
  color: #a02800;
}
.banner-text a {
  font-weight: normal;
  text-decoration: none;
  color: #fff;
  background: rgb(255, 90, 50);
  background: linear-gradient(0deg, rgba(255, 90, 50, 1) 0%, rgba(255, 138, 50, 1) 100%);
  border-radius: 50rem;
  display: inline-block;
  padding: 0.2em 0.5em;
  transition: transform .3s;
  font-size: 2rem
}
.banner-text a:hover {
  transform: translateY(-5px);
}
#outmsg .btn {
  font-size: 1.8rem
}
/*兩隻螃蟹從左邊出發*/
.moveCrab {
  position: relative;
  margin-left: 100px;
}
.crab {
  bottom: 20px;
  position: absolute;
  animation: moveCrab1 6s infinite ease-in-out;
}
.crab2 {
  bottom: 0px;
  animation: moveCrab2 6s infinite ease-in-out;
  animation-delay: 2s;
}
@keyframes moveCrab1 {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(80px) rotate(5deg);
  }
  50% {
    transform: translateX(160px) rotate(0deg);
  }
  75% {
    transform: translateX(80px) rotate(-5deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}
@keyframes moveCrab2 {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(60px) rotate(-5deg);
  }
  50% {
    transform: translateX(120px) rotate(0deg);
  }
  75% {
    transform: translateX(60px) rotate(5deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}
/* #end ---------------------------------*/
@media (min-width:768px) {
  #notice-div {
    border: 3px solid #E6E6E6;
    padding: 30px
  }
}
@media (max-width:992px) {
  .inf-wraper {
    padding: 6rem 3rem 3rem;
  }
  .banner img {
    max-width: 100%;
  }
  .banner-wraper {
    max-width: 750px;
  }
  .banner-wraper img {
    width: 60%;
    height: auto;
  }
  .decorate02 {
    text-align: right;
  }
  .banner-text {
    transform: translateX(0);
    left: 0;
    padding-left: 10%;
  }
  .banner-text p {
    font-size: 3rem;
  }
}
@media (max-width:820px) {
  header .navbar-brand {
    margin: 0;
  }
}
@media (max-width:576px) {
  h2 img {
    max-width: 280px;
    margin: auto;
    display: block
  }
  h3 img {
    max-width: 250px;
  }
  .inf-01 {
    margin-top: 60px;
  }
  .inf-sec {
    margin: 0px auto;
  }
  .inf-sec li:not(.hilite) {
    display: block
  }
  .inf-sec li:not(.hilite) label {
    padding: 3px 6px 0;
    background-color: #966e6433;
    margin: 15px 0 5px;
    border-radius: 3px;
  }
  .inf-wraper {
    padding: 6rem 1rem 1rem;
    border-radius: 20px;
    gap: 30px
  }
  .inf-wraper h3 {
    width: 100%;
    text-align: center;
    left: 0
  }
  .inf-date strong {
    font-size: 3.2rem;
    padding-bottom: 1rem;
    display: block !important
  }
  .inf-gift {
    display: block
  }
  .inf-gift figure {
    display: flex;
    align-items: center;
    text-align: left;
    column-gap: 1rem
  }
  .inf-gift figure:not(.grid-1) img {
    max-width: 150px
  }
  .inf-gift figure.grid-1 {
    display: block;
    margin-bottom: 2rem;
    text-align: center
  }
  .grid-1 figure img {
    max-width: 100%;
  }
  .grid-1 figcaption {
    font-size: 2.2rem;
    margin-top: -2rem
  }
  .banner {
    margin-bottom: 40px;
  }
  .banner-wraper {
    max-width: 360px;
    bottom: 100px;
  }
  .banner-wraper img {
    width: 50%;
    height: auto;
  }
  .banner-text {
    padding-left: 8%;
  }
  .banner-text p {
    font-size: 1.8rem
  }
  .banner-text a {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .inf-wraper:after {
    border-radius: 20px;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    right: -3px;
  }
  .moveCrab {
    transform-origin: left bottom;
    transform: scale(0.4)
  }
  .b-seat {
    width: auto
  }
}
.fz-12 {
  display: inline-block;
  line-height: 1em;
}
/* 左右動畫實例 */
.ani-inst {
  position: absolute;
  z-index: 99;
}
.ani-inst.right {
  right: 0
}
.ani-inst.bottom {
  bottom: 0;
}
.ani-inst.left {
  left: 0
}
.ani-inst.top {
  top: 0;
}
.ani-inst.right img {
  transform: translate(110%, 40%)
}
.ani-inst.left img {
  transform: translate(-150%, 50%)
}
.banner .ani-inst {
  top: inherit;
  left: 0;
  bottom: 0
}
.banner .ani-inst img {
  transform: translateX(-50%);
}
@media (max-width:1200px) {
  .ani-inst.left img {
    transform: translate(-80%, 50%)
  }
  .ani-inst.right img {
    transform: translate(80%, 50%)
  }
}
@media (max-width:1024px) {
  .ani-inst {
    display: none
  }
}