@charset "utf-8";

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
メインカラム
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body.category-voice #main_area {
    width: 900px;
    float:none;
    margin:0 auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダー(インフォメーション)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
div#header_frame .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 10px 0 15px;
}

div#header_frame .logo {
    width: 230px;
    margin-bottom: 5px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ローカルナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.child_navi_wrap {
    margin: 0;
    /* position:absolute; */
    /* left:calc(50% - 600px); */
    border-radius: 5px;
    overflow:hidden;
    background:#fff;
}
body[class*="search-results"] .child_navi_wrap,
body[class*="qa"] .child_navi_wrap {
    display:none;
}

ul.child_navi {
    /*border-top:1px solid;*/
    border-bottom:1px solid;
    border-color:#ebebeb;
	flex-wrap:wrap;
}

ul.child_navi {
    /* display:flex; */
    /* flex-wrap:wrap; */
    /* justify-content: space-between; */
}

ul.child_navi > li{
    /* width:auto; */
    /* flex-grow: 1; */
}

ul.child_navi a {
    width:100%;
    /* padding: 25px 40px 25px 70px; */
    padding: 25px 20px 25px 50px;
    background: #fff;
    min-width: 100px;
    display: inline-block;
    text-align: center;
    font-size:18px;
    font-weight:bold;
}

ul.child_navi > li a{
    position:relative;
}

ul.child_navi > li:hover a{
    text-decoration:none;
}

ul.child_navi > li a:before{
    font-family: "icomoon";
    content: '\e917';
    font-size: 1.2em;
    position: absolute;
    top: 50%;
    margin-top: -.65em;
    line-height: 1;
    /* left: 22px; */
    left: 12px;
    font-weight: normal;
    color:#013284;
    padding: 3px;
    transition:0.3s;
    border-radius:3px;
}

ul.child_navi > li[class*="current"] a{
    background: none;
    color: #333;
    position:relative;
    z-index: 0;
}

ul.child_navi > li[class*="current"] a:before,
ul.child_navi > li:hover a:before{
    color:#fff;
    background:#2b80f4;
    /* left: 22px; */
    left: 12px;
}

ul.child_navi > li[class*="current"] a:after{
    content:"";
    width: calc(100% - 80px);
    height: 18px;
    background:#aed0ff;
    display:inline-block;
    position:absolute;
    left: 55px;
    bottom: 18px;
    z-index: -1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダー(インフォメーション)　＞　右サイド
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
div#header_right_section {
    position: relative;
}

.textwidget {
    width: 950px;
    margin-left: 20px;
}

.textwidget .co_logo {
    width: 247px;
    margin-bottom: 5px;
}

div#header_right_section ul.items {
    display: flex;
    flex-wrap: wrap;
    /* width: 540px; */
    /* width: 590px; */
    position: absolute;
    right: 0;
    bottom: 0;
    background: #f1f1f1;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    justify-content: space-between;
}

div#header_right_section ul.items li {
    /* min-width: calc(100% / 5); */
    /* min-width: calc((100% / 6) - 0px); */
    text-align: center;
    position: relative;
}

div#header_right_section ul.items li a {
    display: block;
    padding: 10px;
    font-weight: bold;
}

div#header_right_section ul.items li a:hover {
    background: #e2e2e2;
    text-decoration: none;
}

div#header_right_section ul.items li:not(:first-child) a:before {
    content: "";
    display: block;
    width: 1px;
    height: 24px;
    background: #cdcdcd;
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: 0;
}

div#header_right_section ul.items ul.sub-menu{
    display: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段／親のスタイル）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main {
    background-color: #f60000;
}

#h_navi_main ul {
    margin-left: 100px;
    position: relative;
    z-index:10;
}

#h_navi_main .inner > ul:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 71px;
    bottom: 8px;
    left: -100px;
    background: url(https://ucarnet.co.jp/wordpress/wp-content/themes/cyber-child/images/nav_before.png) no-repeat 50% 50%/contain;
}

#h_navi_main ul:not(.sub-menu) > li:first-child {
    display: none;
}

#h_navi_main .inner > ul > li:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 10px!important;
    left: calc(50% - 25px);
    background:#fff;
    opacity:0;
    transition:0.2s;
}

#h_navi_main .inner > ul > li[class*=current]:after,
#h_navi_main .inner > ul > li:hover:after {
    opacity:1;
}

#h_navi_main ul:not(.sub-menu) > li > a {
    padding: 24px;
    font-weight: bold;
}

#h_navi_main ul:not(.sub-menu) > li[class*='current'] > a, #h_navi_main ul:not(.sub-menu) > li > a:hover {
    background-color: #f60000;
}

#h_navi_main ul:not(.sub-menu) > li > a:after,#h_navi_main ul:not(.sub-menu) > li.home a:before {
    content: '';
    background: #fff;
    width: 1px;
    height: 52px;
    position: absolute;
    top: calc(50% - 26px);
}

#h_navi_main ul:not(.sub-menu) > li > a:after {
    right: 0;
}

#h_navi_main ul:not(.sub-menu) > li.home a:before {
    left: 0;
}

#h_navi_main ul:not(.sub-menu) > li:hover:after,#h_navi_main ul:not(.sub-menu) > li[class*='current']:not(.home):after {
    bottom: 13px;
    opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段）子ナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main ul > li {
    position: relative;
}

#h_navi_main ul.sub-menu {
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -112px;
    margin-top: 0px;
    background: rgba(0, 0, 0, 0.85);
    min-width: 225px;
    width: auto;
    text-align: center;
    padding: 10px 0;
}

#h_navi_main ul li:hover ul.sub-menu {
    display: block;
}

/* ドロップダウンする子ナビを母体から離した際の架け橋 */
#h_navi_main ul:not(.sub-menu) > li:hover:not(:first-child):before {
    content: '';
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: -50px;
    /* background:red; */
}

#h_navi_main ul.sub-menu:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -20px;
    margin-left: -10px;
    border-width: 10px;
    border-color: transparent;
    border-style: solid;
    border-bottom-color: rgba(0, 0, 0, 0.85);
    z-index: 10;
}

#h_navi_main ul.sub-menu > li {
    min-width: 225px;
    width: auto;
}

#h_navi_main ul.sub-menu > li:not(:first-child):before {
    content: "";
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    display: block;
    position: absolute;
    top: 0;
    margin-top: 0px;
    left: 5%;
}

#h_navi_main ul.sub-menu > li > a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: bold;
}

#h_navi_main ul.sub-menu > li > a:hover {
    background: #000000;
    text-decoration: none;
}

#h_navi_main ul.sub-menu li ul.sub-menu{
    display:none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
スライダー（トップのプロモ）全幅タイプ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#promo_frame {
    /*height: 618px;*/
    height:calc((100vh * 1.15 * 0.51) + 30px);
    max-height: 640px;
}

#promo_frame.wide {
    overflow-x: hidden;
    /* スライド3枚分（3300px）の横スクロールバーが表示されることを防ぐ */
}

#promo_frame .inner {
    /*width: 3300px;*/
	width:calc(100vh * 1.15 * 3);
    /* スライド3枚分の横幅 */
    position: absolute;
    left: 50%;
    /*margin-left: -1650px;*/
	margin-left: calc((100vh * 1.15 * 3) / -2);
}

#promo_frame .bxslider > li {
    transition: all 1s;
    opacity: 0.3;
    padding: 25px;
}

#promo_frame .bxslider > li.active {
    opacity: 1;
}

#promo_frame .bxslider > li img{
	max-height:calc(100vh - 250px)
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
スライダー（トップのプロモ）「次へ」「前へ」カスタマイズ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#promo_frame .bx-controls-direction a {
    width: 66px;
    height: 66px;
    background: #e50000;
    border-radius: 5px;
    box-shadow: none;
}

#promo_frame .bx-controls-direction a.bx-prev {
    /*left: calc(50% - 600px);*/
	left: calc(50% - (100vh * 1.15 * 0.54));
}

#promo_frame .bx-controls-direction a.bx-next {
    /*right: calc(50% - 600px);*/
	right: calc(50% - (100vh * 1.15 * 0.54));
}

#promo_frame .bx-controls-direction a:after {
    top: calc(50% - 5px);
    border-color: #fff;
}

#promo_frame .bx-controls-direction a.bx-prev:after {
    left: 28px;
}

#promo_frame .bx-controls-direction a.bx-next:after {
    left: 26px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
スライダー（トップのプロモ）ページャーカスタマイズ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#promo_frame .bx-pager {
    padding-top: 0;
    /* bottom: -5px; */
    /* 以下修正2019-08-06tky */
    bottom: 35px;
}

#promo_frame .bx-pager.bx-default-pager a {
    /* background: #c8c8c8; */
    /* 以下修正2019-08-06tky */
    background: #fff;
}

#promo_frame .bx-pager.bx-default-pager a:hover,
#promo_frame .bx-pager.bx-default-pager a.active {
    background: #e50000;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
コンテンツエリア
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body.page-index.page-shaken-child #contents_area,
body.page-index.page-rental-child #contents_area,
body.page-index.page-okuttaro-child #contents_area,
body.page-index.page-tire-child #contents_area{
    /* padding-top:70px; */
    padding-top:0;
    margin-bottom:0;
}

body[class*="-child"]:not(.page-index) #contents_area,
body[class*="reserve-child"] #contents_area {
    /* padding-top: 120px; */
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
フッター(ナビ)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
div#f_navi_wrap {
    background: #fff9c8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
フッター　＞　インフォメーションエリア
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
div#footer_info {
    display: none;
}
