.flex_box{
  display: flex;
}
.wrap{
  flex-wrap: wrap;
}
.kenmen{
  justify-content: center;
}
.kenmen li{
  padding: 0 0.6%;
}
.kenmen li:nth-child(1){
  width: 50%;
}
.kenmen li:nth-child(2){
  width: 50%;
}
.kenmen li:nth-child(1) img{
  height: 120px;
  width: auto;
  display: block;
  margin: 0 0 0 auto;
  max-width: none;
}
.kenmen li:nth-child(2) img{
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto 0 0;
  max-width: none;
}
.btn_2c{
  max-width: 100px;
  width: 100%;
}
.mb_-40{
  margin-bottom: -40px;
}
.jcb2000{
  position: absolute;
  top: 20px;
  right: 30px;
  width: 240px;
  height: auto;
}
.jcb2000_2{
  max-width: 480px;
  width: 70%;
}
.jcb3000{
  position: absolute;
  top: 40px;
  right: 100px;
  width: 150px;
  height: auto;
}
.jcb5000{
  position: absolute;
  top: 30px;
  right: 40px;
  width: 190px;
  height: auto;
}
.jcb5000_2{
  max-width: 480px;
  width: 70%;
}
.cat_all{
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  height: 100px;
  width: auto;
}
.img-main img{
  width: 100%;
  height: auto;
}

.jvg_all{
  margin-bottom: -100px;
}
.jvg{
  max-width: 740px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.midashi24{
  font-size: 24px!important;
}
.midashi{
  width: 400px;
  height: auto;
}
.goldin{
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 60px;
  margin-top: -50px;
}
.w_800{
  max-width: 800px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* ========================================================
  FIXボタン
======================================================== */
@media screen and (min-width: 768px) {
  .fixbutton {
    justify-content: center !important; /* PCでは中央寄せ */
    padding: 16px 0 !important;   /* 上下:16px、左右:0（中央寄せのため） */
    gap: 24px !important;   
  }

  .fixbutton li {
    flex: none !important; /* SPの等幅を解除 */
    width: 320px !important;  /* PCでのボタンの横幅を固定 */
  }

  .fixbutton li a,
  .fixbutton li input[type="submit"] {
    min-height: 60px; /* PCは横幅に余裕があるため高さを低く */
    padding: 10px 20px !important;
    font-size: 16px !important; /* PC用の固定文字サイズ */
  }
}


@media screen and (max-width: 1200px) {
.kenmen li img {
    height: 90px;
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: none;
}
.jvg_all{
  margin-bottom: -40px;
}
.jcb2000{
  position: absolute;
  top: 30px;
  right: 10px;
  width: 180px;
  height: auto;
}
.jcb5000{
  position: absolute;
  top: 30px;
  right: 30px;
  width: 130px;
  height: auto;
}
}

/* 画面幅が768px以下（スマホ・タブレット）の場合の処理 */
@media screen and (max-width: 768px) {
.kenmen li:nth-child(1) {
    width: 100%;
}
.kenmen li:nth-child(2) {
    width: 100%;
    margin-top: 3vw;
}
.kenmen li:nth-child(1) img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 0 auto;
  max-width: none;
}
.kenmen li:nth-child(2) img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0 0;
  max-width: none;
}

.jcb2000{
  position: absolute;
  top: 35px;
  right: 10px;
  width: 90px;
  height: auto;
}

.jcb3000{
  position: absolute;
  top: 35px;
  right: 10px;
  width: 80px;
  height: auto;
}
.jcb5000{
  position: absolute;
  top: 31px;
  right: 10px;
  width: 70px;
  height: auto;
}
.goldin {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 60px;
    margin-top: -20px;
}
.cat_all{
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  height: 74px;
  width: auto;
}
.brnoneSP{
  display: none;
}
.midashi24{
  font-size: 18px!important;
}
.block740{
  display: block;
}
.about_box2 .bg-point {
    width: 90%;
}
.sptl{
  text-align: left;
  padding-left: 11px;
  text-indent: -11px;
  font-size: 2.9333333333vw;
}

}


/* ========================================================
   2. パソコン（PC）向けスタイル（画面幅 768px 以上）
======================================================== */
@media screen and (min-width: 768px) {
  .fixbutton {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    background-color: rgba(158, 158, 158, 0.9);
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    justify-content: center !important; /* ボタンを画面中央に寄せる */

    /* --- 【PC：外側・前後の余白調整】 --- */
    padding: 16px 0 !important;   /* 上下に16pxの余白（中央寄せのため左右は0） */
    gap: 24px !important;         /* PCでの左ボタンと右ボタンの間隔 */

    /* 表示切り替え用アニメーション設定 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  /* 表示アクティブ時のクラス */
  .fixbutton.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .fixbutton li {
    flex: none !important;        /* SPの50%等幅を解除 */
    width: 400px !important;      /* ★PCでのボタン1本あたりの横幅（お好みで調整してください） */
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
  }

  /* 左側のformタグをPC幅いっぱいに広げる */
  .fixbutton li form {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ボタン要素（a・input）の共通スタイル */
  .fixbutton li a,
  .fixbutton li input[type="submit"] {
    width: 100% !important;
    min-height: 64px;             /* 横幅に余裕があるため高さを少し低く調整 */
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 10px 20px !important; /* PC用のゆったりした内側余白 */
    box-sizing: border-box !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    color: #fff !important;
    transition: opacity 0.3s ease-in-out;
  }

  /* 左側：緑ボタン（input） */
  .fixbutton li input[type="submit"] {
    background-color: #1bb753 !important;
    white-space: pre-line;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  /* 右側：ゴールドボタン（a） */
  .fixbutton li a {
    background-color: #D4AF37 !important;
  }

  /* マウスホバー効果 */
  .fixbutton li a:hover,
  .fixbutton li input[type="submit"]:hover {
    opacity: 0.8 !important;
  }

  /* ボタン内テキストのサイズ・行間調整 */
  .btn_application {
    font-size: 16px !important;   /* PCで視認性の良い固定サイズに変更 */
    line-height: 1.4 !important;
    display: block;
    width: 100%;
  }

  /* ゴールドボタンの立体的な影 */
  .btn2 {
    box-shadow: 5px 7px #9A7B2C !important;
  }
}

/* 共通共通クラスのリセット用 */
.card-inline {
  cursor: pointer;
}

/* ========================================================
   1. スマートフォン（SP）向けスタイル（画面幅 767px 以下）
======================================================== */
@media screen and (max-width: 767px) {
  .fixbutton {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    background-color: rgba(158, 158, 158, 0.9); /* 固定バーの背景色 */
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;

    /* --- 【SP：外側・前後の余白調整】 --- */
    padding: 10px 4px 15px !important; /* 1つ目：上下の余白 / 2つ目：左右の画面端との余白 */
    gap: 10px !important;           /* 左ボタンと右ボタンの間隔 */

    /* 表示切り替え用アニメーション設定 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  /* 表示アクティブ時のクラス */
  .fixbutton.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .fixbutton li {
    flex: 1 !important; /* 左右のボタンを均等に50%幅にする */
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
  }
  .fixbutton li:nth-child(2) {
    padding-right: 5px!important;
  }

  /* 左側のformタグをエリアいっぱいに広げる */
  .fixbutton li form {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ボタン要素（a・input）の共通スタイル */
  .fixbutton li a,
  .fixbutton li input[type="submit"] {
    width: 100% !important;
    min-height: 60px; /* 3行のテキストが綺麗に収まる最小高さ */
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 8px 6px !important; /* ボタンの内側余白（文字の突き抜け防止） */
    box-sizing: border-box !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px; /* ボタンの角丸 */
    color: #fff !important;
    transition: opacity 0.3s ease-in-out;
  }

  /* 左側：緑ボタン（input） */
  .fixbutton li input[type="submit"] {
    background-color: #1bb753 !important;
    white-space: pre-line;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  /* 右側：ゴールドボタン（a） */
  .fixbutton li a {
    background-color: #D4AF37 !important;
  }

  /* タップ時のホバー効果 */
  .fixbutton li a:hover,
  .fixbutton li input[type="submit"]:hover {
    opacity: 0.8 !important;
  }

  /* ボタン内テキストのサイズ・行間調整 */
  .btn_application {
    font-size: clamp(0.72rem, 2.6vw, 0.95rem) !important;
    line-height: 1.35 !important;
    display: block;
    width: 100%;
  }

  /* ゴールドボタンの立体的な影 */
  .btn2 {
    box-shadow: 5px 7px #9A7B2C !important;
  }
}

.yen_img{
  height: 250px;
  width: auto;
}


.ta-c{
  text-align: center;
}

/* ========================================================
  SP横ブレ（横スクロール）対策
  原因：桜エフェクト(snowfall.jquery)の花びらが .bg-sakura の
  右端からはみ出し、ページ幅が広がるため。
======================================================== */
.bg-sakura{
  overflow-x: hidden;
  overflow-x: clip;               /* 対応ブラウザでは縦方向に影響なし */
}
.bg-sakura .snowfall-flakes{
  pointer-events: none;           /* 花びらがタップ/スワイプを邪魔しない */
}
@media screen and (max-width: 767px) {
  html,
  body{
    max-width: 100%;
    overflow-x: hidden;
  }
  img{
    max-width: 100%;              /* 念のため：画像のはみ出し防止 */
  }
  .yen_img{
    max-width: 600px;
    width: 100%;
    height: auto;
}
}