@charset "utf-8";

/* ========== すべて共通 ========== */
html, body {
	font-size: 16px;
	font-family: sans-serif;
	color: #393939;
	background: #fff;
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}
p, td, th, li {
	line-height: 1.8;
}
img {
	width: 100%;
	height: auto;
}
a {
	color: #709a00;
}
a:hover {
	color: #95cd00;
}
a:active {
	color: #4b6700;
}
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
/* 共通の見出し */
.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 1200px;
}
@media screen and (min-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ========== ヘッダー ========== */
header {
	background: #000080;
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo {
	padding: 10px 0;
	width: 250px;
	height: 46px;
}
.menu-btn {
	padding: 10px 0;
	border: 1px solid #fff;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	background: url(../images/hamburger.png) no-repeat center center;
	background-size: contain;
}

@media screen and (min-width: 768px) {
	.header-logo {
		padding: 20px 0;
		width: 350px;
		height: 64px;
	}
	.menu-btn {
		display: none;
	}
}

/* ========== ナビゲーション ========== */
nav {
	background: #000080;
}
.navbar {
	display: none;
	list-style-type: none;
}
.navbar li {
	position: relative;    
	background: #000080; 
}
.navbar ul li{
	background: #1e90ff;
	border-top: 1px solid silver; /* 項目上側の枠線(シルバーで1pxの実線) */
}
.navbar a {
	display: block;
	padding: 0.6rem 0;
	color: #fff;
	text-decoration: none;
}

@media screen and (min-width: 768px) { /* パソコン画面用 */
	nav {
	background: #000080;
}
	.navbar {
		display: flex !important;
		text-align: center;
	}
	.navbar a:hover {
	background: #1e90ff;
	}
/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
	.navbar ul {
	   display: none;       /* ★1:標準では非表示にする */
	   margin: 0px;         /* ★2:サブメニュー外側の余白(ゼロ) */
	   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
	   position: absolute;  /* ★4:絶対配置にする */
	   top: 100%;/* 親メニュー上部からの表示位置（センターにするため） */
	   left: 0;/* 親メニュー左端からの表示位置 （センターにするため）*/
 	  width: 100%;/* 親メニュー幅に合わせる （センターにするため）*/
 	  list-style-type: none; 
	}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
.navbar li:hover ul {
	display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
	z-index: 100;
}      
/* ------------------------ */
/* ▼サブメニュー項目の装飾 */
/* ------------------------ */
.navbar ul li {   /* ※A */
   border-top: 1px solid silver; /* 項目上側の枠線(シルバーで1pxの実線) */
}
.navbar ul li a {   /* ※B */
   text-align: left;    /* 文字列の配置(左) */
   padding-left: 5px;   /* 文字列前方の余白(5px) */
   font-weight: normal; /* 太字にはしない */
}
.navbar ul li a:hover {   /* ※C */
   background-color: gray; /* サブメニュー項目にマウスが載ったときの背景色(グレー) */
   color: white;            /* サブメニュー項目にマウスが載ったときの文字色(白) */
}
	.navbar li {
		flex: 1 1 auto;
	}
	.navbar ul li a {
		text-align: center;/* 大きな画面のときのサブメニュー項目の文字センター */
	}
}

/* ========== メインエリア基本レイアウト ========== */

	.jittenpo {
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px 10px;
		background: #efefef;
	}
	.titlephoto {
		max-width: 1200px;
		max-height: 400px;
		overflow: hidden;
		margin-bottom: 10px;
	}
	.titlephoto img {
		margin:0 auto;
		width: 100%;
		height: auto;
		animation: animationZoom1 5s ease-in-out forwards;
	    }
	    @keyframes animationZoom1 {
	      100% { transform:scale(1.1)} 
	    }
	}

	.title {
		max-width: 450px;
		margin: 10px auto;
		padding: 10px 10px;
	}
	.title .kyugyotyu {
		color: red;
		font-size: 12px;
		line-height: 1;
	}

 	.title p {
		text-align: center;		
		color: #000080;
		line-height: 1.2;
		font-size: 30px;		
		animation-name: fadein;
	        animation-duration: 2s;
}
	.subtitle {
		text-align: center;		
		color: #000080;
		font-size: 12px;
		line-height: 1;
	}
@media screen and (min-width: 768px) { /* 大きい画面で表示 */
		.subtitle {
		text-align: center;		
		color: #000080;
		font-size: 14px;
		line-height: 1;
	}
}
	@keyframes fadein {
	from {
	    opacity: 0;
	    transform: translateY(20px);
		}
	}
	.hontai {
		margin: 5px auto;
		max-width: 450px;
		padding: 10px 10px;
		background: #fff;
		border-radius: 3%;
		box-shadow:5px 5px 10px gray;
	}
	.orderhonbun .komoku {
		font-size: 20px;
		color: #000080;
		text-align: center;
		margin: 10px auto;
	}
	.orderhonbun p {
		line-height: 1.4;
		font-size: 15px;
	}
	.shopcart {
		color: blue;
	}
	.kome {
		color: red;
	}
	.orderhonbun li {
		list-style-type: none;
	}
	.card {
		text-align: center;
		margin: 5px auto;
	}
	.card img {
		max-width: 250px;
	}
	.pay {
		color: blue;
		font-weight: bold;
		margin: 10px auto;
	}
	.nagare {
		display: flex;
		justify-content: center;
	}
	.nagare li {
		  max-width: 100%;
		  border: #999 solid 1px;
		list-style-type: decimal;
		  margin: 10px auto;
		  padding: 10px 10px;
		  text-align: center;
		border-radius: 5%;
		background: #efefef;
	}
		.link {
		margin: 10px auto;
		width: 200px;
		margin-bottom: 30px;
	}
	.link a {
		text-align: center;
		color: #fff;
		font-size: 18px;
		font-weight: bold;
		text-decoration: none;
		display: block;
		padding: 10px 10px;
		background: #000080;
		border-radius: 5%;
		box-shadow:2px 2px 5px gray;
	}
@media screen and (min-width: 768px) { /* 大きい画面で表示 */
	.link a:hover {
		opacity: 0.5;
	}
}
	.imagebox {
		margin: 0 auto;
		height: 300px;
		overflow: hidden;
		position: relative; 
	}
	  .mainimage {
	    img: responsive;
	    opacity: 0;
	    width:100%;
	    height:100%;
	    object-fit: cover;
	    position: absolute;
	    left: 0;
	    top: 0;
	    -webkit-animation: anime 36s 0s infinite;
	    animation: anime 36s 0s infinite; }

	    .mainimage:nth-of-type(2) {
	      -webkit-animation-delay: 6s;
	      animation-delay: 6s; }

	    .mainimage:nth-of-type(3) {
	      -webkit-animation-delay: 12s;
	      animation-delay: 12s; }

	    .mainimage:nth-of-type(4) {
	      -webkit-animation-delay: 18s;
	      animation-delay: 18s; }

	    .mainimage:nth-of-type(5) {
	      -webkit-animation-delay: 24s;
	      animation-delay: 24s; }

	    .mainimage:nth-of-type(6) {
	      -webkit-animation-delay: 30s;
	      animation-delay: 30s; }

	@keyframes anime {
	    0% {
	        opacity: 0;
	    }
	    8% {
	        opacity: 1;
	    }
	    17% {
	        opacity: 1;
	    }
	    25% {
	        opacity: 0;
	         transform: scale(1.2);
	                    z-index:9;
	    }
	    100% { opacity: 0 }
	}

	@-webkit-keyframes anime {
	    0% {
	        opacity: 0;
	    }
	    8% {
	        opacity: 1;
	    }
	    17% {
	        opacity: 1;
	    }
	    25% {
	        opacity: 0;
	         -webkit-transform: scale(1.2);
	            z-index:9;
	    }
	    100% { opacity: 0 }
	}
	.kyugyo {
		color: red;
		font-weight: bold;
	}
	.othercreaters {
		color: #000080;
		font-weight: bold;
}	
/* ========== フッター ========== */
footer {
	background: #000080;
	font-size: 0.9rem;
	color: #fff;
	padding-botom: 15px;
}
.footer-container {
	margin: 0 auto;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	padding-top: 5px;
	padding-bottom: 5px;
}
.footer-nav {
	padding: 15px 10px;
}
.footer-nav ul {
	list-style-type: none;
}
.footer-nav li {
	padding: 0 1rem 0 0;
}
.footer-nav a {
	color: #fff;
	text-decoration: none;
}
.footer-nav a:hover {
	opacity: 0.5;
}
.footerguide {
	color: silver;
	font-size: 20px;
	font-weight: bold;
}
/* フッターのオマケ写真 */
.footerphoto {
	display: none;
}
@media screen and (min-width: 768px) { /* 大きい画面で表示 */
.footerphoto {
	display: block;
	text-align: right;
	max-width: 470px;
	margin: 20px 30px;
}
.footerphoto img {
	max-width: 150px;
	border-radius: 20%;
}
.footerphoto ul {
	list-style-type: none;
}
.footerphoto li {
	display: inline-block;
}
}

.footer-copyright {
	color: silver;
	margin: 0 auto;
	max-width: 1200px;
	text-align: left;
	padding: 15px 10px;
}
