body{
    font-family: "Zen Kaku Gothic New", serif;
    font-size: 16px;
    font-weight: 500;
    background-color: #F6F6F6;
    color: #000000;
}
.section-fv__inner{
    padding: 80px 20px;
} 

.section-fv h1{
    width: 100%;
    max-width: 525px;
    margin: auto;
}.section-fv h1 img{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}
.section-fv__inner > p{
    text-align: center;
    font-size: 18px;
}

.page-top__cont ul {
    max-width: 400px;
    width: 100%;
    margin: auto;
}
.page-top__cont ul li{
    margin-bottom: 40px;
}
.page-top__cont ul li a {
    display: block;
    padding: 40px 0;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(45deg, #4A61A8, #6896CE);
    position: relative;
    font-weight: 700;
}
.page-top__cont ul li a::before {
content: "";
display: block;
background-image: url(../images/arrow.png);
width: 30px;
height: 30px;
background-size: contain;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
transition: .25s;
}
.page-top__cont ul li a:hover::before {
content: "";
display: block;
background-image: url(../images/arrow.png);
width: 30px;
height: 30px;
background-size: contain;
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
transition: .25s;
}

.page-company__cont__inner,
.page-service__cont__inner{
    max-width: 740px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.page-contact__cont__inner{
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 120px;

}
.page-company__cont__inner table tbody{
    /*display: flex;
    justify-content: space-between;
    flex-wrap: wrap;*/
}

.page-company__cont__inner table tr{
   /* width: calc(50% - 25px);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
    height: max-content;*/
}
#macy {
    width:100%; 
    list-style:none;
}
#macy {
    width: 100%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
#macy li {
    display:block;
width: 50%;
}
#macy li span{
    display:block;
    width:100%;
    font-weight: 700;
}
#macy li span:first-of-type{
    display:block;
    width:100%;
    margin-bottom: 5px;
}
#macy li span:last-of-type{
    display:block;
    width:100%;
    margin-bottom: 24px;
}
.page-company__cont__inner table th{
    width: 100%;
    margin-bottom: 4px;
    line-height: 1.5;
}
.page-company__cont__inner table td{
    width: 100%;
    line-height: 1.5;
}


.page-service__cont__inner > p:first-of-type{
    padding-bottom: 60px;
    line-height: 2;
    border-bottom: 1px solid;
}
.page-service__cont__inner > p:last-of-type{
    line-height: 2;
}
.page-service__cont__inner > h2{
    padding-bottom: 20px;
    padding-top: 40px;
    font-size: 24px;
    font-weight: 700;
}
.form-group { margin-bottom: 20px; }
.form-group > label { display: block; margin-bottom: 5px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    background: #E9E9E9;
}
.form-group.radio label.ttl{
    width: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* ラジオボタンのスタイル */
.form-group.radio div label {
    display: flex;
    margin-right: 10px;
    align-items: center;

}
.form-group.radio input[type="radio"] {
    width: auto;
    margin-right: 5px;
}
    .form-group textarea{
        height: 200px;
    }
    .form-group {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .form-group > label.ttl{
        width:210px;
    }

    .form-group > input:first-of-type, .form-group > textarea:first-of-type{
        width:calc(50%);
        text-align: left;
    }


    .req{
font-size: 14px;
padding: 3px 12px;
display: inline-block;
background: linear-gradient(#4C65AB,#6896CE );
border-radius: 10000px;
color: #fff;
    }
    .form-group > label.ttl {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .form-container {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
    }

   .white-box{
    padding: 65px;
    background-color: #fff;

   }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
 .form-group > textarea:first-of-type {
        width: calc(100% - 230px);
    }

    .error {
        color: red;
        font-size: 0.9em;
        display: block;
        width: 100%;
    }

    .form-group.radio div{
        width: calc(100% - 230px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .form-group {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        border-bottom: 1px solid #b7b7b7;
        padding: 24px 0;
        margin-bottom: 0;
    }
    .form-group:last-of-type {
        border-bottom: none;
    }


    .form-group.radio label {
        display: inline-block;
        margin-right: 10px;
        cursor: pointer; /* クリックしやすいようにポインターを追加 */
    }
    .form-group.radio input[type="radio"] {
        width: auto;
        margin-right: 5px;
        appearance: auto; /* ブラウザデフォルトの表示を使用 */
    }
    



    .checkbox-group {
        display: flex;
        align-items: center;
    }
    .checkbox-label {
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        font-size: 16px;
    }
    .checkbox-label input[type="checkbox"] {
        display: none;
    }
    .custom-checkbox {
        position: absolute;
        top: 0;
        left: 0;
        height: 20px;
        width: 20px;
        background-color: transparent;
        border-radius: 3px;
        border: 1px solid #000;
    }
    .checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
        background-color: #007BFF;
    }
    .custom-checkbox::after {
        content: "";
        position: absolute;
        display: none;
    }
    .checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
        display: block;
    }
    .checkbox-label .custom-checkbox::after {
        left: 6px;
        top: 2px;
        width: 6px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    div#confirmationContent p{
        padding: 24px 0;
        border-bottom: 1px solid #B7B7B7;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    div#confirmationContent p:last-of-type{
        padding: 24px 0;
        border-bottom: 1px solid transparent;
    }
    div#confirmationContent p span.ttl{
        width: 230px;
        font-size: 18px;
    }
    div#confirmationContent p span:last-of-type{
        width: calc(100% - 250px);
    }div#confirmationContent {
        width: 100%;
        margin-bottom: 61px;
        background-color: #fff;
        padding: 65px;
    }

    div#confirmationScreen button:nth-of-type(1) {
display: block;
width: calc(50% - 10px);
padding: 24px;
border: 1px solid;
color: #000;
text-align: center;
order: 2;
font-size: 22px;
letter-spacing: .12em;
background-color: transparent;
    }
    .form-container button{
        display: block;
        width: calc(50% - 10px);
        padding: 24px;
        border: 1px solid #000;
        background-color: #000;
        color: #fff;
        text-align: center;
        font-size: 22px;
        letter-spacing: .12em;
    }
    div#confirmationScreen button:nth-of-type(2){
        display: block;
        width: calc(50% - 10px);
        padding: 24px;
        border: 1px solid #000;
        background-color: #000;
        color: #fff;
        text-align: center;
        order: 3;
        font-size: 22px;
        letter-spacing: .12em;
    }

    div#confirmationScreen {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }



    div#confirmationScreen.hidden {
        display: none;
    }
    
    form#contactForm.hidden{
        display: none;
    }

    form#contactForm {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .form-group:last-of-type {
        border-bottom: none;
        text-align: center;
        width: 100%;
    }
    .form-group.checkbox-group > label{
        margin-left: auto;
        margin-right: auto;
    }
    .white-box {
        padding: 65px;
        background-color: #fff;
        width: 100%;
    }

    .contact-text-h2{
        text-align: center;
        line-height: 2;
        font-size: 18px;
        margin-bottom: 45px;
        width: 100%;
    }

    .section-fv__inner__news{
        padding-bottom: 32px;
    }

    .page-service__cont.thanks{
        text-align: center;
    }
    .page-service__cont.thanks a{
        text-align: center;
        display: block;
        padding: 24px;
        font-size: 22px;
        max-width: 400px;
        margin-top: 60px;
        color: #fff;
        background-color: #000;
        margin-left: auto;
        margin-right: auto;
    }
    .page-service__cont.thanks .page-service__cont__inner > p:first-of-type{
        padding-bottom: 0;
        border-bottom: none;
    }
@media screen and (max-width:640px) {
    section.page-service__cont.thanks,
    .page-company__cont__inner {
        padding: 0 20px;
    }   .page-top__cont ul li a {
        display: block;
        padding: 32px 0;
        text-align: center;
        border-radius: 10px;
        color: #fff;
        background: linear-gradient(45deg, #4A61A8, #6896CE);
        position: relative;
        font-weight: 700;
    }
    .page-company__cont__inner table tr {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 24px;
        height: max-content;
    }
    .contact-text-h2 {
        text-align: center;
        line-height: 2;
        font-size: 14px;
        margin-bottom: 32px;
        width: 100%;
    }
    .white-box {
        padding: 20px;
        background-color: #fff;
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .form-group.radio div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea, .form-group > textarea:first-of-type {
        width: 100%;
    }
    .form-group > label.ttl {
        width: 210px;
        margin-bottom: 10px;
    }
    .form-container button {
        display: block;
        width: 100%;
        padding: 24px;
        border: 1px solid #000;
        background-color: #000;
        color: #fff;
        text-align: center;
        font-size: 22px;
        letter-spacing: .12em;
        margin-left: 20px;
        margin-right: 20px;
    }
    div#confirmationContent {
        width: 100%;
        margin-bottom: 32px;
        background-color: #fff;
        padding: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
    div#confirmationScreen button:nth-of-type(1) {
        display: block;
        width: 100%;
        padding: 24px;
        border: 1px solid;
        color: #000;
        text-align: center;
        order: 2;
        font-size: 22px;
        letter-spacing: .12em;
        background-color: transparent;
    }
    div#confirmationScreen button:nth-of-type(2) {
        width: 100%;
        margin-top: 10px;
    }
    div#confirmationContent p {
        padding: 24px 0;
        border-bottom: 1px solid #B7B7B7;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    div#confirmationContent p span:last-of-type {
        width: 100%;
        margin-top: 10px;
    }
}

.page-privacy__cont__inner div {
    padding: 60px;
    background: #fff;
    margin-bottom: 40px;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.page-privacy__cont__inner div span{
    font-size: 12px;
}
.page-privacy__cont__inner div p{
    margin-bottom: 24px;
    line-height: 2;
    font-size: 14px;
}
.page-privacy__cont__inner div h2{
    margin-bottom: 10px;
    color: #2C4DAD;
    font-weight: 700;
    font-size: 24px;
}
.page-privacy__cont__inner div h3{
    margin-bottom: 10px;
    font-weight: 700;
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(-45deg, #6896CE, #4A61A8);
    width: max-content;
}

.section-fv__inner h2{
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin-top: 27px;
}

.page-privacy__cont__inner div> div{
    width: 100%;
    padding: 0;
}
.page-privacy__cont__inner div> div img{
    width: 100%;
    height: auto;
    object-fit: contain;
}


@media screen and (max-width:640px) {
    .page-privacy__cont__inner div h3 {
        margin-bottom: 10px;
        font-weight: 700;
        padding: 8px 12px;
        color: #fff;
        background: linear-gradient(-45deg, #6896CE, #4A61A8);
        width: 100%;
    }
    
.page-privacy__cont__inner div> div{
    overflow-x: scroll;
    }
    .page-privacy__cont__inner div> div img{
        width: 700px;
        height: auto;
        object-fit: contain;
        display: block;
        }
    .page-privacy__cont__inner div {
        padding: 40px 20px;
        background: #fff;
        margin-bottom: 40px;
        max-width: 1000px;
        width: 100%;
        box-sizing: border-box;
    }
    section.page-privacy__cont {
        padding: 0 20px;
    }

#macy li {
    display:block;
width: 100%;
}
.page-service__cont__inner{
    padding-left: 20px;
    padding-right: 20px;
}
body{
    padding-bottom: 120px;
}
}

body{
    padding-bottom: 180px;
}
.page-service__cont__inner > p:first-of-type span {
    display: block;
    margin-left: auto;
    margin-right: 0;
    display: block;
    width: max-content;
    margin-top: 9px;
}