@charset "utf-8";
/* ベーススタイル */
html {
    font-size: 28px; /* 通常 16px を基準とすると “2倍” に設定 */
}

body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background-color: #ffffff;
    color: #333;
    font-size: 1rem; /* html の 32px を基準に */
}




.container {
    width: 100%;
    max-width: 600px;  /* 常にスマホ幅に固定 */
    margin: 0 auto;    /* 中央寄せ */
    background-color: #f4f4f4;
    overflow-x: hidden;
    padding: 0 1px;
}

/* wrapper：全体をスマホ幅に固定 */
.wrapper {
  width: 100%;
  max-width: 600px;   /* スマホ幅 */
  margin: 0 auto;     /* 中央寄せ */
  background: #fff;   /* 本体だけ白背景 */
}


/* ヘッダー／見出しなど */
h1 {
    font-size: 2rem; /* html 基準で約 64px 相当 */
    margin: 1rem 0;
}
h2 {
    font-size: 1.75rem;
    margin: 0.8rem 0;
}
h3 {
    font-size: 1.5rem;
    margin: 0.6rem 0;
}

/* 本文・段落・リンクなど */
p, a, li {
    font-size: 1rem;
    line-height: 1.6;
}

/* 画像縮小・中央配置 */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 各セクション調整 */
main {
    padding-bottom: 1px;
}

/* MVセクション */
.mv {
    text-align: center;
    padding: 1px 0;
    background: #ffffff;
}
.mv img {
    margin-bottom: 10px;
}

/* 利用同意ボタン周り */
.area_agree {
    text-align: center;
    font-weight: bold; 
    margin: 50px 0 70px; 
}
.area_agree a img {
    width: 80%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}
.area_agree p {
    font-size: 0.75rem; /* html 基準の 0.75 */
    margin: 5px 0;
    color: #777;
}

.area_agree a img {
  width: 80%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  animation: popLoop 1s ease-in-out infinite alternate;
}

/* アニメーション定義 */
@keyframes popLoop {
  0% {
    transform: scale(0.9); /* 少し奥にある */
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1); /* 手前に迫ってくる */
    opacity: 1;
  }
}


/* Matching セクション */
.matching {
    padding: 20px;
    text-align: center;
}
.matching h1,
.matching h2 {
    color: #F92A2A;
    font-size: 32px;
    margin: 10px 0 70px;

}
.matching p {
    font-size: 1rem;
    color: #444;
    text-align: left; 
}

.matching img {
    width: 100%;           
    max-width: none;       
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Step セクション */
.step {
    padding: 20px;
    background-color: #fff;
}
.step .top {
    text-align: center;
    margin-bottom: 20px;
}
.step h1 {
    color: #F92A2A;
      font-size: 30px;

}
.step h2 {
    color: black;
}
.steps .step {
    background-color: rgba(230, 220, 180, 0.4);
	padding: 15px;
	margin-bottom: 30px;
    text-align: center;
}
.step img {
    max-width: 100%;
    margin: 60px auto 20px; /* 上100px 左右auto 下20px */
}
.steps .step p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
    color: #444;
}

/* Support セクション */
.support {
    padding: 1px;
    text-align: center;
}

.support img {
    max-width: 100%;
    margin: 30px auto 30px; 
}

.txt {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.txt.show {
  opacity: 1;
  transform: translateY(0);
}





/* フッター */
footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;         /* ← 端から端までにする */
    padding: 40px 20px;           /* ← 全体の上下余白を拡大 */
    background-color: black;
    color: white;
    text-align: center;
}

/* footer内の2番目以降の要素に上線を入れる */
footer > * + * {
    border-top: 1px solid #ccc;
    padding-top: 25px;            /* ← 要素間の距離を広く */
    margin-top: 25px;
}

/* footer-info の中のリンク */
.footer-info a {
    display: block;
    width: 100%;                  /* ← 横幅いっぱいに広げる */
    padding: 15px 0;              /* ← 余白を広く */
    text-decoration: none;
    color: white;
    border-top: 1px solid #ccc;
}

/* 最初のリンクだけは線を消す */
.footer-info a:first-child {
    border-top: none;
}

/* footer のテキスト */
.footer-text p {
    font-size: 15px;
    margin: 0;
}

/* ========== タブレット（768px 以上） ========== */
@media screen and (min-width: 768px) {
  html {
    font-size: 24px; /* スマホより少し小さくすることで見やすく */
  }

  .container {
    max-width: 768px;
    padding: 0 20px;
  }

  .blk.support .txt,
  .blk.support .sub_txt {
    font-size: 1.5rem;
  }

  .securitys {
    padding: 0 20px;
  }

  .security h3,
  .security p {
    font-size: 1.1rem;
  }

  .footer-info a {
    font-size: 1rem;
  }

  .footer-text p {
    font-size: 1rem;
  }

  .area_agree a img {
    width: 60%;
  }
}



/* ========== スマホ（480px以下）で文字サイズを調整 ========== */
@media screen and (max-width: 480px) {
  html {
    font-size: 19px; /* ← 全体のベースサイズを少し小さく */
  }

  h1 {
    font-size: 1.2rem; /* 約35px */
  }

  h2 {
    font-size: 1rem;
  }

  h3 {
    font-size: 0.8rem;
  }

  .blk.support .txt {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .blk.support .sub_txt {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 8px 0;
    margin-bottom: 30px;
  }

  .security h3 {
    font-size: 0.8rem;
  }

  .security p {
    font-size: 0.8rem;
  }

  .footer-text p {
    font-size: 0.6rem;
  }

  .footer-info a {
    font-size: 0.7rem;
    padding: 10px 0;
  }

  .area_agree p {
    font-size: 0.5rem;
  }
}
/* 全体の横スクロール防止 */
html, body {
    overflow-x: hidden;
}

/* はみ出しを防ぐ基本ルール */
* {
    box-sizing: border-box;
}

/* 念のため container にも横幅制限 */
.container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* スマホで画像の幅を強制的に制限 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
