@charset "UTF-8";
/*============================================

　床矯正地区フォーラムページ CSS

=============================================*/
.forPC {
    display: block;
}
.forSP {
    display: none;
}
/* メイン
------------------------------------*/
#area-forum-main {
    width: 100%;
    height: auto;
    background: url(../../images/area-forum/bg.png) no-repeat center;
    background-size: cover;
    position: relative; 
}
#area-forum-main .inner {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    position: relative; 
}
#area-forum-main .flexbox {
    padding: 64px 0;
    margin: 0;
    align-items: start;
}
#area-forum-main .flex_l {
    width: 47%;
}
#area-forum-main .flex_r {
    width: 53%;
}
/* タイトル */
#area-forum-main h2 {
    font-size: 72px;
    font-weight: bold;
    line-height: 120%;
    text-align: left;
    margin-bottom: 100px;
}
#area-forum-main .schedule-list h3 {
    font-size: 20px;
    color: #4d4d4d;
    text-align: center;
    border-bottom: 2px solid #b1b1b1;
    line-height: 200%;
    margin-bottom: 20px;
}
#area-forum-main .schedule-list {
    position: relative;
    max-width: 366px;
    width: 100%;
}
#area-forum-main .schedule-list .list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    justify-content: space-between;
    row-gap: 16px;
}
#area-forum-main .schedule-list .list .box {
    /* max-width: 112px; */
    width: calc((100% - 16px) / 2);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    /* gap: 16px; */
}
#area-forum-main .schedule-list .list .box p.date {
    background: #4d4d4d;
    color: #fff;
    font-size: 20px;
    margin: 0;
}
#area-forum-main .schedule-list .list .box.active p.date {
    background: #dc0707;
}
#area-forum-main .schedule-list .list .box.waiting p.date {
    background: #fdbcbc;
}
#area-forum-main .schedule-list .list .box.active:hover {
    opacity: 0.7;
}

#area-forum-main .schedule-list .list .box p.area {
    font-size: 28px;
    color: #4d4d4d;
    background: #fff;
    font-weight: bold;
    padding: 15px 0;
    margin: 0;
}
/* コンテンツ
------------------------------------*/
article#area-forum-content {
    width: 100%;
    height: auto;
    background: #ffffff;
}
article#area-forum-content .display {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    /* background: #fff; */
}
article#area-forum-content .display .inner {
    max-width: 980px;
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}
/* セクション
------------------------------------*/
article#area-forum-content .display .section:not(:first-child) {
    padding-top: 80px;
}
article#area-forum-content .display .section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    line-height: 120%;
    margin-bottom: 40px;
    color: #333333;
}
article#area-forum-content .display .section p {
    font-size: 16px;
    line-height: 180%;
    color: #333333;
}
/* 取り組み
------------------------------------*/
article#area-forum-content .display .section.approach {
    padding-top: 40px;
}
article#area-forum-content .display .section.approach .flex_l {
    width: 65%;
}
article#area-forum-content .display .section.approach .flex_r {
    width: 30%;
}
/* 写真 */
article#area-forum-content .display .section.approach .flexbox.photo {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
}
article#area-forum-content .display .section.approach .flexbox.photo .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 184px;
}
article#area-forum-content .display .section.approach .flexbox.photo .item img {
    width: 100%;
    padding-bottom: 8px;
}
article#area-forum-content .display .section.approach .flexbox.photo .item p {
    font-size: 14px;
    line-height: 120%;
    color: #333333;
}
/* 地域フォーラム一覧
------------------------------------*/
article#area-forum-content .display .section.area-forum-list h2 {
    text-align: left;
}

article#area-forum-content .display .section.area-forum-list .flex_l {
    width: 40%;
}
article#area-forum-content .display .section.area-forum-list .flex_r {
    width: 55%;
}
/* リスト
------------------------------------*/
article#area-forum-content .display .section .forum-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
article#area-forum-content .display .section .forum-list a {
    display: inline-block;
}
article#area-forum-content .display .section .forum-list .box { 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 10px 38px 10px 24px;
    background: #f1f1f1;
    border-left: 2px solid #4d4d4d;
}
article#area-forum-content .display .section .forum-list .box::after { 
    content: "";
    position: absolute;
    background: url("../../images/area-forum/arrow.png") no-repeat center;
    background-size: contain;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 12px;
    margin-left: auto;
    display: block;
}
article#area-forum-content .display .section .forum-list .box p.date {
    font-size: 12px;
    line-height: 100%;
    margin: 0;
}
article#area-forum-content .display .section .forum-list .box p.title {
    width: 175px;
    font-size: 16px;
    line-height: 100%;
    margin: 0;
}
article#area-forum-content .display .section .forum-list .box p.status {   
    width: 80px;
    font-size: 12px;
    text-align: center;
    line-height: 100%;
    margin: 0;
    padding: 4px;
    background: #4d4d4d;
    color: #fff;
}
/* 募集中 */
article#area-forum-content .display .section .forum-list a:hover .box.active {
    background: #f5f5f5;
}
article#area-forum-content .display .section .forum-list .box.active { 
    background: #fcfcfc;
    border-left: 2px solid #dc0707;
}
article#area-forum-content .display .section .forum-list .box.active p.status { 
    background: #dc0707;
}
/* 募集前 */
article#area-forum-content .display .section .forum-list .box.waiting { 
    background: #fcfcfc;
    border-left: 2px solid #fdbcbc;
}
article#area-forum-content .display .section .forum-list .box.waiting p.status { 
    background: #fdbcbc;
}


/* 地域フォーラムの特徴
------------------------------------*/
article#area-forum-content .display .section.features {
    padding-top: 40px;
}
article#area-forum-content .display .section.features .flexbox {
    padding-top: 35px;
}
article#area-forum-content .display .section.features .flexbox .item {
    position: relative;
    width: 239px;
    height: 239px;
    border: 1px solid #dc0707;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
article#area-forum-content .display .section.features .flexbox .item .number {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 66px;
    height: 72px;
    margin: 0;
}
article#area-forum-content .display .section.features .flexbox .item .content {
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: center;
}
article#area-forum-content .display .section.features .flexbox .item .content img {
    width: max-content;
    height: auto;
}
article#area-forum-content .display .section.features .flexbox .item .content p.title {
    font-size: 20px;
    font-weight: bold;
    color: #dc0707;
}
/* 実績動画
------------------------------------*/
article#area-forum-content .display .section.video h2 {
    text-align: center;
}
article#area-forum-content .display .section.video .video-container {
    position: relative;
    max-width: 504px;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin: 0 auto;
}

article#area-forum-content .display .section.video .video-container video.custom-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*============================================

　SP

=============================================*/

@media screen and (max-width: 768px) {
    .forPC {
        display: none;
    }
    .forSP {
        display: block;
    }
    
    /* メイン
    ------------------------------------*/
    #area-forum-main .flexbox {
        flex-direction: column-reverse;
        padding: 20px 0;
    }
    #area-forum-main .flex_l {
        width: 100%;
    }
    #area-forum-main .flex_r {
        position: relative;
        width: 100%;
    }
    #area-forum-main .schedule-list {
        margin: 0 auto;
        column-gap: 16px;
    }
    #area-forum-main .schedule-list .list .box {
        /* width: calc((100% - (16px * 2)) / 3); */
    }
    #area-forum-main h2 {
        position: absolute;
        top: 0;
        left: 0;
        font-size: 8.5vw;
    }
        /* コンテンツ
    ------------------------------------*/
    article#area-forum-content {
        /* padding: 0 16px; */
    }
    /* セクション
    ------------------------------------*/
    article#area-forum-content .display .section h2 {
        /* text-align: center; */
        font-size: 20px;
    }
    article#area-forum-content .display .section p {
        font-size: 14px;
    }
    /* 取り組み
    ------------------------------------*/
    article#area-forum-content .display .section.approach .flex_l {
        width: 100%;
    }
    article#area-forum-content .display .section.approach .flex_r {
        width: 100%;
    }
    /* 地域フォーラム一覧
    ------------------------------------*/
    article#area-forum-content .display .section.area-forum-list h2 {
        text-align: center;
    }
    article#area-forum-content .display .section.area-forum-list .flex_l {
        width: 100%;
    }
    article#area-forum-content .display .section.area-forum-list .flex_r {
        width: 100%;
    }
    article#area-forum-content .display .section .forum-list {
        width: 100%;
    }

    /* 地域フォーラムの特徴
    ------------------------------------*/
    article#area-forum-content .display .section.features .flexbox {
        margin-top: 22px;
        align-items: center;
        gap:46px;
    }
    article#area-forum-content .display .section.features .flexbox .item {
        width: 180px;
        height: 180px;
    }
    article#area-forum-content .display .section.features .flexbox .item .number {
        top:-23px;
        width: 40px;
        height: auto;
    }
    article#area-forum-content .display .section.features .flexbox .item .content {
        gap: 18px;
    }
    article#area-forum-content .display .section.features .flexbox .item .content img {
        width: auto;
        height: 70px;
    }
    article#area-forum-content .display .section.features .flexbox .item .content p.title {
        font-size: 16px;
    }

}

@media screen and (max-width: 480px) {
    article#area-forum-content .display .section .forum-list .box {
        gap: 8px;
        padding: 10px 18px 10px 10px;
    }
    article#area-forum-content .display .section .forum-list .box p.date {
        font-size: 10px;
    }
    article#area-forum-content .display .section .forum-list .box p.title {
        width: 108px;
        font-size: 10px;
    }
    article#area-forum-content .display .section .forum-list .box p.status {
        font-size: 10px;
        width: 56px;
        padding: 6px;
    }
    article#area-forum-content .display .section .forum-list .box::after {
        right: 5px;
    }
}

@media screen and (max-width: 400px) {
    #area-forum-main .schedule-list .list .box p.date {
        font-size: 16px;
    }
    #area-forum-main .schedule-list .list .box p.area {
        font-size: 20px;
    }
}