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

@import url("bootstrap.min.css");
@import url("tempus-dominus.min.css");

html {
        scrollbar-gutter: stable;
}

html:has(dialog:modal) {
        overflow: hidden;
}

.nav {
    flex-wrap: nowrap !important;
}

.w-20 {
	width: 20% !important;
}

.w-50px {
	width: 50px !important;
}

.w-60px {
	width: 60px !important;
}

.w-70px {
	width: 70px !important;
}

.w-80px {
	width: 80px !important;
}

.w-90px {
	width: 90px !important;
}

.w-100px {
	width: 100px !important;
}

.w-120px {
	width: 120px !important;
}

.w-200px {
	width: 200px !important;
}

.w-220px {
	width: 220px !important;
}

.w-250px {
	width: 250px !important;
}

.w-300px {
	width: 30px !important;
}

.min-w-100px {
	min-width: 150px !important;
}

.cursor-pointer {
	cursor: pointer;
}

.widget_nav_menu .menu-header-navi-container {
	display: none;
}


/* header */
/*
div.page-header {
	color: #fff;
	background: #337ab7 !important;
}
*/

.page-header{margin-top:0;margin-bottom:0;padding-bottom:0;display:flex;align-items:center;position:relative;z-index:1;min-height:8rem;text-align:center}
.page-header-inner{position:relative;z-index:5;margin:1.5em auto}
.page-header-subtext{margin-top:var(--vk-margin-meta);line-height:1.05;font-size:var(--vk-size-text-sm)}
.page-header-title,h1.page-header-title{font-size:2rem;font-weight:700;line-height:var(--vk-line-height-low);margin:0}

.top--5px {
	top: -5px !important;
}

.end-5px {
	right: 5px !important;
}

aside.widget {
	margin-bottom: 0 !important;
}

aside.widget ul.menu li {
	margin:0;
}

aside.widget ul.menu a:not([href]) {
	color: #747474 !important;
	text-decoration: none;
}

aside.widget ul.menu a:not([href]):hover {
	color: #747474 !important;
	text-decoration: none;
}

aside.widget ul.menu a[href^="https"],
aside.widget ul.menu a[href^="https"]:visited,
aside.widget ul.wp-block-list a[href^="https"],
aside.widget ul.wp-block-list a[href^="https"]:visited {
	color: #0d6efd !important;
	text-decoration: none;
}

aside.widget ul.menu a[href^="https"]:hover,
aside.widget ul.wp-block-list a[href^="https"]:hover {
	color: #0a58ca !important;
	text-decoration: underline;
}

aside.widget ul.menu a[href^="https"]:active,
aside.widget ul.wp-block-list a[href^="https"]:active {
	color: #d73038 !important;
	text-decoration: underline;
}

.footer-sitemap {
	cursor: pointer;
}

#sitemap-comment {
	color: #747474;
}

span.circle-plus,
span.circle-minus {
	position: relative;
	width: 1rem !important;
}

span.circle-plus::before {
	display: inline-flex;
	position: absolute;
	top: 50%;
	left: 8px;
	transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
	width: 1rem;
	height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%230d6efd' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z'/%3E%3C/svg%3E"); 
	background-repeat: no-repeat;
	background-size: 1rem 1rem;
    content: '';
}

span.circle-minus::before {
	display: inline-flex;
	position: absolute;
	top: 50%;
	left: 8px;
	transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
	width: 1rem;
	height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%230d6efd' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z'/%3E%3C/svg%3E"); 
	background-repeat: no-repeat;
	background-size: 1rem 1rem;
    content: '';
}

/* 前の記事/次の記事を非表示 */
/* .next-prev { display: none; } */

/* 最終更新日を非表示 */
/* .entry-meta-item-updated { display: none; } */

.home-topic {
	position: relative;
}

.mynews h3 {
	position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #2589d0;
    color: #333333;
}

.mynews h3::before {
	position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #2589d0;
    content: '';
}

.mynews h3::after {
	position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #2589d0;
    content: '';
}

.mynews ul.postList {
	padding: 0 1rem !important;
}

.mynews ul.postList li {
	margin: 0 !important;
	padding: 0.5rem 0 !important;
	border-bottom: solid 1px #cdcdcd
}

#mytopic-image-1.hovered,
#mytopic-image-2.hovered,
#mytopic-image-3.hovered,
#mytopic-image-4.hovered{
	background: #000 !important;
}

#mytopic-image-1>a>img.hovered,
#mytopic-image-2>a>img.hovered,
#mytopic-image-3>a>img.hovered,
#mytopic-image-4>a>img.hovered {
	opacity: 0.7 !important;
	transition: 0.3s !important;
}

#mytopic-button-1>a.hovered,
#mytopic-button-2>a.hovered,
#mytopic-button-3>a.hovered,
#mytopic-button-4>a.hovered {
	border-color: #e5eef5 !important;
	color: #e5eef5 !important;
	background: #5b94c5 !important;
}

.site-footer-title {
position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #2589d0 !important;
    color: #333333;
}

.site-footer-title::before,
.site-footer-title::after {
	position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.site-footer-title::before {
	background-color: #2589d0;
}

.site-footer-title::after {
	bottom: -11px;
    background-color: #fff;
}
/*
.bg-success-subtle {
	background-color: #d1e7dd !important;
}

#btn-start-donation[disabled]:active {
	background: #28a745;
}

#btn-start-donation[disabled]:hover {
	background: #28a745;
}

#btn-start-donation[disabled] {
    cursor: not-allowed;
	background: #28a745;
}
*/

#apply_donation h3.block-heading {
    position: relative;
    padding: .3em 0 .2em 1em;
	border: none;
    border-bottom: 3px solid #2589d0;
    color: #333333;
	font-size: 1.25rem;
	margin: 0;
}

#apply_donation h3.block-heading::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #2589d0;
    content: '';
}

#apply_donation h3.block-heading::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #2589d0;
    content: '';
}

#apply_donation h2.block-heading {
	position: relative;
    padding: .5em 1.2em;
    color: #333333;
	border: none;
	font-size: 1.25rem;
	margin: 0;
}

#apply_donation h2.block-heading::before,
#apply_donation h2.block-heading::after {
	display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #2589d0;
    content: '';
}

#apply_donation h2.block-heading::before {
	top: calc(50% - 3px);
    left: 0;
}

#apply_donation h2.block-heading::after {
    top: calc(50% + 3px);
    left: 5px;
}

#apply_donation a,
#apply_donation a:visited {
	color: #0d6efd;
	text-decoration: none;
}

#apply_donation a:hover {
	color: #0a58ca !important;
	text-decoration: underline;
}

#apply_donation a:active {
	color: #d73038 !important;
	text-decoration: underline;
}

.required-parent {
	position: relative;
	padding-right: 60px !important;
}

.required::after {
	content: "必須";
	background-color: #d73038;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	min-width: 10px;
	padding: 3px 7px;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
	text-align: center;
	border-radius: 8px;
	display: inline-block;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
}

#apply_donation p.company-message {
	display: flex;
    align-items: center;
    column-gap: 8px;
    color: #333333;
	padding: 0;
	margin: 0;
}

#apply_donation p.company-message::before {
	width: 0.8em;
    height: 0.4em;
    border-bottom: 4px solid #2589d0;
    border-left: 4px solid #2589d0;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
}


#apply_donation .stepnav ol {
/*	margin-bottom: 40px; */
	display: table;
	table-layout: fixed;
	width: 100%;
	box-sizing: border-box;
	height: 48px;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
	padding: 0;
}
 
#apply_donation .stepnav ol li {
	position: relative;
	display: table-cell;
	box-sizing: border-box;
	padding-left: 25px;
	text-align: center;
	vertical-align: middle;
	color: #2196f3;
	font-size: 14px;
	background-color: #f9f9f9;
	font-weight: bold;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
 
#apply_donation .stepnav ol li:first-child {
	padding-left: 0;
}
 
@media screen and (max-width: 960px) {
	#apply_donation .stepnav ol li {
		font-size: 12px;
	}
}
 
#apply_donation .stepnav ol li.current {
	background-color: #2196f3;
	color: #FFF;
}
 
@media screen and (max-width: 960px) {
	#apply_donation .stepnav ol li span {
		display: none;
	}
}
 
#apply_donation .stepnav ol li:before {
	content: "";
	position: absolute;
	top: -1px;
	right: -25px;
	bottom: 0;
	width: 0;
	height: 0;
	border-top: 24px solid transparent;
	border-bottom: 24px solid transparent;
	border-left: 24px solid #cccccc;
	z-index: 99;
}
 
#apply_donation .stepnav ol li:nth-child(5):before {
	display: none;
}
 
#apply_donation .stepnav ol li:after {
	content: "";
	position: absolute;
	top: -1px;
	right: -24px;
	bottom: 0;
	width: 0;
	height: 0;
	border-top: 24px solid transparent;
	border-bottom: 24px solid transparent;
	border-left: 24px solid #f9f9f9;
	z-index: 99;
}
 
#apply_donation .stepnav ol li:last-child:after {
	display: none;
}
 
#apply_donation .stepnav ol li.current {
	border-top: solid 1px #2196f3;
	border-bottom: solid 1px #2196f3;
}
 
#apply_donation .stepnav ol li.current:after {
	border-left: 24px solid #2196f3;
}

/* フォームのステップナビ */
:root {
    --circle-size: clamp(1.5rem, 5vw, 3rem);
    --spacing: clamp(0.25rem, 2vw, 0.5rem);
}

.stepnavi {
    display: flex;
	list-style: none;
    counter-reset: list_num_counter;
}

.stepnavi_item {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
	counter-increment: list_num_counter;
}

.stepnavi_item::before {
    --size: 3rem;
    content: counter(list_num_counter);
    display: flex;
	justify-content: center;
    align-items: center;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    background-color: #bbb;
	color: #fff;
    margin: 0 auto;
}

.stepnavi_item_current::before {
    background-color: #198754 !important;
    opacity: 1 !important;
	font-weight: bold !important;
}

.stepnavi_item_passed::before {
    background-color: #68b08f !important;
}

.stepnavi_item:not(:last-child):after {
    content: "";
    position: relative;
    top: calc(var(--circle-size) / 2);
    width: calc(100% - var(--circle-size) - calc(var(--spacing) * 2));
    left: calc(50% + calc(var(--circle-size) / 2 + var(--spacing)));
    height: 2px;
    background-color: #bbb;
    order: -1;
}

.stepnavi_item:not(:last-child):after {
    content: "";
    position: relative;
    top: calc(var(--circle-size) / 2);
    width: calc(100% - var(--circle-size) - calc(var(--spacing) * 2));
    left: calc(50% + calc(var(--circle-size) / 2 + var(--spacing)));
    height: 2px;
    background-color: #bbb;
    order: -1;
}

.stepnavi_item_passed:not(:last-child):after {
    background-color: #68b08f !important;
}

.stepnavi_desc {
    color: grey;
    font-size: clamp(0.85rem, 2vw, 1rem);
    padding-left: var(--spacing);
    padding-right: var(--spacing);
}

@media screen and (max-width: 920px) {
    .stepnavi_desc {
	    display: none !important;
	}
}

.form_area {
	display: block;
	width: 400%;
	/* width: 500%; */
}

.procedure-cd-heading {
	border: solid 1px #000;
	border-radius: 10px 0 0 10px;
	padding: .5rem 2rem;
}

.procedure-cd-value {
	border: solid 1px #000;
	border-left: none;
	border-radius: 0 10px 10px 0;
	padding: .5rem 2rem;
}

@media screen and (max-width: 576px) {
	.procedure-cd-heading {
		border: solid 1px #000;
		border-bottom: none;
		border-radius: 8px 8px 0px 0px;
	}

	.procedure-cd-value {
		border: solid 1px #000;
		border-top: none;
		border-radius: 0 0 8px 8px;
	}
}


.warning-box {
	width: 80%;
	min-width: 80%;
    margin: 0 auto 1rem;
    border: 2px solid #dc3545;
    border-radius: 3px;
    overflow: hidden;
}

.warning-box span {
    padding: .4em .8em;
    background-color: #dc3545;
    color: #fff;
}

.warning-box div {
    margin: 0;
    padding: 1em 1.5em;
    color: #333;
}

.warning-box ul {
	margin: 0;
}

@media screen and (max-width: 576px) {
	.warning-box {
		width: 90%;
		min-width: 90%;
	}
}

.text-readonly:read-only {
	background-color: #c0c0c0;
}

html {
	scroll-behavior: unset !important;
}

.loader {
	display: block;
	width: 100px;
	height: 100px;
	background: transparent;
	border-radius: 50%;
	border: 8px solid #fff100;
	border-right-color: transparent;
	animation: rotate 1s infinite linear;
	margin: 0 auto;
}

@keyframes rotate {
	0%    { transform: rotate(0deg); }
	100%  { transform: rotate(360deg); }
}

.donation-notice .heading {
	position: relative;
    margin: 0 0 25px 9px;
    padding: .5em .8em;
    background-color: #2589d0;
    color: #fff;
}

.donation-notice .heading::before {
    position: absolute;
    top: 0;
    left: -9px;
    z-index: 1;
    width: 5px;
    height: 135%;
    border-radius: 3px;
    background-color: #600;
    content: '';
}

.donation-notice .heading span::before,
.donation-notice .heading span::after {
    position: absolute;
    left: -9px;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background-color: #c99;
    content: '';
}

.donation-notice .heading span::before {
    top: 44%;
    transform: rotate(-25deg);
}

.donation-notice .heading span::after {
    top: 54%;
    transform: rotate(25deg);
}

.square-heading,
.donation-complate .heading {
    position: relative;
    padding: .3em 0 .2em 1em;
	border: none;
    border-bottom: 3px solid #2589d0;
    color: #333333;
}

.donation-complate h1.heading {
	font-size: 1.5rem;
}

h2.square-heading {
	font-size: 1.8rem;
}

.square-heading::before,
.donation-complate .heading::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #2589d0;
    content: '';
}

.square-heading::after,
.donation-complate .heading::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #2589d0;
    content: '';
}

.loading-text .loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-text .loading span {
    display: inline-block;
    color: #2589d0;
    font-weight: 600;
    font-size: 1.5em;
    animation: animation-loading 1s infinite;
}

.loading-text .loading span:nth-of-type(2) {
    animation-delay: .1s;
}

.loading-text .loading span:nth-of-type(3) {
    animation-delay: .2s;
}

.loading-text .loading span:nth-of-type(4) {
    animation-delay: .3s;
}

.loading-text .loading span:nth-of-type(5) {
    animation-delay: .4s;
}

.loading-text .loading span:nth-of-type(6) {
    animation-delay: .5s;
}

.loading-text .loading span:nth-of-type(7) {
    animation-delay: .6s;
}

.loading-text .loading span:nth-of-type(8) {
    animation-delay: .7s;
}

.loading-text .loading span:nth-of-type(9) {
    animation-delay: .8s;
}

.loading-text .loading span:nth-of-type(10) {
    animation-delay: .9s;
}

@keyframes animation-loading {
    50% {
        transform: translateY(10px);
    }
}

.modal-bgcolor-white .modal-backdrop {
	--bs-backdrop-bg: #fff;
	--bs-backdrop-opacity:1;
}

.no-heading {
	position: relative;
	padding: 0.5em 1em 0.5em 4em;
	border-bottom: #2589d0 double 5px;
	font-size: 1.6rem;
}

.no-heading::before {
	content: attr(data-number);
	position: absolute;
	font-size: 250%;
	font-style: italic;
	line-height: 1;
	left: 0;
	bottom: 0;
	color: #2589d0;
	border: none;
}

.no-heading::after {
	border: none !important;
}

body.page-id-106 dl,
body.page-id-110 dl {
	margin: 0 1rem;
	line-height: 1.5;
}

body.page-id-106 dt,
body.page-id-110 dt {
	position: relative;
	padding: 0 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 .5rem;
}

body.page-id-106 dt:before,
body.page-id-110 dt:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
    transform: translateY(-50%);
	width: .6rem;
	height: .6rem;
	background-color: #000;
	border-radius: 50%;
	margin: 0;
}

body.page-id-106 dd,
body.page-id-110 dd {
	margin: 0 0 1rem;
	padding: 0 0 0 2rem;
	line-height: 1.5;
}

body.page-id-114 h2 {
	position: relative;
	padding: .5rem 1.5rem;
    color: #333333;
	border: none;
	font-size: 1.2rem;
	margin: 0;
	margin-bottom: .75rem;
}

body.page-id-114 h2::before,
body.page-id-114 h2::after {
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #2589d0;
    content: '';
}

body.page-id-114 h2::before {
    top: calc(50% - 3px);
    left: 0;
}

body.page-id-114 h2::after {
    top: calc(50% + 3px);
    left: 5px;
}

body.page-id-114 dl {
	margin: 0 1rem;
	line-height: 1;
	padding: 0;
}

body.page-id-114 dt {
	margin: 0;
	padding: 0;
	font-size: 1.1rem;
}

body.page-id-114 dd {
	margin: 0 1rem;
	padding: 0;
	line-height: 2;
}

body.page-id-114 ul {
	line-height: 1.5;
	
}

.display-pid {
	display: none !important;
}
