@charset "utf-8";
/* -------------------- 共通設定 -------------------- */
:root {
    --background-color: rgb(243, 245, 242);
    --txt-color: rgb(37, 37, 39);
    --main-color: rgb(60,94,94);
    --sub-color: rgb(125,176,160);
    --line-color: rgb(232, 255, 150);
    --point-color: rgb(218, 159, 159);

}

*{
    font-family: "BIZ UDMincho", serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    cursor: crosshair;
}

body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    
}

section{
    width: 80%;
    margin: 0 auto;
}

.section-top{
    margin-top: 15em;
    margin-bottom: 5em;
}
table{
    margin-bottom: 5em;
}
.box-novel{
    width: 65%;
    margin: 0 auto;
}
.box-works{
    width: 100%;
    margin: 0 auto;
}

.box{
    width: 65%;
    margin: 0 auto;
}

/* -------------------- リンクの設定 -------------------- */

a{
    text-decoration: none;
    color: var(--main-color);
}

a:hover{
    color: var(--point-color);
    transition: all 0.3s;
}
.other:hover{
    color: var(--sub-color);
    transition: all 0.3s;

}

/* -------------------- 配置微調整 -------------------- */

.add-top{
    margin-top: 2em;
}

.m-active{
    visibility: hidden;
    opacity: 0;

}
/* -------------------- icon画像の表示調整 -------------------- */

.img-center{
    text-align: center;
    margin-bottom: 1.5em;
}

.icon-img{
    width: 50px;
}

.bottom-cover{
    margin-top: 2em;
    width: 70%;

}
.aside-icon{
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

/* -------------------- 文字の設定/装飾 -------------------- */

p{
    font-size: 0.95em;
    line-height: 1.8;
}
.font-up{
    font-size: 1.05em;
}
.p-bold{
    font-weight: bold;
}

.p-novel{
    line-height: 1.5;

}

.p-novel-info{
    position: relative;
    text-align: center;
    width: 6.5em;
    margin: 0 auto;

}

.p-novel-info::before,
.p-novel-info::after{
    display: inline-block;
    position: absolute;
    content: '';
    width: 0.75em;
    height: 1px;
    top: 50%;
    background-color: var(--txt-color);

}

.p-novel-info::before{
    left: 0;
}
.p-novel-info::after{
    right: 0;
}

.txt-center{
    text-align: center;
}

.txt-right{
    text-align: right;
}
.txt-left{
    text-align: left;
}
.txt-eng{ /* 英字のフォント変更用 */
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;

}
.white{
    color: #ece9e3;
}
.red{
    color: tomato;
}

.underline{
    text-decoration-line: underline;
}

.right-line{
    border-right: 3px solid tan;
    margin: 0 1em 0.5em 0;
    padding: 0.25em 0.25em;
    width: 8em;
}


/* -------------------- 見出し -------------------- */
.h-site{
    letter-spacing: 0.25em;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0.25em;

}

.h-line1,
.h-line2,
.h-line3
{
    position: relative;
    text-align: center;
    margin-bottom: 1em;

}

.h-line1::before,
.h-line2::before,
.h-line3::before{
    display: inline-block;
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    border: 1px solid rgb(110, 153, 141);
    background-color: rgba(255, 255, 255, 0.1);
    top: -25px;
    left: 50%;
    z-index: 0;

}

.h-line1::after,
.h-line2::after,
.h-line3::after{
    display: inline-block;
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    border: 1px solid rgb(110, 153, 141);
    background-color: rgba(110, 153, 141, 0.2);;
    top: -15px;
    left: 50%;
    z-index: 1;

}

.h-line1::before{
    border-radius: 65px 65px 54px 47px;
    transform: translate(-50%, -50%) rotate(-75deg);

}
.h-line1::after{
    border-radius: 10px 15px 8px 10px;
    transform: translate(-50%, -50%) rotate(-10deg);
}

.h-line2::before{
    border-radius: 85px 65px 54px 45px;
    transform: translate(-50%, -50%) rotate(-10deg);

}
.h-line2::after{
    border-radius: 10px 9px 10px 12px;
    transform: translate(-50%, -50%) rotate(-60deg);
}

.h-line3::before{
    border-radius: 65px 75px 54px 85px;
    transform: translate(-50%, -50%) rotate(-10deg);

}
.h-line3::after{
    border-radius: 13px 9px 20px 10px;
    transform: translate(-50%, -50%) rotate(-75deg);
}

.h-novel{
    margin: 1em 0 1.5em;
    text-align: center;

}

/* -------------------- 文字の設定/装飾 -------------------- */

#top{
    max-width: 100%;
    margin: 0 auto;

}

.topimage{
    position: relative;
    width: 100%;  
    max-height: 100vh; 
    display: grid;
    justify-items: center;
    align-items: center;
    overflow: hidden;


}
.topimage img{
    width: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}


.sitename{
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    padding-top: 2.5em;


}

.sitename p{
    position: relative;
    font-size: 1em;
    text-align: center;
    margin-left: -1em;
    margin-top: 1em;

}

.sitename p::after{
    display: inline-block;
    position: absolute;
    content: '';
    width: 9.5em;
    height: 1px;
    left: 50%;
    top: -5px;
    background-color: var(--txt-color);
    transform: translate(-50%,-50%);

}

.skew{
    transform: skew(-20deg);
    text-decoration: underline;

}

/* -------------------- 更新履歴 リンク -------------------- */

.box-news{
    position: relative;
    width: 70%;
    padding: 2em 0.5em 2em;
    border-radius: 5px;
    border: 4px double var(--txt-color);
    margin-top: 3em;
    margin: 0 auto;
}

.box-news span{
    position: absolute;
    background-color: var(--background-color);
    padding: 0.5em;
    top: -1px;
    left: 3em;
    transform: translate(-50%,-50%);
}


.box-news dl{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 0.25em 0.5em 0.25em 1.5em;
    margin: 0 auto;
    margin-bottom: 0.5em;

}

.box-news dt{ /* 日付データに英字フォントを設定 */
    position: relative;
    font-family: "Libre Baskerville", serif;
    font-weight: normal;
    font-size: 0.95em;
    width: 20%;
}

.box-news dt::before{
    position: absolute;
    content: '';
    display: inline-block;
    width: 2.5em;
    height: 1px;
    left: -0.75em;
    bottom: -1.5em;
    background-color: var(--txt-color);
    transform: rotate(-90deg);

}

.box-news dd{
    font-size: 0.9em;
    width: 80%;
    margin-top: -0.75em;
    margin-left: 10%;
}

.old{
    font-size: 0.8em;
    padding-right: 5em;
    margin-top: 3em;
}

/* -------------------- メニューボタン -------------------- */

.menu-button{
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;

    position: fixed;
    width: 65px;
    height: 65px;
    top: 23%;
    right: 0;
    border: 1px solid tan;
    background-color: rgba(210, 180, 140, 0.75);
    z-index: 2000;

    text-align: center;
}

.menu-button p{
    color: #fff;
}

.menu-button img{
    margin-top: 0.5em;
}

.btn-active{
    visibility: visible;
    opacity: 1;
}

/* -------------------- メニュー -------------------- */
.menu{
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;

    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(60,94,94,0.8);
    backdrop-filter: blur(5px);

    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 2;
    z-index: 9999;
}
.menu-active{
    visibility: visible;
    opacity: 1;
}
.main-case{
    display: block;
    margin: 0 auto;
}
nav{
    color:#ece9e3;
}
ul{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
li{

    list-style: none;
    list-style-position: outside;
    text-decoration: underline;
}
.li-flex{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5em;
}

.backtop{
    margin-top: 1.5em;
    margin-bottom: -15px;

}
.p-backtop{
    font-size: 0.8em;
    color: #ece9e3;
}
/* -------------------- flex表示 -------------------- */
.flex-works{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5em;
    width: fit-content;
    margin: 0 auto;
    margin-top: 3em;
}

/* -------------------- grid表示のベース -------------------- */
.sub-h-works{
    font-size: 0.85em;
    letter-spacing: 0.2em;
    padding-left: 0.5em;
    color: rgba(37, 37, 39,0.5);
}
/* -------------------- grid 表示 -------------------- */
.grid-container{
    margin: 0 auto;
    margin-bottom: 2em;
}
.grid1,
.grid2{
    display: grid;
    gap: 0.5em;
    width: fit-content;
    margin: 0 auto;
}
.grid1{
    grid-template-columns: repeat(4,1fr);
}

.grid2{
    grid-template-columns: repeat(3,1fr);
}

img.icon1,
img.icon2,
img.icon3,
img.icon4,
img.icon5,
img.icon6{
    object-fit: none;
    width: 90px;
    height: 120px;
    border-radius: 20px 3px;
    object-fit: none;

}

img.icon1{
    object-position: 25%25%;
}

img.icon2{
    object-position: 25%75%;
}
  
img.icon3{
    object-position: 75%25%;
}
img.icon4{
    object-position: 75%75%;
}

img.icon5{
    object-position: 50%60%;
}
img.icon6{
    object-position: 50%40%;
}

/* -------------------- grid表示に付随する設定 -------------------- */
.works-link-p{
    position: relative;
    margin-top: 2em;
    margin-right: 3em;
}

.works-link-p::before,
.works-link-p::after{
    position: absolute;
    content: '';
    display: inline-block;
    height: 1px;
    background-color: var(--sub-color);

}
.works-link-p::before{
    width: 115px;
    bottom: 3px;

}

.works-link-p::after{
    width: 18px;
    bottom: 8px;
    right: -30px;
    transform: rotate(35deg);
}
/* -------------------- 斜めライン装飾 -------------------- */
.skew-line-case,
.skew-line-case2{
    width: 270px;
    max-height: 400px;
    overflow: hidden;

}
.skew-line-case{
    background-image: url("../img/title-img.jpg");

}
.skew-line-case2{
    background-image: url("../img/title-img2.jpg");

}

.skew-line-case .skew-line1,
.skew-line-case .skew-line2,
.skew-line-case2 .skew-line1,
.skew-line-case2 .skew-line2{
    display: inline-block;
    height: 500px;
    box-sizing: border-box;
    transform: rotate(7deg);
    overflow: hidden;

}
.skew-line-case .skew-line1,
.skew-line-case2 .skew-line1{
    width: 50px;
    margin-left: -21px;
    margin-top:-5em;
    background-color: var(--background-color);

}
.skew-line-case .skew-line2,
.skew-line-case2 .skew-line2{
    width: 150px;
    margin-left: 230px;
    margin-top:-100em;
    background-color: var(--background-color);
}

/* -------------------- material配布 -------------------- */

.material-ul{
    margin-top: 1.5em;

}

.material-li{
    margin: 0.75em 0;
    text-decoration: none;
}
/* -------------------- インフォメーション -------------------- */

.box-attention{
    background-color: rgba(210, 180, 140, 0.3);
    padding: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 3px;

}

/* -------------------- リンクリスト -------------------- */

.sns-tag{
    font-size: 0.75em;
    background-color: tan;
    color: #fff;
    padding: 0.25em 1em 0.1em;
    border-radius: 15px;
}
.sns-tag:hover{
    background-color: rgb(233, 205, 168);
    transition: all 0.5s;
}

/* -------------------- メールフォーム -------------------- */
.maildialog{
    width: 80%;
    margin:  0 auto;

}

.maildialog h3{
    text-align: center;
    margin-bottom: 2em;
}

.tabel-mail{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1em;

    
}

.tabel-mail th{
    width: 100%;
    text-align: left;
}

.tabel-mail td{
    width: 80%;
}

.maildialog p{
    margin-bottom: 2em;

}

.form{
    width: 450px;
    background-color: rgba(192, 213, 240, 0.025);
    border: 1px solid rgb(93, 141, 141, 0.5);
    border-radius: 3px;
    padding: 0.25em;
}

.form:focus{
    border: 1px solid tan;
    transition: 0.5s;

}
.btn-flex{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;


}
.mail-btn{
    min-width: 8em;
    padding: 0.5em 2em;
    margin: 1em 0 2em;
    color: var(--background-color);
    background-color: var(--main-color);
    border-radius: 3px;
    
}
.mail-btn:hover{
    background-color: tan;
    transition: 0.5s;

}
/* -------------------- プライバシーポリシー -------------------- */
.pp-box{
    width: 65%;
    margin: 0 auto;
    margin-top: 3em;
    margin-bottom: 6em;

}
/* -------------------- フッター -------------------- */

footer{

    width: 100%;
    padding: 0.75em 0;
    background-color: rgb(53, 52, 50);
    z-index: 10;
}
footer p{
    font-size: 0.8em;
    text-align: center;
    color: var(--background-color);
    padding-right: 3em;
}
/* ---------------------------------- メディアクエリ max-width 1200px---------------------------------- */
@media (max-width: 1200px) {
    p{
        font-size: 0.85em;
    }
    /* 配置調整 */
    .hidden{
        visibility: hidden;
        opacity: 0;
    }
    .m-active{
        visibility: visible;
        opacity: 1;
        margin-bottom: 3.5em;
    
    }
    section{
        width: 85%;
    }

    .box-novel,
    .box{
        width: 90%;
    }

    img.icon1,
    img.icon2,
    img.icon3,
    img.icon4,
    img.icon5,
    img.icon6{
        width: 60px;
        height: 100px;
        border-radius: 20px 3px;

    }
    .flex-works{
        display: block;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .grid2{
    grid-template-columns: repeat(4,1fr);
}




}

@media (max-width: 1000px) {
    .box-news{
    width: 85%;
    }
}

@media (max-width: 500px) {
    .box-news{
    width: 95%;
    }

.h-site{
    letter-spacing: 0.25em;
    font-size: 1.5em;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0.25em;

}

.sitename p{
    position: relative;
    font-size: 0.85em;
    text-align: center;
    margin-left: -1em;
    margin-top: 1em;

}

.sitename p::after{
    display: inline-block;
    position: absolute;
    content: '';
    width: 9.5em;
    height: 1px;
    left: 50%;
    top: -5px;
    background-color: var(--txt-color);
    transform: translate(-50%,-50%);

}
}


/* 
日本語用フォント
.biz-udmincho-regular {
    font-family: "BIZ UDMincho", serif;
    font-weight: 400;
    font-style: normal;
  } */
  

  /* 
  英数字フォント
  .libre-baskerville-regular {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
  }
   */