﻿@charset "utf-8";




/* 基本レイアウト ここから↓ */
@import url(common.css);

body {
	background-image: url(../images/bg.jpg);
	background-repeat: no-repeat;      /* 繰り返さない */
	background-size: cover;            /* 画面いっぱいに引き伸ばす */
	background-position: center center;/* 画像の中央を基準に配置 */
	background-attachment: fixed;      /* スクロールしても背景を固定する */
	min-height: 100vh;
}

header {
	width: 820px;
	height: 200px;
	margin: 0 auto 20px auto;
	padding-top: 20px; 
	position: relative;
}
header h1 {
	position: absolute;
}
nav {
	padding-top: 10px;
	position: absolute;
	right: 0;
}
nav ul {
	list-style-type: none;
	overflow: hidden;
}
nav ul li {
	float: left;
}
nav ul li a:hover {
	opacity: 0.85;
}
footer {
	width: 820px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
}
footer p {
	margin-bottom: 0;
	padding: 10px 0 10px 0;
	background-color: #7fc1fabb;
	text-align: center;
}
footer small {
	font-size: 100%;
}
#main h1 {
	margin: 0 0 20px 0;
	padding: 15px 0 10px 45px;
	border-bottom: 2px solid #7fc1fabb;
	background-image: url("../images/h1.png");
	background-size: 50px auto;

	background-repeat: no-repeat;
	background-position: left center;
	font-size: 157%;
}

#main h2 {	margin: 0 0 20px 0;
	padding: 15px 0 10px 45px;
	border-bottom: 2px solid #7fc1fabb;
	background-image: url("../images/h1.png");
	background-size: 50px auto;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 157%;
}

/* 基本レイアウト ここまで↑ */

/* 「こだわり」ページ ここから↓ */
.image_left {
	margin-bottom: 25px;
	margin-right: 25px;
	float: left;
}
/* 蘇我斑鳩紹介ページ ここまで↑ */

/*開運グッズページ ここから↓ */
table {
	width: 598px;
	margin-bottom: 20px;
	border-collapse: collapse;
}
table caption {
	overflow: hidden;
	text-align: left;
}
table th, table td {
	padding: 10px;
	border: 1px solid #FFD700;
}
table th {
	width: 325px;
	background-color: #7fc1fabb;
	text-align: center;
}
table td {
	text-align: right;
}
/* 開運グッズページ ここまで↑ */

/* 占い予約ページ ここから↓ */
form {
	margin-top: -89px;
}
input#name, textarea#appointment {
	border-style: none;
}
input#gg1 {
	width: 280px;
}
textarea#appointment {
	width: 400px;
	height: 180px;
	overflow-y: scroll;
}
/* 占い予約ページ ここまで↑ */
