@charset "UTF-8";
html {
  scrollbar-gutter: stable;
}

body {
  background: #FFFFEF;
  font-family: 'Noto Serif', serif;
}

p {
  color: #333;
}

::selection {
  color: #bdffd2;
  background-color: #bdffd2;
}

.header {
  flex: 0 0 auto;
  height: 70px;
  width: 100%;
  padding: 15px 50px 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1000;
background-color: rgba(255, 255, 255, 0);
  position: fixed;
  top: 0;
}

.header-img{
  height: 58px;
  width: 58px;
  border-radius: 20%;
  overflow: hidden;
}


.header-left{
  display: flex;
  gap: 51px;
}

.header-fonts {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block; /* transform を効かせるために追加 */

}

.header-fonts p {
  color: inherit;
  transition: color 0.3s ease, transform 0.3s ease;

}

.header-fonts:hover,
.header-fonts:hover p {
  color: #9b9b9b;
  transform: translateY(-4px);
}


/* .home-main{
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
} */

.home-main {
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦方向中央 */
  align-items: center;     /* 横方向中央 */
  width: 100%;
  height: 100vh;
  text-align: center;
}

.footer {
  flex: 0 0 auto;
  height: auto;
  padding: 0 50px 15px 50px;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: fixed;
  bottom: 0;
}

.footer-text{
  font-size: 13px;
  /* mix-blend-mode:difference; */
}

/* HOMEページ */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFEF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

.preloader-text {
  color: #333;
  font-size: 2rem;
  font-family: 'Noto Serif', serif;
  letter-spacing: 2px;
  white-space: nowrap;
  border-right: 2px solid white;
  overflow: hidden;
}
.home-body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}

.home-main {
  width: 100%;
  text-align: center;
}

.wrap{
   display: flex; flex-wrap: wrap; 
}

.main-top, .main-under {
  font-size: 15vh;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.main-top{
 margin-bottom: clamp(-2rem, -8vw, -4rem); 
 
}

.main-under{
 margin-top: clamp(-2rem, -8vw, -4rem);
}

.home-movie {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.6s ease, transform 0.6s ease;
  top: 0;
}

.home-movie:hover {
  filter: brightness(105%) saturate(120%) blur(2px);
}



.home-movie-wapper {
  width: 30%; /* 任意。画面幅に対する割合 */
  aspect-ratio: 57 / 50; /* 570×500 の比率 */
  position: relative;
  z-index: 1;
  overflow: hidden;
}




.flowimg {
  position: relative;
  overflow: hidden;
  height: 350px;
  width: 100%;
    display: flex;
  justify-content: center;
}


.flowimg::before,
.flowimg::after {
  content: "めちゃめちゃ笑顔 ";
  position: absolute;
  width: 100%;
  color: #FFFFEF;
  -webkit-text-stroke: 1px #333;
  font-size: 12vw;
  font-family: sans-serif;
  font-weight: bold;
  line-height: 1.0;
  text-align: center;
  top: 25%;
  bottom: 0;
  margin: 0 auto;
  z-index: -1;

  opacity: 0;
  animation-name: fadeInText, flowimg;
  animation-duration: 1.5s, 60s;
  animation-delay: 4.5s, 0s;
  animation-fill-mode: forwards, none;
  animation-timing-function: ease, linear;
  animation-iteration-count: 1, infinite;
}

.flowimg::before {
  left: 0;
}
.flowimg::after {
  left: 100%;
}



@keyframes flowimg {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media screen and (max-width: 480px) {
.flowimg {
    padding: 40px 10vw;
}
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ABOUTページ */


.about-main {
max-width: 570px;     /* 画像の幅に合わせて調整（例：800px） */
  margin: 70px auto 0 auto;
  padding: 0 20px;       /* スマホなどの余白調整 */
  box-sizing: border-box;
  
}

.about-top {
  display: flex;
  justify-content: center;     /* 横方向の中央揃え */
  align-items: center;         /* 縦方向の中央揃え（高さが必要） */
  flex-wrap: wrap;             /* 複数行対応（必要なら） */
  font-size: 12vh;
  font-weight: bold;
  color: #333;
  margin: 0 auto 20px auto;
  text-align: center;
}


.policy-h1 {
  font-weight: bold;
  font-size: 35px;
  background: linear-gradient(transparent 60%, #bdffd2 60%);
  display: inline-block;
  margin-bottom: 40px;
}

.policy-detail {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 50px;
  text-align: center
}

.about-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 50px auto;
}

.about-name {
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.about-intodaction{
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 40px;
}
.about-intodaction-detail{
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
  margin-bottom:50px;
}

.about-work {
margin-bottom: 100px;
  padding: 12px;
  border: 1px solid #333;
  background: transparent;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.about-btn-deco{
  text-decoration: none;
  color: #333;
}

.about-work:hover {
  background: #333;
  color: #FFFFEF;
}

/* アニメーション用の初期状態 */
.scroll-fadeup {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示されたときの状態 */
.scroll-fadeup.show {
  opacity: 1;
  transform: translateY(0);
}


/* WORKS */

/* .works-main{
  padding-top: 70px; 
} */

.works-main {
  display: flex;
  flex-direction: column;
  align-items: center;     /* 横方向中央 */
  justify-content: center; /* 縦方向中央 */
  min-height: 100vh;       /* 画面の高さを埋める */
  box-sizing: border-box;
}
.works-top {
  display: flex;
  justify-content: center;     /* 横方向の中央揃え */
  align-items: center;         /* 縦方向の中央揃え（高さが必要） */
  flex-wrap: wrap;             /* 複数行対応（必要なら） */
  font-size: 12vh;
  font-weight: bold;
  color: #333;
  margin: 0 auto;
  text-align: center;
}
.wrap{
   display: flex; flex-wrap: wrap; 
}

.swiper-container {
  width: 100%;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}


.swiper-slide {
  width: 500px !important;
  height: 500px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* はみ出しを防止 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 画像をスライド枠にフィット */
  display: block;      /* 画像下の隙間防止 */
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.transition-image {
  transition: none;
  z-index: 9999;
  position: relative;
}
.transition-image {
  width: 500px; /* スライド幅に合わせて調整 */
  height: 500px; /* 適宜調整 */
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.fullscreen-transition {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  margin: 0 !important;
  z-index: 9999 !important;
}


/* CONTACT */


.contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 縦方向中央揃え */
  align-items: center;     /* ← 横方向中央揃え */
  min-height: 100vh;       /* ← 画面の高さいっぱいに広げる */
  padding: 0 20px;
  box-sizing: border-box;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
    max-width: 570px;
  width: 100%;
}

.contact-form {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-form.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-form label {
  font-weight: bold;
  font-size: 14px;
  /* margin-bottom: 5px; */
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #333;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  font-family: 'Noto Serif', serif;
}


.contact-submit {
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #333;
  background: transparent;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-submit:hover {
  background: #333;
  color: #FFFFEF;
}

/* 送信完了（チェックマーク）用 */
.contact-submit.sent {
  background: #bdffd2;   /* 緑色 */
  color: #333;
  border-color: #bdffd2;
  font-size: 18px;
}


/* ロートZ */

.roat-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
}

.roat-main {
  position: relative;
  z-index: 999;
  margin-top: 100vh; /* roat-top の高さと同じにする */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.roat-main.show {
  opacity: 1;
  transform: translateY(0);
}


.roat-banner{
  color: #fff;
}

.green-banner{
  color: #333;
}

.header-works{
  flex: 0 0 auto;
  height: 70px;
  width: 100%;
  padding: 15px 50px 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1000;
background-color: rgba(255, 255, 255, 0);
  position:absolute;
  top: 0;
}



.raot-main-img-container{

     width: 100%;
  height: 100vh;
  overflow: hidden;
}

.raot-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.footer-works{
  flex: 0 0 auto;
  height: auto;
  padding: 0 50px 15px 50px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  bottom: 0;
}


.roat-main{
  padding: 100px 50px 0 50px;       /* スマホなどの余白調整 */
  display: flex;
  justify-content: space-between;
  gap: 50px;
  background-color: #FFFFEF;
}

.roat-main-left {
  width: 55%;
}

/* テキスト側を固定するためのスタイル */
.raot-main-right {
    width: 45%;
  position: sticky;
  top: 100px; /* ヘッダー分の余白を調整 */
  align-self: flex-start;
  height: fit-content;
}
.works-tittle{
  font-size: 45px;
}
.works-catch{
  font-size: 30px;
    margin-bottom: 40px;
}
.works-text{
  font-size: 16px;
  margin-bottom: 40px;
}
.works-main-caption-text{
  font-size: 16px;
  margin-bottom: 20px;
}

.roat-list-items {
  width: 100%;
  max-width: none; /* ← max-widthを解除 */
}

.pizza-vidio{
    width: 100%;
  max-width: none; /* ← max-widthを解除 */

}

.roat-list-items img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.roat-list{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.list-last{
  margin-bottom: 50px;
}



/* .works-nav-btn{
  display: flex;
  justify-content: space-between;
} */

.nav-container {
  display: flex;
  justify-content: space-between; /* 両端に配置 */
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #333;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.nav-link:hover {
  background-color: #666;
}

.center-link {
  position: absolute; /* 中央に固定配置 */
  left: 50%;
  transform: translateX(-50%);
}




.scroll-down {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.scroll-arrow {
  animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}
