* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

*:focus {
    outline: none;
}

html {
    font-size: 62.5%;
}

a {
    text-decoration: none;
    color: #000;
    line-height: 1.3;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 5px;
}

ol {
    display: block;
    list-style-type: decimal;
    padding: 0 0 0 30px;
    margin: 0 0 20px;
}

li {
    text-align: left;
    list-style: none;
}

p {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 300;
}

h1 {
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 900;
}

h3 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
}

/*//////////////////
pc/smp
////////////////////*/

body {
    font-weight: 400;
    font-style: normal;
    word-break: break-all;
    font-size: 1.3rem;
    /*font-weight: 900;*/
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    position: relative;
}

/*//////////////////
COMMON
////////////////////*/

.pc {
    display: none;
}

.smp {
    display: block;
}

.view_more_btn {
    width: 100%;
    margin:0 auto 20px;
}

.view_more_btn a {
    display: block;
    padding: 20px 0;
    background: #340D0C;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
}
.detail__prev_btn{
  width: 100%;
  margin: auto;
}
.detail__prev_btn a {
    display: block;
    margin: 0 0 40px;
    background: #ddd;
    color: #000;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
}
.top__all__wrap {
    width: 100%;
    margin: 0 auto;
}
.special__all__wrap {
    width: 100%;
    margin: 20px auto 0;
}

.title {
    font-size: 1.8rem;
    margin: 0 0 20px;
    background: #f4f1ec;
    padding:15px 20px;
    border-left: 10px solid #340d0c;
}
.title + p{
  width: 90%;
  margin:0 auto 20px;
}


.page_info {
    font-weight: 300;
    margin: 0 0 10px;
}

.page_numbers {
    display: flex;
    align-items: center;
}

.page_numbers li {
    margin: 0 10px;
}

.page_numbers li:first-child,
.page_numbers li:last-child {
    padding: 20px;
    border: 1px solid #ddd;
    display: flex;
    border-radius: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 80px;
}
.detail__list__wrap{
    margin: 0 auto 40px;
    width: 90%;
}
.list__wrap {
    margin: 0 0 40px;
}
.list__wrap:last-child {
    margin: 0;
}

.pan_list {
    width: 100%;
    padding: 10px 0;
    background: #fafafa;
    border-bottom: 1px solid #ddd;
    font-size: 1.2rem;
    line-height: 1.2;
}

.pan_list ul {
    width: 90%;
    margin: auto;
}

.pan_list a {
    color: #999;
    font-weight: 300;
    padding: 0 5px 0 0;
}

.pan_list li {
    display: contents;
    margin: 5px 0;
}

.pan_list li:last-child a {
    color: #000;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #999;
    content: ">";
}
.ads {
    margin: 0 0 20px;
}
.ads img {
    border-radius: 0;
}
.smp_ads{
  width: 90%;
  margin: auto;
  display: block;
}

/*//////////////////
BANNER
////////////////////*/

.main_banner_wrap {
    position: relative;
    margin: 0 auto 80px;
    width: 90%;
}

.main_banner_wrap [class^="swiper-button-"]::after {
    font-size: 14px;
    color: #340d0c;
}

.main_banner_wrap .swiper-pagination-bullet {
    background-color: #340d0c;
}

.main_banner_wrap .swiper-slide img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.swiper_pagination_wrap {
    position: relative;
    bottom: -40px;
}

.main_banner_wrap .swiper-button-prev {
    left: -5px;
    top: -20px;
}

.main_banner_wrap .swiper-button-next {
    right: -5px;
    top: -20px;
}

.slider_caption {
    color: #ffffff;
    position: absolute;
    z-index: 2;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 5px 5px;
    font-size: 1.6rem;
    font-weight: 900;
    background-color: rgba(0, 0, 0, 0.5);
}
.slider_caption span{
    display: table-cell;
    width: 100%;
    padding: 20px;
}
/*//////////////////
NEWS
////////////////////*/

.news_list__wrap ul {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
}

.news_list__wrap li {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.news_list__wrap li:last-child {
    margin: 0;
}

.news_list__inner_wrap {
    display: flex;
    align-items: center;
}
.news_list__inner {
    display: flex;
    flex-direction: column;
}

.news_list__inner:first-child {
    display: inline-block;
    position: relative;
    width: 14%;
    max-width: 80px;
    align-self: flex-start;
    margin: 0 20px 0 0;
}
.news_list__inner:first-child::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.news_list__inner:first-child img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: 0 0;
}
.news_list__inner:last-child {
    width: 86%;
}
.news_list__inner_title_text_wrap p {
    display: none;
}
.news_list__inner_title_text_wrap h3 {
    margin: 0;
}

/*//////////////////
CATEGORY
////////////////////*/
.category_list__wrap ul {
    flex-direction: column;
}

.category_list__wrap ul li {
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.category_list__wrap ul li:first-child {
    border-top: 1px solid #ddd;
}
.category_list__wrap ul li:nth-child(2) {
    border-top: none;
}

.category_list__inner_wrap {
    display: flex;
}
.category_list__inner {
    display: flex;
    flex-direction: column;
}

.category_list__inner:first-child {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 80px;
    align-self: flex-start;
    margin: 0 20px 0 0;
}
.category_list__inner:first-child::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.category_list__inner:first-child img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: 0 0;
}

.category_list__inner:last-child {
    width: 100%;
}

.category_list__inner_title_text_wrap h3 {
    margin: 0 0 10px;
}

/*//////////////////
DETAIL
////////////////////*/
.detail__page_title{
  font-size: 1.8rem;
  margin: 0 0 20px;
  font-weight: bold;
}
.detail__caution{
  padding: 20px;
  background: #F3F1EB;
  line-height: 1.5;
  margin: 0 0 20px;
}
.detail__date{
  display: flex;
  flex-direction: row;
  color: #999;
}
.detail__date div:first-child{
  margin: 0 10px 20px 0;
}
.detail__doctor{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 0 20px;
}
.detail__doctor div:first-child{
  display: flex;
  margin: 0 10px 0 0;
}
.detail__doctor div:first-child img{
  object-fit: cover;
  border-radius: 100px;
  width: 50px;
}
.detail__doctor div:last-child{
  display: flex;
  flex-direction: column;
}
.detail__doctor div:last-child div:first-child{
  margin: 0 0 10px;
}
.detail__thumb{
  width: 60%;
  margin:0 auto 20px;
}
.detail__thumb_title{
  margin: 0 0 20px;
  line-height: 1.5;
}
.detail__index{
  padding: 30px;
  background: #FAFAFA;
  margin: 0 0 20px;
}
.detail__index_title{
  margin: 0 0 20px;
  font-weight: bold;
}
.detail__index li{
  margin: 0 0 20px;
}
.detail__index li:last-child{
  margin: 0;
}
.detail__index li a{
  text-decoration: underline;
  color: #000;
}
.detail__contents{
  margin: 0 0 40px;
}
.detail__contents p{
  margin: 0 0 20px;
}
.detail__contents h2{
/*padding-top: 100px;
margin-top: -100px;*/
  padding: 20px;
  background: #F4F1EC;
  margin: 0 0 20px;
}
.detail__contents h3{
  padding: 20px;
  background: #F4F1EC;
  margin: 0 0 20px;
}
.detail__contents h4{
  border-left: 4px solid #F57A62;
  padding: 0 0 0 10px;
  font-weight: bold;
  margin: 0 0 20px;
}

.detail__opinion a{
  text-decoration: underline;
  font-weight: bold;
  margin: 0 0 20px;
  display: block;
}
.detail__share{
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eee;
  flex-direction: column;
  border-radius: 5px;
  margin: 0 0 20px;
}
.detail__share_title{
  margin: 0 0 20px;
  font-weight: bold;
}
.detail__share_inner:last-child{
  display: flex;
  flex-direction: row;
}
.detail__share_inner:last-child a{
  margin: 0 10px;
}

/*//////////////////
FREE
////////////////////*/

.free_detail__all_wrap {
    width: 90%;
    margin: auto;
}

.free_detail__all_wrap .title {
    margin: 0 0 20px;
}

.free_detail__all_wrap p {
    margin: 0 0 20px;
}

.free_detail__all_wrap h3 {
    margin: 0 0 10px;
}

.free_detail__inner_wrap {
    margin: 0 0 80px;
}

.free_detail__inner_wrap a {
    text-decoration: underline;
    display: inline-block;
}

.free_detail__inner_wrap li {
    margin: 10px 0 0;
    line-height: 1.5;
    list-style-type: decimal;
}

::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}

/*//////////////////
footer
////////////////////*/
.side_list__all_wrap {
    width: 90%;
    margin: auto;
}
.side_list__category_all_wrap {
    width: 100%;
}
.side_list__category_all_wrap h3{
  margin:40px auto 10px;
  width: 90%;
}

/*//////////////////
footer
////////////////////*/
footer {
    padding: 0 0 30px;
    background: #fff;
}

footer .copy {
    display: block;
    text-align: center;
    width: 100%;
    color: #000;
    font-size: 1.2rem;
    margin: 30px 0 0;
}

.footer__link_wrap ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid #ddd;
    background: #fafafa;
}

.footer__link_wrap ul li {
    margin: 0;
}

.footer__link_wrap ul li a {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: block;
}

.app_sns__wrap {
    padding: 40px 0;
}
.app_sns__wrap ul{
    display: flex;
    flex-direction: row;
    margin: auto;
    justify-content: center;
    width: 100%;
}
.app_sns__wrap ul li {
    width: 40px;
    margin: 0 10px;
}
.special__footer{
  padding: 20px;
  background: #fafafa;
  line-height: 1.5;
  margin: 0 0 20px;
}



#listBlock{
  position: relative;
  border-top: 1px solid #ddd;
}
#listBlock ul {
    list-style: none;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}
#listBlock > li{
  background: #F3F1EB;
  border-bottom: 1px solid #ddd;
}
#listBlock > li > a{
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    padding: 20px 0 20px 20px;
}
#listBlock > li .active li{
  border-bottom: 1px solid #ddd;
}
#listBlock > li .active li .listIn{
  padding: 20px 0 20px 30px;
}
#listBlock > li .active li:last-child{
  border-bottom: none;
}
#listBlock > li .active .listIn-down{
  border-bottom: 1px solid #ddd;
}
.listIn {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    padding: 20px 0 20px 20px;
}
.listIn::after {
    content: "";
    transition: 0.1s ease-in-out;
    position: absolute;
    right: 20px;
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 10px;
    height: 10px;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
}
.listIn-down::after {
  transform: rotate(-45deg);
  margin: 5px 0 0;
}
.nested {
  display: none;
}
.nested li{
  background: #fff !important;
}
.nested li a{
  padding: 20px 0 20px 40px;
  display: block;
}

.active {
  display: block;
}

.side_list__wrap{
margin: 0;
}

    /*//////////////////
sitemap
////////////////////*/

.sitemap_wrap_ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    width: 90%;
    margin: 0;

}
.sitemap_wrap_ul::after{
  content:"";
  display: block;
  width:100%;
}
.sitemap_wrap_ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    width: 90%;
    margin: 0 auto 20px;

}

.sitemap_wrap_ul > .cat-item > a{
display: block;
margin: 0 0 10px;
padding: 10px;
background: #eee;
}

.sitemap_wrap_ul.depth-1 > .cat-item{
    width: 100%;
}
.sitemap_wrap_ul.depth-1 > .cat-item > a{
    display: block;
    margin: 0 0 10px 10px;
    padding: 0;
    background: #fff;
}

.sitemap_wrap_ul.depth-2 > .cat-item{
    width: 100%;
}
.sitemap_wrap_ul.depth-2 > .cat-item > a{
    display: block;
    margin: 0 0 10px 20px;
    padding: 0;
    background: #fff;
}
.sitemap_wrap_ul.depth-3 > .cat-item{
    width: 100%;
}
.sitemap_wrap_ul.depth-3 > .cat-item > a{
    display: block;
    margin: 0 0 10px 30px;
    padding: 0;
    background: #fff;
}



@media only screen and (min-width: 768px) {
    /*//////////////////
PC COMMON
////////////////////*/
    h3 {
        font-size: 1.5rem;
        font-weight: 900;
        line-height: 1.3;
    }
    .pc {
        display: block;
    }
    .smp {
        display: none !important;
    }
    .view_more_btn {
        width: 480px;
    }
    .detail__prev_btn {
        width: 480px;
    }
    .main_banner_wrap {
        width: 95%;
        margin: 20px auto 80px;
    }
    .top__all__wrap {
        margin: 0 auto;
        display: flex;
        width: 80%;
        justify-content: space-between;
    }
    .special__all__wrap{
        margin: 0 auto;
        width: 80%;
        margin: 20px auto 0;
    }
    .pan_list {
        width: 80%;
        background: #fff;
        border-top: 0;
        margin: 0 auto 20px;
        border: none;
    }
    .pan_list ul {
        width: 100%;
    }
    .detail__list__wrap {
        margin: 0 0 80px;
        width: 100%;
    }
    .list__wrap {
        margin: 0 0 80px;
    }
    .list__wrap:last-child {
        margin: 0 0 80px;
    }
    .smp_ads{
      display: none;
    }
    .title {
        font-size: 1.8rem;
        margin: 0 0 20px;
        background: #f4f1ec;
        padding: 20px;
        border-left: 10px solid #340d0c;
    }
    .title + p{
      width: 100%;
    }
    .ads {
        margin: 0 0 40px;
    }
    .ad__list_wrap{
      display: flex;
      justify-content: space-between;
    }
    .ad__list_wrap .ads{
      margin: 0;
      width: 48%;
    }
    /*//////////////////
PC NEWS
////////////////////*/
    .news_list__inner:first-child {
        width: 40%;
    }
    .news_list__inner:last-child {
        width: 90%;
    }
    .detail__inner_wrap {
        width: 68%;
    }
    .news_list__inner_title_text_wrap p {
        display: block;
    }
    .news_list__inner_title_text_wrap h3 {
        margin: 0 0 10px;
    }
    .news_list__inner_wrap {
        display: flex;
        align-items: flex-start;
    }
    /*//////////////////
PC CATEGORY
////////////////////*/
    .category_list__inner:first-child {
        width: 40%;
    }
    .category_list__inner:last-child {
        width: 70%;
    }
    .category_list__wrap ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row;
    }
    .category_list__wrap ul li:first-child {
        border-top: 1px solid #ddd;
    }
    .category_list__wrap ul li:nth-child(2) {
        border-top: 1px solid #ddd;
    }

    .category_list__wrap ul li {
        width: 48%;
    }


    /*//////////////////
PC DETAIL
////////////////////*/


    /*//////////////////
PC FREE
////////////////////*/
    .free_detail__all_wrap {
        width: 80%;
    }

    /*//////////////////
PC SIDE
////////////////////*/
    .side_list__category_all_wrap{
        display: flex;
        flex-direction: column;
        width: 28%;
        margin: 0;
    }
    .side_list__all_wrap {
        display: flex;
        flex-direction: column;
        width: 28%;
        margin: 0 0 60px;
    }
    .side_list__wrap{
        margin: 0 0 40px;
    }
    .side_list__wrap ul {
        flex-direction: column;
    }
    .side_list__wrap li {
        width: 100%;
    }
    /*//////////////////
PC sitemap
////////////////////*/
.sitemap_wrap_ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    margin: 0;
}
.sitemap_wrap_ul::after{
  content:"";
  display: block;
  width:30%;
}
.sitemap_wrap_ul > .cat-item > a{
display: block;
margin: 0 0 10px;
padding: 10px;
background: #eee;
}
.cat-item{
    width: 30%;
    margin: 0 0 0 10px;
}
    /*//////////////////
}
PC FOOTER
////////////////////*/
    .app_sns__wrap ul{
        display: flex;
        flex-direction: row;
        margin: auto;
        justify-content: center;
        width: 100%;
    }
    .app_sns__wrap ul li {
        width: 40px;
    }
    .footer__link_wrap ul {
        flex-direction: row;
        justify-content: center;
        border-bottom: 1px solid #ddd;
        padding: 40px 0;
    }
    .footer__link_wrap ul li a {
        padding: 0;
        border-bottom: 0;
        padding: 0 10px;
    }
    .footer__link_wrap ul li a:first-child {
        border-left: 1px solid #ddd;
    }
    .footer__link_wrap ul li a {
        border-right: 1px solid #ddd;
    }
    footer {
        width: 100%;
        border-top: 1px solid #ddd;
    }
    footer .copy {
        margin: 30px 0 0;
    }
    .special__footer{
      margin: 0 0 80px;
    }
    .twitter_wrap {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }

    .twitter_wrap iframe {
        width: 100% !important;
    }

    .facebook_wrap {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .fb-page,
    .fb-page span,
    .facebook_wrap iframe {
        width: 100% !important;
        height: 500px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    h3 {
        font-size: 1.3rem;
    }
    .top__all__wrap {
        width: 90%;
    }
    .special__all__wrap {
        width: 90%;
        margin: 20px auto 0;
    }
    .pan_list {
        width: 90%;
    }
    .free_detail__all_wrap {
        width: 90%;
    }
}

@media only screen and (min-width: 1280px) {
    .main_banner_wrap {
        max-width: 1280px;
    }
    .top__all__wrap {
        max-width: 1180px;
    }
    .special__all__wrap {
        max-width: 1180px;
    }
    .app_sns__wrap {
        max-width: 1180px;
        margin: auto;
    }
    .free_detail__all_wrap {
        max-width: 1180px;
    }
    .pan_list {
        max-width: 1180px;
    }
}
