@charset "UTF-8";

li a {
  text-decoration: underline;
}

*, *::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 a {
  text-decoration: none;
  color: #333;
}

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:hover{
  text-decoration: underline double;
  color: rgb(107, 107, 175);
}

main {
  max-width: 1160px;
  margin: 50px auto 0;
  padding: 120px 15px 120px;
  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;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 15px 10px 0;
  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;
}

footer .footer-address-line {
  word-break: normal;
}

.tel-block {
  white-space: nowrap;
  display: inline;
}

.footer-suffix { 
  white-space: nowrap;
}

e, a, b, g, f, c, d, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16 {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

p3 {
  margin-left: 30px;
}

p11 div {
  text-align: center;
  margin: 70px auto 20px;
}
p11 div img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 350px;
}

p10 div {
  font-family: "Kiwi Maru", serif;
  font-size: 36px;
  font-style: italic;
  text-align: center;
  text-decoration: underline double;
  margin: 20px 0px 10px;
}

p12 div {
  font-family: "Kiwi Maru", serif;
  font-style: normal;
  font-weight: lighter;
  font-size: 20px;
  text-align: center;
  margin: 20px 0px 30px;
  line-height: 1.7;
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255,255,255,0.5);
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  margin: 0 auto;
}

figure img {
  max-width: 100%;
  height: auto;
  max-height: 330px;
  margin-bottom: 20px;
  border-radius: 4px;
}

figure figcaption {
  width: 100%;
}

p6 div {
  font-family: "Kiwi Maru", serif;
  font-style: italic ;
  font-size: 28px;
  border-radius: 16px;
  background-color: rgb(255, 241, 231);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.20);
  padding: 20px;
  margin: 0 auto 20px;
  text-align: center;
  max-width: 500px;
}

main > p3 > div:not(.image-display-container) {
  font-family: "Kiwi Maru", serif;
  font-style: normal;
  font-size: 17px;
  border-radius: 16px;
  background-color: rgb(255, 241, 231);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
  padding: 25px;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.8;
  text-align: left;
}

.image-display-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.image-display-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: block;
}

b > p4 > div {
  font-family: "Kiwi Maru", serif;
  font-size: 30px;
  font-style: italic;
  text-align: center;
  text-decoration: underline solid;
  margin: 20px 0px 15px;
}

main > 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;
  max-width: 800px;
}

p5 div {
  font-family: "Kiwi Maru", serif;
  font-style: normal;
  font-weight: lighter;
  font-size: 17px;
  border-radius: 16px;
  text-align: left;
  margin: 0px auto;
  padding: 20px;
  background-color: rgba(255,255,255,0.7);
  max-width: 800px;
  line-height: 1.8;
}

g > p15 > div {
  font-family: "Kiwi Maru", serif;
  font-size: 30px;
  font-style: italic;
  text-align: center;
  text-decoration: underline solid;
  margin: 20px 0px 15px;
}
main > p15 > div {
    font-family: "Kiwi Maru", serif;
    font-size: 32px;
    font-style: italic;
    text-align: center;
    text-decoration: underline;
    margin: 0px 0px 10px;
    padding-top: 20px;
}

p16 div {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  border-radius: 5px;
  text-align: left;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  max-height: 250px;
  background-color: rgb(253, 253, 236);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
  overflow-y: auto;
  padding: 10px;
}

p16 ul {
  list-style: none;
}

p16 li {
  line-height: 1.8;
  padding: 8px 5px;
}

p16 li:after {
  content: "";
  border-bottom: 1px dashed #2b3127;
  display: block;
  margin-top: 8px;
}
  
p16 li:last-child::after {
  display: none;
}

p16 li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

p16 li a:hover{
  text-decoration: underline;
  color: rgb(107, 107, 175);
}

f > p13 > div, c > p7 > div {
  font-family: "Kiwi Maru", serif;
  font-size: 28px;
  font-style: italic;
  text-align: center;
  text-decoration: underline solid;
  margin: 20px 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;
  background-color: rgb(253, 253, 236);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
  padding: 20px;
  line-height: 1.7;
  text-align: left;
}

p14 div span.text-important {
  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 120px;
  }

  header nav ul li {
    margin: 0 15px;
    font-size: 16px;
  }

  p10 div { font-size: 48px; }
  p12 div { font-size: 24px; }
  p6 div { font-size: 26px; padding: 15px; }
  main > p3 > div:not(.image-display-container) { font-size: 16px; padding: 20px; }
  b > p4 > div { font-size: 28px; }
  main > p4 > div { font-size: 17px; }
  p5 div { font-size: 16px; padding: 15px; }
  g > p15 > div { font-size: 28px; }
  main > p15 > div { font-size: 28px; }
  p16 div { font-size: 15px; padding: 8px; max-height: 200px;}
  f > p13 > div, c > p7 > div { font-size: 26px; }
  p14 div, p8 div { font-size: 15px; padding: 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 100px;
  }

  p11 div img { max-width: 100%; }
  p10 div { font-size: 32px; margin: 15px 0 10px;}
  p12 div { font-size: 17px; margin: 15px 0 25px;}
  
  figure { padding: 15px;}
  figure img { max-height: 250px; }

  p6 div {
    font-size: 22px;
    padding: 15px;
    margin-bottom: 15px;
    position: static; 
    width: 100%;
    max-width: 100%;
  }
  main > p3 > div:not(.image-display-container) {
    font-size: 15px;
    padding: 15px;
    width: 100%;
    max-width: 100%;
  }
  .image-display-container {
    margin-bottom: 15px;
  }
  .image-display-container img { max-width: 100%; }
  
  b > p4 > div { font-size: 24px; margin: 30px 0 10px;}
  main > p4 > div {font-size: 15px; padding: 15px; width: 100%;}
  p5 div { font-size: 15px; padding: 15px; width: 100%;}
  
  g > p15 > div { font-size: 24px; margin: 30px 0 10px;}
  main > p15 > div { font-size: 24px; margin: 15px 0px 20px;}
  p16 div {
    font-size: 14px;
    padding: 10px;
    width: 100%;
    max-height: 180px;
  }
  p16 li { padding: 6px 3px; }
  
  f > p13 > div, c > p7 > div { font-size: 22px; margin: 30px 0 15px;}
  p14 div, p8 div {
    font-size: 14px;
    padding: 15px;
    width: 100%;
  }
  
  p9 div.mapframe {
    height: 250px;
  }

  footer {
    padding: 10px 8px;
    font-size: 11.5px;
  }
  footer .footer-address-line {
    line-height: 1.45;
  }
}

#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;
}