
/* =====================
   RESET
===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   BODY
===================== */

body {
    background: #f8f8f8;
    color: #111;

    font-family:
        "Yu Gothic Pr6N",
        "Yu Gothic",
        sans-serif;

    line-height: 2;
    -webkit-font-smoothing: antialiased;
}

/* =====================
   HEADER
===================== */

header {
    position: relative;
    padding-top: 120px;
    padding-bottom: 50px;
    text-align: center;
}

/* =====================
   LOGO
===================== */

.logo {
     top: 35px;
    width: 200px;
    display: block;
    margin: auto;
    
}

.logo-link {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* =====================
   MENU BUTTON
===================== */

.menu-btn {
    position: fixed;
    top: 83px;
    left: 30px;

    display: block;
    padding: 0;
    margin: 0;

    border: none;
    background: transparent;

    cursor: pointer;
    z-index: 1001;
}

.menu-image {
    display: block;
    width: 60px;
    height: auto;
}


/* =====================
   MENU OVERLAY
===================== */

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 50%;
    height: 100dvh;

    z-index: 2000;

    background: rgba(248, 248, 248, 0.8);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    overflow-y: auto;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

#menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}





/* =====================
   MENU ITEMS
===================== */

.overlay-nav {
    min-height: 100%;
    padding: 150px 15px 60px 30px;
   
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    gap: 30px;

    text-align: left;
}

.overlay-nav a {
    display: block;
    width: fit-content;
    margin: 0;

    line-height: 1;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.overlay-nav a:hover {
    opacity: 0.5;
}

.overlay-nav img {
    display: block;
    width: auto;
    height: 20px;
    max-width: 100%;
}



/* =====================
   LANGUAGE
===================== */

.language {
    position: absolute;
    right: 25px;
    bottom: 10px;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;

    white-space: nowrap;
}

.language a,
.language span {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
}

.language a {
    text-decoration: none;
    color: #111;
}

.language .active {
    opacity: 1;
}

.language a:not(.active) {
    opacity: 0.4;
}


/* =====================
   HERO
===================== */

.hero {
    position: relative;
}

/* =====================
   HERO IMAGE
===================== */

.hero-image {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 30px auto 40px;
}

/* =====================
   HERO TEXT
===================== */

.hero-text {
    position: absolute;
    left: 50px;
    bottom: 25px;

    color: white;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.70);

    z-index: 10;
}

/* =====================
   HERO TITLE
===================== */

.hero-text h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: 1.3;
}

/* =====================
   HERO SUBTITLE
===================== */

.hero-text p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* =====================
   ABOUT TEXT
===================== */

.about-video {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 30px auto 40px;
}

.about-text {
    width: 85%;
    max-width: 700px;
    margin: 80px auto;
    font-size: 15px;
}

.about-text p {
    margin-bottom: 30px;
}

.line-black {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 60px auto;
    width: 80%;
}

.credit {
    color: #111;
    margin-top: 60px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.credit a {
    color: #111;
}

.credit a:hover {
    color: #111;
    opacity: 0.5;
}

/* =====================
   BOTTOM IMAGE
===================== */

.bottom-image {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 100px auto 40px;
}

/* =====================
   SCROLL
===================== */

.scrolled .logo-link,
.scrolled #open-menu {
    opacity: 0.35;
    transition: 0.4s ease;
}

/* =====================
   FADE UP
===================== */

.fade-up {
    opacity: 0;
    transform: translateY(60px);

    transition:
        opacity 1.8s ease,
        transform 1.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   INSTAGRAM
===================== */

.instagram-link {
    text-align: center;
    margin-bottom: 2px;
}

.instagram-link img {
    width: 50px;
    height: auto;
    opacity: 0.7;
    transition: 0.3s ease;
}

.instagram-link img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* =====================
   NAVIGATION
===================== */

.works-group span {
    display: block;
    text-decoration: none;
    color: #111;

    font-size: 22px;
    font-weight: 550;

    margin: 18px 0;
    letter-spacing: 0.08em;
}

/* =====================
   COPYRIGHT
===================== */

.copyright {
    text-align: center;
    margin-top: -20px;
}

.copyright img {
    width: 170px;
    height: auto;
    opacity: 0.6;
    margin-bottom: -60px;
}

/* =====================
   CONTACT
===================== */

.contact-content a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.contact-content a:hover {
    opacity: 0.5;
}

.contact-content {
    width: 85%;
    max-width: 700px;
    margin: 80px auto;
    font-size: 13px;
}

/* CONTACTタイトル画像 */
.contact-title {
    display: block;
    width: 140px;
    height: auto;
    margin-bottom: 30px;
}

/* スマホ */
@media (max-width: 701px) {
    .contact-title {
        width: 100px;
    }
}

.contact-content p {
    margin-bottom: 30px;
}

.contact-content a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 0.8px;
}

.contact-image {
    width: 60%;
    max-width: 400px;
    display: block;
    margin: 55px auto;
}

hr {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 60px auto;
    width: 80%;
}



/* =====================
   COPYRIGHT2
===================== */

.copyright2 {
    text-align: center;
    margin-top: -20px;
    margin-bottom: -60px;
}

.copyright2 img {
    width: 150px;
    height: auto;
    margin-bottom: -40px;
    opacity: 0.6;
}

/* =====================
   INSTAGRAM2
===================== */

.instagram-link2 {
    text-align: center;
    margin-bottom: 2px;
}

.instagram-link2 img {
    width: 50px;
    height: auto;
    opacity: 0.7;
    transition: 0.3s ease;
}

.instagram-link2 img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-page.scrolled .logo-link {
    opacity: 1 !important;
}

.gallery-page.scrolled #open-menu {
    opacity: 1 !important;
}

.gallery-page.scrolled .logo {
    filter: brightness(0) invert(1);
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

/* =====================
   HOME
===================== */

.index-area {
    background: #f8f8f8;
}

.index-video {
    width: 100%;
    max-width: 1920px;
    display: block;
    margin: 30px auto 10px;
    padding: 10px 0;
}

.index-video01 {
    width: 100%;
    max-width: 1920px;
    display: block;
    margin: -25px auto 30px;
    padding: 20px 0;
}

@media (min-width: 701px) {
    .index-video {
        margin-bottom: 120px;
    }
}

/* =====================
   MARQUEE
===================== */

.marquee-link {
    width: 700px;
}

@keyframes perchColor {
    0%, 49% {
        color: #000000;
    }

    50%, 100% {
        color: #f4a7b9;
    }
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 0px;
    animation: marquee 35s linear infinite;
}

/* =====================
   HOME CREDIT
===================== */

.index-credit01 a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.index-credit01 a:hover {
    opacity: 0.5;
}

.index-credit01 {
    width: 85%;
    max-width: 700px;
    margin: 80px auto;
    font-size: 15px;
}

.index-credit01 h1 {
    margin-bottom: 30px;
    font-size: 20px;
}

.index-credit01 p {
    margin-bottom: 30px;
}

.index-credit01 hr {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 60px auto;
    width: 80%;
}

.index-credit01 a:not(.home-link) {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 0.8px;
}

/* =====================
   HOME CARDS
===================== */

.home-card {
    position: relative;
    overflow: hidden;
}

.home-card img {
    width: 100%;
    display: block;
}

.image-shadow {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.08) 20%,
        rgba(0, 0, 0, 0) 50%
    );

    z-index: 1;
}

.home-link {
    position: absolute;
    left: 30px;
    bottom: 35px;

    color: #fff;
    z-index: 2;

    font-weight: 500;
    text-decoration: none;

    display: inline-block;
    white-space: nowrap;
}

.home-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;

    width: 0;
    height: 1px;
    background: #fff;

    transition: width 0.3s ease;
}

.home-link:hover::after {
    width: 100%;
}

/* スマホ */

.home-grid {
    display: block;
}

/* PC */

@media (min-width: 701px) {

    .home-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .home-card {
        flex: 1;
    }

    .home-card img {
        width: 100%;
        aspect-ratio: 4/5;
        object-fit: cover;
    }

}

/* =====================
   MOBILE
===================== */

@media (max-width: 701px) {

    .logo-link {
        top: 35px;
    }

    .logo {
        width: 130px;
    }

    .menu-btn,
    #close-menu {
        top: 39px;
        left: 30px;
        width: 47px;
    }

    .menu-image {
        width: 47px;
    }

    .overlay-nav {
        padding: 110px 15px 40px 30px;
        gap: 25px;
    }

    .overlay-nav img {
        width: auto;
        height: 14px;
        max-width: 100%;
    }

    .language {
    top: 80px;
    bottom: auto;
    }

    .language,
    .language a,
    .language span {
    font-size: 15px;
    }

    .hero-text {
        left: 30px;
        bottom: 20px;
    }

    .hero-text h1 {
        font-size: 20px;
    }

    .hero-text p {
        left: 30px;
        font-size: 14px;
        font-weight: 600;
    }

    .about-video {
        margin: -35px auto 40px;
    }

    .about-text {
        width: 85%;
        font-size: 14px;
    }

    .credit {
        margin-top: 60px;
    }

    .gallery-work video {
        width: 75vw;
    }

    .gallery-work img {
        width: 60vw;
    }

    .search-area {
        margin-top: -70px;
    }

    .work-overlay {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .work-overlay-images {
        gap: 20vh;
        padding-top: 15vh;
    }

    .work-overlay-images img,
    .work-overlay-images video {
        width: 90vw;
    }

    .home-grid {
        display: block;
    }

    .marquee-link {
        overflow: hidden;
    }

    .marquee-link video {
        width: 160%;
        margin-left: -60%;
        margin-top: -60px;
    }

}

/* =====================
   PC
===================== */

@media (min-width: 701px) {

    .contact-content p {
        font-size: 14px;
    }

    .marquee-link {
        width: 100%;
    }

}

/* メニューが開いているときもMENUボタンを表示 */
#open-menu {
    z-index: 3001;
}

/* メニューを開いているときの右側タップ領域 */
#menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1999;

    background: transparent;

    display: none;
}

#menu-backdrop.open {
    display: block;
}

/* 左半分のメニューはその上に表示 */
#menu-overlay {
    z-index: 2000;
}

/* =====================
   WELCOME SPACE
===================== */

.works-page {
    padding: 30px 2% 120px;
}

.works-heading {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 60px;
}

/* 作品を1列に並べる */

/* 作品一覧：PCは2列 */

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 17px;
    row-gap: 80px;
}

/* 作品 */

.work-item {
    display: block;
    width: 100%;
    color: #111;
    text-decoration: none;
}

/* 写真 */

.work-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease;
}

/* カーソルを乗せたとき */

.work-item:hover img {
    opacity: 0.7;
}

/* 作品名 */

.work-item p {
    margin-top: 15px;
    font-family: "SicユニバーサルラインDSP D", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.title-image{
    display: block;
    width: 300px;
    height: auto;
    margin: 0 auto;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 701px) {

    .works-page {
        padding: 0px 8px 40px;
    }

    .works-heading {
        margin-bottom: 20px;
    }

    .works-grid {
         grid-template-columns: 1fr;
        row-gap: 60px;
        gap: 60px;
    }

    .work-item p {
       font-size: 14px;
     }

    .work-item {
    padding-top: -200px;
    display: block;
    width: 100%;
    color: #111;
    text-decoration: none;
    }

}

/* 作品集の一番下の画像 */

.welcome-bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 120px;
}

.welcome-bottom img {
    display: block;
    width: 700px;
    height: auto;
}

/* スマホ */

@media (max-width: 701px) {
    .welcome-bottom {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .welcome-bottom img {
        max-width: 100%;
        margin-bottom: 25px;
    }
}




/* WELCOME POSTER */

.poster-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 30px;
    box-sizing: border-box;
}

/* タイトル */

.poster-page h1 {
    font-family: "SicユニバーサルラインDSP", sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 5px;
    }

/* 説明文 */

.poster-page .poster-description {
    width: 100%;
    max-width: none;
    margin: 0 0 50px;
    font-size: 12px;
    line-height: 2;
    text-align: left;
}

.poster-page .poster-description p {
    margin: 0;
}

/* 写真 */

.poster-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.poster-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

/* スマホ */

@media screen and (max-width: 701px) {

    .poster-page {
        padding: 0px 8px 40px;
    }

    
    .poster-page h1 {
    font-family: "SicユニバーサルラインDSP", sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 3px;
    }


    .poster-page .poster-description {
        margin-bottom: 40px;
        font-size: 14px;
    }

    .poster-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}



/* BACK BUTTON */

.back-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.back-button a {
    font-family: "SicユニバーサルラインDSP D", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-button a:hover {
    opacity: 0.5;
}

/* スマホ */

@media screen and (max-width: 701px) {

    .back-button {
        margin-top: 60px;
    }

    .back-button a {
        font-size: 14px;
    }

}

.poster-heading {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.poster-page .poster-heading h1 {
    margin: 0;
    font-size: 18px;
}

.poster-description p {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 40px;
}

.poster-size {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}

.poster-description {
    width: 100%;
    margin: 0 0 60px;
    text-align: left;
    font-size: 18px;
}

/* スマホ（701px以下） */

@media screen and (max-width: 701px) {

    .poster-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .poster-page .poster-heading h1 {
        font-size: 14px;
    }

    .poster-size {
        font-size: 10px;
    }

    .poster-description {
        font-size: 13px;
        line-height: 1.9;
        margin-bottom: 40px;
    }

    .poster-description p {
        font-size: 12px;
        line-height: 1.9;
        margin-bottom: 40px;
    }

    .poster-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

.poster-gallery figcaption {
    font-size: 12px;
    color: #777;
}



/* PROCESS PAGE */

.process-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px 80px;
}

.process-page h1 {
  text-align: center;
  margin-bottom: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px 30px;
}

.process-item {
  min-width: 0;
}

/* 写真 */
.process-item > img,
.process-slider {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.process-item > img {
  display: block;
  object-fit: cover;
}

/* スライダー */
.process-slider {
  position: relative;
  overflow: hidden;
}

.process-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.process-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}

/* 左右の矢印 */
.process-prev,
.process-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.8);
  color: #111;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 2;
}

.process-prev {
  left: 12px;
}

.process-next {
  right: 12px;
}

.process-prev:disabled,
.process-next:disabled {
  opacity: 0.25;
  cursor: default;
}

/* 番号 */
.process-number {
  font-size: 15px;
  color: #999;
  margin: 12px 0 4px;
  letter-spacing: 0.08em;
}

/* 説明文 */
.process-caption {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* スマホ */
@media (max-width: 701px) {
  .process-page {
    padding: 0px 20px 60px;
  }

  .process-page h1 {
    margin-bottom: 50px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  /* 番号 */
.process-number {
  font-size: 11px;
  color: #999;
  margin: 12px 0 4px;
  letter-spacing: 0.08em;
}

/* 説明文 */
.process-caption {
  font-size: 11px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}
}


/* PROCESS タイトル画像 */

.process-title {
  text-align: center;
  margin-bottom: 80px;
}

.process-title img {
  width: 100%;
    max-width: 700px;
    display: block;
    margin: 100px auto 40px;
}

/* スマホ */
@media (max-width: 701px) {
  .process-title {
    margin-bottom: 50px;
  }

  .process-title img {
     width: 100%;
    max-width: 700px;
    display: block;
    margin: 0px auto 40px;
  }
}


/* =====================
   MOVIE GALLERY
===================== */

.movie-gallery {
    width: 100%;
}

/* オープニング動画 */
.movie-opening {
    width: 100%;
    margin-bottom: 30px;
}

.movie-ending {
    width: 100%;
    margin-bottom: 30px;
}

.movie-opening video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.movie-ending video {
    margin-top: 30px;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

/* GIF一覧 */
.movie-gifs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.movie-gifs img {
    margin-top: 10px;
    margin-bottom: 30px;
    display: block;
    width: 100%;
    height: auto;
}

/* スマホ */
@media screen and (max-width: 701px) {

    .movie-gifs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .movie-opening {
        margin-bottom: 20px;
    }

    .movie-ending video {
    margin-top: 20px;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

}

.movie-opening img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.movie-opening1 img {
    margin-top: 30px;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Loading */

#page-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.loading-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loading-dots span {
  width: 9px;
  height: 9px;
  background: #111111;
  border-radius: 50%;
  animation: loading-bounce 1s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes loading-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-dots span {
    animation: none;
  }
}



/* WEDDING PHOTO SLIDER */

.wedding-slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
  touch-action: pan-x;
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior-x: contain;
}

.wedding-slider::-webkit-scrollbar {
  display: none;
}

.wedding-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: none;
}

.wedding-track img {
  display: block;
  width: auto;
  height: 280px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 701px) {
  .wedding-track {
    gap: 8px;
  }

  .wedding-track img {
    height: 180px;
  }
}


/* PAPER ITEMS 2段スライダー */

.paper-sliders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 701px) {
  .paper-sliders {
    gap: 8px;
  }
}

