﻿@charset "utf-8";

/* ========================================================================== */
/* 共通スタイルシート設定                                                     */
/* ========================================================================== */
/* ・配色は和色大辞典より引用しています                                       */
/*     https://www.colordic.org/w                                             */
/* ・レスポンシブはメニューのみ対応しています                                 */
/*     タブレット（1040px以下）、スマホ（760px以下）                           */
/* ========================================================================== */

/* ====================================================== */
/* HTML部品標準設定                                       */
/* ====================================================== */
/* 全称セレクタ */
* {
	box-sizing: border-box;
}
/* html */
html{
    height: 100%;
}

/* body */
body {
    margin: 0px;
	overflow-x: hidden;
	transition: all 0.5s;
    line-height: 1.5;
}

body.show-menu {
	overflow-y: hidden;
}

/* nav */
nav {
	display: flex;
	align-items: center;
}

/* ul */
ul {
	margin: 0px;
	padding: 0px;
}

/* ====================================================== */
/* セクション部品標準設定                                 */
/* ====================================================== */
/* フィルタ（PC・タブレット） */
.filter {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	background-color: black;
	opacity: 0;
	z-index: 1000;
	visibility: hidden;
	transition: opacity 1s;
}

.filter.show-menu {
	visibility: visible;
}

/* フィルタ（スマホ） */
@media screen and (max-width: 760px) {
	.filter {
		opacity: 0;
		visivility: hidden;
	}
	.filter.show-menu {
		opacity: 0.6;
		visibility: visible;
	}
}


/* ヘッダ部 */
.header {
	top: 0px;
    width: 100%;
    margin-bottom:15px;
	padding: 5px;
	border-bottom: solid;
	border-width: 3px;
	border-color: #bb8eef;
	z-index: 999;
    white-space: nowrap;
}

@media screen and (max-width: 760px) {
    .header {
        position: sticky;
        background-color: white;
    	border-width: 0px;
    }
}

.wrap {
    width: 95%;
    margin: 0px auto;
}

@media screen and (min-width: 760px) {
    .wrap {
        width: 97%;
    }
}

@media screen and (min-width: 1100px) {
    .wrap {
        width: 1050px;
    }
}

/* メイン部 */
.main {
	margin-top: 20px;
	padding: 5px;
}

/* ヘッダ・メイン部のコンテンツ */
.contents {
	margin: 0px auto;
	width: 100%;
}

/* ヘッダレイアウト（PC） */
.header-layout {
	display: flex;
	flex-flow: row;
}

.header-layout-menu {
	display: flex;
	flex-flow: row;
	align-items: flex-end;
    margin-bottom: 1em;
}

/* ヘッダレイアウト（タブレット） */
@media screen and (max-width: 1040px) {
	.header-layout-menu {
		display: flex;
		flex-flow: column;
		align-items: normal;
        margin-bottom: 0em;
	}
}

/* ヘッダレイアウト（スマホ） */
@media screen and (max-width: 760px) {
	.header-layout-menu {
		display: flex;
		flex-flow: row;
		align-items: center;
        margin-bottom: 0em;
	}
}

/* ====================================================== */
/* ヘッダ部品標準設定                                     */
/* ====================================================== */
/* ロゴ（PC） */
.logo {
	width: 105px;
}

/* ロゴ（スマホ） */
@media screen and (max-width: 760px) {
	.logo {
		max-width: 60px;
	}
}

/* 会社名の表示（PC） */
.company-link {
	color: black;
	text-decoration-line: none;
	font-size: small;
	bottom: 0;
}

.company-link:hover{
    color: black;
}

.company-large {
	display: block;
}
.company-small {
	display: none;
}

/* 会社名の表示（タブレット・スマホ） */
@media screen and (max-width: 1040px) {
	.company-large {
		display: none;
	}
	.company-small {
		display: block;
	}
}

/* 会社名の表示（スマホ） */
@media screen and (max-width: 760px) {
	.company-small {
		font-size: medium;
	}
}

/* ハンバーガーメニュー（PC） */
.hamburger {
	display: none;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 1002;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	width: 20px;
	height: 4px;
    background-color: #222;
	border-radius: 5px;
	margin: 1px 0px;
}

/* ハンバーガーメニュー（スマホ） */
@media screen and (max-width: 760px) {
	.hamburger {
		display: flex;
	}

	.hamburger span:nth-of-type(1) {
		-webkit-transform: translateY(0px) rotate(0deg);
		transform: translateY(0px) rotate(0deg);
		transition: all 0.5s;
	}
	.hamburger span:nth-of-type(2) {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.5s;
	}
	.hamburger span:nth-of-type(3) {
		-webkit-transform: translateY(0px) rotate(0deg);
		transform: translateY(0px) rotate(0deg);
		transition: all 0.5s;
	}

	.hamburger.show-menu span:nth-of-type(1) {
		-webkit-transform: translateY(6px) rotate(45deg);
		transform: translateY(6px) rotate(45deg);
	}
	.hamburger.show-menu span:nth-of-type(2) {
		opacity: 0;
		visibility: hidden;
	}
	.hamburger.show-menu span:nth-of-type(3) {
		-webkit-transform: translateY(-6px) rotate(-45deg);
		transform: translateY(-6px) rotate(-45deg);
	}
}

/* メニュー（PC） */
.menu {
	display: flex;
	flex-direction: row;
	margin-left: 40px;
	list-style: none;
}

.menu li {
	padding: 0px;
	margin: 0px 20px 0px 0px;
	cursor: default;
}
.menu li.top {
	display: none;
}

.menu li a {
	font-size: medium;
    color: #323944;
	text-decoration: underline;
}
.menu li a:hover {
	color: #0094c8;
}

/* メニュー（タブレット） */
@media screen and (max-width: 1040px) {
	.menu li {
		display: flex;
		flex-direction: row;
		padding: 0px;
		margin: 50px 15px 0px 0px;
		cursor: default;
	}

	.menu li a {
		font-size: small;
		text-decoration: underline;
	}
}

/* メニュー（スマホ） */
@media screen and (max-width: 760px) {
	.menu {
		position: fixed;
		top: 5px;
		right: -200px;
		width: 180px;
		display: flex;
		flex-direction: column;
        background-color: white;
		border-radius: 5px;
		margin: 0px;
		padding: 10px;
		z-index: 1001;
		transition: right ease 0.5s;
	}

	.menu.show-menu {
		right: 5px;
	}

	.menu {
		padding: 30px 10px 10px 10px;
	}

	.menu li {
		display: table;
		width: 100%;
		height: 30px;
		margin: 0px;
		cursor: pointer;
	}

	.menu li.top {
		display: table;
	}

	.menu li a {
		display: table-cell;
		width: 100%;
		height: 100%;
		font-size: medium;
		text-decoration: none;
		vertical-align: middle;
		border-radius: 5px;
	}

	.menu li a:hover {
		background-color: #a0d8ef;
	}
}
/* ====================================================== */
/* フッター部品標準設定                                   */
/* ====================================================== */

.footer{
    width: 100%;
    background-color: #eaedf2;
    margin-top: 50px;

}

.inner-footer ul{
    list-style: none;
}

/* サイトマップ（PC・タブレット） */
@media screen and (min-width: 760px) {
	.sitemap-1of2 {
        float: left;
        width: 50%;
	}

	.sitemap-2of2 {
        float: left;
        width: 50%;
        margin-bottom: 20px;
	}
}

/* サイトマップ（スマホ） */
@media screen and (max-width: 760px){
    .sitemap-all{
        float: left;
        width: 100%;
        color: #2980b9;
    }
}

.sitemap-menu{
    margin-bottom: 8px;
}

.sitemap-menu a{
    color: #2980b9;
}

.service-name{
    padding-bottom: 20px;
}
