*{
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: nav;
  src: url(Audrey-Normal.otf);
}

@font-face {
  font-family: accent;
  src: url(KTQuantum-Thin.otf);
}

header{
  width: 1064px;
  height: 90px;
  top: 0;
  position: sticky;
  background-color: #ffffff;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, #a3cffd 8.59%, #c59fe9 52.25%, #ff94b7 91.59%);
  border-image-slice: 1;
  z-index: 1000;
}

.top{
  width: 984px;
  height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 40px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.logo{
  width: 163px;
  height: 70px;
}

nav{
  width: 570px;
  height: 26px;
}

nav ul{
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  font-size: 15px;
  width: 100%;
}

nav ul li a{
  text-decoration: none;
  font-family: 'nav' ,sans-serif;
  color: #333333;
}

nav ul li a:hover{
  color: #ff94b7;
}

.link{
  width: 112px;  
  height: 24px;
  display: flex;
  justify-content: space-between;
}

.link a{
  width: 24px;
  height: 24px;
}

.contents{
  width: 1064px;
  height: auto;
}

.main{
  justify-content: space-between;
  display: flex;
  border-bottom: 1px solid #beb7a5;
}

.profile_img {
  width: 532px;
  height: 742px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.profile{
  width: 412px;
  height: 751px;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #ffffff;
  text-align: left;
  border-radius: 70px;
  box-shadow: -2px 0px 16px #BEB7A5;
  z-index: 25;
}

.img_wrapper {
  position: relative; 
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible; 
  z-index: 0;
}

.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center top;
  z-index: 1;
}

.character {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;      
  height: 100%;    
  object-fit: contain; 
  pointer-events: none;
  z-index: 10;
  transform: translateX(-70px); 
}

.buttons{
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  gap: 10px;
  z-index: 15;
}

.button-wrapper {
  width: 80px;
  height: 80px;
  padding: 1.5px;
  background: linear-gradient(to right, #a3cffd, #c59fe9, #ff94b7);
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
}

.gradation {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

.gradation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.buttons button{
  width: 76px;
  height: 76px;
  padding: 0;
  border: 3px solid transparent;
  border-image-slice: 1;
  border-radius: 15px;
  background-color: #ffffff;
  cursor: pointer;
}

.buttons button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile_data{
  width: 492px;
  height: 871px;
  padding-top: 75px;
  padding-bottom: 75px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #FBF4FD;
  text-align: left;
  z-index: 1;
  position: relative;
}

.section_line{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.section_line .line{
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #BEB7A5 50%, transparent);
  opacity: 0.6;
}

.name_block{
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.name_block .name{
  color: #beb7a5;
  font-size: 48px;
  font-family: 'accent', serif;
  font-weight: bold;
}

.name_block .hurigana{
  color: #beb7a5;
  font-size: 14px;
  font-family: 'accent', sunserif;
  margin-bottom: 4px;
  letter-spacing: 0.05mm;
}

.profile_text{
  margin-left: 30px;
  margin-right: 30px;
}

.main_text{
  font-family: 'accent', sans-serif;
  font-size: 16px;
  color: #333333;
}

p{
  line-height: 2;
}

.profile_list{
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.profile_list .item{
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #beb7a5;
  width: 350px;
}

.account{
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.account_{
  font-family: 'Helvetica Neue', sans-serif;
  letter-spacing: 0.08em;
  color: #beb7a5;
}

.link_{
  display: flex;
  width: 112px;  
  height: 24px;
  gap: 20px;
  justify-content: center;
  margin-top: 4px;
}

.link_ a{
  width: 24px;
  height: 24px;
}

.topic{
  text-align: left;
  color: #BEB7A5;
}

.anser{
  text-align: left;
  color: #333333;
}

.latest{
  padding: 80px 0;
  max-width: 1064px;
  height: 459px;
  margin: 0 auto;
  box-sizing: border-box;
}

.movie_header{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.movie_list{
  max-width: 1064px;
  width: 100%;
  height: 39px;
  padding: 0px 60px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  flex-direction: column;
  display: flex;
}

.latest_text{
  font-size: 24px;
  font-family: 'accent', sans-serif;
  color: #BEB7A5;
  margin: 0;
}

.more{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  cursor: pointer;
}

.more_text{
  font-size: 20px;
  color: #BEB7A5;
  font-family: 'nav', sans-serif;
  text-decoration: none;
}

.more_img{
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  background-color: transparent;
}

.more a:hover{
  color: #ff94b7;
}

.carousel{
  max-width: 1064px;
  width: 100%;
  height: auto;
  margin: 24px  auto 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button{
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #a3cffd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 10px;
}

.button:hover{
  background-color: #ff94b7;
}

.button img{
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
}

.track{
  overflow: hidden;
  max-width: 944px;
  height: 235px;
}

.track_item{
  flex: 0 0 23.3333%;
  box-sizing: border-box;
  padding: 0 10px;
  transition: transform 0.3s ease;
}

.track_img{
  display: flex;
  transition: transform 0.3s ease;
  width: fit-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

.track_item img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.track_item:hover img{
  transform: scale(1.05);
}

.track_item p{
  margin-top: 8px;
  font-size: 14px;
  color: #333333;
  line-height: 1.4;
  transform: scale(1.05);
}

.best{
  padding-top: 80px;
  margin: 0 auto;
  width: 1064px;
  align-items: center;
  flex-direction: column;
  background-image: linear-gradient(65deg, #d1e8ff 8.59%, #dcc3f3 52.25%, #ffbdd2 91.59%);
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, #a3cffd 8.59%, #c59fe9 52.25%, #ff94b7 91.59%);
}

.best_line{
  display: flex;
  align-items: center;
  justify-content: center;
}

.best_line .line_{
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #ffffff 50%, transparent);
  opacity: 0.6;
}

.best_header{
  font-family: 'accent', serif;
  font-style: italic;
  color: #ffffff;
  font-size: 48px;
  margin: 0;
}

.best_{
  max-width: 1064px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 60px;
  box-sizing: border-box;
}

.best_contents{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.best_contents reverse{
  flex-direction: row-reverse;
}

.thumbnail{
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.thumbnail:hover{
  transform: translateY(-8px);
  box-shadow: 0 8px 20px #e5e5e5;
}

.thumbnail_link{
  width: 45%;
  display: block;
}

.best_text{
  width: 50%;
  max-width: 560px;
}

.best_text h3{
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: #333333;
}

.best_text p{
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #6d6d6d;
}

.history{
  padding: 80px 30px;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background-color: #F6F8FF;
}

.history p{
  padding-left: 30px;
}

.history_{
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
}

.polaroid{
  width: 200px;
  margin: 15px;
  background: #ffffff;
  padding: 10px 10px 20px;
  box-shadow: 0 4px 8px #beb7a5;
  text-align: center;
  border-radius: 12px;
  border: 0.5px solid #e5e5e5;
}

.polaroid_img{
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
}

.thumbnail_{
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.thumbnail_:hover{
  transform: translateY(-8px);
  box-shadow: 0 8px 20px #e5e5e5;
}

.caption{
  text-align: left;
  position: relative;
}

.caption .date{
  font-size: 10px;
  color: #818181;
  padding-left: 8px;
}

.caption .title{
  width: 100px; 
  margin: 5px auto;
  padding: 2px 10px;
  background-color: #a3cffd;
  border-radius: 50px;
  text-align: center;
  font-size: 12px;
  display: inline-block;
}

.caption .comment{
  font-size: 13px;
  color: #333333;
  margin-top: 4px;
  text-align: left;
  padding-left: 8px;
}
