@charset "UTF-8";

/* 共通部分
--------------------------- */
html {
    font-size: 100%;
}
body{
    font-family:quasimoda, ”Yu Gothic Medium”, “游ゴシック Medium”, YuGothic, “游ゴシック体”, “ヒラギノ角ゴ Pro W3”, “メイリオ”, sans-serif;
    line-height: 1.7;
    color: #3E3E3E;
}
a {
    text-decoration: none;
    color: #3E3E3E;
}
img {
    max-width: 100%;
}
::selection {
    background-color: rgba(210,180,140,.8);
    color: #fff;
}

/* HEADER
--------------------------- */
h1.logo {
    display: flex;
    z-index: 9999; 
    align-items: center;
    font-weight: normal;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    font-family: quasimoda, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .15rem;
}
a.logo {
    display: block;
}
h1.logo:hover {
    opacity: 0.7;
}
span.text-small {
    font-size: 0.75rem;
    margin: 0;
    line-height: 20px;
}
#header {
    display: block;
    margin: 0;
    padding: 0 16px;
}
#nav-box{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}
.page-header {
    top: 0;
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 4%;
}

/* HOME
--------------------------- */
.home-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 4%;
    text-align: center;
}
/* 見出し */
.page-title {
    font-size: 1.875rem;
    font-family: quasimoda, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .1rem;
}
.sub-title {
    position: relative;
    display: inline-block;
    font-size: 0.75rem;
    font-family: quasimoda, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .1rem;
    padding-top: 0;
    padding-bottom: 10px;
}
.sub-title:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.3125em;/*線の上下位置*/
    display: inline-block;
    width: 10px;/*線の長さ*/
    height: 2px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: #0481a2;/*線の色*/
    border-radius: 2px;/*線の丸み*/
}
.skills {
    font-size: 0.75rem;
    font-family: quasimoda, sans-serif;
    font-weight: 400;
    letter-spacing: .1rem;
    padding-top: 20px;
}
#home {
    background-color: #FBFBFB;
    min-height: 100vh;
}
.main {
    position: absolute;
	top: 50%;
	left: 50%;
    padding-bottom: 6.25rem;
	transform: translate(-50%, -50%);
}
/* ここからsnsNav */
.sns-nav {
    position: fixed;
    top: 40%;
    right: 15px;
    margin-right: 10px;
    height: 100vh;
    width: 50px;
    padding: 0 15px;
    z-index: 10;
    list-style: none;
}
.sns-icon {
    text-align: center;
    writing-mode: vertical-rl;
    margin: 5px 0;
    font-size: 1.5625rem;
    color: #555;
}
.sns-icon:hover {
    color: #0481a2;
}

/* WORKS
--------------------------- */
.bg2 {
    background-color: #F4F4F4;
}
.wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 4%;
}
.works-content {
    text-align:center;
}
h2.title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .4rem;
    line-height: 1.2;
    padding-top: 100px;
    margin-bottom: 0;
    font-family: quasimoda, sans-serif;
    text-align: center;
}
p.title-sub {
    font-size: 0.875rem;
    letter-spacing: .3rem;
    margin-top: 0;
    margin-bottom: 70px;
    text-align: center;
}
.grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 90px;
}
.category {
    font-size: 0.75rem;
    font-family: quasimoda, sans-serif;
    font-weight: 400;
    letter-spacing: .05rem;
    text-align: start;
    margin-top: 5px;
}
.comment {
    font-size: 0.75rem;
    font-family: quasimoda, sans-serif;
    letter-spacing: .05rem;
}
.grid-item {
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

/* ボタン共通設定 */
.btn06 {
    /* 矢印の基点とするためrelativeを指定 */
    position: relative;
    /* ボタンの形状 */
    text-decoration: none;
    font-size: 1rem;
    font-family: quasimoda, sans-serif;
    font-weight: 300;
    letter-spacing: .1rem;
    display: inline-block;
    background: #3E3E3E;
    color: #fff;
    padding: 10px 70px 15px 50px;
    text-align: center;
    outline: none;
    margin-bottom: 100px;
    /* アニメーションの指定 */
    transition: ease .2s;
}
/* ボタン矢印が右に移動 */
.btnarrow1::after{
    content: '';
    /* 絶対位置で矢印の位置を決める */
    position: absolute;
    top: 47%;
    right: 30px;
    /* 矢印の形状 */
    width: 5px;
    height: 5px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    /* アニメーションの指定 */
    transition: all .3s;
}
/* hoverした際の移動 */
.btnarrow1:hover::after{
    right: 20px;
}

/* about
--------------------------- */
.bg3 {
    background-color: #FBFBFB;
}
h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .4rem;
    line-height: 1.2;
    padding-top: 100px;
    margin-bottom: 0;
    padding-left: 4%;
    padding-right: 4%;
    font-family: quasimoda, sans-serif;
    text-align: start;
}
.profile {
    display: flex;
    justify-content: space-between;
    margin-top: 23px;
    padding: 0 4%;
    text-align: start;
    padding-bottom: 100px;
}
h4 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: .1rem;
    margin-bottom: 0;
}
.description {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: .05rem;
    margin-top: 5px;
    margin-bottom: 20px;
}
.caption {
    list-style: none;
    list-style-position: inside;
    font-size: 0.812rem;
    font-weight: 400;
    letter-spacing: .05rem;
    padding: 0 4px;
}
.caption .detail::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #3E3E3E;
    display: inline-block;
    margin: 0 7px 1px 0;
}
.profile img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-top: 15px;
    margin-bottom: 20px;
    filter: grayscale(100%);
}
.profile-text {
    display: flex;
    flex-direction: column;
    width: 50%;
}

/* CONTACT
--------------------------- */
.comment-text {
    font-size: 0.875rem;
    letter-spacing: .1rem;
    margin-top: 50px;
    margin-bottom: 50px;
}
.btnlinestretches2 {
    /* 線の基点とするためrelativeを指定 */
    position: relative;
    /* ボタンの形状 */
    color: #3E3E3E;
    font-size: 0.875rem;
    letter-spacing: .1rem;
    background: #fffac2;
    border: 1px solid #fffac2;
    padding: 10px 30px;
    display: inline-block;
    text-decoration: none;
    outline: none;
    /* アニメーションの指定 */
    transition: all 0.3s ease-in-out;
    margin-bottom: 100px;
}
/* hoverした際の背景の形状 */
.btnlinestretches2:hover{
    background: #fff8a8;
    color: #3e3e3eea;
    border-color: transparent;
}

/* 線の設定 */
.btnlinestretches2::before,
.btnlinestretches2::after {
    content: '';
    /* 絶対配置で線の位置を決める */
    position: absolute;
    border: solid #0481a2;
    width: 10px;
    height: 10px;
    /* アニメーションの指定 */
    transition: all 0.3s ease-in-out;
}
/* 線の位置と形状 */
.btnlinestretches2::before {
    top: -6px;
    left: -6px;
    border-width: 1px 0 0 1px;
}
/* 線の位置と形状 */
.btnlinestretches2::after {
    bottom: -6px;
    right: -6px;
    border-width: 0 1px 1px 0;
}
/* hoverしたときの線の形状 */
.btnlinestretches2:hover:before,
.btnlinestretches2:hover:after {
    width: calc(100% + 11px);
    height: calc(100% + 11px);
    border-color: #0481a2;
}


/* footer
--------------------------- */
footer {
    background: #3E3E3E;
    text-align: center;
    padding: 20px 0;
}
footer p {
    color: #fff;
    font-size: 0.75rem;
}

#footer #page-top span{
    display: inline-block;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(45deg);
    margin-top: 4px;
}
/*
WORKS page
==================================== */
.bg4{
    background-color: #fff;
}
.works-title-sub {
    font-size: 0.875rem;
    letter-spacing: .3rem;
    margin-top: 0;
    padding-bottom: 70px;
    text-align: center;
}

/* ギャラリー部分 */
article {
    width: 74%;
    order: 1;
}
/* カテゴリー部分 */
aside {
    width:  22%;
    order: 2;
}
.works-contents {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* カテゴリーリスト */
.works-category-title {
    word-break: break-all;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .2rem;
    padding: 0 .5rem .5rem;
    border-bottom: 2px #0481a2 solid;
    font-family: quasimoda, sans-serif;
}
.works-categorylist {
list-style: none;
list-style-position: inside;
font-size: 0.875rem;
font-weight: 400;
letter-spacing: .1rem;
padding: .5rem;
}
.w-atv {
    margin: .6rem 0 1rem;
}

.works-categorylist .w-atv::before {
    content: '';
    width: 10px;
    height: 1px;
    background: #0481a2;
    display: inline-block;
    margin: 0 10px 4px 0;
}
.w-atv a:hover {
    opacity: 0.7;
}
.works-categorylist .current {
    opacity: 0.5;
}
.sns-nav2 {
    display: flex;
    justify-content: start;
    margin-top: 50px;
}
.works-sns-icon {
    margin: 5px 10px;
    font-size: 1.5625rem;
    color: #555;
}
.works-sns-icon:hover {
    color: #0481a2;
}


.works-grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 90px;
}

/*
CONTACT page
==================================== */
.contact-title-sub {
    position: relative;
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: .2rem;
    margin-top: 0;
    padding-bottom: 36px;
    text-align: center;
}
.contact-title-sub:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.3125em;/*線の上下位置*/
    display: inline-block;
    width: 10px;/*線の長さ*/
    height: 2px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: #0481a2;/*線の色*/
    border-radius: 2px;/*線の丸み*/
}
.contact-text {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: .05rem;
    margin-top: 44px;
    padding-bottom: 79px;
    text-align: center;
}
.thanks-text {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: .05rem;
    padding-top: 44px;
    padding-bottom: 79px;
    text-align: center;
}


.timeline {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    max-width: 450px;
    margin: 0px auto;
    position: relative;
    box-sizing: border-box;
    padding: 0;
}
.timeline:before {
    position: absolute;
    content: "";
    height: 1px;
    width: 83%;
    left: 0;
    right: 0;
    top: 10px;
    bottom: 50px;
    margin: auto;
    background: #2a2623;
}

.contact-current {
    list-style: none;
    box-sizing: border-box;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;

}
.contact-none {
    list-style: none;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
}
.dot-b {
    background: #0481a2;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: block;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}
.dot {
    background: #BEBEBE;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: block;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}
.form {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 60px;
}

/* チェックBOX */
input[type='checkbox'] {
    opacity: 0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
input[type='checkbox'] + .check::before{
    display: inline-block;
    content: '';
    width: 1.125rem;
    height: 1.125rem;
    border: 1px solid #3E3E3E;
    margin: -.125rem .8rem 0 0;
    vertical-align: middle;
    /* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    padding: 0 2px;
    line-height: 0.8;
}
/* チェックが入るとチェックアイコンを表示 */
input[type='checkbox']:checked + .check::before {
    content: '\f00c';
}
.check_lb {
    display:block;
    padding-top: 6px;
    padding-bottom: 6px;
}
.contact-name {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: .1rem;
    margin-bottom: 20px;
}
.check {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: .1rem;
}
.contact-name-box {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: .1rem;
    margin-top: 60px;
    margin-bottom: 7px;
    display: block;
}
textarea {
    background: rgba(255, 255, 255, 0.65);
    border: 1px #3E3E3E solid;
    padding: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    border-radius: 0;
}
textarea {
    width: 100%;
    height: 10rem;
}
/* セレクトBOX */
.select-box {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    border: 1px #3E3E3E solid;
    padding: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    width: 70%;
}
.select-box::after {
    display: inline-block;
    position: absolute;
    top: .625rem;
    right: 1rem;
    /* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: '\f078';
    color: #3E3E3E;
    pointer-events: none;
}
select {
    width: 100%;
    height: 100%;
}
.schedule {
    width: 100%;
    height: 5rem;
}
input[type='text']::placeholder,
input[type='email']::placeholder {
    font-size: 0.875rem;
    font-weight: 300;
}
input[type='text'],
input[type='email'] {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    border: 1px #3E3E3E solid;
    padding: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    width: 100%;
    height: 3rem;
}
.contact-massage {
    margin-top: 40px;
    padding-bottom: 50px;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    height: 6rem;
}
.btn07 {
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: 300;
    letter-spacing: .1rem;
    display: inline-block;
    background: #3E3E3E;
    color: #fff;
    text-align: center;
    width: 95%;
    outline: none;
    margin-bottom: 100px;
    box-sizing: border-box;
}
.btn-check {
    display:flex;
    justify-content:center;
}
.required::after {
    content: "必須";
    font-size: 0.687rem;
    font-weight: 300;
    background: #3E3E3E;
    color: #fff;
    padding: 6px 10px;
    margin-left: 13px;
}

/*
Thanks page
==================================== */
.thanks-text {
    font-size: 0.875rem;
    font-family: quasimoda, sans-serif;
    font-weight: 400;
    letter-spacing: .05rem;
    padding-top: 100px;
    padding-bottom: 79px;
    text-align: center;
}
.btn08 {
    font-size: 0.812rem;
    font-family: quasimoda, sans-serif;
    letter-spacing: .1rem;
    display: inline-block;
    background: #3E3E3E;
    color: #fff;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    padding: 20px 50px;
}
.btn-check2 {
    display:flex;
    justify-content:center;
    margin-top: 100px;
}

.bg7 {
    background-color: #F4F4F4;
    height: 100vh;
}

/*
Works concept page
==================================== */
.site-url {
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
    letter-spacing: .05rem;
    margin-bottom: 80px;
}

.works-concept {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 60px;
    gap: 10px;
    letter-spacing: .05rem;

}
.works-c-title {
    font-weight: 600;
}
.img-web {
    display: flex;
    justify-content: space-between;
    margin: 90px 0;
}
.img-pc {
    width: 70%;
    height: auto;
}
.img-sp {
    width: 20%;
    height: auto;
}
.web-pic {
    filter: drop-shadow(1px 1px 7px rgba(61,61,61,0.2));
}

/*
DESKTOP SIZE
======================================
======= */
/* ヘッダー高さ */
@media (max-height:430px) {
    h1.logo {
        font-size: 0.875rem;
    }
    span.text-small {
        font-size: 0.625rem;
    }
    .main {
        padding-bottom: 0rem;
    }
}
/* WORKS */
@media (min-width:600px) {
    .grid-item {
        transition: .3s;
    }
    .grid-item:hover {
        filter: grayscale(0);
    }
}

@media (max-width:600px) {
    .grid {
        gap: 40px;
    }
}

@media (max-width:900px) {
    .grid-item {
        filter: grayscale(0);
    }
}

/* ABOUT */
@media (max-width:700px) {
    h3 {
        text-align: center;
    }
    .profile {
        flex-direction: column;
    }    
    .profile-text {
        width: 80%;
        align-self: center;
    }
    .profile img {
        align-self: center;
        margin-bottom: 25px;
    }
}
@media (max-width:900px) {
    .profile img {
        filter: grayscale(0);
    }
}
@media (max-width:510px) {
    .caption {
        letter-spacing: .01rem;
    }
    
}

/* CONTACT */
@media (min-width:600px) {
    .br-sp {
        display: none;
    }
    
}


/*
WORKS page
==================================== */
@media (min-width:600px) {
    .img-box {
        overflow: hidden;
    }
    .grid-item2 {
        transform: scale(1);
        transition: .5s ease-in-out;
    }
    .grid-item2:hover {
        transform: scale(1.1);
    }
    /* サイドメニュー固定 */
    .popular-posts {
        position:  sticky;
        top: 4rem;
    }
}
@media (max-width: 600px) {
    .works-title-sub {
        padding-bottom: 20px;
    }
    .works-category-title {
        visibility: hidden;
    }
    .works-contents {
        flex-direction: column-reverse;
    }
    article, aside {
        width: 100%;
    }
    .works-categorylist {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        font-size: 0.812rem;
        }
    .w-atv {
        width: 23%;
        padding-left: 5px;
        margin-right: 5%;
        border-bottom: 1px solid #0481a2;
    }
    .works-categorylist .w-atv::before {
        display: none;
    }

    /*
CONTACT page
==================================== */
@media (max-width: 700px) {
    .form {
        padding: 0 5%;
    }
}
@media (max-width: 600px) {
    .form {
        padding-top: 60px;
    }
}
@media (max-width: 400px) {
    .btn07 {
        display: flex;
        justify-content: center;
        }
    
}
}
/*
Works concept page
==================================== */
@media (max-width: 600px) {
    .works-concept {
        grid-template-columns: 1fr;
    
    }
}    
@media (max-width:750px) {
    .img-sp {
        display: none;
    }
    .img-pc {
        width: 98%;
    }
    
}
