@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;500&display=swap');

.side-nav {
  width: 15%;
  height: 100vh;
  position: fixed;
  background-color: #fafafa;
  text-align: center;

  top: 0;
  left: 0;
}

.side-nav img {
  margin-top: 100px;
  width: 80%;
}

.side-outer {
  text-align: left;
  position: absolute;
  bottom: 5%;
  margin-left: 11%;
}

.side-nav__list {}

.side-nav__item {
  font-size: 2.2vw;
  margin-top: 3vh;
}
.side-nav__item:nth-child(1) a{
  color: #69A8C7;
}


.contents {
  width: 55%;
  margin: 20vh 15vw 0 auto;
  text-align: center;
  position: relative;
}

.contents-about {
  display: inline-block;
  text-align: left;
}

.title__outer {
  text-align: left;
  border-bottom: 6px solid #333;
  width: 205px;
  padding-left: 50px;
  padding-bottom: 30px;
  margin: 0 0 0 auto;
}

.title__txt {
  font-size: 30px;
  -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 1.8em;
  letter-spacing: 0.1em;
}

.contents-title {
  font-size: 28px;
}

.contents-title:nth-child(n+2) {
  margin-top: 150px;
}

.contents-txt {
  font-family: 'Noto Serif JP', 'Georgia', serif;
  font-size: 15px;
  font-weight: lighter;
  margin-top: 2.5em;
  line-height: 2em;
  margin-left: 30px;
}


iframe {
  margin-top: 1.5em;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(90%);
}


.map__text {

  margin-top: 15px;
  font-size: 13px;
  font-family: 'Futura', 'Century Gothic', YuGothic, 'Yu Gothic', 'ヒラギノ角ゴシック', 'Hiragino Sans',
    sans-serif;
  position: relative;
  top: 10px;
}

.map__link {
  color: #333;
  border: 1px solid gainsboro;
  padding: 1px 18px 3px 17px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 15px;
  transition: all 0.5s;
}

.map__link:hover {
  color: #fafafa;
  background-color: #69A8C7;
  border: 1px solid #69A8C7;

}

.contents-dezasta-img {
  width: 150px;
  margin-left: 30px;
  margin-top: 2.5em;
}

.contents-mail-outer {

  background-color: #333;
  text-align: center;
  margin: 2em 30px;
  margin-bottom: 40vh;
}

.contents-mail-inner {
  height: 31px;
  padding-top: 5px;
  padding-right: 2%;
}

.contents-mail-outer img {
  height: 25px;
  vertical-align: middle;
  margin-right: 3%;
}

.contents-mail-outer span {
  color: #fafafa;
  font-size: 18px;
  letter-spacing: 0.15em;
  vertical-align: middle;
}

.space {
  width: 1em;
  height: 1em;
}

.copyright {
  font-family: 'MyFont', 'Futura', 'Century Gothic', YuGothic, 'Yu Gothic', 'ヒラギノ角ゴシック', 'Hiragino Sans',
    sans-serif;
  display: block;
  margin-bottom: 5vh;
  padding-top: 70px;
  clear: both;
  font-size: 13px;
  letter-spacing: 0.07em;
}

#gloval-nav {
  display: none;
}

/* ipad以下はここのスタイル */
@media screen and (max-width:768px) {

  .contents {
    width: 70%;
    margin: 20vh 15vw 0 auto;
  }

  .side-nav {
    display: none;
  }

  #gloval-nav {
    display: block;
  }

  /* ▼ハンバーガーメニュー */
  #nav-toggle {
    position: fixed;
    top: 20px;
    right: 5vw;
    height: 32px;
    cursor: pointer;
  }

  #nav-toggle>div {
    position: relative;
    width: 36px;
  }

  #nav-toggle span {
    width: 100%;
    height: 1px;
    left: 0;
    display: block;
    background: #333;
    position: absolute;
    -webkit-transition: top .5s ease, -webkit-transform .6s ease-in-out;
    transition: top .5s ease, -webkit-transform .6s ease-in-out;
    transition: transform .6s ease-in-out, top .5s ease;
    transition: transform .6s ease-in-out, top .5s ease, -webkit-transform .6s ease-in-out;
  }

  #nav-toggle span:nth-child(1) {
    top: 0;
  }

  #nav-toggle span:nth-child(2) {
    top: 14px;
  }

  #nav-toggle span:nth-child(3) {
    top: 28px;
  }

  #nav-toggle:hover span:nth-child(1) {
    top: 0px;
  }

  #nav-toggle:hover span:nth-child(3) {
    top: 28px;
  }

  .open #nav-toggle span {
    background: #fff;
  }

  .open #nav-toggle span:nth-child(1) {
    top: 15px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .open #nav-toggle span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 15px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /* z-index */
  #nav-toggle {
    z-index: 1000;
  }

  #gloval-nav {
    background: #69A8C7;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: center;
    display: -webkit-box;
    display: flex;
    visibility: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    font-size: 29px;
    opacity: 0;
    -webkit-transition: opacity .6s ease, visibility .6s ease;
    transition: opacity .6s ease, visibility .6s ease;
  }

  #gloval-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    -webkit-transition: color .6s ease;
    transition: color .6s ease;
  }

  #gloval-nav a:hover {
    color: #666;
  }

  #gloval-nav ul {
    list-style: none;
    text-align: left;
  }

  #gloval-nav ul li {
    font-size: 5vw;
    opacity: 0;
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    -webkit-transition: opacity .1s ease, -webkit-transform .3s ease;
    transition: opacity .1s ease, -webkit-transform .3s ease;
    transition: transform .3s ease, opacity .1s ease;
    transition: transform .3s ease, opacity .1s ease, -webkit-transform .3s ease;
  }

  #gloval-nav ul li:nth-child(2) {
    -webkit-transition-delay: .05s;
    transition-delay: .05s;
  }

  #gloval-nav ul li:nth-child(3) {
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
  }

  #gloval-nav ul li:nth-child(4) {
    -webkit-transition-delay: .15s;
    transition-delay: .15s;
  }

  #gloval-nav ul li:nth-child(5) {
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
  }

  #gloval-nav ul li:nth-child(6) {
    -webkit-transition-delay: .25s;
    transition-delay: .25s;
  }

  #gloval-nav ul li:nth-child(7) {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
  }

  /* open */
  .open {
    overflow: hidden;
  }

  .open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }

  .open #gloval-nav li {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: opacity .9s ease, -webkit-transform 1s ease;
    transition: opacity .9s ease, -webkit-transform 1s ease;
    transition: transform 1s ease, opacity .9s ease;
    transition: transform 1s ease, opacity .9s ease, -webkit-transform 1s ease;
  }
  .title__outer {
    width: 180px;
    padding-left: 35px;
  }

  .title__txt {
    font-size: 26px;
  }


}

/* iphon以下はここのスタイル */
@media screen and (max-width:480px) {

  .title__txt {
    font-size: 22px;
  }

  .title__outer {
    width: 150px;
    padding-left: 25px;
    padding-bottom: 20px;
    border-bottom: 4px solid #333;
  }

  .contents {
    margin: 140px 15vw 0 auto;
  }

  #nav-toggle {
    top: 20px;
    right: 4vw;
  }

  .contents-title {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .contents-title:nth-child(n+2) {
    margin-top: 100px;
  }

  .contents-about p {
    font-size: 14px;
    margin-left: 0;
    margin-top: 35px;
    line-height: 1.8em;
  }

  .contents-txt {
    margin-left: 0;
  }

  .contents-txt:nth-child(3),
  .contents-txt:nth-child(4) {
    margin-top: 20px;
  }

  .contents-dezasta-img {
    margin-left: 10px;
    margin-top: 30px;
  }

  .copyright {
    padding-top: 70px;
  }

  #gloval-nav ul li {
    font-size: 28px;
  }
}