@charset "UTF-8";

/* ===== base ===== */
html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== header ===== */
header {
  background: #5fb3a2;
  color: #fff;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== ハンバーガーボタン ===== */
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ===== nav（PC用） ===== */
nav {
  position: static;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

nav a:hover {
  opacity: 0.8;
}

/* ===== main visual ===== */
.fv {
  position: relative;
}

.fv-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.fv-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 0 20px;
}

.fv-text h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* ===== common ===== */
.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px;
}

.btn {
  display: inline-block;
  background: #5fb3a2;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
}

/* ===== footer ===== */
footer {
  background: #f5f5f5;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
}

/* =========================
   スマホ用ハンバーガー
========================= */
@media screen and (max-width: 600px) {

  .menu-btn {
    display: block;
    z-index: 1100;
  }

  /* nav（スマホ用） */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #5fb3a2;

    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column; /* 縦並び */
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
  }

  nav a {
    font-size: 1.2rem;
  }

  .fv-img {
    height: 40vh;
    object-fit: cover;
  }

  .fv-text h2 {
    font-size: 1.5rem;
  }
}
