/* =========================================
       Header (Floating Style)
    ========================================= */
.header {
	position: fixed;
	/* スライダーの上に重ねる */
	top: 0;
	/* 上部の余白 */
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	/* 画面端との余白を考慮 */
	max-width: 1220px;
	/* 指定幅 */
	height: 90px;
	background: #fff;
	z-index: 100;
	border-radius: 0 0px 10px 10px;
	/* 角丸 */
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	/* 薄い影 */
	overflow: visible;
	/* メニュー展開のため */
}

#top header {
	position: absolute;
	top: 20px;
	border-radius: 10px
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding-left: 20px;
	/* 内側で角丸が切れないように調整 */
	border-radius: 0;
	overflow: hidden;
}

/* ロゴ */
.header__logo {
	display: flex;
	flex-direction: column;
}

.header__logo-img {
	height: 45px;
	width: auto;
}

/* PCナビ */
.header__nav {
	height: 100%;
	flex-grow: 1;
	margin: 0 30px;
}

.header__nav ul {
	display: flex;
	justify-content: flex-end;
	height: 100%;
}

.header__nav a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	font-weight: bold;
	font-size: 15px;
	transition: 0.3s;
}

.header__nav a:hover {
	color: #3b9b27;
}

.header__nav li.active a {
	position: relative;
}

/* アクティブ線の調整 */
.header__nav li.active a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 12px;
	right: 12px;
	height: 4px;
	background: #3b9b27;
}

/* 右側ボタンエリア */
.header__actions {
	display: flex;
	height: 100%;
}

.action-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 85%;
	margin: auto;
	border-left: 1px solid #36af14;
	font-size: 11px;
	font-weight: bold;
}

.action-btn span {
	display: block;
	margin-top: 10px;
	line-height: 1;
}

/* メニューボタン */
.header__menu-btn {
	width: 90px;
	height: 100%;
	background: #3b9b27;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	border-radius: 0 0 10px 0;
}

.menu-icon {
	width: 28px;
	height: 14px;
	position: relative;
	margin-bottom: 5px;
}

.menu-icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transition: 0.3s;
}

.menu-icon span:nth-child(1) {
	top: 0;
}

.menu-icon span:nth-child(2) {
	top: 6px;
}

.menu-icon span:nth-child(3) {
	bottom: 0;
}

/* アクティブ時の×アニメーション */
.header__menu-btn.is-active .menu-icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.header__menu-btn.is-active .menu-icon span:nth-child(2) {
	opacity: 0;
}

.header__menu-btn.is-active .menu-icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ドロップダウン (ヘッダーの形に合わせる) */
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100px;
	/* ヘッダーとの隙間 */
	left: 50%;
	width: 100%;
	background: #3b9b27;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 30px;
	z-index: 90;
}

.dropdown-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.dropdown-menu ul li {
	width: calc(100% / 4 - 23px);
}

.dropdown-menu a {
	display: block;
	font-size: 18px;
	color: #fff;
	font-weight: bold;
}

.dropdown-menu ul.child {
	display: block;
}

.dropdown-menu ul.child li {
	width: 100%;
}

.dropdown-menu ul.child li a {
	display: block;
	font-size: 14px;
	position: relative;
	transition: 0.3s;
}

.dropdown-menu ul.child li a:hover {
	padding-left: 5px;
}

.dropdown-menu ul.child li a::before {
	content: ">";
	font-size: 10px;
	margin-right: 8px;
	color: #ffffff;
	font-weight: bold;
}

.dropdown-menu ul li.long {
	width: calc(100% / 2 - 23px);
}

.dropdown-menu ul li.long ul.child {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.dropdown-menu ul li.long ul.child li {
	width: calc(100% / 2);
}


/* layout.css に追記 */
.header__nav ul li {
	position: relative;
}

/* 矢印アイコンのスタイル（共通） */
.js-arrow {
	display: none;
	/* デフォルトは非表示 */
	position: absolute;
	right: 15px;
	top: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 10;
}

/* 矢印の形（CSSで描画） */
.js-arrow::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: 0.3s;
}

/* 展開時の矢印反転 */
.js-arrow.is-active::before {
	transform: translate(-50%, -20%) rotate(-135deg);
}

/* =========================================
       Main Visual (Swiper)
    ========================================= */
.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	/* 画面いっぱいに表示 */
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	background-size: cover;
	background-position: center;
}

/* オーバーレイキャッチコピー */
.hero__overlay {
	position: absolute;
	top: 55%;
	right: 15%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.hero .swiper-button-prev {
	color: #1a634d;
}

.hero .swiper-button-next {
	color: #1a634d;
}

.hero .slide2 {
	background-position: top center;
}

/* =========================================
     Card Menu Section (div base)
  ========================================= */
.card-nav {
	max-width: 1220px;
	margin: -60px auto -200px;
	/* スライダーに少し被せる調整 */
	padding: 15px;
	border-radius: 10px 10px 0 0;
	position: relative;
	z-index: 20;
	font-family: "Noto Sans JP", sans-serif;
}

.card-nav__list {
	display: flex;
	gap: 20px;
	justify-content: center;
	list-style: none;
}

.card-nav__item {
	flex: 1;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	text-align: center;
	padding-bottom: 30px;
	transition: transform 0.3s;
}

.card-nav__item:hover {
	transform: translateY(-5px);
}

.card-nav__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* カード上部の色付け */
.card-nav__header {
	height: 100px;
	position: relative;
	margin-bottom: 45px;
	/* アイコンの円がはみ出すためのマージン */
}

.card-nav__item--green .card-nav__header {
	background-color: #8cc481;
}

.card-nav__item--blue .card-nav__header {
	background-color: #7dcfdf;
}

.card-nav__item--yellow .card-nav__header {
	background-color: #c9d961;
}

.card-nav__item--red .card-nav__header {
	background-color: #e59787;
}

/* アイコン配置（中央の白い円） */
.card-nav__icon-wrap {
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-nav__title {
	font-size: 18px;
	font-weight: bold;
	color: #444;
	margin-bottom: 25px;
	line-height: 1.4;
}

/* 矢印（擬似要素でsvgを背景に設定） */
.card-nav__arrow {
	width: 34px;
	height: 34px;
	margin: 0 auto;
	border-radius: 50%;
	position: relative;
}

.card-nav__arrow::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
}

.card-nav__item--green .card-nav__arrow:after {
	content: url("../images/menu_arw01.svg");
}

.card-nav__item--blue .card-nav__arrow {
	content: url("../images/menu_arw02.svg");
}

.card-nav__item--yellow .card-nav__arrow {
	content: url("../images/menu_arw03.svg");
}

.card-nav__item--red .card-nav__arrow {
	content: url("../images/menu_arw04.svg");
}

/* =========================================
     Medical Info Section (追加分)
  ========================================= */
.medical-info {
	background-color: #e6f5e9;
	/* 薄い緑の背景 */
	padding: 245px 0 80px 0;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}

.medical-info__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 60px;
	position: relative;
}

/* 左側の縦書き見出し */
.medical-info__side-title {
	writing-mode: vertical-rl;
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 0.2em;
	color: #333;
	padding-top: 10px;
}

.medical-info__content {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 40px 60px;
}

/* 診療受付時間テーブル */
.medical-info__table-unit {
	flex: 1;
	min-width: 450px;
}

.medical-info__label {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	display: block;
}

.medical-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	text-align: center;
	border: 1px solid #3b9b27;
}

.medical-table th,
.medical-table td {
	border: 1px solid #3b9b27;
	padding: 12px 5px;
	font-size: 16px;
}

.medical-table th {
	background: #fff;
	font-weight: bold;
}

.medical-table .time-col {
	background: #fff;
	width: 35%;
}

/* 下部の丸ボタン（病棟紹介・診療科目） */
.medical-info__links {
	display: flex;
	gap: 40px;
	margin-top: 30px;
}

.circle-link {
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	font-size: 18px;
}

.circle-link__icon {
	padding: 15px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.circle-link__icon img {
	display: block;
	margin: 0 auto;
}

/* 右側：予約・お問い合わせ・検索 */
.medical-info__action-unit {
	flex: 1;
	min-width: 450px;
}

.medical-info__contact-box {
	margin-bottom: 40px;
}

.contact-text--red {
	color: #e60012;
	font-weight: bold;
	margin-bottom: 10px;
}

.contact-text--small {
	color: #000000;
	font-size: 12px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.tel-row {
	display: flex;
	align-items: center;
	gap: 5px;
}

.tel-number {
	line-height: 1;
	font-size: 34px;
	font-weight: bold;
	color: #e60012;
	font-family: "source-sans-3-variable", sans-serif;
	margin-right: 20px;
}

.tel-times {
	font-size: 13px;
	line-height: 1.4;
	font-weight: bold;
}

/* キーワード検索 */
.search-box {
	border-top: 1px dashed #666;
	padding-top: 30px;
}

.search-form {
	display: flex;
	margin-top: 15px;
}

.search-form input {
	flex: 1;
	padding: 12px 15px;
	border: 1px solid #ccc;
	border-radius: 4px 0 0 4px;
	font-size: 14px;
}

.search-form button {
	background: #1a634d;
	color: #fff;
	border: none;
	padding: 0 25px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
}




/* =========================================
     News Section (お知らせ)
  ========================================= */
.news {
	background-color: #fff;
	padding: 100px 0;
}

.news__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 60px;
}

/* 左側の縦書き見出し */
.news__side-title {
	writing-mode: vertical-rl;
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 0.2em;
	color: #333;
	padding-top: 10px;
	height: fit-content;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}

.news__content {
	flex: 1;
	display: flex;
	gap: 40px;
}

/* カテゴリー選択エリア */
.news__category-nav {
	width: 160px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.category-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 36px;
	border-radius: 18px;
	font-size: 14px;
	font-weight: bold;
	border: 1.5px solid #ccc;
	transition: 0.3s;
	background: #fff;
}

/* 各カテゴリーの色設定 */
.category-btn--all {
	background-color: #8cc481;
	border-color: #8cc481;
	color: #fff;
}

.category-btn--news {
	color: #f15a22;
	border-color: #f15a22;
}

.category-btn--corona {
	color: #5c4e19;
	border-color: #5c4e19;
}

.category-btn--recruit {
	color: #3b82f6;
	border-color: #3b82f6;
}

.category-btn--medical {
	color: #007130;
	border-color: #007130;
}

.category-btn--other {
	color: #666;
	border-color: #666;
}

.category-btn:hover {
	opacity: 0.7;
	transform: translateX(5px);
}

.news__all-link {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: bold;
	font-size: 16px;
	color: #333;
}

/* お知らせリスト */
.news__list {
	flex: 1;
}

.news__item {
	border-bottom: 1px dashed #bbb;
	padding: 20px 0;
}

.news__item:first-child {
	padding-top: 0;
}

.news__link {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	transition: 0.2s;
}

.news__link:hover {
	opacity: 0.6;
}

.news__meta {
	width: 150px;
	flex-shrink: 0;
	padding-right: 25px;
	border-right: 1px solid #848484;
}

.news__date {
	display: block;
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 8px;
}

/* 記事内のカテゴリーラベル */
.news__label {
	display: block;
	padding: 2px 15px;
	border: 1px solid currentColor;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}

.news__title {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
	padding-bottom: 5px;
}

.news__label.cat01 {
	color: #f15a22;
	border: 1px solid #f15a22;
}

.news__label.cat02 {
	color: #5c4e19;
	border: 1px solid #5c4e19;
}

.news__label.cat03 {
	color: #3b82f6;
	border: 1px solid #3b82f6;
}

.news__label.cat04 {
	color: #007130;
	border: 1px solid #007130;
}

.news__label.cat09 {
	color: #666666;
	border: 1px solid #666666;
}


/* =========================================
     Facility Gallery Section (施設ギャラリー)
  ========================================= */
.gallery {
	padding: 0;
	overflow: hidden;
	background-color: #fff;
	position: relative;
	margin-bottom: 60px;
}

.gallery__inner {
	width: 100%;
	position: relative;
	display: flex;
	align-items: flex-start;
}

/* 左側：グリーンのタイトル枠 */
.gallery__bg-base {
	flex-shrink: 0;
	width: calc((100vw - 1220px) / 2 + 560px);
	background-color: #8cc481;
	border-radius: 0 40px 40px 0;
	padding: 60px 40px 240px 0;
	position: relative;
	z-index: 1;
	/* 重要：枠そのものはクリックをスルーさせる */
	pointer-events: none;
}

.gallery__title-area {
	width: 480px;
	margin-left: auto;
	padding-right: 40px;
	color: #fff;
	/* テキストの選択などはできるように戻す */
	pointer-events: auto;
}

.gallery__title {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 50px;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}

.gallery__copy {
	font-size: 20px;
	font-weight: bold;
	line-height: 2.2;
	letter-spacing: 0.1em;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}

/* 装飾文字：PHOT GALLERY */
.gallery__bg-text {
	position: absolute;
	top: 65px;
	right: 15px;
	z-index: 99;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

/* 右側：スライダー外枠 */
.gallery__slider-outer {
	flex: 1;
	margin-left: -320px;
	margin-top: 140px;
	background-color: #e6f5e9;
	border-radius: 40px 0 0 40px;
	padding: 80px 0 80px 30px;
	position: relative;
	z-index: 10;
	overflow: hidden;
	/* コンテナからはみ出すスライドを隠す */
	pointer-events: auto;
}

.gallery-swiper {
	width: 100%;
	overflow: visible !important;
	/* スライドを連続して見せるために重要 */
	cursor: default !important;
}

.gallery-swiper:active {
	cursor: grabbing;
}

.gallery-swiper .swiper-slide {
	width: 380px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	will-change: transform;
}

.gallery-card__img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 15px;
	image-rendering: -webkit-optimize-contrast;
}

.gallery-card__caption {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

.gallery-swiper .swiper-wrapper {
	transition-timing-function: ease-in-out;
}

/* -----------------------------------------
     ボタン型ページネーション
  ----------------------------------------- */
.gallery-swiper-pagination {
	position: relative;
	margin-top: 40px;
	display: flex;
	gap: 10px;
	z-index: 100;
	pointer-events: auto !important;
	justify-content: center;
}

/* Swiperのデフォルトクラスを上書き */
.gallery-swiper-pagination .swiper-pagination-bullet {
	width: 60px;
	height: 6px;
	background: #fff !important;
	/* ベースは白 */
	border-radius: 3px;
	opacity: 1 !important;
	margin: 0 !important;
	cursor: pointer;
	transition: 0.3s;
	border: none;
}

.gallery-swiper-pagination .swiper-pagination-bullet-active {
	background: #8cc481 !important;
	/* アクティブ時は緑 */
	width: 60px;
}

/* -----------------------------------------
   ギャラリー専用ナビゲーションボタン
----------------------------------------- */
/* ボタンの共通スタイル */
.gallery-button-next,
.gallery-button-prev {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: #fff;
	border-radius: 50%;
	z-index: 100;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

/* 疑似要素で矢印（＞）を作成 */
.gallery-button-next::after,
.gallery-button-prev::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 3px solid #8cc481;
	border-right: 3px solid #8cc481;
	display: block;
}

.gallery-button-next::after {
	transform: translateX(-2px) rotate(45deg);
}

.gallery-button-prev::after {
	transform: translateX(2px) rotate(-135deg);
}

/* ホバー時の挙動 */
.gallery-button-next:hover,
.gallery-button-prev:hover {
	background-color: #8cc481;
}

.gallery-button-next:hover::after,
.gallery-button-prev:hover::after {
	border-color: #fff;
}

/* ボタンの配置位置（左側の緑枠を考慮） */
.gallery-button-prev {
	left: 15px;
}

.gallery-button-next {
	right: 15px;
}





/* -----------------------------------------
   Instagram
----------------------------------------- */

#instagram {
	display: block;
	padding: 80px 40px;
	background: #d5f5dc;
}

#instagram h2 {
	color: #000;
	position: relative;
	z-index: 9;
}

#instagram h2:before {
	content: url("../images/instagram.svg");
	position: absolute;
	z-index: -1;
	top: 50%;
	left: -45px;
	transform: translateY(-50%);
}

.instagram_list {
	display: flex;
	gap: 40px;
	position: relative;
	z-index: 99;
}

.instagram_list_col {
	width: calc(100% / 4);
}

.instagram_list p.date {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: bold;
}

.instagram_list .img {
	display: block;
	margin-bottom: 20px;
	line-height: 1;
}

.instagram_list img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
	overflow: hidden;
}

.instagram_list p.comment {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	height: 4rem;
	color: #000;
	font-weight: bold;
	overflow: hidden;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}





/* =========================================
     Recruit Section (採用情報)
  ========================================= */
.recruit {
	background-color: #1a634d;
	/* 濃いグリーン */
	padding: 80px 0;
	color: #fff;
}

.recruit__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
}

.recruit__container {
	position: relative;
}

/* セクションタイトル */
.recruit__header {
	margin-bottom: 40px;
	position: relative;
}

.recruit__title {
	margin-bottom: 30px;
	font-size: 28px;
	font-weight: bold;
	position: relative;
	z-index: 2;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
}

/* 装飾文字：RECRUIT */
.recruit__bg-text {
	position: absolute;
	top: -55px;
	right: 0;
	font-size: 80px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.1);
	font-family: 'Arial Black', sans-serif;
	line-height: 1;
	z-index: 1;
	pointer-events: none;
}

.recruit__content {
	display: flex;
	align-items: center;
	gap: 60px;
}

/* 画像：角丸 */
.recruit__image {
	flex: 1;
	max-width: 50%;
}

.recruit__image img {
	width: 100%;
	height: auto;
	border-radius: 30px;
	display: block;
}

/* テキストエリア */
.recruit__info {
	flex: 1;
}

.recruit__copy {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 30px;
}

.recruit__text {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 40px;
}

/* 採用ボタン：白背景の丸みのあるデザイン */
.recruit__btn {
	display: flex;
	align-items: center;
	width: fit-content;
	background: #fff;
	color: #333;
	border: 3px solid #36af14;
	padding: 15px;
	border-radius: 50px;
	text-decoration: none;
	transition: transform 0.3s, box-shadow 0.3s;
}

.recruit__btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.recruit__btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
}

.recruit__btn-icon img {
	width: 35px;
	height: auto;
}

.recruit__btn-text {
	font-size: 20px;
	font-weight: bold;
	margin-right: 30px;
}

.recruit__btn-arrow {
	width: 30px;
	height: 30px;
	background: #8cc481;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}




/* =========================================
     Footer (フッター)
  ========================================= */
.footer {
	background-color: #fff;
}

.footer__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer__main {
	padding: 80px 0 60px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
}

/* 病院情報エリア */
.footer__hospital-info {
	width: 320px;
}

.footer__logo {
	margin-bottom: 30px;
}

.footer__logo img {
	height: auto;
}

.footer__address {
	font-size: 15px;
	line-height: 2;
	font-weight: bold;
}

.footer__address p {
	font-size: 15px;
	margin-bottom: 5px;
	line-height: 1;
}

.footer__corp-name {
	font-size: 18px !important;
	margin-bottom: 15px !important;
}

.footer__tel {
	font-size: 20px;
}

/* ナビゲーションエリア */
.footer__nav {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.footer__nav-unit {
	width: auto;
}

.footer__nav-title {
	line-height: 1;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	display: block;
}

.footer__nav ul li {
	margin-bottom: 5px;
}

.footer__nav ul li a {
	font-size: 12px;
	color: #333;
	display: flex;
	align-items: center;
	transition: 0.3s;
}

.footer__nav ul li a:hover {
	color: #006252;
}

/* 矢印（擬似要素） */
.footer__nav ul li a::before {
	content: ">";
	font-size: 10px;
	margin-right: 8px;
	color: #006252;
	font-weight: bold;
}

/* Instagram */
.footer__sns {
	position: absolute;
	top: 70px;
	right: 0px;
}

.footer__sns img {
	width: 40px;
	height: auto;
	transition: 0.3s;
}

.footer__sns a:hover img {
	opacity: 0.7;
}

/* 下部エリア */
.footer__bottom {
	background-color: #e6f5e9;
	/* 薄い緑 */
}

.footer__sub-links {
	display: flex;
	justify-content: center;
	padding: 20px 0;
	gap: 20px;
}

.footer__sub-links a {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	position: relative;
}

.footer__sub-links a:not(:last-child)::after {
	content: "|";
	position: absolute;
	right: -12px;
	color: #333;
}

.footer__copyright {
	background-color: #1a634d;
	/* 濃いグリーン */
	color: #fff;
	text-align: center;
	padding: 15px 0;
}

.footer__copyright small {
	font-size: 14px;
	font-weight: bold;
}



/* =========================================
     次階層
  ========================================= */
article section p {
	display: block;
	font-size: 18px;
	line-height: 1.8;
}

.main_copy {
	display: block;
	margin: 0 0 40px 0;
	font-size: 18px;
	line-height: 1.8;
}

.main_copy2 {
	display: block;
	margin: 0 0 40px 0;
	font-size: 24px;
	line-height: 1.8;
	font-family: "happy-ruika", sans-serif;
	font-weight: 500;
	font-style: normal;
}

article section {
	display: block;
	width: 100%;
	margin-bottom: 50px;
}

#next_container {
	display: flex;
	width: 100%;
	gap: 40px;
}

/* メニュー全体のコンテナ */
.sidebar-menu {
	flex: 0 0 260px;
	min-height: 800px;
	background-color: #d8fcd0;
	padding: 25px 20px;
	box-sizing: border-box;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

/* 「診療案内」タイトル部分（div用にスタイルを調整） */
.menu-title {
	display: block;
	font-size: 21px;
	color: #000000;
	padding: 0 5px 10px 5px;
	font-weight: bold;
	border-bottom: 2px solid #36af14;
	line-height: 1;
}

/* リスト全体のコンテナ */
.menu-list {
	margin-top: 20px;
}

/* 各メニュー項目（共通スタイル） */
.menu-item {
	margin-bottom: 12px;
}

.menu-item a {
	display: block;
	padding: 12px 16px;
	font-size: 18px;
	text-decoration: none;
	border-radius: 8px;
	/* ボタンの角丸 */
	color: #000;
	background: #c0f5bc;
	transition: all 0.4s ease;
}

/* 選択中（アクティブ）のボタン：濃い緑 */
.menu-item.active a {
	background-color: #33a825;
	color: #ffffff;
}

/* マウスホバー時のエフェクト */
.menu-item a:hover {
	background-color: #33a825;
	color: #ffffff;
}

.naxt_main_inner {
	flex: 1;
	padding-right: 20px;
}

.next_header {
	display: block;
	width: 100%;
	height: 292px;
	position: relative;
	margin-bottom: 20px;
}

.next_header:before {
	content: url("../images/common/circle.svg");
	position: absolute;
	left: 0;
	top: 0;
}

#guide_header {
	background: url("../images/common/guide_header2.png") no-repeat;
	width: 100%;
	background-size: cover;
	background-position: right bottom;
}

#nyuin_header {
	background: url("../images/common/nyuin_header.jpg") no-repeat;
	width: 100%;
	background-size: cover;
	background-position: top center;
}

#daycare_header {
	background: url("../images/common/daycare_header.jpg") no-repeat;
	width: 100%;
	background-size: cover;
	background-position: top left;
}

#about_header {
	background: url("../images/common/about_header.jpg") no-repeat;
	width: 100%;
	background-size: cover;
	background-position: top center;
}

#access_header {
	background: url("../images/common/access_header2.png") no-repeat;
	width: 100%;
	background-size: cover;
	background-position: top center;
}

.next_header_inner {
	display: block;
	max-width: 455px;
	height: 100%;
	position: relative;
}

.next_header_inner h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	padding-left: 60px;
	transform: translate(-50%, -50%);
	width: 100%;
	color: #fff;
	z-index: 9;
}

.pankuzu {
	display: block;
	font-size: 12px;
	text-align: right;
	margin-bottom: 55px;
}

.pankuzu a {
	font-size: 12px;
	color: #000000;
}


.page_menu {
	display: block;
	width: 100%;
	margin-bottom: 35px;
	padding: 20px 30px;
	background-color: #efefef;
	border-radius: 10px;
	box-sizing: border-box;
}


.page_menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding-bottom: 40px;
}

.page_menu ul li {
	width: calc(100% / 3 - 30px);
	border-bottom: 1px dashed #4c4b4b;
}

.page_menu ul li a {
	display: block;
	font-size: 18px;
	color: #000000;
	padding: 0 5px 10px 5px;
	line-height: 1;
}

.page_menu ul li a:before {
	content: url("../images/common/pagemenu_arw.svg");
	display: inline-block;
	margin-right: 5px;
	vertical-align: middle;
	line-height: 1;
}

#next_page {
	padding: 0 20px;
}

/* =========================================
     診療案内
  ========================================= */

table.guide_table {
	max-width: 545px;
	width: 100%;
	border-collapse: collapse;
	border: 2px solid #0f9b00;
}

table.guide_table th {
	background-color: #e9ffe1;
	font-size: 18px;
	padding: 10px 5px;
	font-weight: 500;
	color: #000;
	text-align: center;
	border-right: 1px solid #0f9b00;
	border-bottom: 1px solid #0f9b00;
}

table.guide_table th:first-child {
	width: 40%;
}

table.guide_table td {
	font-size: 18px;
	font-weight: 500;
	color: #000;
	padding: 10px 5px;
	text-align: center;
	border-right: 1px solid #0f9b00;
	border-bottom: 1px solid #0f9b00;
}

.next-tel-row {
	flex-wrap: wrap;
}

.next-tel-row .tel-times {
	width: 100%;
	font-size: 14px;
	margin-top: 10px;
}

.contact-text {
	color: #000000;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.googlemap {
	display: block;
	width: 100%;
	margin-bottom: 40px;
}

.googlemap iframe {
	width: 100%;
	border: none;
}

.colum2 {
	display: flex;
	gap: 30px;
}

.colum2_col {
	flex: 0 0 calc(60% - 30px);
}

.colum2_col:last-child {
	flex: 0 0 40%;
}


.colum3 {
	display: flex;
	gap: 30px;
}

.colum3_col {
	width: calc(100% / 3);
}

/* =========================================
			初めての方へ
  ========================================= */
.next_section {
	margin-bottom: 50px;
	position: relative;
}

/* .link_section {
	position: absolute;
	top: -20px;
} */

.next_content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	margin-top: 20px;
}

.next_text {
	flex: 1;
}

.next_text p {
	margin: 0;
	line-height: 1.8;
	font-size: 16px;
	color: #333333;
	text-align: justify;
}

.next_image {
	width: 38%;
	flex-shrink: 0;
}

.next_image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}


/* =========================================
			診療科目
  ========================================= */

/* =========================================
			看護部紹介
  ========================================= */
.kango_message {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 30px 0 !important;
	width: auto;
	font-weight: bold;
	font-size: 19px !important;
	font-family: "Yu Mincho Medium", "YuMincho Medium", "游明朝体 Medium", "游明朝 Medium", "Yu Mincho", "YuMincho", "游明朝体", serif;
}

.kango_message span {
	display: block;
	width: 100%;
	text-align: right;
}

/* =========================================
				入院のご案内
	  ========================================= */

/* =========================================
					ご面会の方へ
		  ========================================= */
/* 左右2カラムのグリッド配置（コンテナを使わずbody直下で制御） */
.layout-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	/* 左：可変、右：画像固定幅 */
	gap: 50px;
	align-items: start;
}

/* リスト部分 */
.guide-list {
	list-style: none;
}

.guide-list li {
	margin-bottom: 24px;
}

.guide-list li:last-child {
	margin-bottom: 0;
}

.list-title {
	display: block;
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 6px;
	font-weight: 500;
	color: #111111;
	line-height: 1;
}

.list-desc {
	font-size: 0.95rem;
	color: #111111;
	padding-left: 1.2em;
	font-weight: 500;
	word-break: break-all;
	line-height: 1.4;
}

/* 画像部分 */
.image-gallery {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

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

p.gallery_img {
	display: block;
	margin-bottom: 30px;
}

p.gallery_img span {
	display: block;
	font-size: 16px;
	padding: 5px;
	line-height: 1;
}







/* =========================================
					デイケア・訪問看護
========================================= */

.kaisai {
	display: flex;
	width: 100%;
	gap: 10px;
}

.kaisai dt {
	flex: 0 0 85px;
	font-size: 16px;
	font-weight: 500;
}

.kaisai dd {
	flex: 1;
	font-size: 16px;
	font-weight: 500;
}

.kaisai dd span {
	padding-left: 6em;
}

.border_box {
	display: block;
	padding: 10px;
	border: 1px solid #ff0000;
	margin-top: 20px;
}

.table_text {
	display: block;
	margin-top: 1em;
	font-size: 14px;
}

.contact-box {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background-color: #fffde0;
	/* 画像をベースにした薄い黄色 */
	border-radius: 16px;
	/* 角丸 */
	margin-top: 30px;
	padding: 30px 40px;
	width: 100%;
	max-width: 640px;
	/* 必要に応じて調整してください */
	box-sizing: border-box;
}

.contact-label {
	font-size: 18px;
	color: #333;
	font-weight: bold;
	margin-right: 40px;
	margin-top: 5px;
	/* 電話番号とのバランスをとるための微調整 */
	white-space: nowrap;
}

.contact-info {
	padding-top: 20px;
	margin-left: auto;
	/* 右側に寄せる配置 */
	flex-grow: 1;
	max-width: 420px;
	/* コンテンツの広がりを制限 */
}

.phone-number {
	display: flex;
	align-items: center;
	font-size: 30px;
	/* 電話番号のサイズ */
	color: #ff0000;
	/* 鮮やかな赤色 */
	font-weight: bold;
	line-height: 1;
	margin-bottom: 5px;
	/* 受付時間との間隔 */
	letter-spacing: 0.03em;
	line-height: 1;
}

.phone-icon {
	width: 50px;
	/* 画像のサイズ（適宜調整してください） */
	height: auto;
	margin-right: 12px;
	/* アイコンと番号の間隔 */
}

.reception-time {
	font-size: 14px;
	color: #333;
	font-weight: bold;
	white-space: nowrap;
	letter-spacing: 0.05em;
}

.qa {
	display: block;
	margin-bottom: 30px;
}

.qa dt {
	display: block;
	font-size: 18px;
	text-decoration: underline;
	margin-bottom: 10px;
	line-height: 1.25;
}

.qa dd {
	display: block;
	font-size: 15px;
	line-height: 1.8;
}

/* -------------------------------------------
		当院について
------------------------------------------- */
.greeting_box {
	display: flex;
	gap: 30px;
}


.greeting_message {
	flex: 1;
}

.greeting_photo {
	flex: 0 0 32%;
}

.greeting_message p.text {
	display: block;
	font-size: 500px;
	font-size: 15px;
	line-height: 1.8;
}


/* =========================================
								フロアマップ
========================================= */
/* 全体コンテナ */
.floor-guide-container {
	width: 100%;
	max-width: 1000px;
	/* 必要に応じて調整してください */
	margin: 0 auto;
	font-family: sans-serif;
}

/* 各階の行セクション */
.floor-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #eee;
}

.floor-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* フロア情報（マップ＋写真）のラッパー */
.floor-content {
	display: flex;
	flex-grow: 1;
	gap: 30px;
}

/* フロアマップ（左側） */
.floor-map {
	flex: 0 0 65%;
}

.floor-map img {
	width: 100%;
	margin-bottom: 40px;
	height: auto;
	display: block;
}

/* 写真エリア（右側） */
.floor-photos {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.floor-photos span {
	display: block;
	padding: 5px;
	line-height: 1;
}

.photo-item {
	width: 100%;
}

.photo-item img {
	width: 100%;
	height: auto;
	display: block;
}





/* -------------------------------------------
		適切な意思決定支援に関する指針
------------------------------------------- */
/* リスト全体のスタイル指定 */
.guideline-list {
	list-style: none;
	counter-reset: item;
	padding-left: 0;
}

.guideline-list li {
	counter-increment: item;
	display: flex;
	align-items: flex-start;
	margin-bottom: .5rem;
	line-height: 1.7;
}

.guideline-list li::before {
	content: "（" counter(item) "）";
	flex-shrink: 0;
	width: 2.5em;
	white-space: nowrap;
}




/* -------------------------------------------
					 親リスト（１）（２）... のスタイル
				------------------------------------------- */
.parent-list {
	list-style: none !important;
	/* デフォルトの数字を絶対に非表示 */
	padding-left: 0;
	margin: 0;
}

.parent-list>li {
	margin-bottom: 2.5rem;
	/* 項目ごとの間隔 */
	list-style: none !important;
}

/* 親リストの見出し部分 */
.parent-title {
	display: flex;
	align-items: flex-start;
	font-weight: 500;
	font-size: 18px;
	margin-bottom: 0;
}

/* カッコ数字を生成 */
.parent-list {
	counter-reset: parent-item;
}

.parent-list>li {
	counter-increment: parent-item;
}

.parent-title::before {
	content: "（" counter(parent-item) "）";
	flex-shrink: 0;
	width: 2.5em;
	white-space: nowrap;
}

/* 親項目直下の説明文 */
.parent-text {
	margin-top: 0;
	margin-bottom: 1rem;
	padding-left: 2.5em;
	/* 親番号の幅に合わせてインデント */
}

/* -------------------------------------------
					 子リスト ① ② ... のスタイル
				------------------------------------------- */
.child-list {
	list-style: none !important;
	/* デフォルトの数字を絶対に非表示 */
	padding-left: 2.5em;
	/* 親番号の幅に合わせて全体を右に寄せる */
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.child-list li {
	list-style: none !important;
	/* デフォルトの「1.」などを強制的に消す */
	display: flex;
	align-items: flex-start;
	margin-bottom: .25rem;
}

.child-list li:nth-child(1)::before {
	content: "①";
}

.child-list li:nth-child(2)::before {
	content: "②";
}

.child-list li:nth-child(3)::before {
	content: "③";
}

.child-list li:nth-child(4)::before {
	content: "④";
}

/* 丸数字の余白と回り込み防止のスタイル */
.child-list li::before {
	flex-shrink: 0;
	width: 1.8em;
	/* 丸数字の後ろの余白を確保 */
	white-space: nowrap;
}



/* -------------------------------------------
		採用情報
------------------------------------------- */
.link_btn {
	display: inline-block;
	padding: 15px 80px 15px 15px;
	line-height: 1;
	color: #fff;
	background: #33a825;
	font-size: 16px;
	border-radius: 5px;
	width: auto;
	position: relative;
	text-decoration: none;
	/* リンクのアンダーラインを消す（aタグ用） */
}

.link_btn:hover {
	opacity: 0.7;
}

/* ここから追加：右側の矢印（>） */
.link_btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	/* 右端からの位置調整 */
	transform: translateY(-50%) rotate(45deg);
	/* 上下中央に配置して45度回転 */
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	/* 矢印の色 */
	border-right: 2px solid #fff;
	/* 矢印の色 */
}


.recruit_table th {
	width: 20%;
	font-size: 18px;
	vertical-align: middle;
}

.recruit_table td {
	width: 80%;
	font-size: 18px;
	padding: 10px;
	vertical-align: middle;
}

p.entry_btn {
	display: block;
	max-width: 400px;
	width: 100%;
	margin: 20px auto 0 auto;
}

p.entry_btn a {
	display: block;
	font-size: 18px;
	color: #fff;
	padding: 25px 15px;
	background: #33a825;
	border-radius: 25px;
	text-align: center;
	line-height: 1;
}

p.entry_btn a:hover {
	opacity: 0.7;
}



/* 全体のリセットとフォームの最大幅設定 */
.custom-form {
	margin: 0 auto;
	padding: 0;
}

/* テーブル全体のスタイル */
.form-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.form-table tr {
	border-bottom: 1px solid #e0e0e0;
}

/* 見出し（左側）のスタイル */
.form-table th {
	width: 30%;
	text-align: left;
	padding: 20px 15px;
	vertical-align: middle;
	font-weight: bold;
	font-size: 15px;
}

/* 入力エリア（右側）のスタイル */
.form-table td {
	width: 70%;
	padding: 15px;
	vertical-align: middle;
}

/* 「必須」ラベルのスタイル */
.required {
	background-color: #33a825;
	/* ベースカラー */
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	line-height: 1;
	border-radius: 3px;
	margin-left: 8px;
	vertical-align: middle;
	display: inline-block;
	font-weight: normal;
}

/* 各種入力項目の共通スタイル */
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"],
.form-table select,
.form-table textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 15px;
	transition: border-color 0.3s, box-shadow 0.3s;
	background-color: #fafafa;
}

/* フォーカスした時のエフェクト */
.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
	outline: none;
	border-color: #33a825;
	/* ベースカラー */
	box-shadow: 0 0 0 3px rgba(51, 168, 37, 0.15);
	background-color: #fff;
}

/* 郵便番号など幅を狭くしたい項目（任意でclassを追加してください） */
#zip-code {
	max-width: 180px;
}

/* 生年月日リストの横並びスタイル */
.form-birth-list {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 15px;
}

.form-birth-list li {
	display: flex;
	align-items: center;
	gap: 5px;
}

.form-birth-list select {
	width: auto;
	min-width: 80px;
}

/* 備考欄（textarea）の微調整 */
.form-table textarea {
	resize: vertical;
}

/* ボタンエリア */
.form-btn {
	text-align: center;
	margin-top: 30px;
}

.form-btn input[type="submit"] {
	background-color: #33a825;
	/* ベースカラー */
	color: #fff;
	border: none;
	padding: 16px 100px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 30px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(51, 168, 37, 0.2);
	transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

/* ボタンのホバー（マウスを乗せたとき）効果 */
.form-btn input[type="submit"]:hover {
	background-color: #28871e;
	/* 少し濃いグリーン */
	box-shadow: 0 6px 12px rgba(51, 168, 37, 0.3);
	transform: translateY(-1px);
}

.form-btn input[type="submit"]:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px rgba(51, 168, 37, 0.2);
}


/*********************************************
	システム共通
*********************************************/
/* ページナビゲーション
----------------------------------------*/

.pagenavi {
	text-align: right;
	padding: 8px;
	font-size: 100%;
	margin: 10px 0;
}

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

.pagenavi ul li {
	display: inline;
	line-height: 1em;
	margin: 0 5px 0 0;
	padding: 0;
}

.pagenavi ul li a.active,
.pagenavi ul li a {
	padding: 6px 7px;
}

.pagenavi ul li a {
	background: #3b9b27;
	color: #FFF;
	text-decoration: none;
}

.pagenavi ul li a:hover,
.pagenavi ul li a.active {
	background-color: #C0C0C0;
	color: #FFF;
}

.newicon {
	padding: 3px 10px;
	background-color: #FF6060;
	border-radius: 10px;
	color: #FFF;
	font-size: 12px;
	margin-left: 10px;
}