@charset "UTF-8";

html {
  font-size: 100%;
  overflow-x: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-color: #131e3d;
  scroll-behavior: smooth;
}
body {
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0.8;
  line-height: 1.7;
  font-style: normal;
}
.lity, 
.lity-backdrop, 
.lity-wrap {
    z-index: 100000 !important;
}
.lity[aria-hidden="true"] {
    display: none !important;
}
a {
  color: #fff;
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

/*-------------------------------------------

  ヘッダー

-------------------------------------------*/
header nav {
  position: fixed;
  height: 80px;
  width: 100%;
  padding: 0px 5%;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  transition: 0.5s;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.navbar {
  margin-left: auto;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.nav-menu li {
  list-style: none;
  padding: 0 20px;
}
.nav-menu {
  color:  #fff;
  display: flex;
  margin: 0 auto;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
a.nav-link {
  display: inline-block;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.5s ease;
}
a.nav-link:hover {
  animation: none; 
  color: #d4b16a; 
  opacity: 1;
  text-shadow: 0 0 12px rgba(212, 177, 106, 0.5);
  transform: translateY(-2px);
}
.hamburger {
  cursor: pointer;
  display: none;
  width: 10px;
}
.bar,
.fa-times {
  width: 1.5rem;
  height: 3px;
  display: block;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  background-color: #fff;
}
.bar:nth-child(1) {
  width: 300%;
}
.bar:nth-child(2) {
  width: 300%;
}
.bar:nth-child(3) {
  width: 300%;
}

/*-------------------------------------------
  トップ画
-------------------------------------------*/
.top-container {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url(../img/カエデ車内_微笑FIX.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: none; 
  background-blend-mode: multiply;
  border-bottom-right-radius: 80px;
}
.main-logo {
  position: absolute;
  top: 5px;
  left: 4%;
  transform: none;
  z-index: 10;
}
.main-logo img {
  height: 150px;
  width: auto;
  transition: 0.3s;
  opacity: 0;
  animation: fadeInLogo 2s ease-out forwards;
  animation-delay: 0.5s;
}
@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*-------------------------------------------
  ニューススライダー
-------------------------------------------*/
.news-bottom-bar {
  position: absolute;
  bottom: 30px;
  left: 5%;
  width: 90%;
  height: 54px;
  background: rgba(11, 19, 49, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  z-index: 20;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.news-label {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
  height: 100%;
  padding: 0 25px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.news-content {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.news-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.news-item {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 25px;
}
.news-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s;
}
.news-item a:hover {
  color: #8fb3ff;
}
.news-controls {
  display: flex;
  flex-direction: column;
  width: 44px;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.news-btn {
  flex: 1;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-size: 9px;
  transition: all 0.2s;
}
.news-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.news-btn.up {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/*-------------------------------------------
  ストーリー
-------------------------------------------*/
.story-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  max-width: 100%;
}
.story-text-box {
  flex: 0 0 500px;
  margin-left: 0;
  padding: 100px 3%;
  background-color: #040512;
  color: #fff;
  z-index: 2;
  position: relative;
}
.story-title {
  font-size: 40px;
  margin: 0 0 50px 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.story-description {
  font-size: 16px;
  line-height: 2.2;
  margin: 0 0 30px 20px;
}
.story-video-box {
  flex: 1;
  margin: 100px 0 0 -50px;
  padding-bottom: 100px;
  display: table;
  justify-content: flex-start;
  background-color: #000;
  position: relative;
  overflow: hidden;
  line-height: 0;
  width: auto;
  background-color: transparent;
}
.story-video-box video {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  filter: grayscale(100%) brightness(70%);
  background-color: #000;
  opacity: 0.6;
}

/*-------------------------------------------
  キャラクター
-------------------------------------------*/
#character {
  background-image: url(../img/ポラロイド写真.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.chara-container {
  padding: 50px 63px;
}
.chara-main-title {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  font-size: 58px;
  font-weight: 900;
  margin-bottom: 80px;
  display: block;
  letter-spacing: 0.1em;
}
.chara-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 200px;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}
.chara-card {
  background: #edeceb;
  padding: 20px 20px 15px 20px;
  width: 280px;
  will-change: transform;
  backface-visibility: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transform: rotate(5deg);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  cursor: pointer;
  position: relative;
}
.chara-card:nth-child(even) {
  transform: rotate(-22deg);
}
.chara-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 10;
}
.chara-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #000;
  overflow: hidden;
  margin-bottom: 15px;
  outline: 1px solid transparent;
}
.chara-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter: blur(8px) brightness(0.8);
  transition: 
  opacity 1.2s ease-in-out, 
  filter 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.chara-card:hover .chara-img {
  opacity: 1;
  filter: blur(0px) brightness(1);
}
.chara-info {
  color: #333;
}
.chara-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.chara-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: left;
}

/*-------------------------------------------
  アバウト
-------------------------------------------*/
#about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 40px;
  padding: 50px 5%;
  background-color: #000;
}
.about-main-title {
  width: 100%;
  font-size: 40px;
  letter-spacing: 0.1em;
  margin-bottom: 50px; 
  position: relative;
}
.profile-card {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 550px;
  min-height: 200px;
  background-color: #333;
  padding: 30px;
  margin-bottom: 50px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2);
}
.profile-card.reverse {
  flex-direction: row-reverse;
}
.profile-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.3); 
  transition: 0.8s ease;
  z-index: 2;
  pointer-events: none;
}
.profile-card:hover::after {
  background-color: rgba(0, 0, 0, 0);
}
.profile-card:hover {
  background-color: #666;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-8px);
}
.profile-img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin: 0 auto;  
}
.profile-card:not(.reverse) .profile-img-wrapper {
  margin-right: 30px;
}
.profile-card.reverse .profile-img-wrapper {
  margin-left: 30px;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: transform 0.8s ease, filter 0.8s ease;
  display: block;
}
.profile-card:hover .profile-img {
  transform: scale(1.1);
  filter: grayscale(0%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}
.profile-content {
  flex: 1;
  z-index: 1;
}
.profile-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.profile-text {
  font-size: 0.85rem;
  line-height: 1.7;
}
.profile-content span{
  display: inline-block;
  font-size: 0.85rem;
  padding-top: 10px;
}

/*-------------------------------------------
  よくある質問
-------------------------------------------*/
#faq {
  background-color: #131e3d;
}
.qa-section {
  padding: 50px 5% 80px 5%;
  max-width: 100%;
  margin: 0 auto;
}
.qa-main-title {
  color: #fff;
  font-size: 40px;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}
.qa-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}
.qa-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.qa-question {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #d4b16a;
  display: flex;
  gap: 10px;
}
.qa-question span {
  color: #d4b16a;
}
.qa-answer span {
  color: #e0e0e0;
  font-weight: bold;
  margin-right: 10px;
}
.qa-answer {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
}

/*-------------------------------------------
  フッター
-------------------------------------------*/
#footer {
  color: #c2c1c0;
  background-color: #1b1a1d;
  text-align: center;
  font-size: 0.8rem;
  padding: 20px;
}

/*-------------------------------------------
  PC以外の端末　ヘッダー
-------------------------------------------*/
@media (max-width: 992px) {
    header nav, 
    header nav.scrolled {
    height: 80px;
  }
  .hamburger {
    display: block;
    width: 30px;
    height: 24px;
    z-index: 10000;
    cursor: pointer;
    position: relative;
  }
  .active.hamburger {
    transition: transform 0.2s cubic-bezier(0.9, 0, 0.1, 1);
  }
  .bar:nth-child(1) { 
    top: 0; 
  }
  .bar:nth-child(2) {
    top: 10px;
  }
  .bar:nth-child(3) {
    top: 20px;
  }
  .active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .active .bar:nth-child(1) {
    top: 10px;
    transform: rotate(-45deg);
    background-color: #d4b16a;
    box-shadow: 0 0 10px rgba(212, 177, 106, 0.4);
    animation: none;
  }
  .active .bar:nth-child(3) {
    top: 10px;
    transform: rotate(45deg);
    background-color: #d4b16a;
    box-shadow: 0 0 10px rgba(212, 177, 106, 0.4);
    animation: none;
  }
  .nav-menu {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: -100%;
    transition: 0.5s;
    background-color: #131e3d;
    opacity: 0.98;
  }
  .nav-menu li {
    padding: 10px 0;
    text-shadow: none;
  }
  a.nav-link {
    margin: 10px 0;
    text-shadow: none;
  }
  .active {
    right: 0;
    transition: 0.2s ease;
  }
  .bar {
    width: 100% !important;
    height: 3px;
    background-color: #fff;
    display: block;
    margin: 0;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }
}

/*-------------------------------------------
  PC以外の端末　トップ画
-------------------------------------------*/
@media (max-width: 1024px) {
  .top-container {
    background-attachment: scroll;
  }
.main-logo {
  top: 3px;
  left: 2%;
  }
}

/*-------------------------------------------
  PC以外の端末　ニューススライダー
-------------------------------------------*/
@media (max-width: 768px) {
  .news-bottom-bar {
    bottom: 10px;
    left: 2%;
    width: 96%;
    height: 48px;
    border-radius: 8px;
  }
  .news-label {
    padding: 0 10px;
    font-size: 11px;
  }
  .news-item {
    height: 48px;
    padding: 0 10px;
  }
  .news-item a {
    font-size: 12px;
    max-width: calc(100vw - 140px);
  }
  .news-controls {
    display: flex;
    flex-direction: column;
    width: 44px;
    min-width: 44px;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
  }
  .news-btn {
    width: 100%;
    height: 50% !important;;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .news-btn:active {
    background: rgba(255, 255, 255, 0.3);
  }
}

/*-------------------------------------------
  PC以外の端末　ストーリー
-------------------------------------------*/
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }
  .story-text-box {
    flex: none;
    width: 100%;
    padding: 60px 5%;
    margin-bottom: 0;
    background: transparent;
    box-sizing: border-box;
  }
  .story-video-box {
    flex: none;
    width: 100%;
    margin: 0;
    padding-bottom: 0;
    text-align: center;
  }
  .story-video-box video {
    width: 100%;
    max-width: none;
    max-height: none;
    display: block;
  }
}

/*-------------------------------------------
  PC以外の端末　キャラクター
-------------------------------------------*/
@media (max-width: 768px) {
  .chara-main-title {
    font-size: 40px;
    margin-bottom: 50px;
    text-align: center;
  }
  .chara-board {
    gap: 40px;
    padding-bottom: 20px;
  }
  .chara-card {
    transform: rotate(0deg) !important;
    width: 90%;
    max-width: 320px;
    margin-bottom: 10px;
  }
}

/*-------------------------------------------
  PC以外の端末　アバウト
-------------------------------------------*/
@media (max-width: 1200px) {
  .profile-card {
    max-width: 700px;
  }
}
@media (max-width: 650px) {
  .about-main-title {
    text-align: center;
    margin-bottom: 20px;
  }
  .profile-card, 
  .profile-card.reverse {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
    margin-bottom: 20px;
  }
  .profile-img-wrapper {
    margin: 0 0 20px 0 !important;
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
  }
}

/*-------------------------------------------
  PC以外の端末　よくある質問
-------------------------------------------*/
@media (max-width: 768px) {
  .qa-container {
    grid-template-columns: 1fr;
  }
  .qa-main-title {
    text-align: center;
    margin-bottom: 30px;
  }
}