@charset "utf-8";

/* CSS Document */

/*****************************************************
*
* ヘッダーメニュー
*
******************************************************/

.navbar {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.navbar-default {
  background: none;
}

.navbar .navbar-brand {
  height: auto;
  padding: 15px 15px 0 20px;
}

.navbar .navbar-brand img.blue {
  display: none;
}

#blog .navbar .navbar-brand img {
  display: none;
}

#blog .navbar .navbar-brand img.blue {
  display: block;
}

.navbar .navbar-global {
  border-color: #e7e7e7;
  margin: 0;
  padding: 0;
  display: block;
  height: auto;
  width: auto;
  /* transition: all 0.3s ease 0s; */
}

.navbar .nav li a,
.menu__item {
  position: relative;
  line-height: 59px;
  /* padding: 0 20px; */
  color: #fff;
  font-size: 1.5rem;
  font-weight: normal;
  cursor: pointer;
}

.navbar .collapse .nav li a[target] {
  background: url(../images/common/icon_linkblank_white.png) right 20px top 49%
    no-repeat;
  -webkit-background-size: 12px 12px;
  background-size: 12px 12px;
  @media screen and (min-width: 992px) {
    padding-right: 40px;
  }
}

#blog .navbar .collapse .nav li a[target] {
  background: url(../images/common/icon_linkblank.png) right 20px top 49%
    no-repeat;
  -webkit-background-size: 12px 12px;
  background-size: 12px 12px;
}

#blog .navbar .collapse .nav.menu li a {
  color: #000;
}

#blog .menu__item::before {
  border-top: 8px solid #000;
}

#blog .menu__item__inr {
  color: #000;
}

#blog .pulldown__inr {
  color: #fff;
}

/* メニュー */

.navbar .collapse .nav.menu li a:hover,
.navbar .collapse .nav.menu li li a:hover,
.menu__item:hover {
  color: #01bff9;
}

.navbar .collapse .nav.menu li a::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 20px;
  right: 0;
  /* top: 34px; */
  top: 0;
  bottom: 0;
  margin-block: auto;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

#blog .navbar .collapse .nav.menu li a::after {
  background-color: rgba(0, 0, 0, 0.5);
}

.navbar .collapse .nav.menu li:nth-of-type(6) a::after {
  display: none;
}

/* プルダウン */

.pulldown {
  background: #1b2c74;
}

@media screen and (min-width: 769px) {
  .nav.menu li:hover li {
    height: 40px;
    opacity: 1;
    overflow: visible;
  }
  .pulldown {
    /* width: 240px; */
    width: 280px;
    position: fixed;
    right: 60px;
    top: 80px;
    background: #1b2c74;
  }
  .menu__item::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 20px;
    left: 47%;
    border-left: 4px solid transparent;
    border-top: 8px solid #fff;
    border-right: 4px solid transparent;
    transition: all 0.3s ease;
  }
}

/* コンタクト */

.navbar .collapse .nav.contact {
  padding: 0 15px 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 88px;
}

.navbar .collapse .nav.contact li {
  float: none;
  margin: 0 5px;
}

.navbar .collapse .nav.contact li a {
  padding: 0 40px;
  line-height: 40px;
  background: #02c0fa;
}

.navbar .collapse .nav.contact li a span {
  display: inline-block;
}

.navbar .collapse .nav.contact li:last-child a {
  background: #ff660b;
}

.navbar .collapse .nav.contact li.tel a {
  font-size: 2.4rem;
  font-weight: bold;
}

.navbar .collapse .nav.contact li.tel a img {
  vertical-align: middle;
  margin-top: -5px;
}

.navbar .collapse .nav.contact li.mail a:hover {
  /*color: #30B5DF;*/
  background-color: #f2f2f2;
}

.navbar .collapse .nav.contact li.mail a img {
  vertical-align: middle;
  margin-top: -3px;
}

/******************************************************
* スクロール時　*
******************************************************/

.navbar.compact {
  height: 66px;
  background: #fff;
  -webkit-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
}

.navbar.compact .navbar-brand {
  padding: 9px 15px 0 20px;
}

.navbar.compact .navbar-brand img {
  width: 120px;
  display: none;
}

.navbar.compact .navbar-brand img.blue {
  display: block;
}

.navbar.compact .nav li a,
.navbar.compact .menu__item {
  line-height: 66px;
  color: #000;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar.compact .menu__item::before {
  border-left: 4px solid transparent;
  border-top: 8px solid #000;
  border-right: 4px solid transparent;
  bottom: 10px;
}

.navbar.compact .nav li a[target] {
  @media screen and (min-width: 992px) {
    background: url(../images/common/icon_linkblank.png) right 20px top 49% no-repeat;
    -webkit-background-size: 12px 12px;
    background-size: 12px 12px;
  }
}

.navbar.compact .nav.contact {
  height: 66px;
}

.navbar.compact .nav.contact li a {
  color: #fff;
  line-height: 36px;
}

.navbar.compact .nav.menu li a::after {
  background-color: rgba(0, 0, 0, 0.1);
}

.headbg {
  display: none;
  background: rgba(255, 255, 255, 0);
  width: 100%;
  height: 52px;
  position: fixed;
  left: 0;
  top: 0;
}

.navbar-default .navbar-toggle {
  border: none;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}

#blog .navbar-default .navbar-toggle .icon-bar {
  background-color: #000;
}

.navbar-default.compact .navbar-toggle .icon-bar {
  background-color: #888;
}

.navbar.compact .nav .pulldown {
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}

.navbar.compact .nav .pulldown::before {
  border-top: 8px solid #1b2c74;
}

.navbar.compact .nav .pulldown__link {
  color: #fff;
}

/******************************************************
* プルダウン　*
******************************************************/

@media screen and (min-width: 992px) {
  .nav.menu li:hover li {
    height: 54px;
    opacity: 1;
    overflow: visible;
  }
  .pulldown {
    /* width: 240px; */
    width: 280px;
    position: fixed;
    right: 90px;
    top: 66px;
    background: #1b2c74;
  }
  .pulldown__item {
    height: 0;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
  .pulldown__link {
    line-height: 0 !important;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .pulldown__link::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    top: 40%;
    right: 15%;
    border-left: 8px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
  }
  .pulldown__inr {
    display: block;
    text-align: left;
    font-size: 14px;
    width: 100%;
    padding: 27px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .pulldown__item:last-of-type .pulldown__inr {
    border-bottom: none;
  }
}

/******************************************************
* レスポンシブ　*
******************************************************/

@media screen and (max-width: 1219px) {
  .navbar .collapse .nav.contact li.mail a span {
    display: none;
  }
  .navbar .collapse .nav li a {
    padding: 0 20px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1130px) {
  .navbar .collapse .nav li a {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .navbar .pc {
    display: none;
  }
  .navbar .sp {
    display: block !important;
  }
  .navbar-header {
    float: none;
  }
  .navbar-right {
    float: none !important;
  }
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: 0;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-global {
    border-top: 1px solid #e7e7e7;
  }
  .navbar-global.collapse {
    display: none !important;
  }
  .navbar-global.collapse.in {
    display: block !important;
  }
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-global,
  .container-fluid > .navbar-global {
    margin-right: -30px;
    margin-left: -30px;
  }
  .navbar-nav > li {
    float: none;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    height: 50px !important;
  }
  .navbar::before {
    display: block;
    position: absolute;
    width: 74px;
    height: 4px;
    right: 0;
    top: -4px;
    background: #30b5df;
  }
  .navbar .navbar-brand {
    padding: 4px 15px 0 10px !important;
  }
  .navbar .navbar-brand img {
    width: 108px !important;
  }
  .navbar-toggle {
    margin: 9px 15px 9px 0;
  }
  .navbar .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
    background: white;
  }
  .navbar .navbar-global {
    background: #fff;
  }
  .navbar-global.collapse.in + .headbg {
    display: block;
    background: rgba(255, 255, 255, 1);
  }
  .navbar .collapse .nav.contact {
    padding: 0;
  }
  .navbar .collapse .nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .navbar .collapse .nav li a {
    color: #000;
  }
  .navbar .collapse .nav li.accent {
    transition: all 0s !important;
  }
  .navbar .collapse .nav li.accent a {
    color: #fff !important;
    background-color: #ff850b;
    transition: all 0s;
  }
  .navbar .collapse .nav.menu li a::after {
    display: none;
  }
  .navbar .menu li a,
  .menu__item {
    line-height: 44px !important;
    padding: 0 30px;
    color: #000;
    text-align: center;
    position: relative;
  }
  .menu__item::before {
    display: none;
  }
  .menu__item__inr::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 4px 0 4px;
    border-color: #1b2b74 transparent transparent transparent;
    transition: 0.3s;
  }
  .menu__item.open .menu__item__inr::after {
    content: "";
    transform: scale(1, -1);
  }
  .pulldown__inr {
    display: block !important;
    margin: 0 !important;
    width: 80%;
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .pulldown__item:last-of-type .pulldown__inr {
    border-bottom: none;
  }
  .pulldown__link {
    color: #ffffff !important;
    padding: 0 !important;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }
  .menu__item {
    padding: 0;
  }
  .navbar .menu li a span {
    display: inline-block;
    margin-left: 10px;
  }
  .navbar .menu li.tel a img {
    vertical-align: middle;
    margin-top: -5px;
  }
  .navbar .menu li.mail a img {
    vertical-align: middle;
    margin-top: -2px;
  }
  .navbar.compact .nav .pulldown {
    box-shadow: none;
  }
}

/**/

.menu__item-pulldown {
  &:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    margin-inline: auto;
    bottom: 24px;
    width: 6px;
    height: 6px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background: #fff;
  }
  .compact & {
    &:before {
      background: #000;
      bottom: 14px;
    }
  }
}

.menu__item-pulldown .pulldown {
  display: none;
}

.menu__item-pulldown:hover .pulldown {
  display: block;
}



.menu-link-blank {
  @media screen and (max-width: 991px) {
    position: relative;
    &:before {
      content: "";
      position: absolute;
      background: url(../images/common/icon_linkblank.png);
      top: 0;
      bottom: 0;
      margin-block: auto;
      right: 20px;
      width: 12px;
      height: 12px;
      z-index: 201;
      z-index: 1;
      background-size: 100%;
    }
  }
}