@charset "utf-8";
/* CSS Document */
header  {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 74px;
  transition: .3s;
  background-color:#fff;
    box-shadow: 0 0 10px 3px rgb(0 0 0 / 5%);
}
#logo{
  float:left;
  width:74px;
  margin: 7px 0 0 20px;
}

#logo img{
    width:100%;
}

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

/*==ナビゲーション全体の設定*/
nav{
	color:#333;
	text-align: center;
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: end;
	margin-top:5px;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:25px 12px;
	transition:all .3s;
	line-height: 1em;
	font-weight: bold;
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "Helvetica Neue";
	font-size: 120%;
	text-align: center;
}

nav ul li a:hover{
	opacity: .6;
}

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

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:40px;
	z-index: 4;
    /*形状を指定*/
	background-color: #fff;
	width:105px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
	margin-left: -10px;
	padding: 8px 0;

}

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

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #333;
	font-size: 100%;
	font-weight: normal;
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "Helvetica Neue";
	padding: 8px 0 3px 0;
}

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

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	opacity: .6;
}

.nav_button{
	background: #da4654;
	padding: 3px 20px 0 20px;
	color: #ffffff;
	margin-top: 15px;
	margin-right:15px;
	margin-left: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 120%;
	border: 2px solid #da4654;
	white-space: nowrap;
}

a .nav_button .fas.fa-caret-right {
}

.nav_button:hover{
	color: #EF2A16;
	background-color: #fff;
}


@media screen and (max-width:1000px){
/*ナビゲーションのリンク設定*/
nav ul li a{
	padding:25px 10px;
	font-size: 110%;
}
	
#logo{
  width:60px;
  margin: 12px 0 0 12px;
}
	
header{
	 height: 70px;
}
}
/*==900px以下の形状*/

@media screen and (max-width:899px){
	
header{
	 height: 60px;
}
	
#logo {
     width:56px;
  margin: 8px 0 0 12px;
}

nav ul li .first{
	margin-left: 0px;
	padding-bottom: 0px;
}
	
nav{
		padding: 0;
	}
	
nav ul{
		display: block;
}
	
nav li.has-child ul,
nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
	
nav ul li a{
	    padding: 20px 35px 20px;	
	font-size: 180%;
	letter-spacing: 0.1em;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  background: rgba(255,255,255,0.90);
}
	
nav.show {
  opacity: 1;
  visibility: visible; 	
}

nav li.has-child ul {
    top: 0px;
    background: rgba(255,255,255,0.0);
	margin: 10px auto;

}
nav li.has-child ul li a {
    font-size: 140%;
    padding: 10px 0 10px 0;
}
/*ハンバーガーメニュー*/
.nav_toggle{
	display: block;
    position: fixed;
    z-index: 3;
    right: 3%;
    top: 15px;
  width: 32px;
  height: 1.75rem;
    cursor: pointer;
    text-align: center;
}
	
.nav_toggle i {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  position: absolute;
  transition: transform .5s, opacity .5s;
}
.nav_toggle i:nth-child(1) {
  top: 0;
}
.nav_toggle i:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}
.nav_toggle i:nth-child(3) {
  bottom: 0;
}

.nav_toggle.show i:nth-child(1) {
  transform: translateY(12px) rotate(-45deg);
}
.nav_toggle.show i:nth-child(2) {
  opacity: 0;
}
.nav_toggle.show i:nth-child(3) {
  transform: translateY(-14px) rotate(45deg);
}

.nav_button {
    width: 50%;
    margin: 0 auto;
	font-size: 170%;
	margin-top: 30px;
	padding: 10px;
}	
	
}


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

}
