@charset "utf-8";
/* exhibition共通 */
html {
  scroll-behavior: smooth;
}
a:link{
color: #8ACBCF;
}
a:visited{
color: #8ACBCF;
}
.titarea{
	background-image: url(../images/bg_tit.webp);
	background-repeat: no-repeat;
	}
.titarea h1{
width:100%;
font-family: "Noto Serif JP", serif;
font-size: 2rem;
padding-left: 1rem;
line-height: 1.2;
}
.titarea p{
width:100%;
padding: 1rem;
display: flex;
justify-content: flex-end;
}
.titarea p img{
display: block;
height: 3rem;
width: auto;
}
/* exhibition_archiveここから*/
.overview,
.listarea,
.floormap{
width: 90%;
margin: 0 auto;
}
.overview{
margin-top: 2rem;
}
.overview p{
margin-bottom: 1rem;
}
.listarea_ArchivesList{
display: flex;
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
}
.listarea_ArchivesList li{
border: #DCDCDC solid 1px;
padding: 2rem;
margin: 2rem 0;
width: 100%;
display: flex;
flex-direction: column;
box-sizing: border-box;
}

.listarea_SoloExhibition {
  display: flex;
  flex-direction: column;
  height: 100%; 
}

.listarea_SoloExhibition p img {
  max-width: 100%;
  height: auto;
  max-height: 50vh; 
  object-fit: contain; 
}

.listarea_SoloExhibition .action {
  margin-top: auto !important; 
  margin-bottom: 0;
  text-align: center;
}
.listarea_ArchivesList li p.placeRoomaddress{
margin: 0 0 1rem;
}
.listarea_ArchivesList li p.imgExhibition{
width: 100%; 
  max-width: 300px;
  aspect-ratio: 1 / 1; 
  margin: 1rem auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
 overflow: hidden;
}
.listarea_ArchivesList li img {
width: 100%;
  height: 100%;
  object-fit: contain; /* 写真全体を表示 */
}



.listarea_SoloExhibition h2{
font-size: clamp(1.4rem, 1.35rem + 0.25vw, 1.5rem);
font-weight: 400;
margin-bottom: 1rem;
line-height: 1.2;
overflow-wrap: anywhere;
}
.listarea_SoloExhibition time{
display: inline-block;
color: #aaaaaa;
}
.listarea_SoloExhibition p{
margin-top: 2rem;
margin-bottom: 2rem;
}
/*.listarea_SoloExhibition p.action {
text-align: center;
    max-width: 13%;
    height: auto;
    padding: 0;
				margin: 0 auto;
}*/
/* p.action の記述を整理し、13%の制限を外します */
.listarea_SoloExhibition p.action {
  text-align: center;
  margin: auto auto 0; /* margin-top: auto; と margin: 0 auto; を統合して下部中央配置 */
  padding: 10px 0; /* 上下に少し余白を持たせると窮屈感が減ります */
}

/* ＋ボタンの画像を直接指定してサイズをコントロールします */
.listarea_SoloExhibition p.action img {
  /* 最小44px、推奨サイズ15%、最大60px の間で自動伸縮 */
  width: clamp(44px, 15%, 60px); 
  height: auto;
  max-height: none; /* もし上の 50vh 制限が干渉する場合はここで解除 */
}
/* 展開図 */
.floormap h2{
margin: 2rem 0 0;
font-family: "Noto Serif JP", serif;
font-size: clamp(1.4rem, 1.35rem + 0.25vw, 1.5rem);
font-weight: 400;
margin-bottom: 1rem;
}
.floormap_view{
width: 100%;
margin: 2rem auto;
}
.floormap li{
max-width: 100%;
height: auto;
margin-bottom: 4rem;
}
/*.placeRoomaddress{
color: #aaaaaa;
}*/
.listarea_NoData {
    width: 100%;
    text-align: center; /* 中央に配置して目立たせる */
    padding: 5rem 0;    /* 上下にしっかり余白をとる */
    color: #888888;     /* 真っ黒ではなく少しグレーにして、控えめな印象に */
}
/* ここからパソコン用画面の設定
------------------------------------------------------------*/
@media screen and (min-width:756px){
.titarea{
	display: flex;
	align-items: flex-end;
	background-image: url(../images/bg_tit.webp);
	background-repeat: no-repeat;
	}
.titarea h1{
width:70%;
font-family: "Noto Serif JP", serif;
font-size: 2rem;
padding-left: 1rem;
margin-bottom: 1rem;
margin-left: 10%;
}
.titarea p{
width:20%;
height: 150px;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 1rem;
margin-right: 10%
}
.titarea p img{
display: block;
height: 3rem;
width: auto;
}
.overview,
.listarea{
width: 70%;
margin: 0 auto;
}
.overview{
margin: 2rem auto;
}
.listarea_ArchivesList{
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
gap: 20px;
}
.listarea_ArchivesList li{
border: #DCDCDC solid 1px;
padding: 2rem;
/*max-height: 100vh;*/
margin: 2rem 0;
/*width: calc(33.333% - 20px);*/
width: calc((100% - 40px) / 3);
max-width: none;

display: flex;
flex-direction: column;
}
.listarea_SoloExhibition {
  display: flex;
  flex-direction: column;
  height: 100%; /* liの高さに合わせて広げる */
}
/* ＋ボタンの修正 */
.listarea_SoloExhibition .action {
  margin-top: auto; /* ↑上の要素との余白を自動で最大化し、ボタンを一番下に押しやる */
  text-align: center; /* 念のため中央揃え */
}
.listarea_SoloExhibition p img {
  max-width: 100%;
  height: auto;
  /* 画像の高さが画面の半分以上にならないよう制限。
     または max-height: 400px; など固定値にしてもOKです */
  max-height: 50vh; 
  /* 画像の縦横比を保ちつつ、枠内に収める */
  object-fit: contain; 
}

/* 展開図 */
.floormap h2{
margin: 4rem auto 0;
width: 78%;
}
.floormap_view{
/*max-width: 80%;*/
display: flex;
align-items: center;
flex-direction: column;
}
.floormap li{
height: auto;
width: calc(33.333%);
}
}
