@charset "utf-8";
#main{
	background: #e8f5fa;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
}
.mv{
	background: #fff;
	position: relative;
}
.mv::before {
	content: "";
	position: absolute;
	display: block;
	width:100%;
	height:160px;
	background: url("../img/chokatsu-guide/nami.svg") no-repeat;
	bottom: -160px;
	right: 0;
	left: 0;
	z-index: 1;
}
/*監修*/
.supervisor-box__text_top{
	display: flex;
	color: #35b8ca;
	gap: 20px;
	align-items: flex-start;
}
	.supervisor-box__text_top .wrap{
		flex: 1;
	}
.supervisor-box__text_top .label{
	display: inline-block;
	border: 1px solid #35b8ca;
	line-height: 1.4;
	font-weight: normal;
}

.supervisor-box__text_top .hospital{
	line-height: 1.7;
}

.supervisor-box__text_top .name{
	margin: 0;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .06em;
}

/*トップイメージ*/
/* PC */
@media screen and (min-width:768px) {
	main .sp{
		display: none;
	}
	.mv{
		margin-bottom: 200px;
	}
	.mv	.inner{
		max-width: 1140px;
		margin: 0 auto;
		display: flex;
		align-items: flex-start;
		padding: 75px 20px 50px;
		justify-content: space-between;
		height: 60.5vh;
	}
	.mv	.text-area{
		width: 72%;
		padding-right: 7%;
	}
	.mv	h1{
		width: 79%;
		line-height: 1;
		margin-bottom: 25px;
	}
	.mv	.img{
		width: 27.5%;
	}
	.mv .subhead{
		font-size: clamp(30px, 3.51vw, 40px);
	}
	.mv .lead{
		font-size: clamp(17px, 1.2vw, 20px);
		line-height: 2;
	}

	.supervisor-box__text_top .label{
		padding:12px 15px;
		font-size: 14px;
	}
	.supervisor-box__text_top .hospital{
		margin-bottom:4px;
	}
	.supervisor-box__text_top .name{
		font-size: clamp(20px, 2.193vw, 25px);	
	}
}
/* SP */
@media screen and (max-width:767px) {
	main .sp{
		display:block;
	}
	main .pc{
		display:none;
	}
	.mv{
		height:75vh;
		padding: 10vw 4vw 0;
		margin-bottom: 20vw;
	}
	.mv	h1{
		width: 65%;
		line-height: 1;
		margin: 0 auto 1.2vw;
	}
	.mv	.subhead{
		text-align: center;
		margin-bottom: 4vw;
	}
	.mv	.img{
		width:40%;
		margin: 0 auto;
	}
	.mv	.lead{
		text-align: center;
	}
	.mv::before {
    bottom: -100px;
		height: 100px;
	}
	.supervisor-box__text_top.sp{
		display: flex;
		margin-top: 4vw;
		gap: 2.67vw;
	}
	.supervisor-box__text_top .label{
		padding:1.6vw 2.1vw;
		font-size:2.93vw;
	}
	.supervisor-box__text_top .hospital{
		margin-bottom:1.2vw;
	}
	.supervisor-box__text_top .name{
		font-size:4.27vw;	
	}
}

/* 目次 */
.page-index {
	width: min(100%, 1040px);
	margin: clamp(40px, 5vw, 70px) auto clamp(50px, 6vw, 80px);
	padding: clamp(24px, 3vw, 36px);
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(120, 70, 70, 0.08);
}

.page-index__title {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin: 0 0 22px;
	color: #333;
	font-size: clamp(20px, 2.1vw, 28px);
	font-weight: 700;
	line-height: 1.4;
}

.page-index__title::before {
	content: "INDEX";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25em 0.75em;
	border-radius: 999px;
	background: #ff8f8f;
	color: #fff;
	font-size: 0.58em;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.page-index__list,
.page-index__sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-index__list {
	counter-reset: index-num;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px 20px;
}

.page-index__item {
	counter-increment: index-num;
	padding: 18px 18px 10px;
	background: #fffafa;
	border-radius: 18px;
	margin-bottom: 0;
	margin-top: 0;
}

.page-index__item > a {
	position: relative;
	display: block;
	padding-left: 2.7em;
	color: #333;
	font-size: clamp(16px, 1.58vw, 20px);
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.page-index__item > a::before {
	content: counter(index-num, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.05em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background: #ffe4e4;
	color: #d96b6b;
	font-size: 0.72em;
	font-weight: 700;
}

.page-index__sub {
	margin-top: 12px;
	padding-left: 2.7em;
}

.page-index__sub li + li {
	margin-top: 7px;
}

.page-index__sub a {
	position: relative;
	display: inline-block;
	padding-left: 1em;
	color: #555;
	font-size: clamp(13px, 1.23vw, 15px);
	font-weight: 500;
	line-height: 1.6;
	text-decoration: none;
}

.page-index__sub a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffb3b3;
	transform: translateY(-50%);
}

.page-index a {
	transition: color 0.2s ease, opacity 0.2s ease;
}

/* PC */
@media screen and (min-width:768px) {
	.page-index a:hover {
		color: #d96b6b;
		opacity: 0.85;
	}
}

/* タブレット以下 */
@media screen and (max-width: 900px) {
	.page-index {
		width: calc(100% - 40px);
	}
}

/* スマホ */
@media screen and (max-width: 768px) {
	html {
		scroll-padding-top: 40px;
	}

	.mw-chokatsu-page [id] {
		scroll-margin-top:0px;
	}

	.page-index {
		width: calc(100% - 30px);
		margin: 10.67vw auto 13.33vw;
		padding: 6.4vw 4.8vw;
		border-radius: 5.33vw;
	}

	.page-index__title {
		margin-bottom:3.2vw;
		font-size: clamp(20px, 5.87vw, 24px);
	}

	.page-index__list {
		grid-template-columns: 1fr;
		gap: 2.67vw;
	}

	.page-index__item {
		font-size: 4vw;
		padding:3.47vw 4.8vw;
		border-radius: 4.27vw;
	}

	.page-index__item > a {
		padding-left: 2.5em;
		font-size: 4.26vw;
	}

	.page-index__sub {
		margin-top: 3.2vw;
		padding-left: 2.5em;
	}

	.page-index__sub li + li {
		margin-top: 1.6vw;
	}

	.page-index__sub a {
		font-size: clamp(13px, 3.73vw, 15px);
		line-height: 1.7;
	}
}

/* かなり狭いスマホ */
@media screen and (max-width: 430px) {
	.page-index {
		width: calc(100% - 24px);
		padding: 6.4vw 4vw;
	}

	.page-index__title {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35em;
	}

	.page-index__item > a {
		padding-left: 2.35em;
	}

	.page-index__sub {
		padding-left: 0;
	}
}


/*セクションラップ*/
.all-section-inner{
	background: #fff;
}
/* PC */
@media screen and (min-width:768px) {
	.section-all{
		max-width: 1140px;
		margin: 0 auto;
		padding:0 20px;
		border-radius: 15px;
	}
		.all-section-inner{
		width: 100%;
		padding: 50px 50px;
		border-radius: 15px;
	}
	.article-section{
		margin-bottom: 80px;
	}
	.article-section + .article-section {
		padding-top: 50px;
	}
}
/* SP */
@media screen and (max-width:767px) {
	.all-section-inner{
		padding: 12.8vw 4vw;
		border-radius: 5.33vw;
	}
	.article-section{
		margin-bottom:8vw;
	}
	.article-section + .article-section {
		padding-top:10vw;
	}
}


/*テキストエリア*/
.article-section h2{
	background: linear-gradient(30deg, #28b0cc 0%, #3abcd2 50%, #7de3f0 100%);
	color: #fff;
	border-top: none;
	border-bottom: none;
}
.article-section h3 {
	letter-spacing: 0.06em;
	margin-bottom:25px;
}
.article-section p {
	line-height: 1.8;
	letter-spacing: 0.05em;
	text-align: justify;
	margin-bottom: 0.75em;
}
/* PC */
@media screen and (min-width:768px) {
	.article-section .article-block{
		margin-right: 10px;
		margin-left: 10px;
		margin-bottom: 50px;
	}
	.article-section h2{
		padding: 10px 24px 14px;
		border-radius: 20px;
	}
	:root {
		/* 1140px時 35px / 最小28px */
		--fz-article-h2: clamp(28px, 3.07vw, 35px);

		/* 1140px時 28px / 最小25px */
		--fz-article-h3: clamp(25px, 2.46vw, 28px);

		/* 1140px時 20px / 最小17px */
		--fz-article-p: clamp(17px, 1.75vw, 20px);
	}
	.article-section h2 {
		font-size: var(--fz-article-h2);
	}
	.article-section h3 {
		font-size: var(--fz-article-h3);
	}
	.article-section p {
		font-size: var(--fz-article-p);
	}
}

/* SP */
@media screen and (max-width:767px) {
	.article-section .article-block {
		margin-bottom: 10vw;
	}
	.article-section h2 {
		width: calc(100% + 4vw);
		padding: 2.6667vw 4vw 3.2vw;
		border-radius: 4vw;
		font-size: 6.4vw;
		margin:0 -2vw 5.86vw;
	}
	.article-section p {
		font-size: 4.27vw;
	}	
	.article-section h3 {
		margin-bottom: 4vw;
	}

	/*画像位置調整*/
	.article-block:has(> .img) {
	display: flex;
	flex-direction: column;
	}
}



/*細かい調整*/

.article-section .img.center img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.age100 .img{
		margin: 3em auto;
		width: 90%;
}

.shikumi .kin{
	margin-top: 50px;
}
.flora .float-img {
	float: right;
	width: min(40%, 360px);
	margin: 0 0 24px 32px;
}

.flora .float-img img {
	display: block;
	width: 100%;
	height: auto;
}

.flora::after {
	content: "";
	display: block;
	clear: both;
}


/*テーブル*/
main table thead th{
	padding-top: 8px;
	padding-bottom: 8px;
	background: #ffe4e4;
	font-size: clamp(14px, 1.58vw, 18px);
}
main table td,
main table tbody th {
	font-size: clamp(14px, calc(12.53px + 0.392vw), 17px);
}
main table th .img{
	width: 50%;
	display: block;
	margin: 0 auto;
}

/*シンバイオエリア*/
.biotic-area{
	border-radius: 15px;
	padding:50px 30px;
	background:#e0e9ff;
}
.biotic-area h3{
	border-bottom: none;
	padding-bottom: 0;
	color: #2b5edb;
	margin-bottom: 15px;
}
.biotic-area h3:after{
	content: none;
}
.biotic-area > .article-block + .article-block {
	border-top: 1px dashed #2b5edb;
	padding-top: 40px;
}

.biotic-area > .article-block::after {
	content: "";
	display: block;
	clear: both;
}

.biotic-area .article-block .float-right {
	float: right;
	width: min(38%, 320px);
	margin: 0 0 24px 32px;
}

.biotic-area .article-block .float-right img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 15px;
}


/* PC */
@media screen and (min-width:768px) {
	.article-section .img.center {
		width: 100%;
		aspect-ratio: 20 / 9;
		margin: 0 auto 3em;
		overflow: hidden;
		border-radius: 15px;
	}
	.biotic-area .article-block p{
		font-size: clamp(15px, calc(13.53px + 0.392vw), 18px);
	}
	.meneki .group{
		display: flex;
	}
	.meneki .group .text-area{
		margin-right:6%;
		width: 60%;
	}
	.meneki .group .img{
		flex: 1;
	}
	.shikumi .group{
		display: flex;
	}
	.shikumi .group .text-area{
		margin-right:6%;
		width: 60%;
	}
	.shikumi .group .img{
		flex: 1;
	}
	.excretion-food-table{
		margin-bottom: 30px;
	}

	.article-block li{
	font-size: var(--fz-article-p);
	}
}
/* SP */
@media screen and (max-width:767px) {
	.biotic-area{	padding:8vw 4vw;}
	.article-section .img.center {
		width: calc(100% + 4vw);
		aspect-ratio: 16 / 9;
		margin: 0 -2vw 8vw;
		overflow: hidden;
		border-radius:4vw;
	}
	/*リスク*/
	.article-block.risk > h3 {
		order: 1;
	}

	.article-block.risk > .img {
		order: 2;
		margin-bottom:4vw;
	}

	.article-block.risk > :not(h3):not(.img) {
		order: 3;
	}
	/*100年時代*/
	.age100 .img {
    margin:4vw auto 0;
    width:100%;
	}
		/*最大の免疫器官*/
	.meneki .img {
    width: 54%;
    margin: 0 auto;
	}
	.meneki .group {
		display: flex;
		flex-direction: column;
	}
	.meneki .group .img {
		order: 1;
	}
	.meneki .group .text-area {
		order: 2;
	}
	.shikumi .img{
		width: 60%;
		margin: 4vw auto;
	}
	/*テーブル*/
	/* スマホ用：横スクロール＋分類列固定 */
	.section-all .table .kin{
		padding-top:2.67vw;
		padding-bottom:2.67vw;
		}
	.table-scroll {
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.table-scroll table {
		width: 720px; /* 100%以上にして横スクロールさせる */
		min-width: 720px;
		border-collapse: separate;
		border-spacing: 0;
	}

	.table-scroll th,
	.table-scroll td {
		white-space: normal;
		vertical-align: middle;
	}

	/* 左端の分類列を固定 */
	.table-scroll thead th:first-child,
	.table-scroll tbody th:first-child {
		position: sticky;
		left: 0;
		z-index: 2;
		width: 90px;
		min-width: 90px;
		background: #ffe4e4;
	}

	/* tbody側の分類セルの背景 */
	.table-scroll tbody th:first-child {
		background: #fff4f4;
	}

	/* ヘッダー左上は一番上に */
	.table-scroll thead th:first-child {
		z-index: 3;
	}

	.shikumi .table-scroll table th .img {
		width: 70%;
		margin: 1.6vw auto 0;
	}
	/*腸内フローラのバランス*/
	.flora .float-img {
		float: none;
		width: 80%;
		margin: 0 auto 5.33vw;
	}
	.biotic-area .article-block{
		display: block;
	}
	.biotic-area > .article-block + .article-block {
		padding-top: 8vw;
	}
	.biotic-area .article-block .float-right {
	width:40.5vw;
	margin: 0 0 2.67vw 2.67vw;
	}
	.biotic-area .article-block:last-of-type{
		margin-bottom: 0;
	}
	.biotic-area .article-block .article-section {
		font-size: 4.7vw;
	}
	.biotic-area p{
		text-align: left;
	}

}
/*------------------------------------
排泄障害・食事の際に意識してほしいポイント・工夫
----------------------------------*/
.article-block .excretion-food-point{
	position: relative;
}
.article-block .excretion-food-point h4{
	background: none;
	color:#815747;
	padding: 0;
}
.article-block .excretion-food-point::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
	z-index: 0;
}
.article-block.excretion-food-advice h4{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: fit-content;
	background: #e9f8fc;
	color: #35b8ca;
	letter-spacing: .04em;
	line-height: 1.4;
	overflow: hidden;
		border-radius: 32px;
		width: 100%;
}

	.article-block.excretion-food-advice h4::after{
		content: "MEMO";
		display: flex;
		align-items: center;
		justify-content: center;
		align-self: stretch;
		background: #8480bf;
		color: #fff;
		letter-spacing: .08em;
		border-radius: 0 32px 32px 0;
	}
		.article-block .excretion-food-point{
		margin-right: 0;
		margin-left: 0;
		background: #e8e9d7;
		position: relative;
	}


/* PC */
@media screen and (min-width:768px) {
		.article-block .excretion-food-point{
		padding: 30px 30px;
		border-radius: 15px;
		margin-top: 4em;
		margin-right: 0;
		margin-left: 0;
	}
	.article-block .excretion-food-point h4{
		font-size: 25px;
	}
	.article-block .excretion-food-point > * {
		position: relative;
		z-index: 1;
	}

	.article-block.excretion-food-advice h4{
		min-height: 80px;
		margin: 0 0 40px;
		padding: 0 0 0 30px;
		font-size: clamp(24px, 3vw, 34px);
	}

	.article-block.excretion-food-advice h4::after{
		background: #8480bf;
		color: #fff;
		font-size: clamp(18px, 2.2vw, 28px);
		letter-spacing: .08em;
		padding: 0 25px;
	}
	
.undou .example{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 10%;
	row-gap: 16px;
	margin-top: 50px;
}

/* 上2つのblockは中身を親gridに直接乗せる */
.undou .example .block:not(.long){
	display: contents;
}

.undou .example .block:not(.long) .text{
	display: contents;
}

/* 1つ目 */
.undou .example .block:nth-child(1) img{
	grid-column: 1;
	grid-row: 1;
}

.undou .example .block:nth-child(1) h5{
	grid-column: 1;
	grid-row: 2;
}

.undou .example .block:nth-child(1) p{
	grid-column: 1;
	grid-row: 3;
}

/* 2つ目 */
.undou .example .block:nth-child(2) img{
	grid-column: 2;
	grid-row: 1;
}

.undou .example .block:nth-child(2) h5{
	grid-column: 2;
	grid-row: 2;
}

.undou .example .block:nth-child(2) p{
	grid-column: 2;
	grid-row: 3;
}

/* 画像 */
.undou .example .block img{
	display: block;
	width: 80%;
	margin: 0 auto 15px;
}

/* 見出し */
.undou .text h5{
	margin: 0 0 6px;
	padding-bottom: 8px;
	font-size: clamp(18px, calc(15.06px + 0.784vw), 24px);
	line-height: 1.4;
	border-bottom: 2px solid  #35b8ca;
		grid-column: 1 / -1;

}

/* 本文 */
.undou .text p{
	margin: 0;
}

/* longブロック */
.undou .block.long{
	grid-column: 1 / -1;
	margin-top: 35px;
}

.undou .long .text{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px;
	row-gap: 16px;
}
}

/* SP */
@media screen and (max-width:767px) {
	.excretion-food-table th .img{
		width: 70%;
		margin-top: 2.67vw;
	}
	.excretion-food-table{
		margin-bottom: 4vw;
	}
	table .shurui{
		width:27vw
	}
	.article-block.excretion-food-point{
		padding: 5.33vw 4.26vw 4vw;
		border-radius: 4vw;
	}
	.article-block.excretion-food-point h4{
		z-index: 10;
		position: relative;
		margin-bottom: 2.67vw;
	}
 	.excretion-food-point .article-list{
		font-size: 4vw;
		margin: 0;
		position: relative;
		z-index: 1;
	}
	.excretion-food-advice h4{
		padding: 0;
		padding-left:4vw;
	}
	.article-block.excretion-food-advice h4::after {
		padding:2.13vw 3.2vw 2.67vw;
		font-size: 4.27vw;
	}
	.undou .example{
		margin-top: 8vw;
	}
	.undou .example .block{
		margin-bottom: 5.33vw;
	}
	.undou img{
		display: block;
		width: 60%;
		margin: 0 auto 3.2vw;
	}
	.undou .long img{
		width: 100%;
	}

}

/*監修*/
.supervisor-box{
	display: flex;
	border: 1px solid #35b8ca;
	color: #35b8ca;
	gap: 30px;
}

.supervisor-box__text{
	flex: 0 1 auto;
}

.supervisor-box__label{
	display: inline-block;
	border: 1px solid #35b8ca;
	line-height: 1.4;
	font-weight: normal;
}

.supervisor-box__hospital{
	line-height: 1.7;
}

.supervisor-box__name{
	margin: 0;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .06em;
}

.supervisor-box__photo img{
	display: block;
}


/* PC */
@media screen and (min-width:768px) {
.supervisor-box{
	gap: 40px;
	background: #fcfcfc;
	padding: 30px 30px 30px;
}

.supervisor-box__text{
	margin-right: 30px;
}

.supervisor-box__label{
	margin: 0 0 15px;
	padding: 6px 25px 8px;
	font-size: clamp(16px, 1.7vw, 20px);
}

.supervisor-box__hospital{
	font-size: clamp(12px, 2vw, 16px);
	margin-bottom: 10px;
}

.supervisor-box__name{
	font-size: clamp(20px, 4vw, 28px);
}

.supervisor-box__name span{
	margin-left: .3em;
	font-size: clamp(16px, 1.6vw, 20px);
}

.supervisor-box__photo{
	flex: 0 0 24%;
	max-width: 260px;
	min-width: 180px; /* 小さくなりすぎる場合の保険 */
}
}

/* SP */
@media screen and (max-width:767px) {
	.supervisor-box{
		padding: 5.33vw 4vw;
		gap: 3.2vw;
	}
	.supervisor-box .supervisor-box__photo{
		width:34vw;
	}
	.supervisor-box__label {
		font-size: 2.74vw;
		padding:1.6vw 2.67vw;
		margin-bottom:4vw;
	}
	.supervisor-box__hospital{
		margin-bottom: 1.6vw;
		line-height: 1.4;

	}
	.supervisor-box__name{
		font-size: 5.33vw;
	}
		.supervisor-box__name span{
		font-size:2.93vw;
	}
}

/* PC */
@media screen and (min-width:768px) {
}

/* SP */
@media screen and (max-width:767px) {
}

/* PC */
@media screen and (min-width:768px) {
}

/* SP */
@media screen and (max-width:767px) {
}
