/* IMPORT CSS */
@import url("grid.css");

#floatingmenu {
	display: none;
}
section {
	margin: 0;
	padding: 33px 0 30px;
}
.container {
	text-align: center;
	margin: 0 auto;
	padding: 0 10px;
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
img.sp {
	display: none;
}
a {
	color: #000;
}
a:hover {
	color: #961e23;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
header {
	background: #961e23;
}
.head {
	text-align: center;
}
.snsbox {
    position: absolute;
    top: 65px;
    right: 25px;
}
#navi {
	padding-bottom: 15px;
}
nav ul {
	display: inline;
	list-style: none;
}
nav li {
	display: inline;
	font-size: 1.25rem;
	padding: 0 15px;
}
nav li a {
	color: #FFF;
	text-decoration: none;
	text-align: center;
}

@media screen and (min-width: 768px){
h2 {
	color: #666;
	font-size: 4rem;
	text-align: center;
	margin: 0 0 30px 0;
}
h3 {
	color: #E8413F;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.5em;
	text-align: center;
	margin-bottom: 30px;
}
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}
#navi {
    display: block !important;
}
figure {
	margin: 0;
}
}

@media screen and (max-width: 768px){
h2 {
	color: #666;
	font-size: 2.5rem;
	text-align: center;
	margin: 0 0 20px 0;
}
h3 {
	color: #E8413F;
	font-size: 1.75rem;
	font-weight: bold;
	line-height: 1.5em;
	text-align: center;
	margin-bottom: 30px;
}
img.pc {
	display: none;
}
img.sp {
	display: inline;
}
.head {
	flex-direction: column;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
#navi {
	margin: 0;
	padding: 0;
}
nav ul {
	display: block;
	flex-direction: column;
}
nav li {
	display: block;
	padding: 10px 0;
	border-bottom: 1px dotted #ccc;
	margin: 0;
}
figure {
	margin: 0 0 30px 0;
}
#floatingmenu {
	display: block;
	width: 100%;
	position: fixed;
	left: 0px;
	bottom: 0px;
	z-index: 9999;
	text-align: center;
	margin: 0;
	padding: 0 auto;
	background-color: #FFF;
	border-top: 1px solid #CCC;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
	margin: 0;
	padding: 0;
}
figure {
	padding: 0;
	text-align: center;
}
.caption {
	font-size: 1.3rem;
	line-height: 1.5em;
	margin-top: 5px;
}


/*キャッチタイトル
-------------------------------------*/
p.coment {
	text-align: center;
}
p.policy {
	font-size: 1.2rem;
	text-align: center;
}

/*フッター
-------------------------------------*/
footer {
	color: #FFF;
	font-size: 1.2rem;
	text-align: center;
	background-color: #961e23;
	padding: 10px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #666;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #999;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}