@charset "utf-8";


.kv__copy{
    padding-bottom: 230px;
}

.copy_sub{
    text-align: center;
    margin: 0 30px;
}

.copy_sub img{
    max-width: 650px;
}

.copy_sub img.sp_none{
    display: inline;
}

.copy_sub img.pc_none{
    display: none;
}

.lead__txt{
    padding-bottom: 76px;
}

section#service-link{
    padding-top: 140px;
}

#service .service-block{
    max-width: 1200px;
    align-items: flex-start;
}

#service .service-block li{
    width: calc((100% - 30px)/ 3);
    border-radius: 46px;
    transition: all 0.4s ease;
    cursor: pointer;
}

#service .service-block li.service-block01,
#service .service-block li:nth-child(2n+1),
#service .service-block li.service-block02,
#service .service-block li:nth-last-child(-n+2),
#service .service-block li:nth-child(2n){
    padding: 40px;
    border: 0;
}

#service .service-block li:not(:nth-of-type(3n)){
    margin-right: 15px;
}

#service .service-block li:nth-of-type(n+3){
    margin-top: 15px;
}

#service .service-block li:hover{
    background: #f8f6f4;
}

#service .service-block li:hover .more{
    color: #eb4e42;
}

.service-block__figure{
    padding-bottom: 26px;
}

.service-block__ttl{
    padding-bottom: 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#service .service-block .category{
    display: flex;
    justify-content: center;
    line-height: 1em;
    padding: 16px 0 24px;
}

#service .service-block li span{
    position: static;
    width: auto;
    height: auto;
    border: 1px solid #eb4e42;
    font-size: 14px;
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 0.1em;
}

#service .service-block li span:nth-of-type(n+2){
    margin-left: 7px;
}

#service .service-block li span.business{
    background: #eb4e42;
    color: #fff;
}

#service .service-block li span.personal{
    color: #eb4e42;
}

#service .service-block li .more{
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.2s ease;
}

.service-block__txt {
    overflow: hidden;
    max-height: 3.6em;
    line-height: 1.8;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.service-block li.is-open .service-block__txt {
    max-height: 500px;
    opacity: 1;
}

#about{
    max-width: 1080px;
}

#about .title,
#history .title{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#about h2,
#about h3,
#history h2{
    padding-bottom: 70px;
    text-align: center;
}

#about h3{
    line-height: 1.8em;
}

#about h3 .pc_none{
    display: none;
}

#about .about-block__l{
    padding: 0;
    padding-right: 9%;
    width: 58%
}

#about .about-block__l p{
    line-height: 2em;
    text-align: justify;
}

#about .about-block__r{
    width: 42%
}

#about .about-block__r p{
    width: 100px;
    height: 40px;
    background: #eb4e42;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-weight: bold;
    font-family: "Josefin Sans";
    letter-spacing: 0.06em;
    font-size: 13px;
    margin-bottom: -5px;
    margin-left: 12px;
    padding-bottom: 10px;

    clip-path: polygon(
    0 0,        /* 左上（そのまま） */
    100% 6px,  /* 右上を下にずらす */
    100% 100%,  /* 右下 */
    0 100%      /* 左下 */
    );
}

#about .about-block__r span{
    width: 100%;
    height: 1px;
    background: #eb4e42;
    display: block;
}

#about .about-block__r span{
    margin-bottom: 4px;
}

#about .about-block__r dl{
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eb4e42;
    border-bottom: 1px solid #eb4e42;
    padding: 28px 0;
}

#about .about-block__r dt,
#about .about-block__r dd{
    line-height: 32px;
}

#about .about-block__r dt:not(:first-of-type),
#about .about-block__r dd:not(:first-of-type){
    margin-top: 28px;
    padding-top: 28px;
    background-image: repeating-linear-gradient(90deg, #909090, #909090 2px, transparent 2px, transparent 6px);
    background-position: left top;
    background-repeat: repeat-x;
    background-size: 100% 1px;
}

#about .about-block__r dt{
    width: 80px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

#about .about-block__r dd{
    width: calc(100% - 80px);
    letter-spacing: 0.1em;
    text-align: justify;
}

.about-block__profile{
    padding-top: 30px;
}

.about-block__profile__name span{
    font-family: "Josefin Sans";
}

#history{
    background: #f8f6f4;
    background-image: url(../images/top/profile_bg.png);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 120px 30px 100px;
}

#history .history-block__l img{
    width: 200px;
    height: 200px;
}

#history .history-block__r dl dt{
    color: #eb4e42;
}


@media screen and (max-width: 820px){
    
    #history .history-block{
        justify-content: center;
    }
    
    #history .history-block__l img{
        display: block;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    
    #history .history-block__r{
        margin-top: 40px;
    }
}

@media screen and (max-width: 640px){
    
    .fv{
        height: 100lvh;
    }
    
    .kv__copy{
        padding-bottom: 70px;
    }
    
    section#service-link{
        padding-top: 100px;
    }
    
    .copy_sub img{
        max-width: 326px;
    }

    .copy_sub img.pc_none{
        display: inline;
    }

    .copy_sub img.sp_none{
        display: none;
    }
    
    #service .service-block li.service-block01,
    #service .service-block li:nth-child(2n+1),
    #service .service-block li.service-block02,
    #service .service-block li:nth-last-child(-n+2),
    #service .service-block li:nth-child(2n){
        padding: 30px;
    }
    
    #service .service-block li{
        width: 100%;
        margin-bottom: 20px;
        position: relative;
    }
    
    #service .service-block li:not(:nth-of-type(3n)){
        margin-right: 0;
    }
    
    #service .service-block li:nth-of-type(n+3){
        margin-top: 0;
    }
    
    #service .service-block li:not(:first-of-type)::after{
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        border-bottom: 1px dotted #000;
        position: absolute;
        top: -10px;
        left:0;
    }
    
    #service .service-block li span{
        display: block;
    }
    
    #about h2,
    #about h3,
    #history h2{
        padding-bottom: 50px;
    }
    
    #about h3{
        padding: 0 30px 50px;
    }
    
    #about{
        flex-direction: column;
    }
    
    #about h3 .pc_none{
        display: block;
    }
    
    #about .about-block__l{
        width: 100%;
        padding: 0 30px;
    }
    
    #about .about-block__r{
        width: 100%;
        padding: 40px 30px;
    }
    
    #about .about-block__r dl{
        border-bottom: 0;
    }
    
    .footer-logo {
        margin-right: 0;
    }
}