@charset "UTF-8";

:root {
  --black-color:#222222;
  --gray-color:#888888;
  --main-color:#C35A57;
  --white-color:#fff;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: var(--main-color);
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
  background-color: #FFFDF7;
}

a{
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

@media screen and (max-width: 800px) {
  .sp-br {
    display: block;
  }

  .pc-br {
    display: none;
  }
}

.fadein-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.0s ease-out;
}

.fadein-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* loader*/
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-logo {
  width: 100px;
  opacity: 1;
  transition: opacity 0.6s ease;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.loader-logo.fade-out {
  opacity: 0;
}

#loader.bg-fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#main-content {
  opacity: 0;
  transition: opacity 1s ease;
}

#main-content.show {
  opacity: 1;
}

/*kv*/

.kv-wrapper{
  position: relative;
  align-items: center;
  margin: 0 auto;
}

.kv-wrapper .kv-bg-pc{
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}


.kv-wrapper .kv-bg-sp{
  display: none;
}

.latest-news {
  position: absolute;
  top: 600px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 4px;
  background-color: var(--white-color);
  overflow: hidden;
  width: 560px;
  color: var(--main-color);
  font-size: 1.0rem;
  font-weight: 600;
}

.news-title {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 20px;
  animation: slide-left 10s linear infinite;
}

/* アニメーション定義（右→左） */
@keyframes slide-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media screen and (max-width: 1220px) {
  .latest-news {
    top: 50vw;
    width: 48%;
  }
}

@media screen and (max-width: 600px) {
  .kv-wrapper{
    position: static;
  }

  .kv-wrapper .kv-bg-pc{
    display: none;
  }

  .kv-wrapper .kv-bg-sp{
    display: block;
    padding-top: 80px;
  }

  .latest-news {
    position: static;
    transform: none;
    width: 100%;
  }

  .news-title{
    position: static;    
  }
}

/*details*/

.section_details{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.section_details {
  position: relative;
  background: url("../img/about-bg.webp") no-repeat center center/cover;
  color: var(--white-color);
  padding: 120px 20px;
}

.dt-text{
  font-size: 1.0rem;
  overflow: hidden;
}

.dt-text span.line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.0s ease;
}

.dt-text span.line.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.dt-watch{
  width: 90%;
  max-width: 900px;
  margin: 32px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  font-weight: 500;
  border-top: solid 1px var(--white-color);
  padding-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.dt-watch.show {
  opacity: 1;
  transform: translateY(0);
}


.dt-watch .button{
  background-color: rgba(255, 255, 255, 0.8); 
  color: var(--black-color);
  letter-spacing: 0px;
  padding: 0 8px;
}

.dt-watch .dt-text{
  text-align: left;
}

@media screen and (max-width: 800px) {
  .section_details{
    background: url("../img/about-bg_sp.webp") no-repeat center center/cover;
    padding: 100px 20px;
  }
}

@media screen and (max-width: 600px) {
  .section_details{
    margin: 80px auto;
    padding: 60px 20px;
  }

  .details-wrapper{
    flex-direction: column;
    text-align: center;
    margin: 30px auto;
  }

  .dt-text{
    font-size: 0.8rem;
  }

  .dt-watch{
    align-items: center;
    width: 95%;
    flex-direction: column;
    gap: 16px;
  }

  .dt-watch .button{
    font-size: 0.8rem;   
  }
}


/*common*/

.title {
  font-size: 2.0rem;
  margin-bottom: 48px;
  font-weight: 500;
  text-align: center;
}

.title .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.0rem;
  font-weight: 600;
}

.title .jp {
  font-size: 1.0rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}


/*archive*/

.section_archive {
  margin: 120px auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
  gap: 5%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  width: 90%;
}

.video-item {
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-item:hover {
  transform: scale(1.03);
}

.video-item img {
  width: 100%;
  height: auto;
}

.thumbnail-wrapper {
  position: relative;
  display: block;
}

.thumbnail-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.title-wrapper{
  background-color: var(--white-color);
  color: var(--main-color);
  padding: 16px 16px 32px 16px;
}

.title-wrapper .publish{
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.publish .number {
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -2px;
  z-index: 100;
}

.publish .date{
  color: var(--gray-color);
}

.video-item h3 {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
}

/* モーダル */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-modal-content {
  position: relative;
  width: 80vw;
  height: 45vw;
  max-width: 1280px;
  max-height: 720px;
  background: transparent;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -60px;
  right: 0px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    gap: 32px;
    max-width: 1000px;
    width: 90%;
  }

  .video-modal-content {
    width: 90vw;
  }

  .video-item h3 {
   font-size: 16px;
  }
}

@media screen and (max-width: 500px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(80%, 1fr));
    gap: 64px;
    max-width: 1000px;
    width: 80%;
  }



  .video-modal-content {
    width: 95vw;
  }
}

/*prof*/

.section_prof {
  width: 90%;
  max-width: 1024px;
  margin: 120px auto;
}

.section_prof .prof-wrapper{
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  color: var(--black-color);
}

.prof-left {
  width: 45%;
}

.prof-left .name{
  font-size: 24px;
}

.prof-left .position{
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--gray-color);
}

.prof-left .prof-text {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
}

.link {
  overflow: hidden;
  opacity: 1 !important;
  transition-delay: .4s;
  font-size: 12px;
  text-align: right;
  margin-right: 8px;
}

.link a {
  background-color: var(--main-color);
  color: var(--white-color);
  font-weight: 500;
  padding: 0 16px;
  display: inline-block;
}

.prof-right {
  width: 40%;
  z-index: 1;
}

.prof-right .prof-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.prof-right .prof-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@media screen and (max-width: 768px) {
  .section_prof .prof-wrapper {
    flex-direction: column-reverse;
    align-items: center;
  }

  .prof-left {
    width: 80%;
  }

  .prof-right {
    width: 80%;
    z-index: 1;
    margin-top: 10px;
  }
}

@media screen and (max-width: 500px) {
  .prof-left {
    width: 100%;
  }

  .prof-right {
    width: 100%;
    z-index: 1;
    margin-top: 10px;
  }
}


.fixed-banner {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 100;
}

.fixed-banner img{
  width: 120px;
}

.banner-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.banner-link:hover {
  opacity: 0.7;
}

@media screen and (max-width: 500px) {
  .fixed-banner img{
    width: 100px;
  }
}
