@charset "utf-8";

/* indexのlogoのリンクカラー */
main a.indeximg:hover {
    filter: drop-shadow(2px 2px 6px #a4b0ba);
}

/* 訪問済みリンクのカラー */
main a:visited,
li a:visited,
dd a:visited{
    /* color: #9ea0c1; */
    color: #9b57cc;
}
/* liとddのリンク */
li a,dd a{
    color: var(--theme-color1-default);
}

/* 漫画ページの画像と画像の隙間調整 */
.comic img{
    padding: 0.5em 0;
    width: 80%;
    height: auto;
}

/* イラストページの画像調整 */
.main-ill img{ /* 横長画像の場合 */
    width:  auto;
    height: auto;
    max-height: 90%;
    max-width: 90%;
}
.main-illh img{
    width:  auto;
    height: auto;
    max-height: 50%;
    max-width: 50%;
}

/* logの並びに関する設定 */
.main-log{
    columns: 4; /* 段組数 */
}
.main-log img{
    margin-bottom: 0.5em;
    width: 100%;
    height: auto;
    vertical-align: bottom; /* 画像の下に出来る余白を削除 */
}
/* 横幅900px以下の段組み設定 */
@media only screen and (max-width: 700px) {
  .main-log{
  columns:3;
  }
}
@media only screen and (max-width: 480px) {
  .main-log{
  columns: 2;
  }
}

/* 各コンテンツのインフォメーション部の調整 */
.maininfo p{
    margin: 2em 0 0 0;
    font-size: 0.9em;
    color: #666;
}
.maininfo p span.ps{
    font-size: smaller;
    color: #9d9a99;
}

/* 各コンテンツの見出し用 */
.mainh2{
    font-family: "Kosugi Maru", sans-serif;
    margin-block: 2.5rem 5rem;
    text-align: center;
    padding: 1.8rem;
    outline: #87bdeb solid 2px;
    outline-offset: -5px;
    background-image: repeating-linear-gradient(90deg, rgba(158, 214, 255, 0.49) 0 6px, transparent 6px 9px);
    background-repeat: no-repeat;
    background-position: 15px 10px;
    color: #333;
    font-size: 2.6rem;
    font-weight: bold;
    text-align: center;
}
/* 各コンテンツのサブ見出し用 */
.mainh3{
    position: relative;
    padding: 12px;
    text-align:center;
    margin-block: 5rem 1rem;
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 500;
}
.mainh3:before,.mainh3:after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 6px;
    box-sizing: border-box;
}
.mainh3:before {
    top: 0;
    border-top: 2px solid #b4daff;
    border-bottom: 1px solid #b4daff;
}
.mainh3:after {
    bottom: 0;
    border-top: 1px solid #b4daff;
    border-bottom: 2px solid #b4daff;
}

/* logのリンクをボタン風に */
.log_link{
    text-align: center;
}
.log_link span{
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 1rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #ffffff;
    background-color: #9ad8ff;
    border-radius: 0.5rem;
}
.log_link span:hover{
    color: #333333;
    background-color: #7fafd3;
}

/* 上のやつ2つを色変えて一次創作用に転用 */
.origh2{
    font-family: "Kosugi Maru", sans-serif;
    margin-block: 2.5rem 5rem;
    text-align: center;
    padding: 1.8rem;
    outline: #de7c84 solid 2px;
    outline-offset: -5px;
    background-image: repeating-linear-gradient(90deg, rgba(234, 130, 142, 0.49) 0 6px, transparent 6px 9px);
    background-repeat: no-repeat;
    background-position: 15px 10px;
    color: #333;
    font-size: 2.6rem;
    font-weight: bold;
    text-align: center;
}
.origh3{
    position: relative;
    padding: 12px;
    text-align:center;
    margin-block: 5rem 1rem;
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 500;
}
.origh3:before,.origh3:after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 6px;
    box-sizing: border-box;
}
.origh3:before {
    top: 0;
    border-top: 2px solid #fcb2b8;
    border-bottom: 1px solid #fcb2b8;
}
.origh3:after {
    bottom: 0;
    border-top: 1px solid #fcb2b8;
    border-bottom: 2px solid #fcb2b8;
}
.origlog_link{
    text-align: center;
}
.origlog_link span{
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 1rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #ffffff;
    background-color: #ea91a5;
    border-radius: 0.5rem;
}
.origlog_link span:hover{
    color: #333333;
    background-color: #ce5570;
}

/* 設定ページのその他の設定画の調整 */
.set-img{
    margin: 0;
}
.set-img h4{
    margin: 0 0 1em 0;
}
.set-img h4 span{
    background-color: #333;
    color: #f0f8ff;
}
.set-img img{
    height: 150px;
    margin-right: 5px;
    margin-bottom: 10px;
}

/* 作品ページのキャプション */
.capbox {
    padding: 20px;
    margin-block: 2.5rem;
    margin-inline: auto;
    box-sizing: border-box;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2em;
}
.capbox p.cap{
    margin: 2em 0 0 0;
    color: #333;
}

/* 作品ページの作成日付・更新日付 */
.capbox p.date{
    text-align: right;
    font-size:0.8em;
    margin: 1.5em 0 -1em 0;
}
.capbox span.up::before {
    content: "\f304";
    margin-inline-end: 5px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.capbox span.update::before {
    content: "\f2ea";
    margin-inline-end: 5px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* pkgイラストの設定へのリンク用 */
.pkgill-link span::before{
    content: "\f08e";
    margin-inline-end: 0.3em;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.pkgill-link p{
    margin: -2em 0;
    font-size: 0.8em;
    color: #666;
}

/* 丸囲み文字 */
.marured{
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: #f56782;
    color: #fff;
    text-align:center;
    line-height: 2em;
    font-family: "Baloo Tammudu 2", "Kosugi Maru", sans-serif;
}
.marublue{
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: #6eb1ff;
    color: #fff;
    text-align:center;
    line-height: 2em;
    font-family: "Baloo Tammudu 2", "Kosugi Maru", sans-serif;
}

/* HOME-Mainの見た目調整用 */
.mainlist1{
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 1px #666;
    border-radius: 0.8em;
}
.mainlist1 ul li {
    line-height: 1.3;
    padding: 0.3em 0;
    list-style-type: none;
    }
.mainlist1 ul li::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
        position: absolute;
        left : 1em;
        color: #e07287;
    }
.mainlist1 .mainlist-title{
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: var(--theme-color1-light);
    /* color: #e07287; */
    font-weight: bold;
}

.mainlist2{
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 1px #666;
    border-radius: 0.8em;
}
.mainlist2 ul li {
    line-height: 1.3;
    padding: 0.3em 0;
    list-style-type: none;
    }
.mainlist2 ul li::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
        position: absolute;
        left : 1em;
        color: #84b9ed;
    }
.mainlist2 .mainlist-title{
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: var(--theme-color1-light);
    /* color: #84b9ed; */
    font-weight: bold;
    
}


/* oddのボックスの部分的なカラーを変更 */
main > *:nth-child(odd) {
    dl dd {
        border-block-end: 1px dashed var(--theme-color1-default);
    }
    dl.border {
        border: 1px solid var(--theme-color1-default);
    }
    .scrollbox::-webkit-scrollbar-thumb {
        border: 1px solid var(--theme-color1-default);
    }
    h3,h4,h5 {
        color: var(--theme-color1-dark);
    }
    h3 {
        border: 2px solid var(--theme-color1-dark);
        color: var(--theme-color1-dark);
    }
    h4 span {
        background: var(--theme-color1-default);
    }
    /*
    .box {
        border: 1px solid var(--theme-color1-default);
    }
    */
}
@media only screen and (min-width: 1024px){
    main > *:nth-child(odd) {
        dl.inline dt,
        dl.inline dd {
        border-block-end: 1px dashed var(--theme-color1-default);
    }
    }
}
/* evenのボックスの部分的なカラーを変更 */
main > *:nth-child(even) {
    dl dd {
        border-block-end: 1px dashed var(--theme-color2-default);
    }
    dl.border {
        border: 1px solid var(--theme-color2-default);
    }
    .scrollbox::-webkit-scrollbar-thumb {
        border: 1px solid var(--theme-color2-default);
    }
    h3,h4,h5 {
        color: var(--theme-color2-dark);
    }
    h3 {
        border: 2px solid var(--theme-color2-dark);
        color: var(--theme-color2-dark);
    }
    h4 span {
        background: var(--theme-color2-default);
    }
    /*
    .box {
        border: 1px solid var(--theme-color2-default);
    }
    */
}
@media only screen and (min-width: 1024px){
    main > *:nth-child(even) {
        dl.inline dt,
        dl.inline dd {
        border-block-end: 1px dashed var(--theme-color2-default);
    }
    }
}

/* 縮小した際の更新履歴のボーダーを調整 */
@media only screen and (max-width: 1024px){
    #MENU_HISTORY{
        dt{border: none;
        font-size: 0.8em;}
    }
    .historydiv{
        margin: 0.5em 0;
    }
}
/* あと更新履歴のとこの色々 */
#MENU_HISTORY dl{
    margin: 0;
}
#MENU_HISTORY dl.inline dd{
    max-width: 99%;
}
#MENU_HISTORY dt::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
        color: var(--theme-color1-default);
        margin: 0 0.4em;
    }
#MENU_HISTORY h6{
    margin-bottom: -2.5em;
    text-align: right;
}
.historydiv{
    position:relative;
    border:1px solid var(--theme-color1-right);
    border-radius:0.8em;
    padding:1.5em 1em;
    /* background-color: #fff; */
}
.historytitle{
    position:absolute;
    top:-10px;
    left: 2em;
    padding: 5px 25px;
    background-color:var(--theme-color1-light);
    border-radius:4px;
    color:var(--theme-color1-default);
    line-height: 1em;
    font-size: 1.4em;
    font-family: "Baloo Tammudu 2", "Kosugi Maru", sans-serif;
}

/* infoの囲み */
#infodiv{
    position:relative;
    border:1px solid #666;
    border-radius:0.8em;
    padding: 1em 1em;
    margin-bottom: 2em;
}
#infodiv .inline{
    margin: 2.5rem 1rem 1rem 1rem;
}
.infotitle{
    position:absolute;
    top:-10px;
    left: 2em;
    padding: 5px 25px;
    background-color:var(--theme-color2-light);
    border-radius:4px;
    color:var(--theme-color2-default);
    line-height: 1em;
    font-size: 1.4em;
    font-family: "Baloo Tammudu 2", "Kosugi Maru", sans-serif;
}


/*  */
/* googlefontの使用フォントファミリー一覧　ここから適宜選んで適用するのがいいと思う
font-family: 'Hina Mincho', serif;
font-family: 'Kaisei Decol', serif;
font-family: 'Kaisei HarunoUmi', serif;
font-family: 'Kaisei Tokumin', serif;
font-family: 'New Tegomin', serif;
font-family: 'Yomogi', cursive;
font-family: 'Zen Antique Soft', serif;
font-family: 'Zen Kaku Gothic Antique', sans-serif;
*/
 