@charset "utf-8";

.iroha-bg {
background:#fbf3e8;
}

.inner {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}

.inner:after {
  content:"";
  clear: both;
  display: block;
}

/*--------header-----------*/

#top-head {
	width: 100%;
	margin: 0 auto 0;
	z-index: 999;
}

#top-head a,
#top-head {
    text-decoration: none;
}

#top-head .inner {
    position: relative;
}
#mobile-head .title {
	display: none;
	width: 200px;
	padding: 5px 0 0 10px;
}
#mobile-head .title .logo{
	width: 163px;
}

#global-nav {
	z-index: 99;
}

div#gnav-container{
	width: 100%;
	margin: 10px 0;	
	overflow: hidden;
}
div#gnav-container .title{
	position: absolute;
	width:201px;
	height: 91px;
	text-indent: 
}
.top div#gnav-container .title{
	background: url(../img/common/head-title-pc1.png) no-repeat;
}
div#gnav-container .title2 a{
	position: absolute;
	width:288px;
	height: 45px;
	background: url(../img/common/head-title2.png) no-repeat;
	background-size: contain;
	top:45px;
	left:32px;
	/* テキスト非表示　*/
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

ul#gnav-ul {
	float: right;
	margin:0;
}
ul#gnav-ul > li {
    float: left;
	text-align: center;
}
ul#gnav-ul > li > a {
	height: 100px;
	display: table-cell;
	padding: 0 25px;
	border-left: 1px solid #FFF;
    position: relative;
    font-size: 18px;
	font-weight: bold;
	color: #6178D6;
	vertical-align: middle;
}

ul#gnav-ul > li.bt1 > a {
	color: #00b8ef;
}
ul#gnav-ul > li.bt2 > a {
	color: #06b183;
}
ul#gnav-ul > li.bt3 > a {
	color: #e45269;
}
ul#gnav-ul > li.bt4 > a {
	color: #f36e1d;
}
ul#gnav-ul > li.bt1 > a:hover {
	background: #00b8ef;
	color: #FFF;
}
ul#gnav-ul > li.bt2 > a:hover {
	background: #06b183;
	color: #FFF;
}
ul#gnav-ul > li.bt3 > a:hover {
	background: #e45269;
	color: #FFF;
}
ul#gnav-ul > li.bt4 > a:hover {
	background: #f36e1d;
	color: #FFF;
}


ul#gnav-ul > li > ol > li {
	background: #FFF;
	font-size: 14px;
}
ul#gnav-ul > li > ol > li.active {
	background: #f2f2f2;
	pointer-events: none;
}


/*-----------ロゴ横リンク-------------*/

#nav-link {
    position: absolute;
    right: 10px;
    top: 5px;
}

#nav-link ul li{
	float: left;
	margin: 0 5px;
}
#nav-link ul li a{
	font-size: 90%;
	padding-left:0.5em;
	color: #333;
}
#nav-link ul li a::before{
	content: ">";
	margin-right: 0.3em;
	color: #ed0000;
}
#nav-link ul li a:hover{
	color: #ed0000;
	text-decoration: none;
}


/*-----------スマホのトグルボタンのCSS-------------*/

#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #F00;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}



@media screen and (max-width: 1024px) {
#top-head, .inner {
	width: 100%;
	padding: 0;
}

#mobile-head {
	background: #fff;
	height: 70px;
	z-index: 9999;
	position: relative;
	border-top: 7px solid #f00;
	border-bottom: 1px solid #CCC;
}
#mobile-head .title{
	display: block;
}
#global-nav {
	position: absolute;
	border-left: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	
	/* 開いてないときは画面外に配置*/
	right:-301px;
	width: 300px;
	text-align: center;
	padding: 0;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;	
}
div#gnav-container{
	margin: 0;	
}
div#gnav-container .title{
	display: none;
}
  #global-nav ul li {
	  float: none;
      position: relative;
      padding: 0;
}
  #global-nav ul li img{
	  display: none;
  }
  #global-nav ul li br{
	  display: none;
  }
  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
      display: block;
	  width: 300px;
	  height: 40px;
	  line-height:40px;
      padding: 0;
  }
ul#gnav-ul {
	overflow: scroll;
	height: 383px;
}
#top ul#gnav-ul {
	overflow: scroll;
	height: auto;
}
ul#gnav-ul > li {
}
ul#gnav-ul > li > a {
	font-size:12px;
	
	border-top: none;
	border-bottom: none;
	padding: 20px;
}
ul#gnav-ul > li.bt1 > a {
	background: #00b8ef;
	color: #FFF;
}
ul#gnav-ul > li.bt2 > a {
	background: #06b183;
	color: #FFF;
}
ul#gnav-ul > li.bt3 > a {
	background: #e45269;
	color: #FFF;
}
ul#gnav-ul > li.bt4 > a {
	background: #f36e1d;
	color: #FFF;
}
	
  #nav-toggle {
      display: block;
      right: 25px;
      top: 20px;
  }
  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
      top: 11px;
      -webkit-transform: rotate(315deg);
      -moz-transform: rotate(315deg);
      transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
      width: 0;
      left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
      top: 11px;
      -webkit-transform: rotate(-315deg);
      -moz-transform: rotate(-315deg);
      transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
      /* #global-nav top + #mobile-head height */
      -moz-transform: translateX(-300px);
      -webkit-transform: translateX(-300px);
      transform: translateX(-300px);
  }
  /* 背景固定*/
html.open, html.open body {
	overflow: hidden;
	height: 100%;
}
	html.open article, html.open footer{
		opacity: .5;
		pointer-events: none;
	}
  

div.link{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	
}
div.link .item{
	margin: 0;
	padding: 0;
	text-align: center;
	flex:0 1 50%;
	background: #FFF;
	
}
div.link .item a{
	padding: 0.5em;
	border: 1px solid #CCC;
	display: block;
	text-decoration: none;
	font-size: 90%;
	color:#333;
}

}

/*---------gnav sp--------------*/
/*-----------スマホ-------------*/
@media screen and (max-width: 767px) {

}


