

html 
{
    scroll-padding-top: 100px;  
    scroll-behavior: smooth;
}

/**************** 見出し *********************/
.detail
{
    margin: 50px auto 0;
    max-width: 1220px;
    padding: 0 30px;
    width: 100%;
}
.detail > h2
{
    margin-top: 80px;
    padding: 0;
    position: relative;
    text-align: center;
}
.detail > h2.flower span
{
    color: #e84030;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
    white-space: pre;
    word-break: keep-all;
}
.detail > h2 span:first-of-type
{
    color: #000;
    font-size: 1.6em;
    transform: translateX(-50%) translateY(-100%);
}
.detail a
{
    text-decoration: none;
    color: #000;
}
.detail > h3
{
    position: relative;
    bottom: 20px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 24px;
    letter-spacing: 1px;
    background: rgb(248, 147, 32);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 19px, rgb(247, 137, 12) 19px, rgb(247, 137, 12) 35px );
    padding: 25px 0;
    border-radius: 8px;
    color: #fff;
}
.detail > h3:before,
.detail > h3:after
{
    position: relative;
    display: inline-block;
    content: "";
    /* background: #000000; */
    width: 2px;
    height: 2em;
    margin: 0 1em;
    margin-top: -.2em;
    vertical-align: middle;
}
.detail > h3:before
{
    transform: rotate(-35deg);
    /* background:rgb(248, 147, 32); */
    background: #fff;
}
.detail > h3:after
{
    transform: rotate(35deg);
    /* background: rgb(248, 147, 32); */
    background: #fff;
}





/**************** 共通 *********************/
body
{
    box-sizing: border-box;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    border-radius: 20px;
}
.wrapper
{
    display: flex;
    justify-content: space-between;
}





/**************** サイドバー *********************/
aside
{
    width: 23%;
}
aside div.sidebar-box
{
    background: #f4f2ed;
    padding: 20px 30px;
    text-align: left;
    border-radius: 10px;
    position:static;
    /* position: -webkit-sticky;  */
    top: 100px;
}
aside div.sidebar-box h2
{
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    margin: 0 0 10px 0;
}
aside div.sidebar-box ul 
{
    padding: 0;
    margin-bottom: 30px;
}
aside div.sidebar-box ul li
{
    padding: 5px 0;
    margin-bottom: 5px;
    font-weight: 600;
    border-bottom: 2px dotted  #cfcbc1;
    list-style: none;
}
aside div.sidebar-box .banner
{
    text-align: center;
}
aside div.sidebar-box img
{
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

/**************** メインコンテンツ *********************/

div.main-content
{
    width: 74%;
    height: 670px;
    max-height: 100%;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    position: relative;
}
section.area h3
{
    font-size: 24px;
    /* color: #006633; */
    /* border-left: 5px solid #006633; */
    border-bottom: 2px dotted  #cfcbc1;
    margin: 0 0 10px 0;
    padding:8px 15px;
    background: #f4f2ed;
    border-radius: 8px 8px 0px 0px;
    letter-spacing: 1px;
}
section.area h3 span
{
    color: rgb(248, 147, 32);
    font-size: 30px;
}
section.area
{
    margin-bottom: 80px;
    scroll-snap-align: start;
}
section.area content
{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
section.area content > *
{
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 13px 0 0;
    padding: 35px 10px 40px 10px;
    position: relative;
    text-align: center;
    width: calc((100% - 40px) / 3);
    border-radius: 8px;
}
section.area content img
{
    width: 75%;
}
section.area content .area
{
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    font-size: 0.8em;
    font-weight: 900;
    height: 25px;
    justify-content: center;
    left: 0;
    padding: 1px 10px;
    position: absolute;
    top: 0;
    width: 150px;
}
section.area content .area.muroto
{
    background: #bd7ee2;
    border-radius: 7px 0px 0px 0px;
}
section.area content .area.all
{
    background: #0066cc;
    border-radius: 7px 0px 0px 0px;
}
.detail content .area.monobe 
{
    background: #e886c8;
    border-radius: 7px 0px 0px 0px;
}
section.area content .area.niyodogawa
{
    background: #eed348;
    border-radius: 7px 0px 0px 0px;
}
section.area content .area.oku
{
    background: #b0da5e;
    border-radius: 7px 0px 0px 0px;
}
section.area content .area.shimanto
{
    background: #45bbe5;
    border-radius: 7px 0px 0px 0px;
}
section.area content .title 
{
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin: 10px 0 0 0;
    text-align: left;
    line-height: 30px;
}
section.area content .description 
{
    margin: 10px 0 0 0;
    text-align: left;
    line-height: 24px;
}
section.area content .term 
{
    border-bottom: 1px dashed #000;
    border-top: 1px dashed #000;
    font-size: 0.9em;
    margin: 10px 0;
    padding: 10px 0;
    text-align: left;
}
section.area content .link 
{
    bottom: 10px;
    position: absolute;
    right: 10px;
}
section.area content .link a 
{
    align-items: center;
    background: #006633;
    border: 2px solid #006633;
    border-radius: 15px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    text-decoration: none;
    width: 120px;
}
section.area content .link a:hover 
{
    background: #fff;
    color: #006633;
}

@media screen and (max-width:850px)
{
    .detail > h3
    {
        font-size: 20px;
        padding: 15px;
    }
    section.area content > *
    {
        width: calc((100% - 20px) / 2);
        margin: 20px 10px 0 0;
    }
    aside div.sidebar-box ul li 
    {
        font-size: 11px;
    }
}



main{
    margin-bottom: 100px;
}