@charset "UTF-8";
/* ----------------------------------------------------------------
共通
---------------------------------------------------------------- */
#contents{
	margin-bottom: 150px;
}
body.pages .page_top_tl {
    max-width: 1000px;
}
@media screen and (max-width: 767px) {
	#contents {
    margin-bottom: 0;
}
}

/* ----------------------------------------------------------------
contact_area
---------------------------------------------------------------- */
#donnuy{
    margin-bottom: 40px;
}
#contact_area > .inner,
#donnuy > .inner{
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
	font-weight: 600;
}

@media screen and (max-width: 767px) {
	#contact_area > .inner,
    #donnuy > .inner{
    width: 90%;
    margin: 0 auto;
		        overflow: hidden;
}
}
/* ----------------------------------------------------------------
form_area
---------------------------------------------------------------- */
#form_area input:not([type="radio"]):not([type="checkbox"]),textarea,select {
    background: #fff;
    width: 100%;
    padding: 10px 13px;
    border-radius: 5px;
    border: solid 1px #b3b3b3;
	max-width: 700px;
	font-size: 0.9em;
}
select {
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
}
#form_area input::placeholder{
	color: #b3b3b3;
}
#form_area > .inner{
	max-width: 1200px;
	width: 90%;
	margin: 0 auto 100px;
}
#form_area .mailform dl {
    background: #f1f1f1;
    margin-bottom: 20px;
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
#form_area .mailform dt {
    max-width: 220px;
    width: 35%;
}
#form_area .mailform dd {
    max-width: 928px;
    width: 65%;
}
#form_area .mailform dt p{
	    display: flex;
    justify-content: space-between;
}
#form_area .mailform dt span {
    line-height: 0.7;
    background: #ff0000;
    color: #fff;
    padding: 2px 5px;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    border-radius: 3px;
}
#form_area .mailform .wpcf7-submit {
    display: block;
    background: #fff;
    border: solid 1px #000;
    font-size: 1.4em;
    width: 95%;
    max-width: 300px;
    position: relative;
    border-radius: 35px;
    font-weight: 800;
    text-align: center;
    line-height: 1;
    overflow: hidden;
    margin: 50px auto 0;
    padding: 20px;
}
	#form_area .mailform dd p span {
		color: #808080;
	}
#form_area .address dd{
	display: block;
}


@media screen and (min-width: 768px) {
#form_area .mailform .wpcf7-submit:hover span.txt{
	transition: color 0.4s ease-out;
    color: #fff;
}	
#form_area .mailform .wpcf7-submit::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 0;
}
    #form_area .mailform .wpcf7-submit span.txt{
        position: relative;
        z-index: 1;
                display: block;
    }
    #form_area .mailform .wpcf7-submit:hover .arrow {
    background-color: #fff;
}
#form_area .mailform .wpcf7-submit:hover::after {
    transform: translateX(0);
}
#form_area .mailform .wpcf7-submit .arrow::before,
#form_area .mailform .wpcf7-submit .arrow::after {
transition:background-color 0.4s ease;
}
#form_area .mailform .wpcf7-submit:hover  .arrow::before,
#form_area .mailform .wpcf7-submit:hover  .arrow::after {
background-color: #fff;
}
}
@media screen and (max-width: 767px) {
#form_area .mailform dl {
    margin-bottom: 15px;
    padding: 15px;
    display: block;
}
#form_area .mailform dt {
    max-width: max-content;
    width: auto;
		margin-bottom: 10px;
}
#form_area .mailform dt p{
	    gap: 10px;	
}
#form_area .mailform dd {
    max-width:100%;
    width: 100%;
    display: block;
}
#form_area .mailform dd p {
    margin-bottom: 5px;
}
#form_area .mailform dd div:last-child {
    margin-left: 0;
}
#form_area .mailform .tel dd div {
    gap: 5px;
}
#form_area .mailform .tel dd div input {
    width: 100%;
	min-width: 40px;
}
#form_area .mailform .wpcf7-submit {
    font-size: 1.2em;
    margin: 30px auto 50px;
}
}

/* CF7が自動挿入するスパンをブロック要素にしてレイアウトを維持 */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* 送信ボタンのラッパー調整 */
.wpcf7-submit {
    cursor: pointer;
    border: none;
}

.wpcf7 form.sent .wpcf7-response-output {/* 送信ボタン下完了時 */
    border: none;
    background: #68b2d8;
    padding: 10px;
    text-align: center;
    color: #fff;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border: none;
    background: #ff5a5a;
    padding: 10px;
    text-align: center;
    color: #fff;
}
#form_area .mailform .wpcf7-not-valid-tip{
    color: #dc3232;
    font-size: 0.8em;
	margin-top: 10px;
}
#form_area .mailform button.wpcf7-submit {
    /* ▼ iOSのデフォルトスタイルを完全に無効化する記述 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 以下は既存の記述 */
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* もし初期状態の文字色（黒など）が消えている場合はここでも明示してください */
    color: #000; 
}