html, body {
  min-height: 100vh;         /* ⬅ 高さを100%ではなく viewport に合わせる */
  display: flex;             /* ⬅ bodyを縦方向のflexコンテナにする */
  flex-direction: column;    /* ⬅ 上から下に要素を並べる */
  margin: 0;                 /* ⬅ これはそのまま */
}




/* ベースのリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* h1 を画面外に隠す */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* レイアウトの親 */
.site-wrapper {
  display: block;
	flex: 1 0 auto;
}

/* 中央カラム */
.mainArea {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-image: url('https://lp.mypicks.best/wp-content/uploads/2025/07/back-img.webp'); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
	border-left: 2px solid #020811;  /* ← 左のボーダー追加 */
  border-right: 2px solid #020811; /* ← 右のボーダー追加 */
}

/* ヘッダー */
.site-header {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 0 16px;
  background: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.header-logo img {
  height: 32px;
  display: block;
}
.header-login {
  height: 100%;
}
.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 16px;
  background: #ffd814;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* ファーストビュー */
.first-view img {
  width: 100%;
  height: auto;
  display: block;
}

/* モック＋左右テキスト */
.mock-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
	margin: -162px auto 0;
  padding: 0 8px;
  box-sizing: border-box;
	max-width: 100vw;
}

/* 左テキスト（20%）*/
.left-space {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 20px;
}
.left-text-image {
  display: block;
  width: auto;
  max-width: 60%;
  margin: 8px 0;
}
.left-text-image2 {
  display: block;
  width: auto;
	max-width: 70%;
  margin: 8px 0;
}

.left-text-image3 {
  display: block;
  width: auto;
	max-width: 60%;
  margin: 8px 0;
}


/* 中央モック（60%）*/
.mock-image-container {
  width: 60%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

/* 上からスッと表示されるアニメーション */
@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-16px); /* 以前より控えめに調整 */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-image {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(-16px);
  transition: none;
  visibility: hidden; /* ✅ 一瞬の表示防止 */
}

.mock-image.animate {
  visibility: visible; /* ✅ 表示可能に */
  animation: slideDownFade 0.6s ease-out forwards;
}



/* 右猫＋テキスト（20%）*/
.cat-decor-container {
  width: 20%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* 猫 */
.cat-image {
  position: relative;
  top: -100px;
  width: auto;
  max-width: 100%;
  display: block;
  opacity: 0;
  transform: translateX(-40px);
	transition: transform 0.4s ease 1.2s, opacity 0.2s ease 1.2s;
  z-index: 1;
}
.cat-image.animate {
  opacity: 1;
  transform: translateX(0);
}

.under-space{
	text-align: center;
    margin: 54px 0 0;
}

.under-space2{
	text-align: center;
    margin: 24px 0 0;
}

.under-image {
  width: 60%;
  animation: sway 1.2s infinite ease-in-out;
  animation-delay: 0.6s; /* 必要なら調整 */
}

.under-image2 {
  width: 60%;
}


.second-image{
	width:100%;
}

.third-image{
	width:100%;
	background-color: white;
    margin-top: -1px;
}

.btn-wrapper {
  text-align: center;
  padding: 64px 0 112px;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.btn-text {
  margin: 10px 0;
  font-weight: bold;
	animation: blink 1s infinite;
}



.btn-image {
  display: inline-block;
  position: relative;
  width: 70%;
}

.btn-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* クリック時に凹む */
.btn-image:active {
  transform: scale(0.96);
}

/* 光のアニメーション */
.btn-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
  pointer-events: none;
  border-radius: 4px;
}

.btn-wrapper-two{
	background-color: white;
	text-align: center;
  padding: 64px 0;
	margin-top: -1px;
}

.btn-wrapper-three{
	background-color: white;
	text-align: center;
	padding: 64px 0 112px;
	margin-top: -1px;
}


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


.fourth-image{
	width:100%;
}

.fifth-image{
	margin-top: -2px;
	width:100%;
}

.sixth-image{
	margin-top: -1px;
	width:100%;
}

.seventh-image{
	margin-top: -1px;
	width:100%;
}

.eighth-image{
	margin-top: -1px;
	width:100%;
}

.ninth-image{
	margin-top: -1px;
	width:100%;
}

.tenth-image{
	margin-top: -1px;
	width:100%;
}

.eleventh-image{
	margin-top: -1px;
	width:100%;
}

.twelfth-image{
	margin-top: -1px;
	width:100%;
}

.thirteenth-image{
	margin-top: -1px;
	width:100%;
}

.fourteenth-image{
	margin-top: -1px;
	width:100%;
}

.fifteenth-image{
	margin-top: -1px;
	width:100%;
}

.sixteenth-image{
	margin-top: -1px;
	width:100%;
}

.qa-image{
	margin-top: -1px;
	width:100%;
}

.footer-inner{
	border-left: 2px solid #020811;
    border-right: 2px solid #020811;
    margin-top: -2px;
    padding: 12px;
	background-color:#ecf6ff;
}




.footer_nav{
    max-width: 440px;
	text-align: center;
	margin:0 auto;
	width: 100%;
}

.frame-45 {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.custom-button {
    display: inline-block;
    background: linear-gradient(to bottom, #00d598, #00956b);
    color: #fffd00;
    font-weight: bold;
    padding: 18px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    width: 80%;
    max-width: 330px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: solid 2px #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* シャドウの追加 */
	line-height:1.3;
}

.contact-text2{
	font-size:18px;
	color:white;
}

#floatingButton {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none; /* 初期状態で非表示 */
}


.qr-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.qr-background{
	display: flex;
    justify-content: center;
}

.qr-image {
  display: block;
  width: 60%;
}





/* 右テキスト画像（中央寄せ＋揺れ）*/
.right-text-image {
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: auto;
  max-width: 64%;
  z-index: 0;                 /* 猫の下 */
  animation: swayRight 1.2s infinite ease-in-out;
  animation-delay: 0.6s;      /* 左側より遅らせる */
}

.right-text-image2 {
  position: absolute;
  bottom: -90px;
  left: 44%;
  transform: translateX(-50%);
  display: block;
  width: auto;
  max-width: 72%;
  z-index: 0;                 /* 猫の下 */
  animation: swayRight 1.2s infinite ease-in-out;
  animation-delay: 0.6s;      /* 左側より遅らせる */
}

/* テキストアニメーション（左用）*/
@keyframes sway {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(2px, -3px) rotate(1deg); }
  50%      { transform: translate(0, 0) rotate(0deg); }
  75%      { transform: translate(-2px, -3px) rotate(-1deg); }
}

/* 右テキスト用：中央寄せを保ったまま揺れる */
@keyframes swayRight {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  25%      { transform: translate(calc(-50% + 2px), -3px) rotate(1deg); }
  50%      { transform: translate(-50%, 0) rotate(0deg); }
  75%      { transform: translate(calc(-50% - 2px), -3px) rotate(-1deg); }
}

/* アニメーション（左画像2種）*/
.left-text-image,
.left-text-image2 {
  animation: sway 1.2s infinite ease-in-out;
  display: inline-block;
}

.left-text-image3 {
  animation: sway 1.2s infinite ease-in-out;
  display: inline-block;
}

.left-text-image  { animation-delay: 0s; }
.left-text-image2 { animation-delay: 0.3s; }
.left-text-image3 { animation-delay: 0.3s; }

/* フッター */
.site-footer {
  background: #f4f4f4;
  text-align: center;
  font-size: 14px;
  color: #333;
  width: 100%;
  max-width: 100%;
	flex: none;
}

/* PC版 3カラム（中央固定・左可変・左右固定配置） */
@media (min-width: 768px) {

  .site-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
  }

  .leftArea {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: calc((100vw - 440px) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fffdf0;
  z-index: -4;
  padding: 0 32px; /* ✅ ここで左右に余白を追加 */
  box-sizing: border-box;
}

.leftArea img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


  .mainArea {
    width: 440px;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 10; /* leftの背景より前面 */
  }

    /* ───────── ここから置き換え ───────── */
  .rightArea {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: calc((100vw - 440px) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;             /* 左右余白を合わせる */
    box-sizing: border-box;
	  z-index: -10;
  }
  /* ───────── ここまで置き換え ───────── */


  .site-footer {
    width: 440px;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
  }
}

.right-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fffdf0;
  z-index: 0; /* 背景用 */
}

.qr-wrapper {
  position: relative;
  z-index: 1; /* 前面に出す */
}




@media (max-width: 767px) {
  .mainArea {
    border-left: none;
    border-right: none;
  }

  .leftArea,
  .rightArea {
    display: none !important;
    width: 0 !important;
  }

  .site-wrapper {
    display: block !important;
    overflow-x: hidden;
  }

  .mock-wrapper {
    margin: -222px auto 0;
  }
}

@media (max-width: 630px) {
  .mock-wrapper {
    margin: -212px auto 0;
  }
}

@media (max-width: 550px) {
  .mock-wrapper {
    margin: -182px auto 0;
  }
}

@media (max-width: 460px) {
  .mock-wrapper {
    margin: -152px auto 0;
  }
}

@media (max-width: 390px) {
  .mock-wrapper {
    margin: -132px auto 0;
  }
}

@media (max-width: 350px) {
  .mock-wrapper {
    margin: -112px auto 0;
  }
}

/*404*/
.error-section{
	text-align: center;
	display: flex
;
    align-items: center;
}

.error{
	margin: 0 auto;
}

.section_inner {
	max-width: 440px;
	margin: 0 auto;
}


/*エラーイメージ*/
.error-image{
	width: 80%
}