@charset "UTF-8";
/* CSS Information
============================================
File: news.scss
Site: Okinawa Story
SCSS: news
============================================= */
/* CSS Information
============================================
File: _f-setting.scss
Site: Okinawa Story
SCSS: foundation
Output: app.css
============================================= */
/* 共通　ページ内相殺
========================================== */
.os-p-head-cmn {
    margin-bottom: 2rem;
}

/* 詳細ページ（トピックス）
** コンテンツ管理
** block/mainUnit
====================================== */
.p-news {
    width: 100%;
}
.p-news__section:nth-last-child(n+2) {
    margin-bottom: 3rem;
}
@media (min-width: 25.875em) {
    .p-news {
        padding: 0 1rem;
    }
}
@media (min-width: 64.0625em) {
    .p-news__section:nth-last-child(n+2) {
        margin-bottom: 5rem;
    }
}

/* 詳細ページ
** 更新日　※タイトル直下位置
====================================== */
.p-news-updete {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #777;
}
@media (min-width: 64.0625em) {
    .p-news-updete {
        top: -1rem;
        font-size: 1.4rem;
    }
}

/* ギャラリー（詳細ページにて使用）
** JS:Slick * pages/detail-news.js
====================================== */
.p-news-gallery {
    width: 100%;
}
.p-news-gallery__inner {
    visibility: hidden;
}
.p-news-gallery__inner.initialized {
    visibility: visible;
}
.p-news-gallery__content {
    width: 100%;
}
.p-news-gallery__content:nth-last-child(n+2) {
    margin-bottom: 1rem;
}
.p-news-gallery__content--sub {
    padding: 0 2.3rem;
}
.p-news-gallery__content--main .slick-prev {
    left: -0.6%;
}
.p-news-gallery__content--main .slick-next {
    right: -0.6%;
}
.p-news-gallery__content--main .slick-prev:before, .p-news-gallery__content--main .slick-next:before {
    font-size: 2.4rem;
    color: #fff;
}
.p-news-gallery__content--sub .slick-prev {
    left: -5px;
}
.p-news-gallery__content--sub .slick-next {
    right: -5px;
}
.p-news-gallery__content--sub .slick-prev:before, .p-news-gallery__content--sub .slick-next:before {
    font-size: 2.4rem;
    color: #006dba;
    opacity: 1;
}
.p-news-gallery__content--sub .slick-slide .p-news-gallery__unit-wrap {
    opacity: 0.4;
}
.p-news-gallery__content--sub .slick-slide.slick-current .p-news-gallery__unit-wrap {
    opacity: 1;
}
.p-news-gallery__content .slick-prev:before {
    content: "\f0d9";
}
.p-news-gallery__content .slick-next:before {
    content: "\f0da";
}
.p-news-gallery__content .slick-prev, .p-news-gallery__content .slick-next {
    width: 3rem;
    height: 3rem;
    z-index: 3;
}
.p-news-gallery__content .slick-prev:before, .p-news-gallery__content .slick-next:before {
    font-family: "FontAwesome";
}
.p-news-gallery__unit {
    width: 100%;
}
.p-news-gallery__unit--sub {
    padding: 0 7px;
}
.p-news-gallery__unit-wrap {
    display: block;
    width: 100%;
    cursor: pointer;
}
.p-news-gallery__unit-wrap--main {
    background-color: #000;
}
.p-news-gallery__unit-figure {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}
.p-news-gallery__unit-figure--main {
    width: 86.5116279%;
    max-width: 74.4rem;
    margin: 0 auto;
}
.p-news-gallery__unit-figure:before {
    display: block;
    content: "";
    padding-top: 66.399%;
}
.p-news-gallery__unit-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    font-family: "object-fit: contain;"; /*IE*/
    object-position: 50% 50%;
}
.p-news-gallery__unit-caption {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
    margin-top: 1rem;
}
.p-news-gallery__caption {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
@media (min-width: 30em) {
    .p-news-gallery__content--main .slick-prev {
        left: 0.5%;
    }
    .p-news-gallery__content--main .slick-next {
        right: 0.5%;
    }
}
@media (min-width: 48em) {
    .p-news-gallery__unit-caption {
        font-size: 1.4rem;
    }
    .p-news-gallery__caption {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}
@media (min-width: 64.0625em) {
    .p-news-gallery__content--main .slick-prev {
        left: 1.5rem;
    }
    .p-news-gallery__content--main .slick-next {
        right: 1.5rem;
    }
    .p-news-gallery__content--main .slick-prev:before, .p-news-gallery__content--main .slick-next:before {
        font-size: 3.2rem;
    }
}

/* 詳細ページ
** 編集エディタエリア
====================================== */
.p-news-old-editor {
    font-size: 1.2rem;
    line-height: 1.8;
}
.p-news-old-editor img {
    width: auto;
    max-width: 100%;
}
@media (min-width: 48em) {
    .p-news-old-editor {
        font-size: 1.4rem;
    }
}

/* タブコンテンツ（一覧）
** JS:Tab * pages/news.js
====================================== */
.p-news-tabs__change {
    display: flex;
    align-items: stretch;
    flex-grow: 1;
    width: 100%;
    max-width: 76rem;
}
.p-news-tabs__btn {
    width: 100%;
    text-align: center;
    border: solid 1px #f0f0f0;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0;
    background-color: #fff;
    color: #353535 !important;
    font-size: 1rem;
    line-height: 1.4;
    cursor: pointer;
}
.p-news-tabs__btn.is--active {
    color: #fff !important;
    border-color: #006dba;
    background-color: #006dba;
}
.p-news-tabs__btn:nth-last-child(n+2) {
    margin-right: 2px;
}
.p-news-tabs__btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    padding: 8px 5px;
}
.p-news-tabs__btn-inline {
    width: 100%;
}
.p-news-tabs__storage {
    border-top: solid 2px #006dba;
    border-bottom: solid 2px #006dba;
}
.p-news-tabs__storage-wrap {
    display: none;
}
.p-news-tabs__storage-wrap.is--show {
    display: block;
}
@media (min-width: 23.4375em) {
    .p-news-tabs__btn {
        font-size: 1.2rem;
    }
    .p-news-tabs__btn-inner {
        padding: 1rem 5px;
    }
}
@media (min-width: 30em) {
    .p-news-tabs__btn-inner {
        padding: 1.4rem 0;
    }
    .p-news-tabs__btn-inline {
        width: auto;
    }
}
@media (min-width: 37.5em) {
    .p-news-tabs__btn-inner {
        padding: 1.1rem 0;
    }
}
@media (min-width: 64.0625em) {
    .p-news-tabs__btn {
        font-size: 1.5rem;
    }
    .p-news-tabs__btn:nth-last-child(n+2) {
        margin-right: 7.5px;
    }
}
@media (min-width: 80em) {
    .p-news-tabs__btn {
        font-size: 1.5rem;
    }
}

/* 記事一覧
========================================== */
.p-news-list {
    width: 100%;
    padding: 1rem 0;
    background-color: #fff;
}
.p-news-list__unit {
    display: block;
    width: 100%;
}
.p-news-list__unit:nth-last-of-type(n + 2) {
    border-bottom: dashed 1px #ddd;
}
.p-news-list__unit-link {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    color: #006dba !important;
    padding: 1.5rem 0;
}
.p-news-list__unit-obj {
    align-self: flex-start;
    min-width: 37%;
    padding-right: 1rem;
}
.p-news-list__unit-figure {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}
.p-news-list__unit-figure:before {
    display: block;
    content: "";
    padding-top: 66.88%;
}
.p-news-list__unit-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit: cover;"; /*IE*/
    object-position: 50% 50%;
}
.p-news-list__unit-obj + .p-news-list__unit-wrap {
    width: 63%;
}
.p-news-list__unit-wrap {
    align-self: flex-start;
}
.p-news-list__unit-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.p-news-list__unit-time {
    font-size: 1.1rem;
    margin: 0 1rem 2px 0;
    color: #353535 !important;
}
.p-news-list__unit-category {
    font-size: 1.1rem;
    margin: 0 1rem 2px 0;
    color: #777 !important;
}
.p-news-list__unit-flag {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.p-news-list__unit-tag {
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 2px;
    background-color: #fff;
    padding: 3px 5px;
}
.p-news-list__unit-tag:nth-last-of-type(n + 2) {
    margin-right: 5px;
}
.p-news-list__unit-tag--border {
    border: solid 1px #c8161d;
    color: #c8161d !important;
}
.p-news-list__unit-tag--bg {
    border: solid 1px #c8161d;
    background-color: #c8161d;
    color: #fff !important;
}
.p-news-list__unit-title {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: normal;
    text-decoration: underline;
}
.p-news-list__unit-disc {
    font-size: 1.1rem;
    color: #353535 !important;
    margin-top: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 37.5em) {
    .p-news-list__unit-obj {
        min-width: 17rem;
    }
    .p-news-list__unit-obj + .p-news-list__unit-wrap {
        width: calc(100% - 17rem);
    }
    .p-news-list__unit-title {
        font-size: 1.4rem;
    }
    .p-news-list__unit-disc {
        font-size: 1.2rem;
    }
}
@media (min-width: 48em) {
    .p-news-list__unit-link {
        padding: 1.5rem;
    }
    .p-news-list__unit-obj {
        min-width: 18rem;
        padding-right: 2rem;
    }
    .p-news-list__unit-obj + .p-news-list__unit-wrap {
        width: calc(100% - 18rem);
    }
}
@media (min-width: 64.0625em) {
    .p-news-list__unit-time {
        font-size: 1.2rem;
        margin: 0 1.5rem 5px 0;
    }
    .p-news-list__unit-category {
        font-size: 1.2rem;
        margin: 0 1.5rem 5px 0;
    }
    .p-news-list__unit-tag {
        font-size: 1.2rem;
        line-height: 1.2;
        border-radius: 4px;
    }
    .p-news-list__unit-link {
        padding: 2rem;
    }
    .p-news-list__unit-link:hover {
        background-color: #f7f7f7;
    }
    .p-news-list__unit-link:hover .p-news-list__unit-title {
        text-decoration: none;
    }
}

/* 記事一覧　検索ボックス
========================================== */
.p-news-search {
    width: 100%;
    background: #def1fc;
    padding: 1rem;
}
.p-news-search__box {
    margin-bottom: 1rem;
}
.p-news-search__box--input {
    width: 100%;
}
.p-news-search__box--select {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}
.p-news-search__label {
    width: 100%;
}
.p-news-search__freeword {
    display: block;
    width: 100%;
    height: 4.5rem;
    border: solid 1px #e4e4e4;
    padding: 0 1.5rem;
}
.p-news-search__freeword:focus {
    background: #fff !important;
}
.p-news-search__select-title {
    white-space: nowrap;
    font-weight: 700;
    padding-right: 1rem;
}
.p-news-search__select {
    width: 100%;
    height: 4.5rem;
    border: solid 1px #e4e4e4;
    padding: 0 1rem;
}
.p-news-search__select:focus {
    background: #fff !important;
}
.p-news-search__select-unit {
    white-space: nowrap;
    padding: 0 0.5rem;
    font-weight: 700;
}
.p-news-search__btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 40rem;
    height: 4.5rem;
    background: #22bcb8;
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4rem;
}
.p-news-search__btn-submit:before {
    margin-right: 0.5rem;
}
@media (min-width: 48em) {
    .p-news-search__wrap {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        height: 100%;
    }
    .p-news-search__box {
        margin-bottom: 0;
    }
    .p-news-search__box--input {
        width: calc(40% - 9rem);
        padding-right: 2rem;
    }
    .p-news-search__box--select {
        width: calc(60% - 9rem);
        padding-right: 1rem;
    }
    .p-news-search__btn-submit {
        width: 18rem;
    }
}

/* 記事一覧　検索ボックス
========================================== */
.p-news-hashtag__list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.p-news-hashtag__list-unit {
    position: relative;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
}
.p-news-hashtag__list-unit-item {
    display: block;
    background: #fafafa;
    border: solid 0.1rem #ddd;
    color: #000 !important;
    padding: 0.8rem 3.5rem 0.8rem 1.3rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    word-break: break-all;
}
.p-news-hashtag__list-unit-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #999;
    border-radius: 50%;
}
.p-news-hashtag__list-unit-clear:after {
    color: #fff;
}
@media (min-width: 48em) {
    .p-news-hashtag__list-unit-item {
        font-size: 1.3rem;
    }
}
@media (hover: hover) {
    .p-news-hashtag__list-unit-clear:hover {
        background: #006dba;
    }
}
/*# sourceMappingURL=news.css.map */