/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* 更新日時 */
.entry-meta-item-updated {
	display:none;
}

/* 投稿時のニックネーム */
.entry-meta-item-author {
	display:none;
}



/* ====== ジャンル（TOP用） ====== */

.kiiimon-genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 3em;
  padding: 0 1em;
}
.kiiimon-card {
  border: none;
  border-radius: 16px;
  padding: 15px;
  background: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.kiiimon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.kiiimon-card img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1em;
  border-radius: 12px;
  background-color: #fff;
}
.kiiimon-card h3 {
  font-size: 1.25em;
  margin: 0.5em 0 0.3em;
  color: #333;
}

.kiiimon-card p {
  font-size: 0.95em;
  margin-bottom: 1.2em;
  color: #666;
  line-height: 1.5;
  min-height: 3.2em; /* 高さを揃えるため */
}
.kiiimon-card a {
  display: inline-block;
  color: #fff;
  background: #5b7553;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background 0.3s ease;
}

.kiiimon-card a:hover {
  background: #64815b;
}


.genre-link-button {
  text-align: center;
  margin: 3em 0;
}

.btn {
  display: inline-block;
  background-color: #5b7553;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #64815b;
  color: #ccc;
}




/* ====== 価格（TOP用） ====== */

.price-section {
  text-align: center;
  padding: 60px 20px;
  background: #f9f5ef;
}

.price-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

.price-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: 280px;
  overflow: hidden;
}

.price-card-header {
  padding: 30px 20px;
  font-weight: bold;
  font-size: 20px;
}

.price-card-desc {
  padding: 0 20px 20px;
  color: #444;
}

.price-card-footer {
  background: #d8c8b4;
  color: #222;
  padding: 20px;
}

.price-section .price-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid #444;
  border-radius: 999px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 50px;
}

.price-section .price-btn:hover {
  background-color: #444;
  color: #fff;
}


/* ====== お知らせ（TOP用） ====== */
.home-news{padding:24px 16px;}
.home-news__title{margin:0 0 16px;font-size:1.6rem;font-weight:700;color:#111;}

.news-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:28px;}
.news-item{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:start;border-bottom:1px solid #eee;padding-bottom:24px;}
.news-item.no-thumb{grid-template-columns:1fr;} /* サムネ無しはテキストのみ左詰め */

.news-thumb img{width:100%;height:120px;object-fit:cover;border-radius:6px;display:block;}
.news-body{min-width:0;}
.news-title{margin:0 0 6px;font-size:1.1rem;line-height:1.35;}
.news-title a{color:#222;text-decoration:none;}
.news-title a:hover{text-decoration:underline;}
.news-date{display:block;color:#777;font-size:.9rem;margin-bottom:6px;}
.news-excerpt{margin:0 0 6px;color:#333;line-height:1.7;}
.news-more{font-size:.9rem;color:#5b7553;text-decoration:none;}
.news-more:hover{text-decoration:underline;}
.news-archive-link{text-align:right;margin-top:8px;}
.news-archive-link a{color:#5b7553;text-decoration:none;}
.news-archive-link a:hover{text-decoration:underline;}

/* スマホ：縦並び */
@media (max-width: 600px){
  .news-item{grid-template-columns:1fr;}
  .news-thumb img{height:180px;}
  .home-news__title{font-size:1.4rem;}
}


/* ===== TOPページキーモンについて===== */

.about-kiiimon {
  background-color: #fdfaf2;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
}

.about-kiiimon h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}

.about-kiiimon h2 span {
  font-weight: 800;
}

.about-kiiimon p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  max-width: 600px;
  margin: 0 auto 40px;
}

.about-kiiimon .btn-more {
  display: inline-block;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  border: 2px solid #b59d7c;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-kiiimon .btn-more:hover {
  background-color: #f5efe3;
}



/* ===== TOPページご質問===== */
  .faq-question {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    padding: 1em;
    text-align: left;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
  }

  .faq-question:hover {
    background-color: #f0f0f0;
  }

  .faq-answer {
    display: none;
    padding: 1em;
    border-left: 3px solid #5b7553;
    background-color: #fff;
    animation: fadeIn 0.3s ease-in-out;
  }

  .faq-item.open .faq-answer {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }


/* ===== TOPページお問い合わせ先 ===== */
.contact-cta { background:#fdfaf2; padding:60px 20px; text-align:center; font-family:system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif; }
.contact-cta__title { font-size:2rem; font-weight:700; color:#222; margin:0 0 10px; }
.contact-cta__lead { font-size:1rem; color:#444; margin:0 0 40px; }

.contact-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:20px;
  max-width:900px;
  margin:0 auto;
}

/* ===== カード共通 ===== */
.contact-link { text-decoration:none; }
.contact-card {
  --card-bg:#5b7553;                /* デフォルト背景色（バリアントで上書き） */
  background:var(--card-bg);
  color:#fff;
  border-radius:12px;
  min-height:220px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,.12); }

.icon { width:64px; height:64px; margin-bottom:12px; color:#fff; }
.icon-img { width:100%; height:100%; object-fit:contain; display:block; }
.icon-svg { width:100%; height:100%; display:block; }

.contact-card__label {
  width:100%; background:#fff; color:#333;
  text-align:center; padding:12px 10px; font-weight:700;
  border-radius:0 0 12px 12px;
  line-height:1.2;
}

/* ===== バリアント（色だけ変更） ===== */
.variant-line  { --card-bg:#00c300; }
.variant-ig    { --card-bg:#a78bfa; }
.variant-phone { --card-bg:#d9c6ae; color:#222; } /* phoneは薄色なのでテキストも見やすく */
.variant-mail  { --card-bg:#4f6b8a; }

/* ===== アクセシビリティ・モーション配慮 ===== */
@media (prefers-reduced-motion: reduce) {
  .contact-card { transition: none; }
}

/* ===== レスポンシブ微調整 ===== */
@media (min-width: 768px) {
  .icon { width:72px; height:72px; }
  .contact-cta__title { font-size:2.2rem; }
}