/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #bfa36a;
}

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

.nav a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav a:hover {
  color: #bfa36a;
}

/* ===== Mobile Menu ===== */
.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav ul {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 40px 0;
    transition: right 0.4s ease;
  }

  .nav ul.open {
    right: 0;
  }

  .menu-btn {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 50vh;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease, transform 8s ease;
}

.hero-bg.show {
  opacity: 1;
  transform: scale(1.08);
}

.hero-inner {
  position: relative;
  background: rgba(255,255,255,0.78);
  padding: 70px;
  max-width: 720px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: #bfa36a;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-inner {
    padding: 40px;
  }
}

/* ===== Concept Z Layout ===== */

.concept-z {
  padding: 120px 10% 10px;
}

.concept-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.concept-row.reverse {
  flex-direction: row-reverse;
}

.concept-image {
  flex: 1;
}

.concept-image img {
  width: 100%;
  height: auto;
  display: block;
}

.concept-text {
  flex: 1;
  background: #fff;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.concept-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #bfa36a;
  margin-bottom: 24px;
}

.concept-text p {
  font-size: 15px;
  color: #666;
  line-height: 2.2;
}

.concept-row:last-child {
  margin-bottom: 0;
}

/* ===== スマホ ===== */
@media (max-width: 768px) {
  .concept-row,
  .concept-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .concept-text {
    padding: 40px;
  }
}
/* ===== Heroだけ section余白を無効化 ===== */
/* ===== Heroは sectionの影響を完全に外す ===== */
.hero {
  padding: 120px 0 0;   /* 左右0にする */
}
.hero-inner {
  position: relative;
  z-index: 2;

  max-width: 300px;     /* ← 720 → 640 に */
  margin: 0 auto 0 8%;      /* ← これが無かったのが致命傷 */

  background: rgba(255,255,255,0.78);
  padding: 56px 64px;
}
@media (max-width: 768px) {
  .hero-inner {
    max-width: 90%;
    margin: 0 auto;   /* ← スマホは中央 */
    padding: 36px;
  }
}

/* ===== Footer ===== */
footer {
  padding: 50px 10%;
  text-align: center;
  color: #999;
}


/* ===== Future（Conceptと統一） ===== */
/* ===== Features（Future） ===== */

.features-section {
  padding: 120px 10%;
  text-align: center;
}

/* 説明文は中央の読みやすい幅 */
.features-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* リード文 */
.features-lead {
  font-size: 14px;
  color: #666;
  line-height: 2.2;
  margin-bottom: 56px;
}

/* ===== Features（Future） ===== */ 
.features-section {
 padding: 120px 10%;
  text-align: center;
  } 
  
  /* 説明文は中央の読みやすい幅 */ 
/* ===============================
   Features
=============================== */

/* 内側（リード文用） */
.features-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* リード文 */
.features-lead {
  font-size: 14px;
  color: #666;
  line-height: 2.2;
  margin-bottom: 56px;
}

/* ★ 3つ並びだけ画面いっぱい */
.features-grid {
  width: 100vw;
  max-width: none;
  margin: 80px 0 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 各特徴 */
.feature-item {
  text-align: center;
}

/* 見出し */
.feature-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: #bfa36a;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

/* 説明文 */
.feature-item p {
  font-size: 13.5px;
  color: #555;
  line-height: 2;
}

/* 画像（高さ統一） */
.feature-image {
  width: 100%;
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ===============================
   Mobile
=============================== */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    width: 100%;
    left: 0;
    transform: none;
  }
}

header {
  z-index: 9999;
}

.link-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;              /* ボタン間の余白 */
  margin-top: 40px;
}

.link-buttons a {
  display: block;
}

.link-buttons img {
  width: 270px;           /* ← 指定どおり */
  max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ */
@media (max-width: 768px) {
  .link-buttons {
    flex-direction: column;
    align-items: center;     /* ← ここが重要 */
    gap: 20px;
  }
}