*{box-sizing:border-box;}body{margin:0;font-family:'Helvetica Neue',sans-serif;background-color:#5e9197;color: rgb(240, 240, 240);text-align:center;line-height:1.6;}




header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1.5rem;
    background-color: #55868e;
    flex-wrap: wrap;
    height:auto;
}


.header-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1.5rem;
    background-color: (48, 74, 78, 0.7);
    /*flex-wrap: wrap;*/
    height: auto;
}

.header-left img {
    height: 35px;
}

.header-left-nav a {

    color:  rgb(240, 240, 240);
    text-decoration: none;
    font-weight: 680;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
}

.header-left-nav a:hover {
    opacity: 0.3;
}


.header-nav a {
    margin: 0 20px;
    color:  rgb(240, 240, 240);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 0.3;
}




.header-contact p{margin:0;font-size:0.85rem;text-align:right;}.hero{height:calc(100vh - 100px);overflow:hidden;}



.hero img{width:100%;height:100%;object-fit:cover;}


.hero-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color: rgb(240, 240, 240);font-size:2.5rem;text-shadow:2px 2px 8px rgba(0,0,0,0.6);}.hero-logo img{position:absolute;top:20%;left:50%;transform:translate(-50%,-50%);color: rgb(240, 240, 240);font-size:2.5rem;text-shadow:2px 2px 8px rgba(0,0,0,0.6);}.plans{margin:3rem auto;max-width:600px;}.plans h2{font-size:2rem;margin-top:1.5rem;}.price{color:orange;font-weight:450;font-size:2rem;}.hour{color: rgb(240, 240, 240);font-weight:400;font-size:1.5rem;}.message{padding:3rem 1rem;background-color:#4b7f84;font-size:1.1rem;}.menu-links{display:grid;width:400;grid-template-columns:50% 50%;gap:1rem;padding:1rem;}.menu-links div{position:relative;overflow:hidden;border-radius:10px;}.menu-links img{width:100%;height:auto;display:block;transition:transform 0.3s ease;}.menu-links div:hover img{transform:scale(1.05);}.menu-links span{position:absolute;bottom:10px;left:15px;color: rgb(240, 240, 240);font-weight:bold;font-size:1.2rem;text-shadow:1px 1px 5px rgba(0,0,0,0.5);}.hero-logo-centered{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}.hero-logo-centered{width:400px;}.hero{position:relative;height:calc(100vh - 100px);overflow:hidden;}.hero img{width:100%;height:100%;object-fit:cover;display:block;position:relative;}
.contact-info-overlay{position:absolute;top:20px;right:20px;z-index:2;}
.contact-info-overlay img{width:320px;height:auto;}
.sample img{width:80%;height:80%;object-fit:cover;}.fotter-center img{width:70%;height:70%;object-fit:cover;}.fotter-center div:hover img{transform:scale(1.03);transition:0.2s;}.footer-contact img{width:100%;height:auto;display:block;transition:transform 0.3s ease;}footer{margin:1rem;}footer img{width:120px;transform:scale(1.03);transition:0.2s;}.footer-left img:hover{opacity:0.7;}.footer-nav a{margin:20px 20px;color: rgb(240, 240, 240);text-decoration:none;font-weight:bold;font-size:1rem;transition:opacity 0.3s ease;}.footer-nav a:hover{opacity:0.7;}.footer{color: rgb(240, 240, 240);font-size:15px;}.footer a{color: rgb(240, 240, 240);}


@media screen and (max-width: 768px) {
  .header-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .header-nav a {
    font-size: 1.1rem;
    margin: 5px 0;
  }
  .hero {
    height: auto;
  }
  .hero img {
    height: auto;
    width: 100%;
  }
  .hero-logo-centered {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
  body {
    font-size: 1rem;
  
  }
  img {
    max-width: 100%;
    height: auto;
  }
}


/* ======= Responsive Adjustments ======= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .header-nav a {
        margin: 0;
        padding: 0.5rem 1rem;
    }

    .hero-logo-centered {
        width: 80%;
    }

    .plans {
        padding: 0 1rem;
    }

    .menu-links {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .menu-links div {
        margin: 0 auto;
        width: 90%;
    }

    .contact-info-overlay {
        top: 10px;
        right: 10px;
        width: 200px;
    }

    .contact-info-overlay img {
        width: 100%;
        height: auto;
    }
}


/* ======= Hamburger Menu ======= */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color:  rgb(240, 240, 240);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #5e9197;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}


/* Refine hero logo positioning and size */
.hero {
    position: relative;
}

.hero-logo-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    max-width: 80%;
    z-index: 2; /* ★ 追加：ロゴを前面に出す */
}

.hero-logo-centered img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-logo-centered {
        width: 200px;
        max-width: 70%;
    }
}




/* ========== Responsive Font Sizes ========== */
body {
    font-size: clamp(14px, 2vw, 18px);
}

h1, h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p, .hour, .price, .footer, .footer a {
    font-size: clamp(14px, 2.2vw, 18px);
}

.header-nav a,
.footer-nav a {
    font-size: clamp(14px, 2vw, 17px);
}




/* ========== Moderately Enlarged Font for .plans Section ========== */
.plans h2 {
    font-size: clamp(1rem, 3vw, 1.8rem);
}

.plans p, .plans .hour, .plans .price {
    font-size: clamp(20px, 2.5vw, 30px);
}




/* ========== Slightly Enlarged Time and Price for .plans Section ========== */
.plans .hour, .plans .price {
    font-size: clamp(20px, 2.5vw, 30px);
}




@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    width: 100vw;
    left: 0;
    z-index: 1000;
    background-color: rgba(48, 74, 78, 0.7); /* 半透明 */
    padding: 0.6rem 1rem;
  }

  body {
    padding-top: 80px; /* 固定ヘッダー分のスペースを確保 */
    overflow-x: hidden;
  }

  .hamburger {
    color:  rgb(240, 240, 240);
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
  }

  .header-nav {
    background-color: rgba(94, 145, 151, 0.95);
    width: 100%;
  }

  html, body {
    overflow-x: hidden;
  }
}



@media (max-width: 768px) {
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav a {
    margin: 8px 0;
  }
}


h1 {
    font-size: clamp(0.7rem, 2vw, 1.5rem);
}






/* スライドショー共通設定 */
.slideshow-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
}

.mySlides {
  display: none;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
}

.fade {
  animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
