@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
	CSSカスタムプロパティ
--------------------------------------------------------------*/
:root{
/* 文字サイズ */
	--text_size_big: 24px;
	--text_size_middle: 20px;
	--text_size_small: 16px;
	--note_size: 12px;

/* 色 */
	--color01: #5a5a5a; 
	--color02: #fff;
	--white: #fff;
	--black: #000;

/* コンテナーサイズ */
	--container_size_M: 1080px;
	--container_size_L: 1280px;

}

@media (max-width:768px) {
	:root{
		/* 文字サイズ */
		--text_size_big: 4.5vw;
		--text_size_middle: 4vw;
		--text_size_small: 3.5vw;
		--note_size: 3vw;
	}
}

/*--------------------------------------------------------------
	Base
--------------------------------------------------------------*/
html, body{
	font-family: 'Noto Sans JP', sans-serif;
	position: relative;
	width: 100vw;	
	height: 100vh;
}
html{
	scroll-behavior: smooth;
	overflow-x: hidden;
}
.container_M{
	width: var(--container_size_M);
	margin: 0 auto;
}
.container_L{
	width: var(--container_size_L);
	margin: 0 auto;
}
a{
	text-decoration: none;
}
	a:hover{
		opacity: .7;
		transition: .3s;
	}

@media (min-width:769px){
	.sp{
		display:none !important;
	}
}
@media (min-width:769px) and ( max-width:1100px) {
	.container_M{
		width: calc(100% - 1.5rem);
		padding: 0 0.5rem;
	}
	.container_L{
		width: calc(100% - 5rem);
		padding: 0 0.5rem;
	}
}
@media (min-width:1100px) and ( max-width:1300px) {
	.container_L{
		width: calc(100% - 5rem);
		padding: 0 0.5rem;
	}
}
@media (max-width:768px) {
	.container_M{
		width: calc(100% - 2.5rem);
		padding: 0 0.5rem;
	}
	.container_L{
		width: calc(100% - 2rem);
		padding: 0 0.5rem;
	}
	.pc{
		display:none !important;
	}
	img{
		width: 100%;
	}
}



/*--------------------------------------------------------------
	Header
--------------------------------------------------------------*/
header{
	width: 100vw;
	position: fixed;
	display: flex;
}
header .head_icon{
	display: flex;
	justify-content: flex-end;
}
	.head_icon li{
		margin-block: 2rem;
		margin-inline: 1rem;
	}

.change_color{
	background-color: rgba(0, 0, 0, .6);
	transition: 0.5s;
}

/*--------------------------------------------------------------
	HBM
--------------------------------------------------------------*/
/* チェックボックスは非表示に */
.drawer-hidden {
	display: none;
}
/* ハンバーガーアイコンの設置スペース */
.drawer-open {
	display: flex;
	height: 63px;
	width: 63px;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 100;
	cursor: pointer;
	margin-top: -0.5rem;
  background-color: var(--black);
  border-radius: 5px;
}
	/* ハンバーガーメニューのアイコン */
	.drawer-open span {
		content: '';
		display: block;
		height: 1px;
		width: 25px;
		border-radius: 3px;
		transition: 0.5s;
		position: absolute;
		right: 24px;
		top: 31px;
	}
		.drawer-open span:before,
		.drawer-open span:after {
			content: '';
			display: block;
			height: 5px;
			width: 35px;
			background: var(--white);
			transition: 0.5s;
			position: absolute;
		}
		.drawer-open span:before {
			bottom: 5px;
		}
		.drawer-open span:after {
			top: 5px;
		}
/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked ~ .drawer-open span {
	background: rgba(255, 0, 0, 0);
}
	/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
	#drawer-check:checked ~ .drawer-open span::before {
		bottom: -3px;
		transform: rotate(45deg);
	}
	#drawer-check:checked ~ .drawer-open span::after {
		top: -1px;
		transform: rotate(-45deg);
	}
/* メニューのデザイン*/
.drawer-content {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 100%;/* メニューを画面の外に飛ばす */
	z-index: 99;
	background: var(--black);
	opacity: 0.8;
	transition: .5s;
}
/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
	left: 0;/* メニューを画面に入れる */
}
.drawer-list {
	margin-top: 15vh;
	padding: 0;
	text-align: center;
	font-size: 32px;
}
	.drawer-list:last-child {
		border-bottom: var(--white) solid thin;
	}
	.drawer-item {
		border-top: var(--white) solid thin;
		padding: 20px 0;
	}
	.drawer-item a{
		color: var(--white);
	}


@media screen and (max-width:768px){
	.drawer-list {
		font-size: 24px;
	}
}


/*--------------------------------------------------------------
	MV
--------------------------------------------------------------*/
.mv{
	background: url(../images/mv_bg.webp) no-repeat right top;
	background-size: contain;
  height: 45vw;
}
  .mv .container_M {
    display: flex;
    align-items: center;
    height: 100%;
  }
	.mv p img{
    max-height: 100%;
	}

@media screen and (min-width:1400px) {
  .mv{
    height: 40vw;
  }
}
@media screen and (min-width:769px) and ( max-width:1265px){
	.mv h1 img {
    width: 25vw;
    padding-left: 5vw;
	}
}
@media (max-width:768px) {
	.mv{
	  background: url(../images/mv_bg_sp.webp) no-repeat center top;
  	background-size: cover;
		height: 50vh;
	}
  .mv .container_M {
    width: 100%;
    align-items: flex-end;
    padding: 0;
  }
		.mv h1{
      padding: 10vw 5vw;
		}
			.mv h1 img{
        width: 50%;
        padding-left: 0;
			}
}


/*--------------------------------------------------------------
	Profile
--------------------------------------------------------------*/
.profile{
	background: var(--white);
}
	.prof_flex{
		padding-top: 10vh;
		display: flex;
		justify-content: space-between;
	}
	.profile_img{
    width: 35vw;
    display: flex;
    align-items: flex-end;
	}
	.profile_img img{
    max-width: 100%;
	}
	.profile_text{
		margin-top: 5vh;
	}
		.profile_text h2{
			width: 40vw;
			margin-bottom: 2rem;
		}
		.profile_text table{
			font-size: var(--text_size_middle);
      margin-left: 4vw;
		}
			.profile_text th{
				color: var(--color01);
				width: 10rem;
			}
			.profile_text td{
				color: var(--black);
				font-weight: 500;
				width: calc(100% - 10rem);
			}
			.profile_text th,
			.profile_text td{
				padding-block: 0.8rem;
			}
		.profile_text p{
			margin: 3rem 0 3rem 5vw;
			border: none;
			background: none;
			cursor: pointer;
		}


@media screen and (min-width:769px) and ( max-width:1200px){
	.prof_flex{
		align-items: flex-end;
	}
}
@media (max-width:768px) {
	.prof_flex{
		padding-top: 8vh;
		flex-direction: column;
	}
	.profile_text{
		margin-top: 0;
	}
		.profile_text h2{
			width: 100%;
		}
			.profile_text h2 img{
				width: 50vw;
			}
	.profile_img{
		text-align: center;
    width: 100%;
    display: block;
	}
	.profile_text th,
	.profile_text td{
		display: block;
		width: 100%;
		padding-block: 0.2rem;
	}
	.profile_text th{
		padding-top: 0.8rem;
	}
	.profile_text tr{
		padding-block: 1rem;
	}
  .profile_text p {
    text-align: center;
    margin: 3rem auto;
    width: 70vw;
  }
  .profile_text p > img {
			width: 40vw;
		}


}


/*--------------------------------------------------------------
	Sub - Works
--------------------------------------------------------------*/
.sub_mv{
	height: 40vh;
  display: flex;
  align-items: center;
}
	.works_mv{
		background: url(../images/sub_works_bg.webp);
		background-size: cover;
	}
	.contact_mv{
		background: url(../images/sub_contact_bg.webp);
		background-size: cover;
	}

	.sub_mv h1{
    margin-top: 10vh;
	}

.works{
	background: var(--white);
	padding-block: 10vh;
}
	.works_flex ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.works_flex li {
    width: calc((100% - 5%) / 6);
		box-sizing: border-box;
		margin: 0 1% 1rem 0;
	}
  .works_flex li img {
      max-width: 100%;
  }
  .works_flex li:last-of-type { margin-right: 0; }

	.works_text h2{
		margin-top: 5vh;
    border-left: 4px solid var(--black);
    font-size: var(--text_size_big);
		line-height: 1.6rem;
    padding: 0.5rem 1rem;
	}
	.works_text p{
		font-size: var(--text_size_small);
		line-height: 1.6rem;
		margin-top: 0.8rem;
	}
.works_btn{
	text-align: center;
}
	.works_btn button{
		margin-block: 5rem ;
		border: none;
		background: none;
		cursor: pointer;
	}

@media screen and (min-width:769px) and ( max-width:1265px){
	.sub_mv{
		background-position: center;
	}
}
@media screen and (min-width:870px) and ( max-width:1100px){
	.works_flex li {
    width: calc((100% - 4%) / 5);
	}
  .works_flex li:nth-of-type(5) { margin-right: 0; }
}
@media screen and (min-width:769px) and ( max-width:870px){
	.works_flex li {
    width: calc((100% - 3%) / 4);
	}
  .works_flex li:nth-of-type(4) { margin-right: 0; }
}	
@media (max-width:768px) {
	.sub_mv{
		height: 35vh;
	}
	.works_mv{
		background: url(../images/sub_works_bg_sp.webp) center;
		background-size: cover;
	}
	.contact_mv{
		background: url(../images/sub_contact_bg_sp.webp) center;
		background-size: cover;
	}
		.sub_mv h1 img{
			width: 55vw;
		}
	.works{
		padding-block: 6vh;
	}
    .works_flex li {
      width: calc((100% - 2%) / 3);
    }
    .works_flex li:nth-of-type(3) { margin-right: 0; }
		.works_text h2 img{
			width: auto;
		}
		.works_btn button{
			margin-block: 2.5rem ;
		}
}


/*--------------------------------------------------------------
	Sub - Contact
--------------------------------------------------------------*/
.contact{
	background: var(--white);
	padding-block: 7vh;
}
	.contact p{
		font-size: var(--text_size_small);
		line-height: 1.6rem;
		margin-bottom: 0.8rem;
	}
		.contact p.mt2rem{
			margin-top: 2rem;
		}
		.contact p.mt3rem{
			margin-top: 3rem;
      font-weight: 600;
		}
		.contact p.red{
			color: #c80000;
			font-weight: bold;
		}
	.contact table{
		font-size: var(--text_size_small);
		width: 100%;
		border-collapse: separate;
		border-spacing: 0 0.8rem;
	}
		.contact table th,
		.contact table td{
			padding: 1.2rem;
		}
		.contact table th{
			width: 25%;
			background: var(--black);
			color: var(--white);
		}
			.contact table th span{
				margin-left: 1.2rem;
				font-weight: normal;
			}
		.contact table td{
			border: 1px solid var(--black);
		}
		.contact table input,
		.contact table select,
		.contact table textarea{
			padding: 0.5rem;
			box-sizing: border-box;
			border: none;
		}
			.contact table .w100{
				width: 100%;
			}
			.contact table .w40{
				width: 40%;
				margin-right: 1rem;
			}
			.contact table input.w40:last-of-type{
				margin-right: 0;
			}
	.contact .note{
		color: var(--color01);
		font-size: var(--text_size_small);
		margin-block: 5vh;
	}
	.contact .checkbox{
		text-align: center;
		color: var(--color01);
		font-size: var(--text_size_big);
	}
		input[type=checkbox] {
			-ms-transform: scale(1.5, 1.5);
			-webkit-transform: scale(1.5, 1.5);
			transform: scale(1.5, 1.5);
		}
	.contact .button{
		text-align: center;
	}
		.contact .button p{
			margin-top: 5rem;
			color: var(--color01);
			font-size: var(--note_size);
		}
		.contact .button button{
			margin-block: 0.5rem;
			border: none;
			background: none;
			pointer-events: none;
		}
		.contact .button input{
			opacity: .3;
			transition: .3s;
			width: 400px;
			height: 80px;
			background: url(../images/contact_btn.webp) no-repeat;
			font-size: 0;
			border: none;
			cursor: default;
		}
		.contact .button input.check_on {
			opacity: 1;
			transition: .3s;		
			cursor: pointer;
			pointer-events: auto;
		}
		.contact .button input.check_on:hover {
			opacity: .7;
			transition: .3s;				
		}


@media (min-width:769px) and ( max-width:1050px) {
	.contact table {
		width: 95%;
	}
}
@media (max-width:768px) {
	.contact table {
		width: 97%;
	}
	.contact .button input{
		width: 360px;
	}
	.contact table .w40{
		width: 80%;
		margin-right: 0;
	}

}


/*--------------------------------------------------------------
	Footer
--------------------------------------------------------------*/
footer{
	color: var(--white);
	font-size: var(--text_size_small);
	background: var(--black);
	padding-bottom: 5vh;
  text-align: center;
}
	footer nav ul {
		display: flex;
    justify-content: center;
	}
  footer nav ul.foot_sns li {
    margin: 2rem 1rem;
  }
		footer nav ul.foot_menu a{
			color: var(--white);
			text-decoration: none;
		}
		footer nav ul.foot_menu li::before{
			content: "|";
			margin-inline: 1rem;
		}
		footer nav ul.foot_menu li:last-of-type::after{
			content: "|";
			margin-inline: 1rem;
		}
footer p {
  margin-top: 2rem;
}
@media (max-width:768px) {
		.foot_flex nav ul{
			margin-bottom: 2rem;
		}
}



