@charset "utf-8";

@import url("style_excel.css");

* {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    font-family: "ＭＳ Ｐ明朝", "細明朝体";
    font-size: medium;
    line-height: 110%;
}

*, not(a) {
    color: #583822;
}

body {
    width: 95%;
    margin-left: 5px;
    margin-right: 5px;
    /*background-color: #ffffb2;*/
    background-image: url(images/BCG_015.gif);
    background-repeat:repeat
}
h1 {
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 5px;
    font-size: xx-large;
    font-weight: bold;
    background-color: #f0e68c;
    line-height: 100%;

    padding: 3px;
    border-top: solid 3px #ffbf7f;
    border-bottom: solid 3px #ffbf7f;
}

h2 {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 5px;
    font-size: x-large;
    font-weight: bold;
    background-color: #f0e68c;
    line-height: 100%;
    padding: 1px;
    border-bottom: solid 3px #deb887;
}

h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 5px;
    font-size: large;
    font-weight: bold;
    line-height: 100%;
    padding: 1px;
    border-bottom: solid 3px #deb887;
}

h4 {
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: medium;
    font-weight: bold;
    line-height: 100%;
}

h5 {
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: medium;
    font-weight: bold;
    line-height: 100%;
}

h6 {
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: medium;
    font-weight: bold;
    line-height: 100%;
}

p {
    position: relative;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

div {
    position: relative;
    margin-top: 5px;
    margin-left: 0px;
    margin-right: 5px;
}

blockquote {
    position: relative;
    color: #b7282e; /* 茜色あかねいろ */
    background-color: #f5deb3;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

ul, ol {
    position: relative;
    margin-left: 20px;  /* モバイルでのアクセス時に画面左にはみ出てしまうため、調整済み。 */
}

ul ul, ol ol, ul ol, ol ul {
    position: relative;
    margin-left: 10px;  /* モバイルでのアクセス時に画面左にはみ出てしまうため、調整済み。 */
}

li {
    position: relative;
    margin-top: 5px;
    line-height: 1.3
}

pre {
    position: relative;
    margin-left: 5px;
    padding: 0px;
    max-width: none;
    overflow: visible;
    white-space: pre;
    background-color: #f5deb3;
    border-radius: 3px;
    font-family: "ＭＳ 明朝", "Osaka-Mono";
}

pre code {
    position: relative;
    margin-left: 0px;
    padding: 0px;
    max-width: none;
    overflow: visible;
    white-space: pre;
    background-color: #f5deb3;
    border-radius: 3px;
    font-family: "ＭＳ 明朝", "Osaka-Mono";
}

code {
    white-space: pre;
    background-color: #f5deb3;
    border-radius: 3px;
    font-family: "ＭＳ 明朝", "Osaka-Mono";
}

span {
    font-family: "ＭＳ 明朝", "Osaka-Mono";
}

img.ss {
    max-width: 95%;
    height: auto;
}

table {
    position: relative;
    margin-top: 10px;
    margin-left: 30px;
    border: 1px solid #ffa500;
}

th {
    border: 1px solid #ffa500;
    vertical-align:top;
    font-family: "ＭＳ 明朝", "Osaka-Mono";
    font-weight: normal;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 2px;
    padding-right: 2px;
}

td {
    border: 1px solid #ffa500;
    vertical-align:top;
    font-family: "ＭＳ 明朝", "Osaka-Mono";
    font-weight: normal;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 2px;
    padding-right: 2px;
}

/* for google adsense */
.google-auto-placed {
    margin-top: 40px;
}


/* for PC */
header.apricot_tail {
    clear: both;
    width: 100%;
    text-align: center;
}

main.apricot_tail {
    float: left;
    width: 80%;
    margin-bottom: 25px;
    text-align: left;
}

aside.apricot_tail {
    float: right;
    width: 20%;
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: left;
}

footer.apricot_tail {
    clear: both;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

/* for MOBILE (480px or 750px or 767px) */
@media only screen and (max-device-width: 480px) {
    header.apricot_tail {
        width: 100%;
        text-align: center;
    }

    main.apricot_tail {
        width: 100%;
        margin-bottom: 25px;
        text-align: left;
    }

    aside.apricot_tail {
        width: 100%;
        margin-top: 25px;
        margin-bottom: 25px;
        text-align: left;
    }

    footer.apricot_tail {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 25px;
        text-align: center;
    }
}
