* {
    box-sizing: border-box;
}

::-moz-selection { background: #eb6112; }
::selection { background: #eb6112; }

html {
    font-size: 62.5%;
    height: 100%;
}
body {
    height: 100%;
    background-color: #eb6112;
    color: white;
    font-size: 1.4rem;
}
html body {
    font-family: "メイリオ", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}
button, input, select, textarea {
    font-family : inherit;
    font-size   : 100%;
}
a {
    color: white;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.orange {
    color: #eb6112;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }

.header {
    margin: 0 auto;
    height: 48px;
    border-bottom: 2px solid white;
}
.header::after {
    content: "";
    clear: both;
}

.header img {
    float: left;
    display: inline-block;
    height: 40px;
}

.header-menu {
    float: right;
    padding: 15px 15px 0 0 ;
}
.container {
    /*margin: 0 auto;*/
    /*width: 780px;*/
    /*text-align: center;*/
    /*font-size: 1.4rem;*/
}
.login {
    display: table;
    width: 100%;
    height: 100%;
}
.login .container {
    display: table-cell;
    padding-top: 80px;
    text-align: center;
    font-size: 1.4rem;
    vertical-align: top;
}
.login .container .inner {
    margin: 0 auto;
    width: 815px;
}
.login .container .inner .logo {
    margin-bottom: 40px;
}

.header .container {
    margin: 0 auto;
    width: 940px;
    font-size: 1.4rem;
}

.main {
    padding: 40px 0 0 0;
}

.main .container {
    padding: 30px;
    margin: 0 auto;
    width: 940px;
    /*text-align: center;*/
    font-size: 1.4rem;
    color: black;
}

.main .bg-white {
    background-color: white;
}

.main .container a {
    /*color: #eb6112;*/
}
.main .container .pane {
    color: white;
}
.main .container .results {
    color: black;
}
.pane.hide {
    display: none;
}

.pane-search-panel.searched {
    display: none;
}

.pane-search-panel .box {
    padding: 45px;
    border: 1px solid white;
}

.results-container-header > div,
.results-container-header > button {
    display: inline-block;
    margin-right: 5px;
}

.results-container-header > div:first-child {
    padding-top: 10px;
}

.pane-header {
    margin-bottom: 15px;
}
.pane-header h2 {
    font-size: 1.6rem;
    font-weight: bold;
}

.pane-header--news h2 {
    display: inline-block;
}
.pane-header--news > div.text-right {
    float: right;
}

.pane.pane-search-options {
    margin: 0 0 50px 0;
}

.search-options-box {
    padding: 15px;
    margin: 0 0 15px 0;
    border: 1px solid white;
    line-height: 1.5;
}

.search-options-box > div {
    margin-bottom: 5px;
    font-weight: bold;
}

.main .container .content {
    padding: 30px;
    color: black;
    background-color: white;
}

.main .container .content--news-list {
    padding: 0 30px;
}

.content--news-list ul {
    list-style: none;
}

.content--news-list ul li {
    padding: 15px 15px 15px 15px;
   border-bottom: 1px dashed #C5C5C5;
}
.content--news-list ul li:last-child {
    border-color: transparent;
}

.news {
}
.news > a {
  display: flex;
}
.news > a > div:first-child {
    width: 95px;
}
.news > a > div:last-child {
    width: calc(100% - 95px);
}

.news .news-thumbnail {
    display: block;
    width: 70px;
    border: 1px solid #ccc;
}
.news .news-date {
    color: #eb6112;
    font-weight: bold;
    font-size: 13px;
}
.news .news-title {
    padding: 6px 0;
    font-weight: bold;
    font-size: 14px;
    color: black;
    word-wrap: break-word;
    line-height: 1.5;
}
.news p {
     color: black;
    word-wrap: break-word;
    line-height: 1.5;
 }

.admin-menu {
    margin: 0 auto;
    width: 780px;
}

.admin-menu ul {
    display: flex;
    list-style: none;
}

.admin-menu ul li {
    width: 33.33%;
    height: 40px;
}
.admin-menu ul li.current a:hover,
.admin-menu ul li.current a {
    background-color: white;
    color: #eb6112;
}
.admin-menu ul li a:hover {
    background-color: rgba(255,255,255,.15);
    color: inherit;
}
.admin-menu ul li a {
    display: block;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-right: 1px solid #eb6112;
    /*border-bottom: 1px solid #eb6112;*/
    /*background-color: transparent;*/
    background-color: rgba(255,255,255,.3);
    text-decoration: none;
}
.admin-menu ul li:last-child {
    width: 33.35%;
}
.admin-menu ul li:last-child a {
    border-right: none;
}

.results {
    position: relative;
    padding: 30px;
    background-color: white;
}
.lists {
    position: relative;
    background-color: white;
}
.lists a {
    color: #eb6112;
}

.results-action {
    text-align: right;
    color: black;
}
.results-action label {
    display: inline;
}

.page-title {
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    text-align: left;
    font-size: 1.6rem;
    color: #eb6112;
    border-bottom: 1px solid #eb6112;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #CCC;
    table-layout: auto;
    width: 100%;
    margin-bottom: 20px;
}

table th {
    color: #fff;
    background-color: #eb6112;
    vertical-align: middle;
}

table th, table td {
    padding: 6px 3px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    word-wrap: break-word;
    line-height: 1.5;
}

.table-detail {
    margin-bottom: 20px;
    border-color: transparent;
    border-color: #eb6112;
}

.table-detail th, .table-detail td {
    padding: 15px 10px;
    border-color: #eb6112;
    background-color: transparent;
}

.table-detail th {
    color: #eb6112;
    text-align: right;
    border-right: 1px solid #eb6112;
}
.table-detail td {
    text-align: left;
}


.media {
    position: relative;
    display: flex;
    padding: 15px 0;
    text-align: left;
    color: black;
    border-bottom: 1px dashed #B3B3B3;
}
.media-detail {
    position: relative;
    width: 85%;
}
.media-download {
    text-align: center;
    width: 15%;
    display: flex;
}
.media-download img {
    vertical-align: middle;
}
.media-download > div {
    width: 50%;
    text-align: center;
    padding-top: 50px;
}
.media-download > div:first-child {
    text-align: right;
}
.media-download label {
    position: relative;
    top: 0;
    text-align: right;
}
.media .media-title {
    margin-bottom: 10px;
    color: #eb6112;
    font-weight: bold;
    font-size: 1.4rem;
}

.media .media-desc {
    line-height: 1.5;
}

.media .media-cat {
    margin-bottom: 10px;
    color: #eb6112;
    font-weight: bold;
}

.media .date {
    position: absolute;
    top: 0;
    right: 0;
    color: #eb6112;
    font-size: 1rem;
}

.media .number {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1rem;
}

.button,
button {
    display: inline-block;
    margin-bottom: 15px;
    min-width: 260px;
    min-height: 30px;
    padding: 0 6px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    border: 1px solid #eb6112;
    background-color: #eb6112;
    border: 1px solid #eb6112;
    color: white !important;
    font-weight: bold;
    font-size: 14px;
    line-height: 30px;
    box-shadow: 0px 0px 3px rgba(0,0,0,.1);
    text-align: center;
    vertical-align: top;
}
.button:hover,
button:hover {
    background-color: #FDD3C1;
    border-color: #F7BEA0;
    color: #eb6112 !important;
    text-decoration: none;
    cursor: pointer;
}

.button-secondary {
    background-color: #FDD3C1;
    border-color: #F7BEA0;
    color: black !important;
}

.button-secondary:hover {
    background-color: #eb6112;
    border-color: #F7BEA0;
    color: white !important;
    text-decoration: none;
    cursor: pointer;
}

.button.inline,
button.inline {
    display: inline-block;
    min-width: inherit;
}

.delete-button {
    display: inline-block;
    width: auto;
    min-width: inherit;
    background-color: white;
    color: #666 !important;
    border: 1px solid #ddd;
}
/**
 * フォーム関連
 */

.form-group {
    display: block;
    margin-bottom: 30px;
    text-align: left;
}
.form-group-parent {
    display: flex;
}
/*.form-group-parent::after {*/
/*    content: "";*/
/*    flex: 0 0 10px;*/
/*}*/

.form-group-parent .form-group {
    /*margin-left: 10px;*/
    width: 33.33%;
}
.form-group-parent .form-group {
    margin-left: 10px;
}
.form-group-parent .form-group:first-child {
    margin-left: 0;
}

.form-group-parent[data-content="2"] .form-group {
    /*padding: 0 10px;*/
    /*margin-left: 10px;*/
    width: 50%;
}

.form-group-name {
    /*margin-bottom: 20px;*/
}

.label,
label {
    display: block;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
}
label.checkbox {
    display: block;
    font-weight: normal;
    text-align: left;
}
label.checkbox input {
    width: auto;
}
input[type=text] {
    padding: 3px;
    font-size: 1.4rem;
    width: 80%;
    /*border-color: #bbbbbb;*/
    /*border-width: 1px;*/
}
input[name=title],
input[name=name] {
    font-size: 2.4rem;
    width: 100%;
}
input::placeholder {
    color: #ccc;
}

/* IE */
input:-ms-input-placeholder {
    color: #ccc;
}

/* Edge */
input::-ms-input-placeholder {
    color: #ccc;
}
textarea {
    padding: 5px;
    width: 100%;
    min-height: 60px;
    resize: none;
    resize: vertical;
}
.select-wrap {
    position: relative;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    background: #ffffff;
}
.select-wrap::before {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #DB692F;
    pointer-events: none;
}
.select-wrap select {
    width: 100%;
    padding-right: 1em;
    cursor: pointer;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.select-wrap select::-ms-expand {
    display: none;
}

.select-wrap select {
    padding: 5px 38px 5px 5px;
    color: #666666;
}
select[multiple] {
    width: 100%;
    height: 160px;
    font-size: 1.4rem;
}
select option {
    padding: 3px;
}
select[multiple]:focus option:checked {
    background-color: #eb6112;
}

.help {
    font-size: 1.2rem;
    color: #222;
}

.form-split label {
    display: inline-block;
    width: 18%;
    text-align: right;
}
.form-split input {

}
.require {
    display: inline-block;
    padding: 3px 6px;
    color: white;
    font-size: 12px;
    background-color: #eb6112;
    border-radius: 3px;
}

.media-filename {
    display: inline-block;
    padding-right: 30px;
}


.master-list {
    /*max-height: 400px;*/
    /*overflow-y: scroll;*/
    list-style: none;
    border: 1px solid #ccc;
}

.master-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
}
.master-list li:last-child {
    border-bottom: none;
}
.master-list li.current,
.master-list li:hover {
    cursor: pointer;
    background-color: #efefef;
}

.master-list li input.order {
    width: 30px;
    text-align: center;
}

/* Alerts */
.alert {
    background-color: #eee;
    color: #000;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    opacity: 1;
    transition: opacity 0.4s;
    text-align: left;
}
.alert img {
    vertical-align: middle;
}

.badge {

}

.badge {
    padding: 3px 6px;
    border: 1px solid #eb6112;
    cursor: pointer;
}
.badge:hover {
    background-color: #eb6112;
    color: white !important;
    text-decoration: none;
}

.badge-primary{
    border: 1px solid #eb6112;
    background-color: #eb6112;
    color: white !important;
    cursor: pointer;
}
.badge-primary:hover {
    background-color: white;
    color: #eb6112 !important;
}
.paginate {
    padding: 15px 0;
}

.pages {
    display: inline-block;
}
.paginate .prev ,
.paginate .next {
    display: inline-block;
    padding: 2px 12px;
    border: 1px solid #8D6048;
    background-color: #FDD3C1;
    color: #8D6048;
}
.paginate .prev {}
.paginate .next {}
.pagination {
    display: inline-block;
}

.pagination li {
    color: black;
    float: left;

}

.pagination li a {
    display: block;
    padding: 8px 16px;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.pagination li a:hover,
.pagination li.active a {
    background-color: #eb5c29;
    color: white;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 40px 0;
    width: 100%;
    text-align: center;
}
.footer.clear {
    position: static;
}

.copy-right {
    font-size: 1.2rem;
}