@charset "utf-8";

/*
Theme Name: manabi-money v1
Author: manabi-money
*/

/*
color
-main: #2A6F56
-base: #F4F1EA
-accent: #D97D54
-text: #333333
*/


/* ----------------------------------
base
---------------------------------- */

html {
    font-size: 100%;
    /* scroll-behavior: smooth; */
}

body {
    font-size: 1rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;
    background-color: #F4F1EA;
    color: #333333;
}

/* ----------------------------------
contents
---------------------------------- */

img {
    /* PCの右クリック禁止 */
    pointer-events: none;

    /* スマホ長押し禁止 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    user-select: none;

    /* 画像ドラッグ禁止 */
    /* 
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    */

}

a {
    text-decoration: underline;
}

a:hover {
}

/* ----------------------------------
frame
---------------------------------- */
.head {
    padding: 2.5rem 0 0;
}

.head__logo {
    text-align: center;
    font-weight: 400;
    font-size: 2rem;
}
.head__logo a{
    color:#2A6F56;
    text-decoration:none;
}

.head__desc {
    margin-top: 1.3rem;
    text-align: center;
    font-size: 0.8rem;
    color:#333;
}

/* ---- */
.foot {
    padding: 1rem 1rem 6rem;
    background-color:#2A6F56;
}

.foot__copy {
    text-align: center;
    font-size: 0.8rem;
    color:#fff;
}
.foot__copy a{
    color:#fff;
}

/* ---- */
.wrap {
    margin: 2.5rem auto 0;
    max-width: 1200px;
}

/* ----------------------------------
pagetitle
---------------------------------- */
.pagetitle { padding: 1rem 0 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.pagetitle small {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* ----------------------------------
pagecount << 1 2 3 >>
---------------------------------- */
.pagecount { padding:1rem 0 0;}

.pagecount ul {
    margin: 0 auto;
    max-width: 500px;

    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
}

.pagecount li a,
.pagecount li span {
    display: none;
}

.pagecount li a.next,
.pagecount li a.prev {
    display: block;

    display: inline-block;
    padding: 0.5rem 2rem;
}

/* ----------------------------------
pagenavi << >>
---------------------------------- */
.pagenavi {
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
}

.pagenavi ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.pagenavi li {
    display: block;
    width: 50%;
    text-align: left;
}

.pagenavi li:last-child {
    text-align: right;
}

.pagenavi a {
    display: inline-block;
    padding: 0.5rem 2rem;
}

/* ----------------------------------
content
---------------------------------- */
.content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

/* ----------------------------------
side
---------------------------------- */
.side {}


/* ----------------------------------
listpost
---------------------------------- */
.listpost {
    width: calc(100%/4);
    padding: 1rem;
    text-decoration: none;
}

.listpost__sec {
	display:block;
    border-radius: 1rem;
    height: 100%;
}

.listpost__sec:hover{
    text-decoration: none;
}

.listpost__pict {
    animation: fade-in 3s;
    border-radius: 1rem 1rem 0 0;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.listpost__text {
    padding: 1rem;
    text-align: Center;
    line-height: 1.6;
    font-size: 0.8rem;
}

.listpost__text small {
    display: block;
    color: #666;
    margin-top: 0.5rem;
    font-size: 90%;
}

@media screen and (max-width:1024px) {
    .listpost {
        width: calc(100%/3);
    }
}

@media screen and (max-width:430px) {
    .listpost {
        width: calc(100%/2);
    }

    .listpost__pict {
        aspect-ratio: 1 / 1;
    }
}


/* ----------------------------------
singlepost
---------------------------------- */
.singlepost {
    max-width: 700px;
    width: 100%;
}

.singlepost h1 {
    margin:0 1rem;
    text-align: center;
    line-height: 1.6;
    font-size: 1.8rem;
}

.singlepost__pict {
    margin-top:1rem;
    animation: fade-in 3s;
    border-radius: 1rem;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 5 / 2;
}

@media screen and (max-width:700px) {
    .singlepost__pict {
        border-radius: 0;
    }
}

.singlepost__cont {
    margin: 0 1rem 1rem;
}

.singlepost__cont h2 {
    margin-top: 4rem;
    font-size: 1.5rem;
}

.singlepost__cont h3 {
    margin-top: 2.5rem;
    font-size: 1.2rem;
}

.singlepost__cont p {
    margin-top: 2rem;
    line-height: 2;
}

.singlepost__cont ul ,
.singlepost__cont ol {
    margin-top: 1.5rem;
}

.singlepost__cont li {
	margin: 0.5rem 0 0 2rem;
    line-height: 2;
}
.singlepost__cont ul li {
	list-style:disc;
}
.singlepost__cont ol li {
	list-style:desc;
}

.singlepost__cont blockquote {
    margin: 1rem 0 0 1rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    line-height: 2;
    font-style: italic;
    color: #666;
}

.singlepost__cont blockquote > p{
    margin-top: 0;
}

.singlepost__cont a {
    text-decoration:underline;
}

.singlepost__date {
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.singlepost__meta {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* ----------------------------------
singlepost
---------------------------------- */
.search {
    width: 100%;
    margin: 3rem auto 0;
}

.search form.searchform {
    position: relative;
    background: #fff;
    display: block;
    margin: 0 auto;
    padding: 3px 10px;
    border-radius: 20px;
    height: 40px;
    width: 100%;
    max-width: 300px;
}

.search input[type=text] {
    border: none;
    position: relative;
    width: 100%;
    height: 2rem;
    font-size: 1rem;
    padding: 0 1rem;
}

.search input[type=text]:focus {
    outline: 0;
}

.search input[type=submit] {
    display: none;
    position: absolute;
    cursor: pointer;
    border: none;
    color: #eee;
    border-radius: 20px;
    background: #fff;
    outline: none;
}


