/*ALERT----------------------------------------------*/
span.wpcf7-not-valid-tip {
display: inline-block;
position: absolute;
top: 0.7em;
left: 9em;
width: 14em;
z-index: 2;
}
div.wpcf7-response-output {
margin: 0.5em 0em 0em;
padding: 0;
font-size: 0.8em;
border: none;
color: #f00;
text-align: center;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
border: none;
}
@media all and (max-width:480px) {
span.wpcf7-not-valid-tip {
font-size:0.8em;
}
}
/*----------------------------------------------ALERT*/
/*LAYOUT---------------------------------------------*/
*, *::before, *::after { -webkit-box-sizing: border-box; box-sizing: border-box; }
.cp_cont {
width: 90vw;
max-width: calc(790px - 10px);
height: 500px;
margin: 3em auto 6em;
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
box-shadow:rgba(0,0,0,0.1) 0px 1px 1px 1px;
border-radius: 6px;
}
.cp_photo {
border-radius: 6px 0 0 6px;
height: 100%;
width: 45%;
color: #ffffff;
position: relative;
overflow: hidden;
}
.cp_circle {
position: absolute;
top: 0;
left: 0;
height: 200%;
width: 200%;
background: url('https://copypet.jp/contents/wp-content/uploads/sample6.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: left 110px;
border-radius: 50%;
-webkit-transform: translateX(-50%) translateY(-25%);
transform: translateX(-50%) translateY(-25%);
z-index: -1;
}
.cp_form {
height: 100%;
width: 55%;
padding: 16px;
}
input[type='text'],
input[type='tel'],
input[type='email'],
textarea,
select {
vertical-align: top; -webkit-appearance: none; appearance: none;-moz-appearance: none;
width: 100%;
height: 3em;
padding-left: 0.4em;
border: none;
color:#757575;
font-size: 1em;
transition: all 0.3s;
text-transform: uppercase;
background: #ffffff;
border-style: dashed;
border-width: 0 0 2px 0;
border-color: #FFECB3;
border-radius: 6px;
margin-bottom: 0.5em;
}
input[type='submit'],
input[type='button'],
button {
border: none;
color:#ffffff;
background: #FF8F00;
cursor: pointer;
padding: 1em 2em;
margin-top: 1em;
border-radius: 6px;
transition: all 0.3s;
text-transform: uppercase;
font-size: 0.8em;
}
input[type='text']:focus,
input[type='tel']:focus,
input[type='email']:focus,
textarea:focus,
select:focus,
input[type='submit']:focus,
input[type='button']:focus,
button:focus {
border-style: solid;
border-width: 0 0 2px 0;
border-color: #FF8F00;
background: #FFECB3;
outline: none;
}
input[type='text']:hover,
input[type='tel']:hover,
input[type='email']:hover,
textarea:hover,
select:hover {
background: #FFECB3;
}
input[type='submit']:hover,
input[type='button']:hover,
button:hover {
background: #FFECB3;
color: #757575;
}
textarea {
height: 10em; min-height: 2em;
resize: none;
}
input[type='text']::placeholder,
input[type='tel']::placeholder,
input[type='email']::placeholder,
textarea::placeholder,
select {
text-transform: uppercase;
}
input[type='text']:hover::placeholder,
input[type='tel']:hover::placeholder,
input[type='email']:hover::placeholder,
textarea:hover::placeholder {
}
.cp_cf7name,
.cp_cf7email,
.cp_cf7telephone,
.cp_cf7subject,
.cp_cf7textarea,
.cp_cf7submit {
margin: 0 0 0 0;
position: relative;
}
.cp_cf7submit {
border-width: 0;
text-align: center;
}
.cp_cf7name::after,
.cp_cf7email::after,
.cp_cf7telephone::after,
.cp_cf7subject::after,
.cp_cf7textarea:after {
}
.cp_cf7subject::before {
position: absolute;
top: 1.5em;
right: 0.7em;
width: 0;
height: 0;
padding: 0;
content: '';
border-style: solid;
border-width: 6px 6px 0 6px;
border-color: #FF8F00 transparent transparent transparent;
pointer-events: none;
z-index: 1;
}
.cp_cf7subject:hover::before {
border-color: #FF8F00 transparent transparent transparent;
}
.cp_photo h1 {
margin: 1em 0 0.5em 0;
padding-left: 0.5em;
position: relative;
width: 10em;
}
.cp_photo h2 {
margin: 0 0 0.5em 0;
padding: 0;
padding-left: 2em;
position: relative;
}
.cp_photo h2::before {
font-family: Fontawesome;
position: absolute;
content: '\f007';
top: 5px;
left: 0.7em;
}
.cp_photo p {
margin: 0;
padding: 0;
padding-left: 1em;
position: relative;
}
.cp_photo ul {
list-style: none;
position: absolute;
bottom:1em;
left: 0;
margin: 0;
padding: 1em 1em 0 1em;
}
.cp_photo ul li {
display: inline;
}
.cp_photo ul li a {
transition: all 0.3s;
color: #ffffff;
}
.cp_photo ul li a:hover {
color: #FF8F00;
}
@media all and (max-width:480px) {
.cp_cont {
display: block;
height: auto;
}
.cp_photo {
border-radius: inherit;
width: 100%;
height: 260px;
}
.cp_circle {
width: 320%;
top:-130px;
left: 50%;
background-size: contain;
background-position: 250px 200px;
}
.cp_form {
width: 100%;
}
}
/*---------------------------------------------LAYOUT*/