﻿/*
.dvContentsInfo {
    padding: 15px 25px;
    background: #f8f5ed;
    margin-bottom: 20px;
}
.agreement-box.background-gray input {
    height: 30px;
    margin-bottom: 1.8em;
    width: 40%;
}
*/

/* 全体フォントサイズとフォントファミリー */
body, .form__section--wrapper {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

/* 見出し */
.form__section--heading {
    font-size: 18px;
    font-weight: bold;
    border-left: 0px solid #C0A226;
    padding-left: 10px;
    margin-bottom: 10px;
}

.form__section--subheading {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #C0A226;
    padding-bottom: 4px;
    margin-top: 25px;
    margin-bottom: 10px;
}


/* 会員規約枠 */
.agreement-box__inner {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
}

/* 入力欄 */
label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 6px;
}

.required {
    color: #FFF;
    font-size: 0.9rem;
}

input[type="text"], input[type="email"], textarea, select, .aspNetDisabled {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="email"]:focus {
    border-color: #C0A226;
    outline: none;
}

/* 入力欄をスマホ時に枠内に収める */
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  box-sizing: border-box;   /* パディング込みで幅を計算 */
  max-width: 100%;          /* はみ出さない */
  width: 100%;              /* 親要素いっぱいに */
}

/* 注意文 説明文*/
.form__note {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
}

/* チェックボックス */
.form__agree {
    margin-top: 15px;
}

/* ボタン */
.button__group {
    margin-top: 25px;
}
.c-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.c-button__primary {
    background-color: #C0A226;
    color: #fff;
    border: none;
}
.c-button__primary:hover {
    background-color: #a88d1f;
}
.c-button__secondary {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}
.c-button__secondary:hover {
    background-color: #e4e4e4;
}

/* 1) 画面端の窮屈さを解消：横パディングを常に確保 */
.form__section--wrapper {
  padding-left: clamp(14px, 4vw, 28px);
  padding-right: clamp(14px, 4vw, 28px);
}

/* スマホ時にボタンも余裕を持たせる */
@media (max-width: 768px) {
  .button__group .c-button { width: 100%; }
  .agreement-box__inner { padding: 12px; }
}

/* 2) セクション見出しやサブ見出しも少しゆとり */
.form__section--heading { margin: 22px 0 12px; }
.form__section--subheading { margin: 20px 0 10px; }

/* 3) 入力欄まわりの行間を少し広げて読みやすく */
label { margin-top: 10px; }
.form__note { line-height: 1.7; }

/* 4) チェックボックス：横並び＆見やすく（□ 規約に同意する） */
.form__agree {
  display: inline-flex;        /* 横並びにする */
  align-items: center;
  gap: 8px;                    /* □ と文言の間隔 */
  margin-top: 12px;
  font-size: 15px;
  line-height: 1;              /* 文字の上下ズレ防止 */
}
.form__agree input[type="checkbox"]{
  width: 18px; height: 18px;
  accent-color: #C0A226;       /* チェック色をサイト色に */
}
/* WebFormsのCheckBoxが<label for="...">を出す場合の微調整 */
.form__agree label[for^="cbAgree"], 
.form__agree span { 
  display: inline-block;
}

/* スマホ表示時の微調整 */
@media (max-width: 768px) {
  input[type="email"],
  input[type="text"],
  input[type="password"],
  textarea {
    font-size: 16px;        /* スマホで拡大防止 */
  }
}
