/*
Theme Name: Lightning Child 
Theme URI: ★ テーマの公式サイトなどのURL（空欄でも可） ★
Template: lightning
Description: ★ テーマの説明（空欄でも可） ★
Author: ★ テーマ作成者の名前（空欄でも可） ★
Tags: 
Version: 0.5.1
*/
/*  ｈ１の記述　 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/*===== footer部のWordPress情報を消す記述  =====*/
/*.breadcrumb,*/

.header_scrolled.admin-bar .site-header {
	animation: header_drop_admin .5s ease-out 0s 1 alternate none running;
	background-color: #3C5FAD!important;
}

.site-footer-copyright p:nth-of-type(2){
	display:none;
}

.site-header {
    background-color: #3C5FAD;
}

.global-nav-name {
    color: #fff;
}

.global-nav-list>li:before {
    display:none;
}

.bottom90{
	margin-bottom:90px;
}

.bottom50{
	margin-bottom:50px;
}

.bg {
  	position: relative;
  	z-index: 1; /* テキストなどが前面に来るように */
	padding: 20px 0 30px;
}

.bg::before {
  	content: "";
  	position: absolute;
  	top: 0;
  	left: 50%;
  	width: 100vw;
  	height: 100%;
  	background: #dcdddd; /* お好みの背景色や画像に変更可 */
  	transform: translateX(-50%);
  	z-index: -1; /* 背景が下に来るように */
	padding: 20px 0 30px;
}

h2{
	text-align: center;
	border: none;
    color: #3C5FAD;
	padding: 0em 0 0.5rem;
}

.column-flex {
	display: flex;
	align-items: flex-start;
	gap: 4rem;
}

.btm-bottom{
	align-items: normal;
}

.flex-img{
	flex-shrink: 0;
	object-fit: contain;
	width:48%;
}

.flex-box{
	display: flex;
    flex-direction: column;
	justify-content: space-between;
}

.btm {
    text-align: right;
    background-color: #3C5FAD;
    color: #fff;
    align-self: end;
    padding: 15px 40px;
	font-weight: bold;
}

.flex-text span{
	color:#3C5FAD;
	font-weight: bold;
	font-size: 1.2rem;
}

.my-posts-list{
	padding-left:0;
	margin: 0 0 50px;
}

.my-posts-list li,
.my-posts-list li a{
	color: #333333;
}

.my-posts-list li{
	list-style:none;
	border-bottom: 2px solid #707070;
    padding: 15px 0;
}

.my-posts-list li a{
	text-decoration: none;
}

.my-posts-list li:first-child {
  border-top: 2px solid #707070;
}

.btm-center-box {
  text-align: center;
}

.btm-center{
	text-align: center;
    background-color: #3C5FAD;
    color: #fff;
    padding: 15px 40px;
	display: inline-block;
	font-weight: bold;
}

.site-body {
	padding: 0;
}

.custom-footer{
	background-color: #3C5FAD;
}

.custom-footer .footer-inner{
	text-align: center;
	padding: 50px 0;
}

.footer-inner p{
	color:#fff;
	font-weight: bold;
	margin-bottom: 10px;
}

.footer-inner a {
    font-weight: bold;
    padding: 10px 40px;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    margin-bottom: 30px;
    border: 2px solid #fff;
}

.wpcf7-form-control-wrap{
    width: 78%;
}

/*
.cf7-row{
	display: flex;
    justify-content: space-between;
}　*/

.cf7-row {
  	display: flex;
  	align-items: center;
  	margin-bottom: 1.2em;
	padding: 0 20px 20px;
    border-bottom: 2px solid #c9caca;
	justify-content: space-between;
}

.cf7-text{
	display:flex;
}

.cf7-label {
  	width: 150px; /* ラベルの幅はお好みで調整 */
  	font-weight: bold;
}

.cf7-required {
  	color: #FFf;
    margin-right: 0.5em;
    margin-left: 0.5em;
    white-space: nowrap;
    background-color: #E84827;
    padding: 3px 10px;
}

.cf7-row-no{
	justify-content: space-between;
}

.cf7-input {
  	flex: 1;
  	min-width: 0;
}


input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
    font-size: 1rem;
    border: 3px solid #c9caca;
    border-radius: 0;
    padding: .8em 1em;
    margin: 0;
    width: 100%;
    color: var(--vk-color-text-body);
    background-color: #fff;
}

input[type=submit] {
    font-size: 1rem;
    border: 1px solid #3C5FAD;
    background-color: #3C5FAD;
    color: #fff;
    padding: .5em 2em;
    border-radius: var(--vk-size-radius);
}

.btn-primary {
    background-color: #3C5FAD;
    border-color: #3C5FAD;
}

.naiyou{
	align-items: flex-start;
}

.wpcf7 .wpcf7-submit {
  	display: block;
  	margin: 50px auto 0;
	padding: 10px 70px;
	border-radius: 0;
}
.page-header {
	color: #fff;
	background-color: #fff;
	min-height: 0;
}

.main-visual{
	height:100%;
}

.page-header-inner {
	position: relative;
	z-index: 5;
	margin: 1.5em auto;
	display: none;
}

.vk-mobile-nav .widget_nav_menu ul li a, .vk-mobile-nav nav ul li a {
    color: #fff;
    border-bottom: 1px solid #ccc;
}

.admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in,
.admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-left-in,
.admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in {
	top: 32px;
	background-color: #3C5FAD;
}

.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in,
.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-left-in,
.vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in {
    background-color: #3C5FAD;
}

@media screen and (max-width: 1200px){
	.wpcf7-form-control-wrap {
		width: 657px;
	}
}

@media screen and (max-width: 990px){
    .column-flex {
        gap: 2.5rem;
    }
	
	.wpcf7-form-control-wrap {
		width: 427px;
	}
}

@media screen and (max-width: 782px) {
    .admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-drop-in,
	.admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-left-in,
	.admin-bar .vk-mobile-nav.vk-mobile-nav-open.vk-mobile-nav-right-in {
        background-color: #3C5FAD;
    }
}

@media screen and (max-width: 766px){
    .column-flex {
        display: flex;
        align-items: flex-start;
        gap: 2.5rem;
        flex-direction: column;
    }

    .flex-img {
        flex-shrink: 0;
        object-fit: contain;
        width: 100%;
    }

    .column-flex-reverse{
        flex-direction: column-reverse;
    }
	
	.wpcf7-form-control-wrap {
		position: relative;
	}
	
	.wpcf7-form-control-wrap {
        width: 237px;
    }
	.page-header {
		color: #fff;
		background-color: #fff;
		min-height: 0;
	}
	
	.main-visual{
		height:100%;
	}
	
	.page-header-inner {
		position: relative;
		z-index: 5;
		margin: 1.5em auto;
		display: none;
	}
}

@media screen and (max-width: 574px){
	.btm {
		margin-top: 30px;
	}
	
	.flex-text:last-of-type {
	 	margin-bottom: 0;
	}
	
	.cf7-row {
		display: flex;
		margin-bottom: 1.2em;
		padding: 0 20px 20px;
		border-bottom: 2px solid #c9caca;
		flex-direction: column;
		align-items: flex-start;
	}
	
	.wpcf7-form-control-wrap {
        width: 100%;
    }
	
	.cf7-row-sp,
	.cf7-text {
		margin-bottom: 10px;
		width: 100%;
	}
	
	.page-header {
		color: #fff;
		background-color: #fff;
		min-height: 0;
	}
	
	.main-visual{
		height:100%;
	}
	
	.page-header-inner {
		position: relative;
		z-index: 5;
		margin: 1.5em auto;
		display: none;
	}
	.cf7-label {
		font-size: 17px;
	}
	
	
}