@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    font-size: 1rem;
    font-weight: normal;
}

ul.message {
	list-style-type: none;
}

.information {
    padding: 0.5em;
    border: 1px solid #003461;
    border-radius: 3px;
    animation: fade-in 1.5s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success {
    color: #299609;
    border-color: #299609;
}

.error {
    color: #ff0000;
    border-color: #ff0000;
}

html {
    font-size: 15px;
}

body {
    min-width: fit-content;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

body > header {
    line-height: 3rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    column-gap: 1rem;
    padding-right: 1rem;
    background-color: #003461;
}

body > header * {
    color: #ffffff;
}

body > header #logout button {
	text-decoration: underline;
	background-color: transparent;
	border: none;
	padding: 0;
}

header.unauthorized {
    height: 3rem;
}

header.logo img {
    width: min(15rem, 33%);
    margin-top: 0.5rem;
}

footer {
	display: flex;
	justify-content: center;
	margin: 1rem 0;
}

footer a {
	font-size: 0.9rem;
}

footer a:not(:last-child) {
	border-right: 1px solid #003461;
	text-align: right;
}

main {
    width: min(100rem, calc(100% - 2rem));
    margin: 0 auto;
}

h1 {
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #003461;
}

h1 img {
    margin-bottom: 0.5rem;
}

h1 * {
    font-size: 1.3rem;
}

h2 {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    border: 1px solid #003461;
    color: #003461;
}

h2 * {
    font-weight: bold;
}

h3 {
    padding: 0.5rem 0;
    color: #003461;
    font-weight: bold;
}

section {
    margin: 3rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

tbody tr {
    height: 3.5rem;
}

th, td {
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #d3d3d3;
}

th {
    border-bottom: 1px solid #003461;
    color: #003461;
}

button {
    padding: 0.2rem 1.5rem;
    background-color: #003461;
    border: 1px solid #003461;
    border-radius: 1rem;
    text-align: center;
    color: #ffffff;
    /* for user agent stylesheet */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

button:hover {
    background-color: #81a0a0;
    border-color: #81a0a0;
    cursor: pointer;
}

dialog {
    margin: auto;
    width: min(30rem, calc(100% - 2rem));
    border: 1px solid #d3d3d3;
    border-radius: 0.5rem;
    text-align: center;
}

dialog::backdrop{
    background-color: rgba(51, 51, 51, 0.5);
}

dialog form dl dd p {
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

dialog section.operation {
    margin: 2rem;
    display: flex;
    column-gap: 0.5rem;
    justify-content: flex-end;
}

dl.input {
    margin: 2rem;
}
 
dl.input dd {
    margin-bottom: 1rem;
}

dl.input dd input[type=text].zip-code-first {
	width: 3em;
}
dl.input dd input[type=text].zip-code-last {
	width: 4em;
}

dl.input input, dl.input select {
    width: 100%;
    height: 2rem;
    margin: 0.1rem 0;
    padding: 0.2rem;
}

dl.input dd.year-month {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

dl.input dd.year-month select {
    flex-grow: 1;
}

aside {
    margin: 0.5rem 0;
}

aside, aside * {
    font-size: 0.85rem;
}

aside ul {
    margin: 0.5rem 0;
    list-style: none;
}

#loading {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    min-width: 100%;
    height: auto;
    min-height: 100%;
    background: #000000;
    opacity: 0.2;
}

#loading p {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 60px;
    margin: -30px 0 0 -100px;
    padding: 1em;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 2em;
    color: #ffffff;
    background: url(/images/loading-a824f104be528630b206d6729b37c761.gif) no-repeat;
    background-position: center center;
}

.system-change-log {
    padding: 1rem;
    margin: 1rem 0;
    background-color: #F2F4FA;
    color: #003461;
    border-radius: 5px;
}

.system-change-log ul li {
    list-style-type: circle;
    list-style-position: inside;
}