/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
html, body, button, input, select, textarea {
  font-family:
    "Hiragino Sans",
    "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic",
    "游ゴシック体",
    Meiryo,
    -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}
.site-header, .page-header, .breadcrumb, .vk-mobile-nav-menu-btn {
    display: none !important;
}
.site-body {
    padding: 0;
    background-image: url(/wp-content/uploads/2025/08/16type_FV_250708-1.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.container.site-footer-copyright {
    padding: 37px 0;
}
.site-footer {
    border-top: 0;
    background-color: #E9E9E9;
    text-align: center;
}
.site-footer a{
    display: block;
	margin-bottom: 22px;
	color: #000;
}
.site-footer-copyright p {
    margin: 22px 0 0 0;
}
.admin-bar .vk-mobile-nav-menu-btn {
	display: none;
}
@media (max-width: 991.98px) {
    .main-section {
        margin-bottom: 0;
    }
}
@media (max-width: 782px) {
	.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		margin-right: 0;
		margin-left: 0;
	}
}
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: initial;
    }
}

/* top */
.main-container {
    max-width: 540px;
	width: 100%;
    margin: 0 auto;
}
.top-fv {
    position: relative;
	background-color: #3375E1;
}
.top-fv a {
    position: absolute;
    bottom: 0;
    left: 50%;
	transform: translate(-50% , 0)
}
.top-fv a img, .top-detail a img {
  transition: transform 0.3s ease;
  display: inline-block;
}

.top-fv a:hover img, .top-detail a:hover img {
  transform: scale(1.05);
}
.top-detail {
    background-color: #3375E1;
    padding: 24px 73px;
    text-align: center;
    color: #fff;
}
.top-detail h2{
	border: 0;
	color: #F9E779;
	margin: 0;
}
.top-detail-txt {
	text-align: justify;
}
table.top-detail-table {
    border: none;
    width: 230px;
    margin: 24px auto;
}
.top-detail-table td {
    text-align: left;
    padding: 0;
}
.top-detail-table th {
    padding-right: 0;
}
:where(:not(.wp-block-table))>table :is(th,td) {
	border: 0;
}
table.top-detail-table th > span {
    background-color: #E1E4E9;
    color: #3373E1;
    border-radius: 30px;
    width: 90px;
    line-height: 35px;
    display: inline-block;
    font-weight: 600;
}
.top-kiyaku {
	text-align: center;
	background-color: #fff;
}
.top-kiyaku h2 {
    border: 0;
    padding: 56px 0 0 0;
}
.top-kiyaku-box h3{
	font-size: 18px;
	border: 0;
}
.top-kiyaku-box {
    max-width: 480px;
    width: 100%;
    margin: 0 auto 30px auto;
    padding: 24px;
    text-align: justify;
    font-size: 14px;
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #cfcfcf;
}

/* question */
.question-container {
    background-color: #3375E1;
	padding: 24px;
    text-align: center;
    color: #fff;
}
.question-container img {
    margin-top: 70px;
}
div#diagnosis-app {
    max-width: 540px;
    text-align: center;
    background-color: #3375E1;
    padding: 24px 15px 95px 15px;
    color: #fff;
}
div#diagnosis-app ol, div#diagnosis-app ul {
    list-style-type: none;
	padding: 0;
}
ol#question-list p { 
	box-sizing: border-box;
	text-align: justify;
	line-height: 130%;
    font-size: 16px;
    background-image: url(/wp-content/uploads/2025/08/qa_frame_ALL.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    aspect-ratio: 500 / 136;
    padding: 30px;
}
.answer-options {
    display: flex;
    gap: 12px;
}
.answer-options label {
  cursor: pointer;
  display: inline-block;
}
.answer-options input[type="radio"] {
  display: none;
}
/* .answer-options input[type="radio"]:checked + img.choice-img {
	border: 2px solid #3375E1;
	box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
} */
.question-image {
    margin-top: 60px;
    margin-bottom: 24px;
}
#diagnosis-app input[type="image"] {
  transition: transform 0.3s ease;
  display: inline-block;
}

#diagnosis-app input[type="image"]:hover {
  transform: scale(1.05);
}

@media (max-width: 782px) {
	.question-image {
		margin-top: 35px;
		margin-bottom: 12px;
	}
	.question-image img {
		width: 70px;
	}
	ol#question-list p { 
		background-image: url(/wp-content/uploads/2025/08/qa_frame_sp.svg);
		aspect-ratio: 385 / 136;
		margin-bottom: 12px;
		font-size: 14px;
	}
	.answer-options {
		gap: 6px;
	}
	table.top-detail-table {
		margin: 24px auto 0 auto;
	}
	.top-kiyaku {
		padding: 0 30px;
	}
	.top-detail {
		padding: 24px 48px;
	}
	.question-container {
		padding: 24px 24px 0 24px;
	}
	.question-container img {
		margin-top: 35px;
	}
}

/* contact */
p.contact-txt {
    margin-top: 56px;
	margin-bottom: 0;
	padding: 0 calc(85px - 24px);
    font-weight: 500;
    color: #F9E779;
    font-size: 16px;
	text-align: justify;
	line-height: normal;
}
div#wpcf7-f5-p16-o1 p {
    margin-block-end: 0;
}
div#wpcf7-f5-p16-o1 {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 85px 30px 85px;
    background-color: #3375E1;
    color: #fff;
}
div#wpcf7-f5-p16-o1 label {
    font-size: 12px;
	line-height: 14px;
}
div#wpcf7-f5-p16-o1  .wpcf7-list-item {
    margin: 12px 0;
}
div#wpcf7-f5-p16-o1 a {
    color: #fff;
    text-decoration-color: #fff !important;
    text-decoration-style: solid;
}
.wpcf7-form-control-wrap input[type="checkbox"] {
  position: relative;
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  appearance: none;
  background: #FFFFFF;
  border: solid 1px #cccccc;
  border-radius: 6px;
  box-shadow: 0 0 0 0 transparent;
  cursor: pointer;
}

/* チェックマーク */
.wpcf7-form-control-wrap input[type="checkbox"]::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 12px;
  top: 50%;
	left: 6px;
  transform: rotate(45deg) translateY(-50%);
  border-right: 2px solid #7A5CFA;
  border-bottom: 2px solid #7A5CFA;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* チェックされたときにチェックマーク表示 */
.wpcf7-form-control-wrap input[type="checkbox"]:checked::after {
  opacity: 1;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    color: #F9E779;
	font-size: 14px;
    display: inline-block;
}
div#wpcf7-f5-p16-o1 .wpcf7-acceptance label {
    display: flex;
	align-items: center;
    gap: 6px;
}
div#wpcf7-f5-p16-o1 p:has(.submit-button) {
    text-align: center;
}
input.wpcf7-form-control.submit-button {
    background: url(/wp-content/uploads/2025/08/button_03.svg) no-repeat center center;
    background-size: contain;
	margin: 30px 0;
    width: 240px;
    height: 64px;
    border: none;
    text-indent: -9999px;
    cursor: pointer;
	display: inline-block;
	transition: transform 0.3s ease;
}
input.wpcf7-form-control.submit-button:not([disabled]):hover {
  transform: scale(1.05);
}
div#wpcf7-f5-p16-o1 input[type=submit]:not(:disabled):hover {
    background-color: initial;
}
div#wpcf7-f5-p16-o1 .wpcf7-spinner {
    display: none;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
    border-radius: 8px;
}
.custom-select-wrap {
    position: relative;
}

.custom-select-wrap::after {
    position: absolute;
    content: '';
    pointer-events: none;
}
.custom-select-wrap::after {
    position: absolute;
    top: 60%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #7A5CFA;
    border-right: 3px solid #7A5CFA;
}
.custom-select-wrap:has(.wpcf7-not-valid-tip)::after {
    top: 47%;
}
.custom-select-wrap select {
    appearance: none;
    height: 45px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
}
.custom-select-wrap select:focus {
    outline: 2px solid #7A5CFA;
}

@media (max-width: 782px) {
	p.contact-txt {
		padding: 0;
	}
	div#wpcf7-f5-p16-o1 {
		padding: 10px 25px 35px 25px;
	}
}

/* results */
.results {
    text-align: center;
    background-color: #3375E1;
    padding: 24px 15px 95px 15px;
    color: #fff;
}
.results h2 {
	border: 0;
	color: #F9E779;
	font-weight: bold;
	font-size: 32px;
    margin: 0;
    padding: 0 0 4px 0;
}
.results span {
    display: block;
    font-size: 14px;
	color: #fff;
}
p.results-txt-01 {
	position:relative;
	margin-top: 40px;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 20px;
	text-align: justify;
	line-height: 130%;
    font-size: 16px;
	letter-spacing: -0.03em;
	background-image: linear-gradient(to right,
	#fff 3px,
	#333 3px,
	#333 calc(100% - 3px),
	#fff calc(100% - 3px)
	);
	background-repeat: repeat-y;
	background-size: 100% 1px;
}
p.results-txt-02, p.results-txt-03, p.results-txt-04 {
	position: relative;
	margin-top: 50px;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 20px;
	text-align: justify;
    font-size: 16px;
	line-height: 130%;
	letter-spacing: -0.03em;
	background-image: linear-gradient(to right,
	#fff 3px,
	#333 3px,
	#333 calc(100% - 3px),
	#fff calc(100% - 3px)
	);
	background-repeat: repeat-y;
	background-size: 100% 1px;
}
p.results-txt-01:before {
	position: absolute;
	content: "";
    aspect-ratio: 510 / 25;
    width: 100%;
    background-size: 100%;
    background-image: url(/wp-content/uploads/2025/08/result_parts_01.svg);
    left: 0;
    bottom: 99%;
}
p.results-txt-02:before {
	position: absolute;
	content: "";
    aspect-ratio: 510 / 25;
    width: 100%;
    background-size: 100%;
    background-image: url(/wp-content/uploads/2025/08/result_parts_02.svg);
    left: 0;
    bottom: 99%;
}
p.results-txt-03:before {
	position: absolute;
	content: "";
    aspect-ratio: 510 / 25;
    width: 100%;
    background-size: 100%;
    background-image: url(/wp-content/uploads/2025/08/result_parts_03.svg);
    left: 0;
    bottom: 99%;
}
p.results-txt-04:before {
	position: absolute;
	content: "";
    aspect-ratio: 510 / 25;
    width: 100%;
    background-size: 100%;
    background-image: url(/wp-content/uploads/2025/08/result_parts_04.svg);
    left: 0;
    bottom: 99%;
}
p.results-txt-01:after,p.results-txt-02:after, p.results-txt-03:after, p.results-txt-04:after {
	position: absolute;
	content: "";
    aspect-ratio: 510 / 13;
    width: 100%;
    background-size: 100%;
	background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2025/08/result_parts_06.svg);
    left: 0;
	top: 100%;
}
.results-img-after {
  position: absolute;
  display: block;
  left: 0;
  top: 100%;
  width: 100%;
  height: calc(100vw * 13 / 510); 
  object-fit: contain;
  z-index: 1;
}
.results + .top-kiyaku {
    padding: 30px 0;
}
.slider .slick-slide {
    padding: 0 15px;
}
ul.slick-slider {
	padding-left: 0;
}
.results-sns {
    display: flex;
    justify-content: center;
    gap: 60px;
	margin-bottom: 65px;
}
.results h4 {
    background: none;
    font-size: 18px;
    margin: 0 0 16px 0;
}
a.totop:hover img {
  transform: scale(1.05);
}

@media (max-width: 782px) {
	p.results-txt-01, p.results-txt-02, p.results-txt-03, p.results-txt-04 {
    	background-image: linear-gradient(to right, #fff 2px, #333 2px, #333 calc(100% - 2px), #fff calc(100% - 2px));
	}
	.results-sns {
		gap: 30px;
	}
	.slider .slick-slide {
		padding: 0 5px;
	}
}
@media (max-width: 576px) {
	p.results-txt-01, p.results-txt-02, p.results-txt-03, p.results-txt-04 {
		margin-top: 40px;
	}
}

@media screen and (max-width: 576px) {
    p.results-txt-01:after,p.results-txt-02:after, p.results-txt-03:after, p.results-txt-04:after {
		background-image: url(/wp-content/uploads/2025/08/result_SP400_05.svg);
		aspect-ratio: 300 / 9;
	  }
}