/* 共通スタイル */
*{
margin: 0;
padding: 0;
}
.text{
        font-size: 1rem;
        line-height: 2rem;
    }
.wrap {
     overflow: hidden;
 }
body {

  margin: 0;
  overflow-x: hidden;
  background-color: #fff;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Noto Sans JP", "メイリオ", sans-serif;
}

.header {
  font-family: 'Avenir','Helvetica Neue','Helvetica','Arial', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', sans-serif;
}

a{
  text-decoration: none;
}

ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

img.heder-logo{
    margin-left: 30px;
    margin-top: 30px;
}
.nav-sp li {
  display: inline-block;
  color: #333; /* メニューの文字色 */
  padding: 1em 2em;
  font-weight: 600;
  text-align: center;
}
.nav-sp li a {
  color: #333; /* メニューの文字色 */
  text-decoration: none;
  font-weight: 600;
}

/* ヘッダー */
.header{
  background-color: #fff;
  color: 333;
  z-index: 100;
  display: inline-block;
  width: 100%;
}

.header__inner{
  height: 120px;
  display: inline-block;
}
ul#menu{
  display: inline-flex;
  align-items: center;
  padding: 0 0px;
  position: absolute;
  right: 0;
  top: 65px;
}

#upper{
  position: absolute;
  display: flex;
  top: 0;
  right: 0;
}
.tel{
    color: #fff;
   font-size: 1.3rem;
   font-weight: 400;
   width: 200px;
   display: inline-block;
   line-height: 60px;
   padding: 0px 20px 0px 20px;
   background-color: #00548d;
   text-align: center;
   font-family: 'Jost', sans-serif;
}
a.phone{
 color: #fff;
}
a.tel:visited{
 color: #fff;
}
a.mail{
   color: #fff;
   font-size: 1rem;
   width: 200px;
   display: inline-block;
   line-height: 60px;
   padding: 0px 20px 0px 20px;
   background-color: #0071bc;
   text-align: center;
}
.mail-icon-h{
  width: 25px;
  margin-bottom: -3px;
  margin-right: 10px;
}

.mail-icon-h: hover{
color: #999;
}

a.mail:hover{
 background-color: #004071;
}


.nav-sp{
   text-align: right;

}
.hidden-mail,.hidden-tel{
display: none;
}

ul.mega__menu-second {
  visibility: hidden;
  opacity: 0;
  display: inline-flex;
}

.mega__menu-second li a {
  font-weight: 100;
 color: #fff;
}

.header__menu li a:hover {
  color: #ccc; /* ホバーした時の文字色 */
}

.header__menu li:hover a {
  color: #fff;
}

.header__menu li:hover {
  background-color:rgba(0,0,0,.7); /* メニューの背景色 */
  color: #fff;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

li.mega__menu ul.mega__menu-second {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color:rgba(0,0,0,.7); /* メガメニューの背景色 */
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
   z-index: 99;
}

li.mega__menu:hover ul.mega__menu-second {
  top: 55px;
  visibility: visible;
  opacity: 1;
}
.underbar {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.underbar::after {
  position: absolute;
  bottom: 2px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #e7241d;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.underbar:hover::after {
  bottom: -4px;
  opacity: 1;
  visibility: visible;
}

li#cate01{
  text-align: left;
}


li.menu-parent{

  line-height: 1rem;
  color: #fff;
  margin-left: -0.3rem;
}
li.menu-child{
  font-size: 0.9rem;
}
.border01{
 border: 1px solid rgba(255, 255, 255, 0.2);
 width: 80%;
 margin-left: 25px;
 margin-bottom: 10px;
}
#cate-left{
 width: 55%;
}
#cate01-right{
 width: 45%;
}

@media screen and (max-width:800px) {
a{
  text-decoration: none;
}

/* ハンバーガーメニュー */
.hamburger-menu{
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 20;
  position: absolute;
  top: 15px;
  right: 140px;
}

.hamburger-menu__line{
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #000;
  position: relative;
  transition: all 0.5s;
}

.hamburger-menu__line::before,
.hamburger-menu__line::after{
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #000;
  position: absolute;
  transition: all 0.5s;
}

.hamburger-menu__line::before{
  transform: translateY(-10px);
}
.hamburger-menu__line::after{
  transform: translateY(10px);
}

.hamburger-menu.open .hamburger-menu__line{
  background-color: transparent;
}
.hamburger-menu.open .hamburger-menu__line::before{
  transform: rotate(45deg);
  background-color: #fff;
}
.hamburger-menu.open .hamburger-menu__line::after{
  transform: rotate(-45deg);
  background-color: #fff;
}

/* ナビゲーション */
.nav-sp{
  box-sizing: border-box;
  position: absolute;
  top: -100vh;
  width: 100%;
  height: 100vh;
  padding: 0px 10px 0;
  background-color: rgba(0,0,0,0.8);
  text-align: left;
  transition: top 0.5s;
  z-index: 10;
}

.nav-sp.open{
  top: 0;
}

.nav-sp a{
  display: inline-block;
  padding: 0px 0;
}


ul#menu{
  display: block;
  left: 0;
  right: 0;
  position:relative;
  margin: auto;
  padding: 0px 10px 0;
}

.tel{
   width: 60px;
   height: 60px;
   display: inline-block;
   padding: 0px;
   line-height: 90px;
}

a.mail{
   width: 60px;
   height: 60px;
   display: inline-block;
   padding: 0px;
   line-height: 75px;

}
.tel:hover{
 background-color: #880e03;
}


.apear{
  display: none;
}
.hidden800{
display: block;
}
img.hidden-mail{
  width: 34px;
  display: inline-block;
}
img.hidden-tel{
  width: 26px;
  display: inline-block;
}

img.heder-logo{
    width: 200px;
    margin-left: 20px;
    margin-top: 8px;
}
.header__inner{
  height: 60px;
  display: inline-block;
}
ul.mega__menu-second {
  display: block;
}
.nav-sp li {
  display: block;
  padding: 0.3em 2em;
}

.newline{
  display: block;
}

.nav-sp li a {
  color: #fff; /* メニューの文字色 */
}

.nav-sp li {
  color: #fff; /* メニューの文字色 */
  text-align: left;
}

.nav-sp li{
    text-align: left;
}
li.mega__menu ul.mega__menu-second {
  position: relative;
  top: 0px;
  left: 0;
  width: 100%;
  background-color:rgba(0,0,0,0); /* メガメニューの背景色 */
  box-sizing: border-box;
  text-align: left;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
   padding: 10px;
}

li.mega__menu:hover ul.mega__menu-second {
  top: 0px;
}

ul.mega__menu-second {
  visibility: visible;
  opacity: 1;
  display: block;
     z-index: 100;
}
#cate-left{
 width: 100%;
}
#cate01-right{
 width: 100%;
}
#cate01,#cate02{
  margin-bottom: 5px;
}

.newline{
  display: none;
}
html{
    font-size: 90%;
}
}

@media screen and (max-width: 480px){
.header__inner {
    height: 55px;
}
img.heder-logo {
    width: 180px;
    margin-left: 10px
}
.tel {
    width: 55px;
    height: 55px;
    line-height: 82.5px;
  }
a.mail{
   width: 55px;
   height: 55px;
   line-height: 70px;

}

img.hidden-mail{
  width: 32px;
}
img.hidden-tel{
  width: 24px;
}
.hamburger-menu{
  width: 28px;
  height: 26px;
  right: 120px;
}
#cate01, #cate02 {
    margin-bottom: 2px;
}
#cate01.menu-child,
.border01{
  display: none;
}

html{
  font-size: 82%;
}
}