@import url("https://fonts.googleapis.com/css2?family=DotGothic16&display=swap");
@media (min-width: 1441px) {
  body {
    font-size: 0.6vw; } }
@media (max-width: 1441px) {
  body {
    font-size: 10px; } }
* {
  font-family: DotGothic16;
  letter-spacing: 0.15em; }

img {
  vertical-align: bottom; }

a {
  text-decoration: none; }

span {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.5em 0 0.5em; }

button {
  cursor: pointer; }

.text {
  font-size: 1em;
  line-height: 1.7;
  padding: 1em 1.5em 1em 1em; }

#header {
  background-size: 4em;
  margin: em 0.6em; }

#header > div {
  font-size: 1.3em;
  overflow: hidden;
  height: 3.5em; }

#h-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  letter-spacing: 0.5em; }
  #h-2 div {
    min-width: 7em;
    text-align: center; }

#header span {
  padding: 0.4em; }

#h-1 {
  display: flex; }
  #h-1 p {
    margin: 0; }

#h-1, #h-2, #h-3 {
  margin: 1em 0; }

#f-1-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center; }

#f-2-box {
  padding: 0.5em 1.5em; }

#f-4-1-box, #f-4-2-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center; }

#social-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2.5em 2em; }

#social-title {
  font-size: 1.1em;
  margin: 0;
  padding: 0.5em 1em; }

.sl-btn {
  height: 3.2em;
  padding: 0 0.5em; }

@media (max-width: 40em) {
  #social-link {
    justify-content: center; } }
#email-btn {
  cursor: pointer; }

#guestbook {
  padding: 0.5em;
  font-size: 1.1em; }
  #guestbook textarea {
    letter-spacing: 0.07em;
    width: calc(100% - .5em);
    height: 4.2em;
    resize: none;
    border: solid 0.1em; }
  #guestbook input {
    letter-spacing: 0.1em;
    margin-top: 0.5em;
    padding: 0 0.5em 0.2em;
    width: 17em;
    border: solid 0.1em; }
  #guestbook button {
    letter-spacing: 0.07em;
    border: solid 0.1em;
    margin-top: 0.5em;
    padding: 0.1em 0.2em 0.3em; }

#note {
  font-size: 1.1em;
  padding-bottom: 0.5em; }

input:focus, select:focus, textarea:focus, button:focus {
  outline: none; }

#gb-pu {
  display: none;
  position: fixed;
  z-index: 3;
  top: 0;
  bottom: 0;
  height: 100vh;
  width: 100%; }

#gb-pu-box {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 3;
  max-width: 40em;
  font-size: 1.2em; }

#gb-pu-ty {
  padding: 1em;
  text-align: center;
  border: solid 0.1em; }

#gb-pu-msg {
  padding: 1.5em 2.5em 2.5em 2.5em; }

@media (max-width: 640px) {
  #gb-pu-box {
    width: 90%; } }
#contact-form {
  font-size: 1.2em;
  display: none;
  position: fixed;
  z-index: 3;
  top: 0;
  bottom: 0;
  height: 100vh;
  width: 100%; }

#contact-form-bg {
  position: fixed;
  z-index: 1;
  top: 0;
  bottom: 0;
  height: 100vh;
  width: 100%;
  opacity: 0.9; }

#contact-form-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
  width: 60em; }

#contact-form-title {
  padding: 0 1em 0 4em;
  display: flex;
  align-items: center;
  justify-content: space-between; }

#contact-form-x {
  height: 4em;
  width: 4em;
  border-radius: 0.5em;
  position: relative;
  cursor: pointer; }
  #contact-form-x:after {
    content: "";
    height: 3em;
    position: absolute;
    transform: rotate(45deg);
    left: 2em;
    top: 0.5em; }
  #contact-form-x:before {
    content: "";
    height: 3em;
    position: absolute;
    transform: rotate(-45deg);
    left: 2em;
    top: 0.5em; }

#contact-form-body {
  padding: 0 4em 3em; }
  #contact-form-body input {
    padding: 0.5em 0.5em;
    letter-spacing: 0.1em;
    border: solid 0.1em;
    border-radius: 0.2em; }
  #contact-form-body button {
    padding: 1em 3em;
    border: solid 0.1em;
    border-radius: 0.2em; }
  #contact-form-body .count {
    display: inline-block; }

#contact-form-name-email {
  width: 100%;
  display: flex;
  flex-wrap: wrap; }
  #contact-form-name-email div {
    width: 50%; }

#contact-form-name {
  width: 85%; }

#contact-form-email {
  width: calc(100% - 1em); }

#contact-form-subject {
  width: calc(100% - 1em); }

#contact-form-txt {
  letter-spacing: 0.07em;
  width: calc(100% - 2em);
  height: 20em;
  resize: none;
  margin-bottom: 1em;
  padding: 1em;
  border: solid 0.1em;
  border-radius: 0.2em; }

#contact-form-ty {
  display: none;
  padding: 3em 4em; }

@media (max-width: 640px) {
  #contact-form-box {
    width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0, -50%); }

  #contact-form-name-email div {
    width: 100%; }

  #contact-form-name, #contact-form-email {
    width: calc(100% - 1em); }

  #contact-form-bg {
    opacity: 1; } }
