@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 {
    --bg: #FFFCE3;
    --primary: #FFE018;
    --secondary:#2AC1F8;
    --orange: #FF9318;
    --green: #24902F;
    --black: #303030;
    --gray: #E5E3CE;
    --white: #FFFFFF;
    --link: #f90d34;
}
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%;
    background: var(--bg);
}
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;
}

img {
    max-width: 100%;
    height: auto;
}

/* 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-size: 2.4rem;
}
h2 {
    font-size: 3.2rem;
}
h3 {
    font-size: 2.4rem;
}
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 2rem;
    }
}

/*======================================================================
  HEADER
======================================================================*/

.mv {
    max-width: 768px;
    margin: 0 auto;
    box-sizing: border-box;
    background: url('./images/header.png') no-repeat center bottom;
    min-height: 465px;
    padding: 24px 24px 0 24px;
    height: auto;
    position: relative;
}
.header_inner {
    position: absolute;
    max-width: 480px;
    min-height: 280px;
    padding: 40px 48px;
    top: 133px;
    left: 0;
    justify-content: space-between;
    box-sizing: border-box;
}
.header_inner p {
    font-weight: bold;
}
.logo {
    display: block;
    max-width: 240px;
    width: 100%;
	z-index: 1;
}
.header img,
.footer img {
    display: block;
    max-width: 100%;
    height: auto;
}
@media screen and (max-width: 500px) {
    .mv {
        background: none; /* 元の背景を削除 */
        overflow: hidden;
    }
    .mv::before {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: url('./images/header.png') no-repeat center bottom;
        background-size: cover;
        filter: blur(5px); 
    }
    .header_inner {
        padding: 24px;
    }
}

/*ハンバーガーボタン*/
.el_hamburger {
    position: fixed;
    top: 35px;
    right: calc((50% + 2.4rem) - 768px / 2);
    width: 58px;
    height: 58px;
    z-index: 10000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    border-radius: 999px;
}
.el_hamburger:hover {
    opacity: 1;
    background: var(--white);
    border: 1px solid var(--primary);
}
.el_hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    /*border太さ*/
    font-size: 0;
    background-color: var(--black);
    /*border色*/
}
.el_hamburger:hover span {
    background-color: var(--primary);

}
.js_hamburgerOpen .el_hamburger > span.top {
    transform: translateY(6px) rotate(-405deg);
}
.js_hamburgerOpen .el_hamburger > span.middle {
    opacity: 0;
}
.js_hamburgerOpen .el_hamburger > span.bottom {
    transform: translateY(-6px) rotate(405deg);
}
@media screen and (max-width: 768px) {
    .el_hamburger {
        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(--bg);
    z-index: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: auto;
}
.gnav {
    padding-top: 80px;
    max-width: 768px;
    margin: 0 auto;
}
.gnav li {
    border-bottom: var(--black) 1px solid;
}
.gnav li > a {
    display: block;
    color: var(--black);
    text-decoration: none;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    text-align: center;
}
.js_fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

/* breadcrumb */
.breadcrumb ul {
	display: block;
	max-width: 768px;
	margin: 0 auto;
	padding: 1.5rem 24px;
    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 {
    background: var(--white);
    padding: 40px 0 32px;
}
.footer .boxWrap {
    gap: 32px;
}
.footer_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pagetop {
    display: inline-block;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 16px;
}
.pagetop::after {
    display: block;
    content: '';
    width: 5.8rem;
    height: 5.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(images/totop_bl.svg) no-repeat center var(--primary);
    border: 1px solid var(--primary);
    background-size: 16px 20px;
    border-radius: 999px;
    }
.pagetop:hover::after {
    opacity: 1;
    background: url(images/totop_ye.svg) no-repeat center var(--white);
    border: 1px solid var(--primary);

}
.footer_about {
    color: var(--white);
    background: var(--secondary);
    padding: 24px 32px;
    border-radius: 32px;
    text-align: left;
    gap: 16px;
}
.footer_about span {
    font-weight: bold;
    font-size: 2.4rem;
}
.fnav > div > ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.fnav > div > ul > li a {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
}
.fnav > div > ul > li a:hover {
    color: var(--secondary);
    opacity: 1;
}
.fnav > div > ul > li > ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}
.fnav > div > ul > li > ul > li a {
    font-size: 1.6rem;
    display: inline-block;
    font-weight: bold;
    color: var(--mono-0);
    padding-left: 20px;
    background: url(./images/footer_dod-ye.svg) no-repeat left top;
    background-position: left 0.3em;
}
.fnav > div > ul > li > ul > li a:hover {
    color: var(--secondary);
    background: url(./images/footer_dod-bu.svg) no-repeat left top;
    background-position: left 0.3em;
    opacity: 1;

}
@media screen and (max-width: 500px) {
    .footer_head {
        flex-direction: column;
        gap: 16px;
    }
}
small {
    background: var(--primary);
    padding: 32px;
    display: block;
    margin: 0 auto;
    text-align: center;
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    background: var(--primary);
    padding: 52px 0;
}
.recommend ul {
    background: var(--white);
    padding: 32px;
    border-radius: 32px;
    gap: 24px;
    margin-top: 24px;
}
.recommend li {
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray);
    min-height: 232px;
}
.recommend li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.recommend_post {
    position: relative; /* 追加 */
    display: block; /* 追加 */
}
.recommend h3 {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: -24px;
    padding: 16px 32px;
    background: var(--primary);
    border-radius: 999px;
    color: var(--black);
    box-sizing: border-box;
    max-width: 580px;
}
.recommend .trimming {
    display: block;
    height: 180px;
    border-radius: 32px;
    margin-top: auto;
    position: relative;
}
.recommend a:hover {
    opacity: 1;
}
.recommend a:hover h3 {
    opacity: 1;
    color: var(--white);
    background: var(--secondary);
}
.recommend a:hover .trimming {
    opacity: .5;
}

@media screen and (max-width: 768px) {
    .recommend ul {
        padding: 32px 24px;
    }
    .recommend h3 {
        padding: 16px;
    }
}

/*======================================================================
  INDEX
======================================================================*/
/* index_head */
.index_head {
    gap: 24px;
}

/* index_cat */
.index_cat {
    padding: 40px 0 52px;
    position: relative;
}
.index_cat::before {
    display: block;
    content: "";
    position: absolute;
    background: url(./images/index_img.svg)no-repeat center / cover;
    top: 0;
    left: -48px;
    width: 135px;
    height: 135px;
    z-index: -1;
}
.index ul {
    gap: 24px;
    padding: 24px 0 0;
}
.index li {
    background: var(--white);
    padding: 24px 32px;
    border-radius: 32px;
    gap: 16px;
    box-shadow: 0 3px 0 0 var(--gray);
}
.index li h3 a {
    display: inline-block;
}
.index li h3 a:hover {
    opacity: 1;
    color: var(--secondary);
}
.index .trimming {
    height: 200px;
    border-radius: 32px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .index li {
        padding: 24px;
    }
}

/*======================================================================
  CATEGORY
======================================================================*/
/* category */
.category {
    gap: 24px;
    padding-bottom: 40px;
}
.category h2 {
    padding: 16px 32px;
    border: 2px solid var(--primary);
    border-radius: 32px;
    background: var(--white);
    width: fit-content;
}

/* category_post */ 
.category_post {
    gap: 24px;
}
.category_post li:first-of-type .trimming {
    height: 200px;
}
.category_post-bottom {
    background: var(--white);
    border-radius: 0 0 32px 32px;
    padding: 24px 32px;
    gap: 16px;
    box-shadow: 0 3px 0 0 var(--gray);
}
.category_post-bottom h3 a:hover {
    opacity: 1;
    color: var(--secondary);
}
.category_post-bottom .tag_container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}
.category_post-bottom .tag_container p {
    font-weight: bold;
    white-space: nowrap;
    padding-top: 3px;
}
.category_post-bottom ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-weight: bold;
}
.category_post-bottom ul li {
    position: relative;
    background: var(--primary);
    padding: 4px 16px 4px 24px;
    border-radius: 99px;
    gap: 16px;
}
.category_post-bottom ul li::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 999px;
}
.category_post .trimming {
    border-radius: 32px 32px 0 0;
    height: 180px;
}
.category_post li h3 a{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; 
	display:inline-block
    }
.category_post h3 a {
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .category_post-bottom {
        padding: 24px;
    }
}


/*======================================================================
  DETAIL
======================================================================*/
/* detail */
.detail {
    padding-bottom: 40px;
}
.detail .boxWrap {
    padding: 0 24px;
}
.detail_inner {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 3px 0 0 var(--gray);
    padding: 32px;
}
.detail_inner .flexBox {
    gap: 24px;
}

/* detail_head */
.detail_head {
    gap: 24px;
}
.detail_head h2 {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray);
}
.detail_head .trimming {
    height: 220px;
    border-radius: 32px;
}

/* detail_post */
.detail_post.flexBox {
    gap: 24px;
}
.detail_post h3 {
	display: flex;
    padding: 5.5px 0;
	min-height: 36px;
	align-items: center;
}
.detail_post h3:nth-of-type(odd) {
    padding-left: 66px;
    background: url(./images/detail_icon01.svg) no-repeat left center;
    background-size: 50px 47px;
} 
.detail_post h3:nth-of-type(even) {
    padding-left: 66px;
    background: url(./images/detail_icon02.svg) no-repeat left center;
    background-size: 50px 52px;
} 


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

/* リンク設置 */
.link_item {
    display: inline-block;
    margin: 1em 0;
}
.link_item a {
    color: var(--link);
    font-weight: bold;
}
.link_item p + p {
    margin-top: 1em;
}

@media screen and (max-width: 768px) {
    .detail_inner {
        padding: 24px;
    }
}
/* お問い合わせエラー画面の編集 */
.screen-reader-response {
    display: none;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
}
.wpcf7 form.invalid .wpcf7-response-output {
    border: 2px solid #ffb900;
    padding: 10px;
    margin-top: 10px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #398f14;
    padding: 10px;
    margin-top: 10px;
}

/* お問い合わせ項目の修正 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	border: 1px solid #ccc;
}
.wpcf7 p{
	margin-bottom: 15px;
}
.wpcf7 input[type="submit"]{
	background: #FFE018;
	border-radius: 25px;
	color: #fff;
	padding: 16px 25px;
	border: 0;
}
.wpcf7 input[type="submit"]:hover{
	opacity: .5;
}


