/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:         login_user
Template:       lightning
*/


/* =========================
   共通
========================= */

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  color: #263241;
  background: #f3f8fc;
}


/* =========================
   Lightningのh2の横棒を消す
========================= */

h2 {
  border-top: none !important;
  padding-top: 0 !important;
}


/* =========================
   改行
========================= */

.hidden {
  display: none;
}

.hidden.pcBlock {
  display: inline;
}

@media screen and (max-width: 640px) {
  .hidden.pcBlock {
    display: none;
  }

  .hidden.spBlock {
    display: inline;
  }
}


/* =========================
   自治会プラグイン
========================= */

.jichikai-plugin {
  padding: 50px 20px 80px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 32%),
    linear-gradient(180deg, #f5fbff 0%, #eef7ff 100%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}


/* =========================
   ファーストビュー
========================= */

.hero {
  background:
    linear-gradient(135deg, #e6f5ff 0%, #ffffff 52%, #edf8ff 100%);
  border: 1px solid #cfe8fb;
  border-radius: 22px;
  padding: 54px 30px;
  margin-bottom: 35px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.10);
}

.eyecatch {
  font-size: 1rem;
  color: #0f75bc;
  font-weight: bold;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.5;
  margin: 0 0 20px;
  color: #12385f;
}

.lead {
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
  color: #334155;
}

.hero a {
  color: #0879c9;
  text-decoration: none;
}

.hero a:hover {
  color: #005fa3;
  text-decoration: underline;
}


/* =========================
   セクション共通
========================= */

.section-box {
  background: #ffffff;
  border: 1px solid #d8ebfa;
  border-radius: 18px;
  padding: 35px 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.07);
}

.section-box h2,
.contact-box h2 {
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 22px;
  color: #12385f;
  border-left: 6px solid #1e88d1;
  padding-left: 14px;
}

.section-box h3,
.contact-box h3 {
  color: #175f9f;
  margin-top: 0;
}

.section-box p {
  color: #334155;
}


/* =========================
   リスト
========================= */

.check-list,
.recommend-list,
.step-list,
.setting-card ul,
.note-box ul {
  padding-left: 1.4em;
}

.check-list li,
.recommend-list li,
.step-list li,
.setting-card ul li,
.note-box ul li {
  margin-bottom: 10px;
}

.check-list li::marker,
.recommend-list li::marker,
.step-list li::marker,
.setting-card ul li::marker,
.note-box ul li::marker {
  color: #1e88d1;
}


/* =========================
   グリッド
========================= */

.feature-grid,
.setting-grid,
.merit-list {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.setting-grid {
  grid-template-columns: repeat(3, 1fr);
}

.merit-list {
  grid-template-columns: repeat(2, 1fr);
}


/* =========================
   カード
========================= */

.feature-card,
.setting-card,
.merit-item {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid #d3eaf9;
  border-radius: 15px;
  padding: 22px 18px;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.05);
}

.feature-card h3,
.setting-card h3,
.merit-item h3,
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #0f5f9f;
}


/* =========================
   FAQ
========================= */

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #dbeaf5;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: #12385f;
}

.faq-item p {
  margin-bottom: 0;
}


/* =========================
   注意事項
========================= */

.note-box {
  background: #f8fcff;
  border: 1px solid #cfe8fb;
}

.note-box h2 {
  color: #12385f;
  border-left-color: #38a3e8;
}


/* =========================
   お問い合わせ
========================= */

.contact-box {
  background:
    linear-gradient(135deg, #0f75bc 0%, #0b5fa5 55%, #084b86 100%);
  color: #ffffff;
  text-align: center;
  border-radius: 22px;
  padding: 45px 25px;
  box-shadow: 0 12px 30px rgba(15, 117, 188, 0.25);
}

.contact-box h2 {
  color: #ffffff;
  border-left: none;
  padding-left: 0;
}

.contact-box p {
  color: #ffffff;
}

.contact-button {
  display: inline-block;
  margin-top: 20px;
  background: #ffffff;
  color: #0b5fa5;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 999px;
  transition: 0.3s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.contact-button:hover {
  background: #eaf6ff;
  color: #084b86;
  transform: translateY(-2px);
}


/* =========================
   画像付きヒーロー用
========================= */

.profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-hero-text {
  flex: 1 1 500px;
  text-align: left;
}

.profile-hero-text .profile-lead,
.profile-hero-text .profile-eyecatch,
.profile-hero-text h2 {
  text-align: left;
}

.profile-hero-image {
  flex: 0 0 320px;
  text-align: center;
}

.profile-hero-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 117, 188, 0.20);
}


/* =========================
   レスポンシブ
========================= */

@media (max-width: 900px) {
  .feature-grid,
  .setting-grid,
  .merit-list {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-box {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .profile-hero-inner {
    display: block;
  }

  .profile-hero-image {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .jichikai-plugin {
    padding: 30px 15px 60px;
  }

  .hero {
    padding: 35px 20px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-box h2,
  .contact-box h2 {
    font-size: 1.35rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section-box {
    border-radius: 16px;
  }
}