@charset "UTF-8";

body {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif !important;
}

#backButton {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  right: 0;
  padding: 1rem;
  color: #fff;
}

#backButton p i {
  padding-right: 0.5rem;
}

.content {
  position: fixed;
  width: 100%;
  height: 100%;
  transition: all 1000ms;
  opacity: 0;
  left: 300px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.content.active {
  opacity: 1;
  transform: translate(-300px);
}

.frend001 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_checkin3.jpg");
}

.frend002 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_room2.jpg");
}

.frend003 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_cycling.jpg");
}

.frend004 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_yusyoku2.jpg");
}

.frend005 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_hoshi2.jpg");
}

.frend006 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_onsen.jpg");
}

.frend007 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_unkai.jpg");
}

.frend008 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_cyosyoku2.jpg");
}

.frend009 {
  background-image: url("https://alt1t1.appi.co.jp/wp/wp-content/uploads/2019/06/sugoshikata-buna2.jpg");
}

.frend010 {
  background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_unkai.jpg");
}

.planbox>div {
  max-width: 960px;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  background: #FFF;
  padding: 2rem 1rem;
  border-radius: .5rem;
}

h3.linestyle {
  position: relative;
  z-index: 10;
  text-align: center;
}

h3.linestyle:after {
  content: "";
  width: 80%;
  border-top: 2px solid #ccc;
  position: absolute;
  top: 50%;
  left: 10%;
}

h3 span {
  position: relative;
  z-index: 10;
  background: #FFF;
  padding: 0 2rem;
}

.cardbox {
  margin: 0 auto;
}

.cardbox .column a {
  display: block;
  width: 100%;
  height: 100%;
  padding: .5rem .5rem 1rem .5rem;
  border-radius: .3rem;
  border: 1px solid #ddd;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.cardbox .column a p {
  margin-bottom: .5rem;
}

.comment {
  position: fixed;
  max-width: 500px;
  min-height: 300px;
  bottom: 12%;
  right: 10%;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  z-index: 110;
}
.frend009 .comment {
  right: 0;
  left: 10%;
}

.content .comment h2 {
  color: #fff;
  margin: 0 auto 1rem;
  text-align: center;
  border-top: 2px dotted #fff;
  border-bottom: 2px dotted #fff;
  line-height: 1;
  padding: 0.8rem;
}

.comment p.times {
  margin: 0;
}

#pagetitle {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 20%;
  background: linear-gradient(0deg,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0));
}

#pagetitle h1 {
  position: fixed;
  width: 100%;
  padding-left: 2rem;
  left: 0;
  bottom: 4%;
  color: #fff;
  border-bottom: 2px solid #fff;
}

#arrows p {
  font-size: 5rem;
  color: #fff;
  cursor: pointer;
  width: 5rem;
  padding: 0;
  margin: 0;
  line-height: 1;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.1);
}

#arrows>p.left {
  position: fixed;
  top: 40%;
  left: 10px;
}

#arrows>p.right {
  position: fixed;
  top: 40%;
  right: 10px;
}

ul.positions {
  position: fixed;
  right: 2rem;
  bottom: 5%;
}

.positions li {
  padding: 1rem 1.4rem;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  background: #000;
  transition: all 1000ms;
}

.positions li.nimoji {
  padding: 1rem 1.2rem;
}

.positions li.active {
  background: #68a476;
}

@media screen and (max-width: 768px) {
  body {
    font-size: .8rem;
  }

  #pagetitle h1 {
    font-size: 1.2rem;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-left: 0;
    text-align: center;
    margin-bottom: .5rem;
  }

  #pagetitle {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 10vh;
    background: linear-gradient(0deg,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0));
  }

  .content .comment {
    position: fixed;
    width: 96%;
    min-height: 30vmin;
    bottom: 15%;
    right: 0;
    left: 0;
    padding: .5rem;
    margin: 0 2%;
  }

  .frend001 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_checkin.jpg");
  }
  .content.frend001 {
    background-position: bottom;
  }
  .frend002 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_room.jpg");
  }
  .frend002 .comment {
    bottom: auto;
    top: 5%;
  }
  .frend003 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_cycling.jpg");
  }

  .frend004 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_yusyoku2.jpg");
  }

  .frend005 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_hoshi.jpg");
  }

  .frend006 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_onsen2.jpg");
  }

  .frend007 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_unkai.jpg");
  }

  .frend008 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_cyosyoku.jpg");
  }
  .frend008 .comment {
    bottom: auto;
    top: 5%;
  }
  .frend009 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_buna.jpg");
  }
  .frend009 .comment {
    bottom: auto;
    top: 5%;
  }
  .frend010 {
    background-image: url("https://image.appi.co.jp/japan/image/sugoshikata_sp_unkai.jpg");
  }

  #pagetitle .positions {
    display: none;
  }

  .content .comment h2 {
    font-size: 1.1rem;
    margin: 0 auto .5rem;
    text-align: center;
    padding: 0.5rem;
  }

  #arrows p {
    font-size: 3rem;
    cursor: pointer;
    width: 3rem;
  }
  .planbox {
    overflow: auto;
  }
  .planbox>div {
    max-width: 960px;
    width: auto;
    height: auto;
    margin: 5% .2rem;
    background: #FFF;
    padding: 1rem .5rem 25%;
    border-radius: .5rem;
  }
  .cardbox {
    margin: 0 auto;
  }

  .cardbox .column a {
    display: block;
    width: 100%;
    height: 100%;
    padding: .5rem .5rem 1rem .5rem;
  }

  .cardbox .column a p {
    margin-bottom: .5rem;
  }
}
