﻿/* ----------------------------------------------------
HTML
---------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, button, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html, body {
    min-height: 100%;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table input[type='text'] {
    height: 25px;
    width: 100%;
    border: 1px solid #ccc;
    padding-left: 10px;
    margin: 0;
    background-color: #FFF;
}

input[type='text'],
input[type='password'],
textarea {
    font-size: 16px;
}

input[type='text'],
input[type='password'],
input[type='submit'],
textarea,
button, textarea, select, option {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type='checkbox'],
input[type='radio'] {
    margin: 0px 5px 0px 0px;
    padding: 0;
    width: 20px;
    height: 20px;
}

input[type='checkbox'] + label,
input[type='radio'] + label {
   position: relative;
    cursor: pointer;
    top: -3px;
    bottom: 0;
}

input::-ms-clear {
    display: none;
}

input::-ms-reveal {
    display: none;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (man-width: 767px) {
    *:focus {
        outline: none;
    }
}
@media screen and (min-width: 768px) {
    *:focus {
        outline: 1px#0064a5 dashed;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

a, a:hover, a:visited, a:active, a:focus, a:focus-within {
    color: inherit;
}

h4 {
    font-size: 20px;
}

ul {
    list-style: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

main {
    display: block;
}

body {
    font-family: メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    font-weight: 400;
    color: #000000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
}

button,
input[type='submit'], 
.button {
    background: #0064a5;
    margin: 10px auto;
    padding: 2px 10px;
    min-width: 70px;
    height: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 16px;
    border-radius: 5px;
    /*text-shadow: 1px 1px #003a76;*/
    background-image: -ms-linear-gradient( top, #2084c5 0%, #1074b5 40%, #0064a5 52%, #1074b5 ); /*IE11*/
    background-image: -moz-linear-gradient( top, #2084c5 0%, #1074b5 40%, #0064a5 52%, #1074b5 ); /*FireFox*/
    background-image: -webkit-gradient( linear, left top, left bottom, from(#2084c5), color-stop(0.49,#1074b5), color-stop(0.52,#0064a5), to(#1074b5) ); /*Chrome*/
}

table tr td button,
table tr td input[type='submit'],
table tr td .button {
    margin: 0;
    padding: 1px 5px 1px 5px;
    min-width: 50px;
    height: 25px;
}


@media screen and (max-width: 767px) {
    button,
    input[type='submit'],
    .button {
        padding: 5px 10px;
        min-width: 100px;
        height: 35px;
        font-size: 18px;
    }
}

@media screen and (max-width: 320px) {
    button,
    input[type='submit'],
    .button {
        padding: 5px 10px;
        min-width: 80px;
        height: 35px;
        font-size: 18px;
    }
}

button:hover,
input[type='submit']:hover,
.button:hover {
    color: #FFFFFF;
}

button.blue,
input[type='submit'].blue,
.button.blue {
    width: 260px;
    height: 50px;
    font-size: 18px;
    box-shadow: 1px 1px 1px #003a76;
}

@media screen and (max-width: 767px) {
    button.blue,
    input[type='submit'].blue,
    .button.blue {
        width: 255px;
        height: 40px;
    }
}

input[type='text'], 
input[type='password'] {
    height: 40px;
    border: 1px solid #ccc;
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

textarea {
    border: 1px solid #ccc;
    padding: 5px;
}

input:placeholder-shown {
    color: #ccc;
}
input::-webkit-input-placeholder {
    color: #ccc;
}
input:-moz-placeholder {
    opacity: 1;
    color: #ccc;
}
input::-moz-placeholder {
    opacity: 1;
    color: #ccc;
}
input:-ms-input-placeholder {
    color: #ccc;
}
input:focus {
    text-align: left;
}
input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-ms-input-placeholder {
    color: transparent;
}
input:focus::-ms-input-placeholder {
    color: transparent;
}
input:focus::placeholder {
    color: transparent;
}


/* ----------------------------------------------------
Link
---------------------------------------------------- */

@media screen and (min-width: 768px) {
    .link:hover {
        opacity: 0.7;
    }

    button.link:hover {
        color: #bbdefb;
    }
}

a.underline {
    text-decoration: underline;
}

/* ----------------------------------------------------
Color
---------------------------------------------------- */
.color-primary {
    color: #0091d7;
}

.color-dark {
    color: #0064a5
}

.color-light {
    color: #5fc1ff;
}

/* ----------------------------------------------------
エラー
---------------------------------------------------- */
.font-red {
    color: #ec407a; /*#FF0000;*/
}

.bold {
    font-weight: bold;
}

.is_error {
    background-color: #ffc1e3; /*f9f2f2;*/
    border: 1px solid #ff77a9 !important;
}

.error_box {
    max-width: 880px;
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

/* ----------------------------------------------------
disabled
---------------------------------------------------- */
.disabled:not(tr) {
    background-color: #90a4ae !important;
    pointer-events: none;
    cursor: default !important;
    opacity: 1 !important;
    color: #fafafa !important;
    border-color: #90a4ae !important;
    background-image: none;
}

.disabled:not(tr):hover {
    color: #fafafa !important;
}

@media screen and (max-width: 767px) {
    select.disabled {
        background-color: #90a4ae !important;
    }
}

table tr.disabled {
    background-color: #eee !important;
    color: #666 !important;
}

/* ----------------------------------------------------
border
---------------------------------------------------- */
.border_solid {
    border: solid 1px #CCC;
}

/* ----------------------------------------------------
Table
---------------------------------------------------- */
/*テーブル全体の設定*/
table, tr, th, td {
    border-collapse: collapse;
}
/*テーブル行の設定*/
tbody tr {    
    background-color: #fff;
}
tbody tr.disabled {
    background-color: #eee !important;
    color: #666 !important;
}
tbody tr:nth-child(even) {
    background: #E3F2FD;
    /*opacity: 0.6;*/
}
/*テーブルヘッダーの設定*/
table tr th {
    background-color: #0064a5;
    color: #FFF;
    text-align: center;
    white-space: nowrap;
}
/*テーブルの罫線の設定*/
table tr th, 
table tr td {
    border: 1px #ccc solid;
    margin: 0px;
    padding: 5px;
    min-height: 34px;
}

/* ----------------------------------------------------
margin
---------------------------------------------------- */
.mt05 {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mt15 {
    margin-top: 15px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mt60 {
    margin-top: 60px !important;
}

.mr05 {
    margin-right: 5px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.mr30 {
    margin-right: 30px !important;
}

.mr40 {
    margin-right: 40px !important;
}

.mr50 {
    margin-right: 50px !important;
}

.mb05 {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

.ml05 {
    margin-left: 5px !important;
}

.ml10 {
    margin-left: 10px !important;
}

.ml15 {
    margin-left: 15px !important;
}

.ml20 {
    margin-left: 20px !important;
}

.ml30 {
    margin-left: 30px !important;
}

.ml40 {
    margin-left: 40px !important;
}

.ml50 {
    margin-left: 50px !important;
}

/* ----------------------------------------------------
padding
---------------------------------------------------- */
.pt05 {
    padding-top: 5px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pt30 {
    padding-top: 30px !important;
}

.pt40 {
    padding-top: 40px !important;
}

.pt50 {
    padding-top: 50px !important;
}

.pr05 {
    padding-right: 5px !important;
}

.pr10 {
    padding-right: 10px !important;
}

.pr20 {
    padding-right: 20px !important;
}

.pr30 {
    padding-right: 30px !important;
}

.pr40 {
    padding-right: 40px !important;
}

.pr50 {
    padding-right: 50px !important;
}

.pb05 {
    padding-bottom: 5px !important;
}

.pb10 {
    padding-bottom: 10px !important;
}

.pb20 {
    padding-bottom: 20px !important;
}

.pb30 {
    padding-bottom: 30px !important;
}

.pb40 {
    padding-bottom: 40px !important;
}

.pb50 {
    padding-bottom: 50px !important;
}

.pl05 {
    padding-left: 5px !important;
}

.pl10 {
    padding-left: 10px !important;
}

.pl20 {
    padding-left: 20px !important;
}

.pl30 {
    padding-left: 30px !important;
}

.pl40 {
    padding-left: 40px !important;
}

.pl50 {
    padding-left: 50px !important;
}

@media screen and (max-width: 320px) {
    /* ----------------------------------------------------
    margin
    ---------------------------------------------------- */
    .mt10 {
        margin-top: 5px !important;
    }
    .mr10 {
        margin-right: 5px !important;
    }
    .mb10 {
        margin-bottom: 5px !important;
    }
    .ml10 {
        margin-left: 5px !important;
    }

    /* ----------------------------------------------------
    padding
    ---------------------------------------------------- */
    .pt10 {
        padding-top: 5px !important;
    }
    .pr10 {
        padding-right: 5px !important;
    }
    .pb10 {
        padding-bottom: 5px !important;
    }
    .pl10 {
        padding-left: 5px !important;
    }
}



/*------------------------------------------------------------
Float Layout
------------------------------------------------------------*/

.float-right {
    margin: 0;
    float: right;
}

.float-left {
    margin: 0;
    float: left;
}

.float-wrapper {
    overflow: hidden;
}

.nowrap {
    white-space: nowrap;
}

.clearfix {
    display: block;
    clear: both;
    content: "";
}

/*------------------------------------------------------------
	画像遅延
------------------------------------------------------------*/
img.small.lazyload[src$="loading.gif"] {
    display: block;
    text-align: center;
    vertical-align: middle;
    margin: auto;
    width: 50px !important;
    max-width: 50px !important;
}

.large.lazyload[src$="loading.gif"] {
    /*display: block;*/
    /*text-align: center;
    vertical-align: middle;*/
    padding: 200px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}