@charset "UTF-8";
/*-----共通部分-----*/
html{
	font-size: 100%;
}
body{
	width: 100vw;
	font-family: "Yu Gothic Medium","游ゴシック Medium",YuGothic,"游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
	line-height: 1.7;
	color: #432;
}
a{
	text-decoration: none;
	color: #222;
}
img{
	max-width: 100%;
}
h1,h2,h3,h4,h5{
	font-family: serif;
}
h2{
	font-size: 40px;
}
h4,h5{
	font-size: 15px;
}


.wrapper{
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 4%;
	background: #fff;
}
/*header*/
.nav_pc{
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	display: flex;
	justify-content: space-between;
	background-color: rgba(255, 255, 255, 0.8);
}
a.home{
	padding-left: 14%;
}
a.home:hover{
	opacity:0.5;
	transition:0.1s;
}
.logo{
	width: 120px; 
	margin-top: 15px;
	}
.flex-nav{
	display: flex;
	font-size: 1.25rem;
	margin-top: 20px;
	padding-right: 15%;
	list-style: none;
}
.flex-nav li{
	margin-left:35px;
}
.flex-nav a{
	color: #3E3A39;
}
.flex-nav a:hover{
	border-bottom: 1px solid #222;
}

.pagetop{
	position: fixed;
	bottom: 50px;
	right: 24px;
}
/*footer*/
footer{
	margin-top: 50px;
	background: #EFE8DD;
	text-align: center;
	color: #222;
	padding: 20px 10px 20px 10px;
}

/*-----Home-----*/
/*titlebox*/
.titletext{
	display: inline-block;
	margin-top: 25%;
}
h1{
	font-size: 4rem;
}
.title-h4{
	font-family: serif;
	font-size: 2.25rem;
}
.titlebox{
	height: 800px;
	text-align: center;
	background-image: url("../img/title-bg.jpg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	
}
/*about*/
.about{
	display: flex;
	margin-top: 50px;
	margin-bottom: 50px;
}
.aboutphoto{
	margin: 30px 50px 30px 70px;
}
.aboutbox{
	background: #EFE8DD;
	border-radius: 10px;
	width: 1000px;
	height: 400px;
	margin: 10px 50px 10px 50px;
}
.aboutbox h2{
	padding: 40px 10px 0px 40px;
}
.aboutbox h4{
	padding: 0px 20px 30px 40px;
}
.aboutbox p{
	padding: 10px 20px 30px 40px;
}
.viewmore-about{
	text-align: right;
	padding: 10px 70px 40px 10px;
}
.viewmore-about a{
	margin-right: 60px;
}
.viewmore-about a:hover{
	color: #fff;
}

/*works*/
.works{
	background: #EFE8DD;
	text-align: center;
	padding-bottom: 70px;
}
.works h2{
	padding-top: 40px;
}
.works h4{
	padding-bottom: 40px;
}
.works-title{
	width: 100vw;
	padding-right: 25px;
}
.works-box{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.works-box img{
	margin: 5px;
}
/* ↓Workの文字表示 */

.sample {
	width: 330px;
	height:	250px;
	overflow: hidden;
	margin:	0px;
	position: relative;
}
	
.sample .caption {
	font-size: 130%;
	text-align: center;
	padding-top: 80px;
	color: #fff;
}
.sample .mask {
	width: 295px;
	height:	190px;
	position: absolute;
	top: 20px;
	left: 20px;
	opacity: 0;
	background-color: rgba(0,0,0,0.4);
	-webkit-transition:	all 0.2s ease;
	transition:	all 0.2s ease;
}
.sample:hover .mask {
	opacity: 1;
}
/* ↑ここまで */
a.viewmore-works{
	margin: 0 auto;
	margin-top: 20px;
	display: block;
	width: 250px;
	height: 50px;
	line-height: 50px;
	border: 1px solid #333;
	background: #fff;
	transition: all .3s;
}
a.viewmore-works:hover{
	background: #B4ADA9;
	color: #fff;
}

/*contact*/
.contact{
	background: #fff;
	text-align: center;
	padding-bottom: 70px;
}
.contact h2{
	padding-top: 40px;
}
.contact h4{
	padding-bottom: 40px;
}
.contact-title{
	width: 100vw;
	padding-right: 25px;
}
.contact-btn{
	margin: 0 auto;
	margin-top: 70px;
	display: block;
	width: 250px;
	height: 50px;
	line-height: 50px;
	border: 1px solid #333;
	background: #fff;
	transition: all .3s;
}
a.contact-btn:hover{
	background: #B4ADA9;
	color: #fff;
}

/*-----About-----*/
.about1{
	display: block;
	text-align: center;
}
.about1-title{
	padding-right: 25px;
	padding-top: 150px;
	margin-bottom: 30px;
}
.about1box{
	display: flex;
	margin-bottom: 100px;
}
.about1photo{
	margin-left: 30px;
}
.about1text{
	background: #EFE8DD;
	border-radius: 10px;
	width: 800px;
	height: 400px;
	margin: 10px 20px 10px 30px;
	padding: 25px;
	text-align: left;
}

.career{
	margin-bottom: 100px;
}
.career-title{
	display: flex;
	margin-top: 30px;
}
.career h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.career h4{
	padding-top: 25px;
	padding-left: 20px;
}
dl{
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}
.career-flex{
	display: flex;
	border-left: none;
	padding-left: 0;
	paddinf-top: 0;
	position: relative;
	margin: 0 auto;
	width: 1100px;
}
dt{
	display: block;
}
.aboutCareer_left{
	width: 20%;
	font-size: 19px;
	font-weight: 500;
	text-align: right;
	padding-right: 80px;
	padding-top: 40px;
	border-right: 5px solid #B8A5A5;
}
dd{
	display: block;
	margin-inline-start: 40px;
}
.career-bold{
	font-size: 18px;
	font-weight: 600;
	
}
.aboutCareer_right1{
	width: 80%;
	text-align: left;
	padding-left: 64px;
	padding-top: 32px;
}
.aboutCareer_right1::before{
	content: '';
	display: block;
	width: 80px;
	height: 80px;
	background-image: url("../img/about_career1.jpg");
	position: absolute;
	top: 20px;
	left: 170px;
}
.aboutCareer_right2{
	width: 80%;
	text-align: left;
	padding-left: 64px;
	padding-top: 32px;
}
.aboutCareer_right2::before{
	content: '';
	display: block;
	width: 80px;
	height: 80px;
	background-image: url("../img/about_career2.jpg");
	position: absolute;
	top: 40px;
	left: 170px;
}
.aboutCareer_right3{
	width: 80%;
	text-align: left;
	padding-left: 64px;
	padding-top: 32px;
	margin-bottom: 50px;
}
.aboutCareer_right3::before{
	content: '';
	display: block;
	width: 80px;
	height: 80px;
	background-image: url("../img/about_career3.jpg");
	position: absolute;
	top: 40px;
	left: 170px;
}
.skill-title{
	display: flex;
	margin-top: 30px;
}
.skill h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.skill h4{
	padding-top: 25px;
	padding-left: 20px;
}
.skill-flexAll{
	display: flex;
	justify-content: space-between;
	margin-top: 50px; 
	margin-bottom: 100px;
}
.skill-flex-inner{
	margin: 0 auto;
	width: 29%;
	text-align: center;
	background: #EFE8DD;
	border-radius: 10px;
}
.skill-flex-inner h4{
	padding-right: 15px;
}
.skill-flex-inner img{
	margin-top: 30px;
	width: 100px;
	height: 100;
}
.skill-text{
	padding-top: 20px;
	margin-bottom: 30px;
}

/*-----works-----*/
.works1{
	display: block;
	text-align: center;
}
.works1-title{
	padding-right: 25px;
	padding-top: 150px;
	margin-bottom: 30px;
}
#WebDesign{
	padding-top: 50px;
}
.webdesign-title{
	display: flex;
	margin-top: 30px;
}
.webdesign h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.webdesign h4{
	padding-top: 25px;
	padding-left: 20px;
}

body{
	margin: 0;
}

.works-inner-flex1{
	margin: 80px 20px 80px 20px;
	display: flex;
	justify-content: space-between;
}
.works-inner-flex2,.works-inner-flex3,.works-inner-flex4{
	margin: 80px 20px 80px 20px;
	display: flex;
	justify-content: flex-start;
}

.modal-open1,.modal-open2,.modal-open3,.modal-open4,.modal-open5,.modal-open6,.modal-open7{
	cursor: pointer;
}
.modal-open1 img,.modal-open2 img,.modal-open3 img,.modal-open4 img,.modal-open5 img,.modal-open6 img,.modal-open7 img{
	border: solid 0.5px #D1D1D1;
}
.modal1,.modal2,.modal3,.modal4,.modal5,.modal6,.modal7{
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	z-index: 999;
}
.modal-bg1,.modal-bg2,.modal-bg3,.modal-bg4,.modal-bg5,.modal-bg6,.modal-bg7{
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
}
.modal-window{
	width: 50%;
	height: 100vh;
	background-color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	padding-top: 70px;
	overflow: scroll;
}

.modal-close1,.modal-close2,.modal-close3,.modal-close4,.modal-close5,.modal-close6{
	cursor: pointer;
	margin: 0 auto;
	margin-top: 70px;
	display: block;
	width: 250px;
	height: 50px;
	line-height: 50px;
	border: 0.5px solid #333;
	background: #B4ADA9;
	color: #fff;
	transition: all .3s;
	margin-bottom: 50px;
}
.modal-close1:hover,.modal-close2:hover,.modal-close3:hover,.modal-close4:hover,.modal-close5:hover,.modal-close6:hover{
	color: #222;
	background: #E0DBDB;
	transition: all .3s;
}
.modal-link{
	font-family: serif;
	border-bottom: solid 1px;
}
.modal-link:hover{
	opacity: 0.6;
}
.modal-box{
	padding: 50px 150px 0 150px;
	text-align: left;
}
.modal-text{
	margin-bottom: 25px;
}
.modal-subtitle{
	border-bottom: solid 1px;
}
.work-fullimg{
	margin-top: 50px;
	text-align: center;
}
.work-fullimg img{
	border: solid 0.5px #D1D1D1;
}
#Banner{
	padding-top: 50px;
}
.banner-title{
	display: flex;
	margin-top: 30px;
}
.banner h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.banner h4{
	padding-top: 25px;
	padding-left: 20px;
}
#Pamphelet{
	padding-top: 50px;
}
.pamphelet-title{
	display: flex;
	margin-top: 30px;
}
.pamphelet h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.pamphelet h4{
	padding-top: 25px;
	padding-left: 20px;
}
#GreatingCard{
	padding-top: 50px;
}
.greatingcard-title{
	display: flex;
	margin-top: 30px;
}
.greatingcard h2{
	border-left: 20px solid #EFE8DD;
	padding-left: 15px;
}
.greatingcard h4{
	padding-top: 25px;
	padding-left: 20px;
}

/*-----contact-----*/
.contact1{
	display: block;
	text-align: center;
}
.contact1-title{
	padding-right: 25px;
	padding-top: 150px;
	margin-bottom: 30px;
}
.contact1-box{
	margin-bottom: 50px;
}
.mailform {
}
input {
	margin-bottom: 10px;
    width: max(60%, 400px);
	height: 40px;
	border: solid 0.5px #D1D1D1;
	border-radius: 5px;
  }
textarea {
    width: max(60%, 400px);
	height: 300px;
	border: solid 0.5px #D1D1D1;
	border-radius: 5px;
  }
.btn{
	width: 130px;
	margin-top: 70px;
	margin-bottom: 70px;
	padding: 5px 30px 5px 30px;
	border: 0.5px solid #7B7B7B;
	background: #B4ADA9;
	color: #fff;
	border-radius: 0;
	transition: all .3s;
}
.btn:hover{
	color: #222;
	background: #E0DBDB;
}
.confirm-box{
	width: 50%;
	margin: 0 auto;
}
.confirm-text{
	text-align: left;
}
.form-end{
	margin-bottom: 30px;
}


/*--タブレット--*/
@media(max-width: 1100px){
	
	/*-----共通部分-----*/

	h2{
		font-size: 40px;
	}
	h4,h5{
		font-size: 15px;
	}


	.wrapper{
		max-width: 1100px;
	}
	/*header*/
	a.home{
		padding-left: 10%;
	}
	.logo{
		width: 110px; 
		margin-top: 15px;
	}
	.flex-nav{
		font-size: 1.5rem;
		margin-top: 15px;
		padding-right: 10%;
	}

	/*-----Home-----*/
	/*titlebox*/
	.titlebox{
		height: 700px;
	
	}
	/*about*/
	.aboutphoto{
		width: 50%;
		margin: 40px 50px 30px 70px;
	}

	/*works*/
	.works-box{
		width: 90%;
	}
	.works-box img{
		padding-right: 20px;
	}

	/*-----About-----*/
	.about1photo{
		width: 280px;
		height: 400px;
		margin-top: 25px;
		margin-left: 20px;
	}
	.about1text{
		width: 700px;
		height: 450px;
	}

	.career-flex{
		width: 90%;
	}

	.aboutCareer_left{
		padding-right: 70px;
	}

	.aboutCareer_right1::before{
		top: 40px;
		left: 120px;
	}
	.aboutCareer_right2::before{
		top: 40px;
		left: 120px;
	}
	.aboutCareer_right3::before{
		top: 40px;
		left: 120px;
	}

	/*-----works-----*/
	.works-inner-flex1{
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	.works-inner-flex1 img{
		margin-right: 50px;
	}
	.modal-open1,.modal-open2{
		margin-bottom: 30px;
	}
	.modal-window{
		width: 80%;
	}

/*-----contact-----*/
.contact1{
	display: block;
	text-align: center;
}
.contact1-title{
	padding-right: 25px;
	padding-top: 150px;
	margin-bottom: 30px;
}
.contact1-box{
	margin-bottom: 50px;
}
.mailform {
}
input {
	margin-bottom: 10px;
    width: max(60%, 400px);
	height: 40px;
	border: solid 0.5px #D1D1D1;
	border-radius: 5px;
  }
textarea {
    width: max(60%, 400px);
	height: 300px;
	border: solid 0.5px #D1D1D1;
	border-radius: 5px;
  }
.btn{
	width: 130px;
	margin-top: 70px;
	margin-bottom: 70px;
	padding: 5px 30px 5px 30px;
	border: 0.5px solid #7B7B7B;
	background: #B4ADA9;
	color: #fff;
	border-radius: 0;
	transition: all .3s;
}
.btn:hover{
	color: #222;
	background: #E0DBDB;
}
.confirm-box{
	width: 50%;
	margin: 0 auto;
}
.confirm-text{
	text-align: left;
}
.form-end{
	margin-bottom: 30px;
}

/*--スマホ--*/
@media(max-width: 430px){
	
	/*共通*/
	h2{
		font-size: 25px;
	}
	h4,h5{
		font-size: 10px;
	}
	p{
		font-size: 0.9rem;
	}
	.wrapper{
		max-width: 375px;
		margin: 0 auto;
	}
	a.home{
		padding-left: 0;
	}
	.nav_pc{	
		display: flex;
		flex-direction: column;
	}
	.home{
		text-align: center;
	}
	.logo{
		width: 60px;
	}
	.flex-nav{
		font-size: 1rem;
		margin-top: 0;
		justify-content: center;
		padding-right: 30px;
	}
	.flex-nav li{
		margin-left: 35px;
	}
	.pagetop{
		position: fixed;
		bottom: 0;
		right: 0;
		width: 60px;
	}
	footer{
		font-size: 0.8rem;
		padding: 10px 10px 10px 10px;
	}
	/*HOME*/
	.titlebox{
		height: 330px;
		margin-bottom: 0;
		text-align: center;
		background-image: url("../img/title-bg.jpg");
		background-size: contain;
		background-position: center center;
		background-repeat: no-repeat;
	
	}
	.titletext h1{
		font-size: 1.5rem;
		margin-top: 50px;
	}
	.title-h4{
		font-size: 1rem;
	}
	.about{
		display: block;
		margin-top: 0;
		margin-bottom: 50px;
	}
	.aboutphoto{
		width: 200px;
		margin: 0 auto;
	}
	.aboutbox{
		width: 80%;
		height: auto;
		margin: 10px auto;
	}
	.aboutbox h2{
		padding: 20px 10px 0px 10px;
	}
	.aboutbox h4{
		padding: 0px 10px 30px 10px;
	}
	.aboutbox p{
		padding: 10px 10px 20px 10px;
	}
	.viewmore-about{
		padding: 0 10px 50px 0;
	}
	.works h2{
		padding-top: 20px;
	}
	.works h4{
		padding-bottom: 20px;
	}
	a.viewmore-works{
		width: 180px;
		height: 45px;
		line-height: 45px;
		font-size: 13px;
	}
	.contact{
		padding-bottom: 50px;
	}
	.contact h2{
		padding-top: 20px;
	}
	.contact h4{
		padding-bottom: 20px;
	}
	.contact-btn{
		margin-top: 45px;
		width: 180px;
		height: 45px;
		line-height: 45px;
		font-size: 13px;
	}

	/*About*/
	.about1{
		display: block;
	}
	.about1-title{
		padding-top: 75px;
		margin-bottom: 10px;
	}
	.about1box{
		display: block;
		margin-bottom: 60px;
	}
	.about1photo{
		width: 200px;
		margin: 0 auto;
	}
	.about1text{
		width: 340px;
		height: 500px;
		margin: 0 auto;
	}
	.career{
		margin-bottom: 60px;
	}
	.career-title{
		margin-top: 10px;
	}
	.career h2{
		padding-left: 10px;
	}
	.career h4{
		padding-top: 15px;
		padding-left: 10px;
	}
	dl{
		margin-block-start: 1em;
		margin-block-end: 1em;
		margin-inline-start: 0px;
		margin-inline-end: 0px;
	}
	.career-flex{
		display: flex;
		flex-direction: column;
		border-left: none;
		padding-left: 0;
		paddinf-top: 0;
		position: relative;
		margin: 0 auto;
		width: 100%;
	}
		dt{
			display: block;
	}
	.aboutCareer_left{
		width: 40%;
		font-size: 15px;
		font-weight: 500;
		text-align: right;
		padding-right: 0;
		padding-top: 40px;
		border-right: none;
	}
	dd{
		display: block;
		margin-inline-start: 40px;
		font-size: 0.9rem;
	}
	.career-bold{
		font-size: 1em;
		font-weight: 600;
	
	}
	.aboutCareer_right1{
		width: 80%;
		text-align: left;
		padding-left: 10px;
		padding-top: 32px;
		margin-bottom: 30px;
	}
	.aboutCareer_right1::before{
		content: '';
		display: block;
		width: 70px;
		height: 70px;
		background-image: url("../img/about_career1.jpg");
		position: absolute;
		top: 10px;
		left: 150px;
	}
	.aboutCareer_right2{
		width: 80%;
		text-align: left;
		padding-left: 10px;
		padding-top: 32px;
		margin-bottom: 30px;
	}
	.aboutCareer_right2::before{
		content: '';
		display: block;
		width: 75px;
		height: 70px;
		background-image: url("../img/about_career2.jpg");
		position: absolute;
		top: 10px;
		left: 150px;
	}
	.aboutCareer_right3{
		width: 80%;
		text-align: left;
		padding-left: 10px;
		padding-top: 32px;
		margin-bottom: 30px;
	}
	.aboutCareer_right3::before{
		content: '';
		display: block;
		width: 80px;
		height: 70px;
		background-image: url("../img/about_career3.jpg");
		position: absolute;
		top: 10px;
		left: 150px;
	}
	.skill-title{
		margin-top: 10px;
	}
	.skill h2{
		padding-left: 10px;
	}
	.skill h4{
		padding-top: 15px;
		padding-left: 10px;
	}
	
	/*works*/
	.works1-title{
		padding-top: 75px;
		margin-bottom: 10px;
	}
	#WebDesign{
		padding-top: 10px;
	}
	.webdesign-title{
		margin-top: 20px;
	}
	.webdesign h2{
		padding-left: 10px;
	}
	.webdesign h4{
		padding-top: 15px;
		padding-left: 10px;
	}

	.works-inner-flex1{
		margin: 40px 20px 20px 20px;
		display: block;
	}
	.works-inner-flex2,.works-inner-flex3,.works-inner-flex4{
		margin: 40px 20px 30px 20px;
		display: block;
	}
	.modal-window{
		width: 85%;
		height: 100vh;
		background-color: #fff;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		text-align: center;
		padding-top: 70px;
		overflow: scroll;
	}
	.modal-open1 h5,.modal-open2 h5{
		margin-bottom: 20px;
	}
	.modal-open1 img,.modal-open2 img,.modal-open3 img,.modal-open4 img,.modal-open5 img,.modal-open6 img{
		width: 280px;
	}
	.works-text h5{
		font-size: 0.8rem;
	}
	.modal-link{
		font-size: 0.8rem;
	}
	.work-fullimg{
		text-align: left;
	}
	.work-fullimg img{
		width: 250px;
	}
	.modal-close1,.modal-close2,.modal-close3,.modal-close4,.modal-close5,.modal-close6{
		margin-top: 50px;
		width: 180px;
		height: 45px;
		line-height: 45px;
	}
	.modal-box{
		padding: 40px 10px 0 25px;
		text-align: left;
	}	
	.modal-text{
		margin-bottom: 20px;
	}
	.work-fullimg{
		margin-top: 30px;
	}
	.work-fullimg img{
		width: 65%;
		margin: 0 auto;
	}
	#Banner{
		padding-top: 20px;
	}
	.banner-title{
		margin-top: 20px;
	}
	.banner h2{
		border-left: 20px solid #EFE8DD;
		padding-left: 10px;
	}
	.banner h4{
		padding-top: 15px;
		padding-left: 10px;
	}
	#Pamphelet{
		padding-top: 20px;
	}
	.pamphelet-title{
		margin-top: 20px;
	}
	.pamphelet h2{
		padding-left: 10px;
	}
	.pamphelet h4{
		padding-top: 15px;
		padding-left: 10px;
	}
	#GreatingCard{
		padding-top: 20px;
	}
	.greatingcard-title{
		margin-top: 20px;
	}
	.greatingcard h2{
		padding-left: 10px;
	}
	.greatingcard h4{
		padding-top: 15px;
		padding-left: 10px;
	}

	/*-----contact-----*/
	.contact1-title{
		padding-top: 80px;
	}
	.contact1-box{
		margin-bottom: 50px;
	}
	input {
		margin-bottom: 10px;
    	width: max(60%, 300px);
		height: 35px;
  	}
	textarea {
		margin-bottom: 30px;
    	width: max(60%, 300px);
		height: 300px;
 	 }
}
