/*!
Theme Name: tenri-rugby.top-news li .attachment-post-thumbnail
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: tenri-rugby
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.

tenri-rugby 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;
	font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

/**
 * 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: 'Noto Sans JP', sans-serif;
	font-size: 1em;
}

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

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}
a[href]:not([href="#"]):hover {
  /* 好きな hover スタイルをここに */
  opacity:.5;
}
a[href="#"] {
  cursor: default;        /* 矢印カーソルにして気付かせる */
}
/**
 * 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:'Noto Sans JP', sans-serif;
	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: 'Noto Sans JP', 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: 'Noto Sans JP', sans-serif;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family:'Noto Sans JP', sans-serif;
}

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

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

big {
	font-size: 125%;
}

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

hr {
	background-color: transparent;
	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;
}
li::marker {
    font-size: .6em;
}
dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}
figure {
	margin: 1em 0;
}

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

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

a:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}
a:hover img {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}


/* 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,
select{
	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%;
}
iframe {

}

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

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

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

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

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

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

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

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

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

.main-navigation li {
	position: relative;
}

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

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

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

	.menu-toggle {
		display: none;
	}

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

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

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

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

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

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

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


#wpadminbar+#page .site-header {
    padding-top: 32px;
}



/*HEADER*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  /* 必要に応じて背景色なども設定 */
  background-color: #fff;
}
.header-inner {
    position: relative;
	width: 100%;
	z-index: -1;
}
/* スクロールしている場合に付与されるクラス */
.site-header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


.site-branding img {
    max-width: 272px;
}

.site-branding {
    height: 46px;
    padding: 0 40px;
}
.site-branding-sub {
    display: flex;
    gap: 54px;
    position: absolute;
    right: 40px;
    top: 0;
}
.clubteam, .sns {
    width: fit-content;
}
.clubteam .wp-block-group {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 24px;
}
.sns .wp-block-group {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 24px;
}

#primary-menu {
    height: 32px;
    background: #222;
    display: flex;
    justify-content: end;
    gap: 40px;
    align-items: center;
	padding-right: 40px;
}
.main-navigation li {
    position: relative;
    height: 100%;
    align-content: center;
}
ul#primary-menu a {
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: 0.68px;
	align-content: center;
	height: 100%;
	width: max-content;
}
ul#primary-menu .sub-menu a {
    font-size: 15px;
}
.home header.entry-header {
    display: none;
}
.home .entry-content {
    margin-top: 0;
}
.sub-menu li:first-child {
    margin-top: 1px;
}

ul.sub-menu {
    display: flex;
    flex-wrap: wrap;
	box-shadow:none !important;
}
ul.sub-menu li {
    margin-bottom: 1px;
    height: 32px;
    background: #222;
	width: 100%;
	transition: background 0.3s ease;
}
ul.sub-menu a {
    height: 100% !important;
    display: block;
    padding: 5px 16px 5px 32px;
    width: max-content !important;
}
/* 初期状態：サブメニューは上にずらし、透明にして非表示 */
.menu-item .sub-menu {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
    position: absolute;
	transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* hover または .focus クラスが付いた場合：サブメニューが下に落ちて表示される */
#primary-menu .menu-item:hover .sub-menu,
#primary-menu .menu-item.toggled .sub-menu{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
	    position: absolute;
}

.site-branding-sub .wp-block-group {
    display: flex
;
    gap: 24px;
}
	main#primary {
    padding-top: 78px;
}
button#mobile-menu-toggle {
    display: none;
}
.menu-item:hover .sub-menu, .menu-item.toggled .sub-menu {
	  opacity: 1;
  transform: translateY(0);
  visibility: visible;
    position: absolute;
}

.main-navigation .sub-menu li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 18px;
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: #fff;
}
.news-page nav.breadcrumbs-nav, .news-page nav.breadcrumbs-nav a {
    color: #fff;
}
/* メディアクエリ：モバイル時に表示 */
@media screen and (max-width: 768px) {
	.main-navigation .sub-menu li::before {
    width: 0;
}
	#wpadminbar+#page .site-header {
    padding-top: 46px;
}
	button#mobile-menu-toggle {
    display: block;
		position: absolute;
        right: 0;
        top: 0;
		padding: 0;
        height: 52px;
		opacity:0;
}
	.menu-item:hover .sub-menu,
.menu-item.toggled .sub-menu{
	    position: initial !important;
}
	main#primary {
    padding-top: 52px !important;
}
/* ハンバーガーアイコン */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.hamburger-icon {
  display: block;
  width: 30px;
  height: 2px;
  background: #333;
  position: relative;
  transition: background 0.3s ease;
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: #333;
  left: 0;
  transition: transform 0.3s ease;
}
.hamburger-icon::before {
  top: -8px;
}
.hamburger-icon::after {
  top: 8px;
}

/* ハンバーガーメニューのトグルボタンの基本スタイル */
#mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

/* ハンバーガーアイコン（通常は三本線） */
.hamburger-icon {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #333;
  position: relative;
  transition: all 0.3s ease;
	        transform: translateY(-5px);
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}
.hamburger-icon::before {
  top: -8px;
}
.hamburger-icon::after {
  top: 8px;
}

/* メニューが開いているときは、ボタンに active クラスを付与し×アイコンに変化 */
#mobile-menu-toggle.active .hamburger-icon {
  background-color: transparent;
}
#mobile-menu-toggle.active .hamburger-icon::before {
  transform: rotate(45deg) translate(6.5px, 5.5px)
}
#mobile-menu-toggle.active .hamburger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

  #mobile-menu-toggle {
            display: flex
;
        align-items: center;
  }
	header#masthead {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}
	.site-branding {
    padding: 0px;
		height:52px;
}
	#mobile-menu {
position: absolute;
        left: -16px;
        top: 52px;
        z-index: -1;
        width: calc(100% + 32px);
		max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
	/* open クラスが付いた場合: 表示状態 */
#mobile-menu.open {
  max-height: max-content; /* メニューの内容に合わせて調整 */
  opacity: 1;
}
	.site-branding-sub {
        position: initial;
    padding: 0 !important;
    height: 72px;
    align-items: center;
		border: solid 1px #f5f5f5;
    box-sizing: border-box;
		        background: #fff;
}

.site-branding-sub .wp-block-group {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
	        align-items: center;
    padding: 16px;
	height:72px;
}
		.site-branding-sub .wp-block-group figure {
    margin: 0;
}
#mobile-menu #primary-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    flex-direction: column;
	        height: auto;
	
}
	#mobile-menu #primary-menu li {
    width: 100%;
    height: 72px;
    background: #222222;
    padding: 24px 16px;
		border-bottom: solid 1px #fff;
}
	#mobile-menu #primary-menu li.toggled {
  height: fit-content;
		padding-bottom: 0;
}
		#mobile-menu #primary-menu li>a {
    position: relative;
    display: flex
;
    align-items: center;
			        width: 100%;
			opacity:1;
}
			#mobile-menu #primary-menu li.toggled>a {
			opacity:.5;
			cursor: pointer;
}
	#mobile-menu #primary-menu > li > a::before {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    position: absolute;
    right: 0;
    transform: translateX(-3%);
}
	#mobile-menu #primary-menu > li > a::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    position: absolute;
    transform: rotate(90deg);
    right: 0;
}
	#mobile-menu #primary-menu li.toggled > a::after{
  content: none !important;
}
.sub-menu {
    display: flex
;
    flex-direction: column;
	padding-top: 24px;
}
	#mobile-menu #primary-menu .sub-menu li {
    height: 40px;
    padding: 8px 24px 8px 8px;
    display: flex;
    align-items: center;
		border: none;
}
	#mobile-menu #primary-menu .sub-menu li a{
    font-family: "Noto Sans JP";
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 125%; /* 17.5px */
letter-spacing: 0.56px;
		padding: 0;
}	
	#mobile-menu #primary-menu .sub-menu li a::before {
        content: url(/wp-content/uploads/2025/03/arrow.svg);
        padding-right: 10px;
}
	
#mobile-menu #primary-menu .blank > a::before {
    content: url(/wp-content/uploads/2025/03/blank.svg);
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 19px;
}
	#mobile-menu #primary-menu .arrow > a::before {
        content: url(/wp-content/uploads/2025/03/arrow.svg);
        width: 0;
        height: 0;
        transform: none;
        right: 18px;
        top: 0;
    }
	
#mobile-menu #primary-menu > .arrow > a::after,
#mobile-menu #primary-menu > .blank > a::after{
    content: none;
}
	.site-branding-sub .wp-block-group:nth-child(2) {
    position: absolute;
    bottom: 0;
		left: 0;
    background: #fff;
    padding: 16px 56px;
	height:66px;
;
}
	.site-header:has(.open) {
    overflow: auto;
    height: 100%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
    }

}


footer.site-footer {
    width: 100%;
    background: #222;
	position:relative;
}
footer.site-footer::after {
    position: absolute;
    content: "";
    width: 200px;
    height: 340px;
    background: rgba(102, 102, 102, 0.30);
    right: 0;
    bottom: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.site-footer-inner {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 0 16px;
}

.footer-columns>ul {
    display: flex;
    justify-content: flex-start;
    gap: 35px;
	margin: 0;
	    flex-wrap: wrap;
	    padding: 0;

}


.footer-columns li a {
    color: #fff;
    text-decoration: none;
}

.footer-columns li {
    margin: 0;
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
    list-style: none;
}

.footer-columns li a {
    color: #fff;
    text-decoration: none;
}

.footer-columns .sub-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    position: initial !important;
    gap: 0;
	flex-direction: column;
}

.footer-columns .sub-menu a {
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 24.5px */
    letter-spacing: 0.56px;
    padding: 0;
    height: auto !important;!i;!;
}

.footer-columns .sub-menu li {
    height: auto;
    margin: 8px 0 0 0 !important;!i;!;
    list-style-type: disc;
	width: fit-content;
}

.footer-top {
    margin: 48px 0;
}

hr.footer-separator {border-bottom: solid 1px #666;margin: 0;}

ul.footer-links {
    margin: 16px 0 24px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 56px;
	flex-wrap: wrap;
}

ul.footer-links li {
    color: #fff;
}

ul.footer-links a {
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 24.5px */
    letter-spacing: 0.56px;
}

p.footer-copy {
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 21px */
    letter-spacing: 0.48px;
    margin: 0;
    color: #fff;
}
.footer-logo img {
    width: 100px;
}

.footer-logo {
    text-align: center;
}
.footer-gotop-btn::after {
    position: absolute;
    height: calc(32px / 2* tan(60deg));
    width: 32px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    z-index: 1;
    background: #d81f26;
    content: "";
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
}

.footer-gotop-btn {
    position: fixed;
    width: 64px;
    height: 64px;
    background: #fff;
    opacity: .8;
    right: 40px;
    bottom: 40px;
	z-index:999;
}




.top-news-wrapper {
    position: relative;
}
.top-news-wrapper:before {
    top: -60px;
    content: "";
    position: absolute;
    left: 0;
    width: 344px;
    height: 600px;
    background: rgba(102, 102, 102, 0.30);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.top-news-area {
        margin: 0;
    padding: 0;
    overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.top-news-area::-webkit-scrollbar{
  display: none;
}
.top-news {
    max-width: 100%;
    margin: 0 !important;
}
.top-news li {
    width: 340px !important;

    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
	flex-direction: column;
}

.top-news li .wp-block-latest-posts__featured-image {
    height: 280px;
    width: 100%;
}

.top-news li .wp-block-latest-posts__featured-image a img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.top-news li .wp-block-latest-posts__post-date {
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 24.5px */
    letter-spacing: 0.56px;
    display: block;
    height: fit-content;
}
.top-news li .attachment-post-thumbnail {
    height: 280px;
    position: relative;
	clip-path: polygon(50% 0%, 100% 0, 100% 60%, 100% 100%, 0 100%, 0 20%, 13% 1%);
	object-fit: cover;
}
.top-news li{
	position:relative;
}

.top-news li .wp-block-latest-posts__featured-image a {
    width: 100%;
    height: 280px;
}
.data-cat {
    display: flex;
    margin: 0;
    gap: 12px;
    justify-content: left;
    width: 100%;
    padding: 16px;
	    flex-wrap: nowrap !important;
	background: #fff;
}

.data-cat time {
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 24.5px */
    letter-spacing: 0.56px;
    color: #666;
    white-space: nowrap;
}

.data-cat .taxonomy-category a {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 22.75px */
    letter-spacing: 0.52px;
    color: #fff;
    text-decoration: none;
    padding: 2px 8px;
    margin: 0px 2px;
    background: #d81f26;
}

.data-cat .taxonomy-category {color: #fff;}

.data-cat .wp-block-column {
    display: contents;
}
.data-cat h2 a {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    color: #222;
}

.top-news h2 a {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    color: #222;
}

.top-news h2 {
    margin: 0;
    padding: 0 16px 32px;
	background:#fff;
}
.top-news ul {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1140px;
    gap: 60px;
}

.top-news figure {
    margin: 0;
}
.wp-block-spacer {
    margin: 0 auto;
}


.top-news-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 500px;
    width: 100%;
    background: #222;
    z-index: -1;
}

.sponsor-area p {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    letter-spacing: 0.72px;
}

.sponsor-area {
    max-width: 1144px;
}

.sponcors {
    position: relative;
}

.sponcors::before {
    position: absolute;
    top: 0;
    left:0;
    content: "";
    width: 200px;
    height: 348px;
    background: rgba(102, 102, 102, 0.30);
    clip-path:polygon(0 0, 100% 0, 0 100%)
}
.whats-container {
    position: relative;
}
.whats-container::before {
    position: absolute;
    top:0;
    left:0;
    content:"";
    width: 530px;
    height: 760px;
    background: rgba(102, 102, 102, 0.30);
    clip-path:polygon(0 0, 100% 0, 0 100%);
		z-index: -1;
}
   .page h1.entry-title {
    display: none;
}

.entry-content p {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
}
.entry-content h3 {
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 42px */
    letter-spacing: 0.96px;
}
mark.has-inline-color {
    background: linear-gradient(to bottom, transparent 0%, transparent 65%, rgb(216 31 38 / 30%) 65%, rgb(216 31 38 / 30%) 100%);
}
.box-shadow{
	box-shadow: 0px 0px 4px 0px rgba(102, 102, 102, 0.30);
}


nav.breadcrumbs-nav.bg-black, nav.breadcrumbs-nav.bg-black a {
    color: #fff;
}
header.entry-header {
    background: #222;
}

.entry-header-inner {
    margin: 56px auto;
    text-align: center;
	padding:0 0 56px;
}

h1.entry-title {
    font-size: 29px;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 50.75px */
    letter-spacing: 1.16px;
    color: #fff;
	margin:0;
}
.underbar {
    width: 112px;
    height: 1px;
    background: #fff;
    margin: 24px auto;
}

.entry-meta .posted-on a {
    text-decoration: none;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 24.5px */
    letter-spacing: 0.56px;
    color: #fff;
}
span.posted-by a {
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 22.75px */
    letter-spacing: 0.52px;
    background: #d81f26;
    color: #fff;
    text-decoration: none;
    padding: 2px 8px;
}


.entry-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.post-thumbnail {
    max-width: 800px;
    margin: 80px auto;
    padding: 16px;
    box-sizing: content-box;
}

.single .entry-content {
    max-width: 800px;
    padding: 0 16px;
    margin: 0 auto 24px;
    box-sizing: content-box;
}
.nav-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding: 32px 0;
	border-top: 1px solid #EFEFEF;
    max-width: 800px;
    margin: 0 auto;
}
.single-nav-previous a::before,
.single-nav-next a::before{
    content: "";
    background-color: #D81F26;);
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
    transform: skewX(-20deg);
    width: fit-content;
    min-width: 220px;
    height: 100%;
    min-height: 48px;
    border: solid 1px #D81F26;);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.single-nav-previous a,
.single-nav-next a{
    text-decoration: none;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 220px;
    height: 100%;
    min-height: 48px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-family: Inter;
    font-size: 17px;
    font-style: italic;
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.68px;
    display: flex;
    justify-content: center;
    align-items: center;
}


span.nav-subtitle-prev {
    align-self: center;
    padding: 7px 15px 0 0;
}
span.nav-subtitle-next {
    align-self: center;
    padding: 7px 0 0 15px;
}

.single-nav-previous a:hover::before,
.single-nav-next a:hover::before{
    background: #fff;
    border: solid 1px #d81f26;
}

.single-nav-previous a:hover,
.single-nav-next a:hover{
    color: #d81f26;
    opacity: 1;
}

span.nav-subtitle-next svg,
span.nav-subtitle-prev svg{
    stroke: #fff !important;
}

.single-nav-previous a:hover svg,
.single-nav-next a:hover svg{
    stroke: #d81f26 !important;
}

.single-nav-back a {
    font-size: 17px;
    font-style: italic;
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.68px;
    color: #222;
    text-decoration: none;
}
.single-nav-back a {
    font-size: 17px;
    font-style: italic;
    font-weight: 500;
    line-height: 175%; /* 29.75px */
    letter-spacing: 0.68px;
    color: #222;
    text-decoration: none;
}

.single-nav-back {align-content: center;}

.sns-share {
    display: flex;
    justify-content: end;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 32px;
	    padding: 0 16px;
    box-sizing: content-box;
}

.sns-share a {
    width: 32px;
    height: 32px;
}
.color-white h3.custom-heading3 span {
    color: #fff !important;!i;!;
}

.color-white h3.custom-heading3 span::before {
    background: #fff !important;!i;!;
}
.wp-block-jetpack-google-calendar {
    min-width: 343px !important;
}
.support-bgimg {
    background-size: contain !important;
    background-repeat: no-repeat;
}
.bg-triangle {
    background-image: url(https://tenrirugby.jp/wp-content/uploads/2025/04/pyramid.png);
    background-size: clamp(343px, 105%, 491px) 105%;
    background-repeat: no-repeat;
    background-position: clamp(45%, 40vw, 100%) 0px;
}
.support-table th {
    background: #666;
    color: #fff;
    border: solid 1px #222;
    width: 227px;
    height: 72px;
    padding: 8px 11px;
    font-size: 16px;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
}

.support-table tbody tr td:first-child {
    background: #efefef;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%; /* 28px */
    letter-spacing: 0.64px;
    width: 227px;
    height: 72px;
    padding: 8px 11px;
    align-items: center;
    text-align: center;
}

.support-table tbody tr td kbd {
    font-size: 20px;
}

.support-table::-webkit-scrollbar {
    height: 10px;
}

.support-table::-webkit-scrollbar-track {
    background: #666;
    border-radius: unset;
}

.support-table::-webkit-scrollbar-thumb {
    background: #fff;
}


.support-table th:first-child {
    background: transparent;
}

.support-table tbody td {
    background: #fff;
	text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    letter-spacing: 0.56px;
}
.support-table thead {
    border: solid 1px #222 !important;
}
.support-table table {
    margin: 0;
}

.support-app-bg {
    background-size: auto !important;
}
.form-area {
    background: #f5f5f5;
    padding: 32px 61px;
}
h2.form-title {
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    letter-spacing: 0.8px;
    background: #222;
    display: inline-block;
    padding: 4px 16px;
	margin:0;
	    overflow-wrap: break-word;
    word-break: auto-phrase;
}
.form-area .required {
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.48px;
    background: #d81f26;
    color: #fff;
    padding: 3px 5px;
    margin: 0 12px 0 0;
}
.form-area span.optional{
	font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.48px;
    background: #666;
    color: #fff;
    padding: 3px 5px;
    margin: 0 12px 0 0;
}
.form-area label {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    letter-spacing: 0.64px;
    color: #222;
}
.form-area input, .form-area textarea, .form-area select {
    margin: 8px 0 16px 0;
    background: #fff;
    border: none;
	    width: 100%;
    padding: 16px;
}


}
.form-area input[type="radio"]{
	margin:0;
}
.form-area p {
    margin: 0;
}

.field {
    margin: 16px 0 0 0;
}
.form-area span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
    padding: 0 0 32px;
}

.form-area span.wpcf7-form-control.wpcf7-radio label {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 16px 0 0;
    gap: 8px;
}

.form-area span.wpcf7-form-control.wpcf7-radio label input[type="radio"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #222;
}
.submit input.wpcf7-form-control.wpcf7-submit {
	color: #fff;
	display: block;
	text-decoration: none;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 330px !important;
	height: 100%;
	min-height: 48px;
	margin: 0 auto;
	align-content: center;
	text-align: center;
	font-size: 17px;
	font-style: italic;
	font-weight: 500;
	line-height: 175%;
	letter-spacing: 0.68px;
	background: transparent;
	border: none;
	padding: 0;
}

.submit p::before {
    content: "";
    background-color: #D81F26;
    position: absolute;
    bottom: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skewX(-23deg);
    width: fit-content;
    min-width: 330px;
    height: 100%;
    min-height: 48px;
    border: solid 1px  #D81F26;
    transition: background-color 0.3s ease, color 0.3s ease;
}



.submit p {
    display: inline-block;
    width: 100%;
    position: relative;
    height: 48px;
}
.submit p:hover::before {
    background-color: transparent;
    border: solid 1px #D81F26;
    opacity: 1;
}

.submit p:hover input {
    color: #d81f26 !important;
}
.form-area ul {
    margin: 0;
}
span.wpcf7-spinner {
    margin: 20px auto;
    display: flex
;
}
.wpcf7-response-output {
    font-family: "Noto Sans JP";
    font-weight: bold;
    text-align: center;
}
.post-password-required h1.entry-title {
    display: block;
    color: #d81f26;
    font-weight: bold;
    text-align: center;
}

.post-password-required header.entry-header {
    background: transparent;
    margin: 80px auto 32px;
}

.post-password-required .entry-content {
    padding: 0 16px 80px;
    text-align: center;
    width: clamp(375px, 100%, 425px);
    margin: 0 auto;
}

.post-password-required .entry-content label {
    color: #f5f5f5;
    position: relative;
    display: block;
    width: 100%;
}

.post-password-required .entry-content input[type="password"] {
    width: 100%;
    border: none;
    padding: 16px;
}

main#primary:has(.post-password-required) {
    background: #f5f5f5;
}

.post-password-required .entry-content p {
    margin: 0;
}

.post-password-required .entry-content input[type="submit"] {
    background: transparent;
    border: none;
    display: block;
    text-align: center;
    width: 240px;
    margin: 0 auto;
    color: #d81f26;
    padding: 50px 0 0;
	    z-index: 1;
    position: relative;
}

.post-password-required .entry-content label::before {
    content: "";
    background-color: transparent;
    position: absolute;
    bottom: calc(-36px - 40px);
    left: 50%;
    transform: translate(-50%, 0) skewX(-23deg);
    width: clamp(240px,100%,240px);
    height: 36px;
    border: solid 1px #D81F26;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.post-password-required .entry-content p#error-pwbox-517 {
    color: #d81f26;
    font-weight: bold;
}
a.wp-block-file__button.wp-element-button {
    padding: 5px 18px;
    font-weight: bold;
    background-color: #d81f26;
    font-size: 14px;
}

a.wp-block-file__button.wp-element-button:hover {
    background: #fff;
    border: solid 1px #D81F26;
    color: #D81F26;
    opacity: 1;
}
.xoo-wsc-basket {
    border-radius: unset;
    opacity: .8;
}
.bg-overlay{
    background-blend-mode: color;
}
.site-branding-sub figure {
    margin: 0;
    height: 46px;
    display: flex;
    align-items: center;
}
.wp-block-my-block-swiper-block .swiper-slide a {
    width: 100%;
}
.form-small {
    font-size: 14px;
}

.instagram-gallery-item__media-wrap {
    border-radius: 0 !important;
}

img.instagram-gallery-item__media {
    border-radius: 0 !important;
}

.instagram-gallery-item__wrap {
    border-radius: 0 !important;
}

.instagram-gallery-item {
    border-radius: 0 !important;
}

.instagram-gallery-item__icon--views {
    display: none;
}
.instagram-gallery-list[data-feed_layout=gallery]{
	justify-content:center;
}
.instagram-gallery-list[data-feed_layout=gallery] .instagram-gallery-item {
    width: 220px;
}
#instagram-gallery-feed-0 {
    margin: 0;
}

.instagram-gallery__actions {
    display: none;
}
	.sponsor-area img {
	object-fit:cover;
	width:216px;
	height:72px
}

a:visited{
	color:unset;
}
a.wp-block-file__button.wp-element-button:visited {
    color: #fff;
}
a.wp-block-file__button.wp-element-button:visited:hover {
    color: #d81f26;
}



/* style.css */

.page-banner {
  position: relative;
  width: 100%;
  height: 300px;
	overflow:hidden;
}

.page-banner__bg {
  position: relative;
  width: 100%;
  height: 300px;
	opacity:0;
  /* background は inline-style で設定 */
}

.page-banner__overlay {
  position: absolute;
  top: 0;
  height: 300px;
  width: 100%;
  background-image: url("https://tenrirugby.jp/wp-content/plugins/my-block/page-ttl/page-title.svg");
  background-repeat: no-repeat;
  background-size: contain;
	overflow: hidden !important;
	opacity:0;
}

.page-banner__title-en {
  position: absolute;
  top: 30%;
  left: 10%;
  transform: translate(0, -50%) !important;
  font-family: Inter;
  font-size: 56px;
  font-style: italic;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 4.24px;
  color: #fff;
}

.page-banner__title-jp {
  position: absolute;
  top: 53%;
  left: 10%;
  transform: translate(0, -50%) !important;
  font-family: "Noto Sans JP";
  font-size: 17px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 100% !important;
  letter-spacing: 0.88px !important;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .page-banner__overlay {
    height: 240px;
    width: 100%;
    /* 画像設定 */
    background-image: url("https://tenrirugby.jp/wp-content/plugins/my-block/page-ttl/page-title-mobile.svg") !important;
    /* 画像のサイズと繰り返し設定を追加 */
    background-size: cover; /* または contain */
    background-repeat: no-repeat;
    background-position: center;
    /* もし要素がspanなどのインライン要素なら以下も必要 */
    display: block; 
  }
	.page-banner__title-en {
		top:37%;
		left:3%;
font-size: 28px;
letter-spacing: 1.12px;
}

.page-banner__title-jp {
  top: 50%;
	left:3%;
  font-size: 13px;
  letter-spacing: 0.52px;
  color: #fff;
}
	.page-banner__bg {
    height: 240px;
}
}

.error404 figure.wp-block-image.aligncenter.size-full {
    display: flex;
    justify-content: center;
}