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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #333;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background-color: #003399;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
    flex-direction: row;
    padding: 1rem 0 0 0;
	position: absolute;
}

.head h1 { 
    margin-bottom: 0;
}

@media only screen and (max-width: 582px) {.head h1 {width: 50%;}}

.head-campaign {float: left;}


.telbox {
	margin-left: auto;
	font-size: 2rem;
	text-align: center;
}
.telbox a {color: #333333; text-shadow: 1px 1px 1px #000000;}
.telbox a:hover {color: #d38a18;}

.telbox2 {
	margin-left: auto;
	font-size: 4rem;
	text-align: center;
}
@media only screen and (max-width: 582px) {.telbox2 {font-size: 2rem;}}

.telbox2 a {color: #333333; text-shadow: 1px 1px 1px #000000;}
.telbox2 a:hover {color: #d38a18;}

.figure-p{text-align: center;}

.maxwidth826 {border: double 10px #333333; max-width: 82.6666666667%; margin: 0 auto; border: 10px double #333333;}
@media only screen and (max-width: 582px) {.maxwidth826{max-width: 100%;}}


.menu {
	background-color: #003399;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #3366FF;    
	color: #fff;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}


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

.mainimg h1 {
	text-align: center;
	padding-top: 3.6rem;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

figure h5 {font-size: 2rem; margin-bottom: 0;}

figure h5 span {font-size: 0.8em;}

.mt4em {margin-top: 4em;}

@media screen and (max-width: 768px){.mt4em {margin-top: 0;}}

.span-3 {text-align: center;}

@media screen and (max-width: 768px){.span-3 {margin-top: 2em;}}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

.toiawase {
	width: 75%;
	height: 325px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	border: solid 2px #ffffff;
	background: url("../img/bg-frame.jpg") no-repeat;
	background-size: 100%;
}

@media screen and (max-width: 1174px){
	.toiawase {
		background: url("../img/bg-frame2.jpg") no-repeat;
		background-size: 100%;
		height: 460px;
		padding-top: 2em;
		padding-left: 1em;
		padding-right: 1em;
	}
}
@media screen and (max-width: 876px){.toiawase {height: 360px;}}
@media screen and (max-width: 778px){
	.toiawase {
		background: url("../img/bg-frame4.jpg") no-repeat;
		background-size: 100%;
		height: 480px;
		padding-top: 2em;
		padding-left: 1em;
		padding-right: 1em;
	}
}
@media screen and (max-width: 768px){
	.toiawase {
		background: url("../img/bg-frame2.jpg") no-repeat;
		background-size: 100%;
		height: 420px;
		padding-top: 2em;
		width: 100%;
		padding-left:10px;
		padding-right:10px;
	}
}
@media screen and (max-width: 680px){.toiawase {height: 360px;}}
@media screen and (max-width: 586px){
	.toiawase {
		background: url("../img/bg-frame4.jpg") no-repeat;
		background-size: 100%;
		height: 440px;
		padding-top: 2em;
		width: 100%;
		padding-left:10px;
		padding-right:10px;
	}
}
@media screen and (max-width: 450px){.toiawase {height: 320px;}}
@media screen and (max-width: 442px){
	.toiawase {
		background: url("../img/bg-frame3.jpg") no-repeat;
		background-size: 100%;
		height: 540px;
		padding-top: 2em;
		width: 100%;
		padding-left:10px;
		padding-right:10px;
	}
}
@media screen and (max-width: 376px){.toiawase {height: 460px;}}



/*SALEコンテンツ
-------------------------------------*/
figcaption span {
	font-weight: bold;
	color: #fe0000;
}


/*新着情報
-------------------------------------*/
.news h2 {
    background-color: #003399;
	color: #fff;
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #212529;
    padding: 5rem 0;
	color: #fff;
}
footer h5 {
    border-bottom: 2px solid #fff;
	font-size: 1.2em;
}

footer p {
	margin: 0;
	padding: 0;
	font-size: 0.8em;
	padding-bottom: 0.5em;
}

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

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    width: 140px;
    height: 50px;
    border: 2px solid #34495e;
    text-align: center;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    overflow: hidden;
    margin: 0 20px 20px 0;
}
#pagetop a {
    font-family: arial;
    font-size: 16px;
    color: #34495e;
    text-decoration: none;
    line-height: 50px;
    transition: all .5s ease;
    z-index: 2;
    position: relative;
}
#pagetop a:hover {
    background: #34495e;
	color: #ffffff;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/*PC SP切り替え
-----------------------------------*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 582px) {
.pc { display: none !important; }
.sp { display: block !important; }
}



