html {
  scroll-behavior: smooth;
}

body {
/*  font-family: "Noto Serif JP", serif;*/
  background-color: #e9dfdb;
}

article {
  min-height: 15rem;
}

h1 {
  position: relative;
  text-align: center;
}

h1::after {
	content: "";
	width: 1px;
	height: 4rem;
	background: #cfbdc1;
	display: block;
	position: absolute;
	left: calc(100% /2 - 2.5em);
	bottom: 0.25em;
	border-radius: 5px;
}

h1::before {
	content: "";
	width: 11rem;
	height: 1px;
	background: #cfbdc1;
	display: block;
	position: absolute;
	left: calc(100% /2 - 3em);
	top: 0.25em;
}

h2 {
	text-align: center;
	font-size: 2.2rem;
	margin-top: 2rem;
	color: #832805;
	border-bottom: solid 1px #ef4e0075;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

a {
  display: inline-block;
  color: #70341c;
}
a:hover {
  color: #be4717;
}
a:visited {
  color: #454545;
}

tbody tr:nth-of-type(2n+1) {
  background: #f3eeeb;
}

/*
  header
........................................*/
header {
  display: block;
  position: relative;
}

header a {
	display: flex;
	flex-direction: column;
  width: 13rem;
  margin: 0 auto;
}

#top-tohome {
width: 8rem;
  position: relative;
  height: 8rem;
  margin: -5rem auto 0 auto;
  border-radius: 50%;
  background-color: #e9dfdb;
  padding: 0;
}

.h-catch {
  margin-top: 2rem;
  font-size: 1.8rem;
  text-align: center;
  position: relative;
}

.h-catch > img {
  width: 8rem;
  display: inline-block;
  margin-top: -15rem;
}

.h-catch > span {
  padding-left: 1rem;
  margin-right: -2rem;
  margin-top: -5rem;
}

#top-tohome img {
height: inherit;
  width: inherit;
  display: block;
}

.vertical-txt {
	writing-mode: vertical-rl;
	text-orientation: upright;
	word-wrap: break-word;
	white-space: normal;
}

.video iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
}
/*
  loop images
  https://www.devtwins.com/blog/css-cross-fading-images
........................................*/
.container {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 1200 / 700;
  border-bottom: solid 1px #895a47;
}

.pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fade 20s infinite;
  overflow: hidden;
}
#pic1 {
  animation-delay: 0s;
  background-image: url('../img/head-img-1.jpg');
}
#pic2 {
  background-image: url('../img/head-img-2.jpg');
  animation-delay: 5s;
}
#pic3 {
  background-image: url('../img/head-img-3.jpg');
  animation-delay: 10s;
}
#pic4 {
  background-image: url('../img/head-img-4.jpg');
  animation-delay: 15s;
}

@keyframes fade {
  0% {
    opacity: 1;
transform: scale(1);
  }
  5% {
    opacity: 1;
transform: scale(1);
  }
  25% {
    opacity: 0;
transform: scale(1.2);
  }
  80% {
    opacity: 0;
transform: scale(1.2);
  }
  100% {
    opacity: 1;
transform: scale(1);
  }
}

/*
  navi
........................................*/
body > nav {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #e9dfdbe8;
}

section > nav {
	position: sticky;
	top: 2.6rem;
	z-index: 10;
	background-color: #e9dfdbe8;
	padding: 0.5rem 0;
}

nav ul {
	margin: 0 auto;
	width: fit-content;
	display: flex;
  border-bottom: solid 1px #895a47;
}

nav li {
  border-bottom: solid 0px #895a47;
  margin: 0;
  padding: 0 .5rem;
}

nav li.here {
	border-bottom: solid 3px #de7e56;
	margin-bottom: -1px;
}


/*
  content
........................................*/
.content {
  padding: 2rem 1rem;
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
}

.l-oumi {
  width: 10rem;
  height: auto;
}

/*
  footer
........................................*/
footer {
	text-align: center;
	border-top: solid 1px #895a47;
	margin-top: 1rem;
	padding: 1rem;
	background-color: #d6c8c4;
}

footer p {
  margin: 0 auto 1rem auto;
  padding: 0;
}

/*
  google map
........................................*/
#g-map {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto 0 auto;
  overflow: hidden;
  aspect-ratio: 1200 / 700;
  border-bottom: solid 1px #895a47;
  filter: grayscale(0.8) hue-rotate(230deg);
}

/*
  to page top
........................................*/
#toTop {
	width: 5.5rem;
	height: 5.5rem;
	border: solid 1px #cb8f77;
	display: block;
	border-radius: 5px;
	padding: 0.25rem;
	position: fixed;
	bottom: 1rem;
	right: 0rem;
}

#toTop svg {
	width: 5rem;
	height: auto;
	fill: #a56f2a;
}

aside {
/* 
height: 1000px;
 */
}
/*
@media screen and (max-width: 580px) {

.h-catch {
  margin-top: -1.5rem;
  font-size: 1rem;
}

.h-catch img {
  width: 5rem;
}

#top-tohome {
  width: 4rem;
  height: 4rem;
  margin: -2rem auto 0 auto;
}

#top-tohome img {
  height: 4rem;
  width: 4rem;
}

}
*/