@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=WDXL+Lubrifont+JP+N&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");
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: inherit;
  font-size: 100%;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

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

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }

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

a img {
  border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block; }

a {
  text-decoration: none;
  color:var(--text-color);
}

a:hover {
  text-decoration: none;
}

/* 背景色など
-------------------------------- */

body{
background:url(https://404whale.work/wp/wp-content/uploads/2025/02/bg_body.jpg);
}


/* -------------------- */
/* カスタム用色変更欄 */
/* -------------------- */
:root {
  --white: #f4f4f4;
  --abyss-color:#2a2f36;
  --black: black;
  --green: #15c0b0;

  --main-color: #004094; /* 濃いアクセント色 */
  --sub-color: #f2a1a6; /* 薄いアクセント色 */
  --text-color: #003c64; /* メイン文字色 */
  --light-color: #003c6430; /* ↑よりちょっと薄い文字色 */
  --link-color: #03c; /* リンクの色 */
  --link-hover: #ea6b22ff; /* リンクホバー */

  --logofont: 'Share Tech Mono','WDXL Lubrifont JP N',sans-serif; /* タイトルなどのフォントの名前 */
  --titlefont: 'Share Tech Mono','Zen Kaku Gothic New',sans-serif;
  --mincho: 'Zen Old Mincho',serif;
  --mainfont: 'Zen Kaku Gothic New',sans-serif;
}
/*----------------------------
 共通部分
 ---------------------------- */

@media screen and (max-width: 769px) {
  input[type="text"],
  input[type="button"],
  input[type="email"],
  input[type="submit"],
  input[type="password"],
  textarea {
    -webkit-appearance: none;
    max-width: 100%;
    border-radius: 0; } }

body {
  font-family:var(--mainfont);
  line-height: 1.7;
  font-weight: 400;
  word-break: break-all;
  color: var(--text-color);}
.indent {
  text-indent: 1em;
}
main {
  padding-top: 2rem;
  margin: auto;
  box-sizing: border-box;}
  main.single {
    margin: 0 auto 31px; }
  main .wrapper {
    padding: 1px 1rem;
    margin: auto;
    max-width: 2000px;}
  main .cards {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(5, 1fr); }
    @media screen and (max-width: 769px) {
      main .cards {
        grid-template-columns: repeat(2, 1fr); } }
    main .cards__gallery .card {
        transition: transform 0.3s ease;
      cursor: pointer; }
      main .cards__gallery .card:hover {
      opacity: 0.7;
      transition: all 0.3s; }

    main .cards .sensitive::before {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      background: #2a2f3680;
      box-sizing: border-box;
        pointer-events: none; }



/* 共通：オーバーレイ文字（文言は下で分岐） */
main .cards .sensitive::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  height: 100%;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* 文言：夢主描写 */
main .cards .sensitive--dream::after{
  content: "夢主描写";
}

/* 文言：解釈注意（ここは好きな深海語彙に差し替えOK） */
main .cards .sensitive--caution::after{
  content: "解釈注意";
}

    main .cards .card {
      padding-top: 100%;
      height: 0;
      position: relative;
      overflow: hidden; }
      main .cards .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto; }
main > .bg-area {
  border-image: linear-gradient(lightpink,lightpink) fill 0//0 100vw 0 100vw;
}
.wp-block-image img {
    display: block;
    max-height: 100vh;
    width: auto;
    margin: auto;
}


/*------------------------------
　アーカイブのタイトル・トップページのコンテンツタイトル
-------------------------------*/
h2{
    font-size: 1.5rem;
    font-family: var(--titlefont);
    letter-spacing: .08em;
    margin: 16px 0;
    padding: 0 0 0 12px;
    line-height: 1.9;
    border-bottom: 1px solid var(--text-color);
}
h5{font-weight: 600;}
h5:before {
    content: "✿";
    padding-right: 5px;
    color: var(--main-color);}
/* =========================
  PAGE HEADING Typing
========================= */
.page-heading{margin-bottom: 1rem;}
.page-heading .en {
  font-family: var(--logofont);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  width: fit-content;
  border-right: 1px solid transparent;
}
.archive .page-heading .en {
  font-size: 2rem;
  white-space: break-spaces;
}
/* typing cursor */
.page-heading.typing .en {
  border-right-color: var(--main-color);
  animation: caret .7s step-end infinite;
}

@keyframes caret {
  50% { border-color: transparent; }
}

/* JP title */
.page-heading .jp {
  font-family: var(--titlefont);
  font-size: 14px;
  margin-left: .05em;
  opacity: 0;
  filter: brightness(0.2);
  white-space: nowrap;
}

/* Lamp animation */
.page-heading.jp-on .jp {
  animation: lampOn .7s ease-out forwards;
}

@keyframes lampOn {
  0%   { opacity: 0;   filter: brightness(.2); text-shadow: none; }
  30%  { opacity: 1;   filter: brightness(1.4); text-shadow: 0 0 6px var(--main-color); }
  45%  { opacity: .2;  filter: brightness(.4); text-shadow: none; }
  60%  { opacity: 1;   filter: brightness(1.2); text-shadow: 0 0 4px var(--main-color); }
  75%  { opacity: .6;  filter: brightness(.6); text-shadow: none; }
  100% { opacity: 1;   filter: brightness(1); text-shadow: none; }
}
/* =========================
   SP 最上部ヘッダー（確定版）
========================= */
.sp-header{
  display:flex;
  align-items:center;
  gap:.5rem;
  height:50px;
  padding:0 1rem;
  color: var(--text-color);
  background:#fff;
  border-bottom:1px solid #ddd;
  box-sizing:border-box;
  position:relative;
  z-index:30;
}

/* サイト名（通常は小さめ） */
.sp-site-name{
  text-decoration:none;
  color:inherit;
  white-space:nowrap;
  font-size:.7rem;
  opacity:.7;
  font-family:var(--logofont);
  letter-spacing:.08em;
}

/* 右側ラベル（リンク/テキスト共通） */
.sp-section-label{
  white-space:nowrap;
  font-size:1.1rem;
  letter-spacing:.08em;
  color:inherit;
  text-decoration:none;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:calc(100vw - 180px);
}

/* TOPだけ：サイト名を大きく、ラベルは出さない（PHP側でそもそも出ない） */
.sp-header--top .sp-site-name{
  font-size:1.1rem;
  opacity:1;
  letter-spacing:.1em;
}

/* ---------------------------------------
  ハンバーガー（SP固定）
--------------------------------------- */
.hamburger {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2000;
  width: 30px;
  height: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  height: 1px;
  background: var(--main-color);
  width: 100%;
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ☰ → × の変形 */
.hamburger.active span{background: white;}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------------------------------------
  SPスライドインメニュー
--------------------------------------- */
.global-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100vh;
  height: 100dvh;
  background: var(--abyss-color);
  padding: 40px 20px;
  transition: right .35s ease;
  z-index: 1500;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.global-menu.active {
  right: 0;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.menu-list li {
  margin-bottom: 1.4rem;
}

.menu-list a {
  color: #fff;
  font-family: var(--logofont);
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: .2em;
  transition: opacity .2s;
  padding: .3rem 0;
  display: block;
}
.menu-list a:hover {
  opacity: .7;
}

/* 共通オーバーレイ（メニュー・CAPTION共用） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1000; /* メニュー・キャプションより下 */
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------------
  PC右サイド固定メニュー
--------------------------------------- */
@media (min-width: 900px) {
  .sp-header,
  .hamburger,
  .global-menu {
    display: none;
  }
  main{width: calc(100vw - 240px);
    margin-right: 240px;}

  .sidebar-pc {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
  height: 100vh;
  height: 100dvh;
    padding: 2rem 1.5rem;
    background: #fafafa;
  border-left: 1px solid;
    overflow-y: auto;
    padding-top: 130px;
  }

  .pc-site-title {
    font-family: var(--logofont);
    font-size: 1.45rem;
    letter-spacing: .2em;
    margin-bottom: 1rem;
  }

  .pc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pc-nav li {
    margin-bottom: 1.2rem;
  }

  .pc-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--logofont);
    letter-spacing: .15em;
    font-size: 1.2rem;
    transition: opacity .2s;
  }

  .pc-nav a:hover {
    opacity: .6;
  }

li.nav-group {
  margin-bottom: 2rem;
}

.nav-label {
  font-size: .75rem;
  letter-spacing: .12em;
  color: lightsteelblue;
  display: block;
  margin-bottom: .4rem;
}

ul.nav-sub {
  margin-left: 1rem;
  font-size: .9em;
  line-height: 1em;
}

.nav-single {
  margin-bottom: .8rem;
}

  /* メインコンテンツはサイドバー幅だけ左に寄せる */
  body {
    padding-right: 200px;
  }
  footer{margin-right: 200px;}
}
@media (max-width: 899px) {
  .sidebar-pc {
    display: none;
  }
  body {
    padding-right: 0;
  }
}


/* =========================
   上位タブ
========================= */
.subheader {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  overflow: hidden;
  transition: height .25s ease, padding .25s ease;
}

.subheader.is-expanded {
  height: 50px;
  padding: 0 1rem;
}

.subheader.is-compact {
  height: 25px;
  padding: 0 1rem;
}

/* 非アクティブは上に見切れ */
.subheader.is-compact .type-tab:not(.is-active) {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}
.archive-sub .type-tab.is-work-link {
  margin-left: .75rem;
  opacity: .6;
}
/* WORK / ARCHIVE 共通の「出口」リンク */
.subheader-exit {
  opacity: .4;
  font-size: .75rem;
  letter-spacing: .12em;
}

.subheader-exit a {
  text-decoration: none;
  color: inherit;
}

.subheader-exit:hover {
  opacity: .8;
}
/* =========================
   下位カテゴリタブ
========================= */
.category-subheader {
  position: sticky;
  top: 50px;              /* 最上部ヘッダー分 */
  padding: 50px 0 .3em 0;      /* ★仕様④ */
  z-index: 10;
  background: white;
  border-bottom: 1px solid var(--light-color);
  will-change: transform;
  transition: transform .25s cubic-bezier(.22, .61, .36, 1);
  transform: translateY(-50px); /* ★初期表示から潜らせる */
}
.category .category-subheader,.tag .category-subheader, .tax-record_type .category-subheader {top: 5px;}
.archive main{padding-top: 0;}
/* =========================
   タブUI
========================= */
.type-tabs,
.category-tabs {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: auto auto 1rem 0;
}

.category-tabs {
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: auto auto auto 0;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}

/* =========================
   タブ要素
========================= */
.type-tab,
.category-tabs a {
  white-space: nowrap;
  font-size: .8rem;
  letter-spacing: .08em;
  opacity: .5;
  margin-left: 0;
  transition: transform .25s cubic-bezier(.22, .61, .36, 1),
              opacity .2s ease;
}
@media (min-width: 1024px) {
.category-tabs {
    flex-flow: wrap;
  }
}
.type-tab.is-active,
.category-tabs a.is-active {
  opacity: 1;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.subheader.is-expanded .type-tab.is-active {
  transform: scale(1.5);
}
.type-tab.is-active {
  margin-right: 2rem;
 transform: left center;}
.type-tab {
  transform-origin: left center;
}
main#gallery-archive{margin: -3rem 1px;}
.wrapper.wrapper_gallery{margin: unset;}
/* =========================
   スクロールをわかりやすく
========================= */
.category-subheader {
  position: sticky;
}

/* 端のフェードを出すために親に余白と相対配置 */
.category-subheader {
  position: sticky;
  top: 50px;
  background: white;
  z-index: 10;
}

.category-subheader::before,
.category-subheader::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  opacity: 0;             /* JSで必要な時だけ 1 にする */
  transition: opacity .2s ease;
}

.category-subheader::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.category-subheader::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 状態クラス（JSで付与） */
.category-subheader.is-overflow-left::before { opacity: 1; }
.category-subheader.is-overflow-right::after { opacity: 1; }

.category-subheader::after{
  content:"›";
  position:absolute;
  right:0;
  top:50px;
  transform:translateY(-50%);
  font-size:2rem;
  pointer-events:none;
}
.category-subheader{
  position:sticky;
}


/* =========================
   リンク
========================= */
.type-tab a,
.type-tab span {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* =========================
   View Transition
========================= */
.vt-category {
  view-transition-name: category-header;
}
.sp-site-title {
  view-transition-name: site-title;
}
.sp-section-label {
  view-transition-name: section-label;
}


/* ---------------------------------------
   2カラムレイアウト（左固定・右）
--------------------------------------- */
.container {
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.column-l,
.column-r {
  width: 100%;
  box-sizing: border-box;
}
@media(max-width: 899px){
.column-l{order: 2}
.column-r{order: 1}}
@media (min-width: 900px) {

  .container {
    display: grid;
    grid-template-columns: 260px 1fr; /* 左260px / 右メイン */
    gap: 3rem;
    padding-right: 0;
  }

  /* 左カラム（サブ） */
  .column-l {
    position: sticky;
    top: 2rem;
    height: fit-content;
  }

  /* 右カラム（メイン） */
  .column-r {
    padding-right: 1rem;
  }
}

/*ウィジェットエリア------------------------*/
.wp-block-tag-cloud p,.wp-block-tag-cloud a{
    font-weight:bold;
    text-wrap: wrap;
    cursor: pointer;
    display: inline-block;
    font-size: 11px !important;
    line-height: 20px;
    margin: 0 5px 9px 0;
    padding: 6px 11px;
    transition: all 0.4s ease-in-out 0s;
    text-transform: capitalize;
    border-width:1px;
    border-style: solid;
}
select {
    color: var(--abyss-color);
    background: var(--white);
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid;
    display: block;
    padding: 13px 16px;
    width: 100%;
    outline: 0;
    height: 54px;
}
.my-widget{padding: 0 15px;}
iframe#bst_widget {border-radius: 8px;}
.has-cyan-bluish-gray-background-color {
    margin: 15px 0;
    background-color: #abb8c3;
}
.small-wrap{max-width: 800px; margin: 0 auto 100px;}



/*----------------------------
 about
 ---------------------------- */
.line1-center-txt p {
  margin-inline: auto;
  width: fit-content;
  max-width: 40rem;
  margin: 0 auto; }

.line1-center-txt a {
  color: var(--link-color);
  border-bottom: 1px solid; }

/*----------------------------
 更新履歴
 ---------------------------- */
.news {
  background: white;
  padding: 24px;
  font-weight: 300;}
  .news li {
    border-bottom: 1px dotted lightsteelblue;
    padding: 0 0 8px;
    margin: 0 0 8px; }
    .news li:last-child {
      border: none;
      margin: 0;
      padding: 0; }
    .news li a {
    color: var(--link-color);
    font-weight: 400;
    border-bottom: none;}
  .news__wrap {
    margin: -20px auto 100px;
    position: relative;
    background: white;
      border: 1px solid;}
.news__wrap .more {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid lightsteelblue;
  color: var(--main-color);
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.1rem;
}
.news__wrap .more a {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
}

.news__wrap .more a:hover {
  opacity: 0.7;
}

  .news .news__date {
    font-size: 15px;
    font-family: var(--logofont);
    line-height: 1;
    letter-spacing: 0.05rem;
    white-space: nowrap;
    color: var(--main-color);
    width: 11ch;}

.news__tag {
  font-weight: 400;
  border: 1px solid;
  font-size: 0.5em;
  border: 1px solid;
  padding: .1em .7em;
  color:currentColor;}
.news__tag.badge-reply {
    color: #004094;}
.news__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .5em}
.news__tags {
  display: flex;
  gap: 5px;}
@media screen and (max-width: 600px) {
  .news__item {
    flex-direction: row;}
  .news__title {
    width: 100%;;
  }
}

/* PCでは、更新日・タグ・タイトルは横並び */
@media screen and (min-width: 600px) {
  .news__item {
    flex-direction: row;
    align-items: center;
  }
  .news__title {
    margin-left: 15px;
  }

  .news__tags {
    flex-wrap: nowrap;
  }
}
/* 年月見出し（news archive） */
.news-ym {
  margin: 3.5rem 0 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--light-color);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: .08em;
  opacity: .8;
}

/* 最初の年月見出しだけ余白を抑える */
.news-ym:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/*----------------------------
 ギャラリーのモーダル部分
 ---------------------------- */
.modal-open {
  top: 50%;
  left: 50%;
  font-size: 16px;
  font-weight: bold;
  width: 300px;
  height: 60px;
  color: var(--white);
  background: var(--text-color);
  border: none;
  cursor: pointer; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  backdrop-filter: grayscale(1);
  -webkit-backdrop-filter: grayscale(1);
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box; }
  @media screen and (max-width: 769px) {
    .modal {
      padding: 40px 10px;
      box-sizing: border-box;
      overflow-x: hidden; } }

.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em; }

.modal.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 9999; }

.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 800px;
  width: 97%; }

.modal-close {
  position: absolute;
  display: flex;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: var(--text-color);
  cursor: pointer;
  font-size: 28px;
  cursor: pointer; }

.modal-content {
  background: white;
  text-align: left;
  line-height: 1.8;
  padding: 16px;}
  .modal-content a {
    color: var(--green);
    border-bottom: 1px solid; }
  .modal-content figure {
    margin: 0 auto;
    padding: 0 0 16px 0; }
  .modal-content p {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 0 16px 0; }
.is-layout-flex > :is(*, div){margin: auto;}


/*----------------------------
 ローディング
 ----------------------------*/
.loading-msg {
  font-family: var(--logofont);
  font-size: 0.9rem;
  letter-spacing: .08em;
  color: white;
  text-align: center;
  padding: 2rem;
  opacity: .4;
  animation: loadingPulse 0.8s infinite alternate ease-in-out;
}

@keyframes loadingPulse {
  0%   { opacity: .3; }
  100% { opacity: 1; }
}

/*----------------------------
 小説レイアウト
 ----------------------------*/
.novel-list {
  display: grid;
  gap: 1.5rem;
}

.novel-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}
.novel-item{
  outline: 1px solid;
  margin: 1px;
  background: white;
}
@media screen and (max-width: 599px) {
  .home .novel-list .novel-item:nth-child(n+2) {
    display: none;
  }}
.novel-img {
  flex: 0 0 15%;
  padding: 2rem;
  border-right: 1px solid;
}
.novel-img img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.3);
}
/* 情報部分 */
.novel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: .5em 0;
}
.novel-info dl {
  padding: .1rem 1rem;
  border-bottom: 1px solid var(--light-color);
  display: flex;
  justify-content: space-between;
}
.novel-info dl:last-child {
  border-bottom: none; /* 最後の項目だけ下線を消す */
}
.novel-info dt {
    font-size: .7rem;
    opacity: .4;
    margin-bottom: .1rem;
    width: 60px;
    margin: 0 1rem;
    font-family: 'Share Tech Mono';
}
.novel-info dd {
  width: calc(100% - 55px);
  line-height: 1.55;
  font-weight: 300;
}
dd.summary{font-size: .8rem;}
dd.novel-title {
  font-size: 1.2rem;
  font-weight: 400;
}
.novel-cat,
.novel-tag {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .5rem;
}
.novel-cat li,
.novel-tag li {
  font-size: .85rem;
}
@media (max-width: 428px) {
  .novel-link {
    flex-direction: column;
  }
  .novel-img {
    flex: none;
    border-right: none;
    border-bottom: 1px solid;
  }
}

/*-----------------------------------
  オフライン収録本（販売カード）
-----------------------------------*/
.novel-offline-card {
  border: 1px solid;
  background: gainsboro;
  position: relative;
  transition: .25s;
}
.novel-offline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* 表紙を主役に */
.novel-offline-card .novel-img {
  flex: 0 0 28%;
  padding: 1.2rem;
  border-right: 1px solid;
}

/* 情報側 */
.novel-offline-card .novel-info dl {
  padding: .45rem .6rem;
  font-family: var(--titlefont);
}

/* 金額強調 */
.novel-offline-card .price {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: .03em;
  color: var(--main-color);
}
/* ラベル帯（タグ） */
.novel-offline-card .ribbon {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--main-color);
  color: var(--white);
  font-size: .75rem;
  padding: .35rem .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-bottom-right-radius: .25rem;
  z-index: 2;
}

/* スマホ対応 */
@media (max-width: 428px) {
  .novel-offline-card .novel-img {
    flex: none;
    padding: .9rem;
    border-right: none;
    border-bottom: 1px solid;
  }
}
/* Sample button */
.novel-offline-card__samplebtn {
  border-top: 1px solid;
  text-align: center;
background: var(--text-color);
    color: var(--white);
}

.novel-offline-card__samplebtn a {
  display: block;
  padding: .8rem 1rem;
  text-decoration: none;
  color: inherit;
  font-size: .92rem;
  font-family: var(--titlefont);
  letter-spacing: .06em;
  transition: .25s;
}
.novel-offline-card__samplebtn a:hover {
  opacity: 1;
  background: rgba(0,0,0,.06); /* 控えめな変化 */
}
.no-sample .novel-offline-card__samplebtn { display:none; }
.related-offline {
  margin: 4rem auto;
}
.related-offline .section-title {
  font-family: var(--mincho);
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
  letter-spacing: .08em;
}
.column-l .novel-offline-card .novel-link {
  flex-direction: column;
}

.column-l .novel-offline-card .novel-img {
  flex: none;
  border-right: none;
  border-bottom: 1px solid;
  padding: .9rem; /* スマホ版に合わせる */
}

/* -------------------
短歌
------------------- */
/* PC */
.tanka_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
}
/* カード本体 */
.tanka_card {
  border: 1px solid;
  padding: 2.8rem 3rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.archive .tanka_card {
  padding: 2.8rem 4rem;
}

/* 縦書き本文 */
.tanka_card__text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.15rem;
  line-height: 2.1;
  white-space: normal;
  margin: auto; /* 真ん中配置 */
}

/* 補助情報 */
.tanka_card__meta {
  display: flex;
  flex-direction: column;
  text-align: right;
  margin-top: 2rem;
  font-size: .78rem;
  opacity: .4;
}

/* スマホ */
@media screen and (max-width: 740px) {
  .tanka_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
 .home .tanka_cards .tanka_card:nth-child(n+3) {
    display: none;
  }
}
@media screen and (max-width: 499px) {
  .tanka_cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home .tanka_cards .tanka_card:nth-child(n+2) {
    display: none;
  }
  .tanka_card__text {
    font-size: 1.05rem;
    line-height: 2;
  }
  .tanka_card__meta{font-size: .7rem;}
}
@media screen and (max-width: 599px) {
  .home .cards .card:nth-child(n+7) {
    display: none;
  }
  .home .lab-cards .lab-card:nth-child(n+2) {
    display: none;
  }
  .home .symbionts-specimens .symbionts-specimen:nth-child(n+2) {
    display: none;
  }}
@media screen and (max-width: 899px) {
  .home .lab-cards .lab-card:nth-child(n+3) {
    display: none;
  }
  .home .symbionts-specimens .symbionts-specimen:nth-child(n+3) {
    display: none;
  }
}
/* -------------------
ボタン
------------------- */
.block-btn{margin: auto;}
.block-btn a {
    font-family:var(--titlefont);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-color);
  font-weight: 500;
  border: 1px solid;
  display: block;
  box-sizing: border-box;
  max-width: 300px;
  text-align: center;
  padding: 16px 64px;
  margin: 24px auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.block-btn a:hover {
  color: var(--white);
  background: var(--text-color);
  transition: all 0.3s;
}

/* ===============================
   INDEX用右横ラインボタン
================================ */
.line_btn a {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0 2rem auto;
    max-width: 200px;
    padding: 10px 25px;
    color: var(--text-color);
    font-size: .8rem;
    letter-spacing: .1rem;
    transition: 0.3s ease-in-out;
}
.line_btn a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 1px;
    background: var(--light-color);
    transform: translateX(-50%);
}
.line_btn a:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: var(--text-color);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.line_btn a:hover {
    opacity: 0.7;
}
.line_btn a:hover:after {
    transform: scale(1, 1);
}

/*-----------------------------------
  NOTEカード（ラボ図録スタイル）
-----------------------------------*/
.lab-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.lab-card {
  outline: 1px solid;
  margin: 1px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: opacity .25s;
}

.lab-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/*-----------------------------------
  NOTEカード
-----------------------------------*/

.lab-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 20px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: var(--thumb);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ▼ 背景ボケ用レイヤー（疑似要素にBlurをかける）*/
.lab-card__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--thumb);
  background-size: cover;
  background-position: center;
  filter: blur(1px);
  transform: scale(1.12);  /* ボケの隙間防止 */
  z-index: -1;
}

/* 本来の画像（シャープ） */
.lab-card__thumb .thumb-main {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform .45s ease;
}

.lab-card:hover .thumb-main {
  transform: scale(1.03);
}

/* 本文 */
.lab-card__body {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: right;
  border-top: 1px solid var(--light-color);
}

.lab-card__title {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
}

/* ラベル・メタ情報 */
.lab-card__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .2rem 0 .5rem;
  gap: .8rem;
  border-bottom: 1px solid var(--light-color);
}

.lab-card__type {
  font-size: .8rem;
  font-weight: 500;
  opacity: .5;
}

.lab-card__tags {
  font-size: .75rem;
  color: lightsteelblue;
  flex-grow: 1;
  text-align: right;
}

.lab-card__author {
  font-size: .85rem;
  opacity: .9;
}

.lab-card__meta {
  font-size: .75rem;
  margin-top: .6rem;
}
/*--------------寄贈作品------------*/
/* =====================================
  SYMBIONTS SPECIMEN CARD
===================================== */
.symbionts-specimens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .symbionts-specimens {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .symbionts-specimens {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.symbionts-specimen {
  border: 1px solid var(--light-color);
  background: #fff;
  font-size: .9rem;
  position: relative;
  height: 100%;
  display: flex;
}

/* 左端の極薄ライン（specimen-card踏襲） */
.symbionts-specimen::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--light-color);
}

.symbionts-specimen__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.symbionts-specimen__header {
  display: flex;
  justify-content: space-between;
  padding: .9rem 1.2rem .6rem;
  border-bottom: 1px solid var(--light-color);
}

.specimen-label-main,
.specimen-label-sub {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: lowercase;
}
.specimen-label-sub{opacity: .4}
.symbionts-specimen__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.symbionts-specimen__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.symbionts-specimen__body {
  padding: .9rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
    border-top: 1px solid var(--light-color);
}


/*-----------------------------------
  寄贈作品のラベル
-----------------------------------*/
.specimen-card {
  border: 1px solid var(--light-color);
  padding: 1.4rem 1.6rem 1.6rem;
  background: #fff;
  font-size: .9rem;
  position: relative;
  max-width: 400px;
  margin: auto;
}

/* 左端の極薄縦ライン */
.specimen-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--light-color);
}

/* タイトル（archive data.  /  catalog no.） */
.specimen-card__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--light-color);
}
.specimen-card__title .title-main,
.specimen-card__title .title-sub {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: lowercase;
  opacity: .3;
}

/* 本文 */
.specimen-card__body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.specimen-row {
  display: flex;
  gap: .7rem;
}

/* key（type. / author. ...） */
.specimen-key {
  font-size: .78rem;
  letter-spacing: .03em;
  opacity: .4;
  flex-shrink: 0;
  width: 70px;
  text-transform: lowercase;
}

/* value */
.specimen-value {
  font-size: .83rem;
  opacity: .9;
  flex: 1;
  line-height: 1.55;
}
.specimen-value.specimen-title{
  font-size: .9rem;
  font-weight: 500;
}
.line{
    height: 1px;
    background: var(--light-color);
    width: 100%;}
/* SNSアイコン（before使用） */
.specimen-sns {
  margin-left: .35rem;
  display: inline-block;
  width: .8rem;
  height: .8rem;
}
.specimen-sns::before {
  font-family: "Material Symbols Sharp";
  content: "\e89e";
}
.specimen-sns:hover::before {
  opacity: .45;
}

/* スマホでは本文より前へ */
@media screen and (max-width: 769px) {
  .specimen-card {
    order: -1;
  }
}
.symbionts-archive-lead {
  font-size: .9rem;
  line-height: 1.7;
  letter-spacing: .03em;
  opacity: .82;
  margin: 1.6rem 0 2.4rem;
}

/* ---------------------------------------
  左から迫り出す解説文
--------------------------------------- */
/* 左下固定CAPTIONボタン */
.caption-btn {
  display: block;
  margin:1rem auto 0 0;
  padding: .2rem 1rem;
  background: lightsteelblue;
  color: white;
  border-color: white;
  font-family: var(--titlefont);
  font-size: 1.2rem;
  cursor: pointer;
  transition: opacity .3s ease;
}

.caption-btn:hover {
  opacity: .8;
}

/* CAPTIONパネル（左スライドイン） */
.caption-panel {
  position: fixed;
  top: 0;
  left: -80%;              /* ← メニューと対称 */
  width: 80%;              /* SPは80%で統一 */
  max-width: 360px;        /* 幅固定：美術館パネル感 */
  height: 100vh;
  height: 100dvh;
  background: #faf8f4;     /* 美術館パネル風：生成り系 */
  padding: 40px 24px;
  box-sizing: border-box;
  z-index: 1300;
  transition: left .35s ease;
  box-shadow: 4px 0 11px var(--light-color);
  overflow-y: auto;
}

/* 開いた状態 */
.caption-panel.active {
  left: 0;
}
.caption-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: lightsteelblue;
}

.caption-close:hover {
  color: #000;
}

/*-----------------------------------
  動画一覧ページ
-----------------------------------*/

/* --- 動画個別ページ --- */
/* --- 動画ラッパ（共通） --- */
.single-movie{
  max-width: none;
  background: var(--abyss-color);
   color: white;}
   .single.single-movie .contents__main a{
    color: var(--green);}
.single-movie .contents__main h2{border-bottom: 1px solid white;}
.movie-video-wrapper {
  width: 100%;
  overflow: hidden;
}

.movie-video-wrapper video {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* --- PC では左側に固定表示する（画面中央に） --- */
@media (min-width: 900px) {

  .movie-sticky {
    position: fixed;       /* ★ 画面に固定 */
    top: 50%;              /* ★ 画面の中央 */
    left: 10px;               /* 左カラム位置 */
    transform: translateY(-50%); /* 正確に中央へ */
    width: 40vw;           /* お好みで調整可（例: 40vw / 45vw など） */
    padding: 24px;
    box-sizing: border-box;
  }

  /* 本文は動画の右側へ逃がす */
  main .movie-content {
    margin-left: 40vw;  /* ★ 動画の幅と合わせて調整 */
    width: calc(60vw - 250px);
    flex: none;
  }
}

/* --- スマホでは通常の sticky を維持 --- */
@media (max-width: 900px) {
  .movie-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-bottom: 11px;
  }

  .movie-content {
    margin-left: 0;
    padding-left: 0;
  }
}
h1.movie-title {
    font-size: 3rem;
    font-weight: 700;
    margin: .8rem 0 1rem;
    line-height: 1.4;
    word-break: break-word;
}


/*-----------------------------------
  トップページ専用動画
-----------------------------------*/

.front-movie-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.front-movie-card {
  border: 1px solid;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.front-movie-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.front-movie-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.front-movie-card:hover .front-movie-thumb video {
  transform: scale(1.03);
}

.front-movie-body {
  padding: 1rem;
  text-align: right;
}

.front-movie-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.front-movie-note-link {
  font-size: .82rem;
  margin-top: .35rem;
  display: inline-block;
  opacity: .75;
}
.front-movie-note-link:hover {
  opacity: 1;
}
/* ===============================
   Single Header layout
================================= */

/* 全体構造 */
.single-header {
  display: flex;
  margin: -40px 0 4rem;
  background: #fff;
  box-sizing: border-box;
}

/* 左：アイキャッチ */
.single-header__thumb {
  flex: 0 0 40%;
}

.single-header__thumb img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
}

/* 右：メタ情報 */
.single-header__meta {
  flex: 1;
  padding: 0 20px;
  overflow: hidden;
}

/* 上段：カテゴリ＋日付 */
.single-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .9rem;
  color: lightsteelblue;
}

/* タイトル */
.single-header__title {
  margin: .8rem 0 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

/* ==== SP layout===== */
@media (max-width: 767px) {
  .single-header {
    flex-direction: column;
    padding-bottom: 30px;
  }

  .single-header__thumb {
    flex: none;
  }

  .single-header__thumb img {
    height: auto;
  }

  .single-header__title {
    font-size: 2rem;
  }
}

/* ====== Category / Tag common ====== */

.single-header .category,
.single-header .tag {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 20px;
}

.single-header .tag {
  margin-top: 30px;
}

/* タイトル共通 */
.single-header .tag__ttl {
  font-family: 'Abel', sans-serif;
  font-size: 16px;
  min-width: 56px;
  letter-spacing: .05rem;
}

/* リスト共通 */
.single-header .category ul,
.single-header .tag__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ====== Category link ====== */
.single-header .category a {
  color: lightsteelblue;
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  border: 1px solid;
  background: #fff;
  text-decoration: none;
  transition: background .2s ease;
}

.single-header .category a:hover {
  background: lightsteelblue;
  color: #fff;
}

/* ===== Tag link ====== */
.single-header .tag__list a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: #fff;
  background: #000;
  text-decoration: none;
  transition: background .2s ease;
}

.single-header .tag__list a::before {
  content: "#";
  margin-right: .25em;
  opacity: .9;
}


/* ------------------
プロフィール
 -------------------- */
 /* -----吹き出し------ */
.hukidashi {
  position: relative;
  display: block;
  margin: 20px auto 0 auto;
  width: fit-content;
  max-width: 500px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #000000;
  border-radius: 4px;
  background-color: #ffffff;
  text-align: left;
/*  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;*/
  color: #000000;
}

.hukidashi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 7.5px 20px 7.5px;
  border-color: transparent transparent #000000;
  translate: -50% -100%;
}

.hukidashi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 6.4px 17.1px 6.4px;
  border-color: transparent transparent #ffffff;
  translate: -50% -100%;
}
/* -----アイコン------ */
.c-icon {
  width: 110px;
  height: 110px;
  border-radius: 70px;
  overflow: hidden;
  margin: 24px auto; }
  .c-icon img {
    width: 100%;
    margin: 0 auto 16px;
    height: 100%;
    object-fit: cover; }

.l-narrow {
  margin: 0 auto;
  width: 70%; }
  @media screen and (max-width: 769px) {
    .l-narrow {
      width: 80%; } }

.tagcloud {
  margin-top: 12px;
}

.tagcloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tagcloud__item {
  margin: 0;
}

.tagcloud__item a {
  display: inline-block;
  padding: 4px 10px;
  font-size: .8rem;
  line-height: 1.6;
  background: var(--abyss-color);
  color: var(--white);
  text-decoration: none;
  transition: background-color .2s ease;
}

.tagcloud__item a:hover {
  background: #555;
}


/* =========================
   CP名
========================= */
.flagcloud {
  margin-top: 10px;
}

.flagcloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.flagcloud__item a {
  display: inline-block;
  padding: 4px 10px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--abyss-color);
  border: 1px solid;
  text-decoration: none;
}

/* =========================
   子カテゴリ（タグ反転）
========================= */

.category-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.category-child {
  margin: 0;
}

.category-child a {
  display: inline-block;
  padding: 4px 10px;
  font-size: .8rem;
  line-height: 1.6;
  background: white;
  color: var(--abyss-color);
  border: 1px solid var(--abyss-color);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.category-child a:hover {
  background: var(--abyss-color);
  color: var(--white);
}

ul.wp-block-list{
    padding: 1em 2.3em;
    position: relative;
    background: #fefefe;
    max-width:500px;
}
ul.wp-block-list a{
  color: var(--link-color);
  font-weight: bold;
}
ul.wp-block-list.mokuji {
    padding: 1em 1em 1em 2.3em;
    margin: 40px 10px;
}
ul.wp-block-list.mokuji_inner {
    padding: 0 0 0 1em;
    margin: 0;
}

.fix-widget{
position: -webkit-sticky; /* Safari対応 */
position: sticky;
top:100px;
}
@view-transition {
  navigation: auto;
}

/*埋め込みニコニコ動画、ニコリンクをdivで囲むこと*/
.niconico {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.niconico iframe {
  width: 100%;
  height: 100%;
}

/* --- 強制上書き：single-header 横並び設定 --- */
.single-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* アイキャッチ左・本文右（PC） */
@media screen and (min-width: 768px) {
  .single-header__thumb {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .single-header__meta {
    flex: 1 1 55%;
  }
}

/* スマホでは縦並び */
@media screen and (max-width: 767px) {
  .single-header {
    flex-direction: column !important;
  }
  .single-header__thumb {
    width: 100% !important;
  }
  .single-header__thumb img {
    width: 100%;
    height: auto;
  }
}
/*シングルページの下部関連*/
.single-meta {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-color);
  font-size: 13px;
  opacity: .75;
}

.single-meta__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-meta__item {
  display: flex;
  gap: 1em;
  margin-bottom: .5em;
}

.single-meta__label {
  min-width: 4em;
  letter-spacing: .1em;
  opacity: .6;
}

.single-meta__value {
  letter-spacing: .05em;
}

.single-meta-card {
  margin: 0 auto 3rem;
  display: flex;
  justify-content: center;
}

.single-meta-card__inner {
  max-width: 520px;
  width: 100%;
  padding: 1.5rem 2rem;
  border: 1px solid ;
  background: white;
}

.single-meta-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-meta-card__item {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 1em;
  margin-bottom: .75em;
  font-size: 13px;
}

.single-meta-card__item:last-child {
  margin-bottom: 0;
}

.single-meta-card__label {
  letter-spacing: .15em;
  color: lightsteelblue;
  white-space: nowrap;
}

.single-meta-card__value {
  letter-spacing: .05em;
}

.single-meta-card__value a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--light-color);
}

.single-meta-card__value a:hover {
  border-bottom-color: var(--main-color);
}


/* =========================
   フェード
========================= */
.fade-fv {
  opacity: 0;
  animation: fvFade 0.8s ease-out forwards;
}

@keyframes fvFade {
  to { opacity: 1; }
}
@supports (animation-timeline: view()) {
  .fade-scroll {
    animation: fadeIn linear both;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
  }
}
/* =========================
   Scroll animations
========================= */
.scroll_up,
.scroll_left,
.scroll_right,
.scroll_left_wrap,
.scroll_right_wrap {
  opacity: 0;
  transition: transform .8s ease-out, opacity .8s ease-out;
  backface-visibility: hidden;
  contain: layout paint;
}

/* direction */
.scroll_up   { transform: translateY(30px); }
.scroll_left { transform: translateX(-30px); }
.scroll_right { transform: translateX(30px); }

/* wrapper only（必要なら残す） */
.scroll_left_wrap,
.scroll_right_wrap {
  width: 100%;
  display: block;
}

/* active */
.scroll_up.on,
.scroll_left.on,
.scroll_right.on,
.scroll_left_wrap.on,
.scroll_right_wrap.on {
  transform: translate(0,0);
  opacity: 1;
}

.password-txt::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f023"; /* fa-lock */
  font-size: .9em; /* 小さめで上品 */
  color: #555;
  margin-right: .35em;
  opacity: .8;
}
.modal-container .ifw_wrap button.ifw_btn{
    color: #333333;
    background: #fefefe;
}
.modal-container .ifw_wrap button.ifw_btn:hover{
    color: #fefefe;
    background: #333333;
}
.nf-form-content textarea.ninja-forms-field{background: white;}

/*top用深海グラデ*/
body.home,body.archive,body.page {
  background: linear-gradient(
    to bottom,
    #f4f4f4 0%,
    #f0f2f5 40%,
    #e2e6ec 65%,
    #cfd6de 80%,
    #2a2f36 100%
  );
}
footer{
  color: #f4f4f4;
  padding: 24px 0;
  text-align: center;
  font-family: var(--titlefont);
  font-size: 11px;
  letter-spacing: 0.1rem;
  margin-top: auto; }
  .single footer{
  background: var(--abyss-color);}
.footer_kotei {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.hakushu,.hakushu .block-btn a{color: var(--white);}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]{
display:flex;
}

/* =================================
  details / summary デフォルト拡張：右端に + / —
================================= */
details {
  border: 1px solid #aaa;
  padding: 0.5em 0.5em 0;
}

summary {
  /* 見た目 */
  font-weight: 700;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
  background-color: #EFEFEF;
  color: var(--abyss-color);
  /* 操作性 */
  cursor: pointer;
  transition: background-color 0.2s;

  /* 右端 +/— 用レイアウト */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;

  /* 三角マーカーを消す（Safari/Chromium対策） */
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background-color: #ffffff;
}

details[open] {
  padding: 0.5em;
}

details[open] summary {
  border-bottom: 1px solid #aaa;
  margin-bottom: 0.5em;
}

/* タイトル部分を左、記号を右に（summary内に複数要素が入る場合の保険） */
summary > *:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

/* 右端の +（閉） */
details > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-weight: 700;
  opacity: 0.9;
}

/* 右端の —（開） */
details[open] > summary::after {
  content: "—";
}
/*dream.php*/
ul.process{
  display: flex;
  justify-content: center;}

.changeName label{padding: 1rem;}
.material-symbols-sharp{vertical-align: middle;}
.wp-block-image img{margin-top: 5px;}
.nf-form-hp{display: none;}