html {
    height: 100%;
}

body {
    background-color: #333;
    background-image: url(images/bg_madness_color.jpg);
    background-position: top;
    font-family: "Lucida Grande", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", Geneva, Arial, Verdana, sans-serif;
    font-size: 62.5%;
    height: 100%;
}

a:link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;}
a:visited {color: #fff;}
a:hover {color: #fff; opacity: 0.7;}

* {box-sizing: border-box;}

#main_content {
    width: 100vw;
    max-width: 1080px;
    min-height: 100%;
    background: rgba(255,255,255,0.9);
    margin-inline: auto;
    margin-top:0;
    height: auto;
    color: #333;
    font-size: 1rem;
    padding: 0;}

#header{
    width: 100vw;
    max-width: 1080px;
    padding:0.5rem;
    height:2rem;
    background: rgba(25,55,80,0.7);
    color:#fff;
    text-align: right;
    position: fixed;}

.main_honbun{
    padding:2rem 0.5rem 1rem;
    width:95%;
    min-height:100vh;
    margin-inline: auto;
}

.main_honbun a:link {
    color: #075e63;
    text-decoration: none;
    font-weight: 700;}
.main_honbun a:visited {color: #075e63;}
.main_honbun a:hover {color: #075e63; opacity: 0.7;}

.main_visual{
    padding:3rem 0.5rem 1rem;
    display: flex;

    width:95%;
    margin-inline: auto;
    justify-content: space-around;
    align-items: flex-start;}


.item_g{
    width:40%;}

.item_d{
    width:53%;
    font-size:1rem;
    line-height: 1.7rem;
    text-align: justify;
}

.catch{
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size:2rem;
    font-weight:700;
    margin: 1rem 0rem 2rem;}

.logo_san{
    width:90%;
    max-width:450px;
    height:auto;}

.logo{
    text-align:center;}

.shoei_l{
    max-height:90%;
    width:auto;
    border:1px solid #333;
}

.bookdata{
    background-color:#fff;
    color:#333;
    font-size:0.9rem;
    line-height:1.5rem;
    padding:0.5rem;
    margin:2rem 0rem;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.5);}

h1 {
    font-size: 1.5em;
    text-align: center;
}

ul.navi {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding:0.5rem;
    min-height:2rem;
    background: #b43c3c;
    color:#fff;
    width: 100%;
    text-align: center;
    margin: 0rem;}

ul.navi li{
    margin:0.5rem 1rem;
    color:#fff;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;}

div.key_visual {
    width: 90%;
    margin-inline: auto;
    text-align: center;
}


h2 {
    width: 100%;
    margin-inline: auto;
    font-size: 1.4rem;
    font-weight:600;
    line-height: 2.6rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom:2rem;
    border-bottom: 3px double #666;
    border-right:5px solid #666;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;}

h3{
    border-bottom: 3px double #666;
    font-size:1.2rem;
        font-weight:600;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;}

p.honbun{
    width:100%;
    line-height:160%;
    margin-inline: auto;
    margin:1rem 0rem 2rem;}

.update{
    width:90%;
    padding:0.5rem;
    margin-bottom:1rem;
    text-align: center;
    margin-inline:auto;
    font-size:0.9rem;
    }

div.sheet{
    background-image:url(images/bg_data_eye.png);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin:3rem 0rem;}

.each_sheet{
    width:18%;
    margin:0rem 0.5rem 2rem;}

img.th_sheet{
    border:1px solid #333;}

dl.shitumon{
    line-height:160%;
    margin-bottom:2rem;}

dl.shitumon dd{
    padding-left:1rem;
    margin-bottom:1.5rem;}

dt.QA{
    font-weight:800;
    margin:1.2rem 0rem 0.5rem;
    color:#144d6d;}

dt.AN{
    font-weight:800;
    margin:1.2rem 0rem 0.5rem;
    color:#6d143c;}

div#footer {
    width: 100vw;
    max-width: 1080px;
    padding: 10px 0px 10px;
    background: rgba(50,50,50,0.9);
    font-size: 0.7rem;
    color: #fff;
    line-height:1.3rem;
    font-weight:700;
    text-shadow:1px 1px 15px #fff;
    text-align: center;
    margin-inline: auto;
}

#footer a:link {color: #ddd;}
#footer a:visited {color: #ddd;}
#footer a:hover {opacity: 0.7;}


@media screen and (max-width: 480px) {

    .main_visual{
    display: flex;
    flex-direction: column;
    }

    .item_g{
    width:100%;}

    .item_d{
    width:100%;
}

    div.items {
        flex-basis: 45%;
        text-align: center;
        margin: 0.5em;}
    
div.sheet{
    background-image:url(images/bg_data_eye.png);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin:3rem 0rem;}

.each_sheet{
    width:95%;
    margin:0rem 0.5rem 2rem;}

}