@charset "utf-8";

/* 屋形船比較ネット リニューアル（sp2.css 上書き・補助） */
.renewal-site {
	--color-navy: #1a3a5c;
	--color-blue: #2c5282;
	--color-border: #dce3ec;
	--header-height: 49px;
	overflow-x: hidden;
	padding-top: var(--header-height);
}

.renewal-site img {
	max-width: 100%;
	height: auto;
}

/* ヘッダー（sp2.css の header 指定を上書き） */
.renewal-site header.site-header {
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.renewal-site .site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 2px 8px rgba(26, 58, 92, 0.06);
}

.renewal-site .site-header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
}

.renewal-site .site-header__logo {
	line-height: 0;
}

.renewal-site .site-header__logo img {
	max-height: 36px;
	width: auto;
	display: block;
}

.renewal-site .site-nav-toggle {
	display: flex;
	flex-shrink: 0;
	margin-left: auto;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.renewal-site .site-nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: #111;
	transition: transform 0.2s ease, opacity 0.2s ease;
	transform-origin: center;
}

.renewal-site .site-nav-toggle.is-active span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.renewal-site .site-nav-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.renewal-site .site-nav-toggle.is-active span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.renewal-site .site-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	z-index: 1001;
}

.renewal-site .site-nav.is-open {
	display: block;
}

.renewal-site .site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.renewal-site .site-nav__list a {
	display: block;
	padding: 6px 4px;
	color: #111;
	font-family: Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.4;
}

.renewal-site .site-nav__list a:hover {
	color: var(--color-navy);
}

.renewal-site .site-nav__cta {
	padding: 6px 14px !important;
	background: var(--color-navy);
	color: #fff !important;
	font-weight: bold;
	border-radius: 4px;
}

.renewal-site .site-nav__cta:hover {
	background: var(--color-blue);
	color: #fff !important;
}

@media (min-width: 768px) {
	.renewal-site {
		--header-height: 57px;
	}

	.renewal-site .site-header__inner {
		padding: 8px 16px;
	}

	.renewal-site .site-header__logo img {
		max-height: 40px;
	}

	.renewal-site .site-nav-toggle {
		display: none;
		margin-left: 0;
	}

	.renewal-site .site-nav {
		display: block;
		position: static;
		border: none;
		box-shadow: none;
	}
}

/* ヒーロー：画面幅いっぱい（sp2.css の #main-image 固定高さを上書き） */
.renewal-site #main-image,
.renewal-site #main-image.hero-full,
.renewal-site .hero-full {
	width: 100%;
	max-width: none;
	height: auto;
	padding: 0;
	margin: 0;
}

.renewal-site .hero-full picture {
	display: block;
	width: 100%;
}

.renewal-site .hero-full img {
	width: 100%;
	max-width: none;
	height: auto;
	display: block;
}

/* SEOイントロ（ヒーロー直下） */
.renewal-site .seo-intro {
	padding: 24px 0 8px;
	background: #f7f9fc;
	border-bottom: 1px solid var(--color-border);
}

.renewal-site .seo-intro__title {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-navy);
	text-align: center;
}

.renewal-site .seo-intro p {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.8;
	color: #333;
	text-align: center;
}

.renewal-site .seo-intro p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.renewal-site .seo-intro {
		padding: 16px 0 8px;
	}

	.renewal-site .seo-intro__title {
		font-size: 1.05rem;
	}

	.renewal-site .seo-intro p {
		font-size: 0.875rem;
		text-align: left;
	}
}

/* コンテンツ幅 */
.renewal-site div.contents,
.renewal-site div.contents.w1200 {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.renewal-site div.contents.w1200 {
	max-width: 1200px;
}

/* 見出し画像 */
.renewal-site h2 img,
.renewal-site h3 img {
	max-width: 100%;
	height: auto;
}

/* 理由セクション ②③ */
.renewal-site #reason .reason-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.renewal-site #reason .reason-block__img {
	width: 100%;
	max-width: 400px;
}

.renewal-site #reason .reason-block__img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.renewal-site #reason .reason-block__body {
	width: 100%;
}

.renewal-site #reason .reason-block__body h3 {
	margin: 0 0 24px;
}

.renewal-site #reason .reason-block__body h3 img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
}

.renewal-site #reason .reason-block__body p {
	margin: 0;
}

@media (min-width: 768px) {
	.renewal-site #reason .reason-block {
		flex-direction: row;
		align-items: flex-start;
		gap: 40px;
	}

	.renewal-site #reason .reason-block--reverse {
		flex-direction: row-reverse;
	}

	.renewal-site #reason .reason-block__img {
		flex: 0 0 400px;
		width: 400px;
		max-width: none;
	}

	.renewal-site #reason .reason-block__body {
		flex: 1;
		min-width: 0;
		padding-top: 4px;
	}
}

/* コース一覧 */
.renewal-site #reason .course-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.renewal-site #reason .course-item {
	flex: 1 1 280px;
}

/* コースカードスライダー（スマホ） */
.renewal-site .course-slider__dots {
	display: none;
}

@media (max-width: 767px) {
	.renewal-site .course-slider {
		margin: 0 -16px;
	}

	.renewal-site .course-slider__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 4px 16px 8px;
	}

	.renewal-site .course-slider__viewport::-webkit-scrollbar {
		display: none;
	}

	.renewal-site #reason .course-list {
		flex-wrap: nowrap;
		gap: 12px;
		margin-bottom: 0;
	}

	.renewal-site #reason .course-item {
		flex: 0 0 88%;
		max-width: 88%;
		scroll-snap-align: center;
		scroll-snap-stop: always;
		border-radius: 8px;
		box-shadow: 0 2px 12px rgba(26, 58, 92, 0.1);
	}

	.renewal-site .course-slider__dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 16px;
		padding: 0 16px;
	}

	.renewal-site .course-slider__dots button {
		width: 10px;
		height: 10px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: #ccc;
		cursor: pointer;
	}

	.renewal-site .course-slider__dots button.is-active {
		background: var(--color-navy);
	}
}

/* 船内設備スライドショー */
.renewal-site #system {
	padding: 60px 0;
	overflow: hidden;
}

.renewal-site #system .contents {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.renewal-site .system-slider {
	position: relative;
	width: 100%;
}

.renewal-site .system-slider__slides {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
	aspect-ratio: 1000 / 660;
	background: #e8ecf0;
}

.renewal-site .system-slider__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
	transition: opacity 0.9s ease-in-out;
	pointer-events: none;
}

.renewal-site .system-slider__slide.is-active {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}

.renewal-site .system-slider__slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.renewal-site .system-slider__prev,
.renewal-site .system-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(26, 58, 92, 0.75);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	padding: 0;
}

.renewal-site .system-slider__prev {
	left: 8px;
}

.renewal-site .system-slider__next {
	right: 8px;
}

.renewal-site .system-slider__prev:hover,
.renewal-site .system-slider__next:hover {
	background: rgba(26, 58, 92, 0.9);
}

.renewal-site .system-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.renewal-site .system-slider__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
}

.renewal-site .system-slider__dots button.is-active {
	background: var(--color-navy);
}

@media (min-width: 768px) {
	.renewal-site #system .contents {
		padding: 0;
	}
}

/* 問い合わせボタン（画像維持） */
.renewal-site .inquery-text,
.renewal-site .inquery-text02 {
	width: 100% !important;
	max-width: 980px;
	height: 81px !important;
	margin: 0 auto 10px !important;
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

.renewal-site .inquery a {
	display: block;
	width: 100% !important;
	max-width: 809px;
	margin: 0 auto;
}

.renewal-site .inquery-btn {
	width: 100% !important;
	max-width: 809px;
	height: 118px !important;
	margin: 0 auto;
	position: relative;
	isolation: isolate;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

.renewal-site .inquery .inquery-btn .hand {
	display: block;
	z-index: -1;
}

/* フォーム（シンプル） */
.renewal-site #form {
	font-family: Meiryo, "メイリオ", sans-serif;
	margin: 48px 0 80px;
}

.renewal-site #form .contents {
	max-width: 560px;
	padding: 0 16px;
}

.renewal-site #form .form_title {
	margin: 0 0 6px;
	text-align: center;
	font-size: 1.15em;
	font-weight: bold;
	color: var(--color-navy);
}

.renewal-site #form .form_step {
	margin: 0 0 28px;
	text-align: center;
	font-size: 13px;
	color: #999;
	letter-spacing: 0.05em;
}

.renewal-site #form .form_step span {
	color: var(--color-navy);
	font-weight: bold;
}

.renewal-site #form dl {
	border: none;
	overflow: visible;
	margin: 0 0 24px;
}

.renewal-site #form dt,
.renewal-site #form dd {
	float: none;
	width: 100% !important;
	height: auto !important;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 14px !important;
	line-height: 1.5;
	box-sizing: border-box;
	display: block;
	background: transparent;
}

.renewal-site #form dt {
	margin-bottom: 6px;
	font-weight: bold;
	color: #333;
}

.renewal-site #form dd {
	margin-bottom: 18px;
}

.renewal-site #form dt span.required {
	text-indent: -9999px;
	display: inline-block;
	width: 36px;
	height: 18px;
	vertical-align: middle;
	margin-left: 6px;
	background: url(../img/img_required2.webp) center center / contain no-repeat;
}

.renewal-site #form input[type="text"],
.renewal-site #form input[type="tel"],
.renewal-site #form input[type="email"],
.renewal-site #form input.form-datepicker,
.renewal-site #form select,
.renewal-site #form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	padding: 0 14px;
	background: #fff;
	transition: border-color 0.2s;
}

.renewal-site #form input[type="text"]:focus,
.renewal-site #form input[type="tel"]:focus,
.renewal-site #form input[type="email"]:focus,
.renewal-site #form input.form-datepicker:focus,
.renewal-site #form select:focus,
.renewal-site #form textarea:focus {
	border-color: var(--color-navy);
	outline: none;
}

.renewal-site #form input[type="text"],
.renewal-site #form input[type="tel"],
.renewal-site #form input[type="email"],
.renewal-site #form input.form-datepicker,
.renewal-site #form select {
	height: 44px;
}

.renewal-site #form select.type {
	width: 100% !important;
	appearance: none;
	background: #fff url(../img/select-bg.webp) right 12px center / 12px no-repeat;
	padding-right: 36px;
}

.renewal-site #form input[name="zip31"],
.renewal-site #form input[name="zip32"] {
	width: 90px !important;
	display: inline-block;
}

.renewal-site #form .form-datepicker {
	cursor: pointer;
	background-color: #fff;
}

.flatpickr-calendar {
	z-index: 1100 !important;
	font-family: Meiryo, "メイリオ", sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
	background: var(--color-navy);
	border-color: var(--color-navy);
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
	fill: var(--color-navy);
}

.renewal-site #form textarea {
	height: 110px;
	padding: 10px 14px;
	resize: vertical;
	line-height: 1.6;
}

.renewal-site #form .cap {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: normal;
	color: #888;
}

.renewal-site #form label {
	margin-right: 20px;
	font-weight: normal;
}

.renewal-site #form .caution-text {
	padding: 12px 14px;
	background: #f7f7f7;
	border-radius: 6px;
	font-size: 11px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 20px;
}

.renewal-site #form .caution-text a {
	color: var(--color-navy);
}

.renewal-site #form .form-actions {
	text-align: center;
	margin-top: 8px;
}

.renewal-site #form input[type="submit"],
.renewal-site #form button[type="button"] {
	display: inline-block;
	width: auto !important;
	min-width: 200px;
	max-width: 280px;
	height: 48px !important;
	margin: 8px auto;
	padding: 0 24px;
	border: none;
	border-radius: 4px;
	background: var(--color-navy) !important;
	background-image: none !important;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	text-indent: 0 !important;
	line-height: 48px;
	-webkit-appearance: none;
	appearance: none;
}

.renewal-site #form button[type="button"] span {
	color: #fff;
}

.renewal-site #form input[type="submit"]:hover,
.renewal-site #form button[type="button"]:hover {
	background: var(--color-blue) !important;
	opacity: 1;
}

.renewal-site #form p.copy {
	font-size: 13px;
	text-align: center;
	color: #666;
}

@media (min-width: 768px) {
	.renewal-site #reason .course-item {
		flex: 1 1 calc(33.333% - 16px);
	}
}

/* フッター */
.renewal-site footer.site-footer {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	padding: 32px 0 24px !important;
	background: var(--color-navy) !important;
	overflow: visible;
}

.renewal-site .site-footer {
	background: var(--color-navy);
	color: #fff;
	margin-top: 40px;
}

.renewal-site .site-footer__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px 24px;
	text-align: center;
}

.renewal-site .site-footer__brand img {
	max-height: 48px;
	margin-bottom: 16px;
	filter: brightness(0) invert(1);
	opacity: 0.9;
}

.renewal-site .site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	margin-bottom: 16px;
}

.renewal-site .site-footer__nav a {
	color: #fff;
	font-size: 13px;
	text-decoration: none;
}

.renewal-site .site-footer__copy {
	margin: 0 auto;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-family: Meiryo, "メイリオ", sans-serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	display: block;
	width: 100%;
	text-align: center;
	visibility: visible;
}

/* 旧フッター非表示 */
.renewal-site footer:not(.site-footer) {
	display: none;
}

/* トップへ戻る（スマホ） */
.renewal-site .pagetop {
	display: none;
}

@media (max-width: 767px) {
	.renewal-site .pagetop {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		right: 12px;
		bottom: 12px;
		z-index: 900;
		width: 48px;
		height: 48px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: var(--color-navy);
		color: #fff;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
		cursor: pointer;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.renewal-site .pagetop__icon {
		display: block;
	}

	.renewal-site .pagetop.is-visible {
		opacity: 1;
		visibility: visible;
	}
}

/* スマートフォン */
@media (max-width: 767px) {
	.renewal-site .mb90 {
		margin-bottom: 36px !important;
	}

	.renewal-site .mb80 {
		margin-bottom: 36px !important;
	}

	.renewal-site .mb50 {
		margin-bottom: 24px !important;
	}

	.renewal-site .mb30 {
		margin-bottom: 16px !important;
	}

	.renewal-site #caution {
		padding: 32px 0 40px;
	}

	.renewal-site #reason {
		padding: 32px 0 40px;
	}

	.renewal-site #system {
		padding: 32px 0 40px;
	}

	.renewal-site #form {
		margin: 52px 0 48px;
	}

	.renewal-site .site-nav__list {
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0;
	}

	.renewal-site .site-nav__list a {
		padding: 12px 20px;
		border-bottom: 1px solid var(--color-border);
		color: #111;
		font-size: 15px;
	}

	.renewal-site .site-nav__cta {
		margin: 8px 16px;
		text-align: center;
		color: #fff !important;
	}

	.renewal-site #reason .reason-block {
		flex-direction: column;
		gap: 16px;
	}

	.renewal-site #reason .reason-block--reverse {
		flex-direction: column;
	}

	.renewal-site #reason .reason-block__img {
		max-width: 400px;
		margin: 0 auto;
	}

	.renewal-site #system .contents {
		padding: 0 16px;
	}

	.renewal-site .system-slider__prev,
	.renewal-site .system-slider__next {
		width: 32px;
		height: 32px;
		font-size: 20px;
	}

	.renewal-site .system-slider__slide {
		transition-duration: 1.1s;
	}

	.renewal-site .inquery {
		margin-bottom: 48px;
		padding-bottom: 12px;
	}

	.renewal-site .inquery:has(+ #caution) {
		margin-bottom: 20px;
	}

	.renewal-site .inquery:has(+ #form_top) {
		margin-bottom: 20px;
	}

	.renewal-site .inquery + #caution {
		margin-top: -20px;
		padding-top: 98px;
	}

	.renewal-site #form_top + #form {
		margin-top: -20px;
		padding-top: 98px;
	}

	.renewal-site .inquery-btn .hand {
		right: -20px;
		bottom: -105px;
	}

	.renewal-site .inquery-btn {
		height: 80px !important;
	}
}
