html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}
ul{
    list-style: none;
    padding: 0;
}
.img-box{
 height: 290px;
}
p{
    margin: 0;
}
h2{
    text-align: center;
    margin: 0;
    padding: 0;
    color: #03453D;
    font-size: 24px;
    letter-spacing: 3px;
    font-family: joanna-nova, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-weight: 100;
}
h4{
    font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
font-weight: 300;
font-style: normal;
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    color: #A5A5A5;
    font-size: 13px;
}
#contact{
    margin: 0 auto;
    margin-top: 80px;
    width: 81%;
}
.contact_txt{
margin-top: 40px;
font-size: 14px;
letter-spacing: 1px;
text-align: center;
line-height: 200%;
color: #262626;
font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.contact_btn{
width: 200px;
height: 48px;
margin: 0 auto;
margin-top: 40px;
border-radius: 24px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
column-gap: 5%;
}
.contact_btn p{
    margin: 0;
    font-size: 14px;
    font-family: joanna-nova, sans-serif;
    letter-spacing: 2px;

}


main{
    padding-top: 150px;
}


.wrap_pc{
    display: none;
}

.wrap{
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.img-box{
    margin-top:105px;
}

.img-box img{
    width: 100%;
    vertical-align: bottom;
}

.black-color,
.white-color{
    margin: 0; 
    font-weight: bold;
    font-size: 2.3em;
    position: absolute;
    height:100%;
    overflow: hidden;
    right: 0;
    
}

.white-color{
    width: 100%;
    margin-top: 105px;
}
.black-text{
    color: #03453D;
}
.black-color{
    height:105px;
    width: 100%;
    top:0px;
}

.white-color span,
.black-color span{
    display: block;
    position: absolute;
    text-align: right;
    font-size: 43px;
    font-family: bodoni-urw,serif;
font-weight: 500;
font-style: normal;
letter-spacing: 5px;
right: 7%;
line-height: 100%;
z-index: 2;
}

.white-color span{
    width: 100%;
    color: #fff;
    top: -105px;
}

.black-color span{
    width: 100%;
}

.about_ttl{
    font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
#about{
    width: 90%;
    margin: 0 auto;
    margin-top: 
    100px;
    text-align: center;
}
.about_txt{
    font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    margin-top: 40px;
    line-height: 180%;
    letter-spacing: 2px;
}
#service{
    margin-top: 80px;
}
.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    margin: 0 auto;
    margin-top: 40px;
    height: 48px;
    border: 1px solid #D2C3AB;
    column-gap: 10px;
    border-radius: 24px;
}
.btn p{
    margin-top: 0;
}
#service{
    background-image: url(../img/about_sp.png);
    background-repeat: no-repeat;
    background-size:100%;
    padding:70px 0;
}
.service_area h3{
    text-align: center;
    margin: 0;
    padding: 0;
    color: #D2C3AB;
    font-size: 24px;
    letter-spacing: 6px;
    font-family: joanna-nova, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-weight: 100;
}
.service_txt{
    width: 300px;
    margin: 0 auto;
    font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    text-align: center;
    letter-spacing: 3px;
    color: #D2C3AB;
    font-size: 13px;
    line-height: 200%;
    margin-top: 40px;
}
.btn{
    color: #D2C3AB;
    font-size: 14px;
    font-family:joanna-nova, sans-serif;
}

.btn_b{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    letter-spacing: 2px;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
    text-align: center;
    outline: none;
    height: 100%;
    width: 100%;
    border-radius: 24px;
    /*アニメーションの指定*/   
    transition: ease .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn_b p{
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#D2C3AB;
}
.btn_b{
    border-radius: 24px;
}
.btn_b:hover p{
	color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft_g:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 1;
    /*色や形状*/
 	background:#D2C3AB;/*背景色*/
 	width: 100%;
	height: 100%;
    border-radius: 24px;
    /*アニメーション*/
 	transition: transform .4s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft_g:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}



.slider {
    display: flex;
    flex-wrap: wrap;
    column-gap:10%;
    padding: 0;
}
.slider li {
    width: 228px;
    height: 144px;
}

.img_slide {
    object-fit: cover;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}
#work{
    margin-top: 80px;
}
.work_list{
    width: 100%;

}
.work_list li{
    margin-top: 80px;
}
.work_list li img{
    width: 100%;
    height: 100%;
}
.work_ttl_area{
    width: 80%;
    margin: 0 auto;
}
.work_ttl_area h5{
font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
font-size: 22px;
letter-spacing: 1px;
font-weight: 400;
margin-top: 20px;
margin-bottom: 0;
}
.service_tag li{
margin: 0;
}
.work_txt_area{
margin-top: 20px;
font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
letter-spacing: 1px;
font-size: 14px;
    line-height: 180%;
}
.service_tag{
    margin-top: 20px;
    display: flex;
    width: 100%;
    color: #03453D;
    font-size: 12px;
    column-gap: 20px;
}
.slider{
    margin-top: 80px;
}
.wrap_about{
    position: relative;
}
.scrolldown1{
    position: absolute;
    right: 50%;
    bottom: 495px;
    height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    position: absolute;
    left: -28px;
    top: -20px;
    color: #fff;
    font-size: 16px;
    letter-spacing:3px;
    font-family: YakuHanMP, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 0.5px;
	height: 30px;
	background: #0e4f46;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 2s ease-in-out infinite;
	opacity:0;
}
.service_img:hover{
opacity: 0.7;
background: #2626260a;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:40px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}
@media screen and (min-width:450px) {
    .scrolldown1 {
        bottom: 460px;
    }
}
@media screen and (min-width:550px) {
    .white-color span, .black-color span{
        font-size: 64px;
    }
    .scrolldown1{
        bottom: 402px;
    }
}
@media screen and (min-width:768px) {

    h2{
        font-size: 28px;
    }
    h4{
        font-size: 15px;
    }
    .contact_txt{
        font-size: 16px;
    }
    .img-box {
        margin-top: 105px;
        height: 50vh;
        width: 100%;
    }
    .white-color span, .black-color span{
        font-size: 65px;
    }

    #service{
        background-image: url(../img/about_pc.png);
        background-repeat: no-repeat;
        background-size:100%;
        padding:80px 0;
    }
    main {
        padding-top: 130px;
    }
    .lang{
        font-size: 20px;
    }
    .service_area{
        width: 50%;
    }
    .slider li {
        width: 220px;
        height: 140px;
    }
    .work_list{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10%;
        width: 90%;
        margin: 0 auto;
        max-width: 1200px;
    }

.work_list li img {
    width: 100%;
    height: 50%;
    object-fit: cover;
}

}
@media screen and (min-width:1024px) {
    h2{
        font-size: 32px;
    }
    h4{
        font-size: 18px;
    }
    #contact{
        margin-top: 105px;
    }
    .wrap{
        display: none;
    }
    .wrap_pc{
        display:block;
    }

    .wrap_pc{
        margin: 0 auto;
        max-width: 900px;
        position: relative;
        overflow: hidden;
    }
    
    .img-box_pc{
        margin-left: 7%;
        height:72vh;
    }
    
    .img-box_pc img{
        width: 100%;
        vertical-align: bottom;
    }
    
    .black-color_pc,
    .white-color_pc{
        margin: 0; 
        font-weight: bold;
        font-size: 74px;
        position: absolute;
        bottom: -40%;
        height:100%;
        overflow: hidden;
        font-family: bodoni-urw,serif;
        letter-spacing: 5px;
        z-index: 2;
    }
    
    .white-color_pc{
        width: 100%;
        margin-left: 7%;
    }
    .slider li {
        width: 290px;
        height: 190px;
    }
    .black-color_pc{
        width: 7%;
    }
    
    .white-color_pc span,
    .black-color_pc span{
        display: block;
        position: absolute;
    }
    
    .white-color_pc span{
        width: 100%;
        color: #fff;
        left: -7%;
    }
    
    .black-color_pc span{
        width: 100000%;
    }
.black-text_pc{
    color:#03453D;
}
}
@media screen and (min-width:1025px) {
    .wrap_pc{
        margin: 0 auto;
        max-width:none;
        width: 85%;

    }

}
@media screen and (min-width: 1200px){
    .wrap_pc {
        max-width: none;
        width: 85%;
    }
#work{
    margin: 0 auto;
    margin-top: 80px;
}
}
@media screen and (min-width: 1300px){
    .wrap_pc {
        max-width:none;
        width: 87%;
    }
    .black-color_pc, .white-color_pc {
        font-size: 80px;
    }
}
@media screen and (min-width: 1500px){
.wrap_pc {
    max-width: 1399px;
}
}
@media (min-height: 500px) {
    .img-box_pc {
        margin-left: 7%;
        height: 600px;
    }
}