#guestbook {
  background-color: var(--backColor);
}

#guestbook > .top {
  position: relative;
  background-position: center;
  background-size: cover;
  height: 100vh;
}

#guestbook > .top .pos {
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#guestbook > .top .pos p {
  font-size: 50px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  #guestbook > .top {
    height: 50vh;
  }
}

#guestbook .ours .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#guestbook .ours .box .left {
  width: 50%;
}

#guestbook .ours .box .left img {
  width: 150px;
  display: block;
  margin: 0 auto;
}

#guestbook .ours .box .right {
  width: 50%;
  line-height: 3;
}

@media screen and (max-width: 600px) {
  #guestbook .ours .box {
    flex-direction: column;
  }
  #guestbook .ours .box .right {
    line-height: 3;
    width: 100%;
  }
}

#guestbook .positioning {
  color: #fff;
}

#guestbook .positioning .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#guestbook .positioning .box .list {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#guestbook .positioning .box .list .item {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#guestbook .positioning .box .list .item .top {
  font-size: var(--title);
  font-weight: bold;
}

#guestbook .positioning .box .list .item .top::after {
  display: block;
  content: "_";
  margin-top: 40px;
  margin-bottom: 20px;
}

#guestbook .positioning .box .list .item .posimg {
  width: 100%;
}

#guestbook .positioning .box .list .item .bottom {
  line-height: 3;
  margin-top: 60px;
}

#guestbook .positioning .box .list .item .c {
  display: none;
  color: #3b3b3b;
  font-weight: bold;
  font-size: 60px;
  margin-top: 40px;
}

#guestbook .positioning .box .list .item1 .bottom {
  display: none;
}

#guestbook .positioning .box .list .item2 .top {
  display: none;
}

#guestbook .positioning .box .list .item2 .c {
  display: block;
}

#guestbook .positioning .box .list .item3 .bottom,
#guestbook .positioning .box .list .item3 .top {
  display: none;
}

@media screen and (max-width: 600px) {
  #guestbook .positioning .box .list {
    flex-direction: column;
  }
  #guestbook .positioning .box .list .item {
    width: 100%;
  }
  #guestbook .positioning .box .list .item .top::after {
    margin: 20px 0;
  }
  #guestbook .positioning .box .list .item .bottom {
    margin-top: 20px;
  }
}

#guestbook > .joining .home-title {
  color: #fff;
}

#guestbook > .joining .home-title b {
  border-bottom: 0;
}

#guestbook > .joining .home-title b::after {
  display: none;
}

#guestbook > .joining .list {
  color: #fff;
  display: flex;
  justify-content: space-between;
}

#guestbook > .joining .list .item {
  width: 33%;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 160px 30px;
  box-sizing: border-box;
}

#guestbook > .joining .list .item .title {
  text-align: center;
  font-size: var(--title);
}

#guestbook > .joining .list .item .title::after {
  content: "\e6b9";
  display: block;
  margin: 20px 0 60px;
}

#guestbook > .joining .list .item .content {
  text-align: center;
}

@media screen and (max-width: 600px) {
  #guestbook > .joining .box .list {
    flex-direction: column;
  }
  #guestbook > .joining .box .list .item {
    width: 100%;
    padding: 40px 0;
    margin-bottom: 20px;
  }
}

#guestbook .message .title {
  color: #fff;
  font-size: var(--title);
  text-align: center;
  margin-bottom: 40px;
}

#guestbook .message .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#guestbook .message .list .item {
  color: #989292;
  width: calc(50% - 10px);
  margin-top: 20px;
}

#guestbook .message .list .item p {
  line-height: 2;
}

#guestbook .message .list .item:last-child {
  width: 100%;
}

#guestbook .message .list .item:last-child textarea {
  height: 150px;
}

#guestbook .message .list .item input,
#guestbook .message .list .item select,
#guestbook .message .list .item textarea {
  width: 100%;
  line-height: 40px;
  height: 40px;
  padding-left: 10px;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid #989292;
  border-radius: 5px;
  color: #989292;
}

#guestbook .message button {
  background-color: #989898;
  color: #fff;
  display: block;
  width: 120px;
  height: 30px;
  margin: 20px auto;
}
