/* -------------------- */
/* base */
/* -------------------- */
html{
    font-size: 62.5%;
}
body{
    font-size: 1.6rem;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    color: #333;
}
img,svg{
    width: 100%;
    vertical-align: bottom;
}
a{
    text-decoration: none;
    display: inline-block;
}
a:hover{
    opacity: .7;
    transition: .3s;
}
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
.section-wrapper{
    padding: 60px 0;
}
.flex-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content-wrapper{
    max-width: 1100px;
    padding: 0 30px;
    margin: 0 auto;
}
.section-title{
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 30px;
}
.link-btn{
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    display: block;
    /* padding: 12px 40px; */
    width: 160px;
    line-height: 36px;
    text-align: center;
    margin-top: 30px;
}
.gray-bg{
    background-color: #F0F0F0;
}
.lines{
    line-height: 2;
}


/* -------------------- */
/* header */
/* -------------------- */
.header{
    background-color: #000;
}
.site-title{
    width: 260px;
    position: fixed;
    top: 30px;
    left: 4vw;
    z-index: 1;
}
/* DIGSMILEロゴが黒に変更しない svcの利用方法？ */
.site-title.black{
    fill: #333;
    transition: fill .3s;
    /* color: #333; */
    /* background-color: #333; */
}
.header-nav{
    font-size: 2rem;
    font-weight: bold;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 36.1vw;
    text-align: center;
    padding: 120px 0 0;
    background-color: rgba(34, 34, 34, .95);
    z-index: 2;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
}
.nav-list{
    list-style: none;
}
.nav-item{
    margin-bottom: 30px;
}
.nav-item:first-of-type{
    margin-bottom: 40px;
}
.nav-item:last-of-type{
    margin-bottom: 0;
}
.header-nav a{
    color: #fff;
}

/* ハンバーガーボタン（メニューが開いていないとき） */
.burger-btn{
    display: flex;
    align-items: center;
    position: fixed;
    top: 38px;
    right: 4vw;
    z-index: 3;
}
.bar{
    display: block;
    background-color: #fff;
    height: 2px;
    width: 22px;
    border-radius: 1px;
}
.bar_top{
    transform: translateY(-4px);
    transition: transform .3s;
}
.bar_bottom{
    transform: translateY(4px);
    transition: transform .3s;
}
.menu{
    color: #fff;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    margin-left: 5px;
    font-size: 1rem;
}

/* ハンバーガーボタン（メニューが開いたとき） */
.bar.cross.bar_top{
    transform: translateY(2px)rotate(30deg);
    transition: trasnform .3s;
}
.bar.cross.bar_mid{
    opacity: 0;
    transition: transform.3s;
}
.bar.cross.bar_bottom{
    transform: translateY(-2px)rotate(-30deg);
    transition: trasnform .3s;
}

/* ハンバーガーメニューが開いたとき */
body.noscroll{
    overflow: hidden;
}
.header-nav.open{
    transform: translateX(0);
    opacity: 1;
    transition: transform .3s, opacity .3s;
}
.burger-musk{
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}
.burger-btn.black .bar{
    background-color: #333;
    transition: background-color .3s;
}
.burger-btn.black .menu{
    color: #333;
    transition: color .3s;
}


/* -------------------- */
/* fv */
/* -------------------- */
.fv{
    height: 100vh;
}
.fv::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #222222;
    z-index: -1;
}
.kv-wrapper{
    background-image: url(../img/kv-img.svg);
    background-size: cover;
    background-position: center 0;
    /* max-width: 1100px; */
    width: 76.4%;
    height: 86.5%;
    position: relative;
}
.copy-wrapper{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%,-50%);
    color: #fff;
}
.copy_jp{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.copy_company{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.main-copy{
    font-size: 7.2rem;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

/* -------------------- */
/* section_about us */
/* -------------------- */
.section-wrapper{
    padding-top: 120px;
    position: relative;
}
.section-wrapper:first-of-type::after{
    content: "";
    width: 100vw;
    height: 160px;
    display: block;
    background-color: #F0F0F0;
    position: absolute;
    bottom: 0;
    z-index: -1;
}
.about-bg{
    background-image: url(../img/about-img.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 110px 0 110px 50px; 
    /* ↑*about-contentの位置を調整 */
}
.about-content{
    background-color: rgba(255, 255, 255, .95);
    max-width: 590px;
    padding: 50px 30px;
    box-sizing: border-box;
}

/* -------------------- */
/* section_works */
/* -------------------- */
.l-section-wrapper{
    padding: 60px 0;
}
.l-content-wrapper{
    max-width: 1100px;
    padding: 0 30px;
    margin: 0 auto;
}
.s-section-wrapper{
    width: 47.3%;
}
.section-img-wrapper{
    margin-bottom: 30px;
}

/* -------------------- */
/* section_topics */
/* -------------------- */
.topics-list{
    list-style: none;
    max-width: 700px;
}
.topics-item{
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 32px;
    padding-bottom: 12px;
}
.topics-item:last-of-type{
    margin-bottom: 0;
}
.topics-date{
    font-size: 1rem;
    font-weight: bold;
    color: #CECECE;
    /* padding-bottom: 13px; */
}
.topics-title{
   font-size: 1.4rem;
   font-weight: bold; 
   color: #333;
   margin-top: 13px;
}
.ml-auto{
    margin-left: auto;
}

/* -------------------- */
/* section_contact */
/* -------------------- */
.section-wrapper:last-of-type{
    padding-bottom: 120px;
}
.contact-content{
    /* flex-basis: 40%; */
    width: 40%;
    /* margin-right: 80px; */
}
.contact-img-wrapper{
    width: 52.7%;
}

/* -------------------- */
/* footer */
/* -------------------- */
.footer{
    height: 50px;
    background-color: #525252;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
/* -------------------- */
/* base_sp */
/* -------------------- */
body{
    font-size: 1.4rem;
}
.section-wrapper{
    padding: 40px 0;
}

/* -------------------- */
/* header_sp */
/* -------------------- */
.site-title{
    width: 180px;
    top: 21px;
    /* margin-left: 4vw; */
}
.burger-btn{
    top: 28px;
    margin-right: 4vw;
}
.header-nav{
    width: 67.7vw;
}

/* -------------------- */
/* fv_sp */
/* -------------------- */
.copy-wrapper{
    right: -15%;
    transform: translate(0, -50%);
}
.copy_jp{
    font-size: 1.6rem;
}
.copy_company{
    font-size: 1.6rem;
}
.main-copy{
    font-size: 5.6rem;
}

/* -------------------- */
/* section_about us_sp */
/* -------------------- */
.section-wrapper:first-of-type{
    padding: 80px 0 4vw;
}
.content-wrapper.about-bg{
    /* width: 100%; */
    padding: 50px 4vw;
}
.about-content{
    margin: 0 auto;
}

/* -------------------- */
/* section_works_sp */
/* -------------------- */
.l-content-wrapper{
    padding: 40px 0;
}
.l-content-wrapper{
    flex-direction: column;
    align-items: flex-start;
    padding: 0 4vw;
}
.s-section-wrapper{
    width: 520px;
    max-width: 100%;
}
.s-section-wrapper:first-of-type{
    margin-bottom: 80px;
}

/* -------------------- */
/* section_topics_sp */
/* -------------------- */
.topics-title{
    font-size: 1.2rem;
}
.topics-item{
    margin-bottom: 20px;
}
.ml-auto{
    margin-left: 0;
}

/* -------------------- */
/* section_contact_sp */
/* -------------------- */
.content-wrapper{
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 0 4vw;
}
.contact-content{
    width: 440px;
    max-width: 100%;
    margin-top: 30px;
}
.contact-img-wrapper{
    width: 520px;
    max-width: 100%;
}
.section-wrapper:last-of-type{
    padding-bottom: 40px;
}


}
