@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #4072B3;
	--accent-color: #EB8686;
	--dark-main-color: #454545;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
}


/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 12px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 16px;
	}
}

body {font-size: 14px;}



/* 基本設定：page */
body {
	margin: 0;
	font-family: 'メイリオ',
		'Hiragino Kaku Gothic Pro', 
		sans-serif;
}


/* TOP */
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	min-height: 450px;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url(img/top_01.jpg);
	background-position: center;
	background-size: cover;
	color: #fff;
	color: var(--text-bright-color);
	text-align: center;
}


.conA h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
}

.conA h4 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 25px;
}

.conA img {
	width: 25%;
}

.conA a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #BF6A7A;
	background-color: var(--accent-color);
	color: #fff;
	color: var(--text-bright-color);
	font-size: 14px;
	text-decoration: none;
}

.conA a:hover	{
	background-image: linear-gradient(
		rgba(255,255,255,0.2),
		rgba(255,255,255,0.2)
	);
}


@media (min-width: 768px) {
	.conA h1 {
		font-size: 80px;
	}

	.conA p {
		font-size: 24px;
	}
}

/* TOP（icon） */
.conB .container {
	padding-top: 50px;
	padding-bottom: 20px;
}

.conB .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 30px;
	text-align: center;
}

.conB h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 18px;
}

.conB p {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conB a {
	color: #000;
	text-decoration: none;
}

.conB a:hover	{
	text-decoration: underline;
}

.conB .icon	{
	display: inline-block;
	margin-bottom: 10px;
	font-size: 40px;
	width: 3em;
	line-height: 2em;
	border-radius: 80%;
	text-align: center;
	background-color: #454545;
	color: #fff;
	color: var(--icon-color);
}

@media (min-width: 768px) {
	.conB .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conB .text	{
		flex: 1;
	}
}



/* TOP conC */
.conC {
	background-color: #5D9AB2;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
}

.conC .text {
	padding: 10px;
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 18px;
}

.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.4;
	opacity: 0.8;
}

.conC .photo {
	min-height: 200px;
	background-image: url(img/note.jpg);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conC .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conC .photo {
		flex: 3;
	}

	.conC .text {
		flex: 2;
		padding: 50px;
	}
}



/* TOP conD */
.conD .container {
	padding-top: 2px;
}

.conD .text {
	padding: 20px;
}

.conD h2 {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 18px;
}

.conD p {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.4;
	opacity: 0.8;
}

.conD p.red {
	margin-top: 0;
	margin-bottom: 20px;
	color:red;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	opacity: 0.8;
}
.conD .photo {
	min-height: 200px;
	background-image: url(img/life.jpg);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conD .container {
		display: flex;
		flex-direction: row-reverse;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.conD .photo {
		flex: 0 0 400px;
	}

	.conD .text {
		flex: 1;
		padding: 50px;
	}
}



/* footer */
footer {
	color: #fff;
	color: var(--text-bright-color);
	background-color: #2B5566;
	background-color: var(--dark-main-color);
}

footer .container {
	padding: 40px 20px;
}


@media (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}


/* footerA */
.footA {
	margin-bottom: 30px;
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 12px;
}

.footA a {
	color: inherit;
	text-decoration: none;
}


/* footerB */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.footB a:hover {
	background-color: rgba(0,0,0,0.3);
}


@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 40px;
	}
}


/* footerC */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}


/* footerD */
.footD {
	margin-top: 20px;
}

.footD ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footD a {
	display: block;
	margin-right: 8px;
	padding: 0;
	color: inherit;
	font-size: 16px;
	text-decoration: none;
	width: 5em;
	line-height: 5em;
	text-align: center;
}

.footD a:hover {
	background-color: rgba(0,0,0,0.3);
}


/* header */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: #fff;
}

.nohero header {
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

/* headerA */
.headA {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #fff;
	color: #454545;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 20px;
	text-decoration: none;
}


/* headerB */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.headB ul {
		display: flex;
	}
}


/* headerC */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		opacity: 0.5;
		cursor: pointer;
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
	}
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}






/* about */
.history {
	background-color: #5D9AB2;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
}

.history .text {
	padding: 20px;
}

.history h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5rem;
}

.history .photo {
	min-height: 300px;
	background-image: url(img/plant.jpg);
	background-position: center;
	background-size: cover;
}

.history table {
	border-collapse: collapse;
	border-top: solid 1px #ddd;
	border-top: solid 1px var(--gray-color);
	font-size: 0.875rem;
}

.history th,
.history td {
	padding-top: 1.8rem;
	padding-bottom: 1.8rem;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

.history th {
	padding-right: 1rem;
	text-align: left;
	word-break: keep-all;
}


@media (min-width: 768px) {
	.history .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.history .photo {
		flex: 3;
	}

	.history .text {
		flex: 2;
		padding: 50px;
	}
}

/* コンテンツ */
.post .container {
	max-width: 950px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}

.post h2 {
    background-color: #fff;
	margin-top: 0;
	margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
	font-size: 18px;
    font-weight: bold;
    padding: .5em;
    border-top: 2px solid #b0c4de;
    border-bottom: 2px solid #b0c4de;
}
.post h3 {
    background-color: #fff;
	margin-top: 0;
	margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
	font-size: 18px;
    font-weight: bold;
    padding: .3em;
    border-top: 2px solid #FC9D9D;
    border-bottom: 2px solid #FC9D9D;
}
.post h4 {
    background-color: #fff;
	margin-top: 0;
	margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    color: red;
	font-size: 14px;
    margin: 10px auto 0 10px;
    font-weight: bold;
}
.post h5 {
    background:transparent;
    color: #808080;
	padding: 0.2em 0.8em;
    border-left: solid 15px #ccc;
    font-size:16px;
    margin: 20px auto 0 20px;
    letter-spacing: 0.2em;
}
.post p {
  text-align: left;
  padding: .5em;
  color: #000;
  font-size: 12px;
}

.post img {
	max-width: 100%;
}

.post .service-wrap{
  	max-width: 650px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
    margin-bottom: 40px;
    text-align: center;
    border: solid 2px #ccc;
    padding:20px;
}
.post .service-wrap p{
    font-size:14px;
    letter-spacing: 0.1em;
}


/* 会社沿革 */
.tbl-r01 p {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #f5f5f5;
  margin: 0 auto;
}
.tbl-r01 table {
  width:550px;
  margin: 0 auto;
}
.tbl-r01 th {
  background: #708090;
  color: #f5f5f5;
  padding: 0px;
  letter-spacing: 0em;
}
.tbl-r01 td {
  background: #f5f5f5;
  color: #808080;
  padding: 10px;
  letter-spacing: 0em;
  clear: both;
}
 
@media screen and (max-width: 640px) {
  .last td:last-child {
    width: 100%;
  }
  .tbl-r01 {
    width: 80%;
  }
  .tbl-r01 th,
  .tbl-r01 td {
    border-bottom: none;
    display: block;
    width: 100%;
  }
}
/* 会社概要 */
p {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin: 30px auto 40px;
}
table {
  width:550px;
  margin: 0 auto 50px;
}
.tbl-r02 th {
  background: #e9e9e9;
  border: solid 1px #ccc;
  color: #454545;
  padding: 0px;
  letter-spacing: 0em;
}
.tbl-r02 td {
  background: #fff;
  border: solid 1px #ccc;
  color: #000;
  padding: 10px;
  letter-spacing: 0em;
  clear: both;
}
 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 80%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
    border-bottom: none;
    display: block;
    width: 100%;
  }
}

/* serviceA */
.service-conA {
	background-color: #ccc;
	color: #333;
    margin-bottom: 100px;
}

.service-conA .text {
    background-color: #fff;
	padding: 0 10px 10px;
}

.service-conA h2 {
    background-color: #fff;
	margin-top: 0;
	margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
	font-size: 18px;
    font-weight: bold;
    padding: .5em;
    border-top: 2px solid #b0c4de;
    border-bottom: 2px solid #b0c4de;
}

.service-conA p {
    background-color: #fff;
	margin-top: 0;
	margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

.service-conA .s-conA {
    background-color: black;
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	background-color: #fff;
	color: #333;
	font-size: 14px;
}

.service-conA a:hover	{
	background-image: linear-gradient(
		rgba(255,255,255,0.2),
		rgba(255,255,255,0.2)
	);
}

.service-conA .photo {
	min-height: 200px;
	background-image: url(img/help.jpg);
	background-position: center;
	background-size: cover;
}

.service-conA .after {
	margin: 40px auto 30px;
}

@media (min-width: 768px) {
	.service-conA .container {
		display: flex;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}

	.service-conA .photo {
		flex: 3;
	}

	.service-conA .text {
		flex: 2;
		padding: 50px;
	}
}a







