@charset "UTF-8";
/* CSS Document */

body {
	margin: 0;
	font-family: 'Italiana', sans-serif;
	font-size: 1.1vw;
	color: #333;
}

.header-wrap {
	font-size: 1.6vw;
	position: fixed;
    top: 0;
    width: 100%;
    background-color: #89FFA8;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);	
}

.header-container {
	background-color: whitesmoke;
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 48px;
}

 h1.logo {
    color: coral;
    font-size: 2.8vw;
    margin: 0;
}

.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: white;
}

/* グローバルメニュー */
.header-nav {
	margin-left: auto;
}

.header-nav ul {
	display: flex;
	justify-content: flex-end; 
	gap: 20px;
	list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li {
	margin-left: 20px;
}

.header-nav a {
    color: #333;
    text-decoration: none; 
}

.header-nav a:hover {
	color: #ffcc00;
}

.h-menu {
	display: none;
    font-size: 5.0vw;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.header-img {
    background-image: url('../image/top/top-flower.png');
    height: 782px;
    background-size: cover;
    background-position: center;    
    aspect-ratio: 16 / 9;           
    width: 100%;
}

.overlay-box1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 90%;
    width: 360px;
    font-size: 1rem;
}

.overlay-box1 h2 {
    font-size: 1.4rem;
}

.overlay-box1 p {
    font-size: 1rem;
    line-height: 1.6;
}

main {
    margin-top: 100px; 
    padding: 40px;
	position: relative;
	font-size: 1rem;
}

section {
  scroll-margin-top: 80px; 
}

.intro, .works, .contact{
	margin: 40px;
	padding: 40px;
}


/* レスポンシブ（スマホ）対応 */
@media screen and (max-width: 768px) {
  .header-nav {
    display: none;
    width: 100%;
    background-color: #333;
  }

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

  .header-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav li {
    margin: 10px 0;
    width: 100%;
  }

  .h-menu {
    display: block;
  }
}

main {
  margin-top: 70px;
  padding: 20px;
}

/* ===== フルスクリーンハンバーガーメニュー ===== */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); 
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: translateY(-100%);
  opacity: 0;
  transition: transform 1.0s ease;
  pointer-events: none;
}

.overlay-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 閉じるボタン ✖︎ */
.close-menu {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* メニューリスト */
.overlay-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.overlay-nav li {
  margin: 1.5rem 0;
}

.overlay-nav a {
  font-size: 2rem;
  color: white;
  text-decoration: none;
  transition: color 1.0s;
}

.overlay-nav a:hover {
  color: #6AE2B9;
}