@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');

:root {
  --main:#c0cccf;
  --sub:#d16a37;
  --bg:#313536;
  --bg2:#577d85;
}


html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    background: var(--bg2);
    color: var(--main);
    font-size: 1.5rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}

h2,h3,h4,.contentsNav {
    font-family: 'Comfortaa', cursive;
    font-weight: lighter;
}
h2 {
    display: flex;
     align-items: center;
    margin: 2em 0;
    margin-top: -70px;
    padding-top: 70px;
}
h2 > span {
    margin: 0 2em;
}
h2::before, h2::after {
    content: '';
    display: block;
    height: 2px;
    background:left top / 100% var(--sub);
}
h2::before {
    flex-basis: 3em;
}
h2::after {
    flex-grow: 1;
}
h3 {
    display: flex;
     align-items: center;
    margin: 1em 0;
}
h3::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.5em;
    margin-right: 1.5em;
    background: var(--sub);
    border-radius: 3px;
}
h4 {
    display: inline-block;
    padding: 0 .5em;
    margin: 1em 0 .5em;
    background: var(--bg2);
    font-weight: normal;
}

h4 > span::after {
    content: none;
    display: block;
    width: 100%;
    height: 3px;
    background: url('../img/design65_bg.png') left top / 100% var(--sub);
}
ul,ol {
  list-style: none; /* リストのマーカーを非表示にする */
}

em {
    background: #f1f0ee;
}



p {
    padding: 0 1em;
}

.pageWrap {
    width: 60%;
    max-width: 1000px;
    min-width: 700px;
    min-height: 100vh;
    padding: 1em 0;
    margin: 0 auto;
    background: var(--bg);
    box-sizing: border-box;
    box-shadow: 0 0 15px var(--bg);
}
.pageWrap a {
    color: #65969e;
}
.contentsWrap {
    padding: 50px;
}
.mainContents a:visited {
    color: #a4b6b8;
}
.contentsWrap > section {
    min-height: 50vh;
}


input[type],textarea,button,select {
    border: var(--main) solid 1px;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}


.about {
    display: flex;
     justify-content: space-around;
    width: 90%;
    margin: 5vh auto;
}

.nameChange {
    padding: 0 2em;
    margin: 2em auto;

}
.nameChange .enter {
    width: 8em;
}
.nameChange .button {
    background: var(--sub);
    font-family: 'Comfortaa', cursive;
    letter-spacing: 0;
}



.list {
    margin: 1em 1.5em 2em;
    line-height: 1;
}
.list .info {
    width: 100%;
    margin-bottom: 5px;
    color: #5a6463;
}
.list li a:hover {
    text-decoration: underline;
}


.listYoko {
    display: flex;
     flex-wrap: wrap;
}

.listYoko li {
    margin-right: 1em;
}


.listTate {
    columns: 2;
}
.listTate li > span {
    margin-left: 1em;

}

.new::after {
    content: 'new';
    display: inline-block;
/*
    background: #816755;
        color: #f3f2ed;
*/

    color: #816755;
    letter-spacing: 0;
    transform: translateY(-3px) rotate(-10deg);
}



.textWrap {
    width: 90%;
    max-width: 700px;
    margin: 10vh auto;
    line-height: 200%;
}
.textNav ul {
    display: flex;
     justify-content: center;
     align-items: center;
    margin: 10vh 0;
/*    background: rgba(177, 228, 228, 0.5);*/
    font-family: 'Comfortaa', cursive;
}
.textNav li {
    margin: 0 1em;
}
.textNav li a {
    display: inline-block;
    padding: 3px .5em;
    color: #5c5650;
}
.atogaki::before {
    content: '';
    display: block;
    height: 2px;
    margin: 3em 0 2em;
    background: url('../img/design65_bg.png') left top / 100% var(--sub); 
}



.contentsHeader {
    padding: 10vh 5vh 3vh;

}
h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 2em;
    font-weight: normal;
    text-align: right;
}
h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 150px;
    margin-top: 10px;
    background: url('../img/bg.jpg') center / 150% #a0d6cf;
}

.contentsNav{
    position: sticky;
     top: 0;
    font-family: 'Comfortaa', cursive;
    z-index: 2;
}
.contentsNav ul {
    display: flex;
     flex-wrap: wrap;
    padding: 1em 5vh;
    transition: .3s;
}
.stop ul {
/*    position: fixed;
     top: 0;
     left: 0;
    width: 100%;*/
    background: #577d85cc;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
/*    box-shadow: 0 0 1rem #e7e2df;*/
}
.contentsNav li {
    margin-right: 2em;
}
.contentsNav li a {
    display: inline-block;
    padding: 3px 1em;
    color: var(--main);
    transition: .3s;
}
.active {
    background-color:rgba(204, 238, 237, 0.8);
    background-color:rgba(240, 255, 253, 0.8);
}
.active[id] {
    background-color: transparent;
}

.back {
    align-self: flex-end;
    margin-left: auto;
    font-size: 1rem;
    opacity: 0;
    transition: .3s;
    visibility: hidden;
}
.stop .back {
    opacity: 1;
    visibility: visible;
}
#backTop::before {
    content: 'top';
}


.mainFooter {
    margin: 5vh 0;
    color: #d1cac8;

    text-align: center;
}
.mainFooter a {
    color: #acdadb;
}






@media (max-width:750px) {
    body {
        font-size: 1.2rem;
 max-width: 100%;
  overflow-x: hidden; /* 横スクロールを無効にする */
}

  #contentsNav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    h2 > span {
        margin: 0 1em;
    }
    p {
        padding: 0 1em;
    }
    .contentsWrap section[id] {
        padding: 1em 0;
    }
    .pageWrap {
        width: 90%;
        max-width: 600px;
        min-width: 200px;
        margin: 0 0 0 auto;
    }
    .contentsWrap {
        padding: 1em 20px;
    }
    .contentsWrap,.contentsHeader {
        max-width: 500px;
        margin: auto;
    }
    .about {
        flex-direction: column;
        width: 100%;
        margin: 1em auto 2em;
    }
    .nameChange {
        padding: 0 1em;
        margin: 0;
        text-align: center;
    }
    .nameChange .enter {
        width: 8em;
    }
    .list {
        margin: 1em .5em 2em;
    }
    .listTate {
        columns: auto;
    }
    .textWrap {
        width: 90%;
        max-width: 500px;
        margin: 3em auto;
        font-size: 1em;
    }
    .textNav ul {
        margin: 40px 0;
    }
    .contentsHeader {
        padding: 3em 1em 0 1em;
    }
    h1 {
        font-size: 1em;
        font-weight: lighter;
    }
    h1::after {
        height: 60px;
    }
    .contentsNav {
        position: fixed;
         top: 0;
         left: 0;
        width: 10%;
    }
    .contentsNav ul {
        flex-direction: column;
         justify-content: flex-end;

        height: 95vh;
        padding: 10vh 0 0 0;
        background: transparent;
        box-sizing: border-box;

    }
    .contentsNav li {
        padding: 0;
        margin: 0 0 1em 0;
        text-align: center;
    }
    .contentsNav li a {
        padding: .5em 0;
        font-size: 1rem;
        text-orientation: sideways;
        writing-mode: vertical-rl;
    }
    .active {
        background-color:rgba(204, 238, 237, 0.8);
    }
    .back {
        position: fixed;
         bottom: 0;
         right: 1em;
        opacity: 1;
    }
    #backTop{
        display: inline-block;
        width: 3em;
        height: 3em;
        padding: 0;
        background: var(--bg2);;
        border-radius: 2px;
        box-sizing: border-box;
        line-height: 3em;
        text-align: center;
        writing-mode: horizontal-tb;
    }
    #backTop::before {
        content: none;
    }
}


/* QUICKPOST装飾 */
.postform { border: 1px solid var(--usu-mozi-iro); margin: 0 auto 1rem; padding: 1rem;}
.postform p { margin: 0;}

	/* ▼本文入力欄 */
	textarea.tegalogpost {
		border: 1px var(--main) solid;	/* 枠線 */
		background-color: var(--bg);	/* 背景色 */
		padding: 0.5rem;				/* 内側の余白量 */
color: var(--main);
		box-sizing: border-box;		/* サイズ解釈方法 */
		width: 100%;				/* 横幅 */
		height: 4.3rem;				/* 高さ */
		overflow-wrap: break-word;	/* 折り返し方法 */
		overflow: auto;				/* はみ出した場合の処理 */
		font-family: "メイリオ",Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
		line-height: 1.3rem;
	}

	/* ▼投稿ボタン */
	.postbutton {
		display: inline-block;		/* インラインブロック化 */
		background: var(--bg);
		color: var(--main);
		text-decoration: none;
		padding: 5px 15px;
		border: none;
		border-radius: 3px;	
		cursor: pointer;
	}

	/* ▼投稿ボタンにマウスが載ったとき */
	.postbutton:hover { background-color: var(--usu-iro);}

	/* ▼文字装飾ボタン群 */
	/* 掲載領域全体 */ .decoBtns { display: inline-block; margin-top: 5px; }
	/* 全ボタン装飾 */ 
	.decoBtns input {
		min-width: 32px;
		min-height: 28px;
		color: var(--main);
		margin:1px;
		background-color: var(--bg);
		border: 1px solid var(--usu-mozi-iro);
		cursor: pointer;
		border-radius: 3px;
		vertical-align: middle;
	}
	/* マウス載る際 */ .decoBtns input:hover{ border: 1px dotted var(--usu-mozi-iro);}
	/* 太字  :B */ .decoBtnB { font-weight: bold; }
	/* 取消線:D */ .decoBtnD { text-decoration: line-through;}
	/* 強調  :E */ .decoBtnE { font-weight: bold; background: linear-gradient(transparent 60%, var(--link-hover-iro) 60%); }
	/* 斜体  :I */ .decoBtnI { font-style: italic; font-family: 'Hiragino Kaku Gothic ProN','游ゴシック';}
	/* 極小  :T */ .decoBtnT { font-size: 11px !important; }
	/* 下線  :U */ .decoBtnU { text-decoration: underline;}
	/* 文字色:C */ .decoBtnC { color: red !important; }
	/* 背景色:M */ .decoBtnM { background-color: greenyellow !important; }

	/* ▼カテゴリ選択チェックボックス群 */
	.catChecks { padding-top: 0.5rem; }
	.catChecks label { display:inline-block; cursor:pointer; margin:0 0.75rem 0 0; }
	.catChecks label:hover { text-decoration:underline; }
	.catChecks input { min-width:0; min-height:0; margin-right:0.2rem; }

	/* 投稿欄下部：「鍵付き」チェックボックスと「個別鍵」ボタンの間を詰める一時的なスタイル */
	.funcUIs .catChecks { margin:0 0.75rem 0 0; }
	.funcUIs .catChecks label { margin: 0; }

/*プルダウンの装飾*/
.postarea select {
	border:1px solid var(--usu-mozi-iro);
	padding: 5px;
	background: #fefefe;
	box-shadow: none;
	cursor: pointer;
  }

.mainarea {
	width: 100%;
	margin: 0 auto;
	padding: 1rem clamp(1rem,5vw,3rem) 2rem;
}

  .LikeForm {
    display: none;
  }

.size{
  font-size:1.5em; /*1.5倍にする*/
}
