@charset "UTF-8";

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  background-image: url(white_00029.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  color: #333;
}

header {
  background-color: beige;
  padding: 1px 0px 0px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 2px solid rgb(107, 107, 175);
}

header h2 {
  text-align: center;
  margin: 15px 0;
  font-size: 1em;
}
 
p1 {
  background-color: rgba(28, 173, 184, 0.89);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-size: 18px;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

p2 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-size: 20px;
  display: inline-block;
}

header nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid rgb(107, 107, 175);
  background-color: rgba(225, 225, 225, 0.42);
  padding: 10px 0;
  list-style: none;
}

header nav ul li {
  margin: 0 20px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  font-size: 17px;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
}

header nav ul li a:hover{
  text-decoration: underline double;
  color: rgb(107, 107, 175);
}

main {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 15px 90px;
  background: linear-gradient(0deg, #f8faf7, #84b8a8);
  min-height: calc(100vh - 100px - 70px);
}

footer {
  background-color: beige;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  border-top: 2px solid rgb(107, 107, 175);
  font-size: 14px;
  z-index: 100;
}

footer a {
  color: #333;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

p15 div {
  font-family: "Kiwi Maru", serif;
  font-size: 32px;
  font-style: italic;
  text-align: center;
  text-decoration: underline;
  margin: 80px 0px 30px;
  padding-top: 60px;
}

p3 div {
  text-align: center;
  margin-bottom: 20px;
}

p3 div img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

p4 div {
  font-family: "Kiwi Maru", serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
  background-color: rgba(255,255,255,0.7);
  padding: 20px;
  border-radius: 8px;
  margin: 0 auto 30px;
  max-width: 800px;
}

f, c, d {
  display: block;
  margin-bottom: 30px;
}

p13 div, p7 div {
  font-family: "Kiwi Maru", serif;
  font-size: 28px;
  font-style: italic;
  text-align: center;
  text-decoration: underline solid;
  margin: 40px 0px 20px;
}

p14 div, p8 div {
  font-family: "Kiwi Maru", serif;
  font-style: normal;
  font-weight: lighter;
  font-size: 16px;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 10px;
  background-color: rgb(253, 253, 236);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
  padding: 20px;
  line-height: 1.7;
}

p14 div span {
  color: red;
  text-decoration: underline solid;
  font-weight: normal;
  display: block;
  margin-top: 8px;
}

p9 div.mapframe {
  width: 100%;
  max-width: 800px;
  height: 350px;
  margin: 10px auto 5px;
  border: 1px solid #ccc;
}

p9 div.mapframe iframe {
  display: block;
}
p9 small {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1280px) {
  main {
    padding: 120px 20px 90px;
  }

  header nav ul li {
    margin: 0 15px;
    font-size: 16px;
  }

  p15 div { font-size: 28px; }
  p4 div { font-size: 17px; }
  p13 div, p7 div { font-size: 26px; }
  p14 div, p8 div { font-size: 15px; }
}

@media screen and (max-width: 690px) {
  body {
    line-height: 1.7;
  }

  header h2 {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  p1 {
    font-size: 14px;
    padding: 4px 10px;
    margin-right: 0;
    margin-bottom: 5px;
  }
  p2 {
    font-size: 16px;
  }

  header nav ul {
    padding: 8px 0;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  header nav ul li {
    margin: 5px 8px;
    font-size: 13px;
  }

  main {
    width: 100%;
    padding: 100px 10px 80px;
  }

  p15 div {
    font-size: 24px;
    margin: 15px 0px 20px;
  }

  p4 div {
    font-size: 15px;
    padding: 15px;
    width: 100%;
  }

  p13 div, p7 div {
    font-size: 22px;
    margin: 30px 0px 15px;
  }

  p14 div, p8 div {
    font-size: 14px;
    padding: 15px;
    width: 100%;
  }
  
  p9 div.mapframe {
    height: 250px;
  }

  footer {
    padding: 10px;
    font-size: 12px;
  }
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: rgba(107, 107, 175, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  width: 45px;
  height: 45px;
  font-size: 20px;
  text-align: center;
  line-height: 25px;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

#backToTopBtn:hover {
  background-color: rgba(107, 107, 175, 1);
  opacity: 1;
}