@charset "UTF-8";
/* CSS Document */
.detail_wrapper {
  width: 100%;
  height: 100%;
  padding: 60px 20px 0;
  margin-bottom: 40px;
}
.detail_container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: block;
  justify-content: space-between;
}
.detail_wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.detail_img {
  margin-bottom: 60px;
}
.detail_img img {
  width: 100%;
  margin: 0 auto;
  border: solid 2px #f5f5f5;
}
.url {
  padding-top: 10px;
  text-align: right;
}
.url a {
  color: #a5a5a5;
}
.detail_container h2 {
  font-size: 2.4rem;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  padding-bottom: 20px;
}
.client {
  text-align: right;
  padding-top: 10px;
  font-size: 1.2rem;
}
.detail_list ul {
  list-style: none;
  padding-top: 60px;
  margin-bottom: 60px;
}
.detail_list ul li {
  padding-bottom: 30px;
}
.detail_list h3:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #EEA99B;
  margin-top: 5px;
  margin-bottom: 5px;
}
.detail_scroll {
  width: 100%;
  height: 440px;
  background-color: #fff;
  padding: 40px 10px 20px;
  border: 1px solid #EEA99B;
  position: relative;
  overflow: hidden;
}
.inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.scroll_down {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
}
.scroll_down p {
  position: absolute;
  color: #EEA99B;
  font-family: "Lora", serif;
  font-size: 1.6rem;
  right: 3%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.scroll_down p:before {
  content: '';
  position: absolute;
  bottom: -65px;
  right: 50%;
  width: 1px;
  height: 60px;
  background: #FFEBE9;
}
.scroll_down p:after {
  content: '';
  position: absolute;
  bottom: -65px;
  right: 50%;
  width: 1px;
  height: 60px;
  background: #EEA99B;
}
#type01 p:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.detail_scroll img {
  width: 70%;
  height: auto;
  display: block; /* インライン要素の余白を防ぐ */
  margin: 0 auto;
  border: solid 1px #f5f5f5;
}
.detail_subimg {
  border: solid 1px #EEA99B;
}
@media (min-width:480px) {
  .scroll_down p {
    right: 5%;
  }
}
@media (min-width:768px) {
  .detail_wrapper {
    padding: 100px 40px 0;
    margin: 0 auto;
  }
  .detail_img {
    margin-bottom: 80px;
  }
  .detail_list ul {
    padding-top: 80px;
  }
  .detail_list ul li {
    padding-bottom: 40px;
  }
  .scroll_down p {
    right: 5%;
  }
}
.back_btnbox {
  width: 100%;
  text-align: center; 
  margin: 60px auto;
}
.back_btn {
  width: 200px;
  height: 45px;
  background: #FFF5E9;
  color: #EEA99B;
  display: flex; 
  justify-content: center;
  align-items: center; 
  border-radius: 100px; 
  text-decoration: none;
  transition: 0.5s;
  overflow: hidden;
  font-family: "Lora", serif;
  position: relative; 
  margin: 0 auto;
}
.back_btn:after {
  content: ">";
  position: absolute; 
  right: 20px;
  color: #EEA99B;
  transition: all 0.2s;
}
.back_btn:hover:after {
  transform: translateX(5px);
}