@charset "UTF-8";
/* ===================================
   1. 変数定義 & ベーススタイル
   =================================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* ===================================
   ローディング画面
   =================================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2a2a2a; /* 背景色（白） */
  z-index: 9999; /* 最前面に表示 */
  /* 中央寄せ */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* 消える時のアニメーション */
  transition: opacity s ease, visibility 3s ease;
}

/* 非表示にするためのクラス */
#loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* クリック無効化 */
}

/* 中身のテキスト装飾 */
.loading-content .main-msg {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  line-height: 2;
  margin-bottom: 20px;
}

.loading-content .sub-msg {
  font-size: 14px;
  color: #888;
}

/* ===================================
   2. ヘッダー & ドロワーメニュー
   =================================== */
#gheader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
}
#gheader nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#gheader h1 img {
  height: 40px;
  width: auto;
}

/* ハンバーガーアイコン */
#nav_check {
  display: none;
}

#nav_button {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
#nav_button span {
  width: 24px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

#nav_check:checked ~ #nav_button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#nav_check:checked ~ #nav_button span:nth-child(2) {
  opacity: 0;
}
#nav_check:checked ~ #nav_button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーコンテンツ */
.drawer-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #f7f7f7;
  background-image: url("../images/background.png");
  background-size: 160px;
  background-position-x: 90%;
  background-position-y: 40%;
  background-repeat: no-repeat;
  padding: 100px 40px 40px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.drawer-content .drawer-logo img {
  height: 60px;
  margin-bottom: 40px;
  opacity: 0.3;
}
.drawer-content .nav-main {
  margin: 0 0 40px 0;
}
.drawer-content .nav-main li {
  margin-bottom: 25px;
}
.drawer-content .nav-main a {
  font-size: 24px;
  font-weight: bold;
}
.drawer-content .nav-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin: 0 0 50px 0;
}
.drawer-content .nav-sub a {
  font-size: 14px;
  color: #444;
}
.drawer-content .drawer-dl {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}
.drawer-content .drawer-dl img {
  height: 45px;
  width: auto;
}
.drawer-content small {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: auto;
  text-align: center;
}

#nav_check:checked ~ .drawer-content {
  transform: translateX(0);
}

#nav_back {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#nav_check:checked ~ #nav_back {
  display: block;
}

/* ===================================

3. メインビジュアル & カルーセル

=================================== */
#topimage {
  margin-top: 80px;
  padding: 60px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.top-text {
  text-align: center;
  width: 100%;
}
.top-text span {
  color: #31AAB3;
}
.top-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.4;
}
.top-text p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}
.top-text .DLimage {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.top-text .DLimage img {
  width: 140px;
}

#heroimage {
  width: 100%;
  max-width: 500px;
  height: 400px;
  position: relative;
  margin: 0 auto;
}

.hero-carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-item {
  width: 180px;
  height: auto;
  position: absolute;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}
.hero-item.pos-1 {
  top: 0%;
  left: 10%;
  z-index: 1;
  transform: scale(0.9);
}
.hero-item.pos-2 {
  top: 25%;
  left: 30%;
  z-index: 2;
  transform: scale(1);
}
.hero-item.pos-3 {
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: scale(1);
}
.hero-item.pos-4 {
  top: 75%;
  left: 70%;
  z-index: 4;
  transform: scale(0.9);
}

/* PC版レイアウト */
@media screen and (min-width: 769px) {
  #topimage {
    flex-direction: row;
    justify-content: center;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 100px 40px;
    gap: 60px;
  }
  .top-text {
    text-align: left;
    flex: 1;
  }
  .top-text h2 {
    font-size: 42px;
  }
  .top-text .DLimage {
    justify-content: flex-start;
  }
  #heroimage {
    flex: 1;
    height: 600px;
    max-width: 600px;
  }
  .hero-item {
    width: 240px;
  }
  .hero-item.pos-1 {
    top: 5%;
    left: 0%;
  }
  .hero-item.pos-2 {
    top: 25%;
    left: 25%;
  }
  .hero-item.pos-3 {
    top: 45%;
    left: 50%;
  }
  .hero-item.pos-4 {
    top: 65%;
    left: 75%;
  }
}
/* ===================================
   4. Concept & Strategy (統一版)
   =================================== */
.same {
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.same h3 {
  font-size: 18px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.same h4 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 30px;
}
.same p {
  text-align: left;
  font-size: 16px;
  margin-bottom: 40px;
}
.same p span {
  background: linear-gradient(transparent 60%, #ffffbc 60%);
  font-weight: 500;
}

/* スマホ版（基本）：縦並び */
.concept-section, .strategy-section {
  display: flex;
  flex-direction: column; /* 縦積み */
  gap: 40px;
  align-items: center;
}

/* テキストと画像の共通設定 */
.concept-text, .strategy-text {
  width: 100%;
  text-align: left;
}

.concept-image-box, .strategy-image-box {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.concept-image-box img, .strategy-image-box img {
  width: 100%;
  height: auto;
  background-color: transparent !important;
  border-radius: 20px;
}

/* PC版レイアウト（769px以上） */
@media screen and (min-width: 769px) {
  /* Concept: */
  .strategy-section {
    display: flex;
    flex-direction: row; /* HTML順のまま */
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
  /* Strategy */
  .concept-section {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
}
/* ===================================
   5. Scrollytelling Section
   =================================== */
.scrolly-section {
  width: 100%;
  padding: 0;
  overflow: visible !important;
}

.scrolly-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  align-items: stretch;
}

/* --- PC版 (1024px以上) --- */
@media screen and (min-width: 1024px) {
  .scrolly-inner {
    display: flex;
    flex-direction: row-reverse; /* 右にスマホ */
    justify-content: space-between;
    padding: 60px 20px;
  }
  .sticky-wrapper {
    width: 50%;
    height: auto;
  }
  .sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .phone-frame {
    width: 280px;
    height: 580px;
    transform: scale(1);
  }
  .scroll-content {
    width: 45%;
    padding-top: 10vh;
    padding-bottom: 20vh;
  }
  .step-item {
    min-height: 80vh;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
}
/* --- スマホ版 (1023px以下) --- */
@media screen and (max-width: 1023px) {
  .scrolly-inner {
    display: block;
    position: relative;
  }
  /* 1. スマホ画像エリア（背景として固定） */
  .sticky-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .sticky-content {
    position: sticky;
    top: 0; /* 画面の一番上から */
    height: 100vh; /* 画面いっぱいの高さを確保 */
    display: flex;
    align-items: center; /* ★上下中央に配置 */
    justify-content: center; /* ★左右中央に配置 */
    /* 透明度を下げて背景っぽくする（文字を読みやすくするため） */
    opacity: 0.4;
  }
  .phone-frame {
    width: 280px;
    height: 580px;
    transform: scale(0.7); /* 少し小さく */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }
  /* 2. テキストエリア（手前でスクロール） */
  .scroll-content {
    position: relative;
    z-index: 2; /* 画像より手前 */
    width: 100%;
    padding-top: 50vh; /* 最初のテキストが来るまで余白 */
    padding-bottom: 50vh; /* 最後の余白 */
  }
  .step-item {
    min-height: 60vh; /* 間隔を空ける */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 文字が読みやすいようにカード化 */
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 100px; /* 次の項目との間隔 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
}
/* 共通パーツ（変更なし） */
.bg-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 0;
  transition: background-color 0.7s ease;
  background-color: #fee2e2;
}
@media screen and (min-width: 1024px) {
  .bg-blob {
    width: 500px;
    height: 500px;
    filter: blur(80px);
  }
}

.phone-frame {
  position: relative;
  background-color: #1e293b;
  border: 12px solid #1e293b;
  border-radius: 40px;
  overflow: hidden;
  z-index: 10;
  transform: translateZ(0);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background-color: #1e293b;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.screen-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.screen-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.screen-image.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 5;
}

.step-number {
  display: block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #6366f1;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.step-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 25px;
  line-height: 1.4;
}

@media screen and (min-width: 1024px) {
  .step-title {
    font-size: 2.5rem;
  }
}
.step-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.8;
  font-weight: 500;
}

/* ===================================
   6. Marquee / FAQ / Footer
   =================================== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: -moz-max-content;
  width: max-content;
  animation: scroll-loop 40s linear infinite;
}

@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.review-card {
  height: 300px;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  flex-shrink: 0;
  /* --- 1番目、5番目、9番目... (Teal) --- */
  /* --- 2番目、6番目、10番目... (Pink) --- */
  /* --- 3番目、7番目、11番目... (Yellow) --- */
  /* --- 4番目、8番目、12番目... (Purple) --- */
}
.review-card:nth-child(4n+1) {
  background-color: #31AAB3;
}
.review-card:nth-child(4n+1) .card-text {
  color: #fff;
}
.review-card:nth-child(4n+1) .card-meta {
  color: rgba(255, 255, 255, 0.9);
}
.review-card:nth-child(4n+2) {
  background-color: #E6437C;
}
.review-card:nth-child(4n+2) .card-text {
  color: #fff;
}
.review-card:nth-child(4n+2) .card-meta {
  color: rgba(255, 255, 255, 0.9);
}
.review-card:nth-child(4n+3) {
  background-color: #D5B32B;
}
.review-card:nth-child(4n+3) .card-text {
  color: #fff;
}
.review-card:nth-child(4n+3) .card-meta {
  color: rgba(255, 255, 255, 0.9);
}
.review-card:nth-child(4n+4) {
  background-color: #8467E4;
}
.review-card:nth-child(4n+4) .card-text {
  color: #fff;
}
.review-card:nth-child(4n+4) .card-meta {
  color: rgba(255, 255, 255, 0.9);
}
.review-card .card-img {
  height: 200px;
  margin: 0;
  margin-bottom: 15px;
  display: block;
}
.review-card .card-text {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 10px;
}
.review-card .card-meta {
  font-size: 12px;
  margin: 0;
}

/* FAQ */
.faq-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  width: 100%;
}
.faq-item .faq-question {
  width: 100%;
  padding: 20px 25px;
  background: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s;
}
.faq-item .faq-question:hover {
  background-color: #fcfcfc;
}
.faq-item .faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  transition: transform 0.3s ease;
}
.faq-item .faq-icon::before {
  width: 14px;
  height: 2px;
}
.faq-item .faq-icon::after {
  width: 2px;
  height: 14px;
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.is-open .faq-answer {
  opacity: 1;
  margin-top: 10px;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  background: #f4f4f4;
  border-radius: 20px;
  margin-top: -20px;
  padding-top: 20px;
  opacity: 0;
}
.faq-answer-content {
  padding: 20px 25px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  text-align: left;
}

/* Footer */
#main-footer {
  width: 100%;
  padding: 80px 20px 40px;
  background-image: url("../images/background.png");
  background-size: 30%;
  background-position: right;
  background-position-x: 80%;
  background-repeat: no-repeat;
  background-color: #eeeeee;
  border-top-right-radius: 300px;
}
#main-footer .footer-inner {
  max-width: px;
  margin: 0 auto;
  text-align: left;
}
#main-footer .footer-logo {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1;
}
#main-footer .footer-message {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}
#main-footer .footer-dl-area {
  display: flex;
  gap: 15px;
  margin-bottom: 60px;
}
#main-footer .footer-dl-area img {
  height: 40px;
  width: auto;
}
#main-footer .footer-nav-main ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 50px;
}
#main-footer .footer-nav-main a {
  font-size: 18px;
  font-weight: bold;
}
#main-footer .footer-nav-sub ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 60px;
}
#main-footer .footer-nav-sub a {
  font-size: 14px;
  color: #555;
}
#main-footer small {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 20px;
}

#topimage,
.same,
#main-footer,
header {
  overflow-x: hidden; /* 横にはみ出た部分だけ隠す */
}

html {
  overflow-x: hidden; /* 横にはみ出た部分だけ隠す */
}/*# sourceMappingURL=style.css.map */