/* Original Before and After v5 theme CSS, scoped for the V3 WordPress front page. */
/*!
Theme Name: Before and After
Author: TENCA
Author URI: http://tenca.net
Version: 2.2.1

Before&After 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/
*/

/*--------------------------------------------------------------
>>> 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

--------------------------------------------------------------*/

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

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

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

/* 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;
}

/**
 * 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: block;
	list-style: none;
}

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

/* 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
--------------------------------------------------------------*/

:root {
	--font-en: 'Fahkwang', sans-serif;
	--font-size-10: calc(10px + 4 * (100vw - 1280px) / 640);
	--font-size-12: calc(12px + 5 * (100vw - 1280px) / 640);
	--font-size-14: calc(14px + 6 * (100vw - 1280px) / 640);
	--font-size-16: calc(16px + 6 * (100vw - 1280px) / 640);
	--font-size-18: calc(18px + 7 * (100vw - 1280px) / 640);
	--font-size-20: calc(20px + 8 * (100vw - 1280px) / 640);
	--font-size-22: calc(22px + 9 * (100vw - 1280px) / 640);
	--font-size-24: calc(24px + 10 * (100vw - 1280px) / 640);
	--font-size-28: calc(28px + 12 * (100vw - 1280px) / 640);
	--font-size-30: calc(30px + 12 * (100vw - 1280px) / 640);
	--font-size-32: calc(32px + 13 * (100vw - 1280px) / 640);
	--font-size-40: calc(40px + 17 * (100vw - 1280px) / 640);
	--font-size-50: calc(50px + 21 * (100vw - 1280px) / 640);
	--font-size-60: calc(60px + 25 * (100vw - 1280px) / 640);
	--font-size-70: calc(70px + 30 * (100vw - 1280px) / 640);
	--font-size-85: calc(85px + 36 * (100vw - 1280px) / 640);
	--font-size-180: calc(180px + 78 * (100vw - 1280px) / 640);
	--blue: #00f;
	--orange: #ff643c;
	--bg: #fff5e6;
	--bg-alpha: rgb(255 245 230/.95);
	--line: linear-gradient(90deg, rgb(0 0 255/.3) 6px, transparent 6px, transparent 7px) left bottom / 8px 1px repeat-x;
	--line2: linear-gradient(90deg, rgb(255 245 232/.4) 6px, transparent 6px, transparent 7px) left bottom / 8px 1px repeat-x;
	--line3: linear-gradient(90deg, #fff 6px, transparent 6px, transparent 7px) left bottom / 8px 1px repeat-x;
	--line-vw: linear-gradient(90deg, rgb(0 0 255/.3) .44vw, transparent .44vw, transparent .51vw) left bottom / .58vw 1px repeat-x;
	--line2-vw: linear-gradient(90deg, rgb(255 245 232/.4) .44vw, transparent .44vw, transparent .51vw) left bottom / .58vw 1px repeat-x;
	--line3-vw: linear-gradient(90deg, #fff .44vw, transparent.44vw, transparent .51vw) left bottom / .58vw 1px repeat-x;
	--arrow-down: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22m10%2C18.33L20%2C1.67l-10%2C10L0%2C1.67l10%2C16.67Z%22%2F%3E%3C%2Fsvg%3E');
	--blank: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22m12.38%2C8.09H1.91c-1.05%2C0-1.91.85-1.91%2C1.9v5.71c0%2C1.05.85%2C1.91%2C1.91%2C1.91h10.47c1.05%2C0%2C1.91-.85%2C1.91-1.91h0v-5.71c0-1.05-.85-1.91-1.91-1.91h0m0%2C1.43c.26%2C0%2C.48.21.48.48v5.71c0%2C.26-.21.48-.48.48H1.91c-.26%2C0-.48-.21-.48-.48v-5.71c0-.26.21-.48.48-.48h10.47m7.62-5.23v5.71c0%2C1.05-.85%2C1.91-1.91%2C1.91h-2.38v-1.44h2.38c.26%2C0%2C.48-.21.48-.48h0v-5.71c0-.26-.21-.48-.48-.48H7.62c-.26%2C0-.48.21-.48.48h0v2.38h-1.43v-2.38c0-1.05.85-1.91%2C1.9-1.91h10.47c1.05%2C0%2C1.91.85%2C1.91%2C1.91%2C0%2C0%2C0%2C0%2C0%2C0%22%2F%3E%3C%2Fsvg%3E');
	--category-bg-small: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%22%20height%3D%2250%22%20viewBox%3D%220%200%20100%2050%22%3E%3Cpath%20d%3D%22M100%2C25c0%2C4.138-7.548%2C5.752-11.761%2C9.061-3.188%2C2.5-4.315%2C9.7-9.281%2C11.434-4.113%2C1.434-10.314-3.106-15.3-2.364C59.193%2C43.8%2C54.93%2C50%2C50%2C50s-9.191-6.2-13.652-6.867c-4.991-.743-11.193%2C3.8-15.306%2C2.363-4.969-1.732-6.094-8.931-9.282-11.436C7.548%2C30.75%2C0%2C29.137%2C0%2C25s7.549-5.752%2C11.761-9.061c3.188-2.5%2C4.315-9.7%2C9.282-11.434%2C4.112-1.434%2C10.313%2C3.106%2C15.3%2C2.364C40.807%2C6.2%2C45.072%2C0%2C50%2C0s9.19%2C6.2%2C13.651%2C6.867c4.991.743%2C11.194-3.8%2C15.307-2.363%2C4.968%2C1.732%2C6.094%2C8.931%2C9.282%2C11.436C92.452%2C19.25%2C100%2C20.863%2C100%2C25%22%20fill%3D%22%23ff643c%22%2F%3E%3C%2Fsvg%3E');
	--category-bg-big: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%2249.999%22%20viewBox%3D%220%200%20150%2049.999%22%3E%3Cg%20transform%3D%22translate(-440%20-25)%22%3E%3Cg%20transform%3D%22translate(0%200)%22%3E%3Cpath%20d%3D%22M150%2C25c0%2C3.481-7.61%2C4.341-12.285%2C7.269-3.129%2C1.959-4.305%2C8.956-9.1%2C10.536-3.827%2C1.262-9.9-3.256-14.585-2.3-4.1.837-7.382%2C7.336-12.015%2C7.9-4.239.519-9.3-4.933-13.889-4.668C83.811%2C43.992%2C79.554%2C50%2C75%2C50s-8.811-6.007-13.13-6.256c-4.593-.265-9.652%2C5.187-13.892%2C4.667-4.634-.568-7.918-7.067-12.018-7.905-4.69-.958-10.758%2C3.559-14.584%2C2.3-4.792-1.579-5.968-8.577-9.1-10.537C7.609%2C29.339%2C0%2C28.48%2C0%2C25s7.61-4.341%2C12.285-7.269c3.128-1.959%2C4.305-8.956%2C9.1-10.536%2C3.827-1.262%2C9.894%2C3.256%2C14.585%2C2.3%2C4.1-.837%2C7.382-7.336%2C12.015-7.9%2C4.238-.519%2C9.3%2C4.933%2C13.888%2C4.668C66.189%2C6.007%2C70.445%2C0%2C75%2C0s8.81%2C6.007%2C13.129%2C6.256c4.594.265%2C9.652-5.187%2C13.892-4.667%2C4.634.568%2C7.918%2C7.067%2C12.019%2C7.905%2C4.689.958%2C10.758-3.559%2C14.584-2.3%2C4.792%2C1.579%2C5.968%2C8.577%2C9.095%2C10.537C142.391%2C20.66%2C150%2C21.519%2C150%2C25%22%20transform%3D%22translate(440%2025)%22%20fill%3D%22%23ff643c%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
	--search-icon: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20class%3D%22icon%20icon-search%22%20fill%3D%22blue%22%3E%3Cpath%20d%3D%22m19.72%2C17.29l-3.9-3.89c-.18-.18-.42-.27-.66-.27h-.64c2.76-3.54%2C2.13-8.64-1.41-11.4C9.59-1.04%2C4.48-.41%2C1.72%2C3.13-1.04%2C6.66-.41%2C11.77%2C3.13%2C14.53c2.94%2C2.29%2C7.06%2C2.29%2C9.99%2C0v.64c0%2C.25.1.49.27.66l3.9%2C3.9c.36.37.96.37%2C1.32%2C0%2C0%2C0%2C0%2C0%2C0%2C0l1.11-1.11c.37-.37.37-.96%2C0-1.33Zm-11.6-4.17c-2.76%2C0-5-2.24-5-5s2.24-5%2C5-5%2C5%2C2.24%2C5%2C5-2.24%2C5-5%2C5h0%2C0Z%22%2F%3E%3C%2Fsvg%3E');
}

/* Typography
--------------------------------------------- */
html {
	font-size: 10px;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--blue);
	font-family: 'IBM Plex Sans JP', sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: .04em;
}

@media (min-width: 960px) {

	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 1.6rem;
	}
}

@media (min-width: 1280px) {

	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: var(--font-size-16);
	}
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 500;
	line-height: 1.5;
	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%;
}

.en {
	font-family: var(--font-en);
}

em,
strong {
	font-weight: 500;
	font-style: normal;
}

/* Elements
--------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	background: #FFF5E6;
}

hr {
	background-color: rgb(0 0 255/.4);
	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,
svg {
	height: auto;
	max-width: 100%;
	vertical-align: top;
	transition: .2s linear;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--blue);
	text-decoration: none;
	transition: .2s linear;
}

a:visited {
	color: rgb(0 0 255/.7);
}

a:hover,
a:focus,
a:active {
	opacity: .8;
}

a:focus {
	outline: thin dotted;
}

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


/* Forms
--------------------------------------------- */
button {
	background: none;
	border: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0;
	transition: .2s linear;
	cursor: pointer;
}

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:focus-visible {
	outline: none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

/* Animations
--------------------------------------------- */
@keyframes marquee {
	0% {
		translate: 0;
	}

	100% {
		translate: calc(-100% - 2em);
	}
}


@keyframes marquee-reverse {
	0% {
		translate: calc(-100% - 2em);
	}

	100% {
		transform: translate(0);
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fade-out {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes fade-in-up {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slide-in-right {
	0% {
		opacity: 0;
		transform: translateX(-100%);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-in-left {
	0% {
		opacity: 0;
		transform: translateX(100%);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes rotate {
	0% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes rotate {
	0% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes scaling {
	0% {
		transform: scale(1)
	}

	50% {
		transform: scale(1.5)
	}

	100% {
		transform: scale(1)
	}
}

@keyframes typing {
	0% {
		left: 0;
	}

	100% {
		left: 100%;
	}
}

@keyframes fadein-out-right {
	0% {
		opacity: 0;
		transform: translateX(-50%);
	}

	50% {
		opacity: 1;
		transform: translateX(0);
	}


	100% {
		opacity: 0;
		transform: translateX(50%);
	}
}

@keyframes fadein-out-left {
	0% {
		opacity: 0;
		transform: translateX(50%);
	}

	50% {
		opacity: 1;
		transform: translateX(0);
	}


	100% {
		opacity: 0;
		transform: translateX(-50%);
	}
}

@keyframes fadein-out-down {
	0% {
		opacity: 0;
		transform: translateY(-50%);
	}

	50% {
		opacity: 1;
		transform: translateY(0);
	}


	100% {
		opacity: 0;
		transform: translateY(50%);
	}
}

/* Common
--------------------------------------------- */
.page-width {
	padding: 0 2.5rem;
}

@media (min-width: 960px) {
	.page-width {
		padding: 0 8rem;
	}
}

@media (min-width: 1280px) {
	.page-width {
		width: calc(100% - 11.8vw);
		max-width: 196rem;
		padding: 0;
		margin: 0 auto;
	}
}


/* Media control
--------------------------------------------- */
.is-desktop,
.is-mobile {
	display: none;
}

@media (max-width: 959px) {
	.is-mobile {
		display: block;
	}
}


@media (min-width: 960px) {
	.is-desktop {
		display: block;
	}
}

/* Icon
--------------------------------------------- */
.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.icon {
	fill: currentColor;
}

.sns-icon {
	fill: currentColor;
}

.icon-arrow-left {
	animation: fadein-out-left 1.5s ease infinite;
}
.icon-arrow-right {
	animation: fadein-out-right 1.5s ease infinite;
}
.icon-arrow-down {
	animation: fadein-out-down 1.5s ease infinite;
}


/* Button
--------------------------------------------- */
.button {
	display: grid;
	place-content: center;
	width: 5rem;
	height: 5rem;
	color: var(--blue);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--orange) inset;
	cursor: pointer;
}

.buttons .button {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	width: 22rem;
	padding: 0 2rem 0 3rem;
	border-radius: 2.5rem;
}

.buttons .button .icon {
	color: var(--orange);
}

.page-top-button {
	display: inline-flex;
	color: var(--orange);
	margin: 0 auto 2rem;
	cursor: pointer;
	animation: scaling 5s ease-in-out infinite;
}

@media (min-width: 960px) {
	.button:hover {
		box-shadow: 0 0 0 3px var(--orange) inset;
	}

	.button:hover .icon,
	.page-top-button:hover .icon {
		transform: scale(1.1);
	}
}

@media (min-width: 1280px) {
	.button {
		width: 3.7vw;
		height: 3.7vw;
	}

	.page-top-button .icon,
	.button .icon {
		width: 1.5vw;
		height: 1.5vw;
	}

	.buttons .button {
		width: 16vw;
		padding: 0 1.5vw 0 2.2vw;
		border-radius: 1.85vw;
	}

	.page-top-button {
		margin-bottom: 1.5vw;
	}

	.search-toggle .icon-search {
		width: 1.32vw;
		height: 1.32vw;
	}
}

/* Header
--------------------------------------------- */
.site-header {
	padding: 2rem 0;
}

.site-header-inr {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-header .custom-logo-link {
	display: block;
	width: 6.8rem;
}

.site-header .site-logo {
	display: block;
	width: 100%;
}

.site-header .title {
	display: none;
}

@media (min-width: 960px) {

	.site-header-inr::after {
		content: "";
		display: block;
		width: 8.4rem;
	}

	.site-header .custom-logo-link {
		width: 8.4rem;
	}


	.site-header .title {
		flex: 1;
		display: block;
		text-align: center;
		font-size: 1.2rem;
	}
}

@media (min-width: 1280px) {

	.site-header {
		padding: 2.9vw 0;
	}

	.site-header-inr::after,
	.site-header .custom-logo-link {
		width: 6.1vw;
	}

	.site-header .title {
		font-size: var(--font-size-12);
	}
}

/* Footer
--------------------------------------------- */
.footer-marquee {
	text-align: center;
	padding: 0;
	margin-top: 8rem;
}

.site-footer {
	position: relative;
	color: #00f;
	background: var(--bg);
	padding: 19rem 2.5rem 21rem;
}

.site-footer .site-info {
	text-align: center;
}

.site-footer .footer-logo {
	width: 12rem;
	margin: 0 auto 4rem;
}

.site-footer .copyright {
	font-size: 1rem;
	letter-spacing: .02em;
	margin: 0;
}

.site-footer .marquee {
	position: absolute;
	bottom: 0;
}

.site-footer .category-nav {
	letter-spacing: .02em;
}


@media (min-width: 960px) {
	.site-footer {
		padding: 11.7vw 4.4vw 2.9vw;
	}

	.site-footer .site-info {
		text-align: left;
	}

	.site-footer .footer-navigation {
		display: flex;
		justify-content: space-between;
		gap: 4.4vw;
		padding: 0 4.4vw;
		margin-bottom: 4.4vw;
	}

	.site-footer .flex-area {
		flex: 1;
		text-align: right;
		margin-top: auto;
	}

	.site-footer ul {
		display: grid;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.site-footer .category-area {
		font-size: 2rem;
		margin-right: 1.5vw;
	}

	.site-footer .category-nav {
		gap: 2.2vw;
	}

	.site-footer .navigation-area {
		font-size: 1.6rem;
	}

	.site-footer .navigation-area .widget:last-child {
		margin: 0;
	}

	.site-footer .navigation-area .menu {
		position: relative;
		gap: 1.5vw;
		padding-bottom: 2.2vw;
		margin-bottom: .7vw;
	}

	.site-footer .navigation-area .menu::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 2.9vw;
		height: 1px;
		background: var(--line-vw);
	}

	.site-footer .navigation-area .menu a {
		display: flex;
		align-items: center;
		gap: .5rem;
	}

	.site-footer .navigation-area .small-menu .menu {
		font-size: 1.2rem;
		gap: .7vw;
		padding: 0;
		margin: 0;
	}

	.site-footer .navigation-area .small-menu .menu::after {
		content: none;
	}

	.site-footer .sns-links {
		gap: 1.5vw;
		margin-bottom: 2.9vw;
	}

	.site-footer .sns-links .icon {
		width: 2.3vw;
		height: 2.3vw;
	}
	
	.site-footer .sns-links .icon-x {
		transform: scale(.9);
	}

	.site-footer .menu a[target="_blank"]::after {
		content: "";
		display: inline-block;
		width: 1.6vw;
		height: 1.6vw;
		background: var(--blue);
		mask: var(--blank) center / contain no-repeat;
		-webkit-mask: var(--blank) center / contain no-repeat;
		transform: translateY(-2px);
	}

	.site-footer .language-switcher {
		display: inline-flex;
		align-items: center;
		gap: 1.1vw;
		margin-bottom: 1.1vw;
	}

	.site-footer .language-switcher .translate-link {
		display: inline-flex;
	}

	.site-footer .language-switcher .translate-link svg {
		width: 2.9vw;
		height: 1.3vw;
	}

	.site-footer .language-switcher .en {
		font-size: 1.2rem;
		font-weight: 500;
		margin: 0;
	}

	.site-footer .footer-logo-area {
		margin: 0;
	}

	.site-footer .footer-logo-area img {
		width: 100%;
	}

}

@media (min-width: 1280px) {
	.site-footer .category-area {
		font-size: var(--font-size-20);
	}

	.site-footer .navigation-area {
		font-size: var(--font-size-16);
	}

	.site-footer .navigation-area .small-menu .menu,
	.site-footer .language-switcher .en {
		font-size: var(--font-size-12);
	}

	.site-footer .copyright {
		font-size: var(--font-size-10);
	}

}

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

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

.navigation-container {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: var(--bg-alpha);
	overflow-y: scroll;
	opacity: 0;
	z-index: -999;
}

.toggled .navigation-container {
	display: block;
	opacity: 1;
	z-index: 999;
	animation: fade-in .4s ease-in-out both;
}

.navigation-container .navigation-inr {
	position: relative;
	padding: 11rem 2rem 6rem;
}

.navigation-container .search-toggle {
	position: fixed;
	top: 2rem;
	left: 2rem;
	z-index: 1;
}

.navigation-container ul {
	list-style: none;
	padding: 1rem 0;
	margin: 0;
}

.navigation-container .navigation-area {
	position: relative;
	padding-left: 8rem;
}

.navigation-container .widget_nav_menu {
	margin: 0;
}

.navigation-container .widget_nav_menu .menu {
	position: relative;
}

.navigation-container .widget_nav_menu .menu::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 4rem;
	height: 1px;
	background: var(--line);
}

.navigation-container .small-menu .widget_nav_menu .menu::after {
	content: none;
}

.navigation-container .widget_nav_menu {
	font-size: 1.6rem;
}

.navigation-container .small-menu .widget_nav_menu {
	font-size: 1.2rem;
}

.navigation-container .menu li {
	margin: 2rem 0;
}

.navigation-container .small-menu .menu li {
	margin: 1rem 0;
}

.navigation-container .menu a {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.navigation-container .menu a[target="_blank"]::after {
	content: "";
	display: inline-block;
	width: 2.2rem;
	height: 2.2rem;
	background: var(--blue);
	mask: var(--blank) center / contain no-repeat;
	-webkit-mask: var(--blank) center / contain no-repeat;
}

.navigation-container .language-switcher {
	padding: 1rem 0 0;
	margin-left: 8rem;
}

.navigation-container .language-switcher .translate-link {
	display: inline-flex;
}

.navigation-container .language-switcher .en {
	font-size: 1.2rem;
	margin: 0;
}

.navigation-container .copyright {
	position: absolute;
	bottom: -7.5rem;
	left: 0;
	font-size: 1rem;
	margin: 0;
	transform: rotate(90deg) translateX(-100%);
	transform-origin: bottom left;
}

.navigation-container .sns-links {
	position: absolute;
	top: 3rem;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 3.2rem;
	padding: 0;
	margin: 0;
}

.navigation-container .category-nav {
	padding: 0;
	margin: 0;
}

.navigation-container .category-nav li {
	background: var(--line);
	padding: 1rem 0;
	margin: 0 0 1rem;
}

.navigation-container .category-nav a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.navigation-container .category-nav .thumbnail {
	width: 6rem;
	height: 4rem;
	border-radius: .5rem;
	overflow: hidden;
	border: 1px solid var(--orange);
	box-sizing: border-box;
}

.navigation-container .category-nav .thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.navigation-container .category-nav .title {
	flex: 1;
	font-size: 3rem;
	line-height: 1;
}

.navigation-container .category-nav .en .title {
	font-size: 3.2rem;
	font-weight: 300;
	letter-spacing: 0;
}

.navigation-container .category-nav .icon {
	width: 2rem;
	color: var(--orange);
}

@media (max-width: 959px) {
	.navigation-container .category-nav .count {
		display: none;
	}
}

@media (min-width: 960px) {
	.navigation-container {
		backdrop-filter: blur(1rem);
	}

	.navigation-container .navigation-inr {
		display: grid;
		grid-template-columns: 64% 1fr;
		gap: 5.9vw;
		width: 55vw;
		padding: 0;
		margin-top: -2.2vw;
	}

	.navigation-container .category-area {
		position: relative;
		padding-top: 1.5vw;
	}

	.navigation-container .category-nav li {
		background: var(--line-vw);
	}

	.navigation-container .search-toggle {
		position: absolute;
		top: auto;
		bottom: 0;
		left: 0;
	}

	.navigation-container .navigation-area {
		position: static;
		padding: 0;
	}

	.navigation-container .sns-links {
		position: static;
		flex-direction: row;
		gap: 1.5vw;
		width: auto;
		margin: 4.4vw 0 .7vw;
	}

	.navigation-container .copyright {
		display: none;
	}

	.toggled .navigation-container {
		display: grid;
		place-content: center;
		overflow: hidden;
	}

	.navigation-container .language-switcher {
		position: absolute;
		bottom: 1.2vw;
		left: 6.6vw;
		display: flex;
		align-items: center;
		gap: 1.1vw;
		padding: 0;
		margin: 0;
	}

	.navigation-container .category-nav a:hover img {
		transform: scale(1.1);
	}

	.navigation-container .category-nav .count {
		font-size: 1.2rem;
	}

	.navigation-container .category-nav .icon {
		width: 1.5vw;
	}

	.navigation-container .widget_nav_menu .menu::after {
		background: var(--line-vw);
	}
}

@media (min-width: 1280px) {
	.navigation-container .category-nav li {
		padding: .7vw 0;
		margin: 0 0 .7vw;
	}

	.navigation-container .category-nav a {
		gap: 1.5vw;
	}

	.navigation-container .category-nav .thumbnail {
		width: 4.4vw;
		height: 2.9vw;
	}

	.navigation-container .category-nav .title {
		font-size: var(--font-size-30);
	}

	.navigation-container .category-nav .en .title {
		font-size: var(--font-size-32);
	}

	.navigation-container .category-nav .count {
		font-size: var(--font-size-12);
	}

	.navigation-container .widget_nav_menu {
		font-size: var(--font-size-16);
	}

	.navigation-container .widget_nav_menu .menu::after {
		width: 2.9vw;
	}

	.navigation-container ul {
		padding: .7vw 0;
	}

	.navigation-container .menu li {
		margin: 1.5vw 0;
	}

	.navigation-container .small-menu .menu li {
		margin: .7vw 0;
	}

	.navigation-container .small-menu .widget_nav_menu {
		font-size: var(--font-size-12);
	}

	.navigation-container .menu a[target="_blank"]::after {
		width: 1.6vw;
		height: 1.6vw;
	}

	.navigation-container .sns-links .icon {
		width: 2.3vw;
		height: 2.3vw;
	}
	
	.navigation-container .sns-links .icon-x {
		transform: scale(.9);
	}

	.navigation-container .language-switcher .translate-link {
		width: 3vw;
	}

	.navigation-container .language-switcher .translate-link svg {
		width: 100%;
	}

	.navigation-container .language-switcher .en {
		font-size: var(--font-size-12);
	}
}

/* Toggle button */
.menu-toggle {
	position: fixed;
	top: 2rem;
	right: 2rem;
	z-index: 1000;
}

.menu-toggle .icon>* {
	transform-origin: center;
	transition: .2s linear;
}

.main-navigation.toggled .icon-menu-1 {
	transform: rotate(45deg);
}

.main-navigation.toggled .icon-menu-2 {
	transform: rotate(-45deg);
}

@media (min-width: 1280px) {
	.menu-toggle {
		top: 2.9vw;
		right: 4vw;
	}
}

/* Marquee */
.marquee {
	display: flex;
	white-space: nowrap;
	overflow: hidden;
}

.title-marquee {
	right: 0;
	left: 0;
	gap: .5em;
	font-size: 5rem;
	font-weight: 300;
	line-height: 1;
}

.title-marquee-inner {
	animation: marquee 20s linear infinite;
}

.marquee-wrap {
	overflow: hidden;
	gap: 2em;
}

.tag-links-marquee {
	background: var(--blue);
}

.cast-links-marquee {
	background: var(--orange);
}

.marquee-container {
	display: flex;
	gap: 2em;
	white-space: nowrap;
}

.tag-links-marquee .marquee-container {
	animation: marquee 100s linear infinite;
}

.cast-links-marquee .marquee-container {
	animation: marquee-reverse 100s linear infinite;
}

.marquee-container .marquee-links {
	display: flex;
	gap: 2em;
	list-style: none;
	padding: 2.5rem 0;
	margin: 0;
}

.marquee-container .marquee-links a {
	font-size: 2rem;
	line-height: 1;
	vertical-align: text-bottom;
}

.marquee-container .tag-links a {
	color: #fff;
}

.marquee-container .cast-links a {
	color: var(--blue);
}

@media (min-width: 960px) {
	.title-marquee {
		position: fixed;
		top: 0;
		right: auto;
		bottom: 0;
		font-size: 18rem;
		transform: rotate(90deg) translateY(-.85em);
		transform-origin: top left;
	}

	.title-marquee-inner {
		animation: marquee 40s linear infinite;
	}

	.tag-links-marquee .marquee-container {
		animation: marquee 100s linear infinite;
	}

	.cast-links-marquee .marquee-container {
		animation: marquee-reverse 100s linear infinite;
	}
}

@media (min-width: 1280px) {
	.title-marquee {
		font-size: var(--font-size-180);
	}

	.marquee-container .marquee-links {
		padding: 1.8vw 0;
	}

	.marquee-container .marquee-links a {
		font-size: var(--font-size-20);
	}
}

/* Search */
.search-container {
	display: none;
}

.search-container.toggled {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--bg-alpha);
	backdrop-filter: blur(1rem);
	z-index: 1001;
	animation: fade-in .4s ease-in-out both;
}

.search-container .marquee-wrap {
	position: absolute;
	right: 0;
	left: 0;
}

.search-container .tag-links-marquee {
	bottom: 0;
}

.search-container .cast-links-marquee {
	top: 0;
}

.search-container .search-close {
	position: absolute;
	top: 9.4rem;
	right: 2rem;
}

.search-box {
	width: 100%;
	max-width: 65rem;
	padding: 2rem 0;
	margin: 0 auto;
}

.search-box .search-form {
	display: flex;
	align-items: center;
}

.search-box .search-input {
	background: #fff;
	flex: 1;
	width: 100%;
	height: 5rem;
	padding: 1rem 2.5rem;
	border: 2px solid var(--orange);
	border-radius: 2.5rem;
	transition: .2s linear;
	margin-right: -2px;
}

.search-box .search-input:focus {
	box-shadow: 0 0 0 1px var(--orange) inset;
}

@media (min-width: 560px) {
	.search-box .search-input {
		min-width: 45rem;
		height: 10rem;
		border-radius: 5rem;
	}
}

@media (min-width: 1280px) {

	.search-container .search-close {
		top: 9vw;
		right: 4vw;
	}

	.search-box {
		max-width: 47.6vw;
		padding: 1.5vw;
	}

	.search-box .search-input {
		height: 7.3vw;
		padding: .7vw 3.65vw;
		border-radius: 3.65vw;
	}

}

/* Post card
--------------------------------------------- */

.post .post-title {
	font-size: 2rem;
	letter-spacing: 0;
	margin: 0;
}

.post .post-title .icon {
	display: none;
}

.post .post-cast {
	letter-spacing: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}

.post .post-cast li {
	background: var(--line);
	line-height: 1.5;
	padding: 1rem 0 .6rem;
	overflow: hidden;
}

.post .post-cast li span {
	overflow: hidden;
}

.post .post-categories {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post .post-categories .blank {
	height: 5rem;
}

.post .post-category-link {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 5rem;
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--blue);
	background: 0 0 / contain no-repeat;
}

.post .en>.post-category-link {
	letter-spacing: 0;
}

.post .bg-small .post-category-link,
.post .bg-big.cityandculture .post-category-link,
.post .bg-big.opinionofthesamegeneration .post-category-link {
	width: 10rem;
	background-image: var(--category-bg-small);
}

.post .bg-big .post-category-link {
	width: 15rem;
	background-image: var(--category-bg-big);
}

.post .bg-big.basic_insight .post-category-link {
	font-family: var(--font-en);
}

.post .post-image-link {
	display: block;
	aspect-ratio: 3/2;
	border: 2px solid var(--orange);
	border-radius: 1rem;
	overflow: hidden;
}

.post .post-image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post .post-arrow {
	text-align: right;
}

.post .post-arrow-link {
	color: var(--orange);
}

.post-card {
	display: grid;
	grid-template-columns: 1fr 15rem;
	gap: 2rem;
	margin-bottom: 4rem !important;
}

.post-card .post-image {
	grid-column: 1/2;
	grid-row: 1/2;
}

.post-card .post-meta {
	display: grid;
	place-content: center;
	gap: 1rem;
	text-align: center;
	grid-column: 2/3;
	grid-row: 1/2;
}

.post-card .post-date {
	font-size: 1.2rem;
}

.post-card .post-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	grid-column: 1/3;
	grid-row: 2/3;
	overflow: hidden;
}

.post-card .post-content .post-date {
	display: none;
}

.post-card .post-arrow-link {
	grid-column: 1/3;
	grid-row: 3/4;
}

.anime-title {
	position: relative;
	display: block;
}

.anime-title::before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	background-color: var(--bg);
	transition: 1s linear;
}

body.maetoato-home-surface .pop-post .anime-title::before {
	background-color: var(--blue);
}

.anime-title.is-active::before {
	left: 100%;
}

@media (min-width: 960px) {
	.post .post-cast {
		display: grid;
		grid-template-columns: 20rem 1fr;
		gap: 1rem;
		margin: 0;
	}

	.post .post-cast li {
		background: var(--line-vw);
	}

	.post .post-arrow {
		display: none;
	}

	.post .post-link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1.5vw;
	}

	.post .post-title .icon {
		display: block;
		color: var(--orange);
		transform-origin: right center;
	}

	.post .post-link:hover .icon {
		transform: scale(1.1);
	}

	.post-card {
		grid-template-columns: 26.5vw 1fr;
		gap: .7vw 4.4vw;
		margin-bottom: 4.4vw !important;
	}

	.post-card .post-image {
		grid-column: 1/2;
		grid-row: 1/3;
	}

	.post-card .post-meta {
		display: block;
		text-align: left;
		grid-column: 2/3;
		grid-row: 1/2;
	}

	.post-card .post-meta .post-date {
		display: none;
	}

	.post-card .post-content {
		grid-column: 2/3;
		grid-row: 2/3;
		justify-content: flex-end;
		gap: .7vw;
	}

	.post-card .post-content .post-date {
		display: block;
	}

	.post-card .post-link span {
		display: block;
		width: calc(100% - 2.9vw);
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.post .post-category-link:hover {
		opacity: 1;
		transform: scale(1.1);
	}

	.post .post-image-link:hover img {
		transform: scale(1.1);
	}

}

@media (min-width: 1280px) {
	.post .post-category-link {
		height: 3.7vw;
		font-size: var(--font-size-12);
	}

	.post .bg-small .post-category-link,
	.post .bg-big.cityandculture .post-category-link,
	.post .bg-big.opinionofthesamegeneration .post-category-link {
		width: 7.3vw;
	}

	.post .bg-big .post-category-link {
		width: 11vw;
	}

	.post .post-title {
		font-size: var(--font-size-20);
	}

	.post .post-cast {
		grid-template-columns: 14.6vw 1fr;
		gap: .7vw;
	}

	.post .post-link .icon {
		width: 1.5vw;
		height: 1.5vw;
	}

	.post .post-cast li {
		padding: .4vw 0;
	}

	.post-card .post-date {
		font-size: var(--font-size-12);
	}
}

/* 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;
}

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

/*--------------------------------------------------------------
# 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;
}

/* Header */

body.maetoato-home-surface .site-header .custom-logo-link {
    width: 16rem;
    margin: .5rem 0 0 3rem;
    animation: fade-in .5s ease-in-out both;
}

body.maetoato-home-surface .menu-toggle {
    animation: fade-in .5s ease-in-out both;
}

@media (min-width: 960px) {
    body.maetoato-home-surface .site-header {
        position: absolute;
        top: 7vh;
        left: 7.3vw;
        padding: 0;
        z-index: 10;
    }

    body.maetoato-home-surface .site-header .custom-logo-link {
        width: 17.6vw;
        margin: 0;
    }
}

/* First view */
.first-view {
    animation: fade-in .5s ease-in-out both;
}

.first-view-inr {
    position: relative;
    padding-top: 3rem;
}

.first-view .post {
    position: relative;
    margin: 0;
}

.first-view .post-image {
    margin-right: 1.5rem;
}

.first-view .post-image-link {
    border-left: none;
    border-radius: 0 2rem 2rem 0;
}

.first-view .post-content {
    position: relative;
    background: var(--bg);
    padding: 4rem 2.5rem 2.5rem;
    margin: -2.2rem 0 0 4.4rem;
    border: 2px solid var(--orange);
    border-right: none;
    border-radius: 2rem 0 0 2rem;
    z-index: 1;
}

.first-view .post-cast {
    margin-bottom: 1rem;
}

.first-view .post-date {
    font-size: 1.2rem;
}

.first-view .post-cast .swiper-wrapper {
    height: auto;
}

.first-view .post-categories {
    position: absolute;
    top: -2.5rem;
    left: -2.2rem;
}

.first-view .post-pagination {
    position: absolute;
    top: 1rem;
    right: 3.5rem;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    z-index: 1;
}

.first-view .post-pagination .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    background: var(--orange);
    margin: 0;
    box-shadow: 0 0 0 1px var(--orange) inset;
    opacity: 1;
}

.first-view .post-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.first-view .swiper-slide-active .post-image {
    animation: slide-in-right .3s ease-in-out both;
}

.first-view .swiper-slide-active .post-content {
    animation: slide-in-left .3s ease-in-out both .15s;
}

.first-view .anime-title-fv {
    position: relative;
    display: block;
}

.first-view .swiper-slide-active .anime-title-fv::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background-color: var(--bg);
    animation: typing 1s ease-in-out both .5s;
}

.first-view .copyright {
    font-size: 1rem;
    text-align: center;
    letter-spacing: .02em;
    color: #fff;
    margin: 2rem 0 9rem;
}

.first-view .scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--orange);
    margin: 0 auto;
}

.first-view .scroll::before {
    content: "Scroll";
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
}

@media (max-width: 959px) {
    .first-view .post-title .icon,
    .first-view .category-area {
        display: none;
    }
}

@media (min-width: 960px) {
    .first-view {
        display: grid;
        place-content: center;
        height: 100vh;
        padding: 0;
        margin: 0 auto;
    }

    .first-view-inr {
        width: 88vw;
        padding: 0;
    }

    .first-view .post {
        padding-bottom: 1.5vw;
    }

    .first-view .swiper-slide-active .post-image {
        animation-duration: .5s;
    }

    .first-view .swiper-slide-active .post-content {
        animation-duration: .5s;
    }

    .first-view .post-image {
        width: 62vw;
        margin: 0 0 0 13vw;

    }

    .first-view .post-image-link {
        border: 2px solid var(--orange);
        border-radius: 2rem;
    }

    .first-view .post-content {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 57vw;
        border: 2px solid var(--orange);
        border-radius: 2rem;
        padding: 2.2vw 2.9vw;
        margin: -1.6vw 0 0 3.2vw;
    }

    .first-view .post-content-inr {
        display: grid;
        grid-template-columns: 1fr;
        gap: .7vw;
    }

    .first-view .post-pagination {
        flex-direction: column;
        width: .7vw;
        top: 1.5vw;
        right: auto;
        left: calc(75vw + 1.5vw);
    }

    .first-view .post-title {
        font-size: 2.8rem;
        line-height: 1.4;
        order: 2;
    }

    .first-view .post-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .7vw;
    }

    .first-view .post-link span {
        flex: 1;
    }

    .first-view .post-link .icon {
        width: 2rem;
        color: var(--orange);
    }

    .first-view .post-cast {
        order: 3;
        margin: 0;
    }

    .first-view .post-cast li {
        padding: 0 0 .4vw;
    }

    .first-view .post-date {
        order: 1;
    }

    .first-view .post-categories {
        top: -1.9vw;
        left: -1.6vw;
    }

    .first-view .category-area {
        position: absolute;
        top: calc(50% - 5.9vw);
        left: 6vw;
        z-index: 1;
        animation: slide-in-right .5s ease-in-out both 3s;
    }

    .first-view .category-area .title {
        font-size: 1.2rem;
        color: var(--orange);
        padding-left: 2.5rem;
    }

    .first-view .category-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .first-view .category-nav li {
        margin: -2px 0;
    }

    .first-view .category-nav .is-right {
        text-align: right;
    }

    .first-view .category-nav li:first-child {
        animation: slide-in-right .5s ease-in-out both 3.5s;
    }

    .first-view .category-nav li:nth-child(2) {
        animation: slide-in-right .5s ease-in-out both 3.6s;
    }

    .first-view .category-nav li:nth-child(3) {
        animation: slide-in-right .5s ease-in-out both 3.7s;
    }

    .first-view .category-nav li:nth-child(4) {
        animation: slide-in-right .5s ease-in-out both 3.8s;
    }

    .first-view .category-nav li:nth-child(5) {
        animation: slide-in-right .5s ease-in-out both 3.9s;
    }

    .first-view .category-area .button {
        animation: slide-in-right .5s ease-in-out both 4s;
    }

    .first-view .category-nav a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        font-size: 2.2rem;
        line-height: 1;
        border: 2px solid var(--orange);
        height: 3.7vw;
        padding: 0 2.2vw;
        border-radius: 1.95vw;
    }

    .first-view .category-nav .en a {
        width: 100%;
        font-size: 2.4rem;
        letter-spacing: 0;
    }

    .first-view .category-nav a:hover {
        opacity: 1;
        box-shadow: 0 0 0 1px var(--orange) inset;
    }

    .first-view .category-nav li:not(.en) a span {
        margin-top: .1em;
    }

    .first-view .copyright {
        position: absolute;
        bottom: 2.2vw;
        left: 2.9vw;
        text-align: left;
        color: var(--blue);
        margin: 0;
    }

    .first-view .scroll {
        display: none;
    }

    .first-view .post-link .icon {
        width: 1.5vw;
    }

    .first-view .post-pagination .swiper-pagination-bullet {
        width: .7vw;
        height: .7vw;
    }
}

@media (min-width: 1280px) {
    .first-view .category-area .title {
        font-size: var(--font-size-12);
    }

    .first-view .category-nav a {
        font-size: var(--font-size-22);

    }

    .first-view .category-nav .en a {
        font-size: var(--font-size-24);
    }

    .first-view .post-title {
        font-size: var(--font-size-28);
    }

    .first-view .post-date {
        font-size: var(--font-size-12);
    }

}

/* Popularity Post & Recently Post */
.home-post {
    position: relative;
}

.pop-post {
    color: #fff;
}

.home-post-before {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: -1;
}
.recent-post .home-post-before {
    z-index: unset;
}

.pop-post .home-post-before {
    top: -24.5rem;
    background: var(--blue);
}

.recent-post .home-post-before {
    top: 0;
    max-height: 45.8rem;
}

.home-post-before::before,
.recent-post .home-post-before::after {
    position: absolute;
    top: -5rem;
    content: "";
    display: block;
    width: 100%;
    height: 45.8rem;
    background-image: url(home/home-bg.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
}

.pop-post .home-post-before::before {
    top: -5rem;
    background-position: -21.8rem 0;
}

.recent-post .home-post-before::before {
    top: -4rem;
    background-position: -60rem 0;
    background-size: auto 45.8rem;
    height: 4rem;

}
.recent-post .home-post-before::after {
    top: 0;
    background-position: -60rem -4rem;
    opacity: .2;
}

.home-post-content {
    padding: 10rem 0 2rem;
}

.home-post-title {
    margin-bottom: 4rem;
}

.home-post-title .title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 4rem;
}

.home-post-title .title small {
    font-size: 1.4rem;
}

.home-post .more-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.pop-post .more-link {
    color: #fff;
}

.home-post .more-link .icon {
    color: var(--orange);
}

.pop-post .post-link {
    color: #fff;
}

.pop-post .post-cast li {
    background: var(--line2);
}

.home-post .post-large .post-content {
    position: relative;
    top: -2.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    z-index: 1;
}

.home-post .post-large .post-image-link {
    border-radius: 2rem;
}

.home-post .post-large .post-categories {
    margin-left: -1rem;
}

.home-post-list + .ranklet-credit {
    margin: 0 0 4rem !important;
}

@media (min-width: 960px) {
    .home-post-before {
        top: 4.4vw !important;
    }

    .home-post-before::before {
        top: -4.4vw;
        height: 38vw;
    }

    .pop-post .home-post-before::before {
        background-position: 0 0;
    }

    .recent-post .home-post-before {
        display: none;
    }

    .home-post-before::before {
        top: -4.4vw;
        height: 38vw;
        background-position: 0 0;
    }

    .home-post-content {
        position: relative;
        padding: 32vw 0 4.4vw;
    }

    .recent-post .home-post-content {
        padding-top: 7.3vw;
    }

    .home-post-title {
        position: absolute;
        top: 32vw;
        left: 0;
    }

    .recent-post .home-post-title {
        top: 7.3vw;
    }

    .home-post .post-large {
        width: 62vw;
        margin: 0 0 5.9vw auto;
    }

    .home-post .post-large .post-content {
        gap: 1.1vw;
    }

    .home-post .post-large .post-categories {
        margin-left: -1.5vw;
    }

    .pop-post .post-cast li {
        background: var(--line2-vw);
    }
}


@media (min-width: 1280px) {
    .home-post .post-large .post-content {
        top: -1.9vw;
    }

    .home-post-title .title {
        gap: 1.5vw;
        font-size: var(--font-size-40);
        margin: 0 0 2.9vw;
    }

    .home-post-title .title small {
        font-size: var(--font-size-14);
    }

    .home-post .more-link {
        font-size: var(--font-size-12);
        gap: .7vw;
    }

    .home-post .more-link .icon {
        width: 1.5vw;
        height: 1.5vw;
    }
}

/* Information */
.home-information {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
    margin-bottom: 5rem;
}

.home-information .title {
    display: grid;
    place-content: center;
    aspect-ratio: 1;
    margin: 0;
}

.home-information .text {
    padding: 4rem 2.5rem;
}

.home-information .description {
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0;
    margin: 0 0 4rem;
}

.home-information .is-orange .title {
    background-image: radial-gradient(circle at center, transparent 70.71%, var(--orange) 70.71%);
}

.home-information .is-blue .title {
    background-image: radial-gradient(circle at center, transparent 70.71%, var(--blue) 70.71%);
}

.home-information .is-orange .description {
    color: var(--orange);
}

.home-information .button {
    font-size: 1.4rem;
    font-weight: 500;
    padding-top: 1px;
}


@media (min-width: 960px) {
    .home-information {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .home-information-box {
        display: grid;
        place-content: center;
        aspect-ratio: 1;
        padding: 0 6.4vw;
    }

    .home-information-box.is-orange {
        background-image: radial-gradient(circle at center, transparent 70.71%, var(--orange) 70.71%);
    }

    .home-information-box.is-blue {
        background-image: radial-gradient(circle at center, transparent 70.71%, var(--blue) 70.71%);
    }

    .home-information .title {
        display: block;
        aspect-ratio: unset;
        background: none !important;
    }

    .home-information .is-orange .svg-title {
        width: 32.9vw;
    }

    .home-information .is-blue .svg-title {
        width: 12.2vw;
    }

    .home-information .text {
        padding: 2.9vw 0 0;
    }

    .home-information .description {
        margin: 0 0 4.4vw;
    }
}

@media (min-width: 1280px) {

    .home-information .description,
    .home-information .button {
        font-size: var(--font-size-14);
    }

}

/* Category navigation */

.home-category-nav {
    padding-left: 2.5rem;
    margin-bottom: 10rem;
}

.home-category-nav .category-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-category-nav .category-nav li {
    background: var(--line);
    padding: 1rem 2.5rem 1.5rem 0;
    margin: 0 0 1rem;
}

.home-category-nav .category-nav a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
}

.home-category-nav .category-nav a::before {
    content: attr(title);
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--font-en);
    font-size: 1.2rem;
    line-height: 1;
}

.home-category-nav .category-nav .thumbnail {
    width: 10.5rem;
    height: 7rem;
    border-radius: .5rem;
    overflow: hidden;
    border: 2px solid var(--orange);
    box-sizing: border-box;
}

.home-category-nav .category-nav .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-nav .category-nav .title {
    width: 100%;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    order: 4;
}

.home-category-nav .category-nav .en .title {
    font-size: 5rem;
    font-weight: 300;
    line-height: .8;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.home-category-nav .category-nav .count {
    flex: 1;
    font-size: 1.2rem;
    text-align: right;
}

.home-category-nav .category-nav .icon {
    width: 2rem;
    color: var(--orange);
}

@media (min-width: 960px) {
    .home-category-nav {
        padding: 0 5.9vw;
        margin: 8.8vw 0;
    }

    .home-category-nav .category-nav li {
        background: var(--line-vw);
        padding: 1.5vw 0;
        margin: 0 0 1.1vw;
    }

    .home-category-nav .category-nav a {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: .7vw;
    }

    .home-category-nav .category-nav a:hover img {
        transform: scale(1.1);
    }

    .home-category-nav .category-nav .title {
        width: auto;
        font-size: 7rem;
        line-height: 1;
        order: 2;
        margin: 0 1.5vw;
    }

    .home-category-nav .category-nav .en .title {
        font-size: 8.5rem;
    }

    .home-category-nav .category-nav a::before {
        position: unset;
        font-size: 1.4rem;
        line-height: 1.5vw;
        order: 3;
        flex: 1;
    }

    .home-category-nav .category-nav .count {
        font-size: 1.2rem;
        order: 4;
    }

    .home-category-nav .category-nav .icon {
        width: 1.5vw;
        order: 5;
    }
}

@media (min-width: 1280px) {
    .home-category-nav .category-nav .thumbnail {
        width: 7.7vw;
        height: 5.1vw;
    }

    .home-category-nav .category-nav .title {
        font-size: var(--font-size-70)
    }

    .home-category-nav .category-nav .en .title {
        font-size: var(--font-size-85)
    }

    .home-category-nav .category-nav a::before {
        font-size: var(--font-size-14);
    }

    .home-category-nav .category-nav .count {
        font-size: var(--font-size-12);
    }
}

/* About */
.home-about {
    display: grid;
    place-content: center;
    aspect-ratio: 1;
    background: url(home/home-about-bg-sp.jpg) 0 0 / 100% auto no-repeat;
    padding: 0 4.5rem;
}

.home-about-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    color: var(--orange);
    text-align: center;
}

.home-about-link::after {
    content: attr(data-en);
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--orange);
}

.home-about-link img {
    width: 100%;
}

@media (min-width: 960px) {
    .home-about {
        aspect-ratio: unset;
        height: 27.8vw;
        background-image: url(home/home-about-bg-pc.jpg);
    }

    .home-about-link {
        gap: 2.2vw;
        width: 29.3vw;
    }

    .home-about-link::after {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .home-about-link::after {
        font-size: var(--font-size-30);
    }
}

/* V3 markup bridge: retain the v5 composition while leaving WordPress data and V3 controls intact. */
body.maetoato-home-surface .first-view{position:relative;isolation:isolate}
/* Keep the legacy blue band on the section itself; the old negative-z pseudo
   layer was hidden by the V3 page stacking context on the live theme. */
body.maetoato-home-surface .pop-post{position:relative;isolation:isolate;background:var(--blue);color:#fff}
body.maetoato-home-surface .pop-post .home-post-before{z-index:0;pointer-events:none}
body.maetoato-home-surface .pop-post .home-post-content{position:relative;z-index:1}
body.maetoato-home-surface #page.site{min-height:100vh;background:transparent;color:var(--blue)}
body.maetoato-home-surface #masthead.site-header{position:absolute;inset:0 auto auto 0;z-index:30;width:100%;height:0;padding:0;background:transparent;border:0;pointer-events:none}
body.maetoato-home-surface #masthead .site-header-inr{position:static;display:block;width:100%;min-height:0;margin:0;padding:0}
body.maetoato-home-surface #masthead .site-branding{position:absolute;top:7vh;left:7.3vw;display:block;margin:0;pointer-events:auto}
body.maetoato-home-surface #masthead .custom-logo-link{display:block;width:17.6vw;min-width:10rem;max-width:none;margin:0}
body.maetoato-home-surface #masthead .site-header-title{display:none}
body.maetoato-home-surface #masthead .menu-toggle{position:absolute;top:2.9vw;right:4vw;z-index:35;display:grid;place-items:center;width:clamp(3rem,3.75vw,4rem);height:clamp(3rem,3.75vw,4rem);padding:0;border:1px solid var(--orange);border-radius:50%;background:var(--bg);color:var(--blue);pointer-events:auto}
body.maetoato-home-surface #main-content.maetoato-home{position:relative;display:block;width:100%;max-width:none;min-height:0;margin:0;padding:0;background:transparent;color:var(--blue)}
/* Front-door seam: same in-flow geometry as the live Platform front-door.html (it pushes the first view down). */
body.maetoato-home-surface .codex-seam{clear:both;position:relative;z-index:32;width:min(860px,100%);max-width:860px;margin:24px auto 22px;padding:0 14px;box-sizing:border-box}
body.maetoato-home-surface .codex-seam__link{position:relative;display:block;overflow:hidden;min-height:104px;padding:17px 22px;border:1px solid rgba(20,31,180,.16);border-radius:24px 10px 22px 12px;background:linear-gradient(132deg,rgba(255,245,230,.94) 0%,rgba(255,245,230,.82) 49%,rgba(20,31,180,.08) 49.2%,rgba(20,31,180,.2) 100%);color:#141fb4;text-decoration:none;box-shadow:0 18px 44px rgba(20,31,180,.11),inset 0 1px 0 rgba(255,255,255,.8);box-sizing:border-box}
body.maetoato-home-surface .codex-seam__eyebrow,body.maetoato-home-surface .codex-seam__signal,body.maetoato-home-surface .codex-seam__destination{position:relative;z-index:1;display:block;text-align:left;margin-left:0}
body.maetoato-home-surface .codex-seam__eyebrow{color:#17647b;font-size:8px;font-weight:800;letter-spacing:.26em}
body.maetoato-home-surface .codex-seam__copy{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-top:6px;color:#141fb4;font-size:clamp(16px,1.8vw,21px);font-weight:700;letter-spacing:.02em;line-height:1.3}
body.maetoato-home-surface .codex-seam__copy i,body.maetoato-home-surface .codex-seam__arrow{color:#e8703a;font-style:normal;font-weight:inherit}
body.maetoato-home-surface .codex-seam__signal{margin-top:7px;color:#706b66;font:800 7px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.14em}
body.maetoato-home-surface .codex-seam__destination{display:flex;align-items:center;gap:7px;margin-top:6px;color:#141fb4;font-size:9px;font-weight:900;letter-spacing:.16em}
body.maetoato-home-surface .codex-seam__destination i{color:#e8703a;font-style:normal;font-size:13px}
body.maetoato-home-surface .codex-seam__chronicle{position:relative;z-index:1;display:inline-block;margin-top:9px;color:#141fb4;font-size:10px;font-weight:800;text-decoration:none;border-bottom:1px solid currentColor}
@media(min-width:960px){body.maetoato-home-surface .first-view-scroll{display:none}
/* v5 positioned the category column and copyright against the viewport (the first view itself was not positioned).
   Keep that geometry: #main-content (top = 24px after the seam margin collapses) becomes the containing block,
   and the category column stays above the slides that follow it in the DOM. */
body.maetoato-home-surface .first-view{position:static}
body.maetoato-home-surface .first-view .category-area{top:calc(50vh - 5.9vw - 24px);z-index:3}
body.maetoato-home-surface .first-view .first-view-copyright{top:calc(100vh - 2.2vw - 24px);bottom:auto;transform:translateY(-100%)}}
body.maetoato-home-surface .home-post .page-width{width:calc(100% - 11.8vw);max-width:196rem;padding-right:0;padding-left:0;margin-right:auto;margin-left:auto}
body.maetoato-home-surface .popularity-content{display:contents}
body.maetoato-home-surface .first-view-track{position:relative;display:grid;overflow:hidden;scroll-snap-type:none;touch-action:pan-y}
body.maetoato-home-surface .first-view-slide{grid-area:1/1;opacity:0;pointer-events:none;transition:opacity .65s ease;z-index:0}
body.maetoato-home-surface .first-view-slide.is-active{opacity:1;pointer-events:auto;z-index:1}
body.maetoato-home-surface .first-view .post-image-link img{display:block;width:100%;height:100%;object-fit:cover}
body.maetoato-home-surface .first-view-controls{position:absolute;top:1rem;right:3.5rem;bottom:auto;left:auto;z-index:2;display:flex;justify-content:flex-end;gap:1rem}
body.maetoato-home-surface .first-view-controls button{display:grid;place-items:center;width:1rem;height:1rem;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
body.maetoato-home-surface .first-view-controls button::before{width:1rem;height:1rem;border:1px solid var(--orange);border-radius:50%;background:var(--orange);content:""}
body.maetoato-home-surface .first-view-controls button[aria-current=true]::before{background:#fff}
body.maetoato-home-surface .first-view-copyright{position:absolute;bottom:2.2vw;left:2.9vw;margin:0;color:var(--blue);font-size:1rem}
body.maetoato-home-surface .home-about-background{display:none}
body.maetoato-home-surface .home-footer-marquee{display:block;position:relative;width:100%;overflow:hidden;margin:0;padding:0}
body.maetoato-home-surface .home-footer-marquee__row{display:block;position:relative;width:100%;overflow:hidden;white-space:nowrap}
body.maetoato-home-surface .home-footer-marquee__row ul{display:flex;align-items:center;gap:1.5rem;width:max-content;min-width:max-content;list-style:none;margin:0;padding:1rem 1.2rem}
body.maetoato-home-surface .home-footer-marquee__row li{font-size:1.2rem}
body.maetoato-home-surface .home-footer-marquee__row.is-orange{background:var(--orange);color:#fff}
body.maetoato-home-surface .home-footer-marquee__row.is-blue{background:var(--blue);color:#fff}
body.maetoato-home-surface .home-footer-marquee__track{display:flex;width:max-content;animation:maetoato-v5-ticker 34s linear infinite}
body.maetoato-home-surface .home-footer-marquee__row.is-blue .home-footer-marquee__track{animation-direction:reverse}
body.maetoato-home-surface .home-footer-marquee:hover .home-footer-marquee__track,body.maetoato-home-surface .home-footer-marquee:focus-within .home-footer-marquee__track{animation-play-state:paused}
@keyframes maetoato-v5-ticker{to{transform:translateX(-50%)}}
body.maetoato-home-surface #colophon .footer-brand-line{padding-bottom:5vw;color:var(--blue);font:2.1vw/1.25 var(--font-en);text-align:center}
body.maetoato-home-surface .home-post-title .title{display:grid;gap:2rem;font-size:4rem;font-weight:400;line-height:1;letter-spacing:0}
body.maetoato-home-surface .home-post-title .title small{font-size:1.4rem}
body.maetoato-home-surface .first-view .post-title{font-size:2.8rem;line-height:1.4;letter-spacing:0}
body.maetoato-home-surface .home-post .post-title{font-size:2rem;letter-spacing:0;margin:0}
@media(min-width:960px){body.maetoato-home-surface #masthead .site-branding{top:7vh;left:7.3vw}body.maetoato-home-surface .home-about{background-image:url("home/home-about-bg-pc.jpg")}body.maetoato-home-surface .first-view-controls{top:1.5vw;right:auto;left:calc(75vw + 1.5vw);flex-direction:column;gap:.2vw}body.maetoato-home-surface .first-view-controls button{width:1.6vw;height:1.6vw}body.maetoato-home-surface .first-view-controls button::before{width:.7vw;height:.7vw}body.maetoato-home-surface .home-post-title .title{gap:1.5vw;font-size:var(--font-size-40)}body.maetoato-home-surface .home-post-title .title small{font-size:var(--font-size-14)}body.maetoato-home-surface .first-view .post-title{font-size:var(--font-size-28)}body.maetoato-home-surface .home-post .post-title{font-size:var(--font-size-20)}}
@media(max-width:959px){body.maetoato-home-surface #masthead .site-branding{top:1rem;left:3rem}body.maetoato-home-surface #masthead .custom-logo-link{width:16rem;min-width:0;max-width:none}body.maetoato-home-surface #masthead .menu-toggle{top:1rem;right:1rem;width:4rem;height:4rem}body.maetoato-home-surface .first-view-controls{top:1rem;right:3.5rem;left:auto;flex-direction:row;gap:1rem}body.maetoato-home-surface .first-view-controls button{width:1rem;height:1rem}body.maetoato-home-surface .first-view-controls button::before{width:1rem;height:1rem}body.maetoato-home-surface .home-about{background-image:url("home/home-about-bg-sp.jpg");background-size:100% auto}body.maetoato-home-surface #colophon .footer-brand-line{font-size:1.6rem}}
@media(max-width:680px){body.maetoato-home-surface .codex-seam{width:100%;max-width:none;margin:10px auto 18px;padding:0 10px}body.maetoato-home-surface .codex-seam__link{min-height:118px;padding:18px 16px;border-radius:22px 8px 20px 10px}body.maetoato-home-surface .codex-seam__copy{gap:6px;font-size:17px}}
@media(prefers-reduced-motion:reduce){body.maetoato-home-surface .first-view-slide,body.maetoato-home-surface .home-footer-marquee__track{transition:none!important;animation:none!important}}

/* V3's global heading/link colors are intentionally overridden on the v5 blue band. */
body.maetoato-home-surface .pop-post,
body.maetoato-home-surface .pop-post .home-post-title .title,
body.maetoato-home-surface .pop-post .home-post-title .title small,
body.maetoato-home-surface .pop-post .post-title,
body.maetoato-home-surface .pop-post .post-title a,
body.maetoato-home-surface .pop-post .post-date,
body.maetoato-home-surface .pop-post .post-categories,
body.maetoato-home-surface .pop-post .post-cast,
body.maetoato-home-surface .pop-post .more-link{color:#fff}
body.maetoato-home-surface .pop-post .post-categories a,
body.maetoato-home-surface .pop-post .post-cast a{color:#fff}
body.maetoato-home-surface .home-post .post-image img{display:block;width:100%;height:100%;object-fit:cover}

/* v5 desktop geometry: the blue band (.home-post-before) began 4.4vw below the popularity section top,
   leaving the diagonal copy on the cream ground first. Keep the band on the section (stacking fix) but start it there. */
@media (min-width: 960px) {
    body.maetoato-home-surface .pop-post {
        background: linear-gradient(to bottom, transparent 4.4vw, var(--blue) 4.4vw);
    }
}

/* v5 footer marquee colours: the global V3 link colour must not repaint the tag row blue-on-blue. */

/* v5 rotated several cast names with a Swiper ticker; without Swiper show the first name/title only (no stacked list). */
body.maetoato-home-surface .post-cast .is-ticker .swiper-slide:not(:first-child) { display: none; }

/* Mobile: the header (logo + menu button) stays absolute on the home surface, so start the in-flow seam below it. */
@media (max-width: 959px) {
    body.maetoato-home-surface main .codex-seam { margin-top: 11.5rem; }
}
