/* フォント周りのCSS */
html {
    font-size: 62.5%;
}

body,
input,
textarea {
    font-family: "Be Vietnam Pro" !important;
    color: #252525;
}

:is(.tcdce-body, .editor-styles-wrapper) h2.sec-tit {
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 48px;
}

div:is(.tcdce-body, .editor-styles-wrapper) h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

:is(.tcdce-body, .editor-styles-wrapper) *+h3 {
    margin-top: unset;
}

:is(.tcdce-body, .editor-styles-wrapper) h4{
    font-size: 1.8rem;
}

:is(.tcdce-body, .editor-styles-wrapper) h5{
    font-size: 1.8rem;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: unset !important;
}

ul {
    padding: 0;
    font-size: 1.6rem !important;
}

.card-txt {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
}

.sec-bottom-txt,
.group-bottom-txt{
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

button{
    font-size: 1.4rem;
}

.gray-txt {
    color: #6c757d;
}

.blue-txt {
    color: #0c6dff !important;
}

/* Google Icons */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48
}

.material-symbols-outlined.card-img{
    margin-bottom: 8px;
    font-size: 100px;
}

/* 共通CSS */
body {
    background: #efefef;
}

#bg-network {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

.main-content-wrap{
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(248, 248, 248, 0.9);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}

section {
    max-width: 1200px;
    margin: 0 auto 160px !important;
    padding: 0 2%;
    box-sizing: border-box;
    line-height: normal;
}

.sec-tit::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: #0c6dff;
    margin: 1.6rem auto;
}

.card{
    padding: 32px;
}

.sp-br {
    display: none;
}

/* section-contact.php */
.section-contact .content-wrap {
    width: 80vw;
    margin: 0 auto;
}

.section-contact .wpcf7-form {
    margin: unset;
    padding: 32px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(248, 248, 248, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-contact .form-tit {
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.section-contact .form-item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.section-contact label {
    font-weight: bold;
}

.section-contact input,
.section-contact textarea {
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.section-contact .submit-btn {
    display: block;
    width: 38%;
    margin: 0 auto;
    padding: 15px 40px;
    background: #0c6dff;
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s;
}

.section-contact .submit-btn:hover {
    transform: translateY(-5px);
}

/* footer */
.footer-nav-grid {
    max-width: 900px;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 12px;
}

.footer-menu li {
    width: fit-content;
}

.footer-menu a {
    line-height: 3rem;
    color: #fff;
    font-weight: bold;
}

.footer-menu a:hover {
    color: rgba(248, 248, 248, 0.5);
}

.footer-child {
    margin-left: 1.2em;
}

.footer-child>a {
    opacity: 0.85;
}

@media screen and (min-width: 1420px) {
    /* section-contact.php */
    .section-contact .content-wrap {
        width: 100%;
    }
}

@media screen and (max-width: 1000px){
    /* フォント周りのCSS */
    html {
        font-size: 50%;
    }

    /* Google Icons */
    .material-symbols-outlined.card-img {
        font-size: 80px;
    }

    /* 共通CSS */
    section {
        max-width: 80%;
        padding: 0;
    }

    .card-wrap{
        gap: 34px;
    }

    .card {
        padding: 30px;
    }

    /* section-contact.php */
    .section-contact .wpcf7-form {
        padding: 30px;
    }

    .section-contact .submit-btn {
        width: 80%;
    }
}

@media screen and (max-width: 830px) {
    /* footer */
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    /* フォント周りのCSS */
    html {
        font-size: 46%;
    }

    .sec-bottom-txt,
    .group-bottom-txt {
        text-align: left;
    }

    /* Google Icons */
    .material-symbols-outlined.card-img {
        font-size: 50px;
    }

    /* 共通CSS */
    .main-content-wrap{
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }

    section{
        margin-bottom: 72px !important;
    }

    .card {
        padding: 24px;
    }

    .sp-br {
        display: block;
    }

    /* section-contact.php */
    .section-contact .wpcf7-form {
        padding: 24px;
    }

    /* footer */
    .footer-nav-grid {
        padding-bottom: 12px;
        grid-template-columns: 1fr;
    }
}