/*
base：管理画面テンプレート
Author: Ryuya Takeshita
memo:サイドメニュー有りへのコンバート可能　レスポンシブ未対応
EasyUPよくあるご質問：L1180～
*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
form, label,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    /*line-height:1;*/
}

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

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

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

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}


/*---------------------------------------------------------------------------
基本スタイル（全体設定）
*/
html{
  position:relative;
  min-height:100%;
}

body{
  font-family: "Hiragino Maru Gothic W4 JIS2004", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size:14px;
  min-height: 100%;
  height: auto !important;
  height:100%;
  background-color: #FFF;
  color:#323232;
  -webkit-text-size-adjust: 100%; /*スマホ表示時のフォントサイズ制御*/
}

h1{
  font-size:22px;
  font-weight: bold;
}

h2{
  font-size:22px;
  font-weight: bold;
}

h3{
  font-size:20px;
  font-weight: bold;
}

h4{
  font-size:18px;
  font-weight: bold;
}

h5{
  font-size:16px;
  font-weight: bold;
}

h6{
  font-size:16px;
}

/*リスト*/
ul,ol{
  margin-left: 1em;
}


/*テーブル*/
table,th,td{
  border: solid 1px #323232;
}

th,td{
  padding: 5px 10px;
  box-sizing: border-box;
}

/*dl dt dd*/
dt{
  font-weight: bold;
}
/*コンテンツ表示領域の設定*/
#wrapper .inner{
  /*
  width:100%;
  max-width: 1080px;*/
  width: 1080px;/*ソリッドレイアウト*/
  margin: 0 auto;
}

#header{
  height: 80px;
  background-color: #262626;
}

#header .inner{
  position: relative;
  height: inherit;
}

#header .login_btn{
  display: block;
  position: absolute;
  right:10px;
  top:20px;
  line-height: 2em;
  width: 100px;
  font-size: 16px;
  font-weight: bold;
  background-color: #FBFBFB;
  border: #D09144 solid 1px;
  border-radius:3px 3px 3px 3px ;
  -moz-border-radius:3px 3px 3px 3px ;
  -webkit-border-radius:3px 3px 3px 3px ;
  transition-property:background-color,color;
  transition-duration: 0.3s;
}

#header .login_btn:hover{
  border: #FBFBFB solid 1px;
  background-color: #D09144;
  color: #252525;
}

#header .login_btn a{
  display: inline-block;
  color:inherit;
  text-decoration: none;
  height: inherit;
  width: 100%;
  padding:0 10px;
  box-sizing: border-box;
}

#header h1{
  position: absolute;
  bottom: 0;
  display: inline-block;
  /*width: 25%;*/
  /*height:60px;*/
  padding: 5px 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
  border-radius:4px 4px 0px 0px ;
  -moz-border-radius:4px 4px 0px 0px ;
  -webkit-border-radius:4px 4px 0px 0px ;
}

#header h1 img{
  width: auto;
  height: 100%;
}

#container{
  width:inherit;
}

/*float高さ算出*/
#container .inner:after{
  display: block;
  height:0;
  content: '.';
  visibility: hidden;
  clear: both;
}

#primary{
  display: block;
  width: 100%;
  float:right;
  margin-left: -25%;
}

#container .content_box,
#container .simple_msg_box{
  background-color: #EEEEEE;
  padding: 0px 0 0px;
  /* サイドが必要なら解禁*/
  /*margin-left: 28.8%;/*#primary .page_titleも同じ値を*/
  /*margin-left: calc(25% + 30px);/*#primary .page_titleも同じ値を*/
  margin-bottom: 60px;
  border-radius:2px 2px 2px 2px ;
  -moz-border-radius:2px 2px 2px 2px ;
  -webkit-border-radius:2px 2px 2px 2px ;
}

#container .content_box .post,
#container .simple_msg_box .post{
  padding: 40px 30px;
  box-sizing: border-box;
}

#secondary{
  width: 25%;
  float: right;
  background: #FBFBFB;
  padding: 10px;
  margin-top: 40px;
  box-sizing: border-box;
  border-radius:0px 0px 4px 4px ;
  -moz-border-radius:0px 0px 4px 4px ;
  -webkit-border-radius:0px 0px 4px 4px ;
}

#secondary > *:nth-child(1){
  margin-top: 15px;
}


/*追加項目があったらクリア*/
#secondary + *{
  clear: both;
}

#footer{
  bottom: 0;
  clear: both;
  left: 0;
  min-height: 3.5em;
  position: absolute;
  text-align: center;
  width: 100%;
  color: #FFF;
  background-color:#4C4C4C;
}


#footer p{
  height: inherit;
  line-height: 3.5em;
  vertical-align: middle;
}

/*フッターの最下位配置*/
#wrapper .wrap_upper{
  margin-bottom: 100px;
}

/*---------------------------------------------------------------------------
タイポグラフィー
*/

/*ページ用のタイトル*/
#primary .page_title{
  position: relative;
  color:#252525;
  margin: 40px auto 40px;
  /*margin-left: 28.8%;
  margin-left: calc(25% + 30px);*/
}

#primary .page_title:after{
  position: absolute;
  bottom:2px;
  display: block;
  width: 100%;
  height: 1px;
  content: '';
  background-color: #252525;
}

#primary .page_title span:nth-child(1){
  display: inline-block;
  border-bottom: solid #252525 3px;
  padding: 5px 0;
  min-width: 100px;
  margin-left: 10px;
}

/*ボックス見出し*/
#container .content_box h2.content_title{
  width: 100%;
  line-height: 2em;
  text-indent: 10px;
  font-size: 20px;
  background-color: #E05A90;
  color:#FBFBFB;
  border-radius:2px 2px 0px 0px ;
  -moz-border-radius:2px 2px 0px 0px ;
  -webkit-border-radius:2px 2px 0px 0px ;
}

#container .content_box:nth-of-type(even) .content_title{
  background-color: #146EA5;
}

/*content_box内のタイポグラフィー*/
.content_box .post{
  font-size: 15px;
}

.content_box .post h2{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-bottom: solid 1px;
  padding: 0px 10px;
  margin-bottom: 20px;
  line-height: 1.5em;
}

.content_box .post h2:before{
  position: absolute;
  top:5px;
  left: 0;
  display: inline-block;
  content: '';
  width: 0.3em;
  height: 1em;
  background-color: #323232;
  margin-right: 5px;
  margin-bottom: 20px;
}

.content_box .post h4{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-bottom: solid 1px;
  padding: 0px 10px;
  margin-bottom: 20px;
  line-height: 1.5em;
}


.content_box .post h3{
  position: relative;
  display: block;
  box-sizing: border-box;
  padding: 0 10px;
  line-height: 1.5em;
  margin-bottom: 20px;
  border-bottom: double 3px #323232;
}

.content_box .post h3:after{
  position: absolute;
  left: 0;
  bottom: -2px;
  content: '';
  display: inline-block;
  min-width: 60%;
  height: 1px;
  border-bottom: solid 2px #323232;
}

.content_box .post h5{
  position: relative;
  display: block;
  line-height: 1.5em;
  box-sizing: border-box;
  margin-left: 10px;
}

.content_box .post h5:before{
  position: absolute;
  top:5px;
  left: -10px;
  display: inline-block;
  content: '';
  width: 0.3em;
  height: 1em;
  background-color: #323232;
  margin-right: 5px;
  margin-bottom: 20px;
}

.content_box .post h6{
  margin-left: 10px;
  line-height: 1.5em;
}

.content_box .post p+h2,
.content_box .post p+h3,
.content_box .post p+h4,
.content_box .post p+h5,
.content_box .post p+h6{
  margin-top: 1em;
}

.content_box .post p{
  margin-top: 1em;
}

.content_box .post div,
.content_box .post ul,
.content_box .post dl,
.content_box .post ol,
.content_box .post table{
  margin-bottom: 20px;
}

.content_box .post img,
.simple_msg_box .post img{
  max-width: 100%;
  height: auto;
}



/*簡易メッセージ用*/
.simple_msg_box .post .msg{
  font-weight: bold;
  font-size: 16px;
}

.simple_msg_box .post .title{
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid #252525;
  margin-bottom: 15px;
}

.simple_msg_box .post .success{
  color: dodgerblue;
}

.simple_msg_box .post .error{
  color: #EE3232;
}

.simple_msg_box .post .caution{
  color: #DAA520;
}


/*---------------------------------------------------------------------------
組み込みモジュール
*/
.left{
  float:left;
}

.center{
  display: block;
  margin: 0 auto;
}

.right{
  float:right;
}

/*clearfix*/
.floatingbox_wrap:after{
  content: '.';
  height: 0px;
  visibility: hidden;
  clear: both;
}

.text_left{
  text-align: left;
}

.text_right{
  text-align: right;
}

.text_center{
  text-align: center;
}

.non_list{
  list-style: none;
  margin-left: 0;
  line-height: 1.5em;
}

.kome_list{
  list-style: none;
  margin-left: 0;
  text-indent: -1em;
  padding-left:1em;
}

.kome_list li:before{
  content: '※';
}

/*post用*/
.content_box .post .title{
  font-weight: bold;
  font-size: 15px;
  line-height: 1.5em;
}

.content_box .post .error_log{
  margin-top: 20px;
  background-color: #FFEEEE;
  border:solid 1px #FF7171;
  box-sizing: border-box;
  padding: 10px;
  color:#EE3232;
}

.content_box .post .error_log .title{
  border-bottom:dashed 2px #EE3232;
  font-weight: 600;
  line-height: 2.5em;
}

.content_box .post .error_log ol{
  margin-top: 10px;
  margin-bottom:0px;
  margin-left:0px;
  list-style-position: inside;
}

.content_box .post .error_log ul{
  margin-top: 10px;
  margin-bottom:0px;
}

.content_box .post .error_log ol li,
.content_box .post .error_log ul li{
  line-height: 2em;
}

/*
.content_box .post .error_log ol li:nth-of-type(even),
.content_box .post .error_log ul li:nth-of-type(even){
  background-color: #FFFAFA;
}
*/

/*---------------------------------------------------------------------------
グローバルメニュー
*/

.menu_title{
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

#global_menu{
  margin-left: 0px;
}

ul#global_menu li a{

  display: inline-block;
  width: 100%;
  padding:10px 0px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 16px;
  color:#4D4D4D;
  border-bottom: #E5E5E5 solid 1px;
  transition-property:background-color;
  transition-duration: 0.2s;
}

ul#global_menu li a:not(.child_menu):hover,
ul#global_menu .current{
  background-color:#E5E5E5;
  padding-left:1em;
  background-image: url(img/icon_arrow_bk.gif);
  background-repeat: no-repeat;
  background-position: 3px center;
}

ul#global_menu li:first-child a{
  border-top: #E5E5E5 solid 1px;
}

ul#global_menu li .child_menu{
  margin-left: 1em;
}

ul#global_menu .child_menu li:first-child a{
  border-top: none;
}

ul#global_menu .child_menu li a:hover,
ul#global_menu .child_menu li .current{
  background-color:#E5E5E5;
  padding-left:1.2em;
  background-image: url(img/icon_arrow_point.gif);
  background-repeat: no-repeat;
  background-position: 3px center;
}

/*---------------------------------------------------------------------------
フォーム系のスタイル
*/
/*入力項目の設定*/
/*改行落とし*/
form label{
  display: inline-block;
}
/*type="text"に関するスタイル*/
/*年月日*/
input.year{
  width: 5em;
}

input.month,
input.date{
  width: 3em;
}

/*郵便番号*/
* > input.zipcode:nth-of-type(1){
  width: 3em;
}

* > input.zipcode:nth-of-type(2){
  width: 4em;
}

/*電話番号*/
input.tel{
  width: 4em;
}

input.width_max{
  width: 90%;
}

input.width_middle{
  width: 50%;
}

/*テキストエリアの設定*/
textarea.width_max{
  width: 90%;
}

textarea.width_middle{
  width: 50%;
}

textarea.height_cssmax{
  height: 10em;
}

/*ボタン関連*/

.form_btn form{
  display: inline-block;
}

.form_btn input[type="submit"],
.form_btn input[type="button"],
.form_btn input[type="reset"]{
  background-color: #323232;
  border: 1px #FBFBFB solid;
  color:#FBFBFB;
  padding: 5px 20px;
  border-radius: 3px;
  cursor:pointer;
  font-weight: 600;
  transition-property: color,background-color;
  transition-duration: 0.2s;
}

.min_btn input[type="button"]{
  padding: 5px;
  width: 2em;
}

.form_btn input[type="submit"]:hover,
.form_btn input[type="button"]:hover,
.form_btn input[type="reset"]:hover{
  background-color: #FBFBFB;
  color:#323232;
  border: 1px #323232 solid;
}

/*検索用*/
.search_form input[type="text"],
.search_form input[type="search"]{
  padding: 5px;
}

.search_form input[type="submit"],
.search_form input[type="button"]{
  padding: 5px;
}

/*---------------------------------------------------------------------------
リンクのスタイル
*/
.link_btn a{
  display: inline-block;
  background-color: #323232;
  border: 1px #FBFBFB solid;
  color:#FBFBFB;
  line-height: 2em;
  padding: 0px 20px;
  border-radius: 3px;
  cursor:pointer;
  font-weight: 600;
  text-decoration: none;
  transition-property: color,background-color;
  transition-duration: 0.2s;
}

.link_btn a:hover{
  background-color: #FBFBFB;
  color:#323232;
  border: 1px #323232 solid;
}

/*ボタンリンク*/

/*---------------------------------------------------------------------------
テーブル系のスタイル
*/
/*基本テーブル*/
.basic_table{
  border-collapse:collapse;
  table-layout: fixed;
}

.basic_table caption{
  text-align: left;
  line-height: 2em;
  font-weight: bold;
}

.basic_table th{
  background-color: #DCDCDC;
}

.basic_table td,
.basic_table th{
  border:1px #676767 solid;
  padding:10px;
  box-sizing: border-box;
}

/*テーブル(フォーム)*/
table.doublecol_table{
  width: 100%;
  border: 0px none;
  border-collapse: separate;
  border-spacing: 0px 5px;
  background-color: #F1F1F1;
  table-layout: fixed;
}

table.doublecol_table td,
table.doublecol_table th{
  padding: 10px 10px;
  border: 0px none;
  border-top: 0px none;
  border-bottom: 0px none;
  vertical-align:text-bottom;
  background-color: #FBFBFB;
}

table.doublecol_table th{
  text-align: left;
  width: 25%;
  vertical-align: middle;
  border-right: 1px #CDCDCD solid;
}

table.doublecol_table td{
  padding:10px;
}

/*エラー出力時*/
table.doublecol_table .error th{
  border-right: 1px #FF7171 solid;
}

/*出力用テーブル　outpu_table*/
table.full_width{
  width: 100%;
}

/*リストタイプのテーブル*/
table.list_table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  border: 0 none;
  border-bottom: 2px solid #CDCDCD;
  table-layout: fixed;
}

table.list_table thead th{
  background-color: #CDCDCD;
}

table.list_table td,
table.list_table th{
  box-sizing: border-box;
  padding: 15px 10px;
}

table.list_table thead th{
  border: 0 none;
  border-left: 1px solid #989898;
}

table.list_table thead th:nth-of-type(1){
  border: 0 none;
}

/*偶数列*/
table.list_table tbody tr:nth-of-type(even){
  background-color: #EDEDED;
}

table.list_table tbody th,
table.list_table tbody td{
  border: 0 none;
  border-left: 2px solid #DDD;
}

/*error時*/
table.list_table tbody .error th,
table.list_table tbody .error td{
  border-left: 2px solid #FF7171;
}

table.list_table tbody th:nth-of-type(1),
table.list_table tbody td:nth-of-type(1){
  border: 0 none;
}

/*error出力のスタイル*/

.error th,
.error td{
  background-color: #EEBABA !important;
}

.error span.error_msg{
  display: block;
  color:#EE3232;
  line-height: 2em;
}

/*必須アイコンが必要な時のスタイル*/
.hissu {
  position: relative;
  padding-right: 3.5em !important;
}

.hissu .hissu_msg {;
  position: absolute;
  height: 1em;
  right:10px;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 5px;
  background-color: #EE3232;
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1em;
  vertical-align: middle;
  font-weight: bold;
}


/*list_tableのエラースタイル*/

/*---------------------------------------------------------------------------
テーブル系のスタイル
*/
.pager{
  display: block;
  text-align: center;
}

.pager span{
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 2em;
  line-height:2em;
  border: 1px solid #ababab;
  background-color: #ababab;
  color:#FBFBFB;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.pager span a{
  display: inline-block;
  width: inherit;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.pager span:hover,
.pager span.current{
  background-color: #676767;
}

/*------------------------------------------------------------------------------
メニューが無いレイアウト
*/
.login #header .inner{
  text-align: center;
  line-height: 70px;
  height: 70px;
  vertical-align:bottom;
}

.login #header .inner h1{
  /*打ち消しスタイル*/
  position: static;
  border-radius:0px;
    -moz-border-radius:0px;
    -webkit-border-radius:0px;
  background-color: transparent;
  /*適用スタイル*/
  display: inline-block;
  height:auto;
  width: 100%;
  height: inherit;
  padding: 5px 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
}

.login #primary,
.no_menu #primary{
  float:none;
  margin: 0;
}

.login #primary .content_box,
.no_menu #primary .content_box,
.no_menu #primary .simple_msg_box{
  margin: 0;
}

/*------------------------------------------------------------------------------
ページ固有のスタイル
*/
/*エラーページ*/
.no_menu #error_page .content_box{
  margin: -220px auto auto;
  position: absolute;
  width: 600px;
  height: 440px;
  top: 50%;
  left: 0;
  right: 0;
}

.no_menu #header h1{
  /*打ち消しスタイル*/
  position: static;
  border-radius:0px;
    -moz-border-radius:0px;
    -webkit-border-radius:0px;
  background-color: transparent;
  /*適用スタイル*/
  display: inline-block;
  height:auto;
  width: 100%;
  height: inherit;
  padding: 5px 10px;
  box-sizing: border-box;
  text-align: left;
  font-size: 20px;
}

#error_page h2{
  position: relative;
  margin:0;
  color:#323232;
  border-bottom: 0 none;
}

#error_page h2:after{
  position: absolute;
  left: 0px;
  bottom:2px;
  display: block;
  width: inherit;
  height: 1px;
  content: '';
  background-color: #323232;
}

#error_page h2 span:nth-child(1){
  display: inline-block;
  border-bottom: solid #323232 3px;
  padding: 5px 0;
  min-width: 100px;
  margin-left: 10px;
}

#error_page .post h2:before{
  display: none;
}

#error_page .error_msg{
  text-align: center;
}

#error_page .error_msg img{
  height: 200px;
  width: auto;
  vertical-align: middle;
}

#error_page .post > *:not(h2){
  margin: 30px;
}

/*ログインページ*/
.login #login{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  -ms-transform: translate(-50%, -50%); /* Safari用 */
  -webkit-transform: translate(-50%, -50%); /* Safari用 */
  transform: translate(-50%, -50%);
}

.login #login .login_err{
  height: 400px;
}

/*エラーメッセージ出力時*/

#login h2{
  position: relative;
  margin:0;
  color:#323232;
  border-bottom: 0 none;
}

#login h2:after{
  position: absolute;
  left: 0px;
  bottom:2px;
  display: block;
  width: inherit;
  height: 1px;
  content: '';
  background-color: #323232;
}

#login h2 span:nth-child(1){
  display: inline-block;
  border-bottom: solid #323232 3px;
  padding: 5px 0;
  min-width: 100px;
  margin-left: 10px;
}

#login .post h2:before{
  display: none;
}

#login .post .form_style{
  margin-top: 40px;
}


/*ポップアップページ*/
#popup #primary .content_box,
#popup #primary .simple_msg_box{
  margin-top:30px;
}

#popup #wrapper .inner{
  width:95%;
  max-width: 1080px;
}

/*------------------------------------------------------------------------------
ページ固有のスタイル
それぞれのページ毎に微調整を行いたい時追記していくスペース
tableレイアウトの幅に関してはHTML内のcol,colgroupを利用することを推奨
*/

/*EasyUPよくあるご質問*/
#easyup_faq .post h3:not(:first-child){
  margin-top: 50px;
}

#easyup_faq .post .question:before{
  display: inline-block;
  margin-right: 10px;
  counter-increment: question;
  content: 'Q'counter(question);
}

#easyup_faq{
  counter-reset:question;
}

#easyup_faq ul.link_list{
  list-style: none;
}

#easyup_faq ul.link_list li:before{
  counter-increment: question_list;
  content: 'Q'counter(question_list);
  display: inline-block;
  width: 2.5em;
}

#easyup_faq ul.link_list li{
  margin: 5px 0;
}

#easyup_faq .post{
  counter-reset:question_list;
}

#easyup_faq ul.link_list a{
  color: inherit;
}

#easyup_faq .attention{
  margin-top: 15px;
  background-color: #FFF;
  padding:5px 0;
}

#easyup_faq .attention *{
  margin-left: 1em;
}

#easyup_faq .contact_btn{
  font-size: 20px;
  margin-top: 30px;
}

#easyup_faq .contact_btn a[target="_blank"]{
  padding-right: 30px;
  line-height: 3em;
  background-image: url(img/icon_gaibu.png);
  background-repeat: no-repeat;
  background-position: calc(100% - 5px) 1em;
  text-align: left;
}

#easyup_faq .contact_btn a[target="_blank"]:hover{
  background-image: url(img/icon_gaibu_hover.png);
}

.link_btn .faq_index_btn,
.link_btn .faq_index_btn:hover{
  border:none;
}
