@charset "UTF-8";
/*幅と高さの計算を簡易化*/
html{
    box-sizing: border-box;
}
*, *:before,
*:after{
    box-sizing: inherit;
}
body {
    margin: 0;
    color: rgba(132,108,108,1.00);
    font-family: "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    background-color: rgba(232,214,214,1.00);
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(238,223,223,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(238,223,223,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(238,223,223,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(238,223,223,1.00) 100%);
}
#wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    background-color: white;
}
h1, h2{
    font-style: normal;
    font-weight: 400;
}
h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    text-decoration: none;
    color: rgba(199,170,171,1.00);
}
h2 {
    margin-top: 0.5em;
    font-size: 2.25em;
}
a {
    font-weight: bold;
    text-decoration: none;
}
a:link {
    color: rgba(220,116,119,1.00);
}
a:visited {
    color: rgba(154,165,154,1.00);
}
a:hover, a:active, a:focus {
    color: rgba(116,141,202,1.00);
    text-decoration: underline;
}
#menulink {
    text-align: center;
    background-color: rgba(202,139,139,0.90);
    font-family: "Times New Roman", Times, serif;
}
#menulink a {
    color: rgba(243,243,243,1.00);
    font-weight: 200;
    text-decoration: none;
    display: block;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}
#navlinks {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    list-style-type: none;
    background-color: #000000;
    background-color: rgba(247,247,247,0.84);
    position: absolute;
    -webkit-transition: all ease-out 0.5s;
    transition: all ease-out 0.5
}
#navlinks.displayed {
    top: 135px;
    z-index: 1;
    opacity: 1;
    
}
#navlinks.start {
    display: none;
}
#navlinks.collapsed {
    top: -12em;
    opacity: 0;
}
#navlinks a {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    color: rgba(95,90,90,1.00);
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}
#navlinks a:hover  , #navlinks a:active, #navlinks a:focus, #navlinks a.thispage{
    color: rgba(221,140,140,1.00);
    text-align: center;
}
main, aside {
    margin-left: 4%;
    margin-right: 4%;
    font-size: 0.875em;
    margin-top: 30px;
    margin-bottom: 30px;
    float: left;
}
#hero img {
    max-width: 100%;
    display: block;
}
#hero p {
    color: rgba(219,185,185,1.00);
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    border-width: 1px;
    border-style: solid;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 20px;
    padding-top: 10px;
    font-family: "Courier New", Courier, monospace;
}
figure {
    width: 400px;
    max-width: 92%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
figure img {
    max-width: 100%;
}
figcaption {
    display: block;
    margin-top: 0.5em;
    font-size: 0.75em;
    text-transform: uppercase;
}
a:visited {
    color: rgba(179,165,130,1.00);
}
a:hover.a:active.a:focus {
    color: rgba(108,168,155,1.00);
    text-decoration: underline;
}
footer{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #F0DCDC;
    color: white;
    font-size: 0.8em;
    text-align: center;
}
mainsg  {
}
#sg {
    width: 502px;
}

@media (min-width: 700px){
#menulink {
    display: none;
}
#hero p {
    width: 33%;
    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
    position: absolute;
    top: 83px;
    right: 31px;
    margin-top: 400px;
}
#hero {
    position: relative;
}
main {
    width: 60%;
    margin-left: 5px;
}
aside {
    width: 28%;
    margin-left: 0px;
}
main, aside {
    margin-top: 30px;
    margin-bottom: 30px;
    float: left;
    font-size: 0.875em;
}
footer {
    clear: left;
}
#navlinks {
    max-width: 1000px;
    position: static;
    background-color: transparent;
}
#navlinks.collapsed {
    opacity: 1;
}
#navlinks a {
    width: 20%;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    float: left;
}
.floatright p {
    width: 323px;
    text-align: left;
    margin-left: -22px;
}
}

@media (min-width: 901px){
.floatright {
    margin-right: 0px;
    margin-left: 10px;
}
}
