body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    background-color: #FFFED8;
    color: #534444;
    margin: 0;
    padding-top: 200px;
}
@media screen and (min-width: 768px) and (max-width: 1025px)  {
    body {
        padding-top: 100px;
    }
}
@media screen and (max-width: 768px)  {
    body {
        padding-top: 70px;
    }
}
a:hover {
    opacity: 0.8;
}
.pankuzu a br {
    display: none;
}
* {
    box-sizing: border-box;
}

ul {
    padding: 0;
}

p {
    margin: 0;
}

h1 {
    margin: 0;
}

.header-wrapper {
    max-width: 1170px
}

header ul {
    display: flex;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.green {
    font-weight: 500;
    color: #4f9363;
}

.header-wrapper {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between; /* 左右の要素を並べる */
    align-items: center; /* 垂直方向にセンタリング */
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center; /* 垂直方向にセンタリング */
}

.header-left ul li {
    margin-right: 5px;
    margin-left: 5px;
}

.header-center {
    flex-direction: column; /* 中央のテキストを縦に並べる */
    text-align: center;
    margin-bottom: 20px;
}

.header-center h1 {
    letter-spacing: 7.36px;
}

.header-center a {
    color: #534444;
}

.header-right {
    justify-content: flex-end; /* 右側に配置 */
}

header {
    /*position: relative;*/
    display: flex;
    z-index: 10;
    background-color: #FFFED8;
    position: fixed;
    width: 100%;
    top: 0px;
}

@media screen and (min-width: 1025px)  {

    header {
        min-height: 200px;
    }

}

@media screen and (min-width: 768px) and (max-width: 1025px)  {

    header {
        min-height: 50px;
    }
    .header-center p{
        font-size: 13px;
    }
    .header-center h1{
        font-size: 28px;
    }

}

@media screen and (max-width: 768px)  {

    header {
        min-height: 30px;
    }

    .header-wrapper {
        position: relative;
        margin: 0 auto;
        padding-top: 10px;
    }
    .header-left a {
        /*display: none;*/
		font-size: 15px;
        position: absolute;
        top: 15px;
        left: -25px;
    }

    .header-left ul li {
        display: none;
    }

    .header-right a {
        display: none;
        background-color: transparent;
    }

    header .header-right .button {
        display: none;
        background-color: transparent;
    }
    .header-center p{
        font-size: 7px;
    }
    .header-center h1{
        font-size: 20px;
        letter-spacing: 5px;
    }

    .header-center {
        text-align: center;
        margin-left: 0;
    }
}


.nav-menu {
    position: relative;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFED8;
    z-index: 9;
    min-height: 70px;
    border-top: 1px solid #ABABAB;
    border-bottom: 1px solid #ABABAB;
    padding: 10px 0;
}

.nav-menu .container {
    width: 80%;
    max-width: 1170px;
    margin: 0 auto;
}

.nav-menu .container ul{
    display: flex;
    justify-content: center;
}

.nav-menu .container ul li a {
    font-weight: 500;
    color: #9A5F5F;
}

.pankuzu {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.pankuzu p,
.pankuzu a
{
    color: #9A5F5F;
    font-size: 12px;
}

@media screen and (min-width: 768px) and (max-width: 1025px)  {

    .pankuzu {
        width: 90%;
    }
}

@media screen and (max-width: 768px)  {

    .pankuzu {
        width: 90%;
    }

    .pankuzu p,
    .pankuzu a
    {
        font-size: 9px;
    }
}

a.circle {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
}

a.hd-circle {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    margin-left: 5px;
}

@media screen and (min-width: 768px) and (max-width: 1025px)  {

    header a.circle {
        width: 25px;
        height: 25px;
    }

}

a.circle img {
    width: 100%;                  /* 画像を親要素の幅に合わせる */
    height: 100%;                 /* 画像を親要素の高さに合わせる */
    object-fit: cover;            /* 画像が丸の中に収まるように調整 */
    display: block;               /* 画像の下に余白が出ないようにする */
}


.black {
    background-color: #000000;
}

.pink {
    background-color: #FF5CD6;
}

.ubuntu {
    font-family: 'Ubuntu', sans-serif; /* Ubuntu フォントを指定 */
    color: #BCADA2;
    font-size: 24px;
    font-weight: bold;
}

@media screen and (min-width: 768px) and (max-width: 1025px)  {

    header {
        font-size: 17px;
    }

}

@media screen and (min-width: 768px)  {

    header .button {
        display: inline-block;
        padding: 10px 20px;
        font-size: 15px;
        background-color: #9A5F5F;
        text-align: center;
        text-decoration: none;
        border-radius: 40px;
    }

}

.button a {
    color: #fff;
}

@media screen and (min-width: 768px) and (max-width: 1025px)  {

    header .button {
        padding: 10px 20px;
        font-size: 10px;
    }

}

@media screen and (max-width: 768px)  {
    header .button {
        background-color: transparent;
    }
}

.nav-menu li {
    padding-left: 25px;
    padding-right: 25px;
}

.nav-menu a {
    letter-spacing: 2px;
}

@media screen and (max-width: 768px)  {
    .nav-menu li {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 10%;
    }
}

.brown {
    background-color: #534444;
}

footer {
    background-color: #BCADA2;
    min-height: 210px;
    color: #fff;
    margin: 0;
    padding: 0;
    position: relative;
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

footer a {
    color: #fff;
}

.footer_ubuntu {
    font-family: 'Ubuntu', sans-serif;
    font-size: 40px;
    margin-top: 35px;
    margin-bottom: 20px;
}

footer ul {
    display: flex;
}

footer ul li {
    margin-left: 10px;
    margin-right: 10px;
}

footer p {
    position: absolute;
    bottom: 4px;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 768px)  {
    .footer_ubuntu {
        font-size: 20px;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    footer a {
        font-size: 80%;
    }

    footer p {
        bottom: 10px;
        font-size: 80%;
    }
}


article .article_tag_time {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 高さが揃うように */
    width: 100%; /* 必要なら */
}

@media screen and (max-width: 768px)  {
    article .article_tag_time span,
    article .article_tag_time time {
        font-size: 10px;
    }
}

article .article_inner {
    max-width: 617px;
    margin: 0 auto;
}

article h1 {
    display: flex;
    flex-direction: column;
    align-items: center; /* 要素を中央揃えに */
    margin-top: 20px;
    margin-bottom: 10px;
}

article h3 {
    display: flex;
    flex-direction: column;
    align-items: center; /* 要素を中央揃えに */
    margin-top: 20px;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px)  {
    article h1 {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 768px)  {
    article h3 {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

.article_headder_img img {
    margin-top: 20px;
    max-width: 100%; /* 親要素の幅に合わせて画像のサイズを調整 */
    height: auto;
    border-radius: 5%;
}

.chat-style h2 {
    border-bottom: 1px solid #ABABAB;
    padding-bottom: 25px;
    padding-left: 25px;
    display: block;
    position: relative;
}

.chat-style h2:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;/*左線部右側の幅*/
    height: 70%;
    background: #534444;/*左線部右側の色*/
    border-radius: 1em;
}

@media screen and (max-width: 768px)  {
    h2 {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 20px;
    }

    h2:before {
        margin-left: 10px;
    }
}

@media screen and (max-width: 768px)  {
    .chat-style h2 {
        margin-left: 5px;
        margin-right: 5px;
        font-size: 15px;
        padding-bottom: 15px;
    }

    .chat-style h2:before {
        margin-left: 5px;
    }
}

.chat-style {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) and (max-width: 1025px)  {
    .chat-style {
        margin: 15px auto;
    }
    .chat-style h1 {
        font-size: 23px;
    }
    .chat-style p {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px)  {
    .chat-style {
        margin: 10px 10px;
    }
    .chat-style h1 {
        font-size: 20px;
    }
    .chat-style p {
        font-size: 12px;
    }
}


.article_summary {
    background-color: #E4DED9;
    border-radius: 10px;
}

.article_summary_inner {
    padding: 25px 30px;
}


.toc #toc {
    display: block;
    flex-direction: column; /* 項目を縦並びに */
    border: 1.5px solid #000000;
    border-radius: 8px;
    padding: 21px;
}

.toc #toc::before {
    content: "目次";
    display: block;
}

.toc ul li {
    margin-bottom: 5px;
}

.toc li{
    position: relative;
    padding-left: 15px;
  }

.toc li a {
    color: #534444;
}

.toc li:before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #534444;
    border-radius: 50%;
}

@media screen and (max-width: 768px)  {
    .toc ul li {
        font-size: 12px;
    }
}

.bubble {
    display: flex;
}

.right {
    flex-direction: row-reverse;
}

.desc_l {
    position: relative;
    display: inline-block;
    max-width: 70%;
    margin: 0 30px;
    padding: 25px;
    border-radius: 8px;
    background: #E8D2C2;
}

.desc_r {
    position: relative;
    display: inline-block;
    max-width: 70%;
    margin: 0 30px;
    padding: 25px;
    border-radius: 8px;
    background: #E4DED9;
}
.desc_r2 {
    position: relative;
    display: inline-block;
    max-width: 70%;
    margin: 0 30px;
    padding: 25px;
    border-radius: 8px;
    background: #f5ecf0;
}

.desc_r_orange {
    position: relative;
    display: inline-block;
    max-width: 70%;
    margin: 0 30px;
    padding: 25px;
    border-radius: 8px;
    background: #FF7E33;
    color:#ffffff;
}

@media screen and (max-width: 768px)  {
    .desc_l {
        max-width: 70%;
        margin: 0 15px;
        padding: 15px;
        font-size: 12px;
    }

    .desc_r {
        max-width: 70%;
        margin: 0 15px;
        padding: 15px;
        font-size: 12px;
    }
    .desc_r2 {
        max-width: 70%;
        margin: 0 15px;
        padding: 15px;
        font-size: 12px;
    }

    .desc_r_orange {
        max-width: 70%;
        margin: 0 15px;
        padding: 15px;
        font-size: 12px;
    }
}

.desc_l:before {
    content: '';
    position: absolute;
    top: 17px;
    left: -13px;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-top: 15px solid #E8D2C2;
    border-left: 15px solid transparent;
}

.desc_r:before {
    content: '';
    position: absolute;
    top: 17px;
    right: -13px;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-top: 15px solid #E4DED9;
    border-left: 15px solid transparent;
}
.desc_r2:before {
    content: '';
    position: absolute;
    top: 17px;
    right: -13px;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-top: 15px solid #f5ecf0;
    border-left: 15px solid transparent;
}

.desc_r_orange:before {
    content: '';
    position: absolute;
    top: 17px;
    right: -13px;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-top: 15px solid #FF7E33;
    border-left: 15px solid transparent;
}

.name {
    text-align: center;
    margin-top: 5px;
}

.pic img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
@media screen and (max-width: 768px)  {
    .name {
        margin-top: 3px;
        font-size: 12px;
    }

    .pic img {
        width: 45px;
        height: 45px;
    }
}

.article_chat_img img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    padding: 40px 0px;
}

.article_pt2_img img {
    margin-top: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 5%;
}

.editor {
    border-radius: 10px;
    border: 2px solid #EAEAEA;
    padding: 25px;
    display: flex
}

.editor_inner{

}

.editor .pic {
    width: 20%;
}

.editor .edit_profile {
    width: 80%;
}

.sns_style {
    color: #fff;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #9A5F5F;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px)  {
    .sns_style {
        margin: 20px 20px;
    }
}

.sns_inner{
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.sns_inner ul {
    display: flex;
    justify-content: center;
}

.sns_inner ul li{
    margin-right: 10px;
    margin-left: 10px;
}

/* .sns_inner {
    border: 2px solid #9A5F5F;
    background: #9A5F5F;
} */

.other_article  {
    max-width: 800px;
    margin: 20px auto;
}

.other_article h2 {
    border-bottom: 1px solid #ABABAB;
    padding-bottom: 25px;
    padding-left: 25px;
    display: block;
    position: relative;
}

@media screen and (max-width: 768px)  {
    .article-card {
        width: 80%;
        margin: 20px auto;
    }
}

.other_article h2:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;/*左線部右側の幅*/
    height: 70%;
    background: #534444;/*左線部右側の色*/
    border-radius: 1em;
}

.article-back-button {
    margin: 45px auto;
    background-color: #9A5F5F;
    border-radius: 30px;
    padding: 20px 40px;
    width: 40%;
    text-align: center;
    font-size: 20px;
}

.article-back-button a {
    color: #fff;
}

@media screen and (max-width: 768px)  {
    .article-back-button {
        width: 80%;
        font-size: 15px;
    }
}

.tc {
    text-align: center;
}

.mg-center {
    margin: 0 auto;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-35 {
    margin-bottom: 35px;
}

.mb-80 {
    margin-bottom: 80px;
}