#main_body {
    background-color: transparent;
    box-shadow: none;
    padding: 0px;
}

div#mymainback_bg {
    background-color: #fcf3f0;
    background-image: none;
}

#pankuzu_wrap {
    background-color: #fcf3f0;
    font-size: 1.3rem;
}

#pankuzu_wrap .pankuzu,
#footstep_detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pankuzu:first-child .icon_current,
#footstep_ttl {
    border-radius: 3px;
}

footer .furusato-tax>.in .title .en {
    font-size: 1.4rem;
}

footer .furusato-tax>.in .desc {
    font-size: 1.6rem;
}

.c-read-more a span {
    font-size: 1.6rem;
}

footer .furusato-tax>.in .title .ja {
    font-size: 2.4rem;
}

footer .footer-text-links2>.in .text-link-list a {
    font-size: 1.4rem;
}

footer .footer-logo-area>.in .footer-text-links1 .text-link-list a {
    font-size: 1.6rem;
}

footer .copyright {
    font-size: 1.4rem;
}


/* ハンバーガーメニュー */
#modalMenu .nav-list a {
    font-size: 2rem;
    line-height: 1.4;
}

#modalMenu .nav-list .en {
    font-size: 1.4rem;
}

ul.sub-list li a {
    font-size: 1.6rem;
}


/* ページレイアウト */
.tpl_side1 #main {
    order: 1;
}

.tpl_side1 #main_a {
    padding-left: 0;
}

#sidebar1 {
    padding-left: 40px;
}

.subsite_menu summary a {
    color: #FFF;
}


/* サイドメニュー */
div#subsite_menu_wrap {
    box-shadow: none;
}

.subsite_menu_ttl {
    padding: 15px 10px 15px 18px;
    font-size: 1.6rem;
    text-align: left;
    background: #c9003d;
    color: #FFF;
    border-radius: 3px;
}

.subsite_menu summary a {
    color: #FFF;
    text-decoration: none;
}

.subsite_menu summary a:hover {
    text-decoration: underline;
}

.subsite_menu {
    background: transparent;
}

.subsite_menu_list ul {
    padding: 10px 0px 0px;
}

.subsite_menu_list ul li {
    font-size: 1.6rem;
}

.subsite_menu_list ul li strong,
.subsite_menu_list ul li a {
    color: #333;
    padding: 0.375em 0.625em 0.25em;
}

.subsite_menu_list ul li strong::before,
.subsite_menu_list ul li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #514746;
    margin-right: 8px;
    vertical-align: middle;
}

.subsite_menu_list ul li a::after {
    display: none;
}

.subsite_menu_list ul li a:hover {
    background-color: #f8e9e4;
}


/* テーブル */
#main_body table,
#main_body th,
#main_body td {
    border-color: #bfbfbf;
}

#main_body th {
    background-color: #ffeee9;
}


/* class="title" が指定されたh1のスタイル */
#main_header {
    background-color: transparent;
}

#main_header h1 {
    overflow: hidden;
    box-sizing: border-box;
    padding: 0px 0px 15px;
    color: #000;
    font-size: calc(2.25 * 100%);
    font-weight: normal;
    line-height: 1.2;
    border-bottom: 2px solid #c9003d;
    width: 100%;
}

#content_header {
    margin: 20px 0px;
}

/* h2の基本スタイル */
#main_body h2 {
    margin-top: 20px;
    background: #fff;
    border: 2px solid #ffe4dd;
    border-radius: 3px;
    color: #333;
    font-size: calc(1.5 * 100%);
    font-weight: normal;
    line-height: 1.3;
    box-sizing: border-box;
    padding: 18px 15px 16px 55px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

/* h2の左側の線のスタイル */
#main_body h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 1.3em;
    left: 18px;
    width: 28px;
    height: 2px;
    background-color: #c9003d;
}

/* 画面幅が768px以下の場合の線の位置調整 */
@media screen and (max-width: 768px) {

    #main_body h2::before {
        top: 1em;
    }
}

/* h3の基本スタイル */
#main_body h3 {
    margin-top: 20px;
    background: #fff;
    color: #333;
    font-size: calc(1.25 * 100%);
    font-weight: normal;
    box-sizing: border-box;
    line-height: 1.3;
    position: relative;
    padding: 11px 10px 11px 17px;
    overflow: hidden;
}

/* h3の上下の線のスタイル */
#main_body h3::before,
#main_body h3::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: liner-gradient(#fff, #fff);
    background: #c70037;
    background: linear-gradient(90deg, #c70037 0%, #c70037 20%, white 100%);
}

/* 上の線の位置 */
#main_body h3::before {
    top: 0;
}

/* 下の線の位置 */
#main_body h3::after {
    bottom: 0;
}

/* h4のスタイル */
#main_body h4 {
    margin-top: 20px;
    display: block;
    line-height: 1.2;
    background: #fff;
    color: #c9003d;
    border: 1px solid #faf5f1;
    font-size: calc(1.125 * 100%);
    font-weight: normal;
    padding: 8px 13px 10px;
    overflow: hidden;
}

#main_body h4::before {
    display: none;
}

/* h5のスタイル */
#main_body h5 {
    font-size: calc(1 * 100%);
    font-weight: normal;
    margin-top: 20px;
    display: block;
    padding: 0 0 5px 10px;
    line-height: 1.2;
    border-bottom: 1px solid #ebc3b8;
    overflow: hidden;
    background-color: transparent;
}

#main_body h5::before {
    display: none;
}

/* h6の基本スタイル */
#main_body h6 {
    font-size: calc(1 * 100%);
    font-weight: normal;
    padding-left: 22px;
    padding-bottom: 5px;
    margin-top: 20px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-right: 0px;
}

/* h6の左側の線のスタイル */
#main_body h6::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 1px;
    background-color: #c9003d;
}



@media screen and (max-width: 1080px) {

    #sidebar1 {
        padding-left: 0px;
    }

    .subsite_menu summary .tti_icon {
        background-image: url("/img/sp/acc_open_white.png");
    }

    .subsite_menu details[open] summary .tti_icon {
        background-image: url("/img/sp/acc_close_white.png");
    }

    div[class*="tpl_"]:not(.tpl_top) [class*="_list"] ul li a {
        background-image: none;
    }

    .detail_movie {
        position: relative;
        width: 100% !important;
        padding-top: 56.25% !important;
        overflow: hidden;
    }

    .detail_movie iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}



/* 追記2025年10月1日 */
#main_body .detail_free :where(p, ul, ol) {
    margin-bottom: 2rem;
}


.subsite_menu_list div.link_ichiran {
    padding: 0px;
    font-size: 1.6rem;
}

.link_ichiran a {
    padding: 10px 40px 10px 10px;
    text-decoration: none;
    color: #333;
    text-align: left;
    background-color: transparent;
    border: none !important;
    margin-top: 8px;
}


.subsite_menu_list div.link_ichiran a::after {
    border-top: 2px solid #c9003d;
    border-right: 2px solid #c9003d;
}

.subsite_menu_list div.link_ichiran a::before {
    border: solid 1px #c9003d;
}

.subsite_menu_list div.link_ichiran a:hover::before {
    right: 5px;
    background-color: #c9003d;
}