/*
Theme Name: asahiya-lp
Template: twentytwentyfour
*/
:root{
  --accent-1:#b70000;
  --shadow-dark:#6469703d;
  --shadow-dark-red:#93010f69;

}

a{
    text-decoration: none;
}
a:focus {
    outline: 0;
}
rt{
    font-size: 0.8rem;
}
.asahiya-shadow{
    box-shadow: 0px 0px 15px var(--shadow-dark);
}

.asahiya-cta-btn{
    box-shadow: 0px 0px 10px var(--shadow-dark-red);
    filter: saturate(100%);
    transition: 0.3s ease;
}
.asahiya-cta-btn:hover{
    filter: saturate(130%);
    box-shadow: 0px 0px 20px var(--shadow-dark-red);
}

.asahiya-cta-tel a{
    filter: saturate(100%);
    transition: 0.3s ease;
}
.asahiya-cta-tel:hover a{
    filter: saturate(130%);
}
#main-visual .balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid var(--accent-1);
}

#main-visual .asahiya-cta{
    margin:30px 0;
}
#main-visual .asahiya-cta-text{
    color:#fff !important;
    text-shadow: 0px 0px 5px #000;    
}

#main-visual .asahiya-cta-tel{
    display:none;
}

#main-visual h1{
    font-size: clamp(1.5rem, 1.5rem +((1vw - 0.2rem)* 2.095), 3rem);
    text-shadow: 0px 0px 8px #000;    
}

#company-info-table td {
    vertical-align: top;
    line-height:1.5;
}


#contact-message:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -100px;
    border: 100px solid transparent;
    border-top: 35px solid #ffebe1;
    z-index: 1;
}

.wpcf7 p {
    display: inline;
}
.wpcf7-form label{
    font-weight:bold;
    margin-bottom: 20px;
    display: block;
}
.wpcf7-form span.must{
    margin-left:10px;
    padding:1px 6px;
    font-size:0.75rem;
    background-color:var(--accent-1);
    color:#fff;
    border-radius:7px    
}
.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea{
    padding:10px;
    font-size:16px;
    width:100%;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-submit{
    padding:10px 50px;
    font-size:1.3rem;
    background-color:var(--accent-1);
    border:0;
    border-radius:50px;
    color:#fff;
    font-weight:bold;
    letter-spacing:5px;
    cursor: pointer;
    box-shadow: 0px 0px 10px var(--shadow-dark-red);
    filter: saturate(100%);
    transition: 0.3s ease;
}
.wpcf7-form .wpcf7-submit:hover{
    filter: saturate(130%);
    box-shadow: 0px 0px 20px var(--shadow-dark-red);
}
.wpcf7-form .wpcf7-spinner {
    display: block;
    text-align: center;
}
.wpcf7-form .link-privacy{
  text-decoration:underline;
}
.wpcf7-form .link-privacy:hover{
  text-decoration:none;
}


/**************************************/

/**************************************/
.fadeup {
    opacity: 0;
}

.fadeup.is-animated {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
   
@keyframes fadeup {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/**************************************/
.bg .bg-wrap {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}
.bg.is-animated .bg-wrap::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%) !important;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg .bg-wrap .inn {
  color: #fff !important;
  display: inline-block;
  font-size: 36px;
  font-weight: bold;
  padding: 5px 15px;
  position: relative;
  z-index: 1;
}
 
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

/**************************************/


@media only screen and (max-width: 768px) {
    .pc-only{
        display:none !important;
    }
    .sp-left{
        text-align: left !important;
    }
    .sp-none-br br{
        display:none;
    }
    #main-visual h1{
        font-size:1.5rem;
    }
    #main-visual h1 br{
        display:none;
    }
    .main-message-sub{
        font-size: 0.8rem !important;
    }
    .main-message-lead{
        font-size: 1.1rem !important;
    }
    .contact-message-sub{
        font-size: 0.8rem !important;
    }
    .asahiya-cta-btn .wp-block-group p {
        font-size: 1rem !important;
    }
    #contact-message:before {
        margin-left: -50px;
        border: 50px solid transparent;
        border-top: 20px solid #ffebe1;
    }
    
}
