/*
 Theme Name:   Lightning Child
 Template:     lightning
 Version:      1.0
*/

@import url("../lightning/style.css");

/* === 全体の基本調整 === */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #4a3f3f;
  background-color: #f8f5ef;
}

/* === ヒーローセクション（カバー） === */
.wp-block-cover {
  background: linear-gradient(#f5f8f2, #ffffff);
  color: #5b3e2b;
}

.wp-block-cover h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.wp-block-cover .subtitle {
  font-size: 1.1rem;
  background-color: #d4c3a3;
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
}

/* === ボタン調整 === */
a.wp-block-button__link {
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: bold;
  transition: 0.3s ease;
  text-decoration: none;
}

a.wp-block-button__link:hover {
  opacity: 0.85;
}

a.btn-line {
  background-color: #00c300 !important;
  color: #fff !important;
}

a.btn-outline {
  background-color: #f6f1e3 !important;
  color: #5b3e2b !important;
  border: 1px solid #d1c1a3 !important;
}

/* === 特徴セクション === */
.feature-list li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
}

.feature-list li::before {
  content: \"●\";
  color: #a67c52;
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 0.2em;
}

/* === メニューカード風スタイル === */
.menu-grid,
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.menu-item,
.wp-block-column {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  border: 1px solid #e4e2d9;
  background-color: #ffffff; /* ←ここを白に */
  border-radius: 10px;
  text-align: center;
}


.menu-item h3,
.wp-block-column h3 {
  color: #5b3e2b;
  margin-bottom: 0.5em;
}

/* === アクセス地図埋め込み === */
.wp-block-embed-google-maps iframe {
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* === レスポンシブ対応 === */
@media screen and (max-width: 768px) {
  .wp-block-cover h1 {
    font-size: 1.5rem;
  }

  .menu-grid,
  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-button__link {
    display: block;
    margin: 8px 0;
  }
}

/* === スタッフ紹介 === */
.staff {
  background: linear-gradient(to bottom, #fffefb, #f5f1e3);
  padding: 60px 20px 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.staff::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("staff-wave-bottom.svg") no-repeat bottom;
  background-size: cover;
  z-index: -1;
}


.staff h2 {
  color: #5b3e2b;
  font-size: 2rem;
  margin-bottom: 40px;
}

.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.staff-member {
  background-color: #fbf9f5;
  border: 1px solid #e4e2d9;
  border-radius: 10px;
  padding: 20px;
  max-width: 280px;
  flex: 1;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.staff-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
}

.staff-member h3 {
  font-size: 1.1rem;
  color: #4a3f3f;
  margin-bottom: 10px;
}

.staff-member p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .staff-grid {
    flex-direction: column;
    align-items: center;
  }
}

iframe {
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: 300px;
}

/* ヒーローセクション */
.hero-section {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-text-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-text-box h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.hero-text-box p {
  font-size: 1rem;
  color: #555;
}

/* 👇 スマホ・タブレットで非表示にする（768px未満） */
@media screen and (max-width: 767px) {
  .home-float-btn {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .site-header {
    display: none !important;
  }
}

.mobile-only { display: none; }
@media screen and (max-width: 767px) {
  .mobile-only { display: block; }
}

/* ホームに帰るボタン */
.home-button {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e0f4e9;
  color: #333;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: block;
}

/* トップページだけ非表示にする */
body.home .home-button {
  display: none !important;
}

/* スマホとタブレットも非表示（これまで通り） */
@media screen and (max-width: 767px) {
  .home-button {
    display: none !important;
  }
}

/* メニューの表示 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.menu-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.menu-item:hover {
  transform: scale(1.03);
}