@charset "UTF-8";
@import url(./html5reset.css);
@import url(./cssreset.css);
@import url(./basic.css);
@import url(./animation.css);
@import url(./snippet.css);
/*============================================================

    BASIC

============================================================*/
/*--------------------------------
	色設定
--------------------------------*/
:root {
  /* 基本色 */
  --color-primary: #000;
  --color-link: #000;
  --color-hover: #666;
  /* ハイライト色 */
  --color-highlight: #E84040;
  --color-highlight-link: #E84040;
  --color-highlight-hover: #c93030;
  /* リンクボタン */
  --linkbtn-color: #fff;
  --linkbtn-bgcolor: #E84040;
  --linkbtn-bordercolor: #E84040;
  --linkbtn-color-hover: #E84040;
  --linkbtn-bgcolor-hover: #fff;
  --linkbtn-bordercolor-hover: #E84040;
  /* ローダー */
  --bgcolor-loader: #fff;
  --bordercolor-loader-primary: rgba(0, 0, 0, 0.2);
  --bordercolor-loader-secondary: rgba(0, 0, 0, 0.8);
  /* ヘッダー */
  --bgcolor-header: #fff;
  --bgcolor-nav: #1a1a1a;
  --height-header: 100px;
  /* ハンバーガー */
  --color-navbtn: #000;
  --color-navbtn-hover: #ccc;
  /* フッター */
  --bgcolor-footer: #1a1a1a;
  --color-footer: #fff;
  /* アイコン */
  --color-icon: #666;
  --color-icon-hover: #000;
  /* ボーダー */
  --bordercolor-primary: #000;
  /* テーブル */
  --bordercolor-table: #ddd;
  --bgcolor-table: #f5f5f5;
}

@media screen and (max-width: 812px) {
  :root {
    --height-header: 80px;
  }
}
/* 基本 */
body {
  overflow-x: hidden;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: justify;
  color: var(--color-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  /* Noto Sans JP 有効 */
  /* Noto Serif JP 有効 */
}
body #loader-wrapper {
  /* ページ遷移のトランジション + ローディング */
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: var(--bgcolor-loader);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  will-change: opacity;
}
body #loader-wrapper #loader {
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--bordercolor-loader-primary);
  border-right: 2px solid var(--bordercolor-loader-primary);
  border-bottom: 2px solid var(--bordercolor-loader-primary);
  border-left: 2px solid var(--bordercolor-loader-secondary);
  transform: translateZ(0);
  animation: loader 1.1s infinite linear;
}
body.transition #loader-wrapper {
  opacity: 1;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*============================================================

    LINK

============================================================*/
/*--------------------------------
    リンク基本スタイル
--------------------------------*/
a:link, a:visited {
  color: var(--color-link);
  text-decoration: none;
}
@media (any-hover: hover) {
  a:hover {
    color: var(--color-hover);
    text-decoration: none;
  }
  a:hover svg {
    fill: var(--color-hover);
  }
}

/*--------------------------------
    リンクボタン
--------------------------------*/
.link_btn {
  margin: 0 auto;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  width: 300px;
}
@media screen and (max-width: 812px) {
  .link_btn {
    width: 50%;
    min-width: 200px;
  }
}
.link_btn a {
  width: 100%;
  min-height: 60px;
  padding: 0 30px 0 20px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 812px) {
  .link_btn a {
    min-height: 40px;
  }
}
.link_btn a:link, .link_btn a:visited {
  color: var(--linkbtn-color);
  background-color: var(--linkbtn-bgcolor);
  border: 2px solid var(--linkbtn-bordercolor);
}
.link_btn a svg {
  width: 24px;
  height: 24px;
  fill: var(--linkbtn-color);
  transition: 0.4s;
  will-change: transform;
  flex: 0 0 auto;
  max-width: 100%;
  position: absolute;
  right: 15px;
}
@media (any-hover: hover) {
  .link_btn a:hover {
    color: var(--linkbtn-color-hover);
    background-color: var(--linkbtn-bgcolor-hover);
    border: 2px solid var(--linkbtn-bordercolor-hover);
  }
  .link_btn a:hover svg {
    fill: var(--linkbtn-color-hover);
    transform: translate3d(5px, 0, 0);
  }
}

/*--------------------------------
    SNSアイコン
--------------------------------*/
a .icon_sns_insta,
a .icon_sns_fb,
a .icon_sns_tw,
a .icon_sns_note {
  fill: var(--color-icon);
}
@media (any-hover: hover) {
  a:hover .icon_sns_insta,
  a:hover .icon_sns_fb,
  a:hover .icon_sns_tw,
  a:hover .icon_sns_note {
    fill: var(--color-icon-hover);
  }
}

/*============================================================

    LAYOUT

============================================================*/
/*--------------------------------
    MAIN
--------------------------------*/
main {
  margin: 0 auto;
  /* ヘッダーの高さ依存 */
  padding-top: var(--height-header, 64px);
}
@media screen and (max-width: 812px) {
  main {
    padding-top: var(--height-header, 64px);
  }
}
main section {
  margin: 0 auto;
  padding: 12rem 0;
}
@media screen and (max-width: 812px) {
  main section {
    padding: 6rem 0;
  }
}
main section#second_title {
  padding-bottom: 0;
}
main section.gap-no {
  padding-top: 0;
}
main section.gap-s {
  padding-top: 6rem;
}
@media screen and (max-width: 812px) {
  main section.gap-s {
    padding-top: 3rem;
  }
}
main section.gap-m {
  padding-top: 8rem;
}
@media screen and (max-width: 812px) {
  main section.gap-m {
    padding-top: 4rem;
  }
}
main section.gap-l {
  padding-top: 10rem;
}
@media screen and (max-width: 812px) {
  main section.gap-l {
    padding-top: 5rem;
  }
}
main section.gap-xl {
  padding-top: 15rem;
}
@media screen and (max-width: 812px) {
  main section.gap-xl {
    padding-top: 7rem;
  }
}

/*--------------------------------
    汎用コンテナ
--------------------------------*/
.container {
  max-width: 1280px;
  min-width: 900px;
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
  border-left: 1px solid var(--bordercolor-primary);
  border-right: 1px solid var(--bordercolor-primary);
}
@media only screen and (min-width: 1280px) {
  .container {
    padding-left: 38px;
    padding-right: 38px;
  }
}
@media only screen and (max-width: 990px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (max-width: 812px) {
  .container {
    max-width: none;
    min-width: 0;
    width: 90%;
    padding-left: 0;
    padding-right: 0;
  }
}
.container.--wide {
  max-width: none;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

/* トップページ / 記事一覧 / 検索結果（body.general）: 背景画像を敷き詰め（画像はRetina対応の2倍サイズなので、表示は元画像の50%＝724.5×250pxで指定） */
body.general {
  background-image: url("/assets/images/bg_general.png");
  background-repeat: repeat;
  background-size: 724.5px 250px;
}

/* トップページ / 記事一覧 / 検索結果（body.general）: .container 左右padding無し */
body.general .container {
  padding-left: 0;
  padding-right: 0;
}

/* トップページ / 記事一覧 / 検索結果（body.general）: SP時のpostImg幅 */
@media screen and (max-width: 812px) {
  body.general .post_list[data-list-type=card] .postImg {
    width: 70%;
    padding-top: 3.8rem;
  }
}

/* トップページ / 記事一覧 / 検索結果（body.general）: カードホバー時、罫線内の背景を白に（li内のaタグにカーソルが乗っている間だけ発火） */
body.general .post_list[data-list-type=card] li {
  /* .io(opacity/transform)のtransitionを消さないよう合成して指定 */
  transition: opacity 0.8s ease 0s, transform 0.8s ease 0s, background-color 0.3s ease;
}
@media (any-hover: hover) {
  body.general .post_list[data-list-type=card] li:has(a:hover) {
    background-color: #fff;
  }
}

/* トップページ / 記事一覧 / 検索結果（body.general）: カードホバー時、NEWバッジを黄色背景＋黒文字に（色をなめらかに切り替え、li内のaタグにカーソルが乗っている間だけ発火） */
@media (any-hover: hover) {
  body.general .post_list[data-list-type=card] li.--is-new:has(a:hover)::before {
    background-color: #FFFE54;
  }
  body.general .post_list[data-list-type=card] li.--is-new:has(a:hover)::after {
    background-color: #000;
  }
}

/*--------------------------------
    汎用インナー
--------------------------------*/
.inner {
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
}
@media screen and (max-width: 812px) {
  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/*--------------------------------
    汎用ボックス
--------------------------------*/
.box {
  margin: 0 auto;
}
.box + .box {
  margin-top: 10rem;
}

/*--------------------------------
    P
--------------------------------*/
p {
  margin-bottom: 1.5em;
}

/*============================================================

    HEADER

============================================================*/
/*--------------------------------
    基本設定
--------------------------------*/
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  width: 100%;
  height: var(--height-header, 150px);
  background-color: var(--bgcolor-header);
  transition: transform 0.3s;
  overflow: hidden;
}
header.hide {
  transform: translate(0, -100%);
}
header #header_marquee {
  display: flex;
  align-items: center;
  height: 100%;
}
header #header_marquee .header_marquee_content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}
header #header_marquee .header_marquee_content a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
header #header_marquee .header_marquee_content img {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media screen and (max-width: 812px) {
  header {
    height: 80px;
  }
}

/* トップページ：ヘッダー背景を透過に + スクロールで画面外へ流れるようにposition: absolute */
body.top header {
  position: absolute;
  background-color: transparent;
}

/* 二階層目：ヘッダー高さ変更・マーキー停止・ロゴ1点表示 */
body:not(.top) {
  --height-header: 120px;
}
@media screen and (max-width: 812px) {
  body:not(.top) {
    --height-header: 60px;
  }
}
body:not(.top) #header_marquee {
  justify-content: center;
}
body:not(.top) #header_marquee .header_marquee_content {
  animation: none;
  flex-shrink: 1;
}
body:not(.top) #header_marquee .header_marquee_content[aria-hidden=true] {
  display: none;
}
body:not(.top) #header_marquee .header_marquee_content img[aria-hidden=true] {
  display: none;
}
body:not(.top) #header_marquee .header_marquee_content a img {
  height: 60px;
}
@media screen and (max-width: 812px) {
  body:not(.top) #header_marquee .header_marquee_content a img {
    height: 32px;
  }
}
body:not(.top) header {
  background-color: transparent;
}
@media screen and (max-width: 812px) {
  body:not(.top) header {
    height: 60px;
  }
}
body:not(.top) main {
  padding-top: 0;
}
body:not(.top) #search_btn_fixed,
body:not(.top) #search_panel_close {
  top: calc((var(--height-header, 120px) - 40px) / 2);
}

/* ヘッダー直下の固定検索ボタン */
#search_btn_fixed {
  position: fixed;
  top: calc(var(--height-header, 150px) + 12px);
  right: 20px;
  z-index: 9996;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
#search_btn_fixed svg {
  display: block;
  transition: stroke 0.3s;
}
#search_btn_fixed:focus {
  outline: none;
}
#search_btn_fixed:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (any-hover: hover) {
  #search_btn_fixed:hover {
    background-color: #fff;
    border-color: var(--color-highlight);
    transform: scale(1.08);
  }
  #search_btn_fixed:hover svg {
    stroke: var(--color-highlight);
  }
}

/*============================================================

    FOOTER

============================================================*/
/*--------------------------------
   基本設定
--------------------------------*/
footer {
  position: relative;
  margin-top: 0;
}
footer .footer_marquee {
  display: flex;
  align-items: center;
  height: 100px;
  overflow: hidden;
}
footer .footer_marquee .footer_marquee_content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}
footer .footer_marquee .footer_marquee_content img {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media screen and (max-width: 812px) {
  footer .footer_marquee {
    height: 80px;
  }
}
footer .footer_main {
  background-color: var(--bgcolor-footer);
  text-align: center;
  padding: 6rem 0 3rem;
}
footer .footer_main .footer_contact {
  display: inline-block;
  font-size: 3rem;
  font-size: clamp(24px, 3rem, 36px);
  font-weight: bold;
  letter-spacing: 0.15em;
  color: var(--color-footer) !important;
  margin-bottom: 3rem;
}
@media screen and (max-width: 812px) {
  footer .footer_main .footer_contact {
    font-size: 2.4rem;
  }
}
@media (any-hover: hover) {
  footer .footer_main .footer_contact:hover {
    opacity: 0.7;
  }
}
footer .footer_main .footer_copyright {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

/*--------------------------------
   ページトップボタン
--------------------------------*/
.pagetop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 5000;
  zoom: 1;
  width: 100%;
  height: 50px;
  bottom: 20px;
  transition: 0.2s;
}
@media screen and (max-width: 812px) {
  .pagetop {
    display: none;
  }
}
.pagetop.exist {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pagetop.stop {
  position: absolute;
  bottom: auto;
  /* bottomの値 + 高さ*/
  top: -70px;
}
.pagetop a {
  display: block;
  width: 100px;
  height: 100%;
  text-align: center;
  color: var(--color-link);
  font-size: 1.2rem;
  margin: 0 auto;
}
.pagetop a::after {
  content: "PAGETOP";
}
.pagetop a svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: var(--color-link);
  margin: 0 auto;
}

@media (any-hover: hover) {
  .pagetop a:hover svg {
    transform: translate3d(0, -5px, 0);
  }
}
/*============================================================

    HEADING

============================================================*/
/*--------------------------------
    タイトル
--------------------------------*/
.heading_title {
  margin: 0 auto;
  font-size: 2.8rem;
  font-size: clamp(24px, 2.8rem, 32px);
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 812px) {
  .heading_title {
    font-size: 2rem;
    font-size: clamp(16px, 2rem, 24px);
  }
}
.heading_title h1 {
  display: inline;
}
.heading_title em {
  display: block;
  font-size: 60%;
}

.heading_sub {
  margin: 0 auto 3em;
  font-size: 2rem;
  font-size: clamp(16px, 2rem, 24px);
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 812px) {
  .heading_sub {
    font-size: 1.8rem;
  }
}

/*--------------------------------
    見出し
--------------------------------*/
.heading_1 {
  display: block;
  margin: 3rem auto 1.5em;
  font-size: 2.4rem;
  font-size: clamp(20px, 2.4rem, 28px);
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 812px) {
  .heading_1 {
    font-size: 1.8rem;
  }
}
.heading_1 em {
  display: block;
  font-size: 60%;
}

.heading_2 {
  display: block;
  margin: 3rem auto 1.5em;
  font-size: 2rem;
  font-size: clamp(16px, 2rem, 24px);
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 812px) {
  .heading_2 {
    font-size: 1.6rem;
  }
}

.heading_3 {
  display: block;
  margin: 3rem auto 1.5em;
  font-size: 1.8rem;
  font-size: clamp(14px, 1.8rem, 22px);
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 812px) {
  .heading_3 {
    font-size: 1.5rem;
  }
}

.heading_4 {
  display: block;
  margin: 3rem auto 1.5em;
  font-size: 1.6rem;
  font-size: clamp(13px, 1.6rem, 20px);
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 812px) {
  .heading_4 {
    font-size: 1.5rem;
  }
}

/*============================================================

    POSTS LIST

============================================================*/
/*--------------------------------
    記事一覧・アーカイブページ
--------------------------------*/
.post_list {
  width: 100%;
  margin: 0 auto;
}
.post_list li .postImg {
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* border-radius: 10px; */
}
.post_list li .postImg a img {
  /* border-radius: 10px; */
}
@media (any-hover: hover) {
  .post_list li .postImg a:hover img {
    transform: scale(1.05);
  }
}
.post_list li .postInfo {
  margin: 0 0 0.5em;
  line-height: 1.4;
}
.post_list li .postInfo span {
  display: inline-block;
  vertical-align: top;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  margin: 0 1.5em 0 0;
}
@media screen and (max-width: 812px) {
  .post_list li .postInfo span {
    font-size: 1.2rem;
    margin: 0 2em 0 0;
  }
}
.post_list li .postInfo em {
  display: inline-block;
  vertical-align: top;
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 1em 0 0;
}
.post_list li .postInfo em:last-of-type {
  margin: 0 0 0 0;
}
.post_list li .postInfo em a:link, .post_list li .postInfo em a:visited {
  color: #888;
}
@media (any-hover: hover) {
  .post_list li .postInfo em a:hover {
    color: #666;
  }
}
.post_list li .postTitle {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: normal;
  text-align: left;
  margin: 0;
}
@media screen and (max-width: 812px) {
  .post_list li .postTitle {
    font-size: 1.5rem;
  }
}
.post_list li .postExcerpt {
  font-size: 1.4rem;
  margin: 1em 0 0;
}
.post_list li .postTag {
  margin: 10px auto 0;
  font-size: 1.4rem;
}
@media screen and (max-width: 812px) {
  .post_list li .postTag {
    margin: 0.5em auto 0;
    font-size: 1.2rem;
  }
}
.post_list li .postTag em {
  display: inline-block;
  margin: 0 0.8em 0 0;
}
.post_list li .postTag em a::before {
  content: "#";
  display: inline-block;
}
.post_list li .postTag em a:link, .post_list li .postTag em a:visited {
  color: #888;
}
@media (any-hover: hover) {
  .post_list li .postTag em a:hover {
    color: #666;
  }
}

/* リスト型 */
.post_list[data-list-type=text] li {
  margin: 0;
  padding: 2em;
  border-bottom: 1px solid var(--bordercolor-primary);
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=text] li {
    padding: 1em 0;
  }
}
.post_list[data-list-type=text] li:first-child {
  border-top: 1px solid var(--bordercolor-primary);
}

/* カード型（ボーダーグリッド） */
.post_list[data-list-type=card] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=card] {
    grid-template-columns: 1fr;
  }
}
.post_list[data-list-type=card] li {
  list-style: none;
  width: auto;
  flex: none;
  padding: 7.2rem 7.2rem 2.4rem;
  border-right: 1px solid var(--bordercolor-primary);
  border-bottom: 1px solid var(--bordercolor-primary);
}
@media screen and (min-width: 813px) {
  .post_list[data-list-type=card] li:nth-child(even) {
    border-right: none;
  }
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=card] li {
    padding: 0;
    border-right: none;
  }
}
.post_list[data-list-type=card] .postImg {
  width: 100%;
  margin: 0;
  overflow: hidden;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=card] .postImg {
    width: 80%;
    margin: 0 auto;
  }
}
.post_list[data-list-type=card] .postImg a {
  display: block;
  position: relative;
}
.post_list[data-list-type=card] .postImg img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
@media (any-hover: hover) {
  .post_list[data-list-type=card] .postImg:hover img {
    transform: scale(1.04);
  }
}
.post_list[data-list-type=card] .postBody {
  padding: 2rem 2.4rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  text-align: left;
}
.post_list[data-list-type=card] .postInfo {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.post_list[data-list-type=card] .postInfo a {
  color: var(--color-primary);
}
@media (any-hover: hover) {
  .post_list[data-list-type=card] .postInfo a:hover {
    color: var(--color-highlight);
  }
}
.post_list[data-list-type=card] .postTitle {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=card] .postTitle {
    font-size: 2rem;
  }
}
.post_list[data-list-type=card] .postTitle a:link, .post_list[data-list-type=card] .postTitle a:visited {
  color: var(--color-primary);
}
@media (any-hover: hover) {
  .post_list[data-list-type=card] .postTitle a:hover {
    color: var(--color-highlight);
  }
}
.post_list[data-list-type=card] .post_date {
  font-size: 1.1rem;
  color: #999;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}
.post_list[data-list-type=card] .post_author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 0.4rem;
  width: 100%;
}
.post_list[data-list-type=card] .post_author .post_author_img {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 0;
}
.post_list[data-list-type=card] .post_author .post_author_name {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

/*--------------------------------
  ページタイトル
--------------------------------*/
.page_title {
  text-align: center;
  padding: 5rem 0;
}
@media screen and (max-width: 812px) {
  .page_title {
    padding: 4rem 0;
  }
}
.page_title .page_title_en {
  display: block;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-primary);
  transform: scaleX(-1);
}
@media screen and (max-width: 812px) {
  .page_title .page_title_en {
    font-size: clamp(36px, 12vw, 64px);
  }
}
.page_title .page_title_jp {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  margin-top: 1rem;
}

/*--------------------------------
  NEWバッジ
--------------------------------*/
.post_list[data-list-type=card] li.--is-new {
  position: relative;
}
.post_list[data-list-type=card] li.--is-new::before, .post_list[data-list-type=card] li.--is-new::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 22%;
  aspect-ratio: 108.173/62.858;
  mask: url("/assets/images/new_mask_star.svg") no-repeat center/contain;
  z-index: 2;
  transform: rotate(-20deg);
  pointer-events: none;
  transition: background-color 0.3s ease;
}
.post_list[data-list-type=card] li.--is-new::before {
  background-color: #000;
}
.post_list[data-list-type=card] li.--is-new::after {
  mask-image: url("/assets/images/new_mask_text.svg");
  background-color: #fff;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=card] li.--is-new::before, .post_list[data-list-type=card] li.--is-new::after {
    top: 2.3rem;
    left: calc(10% - 1.5rem);
    width: 32%;
  }
}

/* サムネイル型 */
.post_list[data-list-type=thumbnail] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5vw 5%;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=thumbnail] {
    flex-direction: column;
    gap: 10vw 0%;
  }
}
.post_list[data-list-type=thumbnail] li {
  width: 47.5%;
  flex: 0 0 47.5%;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=thumbnail] li {
    width: 100%;
    flex: 0 0 100%;
    align-items: flex-start;
  }
}
.post_list[data-list-type=thumbnail] li .postImg {
  width: 30%;
}
.post_list[data-list-type=thumbnail] li .postText {
  width: 64%;
  margin: 0 0 0 auto;
  text-align: left;
}

/* ワークス型 */
.post_list[data-list-type=works] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4vw 5%;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=works] {
    gap: 5vw 5%;
  }
}
.post_list[data-list-type=works].--large {
  gap: 5vw 5%;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=works].--large {
    flex-direction: column;
    gap: 10vw 0%;
  }
}
.post_list[data-list-type=works].--large li {
  width: 47.5%;
  flex: 0 0 47.5%;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=works].--large li {
    width: 100%;
    flex: 0 0 100%;
  }
}
.post_list[data-list-type=works] li {
  width: 30%;
  flex: 0 0 30%;
  overflow: hidden;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=works] li {
    width: 47.5%;
    flex: 0 0 47.5%;
  }
}
.post_list[data-list-type=works] li .postImg {
  margin: 0 auto 1em;
  aspect-ratio: 3/2;
}
@media screen and (max-width: 812px) {
  .post_list[data-list-type=works] li .postImg {
    margin: 0 auto 1.2em;
  }
}
.post_list[data-list-type=works] li .postImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post_list[data-list-type=works] li .postTitle {
  text-align: center;
}
.post_list[data-list-type=works] li .postInfo {
  text-align: center;
  margin: 0.5em 0 0;
}

/*============================================================

    POSTS UI

============================================================*/
/*--------------------------------
    前後記事リンク
--------------------------------*/
.pagelink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}
@media screen and (max-width: 812px) {
  .pagelink {
    font-size: 1.2rem;
  }
}
.pagelink .pageprev a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 812px) {
  .pagelink .pageprev a {
    display: block;
  }
}
.pagelink .pageprev a img {
  width: 100px;
  height: auto;
  margin-right: 40px;
}
@media screen and (max-width: 812px) {
  .pagelink .pageprev a img {
    display: none;
  }
}
.pagelink .pageprev a span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagelink .pageprev a span svg {
  width: 24px;
  height: 24px;
  margin: 0 10px 0 0;
  transition: 0.3s;
}
@media screen and (max-width: 812px) {
  .pagelink .pageprev a span svg {
    width: 18px;
    height: 18px;
  }
}
@media (any-hover: hover) {
  .pagelink .pageprev a:hover svg {
    transform: translate(-2px, 0);
  }
}
.pagelink .pageprev.disabled {
  opacity: 0;
  pointer-events: none;
}
.pagelink .pagenext a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}
@media screen and (max-width: 812px) {
  .pagelink .pagenext a {
    display: block;
  }
}
.pagelink .pagenext a img {
  width: 100px;
  height: auto;
  margin-left: 40px;
}
@media screen and (max-width: 812px) {
  .pagelink .pagenext a img {
    display: none;
  }
}
.pagelink .pagenext a span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagelink .pagenext a span svg {
  width: 24px;
  height: 24px;
  margin: 0 0 0 10px;
  transition: 0.3s;
}
@media screen and (max-width: 812px) {
  .pagelink .pagenext a span svg {
    width: 18px;
    height: 18px;
  }
}
@media (any-hover: hover) {
  .pagelink .pagenext a:hover svg {
    transform: translate(2px, 0);
  }
}
.pagelink .pagenext.disabled {
  opacity: 0;
  pointer-events: none;
}
.pagelink .pageindex a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagelink .pageindex a svg {
  width: 15px;
  height: 15px;
  fill: #000;
  transition: 0.3s;
}
@media (any-hover: hover) {
  .pagelink .pageindex a:hover svg {
    fill: var(--color-highlight);
  }
}
.pagelink .pageindex a span {
  margin-left: 12px;
}

@media screen and (max-width: 812px) {
  body.single .pagelink .pageindex span {
    display: none;
  }
}

body.archive .pagelink {
  justify-content: center;
}

/*--------------------------------
    ページネーション
--------------------------------*/
.pagination {
  text-align: center;
}
.pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}
.pagination ul li {
  display: flex;
  margin: 0 20px;
  font-size: 1.3rem;
  font-weight: 400;
  width: 20px;
  height: 50px;
  line-height: 50px;
}
@media screen and (max-width: 812px) {
  .pagination ul li {
    margin: 0 8px;
    font-size: 1.2rem;
    width: 15px;
    height: 40px;
    line-height: 40px;
  }
}
.pagination ul li:first-child {
  width: auto;
  margin-right: 5rem;
}
@media screen and (max-width: 812px) {
  .pagination ul li:first-child {
    margin-right: 10px;
  }
}
.pagination ul li:last-child {
  width: auto;
  margin-left: 5rem;
}
@media screen and (max-width: 812px) {
  .pagination ul li:last-child {
    margin-left: 10px;
  }
}
.pagination ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
.pagination ul li a.prev span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}
.pagination ul li a.prev span svg {
  width: 24px;
  height: 24px;
  margin: 0 10px 0 40px;
  fill: currentColor;
  transition: 0.3s;
}
@media screen and (max-width: 812px) {
  .pagination ul li a.prev span svg {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
  }
}
.pagination ul li a.prev i {
  font-style: normal;
}
@media screen and (max-width: 812px) {
  .pagination ul li a.prev i {
    display: none;
  }
}
@media (any-hover: hover) {
  .pagination ul li a.prev:hover svg {
    transform: translate(-4px, 0);
  }
}
.pagination ul li a.prev.disabled {
  opacity: 0;
  pointer-events: none;
}
.pagination ul li a.next span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}
.pagination ul li a.next span svg {
  width: 24px;
  height: 24px;
  margin: 0 40px 0 10px;
  fill: currentColor;
  transition: 0.3s;
}
@media screen and (max-width: 812px) {
  .pagination ul li a.next span svg {
    width: 18px;
    height: 18px;
    margin: 0 0 0 10px;
  }
}
.pagination ul li a.next i {
  font-style: normal;
}
@media screen and (max-width: 812px) {
  .pagination ul li a.next i {
    display: none;
  }
}
@media (any-hover: hover) {
  .pagination ul li a.next:hover svg {
    transform: translate(2px, 0);
  }
}
.pagination ul li a.next.disabled {
  opacity: 0;
  pointer-events: none;
}
.pagination ul li span.current {
  display: block;
  width: 100%;
  height: 100%;
  font-weight: bold;
  color: var(--content-accent, var(--color-highlight));
}

body.archive .pagination a.disabled {
  opacity: 0;
  pointer-events: none;
}

/*============================================================

    SEARCH PANEL

============================================================*/
body.search-panel-open {
  overflow: hidden;
}

body.search-panel-open #search_btn_fixed {
  display: none;
}

#search_panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--bgcolor-nav);
  color: #fff;
  z-index: 9995;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.search-panel-open #search_panel {
  transform: translateX(0);
}
@media screen and (max-width: 812px) {
  #search_panel {
    width: 100%;
  }
}

#search_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9994;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s;
}
body.search-panel-open #search_overlay {
  opacity: 1;
  pointer-events: auto;
}

#search_panel_close {
  position: fixed;
  top: calc(var(--height-header, 150px) + 12px);
  right: 20px;
  z-index: 9996;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  border: 1px solid transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
body.search-panel-open #search_panel_close {
  display: flex;
}
#search_panel_close svg {
  transition: stroke 0.3s;
}
#search_panel_close:focus {
  outline: none;
}
#search_panel_close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (any-hover: hover) {
  #search_panel_close:hover {
    background-color: #fff;
    border-color: var(--color-highlight);
    transform: scale(1.08);
  }
  #search_panel_close:hover svg {
    stroke: var(--color-highlight);
  }
}

/*--------------------------------
  パネル内レイアウト
--------------------------------*/
.search_panel_inner {
  padding: 3rem 4rem 6rem;
}
@media screen and (max-width: 812px) {
  .search_panel_inner {
    padding: 3rem 2.4rem 8rem;
  }
}

.search_panel_title {
  text-align: center;
  margin-bottom: 3.2rem;
}

.search_panel_title_en {
  display: inline-block;
  height: clamp(28.8px, 4vw, 51.2px);
  width: auto;
}
@media screen and (max-width: 812px) {
  .search_panel_title_en {
    height: clamp(28.16px, 8.96vw, 51.2px);
  }
}

.search_panel_title_jp {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  color: #fff;
  margin-top: 1rem;
}

/*--------------------------------
  検索フォーム
--------------------------------*/
.search_form {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 999px;
  padding: 0 1.4rem 0 2.2rem;
  height: 50px;
  margin-bottom: 3.6rem;
}
@media screen and (max-width: 812px) {
  .search_form {
    height: 60px;
    margin-bottom: 4rem;
  }
}
.search_form input[type=text] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: #333;
  outline: none;
  font-family: inherit;
  min-width: 0;
}
.search_form input[type=text]::placeholder {
  color: #bbb;
}
.search_form button[type=submit] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
}
.search_form button[type=submit] svg {
  display: block;
  stroke: currentColor;
}
@media (any-hover: hover) {
  .search_form button[type=submit]:hover {
    opacity: 0.6;
  }
}

/*--------------------------------
  パネルボディ（CONTENTS + TAG）
--------------------------------*/
.search_panel_body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}
@media screen and (max-width: 812px) {
  .search_panel_body {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.search_panel_section_head {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 1.8rem;
}

/*--------------------------------
  CONTENTS サムネイル
--------------------------------*/
.search_contents_list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media screen and (max-width: 812px) {
  .search_contents_list {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
.search_contents_list li a {
  display: block;
}
.search_contents_list li a:link, .search_contents_list li a:visited {
  color: #fff;
}
@media (any-hover: hover) {
  .search_contents_list li a:hover {
    opacity: 0.75;
  }
}
.search_contents_list li img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.search_contents_list li span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-top: 0.8rem;
}

/*--------------------------------
  TAG ピル
--------------------------------*/
.search_tag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.search_tag {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s;
}
.search_tag:link, .search_tag:visited {
  color: #fff;
}
@media (any-hover: hover) {
  .search_tag:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
  }
}
