header{
    background: var(--coler-Background-Gradient);
}
.page_title{
    background: var( --coler-Background-Accent);
}
h1{
    position: relative;
    background: url("../images/contact/contact_title_bg.jpg") no-repeat;
    background-position: top right;
    background-size: 90%;
    text-align: center;
    padding: 8% 0;
    color: var(--coler-Text-White);
    font-size: 4vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 1;
    animation-name: fadein;
    animation-duration:2s;
    animation-fill-mode: forwards;
    opacity: 0;
    
}
h1 span{
    display: block;
    font-family: var(--text-Title-sans_serif);
    font-size: 2vw;
     font-weight: 300;
    letter-spacing: 0.05em; 
}
@keyframes fadein
{
 0%{
     transform: translateX(50px);
     opacity: 0;
 }

 100%{
     transform: translateX(0);
     opacity: 1;
 }
}

/*パンくずリスト*/

.breadcrumb{
    position: absolute;
    width: 23%;
    background: var(--coler-Background-Primary);
    padding: 2% 5%;
    margin-top: -5vw;
    z-index: 2;
    
}
.breadcrumb li {
  display: inline; /*横に並ぶように*/
  list-style: none;
  font-size: 1vw;
}
.breadcrumb li:after { /* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: var(--coler-Text-Primary);
}
.breadcrumb li:last-child:after {
  content: '';
}
.breadcrumb li a {
  text-decoration: none;
  color: var(--coler-Text-Primary);
}
.breadcrumb li a:hover {
  color: var(--coler-Text-Sub);
  text-decoration: underline;
}
@media (width < 1000px){
    .breadcrumb{
        width: 25%;
    }
    .breadcrumb li {
        font-size: 1.2vw;
    }
}
@media (width < 768px){
    .breadcrumb{
        width: 30%;
    }
    .breadcrumb li {
        font-size: 1.5vw;
    }
}
@media (width < 500px){
    h1{
        font-size: 5vw;
        padding: 7.5% 0;
    }
    h1 span{
        font-size: 2.5vw;
    }
    .breadcrumb{
        width: 38%;
        margin-top: -7vw;
    }
    .breadcrumb li {
        font-size: 2.5vw;
    }
}

/*ページ共通*/
main p {
    margin-bottom: 1em;
    line-height: 1.7em;
    letter-spacing: 0.05em;
    color: var(--coler-Text-Primary);
    font-size: 16px;
}
main section{
    padding-top: 5%;
}
h2{
    margin-bottom: 5%;
}
h2.h2_blue{
    position: relative;
    display: flex; /* フレックスボックスを有効化 */
    flex-direction: column;
    color: var(--coler-Text-Accent);
    padding: 5% 0;
    font-size: 3vw;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
    letter-spacing: 0.05em;
}
h2.h2_blue span{
    display: block;
    font-size: 1.5vw;
}
h2.h2_blue:after{
    position: absolute;
    top: 50%; /* 垂直方向の中央寄せ */
    left: 50%; /* 水平方向の中央寄せ */
    transform: translate(-50%, -50%); /* 中央に配置 */
    font-size: 12vw; /* 背景テキストのフォントサイズ */
    font-family: var(--text-Title-sans_serif);
    color:rgba(0,0,0,0); /* 背景テキストの色（透明度含む） */
    -webkit-text-stroke: 1px #19BAFF;
    white-space: nowrap; /* テキストの折り返し防止 */
    opacity: 0.5;  
}
@media (width < 1000px){
    h2.h2_blue{
        font-size: 4.5vw;
    }
}
@media (width < 768px){
     h2.h2_blue{
        font-size: 28px;
        margin: 5% 0 10% 0;
    }
     h2.h2_blue:after {
         font-size: 15vw;
    }
    .h3_blue{
        font-size: 20px;
    }
}

/* メイン */

.contact{
    background: var(--coler-Background-Primary);
    padding-bottom: 10%;
    width: 80%;
    margin: 0 auto;
}
.contact h2:after {
    content: 'CONTACT FORM'; 
}

.contact_txt{
    width: 100%;
    color: var(--coler-Text-Primary);
    text-align: left;
    padding: 5%;
    border: 1px solid #072B79;
    letter-spacing: 0.05em;
    margin-bottom: 5%;
    
}
.contact_txt a,.att a{
    color: var(--coler-Text-Accent);
    text-decoration: underline;
}
.contact_txt a:hover,.att a:hover{
    color: var(--coler-Text-Sub);    
}
.att{
    font-size: 13px;
}
.required{
    font-size: 14px;
    color: var(--coler-Text-Primary);
}
.required span{
    color: red;
}
.contact_wrap span{
	font-size: 15px;
	color: red;	
}
.contact_wrap table{
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	margin: 0 auto 50px auto;
	box-sizing: border-box;
    color: var(--coler-Text-Primary);
}
.contact_wrap table tr th{
	font-weight: bold;
	vertical-align: middle;
}
.contact_wrap table tr th,.contact_wrap table tr td{
	margin: 0;
	border-collapse: collapse;
	border-bottom: 1px solid #072B79;
	padding: 15px 0;
	font-size: 18px;
	box-sizing: border-box;
}

.contact_wrap table span{
	font-size: 15px;
	color: red;
}
.wpcf7-submit {
	font-size: 20px;
    width: 30%;
	color: var(--coler-Text-White);
    margin-top: 10px;
	margin-bottom: 100px;
    text-align: center;
    padding: 10px;
	line-height: 2.0em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all 1s;
	position: relative;
    background-image: -webkit-linear-gradient(335deg,#192E7A 0%,#192E7A 50%,#19BAFF 100%);
    background-image: linear-gradient(115deg,#192E7A 0%,#192E7A 50%,#19BAFF 100%);
    -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.wpcf7-submit:hover {
	background-image: -webkit-linear-gradient(335deg,#19BAFF 0%,#192E7A 100%);
    background-image: linear-gradient(115deg,#19BAFF 0%,#192E7A 100%);
    color: var(--coler-Text-White);
    cursor: pointer;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:#ccc;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:#ccc;
}
::placeholder{ /* Others */
 color:#ccc;
}
.contact_wrap td input[type=text],
.contact_wrap td input[type="email"] ,
.contact_wrap td input[type="tel"] {
	box-sizing: border-box;
	font-size: 18px;
	width: 99%;
	padding: 10px;
	transition: 0.3s;
	border: 1px solid #5C5F6D;
	outline: none;
    background-color: rgba(142,219,255,0.2);
}
.contact_wrap td .wpcf7-list-item-label{
	color: #5C5F6D!important;
	font-size: 16px;
}
.contact_wrap td select {
	box-sizing: border-box;
	font-size: 16px;
	width: 50%;
	padding: 10px 20px 10px 10px;
	transition: 0.3s;
	border: 1px solid #5C5F6D;
	outline: none;
}
.wpcf7-list-item {
    margin: 0 1.5em 0 0 !important;
}

.contact_wrap textarea{
	width: 99%;
	height: 10em;
	border: 1px solid #5C5F6D;
    background-color: rgba(142,219,255,0.2);
	
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #fff;
}
.wpcf7-spinner{
    display: block !important;
}


@media screen and (max-width: 1050px){
    .contact_wrap,.contact_txt{
        font-size: 14px;
    }


}
@media screen and (max-width: 780px){
    .contact{
        width: 90%;
    }
    .contact_txt,.contact_form{
        width: 100%;
    }
    .contact_wrap table th,
    .contact_wrap table td {
        display: block;
        width: 100%;
        border-bottom: none !important;
    	padding: 10px 0 3px 0 !important;
  }
	.contact_wrap td .wpcf7-list-item:nth-of-type(1){
		margin-top: -20px;
	}
	.contact_wrap td .wpcf7-list-item{
		display: block;
	}
	.contact_wrap td .wpcf7-list-item-label{
	font-size: 16px;
}
.contact_wrap td input[type=text],
.contact_wrap td input[type="email"] ,
.contact_wrap td input[type="tel"] {
	width: 100%;
}
.contact_wrap textarea{
	width: 100%;
	}
    .contact_wrap td .wpcf7-list-item{
	margin-right: 0px;
}
    .wpcf7-submit {
        width: 50%;
        margin: 0 auto;
        padding: 5px !important;
}
    .wpcf7-form-control-wrap{
        margin: 0 !important;
    }
}
/*「Simple Cloudflare Turnstile」を中央揃えにする*/
div.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
}
