@charset "UTF-8";

/*
  Theme Name:cref-ms.jp
  Description:cref-ms.jp用テンプレート
  Theme URI:https://dosanite.co.jp/
  Author:dosanite
  Author URI:https://dosanite.co.jp/
  Version:1.0.0
*/

/* wordpress */
img {
  height: auto;
  max-width: 100%;
}
/* jetpackの笑顔マーク対策 */
img#wpstats{display:none}

/* 検索 */
#searchform Label{display:none}
.screen-reader-text{display:none}
#searchform {
  width:200px;
  display:block;
  height:40px;
  position:relative;
  border:1px solid #ccc;
  background:#fff;
  border-radius: 10px;
  margin-bottom:10px;
}
#s {
  width:160px;
  position:absolute;
  top:4px;
  left:6px;
  height:30px;
  border:1px solid #FFF;
}
#searchsubmit {
  position:absolute;
  top:6px;
  left:170px;
}

input, textarea, select {
  color: #888;
  -webkit-text-stroke: 0.1px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  display: block;
  box-shadow: inset 0 0 0 1px #e6e6e6;
  background: #f8f8f8;
  width: 100%;
  padding: 0.85em 1em 0.85em 1em;
  border-radius: 0.25em;
  border: 0;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
  outline: 0;
  box-shadow: inset 0 0 0 1px #afd9e0;
  background: #bcfb9d;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select {
  line-height: 1.25em;
}

form textarea {
  min-height: 13em;
}

form select {
  position: relative;
}

  form select option:not(:checked) {
    color: #000;
  }

form ::-moz-focus-inner {
  border: 0;
}

form ::-webkit-input-placeholder {
  color: #aaa !important;
}

form :-moz-placeholder {
  color: #555 !important;
}

form ::-moz-placeholder {
  color: #555 !important;
}

form :-ms-input-placeholder {
  color: #555 !important;
}

/* framework */
html{overflow-y:scroll; overflow-x:hidden;}
html, body{margin:0; padding:0; font-size:14px; line-height:1.6em;}
form{color:#000;}
select,option{color:#000;}

*, *::before, *::after{box-sizing:border-box;}

.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.left{text-align:left;}
.hidden{display:none;}
.nospace{margin:0; padding:0; list-style:none;}
.circle{border-radius:50%; background-clip:padding-box;}
.radius{border-radius:5px;}
.btn{display:inline-block; padding:5px 15px 7px; text-transform:uppercase; border:1px solid; border-radius:5px;}

.clear, .group{display:block;}
.clear::before, .clear::after, .group::before, .group::after{display:table; content:"";}
.clear, .clear::after, .group, .group::after{clear:both;}

a{outline:none; text-decoration:none;}

img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}

form, fieldset, legend{margin:0; padding:0; border:none;}
legend{display:none;}
label, input, textarea, select, button{border-radius:5px; resize:none; outline:none; color:inherit; font-size:inherit; font-family:inherit; vertical-align:middle;}
label{margin-bottom:5px;}
:required, :invalid{outline:none; box-shadow:none;}

h1, h2, h3, h4, h5, h6, .heading{
  margin:0 0 20px 0;
  font-size:18px;
  line-height:normal;
  font-weight:normal;
}

address{font-style:normal; font-weight:normal;}
hr{display:block; width:100%; height:1px; border:solid; border-width:1px 0 0 0;}

.wrapper{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  text-align:left;
  word-wrap:break-word;
}

.hoc, .headhoc{
  display:block;
  margin:0 auto;
}

/** display:none; class **/
.none{display:none;}

/** margin class **/
.mb1{margin-bottom:1em;}
.mb2{margin-bottom:2em;}
.mb3{margin-bottom:3em;}
.mb4{margin-bottom:4em;}
.mb5{margin-bottom:5em;}
.mb6{margin-bottom:6em;}
.mb7{margin-bottom:7em;}
.mb8{margin-bottom:8em;}
.mb9{margin-bottom:9em;}


.cursor{cursor:pointer;}
.noscroll{overflow: hidden; height:100%;}
.retina{width:50%;}

/**
 * main
 */
 body{
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  list-style:none;
  color:#000;
  background:#fff;
}

a:link{color:#111;}
a:visited{color:#111;}
a:hover{color:#d0111b;}
a:active{color:#111;}

/* breadcrumb */
#breadcrumb{
  width:100%;
  padding:10px 20px;
  color:#666;
  font-size:16px;
  left:0;
  margin:0;
}
  #breadcrumb a:link{text-decoration:none; color:#666;}
  #breadcrumb a:visited{text-decoration:none; color:#666;}
  #breadcrumb a:hover{text-decoration:underline; color:#d0111b;}
  #breadcrumb a:active{text-decoration:none; color:#666;}
  #breadcrumb > ul{
    list-style:none;
    margin:0;
    padding:0;
  }
  #breadcrumb > ul > li{
    float:left;
    margin-right:3px;
  }

/*
 * ori_pagenavi
 */
#pagenavi_header{
  width:100%;
  margin:0 auto;
  text-align:center;
}

#pagenavi_footer{
  width:100%;
  margin:0 auto;
  text-align:center;
}

.ori_pagenavi{
  clear:both;
  position:relative;
  line-height:13px;
  margin:10px 5px 0px 5px;
}

.ori_pagenavi span, .ori_pagenavi a{
  display:inline-block;
  margin:2px 2px 2px 0;
  padding:6px 9px 5px 9px;
  text-decoration:none;
  width:auto;
  color:#fff;
  background:#666;
  border-radius:2px;
}

.ori_pagenavi a:hover{
  color:#fff;
  background:#d0111b;
}

.ori_pagenavi .current{
  padding:6px 9px 5px 9px;
  color:#fff;
  background:#d0111b;
}

.ggmap{
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/* youtube */
.youtube{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.youtube iframe{
  position:absolute;
  top:0;
  right:0;
  width:100% !important;
  height:100% !important;
}

@media screen and (max-width:736px){
  iframe[src*="youtube"]{
    width:100%;
  }
}

/*
 * slidemenu
 */
#slidemenu{
  height:100%;
  width:0;
  position:absolute;
  z-index:9999;
  top:0;
  left:0;
  transition:0.3s;
  background: #222;
  overflow:hidden;
}

#category{
  width:100%;
  height:100%;
  overflow-x:hidden;
  overflow-y:scroll;
  padding-bottom:50px;
  -webkit-overflow-scrolling:touch;
}
#category::-webkit-scrollbar{width: 6px; background:#999;}
#category::-webkit-scrollbar-thumb {background:#666; border-radius:6px;}

#category .widgettitle{
  display:block;
  padding:5px;
  font-weight:bold;
  background:#222;
  border-top:1px solid #666;
  border-bottom:1px solid #333;
  margin:0;
  color:#aaa;
}
#category .widgettitle:first-child{border-top:none;}
#category ul{padding:0; margin:0;}
#category li{list-style:none; padding:0; margin:0;}

#category li a{
  display:block;
  padding:5px;
  background:#444;
  border-top:1px solid #666;
  border-bottom:1px solid #333;
}
#category li a:link{color:#fff;}
#category li a:visited{color:#fff;}
#category li a:hover{color:#ccc; background:#222;}
#category li a:active{color:#fff;}

#slide_btn{
  width:104px;
  height:60px;
  position:absolute;
  left:0;
  cursor:pointer;
  z-index:9997;
}

#slide_btn_mobi {
  cursor:pointer;
}

.rotate_btn {transform: rotate(-90deg);}

.panel-btn-icon{
  display:block;
  position:absolute;
  top:50%;
  left:50%;
  width:18px;
  height:2px;
  margin:-1px 0 0 -9px;
  background:#fff;
}
.panel-btn-icon:before, .panel-btn-icon:after{
  display:block;
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:18px;
  height:2px;
  background:#fff;
}
.panel-btn-icon:before{margin-top:-7px;}
.panel-btn-icon:after{margin-top:5px;}
.side_title{background:#6db822; padding:5px;}
.side_li{padding:10px;}

/* HTML 5 Overrides */
address, article, aside, figcaption, figure, footer, header, main, nav, section{display:block; margin:0; padding:0;}

/* Grid */
.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{float:left; margin:0 0 0 3.06748466257669%; list-style:none;}

.first{margin-left:0; clear:left;}

.one_quarter{width:22.69938650306748%;}
.one_third{width:31.28834355828221%;}
.one_half, .two_quarter{width:48.46625766871166%;}
.two_third{width:65.6441717791411%;}
.three_quarter{width:74.23312883435584%;}

/* Spacing */
.btmspace-10{margin-bottom:10px;}
.btmspace-15{margin-bottom:15px;}
.btmspace-30{margin-bottom:30px;}
.btmspace-50{margin-bottom:50px;}
.btmspace-80{margin-bottom:80px;}

.inspace-5{padding:5px;}
.inspace-10{padding:10px;}
.inspace-15{padding:15px;}
.inspace-30{padding:30px;}
.inspace-50{padding:50px;}
.inspace-80{padding:80px;}

/* layout */
#header{
  margin:0;
  padding:0;
  text-align:center;
  max-height:650px;
  overflow:hidden;
}
#header img{width:100%;}

/* Content */
.container .content{
  width:100%;
  color: #2e2e2e;
  background: #fff;
  padding:5px 10px;
  margin-bottom:30px;
  border-top:4px solid #d0111b;
}

.s_title{
  color:#2e2e2e;
  font-weight:bold;
  font-size:18px;
  margin:5px 5px 0 5px;
}

.post-author{
  color:#323335;
  padding:5px;
  margin:0;
  text-align:right;
}

.s_date{
  color:#323335;
  padding:5px;
  margin:0;
  text-align:right;
  border-top:1px solid #ccc;
}

.index_navi{
  list-style:none;
  width:100%;
  margin:0;
  padding:0;
}

.index_navi li{
  text-align:center;
  font-size:18px;
  border-bottom:solid 1px #d9d9d9;
}

.index_navi li > a{
  display:block;
  padding:10px 0;
}

.index_navi li:first-child{
  border-top:solid 1px #d9d9d9;
  border-bottom:dotted 1px #d9d9d9;
}

/* Footer */
.tel {
  font-size:20px;
  font-weight:bold;
  color:#333;
}

/* Transition Fade */
*, *::before, *::after{transition:all .3s ease-in-out;}

/* Navigation */
nav ul, nav ol{margin:0; padding:0; list-style:none;}

/* Tables */
table, th, td{border:1px solid; border-collapse:collapse; vertical-align:top; border-color:#D7D7D7;}
table, th{table-layout:auto;}
th{color:#FFFFFF; background-color:#373737;}
table{width:100%; margin-bottom:15px;}
th, td{padding:5px 8px;}
td{border-width:0 1px;}
tr{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a{background-color:inherit;}

/* Rows */
.row_mobile{
  color:#fff;
  font-weight:bold;
  background:#ffffff;
  left:0;
  width:100%;
}
.row_mobile > ul{margin:0; padding:0; list-style:none;}
.row_mobile > ul > li{float:left;}
.row_mobile > ul > li img{height:100%; width:100%;}
.row_mobile .list1{width:15.3846153%; z-index:9800;}
.row_mobile .list2{width:69.2307692%; z-index:9798;}
.row_mobile .list3{width:15.3846153%; z-index:9798;}

.slide_btn_mobi_slide {
  position: absolute;
  left:70%;
}

.row_head{
  color:#111;
  background:#fff url(images/bg_h.jpg) repeat;
}
.row_head a:link{color:#fff;}
.row_head a:visited{color:#fff;}
.row_head a:hover{color:#dfb82e;}
.row_head a:active{color:#fff;}

.row_top{
  text-align:left;
  color:#111;
  background: linear-gradient(rgba(27, 27, 27, 0.5) 0%,rgba(80, 80, 80, 0.8) 100%), url(images/t_bg.png);
  background-repeat: repeat;
}

.top_h1{
  color:#111;
  font-size:24px;
  font-weight:bold;
  margin:0 auto;
  padding:10px;
  text-align:center;
  background:#fff url(images/bg_b.png) repeat;
}

.row1{
  text-align:left;
  color:#111;
  background:#fff url(images/bg_b.png) repeat;
}

.banner_area{list-style:none; margin:0; padding:0;}
.banner_area li{width:100%; margin:0; padding:0;}
.banner_area li img{width:100%; margin:0; padding:0;}

.row2{
  color:#2e2e2e;
  background:#fff;
}

.row3{
  color:#2e2e2e;
  background: #f5f5f5;
}

.row4{
  color:#fff;
  background: #eaeff1;
}
.row4 a:link{color:#0e3346;}
.row4 a:visited{color:#0e3346;}
.row4 a:hover{color:#4899c2;}
.row4 a:active{color:#0e3346;}

.row_footer{
  padding:30px 0;
  color:#fff;
  background: linear-gradient(rgba(49, 49, 49, 0.5) 0%,rgba(26, 26, 26, 0.8) 100%), url(images/bg_f.png);
  background-repeat: repeat;
}
.row_footer a:link{color:#fff;}
.row_footer a:visited{color:#fff;}
.row_footer a:hover{color:#fff;}
.row_footer a:active{color:#fff;}

.row_footer h1{
  text-align:center;
  font-weight:bold;
  font-size:20px;
}

.row_footer ul{list-style:none; text-align:center; margin:0; padding:0;}
.row_footer li{border-bottom:1px solid #999; padding:10px 0;}
.row_footer li:first-child{border-top:1px solid #999;}

.row_copyright{color:#fff; background-color:#111;}
.row_copyright a:link{color:#ccc;}
.row_copyright a:visited{color:#ccc;}
.row_copyright a:hover{color:#2e2e2e;}
.row_copyright a:active{color:#ccc;}


/* Media Queries */
@-ms-viewport{width:device-width;}

/* Max Wrapper Width - Laptop, Desktop etc. */
@media screen and (min-width:1280px){
  .headhoc{max-width:1280px;}
}
@media screen and (min-width:978px){
  .hoc{max-width:978px;}
}

/* Smartphone + Tablet */
@media screen and (max-width:900px){
  .hoc{max-width:90%;}
  .headhoc{max-width:90%;}
}

@media screen and (max-width:750px){
  .one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}
}

/* news */
#news{
  color:#aaa;
  font-weight:bold;
  border:none;
}
#news tr{border:none; background:none;}
#news td{border:none; background:none;}
#news td:nth-child(1){color:#aaa; width:100px; border-right:2px solid #dfb82e; background:none; text-align:right;}
#news a:link{color:#111;}
#news a:visited{color:#111;}
#news a:hover{color:#aaa;}
#news a:active{color:#111;}

/* pickupbox */
.pickupbox{
  color:#111;
  background:#fff;
  border-radius: 5px;
  padding-bottom:5px;
  border:1px solid #dedede;
}

.pickupboxtop{
  color:#111;
  background:#fff;
  border-radius: 5px;
  padding-bottom:5px;
  margin-bottom:10px;
  border:1px solid #dedede;
}

.pickupboxtop img{border-radius: 5px 5px 0 0;}

.p_date{
  color:#111;
  text-align:left;
  margin: 5px;
  padding:0;
}

.p_title{
  color:#111;
  text-align:left;
  margin: 5px;
  padding:0;
}

.p_tags{margin:0 5px; text-align:right;}
.p_tags a:link{
  color:#fff;
  background:#00651a;
  padding:5px 10px;
  border-radius:10px;
  font-size:8px;
  word-break:keep-all;
  word-wrap:normal;
}
.p_tags a:visited{color:#fff;}
.p_tags a:hover{color:#fff; background:#91d51b;}
.p_tags a:active{color:#fff;}

/* time table */
.cal_table{width:100%; display:none;}
.cal_table th{background:#1b96d2;}
.cal_table td:first-child {width:120px; vertical-align:middle;}

.tabs{
  list-style:none;
  padding:10px 0;
  text-align:center;
  display:flex;
  justify-content:center;
}
.tabs > li{
  width:13.675%;
  float:left;
  background:#4898c6;
  color:#fff;
  padding:6px 9px 5px 9px;
  margin:2px 2px 0 0;
  cursor:pointer;
}
.tabs > li:hover{background:#155477;}
.tabs > li.tabs_select{background:#155477;}


/* single page code */
.headline {
  position:relative;
  padding:5px 25px;
  border-bottom:1px solid #e2e2e2;
}
.headline:before,
.headline:after{
  content:"";
  display:block;
  width:10px;
  height:10px;
  border:2px solid #e2e2e2;
  position:absolute;
  top:11px;
  left:3px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.headline:after{
  top:12px;
  left:10px;
  height:12px;
  width:12px;
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
  border:none;
  background:rgba(99, 99, 99, 0.3);
}

.post_float5-5{
  list-style:none;
}
  .post_float5-5 li{
    float:left;
    width:50%;
  }

  .post_float7-3{
    list-style:none;
  }
    .post_float7-3 li:first-child{
      float:left;
      width:70%;
    }
    .post_float7-3 li:nth-child(2){
      float:left;
      width:30%;
    }

    .post_float8-2{
      list-style:none;
    }
      .post_float8-2 li:first-child{
        float:left;
        width:80%;
      }
      .post_float8-2 li:nth-child(2){
        float:left;
        width:20%;
      }
  @media screen and (max-width:900px){
    .post_float5-5 li{
      float: none;
      width:100%;
    }
    .post_float7-3 li:first-child{
      float: none;
      width:100%;
    }
    .post_float7-3 li:nth-child(2){
      float: none;
      width:100%;
    }
    .post_float8-2 li:first-child{
      float: none;
      width:100%;
    }
    .post_float8-2 li:nth-child(2){
      float: none;
      width:100%;
    }
  }

.post_table {
  width:100%;
 table-layout: fixed;
 word-break: break-word;
}

.post_table .td_image {
  text-align:center;
  padding:0;
}
.post_table .td_image img {width:100%; height:auto;}

.product-tags{
  padding:15px 10px 10px 10px;
  text-align: center;
  background-color: #fff;
}
.product-tags li{
  padding:3px;
  margin-bottom:5px;
  background: #ccc;
  border-radius: 5px;
}