@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 {
    --mono-100: #2F2725;
    --mono-0: #FFFFFF;
    --primary: #FCD41A;
    --secondary:#F8F8EC;
    --tertiary: #E0DFDD;
    --quaternary: #A2A37B;
    --link: #00b9e1;
}
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(--mono-100);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}
p { 
    line-height: 1.5; 
}
a { 
    text-decoration: none; 
    color: var(--mono-100);
    /* display: inline-block; */
}
img {
    line-height: 1;
    vertical-align: bottom;
}

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

/*======================================================================
  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: bold;
    font-size: 1.8rem;
	text-shadow: 0 1px 1px var(--mono-0);
}
h2 {
    font-size: 4.8rem;
    font-weight: bold;
}
h3 {
    font-size: 3rem;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    .boxWrap {
        padding: 0 12px;
    }
    h2 {
        font-size: 3.6rem;
    }
    h3 {
        font-size: 2.4rem;
    }
}

/*======================================================================
  HEADER
======================================================================*/
.header_inner {
    max-width: 768px;
    margin: 0 auto;
    box-sizing: border-box;
    background: url('./images/header.jpg') no-repeat center top;
    min-height: 253px;
    padding: 24px 40px;
    height: auto;
}
.header-inner--mv {
    position: relative;
}
.logo {
    display: block;
    max-width: 511px;
    width: 100%;
}
.header img,
.footer img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* menu_button */
.menu_button {
    position: absolute;
    display: flex;
    width: 40px;
    height: 40px;
    top: 94px;
    right: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}
.menu_button:hover {
    opacity: 0.7;
}
.menu_button span {
    display: block;
    margin: 0 auto 8px;
    width: 22px;
    height: 2px;
    font-size: 0;
    margin-bottom: 5px;
    background: var(--mono-100);
}
.menu_button > span:nth-child(3) {
    margin-bottom: 0;
}
.js_hamburgerOpen .menu_button > span.top {
    transform: translateY(7px) rotate(-45deg);
}
.js_hamburgerOpen .menu_button > span.middle {
    opacity: 0;
}
.js_hamburgerOpen .menu_button > span.bottom {
    transform: translateY(-7px) rotate(45deg);
}


/* menu-main */
.menu-main {
    max-height: 0;
    overflow: hidden;
    background: var(--primary);
    transition: 0.3s ease-in-out;
    margin: 60px 0 16px;
}

.menu-main ul li {
    border-bottom: 1px solid var(--mono-100);
}
.menu-main ul li a {
    display: block;
    padding: 1em;
    color: var(--mono-100);
    font-weight: bold;
    text-align: center;
    
}

/* 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);
}
@media screen and (max-width: 500px) {
    .header_inner {
        padding: 24px 12px;
    }
    .menu_button {
        top: 60px;
    }
    
}

/*======================================================================
  FOOTER
======================================================================*/
.footer {
    background: var(--mono-100);
    padding: 54px 0;
    text-align: center;
}
.footer .boxWrap {
    padding: 0 54px;
}
.pagetop {
    display: inline-block;
    margin: 0 auto;
}
.pagetop img {
    margin: 0 auto;
}
.pagetop span {
    font-size: 14px;
    color: var(--mono-0);
    display: block;
    margin: 8px 0 0;
}
.footer_tag {
    background: var(--primary);
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 131px;
    margin-top: 28px;
}
.fnav > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 28px;
}
.fnav ul {
    border-left: 1px solid var(--secondary);
    text-align: left;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fnav ul li a {
    display: inline-block;
    color: var(--mono-0);
}
.fnav ul li a:hover {
    text-decoration: underline;
}
.footer .logo {
    margin: 0 auto 28px;
}
.footer small {
    color: var(--mono-0);
    width: 100%;
    border-top: 2px solid var(--tertiary);
    display: block;
    padding-top: 28px;
}
@media screen and (max-width: 768px) {
    .footer .boxWrap {
        padding: 0 12px;
    }
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    background: var(--secondary);
    padding: 54px 0 84px;
}
.recommend h2 {
    text-align: center;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 16px;
}
.recommend ul {
    margin-top: 75px;
    gap: 100px;
}
.recommend li {
    padding: 0 28px;
    position: relative;
    gap: 24px;
    box-sizing: border-box;
}
.recommend li::before {
    position: absolute;
    content:"";
    background: url(./images/recommend_top.png)no-repeat center / contain;
    display: block;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    height: 30px;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 720 / 30;
    box-sizing: border-box;
}
.recommend li::after {
    position: absolute;
    content:"";
    background: url(./images/recommend_bottom.png)no-repeat center / contain;
    display: block;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    height: 30px;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 720 / 30;
    box-sizing: border-box;

}
.recommendCategory {
    display: block;
    position: relative;
}
.recommend span {
    position: absolute;
    top: 28px;
    left: 28px;
    display: inline-block;
    padding: 4px 28px;
    border-radius: 70px;
    background: var(--secondary);
    z-index: 1;
    box-sizing: border-box;
    max-width: 92%;
}
.recommend .trimming {
    height: 296px;
    border-radius: 4px;
}
.recommend h3 a {
    display: inline-block;
}
.recommend h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    opacity: .7;
}
@media screen and (max-width: 768px) {
    .recommend ul {
        gap: 80px;
    }
    .recommend li {
        padding: 0 12px;
    }
    .recommend span {
        left: 12px;
    }
    .recommend h3 {
        font-size: 2.4rem;
    }
}

/*======================================================================
  INDEX
======================================================================*/
.index {
    background: var(--primary);
    padding: 108px 0 54px;
}
.index_head {
    position: relative;
    background: var(--secondary);
    padding: 24px 30px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}
.index_head::before {
    position: absolute;
    content:"";
    background: url(./images/index01.png)no-repeat center / contain;
    display: block;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    height: 111px;
    width: 80%;
    max-width: 300px;
    aspect-ratio: 300 / 111;
}
.index_head h2 span {
    display: block;
	font-size: 1.6rem;
    color: var(--primary);
}
.index li {
    background: var(--secondary);
    padding: 48px 30px 60px;
    border-top: 1px solid var(--tertiary);
}
.index li:last-of-type {
	border-radius: 0 0 8px 8px;
}
.index li a {
    position: relative;
    display: block;
    width: 100%;
}
.index li a:hover h3 span {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.index li a::before {
    position: absolute;
    content: "";
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    width: 270px;
    height: 56px;
    border-radius: 70px;
    z-index: 1;
}
.index li time {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.index .trimming {
    height: 184px;
    border-radius: 4px;
}
.index h3 {
    width: 87%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
}
.index h3 span {
    font-size: 3rem;
    color: var(--mono-0);
    background: var(--mono-100);
    border-radius: 70px;
    padding: 8px 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; 
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .index_head {
        padding: 24px 15px;
    }
    .index li {
        padding: 48px 15px 60px;
    }
    .index h3 span {
        font-size: 2.4rem;
        padding: 5px 25px;
    }
    .index_head::before {
        top: -75px;
    }
    .index li a::before {
        width: 70%;
    }
}

/*======================================================================
  CATEGORY
======================================================================*/
/* category */
.category {
    padding-top: 30px;
}

/* category_head */
.category_head {
    background: var(--secondary);
    padding: 30px 0;
}
.category_head-inner {
    padding: 68px 30px 24px;
    position: relative;
    box-sizing: border-box;
}
.category_head-inner::before {
    position: absolute;
    content: "";
    display: block;
    background: url(./images/category_head-left.svg) no-repeat center / cover;
    width: 152px;
    height: 152px;
    top: 20px;
    left: 0;
}
.category_head-inner span {
    position: absolute;
    content: "";
    display: block;
    background: url(./images/category_head-center.svg) no-repeat center / cover;
    width: 75px;
    height: 75px;
    top: 125px;
    right: 175px;
    z-index: 1;
}
.category_head-inner::after {
    position: absolute;
    content: "";
    display: block;
    background: url(./images/category_head-right.svg) no-repeat center / cover;
    width: 138px;
    height: 138px;
    top: 145px;
    right: 0px;
    z-index: 2;
}
.category_head .trimming {
    border-radius: 4px;
    align-items: stretch;
    padding: 24px;
    box-sizing: border-box;
}
.category_head img {
    max-width: 100%;
    height: auto;
    display: block;
}
.category_head h2 {
    font-size: 3rem;
    width: 100%;
    box-sizing: border-box;
    padding: 24px; /* ←高さ固定ではなくpaddingで調整 */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    position: relative; /* ←absoluteを外す */
    min-height: 138px;   /* ←高さ固定をやめる */
	text-shadow: 0 1px 1px var(--mono-0);
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.5);
}
.category_head p {
    margin-top: 58px;
}

/* category_post */
.category_post {
    padding: 80px 54px;
}
.category_post ul {
    gap: 100px;
}
.category_post li {
    position: relative;
    gap: 24px;
}
.category_post li::before {
    position: absolute;
    content: "";
    background: url(./images/category_post-left.svg)no-repeat center / contain;
    display: block;
    width: 50px;
    height: 75px;
    top: -40px;
    left: 5px;
    z-index: -1;
}
.category_post li::after {
    position: absolute;
    content: "";
    background: url(./images/category_post-right.svg)no-repeat center / contain;
    display: block;
    width: 50px;
    height: 75px;
    bottom: -40px;
    right: 5px;
    z-index: -1;
}
.category_post h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; 
    }
.category_post h3 a {
    display: inline-block;
}
.category_post a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
.category_post .trimming {
    border-radius: 4px;
    height: 296px;
}
.category_post .more {
    background: var(--mono-100);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 253px;
    height: 51px;
    border-radius: 70px;
    color: var(--mono-0);
    box-sizing: border-box;
    margin: 0 auto;
}
.category_post .more:hover {
    text-decoration: underline;
}
@media screen and (max-width: 500px) {
    .category_head-inner {
        padding: 68px 12px 24px;
}
    .category_head h2 {
        padding: 12px;
    }
}
@media screen and (max-width: 768px) {
    .category_head h2 {
        font-size: 2.4rem;
    }
    .category_post {
        padding: 80px 12px;
    }
    .category_post li::after {
        bottom: -60px;
    }
}


/*======================================================================
  DETAIL
======================================================================*/
/* detail_head */
.detail_head {
    padding: 108px 0 54px;
    background: var(--secondary);
}
.detail_head-inner {
    max-width: 660px;
    position: relative;
    background: var(--mono-0);
    border-radius: 4px;
    gap: 24px;
    padding: 24px;
}
.detail_head-inner::before {
    position: absolute;
    content:"";
    background: url(./images/detail01.png)no-repeat center / contain;
    display: block;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    height: 111px;
    width: 80%;
    max-width: 300px;
    aspect-ratio: 300 / 111;
}
.detail_head-title {
    display: block;
    color: var(--primary);
    font-weight: bold;
    text-align: center;
}
.detail_category_list{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 8px;
}
.detail_category_list li a{
    display: inline-block;
    color: var(--mono-0);
    background: var(--mono-100);
    padding: 4px 16px;
    border-radius: 70px;
}
.detail_category_list li a:hover {
    color: var(--mono-100);
    background: var(--primary);
}
.detail_head h2 {
    font-size: 3rem;
}
.detail_head .trimming {
    height: 218px;
    border-radius: 4px;
}

/* detail_post */
.detail_post {
    padding: 54px;
}
.detail_post h3 {
    padding-left: 54px;
    background: url(./images/detail-icon.svg) no-repeat left top;
    background-size: 45px 45px;
} 
.detail_post .trimming {
    overflow: inherit;
    position: relative;
    max-width: 630px;
    height: auto;
    aspect-ratio: 630 / 179;
    border-radius: 4px;
    margin: 24px 0 34px;
}
.detail_post .trimming img {
    object-fit: cover;
    border-radius: 4px;
    aspect-ratio: 630 / 179;
    max-width: 630px;
    height: auto;
}
.detail_post .trimming::before {
    position: absolute;
    display: block;
    content: "";
    width: 630px;
    height: auto;
    aspect-ratio: 630 / 179;
    top: 10px;
    left: 10px;
    border-radius: 4px;
    background-color: var(--tertiary);
    overflow: inherit;
}
.detail_post h3:not(:first-of-type) {
    margin-top: 40px;
}

.link-img-fit {
	display: inline-block;
	max-width: 310px;
    overflow: hidden;
    aspect-ratio: 310 / 60;
}
.link-img-fit img {
	object-fit: cover;
    object-position: left;
	max-width: 100%;
    height: 100%;
}

.link-bg {
	display: inline-block;
	border-radius: 10px;
	padding: 10px;
	background: var(--tertiary);
}

/* 引用 */
blockquote {
    position: relative;
    padding: 40px 10px 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    color: var(--mono-100);
    background: var(--secondary);
    border-radius: 24px;
    margin-top: 16px;
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0px;
    content: "“";
    color: var(--primary);
    font-size: 90px;
    line-height: 1;
}
blockquote p {
    padding: 0;
    margin: 10px 0;
}


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

/* リンク設置 */
.link_item {
    display: inline-block;
    margin-bottom: 1em;
}
.link_item li + li {
    margin-top: 1em;
}
.link_item img {
	max-width: 100%;
	height: auto;
}
.link_item-02 {
	margin: 1em 0;
}

@media screen and (max-width: 768px) {
    .detail_head-inner {
        padding: 24px 12px;
    }
    .detail_head-inner .boxWrap {
        padding: 0 12px;
    }
    .detail_head::before {
        top: -75px;
    }
    .detail_head h2 {
    font-size: 2.4rem;
    }
    .detail_post {
        padding: 24px 12px;
    }
    .detail_post h3 {
        font-size: 3rem;
    }
    .detail_post .trimming::before {
        width: 100%;
    }
    .detail_category_list {
        flex-direction: column;
    }
    .detail_category_list li {
        width: 100%;
    }
}


