@charset "utf-8";

/* ----------------------------------------------------------
    リセット / 新要素設定
------------------------------------------------------------- */
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, form, fieldset, legend, table, th, td, caption, a, article, aside, nav, section, figure, figcaption, footer, header, main, audio, canvas, video, menu, details {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 100%;
    vertical-align: baseline;
}
fieldset, legend, img { border: 0; }
article, aside, nav, section, figure, figcaption, footer, header, main, menu, details { display: block; }
video, audio, canvas {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* ----------------------------------------------------------
    ベース
------------------------------------------------------------- */
html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    background: #fff;
    color: #222;
    font: 14px/1.4 Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic, sans-serif;
    -moz-font-feature-settings: "pkna";
    -webkit-font-feature-settings: "pkna";
    font-feature-settings: "pkna";
    letter-spacing: .01em;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

/* ----------------------------------------------------------
    要素
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    max-height: 100%;
    font-weight: normal;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    line-height: 1.2;
    color: #222;
}
p {
    max-height: 100%;
    margin: 0 0 1em;
}
ul {
    max-height: 100%;
    list-style: none;
}
ol {
    max-height: 100%;
    list-style: none;
}
dt {
    max-height: 100%;
    font-weight: bold;
}
dd { max-height: 100%; }
hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
    content: &#039;&#039;;
    content: none;
}
pre {
    font-family: monospace, serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

figure { margin: 0 0 1em; }

a { color: #04c; }
a:link, a.visited { text-decoration: underline; }
a:hover, a.active { text-decoration: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

img { vertical-align: middle; }

address, cite, em, dfn, i, var { font-style: normal; }
em { font-weight: bold; }
strong, b { font-weight: bold; }
code, samp, kbd { font-family: monospace, sans-serif; }
abbr {
    border: 0;
    font-variant: normal;
}
abbr[title], dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
del { text-decoration: line-through; }
mark {
    background-color: #ff0;
    color: #333;
    font-style: italic;
    font-weight: bold;
}
br { *letter-spacing: 0; }


table {
    border-collapse: collapse;
    border-spacing: 0;
}
th, td {
    font-weight: normal;
    text-align: left;
}
th { font-weight: bold; }
caption {
    font-weight: normal;
    text-align: left;
}

/* ----------------------------------------------------------
    フォーム系
------------------------------------------------------------- */
input, textarea, select {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    *font-size: 14px;
}
input, button {
    line-height: normal;
    vertical-align: middle;
}

input[type=text],
input[type=password],
textarea {
    width : 620px ;
    padding: 5px;
    background: #fff;
    border: 1px solid #ddd;
    -moz-box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
    -webkit-box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
    box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
}
input[type=text]:focus,
input[type=password]:focus,
textarea:focus { border: 1px solid #209dd9; }

input[type=button] { cursor: pointer; }

.box__ttl input[type=button] {
    margin-right: 5px;
    height: 26px;
    line-height: 26px;
}

input[type=submit] {
    padding: 5px 8px;
    cursor: pointer;
}

input[type=checkbox] { cursor: pointer; }

input[type=submit]:disabled,
input[type=button]:disabled,
input[type=checkbox]:disabled { cursor: default; }

textarea {
    width : 650px ;
    overflow: auto;
    vertical-align: top;
}
select {
    padding: 2px;
    line-height: normal;
    background: #fff;
}
label { cursor: pointer; }
legend {
    *margin-left: -7px;
    color: #333;
}

/* ----------------------------------------------------------
    汎用
------------------------------------------------------------- */
/* マージン系 */
.m0 { margin: 0 !important; }
.m5 { margin: 5px !important; }
.m10 { margin: 10px !important; }
.m15 { margin: 15px !important; }
.m20 { margin: 20px !important; }
.m25 { margin: 25px !important; }
.m30 { margin: 30px !important; }
.m35 { margin: 35px !important; }
.m40 { margin: 40px !important; }
.m44 { margin: 44px !important; }
.m40 { margin: 40px !important; }
.mt0 { margin-top: 0 !important; }
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mt25 { margin-top: 25px !important; }
.mt30 { margin-top: 30px !important; }
.mt35 { margin-top: 35px !important; }
.mt40 { margin-top: 40px !important; }
.mt45 { margin-top: 45px !important; }
.mt50 { margin-top: 50px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb35 { margin-bottom: 35px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb45 { margin-bottom: 45px !important; }
.mb50 { margin-bottom: 50px !important; }
.ml0 { margin-left: 0 !important; }
.ml5 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml15 { margin-left: 15px !important; }
.ml20 { margin-left: 20px !important; }
.ml25 { margin-left: 25px !important; }
.ml30 { margin-left: 30px !important; }
.ml35 { margin-left: 35px !important; }
.ml40 { margin-left: 40px !important; }
.ml45 { margin-left: 45px !important; }
.ml50 { margin-left: 50px !important; }
.mr0 { margin-right: 0 !important; }
.mr5 { margin-right: 5px !important; }
.mr10 { margin-right: 10px !important; }
.mr15 { margin-right: 15px !important; }
.mr20 { margin-right: 20px !important; }
.mr25 { margin-right: 25px !important; }
.mr30 { margin-right: 30px !important; }
.mr35 { margin-right: 35px !important; }
.mr40 { margin-right: 40px !important; }
.mr45 { margin-right: 45px !important; }
.mr50 { margin-right: 50px !important; }

/* パディング系 */
.p0 { padding: 0 !important; }
.p5 { padding: 5px !important; }
.p10 { padding: 10px !important; }
.p15 { padding: 15px !important; }
.p20 { padding: 20px !important; }
.p25 { padding: 25px !important; }
.p30 { padding: 30px !important; }
.p35 { padding: 35px !important; }
.p40 { padding: 40px !important; }
.p45 { padding: 45px !important; }
.p50 { padding: 50px !important; }
.pt0 { padding-top: 0 !important; }
.pt5 { padding-top: 5px !important; }
.pt10 { padding-top: 10px !important; }
.pt15 { padding-top: 15px !important; }
.pt20 { padding-top: 20px !important; }
.pt25 { padding-top: 25px !important; }
.pt30 { padding-top: 30px !important; }
.pt35 { padding-top: 35px !important; }
.pt40 { padding-top: 40px !important; }
.pt45 { padding-top: 45px !important; }
.pt50 { padding-top: 50px !important; }
.pb0 { padding-bottom: 0 !important; }
.pb5 { padding-bottom: 5px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb15 { padding-bottom: 15px !important; }
.pb20 { padding-bottom: 20px !important; }
.pb25 { padding-bottom: 25px !important; }
.pb30 { padding-bottom: 30px !important; }
.pb35 { padding-bottom: 35px !important; }
.pb40 { padding-bottom: 40px !important; }
.pb45 { padding-bottom: 45px !important; }
.pb50 { padding-bottom: 50px !important; }
.pl0 { padding-left: 0 !important; }
.pl5 { padding-left: 5px !important; }
.pl10 { padding-left: 10px !important; }
.pl15 { padding-left: 15px !important; }
.pl20 { padding-left: 20px !important; }
.pl25 { padding-left: 25px !important; }
.pl30 { padding-left: 30px !important; }
.pl35 { padding-left: 35px !important; }
.pl40 { padding-left: 40px !important; }
.pl45 { padding-left: 45px !important; }
.pl50 { padding-left: 50px !important; }
.pr0 { padding-right: 0 !important; }
.pr5 { padding-right: 5px !important; }
.pr10 { padding-right: 10px !important; }
.pr15 { padding-right: 15px !important; }
.pr20 { padding-right: 20px !important; }
.pr25 { padding-right: 25px !important; }
.pr30 { padding-right: 30px !important; }
.pr35 { padding-right: 35px !important; }
.pr40 { padding-right: 40px !important; }
.pr45 { padding-right: 45px !important; }
.pr50 { padding-right: 50px !important; }

/* 幅指定(%) */
.w5per { width: 5% !important; }
.w10per { width: 10% !important; }
.w15per { width: 15% !important; }
.w20per { width: 20% !important; }
.w25per { width: 25% !important; }
.w30per { width: 30% !important; }
.w35per { width: 35% !important; }
.w40per { width: 40% !important; }
.w45per { width: 45% !important; }
.w50per { width: 50% !important; }
.w55per { width: 55% !important; }
.w60per { width: 60% !important; }
.w65per { width: 65% !important; }
.w70per { width: 70% !important; }
.w75per { width: 75% !important; }
.w80per { width: 80% !important; }
.w85per { width: 85% !important; }
.w90per { width: 90% !important; }
.w95per { width: 95% !important; }
.w100per { width: 100% !important; }

/* フロート */
.fl { float: left !important; }
.fr { float: right !important; }

/* テキスト系 */
.tal { text-align: left !important; }
.tar { text-align: right !important; }
.tac { text-align: center !important; }
.breakAll { word-break: break-all !important; }

/* 表示系 */
.dispN { display: none !important; }
.dispI { display: inline !important; }
.dispIB { display: inline-block !important; }
.dispB { display: block !important; }
.dispF { display: flex !important; }

/* フォント系 */
.fontNormal { font-weight: normal !important; }
.fontBold { font-weight: bold !important; }
.font10 { font-size: 10px !important; }
.font12 { font-size: 12px !important; }
.font14 { font-size: 14px !important; }

/* カラー系 */
.colorBlack { color: #000; }

/* Clearfix */
.clear, .cf { clear: both; }
.clearfix:before, .clearfix:after,
.cf:before, .cf:after {
    content: " ";
    display: table;
}
.clearfix:after, .cf:after { clear: both; }
.clearfix, .cf { *zoom: 1; }

/* ボタンを囲うclassタグ */
.button_box {
	clear : both ;
	padding : 8px ;
	text-align : center ;
}

/* 左詰の文字を表示するためのclassタグ */
.left_txt {
	text-align : left;
}

/* 説明文を表示するためのタグ */
#txt_explain {
	color: #000000;
}

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width : 960px ;
    margin: 20px auto 0;
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    background : #4d4d4d;
    border-left : 1px solid #ffffff ;
    border-right : 1px solid #ffffff ;
    border-bottom : 1px solid #ffffff ;
}

#header { padding: 40px 25px 40px; }

.red_txt {
    color: #ff3333;
}

/* 説明文を表示するためのタグ */
#txt_explain {
    color: #ffffff;
}

#footer {
    margin-top: 40px;
    padding: 15px 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

#main { padding: 25px; }

.section { margin-bottom: 40px; }
.section:last-child { margin-bottom: 0; }
.section__ttl {
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color:#fff;
    background : #233287;
    
    font-size: 18px;
}
.section__body { padding: 0 30px; }

.block { margin-bottom: 15px; }
.block:last-child { margin-bottom: 0; }
.block__ttl {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
.block__body {}

.table {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.table th {
    padding: 15px;
    background : #444444;
    color: #ffffff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 13px;
}
.table td {
    padding: 15px;
    background: #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #222;
    font-size: 13px;
}
/* ===== 色合わせ：黒×ゴールド（最小上書き） ===== */

/* 全体トーン */
body{ background:#000; color:#fff; }
#wrapper{
  background:#0c0c0c; border-color:#1e1e1e;
  box-shadow:0 1px 5px rgba(0,0,0,.2);
}
#txt_explain{ color:#bbb; }

/* 見出しを公式調に（青帯を無効化＋金ライン） */
.section__ttl{
  background:transparent !important; color:#fff;
  position:relative; text-align:center;
}
.section__ttl::after{
  content:""; position:absolute; left:50%; bottom:-6px; transform:translateX(-50%);
  width:120px; height:3px; border-radius:2px;
  background:linear-gradient(90deg,#ffd700,rgba(255,215,0,0));
}

/* テーブル：左カラムをダーク＋金アクセント、右は白で可読性優先 */
.table th{
  background:#121212 !important; color:#fff !important;
  border-right:1px solid #333;
  /* 左に金ライン（公式感） */
  box-shadow: inset 3px 0 0 0 #ffd700;
}
.table td{
  background:#fff; color:#111;
}

/* フォーカス時のアクセントを金に統一（入力・セレクト・テキストエリア） */
.table input:focus,
.table textarea:focus,
.table select:focus{
  outline:none; border-color:#ffd700;
  box-shadow:0 0 0 2px rgba(255,215,0,.18);
}

/* 必須バッジ（JSが .req-badge / .req-star を付ける前提） */
.req-badge{
  display:inline-block; margin-left:.5em; padding:2px 6px;
  font-size:.75rem; font-weight:700; color:#111; background:#ffd700;
  border-radius:4px; line-height:1.2;
}
.req-star{ color:#ffd700; font-weight:700; margin-left:.25em; }

/* 郵便番号：常に1行維持（text/tel/number すべて対応） */
.inline-fields{ display:flex !important; gap:8px; align-items:center; white-space:nowrap; flex-wrap:nowrap !important; }
.inline-fields input[type="text"],
.inline-fields input[type="tel"],
.inline-fields input[type="number"]{ width:7.5em !important; max-width:none !important; flex:0 0 auto; display:inline-block; }
.inline-fields .hyphen{ display:inline-block; opacity:.7; margin:0 2px; }
.is-zip *::before, .is-zip *::after{ content:none !important; } /* 疑似要素の「-」対策 */

/* スマホ微調整：フォント/カード余白だけ */
@media (max-width:768px){
  body{ font-size:16px; }
  #wrapper{ padding:16px 4%; }
  .inline-fields input[type="text"],
  .inline-fields input[type="tel"],
  .inline-fields input[type="number"]{ width:7.0em !important; }
}
/* ===== Buttons：ゴールドネオン（Confirm / Back） ===== */
.button_box{
  margin: 18px 0;
  padding: 8px;                  /* 既存テンプレの余白は維持 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;

  /* メールフォームの [ と ] を不可視化するための小技 */
  font-size: 0;
  line-height: 0;
}
/* 子要素の文字サイズを復活（input / button / a すべて） */
.button_box > *{
  font-size: 1rem !important;
  line-height: 1.1 !important;
}

/* 主ボタン：確認（input でも button でも同じ見た目） */
.button_box input[type="submit"],
.button_box button[type="submit"]{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.9rem 2.2rem;
  border: 2px solid #ffd700;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 0 12px #ffd700, inset 0 0 8px rgba(255,215,0,.35);
  transition: all .2s ease;
  cursor: pointer;
}
.button_box input[type="submit"]:hover,
.button_box button[type="submit"]:hover{
  background: #ffd700;
  color: #111;
  box-shadow: 0 0 20px #ffd700, inset 0 0 12px rgba(0,0,0,.35);
}
.button_box input[type="submit"][disabled],
.button_box button[type="submit"][disabled]{
  opacity: .5;
  cursor: not-allowed;
}

/* 副ボタン：サイトへ戻る（ゴースト） */
.button_box a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.9rem 1.6rem;
  border: 2px solid #444;
  border-radius: 10px;
  background: transparent;
  color: #ddd;
  text-decoration: none;
  transition: all .2s ease;
}
.button_box a:hover{
  border-color: #777;
  background: #151515;
  color: #fff;
}

/* SPは横幅いっぱいでタップしやすく */
@media (max-width: 480px){
  .button_box input[type="submit"],
  .button_box button[type="submit"],
  .button_box a{
    width: 100%;
  }
/* ===== SP最適化（～768px）：縦積み・可読性・操作性 ===== */
@media (max-width:768px){
  /* 文字サイズを基準16pxにして拡大防止 */
  body{ font-size:16px; }

  /* カード余白をスマホ向けに */
  #wrapper{ width:100% !important; margin:12px auto 0; padding:16px 4%; }

  /* テーブルを1行=1ブロックの縦積みに */
  .table, .table tbody, .table tr, .table th, .table td{
    display:block; width:100% !important;
  }
  .table tr{ margin-bottom:14px; border-bottom:0; }
  /* 見出しはラベル化。左の金ラインは消す */
  .table th{
    background: transparent !important;
    color:#fff !important;
    padding:6px 0 4px;
    box-shadow: none !important;      /* ← 左の金ライン無効化 */
    border-right: 0 !important;
  }
  /* 入力側は白いカードに */
  .table td{
    background:#fff; color:#111;
    border:1px solid #e5e5e5;
    border-radius:8px;
    padding:12px;
  }

  /* 入力UIはタップしやすい高さで全幅 */
  .table input[type="text"],
  .table input[type="email"],
  .table input[type="tel"],
  .table input[type="number"],
  .table input[type="url"],
  .table textarea,
  .table select{
    width:100% !important; max-width:100% !important;
    min-height:44px; font-size:16px; /* iOSズーム防止 */
  }

  /* 郵便番号は横並びのまま（2行にしない） */
  .inline-fields{ display:flex !important; flex-wrap:nowrap !important; white-space:nowrap !important; gap:8px; align-items:center; }
  .inline-fields input[type="text"],
  .inline-fields input[type="tel"],
  .inline-fields input[type="number"]{ width:7.0em !important; max-width:none !important; flex:0 0 auto; }
  .inline-fields .hyphen{ display:inline-block; margin:0 2px; opacity:.7; }

  /* 必須バッジはそのまま視認性キープ */
  .req-badge{ background:#ffd700; color:#111; }

  /* ボタンは横幅いっぱいで押しやすく */
  .button_box input[type="submit"],
  .button_box button[type="submit"],
  .button_box a{ width:100%; }
}

/* エラーテキストの読みやすさ（折り返し＆行間） */
.red_txt{
  line-height:1.6;
  word-break:break-word;
  white-space:normal;
}

/* ===== SPの左右寄りを解消（～768px） ===== */
@media (max-width:768px){
  /* 左の縦線を消して左右バランスを揃える */
  .table{ border-left: 0 !important; }

  /* ラベル/入力の左右余白を整える */
  .table th{
    background: transparent !important;
    color: #fff !important;
    padding: 6px 0 4px !important;   /* 左右の余白をフラットに */
    box-shadow: none !important;     /* もし金ラインを出していたら消す */
    border-right: 0 !important;
  }
  .table td{
    padding: 12px !important;
    border: 1px solid #e5e5e5;       /* 白カードの輪郭は維持 */
    border-radius: 8px;
    background: #fff; color: #111;
  }

  /* ラッパーの左右も均等に（中央寄せ感を強化） */
  #wrapper{ width: 100% !important; margin: 12px auto 0; padding: 16px 4%; }
}

/* 念のため：郵便番号のハイフンが改行しないようフォールバック */
.hyphen{ display:inline-block; }