@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 colors to suit your needs*/
ins {
    background-color: var(--white);
    color:var(--black);
    text-decoration:none;
}
mark {
    background-color:var(--white);
    color:var(--black);
    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 {
    height: 100%;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
:root {
    --yellow-primary: #EAC200;
    --yellow-secondary: #FEFDF8;
    --yellow-tertiary: #FFF5D6;
    --green-primary:#6C960E;
    --green-secondary:#F4F5E5;
    --white: #FFFFFF;
    --black: #3B3938;
    --link: #c71585;
}
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(--black);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}
p { 
    line-height: 1.5; 
}
a { 
    text-decoration: none; 
    color: var(--black);
    /* display: inline-block; */
}
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;
}

/* 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: normal;
    text-align: left;
}
h2 {
    font-size: 2.4rem;
    font-weight: bold;
}
h3 {
    font-size: 2rem;
    font-weight: bold;
}


.link_item_container {
    padding-top: 40px;
}
.link_item_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 24px;

}

/*======================================================================
  HEADER
======================================================================*/
/* mv */
.mv {
    background: url(images/mv.png) repeat-x center top;
    text-align: center;
    min-height: 440px;
}
.mv_inner {
    max-width: calc(768px * 0.75);
    margin: 0 auto;
    padding: 116px 24px 24px;
    gap: 4rem;
}
.mv_inner .flexBox {
    gap: 2.4rem;
    align-items: center;
}
.mv .logo {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
}
.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.mv .new_post {
    display: flex;
    padding: 32px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 64px 64px 64px 0;
    background: var(--green-secondary);
    /* margin-top: 40px; */
}
.mv .new_post-top {
    color: var(--green-primary);
    font-weight: bold;
}
.mv .new_post-bottom {
    font-weight: bold;
    text-align: left;
}


/*ハンバーガーボタン*/
.el_hamburger {
    position: fixed;
    top: 2.4rem;
    left: calc((50% + 2.4rem) - 768px / 2);
    width: 40px;
    height: 34px;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.el_hamburger:hover span{
    opacity: .5;
}
.el_hamburger > span {
    display: block;
    margin-bottom: 8px;/*border間隔*/
    width: 40px;
    height: 6px;/*border太さ*/
    font-size: 0;
    border-radius: 4px;
    background: var(--black);/*border色*/
    transition: all 0.2s ease-in-out;
}
.el_hamburger > span:nth-child(3) {
    margin-bottom: 0;
}
.js_hamburgerOpen .el_hamburger > span.top {
    transform: translateY(14px) rotate(-45deg);
}
.js_hamburgerOpen .el_hamburger > span.middle {
    opacity: 0;
}
.js_hamburgerOpen .el_hamburger > span.bottom {
    transform: translateY(-14px) rotate(45deg);
}
@media screen and (max-width: 768px) {
    .el_hamburger {
        left: 2.4rem;
    }
}

/*ナビゲーション*/
.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(--white);
    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: #ccc 2px solid;
}
.gnav li > a {
    display: block;
    color: var(--black);
    text-decoration: none;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    text-align: center;
    font-weight: bold;
}
.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(--black);
}
.breadcrumb ul li:first-child {
	margin-left: 0;
}
.breadcrumb ul li a span {
	font-weight: bold;
    color: var(--black);
}

/*======================================================================
  FOOTER
======================================================================*/
.footer_inner {
    background: var(--yellow-primary);
    border-radius: 64px 12px 12px 12px;
} 
.footer_inner .boxWrap {
    padding: 48px 48px 36px 48px;
}
.fnav > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}
.fnav ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}
.fnav ul li a {
    display: inline-block;
    font-weight: bold;
}
.pagetop {
    font-weight: bold;
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0 56px 0 0;
}
.pagetop::after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    background: url(./images/arrow_shape_up.png) no-repeat center var(--white);
    border-radius: 100%;
}
footer small {
    position: relative;
    display: block;
    text-align: center;
    padding: 24px;
}
@media screen and (max-width: 768px) {
    .footer_inner .boxWrap {
        padding: 48px 24px 36px 24px;
    }
    .fnav ul {
        flex-direction: column;
    }
    .fnav ul li {
        width: 100%;
    }
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
  background: var(--yellow-secondary);
  padding: 40px 0;
}
.recommend_wrap {
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
}
.recommend ul {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    text-align: center;
    align-items: stretch;
}
.recommend ul li {
    box-sizing: border-box;
    display: flex;
}
.recommend .category_link {
    font-weight: bold;
    min-height: 45px;         /* 好みで調整 */
    padding: 12px 16px;
    background: var(--yellow-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    box-sizing: border-box;
    border: 2px solid var(--yellow-primary);
}
.recommend .category_link:hover {
    background: var(--white);
    color: var(--yellow-primary);
    border: 2px solid var(--yellow-primary);
    opacity: 1;
}
.recommend .trimming {
  margin-top: 20px;
  height: 213px;
  border-radius: 24px;
  position: relative;
}
.recommend .trimming h3 {
  display: inline-block;
  text-align: center;
  color: var(--yellow-primary);
  background: var(--white);
  border-radius: 24px 24px 24px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 16px;
  padding: 16px;
  width: calc((384 / 640) * 100%);;
}
.recommend .boxWrap p {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
    .recommend_wrap {
        padding: 12px;
    }
    .recommend ul {
        flex-direction: column;
    }
}

/*======================================================================
  INDEX
======================================================================*/
.index {
    gap: 40px;
}
/* index_head */
.index_head {
    position: relative;
    width: 720px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 24px;
    background: url(./images/illust.png) bottom right no-repeat var(--yellow-tertiary);
    z-index: 0;
    box-sizing: border-box;
}
.index_head .boxWrap {
    padding: 0 2px;
}
.index_inner {
    max-width: 449px;
    gap: 12px;
}
.index_title {
    font-size: 20px;
    font-weight: bold;
}
.index_title span {
    font-size: 16px;
    font-weight: bold;
}

/* index_cat */
.index_cat {
    background: var(--green-primary);
    padding: 48px 0;
    margin-top: 24px;
    border-radius: 0 64px 0 0;
}
.index_cat h2 {
    color: var(--white);
}
.index_cat ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem 2.4rem;
    margin-top: 2.4rem;
    text-align: center;
    align-items: stretch; 
}
.index_cat li {
    box-sizing: border-box;
    width: calc((100% - 2.4rem) / 2);
    display: flex;
}
.index_cat_link {
    font-weight: bold;
    min-height: 24px;
    padding: 16px;
    border: 1px solid var(--white);
    background: var(--white);
    border-radius: 24px 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    width: 100%;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .index_head {
        width: 100%;
    }
    .index_head::after {
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        z-index: -1;
    }
    .index_cat ul {
        flex-direction: column;
    }
    .index_cat li {
        width: 100%;
    }
}

/*======================================================================
  CATEGORY
======================================================================*/
/* category */
.category {
    background: url(./images/category.png)top left no-repeat;
}

/* category_head */
.category_head {
    padding: 40px 0 48px;
    gap: 16px;
}

/* category_post */
.category_post {
    padding-bottom: 40px;
}
.category_post ul {
    gap: 20px;
}
.category_post li {
    border-radius: 24px;
    border: 4px solid var(--yellow-tertiary);
    padding: 24px;
    gap: 20px;
}
.category_post li div {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.category_post h3 {
    font-size: 16px;
}
.category_post h3 a {
    display: inline-block;
}
.category_post .trimming {
    border-radius: 24px;
    height: 168px;
}
.category_post .btn {
    background: url(./images/category_btn.png) no-repeat right 15px center var(--yellow-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 144px;
    height: 48px;
    border-radius: 999px;
    font-weight: bold;
    color: var(--black);
    padding-right: 5px;
    box-sizing: border-box;
}
.category_post .btn:hover {
    background: var(--white);
    border: 2px solid var(--yellow-primary);
    opacity: 1;
}
@media screen and (max-width: 500px) {
    .category_post li {
        padding: 24px 12px;
    }
    .category_post li div {
        flex-direction: column;
    }
}


/*======================================================================
  DETAIL
======================================================================*/
.detail time {
    color: var(--green-primary);
    padding: 4px 8px;
    background: var(--green-secondary);
	border-radius: 4px;
}
.detail h2 {
    margin-top: 8px;
    margin-bottom: 12px;
}
.detail_post {
    margin-top: 27px;
}
.detail_post h3 {
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--yellow-primary);
    padding-bottom: 8px;
}
.detail_post h3:not(:first-of-type) {
    margin-top: 40px;
}

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

/* リンク設置 */
.link_item {
    display: inline-block;
    margin: 1em 0;
}

/* Ninja Forms */
.nf-form-content input[type="submit"] {
	color: #fff !important;
	background: #EAC200 !important;
	border-radius: 8px;
}
.nf-form-content input[type="submit"]:hover {
	background:#FEFDF8 !important;
	color: #EAC200 !important;
	border: 1px solid #EAC200 !important;
	border-radius: 8px;
}

