@charset "UTF-8";

#header {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
}

#header #site_header {

	display: grid;
	grid-template-rows: 10px 80px;
	grid-template-columns: 1fr 180px;
	
}

/*会社ロゴ*/
#header #pontech_logo {
	grid-row: 2;
	grid-column: 1;
	width: 300px;
	height: 70px;
	margin: 0px 10px;
}

/*問い合わせボタン*/
#header #button_contact {
	grid-row: 2;
	grid-column: 2;
	width: 160px;
	height: 70px;
	font-size: 15px;
	color: #fff;
	border: solid 10px;
	border-radius: 30px;
	background: linear-gradient(to top right, #ff6600, #ff6600, #ff3300);
}

/*問い合わせがメーラー起動で対応中のCSS*/
#header #button_contact a{
	color: #fff;
}



#header #button_contact:hover {
    /*ホバー時に文字色変えてホバーしてるのをわかりやすくしたい*/
}

/*メニューバー*/

.main_menu {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0;
	background: linear-gradient(#ff6600, #ff3300, #ff3300);
}

.menu_items {
	display: flex;
	justify-content: center;
	margin: 0;
}

.menu_item {
	width: 160px;
	height: 40px;
	position: relative;
	transition: all .5s;
	list-style-type: none;
}

.menu_item:hover {
	background: linear-gradient(#ff9966, #ff6600, #ff6600);
}

/*区切り線の設定*/
.menu_item:not(:first-child)::before {
	content: "";
	width: 1px;
	height: 100%;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .5s;
}

.menu_item:hover::before {
	background: linear-gradient(#ff9966, #ff6600, #ff6600);
}

.menu_item a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: #fff;
	/*font-size: 15px;*/
	letter-spacing: 0.05em;
	font-weight: 500;
	transition: all .5s;
}

/*ドロップダウンメニュー*/

.dropdown_items {
    visibility: hidden;/*デフォルトでは非表示の状態にしておく*/
    opacity: 0;/*不透明度0*/
    transition: all .5s;/*表示の変化を0.3秒に指定*/
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: absolute;
    top: 40px;
    left: 0;
}

.menu_item:hover .dropdown_items {
    visibility: visible;/*Gナビメニューにホバーしたら表示*/
    opacity: 1;/*不透明度1*/
}

.menu_item:hover::after .dropdown_items {
    visibility: hidden;/*再び非表示の状態にしておく*/
}

.dropdown_item {
    background-color: #ff6633;
    height: 50px;
    transition: all .5s;
    position: relative;
	list-style-type: none;
}

/*区切り線の設定*/
.dropdown_item::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ff3300;
    position: absolute;
    top: 0;
    left: 0;
}

.dropdown_item:hover {
    background-color: #ff3300;
}

.dropdown_item a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
}

/*メニューの後ろに＞をつける*/
.dropdown_item a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}
