@charset "utf-8";

/* -----------------------------------------------------------
   HEADER
------------------------------------------------------------*/

/*///////////////// header ////////////////*/
header{
position:relative;
z-index: 10;
background:#fff;
}

.Glogo{
background: url("/TBSgroup-job/img/logo.svg") center center no-repeat;
background-size: 100%;
width:100%;
aspect-ratio:314/25;
display: block;
text-indent:100%;
white-space:nowrap;
overflow:hidden;
}

header #menu{
z-index:3;
width: 100%;
margin:0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;

}

header #menu{
position: fixed;
z-index: 999;
top: 0;
right: 0;
background: rgba(255,255,255,0.8);
}

@media all and (min-width: 813px) {

header h1{
  width: 300px;
  padding:10px 10px;
  margin-left: 10px;
}
}
@media all and (max-width:812px) {

header h1{
width: 100%;
height: auto;
padding: 15px 10px;
text-align: center;
}

.Glogo{
width: 70%;
margin: auto;
}

}

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
  padding: 0;
}

nav ul li{
position: relative;
letter-spacing: 0.09em !important;
font-family: "NotoSansJP", sans-serif !important;
font-style: normal !important;
font-size: 14px
}

nav ul li a{
	display: block;
	text-decoration: none;
	padding:20px 0;
	transition:all .3s;
	white-space: nowrap;
	transition: all 0.6s;
}
nav ul li:hover a{
color:rgba(0,80,255,1) !important;
}

@media all and (min-width: 813px) {

nav ul li{
font-weight:700 !important;
}
#g-nav-list{
		display: flex;
		justify-content: center;
		align-items: center;
}
nav ul li a{
margin:0 20px;
}

}


@media all and (max-width:812px){
nav ul li{
font-size: 10px
}
nav ul li{
font-weight:700 !important;
}
nav{padding: 0;}
nav ul{	display: block;}
nav ul li a{
height:.8em;
margin:.5em auto;
}
nav ul li a span{
display: block;
font-size: 70%;
}
#g-nav li:nth-child(2) a,
#g-nav li:nth-child(3) a,
#g-nav li:nth-child(4) a
{
text-transform: none;
}


}


/*ナビゲーションのリンク*/
.nav_top .has-child a
{color:rgba(0,0,0,1);}



/*==================================================
機能編 　5-1-11 クリックしたらナビが上から下に出現
===================================*/


@media all and (max-width:812px) {
#g-nav{
  position:fixed;
  z-index: 999;
	top:-120%;
  left:0;
	width:100%;
  height: 100vh;/*ナビの高さ*/
	background:rgba(255,255,255,0.8);
	transition: all 0.6s;
}

#g-nav.panelactive{
  top: 0;
}

#g-nav.panelactive #g-nav-list{
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav ul {
  width: 90%;
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translateY(-46%) translateX(-50%);
  -webkit-transform: translateY(-46%) translateX(-50%);
}

#g-nav li:nth-child(2) a,
#g-nav li:nth-child(3) a,
#g-nav li:nth-child(4) a
{
text-transform: uppercase;
font-size:140%;
}

#g-nav li{
	list-style: none;
	text-align: center;
}

#g-nav li a{
	white-space: nowrap;
	text-decoration: none;
	display: block;
	font-size:120%;
}
}

/*==================================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn{
	display: none;
}

@media all and (max-width:812px) {
.g-nav-openbtn{
	display: none;
	position:absolute;
	z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right:0;
	cursor: pointer;
	width: 50px;
	height:50px;
}

.g-nav-openbtn.active{
	position:fixed;
	top:0;
}

/*ボタン内側*/

.g-nav-openbtn .openbtn-area{
    transition: all .4s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
		background:rgba(0,80,255,1);
  }


.g-nav-openbtn span:nth-of-type(1) {
	top:15px;
  	width: 45%;
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
  	width: 30%;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
  	width: 45%;
}

/*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 45%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 45%;
}
}

@media all and (max-width:812px) {
.sp-entry-btn {
    display: block;
    margin-left: auto;
  }

.sp-entry-btn .cvBtn {
    display: inline-block;
    background-color: #0000ff;
    color: #ffffff;
    padding: 6px 12px; 
    font-size: 11px; 
    border-radius: 5px;
    text-decoration: none;
    font-weight: normal;
    line-height: 1.4;
    margin-right: 10px;
    width: 140px;
    text-align: center;
    font-weight: 700 !important;
    font-family: "NotoSansJP", sans-serif;
}
}

/* PCでは非表示 */
@media screen and (min-width: 813px) {
  .sp-entry-btn {
    display: none;
  }
}


/*==================================================
　機能編 5-3-3 左から右に線が伸びる（下部）
===================================*/
.nav_top li a{
	position: relative;
}

.nav_top li a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    height: 1px;
    background:rgba(0,0,0,1);
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

.nav_top li li a::after {
    display: none;
}

@media all and (max-width:812px) {
.nav_top li a::after {
    display: none;
}
}


/*=======　閉じるための×ボタン　========*/
.close-btn{
	position: absolute;
	top:10px;
	right:10px;
	z-index: 2;
	cursor: pointer;
    width: 60px;
    height:60px;
}

.close-btn span{
    display: inline-block;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
 }

/*×マーク*/
.close-btn span:nth-of-type(1) {
    top: 21px;
    left: 16px;
    transform: translateY(6px) rotate(-135deg);
    width: 50%;
}

.close-btn span:nth-of-type(2){
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(135deg);
    width: 50%;
}





/*========= フロートnav ===============*/
@media all and (min-width: 813px) {
#flo_nav nav ul{
flex-wrap: wrap !important;
}
#flo_nav nav ul li{
font-weight:700 !important;
font-size: 140%;
}
#flo_nav nav ul li:nth-child(1),
#flo_nav nav ul li:nth-child(5)
{
font-size: 90%;
}


#flo_nav .accordion-area{
display: block;
width: 240px;
transition:all 0.3s;
background-color: rgba(255,255,255,0.8);
box-shadow: 0px 5px 15px 0px rgba(130, 147, 172, 0.34);
list-style: none;
margin:0 auto;
border-radius:120px;
padding:1.2em 0;
}


#flo_nav .accordion-area h3{
padding: 1em 0;
text-align: center !important;
font-size: 95%;
font-weight: 200 !important;
}
#flo_nav .accordion-area h3.close{
padding:4em 0 1em;
}

#flo_nav .accordion-area h3.close::after{
    position: absolute;
    bottom:-1.5em;
    left: calc(50% - 15px);
    width: 30px;
    height: 1px;
    content: '';
    background: #000;
}

#flo_nav .accordion-area li{
width: 100%;
line-height: 1;
text-align: center !important;
display: flex;
align-content: center;
justify-content: center;
align-items: center;
}

#flo_nav .accordion-area li a span{
display:block;
font-size: 60%;
margin-top: .5em;
font-weight: 200;
}


/*アコーディオンタイトル*/
#flo_nav .navtitle {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    transition: all .5s ease;
}

/*アイコン*/
#flo_nav .navtitle::before{
    position: absolute;
    content:'';
    width: 2.8em;
    height: 2.8em;
    top:-1em;
left: 50%;
transform: translate(-50%, -50%);
background: url(../img/nav/nav_ar.svg) no-repeat;
background-size: contain;
}

/*　closeというクラスがついたら形状変化　*/
#flo_nav .navtitle.close::before{
background: url(../img/nav/nav_ar2.svg) no-repeat;
background-size: contain;
}
}

/*アコーディオンで現れるエリア*/
#flo_nav .navbox {
display: none;/*はじめは非表示*/
margin:0 3% 3% 3%;
padding:2em 0;
}

#flo_nav:hover{
opacity: .5;
}

/*リンクを右下に固定*/
#flo_nav {
	position: fixed;
	left: 40px;
	bottom:20px;
	z-index: 100;
	opacity: 0;
	transform: translateY(200px);
}

/*　上に上がる動き　*/
#flo_nav.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(200px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#flo_nav.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(200px);
  }
}

@media screen and (max-width:812px) {
#flo_nav{
display: none;
}
}




/*/ footer menu /*/
#foot_menu{
display: flex;
margin:2em auto 0;
width: 90vw;
max-width: 1080px;
}
#foot_menu a{
color: #8293AC !important;
}
#foot_menu a:hover{
opacity: .8;
}
#foot_menu .Glogo{
display: block;
text-indent:100%;
white-space:nowrap;
overflow:hidden;
}

#foot_menu li{
font-weight: 400 !important;
}


@media all and (min-width: 813px) {
#foot_menu{
display: flex;
justify-content: space-between;
align-items: center;
max-width:1080px;
}
#foot_menu .Glogo{
width: 100% !important;
}
}
@media all and (min-width: 1081px) {
#foot_menu > div{
width: 400px;
}
#foot_menu nav {
width: 600px;
}
#foot_menu nav ul li a{
font-size:110% !important;
margin:.5em 1em !important;
}
}

@media all and (max-width: 1080px) {
#foot_menu > div{
width:38%;
}
#foot_menu nav {
width:60%;
}
#foot_menu nav ul li a{
font-size:1.5vw;
margin:.5em 1em !important;
}
}

@media all and (max-width: 812px) {
#foot_menu{
flex-wrap: wrap;
text-align: center!important;
}
#foot_menu > div{
width:100%;
}
#foot_menu .Glogo{
width: 80% !important;
}
#foot_menu nav{
margin: auto;
}
#foot_menu nav li{
text-align: center !important;
}
#foot_menu nav ul li a{
font-size:120%;
margin:0;
}
}


/*/ cvBtn /*/
.nav_top .cvBtn a {
    background-color: #0000ff;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 5px
}
.nav_top .cvBtn a:hover {
	opacity: 0.7;
}

@media screen and (max-width: 812px) {
.nav_top .cvBtn a {
    background-color: #0000ff;
    color: #ffffff;
    border-radius: 5px;
    max-width: 60%;
    text-align: center;
    height: 40px;
    margin-top: 30px;
}
}
