
html {font-size:150%;} html body {letter-spacing:0.1em;} body {
margin: 0;
background: #aad0fd;
}

div.top {
position: relative;
margin: 0 auto -190px;
padding: 0 0 200px;
background: #e2f8fd url(https://1web.jp/css/texture/line1_p.png) repeat left top;
color: #000000;
}





div#menu {
position: relative;
font-size: 0.8rem;
line-height: 1;
}

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;
}
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 {
margin: 0 auto;
text-align: center;
color: #000000;
}

ul.menu {
display: table;
width: 100%;
border-spacing: 2px 0;
}

ul.menu > li {
position: relative;
display: table-cell;
border: 1px solid transparent;
}
ul.menu > li.on, ul.menu > li:hover {
background: #aad0fd;
border: 1px solid rgba(0,0,0,0.3);
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;
color: #000000;
}

ul.menu > li {
position: relative;
opacity: 0;
animation: anim1 1s forwards;
}
ul.menu > li:nth-of-type(1) {
animation-delay: 0.1s;
}
ul.menu > li:nth-of-type(2) {
animation-delay: 0.2s;
}
ul.menu > li:nth-of-type(3) {
animation-delay: 0.3s;
}
ul.menu > li:nth-of-type(4) {
animation-delay: 0.4s;
}
ul.menu > li:nth-of-type(5) {
animation-delay: 0.5s;
}
ul.menu > li:nth-of-type(6) {
animation-delay: 0.6s;
}
ul.menu > li:nth-of-type(7) {
animation-delay: 0.7s;
}
ul.menu > li:nth-of-type(8) {
animation-delay: 0.8s;
}
ul.menu > li:nth-of-type(n+8) {
animation-delay: 0.9s;
}

ul.menu > li:hover {
z-index: 2;
}

ul.menu a {
padding: 15px 5px 5px;
color: #000000;
}
ul.menu li.on a, ul.menu li:hover a {
color: #000000;
}
ul.menu > li:hover > a, ul.menu ul li:hover a {
text-decoration: underline;
}

ul.menu li div.menu_dd {
}

ul.menu li ul {
position: absolute;
top: 100%;
left: -1px;
}
ul.menu li:last-child ul, ul.menu li:nth-last-child(2) ul {
left: auto;
right: -1px;
}
ul.menu li:hover ul {
z-index: 2;
background: #aad0fd;
border: 1px solid rgba(0,0,0,0.3);
color: #000000;
}

ul.menu li ul li a {
display: block;
height: 0;
margin: 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 {
margin: 10px;
text-align: left;
color: #000000;
}

ul.menu > li {
margin: 10px 0;
padding: 10px;
}
ul.menu > li.on {
position: relative;
background: #e2f8fd url(https://1web.jp/css/texture/line1_p.png) repeat left top;
border: 1px solid rgba(0,0,0,0.3);
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;
color: #000000;
}

ul.menu a {
color: #000000;
}
ul.menu > li.on a {
color: #000000;
}

ul.menu li div.menu_dd {
display: none;
}
ul.menu li.open div.menu_dd {
display: block;
}

ul.menu li ul {
margin-top: 10px;
margin-left: 10px;
}
ul.menu li ul li {
display: inline-block;
padding: 0;
}
ul.menu li ul li a {
display: inline-block;
padding: 5px;
}


body.menu3h div#menu {
margin-bottom: 0;
}
body.menu3h div.menu {
text-align: right;
}
body.menu3h span.menu3h {
display: inline-block;
margin: 0 10px;
padding: 15px 20px;
background: #e2f8fd url(https://1web.jp/css/texture/line1_p.png) repeat left top;
border: 1px solid rgba(0,0,0,0.3);
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px,inset rgba(255, 255, 255, 0.3) 1px 1px 0;
color: #000000;
}
body.menu3h ul.menu {
background: rgba(170, 208, 253, 0.95);
}
body.menu3h ul.menu li.menu_plus {
padding-left: 10px !important;
}
}





div#photo {
position: relative;
margin: 0 auto 20px;
}
div#photo:before, div#photo:after {
position: absolute;
content: " ";
z-index: -1;
top: 80%;
bottom: 15px;
width: 50%;
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 15px 10px;box-shadow:rgba(0, 0, 0, 0.2) 0 15px 10px;
}
div#photo:before {
left: 10px;
transform: rotate(-2deg);
}
div#photo:after {
right: 10px;
transform: rotate(2deg);
}
div.photo {
background: #ebf6f7;
border: 10px solid #ffffff;
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px;box-shadow:rgba(0, 0, 0, 0.2) 0 0 2px;
color: #000000;
}

ul.crumb {
margin: 5px auto;
padding: 5px;
list-style: none;
font-size: 0.8rem;
color: #000000;
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 {
position: relative;
display: grid;
grid-template-columns: auto 1fr auto;
margin: 0 auto;
padding: 1vw;
box-sizing: border-box;
background: #ebf6f7;
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 0 5px;box-shadow:rgba(0, 0, 0, 0.2) 0 0 5px;
color: #000000;
}
#contents {
grid-column: 2 / 3;
}
#side_l #side {
margin: 0 1vw 0 0;
}
#side_r #side {
margin: 0 0 0 1vw;
}

div.footer_wrap {
position: relative;
min-height: 30px;
margin: 30px auto 0;
padding: 0;
background: #e2f8fd url(https://1web.jp/css/texture/line1_p.png) repeat left top;
color: #000000;
}





@media only screen and (min-width: 981px) {
div#menu, div#photo, ul.crumb, div.contents {
width: 940px;
}


div#header div.lb, div.footer div.lb, div#header div.block > div.row, div.footer div.block > div.row {
width: 940px;
margin: 0 auto;
}
}

@media only screen and (max-width: 980px) and (min-width: 768px) {
div#menu, div#photo, ul.crumb, div.contents {
margin-right: 10px;
margin-left: 10px;
}


div#header div.lb, div.footer div.lb, div#header div.block > div.row, div.footer div.block > div.row {
width: auto;
margin-right: 10px;
margin-left: 10px;
}
}


@media only screen and (max-width: 767px) {
div.top {
margin: 0 auto;
padding: 1px 0 10px;
}

div#photo, ul.crumb {
margin-right: 5px;
margin-left: 5px;
}

div.contents {
display: block;
padding: 10px 0;
}
#contents {
padding: 10px 5px;
}
#side_l #side, #side_r #side {
margin: 0;
padding: 10px 5px;
}
}

div.footer_wrap {
border-top: 1px solid #999999;
border-top: 1px solid rgba(255,255,255,0.5);
-webkit-box-shadow:rgba(0, 0, 0, 0.2) 0 -1px 2px;box-shadow:rgba(0, 0, 0, 0.2) 0 -1px 2px;
}
