@charset "UTF-8";
/*
 * トップページ「伊東・熱海・伊豆の観光情報」セクション
 *
 * 2026-08-25 作成。
 * 変更前: Instagram（QRバナー画像）と観光情報（tripguide_top.webp 1枚）の2カラム。
 * 変更後: Instagram 枠を削除し、観光情報のみを全幅で掲載。
 *
 * 構成は宮坂ゴム様トップの「強み」セクション（.mg-strength）に倣い、
 * 左＝リード文＋一覧への導線 ／ 右＝2カード（ジオパーク・ゴルフ）とした。
 * 配色は木もれ陽のトーン（生成り #f7f5f2 ／ 墨色 #3a3a3a ／ アクセント赤 #c1272d）に置き換えている。
 *
 * 🔴 gfgs.css（.item-container / .item_m）は他ページでも読み込むため使わない。
 *    このセクションは独立したクラス（.tg-guide*）で完結させている。
 */

/* 🔴 このセクション配下は border-box に統一する（2026-08-26 追加）
   サイト全体に box-sizing の統一指定が無く、content-box のままだと
   width:100% ＋ padding 4%（600px以下）で幅が 108% になり、
   スマホで右側が画面外にはみ出す。カード（padding あり）も同様に溢れる */
.tg-guide,
.tg-guide *,
.tg-guide *::before,
.tg-guide *::after {
	box-sizing: border-box;
}

/* 左右パディングは持たせない（2026-08-26 変更）。
   #topics_box と同じく .tg-guide__box の max-width:1100px ＋ margin:auto で
   横位置を揃えるため。上下だけ 50px を確保する */
.tg-guide {
	width: 100%;
	max-width: 100%;
	padding: 50px 0vw;
	background: #f7f5f2;
	overflow-x: hidden; /* 想定外の子要素がはみ出しても横スクロールを起こさない保険 */
}

.tg-guide__box {
	max-width: 1100px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #ece7df;
	border-radius: 20px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .04);
	padding: 48px 5%;
}

/* 見出し。gfgs.css の .item_m h2（1.4em・下線）と調子を合わせる */
.tg-guide__title {
	font-size: 1.5em;
	font-weight: 600;
	color: #3a3a3a;
	letter-spacing: .06em;
	line-height: 1.5;
	text-align: left;
	margin: 0 0 30px;
	padding-bottom: 14px;
	border-bottom: 1px solid #ece7df;
}

.tg-guide__body {
	display: flex;
	gap: 44px;
	align-items: flex-start;
}

/* ------------------------------------------------------------------
 * 左：リード文と /tripguide/ への導線
 * ------------------------------------------------------------------ */
.tg-guide__left {
	flex: 0 0 36%;
	max-width: 36%;
}

.tg-guide__intro {
	font-size: 14px;
	line-height: 1.95;
	color: #555;
	margin: 0 0 20px;
}

.tg-guide__sub {
	font-size: 17px;
	font-weight: 600;
	color: #3a3a3a;
	line-height: 1.8;
	margin: 0 0 26px;
}

.tg-guide__link {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .9em 2em;
	border: 1px solid #3a3a3a;
	border-radius: 999px;
	color: #3a3a3a;
	font-size: 13px;
	letter-spacing: .08em;
	line-height: 1;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}

.tg-guide__link::after {
	content: "→";
}

html.no-touchevents .tg-guide__link:hover {
	background: #3a3a3a;
	color: #fff;
}

/* ------------------------------------------------------------------
 * 右：2カード（ジオパーク情報 / ゴルフ情報）
 * ------------------------------------------------------------------ */
.tg-guide__grid {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.tg-guide__item {
	display: block;
	background: #faf8f5;
	border: 1px solid #f0ece5;
	border-radius: 10px;
	padding: 24px 22px;
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

html.no-touchevents a.tg-guide__item:hover {
	background: #f5f1ea;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.tg-guide__item-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.tg-guide__item h3 {
	position: relative;
	margin: 0;
	padding-left: 13px;
	color: #3a3a3a;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.5;
}

/* 見出し左の短い縦棒（アクセント） */
.tg-guide__item h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 1em;
	background: #c1272d;
	border-radius: 3px;
}

.tg-guide__item-img {
	flex: 0 0 auto;
	width: 120px;
	height: 78px;
	object-fit: cover;
	border-radius: 6px;
}

.tg-guide__item p {
	color: #666;
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
}

/* ------------------------------------------------------------------
 * タブレット・スマホ
 * ------------------------------------------------------------------ */
@media screen and (max-width: 900px) {

	.tg-guide__body {
		flex-direction: column;
		gap: 28px;
	}

	.tg-guide__left {
		flex: none;
		max-width: 100%;
	}
}

@media screen and (max-width: 600px) {

	.tg-guide {
		padding: 30px 4%;
	}

	.tg-guide__box {
		padding: 32px 22px;
		border-radius: 14px;
	}

	.tg-guide__title {
		font-size: 1.3em;
		margin-bottom: 24px;
	}

	.tg-guide__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}
