@charset "UTF-8";

/* 共通：アンカー移動時の上余白 */
[id] {
	scroll-margin-top: 32px;
}

/* 共通：ページ上部に戻る */
.back-to-top {
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	bottom: calc(24px + env(safe-area-inset-bottom));
	z-index: 900;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #176da8;
	color: #fff;
	box-shadow: 0 2px 10px #0003;
	font-size: 13px;
	line-height: 1.3;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
	.back-to-top {
		transition: none;
		transform: none;
	}
}
.back-to-top[hidden],
body.menu-open .back-to-top {
	display: none;
}
.back-to-top span:first-child {
	font-size: 24px;
}
.back-to-top:hover {
	background: #105583;
}
.back-to-top:focus-visible {
	outline: 3px solid #176da8;
	outline-offset: 3px;
}
@media (max-width: 600px) {
	.back-to-top {
		right: max(16px, env(safe-area-inset-right));
		bottom: calc(16px + env(safe-area-inset-bottom));
		width: 52px;
		height: 52px;
	}
}

/* ==========================================================================
	1. CSS Custom Properties (Variables)
   ========================================================================== */
:root {
	/* Colors */
	--color-primary: #3992D5;
	--color-text-main: #000000;
	--color-text-muted: #666666;
	--color-bg-base: #F1F8FE;
	--color-bg-surface: #ffffff;
	--color-border: #A0D6FF;

	/* Typography */
	--font-family-base: "Noto Sans jp", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-family-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	--font-size-base: 18px;
	--line-height-base: 1.7;
}


/* ==========================================================================
	2. Modern CSS Reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	color: var(--color-text-main);
	background-color: var(--color-bg-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

body.menu-open {
	overflow: hidden;
}

ul,
ol {
	list-style: none;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}
a[target="_blank"]::after {
	font-family: 'Material Symbols Outlined';
	content: '\e89e';
	position: relative;
	top: 3px;
	left: 4px;
	margin-right: 8px;
	font-size: 18px;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

button {
	background-color: transparent;
	border: none;
	cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}


/* ==========================================================================
	2. 全体レイアウト
   ========================================================================== */

.wrapper {
	display: flex;
	flex-direction: row;
	min-height: 100vh;
	@media (max-width: 1200px) {
		flex-direction: column;
	}
}

.pc {
	display: block;
	@media (max-width: 1200px) {
		display:none;
	}
}
.sp { display: none;
	@media (max-width: 1200px) {
		display: block;
	}
}


/**** サイドバー ****/

.sidebar {
	width: 250px;
	height: 100vh;
	padding: 0 0 100px 0;
	position: sticky;
	top: 0;
	background: #fff;
	border-right: 1px solid #ECECEC;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	
	@media (max-width: 1200px) {
		width: 100%;
		height: auto;
		position: relative;
		padding: 0 0 0 0;
		z-index: 1000;
		background: none;
		border: none;
		overflow: visible;
	}
}

.sidebar::-webkit-scrollbar {
	display: none;
}

/* ロゴ */
.sidebar__logo {
	display: block;
	width: 100%;
	padding: 30px 0 40px 0;
	text-align: center;
	
	@media (max-width: 1200px) {
		padding: 30px 0 20px 0;
	}
	
	@media (max-width: 768px) {
		padding: 20px 0 10px 0;
	}
}

.sidebar__logo img {
	display: inline;
	width: 170px;
	position: relative;
	left: -8px;
	
	@media (max-width: 1200px) {
		width: 230px;
		left: 0;
	}

	@media (max-width: 768px) {
		width: 180px;
	}
}

/* サイドバー Instagram */
.sidebar__instagram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 24px auto;
}

.sidebar__instagram img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.sidebar__instagram[target="_blank"]::after {
	content: none;
}

/* グローバルナビ */
.gnavi__item {
	position: relative;
	display: block;
	padding: 20px 0 20px 30px;
	background-image: linear-gradient(to right, #DADADA 20%, rgba(255, 255, 255, 0) 0%);
	background-size: 5px 1px;
	background-repeat: repeat-x;
	background-position: top;
	line-height: 1.2;
	letter-spacing: 0.5px;
	font-size: 1.1rem;
	font-family: var(--font-family-serif);
	color: #333;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gnavi__item::after {
	position: absolute;
	right: 30px;
	font-family: 'Material Symbols Outlined';
	content: '\e5cc';
	font-size: 14px;
}
.gnavi__item:hover {
	background: var(--color-bg-base);
}

.gnavi__engtxt {
	display: block;
	font-size: 0.7rem;
	color: var(--color-primary);
	letter-spacing: 1.35px;
}

/* 現在いるカテゴリ */
.gnavi__item[aria-current="page"] {
	background: #1769A3;
	color: #fff;

	& .gnavi__engtxt {
		color: inherit;
	}
}


/**** 右側全体設定 ****/
.rightside {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	
	@media (max-width: 1200px) {
		margin-top: 20px;
	}
}

.main {
	flex: 1;
	min-width: 0;
}


/**** 協力パートナー ****/
.partner {
	width: 80%;
	margin: 0 auto 70px auto;
    padding: 0;
	
	@media (max-width: 1200px) {
		margin: 0 auto 50px auto;
	}
	@media (max-width: 768px) {
		width: 90%;
	}
}

.partner__title {
	margin: 0 0 30px 0;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 2px;
	
	@media (max-width: 768px) {
		margin: 0 0 20px 0;
	}
}
.partner__eng {
	display: block;
	margin: 0 0 6px 0;
	font-size: 16px;
	font-family: var(--font-family-serif);
	font-weight: normal;
	color: var(--color-primary);
}

/* カード全体 */
.partner__card {
	display: flex;
	justify-content: center;
	gap: 30px;
}

/* リンク部分 */
.partner__item {
	display: flex;
	max-width: calc((100% - 60px) / 3);
	height: 100%;
	font-size: 14px;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ロゴ等の場合 */
.partner__item img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	
	@media (max-width: 1200px) {
		height: 100%;
		margin: 0 0 4px 0;
		aspect-ratio: 7 / 2;
	}	
}	
.partner__item img:hover {
		opacity: 0.7;
}

/* 募集中の場合 */
.looking {
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 6px;
	background: #e5e5e5;
	color: #555;
	font-size: 18px;
	font-weight: bold;
	
	@media (max-width: 1200px) {
		width: 60%;
		max-width: none;
		aspect-ratio: 5 / 2;
	}
}

.partner__text {
	display: block;
	margin: 30px 0 0 0;
	text-align: center;
	font-size: 14px;
	color: #444;
}
.partner__text a {
	color: var(--color-primary);
}


/**** フッター ****/
/* ロゴ */
.footer__logo {
	display: block;
	width: 140px;
	margin: auto;
}
.footer__logo img {
	width: 100%;
}

/* リンクリスト */
.footer__list {
	display: flex;
	width: 100%;
	margin: 20px auto 30px auto;
	font-size: 14px;
	justify-content: space-around;
	
	@media (max-width: 1200px) {
		margin: 10px auto 20px auto;
	}
	@media (max-width: 768px) {
		flex-direction: column;
		margin: 8px auto 16px auto;
	}
	
}

.footer__item {
	flex: 1;
	border-right: 1px solid #ddd;
	text-align: center;
	line-height: 1;
	
	@media (max-width: 768px) {
		border: none;
	}
}

.footer__list a {
	display: block;
	padding: 0 20px;
	color: var(--color-primary);
	
	@media (max-width: 1200px) {
		padding: 4px 0;
	}
	@media (max-width: 768px) {
		padding: 12px 0;
	}
}

.footer__copy {
	display: block;
	margin: 0 0 10px 0;
	text-align: center;
	font-size: 14px;
	color: #333;
	
	@media (max-width: 1200px) {
		font-size: 12px;
	}
}

.footer__source {
	display: block;
	margin: 0 0 8px 0;
	text-align: center;
	font-size: 12px;
	color: #333;
}


/* ==========================================================================
    3. 下層共通
   ========================================================================== */

/**** パンくず ****/
.breadcrumb__list {
	display: flex;
	margin: 10px 5% 10px 5%;
	
	@media (max-width: 1200px) {
		margin-top: 0;
		margin-bottom: 30px;
	}
	@media (max-width: 768px) {
		flex-wrap: wrap;
		row-gap: 6px;
	}
}

.breadcrumb__item {
	margin: 0 10px 0 0;
	padding: 0 0 0 0;
	font-size: 13px;
	
	@media (max-width: 1200px) {
		font-size: 12px;
	}
	@media (max-width: 768px) {
		line-height: 1.6;
	}
}

.breadcrumb__link {
	display: inline-block;
	padding: 0 24px 0 0;
	position: relative;
}
.breadcrumb__link::after {
	position: absolute;
	right: 0;
	font-family: 'Material Symbols Outlined';
	content: '\e5cc';
	font-size: 14px;
}


/**** ページタイトル ****/
.pagetitle {
	margin: 30px 0 50px 0;
	text-align: center;
	line-height: 1;
	font-size: 50px;
	font-family: var(--font-family-serif);
	
	@media (max-width: 1200px) {
		margin: 0 0 40px 0;
		font-size: 32px;
	}
	@media (max-width: 768px) {
		font-size: 26px;
	}
}
.guide-page .pagetitle {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.5;
}

@media (max-width: 768px) {
	.guide-page .pagetitle {
		font-size: 26px;
	}
}

.pagetitle__eng {
	display: block;
	margin: 0 0 12px 0;
	line-height: 1;
	text-align: center;
	font-size: 24px;
	color: var(--color-primary);
	
	@media (max-width: 1200px) {
		margin: 0 0 8px 0;
		font-size: 18px;
	}
}


/**** 下層ナビ ****/
.subnavi {
	display: flex;
	flex-direction: row;
	gap: 30px;
	width: 90%;
	margin: 40px auto 60px auto;
	
	@media (max-width: 1200px) {
		gap: 10px;
		margin: 0 auto 40px auto;
	}
}

.subnavi__item {
	display: flex;
	flex: 1;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid #A0D6FF;
    justify-content: center;
    align-items: center;
	background: #fff;
	line-height: 1;
	font-weight: bold;
	color: var(--color-primary);
	
	@media (max-width: 1200px) {
		padding: 10px;
		font-size: 14px;
	}
}

.subnavi .active {
	border: 1px solid #79b7e2;
	background: #edf7fe;
	color: #246b9f;
}


/* 上下共通サブナビゲーション */
.main .subnavi {
	gap: 10px;
}

.main .subnavi__item {
	flex: 1 1 auto;
	line-height: 1.6;
	text-align: center;
	white-space: nowrap;
}

.main .subnavi--bottom {
	margin: 40px auto 60px;
}

@media (max-width: 768px) {
	.main .subnavi {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.main .subnavi__item {
		min-width: 0;
		padding: 10px 4px;
		font-size: clamp(12px, 3.5vw, 14px);
	}
}

/**** 下層コンテンツ ****/

/* Wrapper系 */
.content {
	position: relative;
	margin: 0 5% 70px 5%;
	padding: 30px 50px;
	background: #fff;
	border-radius: 4px;
	
	@media (max-width: 1200px) {
		padding: 20px 20px;
	}
}
.section {
	margin: 0 0 54px 0;
}

/* 画像共通 */
.section__imgarea {
	margin: 0 0 40px 0;
	
	@media (max-width: 1200px) {
		margin: 0 0 20px 0;
	}
}
.section__imgarea img {
	display: inline;
	border-radius: 6px;
}

/* 画像 中央配置 */
.section__imgarea.center {
	text-align: center;
}
.section__imgarea.center img {
	max-width: 80%;
	
	@media (max-width: 768px) {
		max-width: 100%;
	}
}

/* 画像 右配置 */
.section__imgarea.right {
	display: flex;
	flex-direction: row;
	gap: 60px;
	
	@media (max-width: 1200px) {
		gap: 32px;
	}
	@media (max-width: 768px) {
		flex-direction: column;
	}
}
.section__flexbox:nth-child(1) {
	flex: 1;
}
.section__flexbox:nth-child(2){
	flex: 0 300px;
	
	@media (max-width: 768px) {
		flex: 0 1;
		text-align: center;
	}
}
.section__imgarea.right img {
	width: 100%;
	max-width: none;

	@media (max-width: 768px) {
		margin: -20px 0 0 0;
		aspect-ratio: 4 / 2;
		object-fit: cover;
		object-position: center 40%;
	}
}

/* 見出し系 */
.section__h2 {
	position: relative;
	margin: 10px 0 40px 0;
	padding-bottom: 12px;
	font-size: 28px;
	font-weight: bold;
	border-bottom: 2px solid var(--color-border);
	
	@media (max-width: 1200px) {
		margin: 0 0 30px 0;
		line-height: 1.4;
		font-size: 24px;
	}
	@media (max-width: 768px) {
		font-size: 22px;
	}
}
.section__h2::after {
		content: '';
		position: absolute;
		left: 0;
		bottom: -2px;
		width: 80px;
		height: 2px;
		background-color: var(--color-primary);
}

.section__h3 {
	margin: 0 0 30px 0;
	padding-bottom: 12px;
	border-bottom: 1px dotted var(--color-primary);
	font-size: 20px;
	font-weight: bold;
	
}
.section__h4 {
	margin: 0 0 30px 0;
	font-size: 18px;
	font-weight: bold;
}

/* 基本テキスト */
.section__text {
	margin: 0 0 20px 0;
}
.section__text + .section__h3 {
	margin-top: 60px;
}

.section__text.small {
	font-size: 0.9rem;
}

/* 次のページ */
.subpage__next {
	margin: 50px 0 40px 0;
	text-align: center;
	font-weight: bold;
}
.subpage__next a {
	position: relative;
	padding: 0 40px;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
	color: #333;
}

.subpage__next a::after {
	position: absolute;
	top: -9px;
	right: 0;
	font-family: 'Material Symbols Outlined';
	content: '\e5cc';
	color: var(--color-primary);
	font-size: 22px;
}
	
.subpage__next a:hover {
	padding: 0 45px;
}

/* 基本リスト */
.subpage__list {
	list-style: none;
}
.subpage__list-item {
	margin: 0 0 8px 10px;
	padding: 0 0 0 0;
	
	&::before {
		content: "●";
		position: relative;
		top: -4px;
		margin: 0 8px 0 0;
		font-size: 8px;
		color: var(--color-primary);
	}
}
.subpage__list + .section__h3 {
	margin-top: 60px;
}

/* 基本DTDD */
.subpage__dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;

	@media (max-width: 1200px) {
		flex-direction: column;
	}
}
.subpage__dl dt {
	position: relative;
	flex: 0 0 140px;
	padding: 12px;
	border-bottom: 1px dotted #DADADA;
	font-weight: bold;
	color: #333;

	@media (max-width: 1200px) {
		flex: 1;
		padding: 12px 0 0 0;
		border-bottom: none;
	}
}
.subpage__dl dd {
	flex: 1 1 calc(100% - 140px);
	min-width: 0;
	margin: 0;
	padding: 12px;
	border-bottom: 1px dotted #DADADA;

	@media (max-width: 1200px) {
		flex: 1;
		padding: 0 0 12px 16px;
	}
}

/* 基本DTDDの直後の文章 */
.subpage__dl + .section__text {
	margin-top: 30px;
}

/* ちょっと広いDT */
.subpage__dl--wide dt {
	flex: 0 0 240px;

	@media (max-width: 1200px) {
		flex: 1;
	}
}
.subpage__dl--wide dd {
	flex: 1 1 calc(100% - 240px);

	@media (max-width: 1200px) {
		flex: 1;
	}
}


.dotted-line-btm {
	background-image: linear-gradient(to right, #DADADA 20%, rgba(255, 255, 255, 0) 0%);
	background-size: 5px 1px;
	background-repeat: repeat-x;
	background-position: bottom;
}


/* ==========================================================================
	4. 各ページCSS
   ========================================================================== */

/**** メインビジュアル ****/

/* 全体設定 */
.topvisual {
	position: relative;
	overflow: hidden;
	height: 730px;
	
	@media (max-width: 1200px) {
		height: 400px;
		margin: 0 0 40px 0;
			
		&::before {
			top: 0;
			right: 100px;
		}
	}
	@media (max-width: 768px) {
		height: 240px;
		margin: 0 0 24px 0;
			
		&::before {
			right: 50px;
		}
	}
}
.topvisual::before {
	content: "";
	position: absolute;
	top: 80px;
	right: 200px;
	width: 90%;
	height: 80%;
	border: 1px solid #D3E7F9;
	border-radius: 50%;
	pointer-events: none;
}

/* キャッチコピー */
.topvisual__title {
  margin: 60px auto 0 auto;
  transform: translateX(-40px);
  writing-mode: vertical-rl;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.45);
  font-size: 45px;
  font-family: "Hannari", serif;
  letter-spacing: 0.15em;
  line-height: 1.8;
	
	@media (max-width: 1200px) {
		margin: 0 auto;
		transform: translateX(0);
		font-size: 38px;
		line-height: 1.5;
	}
	@media (max-width: 768px) {
		font-size: 22px;
	}
}
.topvisual__space {
  margin-top: 260px;

	@media (max-width: 1200px) {
		margin-top: 60px;
	}
}

/* メインフォト */
.topvisual__photo {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.topvisual__photo img {
	position: absolute;
	border-radius: 50%;
	object-fit: cover;
	
	@media (max-width: 1200px) {
		height: auto;
		aspect-ratio: 1 / 1;
	}
}

.topvisual__photo1 {
	width: 290px;
	height: 290px;
	top: 45px;
	left: 50px;
	
	@media (max-width: 1200px) {
		width: 220px;
		top: 0;
		left: 80px;
	}
	@media (max-width: 768px) {
		width: 26%;
		left: 30px;
	}
}
.topvisual__photo2 {
	width: 380px;
	top: 130px;
	right: 50px;
	
	@media (max-width: 1200px) {
		width: 300px;
		top: 30px;
		right: 40px;
	}
	@media (max-width: 768px) {
		width: 35%;
		right: 10px;
	}
}
.topvisual__photo3 {
	width: 200px;
	height: 200px;
	top: 490px;
	left: 170px;
	
	@media (max-width: 1200px) {
		width: 180px;
		top: auto;
		bottom: 0;
		left: 25%;
	}
	@media (max-width: 768px) {
		width: 20%;
		left: 15%;
	}
}

/* 満干時間 */
.tidearea {
	position: absolute;
	top: 35px;
	right: 35px;
	font-size: 0.8rem;
	line-height: 1;
	z-index: 1000;
}
.tidearea__title {
	display: block;
	margin: 0 0 8px 0;
	text-align: right;
		
	@media (max-width: 1200px) {
		text-align: center;
	}
}

.tidearea__time {
	display: block;
	margin: 0 0 6px 0;
	text-align: center;
}


.top-tides {
	display: none;

	@media (max-width: 1200px) {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		margin: 16px 40px 0;
		padding: 12px 16px;
		border: 1px solid #d6e8f6;
		border-radius: 4px;
		background: #eaf4fc;
		color: #444;
		font-size: 13px;
		line-height: 1.6;
	}

	@media (max-width: 768px) {
		margin-right: 25px;
		margin-left: 25px;
	}
}

.top-tides__title {
	margin-bottom: 3px;
}

.tide-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-bottom: 6px;
}

.tide-controls [data-tide-date] {
	margin: 0;
	text-align: center;
}

.tide-controls__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: #34546b;
	font: inherit;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
}

.tide-controls__button::before {
	content: '';
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.tide-controls__previous::before {
	transform: rotate(-135deg);
}

.tide-controls__button:focus-visible {
	outline: 2px solid #34546b;
	outline-offset: 2px;
}

.tide-controls__button:disabled {
	opacity: 0.4;
	cursor: default;
}

.tide-controls__previous:disabled {
	visibility: hidden;
}

.tidearea__link {
	display: block;
	margin-top: 8px;
	font-size: 0.75rem;
	line-height: 1.6;
	text-align: center;
}

/**** コンテンツ基本 ****/
.topblock {
	position: relative;
	margin: 0 45px 50px 45px;
	padding: 30px 40px 20px 40px;
	background: #fff;
	border-radius: 4px;
	
	@media (max-width: 1200px) {
		margin: 20px 40px 40px 40px;
		padding: 20px;
		display: flex;
		flex-direction: column;
	}
	@media (max-width: 768px) {
		margin: 20px 25px 40px 25px;
	}
}

/* 見出し */
.topblock__title {
	margin: 0 0 12px 0;
	padding: 0 0 24px 0;
	border-bottom: 1px dotted var(--color-primary);
	font-size: 22px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 2px;
	
	@media (max-width: 1200px) {
		margin: 0 0 8px 0;
	}
}
.topblock__eng {
	display: block;
	margin: 0 0 6px 0;
	font-size: 16px;
	font-family: var(--font-family-serif);
	font-weight: normal;
	color: var(--color-primary);
	
	@media (max-width: 1200px) {
		font-size: 14px;
	}
}

/* 右上リンク */
.topblock__rlink {
	position: absolute;
	top: 54px;
	right: 40px;
	padding: 0 30px 0 0;
	font-size: 14px;
	font-weight: 700;
	text-align: right;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
	color: #333;
	
	@media (max-width: 1200px) {
		top: 40px;
		right: 20px;
	}
	@media (max-width: 768px) {
		position: relative;
		top: -10px;
		right: auto;
		align-self: flex-end;
		margin: -44px 0 20px 0;
	}
}
.topblock__rlink::after {
	position: absolute;
	top: -3px;
	right: 0;
	font-family: 'Material Symbols Outlined';
	content: '\e5cc';
	color: var(--color-primary);
	font-size: 18px;
	
}
	
.topblock__rlink:hover {
	right: 34px;
	@media (max-width: 1200px) {
		right:20px;
	}
}


/**** 最新情報 一覧 ****/
.news__date {
	text-align: right;
	font-size: 0.9rem;
}

.news__status {
	display: inline-block;
	margin-right: 0.6em;
	padding: 2px 8px;
	border-radius: 2px;
	background: #e7e7e7;
	color: #555;
	font-size: 12px;
	font-weight: bold;
	vertical-align: middle;
}

.news__ended-notice {
	margin: 20px 0;
	padding: 14px 18px;
	border-left: 3px solid #888;
	background: #f3f3f3;
	color: #444;
	font-size: 0.95rem;
}

.news__status[hidden],
.news__ended-notice[hidden] {
	display: none;
}

.news__details {
	display: grid;
	grid-template-columns: 5em minmax(0, 1fr);
	width: 90%;
	margin: 30px auto 40px auto;
}
.news__details--wide-label {
	grid-template-columns: 8em minmax(0, 1fr);
}
.news__details dt,
.news__details dd {
	padding: 14px 10px;
	border-bottom: 1px solid #ddd;
	font-size: 0.95rem;
}
.news__details dt {
	font-weight: bold;
}
.news__details dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}
@media (max-width: 768px) {
	.news__details {
		grid-template-columns: minmax(0, 1fr);
	}
	.news__details dt {
		padding: 16px 10px 4px;
		border-bottom: none;
	}
	.news__details dd {
		padding: 0 10px 16px;
	}
}

.news__list {
	font-size: 16px;
}
.news__list a {
	display: block;
	width: 100%;
	padding: 14px 0;
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
	color: #333;
}

.news__item {
	border-bottom: 1px dotted #ddd;
}
.news__item:last-child {
	border: none;
}

.news__item a::before {
	position: relative;
	top: 3px;
	font-family: 'Material Symbols Outlined';
	content: '\e5df';
	color: var(--color-primary);
}
.news__item a:hover {
	background: var(--color-bg-base);
}

.news__item time {
	display: inline-block;
	margin: 0 10px 4px 0;
	font-weight: bold;
}

.news__cat {
	padding: 2px 10px;
	background: #eee;
	border-radius: 2px;
	font-size: 12px;
}
.news__cat--event {
	background: #fff4d6;
	color: #76551d;
}
.news__cat--notice {
	background: #e9f1fa;
	color: #2b587d;
}
.news__title {
	margin: 2px 0 0 18px;
}


/**** TOP 谷津干潟とは ****/
.topabout {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	width: 100%;
	margin: 24px 0 0 0;

	@media (max-width: 768px) {
		flex-direction: column;
		gap: 0;
	}
}

/* 文章と写真 */
.topabout__text {
	flex: 1;
	min-width: 0;
}
.topabout__text p {
	margin: 0 0 24px 0;
	vertical-align: top;
}

.topabout__lead {
	margin: 0 0 24px 0;
	font-weight: bold;
}

.topabout__img {
	flex: 0 0 260px;
	width: 260px;
	margin: 0 0 30px 0;
	
	@media (max-width: 768px) {
		flex:none;
		width:100%;
		margin: 0 0 20px 0;
		text-align:center;
	}
}
.topabout__img img {
	width: 100%;
	border-radius: 10px;
	
	@media (max-width: 768px) {
		aspect-ratio: 3 / 1;
		object-fit: cover;
		object-position: center 40%;
	}
}

/* 下層リンク */
.topabout__link {
	display: flex;
	gap: 35px;
	width: 100%;
	margin: 20px 0 5px 0;

	@media (max-width: 768px) {
		flex-direction: column;
		gap: 18px;
		margin: 20px auto 10px auto;
	}
}

.topabout__link li {
	display: block;
	flex: 1;
	min-width: 0;
	border-radius: 3px;
	border: 1px solid #A0D6FF;
	background-color: #FFF;
	background-image: url(../images/bg_btn_wave.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: bottom;
	text-align: center;
	line-height: 1;
	font-weight: bold;
	color: var(--color-primary);
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.topabout__link li:hover {
	background: var(--color-bg-base);
}
	
.topabout__link a {
	display: block;
	padding: 20px 0;
	
	@media (max-width: 768px) {
		padding: 26px 0;
	}
}


/**** TOP 観察・散策ガイド ****/
.topguide__text {
	margin: 24px 0 24px 0;
}

.topguide__first-visit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 30px;
	padding: 20px 24px;
	border: 1px solid #79b7e2;
	border-radius: 6px;
	background: #edf7fe;
	color: var(--color-primary);
	font-weight: bold;
	transition: background-color 0.2s;

	&:hover {
		background: #dceffc;
	}

	&:focus-visible {
		outline: 2px solid var(--color-primary);
		outline-offset: 3px;
	}

	@media (max-width: 768px) {
		margin-bottom: 24px;
		padding: 16px 20px;
	}
}

/* カード全体 */
.topguide__card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	width: 100%;
	margin: auto;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* 各カード：写真の余白に文字を直接重ねる */
.topguide__item {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	min-width: 0;
	height: 160px;
	padding: 24px;
	border-radius: 6px;
	background: #ccc;
	text-align: left;

	@media (max-width: 768px) {
		height: clamp(120px, 45vw, 120px);
		padding: 20px;
	}
}

.topguide__item:nth-child(1) {
	background: url(../images/top_guide_point.jpg) left center / cover no-repeat;
}

.topguide__item:nth-child(2) {
	background: url(../images/living_daisagi.jpg) center top / cover no-repeat;
}

.topguide__item:nth-child(3) {
	background: url(../images/point_east_02.jpg) center / cover no-repeat;
}

.topguide__item:nth-child(4) {
	background: url(../images/rose-garden-spring-202405.jpg) center / cover no-repeat;
}

.topguide__link {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;

	@media (max-width: 768px) {
		font-size: 16px;
	}
}

.topguide__item:nth-child(1) .topguide__link,
.topguide__item:nth-child(4) .topguide__link {
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.45);
}

/* カード全体のクリック領域とキーボードフォーカス */
.topguide__link::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.topguide__item:hover .topguide__link {
	text-decoration-line: underline;
}

.topguide__link:focus-visible {
	outline: none;
	text-decoration-line: underline;
}

.topguide__link:focus-visible::after {
	outline: 3px solid #1769A3;
	outline-offset: 4px;
}


/**** TOP アクセス ****/
.topaccess {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	width: 100%;
	margin: 16px 0 0 0;

	@media (max-width: 768px) {
		flex-direction: column;
		gap: 20px;
	}
}

/* 左側の文章 */
.topaccess__text {
	flex: 1;
	min-width: 0;
}

.topaccess__title {
	margin: 0 0 6px 0;
	font-size: 18px;
	font-weight: 700;
}
.topaccess__title svg {
	position: relative;
	top: 6px;
	display: inline;
}

.topaccess__list {
	margin: 0 0 30px 0;
	list-style: disc;
}
.topaccess__list:last-of-type {
	margin: 0;
}
.topaccess__item {
	margin: 0 0 0 30px;
}

/* マップ側 */
.topaccess__map {
	flex: 0 0 320px;
	width: 320px;
	margin: 16px 0 0 0;
	
	@media (max-width: 1200px) {
		width: 100%;
	}
	@media (max-width: 768px) {
		flex: auto;
	}
}

.topaccess__map iframe {
	width: 100%;
	border-radius: 10px;
	
	@media (max-width: 768px) {
		height: 180px;
	}
}


/**** 歴史 ****/
.history {
	position: relative;
	padding: 0 0 30px 30px;
	border-left: 1px solid #D9EAF8;
}

.history::before {
	position: absolute;
	top: 1px;
	left: 0;
	width: 10px;
	height: 10px;
	transform: translateX(-50%);
	border-radius: 50%;
	background-color: #D9EAF8;
	content: "";
}

/* 見出し */
.history .section__h2 {
	position: relative;
	margin: 0 0 20px 0;
	line-height: 1;
	font-size: 22px;
	
	@media (max-width: 1200px) {
		line-height: 1.35;
	}
}
.history .section__h2 span {
	display: block;
	margin: 0 0 8px 0;
	line-height: 1;
	font-size: 12px;
	font-weight: normal;
	color: #9AA6B2;
}

/* 歴史内画像 */
.history__img {
	margin: 0 8% 30px 8%;
	text-align: center;
	
	@media (max-width: 768px) {
		margin: 0 0 30px 0;
	}
}
.history__img img {
	display: inline;
	border-radius: 4px;
}

.history__img .note {
	display: block;
	text-align: right;
	font-size: 0.8rem;
	color: #999;
}

/* 参考資料 */
.history__aside {
	border-left: none;
	border-top: 1px dotted #ddd;
	margin: 50px 0 60px 0;
	padding: 50px 0 0 0;
	
	@media (max-width: 768px) {
		margin: 50px 0 0 0;
	}
}

.history__aside li {
	margin: 0 0 0 30px;
	list-style: disc;
}


/**** 保全・ルール ****/
.point {
	display: flex;
	gap: 40px;
	width: 100%;

	@media (max-width: 768px) {
		flex-direction: column;
		gap: 20px;
	}
}
.point__img {
	flex: 1;
	min-width: 0;
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: contain;

	@media (max-width: 768px) {
		object-fit: cover;
		aspect-ratio: 7 / 3;
	}
}

.point.two {
	width: 66%;
	margin-left: auto;
	margin-right: auto;
	
	@media (max-width: 768px) {
		width: 100%;
	}
}

.rulelist {
	margin-top: 2rem;
	list-style: none; padding: 0;
}
.rulelist__item {
	margin-bottom: 1.5rem;

	& strong {
		color: #006CA2;
		display: block;
		margin-bottom: 0.5rem;
	}
}


/**** 周辺のお店 ****/

/* カテゴリへのアンカー */
.shopnavi {
	display: flex;
	width: 100%;
}
.shopnavi a {
	display: flex;
	flex: 1;
	justify-content: center;
    align-items: center;
	margin: 0 0 30px 0;
	padding: 10px 0;
	border: 1px solid #eee;
	font-size: 14px;
	
	&::after {
		position: relative;
		left: 6px;
		font-family: 'Material Symbols Outlined';
		content: '\f4b6';
		font-size: 12px;
		color: var(--color-primary);
	}
}


/* お店一覧用Flex */
.subpage__flexshop {
	display: flex;
	flex-direction: row;
	gap: 40px;
	margin: 0 0 50px 0;

	& .subpage__flexbox:nth-child(1) {
		flex: 0 0 40%;
	}
	& .subpage__flexbox:nth-child(2) {
		flex: 1;
	}

	@media (max-width: 768px) {
		flex-direction: column;
		gap: 20px;


	}
}

.subpage__flexshop .section__h3 {
	margin: 0 0 20px 0;
	font-size: 20px;

}
.subpage__flexshop .section__h4 {
	@media (max-width: 768px) {
		margin: 0 0 10px 0;
	}
}


/**** 谷津干潟の生きもの ****/
.living {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.living_item {
 	width: calc((100% - 40px) / 3);
	margin-bottom: 20px;
	
	@media (max-width: 768px) {
		width: calc((100% - 20px) / 2);
		margin: 0;
	}
}
.living_item img {
	border-radius: 4px;
}
.living_item span,
.living_item figcaption {
	padding: 0 0 0 4px;
	font-size: 0.9rem;
}

.living_item figcaption {
	display: inline;
}

.living_description {
	margin: 6px 0 0;
	padding: 0 4px;
	font-size: 0.85rem;
	line-height: 1.8;
	color: #555;
}


/**** アクセス ****/
.section__h2 svg {
	position: relative;
	top: 5px;
	display: inline;
}


/**** お問い合わせ ****/
.formbox {
	position: relative;
	margin: 0 45px 70px 45px;
	padding: 30px 20%;
	background: #fff;
	border-radius: 4px;

	@media (max-width: 1200px) {
		padding: 30px 10%;
	}
}

.formbox .catch {
	margin: 20px 0 40px 0;
	font-size: 14px;
}

.form__text {
	font-size: 14px;
}
.form__text span {
	color: red;
}

.form__item {
	display: block;
	padding: 20px 0 20px 0;

	& strong {
		display: block;
		margin: 0 0 8px 0;
		font-weight: bold;
	}

	& span {
		color: red;
	}
	
	input, textarea {
		width: 100%;
		padding: 5px 10px;
		background: #f5f5f5;
		border: 1px solid #ddd;
		border-radius: 4px;
	}
}

.form-submit {
	text-align: center;

	& button {
		margin: 40px 0 40px 0;
		padding: 12px 80px;
		background: var(--color-primary);
		border: 1px solid var(--color-border);
		border-radius: 6px;
		color: #fff;
	}
}


/* ハンバーガーメニュー */

.gnavi {
	@media (max-width: 1200px) {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100dvh;
		background: #fff;
		visibility: hidden;
		pointer-events: none;
		transition:
			right 0.5s cubic-bezier(0.25, 1, 0.5, 1),
			visibility 0s linear 0.5s;
		overflow-y: auto;
	}
}

.sidebar.is-open .gnavi {
	@media (max-width: 1200px) {
		right: 0;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}
}

.gnavi .tidearea {
	@media (max-width: 1200px) {
		position: relative;
		top: 0;
		left: 0;
		padding: 30px 0 60px 0;
		z-index: 100;
		text-align: center;
	}
}

.gnavi .tidearea__time {
	@media (max-width: 1200px) {
		text-align: center;
	}
}

.sidebar__toggle {
	@media (max-width: 1200px) {
		position: fixed;
		top: 0;
		right: 0;
		width: 70px;
		height: 70px;
		background: #D6E8F6;
		border: none;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 8px;
		z-index: 1001;
	}

	@media (max-width: 768px) {
		width: 50px;
		height: 50px;
		gap: 6px;
	}
}

.sidebar__toggle span {
	@media (max-width: 1200px) {
		width: 40px;
		height: 2px;
		background-color: #333;
		transition: all 0.3s ease;
	}

	@media (max-width: 768px) {
		display: block;
		width: 28px;
	}
}

.sidebar.is-open .sidebar__toggle span:nth-child(1) {
	@media (max-width: 1200px) {
		transform: translateY(12px) rotate(45deg);
	}

	@media (max-width: 768px) {
		transform: translateY(8px) rotate(45deg);
	}
}

.sidebar.is-open .sidebar__toggle span:nth-child(2) {
	@media (max-width: 1200px) {
		opacity: 0;
	}

}

.sidebar.is-open .sidebar__toggle span:nth-child(3) {
	@media (max-width: 1200px) {
		transform: translateY(-8px) rotate(-45deg);
	}

}


@media (max-width: 768px) {
	.is-instagram .top-tides {
		margin-right: 16px;
		margin-left: 16px;
		padding-right: 8px;
		padding-left: 8px;
	}
	.is-instagram .top-tides__title {
		font-size: 12px;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	.is-instagram .top-tides .tide-controls {
		gap: 2px;
	}
	.is-instagram .top-tides .tide-controls__button {
		width: 24px;
	}
	.is-instagram .topvisual__title {
		font-size: 16px !important;
	}
	
	.is-instagram .topblock__title,
	.is-instagram .partner__title {
		font-size: 14px !important;
	}
	
	.is-instagram .topblock__eng,
	.is-instagram .partner__eng {
		font-size: 11px !important;
	}
	
	.is-instagram .topblock__rlink {
		top: -45px;
		right: 0;
		margin: -10px 0 0 0;
		font-size: 10px;
	}
	.is-instagram .topblock__rlink::after {
		top: -5px;
		font-size: 14px;
	}
	
	.is-instagram .news__list {
    	font-size: 12px;
	}
	
	.is-instagram .news__cat {
		display: none;
	}
	
	.is-instagram .topabout__text {
		font-size: 12px;
	}
	.is-instagram .topabout__lead {
		font-size: 12px;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	
	.is-instagram .topabout__link a {
		font-size: 12px;
	}
	
	.is-instagram .topguide__text {
		font-size: 12px;
	}
	.is-instagram .topguide__first-visit,
	.is-instagram .topguide__link {
		font-size: 12px;
	}
	.is-instagram .topaccess__text,
	.is-instagram .topaccess__title {
		font-size: 12px;
	}
	.is-instagram .partner__text {
		font-size: 12px;
	}
	.is-instagram .partner__item.looking {
		font-size: 14px;
	}

	.is-instagram .footer__list {
		font-size: 12px;
	}
	.is-instagram .pagetitle {
		font-size: 26px;
	}

	/* 下層共通：トップページの本文と同じサイズを基準にする */
	.is-instagram .content,
	.is-instagram .formbox {
		font-size: 12px;
	}
	.is-instagram .pagetitle__eng {
		font-size: 14px;
	}
	.is-instagram .subnavi__item,
	.is-instagram .shopnavi a {
		font-size: 12px;
	}
	.is-instagram .section__h2 {
		font-size: 16px;
	}
	.is-instagram .section__h3 {
		font-size: 14px;
	}
	.is-instagram .section__h4 {
		font-size: 12px;
	}
	.is-instagram .section__text.small {
		font-size: 11px;
	}

	/* 歴史・生きもの：個別の文字サイズ指定を上書き */
	.is-instagram .history .section__h2 {
		font-size: 16px;
	}
	.is-instagram .history .section__h2 span,
	.is-instagram .history__img .note {
		font-size: 11px;
	}
	.is-instagram .living_item span,
	.is-instagram .living_item figcaption {
		font-size: 12px;
	}

	/* ニュース詳細 */
	.is-instagram .news__date,
	.is-instagram .news__ended-notice,
	.is-instagram .news__details dt,
	.is-instagram .news__details dd {
		font-size: 12px;
	}
	.is-instagram .news__status {
		font-size: 10px;
	}

	.is-instagram .walk-summary__time {
		font-size: 16px;
	}
	.is-instagram .walk-map figcaption,
	.is-instagram .walk-note {
		font-size: 11px;
	}

	/* お問い合わせ：説明・確認画面と入力欄を分けて指定 */
	.is-instagram .formbox .catch,
	.is-instagram .form__text,
	.is-instagram .form-steps,
	.is-instagram .form-errors {
		font-size: 12px;
	}
	.is-instagram .form__item input,
	.is-instagram .form__item textarea,
	.is-instagram .form__item select {
		font-size: 16px;
	}
	.is-instagram .form-submit button {
		font-size: 14px;
	}
}

.news-pagination {
 display: flex;
 justify-content: center;
 gap: 12px;
 margin: 40px 0;
}
.news-pagination a,
.news-pagination span {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 44px;
 min-height: 44px;
 border: 1px solid var(--color-primary);
 border-radius: 4px;
}
.news-pagination [aria-current="page"] {
 background: var(--color-primary);
 color: #fff;
}
