:root {
	--food: #0cab42;
	--food-dark: #078333;
	--medicine: #b5a000;
	--medicine-dark: #8d7b00;
	--ink: #262120;
	--paper: #fffefa;
	--soft: #f5f2e8;
}


html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}


.l-layout {
	overflow: hidden;
	background: #fff;
}

.kampo-lp {
	color: var(--ink);
	font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0;
}
.kampo-lp a {
	color: inherit;
	text-decoration: none;
}
.kampo-lp img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.kampo-inner {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

.kampo-hero {
	position: relative;
	height: 720px;
	min-height: 0;
	display: grid;
	place-items: center;
	isolation: isolate;
	overflow: hidden;
	background-color: #f5f0e4;
	background-image: url("../img/main_pc.jpg");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 2000px auto;
}

.kampo-hero::before {
	content: none;
}

@media (min-width: 2001px) {
	.kampo-hero {
		background-size: cover;
	}
}

.kampo-hero__inner {
	width: min(1120px, calc(100% - 48px));
	margin-top: 120px;
	text-align: center;
}

.kampo-hero__lead {
	margin: 0 0 20px;
	text-align: center;
	transform: none;
}

.kampo-hero__lead img {
	display: block;
	width: min(360px, 100%);
	height: auto;
	margin: 0 auto;
}

.kampo-hero__title {
	margin: 0;
	font-size: clamp(34px, 4vw, 45px);
	font-weight: 400;
	line-height: 1.45;
	font-family: "Sawarabi Mincho", serif;
}

.kampo-hero__title span {
	font-size: 1.28em;
}

.is-food {
	color: var(--food);
}

.is-medicine {
	color: var(--medicine);
}

.kampo-hero__text {
	margin: 26px 0 42px;
	font-size: clamp(20px, 2vw, 31px);
	font-weight: 400;
	letter-spacing: .04em;
	font-family: "Sawarabi Mincho", serif;
}

.kampo-choice {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px;
	max-width: 880px;
	margin: 0 auto;
}

.kampo-choice__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 24px;
	border-radius: 9px;
	background: rgba(255,255,255,.95);
	box-shadow: 0 14px 34px rgba(59, 48, 33, .12);
	font-size: clamp(30px, 3vw, 48px);
	font-weight: 700;
	line-height: 1.2;
	transition: transform .2s ease, box-shadow .2s ease;
}
.kampo-choice__logo {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
}
.kampo-choice__button--food .kampo-choice__logo {
	max-width: 280px;
}

.kampo-choice__button--medicine .kampo-choice__logo {
	max-width: 240px;
}

.kampo-choice__button:hover,
.kampo-choice__button:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(59, 48, 33, .18);
}

.kampo-choice__button--food span {
	color: var(--ink);
}

.kampo-choice__button--medicine span {
	color: #5ab8cc;
}

.kampo-choice__button--medicine span::first-letter {
	color: #5ab8cc;
}

.kampo-fit {
	padding: 58px 0 72px;
	background: #fff;
}

.kampo-section-title {
	margin: 0 0 48px;
	text-align: center;
	font-size: clamp(24px, 2.35vw, 36px);
	line-height: 1.5;
	font-weight: 400;
	font-family: "Sawarabi Mincho", serif;
}

.kampo-fit__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
	align-items: end;
	gap: 38px;
}

.kampo-fit__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.kampo-fit__panel ul {
	margin: 0 0 24px;
	padding: 26px 32px;
	text-align: left;
	list-style: none;
	background: var(--soft);
	border-radius: 8px;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	line-height: 1.9;
	flex: 1;
}

.kampo-fit__panel li {
	position: relative;
	padding-left: 34px;
}
.kampo-fit__panel li span {
	color: #000;
	font-family: "Noto Serif JP", serif;
}
.kampo-fit__panel li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 19px;
	height: 19px;
	border: 2px solid #000;
	background: #fff;
}

.kampo-fit__panel li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: .56em;
	width: 10px;
	height: 6px;
	border-left: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(-45deg);
}

.kampo-fit__panel--food li,
.kampo-fit__panel--food .kampo-fit__result {
	color: var(--food);
}

.kampo-fit__panel--medicine li,
.kampo-fit__panel--medicine .kampo-fit__result {
	color: var(--medicine);
}

.kampo-fit__result {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.85;
	text-align: center;
}

.kampo-fit__lead {
	display: block;
}

.kampo-fit__arrow {
	display: block;
	width: 18px;
	height: 18px;
	margin: 8px auto;
	border-top: 4px solid currentColor;
	border-right: 4px solid currentColor;
}

.kampo-fit__panel--food .kampo-fit__arrow {
	color: var(--food);
	transform: rotate(135deg);
}

.kampo-fit__panel--medicine .kampo-fit__arrow {
	color: var(--medicine);
	transform: rotate(135deg);
}

.kampo-fit__recommend {
	color: #000;
}

.kampo-fit__result strong {
	display: inline-block;
	margin-right: 8px;
	font-size: clamp(27px, 2.7vw, 40px);
}

.kampo-fit__person {
	margin: 0;
	text-align: center;
}

.kampo-examples {
	position: relative;
	padding: 54px 0 90px;
	background: #faf7e9;
	isolation: isolate;
}

.kampo-examples::before,
.kampo-examples::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	width: 50%;
	background-size: cover;
	background-position: center top;
	opacity: .82;
}

.kampo-examples::before {
	left: 0;
	background-image: linear-gradient(rgba(255,255,255,.35), rgba(250,247,233,.96)), url("../img/example-food-bg.jpg");
}

.kampo-examples::after {
	right: 0;
	background-image: linear-gradient(rgba(255,255,255,.35), rgba(250,247,233,.96)), url("../img/example-medicine-bg.jpg");
}

.kampo-examples__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 90px;
}

.kampo-exam h3 {
	margin: 0 0 26px;
	text-align: center;
	font-size: clamp(26px, 2.55vw, 38px);
	line-height: 1.35;
	text-shadow:
		-2px -2px 0 #fff,
		 2px -2px 0 #fff,
		-2px  2px 0 #fff,
		 2px  2px 0 #fff;
}

.kampo-exam--food h3 span {
	color: var(--food);
}

.kampo-exam--medicine h3 span {
	color: var(--medicine);
}

.kampo-accordion {
	display: grid;
	gap: 28px;
}

.kampo-accordion details {
	border-radius: 7px;
	background: rgba(255,255,255,.95);
	box-shadow: 0 8px 22px rgba(75, 61, 37, .06);
	font-family: "Noto Serif JP", serif;
}

.kampo-accordion summary {
	cursor: pointer;
	padding: 23px 28px 7px;
	font-weight: 700;
	list-style: none;
}

.kampo-accordion summary::-webkit-details-marker {
	display: none;
}

.kampo-accordion summary::after {
	content: "+";
	float: right;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	text-align: center;
	line-height: 25px;
	color: #fff;
	background: currentColor;
	box-shadow: inset 0 0 0 999px rgba(255,255,255,.14);
}

.kampo-accordion details[open] summary::after {
	content: "-";
}

.kampo-exam--food summary {
	color: var(--food);
}

.kampo-exam--medicine summary {
	color: var(--medicine);
}

.kampo-accordion p {
	margin: 0;
	padding: 0 28px 12px;
	font-weight: 600;
	line-height: 1.8;
}

.kampo-accordion ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 22px;
	margin: 0;
	padding: 0 28px 28px 56px;
	line-height: 1.75;
	list-style: none;
	
}
.kampo-exam--medicine .kampo-accordion details:nth-child(2) ol,
.kampo-exam--medicine .kampo-accordion details:nth-child(3) ol {
	grid-template-columns: 1fr;
}
.kampo-accordion ol li {
	position: relative;
	padding-left: 1.6em;
}

.kampo-accordion ol li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 400;
}

.kampo-accordion ol li:nth-child(1)::before {
	content: "❶";
}

.kampo-accordion ol li:nth-child(2)::before {
	content: "❷";
}

.kampo-accordion ol li:nth-child(3)::before {
	content: "❸";
}

.kampo-accordion ol li:nth-child(4)::before {
	content: "❹";
}
.kampo-answer {
	margin: 36px 0 0;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
	font-weight: 300;
	line-height: 1.9;
	font-family: "Noto Serif JP", serif;
}
.kampo-exam--food ol li::before {
	color: var(--food);
}

.kampo-exam--medicine ol li::before {
	color: var(--medicine);
}
.kampo-cta {
	padding: 50px 0 92px;
	background: #fff;
}
.kampo-cta__title {
	display: block;
	width: min(420px, 100%);
	height: auto;
	margin: 0 auto 44px;
}
.kampo-cta__title--medicine {
	width: min(330px, 100%);
}

.kampo-cta__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 98px;
	align-items: end;
}

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

.kampo-cta__item p {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
}

.kampo-cta__item h2 {
	margin: 0 0 44px;
	font-size: clamp(42px, 4vw, 58px);
	line-height: 1.25;
}

.kampo-cta__item--medicine h2 {
	color: #5ab8cc;
}


.kampo-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height:60px;
	padding: 16px 78px 16px 34px;
	border-radius: 999px;
	color: #fff;
	font-size: clamp(16px, 1.6vw, 24px);
	font-weight: 600;
	line-height: 1.45;
	box-shadow: 0 13px 24px rgba(82, 68, 24, .16);
	transition: transform .2s ease, filter .2s ease;
}

.kampo-cta__button::after {
	content: "";
	position: absolute;
	right: 25px;
	top: 50%;
	width: 32px;
	height: 32px;
	border: 4px solid #fff;
	border-radius: 50%;
	transform: translateY(-50%);
}

.kampo-cta__button::before {
	content: "";
	position: absolute;
	right: 38px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 4px solid #fff;
	border-top: 4px solid #fff;
	transform: translateY(-50%) rotate(45deg);
	z-index: 1;
	color: #fff !important;
	font-family: "Noto Serif JP", serif;
}

.kampo-cta__button:hover,
.kampo-cta__button:focus-visible {
	transform: translateY(-3px);
	filter: brightness(1.06);
}

.kampo-cta__item--food .kampo-cta__button {
	background: var(--food);
}

.kampo-cta__item--medicine .kampo-cta__button {
	background: var(--medicine);
}
.sp-br {
	display: none;
}
.kampo-cta__button,
.kampo-cta__button:link,
.kampo-cta__button:visited,
.kampo-cta__button:hover,
.kampo-cta__button:focus {
	color: #fff !important;
	font-family: "Noto Serif JP", serif !important;
}

@media (max-width: 767px) {

	.kampo-inner {
		width: min(100% - 28px, 430px);
	}

	.kampo-hero {
		height: auto;
		min-height: 0;
		aspect-ratio: 768 / 920;
		background-image: url("../img/main_sp.jpg");
		background-size: 100% 100%;
		background-position: center top;
		background-repeat: no-repeat;
	}



	.kampo-hero::before {
		display: none;
	}


	.kampo-hero__inner {
		width: min(100% - 24px, 430px);
		margin-top: 240px;
		transform: translateY(-90px);
	}
	.kampo-hero__lead {
		margin-bottom: 10px;
	}
	.kampo-hero__lead img {
	width: min(260px, 100%);
}

	.kampo-hero__title {
		font-size: clamp(28px, 8.2vw, 34px);
	}

	.kampo-hero__text {
		margin: 6px 0 10px;
		font-size: 18px;
	}

	.kampo-choice {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.kampo-choice__button {
	min-height: 50px;
	padding: 10px;
}
.kampo-choice__button--medicine .kampo-choice__logo {
		width: 135px;
		max-width: 135px;
	}

	.kampo-fit {
		padding: 38px 0 46px;
	}

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

	.kampo-fit__grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.kampo-fit__person {
		display: none;
	}

	.kampo-fit__person img {
		width: 132px;
	}

	.kampo-fit__panel ul {
		margin-bottom: 16px;
		padding: 18px 20px;
		font-size: 14px;
	}

	.kampo-fit__result {
		font-size: 15px;
	}

	.kampo-fit__result strong {
		font-size: 26px;
	}

	.kampo-examples {
		padding: 38px 0 52px;
	}

	.kampo-examples::before,
	.kampo-examples::after {
		width: 100%;
		opacity: .28;
	}

	.kampo-examples::after {
		display: none;
	}

	.kampo-examples__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.kampo-exam h3 {
		margin-bottom: 16px;
		font-size: 25px;
	}

	.kampo-accordion {
		gap: 14px;
	}

	.kampo-accordion summary {
		padding: 16px 18px 8px;
	}

	.kampo-accordion p {
		padding: 0 18px 10px;
		font-size: 14px;
	}

	.kampo-accordion ol {
		grid-template-columns: 1fr;
		padding: 0 18px 20px 42px;
		font-size: 14px;
	}

	.kampo-answer {
		margin-top: 18px;
		font-size: 13px;
	}

	.kampo-cta {
		padding: 46px 0 54px;
	}
	.kampo-cta__title {
		width: min(320px, 100%);
		margin-bottom: 22px;
	}

	.kampo-cta__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.kampo-cta__item p {
		font-size: 16px;
	}

	.kampo-cta__item h2 {
		margin-bottom: 22px;
		font-size: clamp(34px, 10vw, 42px);
	}

	.kampo-cta__icon {
		width: 82px;
	}

	.kampo-cta__button {
		min-height: 62px;
		padding: 14px 56px 14px 20px;
		font-size: clamp(15px, 4.5vw, 19px);
	}

	.kampo-cta__button::after {
		right: 18px;
		width: 27px;
		height: 27px;
		border-width: 3px;
	}

	.kampo-cta__button::before {
		right: 29px;
		width: 8px;
		height: 8px;
		border-width: 3px;
	}
.sp-br {
		display: block;
	}
	.kampo-cta__title--medicine {
		width: min(260px, 100%);
	}
	
}

@media (min-width: 768px) {
	.kampo-accordion details {
		display: grid;
		grid-template-columns: 50px 1fr;
		column-gap: 18px;
		padding: 22px 26px;
	}

	.kampo-accordion summary {
		grid-row: 1 / span 2;
		padding: 0;
	}

	.kampo-accordion p {
		grid-column: 2;
		margin: 0 0 8px;
		padding: 0;
	}

	.kampo-accordion ol {
		grid-column: 2;
		margin: 0;
		padding: 0;
		list-style-position: inside;
	}
}

.p-organization {
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-bottom: 20px;
  padding-top: 50px;
}
@media screen and (max-width: 767px) {
  .p-organization {
    padding-bottom: 10.8333333333vw;
    padding-top: 6.9444444444vw;
  }
}
.p-organization dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.8rem;
  line-height: 2.4rem;
  margin-left: 1em;
  margin-right: 1em;
}
@media screen and (max-width: 767px) {
  .p-organization dl {
    font-size: 2.7777777778vw;
  }
  .p-organization dl:first-child {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
}
.p-organization dl dt {
  color: #dd6666;
  font-size: 1.6rem;
  margin-right: 0.4em;
}
@media screen and (max-width: 767px) {
  .p-organization dl dt {
    font-size: 3.0555555556vw;
  }
}
.p-organization dl dd {
  color: #000;
  margin-left: 0.4em;
}
