html{
  scroll-behavior: smooth;
}

/* 全網頁只要滑鼠滑到連結就變手指 */
a:hover {
  cursor: pointer !important;
}

/* 這行是最上面的板頭 */
header>.inner {
  background-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* hoho的logo */
header>.inner a.logo {
  background: url(../images/icon_hoho-02.svg) no-repeat center;
  background-size: cover;
  width: 180px;
  height: 140px;
  left: 0px;
}

/* hoho的logo滑鼠移過去後 */
header>.inner a.logo:hover {
  filter: brightness(1.1);
  transition: 0.2s;
}

/* 右上的icon */
header ul.wrap-link li i[class*="icon-"],
header ul.wrap-link li a[class*="icon-"] {
  background-color: #444;
  color: #ffffff;
  transition: 0.2s;
}

/* 右上的icon滑鼠移過去後 */
header ul.wrap-link li i[class*="icon-"]:hover,
header ul.wrap-link li a[class*="icon-"]:hover {
  background-color: rgb(255, 188, 2);
  color: #ffffff ;
  transition: 0.2s;
}

/* icon旁邊的文字 */
header ul.wrap-link li span {
  color: #444;
  margin-right: 10px;
}

/* 從這邊開始是內容大框架 */
.container {
  background-color: #fff3ee;
  background: url(../images/bg-pc.jpg);
}

.container img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.innerbox {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 auto;
}

/* ==========================================
   圖片顯示切換設定 (電腦版預設顯示PC、隱藏MB)
   ========================================== */
.showPC{
  display: block !important;
}
.showMB{
  display: none !important;
}

/* 客製內容從下面開始 */

.kv-bg{
  width: 100%;
  background: url(../images/kv-bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


.kv{
  padding: 0;
  width: 1200px;
  height:auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.kv-tt {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  animation-name: kv-tt;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  padding: 0px 5%;
  margin: 50px auto;
}

.kv-tt img {
  margin: 0 auto;
}

  .RabbitPro {
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important; /* 強制水平置中 */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin-top: 15px;
  }
  .RabbitPro a {
    width: 45%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .RabbitTitle {
    padding-top: 0px;
}

  .RabbitPro img {
    -webkit-transition: filter 0.3s ease; 
    transition: filter 0.3s ease; 
  }
  
  .RabbitPro img:hover {
    -webkit-filter: brightness(110%); 
    filter: brightness(110%);
  }

    .tt07Pro {
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important; /* 強制水平置中 */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 15px auto 0 auto !important; /* 確保左右 auto 置中 */
  }

  .tt07Pro a {
    width: 45%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .tt07Title {
    display: block !important;
    width: 100% !important;
    max-width: 450px !important; /* 圖片最大寬度 */
    margin: -30px auto 90px auto !important;
    text-align: center !important;
    padding-top: 0px;
  }

  .tt07Pro img {
    -webkit-transition: filter 0.3s ease; 
    transition: filter 0.3s ease; 
  }
  
  .tt07Pro img:hover {
    -webkit-filter: brightness(110%); 
    filter: brightness(110%);
  }
  .Offer95Pro {
  padding: 0 16px;
  margin-top: 50px;
    
  }
  .Offer95Pro a{
    width: 45%;
  }

  .servicePro {
  padding: 0 60px;
  margin-top: 50px;
    
  }
  .servicePro a{
    width: 45%;
  }

  .hk-cpPro {
    padding: 0 16px;
    margin-top: 50px;
    
}
  .hk-cpPro a{
    width: 45%;
}

@keyframes kv-tt{
  0%{
    transform:translateY(20px);
  }
  50%{
    transform:translateY(0px);    
  }
  100%{
    transform:translateY(20px);
  }
}

.flexCon{
  display: flex;
  justify-content: space-evenly;
  margin-top: 45px;
  margin-bottom: 85px;
}

.cursor-pointer {
  cursor: pointer;
}

.act1{
    max-width: 100%;
    text-align: center;
    padding: 56px;
}

.AFTEE{
    text-align: center;
    padding: 40px;
    margin-top: -28px;
}

.product_Model{
      max-width: 100%;
      background-position: top center;
      background-size: contain;
      margin-top: 0 !important;
      padding-top: 48px;
}

.afteePic{
  width: 48%;
}

.lastPro{
    max-width: 100%;
    background-position: top center;
    background-size: contain;
    padding: 24px 0;
    margin-top: -16px;
}

.lastPro > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.lastPro > div a{
  width: 45%;
}

.Offer95{
  max-width: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  text-align: center;
}

.Offer95Pro{
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 45px;
  margin-bottom: 60px;
}

.Offer95Pro a{
  width: 30%;
}

/* === Offer95 標題置中與 Flexbox 設定 === */
.Offer95Title {
  padding-top: 32px;
  padding-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.Offer95Title img {
  display: block;
  margin: 0 auto;
}

.service{
  max-width: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  text-align: center;
}

.servicePro{
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 45px;
  margin-bottom: 60px;
}

.servicePro a{
  width: 22.5%;
}

/* === service 標題置中與 Flexbox 設定 === */
.serviceTitle {
  padding-top: 32px;
  padding-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.serviceTitle img {
  display: block;
  margin: 0 auto;
}

.hk-cp{
  max-width: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  text-align: center;
}

.hk-cpPro{
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 45px;
}

.hk-cpPro a{
  width: 35%;
}

/* === hk-cp 標題置中修正 === */
.hk-cpTitle {
  padding-top: 20px;
  padding-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.hk-cpTitle img {
  display: block;
  margin: 0 auto;
}

.time-Offer{
  max-width: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  margin-bottom: 50px !important;
}

.time-OfferPro{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 24px;
  margin-bottom: 0px;
}

.time-OfferPro a{
  width: 100%;
}

.time-OfferTitle {
    display: block !important;
    width: auto;
    max-width: 400px;
    margin: 0 auto 8px auto !important;
    text-align: center;
}

.time-OfferPro{
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  padding: 0% 5%;
}

.time-Offer .innerbox{
  padding: 0 17px;
}

.YT{
  max-width: 100%;
  background-position: top center;
  background-repeat: no-repeat;
}

.YTPro{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 24px;
  margin-bottom: 0px;
}

.YTPro a{
  width: 100%;
}

.YTTitle {
    display: block !important;
    width: 56%;
    max-width: 400px;
    margin: 0 auto 18px auto !important;
    text-align: center;
}

.YTPro{
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  padding: 0% 5%;
}

.YT .innerbox{
  padding: 0 17px;
}

.afteeBtn{
  padding: 0 15%;
  margin-top: -15px;
  margin-bottom: 100px;
}

.kv-cp{
  max-width: 1200px;
  height: auto;
  display: flex;
  margin: -7px auto 50px auto;
  gap: 30px;
  justify-content: center;
}

.kv-cp.showPC {
  display: flex;
  width: 100%; 
  align-items: flex-start; 
  justify-content: space-between; 
  flex-wrap: wrap;
  margin-top: 30px; 
  margin-bottom: 50px;
}

#kv-cp01{
  transition: 0.2s;
}
#kv-cp01>a>img{
  max-width: 100%;
}
#kv-cp01:hover{transform : scale(0.965);}

#kv-cp02{
  transition: 0.2s;
}
#kv-cp02>a>img{
  max-width: 100%;
}

#kv-cp02:hover{transform : scale(0.965);}

.hidden-btn {
    position: absolute;
}

.btn-left {
    bottom: 12%;
    left: 12%;
    width: 35%;
    height: 18%;
}

.btn-right {
    bottom: 12%;
    right: 12%;
    width: 35%;    
    height: 18%;   
}

#kv-cp03{
  transition: 0.2s;
}
#kv-cp03>a>img{
  max-width: 100%;
}

#kv-cp03:hover{transform : scale(0.965);}

#kv-cp04{
  transition: 0.2s;
}
#kv-cp04>a>img{
  max-width: 100%;
}

#kv-cp04:hover{transform : scale(0.965);}

.ct-bg{
    width: 100%;
    background-size: cover;
    background: url(../images/bg-pc.jpg);
    background-repeat: no-repeat;
    background-position: top center;
}

.ct{
  width: 1200px;
  display: flex;
  margin: auto;
  flex-wrap: nowrap
}

#ct01{
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: auto; 
  margin-right: auto;
}

.ct01-ct{
  max-width: 1200px;
  background-size: cover;
  background-repeat: no-repeat;
}

.ct01-cp{
  width: 100%;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-top: 20px;
  justify-content: center;
}
.ct01-cp img {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.ct01-cpBottom{
  width: 100%;
  padding-bottom: 4%;
  padding-top: 4%;
}

.ct01-cp-bt{
  width: 46%;
  filter:drop-shadow(0px 0px 5px #3f0d0035);
  transition: 0.2s;
}
.ct01-cp-bt:hover{transform : scale(0.965);}

#ct02{
  margin-top: 300px;
  display: flex;
  justify-content: center;
  justify-content: space-around;
  margin-top: 2%;
  gap: 50px;
}

#ct03{
  margin-top: 170px;
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center center; 
}

#ct03_bnt{
  display: flex;
  margin-top: -100px;
  margin-left: 40px;
  gap: 50px;
}

#ct04{
  margin-top: 100px;
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: top center;
}

#ct04_bnt{
  display: flex;
  margin-top: -100px;
  margin-left: 40px;
  gap: 50px;
}

#ct05{
  margin-top: 30px;
  margin-bottom: 100px;
  display: flex;
}

.act1{
  text-align: center;
}

.act1 a{
  filter: drop-shadow(0 0 10px #ebe6cf);
  margin-top: 16px;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.act1 a:hover{
  transform: translateY(-16px);
}

.act2{
  text-align: center;
}

.act2 a{
  filter: drop-shadow(0 0 10px #ebe6cf);
  margin-top: 16px;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.act2 a:hover{
  transform: translateY(-16px);
}

.AFTEE{
  text-align: center;
}

.AFTEE a{
  margin-top: 16px;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.AFTEE a:hover{
  transform: translateY(-16px);
}

.AFTEEBG{
  background-image: url("../images/AFTEE_bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 100%;
  flex-direction: column;
  text-align: center;
  margin: auto;
}

.AFTEE_Q{
  position: absolute;
  right: 0;
  top: 50%;
}

#ct05, #ct05-2 {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#ct05 a.showPC, #ct05-2 a.showPC {
    width: 49%;
    text-align: center;
}
 
.finalPro{
  margin-top: 40px;
  padding: 0% 4%;
  margin-bottom: 100px;
  filter: drop-shadow(rgba(63, 13, 0, 0.7) 0px 0px 10px);
}
.finalPro a:hover{
  -webkit-filter: brightness(105%);
  filter: brightness(105%);
}

@media (max-width: 600px) {
  .modal-content {
    padding: 24px 16px;
    max-height: 500px;
    overflow: scroll;
  }

  .modal-content h2 {
    font-size: 22px;
    padding: 16px 16px 0;
    margin-bottom: 0px;
  }

  .modal-content p {
    font-size: 16px;
    line-height: normal;
    padding: 8px 8px 0;
  }
}

.rule{
  position: relative;
  padding: 40px 16px;
  background-color: #ffd557;
}

.rule h5{
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.rule p{
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.rule p span{
  display: block;
  margin-left: 20px;
}

.rule a{
  color: #3895b4;
  text-decoration: underline;
}

.navButton{
  display: none;
  justify-content: space-between;
  background-color: #fff;
  padding: 0px 16px;
  height: 40px;
  line-height: 40px;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  transition: top .4s ease-in-out;
  box-shadow: 0 0 8px rgba(0,0,0,.2);
  z-index: 999;
}

.navButton a{
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.navButton_pc{
  display: block;
  position: fixed;
  right: 0px;
  top: 150px;
  width: 156px;
  height: 260px;
  padding: 100px 16px 0px 52px;
  background-image: url("../images/navbg.png");
  background-position: top center;
  background-repeat: no-repeat;
  transition: right .4s ease-in-out;
  filter:drop-shadow(4px 8px 8px rgb(201, 20, 0));
  z-index: 999;
}

.navButton_pc a{
  display: block;
  text-align: center;
  width: 100%;
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
  color: #181818;
  text-decoration: none;
}

.navButton_pc a:hover{
  color: #cc3c39;
  font-weight: 900;
}

.navHide .navButton_pc {
  right: -156px;
} 

.swiper {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0px auto;
}

#swiper-one {
    margin: 0 auto !important;
}

.swiper-slide {
    width: 325px;
    height: auto !important;
    text-align: center;
    font-size: 18px;
    background: transparent;
    padding: 0px 0 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

a#backTop {
  background-color: #444;
  bottom: 52px;
}

@media (max-width: 1280px) {
  .kv{
    width: 100%;
    height: auto;
  }
  .kv-tt{
    width: 80%;
    text-align: center;
  }
  .kv-cp{
    width: 90%;
  }
  .ct{
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #ct01{
    width: 96%;
  }
  .ct01-ct{
    width: 100%;
    background-size: contain;
  }
  #ct02{
    width: 90%;
  }
}

@media (max-width: 1277px) {
  .kv{
    width: 100%;
    height: auto;
  }
  .kv-tt{
    width: 100%;
    text-align: center;
  }
  .kv-cp{
    width: 90%;
  }
}

@media (max-width: 1030px) {
  .kv{
    width: 100%;
    height: auto;
  }
  .kv-tt{
    width: 100%;
    text-align: center;
  }
  .kv-cp{
    width: 90%;
  }
}

@media (max-width: 1080px) {
  .kv{
    width: 100%;
    height: auto;
  }
  .kv-tt{
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 845px) {
  .AFTEE_Q {
    position: absolute;
    right: 1px;
    width: 29%;
    top: 39%;
  }
}

/* ==========================================
   手機版切換設定 (螢幕小於等於 780px)
   ========================================== */
@media (max-width: 780px) {
  /* 強制手機版切換顯示：隱藏PC、顯示MB */
  .showPC{
    display: none !important;
  }
  .showMB{
    display: block !important;
  }

  header>.inner a.logo {
    background: url(../images/icon_hoho-02.svg) no-repeat center;
    background-size: cover;
    width: 130px;
    height: 100px;
    left: -10px;
  }

  .kv-tt{
    margin: 75px auto 0 auto;
    width: 100%;
  }

  .kv-cp{
    width: 100%;
    flex-wrap: wrap;
    width: 65%;
    gap: 43px;
  }

  .kv-cp-mb{
    width: 100%;
    display: block;
    margin: 15px auto;
    text-align: center;
  }

  .RabbitPro {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
  }
  .RabbitPro a {
    width: 45%;
    display: flex;
    justify-content: center;
  }

  .RabbitTitle {
    width: 90%;
  }

  .RabbitPro img.showMB {
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-top: 30px;
  }

  .tt07Pro {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
  }
  .tt07Pro a {
    width: 45%;
    display: flex;
    justify-content: center;
  }

  .tt07Title {
    display: block !important;
    width: 90% !important;
    max-width: 400px !important;
    margin: -46px auto 50px auto !important;
    text-align: center !important;
  }

  .tt07Title img {
    display: block !important;
    margin: 0 auto !important;
  }

  .tt07Pro img.showMB {
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-top: 30px;
  }

  .Offer95 {
    margin-top: 0px;
  }

  .service {
    margin-top: 0px;
  }

  .hk-cpPro {
    margin-top: 0px;
  }

  .AFTEE {
    padding: 0px;
    background-size: 250%;
    margin-bottom: 45px;
  }

  .Offer95Pro {
    padding: 0 0px;
    margin-bottom: 30px;
    margin-top: 20px;
  }
  .Offer95Pro a{
    width: 45%;
  }

  .servicePro {
    padding: 0 0px;
    margin-bottom: 30px;
    margin-top: 10px;
  }
  .servicePro a{
    width: 45%;
  }

  .Offer95Title img,
  .serviceTitle img {
    max-width: 85%; /* 手機版時，讓圖片佔螢幕寬度的 85% */
  }

  .hk-cpPro {
    width: 85%;
    padding: 0;
    margin: 5px auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
  }

  .hk-cpPro a {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .hk-cpPro a img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  /* === 手機版 hk-cp 標題置中修正 === */
  .hk-cpTitle {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product_Model{
    padding-top: 0px;
  }
  .lastPro{
    margin-top: 0px;
  }
  .lastPro > div a{
    width: 48%;
  }

  .act1 .flexCon{
    width: 90%;
    flex-direction: column;
    padding: 0 3%;
    text-align: center;
    margin: auto;
  }

  .act1 a {
    margin-top: 0px;
  }

  .act1 a:hover{
    transform:none;
    transition:none;
  }

  .AFTEE .flexCon{
    width: 94%;
    flex-direction: column;
    padding: 55px 0%;
    text-align: center;
    margin: auto;
  }

  .AFTEE a {
    margin-top: 0px;
  }

  .AFTEE a:hover{
    transform:none;
    transition:none;
  }

  .afteePic{
    width: 100%;
  }

  .act2 {
    margin-top: 24px;
  }

  .act2 .flexCon{
    flex-direction: column;
    padding: 0 6%;
  }

  .act2 a {
    margin-top: 0px;
  }

  .act2 a:hover{
    transform:none;
    transition:none;
  }

  .ct-bg{
    width: 100%;
    background-image: url(../images/bg-PC.jpg); 
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover; 
    min-height: 800px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #ct01{
    width: 80%;
    margin-top: 75px;
  }
  .ct01-cp-bt{
    width: 90%;
  }

  #ct02{
    width: 80%;
    margin-top: 75px;
  }

  #ct03{
    width: 80%;
    margin-top: 75px;
  }

  #ct04{
    width: 80%;
    margin-top: 75px;
  }

  #ct05{
    width: 80%;
    margin-top: 75px;
  }

  .time-OfferPro {
    padding: 0 16px;
  }
  .time-OfferPro a{
    width: 100%;
  }
  .time-OfferTitle {
    padding-top: 15px;
    text-align: center;
    width: 100%;
  }

  .time-OfferPro {
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: cover !important;
    padding: 3% 0px 0px 0px !important;
    margin-top: -16px !important;
    margin-bottom: -20px !important; 
  }

  .YTPro {
    padding: 0 16px;
  }
  .YTPro a{
    width: 100%;
  }
  .YTTitle {
    padding-top: 10px !important;
    text-align: center;
    width: 90%;
  } 

  .YTPro {
    padding: 0% 0% 10% 0% !important;
    margin-top: 0px !important; 
  }

  #ct03_bnt{
    width: 80%;
    display: flex; 
    flex-direction: column;
    margin: 0 auto; 
    gap: 10px;
    align-items: center;
  }

  #ct03_bnt img {
    display: block; 
    max-width: 100%;
    height: auto;
  }

  .rule p span {
    margin-left: 25px;
  }  
  
  .AFTEE_Q {
    position: absolute;
    right: 0px;
    width: 32%;
    top: 82%;
  }

  .flexCon{
    margin-top: 0px;
  }

  .ATTilte{
    width: 85%;
    margin: 0 auto;
    margin-top: 60px;
  }

  .HoHogoodBtn {
    padding: 0 15%;
    margin-bottom: 0px;
    margin-top: 16px;
  }
}

@media (max-width: 650px) {
  .rule h5{
    font-size: 24px;
  }

  .rule p {
    font-size: 16px;
    line-height: 28px;
  }

  .kv-bg{
    width: 100%;
    background-image: url(../images/kv-bg-mb.png); 
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain; 
    min-height: 800px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .kv-cp {
    flex-wrap: wrap;
    width: 80%;
    gap: 15px;
    margin-top: 70px;
  }
}

@media only screen and (max-width: 490px) {
  #ct01{
    margin-top: 50px;
  }
  #ct02{
    margin-top: 50px;
  }
  #ct03{
    margin-top: 50px;
  }
  #ct04{
    margin-top: 50px;
  }
  #ct05{
    margin-top: 50px;
  }

  #ct05, #ct05-2 {
    display: block;
  }

  #ct05 a.showMB, #ct05-2 a.showMB {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    position: static; 
    height: auto;
    padding: 0;
  }

  #ct05 a.showMB img, #ct05-2 a.showMB img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain; 
    object-position: center center; 
    margin: 0 auto; 
  }
}

.mySwiper{
  overflow: hidden;
}
.swiper-wrapper{
  display: inline-flex;
}
.mySwiper .swiper-slide{
  width: 389px;
  height: 453px;
}
.plus1Swiper{
  overflow: hidden;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 780px) {
  .btn-group {
    width: 110%;
    left: -5%;
    margin-top: 16px;
  }
}

.btn-group a {
  display: block;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s;
}

.btn-group a:hover {
  background: #555;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 550px;
  background: #fff;
  border-radius: 12px;
  padding: 48px 24px 24px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.popup-box h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.popup-box p {
  margin: 0;
  line-height: 1.8;
  color: #444;
}

.popup-box img{
  width: 100%;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.popup-close:hover {
  color: #000;
}

section[id], div[id] {
  scroll-margin-top: 130px; 
}

#YT {
  scroll-margin-top: 180px !important; 
}