/* -------------------------------------------------- */
/* FIXED RESPONSIVE NAV */
/* Design by Indocat  */
/* URL:https://indocat.net/  */
/* Created:September 5, 2025  */
/* -------------------------------------------------- */

/* -------------------------------------------------- */
/* Logo */

#top-head {
    position: fixed;
    width: 100%;
    margin:0 auto;
    padding:0 auto;
    text-align:center;
    line-height: 1;
    z-index: 999;

}

.inner {
    display:block;
    width:100%;
    max-width: 1280px;
    margin: 20px auto 0;
    padding:0 auto;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

.logo{
    display: none;
}

.logo,.logotype{
    width:100%;
    max-width: 1280px;
    text-align:right;
    margin:0 auto;
    padding:0 auto;
    z-index: 999;
}

.logo h1,.logotype h1{
    float: right;
    font-size:1.5em;
    letter-spacing:0.3em;
    margin:0 auto;
    padding:30px 15px 20px 0;
}

.logo h1 a,.logotyp h1 a{
    color:#5D5E5E;
}

.logo img,.logotype img{
    width:120px;
    vertical-align: middle;
}

/* -------------------------------------------------- */
/* Toggle Button */

/* #nav-toggle　スタイル設定 */

#nav-toggle {
    display:block;
    position: absolute;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 999;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #5D5E5E;
    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: 10px;
}

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

#nav-toggle {
    display: block;
    margin: 12px 12px 0 0;
}    
    
/* #nav-toggle 切り替えアニメーション */

    .open #nav-toggle span:nth-child(1) {
    top: 9px;
    -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: 9px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

.menulabel{
    font-size:11px;
    color:#5D5E5E;
    text-align:center;
    padding-bottom:6px;
}

/* -------------------------------------------------- */
/* スライドナビ */

#global-nav ul {
    float: left;
    list-style: none;
    text-align:left;
    margin:15px 0;
    padding:10px 0;
    background: rgba(255,255,255,1);
}

#global-nav ul li {
    float: none;
    padding: 0 10px;
    font-family: fot-tsukuaoldmin-pr6n, sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#5D5E5E;
}

#global-nav ul li a {
    font-size:1em;
    letter-spacing:0.1em;
    color:#5D5E5E;
}

#global-nav ul li a:hover{
    color:#54917f;
} 

#global-nav ul li img{
    height: 18px;
    padding:0;
    vertical-align: middle;
} 

#global-nav {
    position: absolute;
     /* 開いてないときは画面外に配置 */
    top: -490px;
}

.open #global-nav {
    -moz-transform: translate(100px,515px);
    -webkit-transform: translate(100px,5195px);
    transform: translate(100px,515px);
}

/* -------------------------------------------------- */
/* サイドナビゲーション */

.sidenavi ul {
    position: fixed;
    bottom: 0;
    display: block;
    float:none;
    margin: 0 auto;
    padding:30px 0 60px 15px;
    text-align:left;
}

.sidenavi ul li {
    display: block;
    float: none;
    padding:20px 0;
    font-family: fot-tsukuaoldmin-pr6n, sans-serif;
    font-style: normal;
    font-weight: 300;
    color:#5D5E5E;
}

.sidenavi ul li a {
    font-size:0.9em;
    letter-spacing:0.1em;
    color:#5D5E5E;
}

.sidenavi ul li a:hover{
    color:#54917f;
} 

.sidenavi ul li a i{
    color:#af3023;
} 


.sidenavi ul li img{
    height: 18px;
    padding:0;
    vertical-align: middle;
} 

@media screen and (max-width: 1280px) {

/* -------------------------------------------------- */
/* header */

.inner{
    width: 100%;
    max-width: 1200px;
}

.logo,.logotype{
    width: 100%;
    max-width: 1200px;
}

}

@media screen and (max-width: 1024px) {

/* -------------------------------------------------- */
/* header */

.inner{
    width: 100%;
    max-width: 950px;
}

.logo,.logotype{
     width: 100%;
     max-width: 950px;
}

}

/*===============================================
画面の横幅が912pxまで（Surface Pro7）
===============================================*/

@media screen and (max-width: 912px) {

.inner {
    width: 100%;
    margin: 0 auto;
    padding:0 auto;
}

#top-head{
    display: block;
    position:fixed;
    top: 0;
    width: 100%;
    padding: 0;
}

/* Fixed reset */

#top-head.fixed {
    background: transparent;
    border-bottom:none;
}

#mobile-head{
    width: 100%;
    height: 70px;
    z-index: 888;
    position: relative;
    background:#ffffff;
    border-bottom:thin solid;
    border-color:#cacaca;
}

.logotype{
    display: none;
}

.logo{
    display: block;
    width: auto;
    position: absolute;
    top: 10px;
    right: 5px;
    margin:0 auto;
    padding:0 auto;
}

.logo h1{
    font-size:1em;
    margin:0 auto;
    padding:8px;
}

.logo img{
    width:80px;
}

/* -------------------------------------------------- */
/* Toggle Button */

/* 配置調整 */

#nav-toggle {
    position: absolute;
    left: 15px;
    top: 3px;
}

/* -------------------------------------------------- */
/* 下スライドナビ */

#global-nav {
    position: absolute;
     /* 開いてないときは画面外に配置 */
    top: -490px;
    border-bottom:thin solid;
    border-color:#cccccc;
    width: 100%;
    text-align: center;
    padding:10px 0 0 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    background: rgba(251,251,251,1); /* #fbfbfb; */
}

#global-nav ul {
    float: none;
    list-style: none;
    text-align:center;
    position: static;
    margin: 0 ;
    padding:15px 0 0 0;
}

#global-nav ul li {
    float: none;
    position: static;
    display:block;
}

#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    border-bottom:dotted thin #cccccc;
    height: 100%;
    padding: 20px 0;
}

#global-nav ul li:hover {
    background: rgba(255,255,255,1);/* #FFFCD1 */
}


#global-nav ul li a{
    color:rgba(93,94,94,1); /* #5D5E5E; */
} 

#global-nav ul li a:hover{
    color:rgba(84,145,127,1); /* #54917f; */
} 


#nav-toggle {
    display: block;
    margin: 12px 12px 0 0;
}    

/* #global-nav スライドアニメーション */

    .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(546px);
    -webkit-transform: translateY(546px);
    transform: translateY(546px);
}

}