@charset "utf-8";

/* @import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  color: black;
  font-size: 12px;
  letter-spacing: 2.5px;
  line-height: 1.8;
  /* font-family: "Shippori Mincho", serif; */
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

p {
  margin-bottom: 0.7em;
}

#contents {
  width: 90%;
  margin: 5% auto;
}

/* header */
header {
  position: relative;
  margin-bottom: 1em;
  text-align: center;
  width: 100%;
  height: 210px;
}

.logo1 {
  position: relative;
  width: 200px;
  height: 175px;
  border: 1px solid #aaa;
  background-color: #ddd;
  border-radius: 45% 26% 26% 58% / 58% 30% 46% 28%;
  margin: 0 auto;
}

.logo2 {
  position: relative;
  width: 200px;
  height: 175px;
  border: 1px solid #aaa;
  background-color: transparent;
  border-radius: 58% 30% 46% 28% / 45% 60% 26% 58%;
  margin: -175px auto;
  background:transparent url("../images/1823.png")  no-repeat;
  background-size: 200px;
  background-position: right -3px top -3px;
}

h1 {
  position: absolute;
  /* bottom: 33px; */
  bottom: 28px;
  left: 50%;
  color: #4d7599;
  /* font-size: 27px; */
  font-size: 33px;
  line-height: 2.5;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translate(-40%, 0)　rotate(-10deg);
  -webkit-transform: translate(-40%, 0) rotate(-10deg);
  -ms-transform: translate(-40%, 0)　rotate(-10deg);
}

h1 a {
  color: #4d7599;
  text-decoration: none;
}

/* link */
footer a {
  position: relative;
  display: inline-block;
  padding: 0.1em;
  text-decoration: none;
  color: black;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #4d7599;
  transform: scaleX(0);
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transition: all 0.3s ease;
  -webkit-transition: all .3s ease;
}

footer a:hover::after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
}

footer a:visited {
  color: black;
}

footer a:hover {
  color: #4d7599;
}

/* footer */
footer {
  margin: 5% auto;
  color: #aaa;
  line-height: 1.6;
  letter-spacing: 0;
}

footer p:first-child {
  color: black;
  margin-bottom: 1.7em;
  letter-spacing: 2.5px;
}

/* responsive */
@media screen and (max-width:758px) {
  .text {
    width: 300px;
    text-align: left;
  }
}

/* gallery */
main {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery-container {
  margin-bottom: 50px;
}