@charset "UTF-8";

/* ==================================================
  Base
================================================== */
body {
  font-family:
    "Yu Mincho","游明朝",YuMincho,
    "Hiragino Mincho ProN","ヒラギノ明朝 ProN",
    "MS PMincho",serif;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================================================
  Hero / Header
================================================== */
.hero {
  height: 100vh;
  background: url("../images/hero.jpg") center / cover no-repeat;
  position: relative;
  color: #fff;
}

/* ---------- Global Navigation ---------- */
.globalNavi {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(66,66,66,0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.navList {
  display: flex;
  gap: 20px;
  list-style: none;
}
/* ---------- ナビ（スマホ）のタップし易さ(chatデザイン微調整) ---------- */
.navList a {
  display: block;
  padding: 12px 0;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* × animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Text ---------- */
.heroText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.heroText h1,
.heroText h2,
.heroText p {
  text-shadow: 2px 2px 10px #000;
}

.heroText h1,
.heroText h2 {
  color: #f4b3c2;
}

.heroText h2 {
  font-size: 4.5rem;
  margin-bottom: 300px;
}

.heroText p {
  font-size: 1.4rem;
}
/* ---------- ヒーローテキスト行間と余白修正(chatデザイン微調整) ---------- */
.heroText h1 {
  margin-bottom: 10px;
}

.heroText h2 {
  line-height: 1.1;
}

.heroText p {
  margin-top: 10px;
}

/* ==================================================
  Main
================================================== */
main {
  width: 960px;
  margin: 0 auto;
  padding-top: 120px;/* 100 → 120 (chatデザイン微調整)*/
}

section {
  margin-bottom: 120px;
}

h2 {
  text-align: center;
  font-size: 2.1em;       /* 2em → 2.1em(chatデザイン微調整) */
  letter-spacing: 0.05em;/* 追加(chatデザイン微調整) */
  margin-bottom: 40px;
}

h3 {
  text-align: center;
  font-size: 1.4em;
  letter-spacing: 0.03em;/* 追加(chatデザイン微調整) */
  margin-bottom: 15px;
}

/* ---------- Define ---------- */
.define {
  padding: 0 20px;
  margin-bottom: 120px;
}

.defineFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.defineText,
.defineImg {
  width: 48%;
}

.defineText p {
  line-height: 1.7;
}

/* ---------- Features ---------- */
.featureItem {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.featureText,
.featureImg {
  width: 50%;
  padding: 15px 25px;
}

.featureText p {
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.buttonGroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 100px;
}

.btn {
  width: 280px;
  padding: 14px 0;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}
/* ---------- ボタン文字強調(chatデザイン微調整) ---------- */
.btn {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.btn.green { background: #a8c97f; }
.btn.pink  { background: #f4b3c2; }

/* ---------- ボタン見た目修正(chatデザイン微調整) ---------- */
.btn {
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- Arrange ---------- */
.arrange {
  padding: 0 20px;
}

.arrangeText {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 50px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

/* ---------- 文字サイズ修正(chatデザイン微調整) ---------- */
.defineText p,
.featureText p,
.arrangeText {
  font-size: 0.95rem;
}

/* ==================================================
  Footer
================================================== */
footer {
  background: #555;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.toTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* ==================================================
  Overlay
================================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==================================================
  Responsive
================================================== */
@media screen and (max-width: 768px) {

  main {
    width: 90%;
    padding-top: 80px;
  }

  /* Navigation */
  .hamburger {
    display: block;
  }

  .navList {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(66,66,66,0.9);
    flex-direction: column;
    text-align: center;
  }

  .navList li {
    padding: 15px 0;
  }

  .navList.open {
    display: flex;
  }

  /* Layout */
  .defineFlex,
  .featureItem {
    flex-direction: column;
    text-align: center;
  }

  .defineText,
  .defineImg,
  .featureText,
  .featureImg {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ---------- スマホ時文字サイズ余白修正(chatデザイン微調整) ---------- */
@media screen and (max-width: 768px) {

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.2em;
  }

  .heroText h2 {
    font-size: 3rem;   /* 4.5rem → 縦圧縮 */
    margin-bottom: 200px;
  }

  .arrangeText {
    margin-bottom: 40px;
  }
}

