
/*
Theme Name:warabeekan
Template:original
*/
@charset "UTF-8";

html,
body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong,
sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, figcaption, figure, footer, header, hgroup, menu, nav, section,
summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
		background:linear-gradient(to bottom, #eddfdae6 30%, #f9f8e3 70%); ;
		background-attachment: fixed;
		}


article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
	display: block;
}

nav ul {
	list-style: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ins {
	background-color: rgb(7, 7, 6);
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, select {
	vertical-align: middle;
}

body {
	color: #865a4a;
	line-height: 1.8;
	font-family: "Zen Maru Gothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", "メイリオ", "Meiryo", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body * {
	box-sizing: border-box;
}

body .wrapper {
	margin-bottom: auto;
}

.wrapper {
	margin-top: 50px;
	margin-bottom: 50px;
}


p {
	margin-bottom: 1.5em;
}

p:last-child {
	margin-bottom: 0;
}

h1, h2 {
	font-family: "Zen Maru Gothic", sans-serif;
	color: #865a4a;

}

h3, h4, h5, h6 {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
	font-style:medium;
	color: #865a4a;;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

ul {
	list-style: none;
}

a {
	color: #333;
	text-decoration: none;
}

@media (hover: hover) {
	a:hover {
		text-decoration: underline;
	}
}

.white-column{
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
}
/* --------------------------------------------
 * 　基本ブロック幅
 * -------------------------------------------- */
.blContainer {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

/* --------------------------------------------
 * 　サブページヘッダー
 * -------------------------------------------- */
.subpageHeader {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.75rem;
	font-weight: bold;
	background: #eddfdae6;
	padding-top: 30px;
	padding-bottom: 30px;
}

/* --------------------------------------------
 * 　見出し
 * -------------------------------------------- */
.sectionHeading {
	font-size: 1.75rem;
	font-weight: 700;
	font-style: bold;
	margin-bottom: 20px;
	text-align: center;
	position: relative; 
    z-index: 100; 
		margin-left: auto;
	margin-right: auto;
	min-width: 330px;

    /* 破線 (dashed) を点線 (dotted) に変更 */
    border-bottom: 2px dotted #865a4a; 
	/*max-width: 230px;*/
}

/* --- あしらい画像1 (背面) - ::beforeを使用 --- */
.sectionHeading::before{
	content: ''; 
	position: absolute; 
	
	top: 5px;          
	right: 0px;        
	width: 35px;       
	height: 35px;      
	opacity: 0.8;      
	z-index: -1;   
	
	background: linear-gradient(to bottom, #ecb19ce6 0%, #ffefdfd3 100%); 
	border-radius: 10px;
	border: solid 2px #f7bda9e6;
	transform: rotate(135deg); 
}
 /* --- あしらい画像2 (手前) - ::afterを使用 --- */
 h2.sectionHeading::after {
	content: ''; 
	position: absolute; 
	
	top: -15px;         
	right: 15px;        
	width: 45px;       
	height: 45px;      
	opacity: 0.6;      
	z-index: -2;        
	
	background: linear-gradient(to bottom, #f3a68ae6 0%, #ffe595d3 100%); 
	border-radius: 5px;
}

/* --------------------------------------------
 * 　テーブル
 * -------------------------------------------- */
.table {
	width: 100%;
}

.table-header {
	width: 100px;
	text-align: left;
	padding-top: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.table-data {
	width: calc(100% - 100px);
	padding-top: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

/* --------------------------------------------
 * 　ページネーション
 * -------------------------------------------- */
.navigation.pagination {
	margin-top: 30px;
}

.navigation.pagination .nav-links .prev {
	border: none !important;
}

.navigation.pagination .nav-links .next {
	border: none !important;
}

.navigation.pagination .nav-links .current {
	padding: 6px 11px;
	background: #333;
	border: 1px solid #da8062;
	border-radius: 3px;
	color: #ffffff;
}

.navigation.pagination .nav-links a {
	padding: 6px 11px;
	border: 1px solid #da8062;
	border-radius: 3px;
}

.navigation.pagination .nav-links a:hover {
	background: #333;
	border: 1px solid #da8062;
	color: #ffffff;
	text-decoration: none;
}

/* --------------------------------------------
 * 　ヘッダー
 * -------------------------------------------- */
.header {
	display: flex;
	align-items: center;
	gap: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: #fff;
}
.header-logo {
	margin-top: -10px;
	margin-right: auto;
}

.mainMenu {
	font-size: 1.4rem;
	font-weight: 800;
	color: #865a4a;
}

.mainMenu-list {
	display: flex;
	gap: 20px;
}

.keyVisual {
	margin-bottom: 10px;
	max-width: 100%;
	margin-right: auto;
    margin-left: auto;
}

.keyVisual video{
	width: 100%;
    max-height: 750px;
	display: block;
	object-fit: cover;
}

/*ポップアップ*/
.bgm-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.bgm-popup-inner {
    background: #fff;
    padding: 30px 40px;
    text-align: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.bgm-btn {
    padding: 10px 24px;
    margin: 10px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.bgm-btn.yes { background: #fff; color: #865a4a; }
.bgm-btn.no  { background: #ffffff; color: #865a4a; }


/* --------------------------------------------
 * 　紹介文
 * -------------------------------------------- */
.frontIntro{
	display: flex;
	flex-direction: column; 
	justify-content: center;
	align-items: center;
	height: auto; 
	line-height: 4rem;
	text-align: center;
	margin-top: 100px;
	margin-bottom: 50px;
}
.frontIntro-text{
	margin-bottom: 20px;
	font-size: 1.6rem;
}

.logo{
max-width: 150px;
}


.copyright{
	font-size: 1rem;
}

/* --------------------------------------------
 *  当館の楽しみ方
 * -------------------------------------------- */

.frontExplore{
		display: grid;
		grid-template-columns: repeat(12, [col-start] 1fr);
		grid-template-rows: repeat(10, [row-start] 1fr);
		gap: 20px;
		padding-bottom: 10px;
		margin-bottom: 100px;
		min-height: 800px;
		white-space: pre-wrap;
}
.grid-heading{
	/* 5列目から7列目までを占める (中央付近) */
    grid-column: col-start 5 / span 4; 
    /* 1行目と2行目の間 (画像Aより少し右下) */
    grid-row: row-start 2;
    /* 見本画像のように文字を少し右に寄せる */
    text-align: center; 
    /* 文字の色やフォントサイズも調整してね */
}
.grid-textA{
	/* 5列目から8列目までを占める */
    grid-column: col-start 3 / span 7; 
    /* 3行目と4行目の間 (画像Aと画像Cの間に配置) */
    grid-row: row-start 4 / span 2;
}
.grid-textB{
	/* 4列目から7列目までを占める */
    grid-column: col-start 6 / span 5; 
    /* 5行目と6行目の間 (画像Bの上に配置) */
    grid-row: row-start 9 / span 2;
}

.grid-itemA{
	/* 1列目から4列分を占める (画像サイズ) */
    grid-column: col-start 2 / span 3; 
    /* 1行目から3行分を占める */
    grid-row: row-start 1 / span 3;
}

/* --- 画像: 囲炉裏のある部屋 (右側中央) --- */
.grid-itemB{
    /* 4列目から3列分を占める */
    grid-column: col-start 9 / span 4; 
    /* 6行目から3行分を占める (下の方へ配置) */
    grid-row: row-start 5 / span 4; 
	/* 前面に配置 */
	z-index: 2;
}

/* --- 画像: 抹茶 (中央やや左下) --- */
.grid-itemC{
    /* 8列目から4列分を占める (右側) */
    grid-column: col-start 5 / span 2;
    /* 4行目から4行分を占める (中央付近) */
    grid-row: row-start 6 / span 2; 
}

/* --- 画像: 展示室のテーブル (左下隅) --- */
.grid-itemD{
    /* 1列目から5列分を占める (左側) */
    grid-column: col-start 1 / span 3; 
    /* 5行目から5行分を占める (下の方) */
    grid-row: row-start 7 / span 3; 
}

/* --- 画像: オレンジ丸 --- */
.grid-itemE{
grid-column: col-start 8 / span 2;
grid-row: row-start 5 / span 2;
opacity: 0.5;
z-index: -1;
}

/* --- 画像: オレンジ円 --- */
.grid-itemF{
	/* 1列目から4列分を占める (画像サイズ) */
    grid-column: col-start 9 / span 1; 
    /* 1行目から3行分を占める */
    grid-row: row-start 10 / span 1;
	z-index: -1;
	opacity: 0.5;
}
/* --- 画像のサイズ調整 (全ての画像に適用) --- */
.frontExplore img {
    /* グリッドセル全体を埋めるように幅と高さを100%に設定 */
    width: 100%;
    height: auto;
}

/* --------------------------------------------
 *  作家プロフィール
 * -------------------------------------------- */
.frontProfile{
margin-bottom: 140px;
}

.frontProfile-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	padding: 0;
}

.wrapper-profile{
	display: flex;
	margin: 0 40px;
}

.frontProfile-text{
	margin: 0 auto auto 100px;
line-height: 3.2rem;
}
.oji-san{
	width: 400px;
	height: 300px;
	object-fit: cover;
	filter: brightness(1.1);
}

/* --------------------------------------------
 * 　ご利用のご案内
 * -------------------------------------------- */

 .frontInfo {
	margin-bottom: 100px;
}
.frontInfo-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 330px;
}

.frontInfo-text{
	text-align: center;
	margin: 30px auto;
	line-height: 2.5;
}

/*遷移用ボタン*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  
}

.btn-wrap{
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.btn,
a.btn,
button.btn {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-radius: 0.5rem;
}

a.btn-border-shadow {
  padding: calc(1.5rem - 12px) 3rem 1.5rem;

  background: #ea9c80e6;
}

a.btn-border-shadow:before {
  position: absolute;
  top: -6px;
  left: -6px;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;

  border: 3px solid #ffffff;
  border-radius: 0.5rem;
}

a.btn-border-shadow:hover {
  padding: calc(1.5rem - 6px) 3rem;
}

a.btn-border-shadow:hover:before {
  top: 0;
  left: 0;
}

.row{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 100px;
	margin:50px 50px;
}
.timefee{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.circle{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 450px;
	height: 450px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);/*背景色*/
	margin: 10px auto;
	text-decoration: none; /* リンクの下線を消す（任意） */
    color: inherit; /* リンクの文字色を親要素から継承（任意） */
	}

.circle span {
	text-align:center;
	padding: 10px;

}
.map{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.img-map{
	width: 100%; 
	height: auto; 
	max-width: 400px; 
	display: block;
	margin: 0px auto 20px auto;
}

.map-text{
	margin-bottom: 10px;
}

/* --------------------------------------------
 * 　ギャラリー
 * -------------------------------------------- */
 .frontGallery-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 330px;
	margin-top: 0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
  
  body {
	/* スクロールアイテム間の余白を10pxにするため、ギャップを20pxに設定 */
	--scroll-gap: 20px; 
  }
  
  /* --------------------------------------------
   * アニメーションの定義
   * -------------------------------------------- */
  @keyframes infiniteScroll {
	0% {
	  transform: translateX(0);
	}
	/* ✅ 修正: 3セットのリストの1セット分 (-33.333%) を移動させる */
	/* -33.333% と、その間のギャップを計算 */
	100% {
	  transform: translateX(calc(-33.333% - var(--scroll-gap) / 3)); 
	}
  }
  
  /* --------------------------------------------
   * レイアウトコンテナ
   * -------------------------------------------- */
  .scroll_wrap {
	margin-block-start: 20vh;
	width: 100%;
	overflow: hidden; 
	/* ✅ 追加: 背景色をベージュに設定 */
	background-color: #dbccb9; 
	/* ✅ 追加: 上下の余白（外側）*/
	padding: 10px 0; 
	margin: 0;
  }
  
  .scroll_track {
	/* 3セットのリスト全体を収める幅 */
	width: max-content; 
	/* ✅ 修正: アニメーション速度を調整 (例: 60s) */
	animation: infiniteScroll 50s linear infinite;
  
	/* ホバーで一時停止（テンプレートの & が使えない環境を考慮） */
	/* &:hover {
	  animation-play-state: paused;
	} */
  }
  
  /* --------------------------------------------
   * リストとアイテム
   * -------------------------------------------- */
  .scroll_inner {
	display: flex;
	flex-wrap: nowrap;
	/* アイテム間の余白を var(--scroll-gap) = 20px に設定 */
	gap: 0 var(--scroll-gap); 
	list-style: none;
	/* UL全体の幅を3セット分に広げる */
	width: 300%; 
  }
  
  .scroll_cont {
	/* Flexアイテムとしての設定 */
	flex-shrink: 0;
	/* ✅ 修正: 5枚の画像のうち1枚が占める幅 (全体300% / 15枚) */
	width: 300px; /* 👈 画像の高さ400pxに合わせて、幅を一時的に固定 (調整可能) */
	
	/* ✅ 修正: 画像の高さの固定 */
	height: 420px;
	
	/* ✅ 追加: 枠内で中央揃え (縦横) */
	display: flex;
	align-items: center;
	justify-content: center;
	
	/* ✅ 修正: アイテム自体の上下の余白 10px */
	padding: 10px 0; 
  
	/* テンプレートにあったカラースキームの削除 */
	background-color: transparent; 
  }
  
  /* --------------------------------------------
   * 画像 (IMG)
   * -------------------------------------------- */
  .scroll_cont img {
	/* ✅ 修正: 高さ固定、幅自動でアスペクト比維持 */
	height: 100%; 
	width: auto; 
	
	/* 枠内に全体を収め、トリミングしない */
	object-fit: contain; 
	
	/* 親要素の中央に表示されるように */
	display: block;
  }
  
  /* ホバー時のアニメーション一時停止 */
  .scroll_track:hover {
	  animation-play-state: paused;
  }

/*下層ページ　グリッド*/

/* ==== ギャラリー全体（レスポンシブ対応） ==== */
.margin{
	margin:0 250px; 
}
.imgswap-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC 3列 */
    gap: 20px; /* 列間・行間のスペース */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
}

/* 各画像ブロックのサイズ調整 */
.imgswap-gallery .imgswap {
    width: 100%;
    padding-top:  120%; 
    position: relative;
    cursor: pointer;
}

/* 画像を絶対位置で配置 */
.imgswap-gallery .imgswap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.3s ease;
	background-color: #dbccb9;
	padding: 25px; 
}

/* 初期値*/
.imgswap-gallery .imgswap .front { opacity: 1; z-index: 2; }
.imgswap-gallery .imgswap .back  { opacity: 0;z-index: 1; }

/* ホバーで切替 */
.imgswap-gallery .imgswap:hover .front { opacity: 0; }
.imgswap-gallery .imgswap:hover .back  { opacity: 1; }

/* スマホ：タップで切替保持 */
.imgswap.tapped .front { opacity: 0; }
.imgswap.tapped .back  { opacity: 1; }

/* ===========================
   レスポンシブ
   =========================== */

/* タブレット（768px以下）2列 */
@media (max-width: 768px) {
    .imgswap-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* スマホ（480px以下）1列 */
@media (max-width: 480px) {
    .imgswap-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

	
/* -----------------
 * 　お知らせ		  
 * ----------------- */
  
 
.frontNews {
	margin-top: 80px;
	margin-bottom: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.frontNews-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 330px;}

.news-list {
	display: flex;
	justify-content: center;
	margin: 20px;
}

.news-item {
	width: 800px;
	height: 300px;
	background: #ffffff;
	display: flex;
	padding: 20px;
	box-sizing: border-box;
	min-height: 400px;
}

.news-link {
	display: flex;
	width: 100%;
}

.news-img {
	width: 300px;
	height: 360px;
	flex-shrink: 0;
	margin-right: 30px; /* ← 画像と文字の余白 */
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
}

.news-img img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* ← 画像全体を表示 */
}

.news-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: calc(100% - 330px);
}

.news-date {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.news-title {
	font-size: 1.6rem;
	line-height: 1.6;
	margin-bottom: 18px;
}

.news-readmore {
	font-size: 1.2rem;
	color: #0973dc;
	text-decoration: underline;
	margin-top: auto;
}

.news-excerpt {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 14px;
	color: #444;
	overflow: hidden;
}

/* hover強調（任意） */
.news-link:hover .news-readmore {
	opacity: 0.7;
}

 /*
 .post-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}


.post-card .post-thumb img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}


.post-excerpt-box {
    flex: 1;
}

.post-excerpt-text {
    border: 1px solid #ccc;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}




.frontNews {
	margin-bottom: 60px auto 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 1000px;
}
.frontNews-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 330px;
}

.news-list {
	display: flex;
	flex-wrap: wrap;
	gap: 40px; /* works-list と合わせる 
	justify-content: center;
}

.news-item {
	display: flex;
	justify-content: center;
	padding: 20px 20px 17px;
	text-align: center;
	background-color: #ffffff;
	flex: 0 0 calc((100% - 80px))/3;
	flex-direction: column;
	justify-content: center;
}
.news-date {
	font-size: 1.3rem;
	line-height: 1.6;
}

.news-goList {
	display: inline-block;
	justify-content: center;
	text-align: center;
	margin-top: 20px;
}*/

/* --------------------------------------------
 * 　サンデーコラム
 * -------------------------------------------- */
 .frontWorks{
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: -20px auto;
 }

 .work{
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
 }

 .frontWorks-heading{
	margin-left: auto;
	margin-right: auto;
	max-width: 550px;
	height: auto;
 }
.works-list {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.works-item {
	flex: 0 0 calc((100% - 80px) / 3);
	background: #ffffff;
	padding: 20px 20px 17px;
}

.works-img {
	margin-bottom: 8px;
}

.works-date {
	font-size: 1.3rem;
	margin-bottom: 3px;
}

.works-title {
	font-size: 1.3rem;
	line-height: 1.6;
}

.works-goList {
	display: inline-block;
	justify-content: center;
	text-align: center;
	margin-top: 20px;
}

.worksPost{
margin: auto 130px;
}

.worksPost-title {
	font-size: 1.75rem;
	font-weight: bold;
	margin-bottom: 30px;
}

.worksPost-information {
	font-size: 0.875rem;
	margin-bottom: 20px;
}

/* --------------------------------------------
 * 　お知らせ
 * -------------------------------------------- */

 .frontNews-heading{
	margin-left: 20px;
	margin-right: 20px;
	max-width: 330px;
	margin-top: 0;
	padding: 0 40px;
 }

.article{
	margin: auto 100px;
}
 .article-date {
	font-size: 1.3rem;
}

.article-category {
	font-size: 0.8125rem;
	margin-bottom: 20px;
}

.article-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 30px;
}

/* --------------------------------------------
 * 　フッター
 * -------------------------------------------- */
.footer {
	margin-top: 100px;
	padding-top: 60px;
	background: #f9f8e3 ;
}

.footer-container {
	text-align: center;
}

.footer-logo {
	margin-bottom: 40px;
}

.footer-copyRight {
	font-size: 0.6875rem;
	text-align: center;
	margin-top: 70px;
	padding-top: 3px;
	padding-bottom: 3px;
	background: #dbccb9;
	color: #fff;
}

.footerMenu {
	font-size: 0.875rem;
}

.footerMenu-list {
	display: inline-flex;
	gap: 20px;
}

/* --------------------------------------------
 * 　404
 * -------------------------------------------- */
.page404 {
	text-align: center;
	padding-top: 12vh;
	padding-bottom: 15vh;
}

.page404-heading {
	font-size: 2.5rem;
	font-weight: bold;
	color: #aaa;
	margin-bottom: 30px;
}

.page404-message a {
	text-decoration: underline;
}

/* --------------------------------------------
 * フォーム
 * -------------------------------------------- */
.screen-reader-response {
	display: none;
}

.wpcf7-not-valid-tip {
	color: #f02525;
}

.wpcf7-response-output {
	margin-top: 5px;
	text-align: center;
	color: #f02525;
}

.form {
	width: 100%;
	max-width: 860px;
	margin-right: auto;
	margin-left: auto;
}

.form-privacy {
	text-align: center;
}

.form-submit {
	width: 200px;
	margin-top: 20px;
	margin-right: auto;
	margin-left: auto;
}

.form-submit input {
	width: 100%;
	padding: 1em;
	background: #333;
	color: #fff;
	border: none;
}

.form-submit input:hover {
	cursor: pointer;
}

.formTable {
	width: 100%;
}

.formTable-header {
	width: 220px;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: middle;
}

.formTable-header span {
	color: #fff;
	margin-left: 10px;
	font-size: 0.6875rem;
	font-weight: normal;
	padding: 0.3em;
	background: #f02525;
}

.formTable-data {
	width: calc(100% - 220px);
	padding-top: 10px;
	padding-bottom: 10px;
}

.formTable input {
	width: 100%;
	height: 50px;
	padding: 0.5em;
}

.formTable textarea {
	width: 100%;
	height: 200px;
	padding: 0.5em;
}

/* --------------------------------------------
 * 　ブロックエディタ
 * -------------------------------------------- */
.wp-block-gallery {
	margin-top: 30px;
	margin-bottom: 30px;
}

/*# sourceMappingURL=style.css.map */

/* --------------------------------------------
 * レスポンシブ対応
 * -------------------------------------------- */

@media (max-width: 500px) {

	/*中央よせ*/
	

		/* ページ全体の中央寄せ */
		body {
			text-align: center !important;
			margin-top: 80px;
		  }
		
		  /* ブロック要素（div・section・img など）も auto で中央へ */
		  body * {
			margin-left: auto !important;
			margin-right: auto !important;
		  }
		

	/*ヘッダー*/
	.header {
		display: flex;
		align-items: center;
		gap: 30px;
		padding: 10px 15px 0 15px;
		background-color: #fff;
		/* -------------------------------------- */
		/* ✅ ヘッダー固定に必要な修正/追加 */
		/* -------------------------------------- */
		position: fixed; /* 👈 画面の特定位置に固定する */
		top: 0;          /* 👈 画面の上端に配置 */
		left: 0;         /* 👈 画面の左端に配置 */
		width: 100%;     /* 👈 幅を画面いっぱいに広げる */
		z-index: 999;    /* 👈 他の要素の上に表示されるようにする */
	}
	/* --- 1. PC用メニューを非表示にする --- */
    .header-menu {
        /* ドロワーメニューとして扱うため、一旦画面外に隠す */
        display: block; /* Flex解除 */
        position: fixed; /* 画面に固定 */
        top: 0;
        right: -100%; /* 👈 画面外に隠す */
        width: 80%; /* ドロワーの幅 */
        height: 100vh; /* 画面いっぱいの高さ */
        background-color: #fff;
        z-index: 998; /* ハンバーガーボタンより低い値 */
        transition: right 0.3s ease-in-out; /* アニメーション */
        padding-top: 80px; /* ロゴとボタンの高さ分 */
    }

    /* メニューが開いたとき */
    .header-menu.is-open {
        right: 0; /* 画面内に表示 */
    }

    /* リストを縦並びにする */
    .mainMenu-list {
        flex-direction: column; /* 👈 縦並びにする */
        gap: 0; /* 隙間をリセット */
    }

    /* 各メニュー項目のスタイル */
    .mainMenu-item {
        border-bottom: 1px solid #eee;
    }
    .mainMenu-link {
        display: block;
        padding: 15px 20px;
    }
    
    /* --- 2. ハンバーガーボタンのスタイル --- */

    .menu-button {
        /* ボタンをロゴの隣に配置 */
        z-index: 999;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
        width: 70px;
        height: 70px;
    }

    .menu-button-line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #eb3f00;
        margin: 8px 0;
        transition: 0.3s;
    }

    /* ボタンが押されたとき (閉じるボタンの形) */
    .menu-button[aria-expanded="true"] .menu-button-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .menu-button[aria-expanded="true"] .menu-button-line:nth-child(2) {
        opacity: 0;
    }
    .menu-button[aria-expanded="true"] .menu-button-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }




	/* 全体の文字サイズ調整 */
	body {
		font-size: 1.3rem;
		line-height: 1.7;
	}

	/* セクション見出し */
	.sectionHeading {
		font-size: 1.5rem;
		min-width: auto;
	}

	.keyVisual video {
		/* ✅ 修正箇所 */
		width: 420px; /* 👈 幅を400pxに固定 */
		height: 900px; /* 👈 高さを900pxに固定 */
		
		display: block;
		object-fit: cover; /* 👈 縦横比を保ちつつ、指定サイズ全体を覆うようにトリミング */
		
		/* 固定幅にしたので、中央揃えにする */
		margin: 100px auto 10px; 
	}

	/* =========================
	Hero / Intro
	========================= */
	.frontIntro {
		margin-top: 50px;
		line-height: 2.4rem;
		padding: 0 10px;
	}

	.frontIntro-text {
		font-size: 1.3rem;
	}

	.logo {
		max-width: 120px;
	}

	/* =========================
	当館の楽しみ方 1カラム
	========================= */
	/* 1. 親要素をFlexコンテナにし、縦方向に並べる設定を追加 */
    .frontExplore {
        display: flex;           /* 👈 親要素をFlexコンテナにする */
        flex-direction: column;  /* 👈 アイテムを縦方向に並べる */
        gap: 20px;               /* アイテム間の縦の隙間 */
        padding: 20px 0;         /* 縦並びになった時の上下のパディング */
        min-height: auto;        /* PCの設定をリセット */
        margin-bottom: 50px;
    }
    
    /* 2. PCのgrid-column/grid-row指定を無効化する (念のため) */
    .frontExplore > * {
        grid-column: unset !important;
        grid-row: unset !important;
    }


    /* 3. 子要素の表示設定 (既存コードの修正) */

    /* まず全て非表示 */
    .grid-textA,
    .grid-textB,
    .grid-itemA,
    .grid-itemB,
    /* ここに表示したくないその他の要素を追加 */
    .grid-itemC, 
    .grid-itemD,
    .grid-itemE, /* 新しく追加 */
    .grid-itemF { /* 新しく追加 */
		/* PC画面で複雑に配置された要素を非表示にしてリセット */
        display: none !important; 
    }

    /* 表示させる4つだけ再表示 */
    .grid-textA,
    .grid-textB,
    .grid-itemA,
    .grid-itemB {
        display: block !important; /* blockにして Flex の縦並びを活かす */
        text-align: center;
        /* 幅を調整 */
        width: 90%; 
        margin: 0 auto;
    }

    /* 4. orderによる並び順指定 (この設定はFlexboxと合わせて有効になります) */
    .grid-heading { order: 1; } /* 見出しを一番上に */
	.grid-itemA { order: 2; }
	.grid-textA { order: 3; }
	.grid-itemB { order: 4; }
	.grid-textB { order: 5; }
    
    /* 5. 画像のサイズ調整 */
	.grid-itemA img,
	.grid-itemB img {
        /* imgタグではなく、imgタグの親要素.grid-itemA,Bに対してスタイルを適用する必要があります。*/
        /* HTMLタグを見る限り、img要素自体が.grid-itemA,Bになっているのでこのまま */
		max-width: 90%; /* 画面幅に合わせて調整 */
		height: auto;
        border-radius: 50%; /* もし丸い画像なら */
        object-fit: contain; /* アスペクト比を維持 */
		margin: 15px auto; /* 中央揃えのために上下のmarginを設定 */
	}

    /* 6. テキストの調整 */
    .grid-textA, .grid-textB {
        padding: 10px 0;
    }
	/* =========================
	作家プロフィール
	========================= */
	.frontProfile-text .sectionHeading {
        text-align: center;
        /* PCの margin-left: 100px; をリセット */
        margin-left: auto;
        margin-right: auto;
        width: fit-content; /* max-width: 230px などがあれば、それも適切に調整 */
    }

	.wrapper-profile {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0;
	}

	.wrapper-profile img.oji-san {
		max-width: 80%;
		margin-bottom: 20px;
		margin-top: 20px;
	}

	.frontProfile-text {
		font-size: 1.2rem;
		width: 90%;

		margin: 0 auto; 
        line-height: 1.8;
	}

	
	/* =========================
	* ご利用のご案内
	========================= */
	.circle{
		width: 380px;
		height: 380px;
		margin: 20px 0;
	}
	.row{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 20px;
	}

	/* =========================
	ギャラリー
	========================= */
	@media screen and (max-width: 767px) {
		.scroll-infinity__list--left {
		animation-duration: 20s !important;
		}
	}
	.margin{
		margin:0 20px; 
	}
	
	/* =========================
	お知らせ
	========================= */
	.frontNews {
		margin-top: 40px;
		margin-bottom: 60px;
	}

	.news-list {
		display: block !important;
	}

	.news-item {
		width: 100% !important;
		height: auto !important;
		min-height: auto !important;
		display: block !important;
		padding: 15px !important;
		box-sizing: border-box;
		
	}

	.news-link {
		display: block !important;
		width: 100% !important;
	}

	.news-img {
		width: 100% !important;
		height: auto !important;
		margin: 0 0 12px 0 !important;
	}

	.news-img img {
		width: 100% !important;
		height: auto !important;
		object-fit: cover !important;
	}

	.news-content {
		width: 100% !important;
		margin-top: 0;
	}

	.news-date,
	.news-title,
	.news-excerpt,
	.news-readmore {
		text-align: left;
	}
	/*下層ページ*/
	.article{
		margin: 0 10px;
	}

	.article-content img{
		min-width: 300px;
		max-width: 310px;
		height: auto;
	}


	/* =========================
	Works
	========================= */
	.works-list {
		display: block;
	}

	.works-item {
		margin-bottom: 25px;
		text-align: center;
	}

	/*下層ページ*/

	/* =========================
	Works
	========================= */

	.worksPost{
		margin: auto 10px;
		}

	.worksPost-content img{
		min-width: 300px;
		max-width: 310px;
		height: auto;
		margin-bottom: 30px;
	}

	.works-goList{
		margin: 0;
	}


/* =========================
	Footer
	========================= */
	.footer{
		margin-top: 0px;
		margin-top: 20px;
		padding: 40px;
	}
	.footerMenu-list{
		display: none;
	}
	.footer-copyRight{
		margin-top: 0px
	}

}


/* --- 3. PC画面でハンバーガーボタンを非表示 --- */
@media (min-width: 550px) {
    .menu-button {
        display: none;
		margin: 0;
    }
	.menu-button-line {
        display: none;
		margin: 0;
		color: #ccc;
	}
}









/* @media screen and (max-width: 768px) {
	body{
		font-size: 0.9rem;
		line-height: 1.4rem;
	}
	p{
		margin-bottom: o.8em;
	}
	h1, h2 {
		font-family: "Zen Maru Gothic", sans-serif;
		color: #865a4a;
	}
	
	h3, h4, h5, h6 {
		font-family: "Zen Maru Gothic", sans-serif;
		font-weight: 500;
		font-style:medium;
		color: #865a4a;;
	}
	.news-goList {
		display: inline-block;
		margin-top: 10px;
	}
	.wrapper{
		margin-top: 20px;
	}
	/*基本ブロック
	.blContainer{
		max-width: 700px;
	}

	/*nav
	.mainMenu{
		display: none;
	}
	/*footer nav*
	.footerMenu {
		display: none;
	}
	/*見出し*
	.sectionHeading {
		font-size: 1.4rem;
		font-weight: 700;
		font-style: bold;
		margin-bottom: 10px;
	}
}