body{
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans JP", sans-serif;
    font-style: normal;
}

header{
  font-weight: 400;
    border-bottom: 1px solid rgb(40, 107, 89);
    width: 100%;
    position: fixed;
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;

    background-color: rgb(89, 89, 89);
}

header img{
    margin-left: 2%;
    width: 100px;
    @media screen and (max-width: 762px) {
        width: 50px;
    }
}
header h2{
    font-size: 2.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 1% 0;
    @media screen and (max-width: 762px) {
        font-size: 1rem;
        margin: 2% 0;
        
    }
}

header h2 span{
    font-size: 0.7rem;
}

.header_nav{
    font-size: 1.3vw;
    margin-left: 10%;
    margin-right: 5%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top_image{
    width: 100%;
    height: 45vh;
    background-color: rgb(225, 225, 225);
    @media screen and (max-width: 762px) {
        height: 30vh;
    }
}

.top_image img{
    padding-top: 90px;
    width: 100%;
    height: 130%;
    @media screen and (max-width: 762px) {
        padding-top: 20px;
        height: 100%;
    }
}


.margin-section{
    margin-top: 135px;
    @media screen and (max-width: 762px) {
        margin-top: -30px;
        
    }
}

.section_div{
    margin: 0% auto;
    margin-bottom: 5vw;
    padding: 10px 0;
    width: 100%;
    color: white;
    background-color: rgb(89, 89, 89);
}

.section_div p{
    text-align: center;
    margin-top: 0;
    margin-bottom: 2%;
}

.section_title{
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    @media screen and (max-width: 762px) {
        font-size: 1.3rem;
    }
}

.section_select{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1% auto;
    @media screen and (max-width: 762px) {
        width: 100%;
        margin: 3% auto;
    }
}
.section_select img {
    width: 50px;
    height: 50px;
}
.section_select li {
    margin: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 20px;
    border: 1px solid rgb(217, 217, 217);
    width: 12vw;
    list-style: none;
    text-align: center;
    font-size: 1.6vw;
    background-color: rgb(240, 240, 240);
    @media screen and (max-width: 762px) {
        width: 20vw;
    }
}

.section_price{
    margin: auto;
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.section_price_table{
    font-size: 1.5rem;
    color: white;
    font-weight: normal;
    background-color: rgb(38, 70, 144);
    text-align: center;
    width: 25%;
    border-radius: 15px;
    border: 1px solid rgb(212, 212, 212);
}

.plus{
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_price_table_kome{
    text-align: center;
}

.section_div_service_left{
    width: 70%;
    margin: 3% auto;
    border: solid 1px rgb(211, 209, 209);
    border-radius: 15px;
}

.section_div_service_left_item{
    display: flex;
    position: relative;
    @media screen and (max-width: 762px) {
        flex-direction: column;
    }
}

.section_div_service_left_item img{
    margin: 2%;
    width: 350px;
    height: 250px;
    @media screen and (max-width: 762px) {
        width: 96%;
        height: auto;
        border-radius: 10px;
        
    }
}
.section_div_service_left_item_content{
    padding: 0 10px;
}
.section_div_service_left_item_content_title{
    font-size: 1.5rem;
}

.section_div_service_left_item_content p{
    font-size: 1rem;
}

.section_div_service_left_item_content a{
    position: absolute;
    right: 4%;
    bottom: 4%;
}

footer{
    height: 10rem;
    color: white;
    background-color: rgb(89, 89, 89);
    display: flex;
    align-items: center;
    @media screen and (max-width: 762px){
        flex-direction: column;
        height: 13rem;
    }
}

footer h2{
    width: 40%;
    display: flex;
    align-items: center;
    @media screen and (max-width: 762px) {
        font-size: 1.5rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
    }
}
#result {
    visibility: hidden; /* 初期状態では非表示 */
    opacity: 0;
    transition: visibility 0s, opacity 2s; /* visibilityの遅延を0s、opacityの変化に2秒かける */
    border-bottom: 3px solid rgb(89, 89, 89);
    margin: 2vw 2vw 0 2vw;
}

#company-name, #message {
    position: absolute;
    top: 50%; /* メイン画像の中心に配置 */
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}


.ibm-plex sans jp-regular {
font-family: "IBM Plex Sans JP", sans-serif;
font-weight: 400;
font-style: normal;
}

table{
    margin-bottom: 3vw;
    width: 60%;
    border-collapse: collapse;
    @media screen and (max-width: 762px){
        width: 90%;
    }
}
th{
    width: 40%;
    height: 3.5vw;
    text-align: left;
    border-bottom: 1px solid black;
    @media screen and (max-width: 762px){
        margin: 10px 0;
        height: 5rem;
    }
}
td{
    width: 60%;
    text-align: center;
    border-bottom: 1px solid black;
    @media screen and (max-width: 762px){
        margin: 10px 0;
    }
}

.icon{
    margin-left: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    @media screen and (max-width: 762px){
        margin-left: 0;
    }
}

.icon a:nth-child(1) img{
    cursor: pointer;
    margin-right: 2vw;
    width: 70px;
    height: 70px;
}
.icon a:nth-child(2) img{
    cursor: pointer;
    width: 60px;
    height: 60px;
}

.footer_logo{
    margin-left: 2%;
    width: 100px;
    @media screen and (max-width: 762px) {
        width: 50px;
    }
}

.footer_section{
    display: flex;
    width: 500px;
    justify-content: space-between;
    margin: 0 auto;
}

ul{
    padding: 0;
}

li{
    list-style: none;
}

.result_number{
    margin: 2vw 2vw 0 2vw;
    text-align: center;
    font-size: 4vw;
    @media screen and (max-width: 762px){
        margin: 6vw 0vw 10vw 0vw;
        font-size: 7vw;
    }
}

.p-word{
    max-width: 900px;
    margin: auto;
    margin-bottom: 5%;
    padding-bottom: 5%;
    border-bottom: 1px solid rgb(40, 107, 89);
    @media screen and (max-width: 762px){
        width: 90%; 
    }
}