/* --- Reset & Variables --- */
:root {
	--color-main: #121212; /* 少しグレー寄りの黒 */
	--color-accent: #bf9f62; /* アクセント: シャンパンゴールド */
	--color-bg: #ffffff; /* 背景: 白 */
	--color-dark-bg: #121212; /* 背景: 少しグレー寄りの黒 */
	--color-text-light: #ffffff; /* 黒背景時のテキスト */
	--font-body: "Noto Sans JP", sans-serif;
	--font-heading: "Shippori Mincho", serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	color: var(--color-main);
	line-height: 1.8;
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s;
}
a:hover {
	opacity: 0.7;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
ul {
	list-style: none;
}

/* --- Common Layout --- */
.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}
.container-full {
	width: 100%;
	overflow: hidden;
}

.section {
	padding: 120px 0;
}
.section.dark {
	background-color: var(--color-dark-bg);
	color: var(--color-text-light);
}

.section-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 1.5rem;
	letter-spacing: 0.15em;
	font-weight: 600;
}

.section-subtitle {
	text-align: center;
	font-size: 0.8rem;
	color: var(--color-accent);
	margin-bottom: 4rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	display: block;
}

.btn-cta {
	display: inline-block;
	background-color: var(--color-main);
	color: #fff;
	padding: 18px 20px;
	font-size: 1rem;
	letter-spacing: 0.1em;
	border: 1px solid var(--color-main);
	text-align: center;
	min-width: 300px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.btn-cta:hover {
	background-color: #fff;
	color: var(--color-main);
}

.text-center {
	text-align: center;
}

/* --- Header --- */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--color-dark-bg);
	padding: 10px 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 40px;
}
.header-logo-group {
	display: flex;
	align-items: center;
	gap: 15px;
}
.header-logo-img {
	height: 40px;
	width: auto;
}
.minish-logo-img {
	height: 30px;
	width: auto;
	margin-left: 5px;
}
.header-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}
.instagram-link {
	font-size: 1.5rem;
	color: #fff;
	line-height: 1;
}
.header-btn {
	background-color: var(--color-accent);
	color: #fff;
	padding: 10px 20px;
	font-size: 0.8rem;
}

@media (max-width: 768px) {
	.header-inner {
		padding: 0 20px;
	}
	.header-logo-img {
		height: 30px;
	}
	.minish-logo-img {
		height: 20px;
	}
	.header-nav {
		gap: 15px;
	}
	.instagram-link {
		font-size: 1.2rem;
	}
	.btn-cta {
		font-size: 0.9rem;
		padding: 15px 15px;
		min-width: 100%;
	}
}

/* --- Hero --- */
.hero {
	height: 90vh;
	background: url("../images/_top.jpg") no-repeat center center / cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
}

.hero-slider {
	width: 100%;
	height: 250px;
	background: #000;
	margin-top: 80px;
}
.hero-slider .swiper-slide {
	width: auto;
	height: 100%;
}
.hero-slider .swiper-slide img {
	width: auto;
	height: 100%;
	object-fit: cover;
}

/* Swiper Linear Flowing effect */
.swiper-wrapper {
	transition-timing-function: linear !important;
}

@media (max-width: 768px) {
	.hero-slider {
		height: 180px;
	}
}
.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
}
.hero-content {
	position: relative;
	z-index: 1;
	padding: 40px;
	background: rgba(255, 255, 255, 0.85);
	max-width: 800px;
}
.hero-title {
	font-family: var(--font-heading);
	font-size: 3rem;
	margin-bottom: 20px;
	letter-spacing: 0.1em;
}
.hero-desc {
	font-size: 1.1rem;
	margin-bottom: 40px;
}

/* --- Worries (Pain Points) --- */
.worries {
	background-color: var(--color-light-bg);
}
.worries-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 700px;
	margin: 0 auto 50px;
}
.worries-item {
	background: #fff;
	padding: 20px;
	display: flex;
	align-items: center;
	border-left: 5px solid var(--color-accent);
	font-size: 1.1rem;
}
.check-icon {
	color: var(--color-accent);
	margin-right: 15px;
	font-size: 1.2rem;
}

/* --- What is MINISH --- */
.about-minish .content-split {
	display: flex;
	align-items: center;
	gap: 50px;
}
.about-text {
	flex: 1;
}
.about-img {
	flex: 1;
	min-width: 0;
}
.about-tile-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 140px 220px;
	gap: 15px;
}
.tile-sub {
	grid-row: span 1;
}
.tile-main-horizontal {
	grid-column: span 3;
	grid-row: span 1;
}
.about-tile-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}
@media (max-width: 768px) {
	.about-tile-grid {
		width: auto;
		gap: 10px;
	}
}
.about-text h3 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	margin-bottom: 20px;
}

/* --- Features --- */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.feature-card {
	text-align: center;
	padding: 40px 20px;
	border: 1px solid #eee;
}
.feature-card p {
	text-align: left;
}
.feature-num {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: 3rem;
	display: block;
	margin-bottom: 10px;
}
.feature-title {
	font-size: 1.2rem;
	margin-bottom: 15px;
	font-weight: bold;
}

/* --- Before / After --- */
.before-after {
	background-color: var(--color-light-bg);
}
.case-study {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	background: #fff;
	padding: 20px;
}
.ba-image {
	flex: 1;
	position: relative;
}
.ba-label {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 5px 10px;
	font-size: 0.8rem;
}
.case-desc {
	margin-top: 10px;
	font-size: 0.9rem;
	color: #666;
}

.case-slider {
	width: 100%;
	height: 400px;
	margin-bottom: 40px;
}
.case-slider .swiper-slide {
	width: auto;
	height: 100%;
	margin: 0 5px;
}
.case-slider .swiper-slide img {
	height: 100%;
	width: auto;
	display: block;
	object-fit: contain;
}

@media (max-width: 768px) {
	.case-slider {
		height: 250px;
	}
}

/* --- Flow --- */
.flow-list {
	counter-reset: flow-counter;
	max-width: 800px;
	margin: 0 auto;
}
.flow-item {
	position: relative;
	padding-left: 60px;
	margin-bottom: 40px;
}
.flow-item::before {
	counter-increment: flow-counter;
	content: "0" counter(flow-counter);
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--font-heading);
	color: var(--color-accent);
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
}
.flow-title {
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 10px;
	display: block;
}

/* --- Price --- */
.price-table {
	width: 100%;
	border-collapse: collapse;
	max-width: 800px;
	margin: 0 auto;
}
.price-table th,
.price-table td {
	padding: 20px;
	border-bottom: 1px solid #eee;
	text-align: left;
}
.price-table th {
	font-weight: normal;
	color: #888;
	width: 40%;
}
.price-table td {
	font-weight: bold;
	font-size: 1.2rem;
}

/* --- FAQ --- */
.faq-list {
	max-width: 800px;
	margin: 0 auto;
}
.faq-item {
	border-bottom: 1px solid #eee;
	padding: 20px 0;
}
.faq-q {
	font-weight: bold;
	margin-bottom: 10px;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}
.faq-q::before {
	content: "Q";
	position: absolute;
	left: 0;
	color: var(--color-accent);
}
.faq-a {
	padding-left: 30px;
	color: #666;
	font-size: 0.95rem;
}

/* --- Clinic / Access --- */
.access-grid {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.access-info {
	flex: 1;
}
.clinic-logo-link {
	display: block;
	margin-bottom: 20px;
}
.clinic-logo-img {
	height: 80px;
	width: auto;
}
.access-map {
	flex: 1;
	min-height: 300px;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* --- Footer --- */
footer {
	background-color: var(--color-main);
	color: #fff;
	padding: 50px 0 20px;
	text-align: center;
}
.footer-logo-link {
	display: block;
}
.footer-logo-img {
	height: 40px;
	width: auto;
}
.footer-logo-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}
.footer-copy {
	font-size: 0.8rem;
	color: #888;
	margin-top: 30px;
}

/* --- Sticky CTA Mobile --- */
.sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: none;
	background: var(--color-dark-bg);
	color: #fff;
	text-align: center;
	padding: 20px;
	z-index: 999;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
	font-weight: bold;
	letter-spacing: 0.2em;
	display: none;
	transform: none;
	border-top: 1px solid var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2rem;
	}
	.section-title {
		font-size: 1.8rem;
	}
	.about-minish .content-split {
		flex-direction: column;
	}
	.case-study {
		flex-direction: column;
	}
	.access-grid {
		flex-direction: column;
	}
	.sticky-cta {
		display: block;
	}
}

/* --- Doctors --- */
.doctor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 40px;
}
.doctor-card {
	background: #fff;
	border: 1px solid #eee;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.doctor-card img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	object-position: top;
}
.doctor-info {
	padding: 30px;
}
.doctor-info h3 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	margin-bottom: 5px;
	display: flex;
	align-items: baseline;
	gap: 15px;
}
.doctor-info h3 span {
	font-size: 0.9rem;
	color: #888;
	font-weight: normal;
}
.doctor-title {
	font-size: 0.9rem;
	color: var(--color-accent);
	margin-bottom: 20px;
	font-weight: bold;
}
.doctor-specialty {
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 25px;
}
.doctor-specialty li {
	margin-bottom: 8px;
	position: relative;
	padding-left: 20px;
}
.doctor-specialty li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--color-accent);
}

.doctor-sub-label {
	font-size: 0.85rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
	font-weight: bold;
}

.doctor-history {
	font-size: 0.9rem;
	color: #777;
	list-style: none;
}
.doctor-history li {
	margin-bottom: 5px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.doctor-grid {
		grid-template-columns: 1fr;
	}
	.doctor-card img {
		height: 300px;
	}
}

/* --- Modal --- */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.modal-content {
	background-color: #fff;
	margin: 5vh auto;
	width: 90%;
	max-width: 700px;
	height: 90vh;
	position: relative;
	border-radius: 8px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
	animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.modal-close {
	position: absolute;
	right: -40px;
	top: -10px;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

.modal-body {
	width: 100%;
	height: 100%;
	padding: 0;
	overflow-y: auto; /* Allow scrolling inside the modal */
}

/* Custom Form Styles */
.form-container {
	padding: 40px;
}
.form-title {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	text-align: center;
	margin-bottom: 10px;
	color: var(--color-main);
}
.form-intro {
	font-size: 0.9rem;
	color: #666;
	text-align: center;
	margin-bottom: 30px;
}
.form-group {
	margin-bottom: 25px;
}
.form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 0.95rem;
}
.form-group .required {
	color: #e74c3c;
	font-size: 0.75rem;
	margin-left: 5px;
	vertical-align: middle;
}
.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 1rem;
	transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-accent);
}
.form-submit {
	text-align: center;
	margin-top: 40px;
}
.form-status {
	margin-top: 20px;
	text-align: center;
	font-size: 0.9rem;
	min-height: 1.5em;
}
.form-status.success {
	color: #27ae60;
}
.form-status.error {
	color: #e74c3c;
}

@media (max-width: 768px) {
	.modal-content {
		margin: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		border-radius: 0;
	}
	.modal-close {
		right: 20px;
		top: 10px;
		color: #333;
		z-index: 10;
	}
	.form-container {
		padding: 60px 20px 40px;
	}
}
/* --- Animations --- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
