@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;700;900&display=swap');

/*============================================================================
Theme Name: 小田島商店
Version: 1.0
Author: スカヘルネット
Author URI: https://isp.sukaheru.net/
============================================================================*/
/* 初期設定
-------------------------------------------------------------*/
* {
	box-sizing: border-box;
}
body	{
	margin: 0;
	padding: 0;
	font: 18px 'Noto Serif JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	display: flex;
	flex-direction: column;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure {
	margin: 0;
	padding: 0;
	font-size: 100%;
}
ul	{
	list-style-type: none;
}
img	{
	border: 0;
	vertical-align: bottom;
}
table	{
	border: 1px solid #bbb;
	border-collapse: collapse;
	font-size: 0.9em;
}
table th, table td	{
	border: 1px solid #bbb;
	padding: 8px;
}
a	{
	color: #06f;
	text-decoration: none;
	transition: 0.3s;
}
a:hover	{
	color: #f60;
}
iframe	{
	vertical-align: bottom;
}

/* container
----------------------------------------------------------------------*/
#container {
	border-top: 4px solid #0137A9;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* section / article ==============================*/
section,article {
	margin-bottom: 50px;
}

/* ぺージ移動 ==============================*/
.btn {
	text-align: center;
}
.btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 200px;
	height: 50px;
	background: #FCF2D3;
	margin: auto;
	line-height: 1;
	color: #777;
	font-weight: bold;
}
.btn a:hover {
	background: #FAEABA;
	color: #333;
}
/* drawer menu */
.drawer-hamburger	{ display: none; z-index: 31; }
.drawer-hamburger-icon,
.drawer-hamburger-icon::before,
.drawer-hamburger-icon::after	{
	background: #06f;
}
.drawer-menu {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
}
.drawer-menu li {
	text-align: center;
	margin-bottom: 8px;
	color: #06f;
	width: 50%;
}
.drawer-menu li.drawer-bland {
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: 13px;
	letter-spacing: 0.25em;
	text-indent: 0.25em;
	width: 100%;
}
.drawer-menu-item:hover {
	text-decoration: none;
}
a.drawer-menu-item {
	position: relative;
	display: inline-block;
	transition: .3s;
	margin: 0 auto;
	padding: 0;
}
a.drawer-menu-item::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 2px;
	background-color: #f48020;
	transition: .3s;
	transform: translateX(-50%);
}

a.drawer-menu-item:hover::after {
	width: 100%;
}
.drawer-menu .menu-tel,
.drawer-menu .menu-contact,
.drawer-menu .menu-sns {
	width: 100%;
	margin: 0 auto 10px;
}
.drawer-menu .menu-contact {
	display: none;
}

.drawer-menu .menu-tel .drawer-menu-item:hover,
.drawer-menu .menu-contact .drawer-menu-item:hover,
.drawer-menu .menu-sns .drawer-menu-item:hover {
	background: none;
}
.drawer-menu .menu-tel .drawer-menu-item:hover {
	color: #333;
}
.drawer-menu .menu-tel .drawer-menu-item b {
	font-size: 1.3em;
}
.drawer-menu .menu-tel .drawer-menu-item span:not(.tel) {
	display: block;
	font-size: 0.9rem;
}
.drawer-menu .menu-contact .drawer-menu-item {
	display: block;
	max-width: 300px;
	width: 80%;
	margin: 10px auto;
	border: 1px solid #06f;
	padding: 10px;
	color: #06f;
}
.drawer-menu .menu-contact .drawer-menu-item:hover {
	background: #06f;
	color: #fff;
}
.drawer-menu .menu-contact .drawer-menu-item::after {
	display: none;
}
.drawer-menu .menu-sns .drawer-menu-item a {
	margin: 0 4px;
}
.drawer-menu .menu-sns .drawer-menu-item img[src$=".svg"] {
	height: 34px;
	width: 34px;
}
.drawer-nav {
	top: 50px;
	z-index: 30;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
/* ページ上部へ */
.pagetop {
	display: none;
	position: fixed;
	bottom: 80px;
	right: 50px;
}
.pagetop a {
	position: relative;
	background: rgba(1,55,169,0.7);
	border-radius: 100%;
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.pagetop a::before {
	content: "";
	margin-top: 6px;
	width: 16px;
	height: 16px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(-45deg);
}
.pagetop a:hover {
	background: #0137A9;
}
/* お問合せリンク */
.contact-link {
	position: fixed;
	border: 1px solid #0137A9;
	bottom: 5px;
	right: 5px;
	color: #fff;
}


/* header
----------------------------------------------------------------------*/
header {
	max-width: 1100px;
	width: 100%;
	min-width: 950px;
	margin: auto;
	height: 120px;
	display: flex;
	justify-content: space-between;
}
header .logo {
	margin-left: 10px;
	display: flex;
	align-items: center;
}
header .logo h1 {
	font-size: 2em;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #0137A9;
}
header .logo h1 span {
	font-size: 1.3rem;
	margin-right: 10px;
}
header .logo h1 a,
header .logo h1 a:hover {
	color: #0137A9;
	text-decoration: none;
}

header .h-box address {
	margin: 10px;
	font-weight: bold;
	font-style: normal;
}
header .h-box .h-tel {
	font-size: 1.5em;
	font-weight: bold;
	font-style: normal;
	text-align: right;
}
header .h-box address .h-tel::before {
	content: "TEL：";
	font-size: 1rem;
}
header .h-box address .time {
	font-size: 1.1em !important;
	text-align: right;
}

header .h-box .h-navi ul {
	display: flex;
	align-items: flex-end;
}
header .h-box .h-navi ul li {
	border-left: 1px solid #ccc;
	text-align: center;
	padding: 0 20px;
	display: flex;
	align-items: flex-end;
}
header .h-box .h-navi ul li a {
	text-decoration: none;
	text-align: center;
	position: relative;
	display: inline-block;
	transition: .3s;
	margin: 0 auto;
	padding-bottom: 3px;
	line-height: 1.4;
	color: #5472cd;
}
header .h-box .h-navi ul li a::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 2px;
	background: #5472cd;
	transition: .3s;
	transform: translateX(-50%);
}
header .h-box .h-navi ul li a:hover::after {
	width: 100%;
}

/* main image
----------------------------------------------------------------------*/
.main-image {
	width: 100%;
	margin: 0 auto;
}

/* contents
----------------------------------------------------------------------*/
.contents {
	flex: 1 1 auto;
	max-width: 1100px;
	width: 100%;
	min-width: 950px;
	margin: 0 auto 40px;
	padding: 0 15px;
}
h2 {
	border-bottom: solid 3px #5472cd;
	position: relative;
	font-size: 2em;
	text-align: center;
	padding: 10px;
	margin-bottom: 25px;
}
.com {
	padding: 10px;
	margin: 0 auto 20px;
}
.com p {
	margin-bottom: 25px;
}
.com p:last-child {
	margin-bottom: 0;
}
/* テーブル ====================*/
table.tbl1 {
	width: 95%;
	margin: auto;
}
table.tbl1 th {
	white-space: nowrap;
}

/* グーグルマップ ====================*/
.maps {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.maps iframe {
	width: 100%;
	height: 450px;
	margin-bottom: 20px
}

/* TOPページ ====================*/

/* メインコメント */
.top-ttl {
	border: 0;
	margin-bottom: 10px;
}
.top-com {
	text-align: center;
	font-size: 1.1em;
	line-height: 1.8;
}
/* ギフト */
.gift-com {
	margin-bottom: 10px;
}
.gift-box {
	width: 98%;
	margin: 0 auto 20px;
}
.gift-box .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}
.gift-box .list li {
	width: calc(100% / 4);
	padding: 10px;
}
.gift-box .list li .item {
	width: 100%;
	margin: auto;
	position: relative;
}
.gift-box .list li .item img {
	width: 100%;
	height: 100%;
}

/* 取扱い品目 */
.item-box {
	width: 98%;
	margin: auto;
}
.item-box .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}
.item-box .list li {
	width: calc(100% / 4);
	padding: 10px;
}
.item-box .list li .item {
	width: 100%;
	margin: auto;
	position: relative;
}
.item-box .list li .item img {
	width: 100%;
	height: 100%;
}
.item-box .list li .item .name {
	width: 100%;
	position: absolute;
	bottom: 0;
	font-size: 0.9em;
	color: #fff;
	background: rgba(0,0,0,0.5);
	text-align: center;
	padding: 4px;
}


/* お知らせ */
.info-first {
	width: 100%;
	background: #E8F1FD;
	border-bottom: 1px solid #D0E2FB;
	margin: 0 auto 40px;
}
.info-first .info-box {
	max-width: 900px;
	width: 98%;
	margin: 10px auto;
	padding: 0 10px 0 120px;
	position: relative;
}
.info-list li {
	border-bottom: 1px dashed #acacac;
}
.info-first .info-box .date {
	position: absolute;
	left: 0;
}

.info-list {
	width: 98%;
	margin: 0 auto 10px;
}
.info-list li {
	padding: 10px 10px 10px 120px;
	border-bottom: 1px dashed #acacac;
	position: relative;
}
.info-list li .date {
	position: absolute;
	left: 0;
}
.info-list li.new p::after {
	content: "NEW";
	margin-right: 10px;
	color: #f00;
	font-weight: bold;
	font-size: 0.8em;
}
.info-history {
	width: 98%;
	margin: 0 auto 10px;
	text-align: right;
	padding: 10px;
}
.info-history a::after {
	content: "≫";
	margin-left: 5px;
}
/* アクセスマップ */
.top-maps {
	width: 95%;
	margin: auto;
	display: flex;
}
.top-maps .map-data {
	width: 550px;
}
.top-maps .shop-data {
	flex: 1;
	margin-left: 20px;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
}
.top-maps .shop-data div {
	margin-bottom: 10px;
	padding-left: 20px;
}
.top-maps .shop-data .name {
	font-size: 1.3em;
	padding-left: 0;
	text-align: center;
}
.top-maps .shop-data dl {
	display: flex;
	flex-wrap: wrap;
	text-align: left;
}
.top-maps .shop-data dl dt {
	width: 180px;
	font-size: 1.1em;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.top-maps .shop-data dl dd {
	width: calc(100% - 180px);
	font-size: 0.95m;
	margin-bottom: 10px;
}
.top-maps .shop-data .btn {
	margin-top: 20px;
}


/* footer
----------------------------------------------------------------------*/
footer {
	width: 100%;
	height: 50px;
	margin: 0 auto;
	background: #2581EF;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}

/* etc
----------------------------------------------------------------------*/
.c	{ text-align: center; }
.r	{ text-align: right; }
.rd	{ color: red; }
.bl	{ color: blue; }
.big	{ font-size: 1.15em; }
.small	{ font-size: 0.85em; }


/* tablet
----------------------------------------------------------------------*/
@media screen and (max-width:800px) {
	body	{
/*		background: rgba(255,125,0,.4);*/
		font-size: 15px;
	}
	/* ぺージ移動 ==============================*/
	/* ページ上部へ */
	.pagetop {
		display: none;
		position: fixed;
		bottom: 60px;
		right: 10px;
	}
	/* header
	----------------------------------------------------------------------*/
	header {
		min-width: 100%;
		height: 90px;
	}
	header .logo {
		display: flex;
		align-items: center;
	}
	header .logo h1 {
		font-size: 1.8em;
		line-height: 1.2;
	}
	header .logo h1 span {
		display: block;
		font-size: 1.1rem;
		margin-right: 0;
	}
	header .h-box address {
		margin: 3px 10px 5px 10px;
	}
	header .h-box address .h-tel::before {
		content: "TEL：";
		font-size: 0.5em;
	}
	header .h-box .h-navi ul {
		display: flex;
		align-items: flex-end;
	}
	header .h-box .h-navi ul li {
		padding: 0 10px;
	}
	header .h-box .h-navi ul li a {
		font-size: 0.95em;
	}

	/* main image
	----------------------------------------------------------------------*/
	.main-image {
		width: 100%;
		margin: 0 auto;
	}
	.main-image .slick img {
		width: 100%;
		height: auto;
	}
	/* contents
	----------------------------------------------------------------------*/
	.contents {
		min-width: 99%;
		margin: 0 auto 30px;
		padding: 0 10px;
	}
	h2 {
		font-size: 1.8em;
		text-align: center;
		padding: 8px;
		margin-bottom: 15px;
	}
	.com {
		padding: 8px;
		margin: 0 auto 15px;
	}
	.com p {
		margin-bottom: 20px;
	}
	/* TOPページ ====================*/
	/* メインコメント */
	.top-com {
		text-align: center;
		font-size: 1em;
		line-height: 1.7;
	}
	/* ギフト */
	.gift-box .list li {
		width: calc(100% / 2);
		padding: 5px;
	}
	/* 取扱い品目 */
	.item-box .list li {
		width: calc(100% / 2);
		padding: 5px;
	}
	/* お知らせ */
	.info-list {
		width: 96%;
	}
	.info-list li {
		padding: 10px 10px 10px 100px;
	}
	/* アクセスマップ */
	.top-maps {
		width: 95%;
		margin: auto;
		display: block;
	}
	.top-maps .map-data {
		width: 100%;
		margin-bottom: 0;
	}
	.top-maps .shop-data {
		width: 80%;
		margin: 0 auto;
		padding-top: 0;
	}
	.top-maps .shop-data div {
		padding-left: 0;
	}
	.top-maps .shop-data .name {
		order: 2;
	}
	.top-maps .shop-data dl {
		order: 3;
	}
	.top-maps .shop-data .btn {
		order: 1;
		margin-top: 0;
		margin-bottom: 30px;
	}
}


/* smartphone
----------------------------------------------------------------------*/
@media screen and (max-width:500px) {
	body	{
/*		background: rgba(0,125,255,.4);*/
	}
	.drawer-hamburger	{ display: block; }
	/* header
	----------------------------------------------------------------------*/
	header {
		border-top: 4px solid #0137A9;
		height: 64px;
		position: fixed;
		background: #fff;
		top: 0;
		z-index: 2;
		border-bottom: 1px solid #acacac;
	}
	header .logo {
		display: flex;
		align-items: center;
	}
	header .logo h1 {
		font-size: 1.3em;
		line-height: 1.2;
	}
	header .logo h1 span {
		display: block;
		font-size: 1rem;
		margin-right: 0;
	}
	
	header .h-box {
		display: none;
	}

	/* main image
	----------------------------------------------------------------------*/
	.main-image {
		margin-top: 60px;
		margin-bottom: 30px;
	}

	/* contents
	----------------------------------------------------------------------*/
	h2 {
		font-size: 1.5em;
	}
	.com {
		padding: 6px;
		margin: 0 auto 15px;
	}
	.com p {
		margin-bottom: 15px;
	}
	/* TOPページ ====================*/
	/* メインコメント */
	.top-com {
		text-align: center;
		line-height: 1.5;
	}
	/* お知らせ */
	.info-first {
		display: none;
	}
	.info-list {
		width: 96%;
	}
	.info-list li {
		padding: 5px 10px;
	}
	.info-list li .date {
		position: relative;
	}
	/* アクセスマップ */
	.top-maps {
		width: 98%;
	}
	.top-maps .map-data iframe {
		height: 250px;
	}
	.top-maps .shop-data {
		width: 95%;
	}
	.top-maps .shop-data dl dt {
		font-size: 1em;
		width: 150px;
	}
	.top-maps .shop-data dl dd {
		width: calc(100% - 150px);
	}
}
