@charset "utf-8";

/*!リセット
------------
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 * 全ての要素にbox-sizing: border-box;.
 * 全ての背景画像にbackground-repeat: no-repeat.
 */html{box-sizing:border-box;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none;}a{text-decoration:none;}.wrapper{overflow:hidden;}body{overflow-y:scroll;}
img {vertical-align:bottom; max-width: 100%;}
a {color: #333;}
/*-----------
/リセットend*/

/*色について*/
/*変数・var(--main_color)と打てば色が出る*/
:root {
--red:#C12C2C;
}
/*文字について*/
html {
font-size: calc(100vw / 32);/*iPhoneの最小サイズ320pxの時10px*/
font-family:sans-serif;
}

body{
position: relative;
}


/*------------------nav指定*/
#g-nav {
width: 100%;
height: 50px;
}
.nav-ul{
width: 100%;
display: flex;
align-items:center;
background: #249b24;
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
/*box-shadow:0 3px 10px #ccc;*/

}
.nav-ul>li {
width: 50%;
}
.nav-ul a {
display: block;
text-align: center;
line-height: 50px;
font-size: 28px;
color: #fff;
font-weight:bold;
/* border-bottom: 3px solid #754c24; */
box-sizing: border-box;
    padding-bottom: 0.5rem;
}
.nav-ul>li:first-child a {
background: var(--red);
}
.nav-about {
display: none;
}
/*--------------/nav指定終わり*/


/*footer部分
----------------------------------------------*/
.end-tel,.endnav-ul {
display: none;
}
footer {
color: #42210B;
background: #FFECC2;
text-align: center;
border-top:4px solid #754C24;
padding-bottom: 20px;
}
.endinf-ul {
font-size: 1.3rem;
margin: 15px 0 20px;
line-height: 1.7;
}
footer small {
color: var(--red);
font-size: 1.1rem;
}
/*------------------------------------------
/footer終わり*/

/*--------------------------------------------------------------*/
/*...【タブレットサイト】...*/
/*--------------------------------------------------------------*/
@media screen and (min-width:700px){
html {
font-size: calc(100vw / 76);/*iPhoneの最小サイズ320pxの時10px*/
}

/*------------------nav指定*/
.nav-ul{
width: 40%;
background: none;
display: flex;
position: absolute;
top: 4vh;
left:auto;/*初期可*/
right: 0;
margin: auto;
padding-right: 3%;
border-bottom: 3px solid #fff;
}
.nav-ul>li {
width: 100%;
}
.nav-ul a {
text-align: left;
line-height: 1.3;
font-size: 3.4rem;
border:none;
font-weight:bold;
padding-left: 10px;
text-shadow:0px 0px 5px #249b24;
}
.nav-ul>li:first-child a {
background:none;
}
    .nav-ul a:hover {
        text-shadow:0px 0px 20px #167116;
    }
.menu-nav>.nav-ul {
top: 15px;
}
/*--------------/ページのnav指定終わり*/
/*タブレットfooter部分
----------------------------------------------*/
.end-tel,.endnav-ul {
display: block;
}
footer {
box-sizing: border-box;
display: flex;
position: relative;
padding-bottom: 0px
}
.endnav-ul {
display: flex;
font-size: 3rem;
position: absolute;
right: 20px;
bottom: 20px;
margin: auto;
}
.endnav-ul li {
padding: 0 5px;
}
.endnav-ul a {
display: block;
line-height: 1;
color: var(--red);
position:relative;
padding: 5px 15px 0px;
z-index:1;
}

.endnav-ul a:after{
display:block;
content:"";/*after指定の時必要*/
width:100%;
height:0px;
background:#fff;
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
margin:auto;
transition:0.3s;
z-index:-1;
}
.endnav-ul a:hover:after {
height:30px;
}

.endinf-ul {
font-size: 1.6rem;
margin-left: 40px;
line-height: 1.7;
text-align: left;
}
.endinf-ul br {
display: none;
}
footer small {
font-size: 1.5rem;
}
/*------------------------------------------
/footer終わり*/

}

/*--------------------------------------------------------------*/
/*...【PCサイト】...*/
/*--------------------------------------------------------------*/
@media (min-width:1100px){
/*文字について*/
html { font-size: 62.5%; } /* 10pxにする */

/*------------------nav指定*/
.nav-ul{
width: 280px;
display: block;
padding: 0;
position: absolute;
top:50px;
left:auto;/*初期可*/
right: -3px;
border: none;
/*margin: auto;*/
}
.nav-ul>li {
margin-bottom: 20px;
}
.nav-ul a {
height: 70px;
text-align: left;
line-height: 1;
font-size: 4.5rem;
color: #fff;
font-weight:bold;
border-bottom:none;
padding-left: 70px;
padding-bottom:0px;
background: url(../img/nav.svg)no-repeat right bottom/contain;
transition: 0.5s;
}
.nav-ul>li:first-child a {
background:url(../img/nav.svg)no-repeat right bottom/contain;

}
.nav-ul a:hover {
text-shadow:0px 0px 30px #fff;
}
.nav-about {
/*PC用*/
display: block;
}

/*--------------/nav指定終わり*/


/*------------------menu ページのnav指定*/
.menu-nav .nav-ul{
width: 30%;
height: 10vh;
display: block;
background: none;
box-sizing: border-box;
display: flex;
align-items:center;
position: absolute;
top: 0;
left:auto;/*初期可*/
right: 0;
margin: auto;
}
.menu-nav>.nav-ul>li {
width: 100%;
height:auto;
margin-bottom: 0px;

}
.menu-nav>.nav-ul a {
height: 6vh;
display: block;
text-align: center;
line-height: 1;
font-size: 3.4rem;
color: #fff;
font-weight:bold;
border-bottom:none;
box-sizing: border-box;
padding: 0;
color: #fff;
border-bottom: 3px solid #fff;
background: none;
}
.menu-nav>.nav-ul>li:first-child a {
background:none;
}
/*--------------/menu ページのnav指定終わり*/


/*footer部分
----------------------------------------------*/
footer {
padding:10px 0;
}
.endnav-ul {
font-size: 4rem;
padding-right: 50px;
}
.endnav-ul a:hover:after{
height: 40px;
}
.endinf-ul {
font-size: 2rem;
margin: 0 0 0 100px;
}
/*------------------------------------------
/footer終わり*/


}

