@charset "UTF-8";
* {
	margin: 0px;
	padding: 0px;
}
body {
	background-color: #00ced1;
	font-size: 16px;
    line-height: 1.6;
}
body.editor {
	background-color: #ffffff;
}
	
h1 {
	font-size: 20px;
}
h2 {
	margin: 0px 0px 10px 0px;
}
h3 {
	margin: 20px 0 0 0;
}
h4 {
	margin: 15px 0 0 0;
}
h5 {
	margin: 10px 0 0 0;
}
a.title {
	text-decoration-line: none;
	color: #000000;
}
header {
	background-color: #33dbc3;
	padding: 10px;
	text-align: center;
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, .5);
}
p {
	margin: 1.5em;
	line-height: 1.4;
}
p.strike {
	text-decoration: line-through;
}
p.time {
	text-align: right;
	font-size: 16px;
	margin: 1em;
}
p.tag {
    margin: 1em 0.5em 0 0;
    font-size: 16px;
}
ul.tag {
    margin: 1em 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
li.tag {
    margin: 0 0.5em 0.5em 0;
}
a.tag {
    display: inline-block;
    font-weight: 500;
    padding: 0.6em 1em;
    color: #004040;
    background-color: #76ffff;
    border-radius: 20px;
    transition: all 0.3s ease;
}
a.tag:hover, a.tag:active {
    background-color: #00ced1;
    color: #ffffff;
    transform: scale(1.05);
}
div.tag_list {
	line-height: 1.3;

}
div.tag_list a.tag {
	margin-top: 0.3em;
}
a {
	text-decoration: none;
	color: #00969c;
	font-weight: 600;
}
ul {
	padding-left: 2em;
}
li {
	margin-top: 0.4em;
}
ol {
	list-style: decimal;
	padding-left: 3em;
}
img:not(.kotei) {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 450px;
	object-fit: contain;
}
blockquote {
	color: #696969;
}
pre.code {
	background-color: #696969;
	color: #ffffff;
	padding: 1em 0em 1em 1em;
	margin: 0.2em 1em 0em 1em;
	font-weight: 550;
	font-size: 1em;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
/* トップページの記事リストのCSS */
ul.inner {
	list-style: none;
	padding: 0;
}
li.top {
	padding: 0px;
	margin: 1em 0em 1em 0em;
}
p.top_content_up {
	margin: 0px;
	line-height: 1.2;
}
p.top_content_down {
	margin: 0px;
	padding: 0px 0px 0px 2em;
	line-height: 1.2;
}
a.top_link {
	text-decoration: none;
	color: #009c9c;
	font-weight: 500;
}
a.top_link:hover {
}
a.top_link:visited {
}
/* トップページの記事リストのCSS ここまで */

.search-form {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 3px;
}

.search-form input {
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    font-size: 1em;
    outline: none;
}

.search-form input::placeholder {
    color: #777777;
}

.search-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    border-radius: 0 3px 3px 0;
    background-color: #00ced1;
    cursor: pointer;
}

.search-form button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

/* 投稿ページのCSS ここから */
form {
    margin: 1em;
}
input.title_input {
    width: 25em;
}
input.htmltag_button {
	margin-right: 0.5em;
}
#content_input {
    width: 20em;
    height: 40em;
}
.tag_input {
    width: 20em;
    height:3em;
}
/* 投稿ページのCSS ここまで */

@media screen and (max-width: 600px) {
    body {
        font-size: 18px;
        line-height: 1.8;
    }

    section.outer {
        background-color: #fff;
        margin: 10px 5px;
        padding: 20px 15px;
        border-radius: 10px;
        min-height: calc(100vh - 80px); /* コンテンツの最小高さを設定 */
    }

    h1 {
        font-size: 24px;
        /*margin-bottom: 20px;*/
    }

    h2 {
        font-size: 22px;
        margin: 20px 0 15px 0;
    }

    p {
        font-size: 18px;
        margin: 1.2em 0;
    }

    ul, ol {
        margin: 1.2em 0;
        padding-left: 25px;
    }

    li {
        margin-bottom: 0.8em;
    }
    input.title_input {
        width: 100%;
    }
    #content_input, .tag_input {
        width: 100%;
    }
    ul.tag {
        justify-content: flex-start;
    }
    li.tag {
        margin: 0 0.4em 0.6em 0;
    }
    a.tag {
        font-size: 16px;
        padding: 0.8em 1.2em;
    }
}



@media screen and (min-width: 601px) and (max-width: 1000px) {
    body {
        font-size: 17px;
        line-height: 1.7;
    }

    section.outer {
        background-color: #fff;
        margin: 20px 15px;
        padding: 30px 20px;
        border-radius: 15px;
        min-height: calc(100vh - 100px);
    }

    h1 {
        font-size: 26px;
        /*margin-bottom: 25px;*/
    }

    h2 {
        font-size: 24px;
        margin: 25px 0 20px 0;
    }

    p {
        font-size: 17px;
        margin: 1.3em 0;
    }

    ul, ol {
        margin: 1.3em 0;
        padding-left: 30px;
    }

    li {
        margin-bottom: 0.9em;
    }
    ul.tag {
        justify-content: flex-end;
    }
    li.tag {
        margin: 0 0.5em 0.7em 0;
    }
    a.tag {
        font-size: 18px;
        padding: 0.7em 1.1em;
    }
}

@media screen and (min-width: 1001px) and (max-width: 1500px) {
    section.outer {
        background-color: #fff;
        margin: 100px 150px;
        padding: 30px;
        border-radius: 20px;
    }
    img.small_image {
        width: 75%;
    }
}

@media screen and (min-width: 1501px) {
    section.outer {
        background-color: #fff;
        margin: 150px auto;
        padding: 40px;
        border-radius: 20px;
        max-width: 1000px;
    }
    img.small_image {
        width: 50%;
    }
}

/* 投稿画面のレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .MD, .HTML {
        float: none;
        width: 100%;
    }
}
section.inner {
	margin: 10px 0px 10px 0px;
}

/* 投稿画面 */
.MD{
	float: left;
	width: 45%;
}
.HTML{
	float: right;
	width: 45%;
}
.tag_submit{
    clear: both;
}
