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

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/






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

.oyaji-info-box {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 28px 32px 24px;
    background: #eef4fb;
    border-radius: 22px;
    overflow: hidden;
}

.oyaji-info-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: #2f73b8;
    border-radius: 22px 0 0 22px;
}

.oyaji-info-box h2 {
    margin: 0 0 12px;
    padding: 0;
    border: none;
    background: none;
    color: #2f73b8;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.oyaji-info-box p {
    margin: 0;
    color: #3d5670;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .oyaji-info-box {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .oyaji-info-box::before {
        width: 6px;
        border-radius: 18px 0 0 18px;
    }

    .oyaji-info-box h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .oyaji-info-box p {
        font-size: 15px;
        line-height: 1.7;
    }
}


.oyaji-info-box h2::before,
.oyaji-info-box h2::after {
    display: none !important;
    content: none !important;
}



/* =========================================
   hino4 HOME リニューアル用
   対応HTML:
   .hino-home-page ...
========================================= */

.hino-home-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 56px;
  box-sizing: border-box;
}

/* =========================
   Hero
========================= */
.hino-home-hero {
  margin: 0 0 32px;
}

.hino-home-hero-inner {
  background: linear-gradient(135deg, #f7fbff 0%, #eef7f3 100%);
  border: 1px solid #dce8e0;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.hino-home-hero-sub {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #4f6b5c;
  letter-spacing: 0.04em;
}

.hino-home-hero-title {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f3528;
}

.hino-home-hero-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #334;
}

.hino-home-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* =========================
   Section
========================= */
.hino-home-section {
  margin: 0 0 28px;
  background: #fff;
  border: 1px solid #e7ece8;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hino-home-section-head {
  margin-bottom: 20px;
}

.hino-home-section-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
}

/* =========================
   Card Grid
========================= */
.hino-home-card-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.hino-home-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hino-home-card {
  background: #fbfcfb;
  border: 1px solid #e4ebe6;
  border-radius: 16px;
  padding: 22px 18px;
  box-sizing: border-box;
  height: 100%;
}

.hino-home-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.5;
  color: #23402d;
}

.hino-home-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
}

/* =========================
   Button
========================= */
.hino-home-button,
.hino-home-archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hino-home-button {
  background: #fff;
  color: #245238;
  border: 1px solid #b7ccb9;
}

.hino-home-button:hover {
  background: #f4faf6;
  color: #1f4731;
  border-color: #95b49a;
  transform: translateY(-1px);
}

.hino-home-button.primary {
  background: #3f7c5a;
  color: #fff;
  border-color: #3f7c5a;
}

.hino-home-button.primary:hover {
  background: #35694c;
  color: #fff;
  border-color: #35694c;
}

.hino-home-button-row,
.hino-home-archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hino-home-archive-link {
  background: #f5f8f6;
  color: #29533b;
  border: 1px solid #d9e5dd;
}

.hino-home-archive-link:hover {
  background: #edf5f0;
  color: #1f4731;
  border-color: #bfcfc3;
  transform: translateY(-1px);
}

/* ボタン色を少しだけ変える */
.hino-home-archive-link.notice {
  background: #eef7ff;
  border-color: #d3e6f7;
  color: #1f567c;
}

.hino-home-archive-link.notice:hover {
  background: #e3f1fb;
}

.hino-home-archive-link.activity {
  background: #f4f9ee;
  border-color: #dce8cd;
  color: #46622b;
}

.hino-home-archive-link.activity:hover {
  background: #edf5e3;
}

.hino-home-archive-link.blog {
  background: #fff7ee;
  border-color: #f0dfc9;
  color: #8a5a1f;
}

.hino-home-archive-link.blog:hover {
  background: #fdf1e3;
}

.hino-home-archive-link.guide {
  background: #f6f2ff;
  border-color: #dfd5f5;
  color: #5d4893;
}

.hino-home-archive-link.guide:hover {
  background: #efeaff;
}

/* =========================
   Schedule / Blog intro
========================= */
.hino-home-schedule-box,
.hino-home-blog-intro {
  background: #fafcfb;
  border: 1px solid #e4ebe6;
  border-radius: 14px;
  padding: 18px;
}

.hino-home-schedule-box p,
.hino-home-blog-intro p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
}

.hino-home-schedule-box p:last-child,
.hino-home-blog-intro p:last-child {
  margin-bottom: 0;
}

/* =========================
   ショートコードで出るお知らせ一覧の余白調整
========================= */
.hino-home-section-notice .jdb-home-list,
.hino-home-section-notice .jdb-notice-list,
.hino-home-section-notice .jdb-board-list {
  margin-top: 16px;
}

.hino-home-section-notice ul,
.hino-home-section-notice ol {
  margin: 0;
  padding-left: 1.2em;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .hino-home-card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hino-home-hero-title {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .hino-home-page {
    padding: 16px 12px 40px;
  }

  .hino-home-hero-inner {
    padding: 28px 18px;
    border-radius: 14px;
  }

  .hino-home-hero-sub {
    font-size: 13px;
  }

  .hino-home-hero-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .hino-home-hero-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .hino-home-section {
    padding: 22px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
  }

  .hino-home-section-head p {
    font-size: 14px;
    line-height: 1.8;
  }

  .hino-home-card-grid-3 {
    grid-template-columns: 1fr;
  }

  .hino-home-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .hino-home-card h3 {
    font-size: 18px;
  }

  .hino-home-card p {
    font-size: 14px;
    line-height: 1.8;
  }

  .hino-home-hero-buttons,
  .hino-home-button-row,
  .hino-home-archive-links {
    flex-direction: column;
  }

  .hino-home-button,
  .hino-home-archive-link {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
  }

  .hino-home-schedule-box,
  .hino-home-blog-intro {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .hino-home-hero-text br,
  .hino-home-section-head p br,
  .hino-home-card p br {
    display: none;
  }
}


/* ========================================
   親児の会ページ
======================================== */
.oyaji-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    color: #2f3a40;
    line-height: 1.9;
}

.oyaji-page * {
    box-sizing: border-box;
}

.oyaji-page p {
    margin: 0 0 1.2em;
    font-size: 16px;
}

.oyaji-page .font-bold {
    font-weight: 700;
}

.oyaji-page .color-f00 {
    color: #d93025;
}

.oyaji-page .font-80 {
    font-size: 0.85em;
}


/* リスト */
.oyaji-page ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 28px;
    display: grid;
    gap: 12px;
}

.oyaji-page ul li {
    position: relative;
    padding: 15px 18px 15px 48px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(24, 58, 86, 0.08);
    font-size: 16px;
}

.oyaji-page ul li::before {
    content: "\2713";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #26a69a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

/* 写真カード */
.oyaji-page .oyaji-photo {
    max-width: 760px;
    margin: 26px auto;
    padding: 14px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

.oyaji-page .oyaji-photo-small {
    max-width: 420px;
}

.oyaji-page .oyaji-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.oyaji-page .oyaji-caption {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #586874;
    text-align: center;
}

/* メリットカード */
.oyaji-page .oyaji-merit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 34px;
}

.oyaji-page [class^="standard02_"],
.oyaji-page [class*=" standard02_"] {
    padding: 18px 18px 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid #dbe8f1;
    border-left: 6px solid #26a69a;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(24, 58, 86, 0.08);
    font-size: 15px;
    line-height: 1.8;
    color: #2f3a40;
}

/* テーブル */
.oyaji-page table {
    width: 100%;
    max-width: 760px;
    margin: 20px auto 34px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

.oyaji-page table th,
.oyaji-page table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8eef3;
    font-size: 15px;
}

.oyaji-page table tr:last-child th,
.oyaji-page table tr:last-child td {
    border-bottom: none;
}

.oyaji-page table tr:first-child th {
    background: #17324d;
    color: #fff;
    font-weight: 700;
}

.oyaji-page table th[scope="row"] {
    background: #f5f9fc;
    color: #17324d;
    font-weight: 700;
    width: 45%;
}

.oyaji-page .center {
    text-align: center;
}

/* 基本情報ショートコード枠 */
.oyaji-page .oyaji-info-card {
    max-width: 900px;
    margin: 34px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

/* 念のためショートコード内の余白を少し整える */
.oyaji-page .oyaji-info-card table,
.oyaji-page .oyaji-info-card ul,
.oyaji-page .oyaji-info-card p {
    margin-top: 0;
}

/* 2枚横並び */
.oyaji-page .oyaji-photo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin: 28px 0;
}

.oyaji-page .oyaji-photo-row .oyaji-photo,
.oyaji-page .oyaji-photo-row .oyaji-photo-small {
    max-width: none;
    margin: 0;
}

/* スマホ */
@media (max-width: 767px) {
    .oyaji-page {
        padding: 18px 14px 48px;
    }

    .oyaji-page ul li {
        padding: 14px 14px 14px 42px;
        font-size: 15px;
    }

    .oyaji-page ul li::before {
        left: 12px;
        top: 13px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }

    .oyaji-page .oyaji-merit-grid {
        grid-template-columns: 1fr;
    }

    .oyaji-page [class^="standard02_"],
    .oyaji-page [class*=" standard02_"] {
        padding: 16px;
        font-size: 14px;
    }

    .oyaji-page table th,
    .oyaji-page table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .oyaji-page .oyaji-photo,
    .oyaji-page .oyaji-info-card {
        padding: 12px;
        border-radius: 18px;
    }

    .oyaji-page .oyaji-photo-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

}

/* ========================================
   親児の会 入会案内ページ
======================================== */
.oyaji-entry-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    color: #2f3a40;
    line-height: 1.9;
}

.oyaji-entry-page * {
    box-sizing: border-box;
}

.oyaji-entry-page p {
    margin: 0 0 1.2em;
    font-size: 16px;
}

.oyaji-entry-page .bold,
.oyaji-entry-page .font-bold {
    font-weight: 700;
}

.oyaji-entry-page .font-color-f00,
.oyaji-entry-page .color-f00 {
    color: #d93025;
}

.oyaji-entry-page .font-120 {
    font-size: 1.2em;
}

/* 導入文 */
.oyaji-entry-lead {
    margin-bottom: 30px;
    padding: 22px 22px 10px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(24, 58, 86, 0.08);
}

/* 自由な会の説明 */
.oyaji-entry-freebox {
    margin: 0 0 28px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbfe 0%, #eef8f6 100%);
    border: 1px solid #dcecf1;
    box-shadow: 0 10px 24px rgba(24, 58, 86, 0.06);
}

.oyaji-entry-freebox p:first-child {
    margin-bottom: 12px;
    font-size: 18px;
    color: #17324d;
}

/* キャッチコピー */
.oyaji-entry-catch {
    margin: 0 0 30px;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(24, 58, 86, 0.08);
}

.oyaji-entry-catch-sub {
    margin-bottom: 10px;
    color: #6a7b88;
    font-size: 15px;
}

.oyaji-entry-catch-main {
    margin: 0;
       margin: 0;
    line-height: 1.6;
    font-size: clamp(24px, 4vw, 36px);
    color: #17324d;
}

/* 不安な人向けメッセージ */
.oyaji-entry-message {
    margin-bottom: 28px;
    padding: 20px 22px;
    background: #fffdf6;
    border: 1px solid #f3e5b8;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(90, 70, 20, 0.06);
}

/* 写真 */
.oyaji-entry-page .oyaji-photo-single {
    max-width: 760px;
    margin: 0 auto 34px;
}

.oyaji-entry-page .oyaji-photo {
    padding: 14px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

.oyaji-entry-page .oyaji-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.oyaji-entry-page .oyaji-caption {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #5f707d;
    font-size: 14px;
    line-height: 1.7;
}

/* 基本情報ショートコード */
.oyaji-entry-info-card {
    margin: 0 auto 42px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

/* 申込みエリア */
.oyaji-entry-apply {
    padding: 24px 24px 30px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(24, 58, 86, 0.10);
}

.oyaji-entry-button-wrap {
    margin-top: 24px;
    text-align: center;
}

.oyaji-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    padding: 15px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #26a69a 0%, #1e88e5 100%);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(30, 136, 229, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.oyaji-entry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(30, 136, 229, 0.24);
    opacity: 0.96;
    color: #fff;
}

.oyaji-entry-button i {
    font-size: 14px;
}

/* スマホ */
@media (max-width: 767px) {
    .oyaji-entry-page {
        padding: 18px 14px 48px;
    }

    .oyaji-entry-lead,
    .oyaji-entry-freebox,
    .oyaji-entry-catch,
    .oyaji-entry-message,
    .oyaji-entry-info-card,
    .oyaji-entry-apply,
    .oyaji-entry-page .oyaji-photo {
        padding: 16px;
        border-radius: 18px;
    }

    .oyaji-entry-freebox p:first-child {
        font-size: 17px;
    }

    .oyaji-entry-catch-main {
        font-size: 26px;
    }

    .oyaji-entry-button {
        width: 100%;
        min-width: 0;
        padding: 14px 18px;
    }
}










/* ========================================
  フォーム
======================================== */


/* -----------------------------
	チェック幅
----------------------------- */

.wpcf7-list-item-label{
	margin:0 20px 0 0;
	line-height:2em;
}

span.wpcf7-list-item {
	display: block!important;
}

/* -----------------------------
　　　フォーム
----------------------------- */

input[type="text"], 
input[type="password"],
input[type="email"],
input[type="url"],
input[type="phone"],
input[type="tel"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="color"],
input[type="time"],
input[type="search"],
input[type="datetime-local"] {
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

input[type="number"]{
	text-align:center;
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	width:50px;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}


.wpcf7-calculated{
	text-align:right;
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	width:100px;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

.wpcf7-calculator{
	text-align:right;
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	width:100px;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

.cf7-calculation{
	text-align:right;
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	width:100px;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

/*合計ボタン*/
.cf7-calculate_button{
	width:100px;
	height:30px;
	font-size:18px;
}

.wpcf7-textarea{
    border:1px solid #ccc !important;
	width:100%;
	font-size: 0.95em;
	box-shadow: none;
	padding: 0.3em 0.35em;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

.wpcf7-select{
	padding:3px;
	border: 1px solid #ddd;
	font-size:0.9em !important;
	background: #ffc;
}


/* -----------------------------
　　　textbox
----------------------------- */

/*送信ボタン*/
#main .wpcf7-form input[type=submit]{ 
	padding:20px 0 40px !important;
	width:180px;
	height:60px !important;
	color:#fff;
	text-align:center;
	background:#f90 !important;
	cursor: pointer;
    border:0;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.form-width{ 
    max-width: 90%;
}
