/*!
Theme Name: arsobit-theme
Theme URI: N/A
Author: team arsobit
Author URI: N/A
Description: arsobit theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arsobit-theme
Tags: arsobit

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

arsobit-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* === Glitch Page Transition Animation === */

#pageload-blackout {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #000;
  pointer-events: none;
  transition: opacity 0.5s;
  opacity: 1;
}
#pageload-blackout.hide {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  #pageload-blackout {
    height: 150vh;
  }
}

body.glitch-transition {
  animation: glitchPage 0.6s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes glitchPage {
  0% { filter: none; }
  15% { filter: contrast(2) brightness(1.5) blur(1px); }
  30% { filter: hue-rotate(30deg) saturate(2); transform: translate(2px, -2px); }
  45% { filter: contrast(1.2) brightness(0.6); transform: translate(-2px, 2px); }
  60% { filter: none; }
  100% { filter: none; transform: none; }
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

/* ===== arsobit custom footer ===== */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: none !important;
  max-width: 100vw!important;
  overflow-x: hidden!important;
}

body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
	min-height: calc(100vh - 70px); /* Header height */
	display: flex;
	flex-direction: column;
}

.site-footer {
	margin-top: auto;
  margin-bottom: 0 !important;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 48px 0 24px 0;
  position: relative;
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  width: 100vw;
  min-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}
.footer-logo img {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 220px;
  height: 48px;
  object-fit: contain;
}

.sns-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 8px;
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  margin: 0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #aaa;
}
.footer-social {
  display: flex;
  gap: 32px;
  margin: 28px 0 28px 0;
}
.footer-social a {
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #8b8b8b;
}
.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.pagetop-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: block;
  width: 56px;
  height: 56px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pagetop-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .pagetop-button {
    width: 40px;
    height: 40px;
    right: 14px;
    bottom: 14px;
  }
}


/* ===== /arsobit custom footer ===== */

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Add @font-face for assets/fonts/madoufmg.ttf */
@font-face {
    font-family: 'madoufmg';
    src: url('assets/fonts/madoufmg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	padding-top: 70px;
	overflow-x: hidden;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #000;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #FFF;
}

a:visited {
	color: #FFF;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* 前へ、次へボタン非表示 */
.post-navigation .nav-links {
	display: none!important;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.top-page {
  margin: -18px!important;
}

@media (max-width: 768px) {
  .page-content,
  .entry-content,
  .entry-summary {
    margin: 1.1em 0 0;
  }
  .top-page {
    margin: -10px!important;
  }
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Spacer */
.wp-block-spacer {
  margin: 0;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* 背景 style */
body.custom-background {
    background-repeat: no-repeat!important;
    background-position: center center!important;
    background-attachment: fixed!important;
    background-size: cover!important;
}

/* ------------------------------------------------------------------
   HEADER: Fixed site header with logo and toggle menu (Pixel Art)
------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #000;
  z-index: 1000;
}

.header-inner {
  position: relative;
  height: 100%;
  margin: 0 auto;
  padding: 10px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  display: block;
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .site-logo img {
    height: 40px;
  }
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .menu-toggle img {
    width: 40px;
    height: 40px;
  }
}

.menu-panel {
  position: absolute;
  top: 100%;
  right: 20px;
  background: #fff;
  /* pixel-perfect panel border and shadow */
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 18px 28px;
  display: none;
  z-index: 1000;
	font-family: 'madoufmg', sans-serif;
}
.menu-panel.open {
  display: block;
}
.menu-panel .menu-arrow-wrapper {
  position: absolute;
  /* arrow pointer above panel */
  top: 2px;
  right: 2px;
  width: 20px;
  height: 8px;
	cursor: pointer;
}
.menu-panel .menu-arrow {
  display: block;
  width: 100%;
  height: auto;
}
.menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  /* grid gaps for pixel layout */
  column-gap: 12px;
  row-gap: 12px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .menu-panel {
    padding: 28px 14px;
    right: 10px;
  }
  .menu-panel .menu-arrow-wrapper {
    top: 4px;
    right: 18px;
  }
  .menu-list {
    grid-template-columns: repeat(2, auto);
  }
}
.menu-list li {
  list-style: none;
  margin: 0;
}
.menu-list li {
  /* pixel button border and shadow */
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  background: #fff;
  text-align: center;
  line-height: 1;
  width: 150px;
  position: relative;
  overflow: hidden;
}

.menu-panel .menu-list li:hover,
.menu-panel .menu-list li:focus-within {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: 2px 2px 0 #fff !important;
  cursor: pointer;
}

.menu-panel .menu-list li:hover a,
.menu-panel .menu-list li:focus-within a {
  color: #fff !important;
}
.menu-list li a {
	padding: 6px 12px;
  color: #000;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: color 0.2s, background 0.2s;
}
/* .menu-list a:hover, .menu-list a:focus { background: #eee; }  ← li:hoverで管理するため削除 */

/* HyperCard風 押し込みマイクロインタラクション */
.menu-panel .menu-list li:active,
.menu-panel .menu-list li:focus:active,
.menu-panel .menu-list li:focus-within:active {
  box-shadow: none !important;
  border-color: #000 !important;
  transform: translateY(2px);
  transition: transform 0.07s cubic-bezier(.4,0,.2,1);
}
.menu-panel .menu-list li:active a,
.menu-panel .menu-list li:focus-within:active a {
  color: #fff !important;
}


/* Adjust for WP admin bar */
body.admin-bar {
  padding-top: 70px; /* 70px header + 32px admin bar */
}
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 70px; /* 70px header + 46px admin bar */
  }
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Custom page header style */
.custom-header-style {
    background-image: url('assets/images/header-style.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-align: center;
    padding: 20px 0;
}
.custom-header-style .entry-title {
    font-family: 'madoufmg', sans-serif;
    color: #fff;
    margin: 0;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
  .custom-header-style .entry-title {
    margin-top: 0.05rem;
}
}

/* Pattern: arsobit-default */
.arsobit-default-wrapper {
  background: none!important;
  background-color: transparent;
  padding: 0!important;
}

.arsobit-default-wrapper .wp-block-query {
  margin: 0 auto;
}

.arsobit-default-wrapper .wp-block-query > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start !important;
}

.arsobit-default-card, .arsobit-default-card > div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.arsobit-default-card {
  background-color: #fff;
  padding: 24px;
  margin-bottom: 10px;
}

.arsobit-default-card .wp-block-post-featured-image {
  align-self: center;
  width: 25%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  min-width: 255px;
}

.arsobit-default-card .wp-block-post-featured-image img {
  aspect-ratio: 410 / 263;
}

.arsobit-default-card > .wp-block-group.is-layout-flex.is-vertical {
	margin: 5px 0;
}

.arsobit-default-card > div > .wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arsobit-default-card .wp-block-post-title a {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #000;
  margin: 0;
  text-decoration: none;
}

.arsobit-default-card .wp-block-post-date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.arsobit-default-card .wp-block-post-terms a {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 8px;
  margin-right: 8px;
  text-decoration: none;
  line-height: 1;
}

.arsobit-default-card .wp-block-post-excerpt, #dynamic-default-filtered-posts .wp-block-post-excerpt p {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.arsobit-default-card .wp-block-post-excerpt a, #dynamic-default-filtered-posts .wp-block-post-excerpt a {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  position: relative;
}

.wp-block-post-excerpt__more-text {
  margin-top: 5px!important;
}

@media (max-width: 768px) {
  .arsobit-default-card {
    flex-direction: column;
    gap: 1rem!important;
  }
  .arsobit-default-card .wp-block-post-featured-image, .arsobit-default-card > .wp-block-post-featured-image {
    width: 100%!important;
    height: auto!important;
    aspect-ratio: 410 / 263!important;
  }
  .attachment-post-thumbnail {
    height: auto!important;
  }
	.arsobit-default-card > .wp-block-group.is-layout-flex.is-vertical {
		margin: 0;
	}
}

/* arsobit-default: 右側カラム flex伸長 */
.arsobit-default-card > .wp-block-group.is-layout-flex.is-vertical {
  flex: 1 1 0;
  min-width: 0;
	flex-direction: column;
	gap: 5px;
}

@media (max-width: 768px) {
  .arsobit-default-card > .wp-block-group.is-layout-flex.is-vertical {
    flex: 0;
  }
}

/* Site-wide container width */
/* Define CSS variable and container class */
:root {
  --site-max-width: 1200px; /* max site width */
}
.container {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
    margin-top: 25px
  }

  /* トップページは例外 */
  .home .container {
    margin-top: 0;
  }
}
/* End site-wide container width */

/* arsobit-thumb-cover pattern styles */
.arsobit-thumb-cover-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-bottom: 64px;
}
.arsobit-thumb-cover-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.arsobit-thumb-cover-image img,
.arsobit-thumb-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1644 / 906;
	margin: 0!important;
}
.arsobit-thumb-cover-wrapper ul {
  margin: 0;
}
.arsobit-thumb-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  background: rgba(0,0,0,0.5);
  text-align: center;
  z-index: 2;
  pointer-events: none;
  margin: 0;
  padding: 20px;
}
.arsobit-thumb-cover-title, .arsobit-thumb-cover-title a {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin: 0;
}
@media (max-width: 768px) {
  .arsobit-thumb-cover-card,
  .arsobit-thumb-cover-image-wrap {
    aspect-ratio: 2/1;
  }
  .arsobit-thumb-cover-overlay {
    padding: 5px;
  }
  .arsobit-thumb-cover-title, .arsobit-thumb-cover-title a {
    font-size: 1.2rem!important;
  }
}

/* arsobit-glitch-thumb pattern styles */
.entry-content > .arsobit-glitch-thumb-wrapper {
  padding-top: 64px;
  padding-bottom: 20px!important;
	background-color: rgba(255, 255, 255, 0.5)!important;
}
.arsobit-glitch-thumb-card, .arsobit-glitch-thumb-card > div,
.arsobit-glitch-thumb-first-big-card, .arsobit-glitch-thumb-first-big-card > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
	width: 100%;
}
.arsobit-glitch-thumb-wrapper .wp-block-query > ul {
	margin: 0;
	padding: 10px;
}
.arsobit-glitch-thumb-title {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 3px;
	width: 100%;
	padding: 10px 20px;
	background-color: black;
}
.arsobit-glitch-thumb-title > a {
	color: #fff;
}
.arsobit-glitch-thumb-image img, .arsobit-glitch-thumb-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}

/* 先頭のみ 1644/688、それ以外は 1644/344 */
.big-thumb .arsobit-glitch-thumb-image img,
.big-thumb .arsobit-glitch-thumb-image {
  aspect-ratio: 1644 / 906!important;
}
.arsobit-glitch-thumb-wrapper li .arsobit-glitch-thumb-image img,
.arsobit-glitch-thumb-wrapper li .arsobit-glitch-thumb-image {
  aspect-ratio: 1644 / 453;
}

@media (max-width: 768px) {
  .arsobit-glitch-thumb-title {
    font-size: 1.1rem!important;
    margin-bottom: 0px;
  }
  .arsobit-glitch-thumb-image img, .arsobit-glitch-thumb-image {
    max-width: 100vw;
    width: 100%;
  }
  .arsobit-glitch-thumb-card, .arsobit-glitch-thumb-first-big-card {
    margin-bottom: 0px !important;
    padding-left: 0;
    padding-right: 0;
  }
}
/* End arsobit-glitch-thumb styles */

/* === Thumb Grid Pattern Styles === */
.wp-block-group__inner-container > .wp-block-group.arsobit-thumb-grid-wrapper, .arsobit-thumb-grid-wrapper {
  padding-top: 20px;
  padding-bottom: 20px!important;
  background-color: #FFF;
}
.arsobit-thumb-grid-wrapper .arsobit-thumb-grid .wp-block-post-template {
  display: flex;
}
.wp-block-group.arsobit-thumb-grid-filter {
  display: flex !important;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.wp-block-group.arsobit-thumb-grid-filter .thumb-filter-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 0.7em 1.5em;
  border-radius: 0.3em;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  margin-block-start: 0!important;
}
.wp-block-group.arsobit-thumb-grid-filter .thumb-filter-btn.is-active {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

@media (max-width: 768px) {
  .wp-block-group.arsobit-thumb-grid-filter {
    gap: .5rem;
  }
  .wp-block-group.arsobit-thumb-grid-filter .thumb-filter-btn {
    padding: 0.5em 1em;
    font-size: 0.8rem;
  }
}

.wp-block-group.arsobit-thumb-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  justify-items: center;
}
.arsobit-thumb-grid > .wp-block-query {
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (max-width: 900px) {
  .wp-block-group.arsobit-thumb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .wp-block-group.arsobit-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.wp-block-group.arsobit-thumb-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  background: none;
  box-shadow: none;
  border: none;
}
.wp-block-group.arsobit-thumb-img img,
.arsobit-thumb-img img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}
.arsobit-thumb-title,
.wp-block-post-title.arsobit-thumb-title {
  margin-top: 0.5em;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
}
.arsobit-thumb-grid .arsobit-thumb-title a {
	color: #000;
}
/* === End Thumb Grid Pattern Styles === */

/* 親グリッド指定の解除・上書き */
.wp-block-group.arsobit-thumb-grid {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  justify-items: initial !important;
}

.arsobit-thumb-item .taxonomy-post_tag {
  display: none !important;
}

/* === Fix: Thumb Grid ul centralize with grid layout for multi-row === */
.arsobit-thumb-grid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
  justify-content: center;
  gap: 32px 24px !important;
  list-style: none;
  padding: 0px 10px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 768px) {
  .arsobit-thumb-grid .wp-block-post-template {
    grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
    gap: 20px 10px !important;
    max-width: 100%;
  }
}

.arsobit-thumb-item .taxonomy-post_tag {
  display: none !important;
}

.arsobit-thumb-grid .wp-block-post-template > li {
  margin: 0!important;
}

@media (max-width: 768px) {
  .arsobit-thumb-grid .wp-block-post-template > li {
    width: 120px;
  }
  .wp-block-group.arsobit-thumb-img img,
  .arsobit-thumb-img img {
    width: 100px!important;
    height: 100px!important;
  }
  .arsobit-thumb-title,
  .wp-block-post-title.arsobit-thumb-title {
    font-size: .8rem;
  }
}

/* thumb-grid-filter.jsのフィルター機能用 */
.arsobit-thumb-grid .wp-block-post-template .is-thumb-hidden {
  display: none !important;
}

/* 記事詳細画面 */
.singular-entry {
	display: flex;
	flex-direction: column;
	background-color: white;
	padding: 40px 50px;
}

.singular-entry .post-thumbnail {
	width: 90%;
	align-self: center;
  display: flex;
  justify-content: center;
}

.creator-artist-entry > .post-thumbnail {
  width: 60%;
}

@media (max-width: 768px) {
  .singular-entry {
    padding: 20px 15px!important;
  }
  .singular-entry .post-thumbnail {
    display: flex;
    justify-content: center;
  }
  .singular-entry.creator-artist-entry > .post-thumbnail > img {
    border: .8rem solid #fff!important;
  }
}

/* artist ページのみ */
.creator-artist-entry .post-thumbnail {
  max-width: 400px;
}

/* 記事タイトル */
.entry-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 2rem 0 3rem;
}
@media (max-width: 768px) {
	.page .entry-header {
		margin: 0 auto 1rem;
    width: 240px;
	}
}

.entry-title {
	color: white;
	font-size: 2rem;
	margin: 0;
  font-family: 'madoufmg', sans-serif;
  text-align: center;
}
.entry-meta {
	display: none;
}

@media (max-width: 768px) {
  .entry-title {
    font-size: 1.5rem;
  }
}

/* =============================
   二重枠ボックス
   ============================= */
.wp-block-custom-double-border-box {
  background: #fff;
  border: 4px solid #000;
  box-sizing: border-box;
  position: relative;
  padding: 4rem 5rem;
}
.wp-block-custom-double-border-box::after {
  content: "";
  pointer-events: none;
  display: block;
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-top: 6px solid #000;
  border-bottom: 6px solid #000;
	border-left: 8px solid #000;
	border-right: 8px solid #000;
	box-sizing: border-box;
}

@media (max-width: 768px) {
  .wp-block-custom-double-border-box {
    padding: 2.5rem 1.5rem;
  }
}

/*--------------------------------------------------------------
# 黒背景ボックス
--------------------------------------------------------------*/
.wp-block-custom-black-box {
  background: rgba(0,0,0,0.8);
  padding: 4rem 5rem;
}

@media (max-width: 768px) {
  .wp-block-custom-black-box {
    padding: 3rem 2.5rem;
  }
}

/*--------------------------------------------------------------
# Year Filter Buttons
--------------------------------------------------------------*/
.arsobit-year-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .2rem;
}

.wp-block-group .arsobit-year-filter {
    background-color: #000;
    padding: .5rem 0; /* Add some padding around the buttons */
    margin-bottom: 1rem;
    /* Ensure flex settings from block editor are applied if needed,
       but layout is defined in the pattern */
}

.arsobit-year-filter .year-filter-btn {
    background-color: white;
    color: black;
    border: none;
    padding: 0.5em 1.25em;
    border-radius: 999px; /* Make it fully rounded (pill shape) */
    cursor: pointer;
    font-weight: bold;
    text-decoration: none; /* Remove underline if it appears */
    line-height: 1.2;
}

/* Style for the currently active button */
.arsobit-year-filter .year-filter-btn.is-active {
    background-color: #000; /* Slightly darker background for active state */
    color: #fff;
    border: 2px solid #FFF;
    /* Or you could change text color, add border, etc. */
}

/* Optional: Hover effect */
.arsobit-year-filter .year-filter-btn:not(.is-active):hover {
    background-color: #f0f0f0; /* Lighter gray on hover */
}

.year-filter-row {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.2em;
  justify-content: center;
}

@media (max-width: 768px) {
  .wp-block-group .arsobit-year-filter, .arsobit-year-filter {
    padding: .5rem 0;
    margin: 0;
  }
  .arsobit-year-filter {
    gap: .2rem .3rem!important;
  }
  .arsobit-year-filter .year-filter-btn {
    font-size: 0.8rem;
    padding: 0.4em .8em;
  }
}

/* === arsobit-news-list pattern styles === */
.entry-content > .arsobit-news-section {
  background: rgba(0,0,0,0.8);
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}
.arsobit-news-title-wrapper {
  margin-top: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.5em;
  min-height: 60px;
}
.arsobit-news-header-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 220px;
  height: 60px;
  position: relative;
  z-index: 1;
}
.arsobit-news-header-svg img {
  width: 100%;
  height: auto;
  display: block;
}
.arsobit-news-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.12em;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: 0.05rem;
  margin-left: 0.06em;
}
.arsobit-news-query {
  margin: 2.5em auto 2em auto;
  width: 100%;
}
.arsobit-news-query > ul {
  margin: 0 10px;
}
.arsobit-news-list-item {
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s, transform 0.07s cubic-bezier(.4,0,.2,1);
  border: 1px solid #000;
  box-shadow: 2px 2px 0 #000;
  background: #fff;
  position: relative;
  padding: 0.5em 0.8em;
}
.arsobit-news-list-item .arsobit-news-date,
.arsobit-news-list-item .arsobit-news-title,
.arsobit-news-list-item .arsobit-news-title a {
  color: #222;
  transition: color 0.2s;
}
.arsobit-news-list-item.is-hovered {
  background: #000 !important;
  border-color: #fff !important;
  box-shadow: 1px 1px 0 #fff !important;
}
.arsobit-news-list-item.is-hovered .arsobit-news-date,
.arsobit-news-list-item.is-hovered .arsobit-news-title,
.arsobit-news-list-item.is-hovered .arsobit-news-title a {
  color: #fff !important;
  text-decoration: none;
}
.arsobit-news-list-item.is-active {
  box-shadow: none !important;
  border-color: #000 !important;
  transform: translateY(2px);
  background: #000 !important;
}
.arsobit-news-list-item.is-active .arsobit-news-date,
.arsobit-news-list-item.is-active .arsobit-news-title,
.arsobit-news-list-item.is-active .arsobit-news-title a {
  color: #fff !important;
}
.arsobit-news-date {
  font-size: 1.1em;
  color: #222;
  font-family: 'Noto Sans JP', monospace, sans-serif;
  margin-right: 1.5em;
  white-space: nowrap;
  font-weight: 500;
}
.arsobit-news-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #222;
  text-align: left;
  flex: 1 1 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  display: block;
}
.arsobit-news-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
@media (max-width: 768px) {
  .arsobit-news-date {
    font-size: .9rem;
  }
  .arsobit-news-title {
    font-size: .9rem;
  }
}
.arsobit-news-title a:hover {
  color: #0077b5;
  text-decoration: underline;
}
.arsobit-news-more-link {
  margin-top: 1.5em;
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.5em;
  letter-spacing: -1px;
  color: #fff;
  text-align: center;
}
.arsobit-news-more-link a {
  color: #fff;
  text-decoration: underline;
}
.arsobit-news-more-link a:hover {
  color: #000;
  background: #fff;
}
@media (max-width: 600px) {
  .arsobit-news-title-wrapper {
    min-height: 40px;
  }
  .arsobit-news-title-text {
    top: 50%;
    transform: translateY(-50%);
  }
  .arsobit-news-query {
    max-width: 98vw;
    margin: 20px auto 0;
  }
  .arsobit-news-list-item {
    padding: 0.7em 0.8em;
    gap: 0.5em;
    font-size: .9em;
  }
  .arsobit-news-date {
    margin-right: 0;
    margin-bottom: 0.2em;
    letter-spacing: -2px;
  }
  .arsobit-news-title {
    white-space: normal;
  }
}
/* === End arsobit-news-list pattern styles === */

/* === arsobit-about-section styles === */
.entry-content > .arsobit-about-section {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  margin-bottom: 2em;
}
.arsobit-about-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
}
.arsobit-about-header-svg {
  width: 220px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.arsobit-about-header-svg img {
  width: 100%;
  height: auto;
  display: block;
}
.arsobit-about-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.12em;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: .05rem;
  margin-left: 0.06em;
}
.arsobit-about-body {
  font-family: 'madoufmg', monospace, sans-serif;
  color: #fff;
  padding: .5em 1em;
  margin-bottom: 1em;
  word-break: break-word;
  font-size: 1.1em;
  line-height: 1.7;
}
.arsobit-about-more-link {
  text-align: center;
  margin-top: 1em;
}
.arsobit-about-more-link a {
  color: #fff;
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.5em;
  letter-spacing: -1px;
  text-decoration: underline;
}
.arsobit-about-more-link a:hover {
  color: #000;
  background: #fff;
}
@media (max-width: 600px) {
  .arsobit-about-body {
    font-size: 0.98em;
    padding: .5em 0.5em;
  }
}
/* === End arsobit-about-section styles === */

/* === arsobit-contact-section styles === */
.entry-content > .arsobit-contact-section {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  margin-bottom: 2em;
}
.arsobit-contact-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
}
.arsobit-contact-header-svg {
  width: 220px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.arsobit-contact-header-svg img {
  width: 100%;
  height: auto;
  display: block;
}
.arsobit-contact-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.12em;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: 0.05rem;
  margin-left: 0.06em;
}
.arsobit-contact-body {
  font-family: 'madoufmg', monospace, sans-serif;
  color: #fff;
  padding: .5em 1em;
  font-size: 1.1em;
  line-height: 1.7;
}
.arsobit-contact-more-link {
  text-align: center;
  margin-top: 1em;
}
.arsobit-contact-more-link a {
  color: #fff;
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.2em;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.arsobit-contact-more-link a:hover {
  color: #000;
  background: #fff;
}
@media (max-width: 600px) {
  .arsobit-contact-body {
    font-size: 0.98em;
    padding: 1em 0.5em;
  }
}
/* === End arsobit-contact-section styles === */

.top-hero-image {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  z-index: 1;
}
.top-hero-image img {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: calc(100vh - 70px);
  object-fit: cover;
  object-position: center;
}

/* === arsobit-events-list pattern styles === */
.entry-content > .arsobit-events-section {
  background: rgba(0,0,0,0.8);
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}
.arsobit-events-section {
  width: 100%;
}
.arsobit-events-title-wrapper {
  margin-top: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.5em;
  min-height: 60px;
}
.arsobit-events-header-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 220px;
  height: 60px;
  position: relative;
  z-index: 1;
}
.arsobit-events-header-svg img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 410 / 263;
}
.arsobit-events-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.12em;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: .05rem;
  margin-left: 0.06em;
}
.arsobit-events-title > a {
  color: #fff;
}
.arsobit-events-query {
  margin: 1.5em auto 0 auto;
  width: 100%;
}
.arsobit-events-query > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5em 2em;
  margin: 0 10px;
  padding: 0;
  list-style: none;
}
.arsobit-events-list-item {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  box-shadow: 2px 2px 0 transparent;
  position: relative;
  cursor: pointer;
  padding: 0.5em 0.8em;
  text-decoration: none;
}
.arsobit-events-list-item .arsobit-events-date,
.arsobit-events-list-item .arsobit-events-title,
.arsobit-events-list-item .arsobit-events-title a,
.arsobit-events-list-item .arsobit-events-excerpt {
  color: #FFF;
}
.arsobit-events-list-item:hover,
.arsobit-events-list-item:focus {
  background: #FFF !important;
  border-color: #000 !important;
  box-shadow: 1px 1px 0 #000 !important;
  outline: none;
}
.arsobit-events-list-item:hover .arsobit-events-date,
.arsobit-events-list-item:hover .arsobit-events-title,
.arsobit-events-list-item:hover .arsobit-events-title a,
.arsobit-events-list-item:hover .arsobit-events-excerpt,
.arsobit-events-list-item:focus .arsobit-events-date,
.arsobit-events-list-item:focus .arsobit-events-title,
.arsobit-events-list-item:focus .arsobit-events-title a,
.arsobit-events-list-item:focus .arsobit-events-excerpt {
  color: #000 !important;
  text-decoration: none;
}
.arsobit-events-list-item:active {
  box-shadow: none !important;
  border-color: #FFF !important;
  transform: translateY(2px);
  background: #FFF !important;
}
.arsobit-events-list-item:active .arsobit-events-date,
.arsobit-events-list-item:active .arsobit-events-title,
.arsobit-events-list-item:active .arsobit-events-title a,
.arsobit-events-list-item:active .arsobit-events-excerpt {
  color: #000 !important;
}
.arsobit-events-thumbnail,
.arsobit-events-thumbnail img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  object-position: center !important;
  box-shadow: none;
  margin: 0 0 .5em 0;
  display: block;
}
.arsobit-events-title {
  font-size: 1.1em;
  font-weight: 700;
  text-align: left;
  margin: 0.5em 0 0.2em 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arsobit-events-title a {
  text-decoration: none;
}
.arsobit-events-title a:hover {
  text-decoration: underline;
}
.arsobit-events-date {
  font-size: 1em;
  color: #FFF;
  font-family: 'Noto Sans JP', monospace, sans-serif;
  margin: 0.2em 0 0.5em 0;
  font-weight: 500;
  text-align: left;
  width: 100%;
}
.arsobit-events-excerpt {
  display: none;
}
@media (max-width: 1200px) {
  .arsobit-events-query > ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .arsobit-events-query > ul > li {
    margin: 0 0 .5rem;
  }
  .arsobit-events-list-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.7em 0.5em 1em 0.5em;
    min-height: 0;
  }
  .arsobit-events-thumbnail {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
    display: block;
    height: auto !important;
    max-width: 100%;
  }
  .arsobit-events-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
  }
}
/* === End arsobit-events-list pattern styles === */

/* === arsobit-exhibitions-list pattern styles === */
.entry-content > .arsobit-exhibitions-section {
  background: rgba(0,0,0,0.8);
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}
.arsobit-exhibitions-section {
  width: 100%;
}
.arsobit-exhibitions-title-wrapper {
  margin-top: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2em;
  min-height: 60px;
}
.arsobit-exhibitions-header-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 220px;
  height: 60px;
  position: relative;
  z-index: 1;
}
.arsobit-exhibitions-header-svg img {
  width: 100%;
  height: auto;
  display: block;
}
.arsobit-exhibitions-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: .05rem;
  letter-spacing: -1px;
}
.arsobit-exhibitions-query > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5em 2em;
  margin: 0 10px;
  padding: 0;
  list-style: none;
}
.arsobit-exhibitions-list-item {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  box-shadow: 2px 2px 0 transparent;
  background: transparent;
  position: relative;
  cursor: pointer;
  padding: 0.5em 0.8em;
  text-decoration: none;
}
.arsobit-exhibitions-list-item .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item .arsobit-exhibitions-excerpt {
  color: #FFF;
}
.arsobit-exhibitions-list-item.is-hovered,
.arsobit-exhibitions-list-item:hover,
.arsobit-exhibitions-list-item:focus {
  background: #FFF !important;
  border-color: #000 !important;
  box-shadow: 1px 1px 0 #000 !important;
  outline: none;
}
.arsobit-exhibitions-list-item.is-hovered .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item.is-hovered .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item.is-hovered .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item.is-hovered .arsobit-exhibitions-excerpt,
.arsobit-exhibitions-list-item:hover .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item:hover .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item:hover .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item:hover .arsobit-exhibitions-excerpt,
.arsobit-exhibitions-list-item:focus .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item:focus .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item:focus .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item:focus .arsobit-exhibitions-excerpt {
  color: #000 !important;
  text-decoration: none;
}
.arsobit-exhibitions-list-item.is-active,
.arsobit-exhibitions-list-item:active {
  box-shadow: none !important;
  border-color: #FFF !important;
  transform: translateY(2px);
  background: #FFF !important;
}
.arsobit-exhibitions-list-item.is-active .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item.is-active .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item.is-active .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item.is-active .arsobit-exhibitions-excerpt,
.arsobit-exhibitions-list-item:active .arsobit-exhibitions-date,
.arsobit-exhibitions-list-item:active .arsobit-exhibitions-title,
.arsobit-exhibitions-list-item:active .arsobit-exhibitions-title a,
.arsobit-exhibitions-list-item:active .arsobit-exhibitions-excerpt {
  color: #000 !important;
}
.arsobit-exhibitions-thumbnail,
.arsobit-exhibitions-thumbnail img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 0 .5em 0;
  display: block;
  aspect-ratio: 1644 / 906;
}
.arsobit-exhibitions-title {
  font-size: 1.1em;
  font-weight: 700;
  text-align: left;
  margin: 0.5em 0 0.2em 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arsobit-exhibitions-title a {
  color: #fff;
  text-decoration: none;
}
.arsobit-exhibitions-title a:hover {
  color: #0077b5;
  text-decoration: underline;
}
.arsobit-exhibitions-date {
  font-size: 1em;
  color: #FFF;
  font-family: 'Noto Sans JP', monospace, sans-serif;
  margin: 0.2em 0 0.5em 0;
  font-weight: 500;
  text-align: left;
  width: 100%;
}
.arsobit-exhibitions-excerpt {
  display: none;
}
@media (max-width: 1200px) {
  .arsobit-exhibitions-query > ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .arsobit-exhibitions-query > ul > li {
    margin: 0 0 .5rem;
  }
  .arsobit-exhibitions-list-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.7em 0.5em 1em 0.5em;
    min-height: 0;
  }
  .arsobit-exhibitions-thumbnail {
    width: 100% !important;
    overflow: hidden;
    background: #eee;
    display: block;
    height: auto !important;
    max-width: 100%;
  }
  .arsobit-exhibitions-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
  }
}
/* === End arsobit-exhibitions-list pattern styles === */

/* creator-artistカテゴリ専用スタイル */
.singular-entry.creator-artist-entry {
  background: transparent !important;
  color: #fff !important;
}
.singular-entry.creator-artist-entry > .post-thumbnail > img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 1rem solid #fff;
  margin-bottom: 1rem;
}
.singular-entry.creator-artist-entry .entry-title {
  color: #000 !important;
  background-color: #fff !important;
  text-align: center;
  margin: 0 10px 25px 10px;
  font-family: 'madoufmg', sans-serif;
}

/* === arsobit-official-team-section styles === */
.entry-content > .arsobit-official-team-section {
  background: rgba(0,0,0,0.8);
  padding: 2.5em 1em 1.5em 1em;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  font-family: 'madoufmg', sans-serif;
}
.official-team-logo > img {
  width: 160px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .arsobit-official-team-section .has-x-large-font-size {
    font-size: 20px!important;
  }
  .official-team-logo {
    margin-top: 1rem;
  }
  .official-team-logo > img {
    width: 140px;
  }
}
.arsobit-official-team-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.arsobit-official-team-header-svg {
  width: 220px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.arsobit-official-team-header-svg img {
  width: 100%;
  height: auto;
  display: block;
}
.arsobit-official-team-title-text {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'madoufmg', 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  margin-top: 0.05rem;
  letter-spacing: -2px;
  margin-left: -1px;
}
@media (max-width: 600px) {
}
/* === End arsobit-official-team-section styles === */

/* === arsobit-news-list JS Interactions === */
.arsobit-news-query { display: none; }
.arsobit-news-query.js-news-ready { display: block; }
.arsobit-news-list-item {
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s, transform 0.07s cubic-bezier(.4,0,.2,1);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  background: #fff;
  position: relative;
}
.arsobit-news-list-item .arsobit-news-date,
.arsobit-news-list-item .arsobit-news-title,
.arsobit-news-list-item .arsobit-news-title a {
  color: #222;
  transition: color 0.2s;
}
.arsobit-news-list-item.is-hovered {
  background: #000 !important;
  border-color: #fff !important;
  box-shadow: 2px 2px 0 #fff !important;
}
.arsobit-news-list-item.is-hovered .arsobit-news-date,
.arsobit-news-list-item.is-hovered .arsobit-news-title,
.arsobit-news-list-item.is-hovered .arsobit-news-title a {
  color: #fff !important;
}
.arsobit-news-list-item.is-active {
  box-shadow: none !important;
  border-color: #000 !important;
  transform: translateY(2px);
  background: #000 !important;
}
.arsobit-news-list-item.is-active .arsobit-news-date,
.arsobit-news-list-item.is-active .arsobit-news-title,
.arsobit-news-list-item.is-active .arsobit-news-title a {
  color: #fff !important;
}
/* === End arsobit-news-list JS Interactions === */

/* 3行制限＋三点リーダー for arsobit-default-filtered.php 抜粋 */
.arsobit-default-card .wp-block-post-excerpt__excerpt,
#dynamic-default-filtered-posts .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  max-height: calc(1.2em * 3);
}

.arsobit-external-links a {
  padding: 5px 10px!important;
}
.arsobit-external-links a:hover {
  color: #FFF;
  background-color: #000;
  text-decoration: none!important;
}

.arsobit-external-context-link-icon {
  color: #FFF;
  margin-top: -0.2em;
  margin-left: -0.1em!important;
}
.footer-links a:hover .arsobit-external-context-link-icon {
  color: #AAA;
}

/* === arsobit-glitch-thumb JS Interactions === */
.arsobit-glitch-thumb-card.is-hovered .arsobit-glitch-thumb-title, .arsobit-glitch-thumb-card.is-hovered .arsobit-glitch-thumb-title a,
.arsobit-glitch-thumb-first-big-card.is-hovered .arsobit-glitch-thumb-title, .arsobit-glitch-thumb-first-big-card.is-hovered .arsobit-glitch-thumb-title a {
  background: #fff !important;
  color: #000 !important;
}
.arsobit-glitch-thumb-card.is-active .arsobit-glitch-thumb-title, .arsobit-glitch-thumb-card.is-active .arsobit-glitch-thumb-title a,
.arsobit-glitch-thumb-first-big-card.is-active .arsobit-glitch-thumb-title, .arsobit-glitch-thumb-first-big-card.is-active .arsobit-glitch-thumb-title a {
  background: #eee !important;
  color: #000 !important;
}
.arsobit-glitch-thumb-card.is-hovered .arsobit-glitch-thumb-image img,
.arsobit-glitch-thumb-card.is-hovered .arsobit-glitch-thumb-image,
.arsobit-glitch-thumb-first-big-card.is-hovered .arsobit-glitch-thumb-image img,
.arsobit-glitch-thumb-first-big-card.is-hovered .arsobit-glitch-thumb-image {
  filter: brightness(1.15);
  transition: filter 0.2s;
}
.arsobit-glitch-thumb-card.is-active .arsobit-glitch-thumb-image img,
.arsobit-glitch-thumb-card.is-active .arsobit-glitch-thumb-image,
.arsobit-glitch-thumb-first-big-card.is-active .arsobit-glitch-thumb-image img,
.arsobit-glitch-thumb-first-big-card.is-active .arsobit-glitch-thumb-image {
  filter: brightness(1.25);
  transition: filter 0.1s;
}
/* === End arsobit-glitch-thumb JS Interactions === */

.arsobit-thumb-cover-card.is-hovered .arsobit-thumb-cover-overlay,
.arsobit-thumb-cover-card.is-active .arsobit-thumb-cover-overlay {
  background: rgba(0,0,0,0.3) !important;
}
.arsobit-thumb-cover-card.is-hovered .arsobit-thumb-cover-title a,
.arsobit-thumb-cover-card.is-active .arsobit-thumb-cover-title a {
  background: #000 !important;
  color: #fff !important;
}

/* === arsobit-contact-inquiry-btn styles === */
.arsobit-contact-inquiry-btn-wrapper {
  margin: 0;
}
.arsobit-contact-inquiry-btn {
  display: inline-block;
  background: #fff;
  color: #000!important;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.5em 1.5em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
  border: none;
  margin: 0.5em 0;
}
.arsobit-contact-inquiry-btn:hover {
  background: #000!important;
  color: #FFF!important;
}
.arsobit-contact-inquiry-btn:hover > a {
  color: #FFF;
}
/* === End arsobit-contact-inquiry-btn styles === */

/* === arsobit-contact-inquiry-btn menu風エフェクト === */
.arsobit-contact-inquiry-btn-outer {
  display: inline-block;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  background: #fff;
  border-radius: 999px;
  transition: background 0.2s, box-shadow 0.07s, border-color 0.2s, transform 0.07s cubic-bezier(.4,0,.2,1);
  margin: 0.5em 0;
  text-align: center;
}
.arsobit-contact-inquiry-btn-outer:hover,
.arsobit-contact-inquiry-btn-outer:focus-within {
  background: #000 !important;
  border-color: #fff !important;
  box-shadow: 2px 2px 0 #fff !important;
}
.arsobit-contact-inquiry-btn-outer:hover .arsobit-contact-inquiry-btn,
.arsobit-contact-inquiry-btn-outer:focus-within .arsobit-contact-inquiry-btn {
  color: #fff !important;
}
.arsobit-contact-inquiry-btn-outer:active {
  box-shadow: none !important;
  border-color: #000 !important;
  transform: translateY(2px);
}
.arsobit-contact-inquiry-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #000 !important;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border: none;
  box-shadow: none;
  transition: color 0.2s;
  margin: 0;
  min-width: 180px;
  justify-content: center;
}
.arsobit-contact-inquiry-btn .arsobit-contact-inquiry-btn-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.2em;
  margin-top: -0.3em;
}
.arsobit-contact-inquiry-btn .arsobit-contact-inquiry-btn-icon svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  vertical-align: middle;
}
.arsobit-contact-inquiry-btn-outer:hover .arsobit-contact-inquiry-btn-icon svg {
  color: #fff;
  fill: #fff;
}
/* === End arsobit-contact-inquiry-btn menu風エフェクト === */

/* === arsobit-default pagination === */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2em auto 1em;
  width: 100%;
  color: #fff;
  width: fit-content;
  font-family: 'madoufmg', sans-serif;
  font-size: 1.2rem;
  padding: 5px 10px;
  background-color: black;
}
.wp-block-query-pagination .page-numbers {
  display: inline-block;
  min-width: 2em;
  padding: 0.4em 1em;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  background-color: #000;
  cursor: pointer;
}
.wp-block-query-pagination .current {
  background: #FFF;
  color: #000;
}
.wp-block-query-pagination .dots {
  background: none;
  color: #FFF;
  pointer-events: none;
  letter-spacing: -0.1em;
}
.wp-block-query-pagination .page-numbers:hover {
  background: #FFF;
  color: #000;
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  min-width: 2em;
  padding: 0.2em 0.5em;
  color: #fff;
  font-size: 1.1em;
  text-align: center;
  display: inline-block;
  background-color: #000;
  margin: 0 0.3rem!important;
}
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background: #fff;
  color: #000;
}
@media (max-width: 600px) {
  .wp-block-query-pagination .page-numbers {
    padding: 0.4em .1em;
  }
  .wp-block-query-pagination .current,
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next {
    display: inline-block;
  }
}
/* === End arsobit-default pagination === */

#fixed-bg {
  background-color: #000!important;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  height: -webkit-fill-available;
  z-index: -1;
  background: url('assets/images/background.gif') center center / cover no-repeat;
  pointer-events: none;
}

.arsobit-default-card {
  border: 1px solid #FFF;
}

.arsobit-default-card.is-hovered, .arsobit-default-card.is-hovered > .wp-block-group {
  background: #000 !important;
  color: #fff !important;
  cursor: pointer!important;
}
.arsobit-default-card.is-hovered > .wp-block-group a,
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-title a,
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-date,
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-excerpt,
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-excerpt a,
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-excerpt__excerpt {
  color: #fff !important;
}
.arsobit-default-card.is-hovered > .wp-block-group .wp-block-post-terms a {
  color: #000 !important;
  background: #fff !important;
  cursor: pointer!important;
}
.arsobit-default-card.is-active {
  box-shadow: none !important;
  border-color: #000 !important;
  transform: translateY(2px);
}

.filter-loading, .filter-error, .no-posts {
  color: #000;
  background: #FFF;
  padding: 0.1rem;
  width: fit-content;
  margin: 0 auto;
  font-family: 'madoufmg', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
}

.arsobit-thumb-item:hover .arsobit-thumb-title, .arsobit-thumb-item:hover .arsobit-thumb-title a {
  background: #000 !important;
  color: #fff !important;
}

/* === Language Toggle (Polylang) === */
.lang-toggle {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.lang-item {
  color: #AAAAAA;
  font-weight: normal;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s;
}
.lang-item.active {
  color: #fff;
  font-weight: bold;
}
.lang-sep {
  color: #AAAAAA;
  margin: 0 4px;
}
/* === End Language Toggle === */

/* === Language Toggle HyperCard Style === */
.lang-toggle-hypercard {
  display: flex;
  align-items: center;
  margin-right: 8px;
  height: 32px;
}
.lang-hypercard {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  font-size: 1em;
  color: #FFF;
  background: #111;
  border: 2px solid #FFF;
  box-shadow: 2px 2px 0 #FFF;
  font-weight: 500;
  text-decoration: none;
  margin: 0;
  padding: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.1s, border-color 0.1s;
  cursor: pointer;
  user-select: none;
  letter-spacing: -.1em;
}
.lang-hypercard.active {
  background: #FFF;
  color: #000;
  box-shadow: 2px 2px 0 #FFF;
  border-color: #FFF;
  font-weight: bold;
}
.lang-hypercard:not(:last-child) {
  border-right: none;
}
.lang-hypercard:active {
  box-shadow: none;
  border-color: #FFF;
  background: #DDD;
  color: #000;
}

/* Hoverでactive/deactiveを逆転 */
.lang-toggle-hypercard:hover .lang-hypercard.active {
  background: #111;
  color: #FFF;
  font-weight: 500;
}
.lang-toggle-hypercard:hover .lang-hypercard:not(.active) {
  background: #FFF;
  color: #000;
  font-weight: bold;
}

@media (max-width: 768px) {
  .lang-toggle-hypercard {
    margin-right: 0px;
  }
  .lang-hypercard {
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
  }
}
/* === End Language Toggle HyperCard Style === */

.arsobit-news-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3;
  max-height: calc(1.3em * 3);
  font-size: 1.1em;
  font-weight: 600;
  color: #222;
  text-align: left;
}
.arsobit-news-list-item.is-hovered .arsobit-news-text,
.arsobit-news-list-item.is-active .arsobit-news-text {
  color: #fff;
}
.arsobit-news-text a {
  color: inherit;
  text-decoration: none;
}

/* Black circular placeholder for missing thumbnails */
.thumb-placeholder {
  width: 120px;
  height: 120px;
  background: #111;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

#dynamic-default-filtered-posts .wp-block-query {
  display: none;
}

@media (max-width: 768px) {
  .thumb-placeholder {
    width: 100px;
    height: 100px;
  }
  .arsobit-thumb-grid .wp-block-post-template > li {
    padding: 0 5px;
    box-sizing: border-box;
  }
}
