/*------------------パーツ別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 img{
  text-align: center;
  margin: 0 auto;
  display: inline-block;
}

/* 下線部分 */
/* 下線部分 → 三角に変更 */
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px; /* h2 の外側に出す */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 60px solid transparent;  /* 横幅の半分 */
  border-right: 60px solid transparent; /* 横幅の半分 */
  border-top: 20px solid var(--color-secondary); /* 高さ */
  margin: 1em auto 0;
}

/* タイトルの前のおしゃれな番号 */
.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;
	}
}

/* ------------料金案内---------- */
.pricing-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* ページタイトル */
  .page-title {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .page-title .accent-line {
    display: block;
    width: 4px;
    height: 1.2em;
    background: #2a8a5e;
    border-radius: 2px;
    flex-shrink: 0;
  }

  /* カード共通 */
  .price {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e8e6e1;
	  margin: 10px;
  }

  .card-heading {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .card-heading .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a8a5e;
    flex-shrink: 0;
  }  
/* 料金テーブル */
  .price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .price-table thead th {
    font-weight: 600;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: none;
    border-bottom: 1.5px solid #f0ede8;
  }

  .price-table thead th:last-child {
    text-align: right;
  }

  .price-table tbody tr {
    border-bottom: 1px solid #f5f3ef;
    transition: background 0.15s;
  }

  .price-table tbody tr:last-child {
    border-bottom: none;
  }

  .price-table tbody tr:hover {
    background: #f9f8f6;
  }

  .price-table td {
    vertical-align: middle;
  }

  .room-type {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
  }

  .price-col {
    text-align: right;
    white-space: nowrap;
  }

  .price-num {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
  }

  .price-suffix {
    font-size: 12px;
    color: #888;
    margin-left: 2px;
  }

  /* 注釈 */
  .table-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 12px;
    text-align: right;
    letter-spacing: 0.01em;
  }

  /* 含まれる内容 */
  .includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .include-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #f4f9f6;
    border: 1px solid #daeee5;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
  }

  .check-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2a8a5e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .check-mark svg {
    width: 10px;
    height: 10px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* スマホ対応 */
  @media (max-width: 400px) {
    .price { padding: 18px 16px; }
    .price-num { font-size: 16px; }
    .includes-grid { gap: 8px; }
    .include-item { padding: 10px 12px; font-size: 12px; }
  }

/* ----------リストデザイン-------------- */
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: 30px 0px;
}

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