body {
      margin: 0;
      padding: 0;
      
      overflow-x: hidden;
      font-family: sans-serif;
    }



header {
 background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 10px;
    left: 50%;

    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 10px;
}

.header-wrapper{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.bottomNav{
  display: flex;
 width: calc(100% - 40px);
  padding: 10px 20px;
  background: #ebebeb;
   border-radius:0 0 10px 10px ;
    align-items: center;
  justify-content: center;

}
.srcollNav{
  width: calc(100% - 70px);
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
.srcollNav{
 overflow-x: scroll;
 justify-content: flex-start;
}
}

.menu-icon {
      text-align: right;
    cursor: pointer;
    width: 60px;
    font-size: 25px;
}


.rakuLogo{
  height: 40px;
}


.logo {
  height: 60px;
  padding-left: 20px;
}
nav {
  width: calc(100% - 245px);
  display: flex;
  padding-right: 20px;
  align-items: center;
  gap: 20px;
  justify-content: end;
}
nav a {
  text-decoration: none;
  color: #6e6e6e;
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 650px) {
nav{
   width: calc(100% - 155px);
}
nav a{
 display: none;
}
nav .applyBtn{
  display: inherit!important;
  font-size: 12px;
}
header {
    width: 90%;
}
.header-wrapper {
    justify-content: space-between;
    align-items: center;
}
}

@media (max-width: 768px) {
.logo {
  height: 40px;
  padding-left: 10px;
}
.srcollNav{
gap: 15px;
}
.rakuLogo{
  height: 30px;
}

}

.applyBtn {
  background: #f35c23;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  display:inline-block;
  text-decoration: none;
}


    .container {
      width: 100%;
      height: 100vh;
      position: relative;
      overflow: hidden;
      background: #afdee9;
      text-align: center;
    }
    .element {
  position: absolute;
  transform: scale(0);
  opacity: 0;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.element.show {
      transform: scale(1) rotate(0deg);
      opacity: 1;
}

    .element.scaled {
  transform: scale(0.1);
  opacity: 0;
}

    .fuji {
    bottom: 0%;
    left: -10%;
    width: 120%;
    z-index: 0;
    }
 .tokyo {
    bottom: 0;
    left: 20%;
    width: 18%;
}
    .osaka {
    bottom: 0;
    right: -10%;
    width: 32%;
    }  
   .ramen {
    bottom: 25%;
    left: 25%;
    width: 15%;
}
   .takoyaki {
    bottom: 5%;
    left: 30%;
    width: 12%;
}
   .torii {
    bottom: -2%;
    right: 20%;
    width: 18%;
}
  .lantern {
    bottom: 30%;
    right: 20%;
    width: 8%;
}
.dance {
    bottom: -5%;
    left: -2%;
    width: 30%;
}
    .temple {
    bottom: 10%;
    left: -5%;
    width: 35%;
}
    .koinobori {
    bottom: -1%;
    right: 15%;
    width: 10%;
}
.cutlet {
    bottom: 55%;
    left: 0%;
    width: 20%;
}

.Lgami {
    bottom: -18%;
    right: 15%;
    width: 100%;
}

.Rgami {
    bottom: -20%;
    right: -25%;
    width: 80%;
}

.topTitleArea{
      position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 100%;
    font-weight: 900;
}

.topTitleB{
  font-size: 100px;
    letter-spacing: 5px;
}

.topTitleS{
  font-size: 30px;
}
.topTitleB span{
  position: relative;
}

.topTitleB span::before {
  position: absolute;
    bottom: 85px;
    left: 45%;
    transform: translateX(-50%);
    content: "";
    width: 15px;
    height: 15px;
    background-color: rgb(251 176 25);
    border-radius: 50%;
}


@media (max-width: 1650px) {
  .cutlet {
    bottom: 45%;
}
}

@media (max-width: 1100px) {
  .cutlet {
    bottom: 35%;
}
.lantern {
    bottom: 20%;
}
}

@media (max-width:700px) {
 .topTitleB{
  font-size: 80px;
}
.topTitleB span::before {
    bottom: 70px;
    width: 15px;
    height: 15px;
}

.topTitleS{
  font-size: 20px;
}
  .fuji {
   left: -50%;
        width: 200%;
    }
 .tokyo {
           width: 30%;
}
    .osaka {
    right: -20%;
        width: 60%;
    }  
   .ramen {
    left: 20%;
     width: 25%;
}
   .takoyaki {
            left: 40%;
        width: 20%;
}
   .torii {
    bottom: -5%;
        width: 30%;
}
  .lantern {
   width: 15%;
}
.dance {
   width: 45%;
}
    .temple {
      left: -15%;
        width: 50%;
}
    .koinobori {
    width: 15%;
}
.cutlet {
   bottom: 35%;
        left: -10%;
        width: 35%;
}

.Lgami {
    bottom: -5%;
    width: 160%;
}

.Rgami {
   bottom: -10%;
   width: 150%;
}
}

@media (max-width:475px) {
 .topTitleB{
  font-size: 45px;
}
.topTitleB span::before {
    bottom: 45px;
    width: 10px;
    height: 10px;
}

.topTitleS{
  font-size: 14px;
}
}

.aboutArea{
  width: 100%;
  height: 100vh;
      position: relative;
}
/* 背景影片容器 */
.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
      width: 700px;
    height: 700px;
  transform: translate(-50%, -50%) scale(1);
  overflow: hidden;
  border-radius: 20px;
  transition: 
    transform 0.5s ease-in-out,
    width 0.5s ease-in-out,
    height 0.5s ease-in-out,
    border-radius 0.5s ease-in-out;
}

.video-background.scaled {
  width: 100%;
  height: 100vh;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 0;
}

/* 影片本體 */
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 卡片樣式 */
.aboutCard {
  position: absolute;
  top: 50%;
  left: 50%;
     width: 700px;
    height: 700px;
  transform: translate(-50%, -50%) scale(1);
      background: rgb(23 112 187 / 80%);
  color: white;
  z-index: 10;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 22px;
  backdrop-filter: blur(1px);
  flex-direction: column;
  transition: 
    transform 0.5s ease-in-out,
    width 0.5s ease-in-out,
    height 0.5s ease-in-out,
    border-radius 0.5s ease-in-out;
}

.aboutCard.scaled {
  width: 100%;
  height: 100vh;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 0;
}


@media (max-width:750px) {
.aboutCard,.video-background {
 width: 500px;
    height:800px;
}
}
.aboutTitle{
  font-size: 40px;
  font-weight: 900;
  color: #fff;
}

.aboutDes{
    line-height: 2em;
    margin-top: 20px;
}
   

@media (max-width:550px) {
.aboutCard,.video-background {
 width: 250px;
    height:800px;
     font-size: 14px;
}
.aboutTitle{
  font-size: 26px;
}

.aboutDes{
    line-height: 2em;
    margin-top: 20px;
}
   .aboutArea,.aboutCard.scaled,.video-background.scaled  {
    height: 130vh;
   }
   .aboutArea{
    width: 100%;
    overflow: hidden;
   }
}



/* 全螢幕選單 */
.fullscreen-menu {
    position: fixed;
    top: -250vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ebebeb;
    z-index: 99999;
    transition: top 0.6s ease;
    display: flex
;
    flex-direction: column;
    align-items: start;
    padding-top: 80px;
}

/* 選單開啟狀態 */
.fullscreen-menu.active {
  top: 0;
}

/* 導覽連結 */
.fullscreen-menu ul {
  list-style: none;
  padding: 0 10%;
}

.fullscreen-menu ul li {
  margin: 30px 0;
  font-size: 40px;
 
}

.fullscreen-menu ul li a {
  text-decoration: none;
  font-weight: 900;
   color: #000;
}

.fullscreen-menu ul li a:hover{
  opacity: 0.8;
}

/* 關閉按鈕 */
.close-btn {
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 2rem;
  cursor: pointer;
}

.menuNav{
width: 100%;
flex-wrap: wrap;
display: flex;
gap: 20px;
}

.menuNav .rakuLogo{
  height: 80px;
}

.menuBottom{
  width: 80%;
    margin:0 10%;
    text-align: right;
  color: gray;
  font-size: 14px;
}
.menuBottom a{
  color: #000;
  text-decoration: none;
}

.menuBottom a:hover{
  opacity: 0.8;
}

@media (max-width:1050px) {
.menuNav .rakuLogo{
  height: 60px;
}
.fullscreen-menu ul li {
  margin: 30px 0;
  font-size: 30px;
}
}

@media (max-width:500px) {
.menuNav .rakuLogo{
  height: 40px;
}
.fullscreen-menu ul li {
  margin: 15px 0;
  font-size: 24px;
}
.fullscreen-menu{
  padding-top: 20px;
}
.close-btn {
    top: 2%;
    right: 5%;
}
}

.pageBanner{
      display: flex;
    min-height: 500px;
    padding: 0 10%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: self-start;
        border-bottom: 2px solid #fff;
}

.pageTitle{
  font-size: 60px;
  font-weight: 900;
  padding-bottom: 40px;
}

.pageDes{
  font-size: 16px;
  color: #f35c23;
}
.pageDel{
  font-size: 16px;
  color: #fff;
  margin-bottom: 50px;
  text-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.template {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  background: #f1f1f1;
  
}

.Llayout {
  width:calc(300px - 5%);
  padding-left: 5%;
  position: sticky;
  top: 150px;
  z-index: 99;
  height: fit-content;
}

.anchor-nav {
  list-style: none;
  padding: 0;
}

.anchor-nav li {
  margin-bottom: 1rem;
}

.anchor-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.anchor-nav a.active {
  color: #0d47a1;
  border-left: 4px solid #0d47a1;
  padding-left: 8px;
}

.Rlayout {
  width: calc(100% - 420px);
  background: #fff;
  padding: 40px 40px 200px 40px;
}

.Rlayout ol,.Rlayout ul,.Rlayout dt{
  font-size: 18px;
}
.Rlayout dt{
  font-weight: 600;
}

.Rlayout li{
  margin: 10px 0;
}
.Rlayout dd{
  margin:15px 0px;
}

.content-section {
  padding: 80px 0;
  border-bottom: 1px solid #ddd;
  scroll-margin-top: 120px; /* 防止標題被 header 蓋住 */
}

.content-section p{
line-height: 2em;
font-size: 18px;
}

.pageMtitle{
  font-size: 26px;
  font-weight: 600;
}

.pageMtitle span{
  color: #f35c23;
}

.pageBtitle{
  font-size: 40px;
  font-weight: 900;
}

.block{
  display: block;
}

.value-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.value-card {
    text-align: center;
  width: calc(50% - 50px);
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 10px 50px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.value-card h3 {
  font-size: 30px;
  color: #f35c23;
  margin-bottom: 15px;
  position: relative;
}


@media (max-width:1000px) {
.Llayout {
  width:calc(150px - 5%);
  padding-left: 5%;
  position: sticky;
  top: 150px;
  height: fit-content;
}
.template {
    background: transparent;
}
.Rlayout {
  width: calc(100% - 270px);
  background: #fff;
  padding: 40px;
}
.pageBtitle {
    font-size: 30px;
    font-weight: 900;
}
.value-card{
  width: calc(100% - 20px);
}
}

.info-table .row {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}

.info-table .label {
  font-weight: bold;
  color: #111;
}

.info-table .value ol {
  padding-left: 1.2em;
  margin: 0;
}
.info-table .row:last-child{
  border-bottom: none;
}

@media screen and (max-width: 800px) {
.Llayout {
  width: 100%;
 overflow-x: scroll;
  position: sticky;
  top: 125px;
  padding-left: 0%;
          font-size: 14px;
   background: #f1f1f1;
}
.anchor-nav{
 display: flex;
  gap: 30px;
 justify-content: flex-start;
 width: 700px;
 padding-left: 20px;

}

.Llayout::-webkit-scrollbar{
  display: none;
}
.Rlayout {
  width: calc(100% - 40px);
  padding: 40px 20px 200px 20px;
}
.anchor-nav li {
    margin-bottom: 0rem;
}

  .info-table .row {
    grid-template-columns: 1fr;
  }
  .info-table .label {
    margin-bottom: 5px;
  }
  .pageTitle{
  font-size: 40px;
}

}

.contact-form {
  width:800px;
  max-width: calc(95% - 40px);
  margin: 4rem auto 10rem auto;
  padding: 20px;
  background: #f8f8f8;
}
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}
.contact-form label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 1rem 0 0.5rem;
  font-weight: bold;
}
.contact-form label span{
  background: #e14e1b;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  display: inline-block;
  color: #fff;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: calc(100% - 1.6rem);
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.contact-form .checkbox {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.contact-form .checkbox input {
  margin-right: 0.5rem;
}
.contact-form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.8rem;
  font-size: 1.1rem;
  background-color: #f35c23;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background-color: #e14e1b;
}


.site-footer {
  background: #2e363b;
  color: #fff;
  padding: 200px 20px 20px;
  font-size: 14px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1200px;
  max-width: 100%;
  margin: auto;
}
.footer-brand {
  width: 400px;
  max-width: 100%;
  margin-bottom: 20px;
}
.footer-logo {
  width: 300px;
  max-width: 90%;
  margin-bottom: 10px;
}

.footer-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width:calc(100% - 400px);
}
.footer-column {
  width: calc(50% - 20px);
}
.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 15px;
}
.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-column ul li a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  color: #777;
  margin-top: 200px;
  font-size: 12px;
}

/* 手機響應式設計 */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-columns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .footer-buttons {
    justify-content: center;
  }
  .footer-column{
    width: 100%;
  }
  .block{
    display: inline;
  }
}

.footerNav{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footerNav .rakuLogo{
  height: 55px;
}

.serviceTemp{
  margin: 200px auto;
  width: 1200px;
  max-width: 95%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.serviceBlock{
width: calc(50% - 20px);
}

.serviceTitle{
  font-size: 38px;
  text-align: center;
  width: 100%;
  font-weight: 900;
}

.serviceSub{
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.serviceDes{
  font-size: 18px;
  color: #2e363b;
  line-height: 1.8em;
  text-align: justify;
}



.fadeIn{
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1s, opacity 1s, visibility 1s;
  }
  

.is-fadein {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}
.pointList{
  margin:20px 0;
  color: #383838;
  font-weight: 600;
  font-size: 20px;
}
.point{
  margin: 10px 0;
    display: flex;
    align-items: center;
}

@media (max-width: 1080px) {
.pointList{
  font-size: 16px;
}
}

.serViceBtn{
      background: #2e363b;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    width: 100%;
    display: block;
    text-align: center;
    padding: 20px 0;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orderM{
  order: 3;
}

.order{
  order: 4;
}

@media (max-width: 768px) {
.serviceBlock{
width: 100%;
}
.orderM{
  order: 4;
}
.order{
  order: 3;
}
}

@media (max-width: 500px) {
.serviceTitle{
  font-size: 30px;
}

.serviceSub{
  font-size: 20px;
}

.serviceDes{
  font-size: 14px;
}

.footerNav{
  justify-content: center;
}
.footer-column h4 {
    text-align: center;
}
}


.serviceImg{
  width: 100%;
}

.pageBanner .rakuLogo{
  width: 300px;
  height: auto;
  max-width: 100%;
}