@charset "UTF-8";

html {
	scroll-behavior: smooth;
}

/*=========================================
 CSS INFO
 Description : mobile-checkin css
========================================= */

/* common
========================================= */
#contents {
	width: 100% !important;
}
#pankuzu {
	width: 1004px;
	margin: 0 auto;
}
#ui-datepicker-div{
	z-index: 9999!important;
}
@media (max-width: 767px) {
	#pankuzu{
		width: 100%;
	}
}
@media (min-width: 768px) {
	.totop{
		width: 1004px;
		margin: 0 auto;
	}
}

/* =========================================
 Reset & Base Styles
 ========================================= */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	/* Colors based on Tailwind palette */
	--sky-50: #f0f9ff;
	--sky-100: #e0f2fe;
	--sky-300: #7dd3fc;
	--sky-400: #38bdf8;
	--sky-500: #0ea5e9;
	--sky-600: #0284c7;
	--sky-700: #0369a1;
	--sky-800: #075985;

	--blue-50: #eff6ff;
	
	--pink-400: #f472b6;
	--pink-500: #ec4899;
	--pink-600: #db2777;

	--green-50: #f0fdf4;
	--green-100: #dcfce7;
	--green-500: #22c55e;
	--green-600: #16a34a;

	--orange-50: #fff7ed;
	--orange-500: #f97316;

	--slate-50: #f8fafc;
	--slate-100: #f1f5f9;
	--slate-200: #e2e8f0;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;
	--slate-800: #1e293b;
	--slate-900: #0f172a;

	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-600: #4b5563;
	--gray-700: #374151;

	--red-500: #ef4444;
	--yellow-400: #facc15;
	--yellow-100: #fef9c3;

	--white: #ffffff;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* =========================================
 Layout & Utility Classes
 ========================================= */
.container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1rem;
	padding-left: 1rem;
}
@media (max-width: 767px) {
	.container{
		padding-right: 1.5rem;
		padding-left: 1.5rem;
	}
}
.max-w-3xl { max-width: 48rem; } 
.max-w-4xl { max-width: 56rem; } 
.max-w-5xl { max-width: 64rem; } 
.max-w-6xl { max-width: 72rem; } 

.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.section-padding { padding: 4rem 0; }
.bg-light-blue { background-color: var(--blue-50); }
.bg-light-gray { background-color: var(--slate-50); }

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}
.section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--slate-800);
	margin-bottom: 2rem;
	display: inline-block;
	line-height: 1.4;
}
/* 新しい両サイド線のスタイル */
.section-title.side-lines {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem; /* テキストと線の間の余白 */
	border-bottom: none;
	padding-bottom: 0;
	color: var(--sky-700); /* 画像に合わせた濃いブルー（お好みで調整） */
}

/* 疑似要素で左右の線を作成 */
.section-title.side-lines::before,
.section-title.side-lines::after {
	content: "";
	display: block;
	width: 3rem; /* 線の長さ */
	height: 1px; /* 線の太さ */
	background-color: var(--sky-500); /* 線の色 */
}
.section-desc {
	color: var(--slate-600);
	font-size: 1rem;
	line-height: 1.6;
}
@media (max-width: 767px) {
	.section-title{
		font-size: 1.6rem;
	}
	.section-desc{
		font-size: 1.4rem;
	}
}

/* Responsive Display Utilities */
.hidden { display: none !important; }
@media (min-width: 768px) {
	.md-block { display: block !important; }
	.md-hidden { display: none !important; }
	.section-title { font-size: 1.5rem; }
}

/* =========================================
 Components
 ========================================= */

/* Hero Section */
.hero {
	position: relative;
	overflow: hidden;
	background-color: var(--sky-500); /* 画像読み込み前の予備カラー */
	background-image: url("/img/site/mobile-check-in/main-img.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.hero-bg {
	position: absolute;
	inset: 0;
	opacity: 0.3;
	pointer-events: none;
}
.hero-bg-circle-1 {
	position: absolute;
	top: -6rem;
	right: -6rem;
	width: 24rem;
	height: 24rem;
	background-color: var(--white);
	border-radius: 50%;
	filter: blur(60px);
}
.hero-bg-circle-2 {
	position: absolute;
	bottom: -4rem;
	left: -6rem;
	width: 18rem;
	height: 18rem;
	background-color: var(--sky-300);
	border-radius: 50%;
	filter: blur(60px);
}
.hero-content {
	position: relative;
	padding: 3rem 1rem 6rem;
	text-align: center;
	color: var(--white);
}
@media (min-width: 768px) {
	.hero-content { padding: 9rem 1rem 8rem; }
}
.hero-badges {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 1rem 0.25rem 0.25rem; /* 左側の余白を狭くして白丸をフィットさせる */
	border-radius: 9999px;
	background-color: #0B499D; /* 濃いブルー */
	color: var(--white);
	font-size: 1rem;
	font-weight: 700;
	border: none;
}

.hero-badge i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background-color: var(--white);
	color: #0B499D; /* アイコン色は背景と同じ濃いブルー */
	border-radius: 50%;
	margin-right: 0.4rem;
	font-size: 1rem;
}
.hero-sub-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.2rem;
}
.hero-title {
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}
.hero-title .highlight { 
	color: #FFE600;
	font-weight: 800;
}
.hero-text {
	font-size: 1rem;
	margin-bottom: 2rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}
.hero-image-wrap {
	max-width: 300px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.hero-sub-title { font-size: 1.4rem; }
	.hero-title { font-size: 2.5rem; }
	.hero-text { font-size: 1.125rem; }
	.hero-image-wrap { max-width: 400px; position: absolute; right: 2rem; bottom: -2rem; }
}
@media (max-width: 767px) {
	.hero-badge, .hero-text { font-size: 1rem; }
	.hero-title { font-size: 1.8rem; }
}

/* Search Section */
.search-section {
	position: relative;
	z-index: 20;
	margin-top: -3rem;
	margin-bottom: 6rem;
}
@media (min-width: 768px) {
	.search-section { margin-top: -4rem; }
}
.search-box {
	background-color: var(--white);
	border-radius: 1rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	padding: 1.5rem;
}
@media (min-width: 768px) {
	.search-box { padding: 2rem; }
}
.search-box-title {
	background-color: var(--slate-600);
	color: var(--white);
	font-size: 1.125rem;
	font-weight: 700;
	margin: -1.5rem -1.5rem 1.5rem -1.5rem;
	padding: 1rem;
	border-radius: 1rem 1rem 0 0;
	text-align: center;
}
@media (min-width: 768px) {
	.search-box-title { margin: -2rem -2rem 1.5rem -2rem; font-size: 1.25rem; }
}
.search-box-title i { margin-right: 0.5rem; }

.search-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .search-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .search-grid { grid-template-columns: repeat(3, 1fr); } }
.form-group {
	display: flex;
	flex-direction: column;
}
.form-label {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--slate-700);
	margin-bottom: 0.25rem;
}
.form-control,
.form-control.dep_datepicker, .form-control.arv_datepicker {
	border: 1px solid var(--slate-300);
	border-radius: 0.25rem;
	padding: 0.625rem;
	color: var(--slate-800);
	background-color: var(--white) !important;
	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
}
@media (max-width: 767px) {
	.form-group{ margin-bottom: 3px; }
	.form-label{ font-size: 1.2rem; }
	.form-control, .form-control.dep_datepicker, .form-control.arv_datepicker{ font-size: 1.4rem; }
	.form-control.dep_datepicker, .form-control.arv_datepicker{
		background-image: url(/img/rentacar/icon/icon-calendar.png);
		background-position: right 10px center;
		background-repeat: no-repeat;
	}
}
.form-control:focus {
	outline: none;
	border-color: var(--pink-500);
	box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}
.search-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	border-top: 1px dashed var(--slate-200);
	padding-top: 1.5rem;
}
.checkbox-group {
	display: flex;
	align-items: center;
	cursor: pointer;
}
.checkbox-input {
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--pink-500);
	cursor: pointer;
}
.checkbox-label {
	margin-left: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--slate-700);
	cursor: pointer;
}
.btn-search {
	width: 100%;
	max-width: 300px;
	background-color: var(--pink-500);
	color: var(--white);
	font-weight: 700;
	padding: 0.75rem 2rem;
	border-radius: 9999px;
	border: none;
	box-shadow: 0 4px 6px -1px rgba(236, 72, 153, 0.3);
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s;
	font-size: 1.125rem;
}
.btn-search:hover { background-color: var(--pink-600); transform: translateY(-1px); }

@media (max-width: 767px) {
	.checkbox-label{ font-size: 1.2rem; margin-bottom: 0; }
	.btn-search{ font-size: 1.4rem; max-width: 100%; }
}

/* Intro Section */
.intro-section { background-color: var(--white); }
.intro-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.6;
	margin-bottom: 3rem;
	color: var(--slate-800);
}
.intro-title .highlight-red { color: var(--red-500); font-size: 1.2em;font-weight: 700; }
@media (min-width: 768px) { .intro-title { font-size: 1.5rem; } }

.intro-comic-wrap {
	margin-bottom: 2rem;
	text-align: center;
}
.intro-comic-wrap img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}
.intro-solution-box {
	background-color: #fefce8;
	border: 2px solid  #fef08a;
	border-radius: 0.5rem;
	padding: 1.5rem;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--slate-800);
	line-height: 1.6;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: center;
}
.intro-solution-box .highlight-yellow {
	background: linear-gradient(transparent 60%, rgba(250, 204, 21, 0.5) 60%);
}
@media (max-width: 767px) {
	.intro-title { font-size: 1.4rem; }
	.intro-solution-box { font-size: 1.3rem; }
}

/* Intro Section - Comic Grid */
.intro-comic-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 2rem;
	text-align: left;
}
@media (min-width: 640px) {
	.intro-comic-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.comic-panel {
	background-color: var(--white);
	border-radius: 0.75rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.comic-img {
	position: relative;
	width: 100%;
	background-color: var(--slate-100);
}

.comic-img img {
	width: 100%;
	height: auto;
	display: block;
}

.comic-num {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	background-color: var(--white);
	color: var(--slate-800);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.125rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comic-text {
	padding: 1.25rem;
	font-size: 1rem;
	color: var(--slate-800);
	line-height: 1.6;
	font-weight: 500;
	margin: 0;
}

@media (max-width: 767px) {
	.comic-text {
		font-size: 1.3rem; /* SP時のフォントサイズ調整 */
	}
}

/* Flow Section */
.flow-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	position: relative;
}
@media (min-width: 768px) {
	.flow-grid { flex-direction: row; gap: 1rem; align-items: stretch; }
}
.flow-step {
	width: 100%;
	background-color: var(--white);
	border-radius: 0.75rem;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid var(--slate-200);
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	position: relative;
}
.flow-step.highlight {
	background-color: var(--green-50);
	border-color: var(--green-100);
}
@media (min-width: 768px) { .flow-step { width: 33.333%; } }
.flow-num {
	width: 2.5rem;
	height: 2.5rem;
	background-color: var(--sky-500);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.25rem;
	font-weight: 800;
	position: absolute;
	top: -1.25rem;
	left: 50%;
	transform: translateX(-50%);
	border: 3px solid var(--white);
}
.flow-step.highlight .flow-num { background-color: var(--green-500); }
.flow-image { margin-top: 1rem; margin-bottom: 1rem; }
.flow-step-title {
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	color: var(--slate-800);
}
.flow-step-desc { font-size: 0.875rem; color: var(--slate-600); line-height: 1.5;text-align: left; }
.flow-arrow {
	color: var(--slate-300);
	font-size: 1.875rem;
	display: none;
	align-self: center;
}
.flow-arrow.mobile {
	display: block;
	transform: rotate(90deg);
	margin: -0.625rem 0;
}
@media (min-width: 768px) {
	.flow-arrow { display: block; }
	.flow-arrow.mobile { display: none; }
}
.flow-note { font-size: 0.875rem; color: var(--slate-500);text-align: right; }
@media (max-width: 767px) {
	.flow-step-title { font-size: 1.4rem; }
	.flow-step-desc { font-size: 1.3rem; }
}

/* Compare Section (Before/After) */
.compare-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	margin-top: 1rem;
}
@media (min-width: 768px) {
	.compare-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.compare-box {
	position: relative;
	border-radius: 1rem;
	padding: 3rem 2rem 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.box-before {
	border: 2px solid var(--gray-200);
	background-color: var(--white);
}

.box-after {
	border: 2px solid #fef08a;
	background-color: #fefce8; /* 淡い黄色 */
}

/* 上部のバッジ */
.box-badge {
	position: absolute;
	top: -1.25rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.25rem 3rem;
	border-radius: 9999px;
	color: var(--white);
	font-weight: 700;
	font-size: 1.25rem;
}
.box-before .box-badge { background-color: var(--red-500); }
.box-after .box-badge { background-color: var(--green-500); }

/* 見出し */
.compare-box .box-title {
	text-align: center;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 2rem;
}
.box-before .box-title { color: var(--red-500); }
.box-after .box-title { color: var(--green-600); }

.box-content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* タイムライン */
.timeline-list {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 2rem;
}
.timeline-list::before {
	content: '';
	position: absolute;
	top: 0.5rem;
	bottom: 0;
	left: 0.3125rem;
	width: 2px;
}
.timeline-list.line-red::before { background-color: #fca5a5; }
.timeline-list.line-green::before { background-color: #86efac; }

.timeline-list li {
	position: relative;
	margin-bottom: 1.5rem;
}
.timeline-list li:last-child { margin-bottom: 0; }
.timeline-list li::before {
	content: '';
	position: absolute;
	left: -1.25rem;
	top: 0.25rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
}
.timeline-list.line-red li::before { background-color: var(--red-500); }
.timeline-list.line-green li::before { background-color: var(--green-500); }

.timeline-list .time {
	font-size: 0.875rem;
	color: var(--slate-500);
	margin-bottom: 0.25rem;
}
.timeline-list .event {
	font-size: 1rem;
	color: var(--slate-800);
	line-height: 1.5;
}

.text-red { color: var(--red-500) !important; }
.text-green { color: var(--green-600) !important; }

/* 11:00〜12:00 赤背景部分 */
.highlight-bg {
	background-color: #fff1f2;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	/*margin-left: -1rem;*/
	margin-top: -0.5rem;
}

/* 下部説明テキスト */
.compare-desc {
	background-color: var(--gray-100);
	padding: 1.25rem;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	color: var(--slate-700);
	line-height: 1.6;
	/*margin-top: auto;*/
}

.compare-desc-text {
	font-size: 0.9375rem;
	background-color: #FFF;
	line-height: 1.6;
	padding: 1.25rem;
}

/* イラスト配置 */
.compare-illust {
	position: absolute;
	bottom: 2rem;
	right: 5rem;
	width: 270px;
}

.compare-note {
	font-size: 0.875rem;
	color: var(--slate-500);
	text-align: right;
}

@media (max-width: 767px) {
	.compare-box { padding: 3rem 1.5rem 1.5rem; }
	.compare-box .box-title { font-size: 1.4rem; }
	.timeline-list .event { font-size: 1.3rem; }
	.compare-desc, .compare-desc-text { font-size: 1.2rem; }
	.compare-illust { width: 100px; bottom: -1rem; right: -0.5rem; }
}
/* Companies Section */
.grid-2col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.grid-2col { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.company-card {
	background-color: var(--white);
	border-radius: 0.75rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	border: 1px solid var(--slate-200);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.company-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--slate-100);
	overflow: hidden;
}
.company-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.company-details {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}
.company-info .name {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--slate-800);
	margin-bottom: 0.5rem;
}
.company-info .desc {
	font-size: 0.875rem;
	color: var(--slate-600);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.btn-pink {
	display: block;
	text-align: center;
	background-color: var(--pink-500);
	color: var(--white);
	font-weight: 700;
	font-size: 1rem;
	padding: 0.75rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: background-color 0.3s;
}
.btn-pink:hover { background-color: var(--pink-600); }
.btn-pink:visited { color: #fef08a; }

@media (max-width: 767px) {
	.company-info .name { font-size: 1.6rem; }
	.company-info .desc { font-size: 1.3rem; }
	.btn-pink { font-size: 1.4rem; }
}

/* Reviews Section */
.reviews-section {
	/*background-color: var(--white);*/
}

.reviews-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.reviews-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.review-card {
	background-color: var(--blue-50);
	border: 1px solid var(--sky-100);
	border-radius: 0.75rem;
	padding: 1.5rem;
	position: relative;
	box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 右上のクォーテーションマーク（FontAwesome） */
.review-card::before {
	content: "\f10d";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	font-size: 2rem;
	color: var(--sky-200);
	opacity: 0.4;
}

.review-meta {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.75rem;
}
.review-user {
	font-size: 0.875rem;
	color: var(--slate-500);
	font-weight: 700;
	margin-bottom: 0.25rem;
}
.review-stars {
	color: var(--yellow-400);
	font-size: 0.875rem;
}
.review-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--sky-700);
	margin-bottom: 0.75rem;
	line-height: 1.4;
	position: relative;
	z-index: 1;
}
.review-text {
	font-size: 0.9375rem;
	color: var(--slate-700);
	line-height: 1.6;
}

@media (max-width: 767px) {
	.review-user { font-size: 1.2rem; }
	.review-title { font-size: 1.5rem; }
	.review-text { font-size: 1.3rem; }
}

/* Anchor Link for Companies */
.anchor-link-companies {
	display: inline-block;
	background-color: var(--white);
	color: var(--sky-700);
	font-weight: 700;
	font-size: 1rem;
	padding: 0.75rem 2rem;
	border: 2px solid var(--sky-200);
	border-radius: 9999px;
	text-decoration: none;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.anchor-link-companies:hover {
	background-color: var(--sky-50);
	border-color: var(--sky-400);
	color: var(--sky-800);
	transform: translateY(2px);
}

.anchor-link-companies i {
	margin: 0 0.25rem;
}

@media (max-width: 767px) {
	.anchor-link-companies {
		font-size: 1.2rem;
		padding: 0.75rem 1rem;
		width: 100%;
	}
}