@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: #f8fbe9;
    color: #222;
    font: 16px/1.4 "m-plus-rounded-1c", sans-serif;
    font-weight: 400;
    font-style: normal;
    -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; }

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: 16px;
}
input, button {
    line-height: normal;
    vertical-align: middle;
}

input[type=text],
input[type=password],
textarea {
    width: 380px;
    padding: 5px;
    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,
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: 410px;
    overflow: auto;
    vertical-align: top;
}
select {
    padding: 2px;
    line-height: normal;
    background: #fff;
}
label { cursor: pointer; }
legend {
    *margin-left: -7px;
    color: #333;
}

/* ----------------------------------------------------------
    汎用
------------------------------------------------------------- */
/* 以下のm0, m5, ..., pr50 等はそのままにしてください */

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width: 720px;
    margin: 20px auto 0;
    background: #f8fbe9;
    border: 1px solid #b3b3b3;     /* ★枠線追加 */
    box-shadow: none;               /* ★影を消去 */
}

#header { padding: 40px 25px; }

.red_txt {
    color: #ff3333;
}

#txt_explain {
    color: #000000;
}

#footer {
    margin-top: 40px;
    padding: 15px 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

#main { padding: 25px; }

.section { margin-bottom: 40px; border-radius: 8px; }
.section:last-child { margin-bottom: 0; }
.section__ttl {
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    background: #388e3c;
    font-size: 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.section__body { padding: 0 30px; }

.block { margin-bottom: 15px; }
.block:last-child { margin-bottom: 0; }
.block__ttl {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.block__body {}
/* ----------------------------------------------------------
    テーブル改善版
------------------------------------------------------------- */
.table {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ccc;              /* ★全枠線 */
    border-radius: 8px;
    overflow: hidden;
}
.table th {
    padding: 15px;
    background: #388e3c;
    color: #ffffff;
    border: 1px solid #ccc;              /* ★全セル枠線 */
    font-weight: bold;
    font-size: 15px;
}
.table td {
    padding: 15px;
    background: #fff;
    border: 1px solid #ccc;              /* ★全セル枠線 */
    color: #222;
    font-size: 15px;
}

/* 戻るボタンリンク */
.button_box a {
    border-radius: 5px;
}

/* 送信ボタン */
.button_box input[type="submit"] {
    border-radius: 5px;
}

/* ----------------------------------------------------------
    スマホ表示対応
------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    html {
        font-size: 18px !important;
        -webkit-text-size-adjust: none !important;
        text-size-adjust: none !important;
    }

    body {
        font-size: 18px !important;
        padding: 0;
        margin: 0;
        -webkit-text-size-adjust: none !important;
        text-size-adjust: none !important;
    }

    #wrapper {
        width: 100%;
        margin: 0;
        box-shadow: none;
        border: 1px solid #b3b3b3;
        border-radius: 0;
        font-size: 18px !important;
    }

    #main {
        padding: 15px;
    }

    .section__body {
        padding: 10px;
    }

    /* テーブル項目名セル (th) を縮小＆フォント調整 */
    .table th {
        width: 30%;
        padding: 8px;
        font-size: 14px;
        word-break: break-word;
    }

    /* テーブル入力欄セル (td) の余白も縮小 */
    .table td {
        padding: 8px;
    }

    /* 入力欄のはみ出し防止 + box-sizing追加 */
    input[type=text],
    input[type=password],
    textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* ボタンボックスの余白 */
    .button_box {
        padding: 10px;
    text-align: center;   /* ★中央揃え */
    }
}