@charset "utf-8";

/* base */

html {
    padding: 0;
    font-size: 62.5%;
}

body {
    position: relative;
    font-family: '游ゴシック', 'Yu Gothic', '游ゴシック体', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #444;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5em;
    margin: 0;
}

h1 {
    position: relative;
    font-size: 2.3rem;
    text-align: center;
    margin: 0 0 20px;
}

h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 5px;
    background: #9eceff;
    border-radius: 3px;
}

a {
    color: #4682b4;
    text-decoration: none;
    outline: none;
    z-index: 300;
}

a:hover {
    color: #4682b4;
    transition-duration: 0.3s;
}

p {
    text-align: justify;
    margin: 25px 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    margin: 30px 0;
}

[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="reset"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
select,
textarea {
    border: solid thin #ccc;
    padding: 5px;
    margin: 5px 0;
    border-radius: 3px;
}

[type="submit"],
[type="button"] {
    display: inline-block;
    background-color: #6495ed;
    color: #fff;
    padding: 8px 25px 5px;
    border: solid 2px #6495ed;
    border-radius: 10px;
    cursor: pointer;
}

[type="submit"]:hover,
[type="button"]:hover {
    background-color: #fff;
    color: #6495ed;
}

small {
    font-size: 1.3rem;
}

.txt_l {
    text-align: left;
}

.txt_r {
    text-align: right;
}

.txt_c {
    text-align: center;
}

.in_block {
    display: inline-block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* contents */

main {
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
}

.co_box {
    padding: 5px 10px 5px 5px;
    flex-basis: 130px;
    flex-grow: 1;
}

.co_box:last-child {
    padding-right: 0;
}

.co_box_s {
    font-size: 1.3rem;
    padding: 10px;
    flex-basis: 80px;
    flex-grow: 1;
}

.wrap {
    position: relative;
    width: 100%;
    max-width: 1024px;
    padding: 0 20px 50px;
    margin: 0 auto;
}

.wrap_sp {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 20px 20px 50px;
    margin: 0 auto;
}

.red {
    color: red;
}

.btn_gray {
    background: #ccc;
    font-weight: bold;
    color: #333;
    padding: 4px 20px 3px;
    border-color: #ccc;
}

.btn_gray:hover {
    color: #ccc;
}

.user_name {
    position: relative;
    margin: 10px;
}

.user_name::before {
    content: url(img/human.svg);
    position: relative;
    top: 2px;
    width: 10px;
    height: 20px;
    margin: auto 5px;
}

/* mypage */

.cmdbtn_h,
.cmdbtn_k,
.cmdbtn_r,
.btn_move {
    width: 145px;
    font-size:1.2em;
    font-weight:900;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.cmdbtn_k {
    background: #808080;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    border-color: #808080;
}

.cmdbtn_k:hover {
    color:#808080;
    text-shadow: none;
}

.cmdbtn_h {
    background: #734E30;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    border-color: #734E30;
}

.cmdbtn_h:hover {
    color:#734E30;
    text-shadow: none;
}

.dtllist,
.rireki {
    width: 100%;
    font-size: 1.3rem;
    text-align: center;
    margin: 20px 0;
}

.dtllist td,
.dtllist th,
.rireki th,
.rireki td {
    padding: 2px 5px;
    border: solid thin #ccc;
}

.dtllist th {
    background: #b7dbff;
    padding: 2px 5px;
}

.rireki th {
    background: #eee;
    padding: 2px 5px;
}

/* input */

.area {
    padding: 10px 0;
    margin: 0 0 30px;
    border-top: solid thin #ccc;
    border-bottom: solid thin #ccc;
}

.tbl_child {
    margin: 0 0 20px;
}

.tbl_caption {
    color: #6495ed;
    font-weight: bold;
    line-height: 1em;
    padding: 5px;
    border-bottom: solid 3px #6495ed;
}

.tbl_val {
    padding: 5px;
}

.label_btn {
    display: inline-block;
    padding: 3px 7px 2px;
    margin: 2px 8px 2px 0;
    border: solid thin #ccc;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.label_btn:last-child {
    margin-right: 0;
}

.kintai_bi {
    display: block;
    margin-bottom: 10px;
}

.kintai_bi input {
    min-width: 12em;
    min-height: 2em;
}

.tbl_val table {
    width: 100%;
}

.tbl_val textarea {
    width: 100%;
    min-height: 2em;
}

@media screen and (max-width: 320px) {
    .wrap_sp {
        padding: 20px 15px 50px;
    }

    .cmdbtn_h,
    .cmdbtn_k,
    .cmdbtn_r {
        width: 125px;
    }
}