@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;
}

/*======================================================================
  VARIABLE
======================================================================*/
:root {
    /* color */
    --color-white: #FFF;
    --color-beige: #D58B41;
    --color-cream: #FCF8F0;
    --color-green: #446653;
    --color-gray-light: #EFEFEF;
    --color-gray: #4E4E4E;
    --color-green-light: #639D61;
    --color-ocher: #BFA14E;
    --color-black: #000000;

    /* radius */
    --radius-max: 999px;
    --radius-20: 20px;
    --radius-10: 10px;
    --radius-6: 6px;

    /* margin */
    --margin-l: 60px;
    --margin-m: 32px;
    --margin-s: 24px;
    --margin-xs: 16px;
    --margin-xxs: 8px;

}

/*======================================================================
  BASIC
======================================================================*/
html,body {
    height: 100%;
    box-sizing: border-box;
}
html { font-size: 62.5%; }
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;
    color: var( --color-black);
    font-size: 1.6rem;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    background: var( --color-white);
}
p { line-height: 1.5; }
a {
    color: var( --color-brown);
    text-decoration: none;
}
a, a img {
    transition: all .5s ease;
}
a:hover {
    text-decoration: underline;
}
a:hover img {
    opacity: 0.5;
}


/*======================================================================
  FORMAT
======================================================================*/
/*====== block class ======*/
.box {
    max-width: 708px;
    margin: 0 auto;
    padding: 0 var(--margin-m);

    @media screen and (max-width: 768px) {
        padding: 0 var(--margin-s);
    }
}
.main {
    padding-top: var(--margin-big);
    padding-bottom: var(--margin-big);
}

/*====== trimming ======*/
.trimming {
    display: block;
    position: relative;
    width: 100%;
    min-height: 120px;
    border-radius: var(--radius-20);
    overflow: hidden;
}
.trimming img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/*====== flexBox ======*/
.flexBox {
    display: flex;
    justify-content: space-between;
}

/*====== common style ======*/
img {
    max-width: 100%;
    height: auto;
}
h2 {
    font-size: 3.2rem;
    font-weight: bold;
    @media screen and (max-width: 768px) {
        font-size: 2.4rem;
    }
}
h3 {
    font-size: 2.4rem;
    font-weight: bold;
    @media screen and (max-width: 768px) {
        font-size: 1.8rem;
    }
}

/* title */
.ttlSmile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--margin-xxs);
    text-align: center;
    color: var(--color-beige);
}
.ttlSmile::after {
    display: block;
    width: 81px;
    height: 12px;
    content: "";
    background: url(images/icon-smile.svg) no-repeat;
}

/* more button */
.btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--margin-xs);
    border-radius: var(--radius-10);
    font-weight: bold;
    color: var(--color-white);
    background: var(--color-beige);
    box-sizing: border-box;
    &:hover {
        @media (hover: hover) {
            text-decoration: none;
            background: var(--color-green-light);
        }
    }
}
.more {
    width: 168px;
    line-height: 12px;
    &::after {
        display: block;
        width: 12px;
        height: 12px;
        line-height: 12px;
        content: "";
        background:url(images/icon-arrow.svg) no-repeat;
    }
}

/* post-top */
.post-top {
    flex-direction: column;
    gap: var(--margin-s);
    color: var(--color-green-light);
}
.post-top a:has(.more):hover {
    text-decoration: none;
    .more {
        background: var(--color-green-light);
    }
}
.post-top .trimming {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    aspect-ratio: 352 / 85;
    padding: var(--margin-s);
    min-height: 150px;
    box-sizing: border-box;
    z-index: 0;
}
.post-top .more {
    position: relative;
    z-index: 1;
}


/*======================================================================
  HEADER
======================================================================*/
.header {
    position: relative;
    min-height: 432px;
    padding-block: var(--margin-m);
    background: url(images/mv.webp) no-repeat center right / cover;
    box-sizing: border-box;
}
.headerBar {
    align-items: center;
    height: 80px;
    @media screen and (max-width: 768px) {
        height: 60px;
    }
}
.headerInner {
    flex-direction: column;
    gap: var(--margin-m);
}
.header .logo {
    display: inline-block;
    @media screen and (max-width: 768px) {
        width: calc(100% - (50px + var(--margin-xs)));
    }
}

/*====== gnav ======*/
/* hamburger */
.el_hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: var(--margin-m);
    right: calc(50% - 768px / 2 + 30px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all .5s ease;
    background: var( --color-beige);
    box-sizing: border-box;
    @media screen and (max-width: 768px) {
        right: var(--margin-s);
        width: 50px;
        height: 50px;
    }
}
.el_hamburger span {
    display: block;
    width: 24px;
    height: 2px;/* border太さ */
    font-size: 0;
    background: var( --color-cream);
    transition: all .5s ease;
}
.el_hamburger span:not(:first-child) {
    margin-top: 7px;
}
.js_hamburgerOpen .el_hamburger span:first-child {
    transform: translateY(9px) rotate(45deg);
}
.js_hamburgerOpen .el_hamburger span:nth-child(2) {
    opacity: 0;
}
.js_hamburgerOpen .el_hamburger span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}
@media (hover: hover) {
    .el_hamburger:hover {
        background-color: var( --color-green-light);
    }
}

/*ナビゲーション*/
.uq_spNavi {
    display: none;
}
.uq_spNavi.js_appear {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    z-index: 50;
}
.uq_spNavi_screen {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    overflow: auto;
    background: #FFF;
}
.gnav {
    max-width: 768px;
    height: 100svh;
    margin: 0 auto;
    padding: 105px 0 0;
    text-align: center;
    box-sizing: border-box;
}
.gnav li {
    border-bottom: solid 1px var(--color-brown);
}
.gnav li:first-child {
    border-top: solid 1px var(--color-brown);
}
.gnav li > a {
    display: block;
    padding: 20px;
    font-weight: bold;
    color: var(--color-beige);
}
.js_fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

/*====== textArea ======*/
.textArea {
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--margin-s);
    & > * {
        width: 62.572%;
        padding: var(--margin-s);
        border-radius: var(--radius-6);
        background: rgba(255, 255, 255, .4);
        box-sizing: border-box;
        @media screen and (max-width: 600px) {
            width: 100%;
        }
    }
    & h1 {
        font-size: 2.4rem;
    }
}


/*====== breadcrumb======*/
.breadcrumb {
    padding-top: var(--margin-s);
}
.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    box-sizing: border-box;
}
.breadcrumb ul li {
    display: inline;
}
.breadcrumb ul li a span {
    font-weight: bold;
}


/*======================================================================
  FOOTER
======================================================================*/
.footer {
    padding-block: var(--margin-l);
    color: var(--color-white);
    background: var(--color-green);
}
.footer > .flexBox {
    flex-direction: column;
    gap: var(--margin-m);
}
.footer .logo {
    text-align: center;
}
.footer small {
    display: block;
    text-align: center;
    color: var(--color-white);
}

/*====== fnav ======*/
.fnav ul {
    display: flex;
    flex-direction: column;
    gap: var(--margin-xs);
    font-weight: bold;
}

/*====== aboutMe ======*/
.aboutMe span {
    font-size: 2rem;
    font-weight: bold;
}
.aboutMe p {
    margin-top: var(--margin-xs);
}

/*====== pagetop ======*/
.pagetop {
    justify-content: flex-end;
}
.pagetop a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-max);
    background: var(--color-beige);
    &:hover {
        background: var(--color-green-light);
        & img {
            opacity: 1;
        }
    }
    @media screen and (max-width: 768px) {
        width: 50px;
        height: 50px;
        & img {
            width: 60%;
            height: auto;
        }
    }
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    padding-block: var(--margin-l);
    background: var(--color-cream);
}
.recommend > .flexBox,
.recommend ul {
    flex-direction: column;
    gap: var(--margin-m);
}
.recommend li {
    flex-direction: column;
    gap: var(--margin-s);
}
.recommend .trimming {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    aspect-ratio: 352 / 75;
    min-height: 150px;
    z-index: 0;
}
.recommend .trimming h3 {
    position: relative;
    width: 560px;
    max-width: 100%;
    padding: var(--margin-xs);
    font-weight: bold;
    color: var(--color-white);
    background: var(--color-green-light);
    border-radius: 0 0 var(--radius-10) 0;
    z-index: 1;
}
.recommend .trimming:hover {
    text-decoration: none;
    & h3 {
        opacity: .5;
    }
}


/*======================================================================
  INDEX
======================================================================*/
.indexHeader {
    flex-direction: column;
    align-items: center;
    gap: var(--margin-xs);
    padding-block: var(--margin-l);
}
.indexHeader h2 {
    width: 100%;
    padding-bottom: var(--margin-xs);
    border-bottom: 2px dashed var(--color-beige);
}
.indexHeader h2 span {
    display: block;
    @media screen and (max-width: 768px) {
        display: inline;
    }
}
.indexHeader div {
    padding: var(--margin-s);
    border-radius: var(--radius-20);
    background: var(--color-cream);
}

/*====== topics popular======*/
.topics .box,
.popular .box,
.topics .box > .flexBox,
.popular .box > .flexBox {
    flex-direction: column;
    gap: var(--margin-m);
}

.topics {
    padding-bottom: var(--margin-l);
}
.popular {
    padding-block: var(--margin-l);
    background: var(--color-gray-light);
}


/*======================================================================
  CATEGORY
======================================================================*/
.category {
    padding-block: var(--margin-l);
}

/*====== categoryHeader ======*/
.categoryHeader {
    margin-bottom: var(--margin-m);
}
.categoryHeader .trimming {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--margin-s);
    width: 100%;
    aspect-ratio: 704 / 300;
    z-index: -1;
    box-sizing: border-box;
        @media screen and (max-width: 768px) {
            height: fit-content;
            aspect-ratio: auto;
        }
}
.categoryHeader h2 {
    position: relative;
    padding: var(--margin-s);
    color: var(--color-green-light);
    border-radius: var(--radius-20);
    background: rgba(255, 255, 255, .6);
    z-index: 1;
}
.categoryHeader p {
    margin-top: var(--margin-xs);

}
/*====== categoryPost ======*/
.categoryPost > .flexBox {
    flex-direction: column;
    gap: var(--margin-m);
}
.categoryPost li {
    flex-direction: column;
    gap: var(--margin-xs);
    min-width: 0;
}
.categoryPost h3 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.categoryPost .trimming {
    aspect-ratio: 352 / 75;
}


/*======================================================================
  DETAIL
======================================================================*/
.detail {
    padding-block: var(--margin-l);
}
.detail h2 {
    color: var(--color-beige);
    border-bottom: 2px dashed var(--color-beige);
	letter-spacing: -0.01em;
}
.detail h2::first-letter {
    font-size: 4rem;
}
.detail .trimming {
    margin-top: var(--margin-xs);
    aspect-ratio: 352 / 75;
}

/*====== detailPost ======*/
.detailPost {
    margin-top: var(--margin-m);
    padding-bottom: var(--margin-m);
    border-bottom: 2px dashed var(--color-beige);
}
.detailPost h3 {
    margin-top: var(--margin-xs);
    padding: var(--margin-m) 0 var(--margin-xs);
    border-top: 2px dashed var(--color-beige);
}
.detailPost h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border: none;
}
.detailPost h3::first-letter {
    font-size: 4rem;
}

/* DETAIL - a */
.detailPost a {
    font-weight: bold;
    color: #7c21d1;
}

/* DETAIL - リンク設置 */
.link_item {
    display: block;
}
.link_item,
.link_item + .link_item,
.link_item tr:last-child p {
    margin-top: 1em;
}

/*====== detailCategory ======*/
.detailCategory {
    margin-top: var(--margin-m);
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    font-weight: bold;
    gap: var(--margin-xxs);
    @media screen and (max-width: 768px) {
        justify-content: flex-start;
    }
}
/* お問い合わせエラー画面の編集 */
.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: #D58B41;
	border-radius: 25px;
	color: #fff;
	padding: 16px 25px;
	border: 0;
}
.wpcf7 input[type="submit"]:hover{
	opacity: .5;
}
