@charset "utf-8";

h1 {
    font-size: 24px;
    position: fixed;
    top: 60px;
    left: 60px;
}
.up {
    top: 18px;
}
.mv_catch {
    margin-bottom: 0px;
    margin-top: 30px;
}
.works-item {
    width: 100%;
    margin: 0 auto;
    height: auto;
}
.works_mv {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 50px;
    max-width: 1000px;
}
.works_mv img {
    margin-bottom: 50px;
    margin-top: 30px;
}
.comp_image {
    display: flex;
    justify-content: space-between;
}


.comp .comp_pc {
    width: 65%;
    height: auto;
    overflow: auto;
    scrollbar-color: #fff #a5b2b5;
    scrollbar-width: thin;
}
.comp .comp_sp {
    width: 24%;
    height: auto;
    overflow: auto;
    scrollbar-color: #fff #a5b2b5;
    scrollbar-width: thin;
}
.comp {
    width: 100%;
    padding: 50px 140px;
    height: 500px;
    display: flex;
    justify-content: space-between;
    background-color: #306171;
}
.comp_title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.5em;
    margin-right: 10px;
}
.comp:nth-child(odd) {
    background-color: #5BA8BE;
}
.caption {
    width: 80%;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 100px;
    max-width: 1000px;
}
.caption_title {
    font-size: 32px;
    font-weight: bold;
    padding-bottom: 50px;
}
.caption_title span {
    font-size: 12px;
    font-weight: normal;
}
.caption h4 {
    margin-top: 1em;

}
.caption span {
    white-space: nowrap;
}

.allworks h4 {
    text-align: left;
    margin: 0 auto;
    width: 80%;
    font-size: 20px;
}
.allworks h3 {
    margin-bottom: 30px;
}
.allworks {
    margin-bottom: 150px;
}
.allworks a {
    transition: 0.3s;
}
.allworks a:hover {
    color: #306171;
}


.goback a{
    padding: 5px 5px 5px 30px;
    transition: 0.3s;
	position: relative;
	font-size: 12px;
}
.goback a::after{
	position: absolute;
left: 0;
content: '';
width: 100%;
height: 1px;
background: #306171;
bottom: -1px;
transform: scale(0, 1);
transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.5s;  /*変形の時間*/
}

.goback a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
	


.goback a:hover {  
    color: #306171;
}

.gosite a:hover {  
    color: #5BA8BE;
}
.gosite a{
	position:relative;
	padding: 5px 50px 5px 5px
}

.gosite a::after{
	position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #5BA8BE;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.5s;  /*変形の時間*/
	
}
.gosite a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
.collection h3 {
    margin-top: 80px;
}
.works_list {
    margin-bottom: 50px;
}
.works_mv img {
    opacity: 0.2;
    transition: 0.5s;
}

.works_mv img.fade-in{
    opacity: 1;
}



@media (max-width:800px){
.comp .comp_pc {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
}
.comp .comp_sp {
    width: 50%;
    height: 400px;
}
.comp_image {
    display: flex;
    flex-direction: column;
}
.comp {
    height: auto;
    padding-left: 100px;
    padding-right: 100px;
}
.caption_title {
    font-size: 24px;
}





}

@media (max-width:600px){
.comp {
    padding-left: 25px;
    padding-right: 25px;
}
.comp .comp_pc {
    height: 210px;
}
.comp .comp_sp {
    height: 260px;
}
.allworks h4 {
    font-size: 16px;
}
.caption_title {
    font-size: 20px;
}
h1 {
    left: 30px;
}




}
