@charset "UTF-8";

/*!
 * Top Page Style
 * Author: SSTA
 * Date: 2026-06-16
 */

/* =================================================
   1. Main Visual
   ================================================= */
/* --- PC Layout (1201px~) --- */
#main_visual {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

#main_visual .mv_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.mv_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 38, 51, 0.40), rgba(15, 23, 31, 0.70));
  z-index: 2;
}

.mv_content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

.mv_badge {
  opacity: 0;
}

body.no-anim .mv_badge {
  animation: none !important;
  opacity: 1 !important;
}


body.is-ready .mv_badge {
  animation: fadeInAnime 0.7s ease forwards 0.5s;
}

@keyframes fadeInAnime {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mv_logo_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.mv_logo_area .en {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  margin-bottom: 10px;
  opacity: 0.9;
  white-space: nowrap;
}

.mv_logo_area .ja {
  display: block;
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-right: -0.15em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.mv_badge {
  position: absolute;
  top: 100px;
  right: 5%;
  background: #b89a5e;
  color: #fff;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  z-index: 10;
  transform: rotate(5deg);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(184, 154, 94, 0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mv_badge:hover {
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 35px rgba(184, 154, 94, 0.75), inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.mv_badge .year {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 7px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.mv_badge .nth {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}

.mv_badge .text {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

.mv_badge .in_fukui {
  display: inline-block;
  margin-left: 2px;
  font-size: 1.1rem;
  font-weight: 900;
}

.mv_badge .in {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  margin-right: 1px;
}

.mv_badge .date_line {
  display: block;
  width: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin: 8px 0 5px;
}

.mv_badge .date {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.scrolldown {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.scrolldown span {
  display: block;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
  text-indent: 0.3em;
}

.scrolldown::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.4);
}

.scrolldown::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 1px;
  height: 40px;
  background: #b89a5e;
  z-index: 4;
  animation: scroll-line 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  30% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  60% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* --- Tablet & SmallPC Layout (769~1200px) --- */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .mv_badge {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 3%;
  }

  .mv_badge .year {
    font-size: 1.15rem;
  }

  .mv_badge .text {
    font-size: 0.85rem;
  }

  .mv_badge .in_fukui {
    font-size: 0.95rem;
  }

  .mv_badge .date {
    font-size: 0.85rem;
  }
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  #main_visual {
    height: 60vh;
  }

  #main_visual .mv_image {
    height: 100%;
  }

  .mv_content {
    margin: 3px auto 0;
  }

  .mv_logo_area .en {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-right: -0.2em;
    margin-bottom: 0;
  }

  .mv_logo_area .ja {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-right: -0.1em;
    margin-top: 0;
  }

  .mv_badge {
    width: 125px;
    height: 125px;
    top: 55px;
    right: 2%;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(184, 154, 94, 0.4);
    z-index: 11;
  }

  .mv_badge .year {
    font-size: 1.05rem;
    padding-bottom: 5px;
    margin-bottom: 4px;
  }

  .mv_badge .nth {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1px;
  }

  .mv_badge .text {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .mv_badge .in_fukui {
    font-size: 0.85rem;
    margin-left: 1px;
  }

  .mv_badge .in {
    font-size: 0.75rem;
  }

  .mv_badge .date_line {
    width: 30px;
    margin: 4px 0 4px;
  }

  .mv_badge .date {
    font-size: 0.75rem;
  }

  .scrolldown {
    bottom: 35px;
    z-index: 10;
  }

  .scrolldown span {
    font-weight: 400;
  }
}

@media screen and (max-width: 375px) {
  .mv_logo_area .ja {
    font-size: 1.5rem;
  }

  .mv_badge {
    width: 120px;
    height: 120px;
    top: 55px;
  }

  .mv_badge .year {
    font-size: 0.95rem;
  }

  .mv_badge .text {
    font-size: 0.65rem;
  }

  .mv_badge .in_fukui {
    font-size: 0.75rem;
  }

  .mv_badge .date_line {
    width: 25px;
    margin: 3px 0 2px;
  }

  .mv_badge .date {
    font-size: 0.7rem;
  }
}

/* =================================================
   2. News
   ================================================= */
/* --- PC Layout (1201px~) --- */
.top_news {
  padding: 70px 0;
  background: #fff;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .top_news {
    padding: 50px 0 40px;
  }
}
/* 
   News List は common.css へ移行
   Common Style - 2. News List 
*/

/* =================================================
   3. About
   ================================================= */
/* --- PC Layout (1201px~) --- */
.top_about {
  padding: 70px 0;
  background: #fbfaf8;
}

.about_flex_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about_flex_text {
  flex: 1;
}

.about_flex_img {
  flex: 1;
}

.img_frame {
  position: relative;
  z-index: 1;
}

.img_frame::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #f9f6f0;
  border-radius: 20px;
  z-index: -1;
  transition: transform 0.5s ease;
}

.img_frame:hover::after {
  transform: translate(5px, 5px);
}

.img_frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(74, 95, 112, 0.12);
}

/* --- Tablet & SmallPC Layout (769~1200px) --- */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .about_flex_container {
    gap: 30px;
  }

  .about_flex_img {
    max-width: 45%;
  }
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .top_about {
    padding: 40px 0;
  }

  .about_flex_container {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .about_flex_img {
    width: 85%;
    margin: 0 auto 12px;
    max-width: none;
  }

  .about_flex_img .img_frame img {
    height: 145px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(74, 95, 112, 0.1);
  }

  .about_flex_text {
    text-align: center;
  }

  .img_frame::after {
    top: 10px;
    left: 10px;
    border-radius: 15px;
  }
}

/* =================================================
   4. Links
   ================================================= */
/* --- PC Layout (1201px~) --- */
.top_links {
  padding: 70px 0;
  background: #fff;
}

.link_flex_container {
  display: flex;
  gap: 30px;
}

.link_flex_card {
  flex: 1;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid #F2F8FD;
  box-shadow: 0 7px 20px rgba(74, 95, 112, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.link_flex_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(44, 51, 56, 0.12);
}

.card_en_sub {
  display: block;
  color: #b89a5e;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.link_flex_card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #4a5f70;
  letter-spacing: 0.06em;
}

/* --- Tablet & SmallPC Layout (769~1200px) --- */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .link_flex_container {
    gap: 30px;
  }

  .link_flex_card {
    padding: 30px 15px;
  }
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .top_links {
    padding: 40px 0 20px;
    overflow: hidden;
  }

  .link_flex_container {
    display: flex;
    gap: 20px;
    margin-top: -15px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 15px 20px 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .link_flex_container::-webkit-scrollbar {
    display: none;
  }

  .link_flex_card {
    flex: 0 0 calc(100vw - 60px);
    scroll-snap-align: center;
    padding: 30px 24px;
    box-sizing: border-box;
  }

  .card_en_sub {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
  }

  .link_flex_card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .link_flex_card p {
    font-size: 13.5px;
    margin-bottom: 10px;
  }
}


/* =================================================
   5. Gallery
   ================================================= */
/* --- PC Layout (1201px~) --- */
.top_gallery {
  padding: 70px 0 65px;
  background-image: url('../images/video_thumb.webp');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.top_gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, rgba(40, 57, 73, 0.88), rgba(22, 32, 43, 0.88)) !important;
  z-index: -1;
}

.gallery_flex_container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 65px;
}

.gallery_flex_text {
  flex: 1;
  text-align: left;
}

.top_gallery .text_desc {
  color: rgba(255, 255, 255, 0.8)
  margin-bottom: 30px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.gallery_flex_img_grid {
  flex: 0 0 390px;
  height: 252px;
  position: relative;
}

.grid_item {
  position: absolute;
  width: 200px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  z-index: 10;
}

.grid_item img.img_main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

.grid_item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  background: rgba(247, 242, 231, 0.1);
  border-radius: 8px;
  z-index: -1;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.movie_card::before {
  display: none !important;
}

.photo_01 {
  top: 0;
  left: 0;
  z-index: 10;
}

.photo_02 {
  top: 140px;
  left: 190px;
  z-index:20;
}

.movie_card {
  top: 70px;
  left: 95px;
  text-decoration: none;
  z-index: 30;
}

.movie_card::before {
  display: none;
}

.movie_card_shadow {
  position: absolute;
  top: 80px;
  left: 105px;
  width: 200px;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  background: rgba(247, 242, 231, 0.1);
  border-radius: 8px;
  z-index: 5;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) {
  .grid_item:hover::before {
    transform: translate(4px, 4px);
  }
  .movie_card:hover + .movie_card_shadow {
    transform: translate(4px, 4px);
  }
}

.movie_card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 5;
}

.movie_card .overlay_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 10;
}

.play_icon {
  position: relative;
  z-index: 32;
}

.play_icon {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.07));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22), 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 32;
  text-indent: -9999px;
  overflow: hidden;
}

.play_icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-width: 9px 0 9px 15px; 
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%); 
}

@media (hover: hover) {

.movie_card:hover .play_icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
}

/* --- Tablet & SmallPC Layout (769~1200px) --- */
@media screen and (min-width: 769px) and (max-width: 1200px) {

  .gallery_flex_container {
    max-width: 100%;
    gap: 25px;
  }

  .grid_item {
    position: absolute;
    width: 190px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
  .is-hidden-sp {
    display: block !important;
  }
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .top_gallery {
    padding: 45px 0;
    background-attachment: scroll !important; 
    background-position: center center !important;
    background-size: 100% auto !important;
  }

  .top_gallery .text_desc {
    display: none;
  }

  .top_gallery .section_en {
    line-height: 1.2;
  }

  .top_gallery .gallery_flex_text h2 {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 26px !important;
    white-space: nowrap;
  }

  .gallery_flex_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .gallery_flex_text {
    flex: 0 1 auto;
    text-align: left;
  }

  .gallery_flex_img_grid {
    flex: 0 0 150px;
    width: 150px;
    height: 135px;
    max-width: none;
    position: relative;
  }

  .gallery_flex_img_grid .grid_item {
    position: absolute;
    width: 130px;
    aspect-ratio: 16 / 9;
  }

  .grid_item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: rgba(247, 242, 231, 0.1);
    border-radius: 8px;
    z-index: 0;
  }

@media (hover: hover) {
  .grid_item:hover::before {
    transform: translate(4px, 4px);
  }

  .movie_card:hover + .movie_card_shadow {
    transform: translate(4px, 4px);
  }
}

  .photo_01 {
    top: 0;
    left: 0;
  }

  .movie_card {
    top: 65px;
    left: 24px;
    text-decoration: none;
  }

  .movie_card_shadow {
    position: absolute;
    top: 73px;
    left: 32px;
    width: 130px;
  }

  .photo_01::after,
  .movie_card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 5;
  }

  .play_icon {
    position: relative;
    z-index: 32;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  }

  .is-hidden-sp {
    display: none !important;
  }
}

/* =================================================
   6. Contact
   ================================================= */
/* --- PC Layout (1201px~) --- */
.top_contact {
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fcfbfa;
}

.top_contact .text_desc {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .top_contact {
    padding: 45px 0 47px;
    }
}