/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/*ヘッダー
----------------------------------------------------*/
/* 共通スタイル */
.header, .header1, .header2 {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* 背景画像ごとに分ける */
.header {
	background-image: url(../img/top-image.jpg);
}

.header1 {
	background-image: url(../img/company-image.jpg); /* ←別の画像に差し替え */
}

.header2 {
	background-image: url(../img/contact-image.jpg);
}

/* 共通コピーのスタイル：すべてのヘッダーに対応させる */
.header .catch-copy,
.header .page-title,
.header1 .catch-copy,
.header1 .page-title,
.header2 .catch-copy,
.header2 .page-title {
	text-align: center;
	width: 100%;
	color: #fff;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
	font-size: 200%;
	font-weight: bold;
	position: absolute;
	top: 30%;
	left: 0%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

.header .catch-copy span,
.header .page-title span,
.header1 .catch-copy span,
.header1 .page-title span,
.header2 .catch-copy span,
.header2 .page-title span {
	border-bottom: 3px solid #fff;
	padding-bottom: 3px;
}

.header .read-copy,
.header1 .read-copy,
.header2 .read-copy {
	text-align: center;
	width: 100%;
	color: #fff;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
	font-size: 120%;
	position: absolute;
	top: 55%;
	left: 0%;
	line-height: 1.5em;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

/* メディアクエリ内の個別指定 */
@media print, screen and (min-width: 768px) {
	.header {
		height: 400px;
		padding-bottom: 0;
	}
	.header1 {
		height: 400px;
		padding-bottom: 0;
	}
	.header2 {
		height: 300px;
		padding-bottom: 0;
	}
}

/* header1・header2 専用のキャッチコピー調整 */
.header1 .catch-copy,
.header2 .catch-copy {
	top: 50%;
	font-size: 180%; /* 小さめに調整も可 */
}

/*ボディ
----------------------------------------------------*/
.wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 6%;
}

.access-map {
  width: 100%;
  height: 400px;
  margin-top: 30px;
}

hr {
  width: 100%;
  border: none;
  border-top: 1px solid #ccc;
}

.image-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.image-box {
  text-align: center;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  margin-top: 5px;
  font-size: 14px;
  word-wrap: break-word;
  text-align: left; 
}

@media (min-width: 768px) {
  .image-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .image-box {
    width: 300px;
    box-sizing: border-box;
  }
}

.title-bar {
	box-sizing: border-box;
	display: block;
	width: 100%;
	background-color: #553b2a;
	color: white;
	padding: 10px 15px;
	font-size: 1.2em;
	font-weight:bold;
	margin: 20px 0; 
	text-align: center;
}

.toTop{
	color:white;
	text-align:right;
	font-size:.5em;
	margin-bottom:10px;
}

.toTop a {
	color: black;
	text-decoration: none;
}
.toTop a:hover {
	opacity: 0.5; /* 任意。ホバー時に変化を付けたいなら */
}

html {
  scroll-behavior: smooth;
}

/*ナビ
----------------------------------------------------*/
.glovalnav li {
	display: table-cell;
	text-align: center;
}

.glovalnav li:not(:first-child){
	border-left: 1px solid #000;
}

.glovalnav li a {
	font-size: 1.0rem;
	display: block;
	background: #fafbf8;
	text-decoration: none;
	padding: 12px 0;
	color: black;
}

.glovalnav li a:hover {
	opacity: 1;
}

@media print, screen and (min-width:768px) {
	.glovalnav li a:hover {
		background: #000;
		color: #fff;
	}
}

.glovalnav-list {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	display: table;
	table-layout: fixed;
	border: 1px solid #000;
}

/*フッター
----------------------------------------------------*/
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  font-size: 0.9em;
  text-align: center;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-hours {
  margin: 15px 0;
  line-height: 0.8;
}

.footer-social {
  margin-top: 10px;
}

.footer-social .x-logo {
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.footer-content p {
  margin-bottom: 6px; /* ← 好みで8pxや10pxでもOK */
}

/*フォント
----------------------------------------------------*/

.font-honmon {
    font-size:110%;
    color:black;
    line-height:1.5em;
}

.font-cap {
    font-size:90%;
    color:black;
    line-height:1.5em;
}

/*media Queries
----------------------------------------------------*/

/*カラーメモ
・オフ白：#fbfaf3
・朱赤：#e75a2f
・Wグレー1：#716866
・Wグレー2：#b2a8a5
・Dグレー：#333333
・WDグレー：#70665e
・こげ茶：#40220f

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






