@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 {
    --base: #F9F5EC;
    --primary: #141437;
    --secondary: #FF8A00;
    --white: #FFFFFF;
    --link: #ff1818;
}
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(--primary);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}
p { 
    line-height: 1.5; 
}
a { 
    text-decoration: none; 
    color: var(--primary);
}
img {
    max-width: 100%;
    height: auto;
}

/* 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;
}

body {
    background: var(--base);
}
h1 {
    font-size: 2rem;
    color: var(--white);
}
h2 {
    font-size: 2.4rem;
    font-weight: bold;
}
h3 {
    font-size: 2rem;
    font-weight: bold;
}
h4 {
    font-size: 2rem;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem; 
    }
}

/*======================================================================
  HEADER
======================================================================*/
/* mv */
.mv {
    position: relative;
    box-sizing: border-box;
    height: 498px;
    position: relative;
    background: url(images/mv.jpg) no-repeat center top / cover;
}
.mv::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;/* テキストとの間隔 */
    width: 301px;
    height: 109px;
    background: url(./images/object.png) no-repeat center;
    background-size: contain;
}
.mv::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(99, 99, 99, 0.06);;
}


/* header */
.header {
    min-height: 598px;
}
.header-logo {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-top: 16px;
    margin-left: -8px;
}
.header-inner {
    position: absolute;
    left: 0;
    bottom: 120px;
    max-width: 500px;
    width: 100%;
    gap: 8px;
}
.header-inner p {
    font-size: 4rem;
    font-weight: bold;
    color: var(--white);
}

@media screen and (max-width: 768px) {
    .header {
        min-height: 552px;
    }
    .header-inner {
        bottom: 160px;
        left: 0;
    }
    .header-inner p {
        font-size: 3rem; 
    }
    .header-logo {
        margin-left: 0;
    }
    
}

/* header_post */
.header_post {
    text-align: center;
    box-sizing: border-box;
    border-radius: 4px;
    border: 2px solid var(--secondary);
    background: var(--white);
    width: calc(768px * 0.5);
    gap: 4px;
    padding: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -46px;

}
.header_post .header_news {
    color: var(--secondary);
    font-weight: bold;
}
.header_post a {
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    .header_post{
        bottom: 16px; 
        width: calc(100% - 32px);
    }
} 

/*ハンバーガーボタン*/
.el_hamburger {
    position: fixed;
    top: 24px;
    right: calc((50% + 2.4rem) - 768px / 2);
    width: 40px;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    padding: 8px;border-radius: 8px;

}
.el_hamburger span {
    display: block;
    width: 40px;
    height: 4px;
    /*border太さ*/
    border-radius: 999px;
    font-size: 0;
    background-color: var(--white);
    /*border色*/
    transition: transform 0.2s ease-in-out;
}
.el_hamburger:hover span {
    opacity: 0.5;
}
.js_hamburgerOpen .el_hamburger > span.top {
    transform: translateY(12px) rotate(-405deg);
}
.js_hamburgerOpen .el_hamburger > span.middle {
    opacity: 0;
}
.js_hamburgerOpen .el_hamburger > span.bottom {
    transform: translateY(-12px) rotate(405deg);
}
@media screen and (max-width: 768px) {
    .el_hamburger {
        top: 16px;
        right: 16px;
    }
}

/*ナビゲーション*/
.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(--base);
    z-index: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: auto;
}
.gnav {
    padding-top: 80px;
}
.gnav li {
    border-bottom: var(--primary) 1px solid;
}
.gnav li > a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    text-align: center;
}

/* breadcrumb */
.breadcrumb {
    padding-top: 46px;
}
.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;
}
.breadcrumb ul li:first-child {
	margin-left: 0;
}
.breadcrumb ul li a span {
	font-weight: bold;
}
@media screen and (max-width: 768px) {
    .breadcrumb {
        padding-top: 0;
    }
}

/*======================================================================
  FOOTER
======================================================================*/
.footer {
    background: var(--white);
    padding: 72px 0 48px;
}
.footer .boxWrap {
    position: relative;
    gap: 32px;
}
.footer ul {
    display: flex;
}
.footer li {
    border-right: 1px solid var(--primary);
    display: flex;
    width: 210px;
    min-height: 48px;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    align-self: stretch;
}
.footer li:first-of-type {
    border-left: 1px solid var(--primary);
}
.footer ul li a {
    display: inline-block;
    font-weight: bold;
    height: auto;
}
.footer .logo {
    margin: 0 auto;
}
.footer small {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer ul {
        flex-direction: column;
        gap: 16px;
    }
    .footer li {
        width: 100%;
        border-right: none;
        padding: 0;
    }
    .footer li:first-of-type {
        border-left: none;
    }
}

/* pagetop */
.pagetop {
    position: absolute;
    top: -115px;
    right: 24px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pagetop::after {
    content: '';
    display: block;
    width: 36px;
    height: 59px;
    background: url(images/arrow-top.svg) no-repeat center var(--primary);
    transition: .2s;
    border-radius: 999px;
}
/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    background: var(--base);
    padding-top: 48px;
    padding-bottom: 72px;
}
.recommend h2 {
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.recommend h2::after {
    content: "";
    position: absolute;
    left: 140px;
    top: -20px;
    width: 112px;
    height: 53px;
    background: url(./images/recommend-object.png) no-repeat center;
    background-size: contain;
    z-index: -1;
}
.recommend h2 span {
    display: block;
    font-size: 2.4rem;
    font-weight: bold;
}
.recommend_post_list {
    margin-top: 28px;
    gap: 12px;
    counter-reset: num;
}
.recommend_post_img {
    position: relative;
    aspect-ratio: 720 / 240;
    border-radius: 80px 80px 0 0;
    border-top: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
}
.recommend_post_item {
    box-sizing: border-box;
    position: relative;
    padding: 16px 16px 16px 120px;
    background: var(--white);
    min-height: 124px;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    display: flex;
    align-items: center;
}
.recommend_post_item:first-of-type {
    display: block;
}

  /* 左側のグラデーション + 数字 + アイコン */
.recommend_post_item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 104px;
    height: 100%;
    background: linear-gradient(167deg, rgba(67, 232, 244, 0.80) 0%, rgba(255, 250, 132, 0.80) 100%);
    border-right: 1px solid var(--primary);
  }
  
  /* 数字 */
  .recommend_post_item::after {
    content: counter(post-num);
    counter-increment: post-num;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 104px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
    content: counter(post-num);
    display: block;
    padding-top: 40px;
    background: url("./images/recommend-icon.png") no-repeat center 1px;
}

  /* カウンター初期化 */
.recommend_post_list {
    counter-reset: post-num;
}

.recommend_post_ttl {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
}
.recommend_post_txt {
    margin-top: 12px;
}

@media screen and (max-width: 600px) {
.recommend h2::after {
    left: 0;
}
}

/*======================================================================
INDEX
======================================================================*/
/* index-head */
.index-head{
    gap: 24px;
    padding: 48px 0;
}
.index-head span {
    display: block;
    font-size: 1.6rem;
}
.index-head h2{
    position: relative;
    text-align: center;
}
.index-head h2::after {
    content: "";
    position: absolute;
    left: 57px;
    top: -10px;
    width: 107px;
    height: 63px;
    background: url(./images/index-object.png) no-repeat center;
    background-size: contain;
    z-index: -1;
}

/* index-cat */
.index-cat{
    background: var(--white);
    padding: 48px 24px;
    margin: 0 auto;
}
.index-cat h3{
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--primary);
}
.index-cat li{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 83px 24px 0;
    border-bottom: 1px solid var(--primary);
    position: relative;
}
.index-cat h4 a{
    display: inline-block;
}
.index-cat .more{
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    width: 59px;
    height: 36px;
    background: url(images/arrow-right.svg) no-repeat center var(--primary);
    transition: .2s;
    border-radius: 999px;
}
.index-cat .index-img {
    border-radius: 8px;
    margin-top: 40px;
} 
@media screen and (max-width: 600px) {
    .index-head h2::after {
        left: 0;
    }
}


/*======================================================================
CATEGORY
======================================================================*/
.category  {
    padding: 48px 24px;
    gap: 96px;
}

/* category_top */
.category_top {
    position: relative;
}
.category_top h2 {
    position: absolute;
    bottom: -46px;
    box-sizing: border-box;
    font-size: 2rem;
    color: var(--white);
    padding: 16px;
    width: calc(720px * 0.8);
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: linear-gradient(110deg, #B3E4B9 16.84%, #04B9C2 58.52%);
}
.category_top .trimming{
    border-radius: 16px;
    aspect-ratio: 720 / 240;
}

/* category_post */
.category_post {
    gap: 40px;
}
.category_post h3 {
    text-align: center;
}
.category_post ul {
    gap: 24px;
}
.category_post li {
    gap: 12px;
}
.category_post h4 a {
    display: inline-block;
}
.category_post .trimming{
    position: relative;
    aspect-ratio: 720 / 200;
    border-radius: 16px 16px 0 16px;
}
.category_post .trimming time {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    bottom: 0;
    right: 0;
    background-color: var(--white);
    font-weight: bold;
    border-radius: 16px 0 0 0;
}
@media screen and (max-width: 768px) {
    .category_top h2 {
        font-size: 1.6rem;
        width: 80%;
    }
    .category_post h4 {
        font-size: 1.8rem;
    }
}


/*======================================================================
  DETAIL
======================================================================*/
.detail{
    padding: 48px 0 24px;
}
.detail .boxWrap{
    gap: 48px;
}

/* detail_top */
.detail_top {
    gap: 8px;
}
.detail_top h2 {
    font-size: 3.2rem;
}
.detail_top time {
    font-weight: bold;
    color: #8D8D9A;
}

/* detail_post */
.detail_post h3{
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    margin-bottom: 12px;
}
.detail_post h3:not(:first-of-type){
    margin-top: 40px;
}

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

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

@media screen and (max-width: 768px) {
    .detail_top h2 {
        font-size: 2.8rem;
    }
}