@charset "UTF-8";

/* ポートフォリオ　－　読み物のページ PC */


/*************************************
基本
*************************************/
.content_title {
    margin: 20px 0 40px 0;
}
.color_red {
    color: #e53935;
}
.text_align_center {
    text-align: center;
}
#essay .content_box {
margin: 0 auto 60px auto;
}

/*************************************
目次
*************************************/
.menu_box {
    width: 80%;
    margin: 0 auto 60px auto;
    border: 5px solid #d0e9cf;
    border-radius: 20px;
    padding: 20px;
}
.menu_box a:hover {
    opacity: 1;
}
.menu_box .menu_title {
    display: inline-block;
    font-size: 1.125rem;
    letter-spacing: 5px;
    margin-right: 40px;
    padding: 3px 5px 3px 10px;
    background-color: #d0e9cf;
    border-radius: 10px;
}
.menu_box .note {
    display: inline-block;
    color: #2124c5;
    line-height: 1.4;
    margin-top: 10px;
}
.menu_box .note02 {
    color: #0B1F32;
    margin: 30px auto 0 auto;
    line-height: 1.4;
    text-align: center;
}
.menu_box ul {
    margin-top: 10px;
}
.menu_box ul li {
    list-style: disc;
    line-height: 1.4;
    margin-left: 20px;
    margin-bottom: 10px;
}
.menu_box ul li:last-child {
    margin-bottom: 0;
}
.menu_box ul li .hidden_600 {
    display: none;
}

/* NEWマーク */
.menu_box ul li .new_mark {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: bold;
    color: #ca2a68;
    background-color: yellow;
    border: 2px solid #ff9532;
    border-radius: 8px;
    padding: 3px 8px;
    margin-right: 8px;
}


/*************************************
エッセイ部分の目次
*************************************/
#go_to_menu {
    margin-top: -80px;
    padding-top: 80px;
}
.menu_box.inner_menu {
    margin-bottom: 40px;
    border-color: #b7d4e9;
}
.menu_box.inner_menu .menu_title {
    margin-bottom: 20px;
    background-color: #b7d4e9;
}
.list_decimal li {
    list-style: decimal;
    margin-left: 20px;
    padding-left: 10px;
}
.main_text_block.mb_30 {
    margin-bottom: 30px;
}


/*****************************
タグ別リスト
*****************************/
.tag_list_group {
    width: 80%;
    margin: -100px auto 60px auto;
    padding-top: 100px;
}
.tag_list_group p {
    color: #2124c5;
    margin-bottom: 10px;
    text-align: center;
}
.tag_list_group .tag_button {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;   
}
.tag_list_group .tag_button .tag_list {
    border: none;
    color: #0B1F32;
    border-radius: 6px;
    padding: 4px 10px;
    margin-right: 25px;
    margin-bottom: 10px;
    border: 3px solid;
}
.tag_list_group .tag_button .tag_list:last-child {
    margin-right: 0;
}
.tag_list_group .tag_button .tag_list:hover {
    cursor: pointer;
}

/* タグの色　もとの色 */
/* 家族 */
.tag_list_group .tag_button .family {
    border-color: #fab689;
    background-color: #fab689;
}
/* 子育て */
.tag_list_group .tag_button .child_rearing {
    border-color: #bde998;
    background-color: #bde998;
}
/* 料理 */
.tag_list_group .tag_button .cooking {
    border-color: #adceff;
    background-color: #adceff;
}
/* 病気 */
.tag_list_group .tag_button .disease {
    border-color: #e4b6ff;
    background-color: #e4b6ff;
}
/* 思うこと */
.tag_list_group .tag_button .thought {
    border-color: #7cacf5;
    background-color: #7cacf5;
}
/* すべて */
.tag_list_group .tag_button .all {
    border-color: #ccc;
    background-color: #ccc;
}

/* タグの色　クリック後 */
/* 家族 */
.tag_list_group .tag_button .family.border_on {
    border-color: #e9772b;
}
/* 子育て */
.tag_list_group .tag_button .child_rearing.border_on {
    border-color: #6caf35;
}
/* 料理 */
.tag_list_group .tag_button .cooking.border_on {
    border-color: #4f7bbd;
}
/* 病気 */
.tag_list_group .tag_button .disease.border_on {
    border-color: #a15cc9;
}
/* 思うこと */
.tag_list_group .tag_button .thought.border_on {
    border-color: #2b80ff;
}
/* すべて */
.tag_list_group .tag_button .all.border_on {
    border-color: #808080;
}


/*****************************
サムネイル
*****************************/
.thumbnail {
    width: 80%;
    margin: 0 auto 110px auto;
}
.thumbnail .thumb_item {
    margin-bottom: 30px;
}
.thumbnail .thumb_item.is-hidden {
    display: none !important;
}
.thumbnail .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* サムネイル画像 */
.thumbnail .flex_items.photo {
    width: 50%;
    height: auto;
    margin-right: 0;
}
.thumbnail .flex_items.photo img {
    width: 100%;
    border-radius: 0;
}

/* サムネイル　テキスト */
.thumbnail .flex_items.text {
    width: 50%;
    padding-left: 30px; 
}
.thumbnail .flex_items.text p {
    line-height: 1.6;
}

.thumbnail .about_text_block {
    margin-bottom: 20px;
}
.thumbnail .about_text_block:last-child {
    margin-bottom: 0;
}
.thumbnail .about_text_block.title {
    font-size: 1.125rem;
}
.thumbnail .about_text_block.datetime {
    font-size: 0.9rem;
    text-align: right;
}

/* サムネイル　タグ */
.thumbnail .flex_items.text .tag {
    display: inline-block;
    color: #0B1F32;
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* タグの色 */
/* 家族 */
.thumbnail .flex_items.text .tag.family {
    background-color: #fab689;
}
/* 子育て */
.thumbnail .flex_items.text .tag.child_rearing {
    background-color: #bde998;
}
/* 料理 */
.thumbnail .flex_items.text .tag.cooking {
    background-color: #adceff;
}
/* 病気 */
.thumbnail .flex_items.text .tag.disease {
    background-color: #e4b6ff;
}
/* 思うこと */
.thumbnail .flex_items.text .tag.thought {
    background-color: #7cacf5;
}
/* NEW */
.thumbnail .flex_items.text .tag.new {
    color: #ca2a68;
    background-color: yellow;
    border: 2px solid #ff9532;
    font-weight: bold;
}


/*************************************
エッセイ部分
*************************************/
.essay_box {
    width: 80%;
    margin: 0 auto;
}
.essay_contents {
    margin-top: -150px;
    padding-top: 150px;
    margin-bottom: 40px;
}
.essay_title_images {
    margin-bottom: 40px;
    text-align: center;
}
.essay_title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.essay_sub_title {
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 1px;
}
.essay_date {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 40px;
}

/* 記事の非表示 */
.essay_hidden {
    display: none;
}

/* 本文のブロック */
.main_text_block {
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin-bottom: 60px;
}

/* エッセイ04のアンカーリンク */
#essay_04 .main_text_block.anchor {
    margin-top: -80px;
    padding-top: 80px;
    margin-bottom: 60px;
}
/* エッセイ19のアンカーリンク */
#essay_19 .main_text_block.anchor {
    margin-top: -80px;
    padding-top: 80px;
    margin-bottom: 30px;
}
.main_text_block p {
    margin-bottom: 20px;
}
.main_text_block p.mt_50 {
    margin-top: 50px;
}
.text_sub_title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 発症と経過 */
/* 年度 */
.text_inner_title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
}
/* 日付 */
h5.text_inner_title {
    margin-bottom: 5px;
}

.list_disc li {
    list-style: disc;
    margin-left: 20px;
}

.main_text_inner_block {
    margin-bottom: 40px;
}
.main_text_inner_block p {
    margin-bottom: 20px;
}

.text_list {
    margin-bottom: 20px;
}
.text_list li {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 5px;
}

/* エッセイ部分の中の画像 */
.essay_images {
    text-align: center;
}


/*************************************
エッセイの中の別記事へのリンク
*************************************/
.menu_box.link {
    width: 80%;
    margin: 0 auto 60px auto;
    border: 5px solid #f5c7cf;
    border-radius: 20px;
    padding: 20px 20px 12px 20px;
    text-align: center;
}
.menu_box.link .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu_box.link .flex_items.images {
    width: 40%;
}
.menu_box.link .flex_items.text {
    width: 60%;
    padding-left: 20px;
    text-align: left;
}
.menu_box.link .note {
    font-size: 0.875rem;
    color: #ca2a68;
}
.block_600 {
    display: none;
}

/*************************************
ボタン
*************************************/
#essay .btn_to_menu a {
    width: 185px;
}
#essay .btn_to_menu a::after {
    top: 53%;
    transform: translateY(-50%) rotate(-45deg);
}

/* エッセイ06の目次に戻るボタン */
#essay .btn_group.essay06 {
    padding: 0;
    margin-bottom: 60px;
}
#essay .btn_group.essay06 .btn_to_menu a {
    width: 200px;
}


