@charset "utf-8";

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: rgba(0,0,0,0)
}

body {
    line-height: 1
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,q {
    quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
    content: "";
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: rgba(0,0,0,0)
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold
}

del {
    text-decoration: line-through
}

abbr[title],dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input,select {
    vertical-align: middle
}

* {
    box-sizing: border-box
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,input,textarea,select,blockquote,figure {
    margin: 0;
    padding: 0;
    line-height: 1.8
}

li {
    list-style: none;
    line-height: 1
}

input[type=submit],input[type=button],select,button,.button {
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(0,0,0,0);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer
}

input[type=submit]:focus,input[type=submit]:active,input[type=button]:focus,input[type=button]:active,select:focus,select:active,button:focus,button:active,.button:focus,.button:active {
    outline: none
}

input,select,textarea {
    background: #301f10;
    font-size: 4.27vw;
    color: #ede9d3
}

input:focus,input:active,select:focus,select:active,textarea:focus,textarea:active {
    outline: none
}

:-moz-placeholder-shown {
    color: #74573e
}

:placeholder-shown {
    color: #74573e
}

#main{
    width: 100%;
    margin: 0 auto;
}

#header{
    position: fixed;
    width:100%;
    /*max-width: 1080px;*/
    top: 0;
    left: 0;
    z-index:1000;
    background-color: #fff;
} 

#hcont{
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: auto;
}

#hlcont{float: left;margin-top: 1em;}
#hlcont img{
    max-width:80px;
    width:100%;
    height: auto;
}

#hrcont{
    width: 100%;
    float: right;
    max-width: 336px;
}

@media only screen and (max-width: 767px){
    #hrcont{
        max-width: 100%;
    }
}

#hcont h2 img{width: 100%;}

#hsnav{
    position: relative;
    width: 60px;
    /* right: 0; */
    float: right;
}

#hsnav ul li{text-align: center;}

#hsnav ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
#hsnav ul li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    background: #3b5d82;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
#hsnav ul li a:hover {
    color: #3b5d82;
}
#hsnav ul li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

*------------------------------------
ヘッダー pcハンバーガーメニュー ↓
------------------------------------*/
#hsnav {
  font-weight: 700;
}
@media only screen and (min-width:768px){
    #hsnav .pc_nav {
    margin: auto;
    width: 80%;
    padding-top: 1.5em;
    }
    #hsnav .pc_nav div .crumbs ul li {
    margin-right: 40px;
    }
    #hsnav .pc_nav div .crumbs ul li:last-of-type {
    margin-right: 0;
    }
}
/*------------------------------------
ヘッダー spハンバーガーメニュー ↓
------------------------------------*/
@media only screen and (max-width: 767px){
    #hsnav .sp_nav {
        /*margin-top:-60px;*/
        margin-top: -88px;
        text-align: center;
    }
}
.sidemenu {
  height: 100vh;
  padding-top: 100px;
  position: fixed;
  right: -40%; /*メニュー幅*/
  transition: all 0.6s;
  top: 0;
  width: 40%; /*メニュー幅*/
  z-index: 2;
  background-color: #fff;
}
.sidemenu nav ul li {
  padding: 20px;
}
.hamburger {
  cursor: pointer;
  height: 60px;
  position: relative;
  /*right: 30px;*/
  right:0;
  /*top: 24px;*/
  top:2%;
  width: 60px;
  z-index: 3;
}
.hamburger span {
  background-color: #000;
  height: 4px;
  left: 15px;
  position: absolute;
  transition: all 0.6s;
  width: 30px;
}
.hamburger_linetop {
  top: 20px;
}
.hamburger_linecenter {
  top: 29px;
}
.hamburger_linebottom {
  top: 38px;
}
/*------------------------------------
メニュークリックした後 ↓
------------------------------------*/
.nav_open .sidemenu {
    right: 0;
}
.nav_open .hamburger_linetop {
    top: 26px;
    transform: rotate(45deg);
}
.nav_open .hamburger_linecenter {
    left: 50%;
    width: 0;
}
.nav_open .hamburger_linebottom {
    top: 26px;
    transform: rotate(-45deg);
}
.nav_open .overlay {
    opacity: 0.8;
    visibility: visible;
}
/*------------------------------------
メニュークリック後メニュー外の背景 ↓
------------------------------------*/
.overlay {
    background-color: #000;
    cursor: pointer;
    height: 100vh;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: all 0.6s;
    visibility: hidden;
    width: 100vw;
    z-index: 1;
}
/* 768px以上 */
@media only screen and (min-width:768px){
    #hcont h1{padding-left:1em;}
    #hcont h2{
        max-width: 440px;
        width: 100%;
    }
    #pchnav{
        position: relative;
        top: 30px;
        right: 0em;
        clear: both;
    }
    #sphnav{display: none;}

    #pchnav div{
        float: left;
    }
    #pchnav div:last-child{
        margin-left: 1em;
    }
    #pchnav #pchtel p a{
        color: #000;
        font-size: 140%;
    }
    #pchnav #pchtel p{line-height: 1.1;}
    #pchnav #pchtel p a span{font-size: 66%;}
    .sp_no {
        display: none;
    }
    .sidemenu {
        right: -50%; /*メニュー幅*/
        width: 50%; /*メニュー幅*/
    }
}

#hcont h2{
    padding-left:1em;
}

/* 767px以下 */
@media only screen and (max-width: 767px){
    #header{width: 100%;}
    #header h1{
        /*text-ali\gn: center;*/
        margin-left: 1em;
    }
    #hcont h2{
        width: 60%;
        max-width: 480px;
    }
    #hcont h2 a img{width: 100%;}
    #pchnav{display: none;}
    #sphnav { 
        /*width: 30%;*/
        position: fixed;
        top: 30px;
        right: 3.2em;
    }
    #sphnav div{
        /*width: 30%;*/
        float: left;
    }
    #sphnav div p{max-width: 36px;}
    #sphnav #sphtel{margin-right: 0.2em;}
    #sphnav div p img{width: 100%;}
    .pc_no {
        display: none;
    }
}

/* 280px以下 */
@media only screen and (max-width: 280px){
    #sphnav div p {
        max-width: 27px;
    }
    #hsnav .sp_nav {
        margin-top: -92px;
        /*margin-top: -53px;*/
    }
}

@media only screen and (max-width: 280px) and (min-width: 375px){
    #hsnav .sp_nav {
        margin-top: -8.2vmax;
    }
}

@media only screen and (min-width: 376px) and (max-width: 411px){
    /*#hsnav .sp_nav {
        margin-top: -3.6em;
    }*/
}

@media only screen and (min-width: 540px) and (max-width: 720px){
    /*#hsnav .sp_nav {
        margin-top: -68px;
    }*/
}

/* コンテンツ */
#content{
    /*max-width:1080px;*/
    padding-top: 120px;
    margin:0 auto;
}

/* フッターついてくるメニュー */
#footer{
    bottom: 0px;
    position: sticky;
    z-index: 100;
    width: 100%;
    margin-top: 1em;
}

#fnav .fnavcont{
    display:flex;/*コレ*/
    width:100%;
    /*max-width:1080px;*/
    margin:0 auto;
    
}

#fnav .fnavcont div{
    width:calc(100%/3);
}

#fnav .fnavcont div p a{
    display: block;
    padding: 0.7em 0 0.6em 0;
    text-align: center;
    line-height: 0;
}

#fnav .fnavcont div p a img{
    max-width:52px;
    height: auto;
}

#fnav .fnavcont div p a:nth-child(2){padding-top: 0.65em;}

#fnav .fnavcont div:first-child p a img{height:36px;}

#fnav .fnavcont div:nth-child(2) p a img{height:36px;}

#fnav .fnavcont div:nth-child(3) p a{padding-top:0.7em;}
#fnav .fnavcont div:nth-child(3) p a img{height:36px;}

#fnav .fnavcont div:first-child{
    background-color: #2abe43;
}

#fnav .fnavcont div:nth-child(2){
    background-color: rgb(116, 209, 62);
}

#fnav .fnavcont div:last-child{
    background-color: rgb(102, 255, 0);
}

#fnav .fnavcont div a p{
    padding-left:1em;
    text-align: center;
    color:#fff;
}

#copyright{
    background: #20c828;
    padding:0.5em 0;
}
#copyright p{
    text-align: center;
    color: #fff;
}

/* マージン取りたい */
.mtfe{margin-top: 0.5em;}
.mt1e{margin-top: 1em;}
.mt1fe{margin-top: 1.5em;}
.mt2e{margin-top: 2em;}

/* タイトル系 */
.tit-1{
    border-left:1px solid #000;
    border-bottom:3px solid #20c828;
    padding:0.5em;
    font-size: 120%;
}

.tit-2{
    font-size: 110%;
}

/* 画像100% */
.img100{display: block;}
.img100 img{
    width: 100%;
    height: auto;
}

/* ボタン */
.dt-btn1 a{
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 1em auto;
    background-color: #20c828;
    padding: 1em 0;
    text-align: center;
    color:#fff;
}

/* 文字強調 */
.y-str{
    background-color:#ff9;
    opacity: 0.8;
    font-weight: bold;
}

/* 下層ページタイトル */
#eyecatch{
    width: 100%;
    max-width:1080px;
    background-image:url(../images/eyecatch.jpg);
    background-size:100% 100%;
    opacity: 0.6;
    padding: 1em 0;
    min-height: 156px;
    margin: auto;
}

#eyecatch h3{
    color: #000;
    font-size: 200%;
    text-align: center;
    padding-top: 1em;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

/* 1200px以上 */
@media only screen and (min-width: 1200px) {
    
}

/* 768px以上 */
@media only screen and (min-width:768px){
    a{text-decoration: none;}
    a:hover{opacity: 0.8;}
}

/* 767px以下 */
@media only screen and (max-width: 767px){
    a{text-decoration: none;}
}

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