:root {
  --fontDefault: calc(15 / 393 * 100vw);
  --fontL: calc(19 / 393 * 100vw);
  --fontXL: calc(24 / 393 * 100vw);
}

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


body {
  font-family: sans-serif;
  background: #e8ede8;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
   font-family: 'Montserrat', 'Noto Sans JP' , sans-serif;
  font-weight: 500;
}

.step-number,
.footer-logo,
.cta-button {
  font-family: 'Montserrat', 'Noto Sans JP' , sans-serif;
  font-weight: 700;
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  background: url('../assets/img/hero-bg.avif') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.parallax-viewport {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 1px;
  perspective-origin: center;
}

.parallax-group {
  position: relative;
  height: 100vh;
  transform-style: preserve-3d;
  width: 100%;
  margin: 0 auto;
}

.parallax-layer-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateZ(-1px) scale(2); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.parallax-layer-base {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin-bottom: calc(60 / 393 * 100vw);
}

.visual-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.parallax-content {
  padding-top: calc(80 / 393 * 100vw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.parallax-content header{
  padding-top: calc(50 / 393 * 100vw);
  color: #FFF;
}
.parallax-content h1{
  font-size: calc(60 / 393 * 100vw);
  font-style: italic;
  font-weight: 200;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.parallax-content header p {
  font-size: calc(13 / 393 * 100vw);
  white-space: nowrap;
}
.hand-image-placeholder {
  width: 100vw;
  max-height: min(100svh, 170vw);
  margin: 0 auto;
}

.hand-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.scroll-content {
  margin-top: 120vh;
  position: relative;
}

.description-section {
  background: #F1F5F3;
  padding: calc(32 / 393 * 100vw) calc(24 / 393 * 100vw) 0;
  border-radius: calc(32 / 393 * 100vw) calc(32 / 393 * 100vw) 0 0;
  box-shadow: 0 calc(-10 / 393 * 100vw) calc(30 / 393 * 100vw) rgba(0, 0, 0, 0.1);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 0 calc(20 / 393 * 100vw) calc(16 / 393 * 100vw) ;
  pointer-events: none;
  background: linear-gradient(
  rgba(241, 245, 243, 0) 0%,   /* 0%地点は完全に透明 */
  rgba(241, 245, 243, 1) 50%,  /* 50%地点で完全に不透明になる */
  rgba(241, 245, 243, 1) 100%  /* そのまま100%地点まで不透明を維持 */
);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 / 393 * 100vw);
  background: #3AB67D;
  color: #fff;
  height: calc(68 / 393 * 100vw);
  border-radius: 50vw;
  text-decoration: none;
  font-weight: 700;
  pointer-events: auto;
  font-size: var(--fontL);
  border: 3px solid #F1F5F3;
  padding-left: calc(36 / 393 * 100vw);;
}

/* 光アニメーション */
.sticky-cta a {
  position: relative;
  overflow: hidden;
}

.sticky-cta a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.3) 50%, transparent 50%);
  animation: shine 4s ease-in-out infinite;
  transform: skewX(-20deg);
}

@keyframes shine {
  0% { left: -100%; }
  40% { left: 100%; }
  100% { left: 100%; }
}

.cta-icon {
  position: fixed;
  bottom: calc(19 / 393 * 100vw);
  left: calc(50 / 393 * 100vw);
  width: calc(55 / 393 * 100vw);
  height: auto;
  z-index: 101;
  pointer-events: none;
}

.description-section h2 {
  font-weight: 700;
  font-size: calc(32 / 393 * 100vw);
  color: #11724C;
  margin-bottom: calc(10 / 393 * 100vw);
}

/* 外枠のセクション */
.features-section {
  padding: calc(80 / 393 * 100vw) 0;
  /* 上下余白 */
  background: #F1F5F3;
}

.features-section h3 {
  font-size: calc(24 / 393 * 100vw);
  margin-left: calc(24 / 393 * 100vw);
  margin-bottom: calc(40 / 393 * 100vw);
  line-height: 1.4;
  font-weight: 700;
  color: #383838;
}

/* 横スクロールコンテナ */
.features-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* 左端の余白をデザイン の基本余白 24px に合わせる */
  padding: 0 calc(24 / 393 * 100vw) calc(30 / 393 * 100vw);
  gap: calc(30 / 393 * 100vw);
  -webkit-overflow-scrolling: touch;

  /* スクロールして止まった時の位置を左の余白に合わせる */
  scroll-padding-left: calc(24 / 393 * 100vw);

  /* スクロールバーを隠す */
  scrollbar-width: none;
}

/* 各カード */
.feature-card {
  flex: 0 0 calc(260 / 393 * 100vw);
  scroll-snap-align: start;
}

.feature-card h4 {
  font-size: calc(18 / 393 * 100vw);
  margin-bottom: calc(12 / 393 * 100vw);
  font-weight: 700;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 300 / 400;
  /* デザイン画像のアスペクト比に合わせて調整 */
  object-fit: cover;
  border-radius: calc(20 / 393 * 100vw);
  margin-bottom: calc(16 / 393 * 100vw);
}

.feature-card p {
  font-size: calc(15 / 393 * 100vw);
  line-height: 1.6;
  color: #383838;
}

/* デザインにある「緑の強調テキスト」 */
.feature-card p span {
  color: #3AB67D;
  font-weight: 700;
}

.screenimage{
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
}
.screenimage img{
  width: 100%;
  padding-top: 80px;
  display: block;
}

/* 「使いかた」全体のセクション */
.use {
  padding: calc(60 / 393 * 100vw) calc(24 / 393 * 100vw);
  background: #F1F5F3;
}

.use>h3 {
  font-size: calc(24 / 393 * 100vw);
  font-weight: 700;
  margin-bottom: calc(40 / 393 * 100vw);
  color: #383838;
}

/* 各ステップのアイテム */
.step-item {
  margin-bottom: calc(42 / 393 * 100vw);
}
.step-body img{
  width: 100%;
  display: block;
  margin-bottom: calc(18 / 393 * 100vw);
  border-radius: 4vw;
}

.step-header {
  display: flex;
  align-items: center;
  gap: calc(6 / 393 * 100vw);
  margin-bottom: calc(12 / 393 * 100vw);
}

.step-number {
  flex: 0 0 calc(24 / 393 * 100vw);
  height: calc(24 / 393 * 100vw);
  background: #3AB67D;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(13 / 393 * 100vw);
  font-weight: 700;
}

.step-title {
  font-size: calc(18 / 393 * 100vw);
  font-weight: 700;
  color: #383838;
}

.step-body p {
  font-size: calc(15 / 393 * 100vw);
  line-height: 1.7;
  color: #383838;
  margin-bottom: calc(16 / 393 * 100vw);
}

/* ステップ2の「オリンピックのルール」リンク */
.step-body a {
  display: inline-flex;
  align-items: center;
  color: #3AB67D;
  text-decoration: underline;
  font-weight: 600;
  font-size: calc(15 / 393 * 100vw);
}

.step-body a::before {
  content: '▶';
  /* デザインにある右向き矢印の代わり */
  font-size: calc(12 / 393 * 100vw);
  margin-right: calc(4 / 393 * 100vw);
}

/* ステップ1の白い注意書きボックス */
.step-notice {
  background: #fff;
  padding: calc(12 / 393 * 100vw);
  margin-top: calc(16 / 393 * 100vw);
}

.step-notice p {
  margin-bottom: 0;
  font-size: calc(14 / 393 * 100vw);
}

/* 一番下の「データ保存期間」バナー */
.use>p:last-child {
  margin-top: calc(40 / 393 * 100vw);
}
.use h3{
  margin-bottom: calc(3 / 393 * 100vw);
}
.use h4{
  color: #3AB67D;
    font-size: calc(15 / 393 * 100vw);
    font-weight: 600;
    margin-bottom: calc(32 / 393 * 100vw);
}

.use>p>a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #b33e3e;
  font-weight: 400;
  text-decoration: none;
  height: calc(56 / 393 * 100vw);
  font-size: calc(12 / 393 * 100vw);
  position: relative;
}


.more {
  background-color: rgba(0,0,0,0.3);
  padding: calc(80 / 393 * 100vw) calc(18 / 393 * 100vw);
  text-align: center;
}
.more-icon{font-size: 50px;}

.more-card {
  background: #ECF8FF;
  /* わずかに透けさせると質感が上がります */
  backdrop-filter: blur(4px);
  border-radius: calc(18 / 393 * 100vw);
  padding: calc(40 / 393 * 100vw) calc(20 / 393 * 100vw);
  margin-bottom: calc(40 / 393 * 100vw);
}

.more h3 {
  color: #0088cc;
  font-size: calc(26 / 393 * 100vw);
  font-weight: 700;
  margin-bottom: calc(24 / 393 * 100vw);
}

.more-list {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.more-list li {
  font-size: calc(16 / 393 * 100vw);
  font-weight: 700;
  color: #383838;
  margin-bottom: calc(16 / 393 * 100vw);
  padding-left: calc(24 / 393 * 100vw);
  position: relative;
}

.more-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(16 / 393 * 100vw * 0.8);
  transform: translateY(-50%);
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  background: url('../assets/img/ico-check-blue.svg') no-repeat center / contain;
}

/* カード内の注意書き（他と共通のスタイルを適用しつつ背景を微調整） */
.more .step-notice {
  background: #fff;
  border-radius: calc(8 / 393 * 100vw);
  text-align: left;
}

/* 下部のボタンエリア */
.more-action {
  margin-top: calc(40 / 393 * 100vw);
}
.more-action .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0088cc;
  height: calc(64 / 393 * 100vw);
  border-radius: calc(32 / 393 * 100vw);
  text-decoration: none;
  font-weight: 700;
  font-size: calc(18 / 393 * 100vw);
  margin-bottom: calc(16 / 393 * 100vw);
}

.more-action p {
  color: #fff;
  font-size: calc(14 / 393 * 100vw);
  font-weight: 500;
}

/* FAQ全体のセクション */
.faq {
  padding: calc(60 / 393 * 100vw) calc(24 / 393 * 100vw);
  background: #FFF;
}

.faq-inner h2 {
  font-size: calc(22 / 393 * 100vw);
  font-weight: 700;
  margin-bottom: calc(40 / 393 * 100vw);
}

/* アコーディオンの外枠 */
.faq-container {
  border-top: 1px dotted #DBE4E0;
  /* 一番上の区切り線 */
}

/* 各質問の塊 */
.faq-item {
  border-bottom: 1px dotted #DBE4E0;
  /* 項目ごとの区切り線 */
}

/* アイコンの土台（13px相当の正円） */
.faq-icon {
  position: relative;
  display: block;
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  /*border: calc(1.5 / 393 * 100vw) solid #3AB67D;
  border-radius: 50%;*/
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #3AB67D;
  border-radius: calc(2 / 393 * 100vw);
  top: 50%;
  left: 50%;
  transition: all 0.3s ease;
}

/* 横棒（常に表示） */
.faq-icon::before {
  width: calc(12 / 393 * 100vw);
  height: calc(1.5 / 393 * 100vw);
  transform: translate(-50%, -50%);
}

/* 縦棒（開く前は表示） */
.faq-icon::after {
  width: calc(1.5 / 393 * 100vw);
  height: calc(12 / 393 * 100vw);
  transform: translate(-50%, -50%);
}

/* ----------------------------------
   開閉時のアニメーション
---------------------------------- */

/* 開いたとき：縦棒を90度回転させて横棒と重ねる（＝マイナスになる） */
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 全体も少し回すとより洗練されます */
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

/* 質問部分（クリックエリア） */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(20 / 393 * 100vw) 0;
  color: #3AB67D;
  font-weight: 700;
  font-size: calc(17 / 393 * 100vw);
  cursor: pointer;
  list-style: none;
  /* デフォルトの三角形を消す */
}

/* Safari向けの三角形消し */
.faq-question::-webkit-details-marker {
  display: none;
}


/* 回答部分 */
.faq-answer {
  padding-bottom: calc(24 / 393 * 100vw);
  color: #383838;
  line-height: 1.8;
  font-size: calc(15 / 393 * 100vw);
}

.faq-answer p {
  margin-bottom: calc(12 / 393 * 100vw);
}

.support-section {
  padding: calc(40 / 393 * 100vw) calc(20 / 393 * 100vw);
  background: #fff;
}

.support-flex {
  display: flex;
  gap: calc(16 / 393 * 100vw);
  align-items: flex-start;
}

.support-image {
  flex: 0 0 calc(120 / 393 * 100vw);
}

.support-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(4 / 393 * 100vw);
}

.support-text {
  flex: 1;
}

.support-text p {
  font-size: calc(12 / 393 * 100vw);
  line-height: 1.6;
  font-weight: 500;
  color: #383838;
  margin-bottom: calc(12 / 393 * 100vw)!important;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f1;
  padding: calc(8 / 393 * 100vw) calc(12 / 393 * 100vw);
  border-radius: calc(2 / 393 * 100vw);
  text-decoration: none;
  color: #000;
  font-size: calc(14 / 393 * 100vw);
  font-weight: 400;
  letter-spacing: 0;
}

.ig-icon {
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
}


/* フッター全体 */
.footer {
  background: #3AB67D;
  color: #fff;
  padding: calc(30 / 393 * 100vw) calc(24 / 393 * 100vw) calc(100 / 393 * 100vw);
}

.footer-tagline {
  font-size: calc(13 / 393 * 100vw);
  font-weight: 500;
}

.footer-logo {
  font-size: calc(22 / 393 * 100vw);
  font-weight: 600;
  font-style: italic;
  margin-bottom: calc(24 / 393 * 100vw);
  letter-spacing: 0.02em;
}

/* リンクメニュー */
.footer-links {
  list-style: none;
  margin-bottom: calc(20 / 393 * 100vw);
}

.footer-links li {
  margin-bottom: calc(9 / 393 * 100vw);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: calc(12 / 393 * 100vw);
  font-weight: 400;
  display: flex;
  align-items: center;
}


/* 横線 */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: calc(12 / 393 * 100vw);
}

/* コピーライト */
.copyright {
  text-align: center;
  font-size: calc(14 / 393 * 100vw);
  color: rgba(255, 255, 255, 0.7);
}

#pc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.pc-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.pc-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pc-modal-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.8;
}
.pc-modal-qr {
  margin-bottom: 24px;
}
.pc-modal-qr img {
  border-radius: 8px;
}
.pc-modal-close {
  background: #3AB67D;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* SP特化用 */
#pc-screen {
  display: none;
}
@media (min-width: 769px) {
  #pc-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .pc-screen-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .pc-screen-text {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 32px;
  }
  .pc-screen-qr img {
    border-radius: 12px;
    padding: 14px;
    background-color: #FFF;
  }
  .pc-screen-url {
    margin-top: 24px;
    font-size: 13px;
    color: #666;
  }
}