@charset "UTF-8";

/* Global */

* {
  margin: 0;
  border: none;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  background-repeat: no-repeat;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "sans-serif";
/*  font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; */
  text-align: left;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
  text-rendering: optimizeLegibility;
}

a:visited,
a:link,
a:active {
  text-decoration: none;
}

pre,
code,
address,
caption,
th,
figcaption {
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
}

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

article,
aside,
footer,
header,
nav,
main,
section,
summary,
details,
hgroup,
figure,
figcaption {
  display: block;
}

audio,
canvas,
video,
progress {
  display: inline-block;
  vertical-align: baseline;
}

button {
  font: inherit;
  vertical-align: middle;
}

li {
  list-style: none;
}

@media print {

  body {
    color: #000
  }
  
  a,
  a:link,
  a:visited {
    color: #000;
    text-decoration: none;
  }
  
}

html {
  font-size: 62.5%;
}

body {
  background-color: #f2f2f2;
  font-size: 10px;
  color: #131415;
}

a img {
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

a img:hover {
  opacity: 0.5;
}

/* Header */

header {
  width: 100%;
  height: 68px;
  margin: 0 auto;
  background-color: #17181a;
}

#header-frame {
  position: relative;
  width: 1000px;
  height: 68px;
  margin: 0 auto;
  padding: 15px 0 10px 0;
}

#header-inside {
  display: table;
  width: 1000px;
  margin: 0 auto;
}

#header-inside h1,
#header-inside div {
  display: table-cell;
  vertical-align: text-bottom;
}

#header-inside h1 {
  width: 114px;
  padding-left: 30px;
}

#header-inside h1 a {
  font-size: 28px;
  font-weight: bold;
  color: #e0462f;
}

#header-inside h1 a:hover {
  color: #777;
}

.admin #header-inside h1 a {
  color: #08a8c8;
}

#sub-title {
  letter-spacing: 1px;
  color: #a3b7d3;
}

#sub-title span {
  color: #ffffff;
}

#client-name {
  padding-right: 30px;
  font-size: 14px;
  text-align: right;
  vertical-align: middle !important;
  color: #fff;
}

#logout {
  width: 150px;
  vertical-align: middle !important;
}

#menu {
  display: table-cell;
  width: 94px;
  vertical-align: top !important;
}

#menu-inside {
  position: relative;
  width: 94px;
}

/* Nav Menu */

.menu {
  display: block;
  position: absolute;
  top: 0px;
  right: 0;
  width: 90px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.menu#menu-close {
  display: none;
}

.menu-inside {
  position: relative;
  width: 90px;
  height: 90px;
  cursor: pointer;
}

.menu-inside span {
  position: absolute;
  left: 27px;
  width: 36px;
  height: 3px;
  border-radius: 1px;
  background-color: #fff;
}

.menu-inside span:nth-child(1) {
  top: 7px;
}

.menu-inside span:nth-child(2) {
  top: 18px;
}

.menu-inside span:nth-child(3) {
  top: 29px;
}

#menu-close span:nth-of-type(1) {
  top: 10px;
	-webkit-transform: translateY(5px) rotate(-45deg);
	transform: translateY(5px) rotate(-45deg);
}

#menu-close span:nth-of-type(2) {
  top: 21px;
	-webkit-transform: translateY(-5px) rotate(45deg);
	transform: translateY(-5px) rotate(45deg);
}

#menu-open {
  display: block;
}

/* Sub Menu */

#sub-menu {
  display: none;
  position: absolute;
  top: 68px;
  z-index: 2;
  width: 100%;
  background-color: #ccc;
}

#sub-menu a {
  display: block;
  width: 100%;
  border-bottom: 1px solid #fff;
  padding: 10px;
  font-size: 1.6rem;
  text-align: center;
  color: #131415;
}

#sub-menu a:hover {
  background-color: #333;
  color: #fff;
}

/* Main */

#main {
  position: relative;
  width: 1000px;
  margin: 0 auto;
  padding: 0 30px 60px 30px;;
}

h2 {
  margin: 50px 0 30px 0;
  font-size: 2rem;
  font-weight: bold;
  color: #e0462f;
}

h3 {
  margin: 0 0 30px 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.admin h2 {
  color: #08a8c8;
}

#lead {
  margin: 60px 0 60px 20px;
  font-size: 1.6rem;
  line-height: 3rem;
}

#lead em {
  display: inline-block;
  border: 3px solid #fff;
  padding: 10px 15px;
}

.message {
  padding: 5px;
  background-color: #09b60f;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.message+#lead {
  margin-top: 30px;
}

.error {
  padding: 5px;
  background-color: #da0a15;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

button[class="btn-primary"],
a.add,
a.delete,
a.button,
button[type="submit"] {
  padding: 12px 34px;
  background-color: #e0462f;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4rem;
  color: #fff;
  cursor: pointer;
}

button[class="btn-primary"],
.admin a.add,
.admin a.delete,
.admin a.button,
.admin button[type="submit"] {
  background-color: #08a8c8;
}

.admin button[name="btn-delete"] {
  background-color: #666;
}

button[class="btn-primary"]:hover,
a.add:hover,
a.delete:hover,
a.button:hover,
button[type="submit"]:hover {
  background-color: #777;
  color: #fff;
}

button[disabled="disabled"] {
  opacity: 0.7;
  cursor: default;
}

button[disabled="disabled"]:hover {
  background-color: #666 !important;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 1.4rem;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0px;
  appearance: none;
  padding: 10px 30px;
  font-size: 1.6rem;
  cursor: pointer;
}

#back-to-list a {
  font-size: 1.6rem;
  color: #08a8c8;
}

#back-to-list a:hover {
  color: #131415;
}

/* Back To Top */

#back-to-top {
  width: 940px;
  margin: 0 auto 40px auto;
}

#back-to-top a {
  padding: 12px 34px;
  background-color: #e0462f;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4rem;
  color: #fff;
  cursor: pointer;
}

.admin #back-to-top a {
  background-color: #08a8c8;
}

#back-to-top a:hover {
  background-color: #777;
  color: #fff;
}

/* Footer */

footer {
  width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #c8cdce;
  padding: 30px;
  text-align: center;
}

/* Index - Login Form */

#login-form {
  width: 100%;
  margin-bottom: 30px;
  border-bottom: 1px solid #c8cdce;
  padding-bottom: 30px;
}

.admin #login-form {
  margin-bottom: 120px;
  border-bottom: none;
}

#login-form-inside {
  display: table;
  width: 600px;
  margin: 0 auto;
}

.login-form-row {
  display: table-row;
}

.login-form-title {
  display: table-cell;
  width: 140px;
  padding: 10px 20px 10px 0;
  font-size: 1.4rem;
  vertical-align: middle;
}

.login-form-input {
  display: table-cell;
  padding: 15px 20px 15px 0;
  font-size: 1.4rem;
  vertical-align: middle;
}

/* Index - News */

#top-news {
  width: 100%;
  height: 250px;
  overflow-y: scroll;
  border: 5px solid #fff;
  padding: 15px 30px 15px 30px;
}

#top-news-inside {
  display: table;
  width: 100%;
}

.top-news-list {
  display: table-row;
}

.top-news-date {
  display: table-cell;
  width: 80px;
  border-bottom: 1px solid #fff;
  padding: 15px 30px 15px 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.top-news-title {
  display: table-cell;
  border-bottom: 1px solid #fff;
  padding: 15px 30px 15px 0;
  font-size: 1.2rem;
}

/* User - Top */

#user-top-frame {
  display: table;
  width: 100%;
}

#user-menu {
  display: table-cell;
  width: 50%;
  padding: 60px 30px 0 30px;
  vertical-align: top;
}

#nav-main a {
  display: block;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: bold;
  color: #131415;
}

#nav-main a:hover {
  color: #e0462f;
}

#user-news-frame {
  display: table-cell;
  width: 50%;
  vertical-align: top;
}

#user-news {
  width: 100%;
  height: 390px;
  overflow-y: scroll;
  border: 5px solid #fff;
  padding: 15px 30px 15px 30px;
}

#user-news-inside {
  display: table;
  width: 100%;
}

.user-news-list {
  display: table-row;
}

.user-news-date {
  display: table-cell;
  width: 80px;
  border-bottom: 1px solid #fff;
  padding: 15px 30px 15px 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.user-news-title {
  display: table-cell;
  border-bottom: 1px solid #fff;
  padding: 15px 30px 15px 0;
  font-size: 1.2rem;
}

/* File List */

#file-list {
  margin: 0 0 80px 20px;
}

#file-list.file-list-multi {
  margin-bottom: 60px;
}

#file-list a {
  display: block;
  margin-bottom: 40px;
  font-size: 1.6rem;
  text-decoration: underline;
  color: #131415;
}

#file-list a:hover {
  color: #e0462f;
}

/* FAQ */

#faq {
  margin: 0 0 60px 20px;
}

.faq-q {
  display: table;
  margin-bottom: 20px;
}

.faq-q div {
  display: table-cell;
  vertical-align: top;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 2.8rem; 
}

.faq-q div:nth-child(1) {
  width: 30px;
  color: #e0462f;
}

.faq-a {
  display: table;
  margin-bottom: 50px;
}

.faq-a div {
  display: table-cell;
  vertical-align: top;
  font-size: 1.6rem;
  line-height: 2.8rem; 
}

.faq-a div:nth-child(1) {
  width: 30px;
  font-weight: bold;
}

.faq-a div:nth-child(2) {
  color: #444444;
}

/* Contact */

#contact {
  margin: 0 0 60px 20px;
}

#contact form {
  display: table;
  width: 100%;
}

.contact-row {
  display: table-row;
}

.contact-row div {
  display: table-cell;
  font-size: 1.6rem;
  vertical-align: top;
}

.contact-row div:nth-child(1) {
  width: 150px;
  padding-bottom: 20px;
}

.contact-row div:nth-child(2) {
  padding-bottom: 20px;
}

#contact textarea {
  width: 100%;
  height: 200px;
  border: 1px solid #fff;
  padding: 10px;
  font-size: 1.4rem;
  line-height: 3rem;
}

#contact textarea.confirm {
  background-color: #eee;
}

/* My Page */

#mypage {
  margin: 0 0 120px 20px;
}

#mypage form {
  display: table;
  width: 80%;
  margin: 0 auto;
}

.mypage-row {
  display: table-row;
}

.mypage-row div {
  display: table-cell;
  font-size: 1.6rem;
  vertical-align: top;
}

.mypage-row div:nth-child(1) {
  width: 150px;
  padding-bottom: 20px;
}

.mypage-row div:nth-child(2) {
  padding-bottom: 20px;
}

/* Admin - Common Table */

.admin-table {
  margin: 60px 0 60px 20px;
}

.admin-table form {
  display: table;
  width: 100%;
}

.admin-table-row {
  display: table-row;
}

.admin-table-row div {
  display: table-cell;
  font-size: 1.6rem;
  vertical-align: top;
}

.admin-table-row div:nth-child(1) {
  width: 150px;
  padding-bottom: 20px;
}

.admin-table-row div:nth-child(2) {
  padding-bottom: 20px;
}

.admin-table textarea {
  width: 100%;
  height: 200px;
  border: 1px solid #fff;
  padding: 10px;
  font-size: 1.4rem;
  line-height: 3rem;
}

/* Admin - Common List */

#admin-list-add {
  position: relative;
  width: 100%;
  margin: 0 0 30px 20px;
  padding-top: 32px;
}

.admin-list {
  display: table;
  width: 100%;
  margin: 0 20px 30px 20px;
  border-top: 1px solid #ccc;
}

.admin-list-row {
  display: table-row;
}

.admin-list-row > div {
  display: table-cell;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 1.4rem;
}

.admin-list-row > div:nth-child(1) {
  width: 120px;
}

.admin-list-row > div:nth-child(2) {
  width: 120px;
}

.admin-list-row > div:nth-child(3) {
  width: 70px;
}

/* Admin - Client List */

#client-class-select {
  position: absolute;
  top: 0;
  right: 0;
  margin: 16px 0 0 0;
  padding: 7px 15px;
}

#client-list .admin-list-row div {
  vertical-align: middle;
}

#client-list .admin-list-row div:nth-child(3) {
  width: 120px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

#client-list .admin-list-row div:nth-child(4) {
  width: 200px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

#client-list .admin-list-row div:nth-child(5) {
  width: 120px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

#client-list .admin-list-row div:nth-child(6) {
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

#client-list .admin-list-row div:nth-child(7) {
  text-align: center;
}

/* Admin - Client Edit */

#client-edit .admin-table-row div {
  border-bottom: 1px solid #ccc;
  padding-top: 20px;
  vertical-align: middle;
}

#client-edit .admin-table-row div:nth-child(1) {
  width: 220px;
}

/* Admin - Resource */

#resource {
  margin: 60px 0 0 20px;
}

#resource form {
  margin-bottom: 30px;
}

#resource .admin-table-row div {
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
}

#resource .admin-table-row div:nth-child(1) {
  width: 180px;
  font-size: 1.4rem !important;
  font-weight: bold;
}

#resource .admin-table-row div:nth-child(2) {
  font-size: 1.3rem !important;
}

#resource .admin-table-row div:nth-child(3) {
  font-size: 1.3rem !important;
  text-align: right;
}

#resource .admin-table-row div:nth-child(4) {
  width: 115px;
  text-align: right;
}

#resource .admin-table-row div:nth-child(5) {
  width: 115px;
  text-align: right;
}

#resource .admin-table-row div:nth-child(4) button,
#resource .admin-table-row div:nth-child(5) button {
  margin-bottom: 10px;
}

#resource .admin-table-row div:nth-child(5) button {
  background-color: #666;
}

#resource .admin-table-row div:nth-child(5) button:hover {
  background-color: #777;
}

/* Admin - FAQ */

#faq textarea {
  height: 70px;
}

#faq .admin-table-row:nth-child(odd) > div {
  padding-bottom: 40px;
}

#faq .admin-table-row div:nth-child(1) {
  width: 70px;
  font-weight: bold;
}

#faq .admin-table-row div:nth-child(3) {
  width: 150px;
  padding-top: 5px;
  text-align: right;
}

/* Admin - Notice */

#notice-list .admin-list-row > div {
  vertical-align: middle;
}

#notice-list .admin-list-row > div:nth-child(3) {
  width: 105px;
}

#notice-list .admin-list-row > div:nth-child(4) {
  width: 80px;
}

/* Admin - News */

#news-list .admin-list-row > div {
  vertical-align: middle;
}

#news-list .admin-list-row > div:nth-child(3) {
  width: 105px;
}

/* Admin - Mail */

select[readonly],
input[readonly],
textarea[readonly] {
  border: 1px solid #fff;
  background-color: #eee;
}

/* Admin - Pager */

.pager {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.pager div,
.pager span {
  display: table-cell;
  padding: 10px;
}

.pager a,
.pager span {
  font-size: 1.3rem;
  vertical-align: top;
  color: #131415;
}

.pager a:hover {
  text-decoration: underline;
  color: #777;
}

.pager div:nth-of-type(1) {
  text-align: right;
}

.pager span {
  text-align: center;
}