@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Carrois+Gothic+SC&display=swap');
/*
'Carrois Gothic SC' is licensed under the Open Font License.
https://fonts.google.com/specimen/Carrois+Gothic+SC
*/


/* 基本設定 */
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    margin: auto;
    background: center / 100% #ffffff;
    background-image: url('../img/design66_bg.jpg');
    /* ↑スマホ版での色味調整のためimageだけ別に記述しています */
    color: #1c5220;
    font-size: 1.5rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}
h2,h3,h4,.back {
    font-family: 'Carrois Gothic SC', sans-serif;
}
h2 {
    padding: 0 0 3px 15px;
    margin: 3rem 0;
    border-left: #6fca56 solid 3px;
    border-bottom: #d9e2db solid 2px;
    font-size: 1.6em;
    font-weight: normal;
    line-height: 3rem;
}
h3 {
    padding: 3px 10px;
    margin: 2rem 1rem;
    background: #f3f9f4;
}
.ja {
    font-size: 90%;
    font-weight: bolder;
}
h4 {
    margin: 2rem;
}
h4 > span{
    padding: 5px 0;
    border-bottom: #94c89c solid 2px;
}
ul,ol {
    list-style: none;
}
em {
    background: #daebc7;
    color: #444444;
    font-style: normal;
}
strong {
    background: #657467;
    color: #ffffff;
}
main {
    display: block;
}
tr {
    margin: 4em;
}
td {
    vertical-align: top;
    padding-left: 1em;
}


/* 段落、全体の余白、リンク色 */
p {
    padding: 0em;
}
section {
    margin: 0em 0;
}
[id^="link"] {
    scroll-margin-top: 3em;
    scroll-snap-margin-top:3em;/* safari用 */
}

.space {
    margin: 2em;
}

.pageWrap {
    display: block;
    width: 65%;
     min-width: 800px;
     max-width: 1100px;
    min-height: 100vh;
    padding: 15vh 0 10vh;
    margin: auto;
    background: #ffffff;
}
.pageWrap a {
    color: #70a968;
}
.pageWrap a:hover {
    color: #4f664d;
}
.contentsWrap {  
    padding: 0 50px;
    margin: 10vh 0;
}
.box {
    margin: 10vh 0; 
    box-sizing: border-box;
}
.box li {
    text-indent: 1em;
}
.box ul {
    margin-top: 1em;
    margin-bottom: 1em;
}


/* フォーム関連 */
input[type],textarea {
    font-family: inherit;
    font-size: 95%;
    border: #c0ccc1 solid 1px;
    border-radius: 2px;
    box-sizing: border-box;
}
.mailForm .enter {
    width: 400px;
    padding: .3em;
    margin-bottom: 1em;
}
.mailForm textarea {
    height: 6em;
}
.mailForm .button {
    padding: .3em 1em;
    margin-right: 1em;
    background: #94c89c;
    border: none;
}


/* 事業一覧 */
.novelList {
    display: grid;
     grid-template-columns: 1fr 1fr 1fr ;
     grid-template-rows: auto;
     gap: 1em;
     grid-gap: 1em;
}
.novelList li {
    display: flex;
    margin: 0 ;
}
.novelList li a {
    display: block;
    width: 100%;
    border: #e3e9e5 solid 1px;
    border-radius: 4px;
    color: #756e6c;
    transition: .3s;
}
.novelList li a:hover {
    box-shadow: 0 0 8px #e2e2e2;
}
.novelList li a > img {
    width: 100%;
    height: 80px;
    background: #e2e2e2;
    object-fit: cover;
    object-position: center;
}
.novelList li a > div {
    padding: 1rem;
}
.info {
    margin-top: 3px;
    color: #a7b09f;
    font-size: 1rem;
}
div.plan{
width:220px;
height:170px;
border-top:solid medium #CCCCCC;
border-left:solid medium #CCCCCC;
padding-left:1ex;
float:left;
border-top-left-radius:10px;
border-top-right-radius:5px;
border-bottom-left-radius:5px;
}

div.ws{
width:220px;
height:170px;
border-top:solid medium #CCCCCC;
border-left:solid medium #CCCCCC;
padding-left:1ex;
float:left;
background:url(./img/ws.png) right bottom no-repeat;
border-top-left-radius:10px;
border-top-right-radius:5px;
border-bottom-left-radius:5px;
}

div.meet{
width:220px;
height:170px;
border-top:solid medium #CCCCCC;
border-left:solid medium #CCCCCC;
padding-left:1ex;
float:left;
background:url(./img/meet.png) right bottom no-repeat;
border-top-left-radius:10px;
border-top-right-radius:5px;
border-bottom-left-radius:5px;
}

div.pub{
width:220px;
height:170px;
border-top:solid medium #CCCCCC;
border-left:solid medium #CCCCCC;
padding-left:1ex;
float:left;
background:url(./img/pub.png) right bottom no-repeat;
border-top-left-radius:10px;
border-top-right-radius:5px;
border-bottom-left-radius:5px;
}

div.adv{
width:220px;
height:170px;
border-top:solid medium #CCCCCC;
border-left:solid medium #CCCCCC;
padding-left:1ex;
float:left;
background:url(./img/adv.png) right bottom no-repeat;
border-top-left-radius:10px;
border-top-right-radius:5px;
border-bottom-left-radius:5px;
}
    


/* ヘッダー */
.mainHeader {
display: grid;
    grid-template-rows: auto;
    grid-template-columns: minmax(200px, auto) auto;
    justify-content: center;
width: 80%;
padding: 5vh 0;
margin: auto;
}


/* ↓グリッドに関する設定はここにまとめて記述しています */
.siteName {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.since {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.mainNav {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

/* サイト名 */
.siteName {
    display: flex;
     justify-content: center;
     align-items: center;
    position: relative;
    min-width: 300px;
    height: 180px;
}
.siteName > h1 {
    position: relative;
    max-width: 180px;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
    z-index: 2;
}
h1 > span {
    color: #6d6563;
}

.since {
    margin: 1em 1em 0;
    color: #756e6c;
    font-size: 1rem;
    text-align: center;
}

/* ナビゲーション */
.mainNav {
    font-family: 'Carrois Gothic SC', sans-serif;
}
.mainNav ul {
    display: flex;
     flex-direction: column;
     justify-content: center;
    height: 100%;
}
.mainNav li {
    padding: 1px;
    margin: .5em 1em;
}
.mainNav li a {
    display: inline-block;
    position: relative;
    padding: 2px 1em;
    color: #1c5220;
    border-radius: 1rem;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: .1em;
    text-align: center;
    transition: .3s;
    z-index: 2;
}
.mainNav li a:hover {
    color: #113d1c7e;
    text-shadow: 0 0 3px #b3bbb5;
}

/* アコーディオン */
.accordion {
margin: 3em auto;
max-width: 60vw;
}
.toggle {
display: none;
}
.option {
position: relative;
margin-bottom: 1em;
}
.title,
.content {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
transition: all 0.3s;
}
.title {
border: solid 1px #ccc;
padding: 1em;
display: block;
color: #1c5220;
font-weight: bold;
}
.title::after,
.title::before {
content: "";
position: absolute;
right: 1.25em;
top: 1.25em;
width: 2px;
height: 0.75em;
background-color: #999;
transition: all 0.3s;
}
.title::after {
transform: rotate(90deg);
}
.content {
max-height: 0;
overflow: hidden;
overflow-x: auto; /* 横スクロールを有効にする */
white-space: nowrap; /* 子要素が改行されないようにする */
}
.content p {
margin: 0;
padding: 0.5em 1em 1em;
font-size: 0.9em;
line-height: 1.5;
}
.toggle:checked + .title + .content {
max-height: 500px;
transition: all 1.5s;
}
.toggle:checked + .title::before {
transform: rotate(90deg) !important;
}
.content img {
    max-width: none; /* 画像が縮小されないようにする */
    display: inline-block; /* 画像が横に並ぶようにする */
}


/* トップに戻るリンク */
.back {
    margin-right: 2em;
    text-align: right;
}
.back a {
    display: inline-block;
    position: fixed;
     bottom: 2em;
    width: 4em;
    height: 4em;
    background: rgba(151, 178, 153, .5);
    border-radius: 50%;
    line-height: 4em;
    text-align: center;
}


/* フッター（削除OK）※デフォルト非表示 */
.mainFooter {
    margin-top: 5vh;
    color: #d0d5cc;
    font-size: 1rem;
    text-align: center;
}
.mainFooter a {
    color: #a7b09f;
}


/* PCのみ非表示用 */
@media (min-width:900px) {
    .mibile {
        display: none;
    }
}

/* モバイル用調整CSS */
@media (max-width:901px) {
    body {
        background-image: linear-gradient(rgba(255, 250, 221, 0.308), rgba(255, 250, 221, 0.308)), url('../img/design66_bg.jpg');
        background-size: auto 40%;
        font-size: 1.2rem;
    }
    h2 {
        padding-left: 10px;
        border-left-color: #94c89c;
        border-bottom-width: 1px;
        line-height: 2rem;
    }
    h3 {
        padding: 2px 5px;
        margin: 1rem 5px;
        background: #f4f4f4;
    }
    h4 {
        margin: 1rem;
    }
    p {
        padding: 0 1em;
    }
    .pageWrap {
        width: 90%;
        max-width: 600px;
        min-width: 300px;
        padding: 40px 0;
    }
    .contentsWrap {
        padding: 20px;
        margin: auto;
    }
    .novelList {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-row-gap: 1em;
        grid-column-gap: 5%;
    }
    .novelList li {
        display: inline-flex;
        margin-bottom: 1em;
    }
    .novelList li a > img {
        height: 50px;
    }
    .mailForm .enter {
        width: 100%;
    }
    .log {
        width: 75%;
        max-width: 400px;
        padding: 5px;
        border: #d5dbd6 solid 1px;
        border-radius: 2px;
        box-sizing: border-box;
        color: #756e6c;
    }
    .log ul {
        height: 80px;
    }
    .log li {
        margin: 0;
    }
    .mainHeader {
        display: flex;
         flex-direction: column;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }
    .siteName {
        text-align: center;
        width: auto;
        min-width: 250px;
        height: auto;
        min-height: 150px;
    }
    .siteName::after {
        background-image: linear-gradient(rgba(255, 250, 221, 0.308), rgba(255, 250, 221, 0.308)), url('../img/design66_3.png');
    }
    .since {
        order: 1;
        margin: 1rem;
        padding-right: 15px;
        text-align: right;
    }
    #click::before {
        content: '';
        transition: .3s;
    }
    .active #click::before {
        content: 'close×';
        color: #999;
    }
    .mainNav {
        padding-right: 15px;
        margin: 3em 0 0;
    }
    .mainNav li {
        padding: 0;
        margin: 3px 0;
        text-align: right;
    }
    .mainNav li a {
        padding: 3px 1rem;      
    }
    .subpage_header {
        padding-bottom: 0;
    }
    .subpage_header .siteName {
        align-self: auto;
    }
    .subpage_header .since {
        padding: 0;
        text-align: center;
    }
    .subpage_header .mainNav {
        display: none;
    }
    .back a {
        bottom: 1em;
    }
    .hidden_mobile {
        display: none;
    }
}

/* 小説部分１列表示用 */
@media (max-width:550px) {
    .novelList {
        display: flex;
         flex-direction: column;
        align-items: center;
    }
    .novelList li {
        width: 250px;
    }
}

