/*!
Theme Name: wutheringheights
*/
@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&display=swap');

/* --------------------------------------------------
reset
-------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: bottom;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: bottom;
  border: none;
}

aside {
  display: block;
}

code {
  display: block;
  padding: 10px;
  border-radius: 0;
}

* {
  box-sizing: border-box;
}

hr {
  all: unset;
  display: block;
  width: 100%;
  height: 1px;
  border: none;
}

sup {
  vertical-align: super;
  font-size: 0.6em;
}



/* --------------------------------------------------
Base
-------------------------------------------------- */

html, body {
  height: 100%;
  scroll-behavior: smooth;
  --color-main1: #cad3d8;
  --color-main2: #0b0b0b;
  --color-accent: #0c1820;
}

body {
  line-height: 1.6;
  font-size: 14px;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴシック", "Hiragino Sans",
    "メイリオ", Meiryo,
    sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
  background: var(--color-main1);
  color: var(--color-main2);
}

a {
  transition: opacity .3s;
  color: inherit;
}

a:link {
  text-decoration: underline;
}
a:visited {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
  opacity: 0.5;
}
a:active {
  text-decoration: underline;
}


.fadein {
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 3s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* --------------------------------------------------
only
-------------------------------------------------- */

.is-onlyPC {
  display: block;
}
@media screen and (max-width: 767px) {
  .is-onlyPC {
    display: none;
  }
}

.is-onlySP {
  display: none;
}
@media screen and (max-width: 767px) {
  .is-onlySP {
    display: block;
  }
}


/* --------------------------------------------------
c-btn
-------------------------------------------------- */
.c-btn {
  width: 280px;
  height: 50px;
  margin: 0 auto;
}

.c-btn a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 50px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0;
  text-align: center;
  background: var(--color-accent);
  color: var(--color-main1);
}
@media screen and (max-width: 767px) {
  .c-btn {
    width: 100%;
    height: 40px;
    padding: 0 80px;
  }
  .c-btn a {
    line-height: 40px;
    font-size: 12px;
  }
}



/* --------------------------------------------------
layout
-------------------------------------------------- */

.container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.content {
  margin-top: 60px;
  padding: 0 3%;
  position: relative;
  min-height: 500px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .content {
    margin-top: 0;
    padding: 0 20px;
    display: block;
  }
}


/* --------------------------------------------------
header
-------------------------------------------------- */

.header {
  text-align: center;
  height: 400px;
}
@media screen and (max-width: 767px) {
  .header {
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 1021;
  }
}

.header h1 {
	width: 100%;
	height: 100%;
	background: #000000 url(./images/title.jpg) no-repeat center center;
	background-size: auto 100%;
	text-indent: -99999px;
}
@media screen and (max-width: 767px) {
  .header h1 {
  	background: #000000 url(./images/title_sp.jpg) no-repeat center center;
  	background-size: cover;
  }
}

.header a {
  display: inline-block;
  height: 100%;
  transition: opacity .3s;
}
.header a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 767px) {
  .header a {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
}

/*.header img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 4em 3.75rem #aaa);
}
@media screen and (max-width: 767px) {
  .header img {
    width: 100%;
    object-fit: contain;
  }
}*/


/* --------------------------------------------------
sidebar
-------------------------------------------------- */

.sidebar {
  width: 240px;
  font-size: 14px;
}
@media screen and (max-width: 1000px) {
  .sidebar {
    width: 25%;
  }
}
@media screen and (max-width: 767px) {
  .sidebar {
    width: 100%;
    float: initial;
    position: static !important;
    font-size: 11px;
  }
}
.sidebar-inner {
	position: sticky;
	top: 120px;
}

.sidebar-nav {
  padding-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .sidebar-nav {
    padding-bottom: 0;
  }
  .sidebar-nav:not(.nav-category) {
    display: none;
  }
}

.sidebar-nav-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .sidebar-nav-title {
    display: none;
  }
}

.sidebar-nav-list {
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .sidebar-nav-list {
    display: flex;
    margin: 0 -20px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: var(--color-accent);
  }
}

.sidebar-nav-list li {
  padding-bottom: 5px;
  line-height: 1.8;
  min-height: 1px;
  text-align: left;
  margin-bottom: 26px;
  line-height: 1.6;
}
.sidebar-nav-list li.cat-item-0 {
  display: none;
}
@media screen and (max-width: 767px) {
  .sidebar-nav-list li {
    width: 33.3%;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: center;
    border-bottom: solid 2px transparent;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sidebar-nav-list li.cat-item-0 {
    display: block;
  }
}

.sidebar-nav-list li a {
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  display: inline-block;
  font-feature-settings: "palt";
  font-size: 22px;
}
@media screen and (max-width: 767px) {
  .sidebar-nav-list li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px 5px 18px;
  }
}

/* is-active */
@media screen and (max-width: 767px) {
  .sidebar-nav-list li.is-active,
  .sidebar-nav-list li.current-cat {
    border-color: var(--color-accent);
  }
  .sidebar-nav-list li.is-active a,
  .sidebar-nav-list li.current-cat a {
    font-weight: bold;
    color: var(--color-accent);
  }
}



/* --------------------------------------------------
main
-------------------------------------------------- */

@media screen and (min-width: 768px) {
  .main {
    width: calc(68.75% + 40px);
    padding-inline: 20px;
  }
}



/* --------------------------------------------------
article
-------------------------------------------------- */

.article:nth-of-type(n+2) {
  padding-top: 80px;
  margin-top: 80px;
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .article {
    padding-top: 30px;
  }
  .article:nth-of-type(n+2) {
    padding-top: 30px;
    margin-top: 30px;
  }
}

.article-header {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .article-header {
    margin-bottom: 10px;
  }
}

.article-title {
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  font-size: 32px;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  line-height: 1.6;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .article-title {
    margin-bottom: 5px;
    font-size: 28px;
  }
}
.article-title a {
  text-decoration: none;
  transition: opacity .5s;
}
.article-title a:hover {
  opacity: 0.5;
}

.article-date {
  display: inline-block;
  font-size: 11px;
}
@media screen and (max-width: 767px) {
  .article-date {
    font-size: 10px;
  }
}

.article-body {
  font-size: 14px;
  line-height: 2;
  word-wrap: break-word;
}
.article-body a {
  transition: none;
  opacity: 1;
}



/* --------------------------------------------------
newsText
-------------------------------------------------- */

.news-text p {
  margin: 1.5em 0;
  word-break: break-all;
}
.news-text h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}
.news-text h1 { font-size: 2em; }
.news-text h2 { font-size: 1.8em; }
.news-text h3 { font-size: 1.6em; }
.news-text h4 { font-size: 1.4em; }
.news-text h5 { font-size: 1.3em; }
.news-text h6 { font-size: 1.2em; }
@media screen and (max-width: 767px) {
  .news-text h1 { font-size: 1.5em; }
  .news-text h2 { font-size: 1.4em; }
  .news-text h3 { font-size: 1.3em; }
  .news-text h4 { font-size: 1.2em; }
  .news-text h5 { font-size: 1.1em; }
  .news-text h6 { font-size: 1.0em; }
}
.news-text strong {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--color-accent);
}
.news-text ul {
  list-style-type: disc;
  margin: 1em 1.5em 0;
}
.news-text ol {
  list-style-type: decimal;
  margin: 1em 1.5em 0;
}
.news-text blockquote {
  border-left-width: 2px;
  border-left-style: solid;
  padding-left: 1em;
  opacity: 0.8;
}



/* --------------------------------------------------
image
-------------------------------------------------- */


/* デフォルト設定: 中央寄せ */
.alignnone {
  display: block;
  margin: 0 auto;
}


/* 画像配置設定 */
.alignright {
  display: block;
  margin: 0 0 0 auto;
}
.alignleft {
  display: block;
  margin: 0 auto 0 0;
}
.aligncenter {
  display: block;
  margin: 0 auto;
}


/* 打ち消し */
table img {
  display: inline !important;
}
center img {
  margin: 3px !important;
  display: inline !important;
}
.u-img-default {
  margin: 3px;
  display: inline !important;
}
.u-no-margin {
  margin: 0 !important;
}



/* --------------------------------------------------
Youtube
-------------------------------------------------- */

.is-type-video.is-provider-youtube > .wp-block-embed__wrapper {
  width: 100%;
  height: 0px;
  padding-bottom: 56.25%;
  position: relative;
}

.is-type-video.is-provider-youtube > .wp-block-embed__wrapper > iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}



/* --------------------------------------------------
footer
-------------------------------------------------- */

.footer {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-btn {
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .footer-btn {
    padding: 0 80px;
  }
}



/* --------------------------------------------------
pager
-------------------------------------------------- */

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  .nav-links {
   margin-top: 40px;
  }
}

.page-numbers {
  display: inline-block;
}

.page-numbers {
  text-decoration: none !important;
  border-radius: 0;
  padding: 4px 12px 5px;
  margin: 2px;
  background: transparent;
  border-style: solid;
  border-width: 1px;
	border-color: var(--color-accent);
	color: var(--color-accent);
}
.page-numbers.current {
	background: var(--color-accent);
	color: var(--color-main1);
}

.page-numbers.dots {
  vertical-align: middle;
  margin: 5px;
}

.page-numbers.next,
.page-numbers.prev {
  border-color: transparent;
  margin-inline: 0;
  padding-inline: 4px;
  text-decoration: none !important;
}



/* --------------------------------------------------
pagetop
-------------------------------------------------- */

#pagetop {
  display: block;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 0;
  cursor: pointer;
  background: var(--color-accent);
}
@media screen and (min-width: 768px) {
  #pagetop:hover {
    opacity: .5;
  }
}
@media screen and (max-width: 767px) {
  #pagetop {
    width: 40px;
    height: 40px;
    right: 20px;
    bottom: 30px;
  }
}
#pagetop::before,
#pagetop::after {
  content: '';
  display: block;
  width: 8px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-main1);
}
#pagetop::before {
  transform: rotate(45deg);
}
#pagetop::after {
  transform: rotate(-45deg);
  margin-left: -6px;
}



/* --------------------------------------------------
Not Found
-------------------------------------------------- */

.nf {
  text-align: center;
  margin: 20px 0;
}
.nf__lead {
  font-weight: bold;
}
.nf__txt {
  margin: 30px 0 40px;
}




/* --------------------------------------------------
menu
-------------------------------------------------- */
#headerRead {
    position: sticky;
    left: 0;
    top: 0;
    background-color: #cad3d8;
    z-index: 10;
    line-height: 1.3;
}

#headerRead header {
    width: 100%;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.56rem 2.75rem 1.56rem 2.3rem;
}

.sp-btn {
    display: none;
}

#headerRead header nav {
    display: flex;
    justify-content: space-between;
}

ul.menu,
ul.sns {
    display: flex;
    list-style: none;
}

ul.menu li {
    margin-right: 2.8rem;
}

ul.menu li:last-child {
    margin-right: 0;
}
ul.menu li a {
    text-decoration: none;
}


ul.sns li {
    margin-left: 1.25rem;
}

ul.sns > li > a {
    display: block;
    width: 1.31rem;
    height: 0;
    padding-top: 1.31rem;
    overflow: hidden;
    line-height: 1.5;
    background-image: url(/assets/img/icon_x.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

ul.sns li.sns-tt > a {
    background-image: url(/assets/img/icon_tt.png);
}

ul.sns li.sns-insta > a {
    background-image: url(/assets/img/icon_insta.png);
}

ul.sns li.sns-fb > a {
    background-image: url(/assets/img/icon_fb.png);
}

ul.sns li.sns-line > a {
    background-image: url(/assets/img/icon_line.png);
}

ul.sns li.sns-yt > a {
    background-image: url(/assets/img/icon_yt.png);
}

ul.sns li.sns-share > a {
    background-image: url(/assets/img/icon_share.png);
}

ul.sns li.sns-share {
    position: relative;
    line-height: 1;
    height: 1.2em;
    display: inline-block;
    vertical-align: middle;
}

.share-btn {
    display: flex;
    position: absolute;
    right: -1em;
    top: calc(100% + 2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    overflow: visible;
}

.sns-share.active .share-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.share-btn li {
    display: inline-flex;
    align-items: center;
    min-width: 80px;
    min-height: 20px;
    vertical-align: top;
    overflow: visible !important;
}
.share-btn li:first-child {
    padding-right: 1.3rem;
    overflow: hidden !important;
}



.fb-share-button span, 
.fb-share-button iframe {
    min-width: 80px !important;
    min-height: 20px !important;
    width: auto !important;
}

#twitter-widget-0, 
.twitter-share-button {
    width: 76px !important; 
    height: 20px !important;
    visibility: visible !important;
}

.custom-x-btn,
.custom-x-btn:link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff !important;
    height: 22px;
    min-width: 76px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 9999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
    transition: background-color 0.2s;
}

@media (hover: hover) {
    .custom-x-btn:hover {
        background-color: #272c30;
        opacity: 1 !important;
    }
}

.x-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    flex-shrink: 0;
}

.x-text {
    line-height: 1;
    white-space: nowrap;
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}


@media (max-width: 767px) {

    /*header*/
    #headerRead header {
        background-color: transparent;
        /*padding: 23.14vw 0 0;*/
        padding: 0;
        color: #bbb;
        z-index: 9990 !important;
    }

    .sp-btn {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        /* ãƒ‡ã‚¶ã‚¤ãƒ³138px / 3 = 46px */
        width: clamp(40px, 12.7vw, 50px);
        height: clamp(40px, 12.7vw, 50px);
        background-color: #333;
        border-radius: 50%;
        cursor: pointer;
        z-index: 9999 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sp-btn span {
        display: block;
        position: relative;
        width: 26px;
        height: 2px;
        background-color: #fff;
        text-indent: -9999px;
        transition: all 0.3s;
    }

    .sp-btn span::before,
    .sp-btn span::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s;
    }

    .sp-btn span::before {
        top: -8px;
    }

    .sp-btn span::after {
        bottom: -8px;
    }

    .sp-btn.open span {
        background-color: transparent;
    }

    .sp-btn.open span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .sp-btn.open span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #headerRead header:not(.hidden) .sp-btn {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- ã‚¹ãƒ©ã‚¤ãƒ‰ãƒ¡ãƒ‹ãƒ¥ãƒ¼æœ¬ä½“ --- */
    ul.menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000;
        z-index: 999;
        transition: all 0.5s ease;
        padding-top: 100px;
        list-style: none;
        font-size: clamp(20px, 5.55vw, 30px);
        text-align: center;
        opacity: 0;
    }

    ul.menu.open {
        opacity: 1;
        right: 0;
    }

    ul.menu li {
        margin-right: 0;
    }

    ul.menu li+li {
        margin-top: 2em;
    }

    

    .menu-overlay.open {
        display: block;
    }

    #headerRead header nav {
        display: block;
    }

    #headerRead header ul.sns {
        display: none;
    }


}