:root {
	--blue1: #06c;
	--blue2: #17d;
	--blue3: #def;
	--red1: #c00;
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	background-color: #eee;
}

body {
	font-family: '游ゴシック体', YuGothic, '游ゴシック regular', 'Yu Gothic Regular', '游ゴシック', 'Yu Gothic', sans-serif;
	font-size: 12pt;
	line-height: 1em;
	color: #333;
}

.center-table {
	display: table;
	width: 100%;
	height: 100vh
}

.center-cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.login-title {
	font-size: 13pt;
	color: var(--blue1);
	font-weight: 500;
	line-height: 1.25em;
}

.login-area {
	border-radius: 10px;
	background-color: #fff;
	width: 14em;
	margin: 1em auto;
	padding: 2em 1.75em 2em 1em;
	text-align: left;
	box-shadow: 0px 5px 10px 0px #aaa;
}

.login-form {
	margin-top: 0.25em;
	height: 25px;
	width: 100%;
	border:solid 1px #aaa;
	border-radius: 5px;
	padding-left: 0.5em;
}

.login-button {
        width; 100%;
        text-align: center;
        margin-top: 1.75em;
}

.login-button input[type="submit"] {
        appearance: none;
        -webkit-appearance: none;
        background-color: var(--blue1);
        color: #fff;
	letter-spacing: 0.75em;
        padding: 0.5em 2.25em 0.5em 3em;
        text-align: center;
        margin-left: auto;
        border-radius: 5px;
	border: solid 2px var(--blue1);
	cursor: pointer;
	width: 105%;
}

.login-button:hover input[type="submit"] {
	background-color: var(--blue2);
	border-color: var(--blue2);
}

.submit-button {
    background-image: url('delete.svg');
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer; /* カーソルをポインターに変更 */
    text-indent: -9999px;  /* 文字を非表示にする */
}

header {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--blue1);
	color: #fff;
	height: 3em;
	position: fixed;
}

.header-title {
	display: block;
	width: 900px;
	text-align: center;
	margin: 0 auto;
	padding: 0.5em;
	color: #fff;
	text-decoration: none;
}

.logout {
	width: 900px;
	text-align: right;
	margin: -2em auto 0 auto;
	padding: 0.5em;
	color: #fFff;
	font-size: 11pt;
}

.logout a {
	color: #fff;
	text-decoration:none;
}

.menu-center {
	width: 900px;
	margin: 0 auto;
	display: table;
}

.menu-center-cell {
	display: table-cell;
	width: 50%;
}

.menu-left {
	display: block;
	width: 140px;
	background-color: #fff;
	border:solid 5px var(--blue1);
	border-radius: 15px;
	color: var(--blue1);
	font-size: 16pt;
	font-weight: 600;
	padding: 1em;
	margin: 0 auto 0 50%;
	text-decoration: none;
}

.menu-left:hover, .menu-right:hover {
	background-color: var(--blue3);
}

.menu-right {
	display: block;
	width: 140px;
	background-color: #fff;
	border: solid 5px var(--blue1);
	border-radius: 15px;
	color: var(--blue1);
	font-size: 16pt;
	font-weight: 600;
	padding: 1em;
	margin: 0 50% 0 auto;
	text-decoration: none;
}

.menu-center-cell img {
	width: 120px;
	margin-bottom: 1em;
}

.user-title, .mail-title {
	width: 100%;
	background-color: #fff;
	color: var(--blue1);
}

.user-title-center, .mail-title-center {
	width: 900px;
	margin: 0 auto;
	text-align: center;
	font-size: 14pt;
}

.user-title-center img {
	height: 3em;
	margin: 0.5em;
	vertical-align: middle;
}

.back2main {
	width: 900px;
	margin: -2em auto 0 auto;
	padding: 0.5em;
	text-align: right;
	font-size: 11pt;
}

.back2main a{
	color: var(--blue1);
	text-decoration: none;
}

.header-user, .header-mail {
	width: 700px;
	margin: 0em auto 0.5em auto;
	display: table;
	font-size: 14pt;
	background-color:#eee;
	height: 3em;
}

.header-user-txt, .header-mail-txt {
	color: #333;
	display: table-cell;
	text-align: left;
	vertical-align: bottom;
}

.header-user-add, .header-mail-date {
	display: table-cell;
	text-align: right;
	font-size: 13pt;
	vertical-align: bottom;
}

.header-user-add a {
	color: var(--blue1);
}

.address-table {
	width: 700px;
	margin: 11.5em auto 2em auto;
}

ul.address-list, ul.mail-list {
	margin: 0;
	padding: 0;
}

ul.address-list > li, ul.mail-list > li {
	list-style: none;
	background-color: #fff;
	margin: 0;
	padding: 0;
	border-style: solid;
	border-width: 0px 1px 1px 1px;
	border-color: #888;
}

ul.address-list > li:first-child, ul.mail-list > li:first-child {
        border-width: 1px;
}

ul.address-list > li:nth-child(even), ul.mail-list > li:nth-child(even), ul.deferred-table > li:nth-child(even) {
	background-color: #eee;
}

ul.mailaddress {
	display: flex;
	width: 700px;
	margin: 0;
	padding: 0;
}

ul.mailaddress li {
	list-style: none;
	margin: 0;
	height: 2em;
	padding: 0.5em;
}

ul.mailaddress li:first-child {
	width: 90%;
	padding: 1em 0em 0em 1em;
}

ul.mailaddress img {
	height: 1.75em
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

.modal:target {
  display: flex;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: black;
  text-decoration: none;
  cursor: pointer;
  transform: translate(50%, -50%);
}

.modal-wrapper {
  position: relative;
  width: 80%;
  max-width: 500px;
  max-height: 70%;
  padding: 0;
  margin: auto;
  overflow: scroll;
  background-color: #fff;
  border-radius: 10px;
}

.modal-content {
	color: #333;
	text-align: center;
}

.add-title {
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: var(--blue1);
	padding: 0 0 0.75em 0;
}

.add-form {
	width: 400px;
	text-align: left;
	margin: 2em auto;
}

.input-address {
	width: 96%;
	padding: 0.5em;
	vertical-align: middle;
	margin-top: 0.25em;
}

.add-button-area {
	display: table;
	margin: 1.5em 0;
	width: 100%;
}

.button-cell {
	display: table-cell;
	width: 50%;
	text-align: center;
}

.button-cell a {
	display: block;
	text-align: center;
	width: 100px;
	background-color: #ccc;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	padding: 0.75em 1em;
	margin: 0 auto;
}

.button-cell a.rewrite {
	letter-spacing: 1.25em;
	text-indent: 1.25em;
}

input.add-button {
	text-align: center;
	width: 135px;
	background-color: var(--blue1);
	color: #fff;
	border: solid 1px var(--blue1);
	border-radius: 5px;
        padding: 0.5em 0;
	cursor: pointer;
	font-size: 12pt;
	letter-spacing: 1.5em;
	text-indent: 1.5em;
}

.add-check {
	text-align: center;
	line-height: 1.25em;
	margin-top: -0.25em;
	margin-bottom: -8px;
}

.button-cell a.addreturn {
        background-color: var(--blue1);
        letter-spacing: 1.25em;
        text-indent: 1.25em;
}

.del-title {
        border-style: solid;
        border-width: 0px 0px 1px 0px;
        border-color: var(--red1);
        padding: 0 0 0.75em 0;
}

.button-cell a.delreturn {
	background-color: var(--red1);
        letter-spacing: 1.25em;
        text-indent: 1.25em;
}

input.del-button {
        text-align: center;
        width: 135px;
        background-color: var(--red1);
        color: #fff;
        border: solid 1px var(--red1);
        border-radius: 5px;
        padding: 0.5em 0;
        cursor: pointer;
        font-size: 12pt;
        letter-spacing: 1.5em;
        text-indent: 1.5em;
}

.mail-title-center img {
        height: 3.5em;
        margin: 0 0.5em 0 0;
        vertical-align: middle;
}

.header-mail-date img {
	height: 1em;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 5px;
}

.header-mail-date a:visited {
	color: var(--blue1);
}

.mail-table {
	width: 700px;
	margin: 11em auto 2em auto;
}

ul.sendedmail {
        display: flex;
        width: 700px;
        margin: 0;
        padding: 0;
}

ul.sendedmail li {
        list-style: none;
        margin: 0;
        height: 1.25em;
        padding: 1em;
}

ul.sendedmail a {
	color: #333;
}

.mail-detail {
	width: 700px;
	margin: 7em auto 0 auto;
        text-align: left;
	color: #333;
	padding-top: 1em;
}

.mail-detail h3 {
	margin-top: 1.5em;
}

.mail-detail p {
	margin-top: -0.5em;
}

ul.deferred-title {
	display: flex;
	color: #fff;
	background-color: var(--blue1);
	margin: 0.5em 0 0 0;
	padding: 0;
}

ul.deferred-title li, ul.deferred li {
	list-style: none;
	padding: 0.75em 0.5em 0.5em 0.5em;
	width: 100%;
	text-align: center;
	height: 1.5em;
	line-height: 1.25em;
}


ul.deferred-table {
	margin: 0;
	padding: 0;
}

ul.deferred-table > li {
	list-style: none;
	background-color: #fff;
	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-color: #888;
	margin: 0;
	padding: 0;
	height: 2.5em;
	text-align: center;
	line-height: 2.5em;
}

.reason {
	font-size: 10.5pt;
	color: #777;
}

/*----------------------------
*  モーダルメール
*----------------------------*/
.mail{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.mail__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: fixed;
    width: 100%;
    left: 0;
}
.mail__content{
    background: #fff;
    left: 50%;
    padding: 0px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 900px;
    max-height: 550px;
    overflow: scroll;
    overflow-x: hidden;
}


