﻿/*----------------------------------
			ヘッダー
----------------------------------*/

/*    全国トップ用(途中から追従)
-------------------------------------*/
.header_none .header_box {
	position: absolute;
	top: -54px;
	transition: .2s;
}
/*    地方トップヘッダー
-------------------------------------*/
#header.header_chihou .header_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    animation: show 0.5s ease;
    -webkit-animation: show 0.5s ease;
}
@keyframes show {
    from { top: -50px; }
    to   { top: 0; }
}
@-webkit-keyframes show {
    from { top: -50px; }
    to   { top: 0; }
}
/*        通常追従メニュー
-------------------------------------*/
#header_wrap {
	position: relative;
	padding: 27px;
    z-index: 999;
}
#header_wrap #header {
	position: absolute;
	top: 0;
	left: 0;
}
#header {
	width: 100%;
}
#header .header_box {
    width: 100%;
    height: 54px;
    display: flex;
    box-shadow: rgba( 0, 0, 0, .1) 0 2px 0;
    background-size: cover;
    background-repeat: no-repeat;
	background-color: #F88AC3;
}
#header.header_list .header_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
#header .header_box .inner {
    flex: 1;
    height: auto;   
    font-size: 1.8rem;
	text-align: left;
}
#header .header_box .inner a {
    position: relative;
    display: block;
    padding: 0;
    border-left: none;
	background-repeat: no-repeat;
	background-image: url('/../img/index/2019/image_header_nabbit.png?20190717');
	background-size: auto 70px;
    background-position: -6px center;
    color: #000;
}
#header .header_box .inner svg.logo {
	position: absolute;
	top: 2px;
	bottom: 0;
	left: 36px;
	height: calc( 40px * 0.9 );
	width: calc( 150px * 0.9 );
	fill: #fff;
    margin: auto;
}
/*　-------------    iPhone5, SE　*/
@media screen and (max-width: 320px) {
	#header .header_box .inner a {
		background-size: auto 60px;
	}
	#header .header_box .inner svg.logo {
		left: 27px;
		height: calc( 40px * 0.80 );
		width: calc( 150px * 0.80 );
	}
	#header .header_box .inner .prefecture + svg.logo {
		top: 18px !important;
		left: 28px !important;
	}
}
/*　-------------    地方名　*/
#header .header_box .inner .prefecture + svg.logo {
	top: 15px;
	left: 43px;
	margin: inherit;
}
#header .header_box .inner .prefecture {
	position: absolute;
	top: 6px;
	left: 50px;
	display: block;
	width: 40px;
	height: 12px;
	line-height: 12px;
	border-radius: 4px;
	background-color: #FEEBF5;
	color: #F772B7;
	font-size: .9rem;
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    text-align: center;
}
@media screen and (max-width: 320px) {
	#header .header_box .inner .prefecture{
		top: 8px;
		left: 35px;
	}
}
/*　-------------    メニューアイコン　*/
#header .header_box div {
    width: 54px;
    height: auto;
    font-size: .9rem;
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    text-align: center;
}
#header .header_box div a {
	position: relative;
    display: block;
    height: 54px;
    border-left: solid 1px #FAA2CF;
    color: #000;
}
#header .header_box  .menu svg {
	position: absolute;
	top: 8px;
	right: 0;
	left: 0;
    height: 24px;
	width: 24px;
	display: block;
    fill: white;
	margin: auto;
}
#header .header_box a .icontext {
	position: absolute;
	bottom: 6px;
	right: 0;
	left: 0;
	display: block;
    margin: auto;
	text-align: center;
}
#header .header_box .mypage,
#header .header_box .favorite {
    position: relative;
}
#header .header_box .mypage .count,
#header .header_box .favorite .bm_count,
#header .header_box .favorite .count {
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 12px;
    min-height: 12px;
    line-height:12px;
    padding: 2px;
    border-radius: 16px;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
    background-color: #fff;
    color: #F772B7;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}
#header .header_box .favorite .bm_count,
#header .header_box .favorite .count{
    background-color: #fff;
}
#header .header_box .menu svg.svg_header_mylist.animation {
    animation-name: smile;
    animation-duration: 1s;
    animation-fill-mode: both;
}
@keyframes smile {
    20% { transform: rotate3d(0, 0, 1, 20deg)scale(0.2); }
    40% { transform: rotate3d(0, 0, 1, -15deg); }
    60% { transform: rotate3d(0, 0, 1, 10deg) scale(1.5); }
    80% { transform: rotate3d(0, 0, 1, -15deg); }
    to  { transform: rotate3d(0, 0, 1, 0deg); }
}

/*        検索結果：追従メニュー(途中から追従)
-----------------------------------------------------*/
#header_search {
    z-index: 999;
    box-shadow: 0px 2px 2px rgb(0,0,0,.15);
    position: fixed;
    width: 100%;
    top: -110px;
    left: 0;
    transition: .4s;
}
#header_search.fixed {
    /*.js-fixed-startの位置から付与する*/
    top: 0;
    transition: .4s;
}
#header_search header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 54px;
    padding: 8px 0;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #F88AC3;
}
#header_search header .logo svg.logo {
    top: 2px;
    bottom: 0;
    left: 43px;
    height: calc( 40px * 0.7 );
    width: calc( 150px * 0.7 );
    fill: #fff;
    margin: auto;
}
#header_search header .logo .prefecture {
    display: block;
    width: 40px;
    margin: 0 auto;
    height: 12px;
    line-height: 12px;
    border-radius: 4px;
    background-color: #FEEBF5;
    color: #F772B7;
    font-size: .9rem;
    font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    text-align: center;
}
#header_search header .btn_change_condition {
    flex: 1;
    background: #FFF;
    box-shadow: 0px 2px 0px rgb(0,0,0,.15);
    border-radius: 4px;
    text-align: center;
    line-height: 39px;
    color: #333;
    font-weight: bold;
    letter-spacing: .1em;
    padding: 0 4px;
}
#header_search header .btn_change_condition svg {
    vertical-align: text-bottom;
    width: 20px;
    height: 20px;
    margin-right: -4px;
    fill: #F772B7;
}
#header_search header a.mylist {
    position: relative;
    display: block;
    color: #000;
    width: 60px;
}
#header_search header .mylist svg {
    display: block;
    position: absolute;
    top: 2px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: auto;
    transform: translate(-50%,0);
    fill: white;
}
#header_search header .mylist span {
    position: absolute;
    bottom: 1px;
    left: 50%;
    font-size: 1rem;
    transform: translate(-50%,0);
    display: block;
    word-break: keep-all;
}
#header_search .header_fixed_banner {
    margin: 0 auto;
    text-align: center;
    background: rgb(0,0,0,.6);
}
#header_search .header_fixed_banner a {
    width: 100%;
}
#header_search .header_fixed_banner a img {
    width: 100%;
    max-width: 420px;
    height: auto;
    opacity: 9;
}
/*----------------------------------
			フッター
----------------------------------*/
/*       パンくず
-------------------------------------*/
.scroll_pankuzu {
	width: 100%;
    border-top: solid 1px #333;
    border-bottom: solid 1px #333;
    background: #FFF;
    text-align: left;
}
.scroll_pankuzu ul {
	height: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}
.scroll_pankuzu ul li {
	display: inline-block;
    margin-right: -5px;
    font-size: 1.2rem;
    text-align: center;
}
.scroll_pankuzu ul li a,
.scroll_pankuzu ul li span {
    position: relative;
	display: inline-block;
    float: left;
    padding: 10px;
    color: #666;
    text-decoration: none;
}
.scroll_pankuzu ul li a:after {
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
    margin: 0 0 0 8px;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
}
.scroll_pankuzu ul .pan_last {
    background: none;
    color: #F772B7;
    font-weight: bold;
}
/*        ページトップ
-------------------------------------*/
#pagetop{
	display: block;
	width:100%;
	height: 36px;
    background-color: #333;
}
#pagetop span{
	display:block;
    line-height: 36px;
    padding: 0 8px 0 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: normal;
	text-align: right;
}
#pagetop span svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    fill: #fff;
    margin: 0 8px 0 0;
}
#pagetop a{
	display:block;
    line-height: 36px;
    padding: 0 8px 0 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: normal;
	text-align: right;
}
#pagetop a svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    fill: #fff;
    margin: 0 8px 0 0;
}

/*        フッター
-------------------------------------*/
#footer {
    background-color: #f772b7;
    padding: 0 0 20px 0;
}
.footer_search {
    line-height: 1.4;
    font-size: 1.4rem;
}
.footer_search input {
    display: none;
}
.footer_search .footer_search_btn {
    position: relative;
    display: block;
    padding: 16px;
    border-bottom: solid 1px #FCD3E8;
    background: #F88AC3;
    color: #fff;
    font-size: 1.3rem;
}
.footer_search ul li a.arrow::after {
    right: 28px;
}
.footer_search ul li .chihou,
.footer_search .popular + input + ul li a,
.footer_search .popular + input:checked + ul li ul li a  {
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 0 20px;
    border-bottom: none; 
    background: #fff;
    color: #333;
    font-weight: normal;
    font-size: 1.3rem;
    transition: .2s;
}
.footer_search .popular + input:checked + ul li ul li a  {
     padding: 0 28px;
     background: #FFF8FC;
     color: #F772B7;
}
.footer_search .popular + input:checked + ul li ul li a  {
     padding: 0 28px;
}
.footer_search .popular + input:checked + ul li label,
.footer_search .popular + input:checked + ul li a,
.footer_search .popular + input:checked + ul li .chihou + input:checked + ul li a {
    height: auto;
    opacity: 1;
    visibility: visible;
    padding: 12px 20px;   
    border-bottom: solid 1px #ddd; 
}
.footer_search .popular + input:checked + ul li .chihou + input:checked + ul li a {
    padding: 12px 28px;  
}
.footer_search .dekasegi + input + ul {
    height: 0;
    padding: 0 16px;
    background: #FEEBF5;
    overflow: hidden;
    transition: .2s;
}
.footer_search .dekasegi + input + ul li {
    display: inline-block;
    margin: 0 8px 8px 0;
}
.footer_search .dekasegi + input + ul li a {
    display: block;
    padding: 4px 8px;
    border-radius: 2px;
    background: #FFF;
    color: #F88AC3;
    font-size: 1.3rem;
}
.footer_search .dekasegi + input + ul .dekasegi_top {
    display: block;
    margin: 12px 0;
}
.footer_search .dekasegi + input + ul .dekasegi_top a {
    display: inline-block;
    padding: 0;
    background: none;
    text-decoration: underline;
}
.footer_search .dekasegi + input:checked + ul {
    height: auto;
    padding: 16px 16px 8px 16px;
}
.footer_switch {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 2px;
    background: #fff;
}
.chihou .footer_switch {
    border: solid 1px #ddd;
    box-sizing: border-box;
    background: #FEEBF5;
}
.footer_switch::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 10px;
    height: 2px;
    background: #F88AC3;
}
.footer_switch::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 2px;
    height: 10px;
    background: #F88AC3;
}
.chihou footer_switch::before,
.chihou footer_switch::after {
    background: #999;
}
.footer_search_open .footer_switch::after {
    display: none;
}
.footer_menu {
    z-index: 0;
    padding: 20px 0 0;
}
.footer_menu ul {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.footer_menu ul li {
    width: 49%;
    border-radius: 4px;
    background-color: #fff;
}
.footer_menu a {
    display: block;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    background-color: #fff;
    color: #F772B7;
    font-size: 1.3rem;
    text-align: center;
}
.footer_menu .bt_area {
    position: relative;
    width: 90%;
    margin: 8px auto 0 auto;
    background: #F88AC3;
    color: #fff;
    font-size: 1.3rem;
    font-weight: normal;
}
.footer_menu .bt_area svg {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    fill: #fff;
    margin: 0 4px 0 0;
}
.footer_menu ul li.bt_long .count,
.footer_menu ul li.bt_favorite .bm_count {
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 12px;
    min-height: 12px;
    line-height:12px;
    padding: 2px;
    border-radius: 16px;
    background-color: #e60035;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}
.footer_link {
	width: 100%;
	line-height: 1.8;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
}
.footer_link nav {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 20px;
}
.footer_link nav a {
    width: 50%;
    display: block;
    margin: 4px 0;
    color: #FEEBF5;
    text-align: left;
}
.footer_link nav a::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: 0 8px 0 0;
    border-top: solid 1px;
    border-right: solid 1px;
}
.footer_link nav .recruit_writer {
    width: 100%;
    color: #FEF8D2;
}
.footer_link p {
    width: 90%;
    margin: 28px auto 0 auto;
    color: #FCD3E8;
    font-size: 1.4rem;
}
.footer_link p a {
    display: inline-block;
    margin: 0 8px;
    color: #FCD3E8;
    font-size: 1.1rem;
}
.footer_link p a svg {
    width: 11px;
    height: 11px;
    vertical-align: middle;
    fill: #f99ccc;
    margin: 0 6px 0 0;
}
#footer small {
    display: block;
    width: 100%;
    padding: 16px 0 0 0;
    border-top: solid 1px #FCD3E8;
    padding-bottom: constant(safe-area-inset-bottom); /* iphoneX用 */ 
    padding-bottom: env(safe-area-inset-bottom); /* iphoneX用 */ 
    color: #FEEBF5;
    font-size: 1.2rem;
    text-align: center;
}
/*     追従ページのトップボタン
-------------------------------------*/
#page_top {
    display: none;
    height: 54px;
    width: 54px;
    position: fixed;
    right: 16px;
    bottom: 15px;
    opacity: 0.8;
    border-radius: 50%;
    background-color: #333;
    text-align: center;
    z-index: 1;
}
#page_top svg {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    vertical-align: middle;
    fill: #fff;
    padding: 0 0 4px 0;
}