section.contact div.container {
    width: 60vw;
    margin: 0 auto;
    padding: 0.75rem 0 2rem;
}

section.contact div.container p {
    font-size: 1.2rem;
}

section.contact div.container h2 {
    font-size: 2.0rem;
}

section.contact div.container h2 span {
    display: block;
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.5;
    font-weight: 500;
}

section.contact div.cutin div.wrap {
    width: 100%;
    height: 45vh;
    overflow: hidden;
    position: relative;
}

section.contact div.cutin div.wrap img:first-child {
    object-view-box: inset(25% 0 0 0);
    width: 100%;
}

section.contact div.cutin div.wrap p {
    position: absolute;
    bottom: calc(30%);
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 3rem;
}

section.contact div.cutin div.wrap img:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    vertical-align: bottom;
    width: 100%;
}

/* お問い合わせフォーム */
section.contact div.container div.card-wrap {
    border: 0.5px solid #1f496e62;
    border-radius: 30px;
    box-shadow: 10px 5px 5px #1f496e1f;
}

section.contact div.container div.card-wrap form {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

section.contact div.container div.card-wrap label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

section.contact div.container div.card-wrap input {
    display: block;
    border-radius: 5px;
    border: 0.5px solid #1f496e62;
    width: 25vw;
    padding: 0.5rem;
    font-size: 1.2rem;
}

section.contact div.container div.card-wrap label input.detail {
    width: 53.4vw;
    height: 20vh;
}

section.contact div.cutin div.wrap img:first-child {
    filter: brightness(55%);
}

section.contact div.container div.card-wrap label {
    width: 100%;
}

section.contact div.container div.card-wrap input,
section.contact div.container div.card-wrap textarea {
    font-size: 1rem;
    width: 100%;
}

section.contact div.container div.card-wrap textarea {
    padding: 0.5rem;
    height: 15vh;
    border: 0.5px solid #1f496e62;
    border-radius: 5px;
}

section.contact div.container div.card-wrap input::placeholder {
  font-weight: 400;
  opacity: 0.7;
  color: #133A55;
  font-size: 0.85rem;
}

section.contact div.container div.card-wrap textarea::placeholder {
  font-weight: 400;
  opacity: 0.7;
  color: #133A55;
  font-size: 0.85rem;
}

section.contact div.container div.card-wrap button {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border: 1px solid var(--brand);
    padding: 0.5rem;
    width: 25%;
    margin-top: 1rem;
    border-radius: 5px;
}

section.contact div.container div.card-wrap button:hover {
    background: #074d7f;
}


@media (width >= 0px) and (width < 479px){
    section.contact div.container {
        width: 90vw;
        margin: 0 auto;
        padding: 0.75rem 0 2rem;
    }

    section.contact div.cutin div.wrap p {
        bottom: 30%;
        font-size: 1.5rem;
    }

    section.contact div.cutin div.wrap {
        height: 10vh;
    }

    section.contact div.cutin div.wrap img:first-child {
        filter: brightness(55%);
    }

    section.contact div.container p {
        font-size: 0.85rem;
        padding-bottom: 1.25rem;
    }

    section.contact div.container div.card-wrap label,
    section.contact div.container div.card-wrap label input,
    section.contact div.container div.card-wrap label input.detail {
        width: 100%;
    }

    section.contact div.container div.card-wrap label {
        padding-bottom: 0.25rem;
        padding-top: 1rem;
    }

}

@media (width >= 480px) and (width < 767px){
    section.contact div.container {
        width: 80vw;
        margin: 0 auto;
        padding: 0.75rem 0 2rem;
    }

    section.contact div.cutin div.wrap {
        height: 15vh;
    }

    section.contact div.cutin div.wrap p {
        bottom: 33%;
        font-size: 2rem;
    }

    section.contact div.cutin div.wrap img:first-child {
        filter: brightness(55%);
    }

    section.contact div.container p {
        font-size: 0.85rem;
        padding-bottom: 1.25rem;
    }

    section.contact div.container div.card-wrap label,
    section.contact div.container div.card-wrap label input,
    section.contact div.container div.card-wrap label input.detail {
        width: 100%;
    }

    section.contact div.container div.card-wrap label {
        padding-bottom: 0.25rem;
        padding-top: 1rem;
    }

}

@media (width >= 768px) and (width < 1199px){
    section.contact div.container {
        width: 70vw;
        margin: 0 auto;
        padding: 0.75rem 0 2rem;
    }

    section.contact div.container div.card-wrap form {
        gap: 1rem;
    }

    section.contact div.cutin div.wrap {
        height: 25vh;
    }
}

@media (width >= 1200px){
    section.contact div.container {
        width: 60vw;
        margin: 0 auto;
        padding: 0.75rem 0 2rem;
    }

    section.contact div.container div.card-wrap form {
        gap: 1rem;
    }

    section.contact div.cutin div.wrap {
        height: 35vh;
    }
}

.hp{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
