/*フォントサイズなど指定　（10px=1rem）*/
html {font-size: 62.5%;position: relative; min-height: 100%;}
body {font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;font-weight: 500;font-size: 14px; font-size: 1.4rem;margin-bottom: 155px;padding-bottom: 0;}

li {font-size: 14px; font-size: 1.4rem;}

/*Radio Check*/
label.radio, label.radio_text, label.checkbox, label.checkbox_text {
  position      : relative;
  cursor        : pointer;
  display       : inline-block;
  overflow      : hidden;
  box-sizing    : border-box;
}
label.radio {
  width         : 18px;
  height        : 18px;
  border        : 1px solid #666666;
  border-radius : 100%;
}
label.radio_text {
  min-height   : calc(18px + 5px);
  margin-right : calc(18px + 5px);
  padding-left : calc(18px + 5px);
  line-height  : calc(18px + 5px);
}
label.checkbox {
  width      : 20px;
  height     : 20px;
  border     : 1px solid #B3B3B3;
  background : #fff;
}
label.checkbox_text {
  padding-left : calc(20px + 5px);
  line-height  : 20px;
}
/** before after **/
label.radio:before, label.radio_text:before, label.checkbox_text:before,
label.checkbox:after, label.radio_text:after, label.checkbox_text:after{
  content  : '';
  position : absolute;
  box-sizing : border-box;
}
label.radio:before, label.radio_text:before{
  border-radius    : 100%;
}
label.radio:before, label.checkbox:after{
  top              : 0px;
  bottom           : 0px;
  left             : 0px;
  right            : 0px;
  margin           : auto;
}
label.checkbox:after, label.checkbox_text:after{
  transform         : rotate(45deg);
  -webkit-transform : rotate(45deg);
  -moz-transform    : rotate(45deg);
  border-right      : 3px solid #ED7600;
  border-bottom     : 3px solid #ED7600;
  top               : calc(50% - (((17px / 12 ) * 5) / 2));
  display           : block;
  margin-top        : calc(((17px / 12 ) * 5) * -1);
  width             : calc(((17px / 12 ) * 5));
  height            : 17px;
  z-index           : 1;
}
label.radio_text:before, label.radio_text:after{
  top              : 0px;
  bottom           : 0px;
  margin-top       : auto;
  margin-bottom    : auto;
}
label.radio:before {
  display          : block;
  width            : 10px;
  height           : 10px;
  z-index          : 1;
  background-color : #ED7600; 
}
label.radio_text:before {
  width         : 18px;
  height        : 18px;
  border        : 1px solid #666666;
  left          : 0px;
  z-index       : 3;
}
label.checkbox_text:before {
  width    : 20px;
  height   : 20px;
  left     : 0px;
  top      : 0;
  border   : 1px solid #B3B3B3;
  z-index  : 3;
  box-sizing: border-box;
}
label.radio_text:after {
  width            : 10px;
  height           : 10px;
  border-radius    : 100%;
  left             : calc(((18px/2) - (10px) / 2));
  background-color : #ED7600;
  z-index          : 1;
}
label.checkbox_text:after {
  left : calc((20px / 2) - (((17px / 12 ) * 5) / 2));
}
/** input **/
label.radio input[type="radio"], label.radio_text input[type="radio"], label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
  -moz-appearance: none;
  -webkit-appearance: none;
  position   : absolute;
  z-index    : 2;
  margin     : 0px;
  width      : 20px;
  height     : 20px;
  box-sizing    : border-box;
  outline       : none;
}
label.radio input[type="radio"], label.radio_text input[type="radio"]{
  left       : calc(18px * -1);
  width      : 18px;
  height     : 18px;
  top           : 0px;
  bottom        : 0px;
  margin-top    : auto;
  margin-bottom : auto;
  border-radius : 100%;
}
label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
  left       : calc(20px * -1);
  padding    : 0;
}
label.radio input[type="radio"] {
  display    : block;
  box-shadow : 18px 0px #FFF;
}
label.radio_text input[type="radio"] {
  box-shadow : 18px 0px #FFF;
}
label.checkbox input[type="checkbox"] {
  box-shadow : 20px 0px #FFF;
}
label.checkbox_text input[type="checkbox"] {
  display    : block;
  box-shadow : 20px 0px #FFF;
}
/** checked forcus */
label.checkbox_text input[type="checkbox"]:checked,
label.checkbox input[type="checkbox"]:checked,
label.radio_text input[type="radio"]:checked,
label.radio input[type="radio"]:checked{
  box-shadow : none;
}
label.checkbox_text input[type="checkbox"]:checked:focus,
label.checkbox input[type="checkbox"]:checked:focus{
  opacity: 0.1;
}
label.radio_text input[type="radio"]:focus,
label.radio input[type="radio"]:focus{
  opacity: 0.2;
}

label.checkbox_text input[type="checkbox"]:checked:focus {
  box-shadow : 20px 0px #666;
}
label.checkbox_text input[type="checkbox"]:focus {
  box-shadow : 20px 0px #EEE;
}
label.checkbox input[type="checkbox"]:checked:focus {
  box-shadow : 20px 0px #666;
}
label.checkbox input[type="checkbox"]:focus {
  box-shadow : 20px 0px #EEE;
}
label.radio_text input[type="radio"]:focus {
  box-shadow : 18px 0px #FFF;
}
label.radio input[type="radio"]:focus {
  box-shadow : 18px 0px #FFF;
}

.header_area {display: flex;align-items: baseline;}
.header_area img{height: 30px; vertical-align:-0.2rem;}
.header_area span{font-size: 8px; padding-left: .6rem;}

/* 見出し */
h2{border-left: 4px solid #ED7600;padding: 12px 16px;}
h3 {font-size: 1.8rem;border-left: 4px solid #FBE5D6;padding:12px 16px;}
.new_arrivals h2{display: flex; align-items: center; justify-content: space-between;}
.new_arrivals .h2_link a {text-decoration: none;}
.new_arrivals .h2_link_btn {background-color: #fff;color: #333;font-size: 1rem;text-decoration: none;padding: 0.8rem;}
.new_arrivals .h2_link a:hover {background-color: #ED7600;color: #fff;}

.order_h3 {border: none;font-weight: bold; margin-top: 0; margin-bottom: 0;}
.order_h3 span {display: inline-block;margin: 0 10px 0 0;padding: 4px 10px;color: #fff;background: #ED7600;border-radius: 100%;}

.note-editor {margin-bottom: 2rem;}
.note-editor h2{background: none;color: #000;border: none; font-size: 2.6rem; border-bottom: 2px solid #ED7600;padding:0 10px;}
.list_box_txt h2{background: none;color: #000;border: none;}

/*well置き換え*/
.well {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #f8f9fa!important;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
}
/*v4→v3置き換え*/
.d-flex{display: flex;}
.flex-column {flex-direction: column;}
.flex-row {flex-direction: row;}
.justify-content-end {justify-content: flex-end;}
.w-25 {width: 25%;}
.w-75 {width: 75%;}

.row-eq-height{display: flex;flex-wrap: wrap;}

/* TOP 注目の資料 */
.top_attention_box {background-color: #FBE5D6;border-radius: 3px;}
.top_attention_box > span {
  display: inline-block;width: 16rem; text-align: center;height: 3rem;line-height: 3rem;padding:0 2rem; color: #FFF; background-color: #ED7D31; font-size: 1.4rem;border-top-left-radius:3px;
}
.attention_title {font-size: 1.6rem; padding: 1rem 2rem 0;}
.attention_txt {font-size:1.4rem;margin-bottom: 1rem;}
.top_attention_box a {color: #323232;text-decoration: none;}
.top_attention_box a:hover {color: #DE6B6D;}
.top_attention_box img {width: 100%;object-fit: cover;}

/* 資料掲載希望box */
.intro_box {position: relative;width: 100%;border-radius: 5px;background-image: url( ../img/brochure.jpg);}
.intro_box_inner {display: flex;flex-direction: column;justify-content: center;height: 100%; padding: 1rem 1rem 0.5rem;background-color: rgba(255,255,255, 0.7);}
.intro_lead {font-size: 2rem;text-align: center;}
.intro_link {position: absolute;bottom:1rem;right:1rem;color:#000;font-size: 1rem;}

/* 右カラム白box */
.r_col_box {border: solid 1px #DDD;border-radius: 3px; padding: 1.4rem;margin-bottom: 20px;}
.r_col_box p {font-size: 1.6rem;}
.r-col_box_inner {display: flex;flex-direction: row;align-items: flex-start;margin-bottom: 1.5rem;}

/* 右カラムランキング */
.ranking{counter-reset: post-ranking;}
.list {display:flex;position:relative; border-bottom: 1px solid #e9e9e9;margin-bottom: 1rem;padding-bottom:1rem;}
.list:last-child {border:none;margin-bottom:0;padding-bottom:0;}
.list p {margin: 0;}

.list::after{
  position: absolute;
  top: calc( 50% - 1rem);
  /*top: 50%;*/
  right: 0;
  display: block;
  content: '';
  width: .8rem;
  height: .8rem;
  border-top: 2px solid #FFD0A2;
  border-right: 2px solid #FFD0A2;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.ranking .list::before{
  position:absolute;
  top:-5px;
  left:-5px;
  font-size: 1.4rem;
  line-height: 2;
  content: counter(post-ranking, decimal);
  counter-increment: post-ranking;
  width:2.8rem;
  height:2.8rem;
  border:1px solid #fff;
  border-radius:50%;
  text-align:center;
  background:#222;
  color:#fff;
}
.lcell {width:60px;}
.lcell img {width:60px;height:60px;object-fit:cover;}
.ranking .list:nth-child(1):before {background: #fa0;}
.ranking .list:nth-child(2):before {background: #bbb;}
.ranking .list:nth-child(3):before {background: #930;}
.ranking a {text-decoration: none;color: #000;}

/*FBプラグインリサイズ用*/
.facebook-wrapper {
    max-width: 500px;
    margin: 0 auto;
}
.facebook-wrapper > .fb-page {
    width: 100%;
}
.facebook-wrapper > .fb-page > span,
.facebook-wrapper iframe {
    width: 100% !important;
}
/* アイキャッチ画像　内接リサイズ */
.contain_img {
  display: inline-block;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 5px auto;
  width: 100%;
  height: 190px;
  background-size: contain;
}

/* 資料ダウンロード見出しと概要 */
.summary_box{padding: 0;margin: 0;}
.summary_box h1 {font-size: 2rem; margin: 0;font-weight: bold;padding-left:15px;padding-right: 15px;}
.summary_txt {max-height:10rem;overflow: auto;}
.summary_box p {font-size: 1.8rem;padding-left:15px;padding-right: 15px;}
.company_name {font-size: 1rem; color: #ED7600;}
.company_name a {font-size: 1rem; color: #ED7600;}


/* フォーム要素 */
.form_headline h2{background-color: #ED7600;color: #FFF; text-align: center; font-size: 1.8rem; padding: 0.5em 0; margin-top: 0;}
.dl_form , .enq_form {margin-bottom: 40px;}
.dl_form .form-group span ,.enq_form .form-group span {vertical-align: middle;}
.dl_form label {display: flex;justify-content: flex-start;align-items: center;}
.dl_form .label {margin-left: 5px;}
.dl_form .form-check label {display: inline-block;padding-top: 7px;font-weight: normal;}


.enq_form label {margin-bottom: 0;}
.enq_form .form-group { padding: 2rem; margin: 0;}
.enq_form .form-group:nth-child(2n+1) { background-color: aliceblue;}
.enq_form .form-group:nth-last-child(2) {margin-bottom: 20px;}

.agree_box{text-align: center;font-size: 1rem; margin-top: 1em; margin-bottom: 10px;}
input.btn_cv {display: block; font-size: 1.4rem; background-color: #ED7600;color: #FFFFFF; border: none; box-shadow: 0 3px #994d00; padding: 10px;margin: 0 auto 10px; font-weight: bold;}
input.btn_cv:hover {background-color: #f79000; color: #FFFFFF;}
input.btn_cv:active {background-color: #994d00;box-shadow: 0 3px #994d00;}

/* リンクボタン */
.btn_cv {display: block; font-size: 1.8rem; background-color: #ED7600;color: #FFFFFF; border: none; box-shadow: 0 3px #994d00; padding: 10px; width: 100%;margin: 0 auto 10px;}
.btn_cv:hover {background-color: #f79000; color: #FFFFFF;}
.btn_cv:active {background-color: #994d00;box-shadow: 0 3px #994d00;}
.order .btn_cv{width:80%;margin-top: 20px;margin-bottom: 40px;}

/* タグリスト */
.tag_list{margin-bottom: 5px; margin-top: 40px;}
.tag_list ul {padding: 0; margin-bottom: 0;}
.tag_list li {list-style: none; display: inline; font-size: 1rem; padding:0 1em 0 0;}
.tag_list a {color:#ED7600;text-decoration: none;}

/* タグ一覧ページ */
.list_group a {text-decoration: none; color: #000;}
.list_group ul {margin: 0;padding: 0;}
.list_group li {list-style: none;border-bottom: solid 1px #ED7600; padding: .5rem;}
.list_group li:last-child {border-bottom: none; margin-bottom: 2rem;}

.list_box {position: relative;display: flex;width: 100%;margin-bottom: 1rem; overflow: hidden;align-items: center;}

.list_box_img {width: 20%;text-align: center;align-self: flex-start;padding:1rem 1rem 0 0;}
.list_box_img img{max-width:100%; max-height: 100px;}

.list_box_txt {width: 80%; padding: 1rem 4rem 0 0;}
.list_box_txt h2{font-size: 2rem;border: none;padding: 0; margin-top: 0;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.list_box_txt p{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.list_box_txt .tag_list {margin: 0;/*float: right;*/}
.list_box_txt .tag_list li {border: none;}
.list_box_txt .tag_list a {color:#ED7600;}

.list_box::after{
  position: absolute;
  top: 50%;
  right: 1.5rem;
  display: block;
  content: '';
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #FFD0A2;
  border-right: 2px solid #FFD0A2;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* リストページ 　右メニュー表示*/
.tagcloud ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tagcloud ul li {
  display: inline-block;
  margin: 0 .3em .3em 0;
  padding: 0;
}
.tagcloud ul li a {
  display: inline-block;
  max-width: 150px;
  height: 28px;
  line-height: 28px;
  padding: 0 1em;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  -webkit-transition: .2s;
  transition: .2s;
}
.tagcloud ul li a:hover {
  background-color: #ED7600;
  border: 1px solid #ED7600;
  color: #fff;
}

/* リストページ  ページネーション */
.pagination_tag_index {text-align: center;margin: 1rem 0;}
.pagination_tag_index .pagination-sm>li>a, .pagination-sm>li>span {color: #ED7600;}
.pagination_tag_index .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{background-color:#ED7600;border-color: #ED7600;color: #FFF; }

/* サンクスページ  パネル表示 */
.thanks_box{display: flex;height: 60vh; margin-top: 40px; flex-direction: column;justify-content: center;align-items: center;padding: 0 1rem;}
.thanks_box .panel {width: 100%;font-size: 1.2rem;}

/* TOP画像 */
.top_img_box{position: relative;}
.top_img_box img {width: 100%;}
.top_text {position:absolute;bottom:1rem;text-align:center;width: 100%; color: #FFF;}
.top_text h1{font-size: 2rem;line-height: 1.5;}

/* 資料掲載についてページ */
.order p{padding: 0 1rem 0 5rem;margin: 0;}


/* 自由入力欄（CMSにも入れる）*/
.note-editor h1{
  background: none;border: none;
  font-size: 3rem;
  border-bottom: solid 2px #ED7600;
  border-top: solid 2px #ED7600;
  padding: 10px;
}

.note-editor h2{background: none;color: #000;border: none; font-size: 2.6rem; border-bottom: 2px solid #ED7600;padding: 10px;}
.note-editor h3{font-size: 2rem; border-left: 4px solid #ED7600;padding: 10px;}
.note-editor p{font-size: 1.6rem;}
.note-editor p:after {content: "";display: block;clear: both;}

/* 引用（CMSにも入れる）*/
blockquote {
  position: relative;
  width: 100%;
  margin:0  auto 10px;
  padding: 10px 15px 10px 60px;
  box-sizing: border-box;
  background: #f5f5f5;
  color: #777777;
  border-left: 4px solid #FFBA75;
}

blockquote:before{
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 15px;
  vertical-align: middle;
  content: "\f10d";
  font-family: FontAwesome;
  color: #FFBA75;
  font-size: 30px;
  line-height: 1;
}

blockquote p {
  padding: 0;
  margin: 7px 0;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}

/* 記事内ボタンエリア　エリア内aタグにボタン設定 */
.cv_area {text-align: center;}

.cv_area a{
  margin: 0 20px 40px;
  padding: 1em 2em;
  width: 60%;
  border: none;
  border-radius: 5px;
  display:inline-block;
  text-align: center;
  text-decoration: none !important;
  background-color: #1abc9c;
  box-shadow: 0 6px #107C67;
  color: #FFF !important;
  position: relative;
}
.cv_area a:before { /* 白いひし形 */
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #fff;
}
.cv_area a:after {/* ボタン色ひし形 */
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 25px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #1abc9c;
}
.cv_area a:hover{box-shadow: 0 5px #107C67; top: 1px;}
.cv_area a:active { background-color: #107C67; box-shadow: 0 0 #107C67; top: 6px;}
.cv_area a:active:after {background:  #107C67;}

.cv_area_red a{background-color: #e74c3c;box-shadow: 0 6px #c0392b;}
.cv_area_red a:after{background-color: #e74c3c;}
.cv_area_red a:hover{box-shadow: 0 5px #c0392b; top: 1px;}
.cv_area_red a:active { background-color: #c0392b; box-shadow: 0 0 #c0392b; top: 6px;}
.cv_area_red a:active:after {background:  #c0392b;}


/* TOPへ戻るボタン */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
  z-index:1;
}

#page-top a {
  display: block;
  background: #ED7600;
  color: #fff;

  padding: 15px 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}

#page-top a:hover {
  background: #f79000;
  text-decoration: none;
}

/* フッター */
footer{
  position: absolute;
  min-height: 140px;
  bottom: 0;
  font-size: 80%;
  width: 100%;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: solid 1px #E4E4E4;
  background-color: #FFF;
  color: #ed7600;
}
#detail{border:none;}
#detail{padding-top: 0; margin-top: 40px;}

footer .tag_list{margin-top: 0; text-align: left;padding: 0.5rem 0 0.5rem 1rem ; background-color: #FFF; border-top: solid 1px #E4E4E4;}

footer address{color: #fff;letter-spacing: 5px;}

footer img {margin: 10px auto;height: 30px;}

.footer_menu{text-align: right;padding: 0; margin-bottom: 0;}
#detail .footer_menu{padding-top: 5px;}
.footer_menu li {list-style: none; display: inline; font-size: 1rem; padding-right:1em;}
.footer_menu a {color: #ed7600;}
footer p {color: #d7d7d7;}
footer a {color:#ed7600;text-decoration: none;}
footer a:hover {color:#ed7600;text-decoration: none;}

#article_form .modal,
#hsdirect_agree .modal,
#hsdirect_form .modal {top:40%;right:0;}
#article_form textarea {color: #444;}

.mb0{margin-bottom: 0;}
.mt0{margin-top:0;}
.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.mt40{margin-top:40px;}
.mb20{margin-bottom:20px;}
.mb40{margin-bottom:40px;}
.ml20{margin-left: 20px;}

.ml-auto{margin-left: auto;}

.px10{padding:0 20px;}

.tac{text-align:center;}
.text-center{text-align:center;}
.orange{color: #ED7600;}
.red{color: red;}
.thanks_head {margin-bottom: 0; font-size: 2rem;font-weight: bold;}

/* エラーページ */
.error_box{height:100vh; display: flex;align-items: center;justify-content: center;}
.error_box .panel{width: 70%;}
#error{margin: 0;padding: 0;}

/* メディアクエリー */
@media (min-width: 768px) {
  .dl_form label {display: flex;justify-content: flex-end;align-items: center;}
  .summary_box h1 {font-size: 3rem;}
}

@media (min-width: 992px) {
  input.btn_cv{font-size: 1.6rem;}
  .contain_img {height: 151px;}
  .summary_box h1 {padding-left:0;}
  .summary_box p {padding-left:0;}
  blockquote {width:70%;}
  .thanks_box .panel {width: 70%; font-size: 1.4rem;}
  .btn_cv {width: 50%;}
  .top_text h1{font-size: 3rem;line-height: 1.5;}
  .dl_form label {display: flex;justify-content: flex-end;align-items: center;}
  #article_form .easy-input-modal {top:40%;right:-40%;}
  .summary_box h1 {font-size: 3rem;}
}

@media (min-width: 1200px) {
  .contain_img {height: 186px;}
  .dl_form label {display: flex;justify-content: flex-end;align-items: center;}
  #article_form .easy-input-modal {top:40%;right:-40%;}
  .summary_box h1 {font-size: 3rem;}
}
