/*ページ全体の設定*/
body{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
}

main{
    position: relative;
    overflow: hidden;
    font-size: 1.6rem;
}

.main{
    width: 98rem;
    margin: 2rem auto;
    background-color: #FCF7E7;
    border-radius: 1rem;
}


/*画像*/
img{
    max-width: 100%;
}


.fuwafuwa {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(../img/ico-apple.svg) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 1.5s ease-in-out;
    margin-top: 15px;
    }
    
    @keyframes fuwafuwa {
    0% {
        transform:translate(0, 0) rotate(-7deg) scale(-1, 1);
    }
    50% {
        transform:translate(0, -7px) rotate(0deg) scale(-1, 1);
    }
    100% {
        transform:translate(0, 0) rotate(-7deg) scale(-1, 1);
    }
}
.grape{
    width: 11.5rem;
    height: auto;
    position: absolute;
    top: 17rem;
    left: 10rem;
}

.leaf_img{
    width: 58rem;
    height: 45rem;
    object-fit: cover;
    position: absolute;
    transform: rotate(45deg) scale(0.8);
    object-position: 33% 50%;
    right: -16.5rem;
    top: -13rem;
}

.features-image{
    width: 27rem;
    height: 20rem;
    border-radius: 1rem;
    margin-left: 0.3rem;
}

.chairman-image{
    height: 35rem;
    border-radius: 1rem;
}

/*テキスト*/
.sec-title-top{
    padding-left: 11rem;
    padding-top: 3.5rem;
}

.subtitle{
    display: block;
    color: #83468B;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: -0.5rem;
}

.text-left{
    text-align: left;
    margin-top: 1.5rem;
}

.hl-text{
    color: #3A3333;
    margin-left: -0.5rem;
}

h2{
    font-size: 4rem;
    text-align: center;
    font-weight: 500;
}

.sec-h2title{
    margin-top: -1.3rem;
}

h3{
    font-size: 2rem;
    padding-bottom: 2rem;
}

h4{
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    padding: 1.5rem 0;
}
.page-title{
    text-align: left;
    margin-top: -1.2rem;
}

.highlight{
    background-color: #D55167;
    border-radius: 0.5rem;
    padding: 0.5rem 3rem;
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    margin: -2.8rem 0 0.5rem -0.5rem;
    text-align: center;
}

.left-box{
    width: 35rem;
    font-size: 2.3rem;
    margin: 2rem 1rem;
    font-weight: bold;
}

.right-box{
    width: 65rem;
    padding: 3.4rem 2px 0;
    font-weight: 500;
    color: #3A3333;
}

.card p{
    padding: 0 1rem;
    margin-top: -1rem;
    letter-spacing: 0px;
}

.text-box p{
    line-height: 1.87;
    font-weight: 400;
    margin-top: -1rem;
    letter-spacing: 0px;
}

.small{
    font-size: 1.2rem;
}


/*main*/

.sec-2, .sec-3{
    margin: 10rem 0;
}


.last-sec{
    margin-bottom: 16rem;
}

.first-box{
    width: 85rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.inline-area{
    display: flex;
    padding: 3rem;
    position: relative;
}

.features-box{
    width: 93rem;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.card{
    width: 30rem;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
}

.cardtext{
    margin-left: 0.3rem;
}

.cardtext2{
    margin-top: -0.5rem;
    margin-left: -0.6rem;
}

.cardtext3{
    margin-left: -0.8rem;
}



.message-content{
    width: 93rem;
    margin: 1rem auto;
    padding: 5rem  3.5rem 5rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
}

.photo-area{
    width: 35rem;
}

.text-box{
    width: 60rem;
}

.spp-text{
    margin-left: 1.6rem;
    letter-spacing: 0px;
}
.ptext{
    letter-spacing: 0px;
}


/*table設定*/
.table{
    padding-bottom: 4rem;
}

.company-profile{
    margin: 1.2rem auto;
    background-color: white;
    border: 1px solid #3A3333;
}

th{
    padding: 1.4rem 2.5rem;
}

tr{
    border: 1px solid #3A3333;
}

th{
    width: 23.5rem;
    border-right: 1px solid #3A3333;
}

td{
    width: 69rem;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.7rem;
}

.telnumber{
    display:inline-block;
}

.data{
    margin: -1.2rem 0;
}

.data-last{
    margin-top: -1.5rem;
    padding-bottom: 2.5rem;
}

.sp-br{
    display: none;
}

.pc-br{
    display: inline-block;
}

.pc-space{
    margin-left: 1.6rem;
}


/**SP版**/

@media screen and (max-width:699.98px){
body{
    font-size: 1.6rem;
    font-weight: 500;
}    

main{
     margin-bottom: 14rem;
}

.main{
    width: 90%;
    padding: 1rem;
    margin: 2rem auto;
    background-color: #FCF7E7;
    border-radius: 1rem;
}

.leaf_img{
    width: 41.2rem;
    height: 33.4rem;
    object-fit: cover;
    position: absolute;
    transform: rotate(45deg) scale(0.8);
    object-position: 33% 50%;
    right: -9rem;
    top: -9rem;
}


.highlight{
    margin: -0.5rem 0rem 0.5rem 0;
}

.hl-text{
    margin-left: 0;
}

.subtitle{
    font-size: 1.2rem;
    padding-top: 0.5rem;
}

.sec-h2title{
    margin-top: -0.8rem;
}

.text-left{
    font-size: 1.6rem;
}

.sec-title-top{
    padding-left: 0;
}

.page-title{
    font-size: 3rem;
    padding-top: 0.3rem;
}

.first-box{
    width: 97%;
    margin: 2rem auto;
    padding-bottom: 5rem;
}

.inline-area{
    flex-direction: column;
    padding: 1rem;
}

.left-box{
    width: 100%;
    font-size: 2rem;
    margin-left: 0;
}

.right-box{
    width: 100%;
    padding: 0;
    margin-top: -1.5rem;
}

.grape{
    width: 8.5rem;
    height: auto;
    position: absolute;
    top: 55.5rem;
    left: -1.5rem;
}

.sec-1{
    margin: 4.5rem 0; 
}

.sec-2{
    margin: 8rem 0;
}

.sec-3{
    margin-top: 1rem;
}

.last-sec{
    margin-bottom: 1rem;
}

h2{
    font-size: 2.4rem;
}


.features-box{
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.features-image{
    width: 27rem;
    margin-left: 0.6rem;
    border-radius: 1rem;
}

.card{
    width: 30rem;
    min-height: 53.5rem;
    overflow: hidden;
}

.cardtext{
    font-size: 1.6rem;
    padding-left: 1rem;
}

.cardtext3{
    margin-left: -0.7rem;
}


.message-content{
    flex-direction: column;
    width: 100%;
    padding: 2rem;
}


.photo-area{
    width: 100%;
    padding-bottom: 3rem;
}

.text-box{
    order: -1;
    width: 100%;
    font-size: 1.4rem;
}

.text-box p{
    margin-left: 0.3rem;
    line-height: 2;
}


h3{
    font-size: 2rem;
    padding-top: 1.5rem;
    margin-left: 0;
}

.sp-text{
    display: flex;
    flex-flow: column; 
}

.spp-text{
    order: 1;
    font-size: 1.6rem;
    margin-left: auto;
    margin-top: -3rem;
    padding: 1rem 0;
}

.chairman-image{
    height: auto;
    order: 2;
}

.small{
    font-size: 1.4rem;
    font-weight: 600;
}


.company-profile{
    margin: 0;
    font-size: 1.4rem;
}

.table{
    margin-top: 1.5rem;
    padding-bottom: 3rem;
}

.data{
    padding-top: 1rem;
}

    

th{
    width: 31.5rem;
    display: flex;
    flex-direction: column;
    border:none;
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #3A3333;
    font-size: 1.6rem;
}

td{
    width: 31.5rem;
    padding: 1.4rem;
}

.td-last{
    padding-top: 0.7rem;
}


.sp-br{
    display: inline;
}

.pc-br{
    display: none;
}

.pc-space{
    margin-left: 0;
}


}