/* 線や枠をつける */
/* *{ border: 1px solid red } */
@charset "UTF-8";

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Sawarabi Gothic', sans-serif;
	font-family: 'Zen Maru Gothic', serif;
	font-size: 18px;
	font-weight: bold;
	color: #333D40;
	background-color: #EEF3F4;
}

header {
	min-width: 1240px;
	height: 950px;
	background: url("img/fishingmain.jpg") center / cover no-repeat;
	position: relative;
	z-index: 10;
  height: 100vh;
}

/*お問い合わせのみ画像の上に大きく載せる*/
/* header img {
	position: relative;
}

header .tell{
	color: #fff;
	font-size: 65px;
	font-weight: bold;
	position: absolute;
	bottom: 15%;
	right: 8%;
	z-index: 1; 
}*/

header nav {
	min-width: 1240px;
	width: 100%;
	position: fixed;
}

nav ul {
	min-width: 1240px;
	display: flex;
	justify-content:center;
	justify-content: space-evenly;
	align-items: center;
	background-color: #EEF3F4;
}

nav li {
	font-size: 20px;
	text-align: center;
}

/* カピパラp160参照　ヘッダー以外は横幅いっぱいにならないように */
section {
	width: 1240px;
	padding: 50px 0;
	margin: 0 auto;
}

#linkNewsArea, #linkFishingArea, #linkTimeArea, #linkPriceArea, #linkFacilityArea, #linkAccessArea {
	padding-top: 140px;
	margin-top: -140px;
	display: block;
}

/* ここからお知らせ */
h2 {
	font-size: 2.5em;
	text-align: center;
	letter-spacing: .08em;
}

#newsArea {
	text-align: center;
	line-height: 1.5;
	letter-spacing: .05em;
}

.newsList {
	margin: 50px 0;
}

.newsList li {
	display: flex;
	justify-content: flex-start;
	margin: 0 20% 15px;
	font-size: 1.2em;
}

.newsList li a {
	display: flex;
	text-decoration: none;
}

.newsList li a time {
  width: 130px;
	text-align: left;
}

.newsList li a span {
	text-align: left;
}

.newsList li a span:hover {
  color: #0c428470;
}

/* ここから釣果 */
#fishingArea {
	/* background-color: #A1E0EE; */
	border-radius: 15px;
	text-align: center;
}

.fishResults {
	width: 100%;
	display: flex;
	justify-content:center;
	justify-content: space-evenly;
	margin: 50px 0;
}

.fishResults div {
	width: 20%;
	text-align: center;
	line-height: 1.5;
	letter-spacing: .05em;
}

.fishResults div a {
	display: inline-block;
}

.fishResults div img {
	width: 100%;
	height: 100%;
	border-radius: 15px;
}

.fishResults div a:hover {
	opacity: 0.9;
	filter: brightness(105%);
	color: #0c428470;
}

/* 営業時間以下の横並び要素 */
.horizontally {
	display: flex;
	justify-content: center;
}

.horizontally > div {
	margin: 0 50px;
}

.horizontally .guide {
	margin-top: 50px;
}

.horizontally .guide p {
	margin: 10px 0 20px;
	padding-left: 20px;
}

.textbox {
	text-align: left;
}

table th {
	vertical-align: middle;
	border-bottom:5px solid #A1E0EE;
	padding: 10px;
	background-color: #A1E0EE;
}

table td {
	text-align: center;
	padding: 10px;
}

#facilityArea {
	/* background-color: #A1E0EE; */
	border-radius: 15px;
}

/* 元の画像が下記サイズではあるので今は変わらず。小さい画面ではどうなるのか？要検討 */
.horizontally img {
	width: 600px;
	height: 400px;
	border-radius: 15px;
}

.textbox p {
	margin: 10px 0 20px;
	padding-left: 30px;
}

h3 {
	font-size: 25px;
}

h4 {
	font-size: 20px;
	padding-left: 6px;
	border-bottom: 2px solid #A1E0EE;
	border-left: 5px solid #A1E0EE;
}

/* お知らせと釣果のボタン */
.button {
  color: white;
  background-color: #0c4284bd;
  padding:15px 40px;
  border-radius: 15px;
	display: inline-block;
	border: 3px solid transparent;
}

#facilityArea > .horizontally, #accessArea > .horizontally{
	margin-top: 50px;
}

.button:hover {
  color: #0c4284;
  background-color: white;
  border:3px solid #0c4284;
}

/* ヘッダーフッターのリンク */
header li a:hover, footer li a:hover {
	text-decoration: underline;
	text-decoration-color: #0c4284;
}

footer {
	min-width: 1240px;
	text-align: center;
	/* background-color:#A1E0EE; */
}

footer ul {
	display: flex;
	justify-content:center;
	justify-content: space-evenly;
	align-items: center;
}

footer div {
	padding-bottom: 20px;
}