@charset "utf-8";
/*
Theme Name: 松本アドバイザリー
Description: 松本アドバイザリーテーマファイル
Version: 1.0
Author: Future @ MM
Tags: 
Author URI: http://future-ns.com
*/


* {
  box-sizing:border-box;
  font-family:inherit;
  font-size:inherit;
  line-height:inherit
}
/*===============
base
=================*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
form,input,p,th,td {
margin:0;
padding:0;
}  
img{
border:0;
}

body{
	font-size: 100%; /* =16px */
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400;
	font-style: normal;
}

a:link,
a:visited,
a:active{
	color: #333;
	text-decoration: underline;
}

a:hover{
	text-decoration: underline;
}

h2 {
	letter-spacing: 1px;
	font-family: a-otf-midashi-go-mb31-pr6n,sans-serif;
	font-weight: 600;
	font-style: normal;
}
h3 {
	letter-spacing: 1px;
	font-family: a-otf-midashi-go-mb31-pr6n,sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 200%; color: #02265e;
	text-align: center;
}
@media screen and (max-width:768px){
	h2 { font-size: 200%; }
	h3 { font-size: 150%; }
}
@media screen and (max-width: 640px) {
	body{
	font-size: 87.5%; /* =14px */
	}
}

ul,ol{
list-style: none;
}

/*clearfix*/
.clearfix:after,
.recruit_p:after
{  
visibility:hidden;/*見えなくする*/ 
height:0;/*見えなくする*/
display: block;/*block要素にする*/
font-size: 0;  
content: " ";  
clear: both;  

}  
* html .clearfix             { zoom: 1; } /* IE6 */  
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


.mb0 { margin-bottom: 0 !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }

.mt0 { margin-top: 0 !important; }
.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mt30 { margin-top: 30px !important; }
.mt40 { margin-top: 40px !important; }
.mt50 { margin-top: 50px !important; }
.mt60 { margin-top: 60px !important; }

.al_left { text-align: left !important; }
.al_right { text-align: right !important; }
.al_center { text-align: center !important; }

.t_red { color: #ff0000; }

.no_border_btm { border-bottom: none !important; } 


.pc {}
.sp { display: none !important; }

@media screen and (max-width: 640px) {
	.pc { display: none !important; }
	.sp { display: block !important; }
}




@media screen and (max-width: 640px) {
	.pc { display: none !important; }
	.sp { display: block !important; }
	.scroll_x {
	  overflow-y: hidden;
	  overflow-x: scroll;
	-webkit-overflow-scrolling: touch;	
	}
	.scroll_x::-webkit-scrollbar {
	  height: 10px;
	}	
}


/*ページネーション*/
div.pagination {
	clear:both;
	padding:20px 0;
	position:relative;
	font-size:11px;
	line-height:13px ;
	background:none;
	margin:10px 0 20px;
	vertical-align: middle;
}

div.pagination span, .pagination a {
	display:block;
	float:left ;
	margin: 2px 2px 2px 0 ;
	padding:6px 9px 5px 9px ;
	text-decoration:none;
	width:auto ;
	color:#fff ;
	background: #666 ;
}

div.pagination a:hover{
	color:#fff ;
	background: #fdcd1a;
}

div.pagination .current{
	padding:6px 9px 5px 9px ;
	background: #fdcd1a;
	color:#fff ;
}



/*---------------------------------------------------------------------------
　header .inner
---------------------------------------------------------------------------*/
/*==============================
.inner
================================*/
/* header {
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 220px;
	background: #fff;
  transition: .3s;
} */
/* header */
header {
    position: absolute;
    width: 100%;
    /* top: -100px; */	
    /* margin: 100px auto 0;*/	
	margin: 0 auto;
    padding: 0px 0 0;
    line-height: 1;
    z-index: 999;
	background: #ebeeea;
}

header .inner {
	position: relative;
	width: 100%;
	max-width: 1200px;
	height: 106px;
	margin: 0px auto;
}

header .inner .logo {
	display: inline-block;
}
header .inner .logo img {
    width: 358px; height: auto;
}

@media screen and (max-width: 640px) {
	header .inner { height: 60px; background: #ccc; }
}


#mobile-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}
.header_left {
	width: auto;
	max-width: 358px;
}
.header_left h2 {
	padding: 0 0 5px 7px;
	font-size: .8em;
	font-weight: normal;
}
.header_left p {
	padding: 0 0 0 7px;
	font-size: .75em;
	font-weight: normal;
}

/*==============================
.header_right
================================*/
.header_right {
	width: auto;
}
.header_right .htel {
	font-size: 1.25em;
	margin-bottom: 10px;
	text-align: right;
}
.header_right .htel small {
	font-size: .75em;
}

@media screen and (max-width: 1000px) {
	.header_left h2,
	.header_left p,
	.header_right .wrap_hnav {
		display: none;
	}
}






/*==============================
#global-nav
================================*/
#global-nav ul {
    list-style: none;
    /* position: absolute;
    right: 0;
    bottom: 0; */
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: flex-end;
}

#global-nav ul li {
    display: inline-block;
	text-align: center;
	box-sizing: border-box;
	padding: 1em 1em;
	border-left: dotted 1px #999999;
	position: relative;
}
/* #global-nav ul li::before {
	content: '';
	display: block;
	width: 100%;
	height: 48px;
	background: #00a7d9;
} */
#global-nav ul li a {
	width: 100%; height: 100%; display: block;
}




/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
#global-nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	bottom:0;
	transform: translateY(100%);
	z-index: 4;
    /*形状を指定*/
	background:rgba(0,98,163,0.95);
    /*はじめは非表示*/
  visibility:hidden;
  opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}
#global-nav li.has-child li {
	padding: 0;
	width: 100%;
	white-space: nowrap;
}
#global-nav li.has-child li a {
	display: block;
	font-size: .9em;
	text-decoration: none;
	color: #fff;
	padding:1em 1em;
	transition:all .3s;	
	/* border-bottom:solid 1px rgba(255,255,255,0.6); */
}
#global-nav li.has-child li a:hover {
	background:rgba(0,0,0,0.2);
}

#global-nav li.has-child li:last-child a {
	border-bottom:none;
}

/*hoverしたら表示*/
#global-nav li.has-child:hover > ul,
#global-nav li.has-child ul li:hover > ul,
#global-nav li.has-child:active > ul,
#global-nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}
/*==============================
Fixed
================================*/

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 100px;
    background: #fff;
    background: rgba(255,255,255,.95);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
	 box-shadow: 0 10px 15px -10px;
}
#top-head.fixed .inner { height: 90px; }

#top-head.fixed .header_right {
	
}
#top-head.fixed .inner .logo {
	
}


/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
	padding: 5px 5px 0;
	background: #1b8f6c;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 2px;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 20px;
}


@media screen and (max-width: 1000px) {
    header,
    header .inner {
        width: 100%;
        padding: 0;
		height: 60px;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
		height: 60px;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 70px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        /* position: absolute;
        left: 13px;
        top: 13px;
        width: 60%; */
    }
	#top-head.fixed .inner { height: 60px; box-shadow: 0 10px 15px -10px; }
	#top-head.fixed .inner .logo {
	display: block;
	}
	#top-head .inner .logo img {
    width: 100%; height: auto;
		max-width: 358px;
	}

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -100vh;
		left: 0;
		height: 100vh;
        background: rgba(27,148,108,0.95);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
	
    #global-nav ul li {
        float: none;
        position: static;
    display: inline-block;
	width: 90%; max-width:none;
	height: auto;
	text-align: center;
	box-sizing: border-box;
	border-left: none;
	padding: 0;
    border-bottom: dotted 1px #fff;	
}
	
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 0;
		padding: 1em 1em;
		text-align: left;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 13px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 13px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(100vh);
        -webkit-transform: translateY(100vh);
        transform: translateY(100vh);
    }
}
/* .has-child ul　ドロップダウンメニュー */
@media screen and (max-width: 1000px) {

	#global-nav li.has-child ul {
		position: relative;
		left:0;
		top:0;
		width:100%;
		visibility:visible;/*JSで制御するため一旦表示*/
		opacity:1;/*JSで制御するため一旦表示*/
		display:block;/*JSで表示させるため非表示に*/
		transition:none;/*JSで制御するためCSSのアニメーションを切る*/
		background: rgba(0,0,0,0.5);
		display: flex;
		justify-content: flex-start;
		flex-wrap: wrap;		
	}		
	#global-nav ul {
		display: block;
		margin: 0;
	}
	#global-nav li.has-child ul li { 
		width: 100% !important;
		position: relative;
	}
	#global-nav li.has-child ul li::before { 
			content: "";
			width: 10px; height: 10px;
			display: inline-block;
			border-left: solid 2px #fff;
			border-bottom: solid 2px #fff; 
			position: absolute; left: 20px; top: 10px;
	} 
	#global-nav li.has-child ul li a {
		padding: 1em 20px 1em 40px !important;
	}
	
}

/*---------------------------------------------------------------------------

　side_btn

---------------------------------------------------------------------------*/
.side_btn {
	position: fixed;
	right: 0;
	top: 200px;
	
	z-index: 9000;
}
.side_btn img {
	width: 80px; height: auto;
	transition: 0.5s;
}
.side_btn img:hover {
	opacity: 0.6;
}
@media screen and (max-width: 640px) {
	.side_btn {
		display: none;
	}	
}

/*---------------------------------------------------------------------------
　footer
---------------------------------------------------------------------------*/
/*==============================
footer .inner
================================*/
footer {
}
footer .inner {

	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1000px;
	margin: -50px auto 0;
	padding-bottom: 2em;
	
}

.copyright {
	background: #fff;
	font-size: 80%;
	padding: 1em;
	text-align: center; }



@media screen and (max-width: 640px) {

}