@charset "UTF-8";

/*-----------------------------------------------

-- 01 Variables
-- 02 コンテンツが少ない場合にフッターを最下部に固定
-- 03 基本
-- 04 ヘッダー
-- 05 ロゴ
-- 06 コンテンツ
-- 07 フッター

------------------------------------------------*/

/*------------------------------------------------
  01 Variables
------------------------------------------------*/
:root {
    /* Color */
	--primary-color: #87945b;
	--basic-text-color: #333;
	--gley-light:    #f5f5f5;

	/* width */
	--layout-width: calc(100% - 40px);

    /* header-height */
    --header-pc-height: 60px;
	--header-sp-height: 40px;
}

/*------------------------------------------------
  02 コンテンツが少ない場合にフッターを最下部に固定
------------------------------------------------*/
html {
	display: flex;
	flex-direction: column;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}

main {
	flex-grow: 1;
	min-height: 1%;
}

@media print, screen and (min-width: 821px) {
	body {
		min-height: 100vh;
	}
}

/*------------------------------------------------
  03 基本
------------------------------------------------*/
html {
	font-size: 62.5%;
	background-color: #fff;
	color: var(--basic-text-color);
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-optical-sizing: auto;
}
body {
	font-size: 1.4rem;  /* 14px */
	line-height: 1.8;
	position: relative;
}
*, *::before, *::after {
	box-sizing: border-box;
}
.clearfix::after {
	content:'';
	display: block;
	clear: both;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	opacity: .7;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}

@media print, screen and (min-width: 768px) {
	body {
		font-size: 1.6rem;  /* 16px */
	}
}

/*----- イメージ下スペース削除 右クリック禁止 -----*/
img {
	vertical-align: middle;
	width: 100%;
}

/*----- PCで電話番号リンク無効 -----*/
@media print, screen and (min-width: 768px) {
	a[href^="tel:"] {
	  /*    color: inherit;*/
	  text-decoration: none;
	  pointer-events: none;
	}
}

/*スマートフォンの時は非表示*/
@media screen and (max-width: 767px) {
	.only_pc {
		display: none;
	}
}

/*PCの時は非表示*/
@media screen and (min-width: 768px) {
	.only_sp {
		display: none;
	}
}

/*------------------------------------------------
  04 ヘッダー
------------------------------------------------*/
.header {
    position: sticky;
    top: 0;
	z-index: 2;
	height: var(--header-sp-height);
	display: flex;
	align-items: center;
}
.header_inner {
	margin: auto;
	width: var(--layout-width);
}

@media screen and (min-width: 768px) {
	.header {
		height: var(--header-pc-height);
	}
}

/*------------------------------------------------
  05 ロゴ
------------------------------------------------*/
.logo a {
	display: block;
}
.logo {
	width: 160px;
}
.footer .logo {
	margin: auto;
}

@media screen and (min-width: 390px) {
	.logo {
		width: 180px;
	}
}

@media screen and (min-width: 768px) {
	.logo {
		width: 240px;
	}
}

/*------------------------------------------------
  06 コンテンツ
------------------------------------------------*/
.main {
	margin-top: 30px;
	margin-bottom: 40px;
}
.container {
	margin: auto;
	width: var(--layout-width);
}

@media screen and (min-width: 768px) {
	.main {
		margin-top: 60px;
		margin-bottom: 90px;
	}
}

/*------------------------------------------------
  07 フッター
------------------------------------------------*/
.footer {
	background-color: var(--gley-light);
	padding-top: 20px;
	padding-bottom: 20px;
}
.footer_inner {
	margin: auto;
	width: var(--layout-width);
}
.copyright {
	margin-top: 20px;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-size: 1.2rem;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.footer {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.copyright {
		font-size: 1.4rem;
	}
}
