body .wp-site-blocks > * {
	margin-block-start: 0 !important;
}
.wp-block-custom-html {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
body {
	overflow-x: hidden;
	width: 100%;
	margin: 0;
	font-family: 'Noto Serif JP', serif;
	color: #2c3e50;
	background-color: #f8f8f8;
}
.hero-img-wrapper {
	position: relative;
	height: 40vh;
	overflow: hidden;
	margin-top: 0;
}
.hero-img {
	position: absolute;
	top: 0%;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.overlay {
	position: absolute;
	top: 15%;
	left: 8%;
	z-index: 1;
	color: white;
	/*background-color: rgba(0, 0, 0, 0.5);*/
	padding: 2rem;
	border-radius: 8px;
}
.overlay h1 {
	font-family: 'Noto Serif JP', serif;
	color: white;
	font-size: 2.5rem;
	margin: 1rem 0;
}
.cta-btn {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.75rem 2rem;
	background-color: #09223f;
	color: white;
	text-decoration: none;
	font-weight: bold;
	border-radius: 10px;
	transition: background 0.3s;
}
.cta-btn:hover {
	background-color: #00004d;
}
.services {
	font-family: 'Noto Serif JP', serif;
	background-color: #f4eee6;
	color: black;
	padding: 0.1rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 0;
}
.services h2 {
	margin-top: 0.7rem;
}
.service-cards {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;       /* アイコン・テキストを中央揃え */
  background-color: white;
  padding: 1rem;
  border-radius: 6px;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-icon {
  width: 120px;               /* アイコンサイズは任意 */
  height: 100px;
  margin-bottom: 0.5rem;     /* アイコンとテキストの間隔 */
}

.card-text {
  font-weight: bold;
  margin: 0;
}

.flow {
	font-family: 'Noto Serif JP', serif;
	color: black;
	background-color: #fbf8f4;
	padding: 1rem 1rem;
	text-align: center;
	margin-top: 0;
}
.steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
}
.step span {
	display: block;
	font-weight: bold;
	font-size: 1.2rem;
	color: #cba135;
}
.step img {
  width: 80px;               /* アイコンサイズは任意 */
  height: 80px;
  margin-bottom: 0rem;     /* アイコンとテキストの間隔 */
}
.step p {
	margin-top: 0rem;
	font-size: 1rem;
}

.access {
	font-family: 'Noto Serif JP', serif;
	color: black;
	background-color: #fbf8f4;
	padding: 1rem 1rem;
	text-align: center;
	margin-top: 0;
}
.office-stas {
	font-family: 'Noto Serif JP', serif;
	color: black;
	background-color: #fbf8f4;	
	text-align: center;
}

.footer {
	background-color: white;
	color: white;
	text-align: center;
	padding: 1rem;
	margin-top: 0;
	margin-bottom: 0;
	margin 0;
}
/* ────────────────────────────────────────── */
/* 1) .footer2：垂直マージン＋横中央寄せのラッパー */
.footer2 {
  display: flex;               /* 子要素を横並びに */
  justify-content: center;     /* .footer-card を中央寄せ */
  margin: 1rem 0;              /* 上下の余白 */
}

/* ────────────────────────────────────────── */
/* 2) .footer-card：最大幅600pxで中央寄せ＋左右レイアウト */
.footer-card {
  max-width: 600px;            /* 最大幅600px */
  width: 100%;                 /* 小さい画面では親幅いっぱい */
  margin: 0 auto;              /* もし display:flex を外すなら中央寄せ用 */
  background-color: #0a2242;
  padding: 1rem;
  border-radius: 6px;

  display: flex;               /* 左右に要素を並べる */
  justify-content: space-between; /* 左右端に振り分け */
  align-items: center;         /* 縦方向中央揃え */
}

/* ────────────────────────────────────────── */
/* 3) 左側のテキスト */
.footer-info {
  text-align: left;
}
.footer-info .office-name,
.footer-info .footer-tel {
  margin: 0;
  line-height: 1.4;
  color: #fff;
  font-weight: bold;
}
.office-address {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.0;
  font-weight: normal;
}
.footer-info .footer-tel a {
  color: #f4eee6;              /* 電話番号リンクの色調整 */
  text-decoration: none;
}

/* ────────────────────────────────────────── */
/* 4) 右側のお問い合わせボタン */
.cta-btn2 {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #f4eee6;
  color: #0a2242;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: background 0.3s;
  /* margin-left: auto; 省いても flex の justify-content で右寄せされます */
}
.cta-btn2:hover {
  background-color: #e0d8cc;
}

