/*------------------パーツ別CSS-------------------*/
/*Googleマップ*/
/*YouTube*/
/*ビデオ動画のコンテナ*/
/*カード風デザイン*/
/*背景グラデーション*/
/*背景画像デザイン*/
/*セクションタイトルデザイン*/
/*汎用ボタン*/
/*お問い合わせボタン*/
/*テーブルデザイン*/
/*リストデザイン*/
/*画像*/

/* --ページトップに戻るボタン--ページの指定の範囲内で出現（下から上) */
/*リンクの形状*/
#page-top a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid #4caf50;
	color: #4caf50;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.6rem;
	transition: all 0.3s;
	background-color: #fff;
}

#page-top a:hover {
	background: #388e3c;
	color: #fff;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 110px;
	bottom: 120px;
	z-index: 9999;
	/*はじめは非表示*/
	opacity: 1;
	transform: translateX(100px);
}

#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;
}

/*　左の動き　*/

#page-top.LeftMove {
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
	from {
		opacity: 0;
		transform: translateX(100px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/*　右の動き　*/

#page-top.RightMove {
	animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
	from {
		opacity: 1;
		transform: translateX(0);
	}

	to {
		opacity: 1;
		transform: translateX(100px);
	}
}

/* --オプションパーツのデザイン-- */
/* グーグルマップの配置 */
.ggmap {
	position: relative;
	padding-bottom: 25%;
	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);
}

/* 背景グラデーション */
.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; /* テキスト幅に合わせる */
  font-size: 40px;
  font-weight: bold;
  color: #072608;
  margin-bottom: 40px;
  text-align: center;
}

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

/* 下線部分 */
.section-title::after {
  content: "";
  display: block;
  width: 70px;        /* 線の長さ */
  height: 4px;
  background-color: #71C366; /* 線の色 */
  margin: 6px auto 0; /* ← auto で中央寄せ */
  position: relative;
	border-radius: 4px;
}

/* 左端の点 */
.section-title::before {
  content: "";
  position: absolute;
  bottom: -0px;       /* 下線の位置に合わせる */
  left: 50%;          /* 中央基準 */
  transform: translateX(-50%) translateX(-40px);
  /*  -40px = 下線の半分幅 (80px) の左端へ移動 */
  width: 4px;
  height: 4px;
	background-color: #ffcaba;/* 点の色 */
	border-radius: 50%;
}

/* ボタン */
.btn {
  max-width: 200px;
  background-color: #fff;
  display: block;
  border: solid 1px #1f1f1f;
  font-size: 12px;
  padding: 10px;
  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;
}

/* -----------テーブルデザイン-------------- */
table {
	border: solid 1px gray;
	border-collapse: collapse;
}

table th {
	border: solid 1px gray;
	background-color: #eee;
	padding: 1em;
	min-width: 120px;
}

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

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

.table-wrapper {
  overflow-x: scroll;   /* 常にスクロールバーを出す */
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
}

/* ----------リストデザイン-------------- */
ul.list li {
	list-style-type: square;
	list-style-position: inside;
	padding-left: 0px;
	font-size: 1em;
	margin-bottom: 10px;
}

@media (max-width: 599px) {
	ul.list li {
		font-size: 0.9em;
	}
}

/* -----------画像-------------- */
/* 画像のキャプション */
.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: 30px 0px;
}

/* センター寄せ */
.center {
	text-align: center;
}