@charset "UTF-8";
/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author: YamaT (2026/01)
Tags:
Version: 0.6.1
*/


/*** WP 共通設定 ***/
html {
	scroll-behavior: smooth;
}

.nor {
    white-space: nowrap;
} /* 改行禁止 */

.text_indent_1 {
	padding-left: 3rem;
} /* プライバシーポリシー 上部文インデント */
.text_indent_title {
	margin-bottom: 0.2rem;
}
.text_center {
	text-align: center;
}
.text_r {
	text-align: right;
}
.text_l {
	text-align: left;
}

.btn_opcl {
    display: flex;
    gap: 0 1rem;
    justify-content: right;
    margin: 1rem;
}

.entry-meta-item-updated,
.entry-meta-item-author,
.type-project-portfolio .entry-meta-item-date,
.vk_post-postType-project-portfolio .vk_post_date,
.vk_post_title_new {
	display: none;
} /* 投稿ページ上の日付や投稿者名を非表示 */

.entry-meta-data-list {
	display: none;
} /* 投稿ページ下の投稿カテゴリー系divを非表示 */

.font_it {
    font-style: italic;
}
.font_strong {
    font-weight: bold;
}

figure figcaption {
    text-align: center;
    color: #787878;
    font-weight: bold;
} /* 画像キャプション調整 */

/* font size */
.font-size-S {
    font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 0.2rem);
}
.font-size-M {
    font-size: clamp(1.2rem, calc(1rem + 0.625vw), 0.4rem);
}
.font-size-ML {
    font-size: clamp(1.5rem, calc(1.3rem + 0.625vw), 0.6rem);
}
.font-size-L {
    font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 1.0rem);
}
.font-size-LM {
    font-size: clamp(2.6rem, calc(2.7rem + 0.625vw), 1.2rem);
}
.font-size-LX {
    font-size: clamp(2.8rem, calc(2.7rem + 0.625vw), 1.4rem);
}

/* font color */
.fc_white {color: #DDD; }
.fc_light {color: #999; }
.fc_bright {color: #777; }
.fc_dark {color: #555; }
.fc_black {color: #111; }

.fc_orange {color: #FF6600; }
.fc_red {color: #FF0066; }
.fc_brown {color: #993300; }
.fc_purple {color: #9900CC; }
.fc_blue {color: #0000BB; }
.fc_blue_log {color: #8888FF; }
.fc_blue_purple {color: #6633CC; }
.fc_dark_blue {color: #000066; }
.fc_pen_blue {color: #000099; }
.fc_pen_red {color: #CC0000; }


/*** WP 個別設定 ***/
.site-footer-copyright p:nth-child(2) {
    display: none;
} /* WPコピーライト削除 */
.site-footer-copyright {
    padding-bottom: 2rem;
} /* コピーライト文字位置上げ */

.icon_bl {
    width: 1.2rem;
    margin: 0.2rem 1px 0;
} /* ブランク アイコンサイズ */


/*** 追加スタイル ***/
.bgc_atte {
background-color: rgb(230, 230, 230);
} /* 背景色(lgr) */

.bgc_lbl {
    background-color: rgb(245, 255, 255);
} /* 背景色(lbl) */
.bgc_gr {
    background-color: rgb(212, 212, 212);
} /* 背景色(gr table) */
.bgc_g1h {
    background: linear-gradient(to bottom, rgb(180, 255, 230) 0%, rgb(255,255,255) 100%);
} /* 背景色(h) */
.bgc_g2h {
    background: linear-gradient(to bottom, rgb(190, 255, 180) 0%, rgb(255,255,255) 100%);
} /* 背景色(h) */
.bgc_lg {
    background-color: rgb(118, 224, 180);
} /* 背景色(lg) */

.radi_s {
    border-radius: 5px;
} /* 背景色 */

.fc_01 {
    color: rgb(230, 160, 0);
} /*  */
.fc_h {
    color: #0055aa;
}

/* Buttons */
.btn1,
.btn2,
.btn3,
.btn4 {
    width: 80px;
    height: 1.7rem;
    background-color: #cacaca;
    cursor: pointer;
}
.btn1:hover,
.btn2:hover,
.btn3:hover,
.btn4:hover {
    background: #fcffe5;
}
.btn1 {
    background-color: #cacaca;
}
.btn2 {
    background: linear-gradient(rgb(255, 108, 169), rgb(255, 242, 171));
}
.btn3 {
    background: #666;
	color: #fff;
}
.btn4 {
    background: #eee;
	color: #111;
}

.btn_op,
.btn_cl {
    width: 100px;
    height: 2.2rem;
    background-color: #cacaca;
    cursor: pointer;
}
.btn_op {
    background: #666;
	color: #fff;
}
.btn_cl {
    background: #eee;
	color: #111;
}


/*** Lightning 設定 ***/
.page-header {
	min-height: 90px;
	background: linear-gradient(rgb(250, 255, 220), rgb(160, 255, 160));
} /* ページ ヘッダーバー 変更 */
.page-header-title {
	text-shadow: 2px 2px 4px rgb(120, 120, 120);
} /* ページ ヘッダーバー タイトル文字 装飾 */

footer {
	background: linear-gradient(rgb(255, 255, 255) 60%, rgb(170, 255, 170));
} /* 背景色の変更 */

.page_top_btn,
.vk-mobile-nav-menu-btn { 
	border-radius: 7px;
	background-color: rgba(200, 200, 200, 0.8);
}

.page_top_btn {
	width: 50px;
	height: 100px;
	bottom: 50px;
	right: 10px;
} /* トップへ ボタン変更 */

.vk-mobile-nav-menu-btn {
	width: 70px;
	background-color: rgba(240, 255, 205, 0.7);
} /* モバイル メニューボタンのサイズ、透明度を変更 */
.vk-mobile-nav {
	width: 60%;
	background-color: rgba(255, 255, 255, 0.92);
}
.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-left-in,.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in{left:40%} /* モバイル メニューベース幅を変更 */
.vk-menu-acc,
.vk-menu-acc > .menu-item {
	border-radius: 10px;
} /* モバイル メニューベース背景変更 */
.vk-menu-acc > .menu-item {
	background: linear-gradient(rgb(180, 255, 240), rgb(245, 255, 255) 40%);
} /* モバイル メニュー背景変更 */
.vk-menu-acc .menu-item-53 {
	background: linear-gradient(rgb(90, 225, 100), rgb(245, 255, 255) 60%);
} /* モバイル メニュー ストア背景変更 */


.global-nav > .menu {
	background: linear-gradient(rgb(180, 255, 240), rgb(245, 255, 255) 40%);
	border-radius: 16px;
} /* メニュー 背景変更 */
.global-nav > .menu > .menu-item .sub-menu {
	background: linear-gradient(to right, rgb(130, 135, 220) 40%, rgb(245, 255, 255));
} /* サブメニュー 背景変更 */
.global-nav .sub-menu {
	border-radius: 16px;
} /* サブメニュー ベース背景変更 */


.vk_post_imgOuter_singleTermLabel {
	padding: 0.3em;
	background-color: rgba(100, 100, 100, 0.6) !important;
} /* 投稿アイキャッチ右上文字修正 */


/* 前記事・次記事 矢印追加 */
.next-prev .vk_post:first-child .vk_post_body::before {
    content: "⇦";
    color: #000000;
    font-weight: bold;
	font-size: 1.2rem;
	float: left;
	margin-right: 1rem;
}
.next-prev .vk_post:last-child .vk_post_body::before {
    content: "⇨";
    color: #000000;
    font-weight: bold;
	font-size: 1.2rem;
	float: right;
	margin-left: 1rem;
}


/* アーカイブ説明文の装飾 (カテゴリー一覧(ページ)の上部文章) */
.archive-description {
    background-color: #F3F6FC; /* 背景色 */
    padding: 20px 38px; /* 内側の余白 */
    margin-bottom: 30px; /* 下側の余白 */
    border-radius: 6px; /* 角丸 */
}
/* 説明文内の文字色や装飾 */
.archive-description p {
    margin-bottom: 0; /* pタグの余白を調整 */
    line-height: 1.6; /* 行間 */
}

/* フッターナビゲーションの高さ・上下余白の変更 */
.site-footer .footer-nav ul li {
    padding-top: 10px;    /* 上側の余白 */
    padding-bottom: 10px; /* 下側の余白 */
    font-weight: bold;
}


/** エネルギー構成の簡易チェック用 **/
.sp-energy-check {
padding: 56px 0;
background: #f7fbfa;
}

.sp-energy-check__inner {
max-width: 1120px;
margin: 0 auto;
padding: 0 20px;
}

.sp-section-label {
display: inline-block;
margin: 0 0 10px;
padding: 4px 12px;
border-radius: 999px;
background: #e9f7f2;
color: #16805e;
font-size: 0.85rem;
font-weight: 700;
}

.sp-note {
margin-top: 12px;
padding: 12px 14px;
border-left: 4px solid #62b99f;
background: #ffffff;
font-size: 0.92rem;
line-height: 1.7;
}

.sp-check-layout {
display: grid;
grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
gap: 28px;
align-items: start;
margin-top: 28px;
}

.sp-check-form {
display: grid;
gap: 18px;
}

.sp-check-group {
padding: 20px;
border: 1px solid #ddebe7;
border-radius: 16px;
background: #ffffff;
box-shadow: 0 8px 24px rgba(20, 70, 60, 0.06);
}

.sp-check-group h3 {
margin-top: 0;
margin-bottom: 14px;
font-size: 1.05rem;
}

.sp-check-options {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 14px;
}

.sp-check-options label {
display: flex;
gap: 8px;
align-items: flex-start;
padding: 10px 12px;
border: 1px solid #e4eeee;
border-radius: 10px;
background: #fbfefe;
cursor: pointer;
line-height: 1.5;
}

.sp-check-options input {
margin-top: 0.25em;
}

.sp-check-options label:hover {
border-color: #9bd9c4;
background: #f1fbf7;
}

.sp-check-result {
position: sticky;
top: 24px;
}

.sp-check-result__box {
padding: 24px;
border-radius: 20px;
background: #ffffff;
border: 1px solid #d6e9e3;
box-shadow: 0 12px 32px rgba(20, 70, 60, 0.10);
}

.sp-check-result__box h3 {
margin-top: 0;
font-size: 1.25rem;
}

.sp-result-cards {
display: grid;
gap: 14px;
margin-top: 18px;
}

.sp-result-card {
padding: 16px;
border-radius: 14px;
background: #f7fbff;
border: 1px solid #dcebf5;
}

.sp-result-card h4 {
margin: 4px 0 8px;
font-size: 1.05rem;
}

.sp-result-card p {
margin: 0 0 8px;
}

.sp-result-card p:last-child {
margin-bottom: 0;
}

.sp-result-rank {
display: inline-block;
margin: 0;
padding: 3px 10px;
border-radius: 999px;
background: #e8f4ff;
color: #236c9f;
font-size: 0.78rem;
font-weight: 700;
}

.sp-check-cta {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 18px;
}

.sp-button {
display: inline-block;
padding: 12px 18px;
border-radius: 999px;
text-decoration: none;
font-weight: 700;
text-align: center;
}

.sp-button-primary {
background: #16805e;
color: #ffffff;
}

.sp-button-primary:hover {
color: #ffffff;
opacity: 0.9;
}

.sp-button-secondary {
background: #eef6f3;
color: #16805e;
}

@media (max-width: 900px) {
.sp-check-layout {
grid-template-columns: 1fr;
}

.sp-check-result {
position: static;
}
}

@media (max-width: 640px) {
.sp-energy-check {
padding: 40px 0;
}

.sp-check-options {
grid-template-columns: 1fr;
}

.sp-check-group,
.sp-check-result__box {
padding: 18px;
}

.sp-check-cta {
display: grid;
}
}

.sp-energy-check-contact-area {
max-width: 1120px;
margin: 48px auto 0;
padding: 0 20px;
}

.sp-form-placeholder {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 20px;
align-items: center;
padding: 20px 24px;
border: 1px dashed #9bd9c4;
border-radius: 18px;
background: #f7fbfa;
}

.sp-form-placeholder h2 {
margin: 0 0 8px;
font-size: 1.35rem;
}

.sp-form-placeholder p {
margin: 0;
}

.sp-form-placeholder .sp-section-label {
margin-bottom: 8px;
}

.sp-form-placeholder.is-open {
border-style: solid;
background: #eef8f4;
}

.sp-form-placeholder.is-open .sp-form-placeholder__action {
display: none;
}

.sp-energy-check-contact {
margin-top: 24px;
padding: 28px;
border: 1px solid #d6e9e3;
border-radius: 20px;
background: #ffffff;
box-shadow: 0 12px 32px rgba(20, 70, 60, 0.08);
}

@media (max-width: 700px) {
.sp-form-placeholder {
grid-template-columns: 1fr;
}

.sp-form-placeholder__action {
width: 100%;
}

.sp-form-placeholder__action .sp-button {
width: 100%;
}
}


/*** Contact Form 7プラグイン ***/
.wpcf7 input[type="text"], 
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7-select {
    width: fit-content;
	min-width: 50%;
	background-color: rgb(245, 255, 255);
} /* 入力エリアの幅など */
.wpcf7-select {
	min-width: 20%;
} /* 県リストのみ */
span.wpcf7-list-item {
	display: block;
} /* チェックボタンの縦並び */
.form-item-label {
	font-size: 1.2rem;
	margin-bottom: 0.3em;
	font-weight: bold;
} /* ラベル文字サイズ */
.form-item-label-required {
    color: #ffffff;
    background: #da4f4f;
    font-size: 0.8em;
    padding: 0.3em;
    border-radius: 0.5em;
    margin-left: 0.3em;
} /* 必須アイコン */

/* 送信後のモーダルウィンドウ */
dialog {
  padding: 2rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  cursor: pointer;
} /* モーダルウィンドウ */
dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
} /* モーダルの全背面（オーバーレイ）*/
.dialog-container {
    width: 60vw;
    height: 30vh;
} /* div分離による調整 */
.dialog_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} /* Closeに影響しないよう背面にする */
.text_center_span {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, 0);
} /* CF7送信後モーダルウィンドウ OK文字位置 */


/*** アコーディオンUI (スタンダード) //js追加有り ***/
.accordion {
  margin: 0.4rem 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #f6f6f6;
}
.accordion_n {
  margin: 0.4rem 0;
  border-bottom: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
}

.accordion_content {
  position: relative;
  display: none;
  margin: 15px;
  padding: 15px;
  background: #fff;
  border-radius: 3px;
}

/* Title */
.accordion_title {
  position: relative;
  padding: 0.6rem 50px 0.6rem 15px;
  color: #333;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  background: #f6f6f6;
  transition: all 0.3s;
}

.accordion_title.active {
  color: #fff;
  background: #666;
}

.accordion_title::before,
.accordion_title::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 15px;
  width: 15px;
  height: 3px;
  margin: auto 0;
  background-color: #666;
  transition: all 0.3s;
}

.accordion_title.active::before,
.accordion_title.active::after{
  background: #fff;
}

.accordion_title::after {
  transform: rotate(90deg);
}
.accordion_title.active::before {
  transform: rotate(180deg);
}
.accordion_title.active::after {
  transform: rotate(180deg);
  opacity: 0;
}

/* Narrow */
.accordion_narrow {
  position: relative;
  padding: 0.4rem 50px 0.4rem 15px;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s;
}

.accordion_narrow.active {
  color: #fff;
  background: #666;
}

.accordion_narrow::before,
.accordion_narrow::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 15px;
  width: 15px;
  height: 3px;
  margin: auto 0;
  background-color: #666;
  transition: all 0.3s;
}

.accordion_narrow.active::before,
.accordion_narrow.active::after{
  background: #fff;
}

.accordion_narrow::after {
  transform: rotate(90deg);
}
.accordion_narrow.active::before {
  transform: rotate(180deg);
}
.accordion_narrow.active::after {
  transform: rotate(180deg);
  opacity: 0;
}

.btn_opcl {
    display: flex;
    gap: 0 1rem;
    justify-content: right;
    margin: 1rem;
}


/*** YouTube ***/
.yt_wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.yt_wrapper iframe {
  width: 100% !important;
  height: 100% !important;
}


/*** メディアクエリ ***/
@media screen and (max-width: 768px){
	.wp-image-96 { width: 128px; } /* 会社概要 右画像縮小 wp-image-xx */
}
@media screen and (max-width: 599px) and (orientation: portrait) {
	.wp-image-96 { display: none; } /* 会社概要 右画像非表示 wp-image-xx */
}
