@charset "utf-8";

/* CSS Document */

/*基本設定：フォントサイズ*/
@media(max-width: 599px) {
:root {
	font-size: 14px
}
}
@media(min-width: 600px) and (max-width: 799px) {
	:root {
 font-size: 16px;
}
}

@media(min-width: 800px) {
:root {
	font-size: 18px;
}
}
body {
	font-size: 16px
}
/*基本設定：ページ全体*/
body {
	margin: 0;
	font-family: "メイリオ", "Hiragino Kaku Gothic Pro", "sans-serif";
}

/*コンテンツC：概要（アイコン+テキスト）*/
.conC {
    padding-top: 70px;
	background-color: #5d9ab2;
	color: #fff;
}
.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}
.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conC a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: solid 3px currentcolor;
	border-radius: 6px;
	background-color: #bf6a7a;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}
.conC a:hover {
	background-image: linear-gradient( rgba(255,255,255,0.2), rgba(255,255,255,0.2) );
}
.conC .photo {
	min-height: 200px;
	background-image: url(../images/585.jpg);
	background-position: center;
	background-size: cover;
}
.conC .text {
	padding: 20px;
}
/*コンテンツD：概要（画像+テキスト:逆配置）*/
.conD .container {
	padding-top: 2px;
}
.conD .text {
	padding: 20px;
}
.conD h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}
.conD p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conD a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	box-shadow: 0 0 0 1px #888;
	border: solid 3px currentcolor;
	border-radius: 6px;
	background-color: #bf6a7a;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}
.conD a:hover {
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2));
}
.conD .photo {
	min-height: 200px;
	background-image: url(../images/586.jpg);
	background-position: center;
	background-size: cover;
}

@media(min-width: 768px) {
header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.headB ul {
	display: flex;
}

.conC .container {
	display: flex;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.conC .photo {
	flex: 3;
}
.conC .text {
	flex: 2;
	padding: 20px;
}
.conD .container {
	display: flex;
	flex-direction: row-reverse;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
	padding-bottom: 40px;
}
.conD .photo {
	flex: 0 0 400px;
}
.conD .text {
	flex: 1;
	padding: 50px;
}
.footB {
	display: flex;
    justify-content: flex-end;
}
.footB div {
	flex: 1;
}
.footB div:not(:first-child) {
	margin-left: 40px;
}
footer .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.footA {
	flex: 0 0 40%;
}
.footB{
        flex: 0 0 60%;
}    
.footC {
	flex: 0 0 100%;
}
/*大きい画面用の設定*/
.headC {
	display: none;
}
.headB {
	display: block !important;
}
}

/*ヘッダーC：トグルボタン*/
@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;
}
}
/*フッター*/
footer {
	color: #fff;
	background-color: #2b5566;
}
footer .container {
	padding: 40px 20px;
}
/*フッターA：サイト情報*/
.footA {
	margin-bottom: 30px;
}
.footA h2 {
	margin-top: 0;
	margin-bottom: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	letter-spacing: 0.2em;
}
.footA h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	letter-spacing: 0.2em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}
.footA a {
	color: inherit;
	text-decoration: none;
}
/*フッターB：フッターメニュー*/
.footB div {
	margin-bottom: 20px;
}
.footB h3 {
	margin-bottom: 10px;
	border-bottom: solid 1px currentcolor;
	font-size: 14px;
}
.footB ul {
	margin: 0;
	padding: 0;
	list-style-type: 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);
}
.footD {
	margin-top: 20px;
}
.footD ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.footD a {
	display: block;
	margin-right: 8px;
	padding: 0;
	color: inherit;
	font-size: 16px;
	text-decoration: none;
	border: solid 1px currentColor;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
}
.footD a:hover {
	background-color: rgba(0,0,0,0.3)
}
/*ヘッダー*/
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
}
.nohero header {
	position: static;
	border-bottom: solid 1px #ddd;
}
/*ヘッダーA：サイト名*/
.headA {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #5d9ab2;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	text-decoration: none;
}
/*ヘッダーB：ナビゲーションメニュー*/
.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);
}
/*フッターC：コピーライト*/
.footC {
    margin-top: 10px;
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}
/*こんてんつぺーじ：記事*/
.post .container {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}
.post h1 {
	padding-left: 0.5rem;
	border-left: solid 0.75rem #bf6a7a;
	font-size: 2rem;
}
.post p {
	font-size: 1rem;
	line-height: 2;
}
.post img {
	max-width: 100%;
}

/*あばうと　会社概要*/
.history {
	background-color: #5d9ab2;
	color: #fff;
}
.history .text {
	padding: 20px;
}
.history h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5rem;
}
.history .photo {
	min-height: 300px;
	background-image: url(../images/587.jpg);
	background-position: center;
	background-size: cover;
}
.history table {
	border-collapse: collapse;
	border-top: solid 1px #ddd;
	font-size: 0.875rem;
}
.history th, .history td {
	padding-top: 1.8rem;
	padding-bottom: 1.8rem;
	border-bottom: solid 1px #ddd;
}
.history th {
	padding-right: 1rem;
	text-align: left;
	word-break: keep-all;
}

@media(min-width: 768px) {
.history .container {
	display: flex;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.history .photo {
	flex: 3;
}
.history .text {
	flex: 2;
	padding: 50px;
}
.contact-wrap {
	display: flex;
}
.contact {
	flex: 1;
}
.contact:first-child {
	margin-right: 20px;
}
}
/*お問い合わせぺーじ：といあわせさき*/
.contact {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 20px;
	border: solid 1px #ddd;
	text-align: center;
}
.contact span {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 2.2rem;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: #5d9ab2;
	color: #fff;
}
.contact h2 {
	margin-top: 0;
	font-size: 1.2rem;
}
.contact a {
	font-size: 1.4rem;
	color: inherit;
	text-decoration: none;
}
/*お問い合わせぺーじ：ちず*/
.location iframe {
	width: 100%;
	height: 400px;
	vertical-align: bottom;
}
.location h2 {
	margin: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #5d9ab2;
	color: #fff;
	font-size: 1.5rem;
	text-align: center;
}

