/* キービジュアル */
/* ----------- */
.kv_section {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  gap: 40px;
}

.kv_text_area {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.kv_super_title {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.blooming_accent {
  font-size: 18px;
  font-weight: bold;
  margin-right: 12px;
  background: linear-gradient(90deg, #FF00F3, #FFD500);
  color: transparent;
  background-clip: text;
}

.kv_catch {
  font-size: clamp(28px, 5vw, 68px);
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kv_catch_text {
  display: block;
  opacity: 0;
  animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kv_message {
  max-width: 800px;
  margin-bottom: 40px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 2.2;
  color: #111;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.kv_action_area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.kv_action_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FF6388, #FFCF59);
  background-size: 200% auto;
  min-width: 220px;
  padding: 18px 32px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1.6;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 99, 136, 0.2);
  @media (hover: hover) and (pointer: fine) {
    &:hover {
      background-position: right center;
      opacity: 0.9;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 99, 136, 0.35);
      &::after {
        transform: translateX(4px);
      }
    }
  }
  &::after {
    content: "";
    display: block;
    margin-left: 12px;
    height: 12px;
    width: 8px;
    background-image: url(/img/icon_arrow_link.svg);
    background-repeat: no-repeat;
    transition: transform 0.3s;
  }
}

.kv_slider_area {
  --kv-gap: 16px;
  --kv-unit: clamp(100px, 12vw, 160px);
  width: 100%;
  display: flex;
  overflow: hidden;
}

.kv_slider_track {
  display: grid;
  grid-template-rows: repeat(2, clamp(140px, 15vw, 200px));
  grid-auto-columns: var(--kv-unit);
  grid-auto-flow: column dense;
  gap: var(--kv-gap);
  width: max-content;
  will-change: transform;
  animation: scrollLeftInf 45s linear infinite;
}

.kv_img_wrap {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background:#F7F7FC;
  &.size-s {
    grid-column: span 1;
  }
  &.size-m {
    grid-column: span 2;
  }
  &.size-l {
    grid-column: span 3;
  }
  &.size-xl {
    grid-column: span 2;
    grid-row: span 2;
  }
  &.size-xxl {
    grid-column: span 3;
    grid-row: span 2;
  }
}

.kv_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEWS */
/* ----------- */
.news_wrap {
  margin-top: 40px;
}

.news {
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
  padding: 60px 40px 40px;
}

.news_list {
  border-top: 1px solid #E0E0E0;
  background-color: rgba(255,255,255,0.8);
}

.news_list:last-of-type {
  border-bottom: 1px solid #E0E0E0;
}

.news_list_link {
  font-size: 16px;
  padding: 20px 52px 20px 100px;
  position: relative;
  display: block;
}

.news_list_link::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  content: "NEWS!";
  color: #F7618F;
  font-size: 18px;
  font-weight: bold;
}

.news_list_link::after {
  content: "";
  display: block;
  height: 12px;
  width: 8px;
  background-image: url(/img/icon_arrow_news.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

.news_list_link:hover {
  transition: all .2s;
  opacity: .6;
}

/* ABOUT US */
/* ----------- */
.aboutus_wrap {
  margin-top: 40px;
}

.aboutus_slide {
  width: 100%;
  padding: 20px;
  background-color: #E6F3FF;
}

/* MASSAGE */
/* ----------- */
.message_wrap {
  margin-top: 40px;
  background: linear-gradient(to bottom right, #AEE1FF, #E4CAF0, #FEF1D6);
}

.message_layout {
  display: flex;
  align-items: center;
  flex-flow: row-reverse;
  padding: 40px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgb(0 0 0 / 16%);
}

.message_layout_img {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
  padding-right: 140px;
}

.message_img {
  width: 440px;
  height: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 959px) {
  .message_layout_img {
    padding-right: 280px;
  }
}

.message_layout_text {
  margin-right: 40px;
}

.message_layout_text::after {
  content: "";
  display: block;
  height: 35px;
  margin-top: 20px;
  background-image: url(/img/img_message_signature-2.png);
  background-position: left bottom;
  background-repeat: no-repeat;
}

.message_title {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 1px solid #707070;
  padding-bottom: 16px;
}

.message_text {
  margin-top: 16px;
  line-height: 1.6;
}

/* CULTURE */
/* ----------- */
.culture_layout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
  justify-content: space-between;
  padding-bottom: 80px;
  border-bottom: 1px solid #ebebeb;
}

.culture {
  width: calc(33% - 6px);
  overflow: hidden;
  cursor: pointer;
}

/* ホバー時の画像拡大 */
.culture:hover .culture_img {
  transition: transform .6s ease;
  transform: scale(1.1);
}

.culture_layout_img {
  overflow: hidden;
  border-radius: 10px;
}

.culture_img {
  width: 100%;
}

.culture_title {
  color: #F7618F;
  font-weight: bold;
  margin-top: 16px;
}

.culture_text {
  margin: 16px 0;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* DATA */
/* ----------- */
.data_layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
  padding-bottom: 80px;
  border-bottom: 1px solid #ebebeb;
}

/* MEMBERS */
/* ----------- */
.members_layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 12px;
  /* padding-bottom: 80px; */
  /* border-bottom: 1px solid #ebebeb; */
}

.members {
  width: calc(33% - 6px);
}

.members:nth-child(1) {
  margin-top: 80px;
}

.members:nth-child(2) {
  margin-top: 40px;
}

/* ホバー時 */
.members_link:hover .members_img {
  transition: transform .6s ease;
  transform: scale(1.1);
}

.members_layout_img {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.members_img {
  width: 100%;
}

.members_title {
  color: #F7618F;
  font-weight: bold;
  margin-top: 16px;
}

.members_text {
  margin: 16px 0;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* DEVELOPMENT */
/* ----------- */
.development_layout {
  width: 100%;
  padding-bottom: 80px;
  border-bottom: 1px solid #ebebeb;
}

.development {
  border-radius: 10px;
  background-color: #F7F7FC;
  padding: 40px;
}

.development_title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  border-bottom: 1px solid #707070;
  padding-bottom: 16px;
}

.development_title_segment {
  display: inline-block;
}

.development_text {
  margin-top: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.development_img {
  display: flex;
  gap: 16px;
}

.development_img_list {
  width: 33%;
}
.development_img_list_item {
  width: 100%;
}

/* PHOTO */
/* ----------- */
.photo_wrap {
  background-color: #4B505E;
  color: white;
}

.photo_slide {
  width: 100%;
  border-radius: 10px;
}

/* ACCESS */
/* ----------- */
.access_wrap {
  background-color: #4B505E;
  color: white;
}
.access_layout {
  padding-bottom: 80px;
}
.access_text {
  margin-top: 20px;
  line-height: 1.5;
}

/* BLOG */
/* ----------- */
.blog_layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 12px;
  padding-bottom: 80px;
  border-bottom: 1px solid #ebebeb;
}

.blog {
  width: calc(33% - 6px);
}

/* ランダム対象のリンクは初期表示時は非表示にしておきます。ロード時にJSがかかるまで表示されるため。 */
/* JSのランダマイズがかかると、表示対象のリンクにDisplay:inline;がかかり表示されます。 */
.blog_link.is-random {
  display: none;
}

.blog_link:hover .blog_img {
  transition: transform .6s ease;
  transform: scale(1.1);
}

.blog_layout_img {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.blog_img {
  width: 100%;
}

.blog_text {
  height: 76px;
  margin: 16px 0;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* JOB DESCRIPTION */
/* ----------- */
.job_layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 12px;
  padding-bottom: 80px;
  border-bottom: 1px solid #ebebeb;
  position: relative;
}

.job {
  display: block;
  width: calc(50% - 6px);
  font-size: 20px;
  font-weight: bold;
  padding: 24px 28px;
  border: 1px solid #E2E3E3;
  position: relative;
}

.job::after {
  content: "";
  display: block;
  height: 36px;
  width: 36px;
  background-image: url(/img/icon_arrow_job.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}

.job:hover {
  transition: all .2s;
  opacity: .6;
  border-image: linear-gradient(90deg, rgba(255, 0, 243, 1), rgba(255, 213, 0, 1));
  border-image-slice: 1;
}



/* ------------ */
/* Photo */
/* ------------ */
.swiper-container .swiper-slide img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

#swiper-photo-thumbs {
  height: 10%;
  box-sizing: border-box;
  padding: 10px 0;
}

#swiper-photo-thumbs .swiper-slide {
  width: 16%;
  height: auto;
  opacity: 0.4;
  cursor: pointer;
}

#swiper-photo-thumbs .swiper-slide-active {
  opacity: 1;
  border: 4px solid #3E86F5;
}

/* アニメーション */
/* ----------- */
/* キービジュアル テキストフェードイン */
@keyframes fadeUpIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* キービジュアル 画像自動スクロール */
@keyframes scrollLeftInf {
  0% {
    transform: translateX(0);
  }
  /* 3セット配置するので1/3でループ */
  100% {
    transform: translateX(calc(-100% / 3));
  }
}
