/*!
Theme Name: aodm
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: aodm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

aodm 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
	- Top
	- Footer
# 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: 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
--------------------------------------------- */

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:0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

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

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

/* Header
--------------------------------------------- */

.header-logo__anchor {
	position: relative;
}

.header-logo__anchor picture {
	width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
  .header-logo__anchor picture {
	  width: 100%;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
}
}



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


ul.globalnavi-navs {
    margin: 0 0 0 24px;
}

@media screen and (max-width: 767px) {

ul.globalnavi-navs {
  margin: 0;
}

}

li.globalnavi-navs__item {
	font-size: 2.3rem;
	font-family: "Noto Serif", serif;
    margin-bottom: 30px;
    padding-bottom: 15px;
}




/* News
--------------------------------------------- */

/*************************************************

news-categorys

*************************************************/
.news-categorys-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: min(96.5rem, 100% - 4rem);
  margin: 0 auto 5rem;
}

.news-categorys {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}
@media screen and (max-width: 767px) {
  .news-categorys {
    gap: 1.4rem 0;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.news-categorys__item {
  position: relative;
}
@media screen and (max-width: 767px) {
  .news-categorys__item {
    width: calc(50% - 0.7rem);
  }
}

.news-categorys__anchor {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 100%;
  padding: 1rem 1rem 1rem 2rem;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background-color: #BEBED2;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .news-categorys__anchor {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 376px) {
  .news-categorys__anchor {
    font-size: 1.3rem;
  }
}
.is-active .news-categorys__anchor {
  background-color: #1E4EB8;
}

.news-categorys__text {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  padding-right: 2rem;
}
@media screen and (max-width: 767px) {
  .news-categorys__text {
    width: 100%;
  }
}
.news-categorys__text::before {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  content: "";
  width: 0.6rem;
  height: 100%;
  background: url(../images/common/arw_01.svg) no-repeat center center/100% auto;
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

/*************************************************

news-index

*************************************************/
/* news-index-midtitle01
---------------------------------------*/
.news-index-midtitle01 {
  margin: 0 auto 4rem;
  color: #1E4EB8;
  font-size: 4.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .news-index-midtitle01 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }
}
.news-index-midtitle01 img {
  display: block;
  margin: 0 auto;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .news-index-midtitle01 img {
    max-width: 13rem;
  }
}

/* news-index-list
---------------------------------------*/
.news-index-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3rem;
  width: min(96.5rem, 100% - 4rem);
  margin: 0 auto 5rem;
}
@media screen and (max-width: 767px) {
  .news-index-list {
    margin-bottom: 3rem;
  }
}

.news-index-list__item {
  width: 100%;
}

.news-index-list__anchor {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 10rem;
  color: #333333;
  line-height: 1.3;
  text-decoration: none;
  border: #1E4EB8 solid 0.1rem;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .news-index-list__anchor {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-bottom: 3.5rem;
  }
}
.news-index-list__anchor .in-arw {
  overflow: hidden;
  position: absolute;
  top: 50%;
  right: 4.8rem;
  display: block;
  width: 1.3rem;
  height: 1.9rem;
  line-height: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: right 0.3s;
  transition: right 0.3s;
}
@media screen and (max-width: 767px) {
  .news-index-list__anchor .in-arw {
    top: 1rem;
    right: 1rem;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@media (any-hover: hover) {
  .news-index-list__anchor:hover .in-arw {
    right: 3.3rem;
  }
}
@media screen and (any-hover: hover) and (max-width: 767px) {
  .news-index-list__anchor:hover .in-arw {
    right: 1rem;
  }
}
.news-index-list__anchor .in-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 16rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  background-color: #1E4EB8;
}
@media screen and (max-width: 767px) {
  .news-index-list__anchor .in-date {
    width: 11rem;
    height: 3rem;
    margin-bottom: 1rem;
    font-size: 1.7rem;
  }
}
.news-index-list__anchor .in-cat {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 15rem;
  padding: 0 2rem;
  color: #1E4EB8;
  font-size: 1.7rem;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .news-index-list__anchor .in-cat {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0 2rem;
    font-size: 1.6rem;
  }
}
.news-index-list__anchor .in-title {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: calc(100% - 16rem - 15rem);
  margin: 1rem 0;
  padding: 1.5rem 8rem 1.5rem 4rem;
  -ms-flex-item-align: center;
      align-self: center;
  font-size: 1.7rem;
  font-weight: 600;
  border-left: #1E4EB8 solid 0.2rem;
}
@media screen and (max-width: 767px) {
  .news-index-list__anchor .in-title {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    font-size: 1.6rem;
    border: none;
  }
}

@-webkit-keyframes transformLeftCenter {
  50% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes transformLeftCenter {
  50% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes transformCenterRight {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}
@keyframes transformCenterRight {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}
/* news-pagenavigation
---------------------------------------*/
.news-pagenavigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 4rem 2rem;
}

.news-pagenavigation-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}

.news-pagenavigation__anchor {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  color: #1E4EB8;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  background-color: #fff;
  border: #1E4EB8 solid 0.2rem;
}
@media screen and (max-width: 767px) {
  .news-pagenavigation__anchor {
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
  }
}
.news-pagenavigation__anchor.is-active {
  color: #fff;
  background-color: #1E4EB8;
}

/*************************************************

news-detail

*************************************************/
.news-detail {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: min(96.5rem, 100% - 4rem);
  margin: 10dvw auto 8dvw;
  padding: 5rem 4.8rem;
  border: #1E4EB8 solid 0.2rem;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .news-detail {
    padding: 2.5rem 1.4rem;
    border-width: 0.1rem;
  }
}

.news-detail-date {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.news-detail-title {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  color: #1E4EB8;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.65;
}

.news-detail-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #1E4EB8;
}

.news-detail-title::before {
content: "";
    width: 6px;
    height: 6px;
    background: #1E4EB8;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(50%) rotate(45deg);
}


@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 1.6rem;
  }
}

.news-detail-body {
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .news-detail-body {
    font-size: 1.5rem;
  }
}
.news-detail-body strong {
  color: #1E4EB8;
}
.news-detail-body a {
  color: #1E4EB8;
  font-weight: 600;
}
.news-detail-body * {
  font-weight: 600;
  max-width: 100% !important;
}
.news-detail-body::after {
  display: block;
  clear: both;
  height: 0;
  content: "";
}
.news-detail-body h3, .news-detail-body h4, .news-detail-body h5, .news-detail-body h6 {
  margin-top: 30px;
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .news-detail-body h3, .news-detail-body h4, .news-detail-body h5, .news-detail-body h6 {
    margin-top: 20px;
    font-size: 16px;
  }
}
.news-detail-body h1:first-child, .news-detail-body h2:first-child, .news-detail-body h3:first-child, .news-detail-body h4:first-child, .news-detail-body h5:first-child, .news-detail-body h6:first-child {
  margin-top: 0;
}
.news-detail-body > * {
  margin-bottom: 2em;
}
.news-detail-body li {
  position: relative;
  margin-bottom: 0.3em;
}
.news-detail-body ol {
  padding-left: 1.5em;
}
.news-detail-body ol li {
  list-style: decimal outside;
}
.news-detail-body ul {
  padding-left: 1.7em;
}
.news-detail-body ul li {
  list-style: disc outside;
}
.news-detail-body strong {
  font-weight: 700;
}
.news-detail-body em {
  font-style: italic;
}
.news-detail-body blockquote {
  display: block;
  margin: 1.5rem 0;
  padding: 2rem;
  background: #f5f5f5;
}
.news-detail-body blockquote p {
  margin-bottom: 0;
}
.news-detail-body *:last-child {
  margin-bottom: 0;
}
.news-detail-body .sns_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media screen and (max-width: 767px) {
  .news-detail-body .sns_container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

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

.post,
.page {
	margin: 0;
}

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

/* Top
--------------------------------------------- */
/*************************************************

container

*************************************************/
.container {
  margin-bottom: 0;
}

.footer-copyright {
  color: #fff;
  background-color: #133180;
}

@media screen and (min-width: 768px) {
  .globalnavi-bnr {
    display: none;
  }
}

/*************************************************

top-mv

*************************************************/
.top-mv {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .top-mv {
    display: block;
  }
}

.top-mv__left {
  position: relative;
  overflow: hidden;
  width: 60dvw;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .top-mv__left {
    width: 100%;
    z-index: 1;
  }
}
.top-mv__left img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  opacity: 0;
  width: 100%;
  -webkit-transition: opacity 0.8s 0.3s, -webkit-transform 0.8s 0.3s;
  transition: opacity 0.8s 0.3s, -webkit-transform 0.8s 0.3s;
  transition: transform 0.8s 0.3s, opacity 0.8s 0.3s;
  transition: transform 0.8s 0.3s, opacity 0.8s 0.3s, -webkit-transform 0.8s 0.3s;
}
.is-view .top-mv__left img {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}

.top-mv__right {
  position: relative;
  width: 40dvw;
  padding-top: 3.4305317324%;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .top-mv__right {
    width: 100%;
    margin-top: -20dvw;
    padding: 0 0 7rem;
    z-index: 2;
  }
}
.top-mv__right img {
  width: 100%;
}

.top-mv__right-img01 {
  width: 86.0236220472%;
  margin: 0 auto;
  opacity: 0;
  -webkit-transform: translateY(2rem);
          transform: translateY(2rem);
  -webkit-transition: opacity 0.5s 0.9s, -webkit-transform 0.5s 0.9s;
  transition: opacity 0.5s 0.9s, -webkit-transform 0.5s 0.9s;
  transition: transform 0.5s 0.9s, opacity 0.5s 0.9s;
  transition: transform 0.5s 0.9s, opacity 0.5s 0.9s, -webkit-transform 0.5s 0.9s;
}
.is-view .top-mv__right-img01 {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .top-mv__right-img01 {
    width: 80.5333333333%;
  }
}

.top-mv__right-img02 {
  width: 80.5118110236%;
  margin: 5.905511811% auto 0;
  opacity: 0;
  -webkit-transform: translateY(2rem);
          transform: translateY(2rem);
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: transform 0.5s 1s, opacity 0.5s 1s;
  transition: transform 0.5s 1s, opacity 0.5s 1s, -webkit-transform 0.5s 1s;
}
.is-view .top-mv__right-img02 {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .top-mv__right-img02 {
    width: 84%;
    margin-top: 2.6666666667%;
  }
}

.top-mv__right-bnr {
  width: 80.5118110236%;
  margin: 5.905511811% auto 0;
  display: block;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .top-mv__right-bnr {
    width: 66.6666666667%;
    margin-top: 5.3333333333%;
  }
}
.top-mv__right-bnr img {
  display: block;
  width: 100%;
  opacity: 0;
  -webkit-transform: translateY(2rem);
          transform: translateY(2rem);
  -webkit-transition: opacity 0.5s 1.1s, -webkit-transform 0.5s 1.1s;
  transition: opacity 0.5s 1.1s, -webkit-transform 0.5s 1.1s;
  transition: transform 0.5s 1.1s, opacity 0.5s 1.1s;
  transition: transform 0.5s 1.1s, opacity 0.5s 1.1s, -webkit-transform 0.5s 1.1s;
}
.is-view .top-mv__right-bnr img {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

.top-mv__right h3 {
  width: 80%;
    text-align: center;
    font-size: 2.6rem;
    font-family: "Noto Serif", serif;
    margin:4dvh auto 0;
    display: block;
    color: #1e4eb9;
}
.top-mv__right h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.line {
  flex: 1;              /* ←これが重要（余白を全部使う） */
  height: 1px;
  background: #1e4eb9;
  position: relative;
}

/* 左ダイヤ */
.line:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #1e4eb9;
  transform: translateY(-50%) rotate(45deg);
}

/* 右ダイヤ */
.line:last-child::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #1e4eb9;
  transform: translateY(-50%) rotate(45deg);
}

.top-mv__right a.top_but {
    display: block;
    width: 80%;
    background: #4160e1;
    padding: 30px;
    margin: 5dvw auto 6dvw;
    font-size: clamp(18px, 2vw, 24px);
    font-family: 'Noto Serif';
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 767px) {
  .top-mv__right a.top_but {
    margin: 10dvw auto 20dvw;
  }
}

.top-mv__right a.top_but:hover {
  opacity: .7;
}

.top_sns_box {
 width: 60%;
 max-width: 69dvw;
 margin: 4dvw auto 0;
}

@media screen and (max-width: 767px) {
  .top_sns_box {
    margin: 10dvw auto 0;
  }
}

.top_sns_box a {
  display: block;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease;
}

.top_sns_box a:hover {
opacity: .7;
}

/*************************************************

top-bg-b

*************************************************/
.top-bg-b {
  position: relative;
  margin-bottom: 15dvw;
  padding: 6rem 2rem 6rem;
  background-color: #133180;
}

.txt_under,.txt_under2,.txt_under3 {
  position: relative;
}

.synopsis_txt {
  text-align: center;
}

.txt_under,
.txt_under2,
.txt_under3 {
  position: relative;
  display: inline-block;
}

.txt_under::after,
.txt_under2::after,
.txt_under3::after {
  content: "";
  position: absolute;
  width: 0;
  height: 50%;
  background: #282828a1;
  z-index: -1;
  transition: width 1s ease;
}

.txt_under::after {
  top: 0;
  left: -5px;
}

.txt_under2::after {
  top: 5px;
  left: 5px;
}

.txt_under3::after {
  bottom: 0;
  right: -10px;
}

.txt_under.is-animated::after,
.txt_under2.is-animated::after,
.txt_under3.is-animated::after {
  width: 100%;
}



@media screen and (max-width: 767px) {
  .top-bg-b {
    margin-bottom: 20dvw;
    padding: 4rem 2rem 5rem;
  }
}
.top-bg-b::before, .top-bg-b::after {
  position: absolute;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 2332/250;
  z-index: 2;
}
@media screen and (min-width: 1366px) {
  .top-bg-b::before, .top-bg-b::after {
    height: 12.5rem;
  }
}
@media screen and (max-width: 767px) {
  .top-bg-b::before, .top-bg-b::after {
    height: 4.5rem;
  }
}

.top-mv + .top-bg-b {
  margin-bottom: 0;
}

.top-bg-b::before {
  bottom: calc(100% - 1px);
  background: url(../images/top/information_deco01.png) no-repeat center center/100% 100%;
}
.top-bg-b::after {
  top: calc(100% - 1px);
  background: url(../images/top/information_deco02.png) no-repeat center center/100% 100%;
}

.top-bg-b-inner {
  max-width: 96.5rem;
  margin: 0 auto;
}

.top-bg-b-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-bg-b-title {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

.top-bg-b-title__en {
  position: relative;
  line-height: 0;
}

.top-bg-b-title__en .bg-b-txt {
	position: relative;
    display: block;
    z-index: 2;
    font-size: clamp(28px,3vw,40px);
	font-weight: 300;
    font-family: 'Noto Serif';
    color: #fff;
    bottom: 15px;
}

@media screen and (max-width: 992px) {
  .top-bg-b-title__en .bg-b-txt {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 992px) {
  .top-bg-b-title__en .in-text img {
    width: auto;
    height: 4.2rem;
  }
}
.top-bg-b-title__en {
  position: relative;
  display: inline-block;
}

.top-bg-b-title__en .in-border {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.5rem;
  display: block;
  z-index: 1;
  line-height: 0;
  overflow: hidden;
}

@media screen and (max-width: 992px) {
  .top-bg-b-title__en .in-border {
    bottom: -0.5rem;
  }
}

.top-bg-b-title__en .in-border img {
  width: 270px;
  max-width: none;
  height: auto;
  display: block;
}

@media screen and (max-width: 992px) {
  .top-bg-b-title__en .in-border img {
    width: 160px;
  }
}

/* マスク本体 */
.top-bg-b-title__en .in-border::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #143180; /* 背景色に合わせて変更 */
  transform: translateX(0);
  z-index: 2;
  pointer-events: none;
}

/* 発火後 */
.top-bg-b-title__en .in-border.is-visible::before {
  animation: borderMaskReveal 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.top-bg-b-title__en .in-border.is-visible::after {
  opacity: 1;
  animation: penMove 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes borderMaskReveal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes penMove {
  0% {
    left: 0;
    opacity: 1;
  }
  85% {
    left: 100%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
.top-bg-b-title__ja {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  .top-bg-b-title__ja {
    font-size: 1.3rem;
  }
}

.top-bg-b-window {
  overflow: auto;
  max-height: 37rem;
  margin-top: 6dvw;
  background-color: #fff;
  border-radius: 1.5rem;
}
@media screen and (max-width: 767px) {
  .top-bg-b-window {
    max-height: 43rem;
    border-radius: 1rem;
  }
}

ul.top-bg-b-list {
  margin: 0;

}

.top-bg-b-list__item {
  position: relative;
  padding-bottom: 5px;
}

.top-bg-b-list__item::before{
  content: "";
  width: 6px;
  height: 6px;
  background: #1E4EB8;
  position: absolute;
  left: 0;
  bottom: 0; /* 下線と同じラインに揃える */
  transform: translateY(50%) rotate(45deg);
}

.top-bg-b-list__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1E4EB8;
}
/* 
.top-bg-b-list__item + .top-bg-b-list__item {
  border-top: #969696 dashed 0.1rem;
} */

.top-bg-b-window__inner {
  padding: 3rem;
}
@media screen and (max-width: 767px) {
  .top-bg-b-window__inner {
    padding: 1rem 2rem 2rem;
  }
}

.top-bg-b-list__acnhor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 2rem 0;
  color: #333333;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .top-bg-b-list__acnhor {
    display: block;
    font-size: 1.5rem;
  }
}
.top-bg-b-list__acnhor .in-date {
  width: 10.5rem;
  color: #1E4EB8;
   font-family: 'Noto Serif';;
  font-weight: 300;
}
@media screen and (max-width: 767px) {
  .top-bg-b-list__acnhor .in-date {
    width: 100%;
  }
}
.top-bg-b-list__acnhor .in-title {
  width: calc(100% - 10.5rem);
  font-family: 'Noto Serif';;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .top-bg-b-list__acnhor .in-title {
    width: 100%;
  }
}

.top-bg-b-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-top: 2rem;
}

.top-bg-b-more__anchor {
  overflow: hidden;
  position: relative;
  display: block;
  padding-bottom: 1.1rem;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .top-bg-b-more__anchor {
    max-width: 13.5rem;
  }
}
.top-bg-b-more__anchor::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 0.1rem;
  background-color: #FFDC00;
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
  -webkit-transform-origin: left top;
          transform-origin: left top;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
@media (any-hover: hover) {
  .top-bg-b-more__anchor:hover::before {
    -webkit-transform: scale(0, 1);
            transform: scale(0, 1);
    -webkit-transform-origin: right top;
            transform-origin: right top;
  }
}

.top-bg-b p{
    font-size: clamp(16px, 1.5vw, 20px);
    font-family: "Noto Serif", serif;
    color: #fff;
    margin: 6rem 0 0 0;
}

/*************************************************

Trailer

*************************************************/



.trailer_cont {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.trailer_cont iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/*************************************************

STREAM ON

*************************************************/


.stream_box {
width: 100%;
    max-width: 790px;
    margin: 0 auto;
}

.stream_box a {
    display: block;
    width: 80%;
    max-width: 500px;
    background: #4160e1;
    padding: 5px;
    margin: 0 auto;
    font-size: 2.4rem;
    font-family: 'Noto Serif';
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.stream_box a:hover {
  opacity: .7;
}

.stream_box span {
    width: 100%;
    display: block;
    margin: 7dvw auto 0;
    text-align: center;
}

/*************************************************

CHARACTER

*************************************************/

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");
section.characters-select-box {
  padding: 0;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  section.characters-select-box {
    padding: 1rem 0rem;
  }
}
section.characters-select-box .select-inner {
  width: min(96.5rem, 100% - 4rem);
  margin: 0 auto;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
section.characters-select-box .select-inner.close {
  opacity: 0;
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
}
section.characters-select-box .select-inner * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
section.characters-select-box .select-inner ul.selector-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@media screen and (max-width: 767px) {

section.characters-select-box .select-inner ul.selector-list {
display: block;
}
}

section.characters-select-box .select-inner ul.selector-list li {
  width: 12.5%;
  padding: 0.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  section.characters-select-box .select-inner ul.selector-list li {
    width: 33.3333333333%;
    padding: 0.5rem;
  }
}
section.characters-select-box .select-inner ul.selector-list li button {
  overflow: hidden;
  border: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
section.characters-select-box .select-inner ul.selector-list li button.current {
  opacity: 0.7;
}
section.characters-select-box .select-inner ul.selector-list li button:hover {
  opacity: 0.7;
}
section.characters-detail-box .char-inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 17vw;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  transition-timing-function: ease-in-out;
}
section.characters-detail-box .char-inner.close {
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner {
    margin-bottom: 0;
  }
}
section.characters-detail-box .char-inner .body-discription {
  height: 40vw;
  background: url(../images/characters/char-bg.png) no-repeat center center/100% auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription.item-0-19 h3 {
    font-size: 10vw !important;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription.item-1-1 h3 {
    font-size: 10vw !important;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription {
    background: url(../images/characters/char-bg-sp.png) no-repeat center center/100% auto;
    background-size: contain;
    margin-bottom: 2rem;
    height: 100%;
  }
}
section.characters-detail-box .char-inner .body-discription .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: min(96.5rem, 100% - 4rem);
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .row {
    height: 245vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col {
  width: 100%;
  position: relative;
  z-index: 1;
  max-width: 490px;
}

@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 100%;
    max-width: 100%;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-name {
  margin-bottom: 2rem;
  border-bottom: solid 1px #ffffff;
  padding: 2rem 0px;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name {
    margin-bottom: 2rem;
    border-bottom: none;
    padding: 4rem 0px;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 {
  color: #fff;
  font-size: 5.75rem;
  font-weight: 900;
  line-height: 1.1em;
}
@media screen and (max-width: 1050px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 {
    font-size: 4vw;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 {
    font-size: 13vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 span {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  display: block;
  font-size: 2rem;
  color: #bebed2;
  line-height: 1.8em;
  margin-top: 0.6rem;
}
@media screen and (max-width: 1050px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 span {
    font-size: 1.5vw;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h3 span {
    font-size: 4vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h4 {
  font-size: 2.875rem;
  color: #fff;
  font-weight: 600;
  margin-top: 1rem;
}
@media screen and (max-width: 1050px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h4 {
    font-size: 2.5vw;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h4 {
    font-size: 6vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h4 span {
  font-size: 2.5rem;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-name h4 span {
    font-size: 5vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-disc {
  max-width: 490px;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-disc {
    max-width: 100%;
    margin-bottom: 13vw;
  }
}
section.characters-detail-box .char-inner .body-discription .chara-col .chara-disc p {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.8em;
  font-weight: 500;
}
@media screen and (max-width: 1050px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-disc p {
    font-size: 1.6vw;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .chara-col .chara-disc p {
    font-size: 3.8vw;
    line-height: 1.6em;
  }
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .disc-row .img-col {
    height: 133vw;
    overflow: hidden;
    position: absolute;
    right: 0;
    left: -58%;
    top: auto;
    bottom: 20%;
    margin: auto;
    opacity: 0.5;
    width: 280%;
    border-bottom: solid 1px #ffffff;
  }
}
section.characters-detail-box .char-inner .body-discription .disc-row .img-col img {
  position: absolute;
  right: 0;
  left: 24%;
  top: -15%;
  margin: auto;
  opacity: 0.5;
  width: 60%;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .body-discription .disc-row .img-col img {
    position: static;
  }
}
section.characters-detail-box .char-inner .sub-image {
  position: absolute;
  z-index: 2;
  top: -12%;
  right: 7%;
  width: 32%;
}
@media screen and (max-width: 767px) {
  section.characters-detail-box .char-inner .sub-image {
    position: absolute;
    z-index: 2;
    top: auto;
    bottom: 52vw;
    right: 0;
    width: 72%;
  }
}
section.characters-detail-box .char-inner .sub-image {
  pointer-events: none;
}
section.characters-detail-box .char-inner .sub-image img {
  -webkit-filter: drop-shadow(7px 7px 0px rgba(190, 190, 210, 0.5019607843));
          filter: drop-shadow(7px 7px 0px rgba(190, 190, 210, 0.5019607843));
}

section.characters-category-box {
  width: min(96.5rem, 100% - 4rem);
  margin: 5rem auto 0rem;
  padding: 0rem 2rem 4.5rem;
}
@media screen and (max-width: 992px) {
  section.characters-category-box {
    padding: 0rem 2rem 2rem;
  }
}
section.characters-category-box .char-category-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 992px) {
  section.characters-category-box .char-category-inner {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: center;
  }
}

section.characters-category-box .char-category-inner .char-category-item {
  width: 22%;
  position: relative;
  height: 45px;
  background-color: #bebed2;
  padding:5px 0px;
  margin: 1rem;
  border: solid 1px;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.2em;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 1;
}

/* section.characters-category-box .char-category-inner .char-category-item {
  width: 22.2222222222%;
  padding: 0.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
} */
@media screen and (max-width: 992px) {
  section.characters-category-box .char-category-inner .char-category-item {
    width: 45%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 519px) {
    section.characters-category-box .char-category-inner .char-category-item {
  width: 90%;
    }

}

section.characters-category-box .char-category-inner .char-category-item:visited {
  color: #fff;
}
section.characters-category-box .char-category-inner .char-category-item:hover {
  color: #fff;
  opacity: 0.7;
}
section.characters-category-box .char-category-inner .char-category-item:has(input[type=radio]:checked) {
  background-color: #1E4EB8;
  color: #fff;
}

.characters-select-box {
  position: relative;
  min-height: 300px;
}

.characters-select-box .select-inner button {
	background-color: none;
	padding: 0;
}

.select-inner {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.select-inner.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

/* Modal */

.char-category-label {
	width: 100%;
	position: absolute;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.char-modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 99999;
}

.char-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.char-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.char-modal__content {
  position: absolute;
  flex-direction: row;
    top: 50%;
    left: 57%;
    transform: translate(-50%, -50%);
    background: url(../images/characters/Character_popup.png) no-repeat bottom;
    padding: 24px;
    width: 65%;
    max-width: 880px;
}

.modal_txt h3 {
font-size: clamp(24px,3vw,32px);
font-family: "Noto Serif", serif;
color: #fff;
}

.modal_txt h4 {
  position: relative;
font-size: clamp(20px,2vw,26px);
font-family: "Noto Serif", serif;
color: #fff;
padding-bottom: 2rem;
}

.modal_txt h4::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(50%) rotate(45deg);
}

.modal_txt h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}

.modal_txt p {
font-size: clamp(14px,2vw,18px);
font-family: "Noto Serif", serif;
margin: 2rem auto;
}

.modal_txt {
  width: 75%;
  float: left;
}

.modal_img_pc {
  width: 25%;
  float: right;
  display: block;
}

.modal_img_sp {
  display: none;
}

@media screen and (max-width: 992px) {

.char-modal__content {
    left: 50%;
    width: 85%;
}

.modal_txt {
  width: 100%;
}

.modal_img_pc {
  display: none;
}

.modal_img_sp {
  width: 36%;
  float: right;
  display: block;
}

}

.modal_img img {
}

/* slick */
.slick-prev:before,
.slick-next:before {
  font-size: 30px;
  color: #fff;
}

.slick-prev {
  left: -35px;
}

.slick-next {
  right: -25px;
}


/*************************************************

footer

*************************************************/
.footer-bnrs {
  position: relative;
  background-color: transparent;
}
@media screen and (min-width: 768px) {
  .footer-bnrs {
    background: url(../images/common/banner_bg.png) no-repeat right bottom/61rem auto;
  }
}

/*************************************************

top-bg-w

*************************************************/
.top-bg-w-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-bg-w-title {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

.top-bg-w-title__en {
  position: relative;
  line-height: 0;
}

.top-bg-w-title__en .bg-w-txt {
  position: relative;
  display: block;
  z-index: 2;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  font-family: 'Noto Serif';
  color: #1E4EB9;
  bottom: 15px;
}

@media screen and (max-width: 992px) {
  .top-bg-w-title__en img {
    width: auto;
    height: 4.2rem;
  }
}

.top-bg-w-title__en .in-border {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.5rem;
  display: block;
  z-index: 1;
  line-height: 0;
  overflow: hidden;
}

@media screen and (max-width: 992px) {
  .top-bg-w-title__en .in-border {
    bottom: -0.5rem;
  }
}

.top-bg-w-title__en .in-border img {
  width: 270px;
  max-width: none;
  height: auto;
  display: block;
}

@media screen and (max-width: 992px) {
  .top-bg-w-title__en .in-border img {
    width: 160px;
  }
}

/* マスク */
.top-bg-w-title__en .in-border::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fafcfd; /* 背景色に合わせて変更 */
  transform: translateX(0);
  z-index: 2;
  pointer-events: none;
}

/* 発火後 */
.top-bg-w-title__en .in-border.is-visible::before {
  animation: borderMaskReveal 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.top-bg-w-title__en .in-border.is-visible::after {
  opacity: 1;
  animation: penMove 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes borderMaskReveal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes penMove {
  0% {
    left: 0;
    opacity: 1;
  }
  85% {
    left: 100%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.top-bg-w-title__ja {
  color: #1E4EB8;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  .top-bg-w-title__ja {
    font-size: 1.3rem;
  }
}

.top-bg-w-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
  margin-top: 7.5rem;
}

.top-bg-w-btn a {
  max-width: 300px;
  transition: opacity 0.3s ease;

}

.top-bg-w-btn a:hover {
  opacity: .7;
}

.top-bg-w-btn__acnhor {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: min(100% - 5rem, 29rem);
  min-height: 6.7rem;
  text-decoration: none;
  text-align: center;
  background-color: #000;
  border: #1E4EB8 solid 0.2rem;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  border-radius: 20rem;
}
@media screen and (max-width: 767px) {
  .top-bg-w-btn__acnhor {
    min-height: 6rem;
  }
}
.top-bg-w-btn__acnhor .in-icon {
  position: absolute;
  top: 50%;
  left: 1.3rem;
  display: block;
  width: 3.4rem;
  line-height: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .top-bg-w-btn__acnhor .in-icon {
    width: 3.2rem;
  }
}
.top-bg-w-btn__acnhor .in-text {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
}
.top-bg-w-btn__acnhor .in-arw {
  position: absolute;
  top: 0;
  right: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.6rem;
  height: 100%;
  line-height: 0;
  -webkit-transition: right 0.3s;
  transition: right 0.3s;
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}
.top-bg-w-btn__acnhor .in-arw img {
  width: 100%;
}
@media (any-hover: hover) {
  .top-bg-w-btn__acnhor:hover {
    background-color: #1E4EB8;
  }
  .top-bg-w-btn__acnhor:hover .in-arw {
    right: 1.5rem;
  }
}

.top-bg-w {
margin-bottom: 15dvw;
}

@media screen and (max-width: 767px) {

.top-bg-w {
  margin-bottom: 20dvw;
}

}

.top-bg-w .staff_wrap {
  width: 100%;
  margin: 4rem auto;
}

.top-bg-w .staff_box {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 992px) {
  .top-bg-w .staff_box {
 flex-direction: column;
}
}

.top-bg-w .staff_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 2dvw 6dvw;
}

.top-bg-w .staff_item p:nth-child(odd) {
font-size: clamp(14px, 2vw, 18px);
font-family: "Noto Serif", serif;
color: #4169e1;
margin: 0;
}

.top-bg-w .staff_item p:nth-child(even) {
font-size: clamp(18px, 2vw, 22px);
font-family: "Noto Serif", serif;
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;
}
