@charset "UTF-8";
/*======================================================================
Reset CSS for HTML5
======================================================================*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, main, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
img {
    line-height: 1;
    vertical-align: bottom;
}

/*change colours to suit your needs*/
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}


/*======================================================================
  BASIC
======================================================================*/
html,body {
    box-sizing: border-box;
    height: 100%;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
:root {
    --beigu: #F7F3EB;
    --beigu2: #FBF8F4;
    --green: #286432;
    --white: #FFFFFF;
    --balck: #272727;
    --link: #f58b07;
}
body {
    line-height: 1.5;
    font-family: "Yu Gothic" , "Yu Gothic UI" , "Segoe UI" , "游ゴシック" , "Meiryo" , "Meiryo UI" , "メイリオ" , "Hiragino Sans" , "Sanfrancisco" , "Hiragino Kaku" , "Gothic ProN" , "Helvetica Neue" , "Noto Sans CJK JP" , "Roboto" , sans-serif;
    font-size: 1.6rem;
    color: var(--balck);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    background: #F2F2EB;
}
p { 
    line-height: 1.5; 
}
a { 
    text-decoration: none; 
    color: var(--balck);
}
img {
    line-height: 1;
    vertical-align: bottom;
}

/* mouseover - opacity */
body a:hover {
	opacity: 0.5;
}

/*======================================================================
  FORMAT
======================================================================*/
/* block class */
.boxWrap {
	max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .boxWrap{
        padding: 0 16px; 
    }
}

/* flexBox */
.flexBox {
    display: flex;
    flex-direction: column;
}

/* float */
.fl { float: left;}
.fr { float: right;}

/* trimming */
.trimming {
    display: block;
    position: relative;
    overflow: hidden;
}
.trimming img {
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: auto;
    margin: auto;
}

h1 {
    font-weight: inherit;
}
h2 {
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
}
h3 {
    font-size: 2.4rem;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2.8rem; 
    }
    h3 {
        font-size: 2rem;
    }
}

/*======================================================================
  HEADER
======================================================================*/
.header_top {
    background: var(--green);
    padding: 16px 40px 16px 24px;
}
.header_logo {
    display: inline-block;
}
.header_logo img {
    max-width: 100%;
    height: auto;
}
.mv_flex {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}
.mv_flex img {
    width: 440px;
    max-width: 100%;
    
    height: auto;
}
.mv_inner {
    gap: 16px;
    text-align: left;
}
.mv_inner p {
    font-size: 2rem;
    font-weight: bold;
}
.header_post {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid var(--green);
    border-radius: 999px;
    margin-top: 24px;
}
.header_news {
    font-weight: bold;
    color: var(--green);
    border-right: 1px solid var(--green);
    padding-right: 16px;
}
.header_post a {
    padding: 0 16px;
    font-weight: bold;
}
.header_post a:hover {
    color: var(--green);
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .mv_flex {
        flex-direction: column; 
    }
    
}

/*ハンバーガーボタン*/
.el_hamburger {
    position: absolute;
    top: 1.9rem;
    right: calc((50% + 2.4rem) - 768px / 2);
    width: 24px;
    height: 19px;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.el_hamburger > span {
    display: block;
    margin-bottom: 8px;/*border間隔*/
    width: 24px;
    height: 1px;/*border太さ*/
    font-size: 0;
    background: var(--white);/*border色*/
    transition: all 0.2s ease-in-out;
}
.el_hamburger:hover {
    opacity: .5;
}
.el_hamburger > span:nth-child(3) {
    margin-bottom: 0;
}
.js_hamburgerOpen .el_hamburger > span.top {
    transform: translateY(9px) rotate(-45deg);
}
.js_hamburgerOpen .el_hamburger > span.middle {
    opacity: 0;
}
.js_hamburgerOpen .el_hamburger > span.bottom {
    transform: translateY(-10px) rotate(45deg);
}
@media screen and (max-width: 768px) {
    .el_hamburger {
        top: 1.4rem;
        right: 1.2rem;
    }
}

/*ナビゲーション*/
.uq_spNavi {
    display: none;
}
.uq_spNavi.js_appear {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    z-index: 9999;
}
.uq_spNavi_screen {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--green);
    z-index: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: auto;
}
.gnav {
    padding-top: 5rem;
    max-width: 768px;
    margin: 0 auto;
}
.gnav li {
    border-bottom: var(--white) 1px dotted;
    text-align: center;

}
.gnav li > a {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    padding: 1.5rem;
}
.js_fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

/* breadcrumb */
.breadcrumb ul {
	display: block;
	max-width: 768px;
	margin: 0 auto;
	padding: 1.5rem;
    box-sizing: border-box;
    text-align: left;
}
.breadcrumb ul li {
	display: inline-block;
	margin-left: 0.5rem;
    color: var(--balck);
}
.breadcrumb ul li:first-child {
	margin-left: 0;
}
.breadcrumb ul li a span {
	font-weight: bold;
    color: var(--balck);
}

/*======================================================================
  FOOTER
======================================================================*/
.footer {
    background: var(--green);
    padding: 24px 0;
}
.footer .boxWrap {
    padding: 0 24px;
    gap: 24px;
}
.pagetop{
    font-size: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.pagetop::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--white);
    background: url(images/arrow-wh.svg) no-repeat center var(--green);
    border-radius: 999px;
}
.pagetop:hover {
    opacity: 1;
}
.pagetop:hover::after {
    background: url(images/arrow-gr.svg) no-repeat center var(--white);
}
.footer small {
    color: #fff;
    text-align: center;
    display: block;
}


/*======================================================================
  RECOMMEND
======================================================================*/
.recommend_wrap {
    padding: 40px 0;
}
.recommend_wrap.flexBox {
    gap: 40px;
}
.recommned_wrap-top.flexBox,
.recommned_wrap-bottom.flexBox {
    gap: 24px;
}
.recommend_wrap .trimming {
    /* display: block; */
    position: relative;
    height: 200px;
}
.recommend_wrap .trimming:hover{
    opacity: 1;
}
.recommend_wrap .trimming::after {
    background: rgba(39, 39, 39, 0.50);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    content: "";
}
.recommend_wrap .trimming:hover::after {
    background: rgba(39, 39, 39, 0.80);
}
.recommend_title {
    position: absolute;
    width: 100%;
    padding: 10px 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-weight: bold;
    color: var(--white);
    z-index: 10;
    box-sizing: border-box;
    font-size: 2.4rem;
}
.recommend li + li {
    margin-top: 16px;
}
.recommend_wrap ul li {
    display: flex;
}
.recommend_wrap ul li .trimming {
    /* position: relative; */
    min-width: 232px;
    height: auto;
    min-height: 232px;
    box-sizing: border-box;
    align-items: stretch;
    flex: 1;
}
.recommend_wrap ul li .trimming img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* はみ出し防止、トリミング */
    display: block;
}
.recommend_wrap ul li .trimming::after {
    background: inherit;
}
.recommend_wrap ul li .trimming:hover::after {
    background: rgba(39, 39, 39, 0.20);
}
.recommend-cate {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    padding: 24px;
    min-width: 488px;
    background: var(--white);
    box-sizing: border-box;
}
.recommend_ttl a {
    display: inline-block;
}
.recommend_ttl a:hover {
    color: var(--green);
    opacity: 1;
}

.rec_cat {
    display: block;
    color: var(--green);
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: bold;
    max-width: 256px
}
.rec_cat + .rec_cat {
    margin-top: 8px;
}
.rec_cat:hover {
    background: var(--green);
    color: var(--white);
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .recommend_wrap ul li {
        flex-direction: column;
    }
    .recommend_wrap ul li .trimming {
        width: 100%;
    }
    .recommend-cate {
        min-width: 100%;
    }
    .rec_cat {
        max-width: 100%;
    }
}


/*======================================================================
  INDEX
======================================================================*/
/* index_head */
.index_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 208px;
    padding: 24px;
    box-sizing: border-box;
    background: url(./images/index.jpg) lightgray 50% / cover no-repeat;
}
.index_inner .flexBox {
    padding: 24px;
    color: var(--white);
    background: rgba(39, 39, 39, 0.50);
    gap: 16px;
}

/* index_cat */
.index_cat {
    background: var(--green);
    padding: 40px 0;
    margin-top: 24px;
}
.index_cat h2 {
    color: var(--white);
}
.index_cat ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem 1.6rem;
    margin-top: 2.4rem;
    text-align: center;
    align-items: stretch; 
}
.index_cat li {
    box-sizing: border-box;
    width: calc((100% - 1.6rem) / 2);
    display: flex;
}
.index_cat_link {
    font-weight: bold;
    min-height: 24px;
    padding: 16px 24px;
    border: 1px solid var(--white);
    background: var(--green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    width: 100%;
}
.index_cat_link:hover {
    background: var(--white);
    color: var(--green);
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .index_cat ul {
        flex-direction: column;
    }
    .index_cat li {
        width: 100%;
    }
}

/*======================================================================
  CATEGORY
======================================================================*/
/* category_wrap */
.category_wrap {
    margin-top: 40px;
}

/* category_head */
.category_head {
    gap: 16px;
}
.category_head img {
    height:160px;
    width: 100%;
    object-fit:cover;
}
.category_head h2 {
    color: var(--white);
    padding:16px;
    background-color:var(--green);
    border-bottom: none;
    text-align: center;
}
.category_head p {
    margin: 16px 0 24px;
}

/* category_post */
.category_post {
    padding: 40px 0;
}
.category_post ul {
    gap: 40px;
}
.category_flex {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.category_flex .text_group {
    width: 476px;
    gap: 16px;
}
.category_flex .text_group h3 a:hover {
    opacity: 1;
    color: var(--green);
}
.category_flex .text_group ul {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.category_flex .text_group li {
    color: var(--white);
    background: var(--green);
    padding: 4px 16px;
    border-radius: 4px;
    font-weight: bold;
    width: calc((100% - 8px) / 2);
    display: flex;
    align-items: center;
}
.category_flex img {
    position: relative;
    object-fit: cover;
    width: 220px;
    min-height: 220px;
    height: 100%;
}
.category_flex > a {
    position: relative;
}
.category_flex > a:hover {
    opacity: 1;
}
.category_flex > a:hover::after {
    background: rgba(39, 39, 39, 0.20);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} 
.category_post .btn {
    display: block;
    width:100%;
    border:1px solid var(--green);
    color: var(--green);
    text-align:center;
    border-radius: 999px;
    box-sizing:border-box;
    margin-top:24px;
    padding: 16px;
    font-weight: bold;
}
.category_post .btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .category_flex {
        flex-direction: column;
        gap: 10px;
    }
    .category_flex a {
        width: 100%;
    }
    .category_flex .text_group {
        width: 100%;
        height: auto;
    }
    .category_flex .text_group ul {
        flex-direction: column;
    }
    .category_flex img {
        width: 100%;
        height: 220px;
    }
}
@media screen and (max-width: 420px) {
    .category_flex .text_group li {
        width: 90%;
    }
}



/*======================================================================
  DETAIL
======================================================================*/
/* detail_head */
.detail_head {
    gap: 24px;
    padding: 40px 0;
}
.detail_head h2 {
    text-align: left;
}
.detail_cat_list {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.detail_cat_item {
    flex: 1;
    display: flex;
}
.detail_cat_link {
    box-sizing: border-box;
    width: 356px;
    height: auto;
    display: inline-block;
    color: var(--green);
    padding: 8px 16px;
    border: 1px solid var(--green);
    border-radius: 8px;
    font-weight: bold;
    
    display: flex; 
    align-items: center;
}
.detail_head .trimming {
    height: 160px;
}
.detail_cat_link:hover {
    opacity: 1;
    color: var(--white);
    background: var(--green);
}


/* detail_post */
.detail_post p {
    padding: 16px 0 40px;
}
.detail_post h3:not(:first-of-type) {
    border-top: 1px solid var(--green);
    padding-top: 40px;
}
.detail_post .pb16 {
	padding-bottom: 16px;
}

/* メアド設置 */
.detail_post a{
    color: var(--link);
    font-weight: bold;
}

/* リンク設置 */
.detail_post .link_item {
    display: inline-block;
    margin: 1em 0;
    padding: 0;
}
.detail_post .link_item a {
    display: block;
    margin-bottom: 1em;
    width: fit-content;
}


@media screen and (max-width: 768px) {
    .detail_cat_list {
        flex-direction: column;
    }
}


