@charset "UTF-8";
@import url(nav.css);
/* header */
#top-head {
    top: -85px;
    position: absolute;
    width: 100%;
    margin: 85px auto 0;
    padding: 0;
    line-height: 1;
    z-index: 999;
    height: 85px;
    background: white;
}
@media screen and (min-width: 1400px) {
  #top-head {
        top: -100px;
        margin: 100px auto 0;
        height: 100px;
  }
}
#top-head .header_inner {
    position: relative;
    height: 100%;
}
#top-head .logo {
    width: calc(220 / 1024 * 100%);
    height: 85px;
    max-width: 360px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
}
@media screen and (min-width: 1400px) {
  #top-head .logo {
        height: 100px;
  }
}
#top-head .logo::after {
    content: "";
    display: block;
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -5rem;
    transform: skewX(-30deg);
    background: #b40000;
    z-index: 1;
}

#global-nav ul {
    width: calc(700 / 1024 * 100%);
    list-style: none;
    position: absolute;
    right: 2rem;
    top: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
@media screen and (min-width: 1400px) {
  #global-nav ul {
        font-size: 16px;
  }
}
#global-nav ul li {
    line-height: 1;
    position: relative;
}
#global-nav ul li a {
    color: #333;
    font-family: "Noto Serif JP", serif !important;
    font-weight: bold;
    line-height: 1.6rem;
    transition: all .3s;
}
#global-nav ul li a span.icon {
    font-size: 2.5rem;
}
@media screen and (min-width: 768px) {
  #global-nav ul li a span.icon {
        color: #b40000;
  }
}
@media screen and (min-width: 1400px) {
  #global-nav ul li a span.icon {
        font-size: 3.5rem;
  }
}
@media screen and (min-width: 768px) {
  #global-nav ul li:nth-of-type(-n+3) {
        width: calc(150 / 1024 * 100%);
        display: block;
        text-align: center;
        letter-spacing: 0.1em;
  }
  #global-nav ul li:nth-of-type(-n+3) a::before {
        content: "▼";
        display: block;
        color: #b40000;
        font-size: 12px;
        position: absolute;
        bottom: -1rem;
        left: calc(50% - 6px);
        opacity: 0;
        transition: all .3s;
  }
  #global-nav ul li:nth-of-type(-n+3) a:hover::before {
        bottom: -1.8rem;
        opacity: 1;
  }
}
@media screen and (min-width: 768px) {
  #global-nav ul li:nth-of-type(-n+2)::after {
        content: "";
        display: block;
        width: 1px;
        height: 100%;
        position: absolute;
        top: 0;
        right: calc(25 / 1024 * 100% * -1);
        transform: skewX(-30deg);
        background: #333;
        z-index: 1;
  }
}
#global-nav ul li.n_contact {
    width: calc(50 / 1024 * 100%);
}
@media screen and (min-width: 768px) {
  #global-nav ul li.n_contact {
        margin-left: calc(50 / 1024 * 100%);
  }
}
#global-nav ul li.n_contact span.txt {
    display: inline-block;
}
@media screen and (min-width: 768px) {
  #global-nav ul li.n_contact span.txt {
        display: none;
  }
}
#global-nav ul li.n_contact a {
    display: block;
}
@media screen and (min-width: 768px) {
  #global-nav ul li.n_contact a:hover {
        transform: translateY(-5px);
  }
}
#global-nav ul li.n_tel {
    position: relative;
    text-align: right;
}
#global-nav ul li.n_tel a {
    white-space: nowrap;
    font-size: 2.5rem;
    font-weight: 400;
    display: block;
}
@media screen and (min-width: 1400px) {
  #global-nav ul li.n_tel a {
        font-size: 3.5rem;
  }
}
@media screen and (min-width: 768px) {
  #global-nav ul li.n_tel a:hover {
        transform: translateY(-5px);
  }
}
#global-nav ul li.n_tel .time {
    display: block;
    position: absolute;
    bottom: -14px;
    right: 0;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
  .p_ser #global-nav ul li:nth-of-type(1) a::before,
  .p_com #global-nav ul li:nth-of-type(2) a::before,
  .p_ifa #global-nav ul li:nth-of-type(3) a::before {
        bottom: -1.8rem;
        opacity: 1;
  }
}
/* Fixed*/
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 0;
    height: 70px;
    background: white;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#top-head.fixed .logo {
    width: calc(180 / 1024 * 100%);
    height: 70px;
}
#top-head.fixed #global-nav ul li.n_tel {
    position: relative;
    text-align: right;
    max-width: 180px;
    margin-left: 0;
}
@media screen and (min-width: 768px) {
  #top-head.fixed #global-nav ul li.n_tel {
        margin: auto calc(30 / 1024 * 100%);
  }
}
#top-head.fixed #global-nav ul li.n_tel a {
    white-space: nowrap;
    font-size: 2rem;
    font-weight: 400;
    display: block;
}
@media screen and (min-width: 1400px) {
  #top-head.fixed #global-nav ul li.n_tel a {
        font-size: 2.5rem;
  }
}
@media screen and (min-width: 768px) {
  #top-head.fixed #global-nav ul li.n_tel a:hover {
        transform: translateY(-5px);
  }
}
#top-head.fixed #global-nav ul li.n_tel .icon {
    font-size: 2rem;
}

/* Toggle Button */
#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: #b40000;
    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;
    background: #333;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

/*スマホ*/
@media screen and (max-width: 767px) {
  #top-head,
  #top-head.fixed,
  .header_inner {
        width: 100%;
        height: 56px;
  }

  #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
  }

  /* Fixed reset*/
  #top-head.fixed {
        padding-top: 0;
        background: transparent;
  }

  #mobile-head {
        background: #fff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
  }

  #top-head.fixed .logo,
  #top-head .logo {
        position: absolute;
        left: 0;
        top: 0;
        width: calc(350 / 690 * 100%);
        height: 56px;
        padding: 0 1em;
  }
  #top-head.fixed .logo::after,
  #top-head .logo::after {
        display: block;
  }

  #global-nav {
        position: absolute;
        top: -500px;
        background: rgba(180, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
  }

  #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        padding: 0;
  }
  #global-nav ul li {
        width: 100% !important;
        border-bottom: 1px solid white;
  }

  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
        display: block;
        width: 100%;
        padding: 4rem 0;
        font-size: 2.2rem;
        text-align: center;
        margin: 0 !important;
        color: white;
  }
  #top-head #global-nav ul li a:hover,
  #top-head.fixed #global-nav ul li a:hover {
        background: #333;
  }
  #top-head #global-nav ul li a span,
  #top-head.fixed #global-nav ul li a span {
        display: inline-block;
  }

  #top-head #global-nav ul li.n_contact,
  #top-head #global-nav ul li.n_tel,
  #top-head.fixed #global-nav ul li.n_tel {
        margin: 0 !important;
        width: 100%;
        max-width: none;
  }
  #top-head #global-nav ul li.n_contact .icon,
  #top-head #global-nav ul li.n_tel .icon,
  #top-head.fixed #global-nav ul li.n_tel .icon {
        font-size: 4rem;
        margin-right: 0.3em;
        vertical-align: text-top;
  }

  #top-head #global-nav ul li.n_tel a,
  #top-head.fixed #global-nav ul li.n_tel a {
        display: block;
        padding-bottom: 50px !important;
        font-size: 3rem;
  }
  #top-head #global-nav ul li.n_tel span.time,
  #top-head.fixed #global-nav ul li.n_tel span.time {
        bottom: 30px;
        right: 0;
        font-size: 14px;
        color: white;
        width: 100% !important;
        text-align: center;
  }

  #nav-toggle {
        display: block;
  }

  .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);
  }

  .open #global-nav {
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
  }
}

/*# sourceMappingURL=nav.css.map */
