/*!
Theme Name: Lesser Theme
Author: Lesser
Text Domain: lesser-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


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

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

/*--------------------------------------------------------------
# 一般的なスタイル
--------------------------------------------------------------*/

/* ノーマライズ
--------------------------------------------- */

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

/* ドキュメント
	 ========================================================================== */

html
{
	/*すべてのブラウザで行の高さを修正*/
	line-height: 1.15;
	
	/*iOSでの回転後のフォントサイズの調整を防ぐ*/
	-webkit-text-size-adjust: 100%;
	
	/*1rem=10pxにする*/
	font-size: 62.5%;
	
	/*ページ内リンクスムーズ*/
	scroll-behavior: smooth;
	
	/*横スクロールの禁止*/
	overflow-x: hidden;
}

/* セクション
	 ========================================================================== */

body
{	
	max-width: 100%;
	height: auto;	
	margin: 0;
  	padding: 0;
	background-color: white; /* 白色の背景 */
	
	/*横スクロールの禁止*/
	overflow-x: hidden;
}

/*IEで`main`要素を一貫して表示する。*/
main {
	display: block;
}

/* 画面の幅を1200pxにする */
/* 1200÷1980×100=62.5% */
.haba1200 {
    width: 62.5%;
    margin: 0 auto; /* 中央寄せする場合 */
}

/*CONTACT注意点テキスト用幅*/
/* 画面の幅を680pxにする */
.haba680 {
    width: 37.4%;
    margin: 0 auto; /* 中央寄せする場合 */
}

/* PC以外(1023px以下)の場合、width: 93%*/
@media (max-width: 1023px) {
    .haba1200 {
        width: 93%;
    }
	
	.haba680 {
        width: 80%;
    }
}

h1 {
	font-size: 3.2rem;
	/*上下に1rem、左右に0*/
	margin: 1rem 0;
}

/* コンテンツのグルーピング
	 ========================================================================== */

/**
 * 1. Firefoxで正しいボックスサイズを追加する。
 * 2. EdgeとIEでオーバーフローを表示する。
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. すべてのブラウザでフォントサイズの継承とスケーリングを修正する。
 * 2. すべてのブラウザで奇数の`em`フォントサイズを修正する。
 */
pre {
	font-family: monospace, monospace;
	font-size: 1.6rem;
}

/* テキストレベルのセマンティクス
	 ========================================================================== */

/* IE 10でアクティブなリンクのグレーの背景を削除 */
a {
	background-color: transparent;
}

/**
 * 1. Chrome 57-で下部のボーダーを削除する。
 * 2. Chrome、Edge、IE、Opera、Safariで正しいテキストデコレーションを追加する。
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Chrome、Edge、およびSafariで正しいフォントウェイトを追加する。
 */
b,
strong {
	font-weight: bolder;
}


/**
 * 1. すべてのブラウザでフォントサイズの継承とスケーリングを修正する。
 * 2. すべてのブラウザで奇数の `em` フォントサイズを修正する。
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	
	/*フォントサイズをデフォルトの16px*/
	font-size: 1.6rem;
}

/**
すべてのブラウザで正しいフォントサイズを追加する。
 */
small {
	font-size: 80%;
}

/**
`sub` と `sup` 要素がすべてのブラウザで行の高さに影響しないようにする。
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* 埋め込みコンテンツ
	 ========================================================================== */

/**
 * IE 10のリンク内の画像のボーダーを削除する。
 */
img {
	border-style: none;
}

/* フォーム
	 ========================================================================== */

/**
 * 1. すべてのブラウザでフォントスタイルを変更する。
 * 2. Firefox および Safari でマージンを削除する。
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * IE でオーバーフローを表示する。
 * 1. Edge でオーバーフローを表示する。
 */

button,
input {
	overflow: visible;
}

/**
 * Edge、Firefox、および IE でテキスト変換の継承を削除する。
 * 1. Firefox でテキスト変換の継承を削除する。
 */
button,
select {
	text-transform: none;
}

/**
 * iOS および Safari でクリック可能なタイプのスタイルを適用できない問題を修正する。
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

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

/**
 * 前のルールで解除されたフォーカススタイルを復元する。
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Firefox でパディングを修正する。
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Edge と IE でテキストの折り返しを修正する。
 * 2. IE で `fieldset` 要素からの色の継承を修正する。
 * 3. すべてのブラウザで `fieldset` 要素のパディングがゼロになったときに開発者が混乱しないように、パディングを削除する。
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Chrome、Firefox、および Opera で正しい垂直配置を追加する。
 */
progress {
	vertical-align: baseline;
}

/**
 * IE 10+ でデフォルトの垂直スクロールバーを削除する。
 */
textarea {
	overflow: auto;
}

/**
 * 1. IE 10 で正しいボックスサイズを追加する。
 * 2. IE 10 でパディングを削除する。
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Chrome で増加および減少ボタンのカーソルスタイルを修正する。
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Chrome と Safari で奇妙な外観を修正する。
 * 2. Safari でアウトラインスタイルを修正する。
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * macOS 上の Chrome と Safari で内側のパディングを削除する。
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. iOS および Safari でクリック可能なタイプのスタイルを適用できない問題を修正する。
 * 2. Safari でフォントプロパティを `inherit` に変更する。
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* インタラクティブ
	 ========================================================================== */

/*
 * Edge、IE 10+、および Firefox で正しい表示を追加する。
 */
details {
	display: block;
}

/*
 * すべてのブラウザで正しい表示を追加する。
 */
summary {
	display: list-item;
}

/* その他
	 ========================================================================== */

/**
 * IE 10+ で正しい表示を追加する。
 */

template {
	display: none;
}

/**
 * IE 10 で正しい表示を追加する。
 */
[hidden] {
	display: none;
}

/* ボックスサイジング
--------------------------------------------- */

/* コンポーネントレベルで値をより簡単に変更できるように、box-sizingを継承します。 */
@link https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# ベース
--------------------------------------------------------------*/

/* タイポグラフィー
--------------------------------------------- */
/* 以下は全てのテキスト要素に共通のスタイル */
body,
button,
input,
select,
optgroup,
textarea {
    /* テキストの色 */
    color: #2a2a2a;
    /* 使用するフォントファミリー（Google Fonts: Barlow） */
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* フォントサイズをデフォルトの16pxに設定 */
    font-size: 1.6rem;
    /* 行の高さ：読みやすさのため広めに */
    line-height: 1.8;
}

/* 見出し要素の共通スタイル */
h1,
h2,
h3,
h4,
h5,
h6 {
    /* 両側の浮動をクリア */
    clear: both;
}

/* 段落のスタイル */
p {
    /* 下のマージンを設定 */
    margin-bottom: 2.4rem;
}

/* 斜体のテキスト要素 */
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 {
    /* フォントサイズを125%に */
    font-size: 125%;
}

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

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

/* 埋め込みおよび iframe がそれぞれのコンテナに適合することを確認する。 */
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: #111;
}

a:visited {
	/* 訪問済みのリンクカラー */
	color: #555;
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# レイアウト
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# コンポーネント
--------------------------------------------------------------*/

/* ナビゲーション
--------------------------------------------- */

/* メインナビゲーション */
.main-navigation {
	display: block; /* ブロック要素として表示 */
	width: 100%; /* 幅を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; /* 上端を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; /* テキスト装飾をなしに設定 */
}

/* スモールメニュー */
.menu-toggle,
.main-navigation.toggled ul {
	display: block; /* ブロック要素として表示 */
}

@media screen and (min-width: 37.5em) {
	/* スクリーン幅が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%; /* 幅は50% */
}

/* 次へリンクの幅を設定 */
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end; /* 右寄せ */
	flex: 1 0 50%; /* 幅は50% */
}
/* 投稿とページ
--------------------------------------------- */
.sticky {
	display: block;
}

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

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

/* ロゴリンクがロゴ画像を囲むようにする。 */
.custom-logo-link {
	display: inline-block;
}

/* キャプション
--------------------------------------------- */
.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;
}

--------------------------------------------- */
/* ギャラリー全体のスタイル */
.gallery {
	margin-bottom: 1.5em; /* ギャラリー間の余白 */
	display: grid; /* グリッドレイアウトを使用 */
	grid-gap: 1.5em; /* グリッド間の間隔 */
}

/* ギャラリーアイテムのスタイル */
.gallery-item {
	display: inline-block; /* インラインブロック要素にする */
	text-align: center; /* 中央揃え */
	width: 100%; /* 幅100% */
}

/* ギャラリー列数ごとのスタイル */
.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr); /* 2列のグリッド */
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr); /* 3列のグリッド */
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr); /* 4列のグリッド */
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr); /* 5列のグリッド */
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr); /* 6列のグリッド */
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr); /* 7列のグリッド */
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr); /* 8列のグリッド */
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr); /* 9列のグリッド */
}

/* ギャラリーキャプションのスタイル */
.gallery-caption {
	display: block; /* ブロック要素として表示 */
}

/*--------------------------------------------------------------
# プラグイン
--------------------------------------------------------------*/

/* Jetpack 無限スクロール
--------------------------------------------- */
/* 無限スクロールが使用されているときに、投稿ナビゲーションとフッターを非表示にします。 */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* 無限スクロールが終了したときに、テーマのフッターを再表示します。 */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# ユーティリティ
--------------------------------------------------------------*/

/* アクセシビリティ
--------------------------------------------- */

/* スクリーンリーダー用のテキストのみ。 */
.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;
}

/* スキップリンクのターゲットにアウトラインを表示しない。 */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* アラインメント */
--------------------------------------------- */
.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;
}


/*☆★☆★☆★☆★☆★☆★ 追加自作クラス ☆★☆★☆★☆★☆★☆★*/

/* -------------------------背景画像スタイル---------------------------------*/
/* 全体のスタイル指定 */
.haikeibox {
   position: relative;
   height: 100vh; /* ビューポートの高さに設定 */
}

/* 内部コンテナ */
.inner {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   clip-path: inset(0); /* 内側をクリップする */
}

/* テキストスタイル */
.haikeitext {
   position: absolute;
   top: 50%; /* 上下中央に配置 */
   left: 50%; /* 左右中央に配置 */
   transform: translate(-50%, -50%); /* 中央揃え */
   font-family: 'Barlow Condensed', sans-serif; /* 大見出し用フォント */
   font-size: 5.6rem; /* フォントサイズ */
   font-weight: 700; /* ボールド */
   color: white; /* 文字色 */
   text-align: center; /* テキストを中央揃え */
   letter-spacing: 0.4em; /* 文字間のスペース */
   text-transform: uppercase; /* 大文字に統一 */
}

/* 背景画像（SHOWS） */
.haikeishows {
   position: fixed; /* 固定位置 */
   top: 0;
   left: 0;
   width: 100vw; /* ビューポートの幅に合わせる */
   height: 100vh; /* ビューポートの高さに合わせる */
   background-image: url('https://aerialistsofficial.com/wp-content/uploads/2024/05/lesserojigi.png');
   background-size: cover; /* 画像をカバーする */
   background-position: center; /* 画像を中央に配置 */
   z-index: -1; /* 背景画像は最背面に表示 */
}

/* 背景画像（MERCH） */
.haikeimerch {
   position: fixed; /* 固定位置 */
   top: 0;
   left: 0;
   width: 100vw; /* ビューポートの幅に合わせる */
   height: 100vh; /* ビューポートの高さに合わせる */
   background-image: url('https://aerialistsofficial.com/wp-content/uploads/2024/05/shindoaxe.png');
   background-size: cover; /* 画像をカバーする */
   background-position: center; /* 画像を中央に配置 */
   z-index: -1; /* 背景画像は最背面に表示 */
}

/* 背景画像（ABOUT） */
.haikeiabout {
   position: fixed; /* 固定位置 */
   top: 0;
   left: 0;
   width: 100vw; /* ビューポートの幅に合わせる */
   height: 100vh; /* ビューポートの高さに合わせる */
   background-image: url('https://aerialistsofficial.com/wp-content/uploads/2024/05/tomsilhouette.png');
   background-size: cover; /* 画像をカバーする */
   background-position: center; /* 画像を中央に配置 */
   z-index: -1; /* 背景画像は最背面に表示 */
}
/* --------------------------------------------------------------------------*/




/*------------------------------画像設定------------------------------*/
/*画像をズーム*/
.zoomin {
    overflow: hidden; /* これがないとズーム時に画像がはみ出す */
    transition: transform .5s ease;
}
.zoomin:hover img {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}
/* --------------------------------------------------------------------*/




/*-------------------ナビゲーションメニューの設定----------------------*/
/* 余白を設定 */
.yohaku30
{
    /* リンク間の余白を設定 */
	margin-right: 3rem;
}

/* 幅が768px以下の場合は、margin-right: 15px;にしてほしい */
@media (max-width: 768px) {
    .yohaku30 {
			margin-right: 1.5rem;
    }
}

/* PCサイズの時のみ、最後の文字だけmargin-right無し */
@media screen and (min-width: 48em) {
    .yohaku30:last-child {
        margin-right: 0;
    }
}

/* リンクテキストをホバー時色変える */
.hovergray {
	/*0.5秒かけて変化*/
	transition: color 0.5s ease; 
}

.hovergray:hover {
	/* 薄めのライトグレーの色 */
	color: #CCCCCC;
}
/* --------------------------------------------------------------------------*/





/*------------------------------SNSアイコン設定------------------------------*/
/*ソーシャルアイコンの余白を設定*/
.wp-block-social-links .wp-social-link:not(:last-child) {
    margin-right: 3rem;
}

/*ホバーした際に画像を横回転*/
.wp-block-social-links .wp-social-link:hover {
    transform: rotateY(360deg);
  transition: transform .5s;
}

/* アイコンサイズを変更 */
.wp-block-social-links.has-small-icon-size .wp-social-link svg {
    width: 20px;
    height: 20px;
}
/* --------------------------------------------------------------------------*/




/*------------------------------MUSICカラム設定------------------------------*/
/*----画面が小さくなったときにアスペクト比を維持したまま縮小----*/

/*Youtube埋め込みを包む要素のスタイル*/
    .wp-block-embed__wrapper {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9のアスペクト比を維持するための余白 */
    }

    /* iframeのスタイル */
    .wp-block-embed__wrapper iframe {
        position: absolute; /* 親要素に対しての絶対位置を設定 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* 親要素に合わせて全体を広げる */
    }
	
	/*アートワークのスタイル*/
	.artwork_pic {
		/* アートワークを中央に配置 */
		text-align: center;
	}

	.artwork_pic img {
		width: 100%; /* 画像を親要素の幅いっぱいに表示 */
		height: auto; /* 高さは自動調整 */
	}

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




/* -----------------------------最新の投稿スタイル------------------------ */

/* トップページの最新の投稿のタイトルテキストリンクを無効化 */
.wp-block-latest-posts__post-title {
    pointer-events: none; /* リンクをクリックできなくする */
    cursor: default; /* カーソルを標準にする */
    text-decoration: none; /* 下線を削除する */
    color: #000 !important; /* リンクの色を無理やり黒にする */
    font-weight: 600; /* セミボールド */
}

/*NEWSの折り返し中央に表示するよう微調整*/
@media screen and (max-width: 767px) {
    .sumahokaramu {
		margin-left: 2.3rem;
		margin-right: 0;
    }
}

/* 最新の投稿サムネホバー */
.wp-block-latest-posts__featured-image img {
    transition: opacity 0.5s ease; /* 透明度の変化を0.5秒かけてイージングで変化させる */
}

.wp-block-latest-posts__featured-image:hover img {
    opacity: 0.5; /* ホバー時の透明度 */
}


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





/* ------------------------------投稿ページ内の設定--------------------------*/
/* RECENT NEWSセクションの幅を62.5%に設定 */
.recent-news {
	max-width: 62.5%;
	margin: 0 auto; /* 画面中央に配置 */
	/* 上部の余白を追加 */
	margin-top:15rem;
	margin-bottom: 5rem;
}


/* タブレットサイズ以下の場合は、幅93% (single.php参照) */
@media only screen and (max-width: 1023px) {
    .recent-news {
		max-width: 100%;
        /* 上部の余白を変更 */
        margin-top: 6rem;
        margin-bottom: 3rem;
    }
}



/*RECENT NEWSフォントの設定*/
.recent-news h2 {
    margin-left: 0;
    font-size: 1.4rem;
    letter-spacing: 0.2em;  /* サイト全体のナビ等に合わせた文字間 */
}

/* 最近の投稿レイアウト */
.recent-group {
    /* 要素を flex コンテナ*/
    display: flex;
    /* 要素間を均等に配置 */
    justify-content: space-between;
}

.recent-post {
	/* 幅を横並びにするための計算 */
    width: calc(33.33% - 0.5rem);
	/* 投稿間の余白 */
    margin-bottom: 2.5rem; 
    padding: 1.5rem;
}

.post-thumbnail img {
	 /*サムネイルを親要素に合わせ*/
    width: 100%;
	/* サムネイルの高さを自動*/
    height: auto; 
	/* 画像を親要素に合わせる */
    object-fit: cover; 
	/* 画像を中央に配置 */
    object-position: center;
}

/* ホバー時の透明度 */
.thumbnail-container:hover img {
    opacity: 0.5; 
    transition: opacity 0.5s; 
}

/*投稿の抜粋のフォントと行間 */
.post-excerpt {
    font-size: 1.4rem;
    line-height: 1.5;
}
/* --------------------------------------------------------------------------*/




/* ------------------------イベントスケジュール表設定-----------------------*/
table {
	/* セルの境界を重ね、整った外観に*/
	border-collapse: collapse; 
	/* テーブルの幅を60%に設定 */
	width: 62.5%;
	/* 表示を中央に配置 */
	margin: auto; 
}

/* テーブルのヘッダーとセルのスタイル */
th, td {
	/* ヘッダー行とセルの下に1pxの灰色の境界線を表示 */
	border-bottom: 0.1rem solid #ddd; 
	/* セルの内側の余白を8pxに設定 */
	padding: 0.8rem; 
	/* テキストを左寄せに設定 */
	text-align: center; 
}

/* マウスをホバーしたとき */
tr[onclick^="window.location"]:hover {
	/* より薄いグレー */
	background-color: #f5f5f5; 
	/* トランジションの設定 */
	transition: background-color 1s ease; 
}
/* --------------------------------------------------------------------------*/






/* ---------------------メンバーのSNSリンク--------------------------------- */

.memberlink a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.memberlink a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 0.2rem;
    background: grey;
    bottom: -0.7rem; /* アンダーラインが現れ始める位置（aタグの下辺からの高さ） */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.memberlink a:hover::after {
    visibility: visible;
    bottom: 0;
    opacity: 1;
}
/* --------------------------------------------------------------------------*/





/*------------------------------Contact Form7--------------------------------*/

/* 全体の幅の設定 */
.wpcf7 {
    max-width: 82.5%; /* フォームの最大幅を設定 */
    margin: 0 auto; /* 中央揃え */
}

/* コンタクトフォーム横幅調節 */
/* 名前入力欄 */
.wpcf7 input[name="your-name"] {
    width: 100%; /* 名前入力欄の幅を100%に設定 */
}

/* メール入力欄 */
.wpcf7 input[name="your-email"] { 
    width: 100%; /* メール入力欄の幅を100%に設定 */
}

/* タイトル入力欄 */
.wpcf7 input[name="your-subject"] { 
    width: 100%; /* タイトル入力欄の幅を100%に設定 */
}

/* 本文入力欄 */
.wpcf7 textarea[name="your-message"] { 
    width: 100%; /* 本文入力欄の幅を100%に設定 */
}

/* 送信ボタン */
input[type="submit"] {
    /* 送信ボタンデフォルトを無効化 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 2rem; /* フォントサイズを設定 */
    width: 15rem; /* 送信ボタンの幅を設定 */
    padding: 10px; /* パディングを設定 */
    background-color: #CCCCCC; /* 背景色を設定 */
    border: none; /* ボーダーを削除 */
    color: #fff; /* 文字色を設定 */
    cursor: pointer; /* カーソルをポインターに設定 */
    
    /* ホバー時のスタイル */
    transition: color 0.5s ease; /* 文字色のトランジションを設定 */
    
    /* 画面の中央に配置 */
    margin: 0 auto;
    display: block;
}

/* ホバー時のスタイル */
input[type="submit"]:hover {
    background-color: black; /* ホバー時の背景色を設定 */
}

/* CF7のspinnerも無効化 */
span.wpcf7-spinner {
    display: none; /* スピナーを非表示に設定 */
}

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




/* ---------------------------------404ページ---------------------------------*/
.page404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center; /* テキストを中央揃えにする */
}

.page404 h1 {
    font-size: 2em;
}

.page404 p {
    font-size: 1.2em;
}
/* --------------------------------------------------------------------------*/


/* --------------------------フッターのスタイル--------------------------*/
.footer {
  margin-top: 10.5rem;
  padding: 3.2rem; /* パディングを設定 */
  color: #999; /* テキストの色を指定 */
  background: #fff; /* 背景色を指定 */
  text-align: center; /* テキストを中央に配置 */
}

.copyright {
  margin: 0 auto; /* 左右のマージンを自動で調整して中央に配置 */
  display: inline-block; /* ブロック要素をインラインブロック要素に変更 */
  font-size: 1.1rem; /* フォントサイズを指定 */
  letter-spacing: 0.05em;
}
/* --------------------------------------------------------------------------*/


/*☆★☆★☆★☆★☆★☆★ サイトヘッダー & ナビゲーション ☆★☆★☆★☆★☆★☆★*/

/* ヘッダー全体：画面上部に固定、最初は非表示 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    /* 上にずらして隠しておく */
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

/* スクロール後に表示（JSで .is-visible を付与） */
.site-header.is-visible {
    transform: translateY(0);
}

/* ヘッダー内側：ロゴを左寄せ */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 3rem;
    height: 5.6rem;
}

/* ロゴラッパー */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* ロゴ横幅120px固定 */
.header-logo img {
    width: 120px;
    height: auto;
}

/* ヘッダーは隠れているので padding-top は不要 */
body {
    padding-top: 0;
}

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


/*☆★☆★☆★☆★☆★☆★ ナビゲーションメニュー（ヘッダー内） ☆★☆★☆★☆★☆★☆★*/

/* ナビ全体 */
.site-header .main-navigation {
    display: flex;
    align-items: center;
}

/* メニューリスト（PC） */
.site-header .main-navigation ul {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* メニューリンク */
.site-header .main-navigation a {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    transition: color 0.3s ease;
}

.site-header .main-navigation a:visited {
    color: #111;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a:focus {
    color: #aaa;
    outline: none;
}

/* ハンバーガーボタン（スマホ用） */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
}

.hamburger-line {
    display: block;
    width: 2.4rem;
    height: 0.15rem;
    background: #111;
    transition: all 0.3s ease;
}

/* スマホ（768px以下）のナビゲーション */
@media screen and (max-width: 768px) {
    .header-inner {
        padding: 0 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    /* スマホではメニューを縦に開く */
    .site-header .main-navigation ul {
        display: none;
        position: absolute;
        top: 6.4rem;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    /* .toggled クラスが付いたらメニューを表示 */
    .site-header .main-navigation.toggled ul {
        display: flex;
    }

    .site-header .main-navigation li {
        width: 100%;
        text-align: center;
    }

    .site-header .main-navigation a {
        display: block;
        padding: 1.6rem 2.4rem;
        border-bottom: 1px solid #f0f0f0;
    }
}

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


/*☆★☆★☆★☆★☆★☆★ テーブル（イベント表など）改善 ☆★☆★☆★☆★☆★☆★*/

/* テーブルのデザインを洗練 */
table {
    border-collapse: collapse;
    width: 62.5%;
    margin: auto;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
}

th {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 1.2rem 1rem;
    border-bottom: 0.2rem solid #111;
    text-align: center;
}

td {
    padding: 1.2rem 1rem;
    border-bottom: 0.1rem solid #e8e8e8;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

/* スマホではテーブルを横スクロール可能に */
@media (max-width: 768px) {
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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


/*☆★☆★☆★☆★☆★☆★ 全ページ共通：ナビゲーション統一 ☆★☆★☆★☆★☆★☆★*/

/*
 * 各ページのブロックエディタ設定に関係なく
 * すべてのナビゲーションブロックを同じ見た目に強制する
 */
.wp-block-navigation .wp-block-navigation-item__content {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #111 !important;
    padding: 0 !important;
    transition: color 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #CCCCCC !important;
}

/* ナビ項目の間隔を統一 */
.wp-block-navigation__container {
    gap: 3rem !important;
    align-items: center !important;
}

/* 全ページのSNSアイコンサイズを統一 */
.wp-block-social-links .wp-social-link svg {
    width: 20px !important;
    height: 20px !important;
}

/* ナビゲーション・SNSアイコン 余白統一
 * ──────────────────────────────────────────────────
 * 動画 → (33px) → ナビ → (20px) → SNSアイコン → (70px)
 *
 * HOME・CONTACT : スペーサーブロック削除 → CSSのmarginで管理
 * NEWS投稿      : スペーサーはそのまま → CSSで高さを強制上書き
 * ────────────────────────────────────────────────── */

/* 動画直後のナビ上余白：33px */
.wp-block-video + .wp-block-navigation {
    margin-top: 33px !important;
}

/* ナビ下余白（HOME・CONTACT）：20px */
.wp-block-navigation {
    margin-bottom: 20px !important;
}

/* SNSアイコン下余白（HOME・CONTACT）：70px */
.wp-block-social-links {
    margin-bottom: 70px !important;
}

/* NEWS投稿：スペーサーで管理するためmarginをリセット */
.single-main .wp-block-navigation {
    margin-bottom: 0 !important;
}
.single-main .wp-block-social-links {
    margin-bottom: 0 !important;
}

/* NEWS投稿：スペーサーを正しい高さに強制 */
.single-main .wp-block-navigation + .wp-block-spacer {
    height: 20px !important;
}
.single-main .wp-block-social-links + .wp-block-spacer {
    height: 70px !important;
}

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


/*☆★☆★☆★☆★☆★☆★ NEWS投稿ページのデザイン整備 ☆★☆★☆★☆★☆★☆★*/

/* 投稿ページ全体のコンテナ（2カラム対応のため幅を広めに） */
.single-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 3rem 2rem;
}

/* 投稿記事 */
.single-main article {
    margin-bottom: 4rem;
}

/*
 * 2カラムレイアウト
 * 左: テキスト（flexible）/ 右: フライヤー画像（固定幅360px）
 * align-items: start → 左右の高さが違っても上揃えにする
 */
.post-layout--has-image {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 5rem;
    align-items: start;
}

/* 右カラム：フライヤー画像 */
.post-flyer img {
    width: 100%;
    height: auto;
    display: block;
    /* position: sticky → スクロールしても画像が右側に固定されて見やすい */
    position: sticky;
    top: 8rem;
}

/* 1カラム（アイキャッチなし）のときのテキスト最大幅 */
.post-layout--no-image {
    max-width: 760px;
    margin: 0 auto;
}

/* 投稿本文エリア */
.single .entry-content {
    font-size: 1.6rem;
    line-height: 1.9;
    color: #2a2a2a;
    word-break: break-word;
}

/* 投稿内の画像 */
.single .entry-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 2.4rem auto;
}

/* 投稿内の見出し */
.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

/* 投稿内のリンク */
.single .entry-content a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* スマホ対応（768px以下）：RECENT NEWS縦並び */
@media (max-width: 768px) {
    .recent-group {
        flex-direction: column;
    }

    .recent-post {
        width: 100%;
        margin-bottom: 2rem;
    }
}

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


/*☆★☆★☆★☆★☆★☆★ MERCHページ：注意書きの右余白 ☆★☆★☆★☆★☆★☆★*/

/* 右寄せのテキストに右余白を追加 */
.has-text-align-right,
p[style*="text-align:right"],
p[style*="text-align: right"] {
    padding-right: 3rem;
}

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


/*☆★☆★☆★☆★☆★☆★ CONTACTページ：動画バナー表示修正 ☆★☆★☆★☆★☆★☆★*/

/*
 * Videoブロックの video 要素に width="300" が直接書かれているため
 * !important で CSS から上書きして横幅いっぱいに表示する
 */
.wp-block-video video {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.wp-block-video {
    width: 100%;
}

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