@charset "utf-8";

:root {
  --main-color: #f4636d;
  --sub-color: #fff5f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  font-size: 10px;
}

body {
  color: #444;
/*   background: #f2f2f2; */
  font-family: "メイリオ", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 1.4rem;
}

input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

img {
  border: 0;
  height: auto;
  line-height: 0;
  max-width: 100%;
  vertical-align: bottom;
}

a {
  outline: none;
  color: var(--main-color);
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

li {
  list-style: none;
}

.panel {
  vertical-align: top;
  display: inline-block;
}

.mpanel {
  vertical-align: middle;
  display: inline-block;
}

.kerning {
  letter-spacing: -0.5em;
}

.kerning *:not(.kerning) {
  letter-spacing: normal;
}

.flex {
  display: -o-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -webkit-box; /*--- Android4.3以前 ---*/
  display: -webkit-flex;
  display: flex;
}

.hide {
  display: none;
}

.caution {
  color: #777;
  margin: 4px 0 0;
  font-size: 90%;
}

.req {
  color: #fff;
  background-color: red;
  font-size: 80%;
  padding: 1px 4px;
  margin: 0 0 0 4px;
}

form dt {
  margin: 0 0 10px;
}

form h2 {
  margin: 0 0 20px;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
}

input[type=text],
input[type=password] {
  padding: 5px;
  border: 1px solid #cdcdcd;
}

input.long {
  width: 99%;
}

input.w100 {
  width: 100%;
}

textarea {
  width: calc(100% - 2px);
  min-height: 300px;
  border: 1px solid #cdcdcd;
  padding: 5px;
  resize: none;
}

table {
  width: 100%;
  margin: 20px 0;
  table-layout: fixed;
  border-collapse: collapse;
}

table th,
table td {
  padding: 8px;
  word-break: break-all;
  border: 1px solid #ddd;
}

.error {
  color: red;
  font-size: 85%;
  margin: 4px 0 0;
}

.required {
  color: red;
  font-size: 85%;
  margin: 0 0 0 4px;
  font-weight: normal;
}

.center {
  text-align: center;
}

.left {
  text-align: left!important;
}

.right {
  text-align: right;
}

.btn {
  text-align: center;
  margin: 20px 0 0;
}

.btn a.btn,
.btn [type=submit] {
  color: #fff;
  background-color: var(--main-color);
  display: inline-block;
  padding: 4px 12px;
  font-size: 95%;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -moz-user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn .reset {
  display: inline-block;
  margin: 10px 0 0;
  font-size: 90%;
  text-decoration: underline;
}

.btn .delete {
  margin: 10px 0 0;
}

.btn .delete a {
  font-size: 90%;
  text-decoration: underline;
  color: red;
}

.control_btns {
  text-align: right;
}

.back {
  text-align: center;
  margin: 30px 0 0;
}

.back a {
  font-size: 90%;
  text-decoration: underline;
}

.link {
  text-decoration: underline;
}

.nodata {
  text-align: center;
  margin: 30px 0;
}

/**
 * 共通部分
 */
header {
  background-color: #fff;
  padding: 8px 20px;
  border-bottom: solid 2px var(--main-color);
}

header .flex {
  justify-content: space-between;
  align-items: center;
}

header h1 {
  width: 25%;
}


header h1 img {
  width: 100%;
}

header .actions {
  width: 75%;
  text-align: right;
  padding: 6px 0;
}

header .actions p {
  margin: 4px 0;
}

header .actions p.signout a {
  color: #fff;
  background-color: var(--main-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 90%;
  display: inline-block;
}

header .navi  {
  text-align: left;
}

header .navi.admin  {
  margin-top: 1em;
}


header .navi a {
  margin-right: 1em;
}

#container {
  width: 100%;
  position: relative;
}

#navi {
  width: 210px;
  overflow: hidden;
  background: #222D32;
}

#navi nav {
  height: 100%;
  padding: 32px 0px 30px;
}

#navi ul {
  height: auto;
}

#navi li a {
  display: block;
  width: 185px;
  padding: 10px 0 10px 25px;
  margin: 0;
  line-height: normal;
  color: #B8C7CE;
}

.dashboard #navi li.dashboard,
.news #navi li.news,
.categories #navi li.categories,
.users #navi li.users,
#navi li:hover {
  background: #1A2226;
  text-decoration: none;
  color: #fff;
}

#navi li.hover a {
  color: #fff;
  display: block;
  height: 100%;
}

article {
  margin: 40px 0;
}

article h2 {
  border-left: solid 6px var(--main-color);
  padding: 0 0 0 10px;
}

article h2 + p {
  margin: 10px 0 0;
}

article .breadcrumbs {
  padding: 20px 0;
}

article .breadcrumbs ul li {
  display: inline-block;
  font-size: 90%;
  color: #777;
}

article .breadcrumbs ul li a {
  text-decoration: underline;
}

article .breadcrumbs ul li::after {
  content: '>';
  margin: 0 0 0 6px;
}

article .breadcrumbs ul li:last-child:after {
  content: '';
  margin: 0;
}


article .register_btns {
  text-align: right;
  padding: 20px 0;
}

article .register_btns a {
  color: var(--main-color);
  border: solid 1px var(--main-color);
  border-radius: 4px;
  padding: 4px 8px;
  display: inline-block;
}

article .search_area {
  border: solid 2px #ccc;
  border-radius: 4px;
  padding: 10px 14px;
  background-color: #fafafa;
}

article .search_area h3 {
  margin: 0 0 10px;
}

article .search_area form p {
  margin: 20px 0;
}

article .content .tabs {
  margin: 40px 0 0;
}

article .content .tabs a {
  background-color: #fafafa;
  border: solid 1px #ccc;
  padding: 8px 12px;
  margin: 0 10px 0 0;
  border-radius: 4px;
  display: inline-block;
}

article .content .tabs a.selected {
  color: #fff;
  background-color: #888;
  border: solid 1px #888;
}

article .content .index_table {
  margin: 20px 0;
}

article .content table {
  width: 90%;
  border-collapse: collapse;
  margin: 20px auto 0;
  border: 1px solid #D2D6DE;
  font-size: 0.9em;
}

article .content table th {
  background: #eee;
  font-weight: normal;
  vertical-align: middle;
  border: 1px solid #ddd;
  padding: 6px 6px;
}

article .content table th .sort {
  font-size: 90%;
}

article .content table th .sort.selected {
  color: #999;
}

article .content table td {
  clear: both;
  background: #fff;
  vertical-align: middle;
  border: 1px solid #ddd;
  padding: 8px 6px;
}

article .content table td .btn {
  margin: 0;
}

article .content table.register_table th {
  text-align: left;
  width: 20%;
}

article .content .done_txt {
  text-align: center;
  font-size: 150%;
  margin: 80px 0;
}

article .content .pagination {
  width: 100%;
  margin: 20px 0 0;
}

article .content .pagination {
  vertical-align: middle;
}

article .content .pagination {
  margin: 0;
  text-align: left;
  margin-top: 20px;
}

article .content .pagination a {
  color: #555;
  padding: 4px 10px;
  background-color: #ddd;
  border-radius: 5px;
  text-decoration: none;
}

article .content .pagination a.current {
  color: #fff;
  background-color: #000;
}

article .content .pagination a.prev,
article .content .pagination a.next {
  color: #555;
  background: none;
}

article #pdf_table {
  font-size: 120%;
}

article #pdf_table th,
article #pdf_table td {
  padding: 18px 14px;
}

article #pdf_table th:nth-child(1) {
  width: 70%;
}
article #pdf_table th:nth-child(2) {
  width: 30%;
}

article #pdf_table td:nth-child(2) {
  text-align: center;
}

article #pdf_table td:nth-child(2) a {
  color: red;
  text-decoration: none;
}

article #pdf_table td:nth-child(2) a i {
  font-size: 150%;
  margin: 0 0 0 6px;
}

footer {
  margin: 20px 0;
  text-align: center;
}

/**
 * .signin
 */
.signin {
  padding: 100px 0 0;
  background-color: #fff;
}

.signin .logo {
  width: 600px;
  margin: 0 auto 20px;
  text-align: center;
}

.signin .logo img {
  width: 60%;
}

.signin .logo img + p {
  margin: 20px 0 0;
  font-size: 140%;
  font-weight: bold;
}

.signin .logo p a {
  text-decoration: underline;
}

.signin form {
  width: 600px;
  margin: 0 auto 20px;
  background: var(--sub-color);
  padding: 20px;
}

.signin form dl {
  margin: 0 0 14px;
}

.signin form .store {
  text-align: center;
}

.signin .reminder {
  margin: 20px 0 0;
}

.signin .reminder a {
  color: red;
  font-size: 90%;
}

.signin.reminder .description {
  width: 600px;
  margin: 0 auto 20px;
}

/**
 * #admin
 */
#admin.signin .caution_txt {
  text-align: center;
  margin: 20px 0 0;
}

#admin.home .search {
  margin: 20px 0 0;
}

#admin.home .search form {
  border: solid 1px #ccc;
  padding: 4px 14px 14px;
  border-radius: 6px;
}

#admin.home .search form dt {
  margin: 14px 0 4px;
  border-bottom: solid 1px #eee;
}

#admin.home .search form dd {
  margin: 0 0 14px;
}

#admin.home article .content td .btn_box {
  display: inline-block;
}

#admin.home article .content td .btn_box:nth-child(2) {
  margin: 0 0 0 4%;
  text-align: left;
}


#admin.home article .content td .btn_box .btn {
  color: #000;
  padding: 6px 24px;
  background-color: orange;
  margin: 0 6px 0;
  border-radius: 4px;
  display: inline-block;
  border: solid 1px #000;
}

#admin.home article .content td .btn_box:nth-child(2) .btn {
  background-color: greenyellow;
}

#admin.home .invoice_items th:nth-child(1)  {
  width: 22%;
}

#admin.home .invoice_items th:nth-child(2)  {
  width: 22%;
}

#admin.home .invoice_items th:nth-child(3)  {
  width: 10%;
}

#admin.home .invoice_items th:nth-child(4)  {
  width: 16%;
}

#admin.home .invoice_items th:nth-child(5)  {
  width: 30%;
}


#admin.users form {
  margin: 20px auto 20px;
  background: var(--sub-color);
  padding: 20px;
}

#admin.users .items {
  margin: 0 0 40px;
}

#admin.users .code dl {
  margin: 0 0 14px;
}

#admin.users dl dt {
  font-weight: bold;
  font-size: 120%;
}

#admin.users .items .title {
  font-weight: bold;
  font-size: 120%;
  width: 25%;
  display: inline-block;
}

#admin.users .items .value {
  width: 70%;
  display: inline-block;
  margin: 0 0 0 4%;
  vertical-align: middle;
}

#admin.users .items.email .value li {
  margin: 10px 0;
}

#admin.users .items.email .value p {
  width: 40%;
  font-size: 110%;
  margin: 0 20px 0 0;
}

#admin.users form.code [type="submit"] {
  color: #fff;
  padding: 4px 14px;
  background-color: var(--main-color);
}

#admin.invoice form {
  margin: 20px auto 20px;
  background: var(--sub-color);
  padding: 20px;
}

#admin.invoice dl {
  margin: 0 0 14px;
}

#admin.invoice dl dt {
  font-weight: bold;
}

#admin.menu .item {
  margin-top: 4em;
  text-align: center;
}

#admin.menu .item a {
  display: inline-block;
  font-size: 240%;
  width: 20em;
  background-color: var(--sub-color);
  border: 6px solid var(--main-color);
  color:#000;
  padding: 0.3em 1em;
}

#admin.topics .new_button {
  color: #fff;
  background-color: green;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 90%;
  display: inline-block;
}

#admin.topics .button_wrapper {
  margin: 0 0 20px;
  font-size: 120%;
}

/* お知らせ 新規登録・編集 */

#admin.topics.list article th.edit {
  width: 10%;
}

#admin.topics.list article th.content {
  width: 40%;
}

#admin.topics.list article td.edit {
  text-align: center;
}

#admin.topics.list article td.edit a {
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--main-color);
}

#admin.topics.new article th {
  width: 20%;
  background-color: rgba(0, 69, 140, 0.1);
}

#admin.topics.new article .submit {
  justify-content: center;
}

#admin.topics.new article .submit .btn {
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: var(--main-color);
}

#admin.topics.new article .return_form  {
  margin: 32px 0 0;
  justify-content: center;
}

#admin.topics.new article .return_form input  {
  background-color: #fff;
  text-decoration: underline;
}

#admin.topics.new article .delete  {
  margin: 32px 0;
  text-align: center;
}

#admin.topics.new article .delete span {
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #ddd;
}


/**
 * #users
 */
#users.signin .caution_txt {
  text-align: center;
  margin: 20px 0 0;
}

#users.home article .content th {
  width: 20%;
}

#users.home article .topics  {
  max-height: 8em;
  margin-top: 20px;
  overflow-y: scroll;
  margin-bottom: 40px;
}

#users.home article .topics .topic {
  margin-top: 6px;
}

#users.home article .topics .date {
  width: 6em;
}

#users.home article .topics .new {
  width: 3em;
  color:red;
  text-align: center;
}

#users.home article .topics .detail {
  width: calc(99% - 6em - 3em);
}

#users.home .invoice_items th:nth-child(1)  {
  width: 22%;
}

#users.home .invoice_items th:nth-child(2)  {
  width: 16%;
}

#users.home .invoice_items th:nth-child(3)  {
  width: 20%;
}

#users.home .invoice_items th:nth-child(4)  {
  width: 42%;
}

#users.home article .content td .btn_box {
  display: inline-block;
}

#users.home article .content td .btn_box:nth-child(2) {
  margin: 0 0 0 4%;
  text-align: left;
}


#users.home article .content td .btn_box .btn {
  color: #000;
  padding: 6px 24px;
  background-color: orange;
  margin: 0 6px 0;
  border-radius: 4px;
  display: inline-block;
  border: solid 1px #000;
}

#users.home article .content td .btn_box.csv .btn {
  background-color: greenyellow;
}

#users.change_email form {
  margin: 20px auto 20px;
  background: var(--sub-color);
  padding: 20px;
}

#users.change_email dl {
  margin: 0 0 14px;
}

#users.change_email dl dt {
  font-weight: bold;
}

#users.policy .content {
  margin: 30px 0;
}

#users.policy .content .txt {
  text-indent: 1em;
}

#users.policy .content .ttl {
  margin: 3ex 0 0;
  font-size: 110%;
}

#users.questions .content {
  counter-reset: number 0;
}

#users.questions .content .list dl {
  margin: 30px 0 0;
  flex-wrap: wrap;
  display: -o-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

#users.questions .content .list dt:before,
#users.questions .content .list dd:before {
  color: #fff;
  text-indent: 0;
  font-weight: bold;
  margin-right: 0.5em;
  padding: 0.2em 0.6em;
  background: var(--main-color);
  display: inline-block;
  width: 50px;
  text-align: center;
  box-sizing: border-box;
}

#users.questions .content .list dt,
#users.questions .content .list dd {
  margin-left: 4.1em;
  text-indent: -4.1em;
  margin-bottom: 0.2em;
  word-break: break-all;
}

#users.questions .content .list dd span {
  color: red;
}

#users.questions .content .list dt:before {
  counter-increment: number 1;
  content: counter(number);
}

#users.questions .content .list dd:before {
  content: '回答';
  color: var(--main-color);
  border: solid 1px var(--main-color);
  background-color: #fff;
}

#users.questions .content form {
  margin: 40px 0 0;
  background: var(--sub-color);
  padding: 20px;
}

#users.questions .content form dl {
  margin: 0 0 14px;
}

#users.questions .content form dl dt {
  font-weight: bold;
}

#users.questions .content form dl dd [type=text] {
  width: 50%;
}

#users.questions.confirm .content .return_form {
  background: none;
  text-align: center;
}

#users.questions.confirm .content .return_form [type=submit] {
  background: none;
  text-decoration: underline;
}

#users.questions.confirm .content form dl dd {
  background: #fff;
  padding: 4px 8px;
}


/**
 * #user_mail_register
 */
#user_mail_register article td .long {
  width: 100%;
}

 #user_mail_register article th {
  width: 15%;
  background-color: rgba(0, 69, 140, 0.1);
  font-weight: bold;
  font-size: 110%;
}

#user_mail_register article .submit {
  justify-content: center;
}

#user_mail_register article .submit .btn {
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: var(--main-color);
}

#user_mail_register article .return_form {
  margin: 32px 0 0;
  justify-content: center;
}

#user_mail_register article .return_form input {
  background-color: #fff;
  text-decoration: underline;
}

#user_mail_register article .note.before_that {
  padding: 16px;
  background-color: rgb(239, 239, 239);
}

#user_mail_register article .note {
  width: 90%;
  margin: 32px auto;
}

#user_mail_register article .rules .link {
  margin: 0 0.5em 0 0;
  text-decoration: underline;
}