@charset "UTF-8";

:root{
    /* カラー */
    --main-color:#A4AFE1;
    --base-color:#F7F7F8;
    --text-color:#848899;
    --border-color:#A4AFE1;
    --white:#ffffff;

    /* フォント */
    --font-family-base:"Oxanium";
    --font-size-base:1rem;
    --font-size-title:2.25rem;
    --font-size-xs:0.75rem;
    --font-size-sm:1.25rem;
    --font-size-lg:1.75rem;
    --font-size-xl:4.5rem;
    --font-weight-normal:400;
    --font-weight-medium: 600;
    --font-weight-bold:700;
    --line-height-base: 2;
    --line-height-heading: 1.5;
    --letter-spacing-base: 0.05em;

    /* 余白 */
    --section-padding-y: 100px;
    --section-padding-x: 120px;
    --container-width:50px;
    --like-container-width:30px;

    /* スライド */
    --slider-main:#848899;
    --section-padding: 2rem;
    --card-radius: 4px;

}

html {
    font-size: 100%; /* 1rem = 16px */
}
body{
    background-color: var(--base-color);
    color: var(--text-color);
    font-family: "Oxanium", "Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 2;
}

/* === PC - header - === */
.header_wrapper{
    background-color: var(--main-color);
    width: 100%;
    padding: 20px 120px;
    position: fixed;
}
.header_inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_log{
    width: 20px;
    height: auto;
}
.header_btn{
    width: 30px;
    color: var(--white);
}
.header_nav {
    background-color: var(--main-color);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    /* 最初は左側に隠す */
    transform: translateX(-100%);
    transition: transform 0.4s;
}

/* activeが付いたらメニューを表示 */
.header_nav.active {
    transform: translateX(0);
}
.header_container{
    width: 100%;
    padding: 20px 120px;
    text-align: end;
}
.nav_btn{
    width: 30px;
    height: 30px;
    color: var(--white);
}
.nav_list{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 120px;
}
.nav_item{
    color: var(--white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 30px;
}
.nav_item:last-of-type{
    margin-bottom: 0px;
}
.nav_item a {
  position: relative;
  text-decoration: none;
}
.nav_item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav_item a:hover::after {
  transform: scaleX(1);
}
.nav-sns-img{
    width: 50px;
    margin-top: 30px;
}
.sns_content{
    display: flex;
    align-items: flex-end;
}
/* テスト */
.nav-sns_list a{
    display: inline-flex;
  transition: transform 0.5s ease;
}
.nav-sns_list a:hover{
    /* transform: rotate(20deg); */
    transform: scale(1.3);
}
/* === SP - header - === */
@media screen and (max-width:900px){
    .header_wrapper{
        padding: 10px 30px;
    }
    .header_container{
        padding: 10px 30px;
    }
    .nav_list{
        padding: 10px 30px;
    }
}
@media screen and (max-width:500px){
    .nav-sns_list{
        display: flex;
        justify-content: space-between;
    }
    .nav-sns_list a {
        display: block;
        text-align: center;
    }
    .nav_item{
        font-size: var(--font-size-sm);
        margin-bottom: 15px;
    }
    .nav-sns-img{
        width: 30%;
        margin-top: 15px;
    }
    .sns_content-img{
        margin-top: 15px;
    }
    .sns_content,
    .nav-sns_list{
        display: block;
    }

}


/* === PC works_01 main ここから === */
.section--works_01{
    padding: 100px 120px 0px;
}
.section_title{
    margin: 30px 0px 32px;
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-bold);
}
.works_img{
    width: 50%;
}
.main-works{
    display: flex;
    justify-content: center;
}
.works_wrapper{
    background-color: var(--white);
    padding: var(--container-width);
    margin-top: 30px;
}
.website_block{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.website_textArea{
    width: 70%;
}
.content_title{
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    border-bottom: 2px solid #A4AFE1;
    height: fit-content;
}
.company_title{
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 25px;
}
.project{
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    margin-top: 10px;
}
.project:first-of-type{
    margin-top: 0px;
}
.project_title{
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    border-bottom: 2px solid #A4AFE1;
    width: fit-content;
    margin-bottom: 20px;
}
.project-overview,.project-purpose,.project-target,.project-clientRequest{
    margin-bottom: 50px;
}
/* === PC~スマホ main ここから === */
@media screen and (max-width:900px){
    .section--works_01{
        padding: 100px 60px 60px;
    }
}
@media screen and (max-width:760px){
    .content_title,
    .company_title,
    .project_title{
        font-size: var(--font-size-sm);
    }
    .website_textArea{
        width: 75%;
    }
}
@media screen and (max-width:600px){
    .section--works_01{
        padding: 100px 30px 60px;
    }
    .works_wrapper{
        padding: 30px;
    }
}
@media screen and (max-width:440px){
    .website_block{
        display: block;
    }
    .content_title{
        width: fit-content;
        margin-bottom: 20px;
    }
}

/* === FINAL DESIGN === */
.section--final_design{
   padding: var(--section-padding-y) var(--section-padding-x);
}
.section-final_title{
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 32px;
}
.mini_title{
    font-size: var(--font-size-base);
    margin-left: 10px;
}
.final_wrapper{
    background-color: var(--main-color);
    padding: 50px;
}
.final_title{
    color: var(--white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}
.design_inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}
.design_inner:last-of-type{
    margin-bottom: 0px;
}
.design_img{
    width: 20%;
}

/* === PC~スマホ FINAL DESIGN ここから === */
@media screen and (max-width:900px){
    .section--final_design{
        padding: 0px 60px 60px;
    }
}
@media screen and (max-width:760px){
    .final_title{
        font-size: var(--font-size-sm);
    }
    .design_inner{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-bottom: 30px;
        gap: 20px;
    }
    .design_img{
        width: 45%;
    }
}
@media screen and (max-width:440px){
    .section--final_design{
        padding: 0px 0px 60px;
    }
}

/* === WORKS === */
.section--works{
    background-color: var(--base-color);
    width: 100%;
    padding: 0px var(--section-padding-x) var(--section-padding-y);
}
.section-works_title{
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 32px;
}
.works_img{
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}
.works_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.875rem;
}
.works_list{
    background-color: var(--white);
    box-sizing: border-box;
    padding: 30px;
}
.works_info{
    text-align: center;
}
.works_txtArea{
    margin-top: 30px;
}
.works_title{
    background-color: var(--main-color);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
.works_category{
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    margin: 15px 0px;
    color: var(--main-color);
}
.works_customer,.works_description{
    font-weight: var(--font-weight-medium);
}
.works_attention{
    font-size: var(--font-size-xs);
    margin-top: 20px;
}

/* === PC~スマホ WORKS ここから === */
@media screen and (max-width:1000px){
    .section--works{
        padding: 0px 60px 60px;
    }
    .works_container{
        display: flex;
        justify-content: space-evenly;
        gap: 1.875rem;
        flex-wrap: wrap;
    }
    .works_list {
        width: 45%;
    }
    .works_img{
        width: 100%;
    }
    .works_title{
        font-size: var(--font-size-base);
    }
}
@media screen and (max-width:760px){
    .works_container{
        display: flex;
        justify-content: space-evenly;
        gap: 1.875rem;
        flex-wrap: wrap;
    }
    .works_list {
        width: 45%;
    }
    .works_img{
        width: 100%;
    }
    .works_title{
        font-size: var(--font-size-base);
    }
}
@media screen and (max-width:440px){
    .works_container{
        display: block;
    }
    .section--works{
        padding: 0px 30px 60px;
    }
    .works_list {
        width: 100%;
        margin-bottom: 20px;
    }
    .works_list:last-of-type{
        margin-bottom: 0px;
    }
}

/* === FOOTER === */
.footer-section{
    background-color: var(--main-color);
    padding: 30px 0px;
}
.copy{
    text-align: center;
    color: var(--white);
    font-size: var(--font-size-sx);
}

/* === TOP === */
.topBtn{
        display: block;
        background: url(../images/top_btn.png) no-repeat;
        background-size: 60px auto;
        background-position: 0 0;
        cursor: pointer;
        height: 62px;
        overflow: hidden;
        position: fixed;
        right: 5px;
        text-indent: -9999px;
        width: 63px;
        z-index: 100;
        bottom: 10px;

        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }
    .topBtn.show{
        opacity: 1;
        visibility: visible;
    }