:root {
    --color: #00a29a;
}

.__Color {
    color: var(--color)
}


/*=============================================================================
*
*
*
=============================================================================*/
#fv {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
}

@media (max-width: 768px) {
    #fv {
        padding-top: 3.5rem;
        padding-bottom: 1.5rem;
    }
}

.hd_logo {
    width: 10rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.hd_text1 {
    line-height: 1.5;
    color: #000;
    text-align: center;
    font-weight: bold;
    margin-bottom: 3.5rem;
}

.hd_text1 p {
    font-size: 2.8rem;
}

#fv .GrayBox {
  background: #f0f0f0;
  padding: 2.5rem 0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 50%;
  max-width: 600px;
  margin: 3.5rem auto;
}

@media (max-width: 768px) {
  #fv .GrayBox {
    padding: 1.5rem;
    width: 95%;
  }
}

.moovie_cta {
  margin: 0 auto;
  width: 75%;
}

@media (max-width: 768px) {
  .moovie_cta {
    margin: 0 auto;
    width: 95%;
  }
}

.__bounceBtn {
    visibility: visible !important;
    animation-fill-mode: both !important;
    -webkit-animation-fill-mode: both !important;
    -webkit-animation-iteration-count: infinite !important;
    animation-iteration-count: infinite !important;
    -webkit-animation: bounceBtn 1.8s;
            animation: bounceBtn 1.8s;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
}
@keyframes bounceBtn{
    0%
    {
        transform: scale(1);

        opacity: 1;
    }
    25%
    {
        transform: scale(1.015);
    }
    40%
    {
        transform: scale(.94);
    }
    50%
    {
        transform: scale(1.015);
    }
    60%
    {
        transform: scale(.97);
    }
    70%
    {
        transform: scale(1.01);

        opacity: 1;
    }
    80%
    {
        transform: scale(.98);
    }
    90%
    {
        transform: scale(1.005);
    }
    100%
    {
        transform: scale(1);
    }
}

#form_sec {
    flex: 1 0 auto;  
    display: grid;
    place-content: center;
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
    min-height: 50svh;
    position: relative;
}

@media (max-width: 768px) {
    #form_sec {
        display: block;
        padding-top: 0;
        padding-bottom: 5.5rem;
    }
}

#form_sec .GrayBox {
  background: #f9f9f9;
  padding: 2.5rem 3rem 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 720px;
  margin: 0 auto 5.0rem;
}

#form_sec .GrayBox p.fcshow_note {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5rem;
}

.form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.form-table tbody tr td {
  /* ラベル（左）＋入力（右）の2カラムにする */
  display: grid;
  grid-template-columns: 25rem 1fr; /* ラベル幅はお好みで */
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}
.form-table tbody tr:first-child td {
  border-top: none;
}

/* ラベル */
.form-table td > p {
  margin: 0;
  font-size: 1.6rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
}

/* 「必須」バッジ（<p><span>必須</span>…） */
.form-table td > p > span {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: #e64a3d; 
  border-radius: 4px;
}

.form-table td > p > span.__Small {
  font-size: 1.2rem;
  color: #666;
  font-weight: normal;
    background: none; 
}

/* ===== 入力エリア ===== */
.form-table td > div {
  /* 1行目の姓・名を横並びに */
  display: flex;
  gap: 12px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f3f3f3;     /* スクショの薄グレー */
  color: #111;
  outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  box-sizing: border-box;
  font-size: 1.6rem;
}

.form-table input::placeholder {
  color: #9aa0a6;
  font-size: 1.4rem;
}

.form-table input:focus {
  background: #fff;
  border-color: #0fa1a0;   /* アクセントのティール */
  box-shadow: 0 0 0 3px rgba(15,161,160,.12);
}

/* 姓・名の2分割（最初の行だけ左右半分ずつに） */
.form-table tr:nth-child(1) td > div > input,
.form-table tr:nth-child(2) td > div > input,
.form-table tr:nth-child(3) td > div > input,
.form-table tr:nth-child(4) td > div > input {
  flex: 1 1 0;
  min-width: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  /* 行は1カラムに */
  .form-table tbody tr td{
    grid-template-columns: 1fr; 
    gap: 10px;
  }

  /* 右カラム（入力グループ）を縦積みに固定 */
  .form-table td > div{
    display: flex;
    gap: 10px;
  }

  /* 姓・名の各inputが100%で潰れないように */
    .form-table td > div > input[type="text"],
    .form-table td > div > input[type="email"],
    .form-table td > div > input[type="tel"]{
        width: 100%;
        flex: 0 0 auto;   /* 横並び時のflex:1を無効化 */
        min-width: 0;     /* iOS/Safariのはみ出し防止 */
        box-sizing: border-box;
    }
}

/* ===== 参考：チェックボックス行と送信ボタン（任意） ===== */
/* チェックボックス行をページ側で包む場合の例
<div class="consent-row"><label><input type="checkbox"> <a href="#">個人情報取扱事項</a>に同意する</label><span class="req">必須</span></div>
*/
.consent-row {
  margin: 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.consent-row a { color: #0fa1a0; text-decoration: underline; }
.consent-row .req {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: #e74c3c;
  border-radius: 4px;
}

/* ====== 確認ボタンのラッパー ====== */
#OF_form1 > div:last-of-type {
  margin-top: 40px;              /* 上に余白 */
  text-align: center;            /* フォールバック用中央寄せ */
}

#OF_form1 > div:last-of-type > div {
  display: flex;
  justify-content: center;       /* ボタンを中央配置 */
}

/* ====== ボタン本体 ====== */
#OF_form1 button[type="submit"] {
  display: inline-block;
  min-width: 280px;              /* 幅はお好みで */
  height: 56px;
  padding: 0 24px;
  background: #009688;           /* ティールグリーン系（例） */
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 28px;           /* 丸みを強調 */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 150, 136, 0.25);
}

/* ホバー時の浮き上がり */
#OF_form1 button[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 150, 136, 0.3);
}

/* クリック時の沈み込み */
#OF_form1 button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 150, 136, 0.2);
}

@media (max-width: 768px) {
    #OF_form1 > div:last-of-type {
        margin-top: 1.5rem;
        text-align: center;
    }
    #OF_form1 button[type="submit"] {
        width: 100%;
        max-width: 340px;
    }
}

.privacy {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

.privacy a {
    color: #0fa1a0;
    text-decoration: underline;
}

/* ── ラッパーをフラット化して既存の2カラムグリッド前提に合わせる ── */
.form-table tbody tr td > div:has(> p):has(> div){
  display: contents;
}

/* ── ラジオのコンテナを常に1カラムに（既存の .form-table td > div{display:flex} を上書き） ── */
.form-table tbody tr td > div:has(> label > input[type="radio"]){
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ── カード全体がクリック範囲 ── */
.form-table tbody tr td > div:has(> label > input[type="radio"]) > label{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #f9f9f9;
  cursor: pointer;
  user-select: none;
  line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

/* ラジオ本体のサイズは固定（テキストサイズ変更の影響を受けない） */
.form-table label > input[type="radio"]{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #0fa1a0;
}

/* hover / focus / checked の視覚フィードバック */
.form-table tbody tr td > div:has(> label > input[type="radio"]) > label:hover{
  border-color: #0fa1a0;
  box-shadow: 0 2px 10px rgba(15,161,160,.12);
}
.form-table tbody tr td > div:has(> label > input[type="radio"]) > label:has(> input:focus-visible){
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,161,160,.18);
}
.form-table tbody tr td > div:has(> label > input[type="radio"]) > label:has(> input:checked){
  background: #eef8f8;
  border-color: #0fa1a0;
  box-shadow: 0 0 0 3px rgba(15,161,160,.12);
  font-weight: 600;
}

/* ── free1 のテキストサイズだけ調整したい場合（任意） ── */
.form-table label:has(> input[name="free1"]){
  font-size: 1.4rem;
  line-height: 1.7;
}

.form-table label:has(> input[name="free6"]){
  font-size: 1.4rem;
  line-height: 1.7;
}

/* ── 備考（textarea）を他の入力欄と同トーンに ── */
.form-table textarea{
  width: 100%;
  min-height: 140px;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f3f3f3;
  color: #111;
  box-sizing: border-box;
  font: inherit;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  font-size: 1.6rem;
}

.form-table textarea::placeholder{
  color: #9aa0a6;
  font-size: 1.4rem;
}

.form-table textarea:focus{
  background: #fff;
  border-color: #0fa1a0;
  box-shadow: 0 0 0 3px rgba(15,161,160,.12);
}

/* SPでの微調整（任意） */
@media (max-width: 768px){
  .form-table textarea{ min-height: 120px; }
}


/*=============================================================================
*
*
*
=============================================================================*/
.footer_logo {
    width: 18rem;
    margin: 0 auto 3rem;
}