@charset "utf-8";

html {
	scroll-padding-top: 0;
}

body {
	background: #f6f6f6;
}

.section__marquee {
	line-height: 1;
	margin-bottom: -20px;
}

.p-top-people__title {
	text-shadow: 1px 1px 1px #fff;
}

.p-drawer-content__link span {
	font-family: "Lato", "source-han-sans-japanese", "游ゴシック", YuGothic,
		"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ",
		Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	display: block;
	font-size: 1.25rem;
	font-weight: 900;
	font-style: italic;
}

@media screen and (min-width: 768px) {
	.p-drawer-content__link span {
		font-size: 2rem;
	}
}

.p-top-news__content::before {
	content: "";
	background: linear-gradient(100deg, #ec4a8f 0%, #f7c84b 50%, #2ec5ff 100%);
	border-radius: 3.75rem;
	height: calc(100% + 4px);
	width: calc(100% + 4px);
	position: absolute;
	top: -2px;
	left: -2px;
	z-index: -1;
}

.p-top-news {
	margin-top: 8em;
}

.p-top-news__content {
	position: relative;
}

.top-people-header {
	max-width: 600px;
	display: block;
	margin: 0 auto;
	width: 94%;
	margin-bottom: 18em;
}

.home .p-top-people {
	padding-top: 20rem;
}

.p-do::before {
	left: -64rem;
}

.p-page-mv__img img {
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.environment-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 32px 0;
	margin-top: 32px;
}

@media screen and (min-width: 768px) {
	.environment-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 70px 0;
		margin-top: 70px;
	}
}

.environment-grid__item {
	text-align: center;
}

@media screen and (min-width: 768px) {

	.environment-grid__item:nth-of-type(1),
	.environment-grid__item:nth-of-type(3) {
		padding-right: 30px;
		border-right: 1px dashed #ccc;
	}
}

@media screen and (min-width: 768px) {

	.environment-grid__item:nth-of-type(2),
	.environment-grid__item:nth-of-type(4) {
		padding-left: 30px;
	}
}

.environment-grid__item-img {
	margin-bottom: 20px;
}

.environment-grid__item-ttl {
	font-size: 1.1rem;
	margin-bottom: 15px;
}

.environment-grid__item-text {
	font-size: 0.875rem;
	line-height: 2;
}

.p-header__list--entry{
	border-radius: 9999px;
	border: 1px solid #4d4ca1;
	overflow: hidden;
	background-color: #4d4ca1;
	display: flex;
	flex-wrap: wrap;
}
.p-header__list--entry__label{
	color: #4d4ca1;
	text-transform: uppercase;
	font-family: "Lato", "source-han-sans-japanese", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 0.05em;
	font-size: 1.625rem;
	padding: calc(1.25rem - 4px) 2rem;
	background-color: #fff;
	display: block;
}
.p-header__list--entry__link{
	display: block;
}
.p-header__list--entry__link a{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: #fff;
	height: 100%;
	font-weight: bold;
	padding: 0 2rem;
}
.p-header__list--entry__link + .p-header__list--entry__link{
	border-left: 1px dashed #fff;
}
.p-submit__btn-entry-btn{
	flex-wrap: wrap;
}
.p-submit__btn-entry-btn .p-submit__btn-detail{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 2rem;
}
.p-submit__btn-entry-btn .p-submit__btn-detail__link{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 15px;
	margin-top: 1.5rem;
}
.p-submit__btn-entry-btn .p-submit__btn-text{
	margin: 0;
}
.p-submit__btn-entry-btn .p-submit__btn-detail__link a{
	display: block;
}
.p-submit__btn-entry-btn .p-submit__btn-detail__link a img{
	display: block;
	height: auto;
}

@media screen and (min-width: 768px) {
	.p-drawer-content__lists {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 50px 100px;
	}

	.p-drawer-content__list+.p-drawer-content__list {
		margin: 0;
	}

	.p-row__lists {
		display: flex;
		gap: 0;
	}

	.p-row__list {
		width: calc((100% - (33.3333% + 2.5rem)) / 2);
	}

	.p-row__list--border {
		width: calc(33.3333% + 2.5rem);
	}

	.p-row__list:first-child {
		padding-right: 2.5rem;
	}

	.p-row__list:last-child {
		padding-left: 2.5rem;
	}

	.p-qa__txt {
		font-size: 15px;
	}

	.p-qa__dt-text,
	.p-qa__dd-text {
		font-size: 14px;
	}

	.environment-grid__item-ttl {
		font-size: 1.375rem;
	}

	.environment-grid__item-text {
		font-size: 1rem;
	}
}

@media screen and (min-width: 768px) {
	.environment-grid__item-text {
		font-size: clamp(12px, 2vw, 12px);
		text-align: left;
	}
}

@media screen and (min-width: 992px) {
	.environment-grid__item-text {
		font-size: 1rem;
		text-align: center;
	}
}

@media screen and (min-width: 768px) {
	.environment-grid__item-ttl {
		font-size: clamp(14px, 2vw, 14px);
	}
}

@media screen and (min-width: 992px) {
	.environment-grid__item-ttl {
		font-size: 1.1rem;
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 767px) {
	.p-top-news__content::before {
		border-radius: 1.5rem;
	}

	.top-people-header {
		margin-bottom: 6em;
	}
}

.p-qa__block--1::after,
.p-qa__block--2::after,
.p-qa__block--3::after,
.p-qa__block--4::after {
	height: 1.9rem;
	background-position: top center;
}

@media screen and (min-width: 768px) {

	.p-qa__block--1::after,
	.p-qa__block--2::after,
	.p-qa__block--3::after,
	.p-qa__block--4::after {
		height: initial;
	}
}

@media screen and (max-width: 767px) {
	.p-header__list--entry{
		display: none;
	}
	.p-drawer-content__list + .p-drawer-content__entry{
		margin-top: 1.875rem;
	}
	.p-drawer-content__entry{
		margin-top: 10px;
	}
	.p-drawer-content__entry a{
		display: block;
		background-color: #4d4ca1;
		border: 1px solid #fff;
		color: #fff;
		border-radius: 9999px;
		padding: 15px 0;
		font-weight: bold;
		text-align: center;
		font-size: 1rem;
	}
	.p-submit__btn-entry-btn .p-submit__btn-detail__link{
		grid-template-columns: repeat(1,1fr);
		gap: 20px 0;
	}
	.p-submit__btn-entry-btn .p-submit__btn-detail__link a img{
		width: 220px;
		margin: 0 auto;
	}
}


/* FORM */
.contact-sec{
	padding-top: 80px;
}
.contact-sec__text{
	text-align: center;
	text-shadow: 0 0 10px #fff;
}
.contact-sec__text a{
	text-decoration: underline;
}
.form-wrap {
	z-index: 1;
	background-color: #fff;
	margin: 50px auto 0;
	padding: 40px;
	border-radius: 10px;
	max-width: 900px;
}

@media screen and (max-width: 768px) {
	.form-wrap {
		margin-top: 32px;
		margin-top: 2rem;
		padding: 16px;
		padding: 1rem;
	}
}

.wpcf7 table th p,
.wpcf7 table td p {
	margin: 0;
}

.wpcf7 table th .form-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

span.must {
	font-size: 13px;
	color: #fff;
	background-color: #000;
	display: inline-block;
	padding: 0 5px;
}

span.any {
	font-size: 13px;
	background-color: #fff;
	border: 1px solid #231815;
	color: #231815;
	display: inline-block;
	padding: 0 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form textarea {
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid #aaa;
	border-radius: 3px;
	width: 100%;
	padding: 12px;
	box-shadow: none;
}

form select {
	border: 1px solid #aaa;
	border-radius: 3px;
	padding: 0 12px;
	height: 42px;
}

form textarea {
	width: 100%;
	resize: none;
}

.submit_btn {
	margin-top: 50px;
	justify-content: center;
	display: flex;
	position: relative;
}

form .submit_btn input {
	font-weight: bold;
	width: 285px;
	padding: 19px;
	text-align: center;
	transition: 0.3s;
	appearance: none;
	-webkit-appearance: none;
}

form .submit_btn input:disabled {
	background: gray !important;
	pointer-events: none;
	border: 1px solid gray !important;
}

form .submit_btn input[type="submit"] {
	color: #fff;
	background-color: #f566a5;
	border: 1px solid #f566a5;
	border-radius: 30px;
}

form .submit_btn input[type="submit"]:hover {
	opacity: 1;
	background-color: #fff;
	color: #f566a5;
}

form .submit_btn input[type="button"] {
	background-color: gray;
	border: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

div.wpcf7 .ajax-loader {
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	bottom: -30px;
}

div.wpcf7-response-output {
	margin: 3em 0.5em 1em;
}

.wpcf7-spinner {
	display: none;
}

.law {
	background-color: #f7f8f8;
	margin-top: 20px;
	padding: 25px 30px;
	border: 1px solid #231815;
	font-size: 14px;
}

.law .text {
	font-size: 14px;
	text-align: justify;
	line-height: 2;
	margin-bottom: 10px;
}

.law .text span {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}

.law .text:last-child {
	margin-bottom: 0;
}

/* 20240215fix START
.wpcf7 table th,
.wpcf7 table td{
    padding: 15px;
    border: 1px solid #ccc;
}
.wpcf7 table th{
    font-weight: bold;
    background-color: #ccc;
    border-bottom: 1px solid #fff;
}
*/
.wpcf7 table {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.wpcf7 table th,
.wpcf7 table td {
	padding: 15px;
}
.wpcf7 table tr:last-child td{
	padding-bottom: 0;
	border-bottom: none;
}

@media screen and (min-width: 769px) {
	.p-drawer-content__entry{
		text-align: center;
	}
	.p-drawer-content__entry a{
		font-size: 17px;
		font-size: 1.0625rem;
		display: block;
		font-weight: 500;
	}
	.p-drawer-content__entry a span{
		font-size: 2rem;
		font-family: "Lato", "source-han-sans-japanese", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		display: block;
		font-weight: 900;
		font-style: italic;
	}

}

@media screen and (max-width: 991px) {
	.form-wrap{
		padding: 20px;
	}
	.contact-sec__text,
	.wpcf7 table th,
	.wpcf7 table td,
	form .submit_btn input[type="submit"] {
		font-size: 14px;
	}
	form input[type="text"], form input[type="email"], form input[type="tel"], form input[type="number"], form textarea{
		font-size: 14px;
	}
	form input::placeholder{
		font-size: 14px;
	}
}
@media screen and (max-width: 768px) {

	.wpcf7 table th,
	.wpcf7 table td {
		padding: 12px;
		padding: 0.75rem;
	}
}

.wpcf7 table th {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	width: 20em;
}

@media screen and (max-width: 768px) {
	.wpcf7 table th {
		width: initial;
	}
}

.wpcf7 table td {
	border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 768px) {
	.wpcf7 table th,
	.wpcf7 table td {
		display: block;
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
	.wpcf7 table th{
		border: none;
		padding-bottom: 10px;
	}
	.wpcf7 table td{
		padding-top: 0;
	}
	.wpcf7 table,
	.wpcf7 table tr,
	.wpcf7 table tbody{
		display: block;
	}
	.contact-sec__text{
		font-size: 14px;
		text-align: left;
	}
	.p-drawer-content__entry span{
		display: none;
	}
}