/* ======== index.php - INFOBOX CUSTOMIZE + WhatsNew（新着記事） CUSTOMIZE========= */

.whatsnew-scroll-box {
    width: 95%;
    height: 350px;
    overflow-y: scroll;
    border: 2px solid #000;
    padding: 10px;
    background-color: #faf0e6;
    box-sizing: border-box;
	margin: 15px auto;
}

#infobox dl.maintext{
	background-color:#faf0e6;
	word-break: break-all;
}

#infobox dl.maintext dt {
	text-align: left;
	margin:0.5em 0 0 1em;
}

#infobox dl.maintext dt.month {
	display:table;
	margin:0.5em 0 0 0.5em;
	text-decoration:underline;
	background-color:yellow;
}

#infobox dl.maintext dd {
	margin:0 1em 0 2em;
	text-align: left;
}

#infobox a {
   color:#00008b;
}

#infobox a:hover {
   color:#00008b;
   background:#fffacd;
}

/* ======== index.php - 営業時間 CUSTOMIZE ======== */

.business-info {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.info-container {
  overflow: hidden;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 横並び */
}

@media (max-width: 768px) {
	.info-grid {
		grid-template-columns: 1fr; /* スマホでは縦並び */
	}
}

.info-item {
  padding: 5px 30px 15px 30px;
}

.info-label {
  font-weight: bold;
  color: #666;
  font-size: 1em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.info-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: #333;
  margin-right: 10px;
}

.time {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  text-align:center;
  letter-spacing: 0.05em;
}

.days {
  font-weight: bold;
  margin: 5px 0 20px;
  text-align:center;

}

.closed-days {
  font-size: 1.2rem;
  font-weight: bold;
  text-align:center;
  margin: 30px 0 30px;
}

@media (max-width: 768px) {
	.closed-days {
		margin: 15px 0 20px 0;
	}
}

.notes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: #555;
}

.notes li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
}

.notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}

.notes strong {
  color: #d32f2f;
  font-weight: bold;
}

/************************************** index.php - 地図表示 **************************************/
#main p.map {
	text-align: center;
 } 

#main p.map iframe {
	width: 95%;
	max-width: 800px;
	height: 450px;
}

@media (max-width: 768px) {
    .map-wrapper {
	position: relative;
	width: 95%; /* iframeの元々の幅 */
	max-width: 900px; /* 必要に応じて調整 */
	margin: 20px auto;
	height: 450px;
	background-color: #f8f9fa;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	}

	#map-content {
	width: 100%;
	height: 100%;
	transition: opacity 0.4s ease;
	}

	/* CSSのみで格子状の地図っぽさを演出 */
	.map-visual-bg {
	position: absolute;
	inset: 0;
	background-color: #e5e3df;
	background-image: 
		linear-gradient(white 2px, transparent 2px),
		linear-gradient(90deg, white 2px, transparent 2px);
	background-size: 40px 40px;
	opacity: 0.4;
	}

	.map-info {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(2px);
	}

	.map-btn {
	background: #0d47a1;
	color: white;
	padding: 14px 28px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 15px;
	box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
	margin: 15px 0;
	transition: all 0.3s ease;
	}

	.map-wrapper:hover .map-btn {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
	background: #357ae8;
	}

	.map-label {
	font-size: 14px;
	color: #555;
	font-weight: 500;
	}
}