@charset "UTF-8";
/* CSS Document */

html{
	font-size:62.5%; /*16px×62.5%=10px*/
	overflow: auto;
}
body{
    width: 100%;
    color: #333;
    font-size: 1.4rem;
    font-family: 'Montserrat', 'Noto Sans JP','Noto Serif JP', serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 2;
}
img{
	max-width: 100%;
	height: auto;
}
a{
	color: #333;
	text-decoration-line: none;
}

body > div{
	width: 100%;
	height: 100%;
}
/*--------------------------
*utility & all section
*------------------------*/
.wrapper{
    box-sizing: border-box;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
}
.center{
    text-align: center;
}
.br-sp{
    display: none;
}
.section{
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-menu{
    height: 40px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);

}
h2{
    font-size: 3rem;
    line-height: 1;
    font-weight: 200;

}
.section-about{
    width: 100%;
    padding-left: 80px;
}
.works,.contact{
    width: 100%;
    background-color: #F0F0F0;
}

/*---------------arrow-----------------*/
.arrow-inner{
    position: relative;
    width: 1px;
    height: 150px;
    background-color: #ccc;
    overflow: hidden;
}

.arrow::before {
position: absolute;
content: '';
width: 1px;
height: 150px;
top: -130px;
background-color: #000;
-webkit-animation: arrow 2s ease 0s infinite normal;
animation: arrow 2s ease 0s infinite normal;
}

@keyframes arrow {
    0% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }

    60% {
        -webkit-transform: translate3d(-50%, 130px, 0);
        transform: translate3d(-50%, 130px, 0);
    }

    100% {
        -webkit-transform: translate3d(-50%, 130px, 0);
        transform: translate3d(-50%, 130px, 0);
    }
    }
/*---------------/arrow-----------------*/

/*-------------pagetop btn--------------*/
.page-top {
    position: fixed;
    bottom: 80px;
    right: 80px;
    font-size: 1.2rem;
    z-index: 10;
}
.page-top a {
    text-decoration: none;
    color: #333;
    width: 70px;
    padding: 10px 0;
    text-align: center;
    display: block;
    border-bottom: solid 2px #333;

}
.page-top a:hover {
    text-decoration: none;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
    transition: 0.3s;
}
/*-------------/pagetop bun--------------*/

/*--------------------------
 *header
 *------------------------*/
.header{
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
}
.header-logo{
    width: 40px;
    height: 40px;
}
/*--navigation--*/
.navigation{
    font-size: 1.4rem;
}
.navigation a{
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
}
.navigation a:last-of-type{
    padding-right: 0;
}
.navigation a:hover{
    background-origin: border-box;
    background-image: url(../img/wave.jpg);
    background-repeat: no-repeat;
    background-position: center 24px;

}
.navigation a:last-of-type:hover{
    background-position: 12px 24px;

}
/*--------------------------
*top
*------------------------*/
.top{
    position: relative;
    height: 620px;
    background-image: url(../img/top-image.jpg);
    background-repeat: no-repeat;
    background-position: right 130px;
    margin-top: 20px;
    margin-bottom: 60px;
    padding-top: 0;

}
.top-box{
    position: absolute;
    box-sizing: border-box;
    width: 410px;
    height: 410px;
    background-color: rgba(103,103,103,0.8);
    text-align: center;
    padding: 100px 80px;
    color: #fff;
}
.top-title{
    font-size: 2.2rem;
    padding-top: 40px;
    font-weight: 200;
}
.top-url{
    font-size: 1.4rem;
    font-weight: 200;
}
.message{
    position: absolute;
    height: 380px;
    writing-mode: vertical-rl;
    right: 60px;
    top: 40px;
    font-size: 2rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
}
small{
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 0;
    font-size: 1rem;
    text-align: right;
    padding-right: 20px;
}
/*-------arrow-------*/
.top .arrow-inner{
    top: 600px;
    left: 200px;
}
/*-------/arrow------*/


/*--------------------------
*works
*------------------------*/
.works{
    height: 440px;
}
.works-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.works-detail{
    position: relative;
    width: 46%;
    height: 46%;
    margin-bottom: 60px;
    overflow: hidden;
}
.mask {
	width: 100%;
	height:	100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;	/* マスクを表示しない */
	background-color:rgba(0,0,0,0.8);
	-webkit-transition:	all 0.6s ease;
	transition:	all 0.6s ease;
}
.works-detail:hover .mask {
	opacity: 1;	/* マスクを表示する */
	padding-top: 40px;	/* ホバーで下にずらす */
}
.caption{
    color: #fff;
    padding: 0px 40px;
    box-sizing: border-box;
}
.caption span{
    display: block;
}

.number{
    font-size: 4.8rem;
    font-weight: 600;
}
.subject{
    font-size: 1.2rem;
    padding-bottom: 14px;
}
.url{
    font-size: 1rem;
}
.viewmore{
    text-align: right;
    padding-top: 40px;
}

/*-------modal------*/
.modal-wrapper {
    z-index: 100;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 10px;
    text-align: center;
}

.modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: "";
}

.modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 40;
    position: relative;
    max-width: 80%;
    padding: 50px;
    border-radius: 2px;
    background-color:rgba(0,0,0,0.9);
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    vertical-align: middle;
}

.modal-wrapper .modal-window .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .2);
}
.modal-content{
    display: flex;
}
.modal-content_text{
    width: 300px;
    color: #fff;
    text-align: left;
    padding-right: 40px;

}
.modal-content_text .url{
    color: #fff;
    cursor: pointer;
}
.fa-external-link-alt{
    padding-left: 10px;
}
.modal-content span{
    display: block;
}
.tool{
    padding-top: 40px;
    padding-bottom: 40px;
}
.modal-content img{
    width: 550px;
}
.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    color: #95979c !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
}

.modal-wrapper .modal-close:hover {
    color: #2b2e38 !important;
}
/*-------/modal------*/


/*-------arrow-------*/
.works .arrow-inner{
    top: 60px;
    left: 520px;
}
/*-------/arrow------*/

/*--------------------------
*profile
*------------------------*/
.profile{
    height: 520px;
    width: 100%;
}
.profile-detail{
    position: relative;
    box-sizing: border-box;
    background-color: rgba(103,103,103,0.8);
    width: 80%;
    padding: 80px 60px 40px;
    color: #fff;
    top: 100px;
    margin: 0 auto 0 0;
}
.profile-detail span{
    display: block;
}
.title-name{
    line-height: 1;
}
.name{
    font-size: 2.4rem;
    padding-bottom: 20px;
}
.profile-img{
    position: absolute;
    width: 248px;
    height: 248px;
    background-image: url(../img/yumico.JPG);
    background-size: 170%;
    background-position: -90px -30px;
    left: 63%;
    z-index: 1;
}
.sns{
    position: relative;
    top: 110px;
    left: 60px;
    z-index: 1;
}
.sns a{
    padding-right: 20px;
}
/*--------------------------
*contact
*------------------------*/
.contact-form{
    padding-top: 60px;
    margin: 0 auto;
}
.form-item{
    display: flex;
    justify-content: center;
}
.form-title{
    width: 160px;
}
.form-detail{
    width: 380px;
}
.form-parts{
    -webkit-appearance:none;
	appearance:none;
    width: 380px;
    border: none;
    margin-bottom: 20px;
}
.form-parts__text{
	width: 100%;
    padding: 10px;
    font-size: 1.5rem;
}
.caution{
    color: red;
    padding-left: 3px;
    font-size: 2rem;
    line-height: 1;
}
.caution-text{
    display: inline-block;
    font-size: 1.1rem;
    color: rgb(88, 88, 88);
    display: flex;
    justify-content: center;
}
.btn-submit{
    -webkit-appearance:none;
    appearance:none;
    padding: 14px 50px;
    background: #efefef;
    border: none;
    border-radius: .5rem;
    color: #444;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    text-align: center;
    outline: none;
    cursor: pointer;
    margin-top: 30px;
    transition: .2s ease-in-out;
    box-shadow: -6px -6px 14px rgba(255, 255, 255, .7),
                -6px -6px 10px rgba(255, 255, 255, .5),
                6px 6px 8px rgba(255, 255, 255, .075),
                6px 6px 10px rgba(0, 0, 0, .15);
}
.btn-submit:hover {
box-shadow: -2px -2px 6px rgba(255, 255, 255, .6),
            -2px -2px 4px rgba(255, 255, 255, .4),
            2px 2px 2px rgba(255, 255, 255, .05),
            2px 2px 4px rgba(0, 0, 0, .1);
}
.btn-submit:active {
box-shadow: inset -2px -2px 6px rgba(255, 255, 255, .7),
            inset -2px -2px 4px rgba(255, 255, 255, .5),
            inset 2px 2px 2px rgba(255, 255, 255, .075),
            inset 2px 2px 4px rgba(0, 0, 0, .15);
}

@media screen and (max-width: 768px){
    body{
        font-size: 1.2rem;
    }

    /*--------------------------
    *utility & all section
    *------------------------*/
    .wrapper{
        max-width: 680px;
    }
    .section{
        padding-top: 100px;
        padding-bottom: 100px;
    }

    h2{
        font-size: 2.6rem;
    }
    .br-sp{
        display: block;
    }
    .section-about{
        padding-left: 10px;
    }

    /*---------------arrow-----------------*/
    .arrow-inner{
        height: 100px;

    }
    .arrow::before {
        height: 140px;
    }

    /*---------------/arrow-----------------*/

    /*-------------pagetop bun--------------*/
    .page-top {
        bottom: 40px;
        right: 20px;
        font-size: 1.1rem;
        line-height: 1.7;
    }
    .page-top a {
        width: 44px;
        padding: 6px 0;
        background-color: rgba(255, 255, 255, .2);
        border-bottom: 1px solid;
    }
    /*-------------/pagetop bun--------------*/

    /*--------------------------
    *top
    *------------------------*/
    .top{
        height: 440px;
        background-size: 70%;
        background-position: 184px 100px;
        padding-top: 0;
    }
    .top-box{
        width: 280px;
        height: 280px;
        padding: 60px 20px;
    }
    .logo{
        width: 80px;
        height: auto;
    }
    .top-title{
        font-size: 1.6rem;
        padding-top: 30px;
    }
    .top-url{
        font-size: 1.2rem;
    }
    .message{
        height: 360px;
        top: 36px;
        font-size: 1.6rem;
    }
    /*-------arrow-------*/
    .top .arrow-inner{
        top: 440px;
        left: 100px;
    }
    /*-------/arrow------*/

    /*--------------------------
    *works
    *------------------------*/
    .works{
        height: 300px;
    }
    .works-detail{
        margin-bottom: 40px;
    }
    .mask {
        opacity: 1;
        background-color:rgba(0,0,0,0.7);
    }
    .caption{
        padding: 0px 30px;
    }
    .number{
        font-size: 4.4rem;
    }
    .subject{
        font-size: 1.1rem;
        padding-bottom: 10px;
    }
    .url{
        font-size: 0.8rem;
    }
    .viewmore{
        padding-top: 20px;
    }

    /*-------modal------*/
    .modal-wrapper .modal-window {
        max-width: 90%;
        padding: 40px;
    }
    .modal-content_text{
        padding-right: 30px;
    }
    .fa-external-link-alt{
        padding-left: 6px;
    }
    .tool{
        padding-top: 30px;
        padding-bottom: 30px;
        font-size: 1rem;
    }
    .modal-content img{
        width: 300px;
    }
    /*-------/modal------*/

    /*-------arrow-------*/
    .works .arrow-inner{
        display: none;
    }
    /*-------/arrow------*/

    /*--------------------------
    *profile
    *------------------------*/
    .profile{
        height: 476px;
    }
    .profile-detail{
        padding: 80px 40px 40px;
        top: 80px;
    }
    .name{
        font-size: 2.2rem;
    }
    .profile-img{
        width: 200px;
        height: 200px;
        background-position: -90px -20px;
        right: 0;
    }
    .sns{
        top: 90px;
        left: 40px;
    }
    .sns a{
        padding-right: 20px;
    }
    /*--------------------------
    *contact
    *------------------------*/
    .contact-form{
        padding-top: 40px;
    }
    .form-title{
        width: 130px;
    }
    .form-detail{
        width: 300px;
    }
    .form-parts{
        width: 100%;
        margin-bottom: 18px;
    }
    .form-parts__text{
        padding: 6px 10px;
        font-size: 1.2rem;
    }
    .caution{
        padding-left: 2px;
        font-size: 1.8rem;
    }
    .caution-text{
        font-size: 1rem;
    }
    .btn-submit{
        padding: 10px 44px;
        font-size: 1.2rem;
        letter-spacing: 0.2rem;
        margin-top: 24px;
    }
}

@media screen and (max-width: 414px){
    html{
        overflow-x: hidden;
    }
    /*--------------------------
    *utility & all section
    *------------------------*/
    .wrapper{
        max-width: 371px;
        padding-left: 0;
    }
    .section{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    h2{
        font-size: 2.4rem;
    }
    .section-menu{
        height: 30px;
    }
    .section-about{
        padding-left: 0;
    }
    /*-------------pagetop bun--------------*/

    #page-top{
        bottom: 20px;
        right: 20px;
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 2px;

    }
/*-------------/pagetop bun--------------*/
    /*--------------------------
     *header
     *------------------------*/
    .header{
        padding-right: 0;
    }
    /*--navigation--*/
    .navigation{
        font-size: 1.4rem;
        line-height: 3;
    }
    .navigation a{
        padding-left: 12px;
        padding-right: 12px;
    }
    /*--------------------------
    *top
    *------------------------*/
    .top{
        height: 480px;
        background-size: 84%;
        background-position: right 140px;
        padding-top: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    .top-box{
        width: 200px;
        height: 200px;
        padding: 30px 10px;
    }
    .logo{
        width: 70px;
    }
    .top-title{
        font-size: 1.4rem;
        padding-top: 20px;
    }
    .top-url{
        font-size: 1rem;
    }
    .message{
        height: 260px;
        top: 220px;
        right: 40px;
        font-size: 1.4rem;
    }
    small{
        top: 120px;
        padding-right: 20px;
    }
    /*-------arrow-------*/
    .top .arrow-inner{
        top: 480px;
        left: 100px;
    }
    /*-------/arrow------*/

    /*--------------------------
    *works
    *------------------------*/
    .works{
        height: 670px;
    }
    .works-list{
        display: block;
    }
    .works-detail{
        width: 100%;
        height: auto;
    }
    .works-detail:hover .mask {
        opacity: 1;	/* マスクを表示する */
        padding-top: 0;	/* ホバーで下にずらす */
}

    /*-------modal------*/
    .modal-wrapper .modal-window {
        padding: 30px;
    }
    .modal-content{
        display: block;
    }
    .modal-content_text{
        padding-right: 0;
        width: 100%;
    }
    .modal-content img{
        width: 100%;
        padding-top: 30px;
    }

    /*-------/modal------*/

    /*--------------------------
    *profile
    *------------------------*/
    .profile{
        height: 476px;
    }
    .profile-detail{
        width: 94%;
        padding: 60px 30px 30px;
        top: 100px;
    }
    .name{
        font-size: 2rem;
    }
    .profile-img{
        width: 140px;
        height: 140px;
        background-position: -60px -10px;
        left: 240px;
    }
    .sns{
        top: 110px;
        left: 30px;
    }

    /*--------------------------
    *contact
    *------------------------*/

    .form-item{
        display: block;
        padding-top: 20px;
    }
    .form-title{
        width: 100%;
    }
    .form-detail{
        width: 100%;
    }
    .form-parts{
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 0;
        padding-right: 40px;
    }
    .contact-form{
        padding-top: 20px;
    }

}

@media screen and (max-width: 375px){

    /*--------------------------
    *utility & all section
    *------------------------*/
    .wrapper{
        max-width: 335px;
    }
    .section{
        padding-top: 70px;
        padding-bottom: 60px;
    }
    h2{
        font-size: 2.2rem;
    }
    .section-menu{
        height: 0px;
    }
    /*--------------------------
     *header
     *------------------------*/

    /*--navigation--*/
    .navigation{
        font-size: 1.2rem;
    }
    .navigation a{
        padding-left: 8px;
        padding-right: 8px;
    }
    /*--------------------------
    *top
    *------------------------*/
    .top{
        padding-top: 0;
    }
    .message{
        right: 20px;
    }
    /*--------------------------
    *works
    *------------------------*/
    .works{
        height: 650px;
    }

    /*--------------------------
    *profile
    *------------------------*/
    .profile{
        height: 476px;
    }
    .profile-detail{
        width: 98%;
        padding: 60px 20px 30px;
        top: 80px;
    }
    .name{
        font-size: 1.8rem;
    }
    .profile-img{
        width: 120px;
        height: 120px;
        background-position: -50px -10px;
        left: 230px;
    }
    .sns{
        top: 90px;
        left: 20px;
    }

    /*--------------------------
    *contact
    *------------------------*/

    .form-item{
        display: block;
        padding-top: 20px;
    }
    .form-title{
        width: 100%;
    }
    .form-detail{
        width: 100%;
    }
    .form-parts{
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 0;
        padding-right: 40px;
    }
    .contact-form{
        padding-top: 20px;
    }

}
@media screen and (max-width: 320px){

    /*--------------------------
    *utility & all section
    *------------------------*/
    .wrapper{
        max-width: 280px;
    }
    .section{
        padding-top: 50px;
        padding-bottom: 40px;
    }
    h2{
        font-size: 2rem;
    }
    /*--------------------------
    *header
    *------------------------*/
    .header{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    /*--------------------------
    *top
    *------------------------*/
    .top{
        height: 480px;
        background-size: 86%;
        background-position: right 140px;
        padding-top: 0;
    }
    .top-box{
        width: 180px;
        height: 180px;
        padding: 30px 10px;
    }
    .logo{
        width: 60px;
    }
    .top-title{
        font-size: 1.3rem;
        padding-top: 18px;
    }
    .message{
        font-size: 1.3rem;
        right: 0;
        padding-right: 20px;
    }
    small{
        top: 120px;
        padding-right: 0;
    }
    /*-------arrow-------*/
    .top .arrow-inner{
        top: 460px;
        left: 100px;
    }
    /*-------/arrow------*/
    /*--------------------------
    *works
    *------------------------*/
    .works{
        height: 570px;
    }
    .caption{
        padding: 0px 20px;
    }
    .number{
        font-size: 3rem;
    }
    .subject{
        font-size: 1rem;
        padding-bottom: 8px;
    }
    .viewmore{
        padding-top: 10px;
    }

    /*-------modal------*/
    .modal-wrapper .modal-window {
        padding: 20px;
        max-width: 100%;
    }
    .tool{
        padding-top: 20px;
    }
    .modal-content img{
        max-width: 100%;
    }

    /*-------/modal------*/

    /*--------------------------
    *profile
    *------------------------*/
    .profile{
        height: 500px;
    }
    .profile-detail{
        padding: 50px 20px 30px;
        top: 60px;
        font-size: 1.1rem;
    }
    .name{
        font-size: 1.6rem;
    }
    .profile-img{
        width: 100px;
        height: 100px;
        background-position: -40px -10px;
        left: 200px;
    }
    .sns{
        top: 70px;
        font-size: 1.1rem;
    }

    /*--------------------------
    *contact
    *------------------------*/

    .form-item{
        display: block;
        padding-top: 20px;
    }
    .form-title{
        width: 100%;
    }
    .form-detail{
        width: 100%;
    }
    .form-parts{
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 0;
        padding-right: 40px;
    }
    .contact-form{
        padding-top: 20px;
    }

}