@charset "utf-8";

/* あしあと機能 */
#footstep_wrap {
    /* width: 1080px; */
    margin: 0px auto 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#mymainback #footstep_wrap {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

#footstep {
    position: relative;
    padding-left: 5rem;
}

#footstep_detail {
    display: inline;
    position: static;
}

#footstep_ttl {
	display: flex;
	width: 4rem;
	height: 1.5rem;
	background: #333;
	border-radius: 5px;
	color: #fff;
	/* font-size: 1rem; */
	line-height: 1.2rem;
	/* padding: 0.4rem 0px; */
	text-align: center;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	top: 1px;
	left: 0px;
	justify-content: center;
	align-items: center;
}

#clear_footstep {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
    margin: 0px 0px 0px 5px;
    padding: 0px;
    border: none;
    background: url(/img/common/icon_clear.png) no-repeat center center #333;
    background-size: 10px 10px;
    border-radius: 100%;
    color: #fff;
    line-height: 1;
    text-align: left;
    text-indent: -9999em;
    overflow: hidden;
    cursor: pointer;
}

#footstep_detail:empty,
#footstep_detail:empty+#clear_footstep {
    display: none;
}

.fs_rireki {
    display: inline;
}

.fs_rireki:before {
    content: '>';
    padding: 0px 0.4em;
}

.fs_rireki:first-child:before {
    display: none;
}

.fs_rireki:last-child a {
    text-decoration: none !important;
    color: inherit !important;
    cursor: default;
}

/* あしあと機能 ここまで */


/* ページ記憶 */
#keep_page {
    position: fixed;
    top: 150px;
    right: 0px;
    z-index: 90;
}

#ktp_viewsw {
    display: inline-block;
    width: 6rem;
    height: auto;
    background: #333;
    color: #fff;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 6rem;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-indent: 1em;
    white-space: nowrap;
    text-align: left;
    padding: 0px 0px 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

#ktp_viewsw.open {
    display: block;
    width: auto;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    padding: 0px 50px 0px 0px;
}

#ktp_viewsw:after {
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    background: url(/img/common/icon_keep_open.png) no-repeat center center;
    position: absolute;
    right: 0px;
    bottom: 0px;
}

#ktp_viewsw.open:after {
    width: 50px;
    height: 100%;
    background-image: url(/img/common/icon_keep_close.png);
}

#ktp_list_wrap {
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-right: none;
}

#ktp_list_wrap2 {
    padding: 15px;
    text-align: left;
}

#ktp_list_wrap2 .btn_func {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ccc;
    color: #1a0dab;
    line-height: 1.8rem;
    text-decoration: underline;
    margin: 0px 0px 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

#ktp_list_wrap2 .btn_func:hover {
    text-decoration: none;
    background: #f5f5f5;
}

#ktp_item_list {
    display: block;
    width: 18em;
    height: auto;
    margin: 0px;
    padding: 0px;
    list-style: none;
    max-height: calc(100vh - 350px);
    min-height: 1.5em;
    overflow-y: auto;
}

#ktp_item_list:empty:before {
    content: '登録がありません。';
}

.ktp_item {
    display: block;
    margin: 0px;
    padding: 10px 30px 10px 0px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.ktp_item_del {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0px;
    padding: 0px;
    border: none;
    background: url(/img/common/icon_clear.png) no-repeat center center #333;
    background-size: 10px 10px;
    border-radius: 100%;
    color: #fff;
    line-height: 1;
    text-align: left;
    text-indent: -9999em;
    overflow: hidden;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* ページ記憶ここまで */


/* アクセシビリティチェック画面 */
.errrange~#keep_page {
    display: none !important;
}

/* アクセシビリティチェック画面 ここまで */


/* タブレット */
@media screen and (max-width : 1099px) {

    #footstep_wrap {
        width: 100%;
    }

    #keep_page {
        display: none !important;
    }

}

/* タブレット ここまで */


/* スマートフォン */
@media screen and (max-width: 670px) {

    #footstep_wrap {
        display: none !important;
    }

    #keep_page {
        display: none !important;
    }

}

/* スマートフォン ここまで */