/*!
Theme Name: aria-core
Theme URI: http://underscores.me/
Author: Aria Intervention
Author URI: https://aria-intervention.live
Description: Custom core theme for the aria-intervention project.
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: aria-core
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.

aria-core 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%;
}

:root {
	--main-color: #171c61;
	--link-color: #00b2b3;
	--text-color: #1f2937;
  --gray-color: #cfcfcf;
  --red-color: #c9415b;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	color: var(--text-color);
}

/**
 * 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,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

@media (min-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }
}

h2.section-title-lite,
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}

h2.section-title-lite,
h3.wp-block-heading {
  position: relative;
  padding-left: 0.6rem;
  color: var(--text-color);
}

h2.section-title-lite::before,
h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  background: var(--main-color);
  top: 0.1em;
  bottom: 0.1em;
}

h2.section-title-lite::after {
  background: none;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

h6 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

h2::after {
    content: "";
    height: 3px;
    background-image: linear-gradient(to right, var(--main-color) 0, var(--main-color) 80px, var(--gray-color) 80px, var(--gray-color) 100%);
    position: relative;
    width: 100%;
    display: block;
}

h2.wp-block-heading.policy-title,
h2.wp-block-heading.experience-title {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

h2.wp-block-heading.policy-title::after,
h2.wp-block-heading.experience-title::after {
  content: "";
  flex: 1;
  border-top: 1px solid #ccc;
  margin-left: 12px;
  background: none;
}

h2.tournament-theme {
  color: var(--text-color);
  font-size: 1.4rem;
  margin: 0 0 2px;
}

h2.tournament-theme::after {
  background: none;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }

  h2.section-title-lite,
  h3 {
    font-size: 1.375rem;
  }

  h4 {
    font-size: 1.125rem;
  }
}

/* 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-top: 0.25em;
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

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

ul {
	list-style: disc;
}

ul.wp-block-list {
	margin: 0 0 1.5rem;
	padding: 0 0 0 1.7rem;
}

ol.wp-block-list {
	margin: 0 0 1.5em 0;
	padding-left: 30px;
}

.wp-block-separator {
	border: none;
	border-top: none;
}

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

.post-thumbnail {
	display: block;
	margin: 0 0 24px;
}

.post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

figure {
	margin: 1em 0;
}

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

.entry-content .wp-block-table table {
  border-collapse: collapse;
  color: var(--text-color);
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  border: 1px solid #dcdcdc;
  color: var(--text-color);
  padding: 12px 14px;
  vertical-align: top;
  line-height: 1.35;
}

.entry-content .wp-block-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

.entry-content .wp-block-table tbody tr:nth-child(even) {
  background: #fff;
}

.entry-content .wp-block-table tbody tr:hover {
  background: #f2f2f2;
}

/* 開催概要 テーブル
--------------------------------------------- */
.wp-block-table.outline_table table,
.wp-block-table.outline_table tbody,
.wp-block-table.outline_table tr,
.wp-block-table.outline_table td {
  display: block;
  width: 100%;
}

.wp-block-table.outline_table table {
  border-collapse: collapse;
}

.wp-block-table.outline_table tr {
  margin-bottom: 16px;
  border: 1px solid #d8d8d8;
}

.wp-block-table.outline_table td {
  box-sizing: border-box;
  padding: 0 16px 16px;
  border: 0;
  line-height: 1.4;
}

.wp-block-table.outline_table td:first-child {
  font-weight: bold;
  padding: 16px 16px 6px;
}

@media (min-width: 768px) {
  .wp-block-table.outline_table table {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .wp-block-table.outline_table tbody {
    display: table-row-group;
  }

  .wp-block-table.outline_table tr {
    display: table-row;
    margin-bottom: 0;
    border: 0;
  }

  .wp-block-table.outline_table td {
    display: table-cell;
    width: auto;
    padding: 20px 24px;
    border: 1px solid #d8d8d8;
    vertical-align: middle;
  }

  .wp-block-table.outline_table td:first-child {
    padding: 20px 24px;
  }

  .wp-block-table.outline_table td:first-child {
    width: 23%;
    border-bottom: 1px solid #d8d8d8;
  }
}

/* 組織テーブル（3列幅）
--------------------------------------------- */
p.organization-notes {
  font-size: 0.75rem;
  margin: 0;
  display: block;
}

.wp-block-table.organization_table {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #e5e7eb;
}

.wp-block-table.organization_table::after {
  content: "";
  position: sticky;
  right: 0;
  top: 0;
  float: right;
  width: 24px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.wp-block-table.organization_table::-webkit-scrollbar {
  height: 8px;
}

.wp-block-table.organization_table::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 999px;
}

.wp-block-table.organization_table::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.wp-block-table.organization_table table {
  min-width: 720px;
}

.wp-block-table.organization_table th:nth-child(1),
  .wp-block-table.organization_table td:nth-child(1) {
    width: 20%;
  }

.wp-block-table.organization_table th:nth-child(2),
.wp-block-table.organization_table td:nth-child(2),
.wp-block-table.organization_table th:nth-child(3),
.wp-block-table.organization_table td:nth-child(3) {
  width: 40%;
}

@media (min-width: 768px) {
  p.organization-notes {
    display: none;
  }

  .wp-block-table.organization_table {
    padding-bottom: 0;
  }

  .wp-block-table.organization_table::after {
    content: none;
  }

  .wp-block-table.organization_table table {
    min-width: 0;
    table-layout: fixed;
  }
}

/* 経験者向けテーブル（2列幅）
--------------------------------------------- */
.wp-block-table.experience-table table {
  table-layout: fixed;
}

.wp-block-table.experience-table th:nth-child(1),
.wp-block-table.experience-table td:nth-child(1) {
  width: 22%;
}

.wp-block-table.experience-table th:nth-child(2),
.wp-block-table.experience-table td:nth-child(2) {
  width: 78%;
}

.wp-block-table.experience-table table,
.wp-block-table.experience-table th,
.wp-block-table.experience-table td {
  border: 0;
  padding: 0 0 10px;
  background: transparent;
  margin: 0;
}

.wp-block-table.experience-table tbody tr,
.wp-block-table.experience-table tbody tr:nth-child(odd),
.wp-block-table.experience-table tbody tr:nth-child(even),
.wp-block-table.experience-table tbody tr:hover {
  background: transparent;
}

.wp-block-table.experience-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-table.experience-table table {
  min-width: 640px;
}

/* 経験者向け料金テーブル */
.wp-block-table.experience-fee-table {
  margin-bottom: 0;
}

.wp-block-table.experience-fee-table table {
  margin-bottom: 0;
}

.wp-block-table.experience-fee-table td:nth-child(2) {
  background: #fff;
}

p.note {
    font-size: 0.8125rem;
    margin: 8px 0 20px;
}

.lead-text {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 1em;
    color: var(--main-color);
    text-align: left;
}

.marker-red {
    background: linear-gradient(transparent 60%, rgba(201, 65, 91, 0.3) 60%);
}

.text-red {
    color: var(--red-color);
}

@media (min-width: 768px) {
  .lead-text {
    font-size: 1.5rem;
    text-align: center;
  }

  .wp-block-table.experience-table table {
    min-width: 0;
  }
}

/* experience section columns */
.entry-content .experience-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 2rem;
}

.entry-content .experience-item > .wp-block-column {
  min-width: 0;
}

.entry-content .fee-column {
  gap: 0 !important;
}

.entry-content .fee-column > .wp-block-column + .wp-block-column {
  margin-block-start: 0 !important;
}

.entry-content .experience-item > .wp-block-column:last-child .wp-block-image {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin: 0 0 24px;
}

.entry-content .experience-item > .wp-block-column:last-child .wp-block-image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border: 1px solid #eee;
  box-sizing: border-box;
}

.entry-content .experience-button-column {
  text-align: center;
}

.entry-content .experience-button-column .wp-block-buttons {
  justify-content: center;
}

.entry-content .experience-button-column .wp-block-button {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .entry-content .wp-block-columns.experience-button-column.is-layout-flex.wp-block-columns-is-layout-flex {
    justify-content: center;
    gap: 1rem;
  }

  .entry-content .wp-block-columns.experience-button-column.is-layout-flex.wp-block-columns-is-layout-flex > .wp-block-column {
    flex: 0 1 auto;
  }

  .entry-content .experience-item {
    grid-template-columns: minmax(0, 72%) minmax(0, 28%);
    gap: clamp(20px, 2.6vw, 32px);
    align-items: start;
  }
}

/* Links
--------------------------------------------- */
a {
	color: var(--link-color);
}

a:visited {
	color: var(--link-color);
}

a:hover,
a:focus,
a:active {
	color: var(--link-color);
}

a:focus {
	outline: thin dotted;
}

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

.entry-content .wp-block-button .wp-block-button__link,
.entry-content .wp-element-button,
.page-template-page-top .top-aria-juku .wp-block-button .wp-block-button__link,
.page-template-page-top .top-aria-juku .wp-element-button {
	background: #fff;
  border: 1px solid var(--link-color);
  border-radius: 0;
  color: var(--link-color);
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.entry-content .wp-block-button,
.page-template-page-top .top-aria-juku .wp-block-button {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .wp-block-button .wp-block-button__link:hover,
.entry-content .wp-element-button:hover,
.page-template-page-top .top-aria-juku .wp-block-button .wp-block-button__link:hover,
.page-template-page-top .top-aria-juku .wp-element-button:hover {
	font-weight: bold;
	background: var(--link-color);;
	border: 1px solid var(--link-color);
	color: #fff;
}

.entry-content .wp-block-button.button-red .wp-block-button__link,
.entry-content .wp-block-button.button-red .wp-element-button {
  border-color: var(--red-color);
  color: var(--red-color);
}

.entry-content .wp-block-button.button-red .wp-block-button__link:hover,
.entry-content .wp-block-button.button-red .wp-element-button:hover {
  background: var(--red-color);
  border-color: var(--red-color);
  color: #fff;
}

.entry-content .button-fixed,
.entry-content .button-fixed.wp-block-buttons {
  width: 100%;
  align-items: stretch;
}

.entry-content .button-fixed .wp-block-button,
.entry-content .wp-block-button.button-fixed {
  width: 100%;
}

.entry-content .button-fixed .wp-block-button .wp-block-button__link,
.entry-content .button-fixed .wp-element-button,
.entry-content .wp-block-button.button-fixed .wp-block-button__link,
.entry-content .wp-block-button.button-fixed .wp-element-button {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.page-template-page-top .top-aria-juku .wp-block-buttons,
.page-template-page-top .top-aria-juku .wp-block-button {
    width: 100%;
}

.page-template-page-top .top-aria-juku .wp-block-button .wp-block-button__link,
.page-template-page-top .top-aria-juku .wp-element-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--link-color);
    border-radius: 0;
    padding: 2px;
    color: var(--link-color);
    font-size: 1rem;
}

.page-template-page-top .top-aria-juku .wp-block-button .wp-block-button__link:hover,
.page-template-page-top .top-aria-juku .wp-element-button:hover {
    background: var(--link-color);
    color: #fff;
    font-weight: normal;
}

@media (min-width: 768px) {
  .entry-content .wp-block-button,
  .page-template-page-top .top-aria-juku .wp-block-button {
    max-width: none;
  }

  .entry-content .wp-block-button .wp-block-button__link,
  .entry-content .wp-element-button,
  .page-template-page-top .top-aria-juku .wp-block-button .wp-block-button__link,
  .page-template-page-top .top-aria-juku .wp-element-button {
    max-width: none;
  }
}

p.top-dl-text {
    font-size: 0.8125rem;
}

p.top-dl-text::before {
    content: "\f0d7";
    display: inline-block;
    margin-right: 4px;
    color: var(--main-color);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.top-dl-column img {
    border: 1px solid #eee;
}

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

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

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

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

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

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

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

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

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

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

.main-navigation li {
	position: relative;
}

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

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

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

	.menu-toggle {
		display: none;
	}

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

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

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

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

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

.post-navigation a {
	text-decoration: none;
}

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

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

/* Page content width (except top page template) */
.page:not(.page-template-page-top) .entry-content {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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

.site-footer {
	padding: 1rem 1rem;
	border-top: 1px solid #e5e7eb;
	background: var(--main-color);
	margin-top: 100px;
}

.site-info {
	font-size: 0.813rem;
	color: #6b7280;
	color: #fff;
    text-align: center;
}

.site-info__pc{
  display: none;
}

.site-info__sp{
  display: inline;
}

@media (min-width: 1200px){
  .site-info__pc{
    display: inline;
  }

  .site-info__sp{
    display: none;
  }
}

/* ===== utility ===== */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.is-hide {
  display: none !important;
}

p.no-margin {
    margin-bottom: 0;
}

/* ===== header ===== */
.site-header{ border-bottom:1px solid #eee; background:#fff; }
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px;
}
.menu-toggle{
  width:44px; height:44px; border:1px solid #ddd; border-radius:999px;
  background:#fff; display:flex; flex-direction:column; justify-content:center; gap:6px;
}
.menu-toggle__line{ display:block; height:2px; background:#333; margin:0 12px; }

/* =========================================
  Layout (mobile base)
========================================= */
.l-shell {
}

.l-sidebar {
  display: none;
}

.l-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}


/* =========================================
  PC (>=1200): left sidebar sticky
========================================= */
@media (min-width: 1200px) {

  .l-shell {
    display: flex;
  }

  .l-sidebar {
    display: block;
    width: 280px;
    flex: 0 0 280px;
    border-right: 1px solid #eee;
    background: #fff;
    position: relative;
    z-index: 10000;
  }

  .sidebar-brand {
    padding: 16px;
  }

  h1.sidebar-brand {
    margin: 0;
  }

  .l-sidebar__inner {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .sidebar-nav {
    flex: 0 0 auto;
  }

  .sidebar-utility {
    padding: 12px 14px 16px;
    border-top: 1px solid #eee;
  }

  .sidebar-utility__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .sidebar-utility__iconBtn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--main-color);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0;
  }

  a.sidebar-utility__iconBtn.sidebar-utility__iconBtn--facebook {
    color: #1877F2;
    font-size: 1.5rem;
}

  .sidebar-utility__iconBtn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
  }

  .sidebar-searchbar {
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }
}


/* =========================================
  PC (>=1200): hover sub-menu panel (slide in)
  NOTE: wp_nav_menu menu_class must include "gmenu gmenu--side"
========================================= */
@media (min-width: 1200px) {

  .gmenu--side > li {
    position: relative;
    border-bottom: 1px solid #eee;
  }

  .gmenu--side > li:last-child {
    border-bottom: none;
  }

  .gmenu--side > li:first-child {
    border-top: 1px solid #eee;
  }

  .gmenu--side > li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 20px;
    height: 100%;
  }

  .gmenu--side > li.menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 47%;
    left: 95%;
    border-style: solid;
    border-width: 12px 18px 12px 0;
    border-color: transparent var(--main-color) transparent transparent;
    transform: translate(0, -50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 11;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }

  .gmenu--side > li > a {
    display: block;
    width: 100%;
    font-size: 1.025rem;
  }

  .gmenu--side > li > a:hover {
      background: #f6f6f6;
  }

  .gmenu--side > li > .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 10;
    width: max-content;
    max-height: 100vh;
    margin: 0;
    padding: 18px 26px 10px;
    list-style: none;
    background: var(--main-color);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    will-change: clip-path, opacity;
    transition: clip-path .42s ease-out, opacity .28s ease, visibility 0s linear .42s;
  }

  .gmenu--side > li.is-show > .sub-menu,
  .gmenu--side > li > .sub-menu.is-show,
  .gmenu--side > li:hover > .sub-menu,
  .gmenu--side > li:focus-within > .sub-menu {
    transition-delay: 0s, 0s, 0s;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gmenu--side > li.menu-item-has-children.is-show::before,
  .gmenu--side > li.menu-item-has-children:hover::before,
  .gmenu--side > li.menu-item-has-children:focus-within::before {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .gmenu--side > li > .sub-menu > li {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 22px;
    width: 100%;
    margin: 0 16px 23px 0;
    vertical-align: top;
    border-bottom: 1px solid #fff;
  }

  .gmenu--side > li:nth-child(2) > .sub-menu {
    width: max-content;
  }

  .gmenu--side > li > .sub-menu > li > a {
    display: block;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
  }

  .gmenu--side > li > .sub-menu > li > a:hover {
    color: var(--link-color);
  }

  .gmenu--side > li > .sub-menu > li > a:not([href="#"])::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    margin-right: 6px;
  }

  .gmenu--side > li > .sub-menu > li > a:not([href="#"]):hover::before {
    color: var(--link-color);
    transform: translateX(2px);
  }

  .gmenu--side > li > .sub-menu > li > .sub-menu {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .gmenu--side > li > .sub-menu > li > .sub-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px 8px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
  }

  .gmenu--side > li > .sub-menu > li > .sub-menu > li > a:hover {
    color: var(--link-color);
  }

  .gmenu--side > li > .sub-menu > li > .sub-menu > li > a:not([href="#"])::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    margin-right: 2px;
  }

  .gmenu--side > li > .sub-menu > li > .sub-menu > li > a:not([href="#"]):hover::before {
    color: var(--link-color);
    transform: translateX(2px);
  }

}

@media (prefers-reduced-motion: reduce) and (min-width: 1200px) {
  .gmenu--side > li > .sub-menu {
    transition: none;
  }
}

/* ===== logo ===== */
.drawer__brand{
  padding: 8px 0 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer__brand .custom-logo{
  height: 44px;
  width: auto;
  display: block;
  max-width: 200px;
}

.drawer__brand .custom-logo-link{
  display: inline-block;
}

.drawer__brandLogoLink{
  display:inline-block;
  line-height:0;
}

.drawer__brandLogo{
  display:block;
  height:44px;
  width:auto;
  max-width:220px;
}

/* ===== menu styles ===== */
.gmenu{ 
	list-style:none; 
	margin:0; padding:0; 
}

.gmenu a{ 
	display:block; 
	padding:10px 16px; 
	text-decoration:none; 
	color: var(--text-color);
}

.gmenu a[href="#"]{
  pointer-events:none;
}

.gmenu > li > a[href="#"]{
  pointer-events:auto;
}

.gmenu > li > .sub-menu > li > a[href="#"]{
  opacity: 0.7;
}

/* ===== drawer ===== */
.drawer{ 
  position:fixed; 
  inset:0; 
  display:none; 
  z-index:9999; }

.drawer.is-open{ 
  display:block; 
}

.drawer__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index: 0;
}

.drawer__panel{
  position:absolute;
  top:0;
  right:0;
  width:min(360px, 92vw);
  height:100%;
  background:#fff;
  overflow:auto;
  z-index: 1;
}

.drawer__close{
  width:44px; height:44px;
  border:0;
  background:transparent;
  border-radius:8px;
  font-size:24px;
  line-height:1;
  color:var(--text-color);
}

/* ===== upper ===== */
.c-utility__brand{
  display:block;
}

.c-utility__brand .custom-logo-link{
  display:inline-block;
  line-height:0;
}

.c-utility__brand .custom-logo{
  display:block;
  width:auto;
  height:40px;
  max-width:220px;
}

.c-utility__brandText{
  color:#222;
  font-weight:700;
  text-decoration:none;
}

.c-utility__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  column-gap:12px;
  padding:8px 10px;
}

.c-utility{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
}

.c-utility__actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
}

.c-utility__iconBtn{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:var(--main-color);
  text-decoration:none;
  font-size:1.5rem; /* 24px */
  padding:0;
}

a.c-utility__iconBtn--facebook{
  color:#1877F2;
}

.c-utility__iconBtn--facebook i{
  font-size: 1.5rem;
}

.c-utility__iconBtn--search i{
  font-size: 1.4rem;
}

.c-utility__iconBtn:focus-visible,
.menu-toggle:focus-visible,
.drawer-acc__toggle:focus-visible{
  outline:2px solid var(--main-color);
  outline-offset:2px;
}

.c-searchbar{
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
  background:#fff;
  padding:10px 16px;
}

.c-searchbar__form{
  display:block;
}

.c-keyword-search{
  position: relative;
}

.c-keyword-search input.c-keyword-search__input[type="search"]{
  width:100%;
  height:48px;
  border:1px solid var(--main-color);
  border-radius:999px;
  background:#fff;
  color:var(--text-color);
  padding:0 60px 0 20px;
  font-size:1rem; /* 16px */
  line-height:1.2;
  -webkit-appearance:none;
}

.c-keyword-search input.c-keyword-search__input[type="search"]::placeholder{
  color:#9ca3af;
}

.c-keyword-search__submit{
  position:absolute;
  top:50%;
  right:12px;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--main-color);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  font-size:1.25rem; /* 20px */
}

.c-keyword-search__submit i{
  line-height:1;
  color:var(--main-color);
}

.c-utility__iconBtn--search{
  color:var(--main-color);
}

.c-searchbar__input,
.c-searchbar__submit{
  /* keep class hooks for JS and template compatibility */
}

/* ===== hamburger===== */
.menu-toggle{
  width:40px;
  height:40px;
  border:0;
  border-radius:0;
  background:transparent;
  display:flex; flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:0;
}
.menu-toggle__line{ 
	display:block; 
	height:2px; 
	background:var(--main-color);
	width:24px;
	margin:0;
}

/* ===== drawer accordion (SP) ===== */
#site-drawer .drawer__nav .gmenu > li > a{
  color:var(--text-color);
  font-size:1.188rem; /* 19px */
  line-height:1.2;
  padding:14px 56px 14px 8px;
}

#site-drawer .drawer__nav .gmenu > li:not(:last-child){
  border-bottom: 1px solid #eee;
}

#site-drawer .drawer__nav .gmenu li.menu-item-has-children{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 48px;
  grid-template-areas:
    "link toggle"
    "submenu submenu";
  align-items:center;
}

#site-drawer .drawer__nav .gmenu li.menu-item-has-children > a{
  grid-area:link;
  min-height:56px;
  display:flex;
  align-items:center;
  padding:14px 8px;
}

#site-drawer .drawer__nav .gmenu li.menu-item-has-children > .sub-menu{
  grid-area:submenu;
  margin:0;
  padding:0 0 5px 18px;
}

#site-drawer .drawer__nav .gmenu > li > .sub-menu > li:not(:last-child){
  border-bottom: 1px solid #eee;
}

#site-drawer .drawer__nav .gmenu > li > .sub-menu > li > .sub-menu > li:not(:last-child){
  border-bottom: 1px solid #eee;
}

#site-drawer .drawer__nav .gmenu li.menu-item-has-children > .sub-menu a{
  color:var(--text-color);
  font-size:1.125rem; /* 18px */
  padding:12px 0;
}

#site-drawer .drawer__nav .gmenu a:active,
#site-drawer .drawer__nav .gmenu li.is-open > a{
  color: var(--link-color);
}

#site-drawer .drawer__nav .gmenu > li > .sub-menu > li > a:active,
#site-drawer .drawer__nav .gmenu > li > .sub-menu > li.is-open > a{
  color: var(--link-color);
}

#site-drawer .drawer__nav .gmenu li.menu-item-has-children > .sub-menu[hidden]{
  display:none;
}

ul.sub-menu li {
  list-style: none;
  /* border-bottom: 1px solid #eee; */
}

.drawer-acc__toggle{
  grid-area:toggle;
  align-self:center;
  justify-self:center;
  position:static;
  width:48px;
  height:48px;
  border:0;
  background:transparent;
  color:var(--text-color);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  cursor:pointer;
}

.drawer-acc__toggle i{
  font-size:1.125rem; /* 18px */
  transition:transform .2s ease;
}

#site-drawer .drawer__nav .gmenu li.is-open > .drawer-acc__toggle i{
  transform:rotate(180deg);
}

@media (min-width: 1200px){
  .c-utility{
    position:static;
    display:none;
  }

  .c-utility__inner{
    flex-wrap:nowrap;
    row-gap:0;
  }

  .c-utility__iconBtn,
  .c-searchbar{
    display:none;
  }

  .c-utility__brand{
    display:none;
    flex:0 0 auto;
  }

  .menu-toggle{ display:none; }
}

/* ===== page header title ===== */
.header_title {
  position: relative;
  width: 100%;
  min-height: 240px;
  margin: 0 0 24px;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%),
    url("assets/page_header_title/page_header_title_v1.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

.header_title__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 240px;
  box-sizing: border-box;
  padding: 24px 4.2vw 28px;
}

.header_title__breadcrumb {
  margin: 0 0 14px;
}

.header_title__breadcrumb_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header_title__breadcrumb_item {
  display: inline-flex;
  align-items: center;
  font-size: 0.813rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.header_title__breadcrumb_item + .header_title__breadcrumb_item::before {
  content: ">";
  margin: 0 0.5em;
  color: rgba(255, 255, 255, 0.72);
}

.header_title__breadcrumb_item a,
.header_title__breadcrumb_item span {
  color: inherit;
  text-decoration: none;
}

.header_title__breadcrumb_item a:hover,
.header_title__breadcrumb_item a:focus-visible {
  text-decoration: underline;
}

.header_title__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 4.8vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media screen and (min-width: 768px) {
  .header_title {
    min-height: 260px;
    margin-bottom: 4rem;
  }

  .header_title__inner {
    min-height: 260px;
    padding: 42px 4.2vw 40px;
  }

  .header_title__breadcrumb_item {
    font-size: 0.875rem;
  }
}

.content-with-sidebar {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) clamp(48px, 8vw, 88px);
  box-sizing: border-box;
}

.content-with-sidebar__main {
  min-width: 0;
}

.archive-description {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 0;
  color: var(--text-color);
  line-height: 1.8;
}

.archive-description > *:first-child {
  margin-top: 0;
}

.archive .site-main > .post,
.search .site-main > .post {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid #d1d5db;
}

.archive .site-main > .post:first-of-type,
.search .site-main > .post:first-of-type {
  padding-top: 0;
}

.archive-post-card {
  display: block;
  color: var(--text-color);
  text-decoration: none;
}

.archive-post-card__body {
  display: block;
}

.archive-post-card.has-thumbnail .archive-post-card__body {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.archive-post-card__thumb {
  display: block;
  margin-bottom: 16px;
}

.archive-post-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.archive-post-card__title {
  margin-bottom: 2px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.35;
}

.archive-post-card__title a {
  color: var(--text-color);
  text-decoration: none;
}

.archive-post-card:hover .archive-post-card__title,
.archive-post-card:focus .archive-post-card__title {
  text-decoration: none;
}

.archive-post-card__meta {
  margin-bottom: 6px;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.archive-post-card__meta .posted-on {
  margin: 0;
}

.archive-post-card__meta a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.archive-post-card__summary {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archive-post-card__summary p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

.archive-post-card__more {
  margin: 12px 0 0;
  text-align: right;
}

.archive-post-card__more a {
  color: var(--text-color);
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .archive-post-card.has-thumbnail .archive-post-card__body {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }

  .archive-post-card__thumb {
    margin-bottom: 0;
  }
}

.widget-area {
  width: 100%;
  max-width: 320px;
  margin: 40px auto 0;
}

.widget-area .widget {
  padding: 0;
  background: #fff;
}

.widget-area .widget-title,
.widget-area h2.wp-block-heading {
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.widget-area .widget-title::after,
.widget-area h2.wp-block-heading::after {
  content: "";
  height: 2px;
  background-image: linear-gradient(to right, var(--main-color) 0, var(--main-color) 80px, var(--gray-color) 80px, var(--gray-color) 100%);
  position: relative;
  width: 100%;
  display: block;
}

.widget-area .widget_search .widget-title,
.widget-area .wp-block-search__label {
  display: none;
}

.widget-area .wp-block-search {
  margin: 0;
}

.widget-area .wp-block-search__inside-wrapper {
  position: relative;
  display: block;
}

.widget-area input.wp-block-search__input,
.widget-area input.c-keyword-search__input[type="search"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--main-color);
  border-radius: 999px;
  background: #fff;
  color: var(--text-color);
  padding: 0 60px 0 20px;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-appearance: none;
}

.widget-area .wp-block-search__button,
.widget-area .c-keyword-search__submit {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
}

.widget-area .wp-block-search__button::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
}

.message-icon::before {
  content: "\f4ad";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.widget-area .widget_archive ul,
.widget-area .widget_categories ul,
.widget-area .wp-block-archives-list,
.widget-area .wp-block-categories-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.widget-area .widget_archive li::marker,
.widget-area .widget_categories li::marker,
.widget-area .wp-block-archives-list li::marker,
.widget-area .wp-block-categories-list li::marker {
  content: "";
}

.widget-area .wp-block-latest-posts {
  margin: 0;
  padding-left: 0;
}

.widget-area .wp-block-latest-posts li {
  margin-left: 0;
}

.widget-area .top-news-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 1rem;
}

.widget-area .top-news-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  margin-left: 0;
  border-bottom: 1px solid #eee;
  list-style: none;
}

.widget-area .top-news-item:first-child {
  padding-top: 0;
}

.widget-area .top-news-date {
  flex: 0 0 auto;
  color: var(--main-color);
  font-weight: 700;
  white-space: nowrap;
}

.widget-area .top-news-text {
  flex: 1 1 auto;
  min-width: 0;
}

.widget-area .top-news-text p {
  margin: 0;
}

.widget-area .top-news-text a {
  color: var(--text-color);
  text-decoration: none;
}

.widget-area .top-news-pagination {
  display: none;
}

@media screen and (min-width: 1024px) {
  .content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
  }

  .content-with-sidebar--right .content-with-sidebar__main {
    order: 1;
  }

  .content-with-sidebar--right .widget-area {
    order: 2;
    margin-top: 0;
  }

  .no-sidebar .content-with-sidebar {
    display: block;
    max-width: 1064px;
  }
}

/* ===== contact form (Contact Form 7) ===== */
.page .entry-content .wpcf7 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.page .entry-content .wpcf7 form {
  display: grid;
  gap: 18px;
}

.page .entry-content .wpcf7 p {
  margin: 0;
}

.page .entry-content .wpcf7 label {
  display: block;
  color: var(--text-color);
  line-height: 1.6;
}

.page .entry-content .wpcf7 .required {
  color: var(--red-color);
  font-weight: 700;
}

.page .entry-content .wpcf7 .optional {
  font-size: 0.875rem;
  color: #666;
}

.page .entry-content .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.page .entry-content .wpcf7 input[type="text"],
.page .entry-content .wpcf7 input[type="email"],
.page .entry-content .wpcf7 input[type="tel"],
.page .entry-content .wpcf7 input[type="url"],
.page .entry-content .wpcf7 select,
.page .entry-content .wpcf7 textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.page .entry-content .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.page .entry-content .wpcf7 input:focus,
.page .entry-content .wpcf7 select:focus,
.page .entry-content .wpcf7 textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(23, 28, 97, 0.14);
  outline: none;
}

.page .entry-content .wpcf7 input[type="checkbox"],
.page .entry-content .wpcf7 input[type="radio"] {
  margin-right: 8px;
}

.page .entry-content .wpcf7 .wpcf7-list-item {
  margin: 0 16px 8px 0;
}

.page .entry-content .wpcf7 .wpcf7-not-valid-tip {
  color: #b91c1c;
  font-size: 0.875rem;
  margin-top: 6px;
}

.page .entry-content .wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.page .entry-content .wpcf7 input[type="submit"],
.page .entry-content .wpcf7 button[type="submit"] {
  width: min(100%, 320px);
  display: block;
  box-sizing: border-box;
  margin: 8px auto 0;
  border: 1px solid var(--link-color);
  border-radius: 0;
  background: #fff;
  color: var(--link-color);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  padding: 12px 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page .entry-content .wpcf7 input[type="submit"]:hover,
.page .entry-content .wpcf7 button[type="submit"]:hover {
  background: var(--link-color);
  color: #fff;
}

@media screen and (min-width: 768px) {
  .page .entry-content .wpcf7 form {
    gap: 22px;
  }

  .page .entry-content .wpcf7 input[type="submit"],
  .page .entry-content .wpcf7 button[type="submit"] {
    margin-top: 12px;
  }
}

/* ===== 404 page ===== */
.aria-error-404 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 72px) clamp(16px, 3vw, 32px) clamp(56px, 10vw, 96px);
}

.aria-error-404__head {
  width: min(100%, 680px);
  margin: 0 auto;
  text-align: center;
}

.aria-error-404__code {
  margin: 0 0 clamp(16px, 4vw, 24px);
  color: var(--main-color);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.aria-error-404__title {
  margin: 0 0 0.35em;
  color: var(--main-color);
  font-size: clamp(22px, 5.5vw, 36px);
  line-height: 1.4;
}

.aria-error-404__lead {
  margin: 0;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.8;
}

.aria-error-404__search {
  width: min(50%, 680px);
  margin: clamp(24px, 5vw, 40px) auto 0;
}

.aria-error-404__search .c-searchbar__form {
  width: 100%;
}

.aria-error-404__btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: clamp(16px, 4vw, 24px);
}

.aria-error-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 320px);
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--link-color);
  border-radius: 0;
  background: #fff;
  color: var(--link-color);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aria-error-404__btn:hover,
.aria-error-404__btn:focus {
  background: var(--link-color);
  border-color: var(--link-color);
  color: #fff;
}

@media screen and (min-width: 768px) {
  .aria-error-404 {
    padding-top: clamp(56px, 8vw, 88px);
  }
}

/* ===== live_guide page ===== */
.wp-block-column.live_guide-greeting {
  border-top: 3px solid var(--main-color);
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
  padding: 1rem 1rem 0;
}

/* ===== top page ===== */
.page-template-page-top .site-main > *:not(figure.wp-block-image.size-large):not(.alignfull):not(.aria-top-slider) {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
}

.page-template-page-top .site-main > .aria-top-slider {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.page-template-page-top figure.wp-block-image.size-large {
    margin: 0;
}

.page-template-page-top figure.wp-block-image.size-large img {
    width: 100%;
}

.page-template-page-top .top-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.page-template-page-top .top-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.page-template-page-top .top-news-item:first-child {
    padding: 0 0 12px;
}

.page-template-page-top .top-news-date {
    flex: 0 0 auto;
    color: var(--main-color);
    font-weight: 700;
    white-space: nowrap;
}

.page-template-page-top .top-news-text {
    flex: 1 1 auto;
    min-width: 0;
}

.page-template-page-top .top-news-text p {
    margin: 0;
}

.top-news-pagination {
    margin-top: 20px;
}

.top-news-pagination--pc {
    display: none;
}

.top-news-pagination .page-numbers {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.top-news-pagination .page-numbers li {
    margin: 0;
}

.top-news-pagination a.page-numbers,
.top-news-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    font-size: 0.875rem;
}

.top-news-pagination span.page-numbers.current {
    border-color: var(--link-color);
    background: #fff;
    color: var(--link-color);
}

.top-news-pagination a.page-numbers:hover,
.top-news-pagination a.page-numbers:focus {
    background: var(--link-color);
    color: #fff;
}

.page-template-page-top .top-news {
    position: relative;
    transition: opacity 0.28s ease, transform 0.32s ease;
}

.page-template-page-top .top-news.is-loading {
    opacity: 0.45;
    transform: translateY(8px);
    pointer-events: none;
}

.page-template-page-top .top-news.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    margin-left: -16px;
    border: 3px solid rgba(23, 28, 97, 0.18);
    border-top-color: var(--main-color);
    border-radius: 50%;
    animation: top-news-spinner 0.7s linear infinite;
}

.page-template-page-top .top-news.is-entering {
    opacity: 0;
    transform: translateY(10px);
}

.page-template-page-top .top-news-empty {
    margin: 0;
}

.page-template-page-top .top-aria-juku .wp-block-image.size-full {
    margin: 0;
}

.page-template-page-top .top-aria-juku p {
    margin: 0 0 0.625rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.page-template-page-top .wp-block-column.top-aria-juku-outer.is-layout-flow.wp-block-column-is-layout-flow {
    padding: 1rem 1rem 0;
    background: #f6f6f6;
}

.page-template-page-top .wp-block-column.save-the-date.is-layout-flow.wp-block-column-is-layout-flow {
    position: relative;
    margin: 32px auto 0;
    padding: 28px 24px 18px;
    border: 1px solid var(--main-color);
    border-radius: 3px;
}

.page-template-page-top .save-the-date > .wp-block-heading {
    position: absolute;
    top: -17px;
    left: 50%;
    display: inline-block;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 0 16px;
    background: #fff;
    color: var(--main-color);
    border-radius: 2px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    transform: translateX(-50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-template-page-top .save-the-date > p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.page-template-page-top .wp-block-columns.top-aria-juku.is-layout-flex.wp-block-columns-is-layout-flex > .wp-block-column {
    align-self: center;
}

/* プログラムページ
--------------------------------------------- */
.program-links__item h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.program-links__item h2:after {
    background: none;
}

.program-abstract-image img {
    border: 1px solid #e5e7eb;
}

.program-abstract-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px -6px rgba(0, 0, 0, 0.15);
    border-color: var(--link-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.program-links__item {
    border: 1px solid #e5e7eb;
    padding: 14px 18px 22px;
}

.program-links__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px -6px rgba(0, 0, 0, 0.15);
    border-color: var(--link-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.program-links__item .wp-block-button,
.program-links__item .wp-block-button__link,
.program-links__item .wp-element-button {
    width: 100%;
}

.btn-abstract-dl {
    width: 100%;
}

@media (min-width: 400px) {
    .btn-abstract-dl {
        width: 400px;
    }
}

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}

.back-to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}

.back-to-top:hover,
.back-to-top:focus {
    background: var(--main-color);
    color: #fff;
}

.back-to-top i {
    font-size: 20px;
    line-height: 1;
}

@keyframes top-news-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 768px) {
    .page-template-page-top .save-the-date > .wp-block-heading {
        left: 12px;
        transform: none;
    }

    .page-template-page-top .top-news-item {
        gap: 16px;
    }

    .top-news-pagination {
        margin-top: 24px;
    }

    .top-news-pagination--sp {
        display: none;
    }

    .top-news-pagination--pc {
        display: block;
    }

    .top-news-pagination .page-numbers {
        gap: 12px;
    }

    .top-news-pagination a.page-numbers,
    .top-news-pagination span.page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 1rem;
    }

    .back-to-top {
        right: 24px;
        bottom: 96px;
    }
}

.aria-blog-list {
    width: 100%;
}

.aria-blog-list .wp-block-query {
    width: 100%;
}

.aria-blog-list .wp-block-post-template {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aria-blog-list .wp-block-post-template > li {
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
    border-bottom: 1px solid #d1d5db;
}

.aria-blog-list .wp-block-post-template > li:first-child {
    padding-top: 0;
}

.aria-blog-list .wp-block-post-template > li:last-child {
    margin-bottom: 0;
}

.aria-blog-list .wp-block-post {
    margin: 0;
}

.aria-blog-list .wp-block-post > .wp-block-columns {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: start !important;
}

.aria-blog-list .wp-block-post > .wp-block-columns > .wp-block-column {
    min-width: 0;
}

.aria-blog-list .wp-block-post-featured-image {
    margin: 0;
}

.aria-blog-list .wp-block-post-featured-image a {
    display: block;
}

.aria-blog-list .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.aria-blog-list .wp-block-post-title {
    margin: 0 0 2px;
    font-size: 1.375rem;
    line-height: 1.35;
    color: var(--text-color);
}

.aria-blog-list .wp-block-post-title a {
    color: var(--text-color);
    text-decoration: none;
}

.aria-blog-list .wp-block-post-excerpt {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.aria-blog-list .wp-block-post-excerpt__excerpt {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media screen and (min-width: 768px) {
    .aria-blog-list .wp-block-post > .wp-block-columns {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 24px;
    }

    .aria-blog-list .wp-block-post-title {
        font-size: 1.5rem;
    }
}
