@charset "utf-8";

/* 基本 */

:root {
    --main-bg-color: #07a142;
    --main-bg-color-rgb: 7, 161, 66;
    --sub-bg-color: #023618;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--main-bg-color);
}

.btn_cnt a {
    background-color: var(--main-bg-color);
}

.btn_cnt a:hover {
    color: var(--main-bg-color);
}

.content p {
    padding: 15px;
}

.content h2 span {
    color: var(--main-bg-color);
}

/* ロゴのサイズ */

header h1 a img {
    height: 36px;
}

/* グローバルメニュー */

#g_navi li a:hover {
    color: var(--main-bg-color) !important;
}

#g_navi li a:hover::before {
    background-color: rgba(var(--main-bg-color-rgb), 1);
}

@media screen and (min-width: 960px) {
    #g_navi.txt_w li a {
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.95);
    }
}

@media screen and (min-width: 960px) {
    header.fixed #g_navi.txt_w li a {
        text-shadow: none;
    }
}

/* ヒーロー */

#index_top #top_catch {
    background-color: rgba(var(--main-bg-color-rgb), 0.8);
    text-align: center;
}

#index_top #top_catch img {
    width: 70%;
    margin: 0 auto;
}

/* SNS */
.h_sns {
    background-color: rgba(var(--main-bg-color-rgb), 0.8);
}


/* お知らせ・新着情報 */

.ul_news {
    height: 13em;
    overflow-y: scroll;
}

.ul_news .news_btn {
    margin-right: 0.8em !important;
    text-align: center;
    width: 7em;
}

.ul_news .cl1 {
    background-color: #333 !important;
}

.ul_news .cl4 {
    background-color: gray !important;
}

@media (max-width: 639px) {
    .ul_news .news_btn {
        display: block !important;
        margin-bottom: 0.5em;
    }
}

/* コンテンツ */

.content h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.content .box_att h2 {
    color: var(--main-bg-color);
}

.content .box_att p {
    color: var(--main-bg-color);
}

.content h3 {
    color: var(--main-bg-color);
}

.content h3::after {
    background-color: var(--main-bg-color);
}

.content .cont_wrap .box_left {
    width: 100%;
    float: none;
    padding: 10px;
}

/* フロント・ピックアップ */

.pick_up ul li a div {
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.95);
}


/* 創業100年に向けて */
.obi_001 {
    margin-top: 0;
    background-position: top;
}

.obi_001 .obi_001_sub_title {
    text-shadow:
        2px 2px 1px #ffffff,
        -2px 2px 1px #ffffff,
        2px -2px 1px #ffffff,
        -2px -2px 1px #ffffff,
        2px 0px 1px #ffffff,
        0px 2px 1px #ffffff,
        -2px 0px 1px #ffffff,
        0px -2px 1px #ffffff;
}

.obi_001 p {
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* 80周年ロゴ */

.obi_002 img {
    width: clamp(100px, 26vw, 300px);
    margin-bottom: 1.6em;
}

.obi_002 p {
    text-align: center;
}

.obi_002 .box_in {
    background-color: rgba(219, 207, 176, 0.7);
}

/* フッター */

footer {
    padding-top: 4rem;
    background-color: #D2E1E3;
}

.f_box .footer_logo {
    width: 200px;
    display: block;
    margin-bottom: 1rem;
}

@media screen and (max-width: 960px) {
    footer .cont_wrap .f_box ul {
        text-align: left;
        padding: 10px;
    }
}

/* 個別ページ */
/* パンくずリスト */

.pankuzu {
    background-color: #023618;
}

/* article_historyのページ */

.imgtext-container {
    display: flex;
    flex-direction: column;
}

#article_history figcaption {
    text-align: center;
    padding-top: 0.5rem;
    color: #555;
    font-size: 0.85rem;
}

@media (min-width: 960px) {
    .imgtext-container {
        flex-direction: row;
        align-items: center;
        gap: clamp(45px, 6vw, 80px);
    }

    .imgtext-container>.text {
        flex: 1.3;
        min-width: 17em;
    }

    .imgtext-container>.img {
        flex: 1.7;
    }


    #article_history .content p {
        margin-left: 0;
        margin-bottom: 0;
    }

    #article_history .imgtext img {
        border-radius: 20px;
    }
}



#article_history .sub_title {
    font-size: 24px;
    line-height: 30px;
    padding-top: 15px;
    padding-right: 10px;
    font-weight: normal;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

@media (min-width: 960px) {
    .flex-reverse {
        flex-direction: row-reverse;
    }
}

/* SP */
/* ハンバーガーメニュー */
.menu_btn span {
    background-color: var(--main-bg-color);
}


.accordion_btn span {
    background-color: var(--main-bg-color);
}

/* アコーディオン */

.accordion_btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #A71D31;
    margin: 50px auto;
    position: relative;
}

@media (min-width: 960px) {
    .accordion_btn {
        width: 100px;
        height: 100px;
        margin-left: 10px;
    }
}

@media (min-width: 768px) {
    .accordion_text {
        column-count: 2;
    }
}


/*クリックする前*/
.accordion_btn>.bar {
    display: block;
    width: 50px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.accordion_btn>.bar:before {
    content: "";
    display: block;
    width: 4px;
    height: 50px;
    background: #fff;
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: 0.3s;
}

.accordion_btn.click>.bar:before {
    background: transparent;
}

/* アコーディオン開く */
.accordion_contents {
    padding-top: 0;
    background-color: #fff;
}

.accordion_text {
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

.accordion_contents img {
    width: 100%;
}

/* historyのページ */
#sub_top.history {
    background-image: url(../img/sub_top_history.jpg);
}


#history .content h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
    padding: 0;
    font-weight: normal;
    color: #333;
    clear: both;
    letter-spacing: 0.05em;
}

@media (min-width: 960px) {
    #history .content h3 {
        font-size: 24px;
    }
}

#history .content h3::after {
    background-color: transparent;
}

#history .content p {
    line-height: 1.8;
}

dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

dl dt {
    text-align: right;
    width: 8.5em;
    padding: 0.5em 1.0em 0.5em 0.5em;
    position: relative;
}

dl dt::after {
    content: '●';
    position: absolute;
    right: -0.55em;
    top: 5px;
    font-size: 22px;
    color: green;
}

dl dd {
    width: calc(100% - 8.5em);
    padding: 0.5em 2.0em 3.0em;
    border-left: 2px solid #ccc;
}

dl dd h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 5px;
}

/* ニュース */

.news {
    background-color: #555;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    height: 340px;
    line-height: 30px;
    padding-top: 180px;
    width: 100%;
    background-size: 100%;
    text-align: center;
    font-weight: bold;
    color: #FFF;
    font-size: 34px;
    letter-spacing: 0.1em;
    -moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    -ms-text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}


@media (min-width: 960px) {
    #news_01 {
        background-image: url(../news/img/01.jpg);
        object-fit: cover;
    }
}

/* スライダー（slick） */
.slider a {
    position: relative;
}

.slider a span {
    display: inline-block;
    background-color: #36BEAD;
    color: #FFF;
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    letter-spacing: 1px;
    z-index: 10;
}

.slider a span.cl_1 {
    background-color: #333;
}

.slider a span.cl_2 {
    background-color: #36BEAD;
}

.slider a span.cl_3 {
    background-color: #FF9900;
}

.slider a span.cl_4 {
    background-color: gray;
}

/* YouTube*/
.youtube {
    background-color: #ffffff;
    padding: 50px 0;
}
.youtube-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube-ratio {
    max-width: 800px;
}

.youtube-ratio iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube_sub_title {
    display: block;
    margin-bottom: 40px;
}
