/*
Theme Name: Onda DC
Author: GitHub Copilot
Version: 1.0
*/

body {
	font-family: 'Zen Maru Gothic', sans-serif;
	color: #261f00;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	overflow-x: hidden;
}

[id] {
	scroll-margin-top: 130px;
}

p {
	font-size: 20px;
	margin: 0;
}

a:hover {
	opacity: 0.8;
}

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

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-title {
	font-size: 30px;
	text-align: center;
	margin-bottom: 40px;
	font-weight: 500;
}

/* Reusable Section Heading */
.section-heading {
	background-color: #fed05e;
	background-image: url('img/dot_pattern.webp');
	background-repeat: repeat;
	padding: 20px 0;
	text-align: center;
}

.section-heading-content {
	display: inline-block;
	position: relative;
}

.section-heading-trees {
	display: block;
	margin: 0 auto;
	height: 60px;
}

.section-heading-title {
	font-size: 50px;
	color: #261f00;
	font-weight: 400;
	margin: 0;
	padding: 0;
	font-family: "Hachi Maru Pop";
}

.section-heading-stars {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
}

.section-heading-stars::before,
.section-heading-stars::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 16px;
}

.section-heading-stars span {
	display: block;
	width: 16px;
	height: 16px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 16px;
	line-height: 1;
}

.section-heading-stars span::before {
	content: "\f005";
	/* Font Awesome star icon */
}

.section-heading-stars span:nth-child(1) {
	color: #47aad9;
}

.section-heading-stars span:nth-child(2) {
	color: #f88b3d;
}

.section-heading-stars span:nth-child(3) {
	color: #b9c974;
}

.section-heading-stars span:nth-child(4) {
	color: #e487af;
}

/* Header */
.header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.gnav {
	width: 100%;
	margin: 0 auto;
	position: absolute;
	top: 730px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1280px;
	z-index: 100;
	transition: all 0.3s ease;
}

/* トップページ（index.php） */
.home .gnav,
.front-page .gnav {
	top: 730px;
}

/* トップページ以外 */
body:not(.home):not(.front-page) .gnav {
	top: 340px;
}

.gnav.scrolled {
	position: fixed;
	top: 50px !important;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gnav-list {
	display: flex;
	justify-content: space-around;
	list-style: none;
	margin: 0;
	padding: 30px 0;
	background: rgba(255, 255, 255, 0.80);
}

.gnav.scrolled .gnav-list {
	background-color: transparent;
}

.gnav-item {
	position: relative;
}

.gnav-item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 30px;
	background: #261F00;
	opacity: 0.6;
}

.gnav-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	font-family: "Hachi Maru Pop";
	font-size: 20px;
	font-style: normal;
	font-weight: 400 !important;
	color: #261F00;
	text-decoration: none;
	font-weight: bold;
	gap: 5px;
}

.gnav-item a img {
	position: absolute;
	top: -67px;
	height: 62px;
	width: auto;
}

.gnav-item a span {
	display: block;
	color: #261F00;
	font-family: "Hachi Maru Pop";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.gnav.scrolled .gnav-item a {
	color: #261f00;
}

.gnav-item.has-submenu:hover .gnav-submenu {
	display: block;
}

.gnav-submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(255, 255, 255, 0.80);
	list-style: none;
	padding: 0;
	margin: 0;
	min-width: 200px;
	z-index: 10;
}

.gnav-submenu li a {
	padding: 10px 15px;
	white-space: nowrap;
	flex-direction: row;
	/* Submenu items should be normal */
	justify-content: flex-start;
	gap: 0;
}

.gnav-submenu li a img {
	display: none;
	/* Hide icons in submenu */
}

.gnav-submenu li a:hover {
	background-color: #dfe0dd;
}

/* Info Section */
.info {
	position: relative;
	padding: 60px 0;
	overflow: hidden;
}

.info::before,
.info::after {
	content: "";
	position: absolute;
	width: 230px;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: -1;
}

.info::before {
	left: 0;
	top: -80px;
	background-image: url('img/bg_info_left.webp');
}

.info::after {
	right: 0;
	top: 250px;
	background-image: url('img/bg_info_right.webp');
}

.info-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 70px;
	max-width: 1000px;
	margin: 20px auto;
}

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

.info-tel {
	position: relative;
	margin-bottom: 20px;
}

.info-tel::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 25px 25px;
	border-color: transparent transparent #ffffff #5B9000;
	z-index: 1;
}

.info-tel a {
	font-family: Quicksand;
	display: inline-flex;
	align-items: center;
	background-color: #aec453;
	color: #261F00;
	padding: 15px 40px;
	text-decoration: none;
	font-size: 40px;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.info-tel img {
	height: 40px;
	margin-right: 10px;
}

.info-address {
	font-size: 20px;
}

.info-right {
	flex-grow: 1;
}

.info-hours table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 3px solid #49B98D;
	border-radius: 7px;
	overflow: hidden;
	text-align: center;
	font-size: 20px;
}

.info-hours .border-dotted {
	background-image: linear-gradient(to right, #49B98D, #49B98D 5px, transparent 2px, transparent 8px);
	/* 幅2の線を作る */
	background-size: 12px 3px;
	/* グラデーションの幅・高さを指定 */
	background-position: left bottom;
	/* 背景の開始位置を指定 */
	background-repeat: repeat-x;
	/* 横向きにのみ繰り返す */
}

.info-hours th,
.info-hours td {
	padding: 15px;
}

.info-hours thead th {
	background-color: #49B98D;
	color: white;
	font-weight: bold;
}

.info-hours td {
	color: #49B98D;
}

.info-notes {
	margin-top: 15px;
	font-size: 20px;
	line-height: 1.5;
}

/* Hero */
.hero {
	position: relative;
	width: 100%;
	height: 850px;
	background-image: url('img/mv_01.webp');
	background-size: cover;
	background-position: center;
	color: #261f00;
	display: flex;
	flex-direction: column;
	padding-top: 40px;
	box-sizing: border-box;
	z-index: 0;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	/* Adjust opacity as needed */
	z-index: -1;
}

.hero-content {
	width: 100%;
	height: 630px;
	background-image: url(img/bg_hero_catch.webp);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin: 0 auto;
}

.hero-left {
	display: flex;
	flex-direction: column;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 20px 30px;
	text-align: center;
}

.hero-logo {
	max-width: 200px;
	margin-bottom: 15px;
}

.hero-ribbon {
	height: 45px;
	color: var(--Rectangle-225, #F88B3D);
	text-align: center;
	font-family: "Zen Maru Gothic";
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	background-image: url(img/hero-ribbon.webp);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.hero-center {
	text-align: center;
	padding-top: 50px;
}

.hero-catchphrase {
	font-size: 50px;
	font-family: "Hachi Maru Pop";
	font-weight: 400;
	color: #FFF;
	line-height: 1.2;
	text-shadow: 0 4px 10px rgba(64, 27, 0, 0.80);
	padding: 194px 0;
	display: inline-block;
}

.hero-catchphrase .highlight {
	font-size: 70px;
	color: #FFD2E6;
}

.hero-catchphrase .highlight_b {
	font-size: 70px;
	color: #AEE2F9;
}

.hero-right {
	background-color: rgba(255, 255, 255, 0.7);
	padding: 20px 30px;
}

.hero-contact p {
	font-family: "Hachi Maru Pop";
	margin: 0;
	font-size: 14px;
}

.hero-tel {
	font-family: Quicksand !important;
	font-size: 30px !important;
	font-weight: bold;
	justify-content: center;
	display: flex;
	align-items: center;
	font-weight: 600;
}

.hero-tel::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url('img/icons/icon_tel.svg');
	background-size: contain;
	margin-right: 10px;
}

.hero-contact-buttons {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 10px;
}

.hero-insta,
.hero-youtube {
	display: block;
	width: 50px;
	height: 50px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-insta {
	background-image: url('img/icons/icon_instagram.svg');
}

.hero-youtube {
	background-image: url('img/icons/icon_youtube.svg');
}

.hero-access {
	position: relative;
	background-color: #3ca9d3;
	color: white;
	padding: 10px 40px;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
}

.hero-access::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 20px 20px;
	border-color: transparent transparent #ffffffbf #0076a3;
	z-index: 1;
}

.hero-bottom-banners {
	display: flex;
	justify-content: flex-end;
	gap: 5px;
	align-self: flex-end;
	position: absolute;
	bottom: 185px;
	right: 7%;
}

.hero-banner-item {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	font-weight: bold;
	line-height: 1.3;
	outline: 3px dotted white;
	outline-offset: -8px;
}

.hero-banner-item p {
	color: #FFF;
	text-align: center;
	font-family: "Zen Maru Gothic";
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
}

.hero-banner-item:nth-child(1) {
	background-color: #3ca9d3a3;
}

.hero-banner-item:nth-child(2) {
	background-color: #aec453a3;
}

.hero-image {
	display: none;
}

/* Sections */
section {
	padding: 60px 0;
}

.oreortho {
	padding: 0;
}

.oreortho img {
	width: 100%;
	height: auto;
	display: block;
}

.medical-info {
	background-color: #fff;
}

.welcome {
	background-color: #fff;
}

.welcome .section-title {
	font-size: 40px;
}

.age-specific {
	background-color: #fff;
}

.greeting {
	background-color: #fff;
}

.recruit {
	background-color: #fff;
}

/* Footer */
.footer {
	position: relative;
	padding-bottom: 20px;
	color: #fff;
}

.footer-map {
	width: 100%;
	margin-bottom: 40px;
}

.footer-clinic-name {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 30px;
	margin-bottom: 10px;
}

.footer-info {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 20px;
	color: #261f00;
}

.footer-tel {
	font-family: 'Quicksand', sans-serif;
	font-weight: 600;
	font-size: 40px;
}

.footer-links a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	margin-bottom: 10px;
}

.footer-hours {
	background-color: #fff;
	border: 5px solid #49b98d;
	border-radius: 10px;
	padding: 20px;
	color: #261f00;
	margin-top: 40px;
}

.footer-hours h3 {
	background-color: #49b98d;
	color: #fff;
	padding: 10px;
	margin: -20px -20px 20px -20px;
	border-radius: 5px 5px 0 0;
	text-align: center;
}

.footer-hours table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.footer-hours th,
.footer-hours td {
	border: 1px solid #ccc;
	padding: 10px;
	text-align: center;
}

/* Footer Navigation
-------------------------------------------------- */
.footer-nav {
	padding: 20px 0;
}

.footer-nav-main {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-nav-list>li {
	margin: 5px 10px;
	position: relative;
}

.footer-nav-list>li>a::before {
	content: '▶';
	display: inline-block;
	margin-right: 0.5em;
	font-size: 12px;
}

.footer-nav-submenu {
	list-style: none;
	padding: 10px 0 0;
	margin: 0;
	text-align: center;
}

.footer-nav-submenu li {
	margin-bottom: 5px;
}

.footer-nav-submenu li a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

.footer-nav-submenu li a::before {
	content: '-';
	display: inline-block;
	margin-right: 0.5em;
}

/* Age Specific Section */
.age-specific .section-header {
	text-align: center;
	margin-bottom: 80px;
}

.age-specific .section-title {
	font-size: 36px;
	color: #261f00;
	margin-bottom: 20px;
}

.age-specific .section-subtitle {
	font-size: 20px;
	color: #261f00;
}

.age-cards {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.age-card {
	width: 23%;
	min-width: 280px;
	border-radius: 20px;
	padding: 0 20px;
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-content {
	text-align: center;
	width: 100%;
}

.age-label {
	display: inline-block;
	padding: 5px 30px;
	border-radius: 50px;
	color: #fff;
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 24px;
	margin-bottom: 20px;
	position: relative;
	top: -40px;
	/* Pull up to overlap image/card boundary */
}

.card-0-3 .age-label {
	background-color: #a4c426;
}

.card-4-6 .age-label {
	background-color: #f88b3d;
}

.card-7-10 .age-label {
	background-color: #47aad9;
}

.card-10-plus .age-label {
	background-color: #fcb72d;
}

.card-text {
	font-size: 20px;
	line-height: 1.8;
	text-align: left;
	margin-top: -20px;
}

/* Responsive */
@media (max-width: 1024px) {
	.age-card {
		width: 48%;
		margin-bottom: 60px;
	}
}

@media (max-width: 768px) {
	.age-card {
		width: 100%;
		margin-bottom: 60px;
	}
}


/* Medical Info Section */
.medical-info {
	position: relative;
	padding: 100px 0;
	background-color: #fff;
	text-align: center;
	overflow: hidden;
}

.medical-info::before,
.medical-info::after {
	content: "";
	position: absolute;
	top: 0;
	width: 400px;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 1;
}

.medical-info::before {
	left: 0;
	background-image: url('img/bg_medical_left.webp');
}

.medical-info::after {
	right: 0;
	background-image: url('img/bg_medical_right.webp');
}

.medical-info .section-header {
	margin-bottom: 60px;
}

.medical-info .section-title {
	font-family: "Zen Maru Gothic";
	font-size: 50px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

.medical-info .section-subtitle {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	font-size: 100px;
	line-height: 1;
	letter-spacing: -10px;
}

.medical-info .section-subtitle .char-m {
	color: #47aad9;
}

.medical-info .section-subtitle .char-e {
	color: #aec453;
}

.medical-info .section-subtitle .char-d {
	color: #fed05e;
}

.medical-info .section-subtitle .char-i {
	color: #f88b3d;
}

.medical-info .section-subtitle .char-c {
	color: #e75393;
}

.medical-info .section-subtitle .char-a {
	color: #5b9000;
}

.medical-info .section-subtitle .char-l {
	color: #0076ad;
}

.medical-grid {
	display: flex;
	justify-content: center;
	max-width: 1280px;
}

.medical-item {
	width: 100%;
	max-width: 425px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.medical-background-overlay {
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.medical-background-overlay img {
	height: 70px;
}

.medical-item:nth-child(1) {
	position: relative;
	background-image: url('img/bg_medical_01.webp');
}

.medical-item:nth-child(2) {
	background-image: url('img/bg_medical_02.webp');
}

.medical-item:nth-child(3) {
	background-image: url('img/bg_medical_03.webp');
}

.medical-image {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.medical-image img {
	height: auto;
	border-radius: 0;
	margin-bottom: 0;
}

.medical-content h3 {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 50px;
	color: #fff;
	margin: 50px 0;
	font-weight: 400;
}

.btn-more {
	width: 200px;
	position: absolute;
	bottom: -25px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	background-color: #fff;
	padding: 12px 40px;
	border-radius: 50px;
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
	font-family: 'Zen Maru Gothic', sans-serif;
	transition: opacity 0.3s;
	border: none;
}

.btn-green {
	color: #5B9000;
	border: 5px solid #5B9000;
}

.btn-orange {
	color: #EBB01C;
	border: 5px solid #EBB01C;
}

.btn-pink {
	color: #E75393;
	border: 5px solid #E75393;
}

.btn-more:hover {
	opacity: 0.8;
	background-color: #fff;
	color: #261f00;
}

/* Welcome Section */
.welcome {
	padding: 80px 0;
	background-image: url('img/bg_welcome.webp');
	background-position: bottom;
	background-size: contain;
	background-repeat: no-repeat;
}

.welcome .section-header {
	text-align: center;
}

.welcome .section-title {
	font-family: "Zen Maru Gothic";
	font-size: 50px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

.welcome .section-subtitle {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	font-size: 100px;
	line-height: 1;
	letter-spacing: -10px;
}

.welcome .section-subtitle .char-w {
	color: #fed05e;
}

.welcome .section-subtitle .char-e {
	color: #aec453;
}

.welcome .section-subtitle .char-l {
	color: #0076ad;
}

.welcome .section-subtitle .char-c {
	color: #e75393;
}

.welcome .section-subtitle .char-o {
	color: #f88b3d;
}

.welcome .section-subtitle .char-m {
	color: #47aad9;
}

.welcome .section-subtitle .char-e2 {
	color: #5b9000;
}

.welcome-bottom {
	background-image: url('img/bg_welcome-bottom.webp');
	background-position: center;
	background-size: cover;
}

.welcome-features {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.welcome-feature {
	width: 100%;
	max-width: 400px;
	text-align: center;
	position: relative;
}

.feature-icon {
	position: absolute;
	top: 18px;
}

.feature-image-wrapper {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	margin: 0 auto -100px;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-image img {
	width: auto;
	height: auto;
	max-width: 120px;
	max-height: 120px;
}

.feature-content {
	border-radius: 30px;
	color: #fff;
	position: relative;
	z-index: 1;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
}

.feature-content h3 {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 30px;
	margin: 20px 0;
	font-weight: 400;
	color: #fff;
	background: none;
	padding: 0;
}

.feature-content p {
	font-family: 'Zen Maru Gothic', sans-serif;
	height: 50px;
	line-height: 1.6;
	font-weight: 500;
	padding: 0 20px;
	margin-bottom: 30px;
}

.feature-photo {
	width: 100%;
}

.feature-photo img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 0;
	margin-bottom: 0;
}

/* Individual Colors */
.feature-kids .feature-image-wrapper,
.feature-kids .feature-content {
	background-color: #e75393;
}

.feature-private .feature-image-wrapper,
.feature-private .feature-content {
	background-color: #47aad9;
}

.feature-female .feature-image-wrapper,
.feature-female .feature-content {
	background-color: #aec453;
}

/* Responsive */
@media (max-width: 768px) {
	.welcome .section-title {
		font-size: 24px;
	}

	.welcome .section-subtitle {
		font-size: 40px !important;
		letter-spacing: -5px;
	}

	.welcome-features {
		flex-direction: column;
		align-items: center;
	}
}

/* Age Specific Section */
.age-specific {
	position: relative;
	padding: 80px 0;
	background-color: #FFD2E6;
}

.age-specific::before,
.age-specific::after {
	content: "";
	position: absolute;
	top: 0;
	width: 400px;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 1;
}

.age-specific::before {
	width: 178px;
	top: 15%;
	left: 3%;
	background-image: url('img/bg_age-specific_left.webp');
}

.age-specific::after {
	width: 266px;
	top: 1%;
	right: 2%;
	background-image: url('img/bg_age-specific_right.webp');
}

.age-specific .section-header {
	z-index: 2;
	position: relative;
	text-align: center;
	margin-bottom: 80px;
	background-image: url('img/age-specific-ribbon.webp');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 240px;
}

.age-specific .section-title {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 50px;
	color: #47aad9;
	margin: 0;
	font-weight: 400;
	padding-top: 16px;
}

.age-specific .section-subtitle {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 30px;
	color: #261f00;
	font-weight: 500;
}

.age-cards {
	display: flex;
	justify-content: center;
	gap: 50px;
}

.card-image {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 250px;
	height: 250px;
	z-index: 2;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.card-content {
	margin-top: 80px;
	border: 9px solid #fff;
	border-radius: 20px;
	padding: 340px 30px 40px;
	position: relative;
	z-index: 1;
	min-height: 160px;
}

.age-label {
	position: absolute;
	top: 200px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 40px;
	color: #fff;
	padding: 10px 0;
	border-radius: 100px;
	white-space: nowrap;
	z-index: 3;
	width: 280px;
	text-align: center;
}

.card-0-3 .card-content {
	background-color: #e2f1a4;
}

.card-0-3 .age-label {
	background-color: #a4c426;
}

.card-4-6 .card-content {
	background-color: #ffc59c;
}

.card-4-6 .age-label {
	background-color: #f88b3d;
}

.card-7-10 .card-content {
	background-color: #aee2f9;
}

.card-7-10 .age-label {
	background-color: #47aad9;
}

.card-10-plus .card-content {
	background-color: #ffdc82;
}

.card-10-plus .age-label {
	background-color: #fcb72d;
}

/* Responsive */
@media (max-width: 1200px) {
	.age-cards {
		flex-wrap: wrap;
	}

	.age-card {
		width: 48%;
		margin-bottom: 60px;
	}
}

@media (max-width: 768px) {
	.age-specific .section-title {
		font-size: 32px;
	}

	.age-specific .section-subtitle {
		font-size: 18px;
	}

	.age-card {
		width: 100%;
	}

	.age-label {
		position: relative;
		display: block;
		font-size: 30px;
		top: -3px;
		width: 220px;
	}

	.card-content {
		padding-top: 280px;
		min-height: auto;
	}
}

/* Greeting Section */
.greeting {
	padding: 80px 0;
	background-color: #fff;
	background-image: url('img/bg_greeting.webp');
	background-size: cover;
	background-position-x: center;
}

.greeting .section-header {
	text-align: left;
	margin-bottom: 60px;
}

.greeting .section-title {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 30px;
	color: #261f00;
	text-align: left;
	margin-bottom: 20px;
	font-weight: 500;
}

.greeting .section-subtitle {
	font-family: 'Quicksand', sans-serif;
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -5px;
}

.greeting .section-subtitle .char-g {
	color: #e75393;
}

.greeting .section-subtitle .char-r {
	color: #5b9000;
}

.greeting .section-subtitle .char-e {
	color: #47aad9;
}

.greeting .section-subtitle .char-e2 {
	color: #fed05e;
}

.greeting .section-subtitle .char-t {
	color: #f88b3d;
}

.greeting .section-subtitle .char-i {
	color: #0076ad;
}

.greeting .section-subtitle .char-n {
	color: #aec453;
}

.greeting .section-subtitle .char-g2 {
	color: #47aad9;
}

.greeting-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
	max-width: 1000px;
	margin: 290px auto 0;
}

.greeting-image-wrapper {
	width: 400px;
	position: relative;
	flex-shrink: 0;
}

.greeting-image {
	width: 310px;
	height: 310px;
	border-radius: 50%;
	position: relative;
	margin-left: 20px;
}

.greeting-image img {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	max-height: 400px;
	object-fit: contain;
}

.director-badge {
	position: absolute;
	bottom: -119px;
	left: 0;
	width: 180px;
	height: 180px;
	background-color: #5b9000;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	outline: 3px dotted white;
	outline-offset: -8px;
	z-index: 2;
}

.director-title {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 20px;
}

.director-name-text {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 30px;
}

.greeting-text {
	flex: 1;
	padding-top: 20px;
}

.greeting-text p {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 20px;
	line-height: 2;
	color: #261f00;
	margin-bottom: 20px;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
	.greeting-content {
		flex-direction: column;
		align-items: center;
	}

	.greeting-image-wrapper {
		margin-bottom: 40px;
	}

	.greeting-text {
		width: 100%;
		text-align: justify;
	}
}

@media (max-width: 768px) {
	.greeting .section-subtitle {
		font-size: 40px !important;
		letter-spacing: -5px;
	}

	.greeting-image-wrapper {
		width: 300px;
	}

	.greeting-image {
		width: 280px;
		height: 280px;
	}

	.director-badge {
		width: 140px;
		height: 140px;
		bottom: 0;
	}

	.director-title {
		font-size: 16px;
	}

	.director-name-text {
		font-size: 24px;
	}
}

/* Offical Section */
.official {
	padding: 80px 0;
	background: #fff;
}

.official-container {
	max-width: 750px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Recruit Section */
.recruit {
	display:none;/*不要だが念のため非表示に*/
	padding: 80px 0;
	background-image: url('img/bg_recruit.webp');
	background-size: cover;
}

.recruit-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.recruit .section-header {
	text-align: center;
	margin-bottom: 40px;
}

.recruit .section-title {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 30px;
	color: #261f00;
	margin-bottom: 10px;
	font-weight: 500;
}

.recruit .section-subtitle {
	font-family: 'Quicksand', sans-serif;
	font-size: 20px;
	color: #aec453;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.recruit-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
	max-width: 1000px;
	margin: 0 auto;
	background-color: #fdf6e5;
	padding: 40px;
	border-radius: 20px;
}

.recruit-info {
	flex: 1;
}

.recruit-text {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 16px;
	line-height: 2;
	color: #261f00;
	margin-bottom: 30px;
}

.recruit-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.recruit-tag {
	display: inline-block;
	padding: 8px 20px;
	background-color: #fff;
	border: 2px solid #aec453;
	border-radius: 20px;
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 14px;
	color: #aec453;
	font-weight: 700;
}

.recruit-image {
	width: 40%;
	max-width: 300px;
}

.recruit-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* External Banners */
.external-banners {
	padding: 80px 0;
}

.banner-list {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.banner-list li {
	max-width: 280px;
}

.banner-list a {
	display: block;
	transition: opacity 0.3s;
}

.banner-list a:hover {
	opacity: 0.8;
}

/* Footer */

.footer-map {
	width: 100%;
	margin-bottom: 0;
	background: #b9c974;
}

.footer-map img {
	width: 100%;
	display: block;
}

.footer-content {
	width: 100%;
	margin: 0 auto;
}

.footer-main {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-color: #b9c974;
}

.footer-left {
	width: 60%;
}

.footer-right {
	width: 35%;
}

.footer-clinic-name {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 30px;
	margin-bottom: 10px;
}

.footer-info {
	background-image: url(img/bg_concept.webp);
	background-size: cover;
	background-position: center;
	padding: 50px 0;
}

.info-logo-address {
	text-align: center;
}

.footer-tel {
	font-family: 'Quicksand', sans-serif;
	font-weight: 600;
	font-size: 36px;
	color: #261f00;
	margin-top: 5px;
}

.footer-info .info-tel {
	position: relative;
	margin-bottom: 20px;
	background-color: #aec453;
}

.footer-info .info-tel::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 23px 39px;
	border-color: transparent transparent #ffd4b7 #5B9000 !important;
	z-index: 1;
}

.footer-info .info-tel a {
	font-family: Quicksand;
	display: inline-flex;
	align-items: center;
	color: #261F00;
	padding: 15px 40px;
	text-decoration: none;
	font-size: 40px;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}


.footer-info .insta {
	position: relative;
	margin-bottom: 20px;
	background-color: #FFC3DD;
}

.footer-info .insta::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 23px 39px;
	border-color: transparent transparent #ffd4b7 #E487AF !important;
	z-index: 1;
}

.footer-info .insta a {
	font-family: Quicksand;
	display: inline-flex;
	align-items: center;
	color: #261F00;
	padding: 15px 40px;
	text-decoration: none;
	font-size: 40px;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.footer-external-links {
	margin-bottom: 30px;
}

.btn-external {
	display: inline-block;
	background-color: transparent;
	color: #fff;
	border: 1px solid #fff;
	padding: 10px 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	text-decoration: none;
	border-radius: 50px;
	font-size: 14px;
	transition: all 0.3s;
}

.btn-external:hover {
	background-color: #fff;
	color: #aec453;
}

.footer-hours {
	background-color: #fff;
	border: 5px solid #49b98d;
	border-radius: 10px;
	padding: 20px;
	color: #261f00;
	margin-top: 20px;
	max-width: 600px;
}

.footer-hours h3 {
	background-color: #49b98d;
	color: #fff;
	padding: 10px;
	margin: -20px -20px 20px -20px;
	border-radius: 5px 5px 0 0;
	text-align: center;
	font-size: 20px;
}

.footer-hours table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	font-size: 14px;
}

.footer-hours th,
.footer-hours td {
	border: none;
	padding: 5px;
	text-align: center;
}

.footer-hours th {
	font-weight: normal;
}

.footer-hours tr:first-child th {
	border-bottom: 1px solid #49b98d;
}

.hours-note p {
	font-size: 12px;
	margin-bottom: 5px;
	line-height: 1.4;
}

.footer-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
}

.footer-nav-list>li {
	margin-bottom: 15px;
}

.footer-nav-list a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	display: inline-block;
	position: relative;
	padding-right: 20px;
}

.footer-sub-nav {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
}

.footer-sub-nav li {
	margin-bottom: 5px;
}

.footer-sub-nav a {
	font-size: 16px;
	font-weight: normal;
}

.footer-copyright {
	text-align: center;
	font-size: 16px;
	color: #333;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding-top: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
	.footer-main {
		flex-direction: column;
	}

	.footer-left,
	.footer-right {
		width: 100%;
	}

	.footer-right {
		margin-top: 40px;
	}

	.footer-nav-list {
		flex-direction: column;
		text-align: left;
	}

	.footer-nav-list a {
		padding-right: 0;
		padding-left: 20px;
	}

	.footer-nav-main {
		padding: 30px;
	}

	.footer-nav-submenu {
		text-align: left;
	}

	.footer-nav-list a::after {
		right: auto;
		left: 0;
		content: '<';
		/* Just for visual difference or remove */
		display: none;
		/* Maybe remove arrow on mobile or keep */
	}

	.footer-nav-list a::before {
		content: '>';
		position: absolute;
		left: 0;
		font-family: monospace;
		font-size: 20px !important;
	}
}

/* Concept Section */
.concept {
	padding: 60px 0;
	background-image: url('img/bg_concept.webp');
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.concept-header {
	text-align: center;
	margin-bottom: 40px;
	background-image: url(img/concept-imgs.webp);
	background-size: contain;
	background-position: 0 70px;
	background-repeat: no-repeat;
}

.concept-title {
	font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif;
	font-size: 100px;
	letter-spacing: 5px;
	margin-bottom: 10px;
	display: inline-block;
}

.concept-title span {
	display: inline-block;
}

.char-c1 {
	color: #59c3e1;
}

.char-o1 {
	color: #a4d55e;
}

.char-n {
	color: #f0908d;
}

.char-c2 {
	color: #f6ad3c;
}

.char-e {
	color: #f0908d;
}

.char-p {
	color: #f0908d;
}

.char-t {
	color: #f6ad3c;
}

.concept-subtitle-jp {
	color: var(--Rectangle-233, #261F00);
	text-align: center;
	font-family: "Zen Maru Gothic";
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.concept-catchphrase {
	color: var(--Rectangle-233, #261F00);
	text-align: center;
	font-family: "Hachi Maru Pop";
	font-size: 50px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	margin: 50px 0 0;
}

.concept-catchphrase .highlight {
	color: var(--Rectangle-225, #F88B3D);
	text-align: center;
	font-family: "Hachi Maru Pop";
	font-size: 65px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	background: #fff;
	border-radius: 80px;
}

.concept-english {
	font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif;
	font-size: 40px;
	color: #594a42;
	margin-bottom: 40px;
}

.char-i1 {
	color: #a4d55e;
}

.char-o2 {
	color: #f0908d;
}

.char-i2 {
	color: #a4d55e;
}

.concept-content {
	margin-bottom: 50px;
}

.concept-images {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.concept-img-wrapper {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.concept-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.concept-text {
	max-width: 800px;
	margin: 0 auto;
	text-align: left;
	line-height: 1.8;
	color: #594a42;
}

.concept-text p {
	font-size: 20px;
	margin-bottom: 20px;
}

.concept {
	margin: 0 auto 30px;
}

.step-item {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 50px;
	padding: 10px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	position: relative;
}

.step-number {
	font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif;
	font-size: 24px;
	color: #333131;
	width: 50px;
	height: 50px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	flex-shrink: 0;
}

.step-text {
	font-size: 20px;
	font-weight: 400;
	color: #ffffff;
	flex-grow: 1;
	text-align: center;
}

.step-01 {
	background: #0076AD;
}

.step-02 {
	background: #47AAD9;
}

.step-03 {
	background: #AEC453;
}

.step-04 {
	background: #5B9000;
}

.step-05 {
	background: #F7B530;
}

.step-06 {
	background: #F88B3D;
}

.step-07 {
	background: #E487AF;
}

.step-note {
	color: var(--Rectangle-233, #261F00);
	text-align: center;
	font-family: "Zen Maru Gothic";
	font-size: 25px;
	font-style: normal;
	font-weight: 500;
	line-height: 200%;
	margin-bottom: 25px;
}

.concept-banner {
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	background-image: url(img/concept-ribbon.webp);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 136px;
}

.concept-banner::before {
	left: -10px;
}

.concept-banner::after {
	right: -10px;
}

.concept-banner p {
	font-size: 32px;
	font-weight: bold;
	color: #f6ad3c;
	padding-top: 20px;
	margin: 0;
}

/* --------------------------------------------------
  page-clinic.php
-------------------------------------------------- */
.page-header {
	position: relative;
	background-image: url('img/clinic_header_bg.webp');
	background-size: cover;
	background-position: center;
	text-align: center;
	height: 450px;
}

.page-title {
	font-family: "Hachi Maru Pop";
	color: #fff;
	font-size: 55px;
	font-weight: 400;
	margin: 0;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Clinic Video */
.clinic-video {
	background-image: url('img/bg_blue.webp');
	background-size: cover;
	background-position: center;
}

.video-wrapper {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
	cursor: pointer;
}

.video-wrapper .video-thumb {
	width: 100%;
	height: auto;
	display: block;
}

.video-wrapper .youtube-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 114px;
	height: 75px;
}

/* Staff Intro */
.staff-intro {
	background-image: url('img/bg_staff_profile.webp');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 80px 0;
}

.staff-profile {
	display: flex;
	gap: 60px;
	margin: 80px 0;
}

.staff-profile.reverse {
	flex-direction: row-reverse;
}

.staff-image {
	position: relative;
	width: 30%;
}

.staff-image .image-bg {
	position: absolute;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.staff-intro.director .staff-image .image-bg {
	background-color: #0076ad;
}

.staff-intro.vice-director .staff-image .image-bg {
	background-color: #f88b3d;
}

.staff-image img {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0 auto;
}

.staff-name-badge {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	text-align: center;
	z-index: 2;
}

.staff-role {
	font-size: 32px;
	display: block;
}

.staff-name-ja {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 50px;
	display: block;
	line-height: 1.2;
}

.staff-name-en {
	font-family: 'Quicksand', sans-serif;
	font-size: 30px;
	display: block;
}

.staff-info {
	width: 70%;
}

.staff-history {
	margin-bottom: 30px;
}

.staff-section-title {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 40px;
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 5px dotted;
}

.staff-intro.director .staff-section-title {
	color: #0076ad;
	border-bottom-color: #0076ad;
}

.staff-intro.vice-director .staff-section-title {
	color: #f88b3d;
	border-bottom-color: #f88b3d;
}

.staff-info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.staff-info ul li {
	font-size: 20px;
	line-height: 2;
}

.clinic-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 20px;
	text-align: left;
}

.clinic-table th {
	text-align: left;
	padding: 10px 10px;
	white-space: nowrap;
	width: 80px;
	vertical-align: top;
}

.clinic-table td {
	padding: 10px 10px;
}

.clinic-table tr:not(:last-child) td,
.clinic-table tr:not(:last-child) th {
	border-bottom: 2px dotted #000;
}


/* Clinic Facilities */
.clinic-facilities {
	background-image: url('img/bg_facilities.webp');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 80px 0;
}

.facility-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px 30px;
}

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

.facility-item .facility-image {
	margin-bottom: 10px;
}

.facility-item .facility-label {
	color: #FFF;
	font-family: "Zen Maru Gothic";
	font-size: 25px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	border-radius: 10px;
	background: #E487AF;
	padding: 10px 0;
}

.facility-item .facility-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* --------------------------------------------------
  page-medical.php
-------------------------------------------------- */
.page-medical .page-header {
	background-image: url('img/medical_header_bg.webp');
}

.page-medical .medical-content {
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.intro-box {
	background-image: url('img/bg_medical-intro.webp');
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	padding: 25px 40px;
	text-align: center;
	max-width: 1080px;
	margin: 0 auto;
}

.intro-title {
	font-size: 36px;
	font-weight: bold;
}

.intro-text {
	font-size: 20px;
	line-height: 2;
}

.age-group-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.age-group-header {
	border-bottom: 6px dotted;
	margin-bottom: 40px;
}

#infant .age-group-header {
	border-color: #47aad9;
}

#toddler .age-group-header {
	border-color: #AEC453;
}

#kids .age-group-header {
	border-color: #E487AF;
}

#pre-teen .age-group-header {
	border-color: #F88B3D;
}

#infant h4 {
	color: #47aad9;
}

#toddler h4 {
	color: #AEC453;
}

#kids h4 {
	color: #E487AF;
}

#pre-teen h4 {
	color: #F88B3D;
}

.age-group-title {
	font-family: "Zen Maru Gothic" !important;
	font-size: 40px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 20px !important;
}

#infant .age-group-title {
	color: #47aad9;
}

#toddler .age-group-title {
	color: #AEC453;
}

#kids .age-group-title {
	color: #E487AF;
}

#pre-teen .age-group-title {
	color: #F88B3D;
}

.age-group-body {
	display: flex;
	gap: 40px;
	align-items: center;
	margin-bottom: 40px;
}

.age-group-image {
	width: 45%;
}

.age-group-description {
	width: 55%;
}

.age-group-description h4 {
	font-size: 28px;
	font-weight: bold;
	margin: 0 0 20px;
}

.age-group-description p {
	font-size: 20px;
	line-height: 2;
}

.treatment-list-wrapper {
	margin-bottom: 40px;
}

.treatment-list-title {
	font-size: 30px;
	text-align: center;
	margin-bottom: 30px;
	font-weight: bold;
}

.treatment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.treatment-list li {
	display: flex;
	margin: 20px 0;
	border-radius: 10px;
}

#infant .treatment-list li {
	border: 3px solid #47aad9;
}

#toddler .treatment-list li {
	border: 3px solid #AEC453;
}

#kids .treatment-list li {
	border: 3px solid #E487AF;
}

#pre-teen .treatment-list li {
	border: 3px solid #F88B3D;
}

.treatment-name {
	width: 30%;
	padding: 20px;
	font-weight: bold;
	font-size: 20px;
	background-color: #ffffff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#infant .treatment-name {
	color: #47aad9;
}

#toddler .treatment-name {
	color: #AEC453;
}

#kids .treatment-name {
	color: #E487AF;
}

#pre-teen .treatment-name {
	color: #F88B3D;
}

.treatment-description {
	width: 70%;
	padding: 20px;
	font-size: 18px;
	color: #ffffff;
}

#infant .treatment-description {
	background-color: #47aad9;
}

#toddler .treatment-description {
	background-color: #AEC453;
}

#kids .treatment-description {
	background-color: #E487AF;
}

#pre-teen .treatment-description {
	background-color: #F88B3D;
}

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

.see-also p {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
}

.see-also-links {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.btn-see-also {
	display: inline-block;
	padding: 20px 40px;
	border-radius: 50px;
	background-color: #ffffff;
	text-decoration: none;
	font-size: 24px;
	font-weight: bold;
	position: relative;
}

#kids .btn-see-also {
	color: #E487AF;
	border: 3px solid #E487AF;
}

#pre-teen .btn-see-also {
	color: #F88B3D;
	border: 3px solid #F88B3D;
}


.btn-see-also::after {
	content: '▶';
	margin-left: 10px;
}

/* Page Price Styles */
.price-section {
	padding: 0;
}

.price-area {
	background-image: url('img/footer_vector18.webp');
	background-size: cover;
	background-position: center;
	padding: 60px 0;
}

.price-table-container {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 40px;
	border-radius: 20px;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
}

.price-table th,
.price-table td {
	padding: 20px;
	border-bottom: 1px dotted #ccc;
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 24px;
	color: #261f00;
}

.price-table th {
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

.price-table td {
	text-align: right;
	font-weight: 400;
	white-space: nowrap;
}

.price-table .sub-item {
	font-size: 20px;
	font-weight: normal;
	margin-left: 1em;
	display: inline-block;
	margin-top: 5px;
}

/* FAQ Styles */
.faq-section {
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.faq-list {
	max-width: 1000px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 30px;
}

.faq-question {
	background-color: #AEC453;
	color: #fff;
	padding: 20px 30px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
	transition: border-radius 0.3s;
}

.faq-question.is-active {
	border-radius: 20px 20px 0 0;
}

.faq-question h3 {
	margin: 0;
	font-size: 20px;
	font-family: 'Zen Maru Gothic', sans-serif;
	font-weight: bold;
	padding-left: 60px;
	/* Space for Q icon */
	padding-right: 30px;
	/* Space for toggle icon */
}

.q-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.q-icon img {
	width: 100%;
	height: auto;
}

.faq-answer {
	background-color: #fff;
	padding: 30px;
	border: 2px solid #AEC453;
	border-top: none;
	border-radius: 0 0 20px 20px;
	display: none;
}

.faq-answer.is-open {
	display: block;
	animation: fadeIn 0.5s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Toggle Icon */
.faq-question::after {
	content: '';
	position: absolute;
	right: 30px;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.3s;
}

.faq-question.is-active::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 768px) {

	.price-table th,
	.price-table td {
		display: block;
		width: 100%;
		text-align: left;
		border: none;
	}

	.price-table td {
		padding-top: 0;
		padding-bottom: 20px;
		border-bottom: 1px dotted #ccc;
	}

	.faq-question h3 {
		font-size: 18px;
		padding-left: 50px;
	}

	.q-icon {
		width: 30px;
		left: 15px;
	}
}

/* Page Ortho Styles */
.page-ortho .section-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #261f00;
}

/* Intro Section */
.ortho-intro {
	background-image: url(img/bg_ortho-intro.webp);
	background-size: cover;
	background-position: center;
	padding: 60px 0;
}

.diagnosis-graphic {
	text-align: center;
	font-family: "Hachi Maru Pop";
	margin-bottom: 40px;
	margin: 70px 0 40px;
	padding: 20px;
	border-bottom: 3px dotted #333;
	position: relative;
}

.graphic-highlight {
	display: inline-block;
	background-color: #fff;
	color: #f88b3d;
	font-size: 40px;
	padding: 15px 40px;
	border-radius: 50px;
	vertical-align: middle;
	margin-right: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.graphic-text {
	font-size: 40px;
	color: #333;
	vertical-align: middle;
}

.heart-icon {
	font-size: 0.8em;
	margin-left: 5px;
	display: inline-block;
}

.intro-text {
	max-width: 900px;
	margin: 0 auto;
	line-height: 2.2;
	text-align: left;
}

.intro-text p {
	font-size: 20px;
	margin-bottom: 1.5em;
}

/* Diagnosis Section */
.ortho-diagnosis {
	padding: 80px 0;
	background: repeating-linear-gradient(90deg,
			#bce2f8,
			#bce2f8 20px,
			#aaddf8 20px,
			#aaddf8 40px);
}

.diagnosis-card {
	max-width: 1280px;
	margin: 0 auto;
	border-radius: 40px;
	position: relative;
	padding-top: 40px;
	/* Space for the tab */
}

.diagnosis-card-header {
	background-color: #AEC453;
	padding: 30px 20px;
	text-align: center;
	position: relative;
	border-radius: 40px 40px 0 0;
}

/* The Tab Shape */
.diagnosis-card-header::before {
	content: '';
	position: absolute;
	top: -70px;
	left: 50%;
	transform: translateX(-50%);
	width: 180px;
	height: 180px;
	background-color: #AEC453;
	border-radius: 50%;
	z-index: 1;
}

.diagnosis-card-header .section-title {
	color: #fff;
	margin: 0;
	position: relative;
	z-index: 2;
	/* Ensure text is above the tab if it overlaps */
	font-size: 2rem;
}

.diagnosis-card-intro {
	background-color: #d3e199;
	padding: 40px 60px;
	text-align: left;
	line-height: 2;
	font-size: 20px;
}

.diagnosis-card-intro p {
	margin: 0;
}

.diagnosis-card-body {
	background-color: #fff;
	padding: 30px 20px;
	border-radius: 0 0 40px 40px;
}

.diagnosis-points-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* Changed to 2 columns based on image density, or keep 3? Image looks like 2 or 3. Let's stick to 2 for better readability or 3 if items are short. Image shows 2 columns actually? No, image shows 3 columns of bullets. */
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.points-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.points-col li {
	position: relative;
	padding-left: 25px;
	margin-bottom: 20px;
	color: #5b9000;
	font-size: 18px;
	line-height: 1.4;
}

.points-col li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	width: 12px;
	height: 12px;
	background-color: #5b9000;
	border-radius: 50%;
}

@media (max-width: 768px) {
	.diagnosis-points-grid {
		grid-template-columns: 1fr;
	}

	.diagnosis-card-intro,
	.diagnosis-card-body {
		padding: 30px 20px;
	}
}

/* Causes Section */
.ortho-causes {
	padding: 60px 0;
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.causes-list {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.cause-item {
	position: relative;
	max-width: 1280px;
}

.cause-header {
	background-color: #E68A40;
	border-radius: 50px;
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: #fff;
	position: relative;
	z-index: 2;
	margin-bottom: -25px;
	margin-left: 0;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.cause-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cause-icon img {
	width: 50px;
}

.cause-title {
	background: none;
	padding: 0;
	margin: 0;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 400;
}

.cause-body {
	border-radius: 20px;
	padding: 50px 40px 40px;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.cause-image {
	flex: 0 0 35%;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #eee;
}

.cause-image img {
	width: 100%;
	height: auto;
	display: block;
}

.cause-details {
	flex: 1;
	font-size: 20px;
}

.cause-row {
	display: flex;
	align-items: flex-start;
	border-bottom: 2px dotted #ccc;
	padding: 20px 0;
	gap: 20px;
}

.cause-row:first-child {
	padding-top: 0;
}

.cause-label {
	min-width: 160px;
	color: #333;
}

.cause-text {
	flex: 1;
}

.cause-check-list {
	margin-top: 25px;
}

.check-item {
	position: relative;
	padding-left: 35px;
	margin-bottom: 15px;
	color: #333;
	line-height: 1.6;
}

.check-item::before {
	content: '✔';
	position: absolute;
	left: 0;
	top: 2px;
	color: #fff;
	background: #E68A40;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.cause-body {
		flex-direction: column;
		padding: 40px 20px 30px;
		gap: 0px
	}

	.cause-image {
		width: 100%;
		margin-bottom: 20px;
	}

	.cause-row {
		flex-direction: column;
		gap: 10px;
	}

	.cause-label {
		min-width: auto;
	}
}

/* Phases Section */
.ortho-phases {
	padding: 80px 0;
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.phase-intro {
	background: #ffffff;
	border: 3px solid #47AAD9;
	color: #47AAD9;
	border-radius: 20px;
	padding: 40px;
	position: relative;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 61px;
}

.phase-block {
	margin-bottom: 80px;
}

.phase-block:last-child {
	margin-bottom: 0;
}

.phase-title {
	font-size: 2.4rem;
	text-align: center;
	padding-bottom: 15px;
	margin-bottom: 30px;
	font-weight: bold;
	position: relative;
}

.phase-title::after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	background-image: radial-gradient(circle, currentColor 2px, transparent 2.5px);
	background-size: 10px 4px;
	background-repeat: repeat-x;
	position: absolute;
	bottom: 0;
	left: 0;
	opacity: 0.6;
}

.phase-desc {
	margin-bottom: 50px;
	line-height: 2;
}

.phase-content {
	position: relative;
	margin-top: 40px;
}

.content-title {
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: -65px auto 30px;
	background: #fff;
	padding: 10px 60px;
	display: table;
	border-radius: 10px;
	/* Border will be set by specific phase */
}

.treatment-grid {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.treatment-item {
	display: flex;
	align-items: stretch;
	gap: 30px;
}

.treatment-item h4 {
	flex: 0 0 240px;
	color: #fff;
	padding: 20px;
	text-align: center;
	border-radius: 10px;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	margin: 0;
}

.treatment-item p {
	flex: 1;
	margin: 0;
	line-height: 1.8;
}

/* Phase 1 Specifics (Blue) */
.phase-1 .phase-title {
	color: #4EB2D6;
}

.phase-1 .phase-content {}

.phase-1 .content-title {
	color: #4EB2D6;
	border: 3px solid #4EB2D6;
}

.phase-1 .treatment-item h4 {
	background-color: #4EB2D6;
}

/* Phase 2 Specifics (Orange) */
.phase-2 .phase-title {
	color: #F2964F;
}

.phase-2 .phase-content {
	border-color: #F2964F;
}

.phase-2 .content-title {
	color: #F2964F;
	border: 3px solid #F2964F;
}

.phase-2 .treatment-item h4 {
	background-color: #F2964F;
}

@media (max-width: 768px) {
	.treatment-item {
		flex-direction: column;
		gap: 15px;
	}

	.treatment-item h4 {
		flex: none;
		min-height: auto;
	}

	.phase-content {
		padding: 30px 20px;
	}
}

.content-title {
	font-size: 1.5rem;
	margin-bottom: 30px;
	background-color: #ffffff;
	color: #fff;
	display: inline-block;
	padding: 10px 40px;
	border-radius: 10px;
	width: 100%;
	box-sizing: border-box;
}

.treatment-grid {
	display: grid;
	gap: 30px;
}

.treatment-item {}

.treatment-item h4 {
	font-size: 1.3rem;
	text-align: center;
}

/* Invisalign Section */
.ortho-invisalign {
	padding: 60px 0;
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.ortho-invisalign .phase-title {
	color: #E487AF;
}

.invisalign-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 30px;
	color: #ef904c;
}

.invisalign-desc {
	margin: 0 auto 50px;
}

.invisalign-features {}

.feature-item {
	padding: 30px 0;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.reverse {
	flex-direction: row-reverse;
}

.invisalign-image {
	flex: 1;
}

.feature-text {
	flex: 1;
}

.feature-text h4 {
	color: #E487AF;
	font-family: "Zen Maru Gothic";
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: 160%;
}

/* Flow Section */
.ortho-flow {
	padding: 60px 0;
}

.flow-steps {
	display: flex;
	flex-direction: column;
	gap: 60px;
	max-width: 900px;
	margin: 0 auto;
}

.flow-step {
	position: relative;
	margin-top: 40px;
	/* Space for the popping up number */
}

.flow-header {
	padding: 20px;
	text-align: center;
	border-radius: 20px 20px 0 0;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60px;
}

.flow-number-circle {
	position: absolute;
	top: -50px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 100px;
	background: #fff;
	/* Fallback */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1;
	z-index: 2;
	color: #fff;
}

.flow-title {
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0;
	padding-top: 20px;
}

.flow-body {
	background: #fff;
	border: 5px solid;
	border-top: none;
	border-radius: 0 0 20px 20px;
	padding: 15px 20px;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.flow-image {
	flex: 0 0 40%;
	border-radius: 10px;
	overflow: hidden;
}

.flow-image img {
	width: 100%;
	height: auto;
	display: block;
}

.flow-text {
	flex: 1;
	font-size: 16px;
	line-height: 1.8;
}

/* Step Colors */
/* Step 1: Blue */
.flow-steps .step-01 {
	background-color: unset;
}

.flow-steps .step-01 .flow-header {
	background-color: #4EB2D6;
}

.flow-steps .step-01 .flow-number-circle {
	background-color: #4EB2D6;
}

.flow-steps .step-01 .flow-body {
	border-color: #4EB2D6;
}

/* Step 2: Green */
.flow-steps .step-02 {
	background-color: unset;
}

.flow-steps .step-02 .flow-header {
	background-color: #AEC453;
}

.flow-steps .step-02 .flow-number-circle {
	background-color: #AEC453;
}

.flow-steps .step-02 .flow-body {
	border-color: #AEC453;
}

/* Step 3: Orange */
.flow-steps .step-03 {
	background-color: unset;
}

.flow-steps .step-03 .flow-header {
	background-color: #F2964F;
}

.flow-steps .step-03 .flow-number-circle {
	background-color: #F2964F;
}

.flow-steps .step-03 .flow-body {
	border-color: #F2964F;
}

/* Step 4: Pink */
.flow-steps .step-04 {
	background-color: unset;
}

.flow-steps .step-04 .flow-header {
	background-color: #E487AF;
}

.flow-steps .step-04 .flow-number-circle {
	background-color: #E487AF;
}

.flow-steps .step-04 .flow-body {
	border-color: #E487AF;
}

@media (max-width: 768px) {
	.flow-body {
		flex-direction: column;
		padding: 30px 20px;
	}

	.flow-image {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.diagnosis-points-grid {
		grid-template-columns: 1fr;
	}

	.cause-row {
		flex-direction: column;
	}

	.treatment-grid {
		grid-template-columns: 1fr;
	}

	.invisalign-features {
		grid-template-columns: 1fr;
	}

	.flow-step {
		flex-direction: column;
		gap: 15px;
	}
}

/* =========================================
   MFT Page Styles
   ========================================= */

/* Hero */
.mft-hero {
	position: relative;
	width: 100%;
	height: 400px;
	background-image: url('img/bg_ortho-intro.webp');
	/* Using ortho bg as placeholder or similar */
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 60px;
}

.mft-title {
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 40px;
	color: #261f00;
	background: rgba(255, 255, 255, 0.8);
	padding: 20px 40px;
	border-radius: 50px;
	text-align: center;
}

/* Intro */
.mft-intro {
	padding: 80px 0;
	background: repeating-linear-gradient(90deg, #bce2f8, #bce2f8 20px, #aaddf8 20px, #aaddf8 40px);
}

.mft-intro-content {
	max-width: 1280px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 2;
	text-align: left;
	background: #fff;
	padding: 40px;
	border-radius: 10px;
}

/* Habits (Causes) */
.mft-habits {
	padding: 60px 0;
	background-image: url(img/bg_facilities.webp);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.mft-habits-intro {
	max-width: 1280px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 2;
	text-align: left;
	background: #fff;
	padding: 40px;
	border-radius: 10px;
}

.mft-habits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 35px 30px;
	justify-content: center;
	gap: 30px;
	max-width: 1200px;
	margin: 50px auto;
}

.mft-habit-item {
	width: 280px;
	border-radius: 20px;
	text-align: center;
}

.habit-image-wrapper {
	width: 100%;
	height: 180px;
	border-radius: 15px;
	margin-bottom: 15px;
	overflow: hidden;
}

.habit-image-placeholder {
	width: 100%;
	height: 100%;
}

.habit-label {
	color: #FFF;
	font-family: "Zen Maru Gothic";
	font-size: 25px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	border-radius: 10px;
	background: #E487AF;
	padding: 10px 0;
}

/* Posture */
.mft-posture {
	padding: 60px 0;
	background-color: #fff;
	text-align: center;
}

.mft-posture-content {
	max-width: 1000px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 2;
}

/* Flow */
.mft-flow {
	padding: 80px 0;
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.mft-flow-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1000px;
	margin: 50px auto 60px;
}

.mft-flow-step {
	width: 100%;
	aspect-ratio: 1;
	background-color: #fff;
	border-radius: 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
	border: 8px dotted #ccc;
}

.step-circle {
	flex: 1;
	margin-bottom: 10px;
}

.mft-flow-steps .step-number {
	font-family: "Zen Maru Gothic";
	font-size: 60px;
	font-weight: bold;
	line-height: 1;
	display: block;
}

.mft-flow-steps .step-text {
	font-size: 22px;
	font-weight: bold;
	line-height: 1.5;
}

/* Step Colors */
.mft-flow-steps .step-01 {
	border-color: #E487AF;
}

.mft-flow-steps .step-01 .step-number,
.mft-flow-steps .step-01 .step-text {
	color: #E487AF;
}

.mft-flow-steps .step-02 {
	border-color: #F88B3D;
}

.mft-flow-steps .step-02 .step-number,
.mft-flow-steps .step-02 .step-text {
	color: #F88B3D;
}

.mft-flow-steps .step-03 {
	border-color: #B9C974;
}

.mft-flow-steps .step-03 .step-number,
.mft-flow-steps .step-03 .step-text {
	color: #B9C974;
}

.mft-flow-steps .step-04 {
	border-color: #5B9000;
}

.mft-flow-steps .step-04 .step-number,
.mft-flow-steps .step-04 .step-text {
	color: #5B9000;
}

.mft-flow-steps .step-05 {
	border-color: #0076AD;
}

.mft-flow-steps .step-05 .step-number,
.mft-flow-steps .step-05 .step-text {
	color: #0076AD;
}

.mft-flow-steps .step-06 {
	border-color: #47AAD9;
}

.mft-flow-steps .step-06 .step-number,
.mft-flow-steps .step-06 .step-text {
	color: #47AAD9;
}

.mft-flow-note {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
	font-size: 18px;
}

/* Aiube */
.mft-aiube {
	padding: 80px 0;
	background-color: #fff;
}

.mft-section-header {
	text-align: center;
	margin-bottom: 40px;
}

.mft-section-title {
	display: inline-block;
	font-size: 32px;
	color: #261f00;
	border-bottom: 3px solid #aec453;
	padding-bottom: 10px;
}

.mft-desc {
	max-width: 1000px;
	margin: 0 auto 40px;
	font-size: 18px;
	line-height: 2;
}

.mft-subsection-header {
	text-align: center;
	margin: 60px 0 30px;
}

.mft-subsection-title {
	font-size: 24px;
	background-color: #aec453;
	color: #fff;
	display: inline-block;
	padding: 10px 40px;
	border-radius: 30px;
}

.aiube-steps {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.aiube-step {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.aiube-number {
	background-color: #aec453;
	color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 20px;
	flex-shrink: 0;
}

.aiube-text {
	font-size: 18px;
	font-weight: bold;
}

/* Other Exercises */
.mft-other-exercises {
	padding: 60px 0;
	background-color: #f0f8ff;
}

@media (max-width: 768px) {
	.mft-flow-steps {
		grid-template-columns: 1fr;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Training Section */
.mft-training {
	padding: 60px 0;
	background-image: repeating-linear-gradient(to right, #eff7ce 0px, #eff7ce 20px, #e6f2b5 20px, #e6f2b5 40px);
}

.mft-training-text {
	text-align: left;
	max-width: 900px;
	margin: 0 auto 40px;
	font-size: 18px;
	line-height: 2;
}

.mft-training-images {
	display: flex;
	justify-content: center;
	gap: 40px;
}

.training-image {
	width: 45%;
	max-width: 500px;
}

.training-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: block;
}

@media (max-width: 768px) {
	.mft-training-images {
		flex-direction: column;
		align-items: center;
	}

	.training-image {
		width: 100%;
	}
}

/* Aiube Section Updates */
.mft-aiube {
	padding: 80px 0;
	background-color: #bce2f8;
	background-image: radial-gradient(#ffffff 20%, transparent 20%), radial-gradient(#ffffff 20%, transparent 20%);
	background-position: 0 0, 10px 10px;
	background-size: 20px 20px;
}

.mft-aiube-header {
	background-color: #0076AD;
	border-radius: 50px;
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: #fff;
	margin: 50px auto 20px;
	max-width: 1000px;
}

.aiube-icon img {
	width: 50px;
}

.mft-aiube-title {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

.mft-aiube-box {
	background-color: #fff;
	border-radius: 20px;
	padding: 40px;
	max-width: 1000px;
	margin: 0 auto 60px;
}

.mft-aiube-box:last-child {
	margin-bottom: 0;
}

.mft-desc {
	margin: 0;
	font-size: 18px;
	line-height: 2;
}

.aiube-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 800px;
	margin: 0 auto;
}

.aiube-step {
	border-radius: 50px;
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	color: #fff;
}

.aiube-number {
	background-color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 24px;
	flex-shrink: 0;
	font-family: 'Oswald', sans-serif;
	/* Assuming Oswald is available or similar */
}

.aiube-text {
	font-size: 18px;
	font-weight: bold;
}

/* Step Colors */
.aiube-step.step-01 {
	background-color: #0076AD;
}

.aiube-step.step-01 .aiube-number {
	color: #0076AD;
}

.aiube-step.step-02 {
	background-color: #47AAD9;
}

.aiube-step.step-02 .aiube-number {
	color: #47AAD9;
}

.aiube-step.step-03 {
	background-color: #AEC453;
}

.aiube-step.step-03 .aiube-number {
	color: #AEC453;
}

.aiube-step.step-04 {
	background-color: #F88B3D;
}

.aiube-step.step-04 .aiube-number {
	color: #F88B3D;
}

.aiube-step.step-05 {
	background-color: #E487AF;
}

.aiube-step.step-05 .aiube-number {
	color: #E487AF;
}

@media (max-width: 768px) {
	.mft-aiube-box {
		padding: 30px 20px;
	}

	.aiube-step {
		flex-direction: column;
		text-align: center;
		padding: 20px;
		border-radius: 20px;
	}
}



/* Other Exercises Section Updates */
.mft-other-exercises {
	padding: 80px 0;
	background-image: repeating-linear-gradient(to right, #fff5ee 0px, #fff5ee 20px, #fcebe2 20px, #fcebe2 40px);
}

.mft-exercise-group {
	max-width: 1000px;
	margin: 0 auto 60px;
}

.mft-exercise-header {
	border-radius: 50px;
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: #fff;
	margin-bottom: 30px;
}

.header-green {
	background-color: #AEC453;
}

.header-orange {
	background-color: #F88B3D;
}

.exercise-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.exercise-icon img {
	width: 100%;
	height: auto;
}

.mft-exercise-title {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

.mft-exercise-content {
	padding: 0 20px;
	margin-bottom: 40px;
}

.mft-exercise-content .mft-desc {
	text-align: left;
	margin-bottom: 0;
}

/* Hero Slider */
.hero {
	position: relative;
	overflow: hidden;
	background: none;
	/* Remove static background */
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: heroSlideAnimation 18s infinite;
}

.hero-slide:nth-child(1) {
	animation-delay: 0s;
}

.hero-slide:nth-child(2) {
	animation-delay: 6s;
}

.hero-slide:nth-child(3) {
	animation-delay: 12s;
}

@keyframes heroSlideAnimation {
	0% {
		opacity: 0;
		transform: scale(1.05);
	}

	5% {
		opacity: 1;
	}

	33% {
		opacity: 1;
		transform: scale(1);
	}

	38% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

/* =========================================
   Tablet Styles
   ========================================= */
@media screen and (max-width: 1200px) {
	.gnav-item a span {
		font-size: 16px;
	}
}

/* Hide Hamburger Menu on Desktop */
.hamburger-menu {
	display: none;
}

/* =========================================
   Mobile Styles
   ========================================= */
@media screen and (max-width: 768px) {

	/* Header */
	.header-content {
		padding: 10px 20px;
		position: relative;
	}

	.hero-left {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px;
	}

	.hero-logo {
		width: 150px;
		height: auto;
		margin: 0 auto;
	}

	.hero-ribbon {
		width: 150px;
		margin-left: 0;
		padding-top: 16px;
		font-size: 13px;
		background-size: contain;
	}

	.hero-right {
		display: none;
		/* Hide contact info on mobile header */
	}

	/* Hamburger Menu */
	.hamburger-menu {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 60px;
		height: 60px;
		background-color: #E75393;
		position: fixed;
		top: 10px;
		right: 20px;
		cursor: pointer;
		z-index: 200;
	}

	.hamburger-menu span {
		display: block;
		width: 30px;
		height: 2px;
		background-color: #fff;
		margin: 3px 0;
		transition: all 0.3s;
	}

	.hamburger-menu p {
		color: #fff;
		font-size: 10px !important;
		margin: 0;
		margin-top: 2px;
		font-weight: bold;
	}

	/* Change text to CLOSE when active */
	.hamburger-menu.active p {
		font-size: 0 !important;
	}

	.hamburger-menu.active p::after {
		content: "CLOSE";
		font-size: 10px;
		display: block;
	}

	/* Hamburger Animation */
	.hamburger-menu.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger-menu.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	/* Mobile Navigation */
	.gnav {
		position: fixed;
		top: 0 !important;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: #ffffff;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 150;
		overflow-y: auto;
		padding-top: 80px;
		/* Space for header */
	}

	.gnav.scrolled {
		top: 0 !important;
	}

	.gnav.active {
		transform: translateX(0);
	}

	.gnav-list {
		flex-direction: column;
		background: transparent;
		padding: 0 25px;
	}

	.gnav-item {
		width: 100%;
		border-bottom: 2px dashed #333;
		position: relative;
	}

	.gnav-item:not(:last-child)::after {
		display: none;
	}

	.gnav-item a {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		padding: 15px 0;
		font-size: 18px;
		color: #333;
		position: relative;
		width: 100%;
		box-sizing: border-box;
	}

	.gnav-item a img {
		position: static;
		height: 30px;
		width: 30px;
		margin-right: 20px;
	}

	.gnav-item a span {
		font-size: 18px;
		font-family: "Zen Maru Gothic", sans-serif;
	}

	/* Pink Triangle Arrow */
	.gnav-item a::after {
		content: "";
		position: absolute;
		right: 30px;
		top: 50%;
		transform: translateY(-50%);
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 7px 0 7px 10px;
		border-color: transparent transparent transparent #E75393;
		transition: transform 0.3s;
	}

	.gnav-submenu {
		position: static;
		background-color: #ffeef5;
		box-shadow: none;
		display: block;
		padding: 10px 0;
	}

	.gnav-item.has-submenu:hover .gnav-submenu {
		display: none;
		/* Disable hover on mobile */
	}

	.gnav-item.has-submenu.active .gnav-submenu {
		display: block;
	}

	/* Rotate arrow when submenu open */
	.gnav-item.has-submenu.active>a::after {
		transform: translateY(-50%) rotate(90deg);
	}

	.gnav-submenu li a {
		padding-left: 80px;
		font-size: 16px;
	}

	/* Hero Section */
	.hero {
		height: auto;
		min-height: 600px;
		padding-top: 50px;
	}

	.hero-content {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		padding: 40px 0;
		text-align: center;
		width: 90%;
		box-sizing: border-box;
	}

	.hero-catchphrase {
		font-size: 28px !important;
		padding: 194px 0;
	}

	.hero-catchphrase .highlight,
	.hero-catchphrase .highlight_b {
		font-size: 35px;
	}

	.hero-bottom-banners {
		bottom: 0;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%);
	}

	.hero-title-main {
		font-size: 24px;
		line-height: 1.4;
	}

	.hero-title-sub {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.hero-features {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.hero-feature-circle {
		width: 100px;
		height: 100px;
		font-size: 12px;
	}

	.hero-feature-circle span {
		font-size: 14px;
	}

	.hero-banner-item {
		width: 115px;
		height: 115px;
	}

	/* Concept Section */
	.concept-header {
		text-align: center;
		margin-bottom: 40px;
		background-image: url(img/concept-imgs_sp.webp);
		background-size: contain;
		background-position: 0 0;
		background-repeat: no-repeat;
	}

	.concept-catchphrase {
		color: var(--Rectangle-233, #261F00);
		text-align: center;
		font-family: "Hachi Maru Pop";
		font-size: 22px;
		font-style: normal;
		font-weight: 400;
		line-height: 160%;
		margin: 50px 0 0;
	}

	.concept-catchphrase .highlight {
		color: var(--Rectangle-225, #F88B3D);
		text-align: center;
		font-family: "Hachi Maru Pop";
		font-size: 27px;
		font-style: normal;
		font-weight: 400;
		line-height: 160%;
		background: #fff;
		border-radius: 80px;
	}

	.concept-english {
		font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif;
		font-size: 28px;
		color: #594a42;
		margin-bottom: 23px;
	}

	.concept-circles {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.concept-circle {
		width: 200px;
		height: 200px;
	}

	.concept-text h3 {
		font-size: 20px;
	}

	.concept-text p {
		font-size: 16px;
	}

	/* Concept Section Mobile */
	.concept-steps {
		flex-direction: column;
		gap: 15px;
	}

	.concept-title {
		font-size: 40px;
		padding-top: 230px;
	}

	.step-item {
		margin-bottom: 10px;
	}

	.step-text {
		font-size: 16px;
	}

	.concept-banner {
		font-size: 16px;
		padding: 15px;
	}

	/* Medical Section Mobile */

	.medical-info::before,
	.medical-info::after {
		width: 196px;
		height: 100%;
	}

	.medical-info .section-subtitle {
		font-size: 40px !important;
		letter-spacing: -5px;
	}

	.medical-info .section-title {
		font-size: 24px;
	}

	.medical-grid {
		flex-direction: column;
		grid-template-columns: 1fr;
		gap: 80px;
	}

	.medical-item {
		height: auto;
		min-height: 200px;
	}

	.medical-content h3 {
		font-family: 'Hachi Maru Pop', cursive;
		font-size: 24px;
		color: #fff;
		margin: 25px 0;
	}

	.btn-more {
		width: 200px;
		position: absolute;
		bottom: -25px;
		left: 50%;
		transform: translateX(-50%);
		display: inline-block;
		background-color: #fff;
		padding: 10px 20px;
		border-radius: 50px;
		text-decoration: none;
		font-size: 18px;
		font-weight: 700;
		font-family: 'Zen Maru Gothic', sans-serif;
		transition: opacity 0.3s;
	}

	.medical-background-overlay img {
		height: 50px;
	}

	/* Welcome Section Mobile */
	.welcome-features {
		flex-direction: column;
		gap: 30px;
	}

	.welcome-feature {
		width: 100%;
	}

	.feature-photo {
		height: 280px;
	}

	/* Age Specific Section Mobile */
	.age-cards {
		flex-direction: column;
		gap: 30px;
	}

	.age-card {
		flex-direction: column;
	}

	.card-image {
		top: -80px;
		width: 200px;
		height: 200px;
	}

	.card-content {
		width: 100%;
		padding: 20px;
	}

	/* Greeting Section Mobile */
	.greeting {
		background-size: cover;
		background-position-x: right;
		padding: 0 0 360px;
	}

	.greeting-content {
		margin: 0;
		flex-direction: column-reverse;
		gap: 0;
	}

	.greeting .section-header {
		text-align: center;
		margin-bottom: 25px;
	}

	.greeting .section-title {
		font-size: 24px;
		text-align: center;
	}

	.greeting-image {
		width: 100%;
		margin-bottom: 20px;
	}

	.greeting-text {
		width: 100%;
	}

	.official {
		padding: 20px 0;
	}

	/* Recruit Section Mobile */
	.recruit-content {
		flex-direction: column;
		padding: 30px 20px;
	}

	.recruit-text {
		width: 100%;
		margin-bottom: 30px;
	}

	.recruit-links {
		width: 100%;
	}

	/* Footer Mobile */
	.footer-content {
		flex-direction: column;
	}

	.info-container {
		flex-direction: column;
		align-items: center;
		gap: 30px;
		padding: 20px;
	}

	.info-tel a {
		font-family: Quicksand;
		display: inline-flex;
		align-items: center;
		background-color: #aec453;
		color: #261F00;
		padding: 15px 40px;
		text-decoration: none;
		font-size: 34px !important;
		font-weight: 600;
		position: relative;
		overflow: hidden;
	}

	.info-hours table {
		font-size: 18px;
	}

	.info-hours th,
	.info-hours td {
		padding: 5px;
	}

	.footer-left,
	.footer-right {
		width: 100%;
		margin-bottom: 30px;
	}

	.footer-nav {
		flex-direction: column;
		gap: 10px;
	}

	.footer-nav li {
		border-right: none;
		padding-right: 0;
		margin-bottom: 10px;
	}

	.phase-intro {
		padding: 25px;
	}

	.phase-title {
		font-size: 24px;
	}

	.phase-block {
		margin-bottom: 50px;
	}

	.ortho-phases {
		padding: 0;
	}

	.feature-text h4 {
		font-size: 24px;
		margin: 0 0 10px;
	}

	.habit-image-wrapper {
		width: 100%;
		height: 220px;
	}

	.mft-habit-item {
		width: 100%;
	}

	.habit-image-placeholder img {
		width: 100%;
		object-fit: cover;
	}

	.price-table-container {
		max-width: 90%;
		margin: 0 auto;
		background: #fff;
		padding: 0px;
		border-radius: 20px;
	}



}


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

	/* Hide Info Backgrounds on Mobile to prevent clutter */
	.info::before,
	.info::after {
		width: 130px;
	}

	.info::after {
		top: 80%;
		background-image: url(img/bg_info_right.webp);
	}

	.section-heading-title {
		font-size: 25px;
	}

	.container {
		padding: 0 15px;
	}

	p {
		font-size: 16px !important;
	}

	.section-title {
		font-size: 24px;
		margin-bottom: 30px;
	}

	.footer-copyright p {
		font-size: 14px !important;
	}

	/*下層ページ*/
	.page-title {
		font-family: "Hachi Maru Pop";
		color: #fff;
		font-size: 32px;
		font-weight: 400;
		margin: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.video-wrapper iframe {
		width: 100%;
	}

	.staff-profile {
		display: block;
		margin-bottom: 40px;
	}

	.staff-image {
		position: relative;
		width: 80%;
		margin: 0 auto;
	}

	.staff-info {
		width: 100%;
	}

	.staff-section-title {
		font-size: 25px;
	}

	.staff-info ul li {
		font-size: 16px;
	}

	.clinic-table {
		font-size: 19px;
	}

	.facility-grid {
		grid-template-columns: repeat(1, 1fr);
	}

	.age-group-body {
		flex-direction: column;
		gap: 30px;
	}

	.age-group-image,
	.age-group-description {
		width: 100%;
	}

	.intro-box {
		padding: 25px 20px;
	}

	.intro-title {
		font-size: 30px;
		font-weight: bold;
	}

	.age-group-description h4,
	.treatment-list-title {
		font-size: 24px;
	}

	.treatment-list li {
		flex-direction: column;
	}

	.treatment-name,
	.treatment-description {
		width: 89%;
	}

	.diagnosis-graphic {
		margin: 0 0 40px;
	}

	.graphic-highlight {
		font-size: 24px;
		padding: 10px 30px;
	}

	.graphic-text {
		font-size: 24px;
	}

	.diagnosis-card-header .section-title {
		font-size: 25px;
	}

	.points-col li {
		font-size: 16px;
	}

	.see-also-links {
		flex-direction: column;
	}

	.feature-item {
		flex-direction: column !important;
	}

	.cause-details {
		font-size: 16px;
	}

}

/* PC のみ表示 */
.pc-only {
	display: block;
}

/* SP のみ表示 */
.sp-only {
	display: none;
}

/* 768px 以下はスマホ表示 */
@media screen and (max-width: 768px) {
	.pc-only {
		display: none;
	}

	.sp-only {
		display: block;
	}
}

/* Mobile Fixed Footer */
.mobile-fixed-footer {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	height: 60px;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 100%;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	position: relative;
	font-family: 'Zen Maru Gothic', sans-serif;
}

.btn-tel {
	background-color: #AEC453;
	/* Green */
	float: left;
}

.btn-tel img {
	width: 30px;
	height: auto;
}

.btn-access {
	background-color: #47AAD9;
	float: right;
}

.fixed-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	border-width: 0 0 15px 15px;
	border-style: solid;
	border-color: transparent transparent rgba(0, 0, 0, 0.3) transparent;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent rgba(0, 0, 0, 0.2) transparent;
}

.fixed-btn::before {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 15px 15px;
	border-color: transparent transparent rgba(0, 0, 0, 0.2) transparent;
	z-index: 1;
}

@media screen and (max-width: 768px) {
	.mobile-fixed-footer {
		display: flex;
	}

	body {
		padding-bottom: 60px;
	}
}