

section>h2
{
    text-align: center;
    margin-bottom: 50px;
}



.contact-btn
{
    width: 70%;
    max-width: 630px;
    margin: 30px auto;
    aspect-ratio: 630/90;
    background-color: #1C1B1B;
    border-radius: 0 10px 10px 0;
    display: flex;
    font-size: 24px;
    /* padding-left: 150px; */
    padding-left: 30px;
}
.contact-btn>p,
.contact-btn>.btn-tel
{
    position: relative;
}
.contact-btn>.btn-mail
{
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}
.contact-btn>.btn-mail::after
{
    content: "";
    width: 90px;
    height: 100%;
    background-color: #D73B2F;
    position: absolute;
    left: -120px;
    border-radius: 10px 0 0 10px;
}
.contact-btn>.btn-tel::after,
.contact-btn>p:after
{
    content: "";
    width: 90px;
    height: 100%;
    background-color: #1A94D3;
    position: absolute;
    left: -120px;
    border-radius: 10px 0 0 10px;
}
.contact-btn>.btn-mail::before
{  
    content: "";
    width: 60px;
    aspect-ratio: 38/27;
    background-image: url(../img/icon/contact.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -160px;
    border-radius: 10px 0 0 10px;
    z-index: 3;
    /* left: -130px; */
    left: -16.5%;
}
.contact-btn>p
{
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
}
.contact-btn>.btn-tel::before,
.contact-btn>p::before
{  
    content: "";
    width: 40px;
    aspect-ratio: 33/40;
    background-image: url(../img/icon/tel.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -160px;
    border-radius: 10px 0 0 10px;
    z-index: 3;
    /* left: -130px; */
    left: -15%;
}





/*---------------------------------------------- 修正  20251030*/

.contact
{
    display: flex;
    flex-direction: column;
    width: 630px;
    max-width: 100%;
    margin:  0 auto;
    gap: 30px;
}
.contact a
{
    display: grid;
    align-items: center;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    background: #1C1B1B;
    border-radius: 10px;
    height: 80px;
    position: relative;
}
.contact > div
{
    height: 100%;
}

.contact a > div:first-child
{
    height: 100%;
    border-radius: 10px 0 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact .mail a > div:first-child
{
 background: #D73B2F;   
}
.contact .tel a > div:first-child
{
  background: #1A94D3;   
}

.contact .mail a > div:first-child img
{
    width: 40px;
}
.contact .tel a > div:first-child img
{
    width: 33px;
}

.contact a > p
{
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    word-break: break-all;
}

/*---------------------------------------------- 修正 ここまで*/






@media (min-width: 768px) {
  .btn-tel {
    display: none;
  }
  .contact-btn>a:hover
  {
    opacity: 0.8;
    transition: all 0.3s;
  }



}

@media (max-width: 767px) {
.contact-btn {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
    background-color: #1C1B1B;
    border-radius: 10px;
    display: flex;
    font-size: 18px;
    padding-left: 60px;
    box-sizing: border-box;
}
.contact-btn>.btn-mail::after
{
    width: 50px;
    left: -60px;
}
.contact-btn>.btn-mail::before
{
    width: 40px;
    left: -55px;
}

    .contact-btn>.btn-tel
    {
        display: inline-flex;
        width: 100%;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    .contact-btn .pc
    {
        display: none;
    }
    .contact-btn>.btn-tel::before, .contact-btn>p::before
    {
        width: 40px;
        left: -55px;
    }
    .contact-btn>.btn-tel::after, .contact-btn>p:after
    {
        width: 50px;
        left: -60px;
    }

    section>h2
    {
        margin-bottom: 40px;
        font-size: 20px;
    }

    /*---------------------------------------------- 修正  20251030*/


.contact
{
    gap: 20px;
}
.contact a
{
    grid-template-columns: 60px 1fr;
    height: 60px;
    border-radius: 5px;
    gap: 20px;
}
.contact a > p
{
    font-size: 18px;
}
.contact .mail a > div:first-child img
{
    width: 30px;
}
.contact .tel a > div:first-child img
{
    width: 24px;
}
.contact a > div:first-child
{
    border-radius: 5px 0 0 5px;
}
}