@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* =======================================
  基本設定
======================================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP";
  color: #181818;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {line-height:1.5;}
p {letter-spacing:0.5px;
font-size:1.1rem;}

/* コンテンツの幅を制限するコンテナ */
.l-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px; /* 左右の余白 */
}

.br-sp {
    display: none;
}

/* =======================================
  ヘッダー・フッター
======================================= */

header,.l-footer  {
  font-family: "Noto Serif JP";
}

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* ヘッダーの高さ */
  background-color: rgba(255, 255, 255, 0.6); /* 白半透明 */
  backdrop-filter: blur(5px); /* 背景をぼかす */
  z-index: 100;
}

.l-header-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; /* Flexboxを有効にする */
  align-items: center; /* 子要素を垂直方向の中央に配置 */
  justify-content: space-between; /* 子要素（ロゴとナビ）を両端に配置 */
}

.p-header-nav {
  display: flex; /* ナビゲーションのリンクをFlexアイテムにする */
  align-items: center; /* リンクを垂直方向の中央に配置 */
}

.navlink {
  white-space: nowrap;
}

.p-header-nav a {
  margin-left: 20px; /* ナビゲーションリンク間の余白 */
  text-decoration: none;
  color: #181818;
  font-size: 120%;
  font-weight: 500;
}





/* footerレスポンシブ対応の調整 */
@media (max-width: 1300px) {
  .l-header-container {
    padding: 0 20px;
  }
}

.l-footer {
  background-color: #2e2ecd;
  color: #fff;
  padding: 10px 0;
}

.l-footer .l-container {
  display: flex;
  justify-content: space-between; /* 3つの要素を等間隔に配置 */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.l-footer .l-container small {
  flex-grow: 1; /* コピーライトが中央に来るように幅を広げる */
  text-align: center; /* コピーライトを中央寄せ */
}

.p-copyright {
  font-size: 1.1rem;
}


/* =======================================
  セクション共通設定
======================================= */
section {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  padding: 80px 0; /* 上下の余白 */
}

/* =======================================
  各セクションの背景画像
======================================= */

.p-section-1 {
  background-image: url(images/sec1-bg.jpg);
  background-size: cover;
  background-position: center top;
  letter-spacing:-1px;
  color: #FFF;
  position: relative;
  background-color: #0101c6;
  padding: 80px 0; /* 元の値に戻す */
  z-index: 1;
}


.p-section-1,.p-section-4,.p-section-6 { background-position:center top;}



.toplogo { width:300px;}



/* =======================================
全ての要素のデフォルトスタイルをリセット最低限
======================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box; /* box-sizing: border-box を追加 */
}


/* HTML5で追加された要素 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* リストのデフォルトスタイルをリセット */
ol, ul {
  list-style: none;
}

/* インライン要素のデフォルトスタイルをリセット */
a {
  text-decoration: none;
  color: inherit;
}

/* テーブルのデフォルトスタイルをリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* input, button, textarea, select のデフォルトスタイルをリセット */
input, button, textarea, select {
  appearance: none; /* appearance: none; を追加 */
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0; /* border-radius: 0; を追加 */
}

/* =======================================
各要素
======================================= */


.p-section-1 .l-container {
  padding-top: 20px;
  height: 100%; /* 親要素の高さを継承 */
}




.p-section-1 p {
  font-weight: 900;
  font-size: 2.8rem;
  margin-bottom: 40px;
  background-color: #0100c8; /* 青色の背景 */
  width: fit-content;
  padding: 3px 55px;
}

.p-section-1 h1.c-title {
  font-size: 90px;
  font-weight: 900;
  line-height: 1.3;
  position: relative;
  white-space: nowrap;
  display: block; /* inlineからblockに変更 */
  /* 黒い影の装飾 */
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
  z-index: 1; /* 円形画像の上に表示されるように設定 */
  
  /* アニメーションの初期状態 */
  opacity: 0;
  transform: translateY(20px);
  
  transition: all 1s ease-out 0.5s; /* アニメーションをtransitionに置き換える */
  
}


/* inviewクラスが付いたらアニメーション実行 */
.p-section-1 h1.c-title.inview-on {
  opacity: 1;
  transform: translateY(0);
}

/* 各spanに個別にマーカー装飾を適用 */
.p-section-1 h1.c-title span {
  display: inline;
  background: linear-gradient(transparent 70%,rgba(167, 216, 236, 0.4) 70%,rgba(41, 125, 169, 0.5) 85%,rgba(173, 216, 230, 0.3)); 
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 100%; /* 初期状態は背景サイズを0にする */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: all 1s ease-out 0.5s;
}

.p-section-1 h1.c-title.inview-on span {
  background-size: 100% 100%; /* アニメーション後は背景サイズを100%にする */
}

/* ネストされたspanのマーカーを無効化 */
.p-section-1 h1.c-title span span {
  background: none; /* 内側のspanは背景なし */
  box-decoration-break: initial;
  -webkit-box-decoration-break: initial;
}


/* 「向け」の文字サイズを小さく */
.p-section-1 .h1_text {
  font-size: 0.75em; 
  vertical-align: middle;
  position: relative;
  font-weight:500;
  top: 0;
}

/* ボタンの装飾 */
.p-section-1 a {
  display: inline-block;
  background-color: #ff3300;
  color: #fff;
  font-size: 1.8rem;
  padding: 10px 85px;
  margin-top: 90px;
  letter-spacing:6px;
  text-decoration: none;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  box-shadow: 2px 2px 4px gray;
  z-index: 10;
  
}

.p-section-5 a,.p-section-1 a,.p-section-6 .form-btn {
	
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.p-section-1 a::before,.p-section-5 a::before,.p-section-6 .form-btn::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}

.p-section-1 a:hover::before,.p-section-5 a:hover::before,.p-section-6 .form-btn:hover::before {
  animation: kiran 0.5s linear;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}





/* 円形画像をまとめるコンテナ */
.p-section-1 .circles-wrapper {
  position: absolute;
  right: calc(50% - 600px + 10px); /* 1200pxコンテンツの右端に固定 */
  bottom: 28px;
  display: flex;
  gap: 5px;
  align-items: center;
  z-index: 0; /* z-indexを低めに設定 */

}

.circles-wrapper img { width:240px;
  opacity: 0;
  transform: scale(0.5); /* 初期状態は小さくしておく */
  animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	}

/* 1つ目の円 */
.circles-wrapper .circle-01 {
  animation-delay: 0.2s; /* 0.2秒後にアニメーション開始 */
}

/* 2つ目の円 */
.circles-wrapper .circle-02 {
  animation-delay: 0.4s; /* 0.4秒後にアニメーション開始 */
}

 
/* アニメーションの動き */
@keyframes popup {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
 


/* =======================================
  セクション2
======================================= */


.p-section-2 {
  text-align: center;
  padding: 50px 0 5px 0;
  background: #D3EBF7;
  background: linear-gradient(0deg, rgba(211, 235, 247, 1) 0%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  z-index: 0; /* 背景レイヤー */
}


/* セクションタイトル */
.p-section-2 .c-section-title {
  font-size: 2.2rem;
  color: #1e2d5e;
  text-shadow: 
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    2px 2px 5px rgba(0, 0, 0, 0.5);
  display: inline-block;
  position: relative;
  z-index: 5;
}


.p-section-2 .l-container {
  max-width: 1200px;
  margin: 0 auto;
}

.c-card {
  background-color: #34a1dc;
  color: #fff;
  font-weight:600;
  padding: 15px 30px 35px 30px;
  box-shadow: 0 0 8px gray;
  text-align:left;
  text-shadow: 1px 2px 3px #181818;
  width: calc(50% - 13px); /* 2列表示にするための幅指定 */
  box-sizing: border-box; /* paddingとborderをwidthに含める */
}

.c-card__price {
  font-size: 3.5rem; /* 数字のサイズ */
  font-weight:900;
  margin-bottom: -10px;
  font-family: "Noto Serif JP";
}

.c-card__price span {
  font-size: 2rem; /* 万円のサイズ */
  font-weight:900;
  vertical-align: middle;
}

.c-card__text {
  font-size: 1.6rem; /* その他のテキストサイズ */
  line-height: 1.5;
}

/* セクションタイトル */
.c-section-title {
  font-size: 2.2rem;
  color: #1e2d5e;
  text-shadow: 
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    2px 2px 5px rgba(0, 0, 0, 0.5); /* 白い縁とシャドウ */
  display: inline-block;
}

.p-section-2 .c-section-title span {
  font-size: 2.7rem;
}

/* =======================================
  カードオーバーレイ - 新規追加
======================================= */
.p-cards-overlay {
  position: relative;
  z-index: 10; /* 一番上のレイヤー */
  margin-top: -50px; /* セクション1に重ねる */
  margin-bottom: -60px; /* セクション2との間隔調整 */
  pointer-events: none; /* 背景のクリックを通す */
}

.p-cards-overlay .l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden; 
}

.p-cards-overlay .c-card-list {
  display: flex;
  justify-content: center;
  gap: 40px 50px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  pointer-events: auto; 
}


.p-cards-overlay .c-card {

  background-color: #34a1dc;
  color: #fff;
  font-weight: 600;
  padding: 0 40px 15px 40px;
  box-shadow: 0 0 8px gray;
  text-align: left;
  text-shadow: 1px 2px 3px #181818;
  width: calc(50% - 25px);
  box-sizing: border-box;


  /* アニメーションの初期状態 */
  opacity: 0;
  transform: translateX(140px); /* 右から左に移動するアニメーションの初期位置 */
  transition: all 0.5s cubic-bezier(0.12, 0, 0.39, 0); /* transitionプロパティでアニメーションを設定 */
}

/* 画面内に入ったらアニメーションを実行 */
.p-cards-overlay .c-card.inview-on {
  opacity: 1;
  transform: translateX(0); /* 元の位置に戻す */
}




.p-cards-overlay .c-card__price {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: -15px;
  font-family: "Noto Serif JP";
}

.p-cards-overlay .c-card__price span {
  font-size: 2rem;
  font-weight: 900;
  vertical-align: middle;
}

.p-cards-overlay .c-card__text {
  font-size: 1.9rem;
  line-height: 1.4;
  font-weight:600;
  margin-bottom: 0;
}






/* =======================================
    ボーダー専用のセクション
======================================= */
.p-divider {
  height: 30px !important; 
  width: 100%;
  background: linear-gradient(to top,rgba(28, 42, 101, 1) 0%, rgba(1, 1, 198, 1) 100%);
  position: relative;
  z-index: 2;
}


/* =======================================
  セクション3
======================================= */


.p-section-3 { color:#FFF;
background: #1e2d5e;
}

.p-section-3 {
  background-color: #1e2d5e;
  color: #fff;
  padding: 25px 0; /* 上下の余白 */
  text-align: center; /* コンテンツを中央揃え */
  
}

/* p-section-3内の.l-containerをFlexboxコンテナにする */
.p-section-3 .l-container {
  display: flex;
  justify-content: space-between; /* 子要素を等間隔に配置 */
  white-space: nowrap; /* テキストの折り返しを防ぐ */
  gap: 10px; /* 子要素間の隙間 */
}

/* .dataクラスのスタイル */
.p-section-3 .data {
  flex-basis: calc(25% - 10px);
  font-size: 1.8rem;
  line-height: 1.5;

  white-space: nowrap; /* テキストの折り返しを防ぐ */


}



/* 数字のサイズを大きくする */
.p-section-3 .data span {
  font-size: 4rem; /* 大きな文字サイズ */
  font-weight: 900;
  line-height: 1; /* 行の高さを調整 */
  margin-bottom: 5px;
  
  
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  
}

/* 画面内に入ったらアニメーションを実行 */
.p-section-3 .data span.inview-on {
  opacity: 1;
  transform: scale(1);
}






/* =======================================
  セクション4
======================================= */

.p-section-4 {
  background-image: url(images/sec4-bg.jpg);
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 70px 0 100px 0;
  color: #fff;
  text-align: center;
  position: relative;

}

/* Safari（主にモバイル）対応 */
@supports (-webkit-touch-callout: none) {
  .p-section-4 {
    background-attachment: scroll; /* fixedを無効化 */
  background-position: center top; /* 位置を調整 */
    min-height: 100vh; /* ビューポートの高さを確保 */
  }
}

/* さらに確実にするためのiOS Safari対応 */
@media screen and (max-width: 1024px) {
  .p-section-4 {
    background-attachment: scroll;
  background-position: center top;
  }
}



/* タイムスタンプのテキスト */
.p-section-4 .text {
  color: #1f2d5e;
  font-size: 1.1rem;
  position: absolute;
  top: 3px;
  right: calc(50% - 600px); /* .l-containerの右端に合わせる */
}

.p-section-4 h3 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  /* 白いシャドウの装飾 */
  text-shadow: 2px 2px 4px white;
  color: #0100c8;
}

.p-section-4 .l-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  /* コンテンツ幅を制御するためのmax-width */
  max-width: 1200px;
  margin: 0 auto;
}

.p-section-4 .match_point {
  background-color: #fff;
  color: #181818;
  padding: 20px;
  box-shadow: 0 0 8px gray;
  text-align: left;
  flex-basis: calc(25% - 15px); /* 4列表示 */
  box-sizing: border-box;
  text-align: center;
  border-radius:10px;
}

.p-section-4 .match_point img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.p-section-4 .match_title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0100c8;
  margin-bottom: 5px;
}

.p-section-4 .match_point p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  font-weight: bold;
}

.p-section-4 .match_point span {
  font-weight: bold;
  color: #34a1dc;
}

/* アニメーション前の初期状態 */
.p-section-4 .match_point p.inview {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* 画面内に入ったらアニメーションを実行 */
.p-section-4 .match_point p.inview-on {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
  セクション5
======================================= */
.p-section-5 {
  background-color: #fff;
  padding: 30px 0 60px 0;
  text-align: center;
}

.p-section-5 a {
display: inline-block;
background-color: #ff3300;
color: #fff;
font-size: 2rem;
padding: 10px 50px;
text-decoration: none;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
box-shadow: 2px 2px 4px gray;
}

.p-section-5 h4 {
  font-size: 2.5rem;
  margin-top: 20px;
  color: #0100c8;
  font-weight: bold;
}

.bluetext {
  color: #0100c8 !important;
  font-size: 1.8rem !important;
  font-weight: bold;
  margin-bottom:20px;
}

.p-section-5 p {
  font-size: 1.2rem;
  color: #333;
  margin-top: 0;


}

.p-section-5 .l-container {
  display: flex;
  flex-direction: column; /* すべての要素を縦に並べる */
  align-items: center; /* コンテナ内で中央寄せ */
  gap: 20px;
}

.p-section-5 .vice {
  display: flex;
  background-color: #34a1dc;
  color: #fff;
  box-shadow: 2px 2px 4px gray;
  flex-basis: 100%;
  max-width: 1200px; 
}

/* 偶数番目の.vice要素（2つ目、4つ目など）の画像とテキストを反転させる */
.p-section-5 .vice:nth-child(2n) {
  flex-direction: row-reverse;
}

.p-section-5 .vice img {
  max-width: 100%; /* 画像の幅を指定 */
  height: auto;
  object-fit: cover;
}

.p-section-5 .vice p {
	color: #fff;
  text-align: left;
  padding: 30px 50px; 
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing:1.7px;
}


/* アニメーション前の初期状態 */
.p-section-5 .vice {
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); /* transitionを設定する */
}

/* 右からスライドイン */
.p-section-5 .v_anime_01,
.p-section-5 .v_anime_03 {
  transform: translateX(180px);
}

/* 左からスライドイン */
.p-section-5 .v_anime_02 {
  transform: translateX(-180px);
}

/* inview-onクラスが付いたときにアニメーションを実行 */
.p-section-5 .inview-on {
  opacity: 1;
  transform: translateX(0);
}


/* =======================================
  セクション6
======================================= */
.p-section-6 {
  background-color: #fff;
  padding: 50px 0;
  text-align: center; 
  background-image: url(images/sec6-bg.jpg);
  background-attachment: fixed;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Safari（主にモバイル）対応 */
@supports (-webkit-touch-callout: none) {
  .p-section-6 {
    background-attachment: scroll; /* fixedを無効化 */
  background-position: center bottom; /* 位置を調整 */
  }
}

/* さらに確実にするためのiOS Safari対応 */
@media screen and (max-width: 1024px) {
  .p-section-6 {
    background-attachment: scroll;
  background-position: center bottom;
  }
}


.center { display:block;
	  margin-left:auto;
  margin-right:auto;
  max-width:100%;
  margin-bottom:15px;
  margin-top:15px;}

.p-section-6 h5 {
  width: 900px;
  background-color: #1d2c60;
  color: #fff;
  font-size: 2.5rem;
  padding: 3px 20px;
  margin-bottom: 5px;
  text-align:center;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.p-section-6 > p {
  font-size: 1.2rem;
  color: #1d2c60;
  margin-top: 0;
  margin-bottom: 40px;
}

.p-section-6 .l-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px; /* ボックス間の余白をgapで設定 */
}

.p-section-6 .flow {
  background-color: #fff;
  color: #1d2c60;
  text-align: left;
  position: relative;
  /* 横幅の調整 */
  width: 250px; /* PCでの最小幅を維持 */
  flex-grow: 1; /* 横幅に応じて広がるようにする */
  flex-shrink: 1; /* 横幅が狭くなったら縮むようにする */
  padding: 20px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 250px;
  margin-left: 0; /* マージンをリセット */
}

/* 最後のflow要素にはmargin-rightを適用しない */
.p-section-6 .flow:last-child {
  margin-right: 0;
}

.p-section-6 .flow-title {
  position: absolute;
  top: -33px;
  left: 0;
  background-color: #34a1dc;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 2px 20px;
  border-radius: 0;
}

.p-section-6 .flow-content {
  margin-top: 0;
}

h6 {  text-align:center;}

.p-section-6 .text {font-size: 1.7rem !important;
	margin-bottom:50px; font-weight:bold;}

.p-section-6 .flow-content h6 {
  font-size: 1.6rem;
  margin: 0 0 10px;
  color: #1d2c60;
}

.p-section-6 .flow-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight:bold;
}

/* 矢印画像を修正 */
.p-section-6 .next-arrow {
  display: block;
  align-self: center;
  flex-shrink: 0; /* 矢印の幅は縮まないようにする */
  margin: 0 0 0 -15px; /* 矢印の左右に少し余白を追加 */
}

.p-section-6 .pc-img {

}

.p-section-6 .sp-img {
  display: none;
}

.p-section-6 .guide-wrapper {
	text-align:center;
}

.p-section-6 .form-text {
  font-size: 1.2rem;
  color: #1d2c60;
  margin-bottom: 10px;
}

.p-section-6 .form-btn {
display: inline-block;
background-color: #ff3300;
color: #fff;
font-size: 2rem;
padding: 10px 50px;
text-decoration: none;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
box-shadow: 2px 2px 4px gray;
}


/* アニメーション前の初期状態 */
.p-section-6 .flow,
.p-section-6 .next-arrow {
  opacity: 0;
  transform: translateY(20px);
}

/* 画面内に入ったらアニメーションを実行 */
.p-section-6 .flow-01.inview-on,
.p-section-6 .next-arrow.flow-01.inview-on {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.p-section-6 .flow-02.inview-on,
.p-section-6 .next-arrow.flow-02.inview-on {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.p-section-6 .flow-03.inview-on,
.p-section-6 .next-arrow.flow-03.inview-on {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.p-section-6 .flow-04.inview-on,
.p-section-6 .next-arrow.flow-04.inview-on {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 1.1s;
}


/* アニメーションの動き（下から上にフワッと浮かび上がる） */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =======================================
  レスポンシブ対応
======================================= */

@media screen and (min-width:1024px) { 
.c-card { height:211px;}

.p-section-6 .flow { height:310px;}

}

/* 画面幅が1024px以下の場合 */
@media screen and (max-width: 1024px) {
  .p-section-1 {
    /* 背景画像の表示位置を調整 */
    background-position: center bottom;
  }
  
  .p-section-1 p {
    font-size: 2.2rem;
  }

  .p-section-1 h1.c-title {
    font-size: 70px;
  }

  /* 円画像の位置を調整 */
  .p-section-1 .circles-wrapper {
    right: -20px; /* 右端からの距離を調整 */
    bottom: 50px; /* 下からの距離を調整 */
    transform: scale(0.8); /* 少し小さく表示 */
  }

  .p-section-4 .text {
    right: 20px; /* 右からの位置を調整 */
    top: 10px;
  }
  
  
   .p-section-4 h3 {
    font-size: 2rem;
    padding-top: 0; /* テキストとの被りを防ぐためにpaddingを追加 */
	padding-left:10px;
	  padding-right:10px;
  }
  .p-section-4 .l-container {
    gap: 15px;
  }
  .p-section-4 .match_point {
    flex-basis: calc(50% - 7.5px); /* 2列表示 */
  }
  
  .p-section-6 h5 {
	width: fit-content;
}
  

}

@media screen and (min-width:769px) and ( max-width:1023px) {

.p-section-1 h1.c-title {
  font-size: 60px;
}

.p-section-1 a {
margin-top: 150px !important; }

.p-section-1 .circles-wrapper {
  bottom: 110px;
}










}




/* 画面幅が768px以下の場合 */
@media screen and (max-width: 768px) {
    
.pc-img { display:none;}

  section {
    padding: 50px 0;
  }

  .p-section-1 {
    padding-top: 60px; /* ヘッダー分を考慮して調整 */
  }

  .p-section-1 .l-container {
    display: flex; /* Flexboxを有効に */
    flex-direction: column; /* 縦並びにする */
    align-items: flex-start; /* 子要素を左に寄せる */
    text-align: left;
	margin-top:20px;
  }
  
  .p-section-1 p {
    font-size: 1.5rem;
    width: 90%; 
    margin-bottom: 20px;
	padding: 3px 20px ;
    margin-left: 10px; /* 左側に少し余白を設ける */
	    text-align: center;
  }
  
  .p-section-1 h1.c-title {
  white-space: normal;
    font-size: 50px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
    margin-left: 10px; /* 左側に少し余白を設ける */	
  }
  
  .p-section-1 .h1_text {
  font-size: 0.75em; 
  vertical-align: middle;
  position: relative;
  font-weight:500;
  top: 0;
  }
  
  /* ボタンと円画像をまとめてFlexboxで縦並びにする */
  .p-section-1 .l-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ボタンと円画像を中央に寄せる */
  }

  /* リンクボタンは下の方に配置 */
  .p-section-1 a {
    order: 2; /* 順序を2番目にして下の方に配置 */
    width: 90%;
	padding: 10px 20px ;
    font-size: 1.5rem;
    margin-top: 0;
	text-align: center;
  }

  /* 円形画像は上の方に配置 */
  .p-section-1 .circles-wrapper {
    order: 1; /* 順序を1番目にして上の方に配置 */
    position: static; /* 絶対配置を解除して通常配置に */
    display: flex; /* Flexboxで横並びに */
    justify-content: center; /* 中央に寄せる */
    gap: 10px;
  }



.p-cards-overlay .c-card {
  width: calc(50% - 25px);
  padding: 0 25px 15px 25px;}

.p-cards-overlay .c-card__text {
  font-size: 1.4rem;
}

  .p-cards-overlay .l-container {
    padding: 0;
  }
  
  .p-cards-wrapper {
    width: 600px; /* 縮小前の基準となる幅 */
    transform-origin: top left;
    position: relative;
    margin:0 auto;
    /* transformプロパティを一つにまとめる */
    transform: translateX(-50%) scale(calc(100vw /600));
  } 
  
  
  
  

  
  
  .c-card__price {
    font-size: 2.5rem;
  }
  
  .c-card__price span {
    font-size: 1.3rem;
  }
  
  .c-card__text {
    font-size: 1rem;
  }
  
  .c-section-title span {
    font-size: 1.8rem;
  }
  
  .p-section-2 { padding-top:0;}
  
  
  
  .p-section-3 {
    padding: 30px 0;
  }
  .p-section-3 .data {
    flex-basis: calc(50% - 5px); /* 2列表示にするための幅指定 */
    margin-bottom: 20px; /* 2段目との余白 */
    font-size: 1.2rem;
  }
  /* 最後の2つの要素の下マージンをなくす */
  .p-section-3 .data:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  .p-section-3 .data span {
    font-size: 3rem;
  }
  
  

  .p-section-5 {
    padding: 50px 0;
  }
  .p-section-5 h4 {
    font-size: 2rem;
  }
  .p-section-5 a {
    font-size: 1.5rem;
    padding: 10px 30px;
  }
  .p-section-5 .vice {
    flex-direction: column; /* 要素を縦並びに */
    text-align: center;
  }

  .p-section-5 .vice .text-content {
    text-align: left;
    padding: 15px;
  }
  .p-section-5 .vice,
  .p-section-5 .vice:nth-child(2n) {
    flex-direction: column;
  }
  .p-section-5 .vice img {
    width: 100%;
  }
  
  .p-section-5 p { text-align:left; padding-left:10px;
	  padding-right:10px;}
	  

.bluetext {
	font-size: 1.4rem !important;
    font-weight: normal;
}
	
	
 .p-section-6 .l-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
	padding-right:0;
  }
  .p-section-6 .flow {
    width: 90%;
    min-height: auto;
    margin-right: 0; /* スマホ表示では右マージンを削除 */

  }
  .p-section-6 .flow:last-child {
    margin-bottom: 0; /* 最後のボックスの下マージンを削除 */
  }
  .p-section-6 .flow-title {
    top: -33px;
    left: 0;
  }
  .p-section-6 .flow-content h6 {
    
  }
  .p-section-6 .flow-content p {

  }
  .p-section-6 .pc-img {
    display: none;
  }
  .p-section-6 .sp-img {
    display: block;
	margin-bottom:30px;
  }
  
  .guide-arrow { float:right; margin-right:10px;}
  
  .form-text { clear:both;}

  .l-header {
    height: auto;
  }

  .l-header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .toplogo {
    margin-bottom: 10px; /* ロゴの下に余白を追加 */
  }

  .p-header-nav {
    display: flex; /* ナビゲーションリンクは横並びを維持 */
    justify-content: center; /* リンクを中央に寄せる */
    align-items: center;
    margin-top: 0; /* ロゴとの間の余白をリセット */
  }

  .p-header-nav a {
    margin-left: 10px; /* リンク間の余白を調整 */
    margin-right: 10px;
    margin-top: 0; /* リンク間の上余白をリセット */
    font-size: 100%; /* 文字サイズを小さくする */
  }











}

@media screen and (min-width:601px) { 

.hidepc {display:none;}
}


/* 画面幅が600px以下の場合 */
@media screen and (max-width: 600px) {
	

 .p-cards-overlay .c-card-list {
  gap: 15px 5px;
}

.p-cards-overlay .c-card__price {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom:-3px;
}

.p-cards-overlay .c-card__price span {
  font-size: 1.2rem;
  font-weight: 900;
}

.p-cards-overlay .c-card {
  width:180px;
  height:90px;
  padding: 0 20px 15px 20px;
  text-align:center;}

.p-cards-overlay .c-card__text {
  font-size: 0.6rem;
}


  .p-cards-overlay .l-container {
    padding: 0;
  }
  
  .p-cards-wrapper {
    width: 375px; /* 縮小前の基準となる幅 */
    transform-origin: top left;
    position: relative;
    margin:0 auto;
    /* transformプロパティを一つにまとめる */
    transform: translateX(-50%) scale(calc(100vw /375));
  } 
  
	
  .p-section-3 .l-container {
 min-width:375px;
 gap: 0;
 padding: 0 5px;
  }
  
  .p-section-3 .data {
  flex-basis: calc(10% - 1px);
  font-size: 0.8rem;margin-bottom:0;
}

  .p-section-3 .data span {
font-size: 1.4rem;

  }
  
  
    .l-footer .l-container {
    flex-direction: column; /* 要素を縦に並べる */
    align-items: center; /* 子要素を中央に配置 */
    text-align: center; /* テキストも中央寄せ */
  }

  /* コピーライトは中央寄せのまま */
  .l-footer .l-container small {
    flex-grow: 0; /* PC用の設定をリセット */
    width: 100%; /* 横幅いっぱいに広げる */
    text-align: center; /* 中央寄せ */
    margin-bottom: 10px; /* PRIVACY POLICYとの間に余白 */
  }

  /* PRIVACY POLICYのリンクを中央寄せにする */
  .l-footer .l-container a {
    text-align: center;
    display: block; /* ブロック要素にして中央寄せを可能に */
	font-size: 0.9rem;
  }

  /* 空のdivを非表示にする */
  .l-footer .l-container div:empty {
    display: none;
  }
  
  .p-section-6 .form-btn { width:90%;font-size: 1.6rem; padding: 3px 20px ;}
  
  
  
}



/* 画面幅が480px以下の場合 */
@media screen and (max-width: 480px) {


.toplogo {
	width: 250px;
}

    .br-sp {
        display: block;
    }

  .p-section-1 p {
    font-size: 1.1rem;
  }

  .p-section-1 h1.c-title {
    font-size: 35px;
  }
  
  
  .p-section-1 {
  padding-bottom: 50px;
}

  .p-section-1 .h1_text {
    font-size: 0.8em;
  }

  .p-section-1 .circles-wrapper img {
    width: 180px; /* 円画像をさらに小さく */
  }

  .p-section-1 a {
    font-size: 1.1rem;
	padding: 10px 10px;
	letter-spacing:2px !important;
  }

.match_point img { width:80%;
	margin-bottom:0 !important;
	margin-top:0 !important;
	margin:0 !important;}

.p-section-4 { padding: 70px 0 50px 0 !important; }
	
  .p-section-4 .match_title {
  font-size: 0.8rem !important;
}

　.p-section-4 .text {
    font-size: 0.9rem;
  }
  .p-section-4 h3 {
    font-size: 1.2rem;
    padding-top: 0;
  }
  .p-section-4 .match_point {

  }
  
  .p-section-4 .match_point p {
  font-size: 0.7rem;
  line-height: 1.3;
}
  
  .p-section-5 h4 {
    font-size: 1.8rem;
	color:#1E2D5E;
  }
  
  .bluetext {
	color:#1E2D5E !important;
	font-weight:normal;
	font-size: 1.2rem !important;
	text-align:center !important;
}
  
  .p-section-5 p {
    font-size: 1rem;
  }
  .p-section-5 .vice {
    flex-basis: 100%;
  }
  
  .p-section-5 .vice p {font-size:1rem;padding: 20px 35px;}
  
  
  
  .p-section-6 { background-size:cover;
	  background-image: url(images/sec6-bg_.jpg);}
	  
	  
  .p-section-4 { background-size:cover;
	  background-image: url(images/sec4-bg_.jpg);}



 .p-section-6 h5 { font-size:1.5rem; padding-left:35px; padding-right:35px;
	 text-align:center;}
  
  
  .p-section-6 .text { margin-left:5px; margin-right:5px;font-size:1.2rem !important;}
  
  
  .p-section-6 .flow-content p {
  line-height: 1.6;
}

.l-container-flow { padding-bottom:30px;}

.p-copyright {
  font-size: 0.9rem;
}
  
  
  
}





/* =======================================
  レスポンシブ対応 - セクション1,2重ね合わせ
======================================= */

@media screen and (max-width: 768px) {
  .p-cards-overlay {
    margin-top: -80px;
    margin-bottom: -40px;
  }
  

  
  
  .p-section-2 .c-section-title span {
    font-size: 2.1rem;
	text-align:center;
  }
  .p-section-2 .c-section-title {font-size: 1.7rem; }
  
  
}

@media screen and (max-width: 480px) {
  .p-cards-overlay {
    margin-top: -60px;
    margin-bottom: -30px;
  }
}



/* =======================================
  上に戻る
  ======================================= */

.pagetop {
    height: 45px;
    width: 45px;
    position: fixed;
    right: 5px;
    bottom: 5px;
    background: #fff;
    border: solid 2px #34a1dc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
	opacity: 0.7;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #34a1dc;
    border-right: 3px solid #34a1dc;
    transform: translateY(20%) rotate(-45deg);
	opacity: 0.7;
}