.tel-section .title,
.contact-comment .title,
.table-section .title{
position: relative;
font-weight: 600;
font-size: var(--heading-lv2);
font-family: var(--mincho);
line-height: 1.4;
padding-left: 1.7em;
margin-bottom: 2rem;
}
.tel-section .title::before,
.contact-comment .title::before,
.table-section .title::before{
content: "";
display: block;
width: 1.4em;
height: 1.4em;
position: absolute;
left: 0;
top: -.1em;
background-color: var(--cta-red);
-webkit-mask-size: contain;
mask-size: contain;
}
.tel-section{
border: 3px double #fbc6c2;
background: #fff9f9;
padding: min(7vw, 3em);
}
.tel-section .title::before{
-webkit-mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/phone-solid-full.svg) no-repeat center;
mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/phone-solid-full.svg) no-repeat center;
}
.contact-tel{
font-weight: bold;
text-align: center;
font-size: min(6.4vw, 70px);
line-height: 1;
gap: .6rem;
}
.contact-tel > *:last-child{
font-size: 150%;
color: var(--cta-red);
transform: translateY(.05em);
}
.contact-data{
border: 1px solid #e9dbda;
background: #fff;
margin-top: 2rem;
display: flex;
justify-content: center;
padding: 1em;
border-radius: 8px;
}
.contact-data-inner > *{
margin: 0;
}
.contact-data-inner .text{
font-weight: bold;
font-size: min(4vw, 28px);
gap: 1em;
line-height: 1;
align-items: center;
margin-bottom: .5rem;
position: relative;
padding-left: 1.6em;
}
.contact-data-inner .text::before{
content: "";
display: block;
width: 1.4em;
height: 1.4em;
position: absolute;
left: 0;
bottom: 0;
background-color: var(--cta-red);
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/clock-regular-full.svg) no-repeat center;
mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/clock-regular-full.svg) no-repeat center;
}
.contact-data-inner .text > *:last-child{
font-size: 150%;
transform: translateY(-.07em);
}
.contact-data-inner .text + p{
text-align: center;
}
@media (max-width:990px){
.contact-tel{
font-size: 6.1vw;
}
}
.contact-comment{
border: 3px double var(--after-border);
background: color-mix(in srgb, var(--after-border) 10%, #fff 90%);
padding: min(7vw, 3em);
}
.contact-comment .title::before{
-webkit-mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/file-lines-regular-full.svg) no-repeat center;
mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/file-lines-regular-full.svg) no-repeat center;
}
.table-section{
border: 3px double #badca5;
background: #fdfffb;
padding: min(7vw, 3em);
}
.table-section .title::before{
-webkit-mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/envelope-regular-full.svg) no-repeat center;
mask: url(//kksanshin.co.jp/wp-content/themes/twentytwentyfive-child/img/envelope-regular-full.svg) no-repeat center;
}
.table-section td{
background: #fff;
}
.tablestyle {
width: 100%;
max-width: 920px;
}
.tablestyle table th{
width: 17em;
}
.tablestyle table td{
line-height: 1;
}
.tablestyle table :is(input[type="text"], input[type="email"], input[type="tel"], input[type="file"], textarea),
.wpcf7-list-item-label{
padding: 15px;
width: 100%;
border-radius: 5px;
border: 1px solid #949494;
background: #fafafa;
}
.tablestyle table .required{
color: var(--brand-red);
font-size: 80%;
}
.wpcf7-checkbox,
.wpcf7-radio{
display: flex;
flex-wrap: wrap;
gap: 1em;
}
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item{
margin: 0;
position: relative;
display: inline-block;
}
.wpcf7-checkbox .wpcf7-list-item input,
.wpcf7-radio .wpcf7-list-item input{
position: absolute;
left:.6em;
top: 12px;
width: 1em;
}
.wpcf7-list-item-label{
display: block;
padding: 12px 12px 12px calc(1em + .6em * 2);
cursor: pointer;
transition: background .3s, color .3s;
}
.wpcf7-not-valid-tip{
margin-top: 1em;
font-size: 80%;
}
input:checked + .wpcf7-list-item-label{
background: #fff;
color: var(--brand-red);
background: var(--cta-red-hover2);
}
.submit-box{
margin-top: 2em;
}
.submit-box > p{
display: flex;
flex-direction: column;
align-items: center;
}
@media (max-width:990px){
.tablestyle table th{
width: 100%;
}
}