@charset "utf-8";
/* CSS Document */
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    list-style: none;
}

.gnavi li a.gnavi-udline{
    display: block;
    padding:10px 30px;
    text-decoration: none;
    color: #484848;
}
/*

.gnavi li{
    margin-bottom:20px;
}
*/

/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a.gnavi-udline{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a.gnavi-udline,
.gnavi li a.gnavi-udline:hover{
	color:#484848;
}

.gnavi li a.gnavi-udline::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#F6F5F2;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a.gnavi-udline::after,
.gnavi li a.gnavi-udline:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}



/*==================================================
アコーディオンのためのcss 9-2-1
===================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}
.company-line .accordion-area {
	list-style: none;
	width: 30rem;
	margin: 0;
}

.accordion-area li{
    margin: 10px 0;
}
.company-line .accordion-area li{
    margin: 0px 0;
}
.accordion-area section {
	border: 1px solid #ccc;
}

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

.kaihatsu-box .accordion-area .title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 1% 1% 1% 50px;
	margin-bottom: 0;
    transition: all .5s ease;
}
/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

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



/*---------------------------------------------*/
/* button 7-1-1
============================================== */
.btn-st {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #3b74a6;/* ボーダーの色と太さ */
    padding: 0.5rem;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn-st span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#3b74a6;
}

.btn-st:hover span{
	color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
 	background:#3b74a6;/*背景色*/
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}
