﻿
@import url(./ijuteiju-sabu_body.css);

html, body {
    overflow-x: hidden !important;
    background: var(--background-color,#F7F4F0);
}

/*明朝体*/
.font_serif {
    font-family: serif;
}


/*h2, h3 {
    font-size: 2em;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.2em;
}
*/



/*アニメーション*/
/*フェードインスクロールイン*/
.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

.fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 800ms;
}

/*フェードインズームイン*/

.zoomin.scrollin {
    opacity: 1;
    transform: scale(1);
}

.zoomin {
    opacity: 0;
    transform: scale(0.8);
    transition: all 2000ms;
}



#struct {
    margin-left: auto;
    margin-right: auto;
}

#mainBg {
    padding-top: 50px;
    padding-bottom: 50px;
}




/* Navigation Skip */
.Navigation ul {
    margin: 0;
    padding: 0;
}

.Navigation li {
    position: absolute;
    text-align: left;
    margin: 0;
    padding: 0;
    display: block;
}

.Navigation a {
    padding: 5px;
    display: inline;
    z-index: 99;
    text-decoration: none;
    position: absolute;
    width: 300px;
    left: -1000em;
    top: 0;
    font-weight: bold;
    text-align: center;
    font-size: 125%;
}

    .Navigation a:focus,
    .Navigation a:active {
        position: absolute;
        top: 30px;
        left: 250px;
        background: #fff !important;
        border: 2px solid #000;
    }

img.imgFromText {
    max-height: 126px !important;
    max-width: 90px !important;
}

* html img.imgFromText {
    height: 126px !important;
    width: 90px !important;
}


/*:::::::::::::::::::::::::
 * スライド
 *::::::::::::::::::::::::*/
.flash {
    height: auto;
    overflow: hidden;
    padding-top: 0px;
    max-width: 100%;
}

    .flash li img {
        width: 100%;
    }

.slide {
    max-width: 1200px;
    width: 95vw;
    aspect-ratio: 1366/500;
    margin: 0 auto;
    margin-top: 1.1rem;
    position: relative;
}

.bx-controls-auto .bx-controls-auto-item {
    width: 14px !important;
    height: 12px !important;
}
/* フリーエリア start */
/*記事タイトル*/
h2 .title, div.migration h2 {
    padding: 0 0 4px 21px;
    margin-bottom: 16px;
    font-size: 1.2em;
    font-weight: bold;
    background: url("../images/CssColorType/h2Ttl.gif") no-repeat 7px center #EADDCE;
    line-height: 1.8;
}
/*段落見出しタイトル*/
h3.title,
div.migration h3 {
    background: rgba(0, 0, 0, 0) url("../images/CssColorType/h3Ttl.gif") no-repeat scroll 7px center;
    border-bottom: 1px dashed #366f55;
    font-size: 1.1em;
    line-height: 24px;
    margin-bottom: 16px;
    padding: 0 0 4px 21px;
}

.freearea {
    margin: 0px;
}

/* フリーエリア end */

a {
    text-decoration: none;
}


/* wysiwyg */
#mainShosai table.__wys_table {
    width: auto;
}

.__wys_table td {
    border: solid 1px #000000;
    padding: 3px;
}

.__wys_table th {
    background-color: #eeffee;
    border: 1px solid #000000;
    font-weight: bold;
    padding: 3px;
}

/*:::::::::::::::::::::::::
 * 翻訳メニュー
 *::::::::::::::::::::::::*/


#foreignSP {
    display: none;
    width: 99%;
    margin: 3px auto 3px auto;
}

    #foreignSP .plus {
        background: url("../images/top1/btn_plus.png") 98% center no-repeat #CADCFC;
        background-size: auto;
        background-size: 25px 25px;
    }

    #foreignSP .minus {
        background: url("../images/top1/btn_minus.png") 98% center no-repeat #CADCFC;
        background-size: auto;
        background-size: 25px 25px;
    }

        #foreignSP .plus a,
        #foreignSP .minus a {
            display: block;
            height: 100%;
            padding: 15px 10px 15px 20px;
            text-decoration: none;
            margin: 0px;
            text-align: center;
            font-size: 0.9em;
        }

    #foreignSP .dspMode {
        display: block !important;
        background-color: #CADCFC;
    }

#foreignTitle {
    width: 100%;
    margin: 1px auto;
}

    #foreignTitle a {
        padding: 10px 8px 10px 12px !important;
        color: #173B81;
        display: block;
        height: 100%;
    }

#foreignDsp {
    width: 100%;
    margin: 0px auto;
    padding: 2px 0px 6px 0px;
    display: none;
}

    #foreignDsp ul {
        width: 100%;
        margin: 0px auto;
    }

        #foreignDsp ul li {
            padding: 0px;
            width: 98%;
            margin: 2px 0px 0px 4px !important;
            float: left;
            background: url("../images/top1/ya_gray.png") no-repeat 98% center #ffffff;
            background-size: 7px 10px;
            border: 1px solid #1a581e;
        }

            #foreignDsp ul li a {
                width: 70%;
                line-height: 2.4em;
                display: block;
                padding: 0px !important;
                margin-left: 15px !important;
                font-size: 0.9em;
            }



@media screen and (max-width:980px) {
    #foreignSP {
        display: block;
    }
}

@media screen and (min-width: 900px) {
    .newsAndCalendarArea {
        max-width: 1366px;
        min-height: 663px;
        opacity: 1;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        margin-top: 115px;
        margin-bottom: 80px;
    }

    .news_area, .calendar_area {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        width: 50%;
        min-width: 300px;
    }
}

@media screen and (max-width: 899px) {
    .newsAndCalendarArea {
        max-width: 1366px;
        min-height: 663px;
        opacity: 1;
        margin: 0 auto;
        margin-top: 115px;
        margin-bottom: 80px;
    }

    .ttl_news h2 {
        text-align: center;
    }

    .news_area .mottomirubuttonarea {
        text-align: center;
        margin-bottom: 50px;
    }

    .ttl_event_calendar h2 {
        text-align: center;
    }

    .calendar_area {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .event_calendar {
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    .google_event_calendar {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 450px) {
    .calendar_img {
        width: 350px !important;
    }
}

.news_img {
    width: 300px;
}

.calendar_img {
    width: 400px;
}

.listInfo ul li {
    padding: 16px 0px 7px 20px;
}

.info01 {
    padding: 0;
    margin: 0px auto;
    max-width: 1000px;
    position: relative;
    z-index: 4;
    border-radius: 20px;
}

    .info01 ul {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        padding: 3rem 2rem 3rem 2rem;
    }

        .info01 ul li {
            border-bottom: 1px dashed #707070;
            padding-bottom: 0.5rem;
            padding-left: 6rem;
            padding-right: 6rem;
        }

            .info01 ul li article {
                display: flex;
                column-gap: 2rem;
            }

@media screen and (max-width: 660px) {
    .info01 ul li {
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .info01 ul li article {
            flex-direction: column;
        }
}


.listInfo ul {
    height: 380px;
    overflow-x: hidden !important;
    overflow-y: scroll;
}

p.koushinDay {
    float: left;
    padding: 0px 15px 6px 0px;
}

time {
    line-height: 1.8em;
}

div.newTtl {
    float: left;
    max-width: 97%;
    line-height: 1.8em;
    flex: 1;
}

.newTtl a {
    text-decoration: none;
    color: var(--text-color,#000000);
}

    .newTtl a:hover {
        text-decoration: underline;
    }


a .textLink {
    margin-left: 2px;
}

a span, a span {
    min-width: 1px;
    min-height: 1px;
}

.nodata {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* お知らせ・イベントカレンダー end */




/*:::::::::::::::::::::::::
 * 記事スライダー start 
 *::::::::::::::::::::::::*/
.slider_area {
    text-align: center;
    padding-bottom: 24px;
}

.wrap_banSlide_voice,
.wrap_banSlide_akiiya {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#buttonArea {
    padding-top: 50px;
    padding-bottom: 100px;
}

.slick-list.draggable{
    height: auto !important;
}

.slick_toggle {
    width: 20px;
    font-size: 12px;
    padding: 1px;
    border: none;
    text-align: center;
    vertical-align: middle;
    display: inline;
    cursor: pointer;
    cursor: hand;
}

.slick_toggl .stop {
    display: block;
    width: 20px;
    z-index: 10;
}

.slick_toggle .play {
    display: none;
    width: 0px;
    z-index: 0;
}

.slick_toggle.paused .stop {
    display: none !important;
    width: 0px !important;
    z-index: 0 !important;
}

.slick_toggle.paused .play {
    display: block !important;
    width: 60px !important;
    z-index: 10 !important;
}

.wrap_koushinDay_ttl {
    width: 250px;
}

.newsarea {
    border-radius: 5px;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    position: relative;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.16);
    min-height: 410px;
}

.newsarea_wrapper {
    display: flex;
}

.button_area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    width: calc(100% - 30px);
    flex-wrap: wrap;
    margin: 0px auto;
}

@media screen and (max-width:500px) {
    #buttonArea {
        padding-bottom: 70px;
    }
}

.link_button {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 5px;
}


/* タブレット用 */
@media screen and (max-width:1024px) {
    #ban_slide_set_voice li img,
    #ban_slide_set_ijyu li img {
        width: 100%;
        margin: 0px;
    }
}
/* スマホ用 */
@media screen and (max-width:767px) {
    #ban_slide_set_voice li img,
    #ban_slide_set_ijyu li img {
        width: 100%;
        margin: 0px;
    }
}

@media screen and (max-width:380px) {
    #ban_slide_set_voice li img,
    #ban_slide_set_ijyu li img {
        /*width: 48vw;*/
        margin: 0px;
        height: auto;
    }

    #ban_slide_set_voice .slick-dotted.slick-slider {
        height: 260px;
    }

    #ban_slide_set_ijyu .slick-dotted.slick-slider {
        height: 260px;
    }
}

/* Infoスライダーの画像 */
#ban_slide_set_voice img,
#ban_slide_set_ijyu img {
    margin: 0px auto;
    width: 320px;
    height: 320px;
    object-fit: cover;
}

.slide_link_img a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-list {
    height: 460px;
}

.slick-slide {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* スライダーの前・次ボタンの位置 */
#ban_slide_set_voice .slick-prev,
#ban_slide_set_voice .slick-next,
#ban_slide_set_ijyu .slick-prev,
#ban_slide_set_ijyu .slick-next {
    top: 95px;
}
/* 更新日 */
#ban_slide_set_voice .kiji_koushinDay,
#ban_slide_set_ijyu .kiji_koushinDay {
    text-align: left;
    padding-left: 0.4rem;
    padding-top: 10px;
}
/* タイトル */
#ban_slide_set_voice .kiji_title,
#ban_slide_set_ijyu .kiji_title {
    font-size: 1em;
    overflow: hidden;
    text-align: left;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    max-width: 280px;
}

    #ban_slide_set_voice .kiji_gaiyou,
    #ban_slide_set_voice .kiji_koushinDay,
    #ban_slide_set_ijyu .kiji_koushinDay,
    #ban_slide_set_voice .kiji_title a,
    #ban_slide_set_ijyu .kiji_title a {
        color: var(--text-color,#000000);
    }


#ban_slide_set_voice .slick-list,
#ban_slide_set_ijyu .slick-list {
    overflow: hidden;
}

/* 概要文 */
#ban_slide_set_voice .kiji_gaiyou,
#ban_slide_set_ijyu .kiji_gaiyou {
    margin-top: 0.5rem;
    font-size: 0.9em;
    max-width: 280px;
}

#ban_slide_set_voice .slick-dotted.slick-slider,
#ban_slide_set_ijyu .slick-dotted.slick-slider {
    margin-bottom: 2px !important;
}

#ban_slide_set_voice .slick-prev,
#ban_slide_set_ijyu .slick-prev {
    width: 50px;
    height: 50px;
    left: -3rem;
    position: absolute;
    z-index: 9;
}

    #ban_slide_set_voice .slick-prev:before,
    #ban_slide_set_ijyu .slick-prev:before {
        content: '';
        width: 40px;
        height: 40px;
        background: #9c9c9c;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -15px;
        opacity: 1 !important;
    }

    #ban_slide_set_voice .slick-prev:after,
    #ban_slide_set_ijyu .slick-prev:after {
        content: '';
        width: 14px;
        height: 14px;
        position: absolute;
        top: 45%;
        right: 19px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(225deg);
    }

#ban_slide_set_voice .slick-next,
#ban_slide_set_ijyu .slick-next {
    width: 50px;
    height: 50px;
    right: -3rem;
    position: absolute;
    z-index: 9;
}

    #ban_slide_set_voice .slick-next:before,
    #ban_slide_set_ijyu .slick-next:before {
        content: '';
        width: 40px;
        height: 40px;
        background: #9c9c9c;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -15px;
        opacity: 1 !important;
    }

    #ban_slide_set_voice .slick-next:after,
    #ban_slide_set_ijyu .slick-next:after {
        content: '';
        width: 14px;
        height: 14px;
        position: absolute;
        top: 45%;
        left: 19px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
    }

.link_button:hover {
    position: relative;
    top: 1px;
    left: 1px;
}


@media screen and (min-width: 1200px) {
    #wrap_banSlide_ijuteiju-sabu {
        /*        max-width: 1220px !important;*/
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    #ban_slide_set_voice .slick-dotted.slick-slider,
    #ban_slide_set_ijyu .slick-dotted.slick-slider {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 2px !important;
    }
}



.slick-track {
    margin-bottom: 10px !important;
}


/*:::::::::::::::::::::::::
 * スライダーの再生・停止ボタン
 *::::::::::::::::::::::::*/
.slick_toggle_wrap {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    position: relative;
    height: 20px
}

    .slick_toggle_wrap span {
        position: absolute;
        right: 20px;
        bottom: -10px;
        border: solid 1px;
        border-radius: 2px;
        padding: 0px 1px 1px 1px;
        width: 50px;
        height: 18px;
        background-color: #fff;
    }

.slick_toggle {
    width: 20px;
    font-size: 12px;
    padding: 1px;
    border: none;
    text-align: center;
    vertical-align: middle;
    display: inline;
    cursor: pointer;
    color: var(--text-color,#BB4A4A);
}

.slick_toggl .stop {
    display: block;
    width: 20px;
    z-index: 10;
}

.slick_toggle .play {
    display: none;
    width: 0px;
    z-index: 0;
}

.slick_toggle.paused .stop {
    display: none !important;
    width: 0px !important;
    z-index: 0 !important;
}

.slick_toggle.paused .play {
    display: block !important;
    width: 60px !important;
    z-index: 10 !important;
}

.slick-dots {
    right: 0;
}
/*:::::::::::::::::::::::::
 * 記事スライダー end 
 *::::::::::::::::::::::::*/
@media screen and (max-width: 410px) {
    .slide .layouttype6 .bx-wrapper .bx-viewport img, .slide .layouttype7 .bx-wrapper .bx-viewport img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        font-family: 'object-fit: cover;' !important;
        aspect-ratio: unset !important;
    }
}


/* 汎用 */
.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.align-base {
    align-items: baseline;
}

/* エリア見出し */
.area_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}


/* もっと見る */
a.button-more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin: 0 auto;
    box-sizing: border-box;
    width: 155px;
    height: 40px;
    position: relative;
    letter-spacing: 1.6px;
    border: 1px solid var(--background-color,#BB4A4A);
    color: var(--text-color,#FFFFFF);
    text-decoration: none;
    z-index: 2;
    padding-top: 0.6rem;
    padding-right: 0.6rem;
}

    a.button-more:hover {
        padding-top: 0;
        padding-right: 0;
    }



a.button-more::after {
    position: absolute;
    content: "";
    top: 5px;
    right: 5px;
    box-sizing: border-box;
    width: 155px;
    height: 40px;
    background: var(--background-color,#BB4A4A);
    z-index: -1;
}
    a.button-more:hover::after {
        top: 0;
        right: 0;
    }


/*:::::::::::::::::::::::::
 * 新着情報
 *::::::::::::::::::::::::*/
.area_news {
    position: relative;
    z-index: 60;
    margin-top: -1.1rem;
}

    .area_news .area_news_top_bg {
        width: 100%;
        height: 100%;
    }

        .area_news .area_news_top_bg::before {
            content: "";
            position: absolute;
            width: 1471px;
            height: 290px;
            background: var(--background-color,url("../../common/images/ijuteiju-sabu/slide_cover.png"));
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            top: -2rem;
            left: 50%;
            transform: translate(-50%, 0);
            z-index: -1;
        }

    .area_news .area_header img {
        max-width: 233px;
        width: 36vw;
        max-height: 96px;
        z-index: 5;
        background-color: var(--background-color-for-image);
    }


    .area_news .koushinDay {
        color: var(--text-color,#4D4520);
    }


    .area_news .area_header {
        margin-bottom: 2.3rem;
    }

    .area_news .area_news_footer {
        margin-top: 3rem;
    }

    .area_news::before {
        position: absolute;
        display: flex;
        content: "";
        top: 5rem;
        right: 50%;
        transform: translate(-60%, 0);
        width: 466px;
        height: 391px;
        background: var(--background-color,url("../../common/images/ijuteiju-sabu/news_bg_left.png"));
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 3;
    }

    .area_news::after {
        position: absolute;
        display: flex;
        content: "";
        top: 3rem;
        left: 50%;
        transform: translate(62%, 0);
        width: 457px;
        height: 535px;
        background: var(--background-color,url("../../common/images/ijuteiju-sabu/news_bg_right.png"));
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 3;
    }

@media screen and (max-width: 1000px) {
    .info01 {
        margin: 0 0.3rem;
    }
}

@media screen and (max-width: 860px) {
    .area_news {
        margin-top: 0.5rem;
    }

        .area_news .area_header {
            margin-bottom: 1rem;
        }

    .info01 ul {
        padding: 1.5rem 1rem;
    }

    .area_news .area_news_footer {
        margin-top: 2rem;
    }
}
@media screen and (max-width: 560px) {
    .area_news {
        margin-top: -0.4rem;
    }
        .area_news .area_header {
            margin-bottom: 0.5rem;
        }
        .area_news .area_news_top_bg::before {
            width: 100%;
            background-size: contain;
            top: -7.4rem;
        }
        .area_news .koushinDay{
            padding-bottom: 0;
        }
    .info01 ul {
        row-gap: 0.5rem;
    }
        .info01 ul li {
            padding-bottom: 0.2rem;
        }
}

/*:::::::::::::::::::::::::
 * 丸写真
 *::::::::::::::::::::::::*/
.circle_photo {
    margin-top: 3rem;
    position: absolute;
    top: -13rem;
    display: flex;
    height: 262px;
    justify-content: center;
}

    .circle_photo div {
        display: flex;
        position: absolute;
        height: 100%;
    }

    .circle_photo img {
        width: 215px;
        height: 215px;
    }

        .circle_photo img:nth-child(2n+1) {
            align-self: end;
        }


/*:::::::::::::::::::::::::
 * 球磨村ってこんなところ
 *::::::::::::::::::::::::*/
.area_about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 16rem;
    padding: 2rem;
    padding-top: 7.5rem;
    box-sizing: border-box;
    background: var(--background-color,#FFFFFF);
    position: relative;
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

    .area_about > div:nth-of-type(2) {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

        .area_about > div:nth-of-type(2) img {
            max-width: 437px;
            max-height: 45px;
            width: 80vw;
        }

        .area_about > div:nth-of-type(2) p {
            text-indent: 1rem;
            color: var(--text-color,#707070);
            letter-spacing: 0.36px;
            line-height: 2em;
            padding: 1rem;
        }

        .area_about > div:nth-of-type(2) > div:nth-of-type(2) {
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            justify-content: center;
            gap: 1rem;
        }

    .area_about .area_about_link_button {
        width: 290px;
        height: 65px;
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 1rem;
        box-shadow: 0px 3px 6px #00000029;
        border: 1px solid #D5B0B0;
        border-radius: 10px;
        padding-left: 1rem;
        text-decoration: none;
        color: var(--text-color,#BC6A6A);
        font-size: 1.25em;
        line-height: 1.25em;
        box-sizing: border-box;
    }

        .area_about .area_about_link_button div {
            display: flex;
            align-items: center;
        }

        .area_about .area_about_link_button:nth-of-type(1) img {
            max-width: 49px;
            max-height: 38px;
        }

        .area_about .area_about_link_button:nth-of-type(2) {
            padding-left: 2rem;
        }

            .area_about .area_about_link_button:nth-of-type(2) img {
                max-width: 39px;
                max-height: 46px;
            }

    .area_about > div:nth-of-type(2) {
        flex: 1;
        max-width: 610px;
    }

    .area_about > div:last-child img {
        max-width: 441px;
        max-height: 434px;
        width: 90vw;
    }

@media screen and (max-width: 973px) {
    .area_about > div:first-child {
        gap: 1rem;
    }

    .area_about > div:nth-of-type(2) > div:nth-of-type(1) {
        text-align: center;
    }
}

@media screen and (max-width: 650px) {
    .area_about {
        margin-top: 6.2rem;
        padding-top: 4.8rem;
    }

    .circle_photo {
        height: 116px;
        top: -6.7rem;
    }

        .circle_photo img {
            width: 93px;
            height: 93px;
        }

    .area_about > div:nth-of-type(2) {
        gap: 1rem;
    }

        .area_about > div:nth-of-type(2) p {
            padding-top: 0;
        }
}


/*:::::::::::::::::::::::::
 * 移住者の声
 *::::::::::::::::::::::::*/
.banSlide_voice {
    margin-top: 3.875rem;
    padding-top: 8rem;
    position: relative;
    background: var(--background-color,#F2E9D8);
}


.ban_slide_set_voice {
    max-width: 1090px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

#ban_slide_set_voice .slick-dotted.slick-slider {
    max-width: 754px;
    margin: 0 auto;
    height: 450px;
}

.banSlide_voice .area_header {
    position: relative;
    margin-bottom: 3.125rem;
}

    .banSlide_voice .area_header img {
        width: 90vw;
        max-width: 255px;
        max-height: 90px;
        z-index: 1;
        position: relative;
        background-color: var(--background-color-for-image);
    }

.banSlide_voice::before {
    position: absolute;
    display: flex;
    content: "";
    top: 2px;
    left: 0;
    width: 100%;
    max-width: 1133px;
    height: 100%;
    max-height: 188px;
    background-image: var(--background-color,url("../../common/images/ijuteiju-sabu/voice_bg_top_left.png"));
    background-repeat: no-repeat;
    background-size: contain;
}

.banSlide_voice::after {
    position: absolute;
    display: flex;
    content: "";
    top: 4rem;
    right: 0rem;
    width: 100vw;
    max-width: 466px;
    height: 100%;
    max-height: 391px;
    background-image: var(--background-color,url("../../common/images/ijuteiju-sabu/voice_bg_top_right.png"));
    background-repeat: no-repeat;
    background-size: contain;
}


.banSlide_voice .slick-slide {
    background: var(--background-color,#F7F4F0);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 10px;
    max-width: 352px;
    width: 90vw;
    max-height: 408px;
    height: 100vh;
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    margin: 0 24px;
    padding: 0;
}

    .banSlide_voice .slick-slide .slide_link_img {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }

    .banSlide_voice .slick-slide .slide_text {
        height: 100%;
        margin: 2rem;
    }

#ban_slide_set_voice .slick-prev {
    left: -1.6rem;
    top: 35%;
}

#ban_slide_set_voice .slick-next {
    right: -1.6rem;
    top: 35%;
}

#ban_slide_set_voice .slick_toggle_wrap {
    max-width: 800px;
}

#ban_slide_set_voice img {
    border-radius: 50%;
    max-width: 245px;
    max-height: 245px;
    aspect-ratio: 1 /1;
}


.banSlide_voice .slick-dots {
    bottom: -6px;
}

    .banSlide_voice .slick-dots li button:before {
        font-size: 1rem;
        color: var(--text-color,#8c8c80);
    }

    .banSlide_voice .slick-dots li.slick-active button:before {
        color: var(--text-color,#BB4A4A);
    }

.banSlide_voice .slide_footer {
    margin-top: 1.5rem;
}

.banSlide_voice .area_footer {
    margin-top: 3.5rem;
    max-height: 80px;
    height: 6vw;
    background: var(--background-color,#F2E9D8);
    position: relative;
}

    .banSlide_voice .area_footer::before {
        content: "";
        position: absolute;
        max-width: 170px;
        width: 90vw;
        max-height: 118px;
        height: 100vh;
        top: -7rem;
        left: 50%;
        transform: translate(-380%, 0);
        background-image: var(--background-color,url("../../common/images/ijuteiju-sabu/voice_bg_bottom_left.png"));
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
    }

    .banSlide_voice .area_footer::after {
        content: "";
        position: absolute;
        max-width: 143px;
        width: 90vw;
        max-height: 105px;
        height: 100vh;
        top: -6rem;
        right: 50%;
        transform: translate(420%, 0);
        background-image: var(--background-color,url("../../common/images/ijuteiju-sabu/voice_bg_bottom_right.png"));
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
    }

    .banSlide_voice .area_footer > div {
        width: 100%;
        height: 100%;
        background-color: var(--background-color,#F7F4F0);
        clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    }

@media screen and (max-width: 852px) {
    .banSlide_voice {
        padding-top: 4rem;
    }

    .ban_slide_set_voice {
        max-width: 270px;
        width: 75vw;
    }

    #ban_slide_set_voice img {
        max-width: 184px;
        max-height: 184px;
    }

    #ban_slide_set_voice .slick-dotted.slick-slider {
        height: 390px;
    }

    .banSlide_voice .slick-slide {
        max-width: 263px;
        max-height: 346px;
    }

    .banSlide_voice .area_header {
        margin-bottom: 1.125rem;
    }

        .banSlide_voice .area_header img {
            width: 52vw;
        }

    .banSlide_voice .area_footer::before {
        transform: translate(-221%, 55%);
        max-width: 102px;
        max-height: 71px;
    }

    .banSlide_voice .area_footer::after {
        transform: translate(221%, 32%);
        max-width: 100px;
        max-height: 73px;
    }
}


@media screen and (max-width: 400px) {
    .banSlide_voice .slick-slide {
        max-width: 238px;
    }
  
}



/*:::::::::::::::::::::::::
 * 空き家バンク
 *::::::::::::::::::::::::*/
.banSlide_akiya {
    position: relative;
}

    .banSlide_akiya .area_header img {
        width: 90vw;
        max-width: 569px;
        max-height: 90px;
        z-index: 1;
        position: relative;
        background-color: var(--background-color-for-image);
    }

.ban_slide_set_ijyu {
    max-width: 1081px;
    width: 100%;
    margin: 0 auto;
}

.banSlide_akiya > .area_header {
    position: relative;
    margin-bottom: 3.125rem;
}


.banSlide_akiya .slick-slide {
    margin: 0 26px;
    padding: 0;
}

#ban_slide_set_ijyu img {
    border-radius: 20px;
    max-width: 320px;
    max-height: 241px;
}

#ban_slide_set_ijyu .kiji_title {
    padding-left: 1rem;
}

#ban_slide_set_ijyu .slick-dotted.slick-slider {
    height: 380px;
}

#ban_slide_set_ijyu .slick-prev,
#ban_slide_set_ijyu .slick-next {
    top: 120px;
}

#ban_slide_set_ijyu .slick_toggle_wrap {
    max-width: 1090px;
}



.banSlide_akiya .slick-dots {
    bottom: -6px;
}

    .banSlide_akiya .slick-dots li button:before {
        font-size: 1rem;
        color: var(--text-color,#8c8c80);
    }

    .banSlide_akiya .slick-dots li.slick-active button:before {
        color: var(--text-color,#BB4A4A);
    }

.banSlide_akiya .slide_footer {
    margin-top: 1.5rem;
}


@media screen and (max-width: 1186px) {
    .ban_slide_set_ijyu {
        max-width: 680px;
    }
}

@media screen and (max-width: 782px) {
    .ban_slide_set_ijyu {
        max-width: 342px;
        width: 75vw;
    }
}


@media screen and (max-width: 852px) {
    .banSlide_akiya {
        padding-top: 2rem;
    }

        .banSlide_akiya > .area_header {
            margin-bottom: 1.125rem;
        }

    .ban_slide_set_ijyu {
        max-width: 340px;
        width: 75vw;
    }

    .banSlide_akiya .slick-slide {
        max-width: 310px;
        width: 100%;
    }

    #ban_slide_set_ijyu img {
        max-width: 320px;
        max-height: 240px;
    }


    #ban_slide_set_ijyu li img {
        margin: 0px;
        height: auto;
        aspect-ratio: 320 / 240;
    }

    #ban_slide_set_voice .slick-prev, #ban_slide_set_ijyu .slick-prev {
        left: -2rem;
    }

    #ban_slide_set_voice .slick-next, #ban_slide_set_ijyu .slick-next {
        right: -2rem;
    }
}


@media screen and (max-width: 400px) {
    .ban_slide_set_ijyu .slick-slide {
        max-width: 200px;
    }

    #ban_slide_set_ijyu .slick-dotted.slick-slider {
        min-height: initial;
        height: 330px;
    }
}


/*:::::::::::::::::::::::::
 * 移住支援情報
 *::::::::::::::::::::::::*/
.area_bunrui_link {
    margin-top: 3rem;
    padding-top: 5.625rem;
    padding-bottom: 5.625rem;
    background: var(--background-color,#F2E9D8);
}

    .area_bunrui_link .area_header img {
        max-width: 398px;
        max-height: 91px;
        width: 90vw;
        background-color: var(--background-color-for-image);
    }

.bunrui_link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3.75rem;
}

.bunrui_link_card img {
    max-width: 220px;
    width: 40vw;
    max-height: 209px;
    height: 100%;
}

@media screen and (max-width: 487px) {
    .area_bunrui_link {
        padding-top: 2.625rem;
        padding-bottom: 2.625rem;
    }

    .bunrui_link {
        margin-top: 1.75rem;
        gap: 1rem;
    }
    .area_bunrui_link .area_header img {
        width: 65vw;
    }
}