/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
  HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  background-color: #0f1f1c; 
}

/* header image */
header img {
  width: 500px;
  max-width: 98%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*FONTS*/



/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font: 12px calibri, tahoma;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #ffffff;
  outline: 3px solid #000000;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float:right;
  margin-left:20px;
}

/* for pictures displayed to the left */
.rightPic {
  clear: right;
  float:left;
  margin-left:20px;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 100%;
}

/* link colors */
a {
      color: #000000;
    }

a:hover {
      color: #DA5437;
    }

/* HEADER */
header #nav {
  background-color: #ffd860;
  font-size: 20px;
  width: 98%;
  margin: auto;
  color: #cc9e6c;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  width: 80px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;
}

/* style author notes */
#authorNotes {
  background: transparent;
  outline: 3px solid #000000;
  margin: auto;
  padding: 3px;
  padding-top: 0px;
  width: 900px;
  max-width: 98%;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  width: 90%;
  border-collapse:collapse;
}

/* style archive table cells */
.archiveTable td {
  padding: 3px;
  vertical-align: center;
  
}

/* style table cell in which page title is displayed */
.archiveCellTitle:not(.leftAlignTableText) {
  max-width: 300px;
  text-align: center;
}

.archiveCellDate {
  text-align: right;
  min-width: 120px;
}

.archiveCellNum {
  text-align: center;
  min-width: 30px;
}

/* style the thumbnails on the archive page */
.archiveCellThumb {
    width: 500px;
    max-width: 60px;
}
.archiveCellThumb img{
    max-width: 100%;
  }

/* for left aligning the text in a table cell */
.leftAlignTableText td {
  text-align: left;
}

/* highlight a table row and make pointer into hand when moused over */
.archiveRow:hover {
  background-color: #DA5437;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: #421a1a;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
}

footer a {
  color: #c8d32b
}

footer a:hover {
  color: #868d26
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

@import url("html5reset-1.6.1.css");
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&display=swap');
@font-face {font-family: StoneCrowd; src: url("Stone Crowd.ttf.")}
@font-face {font-family: Mate; src: url("Mate.ttf.")}
/* ↓レイアウト↓ */

*{
    line-height:150%;
}

body{
    color:#311a00;
    background-color:#fff6ec;
    font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

.base{
    margin:0 auto;
    max-width:1500px;
}

.header{
    padding:10px;
    text-align:center;
    margin:0 auto;
    background-color:#fff;
    width:80%;
    box-shadow: 0px 0px 0px 9px #fff,0px 0px 0px 11px;
    border-width:1px;
    border-style:solid;
}

.footer{
    padding:10px;
    text-align:center;
    margin-top:10px;
}

.work{
    padding:10px;
    margin:0px 5px;
    width:50%;
    margin-top:20px;
}

.subwork{
    padding:10px;
    margin:5px;
    width:45%;
    background-image:url(bg.png);
    background-size:cover;
    background-position:center;
    border-width:1px;
    border-style:solid;
    height:95vh;
}

.subwork2{
    height:20%;
}

.menu{
    margin:10px 10px;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;
    font-family: Mate, serif;
}

.column{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    margin:15px 0px;
}

.box{
    margin:0px 5px;
    display:flex;
    flex-direction:row-reverse;
}

.text{
    margin:0 auto;
    padding:10px;
    line-height:160%;
    max-width:1000px;
    font-family: Mate,serif;
}

img
{
	max-width:100% ;
	height:auto ;
}


/* ↓タグ↓ */

h1{
    font-size:150%;
    font-weight:normal;
    font-family: Mate, serif;
}

h2{
    font-size:70%;
    font-weight:normal;
    margin:10px;
}

h3{
    font-size:130%;
    font-weight:normal;
    text-align:center;
    margin:20px 0px;
    font-family: Mate, serif;
}

h3 span {
  display:block;
  margin-top:0px;
  color:#77473b;
  font-size:60%;
}

h4{
    font-size:100%;
    font-weight:normal;
    margin:15px 0px;
    border-width:0px 0px 1px 0px;
    border-style:solid;
    border-color:#b07064;
    font-family: 'Mate', serif;
    text-transform:uppercase;
}



h5{
    font-size:90%;
    font-weight:normal;
    margin:10px 0px;
    color:#394a5e;
}

h6{
    font-size:85%;
    font-weight:normal;
    margin:10px 0px;
    padding:3px;
    background-color:#d2a980;
    border-radius:4px;
}

p{
    text-align:left;
    margin:10px 0px;
    padding:5px;
    font-family:Mate,serif;
}

em{
    background: linear-gradient(transparent 60%, #fff799 60%);
    font-style:normal;
}

strong{
    font-weight:normal;
    color:#b07064;
}

small{
    font-size:70%;
}

big{
    font-size:130%;
}

ins{
    background-color:#ffeedc;
    text-decoration:underline overline #b07064;
}

i{
    font-style:bold;
}

a:link{
    color:#b07064;
    text-decoration:none;
}

a:visited{
    color:#b07064;
    text-decoration:none;
}

a:hover{
    color: #d2a980;
    text-decoration:underline #d2a980;
}

h1 a:link{
    color:#555;
}

h1 a:visited{
    color:#555;
}

blockquote{
    position:relative;
    padding:10px 10px 10px 50px;
    box-sizing: border-box;
    border-left:6px double #d2a980;
    margin:15px;
    font-size:90%;
    background-color:#ffeedc;
}

blockquote:before{
    display:inline-block;
    position:absolute;
    top:15px;
    left:15px;
    vertical-align: middle;
    content:'\00275e';
    color:#d2a980;
    font-size:30px;
}

li{
    padding:5px;
    margin:0px 0px 0px 20px;
}

ul{
    margin:10px 0px;
}

ol{
    margin:10px 0px;
}

dl{
    padding-left:3px;
    margin:10px 0px;
}

dt{
    padding-left:5px;
}

dd{
    padding-left:10px;
}

address{
    font-size:75%;
    font-family: Stone Crowd, serif;
}

cite{
    font-size:smaller;
}


/* ↓classタグ↓ */

.item{
    background-color:#fff;
    text-align:center;
    margin:15px 5px;
    padding:0px 15px;
}

.co-1{
    padding:10px 5px;
    font-size:90%;
    text-align:center;
    width:25%;
    background-size:cover;
    background-position:center;
    min-height:100px;
    background-color:#fafafa;
    margin: 2px;
}

.co-1 span{
    background:rgba(255, 237, 197, 0.9);
    padding:2px 2px;
    position:relative;
    top:80%;
}

.bg1{
    background-image:url(freebies/Wallpaper_Advarcher.png);
}

.bg2{
    background-image:url(freebies/Wallpaper_caps.png);
}

.bg3{
    background-image:url(freebies/Wallpaper_Dreamaruu.png);
}
.bg4{
    background-image:url(freebies/Wallpaper_Faerieko.png);
}
.bg5{
    background-image:url(freebies/Wallpaper_Genovaki.png);
}
.bg6{
    background-image:url(freebies/Wallpaper_ghostaficionado.png);
}
.bg7{
    background-image:url(freebies/Wallpaper_papaya.png);
}
.bg8{
    background-image:url(freebies/Wallpaper_Shura.png);
}
.bg9{
    background-image:url(freebies/Wallpaper_theo.png);
}

.co-2{
    padding:10px 5px;
    font-size:75%;
    text-align:left;
    width:100%;
}

.list1{
    list-style-type:circle;
}

.list2{
    list-style-type:upper-roman;
}

.hr1{
    margin:5px 0px;
    border-top: 1px #ccc;
    border-bottom: 1px #fff;
    border-style:solid;
}

.hr2{
    margin:5px 0px;
    border-top: 1px #aaa;
    border-style:dashed;
}

.hr3{
    margin:5px 0px;
    height:50px;
    border-width:0px;
}

.p1{
    background-color:#ffeedc;
}

.p2{
    border-style:double;
    border-width:3px;
    border-color:#d2a980;
}

.p3{
    border-style:solid;
    border-width:1px;
    border-color:#d2a980;
}


.dt1{
    font-family: Mate, serif;
    margin:5px 0px 5px -10px;
}

.dt2{
    padding:0px;
}

.dt2:before{
    content:'▸';
    color:#319177;
    font-size:20px;
}

.dd1{
    border-style:solid;
    border-width:1px 1px 2px 2px;
    border-color:#d2a980;
    padding:4px;
    font-size:90%;
}

.memo{
    background-color:#ffeedc;
    font-size: 95%;
    padding:0px 10px;
    height:150px;
    overflow:auto;
    margin:5px 10px;
    font-family:Mate,serif;
}

.img1{
    box-shadow:1px 1px 3px -1px #888;
    margin:5px;
    padding:15px;
}

.pagetop{
    position: fixed;
    bottom: 10px;
    right: 14px;
}
 
.pagetop a{
    display: block;
    text-decoration: none;
}
 
.pagetop:hover{
    opacity: 0.7 ;
}



/*↓ディスプレイ900px以下用↓*/

@media screen and (max-width:900px) 

{
    
.base{
    width:auto;
    margin:0px 5px;
}

.box{
    margin:0px;
    flex-direction:column;
}

.work{
    width:auto;
    margin:0px;
    padding:10px;
}

.subwork{
    width:auto;
    margin:5px 0px;
    padding:10px;
    height:85vh;
}

.subwork2{
    height:50%;
}

.text{
    width:auto;
    margin:0px;
    padding:10px;
    font-family:Mate,serif;
}

.menu{
    margin:20px 10px;
    font-size:90%;
}

.column{
    width:auto;
    margin:10px 0px;
}


.co-2{
    width:97%;
}

.item a{
    display:block;
}

h1{
    font-size:130%;
}

}
