* {
    box-sizing: border-box;
}

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: rgba(48, 74, 78, 0);
    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;

}eader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: #55868e;
    flex-wrap: wrap;
}
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #55868e;
  color: rgb(240, 240, 240);
  text-align: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 15px;
  background-color: #55868e;
  font-size: 0.9rem;
}

.contact-icon {
  height: 20px;
  vertical-align: middle;
}


.logo img {
  width: 40px;
  height: 40px;
}

.nav a {
  margin-left: 15px;
  color:  rgb(240, 240, 240);
  text-decoration: none;
  font-weight: bold;
}

.nav a:hover {
  text-decoration: underline;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 40vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto; /* アスペクト比を保つ */
  display: block; /* 余計な余白を消す */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 900;
  color:  rgb(240, 240, 240);
}

.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  font-size: 4rem;
  z-index: 1;
  font-weight: bold;
  color:  rgb(240, 240, 240);;
}

.top {
  font-size: 20px;
}

.contact-info-overlay {
    position: absolute;
    top: 20px;
    right: 350px;
    z-index: 2;
}

.contact-info-overlay img {
    width: 320px;
    height: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  font-size: 0.8em;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.contact p {
  margin: 0;
  color: orange;
  font-weight: bold;
}



main {
  padding: 20px 20px;
}

h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

hr {
  border: 1px solid #ccc;
  width: 80%;
  margin: 0 auto 1em;
}

.pack-prices div,
.hour-price div {
  font-size: 1.5em;
  margin: 10px 0;
}

.price {
  color: orange;
  font-weight: 450;
  margin-left: 10px;
}

.tax-included {
  font-size: 0.9em;
  color:  rgb(240, 240, 240);;
}

.tax {
  font-size: 0.9em;
  color:  rgb(240, 240, 240);;
}

.note {
  font-size: 0.8em;
  margin-top: 10px;
}

.notice {
  margin-top: 40px;
  font-size: 0.9em;
  color:  rgb(240, 240, 240);;
}







.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: white;
    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: 100%;
    width: 100%;
    object-fit: cover;
  }
  }
  .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) {
  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
  }

    .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%;
}

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

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



@media (max-width: 768px) {
  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
  }

 .hero-logo-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
  }

  .hero-logo-centered h1 {
    font-size: 7vw;
  }
}






@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;
    font-size: 1rem;
  }
}


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

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

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

.price {
  font-size: clamp(22px, 2.2vw, 30px);
}

.hour
{
    font-size: clamp(10px, 2.2vw, 18px);
}


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