@charset "utf-8";
/*

theme Name: sowell
Author: Yoshi
Description: original theme
version： 1.0.0

*/



:root {
    --color_base: #fff;
    --color_sub: #eee;
    --color_gray: #555;
    --color_gold: #ccad00;
    --width: 600px;
}


html { 
    font-size: 62.5%;
}


body {
    margin: 0;
    padding: 0;
    color: var(--color_gray);
    background-color: var(--color_base);
    font-family: '游明朝','Yu Mincho',YuMincho,'Noto Serif JP','Hiragino Mincho Pro',serif;
}

/*見出しを全て太字で表示するように指定*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    font-size: 2.0rem;
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.5);
}

p {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
}

/*画像の最大幅を画面のサイズの最大幅に設定*/

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*枠の確認用の色分け*/

header {
    background-color: rgba(255, 255, 255, 0);
}

#header_inner {
    background-color: rgba(255, 255, 255, 0);
}

#container {
    background-color: rgba(0, 0, 0, 0);
}

#contents {
    background-color: rgba(0, 0, 0, 0);
}

footer {
    background-color: rgba(0, 0, 0, 0);
}

#footer_inner {
    background-color: rgba(0, 0, 0, 0);
}





/*************************
*
* ヘッダー
*
*************************/

#header_inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0);
    color: var(--color_gray);
    z-index: 100;
}

#nav_toggle {
    display: block;
    position: relative;
    width: 7.0rem;
    height: 5.8rem;
    margin: 4.0rem 0 0 1.0rem;
    float: left;
    transform: rotate(-90deg);
    z-index: 2;
}

    #nav_toggle i {
        display: block;
        width: 100%;
        height: 0.4rem;
        background-color: var(--color_gold);
        transition: all .5s;
    }

        #nav_toggle i:nth-child(1) {
            width: 66%;
            margin: 0 auto;
            animation: navToggle1 2.8s linear 1.8s 2 normal backwards;
        }

        #nav_toggle i:nth-child(2) {
            margin: 1.4rem auto 0 auto;
            animation: navToggle2 2.8s linear 1.8s 2 normal backwards;
        }

        #nav_toggle i:nth-child(3) {
            width: 66%;
            margin: 1.4rem auto 0 auto;
            animation: navToggle3 2.8s linear 1.8s 2 normal backwards;
        }

        #nav_toggle i:nth-child(4) {
            width: 33%;
            margin: 1.4rem auto 0 auto;
            animation: navToggle4 2.8s linear 1.8s 2 normal backwards;
        }

        @keyframes navToggle1{
            0%{ width: 66%; }
            15%{ width: 33%; }
            30%{ width: 66%; }
            45%{ width: 100%; }
            60%{ width: 66%; }
            100%{ width: 66%; }
        }
        @keyframes navToggle2{
            0%{ width: 100%; }
            15%{ width: 66%; }
            30%{ width: 33%; }
            45%{ width: 66%; }
            60%{ width: 100%; }
            100%{ width: 100%; }
        }
        @keyframes navToggle3{
            0%{ width: 66%; }
            15%{ width: 100%; }
            30%{ width: 66%; }
            45%{ width: 33%; }
            60%{ width: 66%; }
            100%{ width: 66%; }
        }
        @keyframes navToggle4{
            0%{ width: 33%; }
            15%{ width: 66%; }
            30%{ width: 100%; }
            45%{ width: 66%; }
            60%{ width: 33%; }
            100%{ width: 33%; }
        }

    #nav_toggle.show i:nth-child(1) {
        opacity: 0;
    }

    #nav_toggle.show i:nth-child(2) {
        width: 60% !important;
        height: 0.2rem;
        transform: translateY(0.8rem) rotate(-45deg);
    }

    #nav_toggle.show i:nth-child(3) {
        width: 60% !important;
        height: 0.2rem;
        transform: translateY(-0.8rem) rotate(45deg);
    }

    #nav_toggle.show i:nth-child(4) {
        opacity: 0;
    }


#nav_bg {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
}
#nav_bg.show {
    display: block;
}

#header_menu {
    position: fixed;
    left: 0;
    bottom: unset;
    width: 30.0rem;
    height: 100%;
    padding: 10.0rem 0 0 2.4rem;
    background-color: var(--color_base);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.7s;
}

    #header_menu > a {
        text-align: left;
        line-height: 5.0rem;
        float: none;
    }

#header_menu.show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.header_icon{
    margin-top: 5.0rem;
}





/*************************
*
* メインコンテンツ
*
*************************/

#container{
    position: relative;
    max-width: 80.0rem;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

#top_img{
    width: 90%;
    height: calc(60vh - 8.0rem);
    margin: 15vh 5% 15vh 5%;
}

#scroll{
    width: 10.0rem;
    height: 8.0rem;
    margin: 0 auto 10.0rem auto;
}

#scroll p{
    text-align: center;
    letter-spacing: 0.2rem;
    margin: 0;
}

#arrow_box{
    position: relative;
    width: 2.0rem;
    height: auto;
    margin: 0 auto;
}
.scroll_arrow{
    position: absolute;
    border-bottom: solid 1px var(--color_gray);
    border-right: solid 1px var(--color_gray);
    width: 1.8rem;
    height: 1.8rem;
    transform: translate(0rem, 0rem) rotate(45deg);
}
.scroll_arrow1{
    animation: scrollArrow 3s linear 0s infinite normal both;
}
.scroll_arrow2{
    animation: scrollArrow 3s linear 1.5s infinite normal both;
}
@keyframes scrollArrow{
    0%{ margin-top: -1.0rem; opacity: 0; }
    50%{ margin-top: 1.0rem; opacity: 1; }
    100%{ margin-top: 3.0rem; opacity: 0; }
}
/*@keyframes scrollArrow2{
    0%{ margin-top: -4.0rem; opacity: 0; }
    50%{ margin-top: -2.0rem; opacity: 1; }
    100%{ margin-top: 0rem; opacity: 0; }
}*/





/******** ブロック *********/

.block{
    width: 90%;
    height: auto;
    margin: 3.0rem 0;
    padding: 4.0rem 5%;
}

.flowroot{
    display: flow-root;
    padding: 0 5%;
}

h2{
    font-size: 2.4rem;
    letter-spacing: 0.2rem;
}

.h2_sub{
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
    margin: 0;
}

.h2_sub::after{
    content: "";
    display: block;
    width: 6.0rem;
    height: 0.4rem;
    background-color: var(--color_gray);
    margin: 1.0rem 0 3.0rem 0;
}

h3{
    font-size: 2.2rem;
    letter-spacing: 0.2rem;
    margin-top: 4.0rem;
}



/*** ABOUT ***/

.about_prof{
    display: inline-block;
    width: 100%;
}

.about_img{
    width: 60%;
    height: calc(var(--width) * 0.5);
    margin: 1.0rem 0;
    float: left;
}

.about_txt{
    width: calc(40% - 0.8rem);
    padding: 0.8rem 0 0.8rem 0.8rem;
    float: left;
}
.about_txt p{
    line-height: 3.0rem;
    margin: 0;
}
.about_icon{
    margin-top: 2.0rem;
}



/*** PARTNERS ***/

#partners h3{
    margin-top: 10.0rem;
}
#partners h3::after{
    content: "";
    display: block;
    width: 4.0rem;
    height: 0.4rem;
    background-color: var(--color_gray);
    margin: 0rem 0 2.0rem 0;
}
.partners_blocks{
    margin-bottom: 0rem;
}
.partners_block{
    display: flow-root;
}
.partners_img{
    width: 45%;
    height: calc(var(--width) * 0.45);
    float: left;
}
.partners_txt{
    width: calc(100% - 1.6rem);
    padding: 0.8rem 0 0.8rem 1.6rem;
    float: left;
}
.partners_txt p{
    margin: 0;
    margin-right: 2rem;
    line-height: 45px;
}
.partners_link{
    display: flow-root;
    margin-bottom: 1.0rem;
}
.partners_link img{
    width: 2.0rem;
    height: 2.0rem;
    margin: 0 1.0rem 0 0;
    float: left;
}
.partners_link a{
    width: calc(100% - 3.0rem);
    font-size: 1.8rem;
    line-height: 2.0rem;
    overflow-wrap: break-word;
    float: left;
}/*
.partners_icon{
    margin-top: 1.0rem;
}*//*
.partners_block_R{
    margin: -5.0rem 0 5.0rem 0;
}
.partners_block_R .partners_img{
    float: right;
}
.partners_block_R .partners_txt{
    margin-top: calc(var(--width) * 0.45 - 10.0rem);
    padding: 0.8rem 1.6rem 0.8rem 0;
    float: right;
    text-align: right;
}*/




/*** casestudy ***/

#casestudy{
    display: flow-root;
}

#casestudy img{
    margin: 1.0rem 0;
}

.cs_txt{
    display: inline-block;
    margin-bottom: 10.0rem;
    line-height: 3.6rem;
}

.mt-40{
    margin-top: -40% !important;
}

.mt-30{
    margin-top: -30% !important;
}

.mb0{
    margin-bottom: 0 !important;
}

.etc{
    display: inline-block;
    width: 100%;
    text-align: right;
}





/*** info ***/

.link_form{
    width: 2rem !important;
    height: 2rem !important;
}





/*** 共通 ***/

.default_txt{
    line-height: 3.6rem;
    margin: 3.0rem 0;
}

.icon{
    display: inline-block;
    width: 4.0rem;
    height: 4.0rem;
    margin: 0 2.0rem 0 0;
    filter: invert(30%);
}

.to_top{
    display: inline-block;
    width: 100%;
}
.to_top div{
    border-bottom: solid 1px var(--color_gray);
    border-right: solid 1px var(--color_gray);
    width: 1.8rem;
    height: 1.8rem;
    float: right;
    transform: rotate(-135deg);
}

.font_size22{
    font-size: 2.2rem;
    letter-spacing: 0.2rem;
}

.img_center{
    width: 50%;
    height: calc(var(--width) * 0.6);
    margin: 2.0rem 25%;
}

.img_100{
    width: 100%;
    height: auto/*calc(var(--width) * 0.6)*/;
    margin: 2.0rem 0;
}
.img_60{
    width: 60%;
    height: auto;
    margin: 2.0rem 20%;
}

.w48{
    width: 48%;
}
.w50{
    width: 50%;
}
.w60{
    width: 60%;
}
.w75{
    width: 75%;
}
.w85{
    width: 85%;
}

.mt2rem{
    margin-top: 2.0rem !important;
}
.mt10{
    margin-top: 10% !important;
}
.mt20{
    margin-top: 20% !important;
}
.mt-30{
    margin-top: -30% !important;
}








/*** 背景 ***/

#bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
}
#bg div{
    width: 500%;
    background-color: var(--color_sub);
    transform: translateX(-50%) rotate(8deg);
}
#bg div:nth-child(1){
    height: 60vh;
    margin-top: 40vh;
}
#bg div:nth-child(2){
    height: 240vh;
    margin-top: 240vh;
}
#bg div:nth-child(3){
    height: 100vh;
    margin-top: 320vh;
}
#bg div:nth-child(4){
    height: 160vh;
    margin-top: 160vh;
}
#bg div:nth-child(5){
    height: 240vh;
    margin-top: 320vh;
}
#bg div:nth-child(6){
    height: 80vh;
    margin-top: 200vh;
}
#bg div:nth-child(7){
    height: 320vh;
    margin-top: 200vh;
}









.hide{
    display: none;
}
.m0{
    margin: 0;
}
.left{
    float: left;
}
.right{
    float: right;
}













@media (max-width: 399px) {

    html {
        font-size: 50%;
    }

    
    .partners_link a{
        font-size: 1.6rem;
    }
}


























.temp_home{
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.temp_home h1{
    display: block;
    position: absolute;
    bottom: 0%;
    right: 0%;
    margin: 0;
    font-family: 'Kalam', cursive;
    font-size: 20px;
    transform: translate(-50%, -50%);
}

.temp_home p{
    display: inline;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
    transform: translate(-50%, -50%);
}

.temp_home div{
    position: absolute;
    width: 200%;
    height: 100%;
    background-color: #eee;
    transform: translate(-10%, 75%) rotate(8deg);
}