@charset "utf-8";
/* CSS Document */

/*メニュー*/

.p-menu-wrap {
	width: 100%;
	position: relative;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	padding: 0 12px;
}

.p-title {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
}

.p-title p {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 700;
	font-style: normal;
	transform: rotate(0.03deg);
	color: #2a4c27;
	font-size: 1.8rem;
	letter-spacing: 0.3rem;
}

.p-title p a {
	color: #8fc41e;
}

.p-title p a:hover {
	text-decoration: none;
}

.p-menu ul {
	display: flex;
	gap:24px;
}

.p-menu ul li a {
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 700;
	font-style: normal;
	transform: rotate(0.03deg);
	color: #2a4c27;
	font-size: 1.8rem;
	letter-spacing: 0.3rem;
	transition: all 0.3s;
}

.p-menu ul li a:hover {
	color: #8fc41e;
	text-decoration: none;
}

/*メインビジュアル*/

.p-main-logo {
	width: 100%;
	max-width:  600px;
	margin: 0 auto;
}

/*共通ヘッダー*/

.p-head {
	margin: 0 auto 60px;
}

/*アバウト*/

.p-about-body {
	width: 100%;
	max-width: 693px;
	margin: 0 auto;
}

/*ワークス*/

ul.p-works-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap:48px;
}

ul.p-works-list li {
	width: 100%;
	max-width: 300px;
}

ul.p-works-list li img {
	width: 100%;
	max-width: 280px;
	margin: 0 auto 24px;
}

ul.p-works-list li p {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 700;
	font-style: normal;
	transform: rotate(0.03deg);
	color: #2a4c27;
	font-size: 1.7rem;
	line-height: 1.5;
}

/*カンパニー*/

.p-company-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.p-company-wrap dl {
	display: flex;
}

.p-company-wrap dl:nth-child(2n) {
	background-color: #FFFCFC;
}

.p-company-wrap dl:nth-child(2n + 1) {
	background-color: #f6eddf;
}

.p-company-wrap dl dt {
	width: 20%;
	box-sizing: border-box;
	padding: 24px 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.p-company-wrap dl dd {
	width: 80%;
	text-align: left;
	box-sizing: border-box;
	padding: 24px 16px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.p-company-wrap dl dt, .p-company-wrap dl dd {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 400;
	font-style: normal;
	transform: rotate(0.03deg);
	color: #2a4c27;
	font-size: 1.8rem;
}

/*フットコンタクト*/

.p-foot-contact-wrap {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	background-color: #fff;
	border:5px solid #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/*フッター*/

.p-foot-logo {
	margin: 0 auto 48px;
}

.p-copyright p {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 400;
	font-style: normal;
	transform: rotate(0.03deg);
	color: #fff;
	font-size: 1.5rem;
}

/*お問い合わせ*/

.p-contact-form {
	width:100%;
	max-width: 960px;
	margin: 0 auto 72px;
}

.p-form-premise,
.p-form-acceptance {
	text-align: left;
	width:100%;
}

.p-contact-form dl {
	width:100%;
	display: flex;
	justify-content: space-between;
	margin-bottom:8px;
}

.p-contact-form dl dt {
	width:29%;
	color:#fff;
	background-color:#8fc41e;
	font-size:1.6rem;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	padding:16px;
}

.p-contact-form dl dt span {
	margin-left:8px;
	font-size: 90%;
	color:yellow;
	font-weight: bold;
}

.p-contact-form dl dd {
	width:70%;
	background-color:#F9F9F7;
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	flex-direction: column;
	padding:16px;
	font-size:1.6rem;
}

@media screen and (min-width:1025px) {
	.p-contact-form dl {
		display: flex;
		justify-content: space-between;
	}
	.p-contact-form dl dt {
		width:29%;
	}
	.p-contact-form dl dd {
		width:70%;
	}
}
@media screen and (max-width:1024px) {
	.p-contact-form dl {
		display: flex;
		justify-content: space-between;
		flex-direction: column;
		flex-wrap: wrap;
	}
	.p-contact-form dl dt {
		width:100%;
	}
	.p-contact-form dl dd {
		width:100%;
	}
}

.p-contact-form dl dd div {
	width:100%;
	margin:0 auto;
	position: relative;
	text-align: left;
}

.p-contact-form dl dd input[type="text"],input[type="email"],input[type="tel"],input[type="url"] {
	width:100%;
	display: block;
	margin:0 auto;
    box-sizing: border-box;
    outline: none;
    border: 1px solid lightgray;
    border-radius: 3px;
    padding: 10px 10px 10px 10px;
    transition: all 0.1s ease-out;
	font-size:1.6rem;
	color:dimgray;
	position: relative;
}

span.check {color:dimgray; margin:8px 0;display: block;}

.p-contact-form select {
	width:100%;
	display: block;
    box-sizing: border-box;
    outline: none;
    border: 1px solid lightgray;
    border-radius: 3px;
    padding: 10px 10px 10px 10px;
    transition: all 0.1s ease-out;
	font-size:1.6rem;
	color:dimgray;
	position: relative;
}

.p-contact-form dl dd textarea {
	width:100%;
	display: block;
	margin:0 auto;
	box-sizing: border-box;
    outline: none;
    border: 1px solid lightgray;
    border-radius: 3px;
    padding: 10px 10px 10px 10px;
    transition: all 0.1s ease-out;
	font-size:1.6rem;
	color:dimgray;
	position: relative;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-form-control.wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap:10px;
}

.wpcf7-list-item-label {/*項目の色や文字サイズ*/
	cursor: pointer;
}

.p-form-label .wpcf7-list-item {
	display: block;
	
	line-height: 40px;
	height:40px;
	background-color:#FFF;
	box-sizing: border-box;
	padding:0 8px;
	border-radius: 5px;
	position: relative;
	margin:0!important;
}

/*PC*/
@media screen and (min-width:1025px) {
	.p-form-label .wpcf7-list-item {
		width:calc(calc(100% - 20px) / 3);
	}
}
/*MOB*/
@media screen and (max-width:1024px) {
	.p-form-label .wpcf7-list-item {
		width:calc(calc(100% - 20px) / 2);
	}
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;/*既存のチェックボックスを見えなくする*/
}

.wpcf7-list-item-label:before {/*チェックボックスの枠*/
  content: '';
  border: 1px solid #8fc41e;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  top: -3px;
  margin-right: 12px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label:after {/*チェックアイコン*/
	content: "";
	display: block;
	position: absolute;
	top: 10px;
	left: 8px;
	width: 20px;
	height: 20px;
	background: url("../img/check-solid.svg") no-repeat center;
  background-size: contain;
}

.p-contact-check {
	width:100%;
	background-color:#F9F9F7;
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	flex-direction: column;
	padding:16px;
	font-size:1.6rem;
}

.p-contact-check .wpcf7-list-item {
	display: block!important;
	width:100%;
	line-height: 40px;
	height:40px;
	background-color:#FFF;
	box-sizing: border-box;
	padding:0 8px;
	border-radius: 5px;
	position: relative;
	margin: 0!important;
}

.p-form-bt {
	width:100%;
	margin:0 auto;
}

.p-form-bt input[type="submit"],input[type="reset"] {
	display: block;
	width:200px;
	height:60px;
	color:#fff;
	background-color:#503989;
	outline: none;
	border:0;
	font-size: 1.6rem;
	font-weight: bold;
	cursor: pointer;
	margin:0 auto;
}

.p-form-bt input[type="submit"] {
	background-color:#8fc41e;
	transition: all 0.3s;
	border:5px solid #8fc41e;
}

.p-form-bt input[type="submit"]:hover {
	background-color:#fff;
	color:#8fc41e;
	border:5px solid #8fc41e;
}

.wpcf7 form .wpcf7-response-output {
	margin:0!important;
}

div.wpcf7-mail-sent-ok {
	width:100%;
border: 2px solid #8fc41e;
}
div.wpcf7-mail-sent-ng {
	width:100%;
border: 2px solid #ff0000;
}
div.wpcf7-spam-blocked {
	width:100%;
border: 2px solid #ffa500;
}
div.wpcf7-validation-errors {
	width:100%;
border: 2px solid #f7e700;
}


.wpcf7 form.sent .wpcf7-response-output {/* 送信ボタン下完了時 */
    border-color: #8cebe5;
	font-size: 1.8rem;
	box-sizing: border-box;
	padding:12px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {/* 送信ボタン下未入力警告 */
    border-color: #f88;
	font-size: 1.8rem;
	box-sizing: border-box;
	padding:12px;
}
.wpcf7-not-valid-tip {/* 必須未入力項目下の文章 */
    color: #f88;
    font-size: 12px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
width: 100%!important
}