@charset "utf-8";
/* CSS Document */

@media screen and (max-width:850px){
	html {
		font-size: 8px;
	}
	body {
		max-width: 850px;
	}
	
	.ttl01 h4 {
		text-align: center;
		font-size: 28px;
		line-height: 0.8;
	}
	.ttl01 h4 span {
		font-size: 16px;
		color: #385A77;
	}

	
	/*--- header ---*/
	#header {
		background: #fff;
	}
	#header .inner {
		width: 95%;
		margin: auto;
		justify-content: space-between;
		align-items: center;
	}
	#header .inner h1 {
		width: 250px;
	}
	.head-right .hr-top {
		margin-bottom: 0.5rem;
		gap:3rem;
		margin-left: auto;
		width: 50px;
	}
	.head-right .hr-top a {
		display: block;
		color: #707070;
		font-size: 20px;
	}
	.head-right .head-nav ul {
		gap: 3rem;
	}
	.head-right .head-nav ul li {
		position: relative;
	}
	.head-right .head-nav ul li::before {
		content:"";
		width: 10px;
		height: 2px;
		background: #707070;
		position: absolute;
		top: 50%;
		transform: translate(-50%);
		left: -5px;
	}
	.head-right .head-nav ul li a {
		display: block;
		font-size: 12px;
		color: #707070;
		font-family:"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	}

	/*--- main ---*/
	/*mainvisual*/
	.mainvisual {
		height: 60vh;
		position: relative;
	}
	.mainvisual::before {
		content: "";
		width:65%;
		height: 90%;
		background: url("../img/mainvisual.jpg");
		background-position: center;
		background-size: cover;
		position: absolute;
		top:3rem;
		left: 3rem;
	}
	.mainvisual::after {
		content: "";
		width:28%;
		height: 53%;
		background: url("../img/deco.png");
		background-position: center;
		background-size: cover;
		position: absolute;
		top:5%;
		right: 1rem;
	}
	.catch-copy {
		position: absolute;
		bottom: 5rem;
		right: 5rem;
		background: rgba(241,240,234,0.5);
		padding: 2rem 4rem;
	}
	.catch-copy h2 {
		font-size: 4rem;
		line-height: 2;
	}

	
	
	/*News*/
	#news {
		padding: 8rem 0;
	}
	#news .inner {
		width: 80%;
		margin: auto;
		gap: 6rem;
		align-items: center;
	}
	#news .inner .ttl01 {
		width: 10%;
	}
	#news .inner dl {
		width: 75%;
		justify-content: space-between;
		align-items: center;
		font-size: 14px;
	}
	#news .inner dl dt {
		width: 20%;
		text-align: center;
		color: #385A77;
		border-bottom: 1px solid #ccc;
	}
	#news .inner dl dd {
		width: 80%;
		border-bottom: 1px solid #ccc;
	}
	
	
	/*greeting*/
	.bg-block {
		background: url("../img/bg01.jpg");
		background-position: center;
		background-size: cover;
		padding: 8rem 0;
	}
	#greeting .inner {
		padding-top: 5rem;
		width: 80%;
		margin: auto;
		justify-content: space-between;
		align-items: center;
	}
	#greeting .inner .img {
		width: 45%;
	}
	#greeting .inner .txt {
		width: 50%;	
	}
	#greeting .inner .txt p {
		font-size: 14px;
		line-height: 2;
	}
	
	/*works*/
	#works {
		padding-top: 10rem;
	}
	#works .container {
		width: 100%;
		padding: 5rem 0;
	}
	#works .works01 {
		margin-top: 5rem;
		background: rgba(224,235,241,0.7);
	}
	#works .works02 {
		background: rgba(176,212,232,0.7);
	}
	#works .container .inner {
		width: 90%;
		margin: auto;
		justify-content: space-between;
		align-items: center;
	}
	#works .container .inner .txt{
		width: 45%;
	}
	#works .container .inner .txt h6 {
		font-size: 24px;
		margin-bottom: 2rem;
	}
	#works .container .inner .txt p {
		font-size: 14px;
		line-height: 2;
	}
	.link-btn {
		width: 250px;
		padding: 1.5rem 0;
		border: 2px solid #333;
		margin-top: 3rem;
	}
	.link-btn:hover {
		background: #333;
	}
	.link-btn a {
		display: block;
		text-align: center;
		font-size: 16px;
		color: #333;
	}
	.link-btn:hover a {
		color: #fff;
	}
	#works .container .inner .img {
		width: 50%;
	}

	
	/*Contactus*/
	.rebnrs {
		margin-top: 5rem;
		justify-content: center;
		gap: 1rem;
	}
	.rebnrs .re-btn {
		width: 350px;
		border: 2px solid #333;
		border-radius: 5rem;
		padding: 2rem 0;
	}
	.rebnrs .re-btn a {
		display: block;
		text-align: center;
		color: #707070;
	}
	.rebnrs .re-btn a i {
		margin-right: 1.5rem;
	}
	.tel-link a {
		font-style: book;
		font-size: 36px;
	}
	.web-link a {
		font-size: 28px;
	}
	
	
	/*--- 下層ページ ---*/
	.s-mainvisual {
		width: 100%;
		height: 30vh;
		position: relative;
	}
	.page-ttl {
		position: absolute;
		top: 40%;
		left: 10rem;
	}
	.page-ttl h2 {
		font-size: 5rem;
	}
	
	/*--- company ---*/
	#company-profile {
		padding: 8rem 0;
	}

	#company-profile .inner {
		width: 90%;
		margin: 5rem auto;
	}
	.cp-table {
		flex-direction: column;
		gap:2rem;
		font-size: 16px;
	}
	.cp-table li {
		justify-content: space-between;
		align-items: flex-start;
		border-bottom: 1px solid #A4B5CF;
		padding-bottom: 1rem;
	}
	.cp-table li .dt {
		width: 20%;
		background: #A4B5CF;
		padding: 0.5rem 0;
	}
	.cp-table li .dt p {
		text-align: center;
	}
	.cp-table li .dd {
		width: 80%;
		padding-left: 1rem;
		box-sizing: border-box;
	}

	/*aceessmap*/
	#access-map {
		padding: 8rem 0;
	}
	#access-map .map {
		width: 90%;
		margin: 2rem auto;
	}
	#access-map .map iframe {
		width: 100%;
	}
	
	
	/*--- works ---*/
	.work-content {
		padding: 8rem 0;
	}
	.work-content .container {
		width: 95%;
		position: relative;
	}
	.work-content .container::before {
		content: "";
		width: 60%;
		height: 100%;
		position: absolute;
		top: 0;
		right: 1rem;
	}
	.work-content .container .inner {
		width: 98%;
	}
	.work-btxt {
		font-size: 32px;
		line-height: 1.5;
	}
	.work-txt {
		width: 90%;
		font-size: 15px;
		line-height: 2;
		margin-top: 2rem;
	}
	.case-link {
		width: 250px;
		margin: 5rem auto 0 auto;
		border: 1px solid #333;
		border-radius: 5rem;
		padding: 1rem 0;
	}
	.case-link a {
		display: block;
		text-align: center;
		font-size: 16px;
		color: #333;
	}
	.work-content .container02 .inner {
		width: 90%;
		margin: 3rem auto 0 auto;
	}
	.work-txt02 {
		font-size: 16px;
		line-height: 2;
	}
	.work-txt03 {
		font-size: 18px;
		line-height: 2;
		margin-bottom: 2rem;
		font-weight: 600;
	}
	.work-content .container02 .inner .inner-flex {
		justify-content: space-between;
		align-items: flex-start;
		margin-top: 3rem;
	}
	.work-content .container02 .inner .inner-flex .if-item {
		width: 48%;
	}
	.ifttl {
		font-size: 18px;
	}
	.if-item ul {
		margin: 1rem auto;
	}
	.if-item ul li {
		width: 48%;
		font-size: 14px;
		margin-bottom: 5px;
	}
	.if-txt {
		margin: 1rem auto;
		font-size: 14px;
	}
	
	/*--- case ---*/
	.case-wrapper {
		width: 90%;
		margin: 5rem auto;
		justify-content: space-between;
	}
	.case-wrapper .item {
		width: 45%;
		background: #fff;
		padding: 3rem 0 2rem 0;
		margin-bottom: 3rem;
	}
	.thumnails {
		width: 90%;
		margin: auto;
	}
	.case-wrapper .item p {
		font-size: 16px;
		padding-top: 0.5rem;
		width: 90%;
		margin: auto;
	}
	.readmore {
		width: 180px;
		margin: 2rem auto 0 auto;
		border: 1px solid #333;
		border-radius: 5rem;
		padding: 1rem 0;
	}
	.readmore a {
		display: block;
		text-align: center;
		font-size: 16px;
	}
	
	
	/*--- contact ---*/
	#contact {
		padding: 8rem 0;
		background: #EEF4FB;
	}
	.mv-contact {
		background: url("../img/mv-contact.jpg");
		background-size: cover;
		background-position: center;
	}

	/*フォーム*/
	.contact-form {
		width: 85%;
		margin: 5rem auto;
		font-size: 16px;
		background: #fff;
		padding: 5rem 0;
	}
	.contact-form form {
		margin: auto;
	}

	.input_box {
		width: 90%;
	}
	.input_txtarea {
		width: 90%;
		height: 10em;
	}

	
}


@media screen and (max-width:420px){
	html {
		font-size: 6px;
	}
	body {
		max-width: 420px;
	}
	.sp-none {
		display: none;
	}
	.sp-only {
		display: block;
	}
	.ttl01 h4 {
		text-align: center;
		font-size: 28px;
		line-height: 0.8;
	}
	.ttl01 h4 span {
		font-size: 16px;
		color: #385A77;
	}

	
	/*--- header ---*/
	#header {
		background: #fff;
	}
	#header .inner {
		width: 95%;
		margin: auto;
		justify-content: space-between;
		align-items: center;
	}
	#header .inner h1 {
		width: 300px;
		margin: auto;
	}
	
	/*--- main ---*/
	/*mainvisual*/
	.mainvisual {
		height: 40vh;
		position: relative;
	}
	.mainvisual::before {
		content: "";
		width:95%;
		height: 100%;
		background: url("../img/mainvisual.jpg");
		background-position: center;
		background-size: cover;
		position: absolute;
		top:3rem;
		left: 50%;
		transform: translate(-50%);
	}
	.mainvisual::after {
		display: none;
	}
	.catch-copy {
		width: 300px;
		height: 80px;
		position: absolute;
		bottom: 15rem;
		left: 50%;
		transform: translate(-50%);
		background: rgba(241,240,234,0.5);
	}
	.catch-copy h2 {
		font-size: 3rem;
		line-height: 2;
		text-align: center;
		font-weight: 600;
	}

	
	
	/*News*/
	#news {
		padding: 8rem 0;
	}
	#news .inner {
		width: 90%;
		margin: auto;
		gap: 5rem;
		flex-direction: column;
	}
	#news .inner .ttl01 {
		width: 30%;
	}
	#news .inner dl {
		width: 100%;
		flex-direction: column;
		justify-content: space-between;
	}
	#news .inner dl dt {
		width: 30%;
		text-align: center;
		color: #385A77;
		border-bottom: none;
	}
	#news .inner dl dd {
		width: 100%;
		text-align: center;
		border-bottom: 1px solid #ccc;
	}
	
	
	/*greeting*/
	.bg-block {
		background: url("../img/bg01.jpg");
		background-position: center;
		background-size: cover;
		padding: 8rem 0;
	}
	#greeting .inner {
		padding-top: 5rem;
		width: 90%;
		flex-direction: column;
		gap: 3rem;
	}
	#greeting .inner .img {
		width: 100%;
	}
	#greeting .inner .txt {
		width: 100%;	
	}

	
	/*works*/
	#works {
		padding-top: 10rem;
	}
	#works .container {
		width: 100%;
		padding: 5rem 0;
	}
	#works .works01 {
		margin-top: 5rem;
		background: rgba(224,235,241,0.7);
	}
	#works .works02 {
		background: rgba(176,212,232,0.7);
	}
	#works .container .inner {
		width: 90%;
		flex-direction: column;
		gap: 3rem;
	}
	#works .container .inner .txt{
		width: 100%;
	}
	#works .container .inner .txt h6 {
		font-size: 20px;
		margin-bottom: 2rem;
		text-align: center;
	}
	#works .container .inner .txt p {
		font-size: 14px;
		line-height: 2;
		
	}
	.link-btn {
		width: 250px;
		margin: auto;
		padding: 1.5rem 0;
		border: 2px solid #333;
		margin-top: 3rem;
	}
	.link-btn:hover {
		background: #333;
	}
	.link-btn a {
		display: block;
		text-align: center;
		font-size: 16px;
		color: #333;
	}
	.link-btn:hover a {
		color: #fff;
	}
	#works .container .inner .img {
		width: 100%;
	}
	
	
	/*Area*/
	#area .inner {
		width: 90%;
		margin: auto;
	}
	#area .inner p {
		font-size: 14px;
		padding: 3rem 0;
	}
	
	/*Contactus*/
	.rebnrs {
		margin-top: 5rem;
		flex-direction: column;
		gap: 3rem;
	}
	.rebnrs .re-btn {
		width: 350px;
		margin: auto;
		border: 2px solid #333;
		border-radius: 6rem;
		padding: 2rem 0;
	}
	.rebnrs .re-btn a {
		display: block;
		text-align: center;
		color: #707070;
	}
	.rebnrs .re-btn a i {
		margin-right: 1.5rem;
	}
	.tel-link a {
		font-style: book;
		font-size: 36px;
	}
	.web-link a {
		font-size: 28px;
	}
	
	
	/*footer*/
	#footer {
		padding-top: 10rem;
	}
	.foot-logo {
		width: 380px;
		margin: auto;
	}
	.foot-adress {
		text-align: center;
		margin: 2rem auto;
		font-size: 12px;
	}
	.foot-nav {
		display: none;
	}
	.foot-map {
		width: 100%;
	}
	.foot-map iframe {
		width: 100%;
	}
	.foot-copy {
		font-size: 12px;
		text-align: center;
	}

	
	
	
	/*--- 下層ページ ---*/
	.s-mainvisual {
		width: 100%;
		height: 20vh;
		position: relative;
	}
	.page-ttl {
		position: absolute;
		top: 40%;
		left: 5rem;
	}
	.page-ttl h2 {
		font-size: 5rem;
	}
	
	
	/*--- company ---*/
	#company-profile {
		padding: 8rem 0;
	}

	#company-profile .inner {
		width: 90%;
		margin: 5rem auto;
	}
	.cp-table {
		flex-direction: column;
		gap:2rem;
		font-size: 16px;
	}
	.cp-table li {
		justify-content: space-between;
		align-items: flex-start;
		border-bottom: 1px solid #A4B5CF;
		padding-bottom: 1rem;
	}
	.cp-table li .dt {
		width: 100%;
		background: #A4B5CF;
		padding: 0.5rem 0;
	}
	.cp-table li .dt p {
		text-align: center;
	}
	.cp-table li .dd {
		width: 100%;
		padding: 1rem 0;
		box-sizing: border-box;
	}
	.cp-table li .dd p {
		text-align: center;
	}
	/*aceessmap*/
	#access-map {
		padding: 8rem 0;
	}
	#access-map .map {
		width: 90%;
		margin: 2rem auto;
	}
	#access-map .map iframe {
		width: 100%;
	}
	
	
	/*--- works ---*/
	.work-content {
		padding: 8rem 0;
	}
	.work-content .container {
		width: 95%;
		position: relative;
	}
	.work-content .container::before {
		content: "";
		width: 100%;
		height: 65%;
		position: absolute;
		top: 3rem;
		right: 1rem;
	}
	.work-content .container .inner {
		width: 98%;
		margin: auto;
	}
	.work-btxt {
		font-size: 24px;
		line-height: 1.5;
	}
	.work-txt {
		width: 100%;
		font-size: 13px;
		line-height: 2;
		margin-top: 2rem;
	}
	.case-link {
		width: 250px;
		margin: 5rem auto 0 auto;
		border: 1px solid #333;
		border-radius: 5rem;
		padding: 1rem 0;
	}
	.case-link a {
		display: block;
		text-align: center;
		font-size: 16px;
		color: #333;
	}
	.work-content .container02 .inner {
		width: 90%;
		margin: 3rem auto 0 auto;
	}
	.work-txt02 {
		font-size: 14px;
		line-height: 2;
	}
	.work-txt03 {
		font-size: 16px;
		line-height: 2;
		margin-bottom: 2rem;
		font-weight: 600;
	}
	.work-content .container02 .inner .inner-flex {
		justify-content: space-between;
		align-items: flex-start;
		margin-top: 3rem;
	}
	.work-content .container02 .inner .inner-flex .if-item {
		width: 100%;
	}
	.ifttl {
		font-size: 18px;
	}
	.if-item ul {
		margin: 1rem auto;
	}
	.if-item ul li {
		width: 48%;
		font-size: 12px;
		margin-bottom: 5px;
	}
	.if-txt {
		margin: 1rem auto;
		font-size: 13px;
	}
	
	/*--- case ---*/
	.case-wrapper {
		width: 95%;
		margin: 5rem auto;
		justify-content: space-between;
	}
	.case-wrapper .item {
		width: 48%;
		background: #fff;
		padding: 3rem 0 2rem 0;
		margin-bottom: 3rem;
	}
	.thumnails {
		width: 90%;
		margin: auto;
	}
	.case-wrapper .item p {
		font-size: 13px;
		padding-top: 0.5rem;
		width: 90%;
		margin: auto;
	}
	.readmore {
		width: 120px;
		margin: 2rem auto 0 auto;
		border: 1px solid #333;
		border-radius: 5rem;
		padding: 0.5rem 0;
	}
	.readmore a {
		display: block;
		text-align: center;
		font-size: 13px;
	}
	
	
	/*--- recruit ---*/
	#recruit .inner {
		width: 350px;
		margin: 5rem auto;
		padding: 2rem 0;
		background: #C3D6E6;
	}
	#recruit .inner p {
		font-size: 16px;
		text-align: center;
	}
	
	
	
	/*---  contact ---*/
	.form-item ul {
		flex-direction: column;
		gap:2rem;
	}
	.form-item ul .form-label {
		width: 100%;
		line-height: 1.5;
	}
	.form-item ul .form-label span {
		font-size: 10px;
		padding: 0.3rem 1rem;
	}
	.form-item ul .form-input {
		width: 100%;
	}
	.input_box {
		width: 100%;
	}
	.input_txtarea {
		width: 100%;
	}
	
	.submit-btn {
		width: 300px;
		margin: 3rem auto;
	}
	.Form-Btn {
		background: linear-gradient(#000,#333);
		padding: 2rem 0;
		text-align: center;
		color: #fff;
		width: 90%;
		margin: auto;
		border: none;
		border-radius: 1rem;
		font-size: 2.

	}
	
}
