@charset "utf-8";

/* ============================================================
   マジシャンLUNA 英語フォーム（contact-en）用 CSS
   日本語フォーム（contact）とまったく同じ内容。
   🔴 片方を直したらもう片方も直すこと。
   貼り付け先: 管理画面 → デザインの設定 → 自作デザイン → CSSタブ（全文を置き換え）
   ============================================================ */

/* ----------------------------------------------------------
    リセット / 新要素設定
------------------------------------------------------------- */
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: '';
    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 : 360px ;
    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],
button[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 : 390px ;
    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; }
.m10 { margin: 10px !important; }
.m20 { margin: 20px !important; }
.mt0 { margin-top: 0 !important; }
.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mt30 { margin-top: 30px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb30 { margin-bottom: 30px !important; }
.p0 { padding: 0 !important; }
.p10 { padding: 10px !important; }
.p20 { padding: 20px !important; }

.w50per { width: 50% !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; }
.dispIB { display: inline-block !important; }
.dispB { display: block !important; }

.fontNormal { font-weight: normal !important; }
.fontBold { font-weight: bold !important; }

.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;
}

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width : 700px ;
    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 : #ffffff;
    border-left : 1px solid #ffe4ed ;
    border-right : 1px solid #ffe4ed ;
    border-bottom : 1px solid #ffe4ed ;
}

#header { padding: 40px 25px 40px; }

.red_txt { color: #dc2626; }

/* 説明文を表示するためのタグ */
#txt_explain { color: #475569; }

#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 : #db2777;
    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;
}

.table {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.table th {
    padding: 15px;
    background : #fff5f8;
    color: #be185d;
    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;
}

/* ===== マジシャンLUNA 追記 ここから ===== */
html { -webkit-text-size-adjust: 100%; }
body { color: #334155; margin: 0; padding: 0; }

/* 横幅の固定を解除する（上の #wrapper { width:700px } を打ち消す） */
#wrapper {
  width: auto !important;
  max-width: 700px !important;
  margin: 20px auto 0 !important;
  box-sizing: border-box !important;
}
#main { padding: 20px !important; }
.section__body { padding: 0 !important; }
img { max-width: 100%; height: auto; }

/* iOSは16px未満の入力欄で自動ズームするため16pxを死守する */
input[type="text"], input[type="password"], input[type="email"],
input[type="tel"], textarea, select {
  font-size: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
textarea { min-height: 140px !important; }

input[type="submit"],
button[type="submit"] {
  font-size: 16px !important;
  padding: 14px 40px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #db2777 !important;
  color: #fff !important;
  font-weight: bold !important;
  cursor: pointer;
}

/* スマホでは表を縦積みにする */
@media screen and (max-width: 640px) {
  .table, .table tbody, .table tr, .table th, .table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-right: none !important;
  }
  .table { border-left: none !important; }
  .table th {
    padding: 10px 12px !important;
    border-bottom: none !important;
    font-size: 14px !important;
  }
  .table td {
    padding: 8px 12px 16px !important;
    border-bottom: 1px solid #ffe4ed !important;
  }
  .section__ttl { font-size: 16px !important; }
  #main { padding: 12px !important; }
}
/* ===== 追記 ここまで ===== */

/* ===== 追記2 文字サイズ ここから ===== */
#txt_explain { font-size: 15px !important; line-height: 1.9 !important; }
.table th { font-size: 15px !important; }
.table td { font-size: 15px !important; }
.table td label { display: inline-block; margin: 0 14px 6px 0; }
textarea { min-height: 110px !important; }
.section__ttl { font-size: 17px !important; }
/* ===== 追記2 ここまで ===== */

/* ===== 追記3 チェックボックスを1行1項目に ここから =====
   英語フォームには選択式の項目は無いが、日本語版と内容を揃えるために残す。
   将来、英語版に選択肢を足したときにそのまま効く。 */
.table td input[type="checkbox"],
.table td input[type="radio"] {
  float: left;
  clear: left;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 5px 10px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.table td label {
  display: block;
  overflow: hidden;
  margin: 0 0 10px 0;
}
.table td { line-height: 2.0; }
.table td::after { content: ""; display: block; clear: both; }
.table td input[type="text"],
.table td textarea { clear: both; }
/* ===== 追記3 ここまで ===== */

/* ===== 追記4 公式サイトのヘッダー・フッター ここから ===== */
#header {
  padding: 22px 16px !important;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #ffe4ed;
}
#header a { text-decoration: none !important; display: inline-block; }
.brand-name {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #1e293b;
}
.brand-sub {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .22em;
  color: #db2777;
}
#wrapper { margin-top: 0 !important; }
#footer {
  margin-top: 32px !important;
  padding: 28px 16px !important;
  background: #fff !important;
  border-top: 1px solid #ffe4ed;
  color: #94a3b8 !important;
  text-align: center;
  font-size: 12px !important;
  line-height: 1.9;
}
#footer p { margin: 0 0 4px; }
#footer a { color: #94a3b8; text-decoration: none; }
.footer-name {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: .1em;
  color: #1e293b;
  font-size: 13px;
}
/* ===== 追記4 ここまで ===== */

/* ===== 確認画面の「Back」を控えめにして「Send」を主役にする =====
   🔴 !important が必須。上の input[type="submit"] に !important が付いているため。
   padding を 12px 38px にしているのは、枠線2px分を内側で相殺して
   「Send」とボタンの大きさを揃えるため。 */
.button_box input.btn-back,
.button_box button.btn-back {
  background: #ffffff !important;
  color: #db2777 !important;
  border: 2px solid #f9a8d4 !important;
  padding: 12px 38px !important;
}
.button_box input.btn-back:hover,
.button_box button.btn-back:hover {
  background: #fdf2f8 !important;
}

/* ボタンを2つ並べたときの間隔（<button>はinputと余白の付き方が違う） */
.button_box button[type="submit"] { margin: 0 6px; }

/* ===== 英語フォーム専用 =====
   英文は日本語より行が長くなるため、読みやすさの調整を少しだけ足す */
body {
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
#txt_explain { line-height: 1.8 !important; }
.table th { width: 38%; }
@media screen and (max-width: 640px) {
  .table th { width: 100% !important; }
}