@charset "utf-8";

*, *::before, *::after {
    box-sizing: border-box; /* 要素の幅・高さにpaddingとborderを含める */
}

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.6 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, 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;
    max-width: 100%;
    height: auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
th, td {
    font-weight: normal;
    text-align: left;
}
th { font-weight: bold; }

/* ----------------------------------------------------------
    フォーム系（基本）
------------------------------------------------------------- */
input, textarea, select {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
}
input, button {
    line-height: normal;
    vertical-align: middle;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    border: 1px solid #209dd9;
    outline: none;
}

textarea {
    overflow: auto;
    vertical-align: top;
    min-height: 120px;
}
select {
    padding: 6px;
    background: #fff;
    border: 1px solid #ddd;
}
label { cursor: pointer; }

input[type=submit],
input[type=button] {
    padding: 10px 24px;
    cursor: pointer;
    background: #ff6600;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
}

/* ----------------------------------------------------------
    メインレイアウト
------------------------------------------------------------- */
#wrapper {
    width: 100%;
    max-width: 720px;
    margin: 20px auto 0;
    padding: 0 15px;
}

#header { padding: 30px 15px; text-align: center; }
#main { padding: 20px 0; }

.section { margin-bottom: 40px; }
.section__ttl {
    padding: 12px 15px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    background: #cc836a;
    font-size: 18px;
}

.table {
    width: 100%;
    margin-bottom: 20px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.table th {
    width: 30%;
    padding: 15px;
    background: #444444;
    color: #ffffff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
}
.table td {
    width: 70%;
    padding: 15px;
    background: #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #222;
    font-size: 14px;
}

.button_box {
    clear: both;
    padding: 20px 0;
    text-align: center;
}

#footer {
    margin-top: 40px;
    padding: 15px 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

.red_txt { color: #ff3333; }

/* ----------------------------------------------------------
    スマートフォン向け表示設定（画面幅768px以下）
------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    #wrapper {
        padding: 0 10px;
        margin-top: 10px;
    }

    #header {
        padding: 20px 10px;
    }

    /* テーブルを縦並びレイアウトに変更 */
    .table,
    .table tbody,
    .table tr,
    .table th,
    .table td {
        display: block !important;
        width: 100% !important;
    }

    .table {
        border-top: none;
        border-left: none;
    }

    .table tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .table th {
        padding: 10px 12px;
        font-size: 15px;
        background: #555;
        border: none;
    }

    .table td {
        padding: 12px 5px 15px;
        font-size: 15px;
        border: none;
        background: #fff;
    }

    /* スマホ入力時のフォーム要素最適化（文字16px以上で自動ズーム防止） */
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=tel],
    select,
    textarea {
        font-size: 16px !important;
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

    /* 送信ボタンを大きく押しやすく */
    .button_box input[type=submit],
    .button_box input[type=button] {
        display: block;
        width: 100% !important;
        padding: 14px !important;
        font-size: 18px !important;
        margin: 10px 0;
    }
}