@charset "UTF-8";

html {
	font-size: 100%;
}

body {
	/*font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;*/
	line-height: 1.7;
	color: #432;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
}

/*.logo {
	width: 200px;
	margin-top: 14px;
}*/

.main-nav {
	display: flex;
	font-size: 1.25rem;
	text-transform: uppercase;
	margin-top: 34px;
	list-style: none;
}

.main-nav li {
	margin-left: 36px;
}

.main-nav a {
	color: #432;
}

.main-nav a:hover {
	color: #0bd;
}

.page-header {
	display: flex;
	justify-content: space-between;
}

.wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 4%;
}

.setu {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 4%;
}

.home-content {
	text-align: center;
	margin-top: 10px;
}

.home-content p {
	font-size: 1.125rem;
	margin: 10px 0 42px;
}

.page-title {
	font-size: 150px;
	font-family: serif;
	text-transform: uppercase;
	font-weight: normal;
	color: red;
}

.button {
  font-size: 20px;
  position: relative;
  display: inline-block;
  padding: .8em 7em;
  color: black;
  text-align: center;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  transition: all .5s;
}
.button::before,
.button::after {
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  transition: all .5s;
}
.button::before {
  top: 0;
  left: 0;
  border-top: 4px solid black;
  border-left: 4px solid black;
}
.button::after {
  right: 0;
  bottom: 0;
  border-right: 4px solid black;
  border-bottom: 4px solid black;
}
.button:hover {
  background-color: #fff;
  color: #000;
  transition: all .7s;
}
.button:hover::before,
.button:hover::after {
  width: 0;
  height: 0;
  opacity: 0;
  transition: all .7s;
}

.big-bg {
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

h1 {
	color: red;
	font-size: 30px;
}

h2 {
	font-size: 40px;
}

#home {
	background-image: url(../images/sinbanmen.png);
	background-blend-mode: hard-light;
	min-height: 100vh;
	background-size: 100% 100%;
}

#home .page-title {
	text-transform: none;
}

#news {
	background-image: url(../images/news-bg.jpg);
	height: 270px;
	margin-bottom: 40px;
}

#news .page-title {
	text-align: center;
}

footer {
	background: #432;
	text-align: center;
	padding: 26px 0;
}

footer p {
	color: #fff;
	font-size: 0.875rem;
}

article {
	width: 74%;
}

aside {
	width: 22%;
}

.news-contents {
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}

.post-info {
	position: relative;
	padding-top: 4px;
	margin-bottom: 40px;
}

.post-date {
	background: #0bd;
	border-radius: 50%;
	color: #fff;
	width: 100px;
	height: 100px;
	font-size: 1.625rem;
	text-align: center;
	position: absolute;
	top: 0;
	padding-top: 10px;
}

.post-date span {
	font-size: 1rem;
	border-top: 1px rgba(255, 255, 255, 5) solid;
	padding-top: 6px;
	display: block;
	width: 60%;
	margin: 0 auto;
}

.post-title {
	font-family: "Yu Mincho", "YuMincho", serif;
	font-size: 2rem;
	font-weight: normal;
}

.post-title,
.post-cat {
	margin-left: 120px;
}

article img {
	margin-bottom: 20px;
}

article p {
	margin-bottom: 1rem;
}

.sub-title {
	font-size: 1.375rem;
	padding: 0 8px 8px;
	border-bottom: 2px #0bd solid;
	font-weight: normal;
}

aside p {
	padding: 12px 10px;
}

.sub-menu {
	margin-bottom: 60px;
	list-style: none;
}

.sub-menu li {
	border-bottom: 1px #ddd solid;
}

.sub-menu a {
	color: #432;
	padding: 10px;
	display: block;
}

.sub-menu a:hover {
	color: #0bd;
}

@media (max-width: 600px) {
	h1 {
		color: #0bd;
	}
}

@media (max-width: 600px) {
	.page-title {
		font-size: 2.5rem;
	}

	.main-nav {
		font-size: 1rem;
		margin-top: 10px;
	}

	.main-nav li {
		margin: 0 20px;
	}

	.home-content {
		margin-top: 20%;
	}
}

@media (max-width: 600px) {
	.page-header {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 600px) {
	.news-contents {
		flex-direction: column;
	}

	article,
	aside {
		width: 100%;
	}
}

@media (max-width: 600px) {
	#news .page-title {
		margin-top: 30px;
	}

	aside {
		margin-top: 60px;
	}

	.post-info {
		margin-bottom: 30px;
	}

	.post-date {
		width: 70px;
		height: 70px;
		font-size: 1rem;
	}

	.post-date span {
		font-size: 0.875rem;
		padding-top: 2px;
	}

	.post-title {
		font-size: 1.375rem;
	}

	.post-cat {
		font-size: 0.875rem;
		margin-top: 10px;
	}

	.post-title,
	.post-cat {
		margin-left: 80px;
	}
}

article {
	width: 60%;
	order: 2;
}

aside {
	width: 22%;
	order: 3;
}

.ad {
	order: 1;
}

#menu {
	background-image: url(../images/menu-bg.jpg);
	min-height: 100vh;
}

.menu-content {
	max-width: 560px;
	margin-top: 10%;
}

.menu-content .page-title {
	text-align: center;
}

.menu-content p {
	font-size: 1.125rem;
	margin: 10px 0 0;
}

@media (max-width: 600px) {

	.menu-content {
		margin-top: 20px;
	}
}

.grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	/*列を3つにする。比率は1:1:1*/
	/*repeat関数リフェレンスp490*/
	/*minmaxはリフェレンスp489*/
	/*auto-fitは画面幅に応じて見せ方が変わる*/
	margin-top: 6%;
	margin-bottom: 50px;
}

.big-box {
	grid-column: 1/3;
	grid-row: 1/3;
}

@media (max-width: 600px) {
	.big-box img {
		height: 94%;
		width: 100%;
		object-fit: cover;
	}

	@media (max-width: 600px) {}
}

/*contact--*/

#contact {
	background-image: url(../images/contact-bg.jpg);
	min-height: 100vh;
}

/*フォーム*/

from div {
	margin-bottom: 14px;
}

label {
	font-size: 1.125rem;
	margin-bottom: 10px;
	display: block;
}

input[type="text"],
input[type="email"],
textarea {
	background: rgba(255, 255, 255, .5);
	border: 1px #fff solid;
	border-radius: 5px;
	padding: 10px;
	font-size: 1rem;
}

input[type="text"],
input[type="email"] {
	width: 100%;
	max-width: 240px;
}

textarea {
	width: 100%;
	max-width: 480px;
	height: 6rem;
}

input[type="submit"] {
	border: none;
	cursor: pointer;
	line-height: 1;
}

@media (max-width: 600px) {

	/*CONTACT*/
	#contact .page-title {
		margin-top: 40px;
	}

	/*フォーム*/
	input[type="text"],
	input[type="email"],
	textarea {
		max-width: 100%;
	}
}

#field {
	margin-right: auto;
	margin-left: auto;
	margin-top: 50px;
}

#field td {
	border: 1px solid black;
	width: 80px;
	height: 80px;
	background-color: green;
	text-align: center;
	vertical-align: middle;
	table-layout: fixed;
	padding: 1px 1px 1px 1px;
	font-size: 52px;
}

/*--HP-----------------------------*/

#max {
	width: 500px;
	height: 40px;
	background-color: red;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	top: 100px;
}

#now {
	width: 500px;
	height: 40px;
	background-color: yellowgreen;
	text-align: right;
	position: absolute;
	left: 0px;
	top: 0px;
}

#txt {
	width: 200px;
}

/*--/HP-----------------------*/
/*--HP2-----------------------------*/

#maxb {
	width: 500px;
	height: 40px;
	background-color: red;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	top: 50px;
}

#nowb {
	width: 500px;
	height: 40px;
	background-color: yellowgreen;
	text-align: right;
	position: absolute;
	left: 0px;
	top: 0px;
}

#txtb {
	width: 200px;
}

/*--/HP2-----------------------*/
/*--ボタン---------------------*/
.radio {
	display: none;
}

.radio + .radio_image {
	border: 3px #ffffff solid;
	background-color: #ffffff;
}

.radio:checked + .radio_image {
	border: 3px #ff0000 solid;
	background-color: #ffeeee;
}

/*--/ボタン--------------------*/
/*--ぼでぃー------------------*/
body {
	background-image: url(images/banmen3.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
}

main {
	width: 532px;
	margin-left: auto;
	margin-right: auto;
	float: none;
	padding-top: 100px;
}

#ao {
	width: 450px;
	float: left;
	padding-left: 10px;
	padding-top: 200px;
}

#ak {
	width: 450px;
	float: right;
	padding-right: 10px;
	padding-top: 200px;
}

#gya {
	display: flex;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 200px;
}

p {
	font-size: 50px;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 10px;
  text-align: center
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 70%;
  max-width: 600px;
  padding: 30px 30px 15px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c!important;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38!important
}

/*--ぼでぃー------------------*/
/*--盤面---------------------*/
