
body {
margin: 0;
background: #ffffff;
color: #000000;
}





span.bar {
position: relative;
display: block;
height: 30px;
background: #aee650 url(https://1net.jp/css/texture/rough_n.png) repeat left top;
}





div#menu {
position: relative;
background: #16265b url(https://1net.jp/css/texture/paper2_d.png) repeat left top;
font-size: 0.8rem;
line-height: 1;
color: #ffffff;
}

div.menu {
padding: 15px 0;
}

ul.menu, ul.menu ul {
margin: 0;
padding: 0;
list-style: none;
}

ul.menu li {
margin: 0;
padding: 0;
vertical-align: top;
}

ul.menu a {
display: block;
text-decoration: none;
color: #ffffff;
text-shadow: rgba(0, 0, 0, 0.1) 2px 2px 2px;
}
ul.menu li.on > a {
text-decoration: underline;
}

ul.menu span.sub {
display: block;
margin: 2px 5px 0;
opacity: 0.5;
font-size: 0.7rem;
text-decoration: none;
text-shadow: none;
}


@media only screen and (min-width: 768px) {
div#menu {
text-align: center;
}

ul.menu {
display: table;
margin: 0 auto;
}

ul.menu > li {
display: table-cell;
border-left: 1px solid rgba(0, 0, 0, 0.3);
box-shadow: -2px 0 0 -1px rgba(255, 255, 255, 0.3);
}
ul.menu > li:first-of-type {
border-left: none;
box-shadow: none;
}

ul.menu a {
padding: 10px;
}
ul.menu a:hover {
text-decoration: underline;
}

ul.menu li div.menu_dd {
position: relative;
}

ul.menu li ul {
position: absolute;
top: 100%;
left: 0;
}
ul.menu li:last-child ul, ul.menu li:nth-last-child(2) ul {
left: auto;
right: 0;
}
ul.menu li:hover ul {
z-index: 2;
padding: 10px;
background: #16265b url(https://1net.jp/css/texture/paper2_d.png) repeat left top;
}

ul.menu li ul li a {
display: block;
height: 0;
padding: 0 10px;
overflow: hidden;
white-space: nowrap;
text-align: left;

transition: padding 0.3s;
}
ul.menu li:hover ul li a {
height: auto;
padding: 10px;
overflow: visible;
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
box-shadow: 0 2px 0 -1px rgba(255, 255, 255, 0.3);
}
}


@media only screen and (max-width: 767px) {
div#menu {
text-align: left;
}

ul.menu li {
padding: 10px;
}
ul.menu > li {
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
box-shadow: 0 2px 0 -1px rgba(255, 255, 255, 0.3);
}

ul.menu li div.menu_dd {
display: none;
}
ul.menu li.open div.menu_dd {
display: block;
}

ul.menu ul {
margin-top: 10px;
margin-left: 10px;
}
ul.menu ul li {
display: inline-block;
padding: 0;
}
ul.menu ul a {
display: inline-block;
padding: 5px;
}


body.menu3h span.menu3h {
display: inline-block;
padding: 0 20px;
}
body.menu3h ul.menu {
background: rgba(22, 38, 91, 0.95) url(https://1net.jp/css/texture/paper2_n.png) repeat left top;
}
}





ul.crumb {
position: relative;
margin: 20px auto;
padding: 0;
list-style: none;
font-size: 0.8rem;
opacity: 0.5;
}
ul.crumb li {
display: inline-block;
margin: 0 10px 0 0;
padding: 0;
}
ul.crumb li:after {
display: inline-block;
content: "»";
margin-left: 10px;
}
ul.crumb li:last-of-type:after {
display: none;
}
ul.crumb a {
color: #000000;
}





div.contents {
display: grid;
grid-template-columns: auto 1fr auto;
margin: 0 auto;
}
#contents {
grid-column: 2 / 3;
}
#side_l #side {
margin: 0 1vw 0 0;
}
#side_r #side {
margin: 0 0 0 1vw;
}





#footer {
position: relative;
min-height: 30px;
margin-top: 30px;
background: #16265b url(https://1net.jp/css/texture/paper2_d.png) repeat left top;
color: #ffffff;
}






@media only screen and (min-width: 1021px) {
ul.menu {
width: 1000px;
}

ul.crumb {
width: 980px;
}

div.contents {
width: 1000px;
}


body.liq #contents div.lb, div#header div.lb, div#photo div.lb, div.footer div.lb, body.liq #contents div.block > div.row, div#header div.block > div.row, div#photo div.block > div.row, div.footer div.block > div.row {
width: 1000px;
margin: 0 auto;
}
}


@media only screen and (max-width: 1020px) and (min-width: 768px) {
ul.menu {
width: 100%;
}
}


@media only screen and (max-width: 767px) {
ul.crumb {
margin: 20px 10px;
}

div.contents {
display: block;
}
#contents {
padding: 10px 0;
}
#side_l #side, #side_r #side {
margin: 0;
padding: 10px 0;
}}


body.liq div.contents {
display: block;
width: auto;
}

span.bar {
border-bottom: 1px solid #cccccc;
border-bottom: 1px solid rgba(255,255,255,0.8);
-webkit-box-shadow:inset rgba(0, 0, 0, 0.3) 0 -1px 2px;box-shadow:inset rgba(0, 0, 0, 0.3) 0 -1px 2px;
}
div#menu {
border-top: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
border-top: 1px solid rgba(255,255,255,0.8);
border-bottom: 1px solid rgba(255,255,255,0.8);
-webkit-box-shadow:inset rgba(0, 0, 0, 0.3) 0 1px 2px,inset rgba(0, 0, 0, 0.3) 0 -1px 2px;box-shadow:inset rgba(0, 0, 0, 0.3) 0 1px 2px,inset rgba(0, 0, 0, 0.3) 0 -1px 2px;
}
div.menu {
background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0)));background-image:-webkit-linear-gradient(top, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

@media only screen and (min-width: 768px) {
ul.menu li:hover ul {
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 2px 2px 2px;box-shadow:rgba(0, 0, 0, 0.2) 2px 2px 2px;
}
}
#footer {
border-top: 1px solid #cccccc;
border-top: 1px solid rgba(255,255,255,0.8);
-webkit-box-shadow:inset rgba(0, 0, 0, 0.3) 0 1px 2px;box-shadow:inset rgba(0, 0, 0, 0.3) 0 1px 2px;
}
