@charset "utf-8";
/* CSS Document */
/* -----------------------------------------------------------
nav
------------------------------------------------------------*/

#header {
    background-color: #f58d35;
}
.home #top-ttl {
    opacity: 0;
}
.home #header {
    background: none;
}
.home.open #header {
    opacity: 1;
    background-color: #f58d35;
}
.home.open #top-ttl {
    opacity: 1;
}

.open #header {
    position: fixed;
    top:0;
    left:0;
    z-index: 10;
}
#top-ttl,
#top-ttl * {
    color:#fff;
    display: block;
    margin:0;
    line-height: 1.3;
}
#toggle {
    position: fixed;
    top: 23px;
    right: 41px;
    display: block;
    z-index: 1002;
    cursor: pointer;
    padding: 0px;
    width: 54px;
    height:  54px;
    background: url(../img/btn-open.png) no-repeat 0 0;
    background-size:contain;
    zoom: 1;
    text-indent: -99999px;
}
#toggle.active {
    background: url(../img/btn-close.png) no-repeat 0 0;
    background-size:contain;
}
#menu {
    padding: 0;
    width: 100%;
    margin: 0;
    z-index:101;
    overflow:hidden;
    height:auto;
    background: #fff;
}
#menu a {
    width:100%;
    color:#333;
}
/* body.open {
    overflow-y: hidden;
} */
.home .header,
.home .header-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.lower .header {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
}
.lower #main {
    padding-top:95px;
}
#sp-menu {
    top: 95px;
    position:absolute;
    width: 100%;
    margin: 0;
    z-index:101;
    overflow:hidden;
    height:auto;
    display: none;
    background: #fff;
    border-bottom:5px solid #f58d35;
}
.open .sp-top-nav {
    position: relative;
}
.open #sp-menu { 
    display: block;
}
#header,
.header-top {
    height: 95px;
}
.header-ttl {
    display: flex;
    align-items: center;
}
/* #top-ttl {
    width:13em;
} */
#top-ttl {
    margin:0;
}
.top-ttl {
    letter-spacing: -0.25;
}
.menu li {
    margin:0.5em 0;
    background: url(../img/ar.png)no-repeat 0 0.3em;
    background-size:9px auto;
}
.menu li.child {
    margin:0 0 0.3em 0.5em;
    background: none;
}
.menu li.child:before {
    content:"・";
    position: absolute;
    top:0.2em;
    left:0;
    width:1em;
    height:1em;
}
.menu li {
    padding-left:1em;
    position:relative;
}
.header-ttl {
    width:100%;
    height:95px;
    padding-left:30px;
    background:url(../img/bg-head.png)no-repeat 300px 0;
    background-size:contain;
}

@media screen and (min-width: 751px){
    .header-wrap {
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    .top-ttl {
        font-size: 3rem;
    }
    .tagline {
        font-size:1.4rem;
        letter-spacing: 0;
    }
    #menu {
        position: relative;
    }
    .menu a {
        font-size: 1.6rem;
    }
}


/* -----------------------------------------------------------
	footer
------------------------------------------------------------*/
#footer {
    background-color: #f58d35;
}

.footer * {
    color:#fff;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    max-width:1000px;
    width:96%;
    margin:0 auto 2rem;
}
.footer-company {
    width:9em;
}
.footer-main {
    width:calc(100% - 9em - 18%);
    display: flex;
    position: relative;
}
.footer-sub {
    width:18%;
}
.footer .menu:nth-child(1) {
    width:30%;
}
.footer .menu:nth-child(2) {
    width:35%;
}
.footer .menu:nth-child(3) {
    width:25%;
}
.footer .menu *,
.footer-sub * {
    font-size:1.4rem;
}
.f-menu li {
    margin:0 0 0.5rem;
}
.footer .menu li {
    background: url(../img/ar-f.svg) no-repeat 0 0.2em;
}
.footer .menu li.child {
    background: none;
}
.company-txt {
    font-size: 1.8rem;
    font-weight: bold;
}
.footer-sub a {
    width:100%;
    max-width:168px;
    height:42px;
    display: flex;
    justify-content: center;
    align-items:center;
    border:1px solid #fff;
    margin-bottom:1.5rem;
}
.footer-bottom * {
    font-size:1.3rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
}
.footer-bottom {
    margin:2rem auto 0;
}


/* -----------------------------------------------------------
	pageTop
------------------------------------------------------------*/
/* scroll top */
#page-top {
position: fixed;
bottom: 10px;
right: 15px;
background: #f58d35;
display: block;
width: 44px;
height: 44px;
z-index: 1;
margin:0;
border-radius: 10em;
}
#page-top a {
text-decoration: none;
color: #fff;
width: 44px;
height: 44px;
text-align: center;
display: block;
text-indent: -9999px;
}
#page-top a:after {
content: "";
position: absolute;
left: 16px;
top: 19px;
width: 12px;
height: 12px;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
z-index: 10;
}
#page-top:hover {
text-decoration: none;
opacity: 0.8;
}
  



/* -----------------------------------------------------------
	751px以上PCメニュー
------------------------------------------------------------*/
@media screen and (min-width:751px) {
    .md,
    .ms,
    .sp {
    display: none;
    }
    .scrolled #header-txt {
        display: block;
        padding: 0 1% 0 1.5%;
        width:20%;
        max-width:400px;
    }
    #header-txt * {
        font-size: 11px;
        color: #646464;
        line-height:1.4;
        margin:0;
        height:60px;
        display: flex;
        align-items: center;
    }
    #header-txt {
        display: none;
    }
    #menu-wrap {
        display: flex;
        justify-content: center;
        flex-wrap:wrap;
        gap:0 8%;
        padding:3rem 0;
    }
    ul.menu a {
        white-space: nowrap;
    }
    .scrolled .header-logo {
        width:15%;
        max-width:188px;
    }
    #footer {
        padding:4rem 0 1rem;
    }
    .footer-copyright {
        text-align: center;
        margin:0 auto;
    }
    .copyright {
        font-size: 1.3rem;
        padding:1rem 0 0;
    }
}


/* -----------------------------------------------------------
	750px以下よりスマホメニュー
------------------------------------------------------------*/

@media screen and (max-width:750px) {
    #toggle {
        width:calc(75/750*100vw);
        height:calc(75/750*100vw);
        top:calc(28/750*100vw);
        right:calc(28/750*100vw);
    }
    #top-ttl {
        width:calc(465/750*100vw);
    }
    .top-ttl {
        font-size: calc(38/750*100vw);
        width:75%;
    }
    .tagline {
        font-size: calc(24/750*100vw);
        width:75%;
    }
    #header, .header-top,
    .header-ttl {
        height: calc(124/750*100vw);
    }
    .header-ttl {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding-left:10px;
        background-position:50% 0;
    }
    #sp-menu {
        top:calc(124/750*100vw);
    }
    #menu {
        border-bottom:1px solid #aaa;
    }
    .menu li {
        margin:0;
        padding:0;
        background-position:1em 1em;
    }
    #menu a {
        padding:1rem 2em;
        display: flex;
        align-items: center;
        width:100%;
        border-top:1px solid #aaa;
    }
    #menu li:nth-child(1) a {
        border-top:none;
    }
    #menu li.sp-bd {
        border-top:1px solid #aaa;
    }
    #menu li.child a {
        padding:0;
    }
    #menu li.child a {
        border-top:none;
        margin:0 0 0.5rem 0;
    }
    .menu li.child {
        margin:0 0 0.8em 3em;
    }
    .menu li.child:before {
        left: -1em;
    }
    

/* -----------------------------------------------------------
SP-MENU スマホ版メニュー
------------------------------------------------------------*/
    .open .sp-top-nav {
        height: 100vh;
        pointer-events: all;
        overflow-y: scroll;
        padding-bottom:24vw;
    }
    .open #sp-menu { 
        height:100vh;
    }
    #sp-menu {
        padding-bottom:8vw;
    }
    .footer-main,
    .footer-sub {
        display: none;
    }
    .footer-company {
        width:100%;
        text-align: center;
        margin:auto;
    }
    .company-txt {
        margin:1.5rem auto 0;
    }
    .footer-bottom {
        max-width:96%;
        margin:0 auto;
    }
    .footer-bottom * {
        font-size: calc(18/750*100vw);
        text-align: left;
    }
    .footer-copyright {
        height: calc(100 / 750* 100vw);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-copyright .copyright {
        margin:0 auto;
        font-size:calc(18/750*100vw);
    }
    #page-top {
        bottom:10px;
        right:10px;
    }
    #page-top,
    #page-top a {
    width:34px;
    height: 34px;
    }
    #page-top a:after {
    left: 13px;
    top: 15px;
    width: 8px;
    height: 8px;
    }
}




/* header-scrolled */
@media screen and (min-width: 751px) {
    .scrolled.header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        margin: auto;
        z-index: 1;
        width: 100%;
      height: auto;
    }
    .scrolled.header #header-menu {
        top: 52px;
        width:82%;
    }
    .scrolled.header{
      animation: scrolledAnime .5s forwards;
    }
    @keyframes scrolledAnime {
      0% {
        opacity: 0;
        transform: translateY(-100px);
      }
      to {
        opacity: 1;
        transform: translateY(0)
      }
    }
    .scrolled .header-top,
    .scrolled #home-logo,
    .scrolled .tagline,
    .logo-scrolled {
        display: none;
    }
    .scrolled .header-menu {
        padding-top:0;
    }
    .gnavi_wrap {
        margin-top:0;
    }
    .scrolled .logo-scrolled {
        display: block;
        height:calc(60/1500*100vw);
        max-height: 55px;
    }
    .scrolled #top-logo {
        height:calc(60/1500*100vw);
        max-height: 55px;
    }
 
  
  }
  @media screen and (min-width: 751px) and (max-width:1200px) {
    .scrolled #knowledge-logo {
        top: 44px;
    }
  }
  
  @media screen and (max-width: 750px) {
    .scrolled.header #header  {
        background: #fff;
        opacity: 1;
    }
    .scrolled.header,
    .scrolled .header--logo {
        opacity: 1;
    }
    .open .scrolled #toggle {
    background: url(../img/common/spbtn-close.svg) no-repeat 0 0;
    width: calc(54/750*100vw);
    height: calc(50/750*100vw);
    background-size: contain;
    }
  }
  