/*------------------パーツ別CSS-------------------*/
/*Googleマップ*/
/*YouTube*/
/*ビデオ動画のコンテナ*/
/*カード風デザイン*/
/*背景グラデーション*/
/*背景画像デザイン*/
/*セクションタイトルデザイン*/
/*汎用ボタン*/
/*お問い合わせボタン*/
/*テーブルデザイン*/
/*リストデザイン*/
/*画像*/
/*蛍光マーカー*/
/* --ページトップに戻るボタン--ページの指定の範囲内で出現（下から上) */
/*リンクの形状*/

/* 初期状態：非表示 */
#page-top {
  position: fixed;
  right: 10px;
  bottom: 85px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* 表示状態 */
#page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* aをbuttonに変更 */
#page-top button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
  background-color: #fff;
  cursor: pointer; /* buttonタグはこれが必要 */
}

/* aをbuttonに変更 */
#page-top button:hover {
  background: var(--color-primary);
  color: #fff;
}

#page-top span {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: rotate(45deg);
  margin: 8px 0 0 0;
}

/* --オプションパーツのデザイン-- */
/* グーグルマップの配置 */
.ggmap {
	position: relative;
	padding-bottom: 50%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ユーチューブ */
.youtube {
	position: relative;
	padding-top: 56.25%;
	max-width: 100%;
	overflow: hidden;
}

.youtube iframe,
.youtube object,
.youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ビデオ動画のコンテナ */
.video-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* カード風ボーダー */
.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 背景BOX */
.box-bg {
  background: var(--color-bg);
	padding: var(--space-4);
}

/* 背景グラデーション */
.gradient-bg {
  background: linear-gradient(to right, #ff7e5f, #feb47b);
}

/* 背景画像 */
.hero-image {
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
}

/*セクションタイトルデザイン*/
/*-- 各セクションのピンクの点と緑のラインCSS --*/

.section-title {
  position: relative;
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: 40px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 40px;
  font-weight: bold;
  width: 100%;
  max-width: 800px;
  border-radius: 40px;
}

@media (max-width: 768px) {
.section-title {
  font-size: 24px;
  margin-bottom: 40px;
	}
}
	
/* 親要素（例: セクション全体）で中央寄せ */
.section-title-wrapper {
  text-align: center;
  margin: 0 auto;
}

.section-title-wrapper h2 {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
text-align: center;
	line-height: 1.4;
	padding: 0 0 40px 0;
}

.section-title-wrapper h2 span {
  display: block;
}

/* 見出し下のツートンライン */
.section-title-wrapper h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  margin: 0.5em auto 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #1768b3 0%,
    #1768b3 80%,
    #f58220 80%,
    #f58220 100%
  );
}


/* タイトルの前のおしゃれな番号 */
.numbar span {
	display: flex;
	align-items: center;
	color: var(--color-primary);
	font-size: var(--font-xxl);
	text-transform: uppercase;
  opacity: 0.5;
}

.numbar span::before {
	content: '';
	display: inline-block;
	margin-right: 20px;
	width: 40px;
	height: 2px;
	background-color: var(--color-primary);
}

@media (max-width: 768px) {
  .numbar span {
	font-size: var(--font-sm);
}
}

/* ボタン */
.btn {
  max-width: 120px;
  background-color: #fff;
  display: block;
  border: solid 1px #1f1f1f;
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}
.btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  background-color: #1f1f1f;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.btn:hover {
  color: #fff;
  opacity: 1;
}
.btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/* お問合せボタン */
.form-btn {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
  color: #FFF;
  background: #00A0EA;
	width:100%;
	text-align: center;
	border-radius: 4px;
}

.form-btn:hover {
  opacity: 0.5;
	transition: 0.3s;
}

/* -----------テーブルデザイン-------------- */
@media (max-width: 768px) {
  .table-wrap {
    overflow-x: auto;
  -webkit-overflow-scrolling: touch;
	 position: relative;
  }
	.table-wrap::after {
  content: "← 横にスクロールできます →";
  display: block;
  font-size: 12px;
  color: #666;
  text-align: right;
  margin-top: 4px;
}
}

table {
	border: solid 1px gray;
	border-collapse: collapse;
}

table th {
	border: solid 1px gray;
	background-color: #eee;
	padding: 1em;
	white-space: nowrap;
}

table td {
	border: solid 1px gray;
	background-color: white;
	padding: 1em;
}

@media (max-width: 599px) {
	table {
		font-size: 0.9em;
	}
}

/* ----------リストデザイン-------------- */
ul.list {
  margin: 1rem auto;
}

ul.list li {
	list-style-type: square;
	list-style-position: outside;
	font-size: var(--font-lg);
	margin-left: 1.5rem;
}

ul.list li::marker {
  color: var(--color-secondary);
}

@media (max-width: 599px) {
	ul.list li {
		font-size: var(--font-md);
		margin-left: 0.9rem;
	}
}

/* -----------画像-------------- */
/* 画像のキャプション */
.wp-caption-text {
	margin: 0px;
	color: #666;
	font-size: 10px;
	text-align: center;
}

@media (max-width: 599px) {
	.wp-caption-text {
		font-size: 8px;
	}
}

.wp-caption-text a {
	color: #666;
}

/* 画像の配置 */
.aligncenter {
	display: block;
	margin: 0px auto;
}

@media (max-width: 599px) {

	.alignleft,
	.alignright {
		display: block;
		margin: 0px auto;
	}
}

@media (min-width: 600px) {
	.alignleft {
		float: left;
		margin-top: 10px;
		margin-bottom: 20px;
		margin-right: 30px;
	}

	.alignright {
		float: right;
		margin-top: 10px;
		margin-bottom: 20px;
		margin-left: 30px;
	}
}

/* 大きい画像用の設定 */
img,
.wp-caption {
	max-width: 100%;
	height: auto;
}

/* アイキャッチ画像 */
.catch {
	margin: 20px 0px;
}

.catch img {
	width: 100%;
}

/* センター寄せ */
.center {
	text-align: center;
}
/* 蛍光マーカー */
mark {
		background:linear-gradient(transparent 60%, var(--color-accent) 60%);
		font-weight: bold;
    color: inherit;
	}