﻿
/* header固定のため余白をつける。メニューのCSSには関係ない */
.main{  
  margin-top: 60px;
}

.nav_contact {
  background: #C3105B;
  border-radius: 5px;
  color: #fff;
  cursor: default;
  display: block;
	margin: 0 0 0 20px;
  padding: 6px 20px;
}
.nav_contact a{
  color: #fff;
}

@media only screen and (max-width: 1480px) {
	.nav02 { display: none; }
  .nav {
    background-color: #fff;
    height: 100vh;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    position: fixed;
    right: -320px; /* 右から出てくる */
    top: 0;
    padding-top: 60px;
    width: 300px; /* スマホに収まるサイズ */
    transition: all .6s;
    z-index: 200;
  }
  .hamburger {
    position: absolute;
    right: 15px;
    top: 8px;
    cursor: pointer;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    z-index: 300;
  }
	.utility {
    margin-top: 0;
    position: absolute;
    right: 60px;
    top: 15px;
	}
  .nav_list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0 5%;
  }
  .nav_item {
    padding: 0 14px;
    text-align: center;
  }
  .nav_item a {
    border-bottom: 1px solid #eee;
    color: #333;
    display: block;
    padding: 8px 0;
    text-decoration: none;
  }
  .nav_item a:hover {
    background-color: #eee;
  }
  .hamburger_border {
    background-color: #333;
    height: 2px;
    position: absolute;
    left: 11px;
    width: 18px;
    transition: all .6s;
  }
  .hamburger_border_top {
    top: 14px;
  }
  .hamburger_border_center {
    top: 20px;
  }
  .hamburger_border_bottom {
    top: 26px;
  }
  .black_bg {
    background-color: #333;
    cursor: pointer;
    height: 100vh;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    transition: all .6s;
    visibility: hidden;
    width: 100vw;
    z-index: 100;
  }
  /* 表示された時用のCSS */
  .nav-open .nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: .8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    left: 50%;
    width: 0;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
}/* sp */

@media only screen and (min-width: 1480px) {
	.nav { display: none; }
  .header_inner{
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 100%;
  }
  .logo{
    padding: 0px
  }
  .nav_list{
    text-align: right;
  }
  .nav_list li{
    display: inline-block;
    padding-left: 20px;
    text-align: right;
  }
  .nav_list li.sp-menu{
    display: none;
  }
  .nav_list li a{
    font-weight: 600;
  }
}/* pc */

@media only screen and (max-width: 768px) {
	.footer-menu {display: none;}
  .nav_contact {
    display: block;
    margin: 20px 0;
    padding: 6px 20px;
    text-align: center;
  }
  .nav_contact a{
    display: block;
  }
}

.nav02 { 
  float: left;
  margin: 0 0 0 200px;
  padding: 0;
  width: calc(100% - 200px);
}
.menu {
	height: 50px;
	margin: 0 auto;
	padding: 0;
  position: relative;
  width: 100%;
}
.menu > li {
	float: left;
	height: 50px;
	line-height: 50px;
}
.menu > li a {
	color: #333;
	display: block;
	font-weight: 600;
	padding: 5px 25px 0;
}
.menu > li a:hover {
	color: #CCC;
}
.menu__none:hover,
.menu__multi:hover {
  background: #FFF;
  transition: .2s ease;
  -webkit-transition: .2s ease;
}
.menu__second-level li {
  border-top: 1px solid #111;
}
.init-bottom:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 0 15px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu:before,
.menu:after {
  content: "";
  display: table;
}
.menu:after {
  clear: both;
}

/* single menu  */
.menu > .menu__single {
  position: relative;
}
.menu__single .menu__second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  background: #FFF;
  -webkit-transition: .2s ease;
  transition: .2s ease;
  visibility: hidden;
  opacity: 0;
	padding: 0;
}

.menu__single:hover > .menu__second-level {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

/* 多言語対応 */
.utility {
  font-size: 1.4rem;
  margin-top: 20px;
	text-align: center;
  width: 100px;
}
.hdrLang {
  display: flex;
  flex-wrap: wrap;
  height: 3rem;
  justify-content: center; /*中央寄せ*/
  margin: 0 auto;
  padding: 0;
  width: 90%;
}
/* 多言語対応 レイアウト用 */
.hdrLang li, .hdrLang ul{
  list-style: none; /*リスト前の丸を削除*/
  padding: 0; /*丸用の余白を埋める*/
}
/* 多言語対応 リンク用 */
.hdrLang li a{
	border: 1px solid #333;
  border-radius: 2rem;
  color: initial;
  display: block;
  height: 100%;
	padding: 0 15px;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
/* 多言語対応 /*** 一階層目のメニュー ***/
.hdrLang > li{
  height: 100%;
	margin: 0px 0 0 0;
}
.hdrLang > li > a:hover{
  font-weight: bold; /* 太字 */
	opacity: 1.0;
}
.black-color { color: #333;}
.hdrLang > li > a:hover .black-color { 
  color: #C3105B; 
}
/* 多言語対応 /*** 二階層目のサブメニュー ***/
.child_menu{
  background: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .5);
	margin: 5px 0 0 0;
  opacity: 0;
  transform: scale(1,0); /*高さを0に*/
  transform-origin: top; /*上からアニメーション*/
  transition: .3s;
  visibility: hidden; /*非表示*/
}
/* 多言語対応 /* ホバー時 */
.hdrLang > li:hover .child_menu {
  opacity: 1;
  transform: scale(1,1); /*高さを100%に*/
  visibility: visible; /*表示*/
}
/* 多言語対応 /* 装飾用 */
.child_menu li{
	padding: 5px;
	text-align: center;
	width: 100%;
}
.child_menu li a{
	border: none;
	border-radius: none;
}
.child_menu li a:hover{
  background: rgba(195,16,91,0.2);
	border-radius: 0.5rem;
}

@media only screen and (max-width: 1480px) {
  .utility {
    margin-top: 0px;
  }
}