@charset "utf-8";

/* ============================================================
   豊臣LPテンプレート（SPニュータイプ／PC両サイド装飾型） style.css
   スマホ用画像（img_sp連番・幅750px推奨）を縦に並べる型。
   PC時は中央カラムを450pxに絞り、両サイドに固定の装飾画像を表示する。
   構成：
   1. 基本設定（フォント・画像・フッターなど）
   2. テキスト装飾
   3. フォームの仕組み（構造CSS・触らない）
   4. 追従ボタンの仕組み（構造CSS・触らない）
   5. PC両サイド装飾の仕組み（構造CSS・触らない）
   6. 特商法ページ
   7. ★ 調整ゾーン（編集するのはここだけ）★ ←一番下
   ============================================================ */

body {
  /***	フォント関連設定	***/
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 125%;
  /* 20px */
  line-height: 1.7;
  /***	背景＆文字色設定	***/
  background: var(--body-bg);
  color: #222;
  font-feature-settings: "palt";
  text-align: justify;
}

/* LP全体：スマホ幅の1カラムを中央寄せ（PC時は★ゾーンで450pxに絞る） */
#wrapper {
  margin: 0 auto;
  max-width: 750px;
  position: relative;
  z-index: 1;
}

/***	見出し	***/

h2 {
  margin: 0 auto;
  text-align: center;
  padding: 0em 0;
}

h3 {
  padding: 1.5em 0;
}

a {
  cursor: pointer;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: bold;
}

/* --------------------------------------------------
背景設定
----------------------------------------------------- */

.bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg_white {
  background: #FFFFFF;
}

/* フッター設定 */
footer {
  margin: 0 auto;
  padding: 1em 0;
  background: #fff;
  color: #222;
  text-align: center;
  font-size: 75%;
}

footer a {
  color: #222;
  text-decoration: underline;
}

footer a:hover {
  color: #595959;
}

address {
  font-style: normal;
}

/* --------------------------------------------------
テキスト装飾
----------------------------------------------------- */
.bold { font-weight: bold; }
.large { font-size: 120%; }
.xlarge { font-size: 144%; }
.xxlarge { font-size: 172.8%; }
.small { font-size: 82.5%; }
.xsmall { font-size: 62.5%; }
.xxsmall { font-size: 56.25%; }
.u { text-decoration: underline; }
.red { color: red; }
.pink { color: #e72444; }
.white { color: #FFFFFF; }
.underline { background: linear-gradient(transparent 70%, yellow 70%); }
.highlight_blue { background-color: #000436; padding: 0.1em; }
.highlight_white { background-color: #fff; padding: 0.1em; }
.highlight { background-color: #fff266; }
.redhigh { color: red; background-color: #fff266; }
.center { text-align: center; }

/* ============================================================
   フォームの仕組み（構造CSS）
   ※ここは触らない。色や余白の調整は一番下の「★ゾーン」で行う。
   ============================================================ */

.form {
  display: block;
  margin: 0 auto;
  max-width: 750px;
  padding: var(--form-padding);
  background-color: var(--form-bg);
  text-align: center;
}

.form_title {
  margin: 0 auto;
  padding: var(--title-padding);
  max-width: var(--title-width);
}

.form .btn-link {
  display: block;
  margin: 0 auto;
  max-width: var(--btn-width);
}

.form .btn-link img {
  width: 100%;
}

.submit .btn {
  margin: 0 auto;
  max-width: var(--btn-width);
}

.deco {
  display: block;
  margin: 30px auto 20px;
  padding: 10px 6px 4px;
  width: 96%;
  max-width: 96%;
  height: 88px;
  border: 4px solid #cbcbcb;
  background: #fff;
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.deco::placeholder {
  color: #AAA;
}

.form_embed {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 1em;
  text-align: left;
}

.btn {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  animation-name: btn-animation;
  animation-iteration-count: infinite;
  animation-duration: 2s;
}

.btn:hover {
  animation-duration: 0.8s;
  opacity: 0.8;
}

@keyframes btn-animation {
  0%   { transform: translateY(0.5em); }
  50%  { transform: translateY(-0.5em); }
  100% { transform: translateY(0.5em); }
}

.optin {
  font-size: 0.9em;
  padding: 1.3em;
  text-align: center;
  color: #fff;
}

/* ============================================================
   追従ボタンの仕組み（構造CSS）※触らない
   ※PC両サイド装飾型ではPC時に非表示（右サイドCTAが代替）
   ============================================================ */
.flbtn {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  right: 0;
  width: 300px;
  background-color: var(--flbtn-bg);
  padding: 0.8%;
  border-radius: 20px 0 0 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.flbtn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.flbtn figure {
  margin-bottom: 0.5em;
}

.flbtn figure:last-of-type {
  margin-bottom: 0;
}

/* ============================================================
   PC両サイド装飾の仕組み（構造CSS）※触らない
   SP時は完全非表示。PC時にfixedで画面端に貼り付く。
   調整（幅・縦位置・色）は★ゾーンの変数で行う。
   ============================================================ */

/* デフォルト：両サイドは非表示（スマホ表示の基本値） */
.pc-side {
  display: none;
}

/* 右サイドの内部レイアウト：画像+CTAボタンを縦flexで並べる */
.pc-side-right__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.pc-side-right__img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pc-side-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 2;
}

.pc-side-btn img {
  width: 100%;
}

/* ============================================================
   PC表示（1025px以上）
   ・中央カラムを450pxに絞る
   ・両サイド装飾をfixedで表示
   ・追従ボタン(.flbtn)は非表示（右サイドCTAが代替）
   ============================================================ */
@media screen and (min-width: 1025px) {

  body {
    background: var(--body-bg-pc);
  }

  #wrapper {
    max-width: var(--wrapper-pc-width);
    box-shadow: var(--wrapper-shadow-pc);
  }

  .form {
    max-width: var(--wrapper-pc-width);
  }

  /* 左サイド装飾：中央カラム左端（50% - wrapper半分）に自分の右端を合わせる */
  .pc-side-left {
    display: block;
    position: fixed;
    top: var(--side-left-top);
    left: calc(50% - var(--wrapper-half));
    transform: translate(-100%, -50%);
    width: min(var(--side-max-width), calc(50vw - var(--side-anchor-pad)));
    max-height: var(--side-max-height);
    padding-right: var(--side-gap);
    z-index: 100;
    box-sizing: border-box;
  }

  .pc-side-left img {
    max-height: var(--side-max-height);
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  /* 右サイド装飾：中央カラム右端（50% + wrapper半分）に自分の左端を合わせる */
  .pc-side-right {
    display: block;
    position: fixed;
    top: var(--side-right-top);
    left: calc(50% + var(--wrapper-half));
    transform: translateY(-50%);
    width: min(var(--side-max-width), calc(50vw - var(--side-anchor-pad)));
    padding-left: var(--side-gap);
    z-index: 100;
    box-sizing: border-box;
  }

  .pc-side-right__img {
    max-height: calc(var(--side-max-height) - 140px); /* 下のCTA分140px確保 */
  }

  /* PC時：追従ボタン(.flbtn)は非表示（右サイドCTAで代替） */
  .flbtn {
    display: none;
  }

  /* PC時：本体画像と中央カラムに薄いドロップシャドウ（紙片感） 
  .lp-section img,
  .form img,
  header img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  }*/
}

/* ============================================================
   スマホ表示（1024px以下）
   ・両サイド装飾は非表示（既定で.pc-side{display:none}が効く）
   ・中央カラムは画面全幅
   ・追従ボタンは通常通り表示
   ============================================================ */
@media screen and (max-width: 1024px) {

  body {
    font-size: 100%;
  }

  /* 追従ボタン：スマホは左右いっぱい */
  .flbtn {
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    padding: 1em;
  }

  .flbtn figure {
    width: 100%;
  }

  .flbtn_title {
    padding: 0em 0 1em;
  }

  footer {
    padding-bottom: 15em;
  }

}

/*
 *		特商法
 */
.page_laws #wrapper {
  margin: 0 auto 2em;
  padding: 3em;
  width: 800px;
  background: #fff;
  max-width: 100%;
  font-size: 75%;
}

.page_laws #wrapper h2 {
  margin: 0 auto;
  font-size: 2em;
  text-align: center;
}

.page_laws #wrapper h3 {
  margin-top: 2em;
  font-size: 1.25em;
}

.page_laws #wrapper h4 {
  margin-top: 2em;
}

.page_laws table {
  margin: 1.5em auto;
  border-collapse: separate;
  border-spacing: 1px;
  background: #ccc;
}

.page_laws th {
  padding: 0.5em;
  width: 28%;
  border-top: 1px solid #fff;
  background-color: #EBEBEB;
}

.page_laws td {
  padding: 0.5em;
  font-size: 0.8em;
  background-color: #FFFFFF;
}

/* ============================================================
   ★ 調整ゾーン：ここだけ編集してください ★
   上はぜんぶ「仕組み」なので触らない。
   数字や色（変数の値）を変えるだけで見た目が変わります。
   ============================================================ */

/* --- ページ全体の背景色 --- */
:root {
  --body-bg: #f5f5f5;     /* SP時の背景色 */
  --body-bg-pc: #FFFFFF url("../images/背景.jpg") center center / cover no-repeat fixed;  /* PC固定背景 */
}

/* --- フォームの設定（A型・B型・C型 共通） --- */
.form {
  --form-bg: #025FA8;          /* フォームの背景色 */
  --form-padding: 2em 0;       /* フォームの上下余白 */
  --title-width: 90%;          /* タイトル画像の幅 */
  --title-padding: 0 1em 1em;  /* タイトル画像の余白（上 左右 下） */
  --btn-width: 92%;            /* ボタンの幅 */
}

/* --- 追従ボタンの背景色（SP時のみ表示） --- */
.flbtn {
  --flbtn-bg: rgba(2, 95, 168, 0.85);
}

/* --- PC時の中央カラム設定 --- */
:root {
  --wrapper-pc-width: 450px;                          /* PC時の中央カラム幅 */
  --wrapper-half: calc(var(--wrapper-pc-width) / 2);  /* カラム半分（225px） */
  --wrapper-shadow-pc: 0 4px 20px rgba(0, 0, 0, 0.35);/* PC時の中央カラム影 */
}

/* --- PC両サイド装飾の設定 --- */
:root {
  --side-max-width: 340px;     /* 装飾画像の最大幅 */
  --side-gap: 48px;            /* 中央カラムとの隙間 */
  --side-anchor-pad: calc(var(--wrapper-half) + var(--side-gap)); /* 自動算出（触らない） */
  --side-max-height: 96vh;     /* 装飾の最大高さ */
  --side-left-top: 47%;        /* 左装飾の縦位置 */
  --side-right-top: 50%;       /* 右装飾の縦位置 */
}

/* --- 2つ目以降のフォームだけ変えたい場合（例） ---
.form.form02 {
  --form-bg: #e7647c;
  --btn-width: 80%;
}
------------------------------------------------------ */

/* 2つ目のボタンエリアの背景色 */
.form.form02 {
  --form-bg: #FFFFFF;
}

/* フッター：ボタンエリアと同じ青背景・白文字 */
footer {
  background: #025FA8;
  color: #FFFFFF;
  padding: 1.5em 1em;
  font-size: 65%;
}

footer a,
footer a:hover {
  color: #FFFFFF;
}

footer .footer-company {
  margin: 0 0 0.6em;
}
/* 左サイドのQR画像を少し小さく表示 */
.pc-side-left {
  --side-max-width: 300px;
}
