@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* イントロ全体の背景 */
#intro {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3c699c;
  z-index: 999999;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.8s ease;
}
/* テキストの初期状態 */
.intro__text {
  color: #fff;
  font-family: var(--font01);
  font-size: 2.8rem;
  line-height: 100%;
  opacity: 0;
  filter: blur(10px); /* 出る時だけの演出 */
  transition: opacity 1.2s ease, filter 1.2s ease;
}
.intro__text span {
  display: block;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

/* 表示用クラス */
.intro__text.is-show {
  opacity: 1;
  filter: blur(0);
}

/* 終了用クラス：上にスライドしながら消える */
#intro.is-exit {
  transform: translateY(-100%); /* 上に持ち上げる */
  opacity: 0.8; /* わずかに透けさせながら動かすと自然です */
  pointer-events: none;
}

/* ==========================================================================
  MAIN
========================================================================== */

.header-bg {
	margin-bottom: 0!important;
}

.mainslider {
  clear: both;
  position: relative;
  overflow: hidden;
  width: 98%;
  max-width: 1600px;
  margin: 0 auto;
}
.swiper-slide img {
	border-radius: 10px;
}
.mainslider-tit {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: var(--color01);
  font-family: var(--font01);
  font-size: clamp(2rem,3.75vw,3rem);
  text-align: left;
  line-height: 100%;
  z-index: 100;
}
.mainslider-tit span {
  display: inline-block;
  background-color: #fff;
  border-radius: 5px;
  padding: 8px;
  margin-bottom: 15px;
}

/* ==========================================================================
  CONTENTS
========================================================================== */

/* TOP */

.line-bg01 {
	background: url("../images/cmn-images/line01.gif") 50% 0 no-repeat;
	background-color: var(--color03);
	padding: 100px 0 80px 0;
}
.line-bg02 {
	background: url("../images/cmn-images/line02.gif") 50% 0 no-repeat;
	padding: 100px 0 0 0;
}
.about {
	position: relative;
}
.about-img {
	position: absolute;
	top: 50px;
	right: 50%;
	width: 600px;
	border-radius: 10px;
	margin-right: -1200px;
}
.about .media__body {
	padding-right: 150px;
}
.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 4%;
}
.feature__item:last-child {
  grid-column: 1 / 3;
  justify-self: center; /* アイテム自体を中央に寄せる */
  width: 50%; /* 他のアイテムと同じ幅に調整（必要に応じて） */
}
.feature__number {
	color: var(--color01);
	font-family: var(--font01);
	font-size: clamp(3.2rem,8.75vw,7rem);
	font-style: italic;
	text-align: center;
	background: url("../images/cmn-images/dot.png") 50% 100% no-repeat;
	padding-bottom: 30px;
	margin-top: -80px;
}
.feature__tit {
	color: var(--color01);
	font-size: clamp(1.8rem,2.375vw,2.2rem);
	text-align: center;
	margin-bottom: 20px;
}
.feature p {
	text-align: center;
}

@media screen and (max-width: 640px) {
  .feature {
    grid-template-columns: 1fr; /* 1列にする */
    gap: 20px; /* スマホ用に隙間を調整（任意） */
  }

  /* 5番目のアイテムに設定した「2列またぎ」を解除する */
  .feature__item:last-child {
    grid-column: auto;
    width: 100%; /* 横幅をいっぱいに広げる */
		margin-bottom: 0;
  }
}

.medical-tit {
	width: 200px;
	color: #fff;
	font-size: 2.2rem;
	text-align: center;
	background-color: var(--color01);
	border-radius: 80px;
	padding: 5px 0;
	margin: 0 auto 50px auto;
}
.medical {
	display: flex;
	align-items: center;
	column-gap: 50px;
	width: 80%;
	margin-bottom: 50px;
}
.medical:last-child {
	margin-bottom: 0;
}
.medical:nth-child(even of .medical) {
  float: right;
}
.medical__img {
	width: 300px;
}
.medical__img span {
	display: flex;
	justify-content: center;
	align-items: center;

	width: 80%;           /* 親の300pxに対して80%の幅にする */
	aspect-ratio: 1 / 1;  /* 横と縦の比率を1:1（正方形）に固定する */
	margin: 0 auto;       /* 真ん中に寄せる */

	background-color: #fff;
	border-radius: 50%;
}
.medical__img img {
	width: auto;             /* 画像のサイズが大きすぎる場合はここで調整 */
	height: auto;
	max-width: 60%;          /* 円の中に収まるよう調整 */
}
.medical__txt {
	flex: 1;
}
.medical__tit {
	color: var(--color01);
	font-size: 1.8rem;
	margin-bottom: 20px;
}
.attempt {
  color: #fff;
  padding: 80px 0;
}
.attempt .tit-cmn01 {
  color: #fff!important;
  text-align: left!important;
  margin-bottom: 60px!important;
}
.attempt .bt-cmn01 a {
  color: #fff!important;
}
.attempt .bt-cmn01 a{
  display: block;
	color: var(--color01);
  font-family: var(--font01);
	font-weight: 400;
	background: url("../images/cmn-images/icon-arrow02.png") 100% 50% no-repeat;
	background-size: 15px;
	border-bottom: solid 1px;
  padding: 20px 0;
}

/*nutritional-therapy*/

.health {
	position: relative;
	overflow: hidden;
}

/* テキストエリア */
.health .wrapper {
	position: relative;
	z-index: 2;
	width: min(1380px, 90%);
	padding-left: 260px;
	padding-right: 260px;
	text-align: center;
	margin: 0 auto;
	box-sizing: border-box;
}

/* 左画像 */
.health::before {
	content: "";
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(calc(-500px - 150px), -50%);
	width: 300px;
	height: 420px;
	background: url("../images/nutritional-therapy-images/image04.jpg") center center no-repeat;
	background-size: cover;
	border-radius: 10px;
	z-index: 1;
}

/* 右画像 */
.health::after {
	content: "";
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(calc(500px - 150px), -50%);
	width: 300px;
	height: 420px;
	background: url("../images/nutritional-therapy-images/image03.jpg") center center no-repeat;
	background-size: cover;
	border-radius: 10px;
	z-index: 1;
}
.health-tit01 {
	display: inline-block;
	position: relative;
	color: var(--color01);
	font-family: var(--font01);
	font-size: 4rem;
	font-weight: 400;
	text-align: center;
	border-bottom: 3px solid var(--color01);
	padding-bottom: 15px;
	margin-bottom: 5rem;
}
.health-tit01:before {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) skew(-25deg);
	height: 25px;
	width: 15px;
	border-right: 3px solid var(--color01);
	background-color: white;
	content: "";
}
.health-tit02 {
	color: var(--color01);
	font-family: var(--font01);
	font-size: 3rem;
	font-weight: 400;
	text-align: center;
	margin-bottom: 8rem;
}
.and-list__item {
	color: var(--color01);
	font-family: var(--font01);
	font-size: 2rem;
	font-weight: 400;
	text-align: center;
}
.and-list__item img {
	display: block;
	margin-bottom: 20px;
}
.price {
	border: solid 3px var(--color01);
	border-radius: 5px;
}
.price__inner {
	padding: 50px;
}
.price__tit {
	color: #fff;
	font-family: var(--font01);
	font-size: 2.2rem;
	font-weight: 400;
	text-align: center;
	background-color: var(--color01);
	padding: 15px 0;
	margin-bottom: 0;
}
.detail {
	display: flex;
	padding: 20px;
}
.detail:nth-child(odd) {
	background-color: #eee;
}
.detail__tit {
	width: 50%;
}
.detail__txt {
	flex: 1;
	text-align: right;
}
.total {
	color: #8c0000;
	font-size: 120%;
	font-weight: bold;
	background-color: var(--color04)!important;
}

/*CLINIC*/

.outline {
  display: flex;
  padding: 20px;
}
.outline:nth-child(odd) {
  background-color: var(--color03);
}
.outline__tit {
  width: 150px;
}
.outline__txt {
  flex: 1;
}
.tit-cmn04 span {
  display: block;
  color: var(--color02);
  font-size: 70%;
  margin-bottom: 5px;
}
.history {
  background-color: var(--color03);
  padding: 50px 0;
}

/*METATRON*/

.metatron {
  background: url("../images/cmn-images/line04.gif") 50% 100% no-repeat;
  padding-bottom: 80px;
}
.metatron__tit {
  color: var(--color01);
  font-size: clamp(2rem,3.75vw,3rem);
  text-align: center;
  margin-bottom: 2rem;
}
.metatron__tit span {
  display: block;
  font-family: var(--font02);
  font-size: clamp(5rem,12.5vw,10rem);
}
.metatron__img {
  display: block;
  width: 35%;
  margin: 0 auto;
}
.aboutmetatron {
  color: #fff;
  background-color: var(--color01);
  padding: 5rem 0;
}
.aboutmetatron .tit-cmn02 {
  color: #fff;
}

.flow {
  background-color: var(--color03);
  padding: 5rem 0;
}
.step {
  display: flex;
  margin-bottom: 8px;
}
.step__img {
  width: 350px;
}
.step__img img {
  display: block;
  width: 55%;
  margin: 0 auto;
}
.step__txt {
  flex: 1;
}
.step__tit {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.step__tit span:first-child {
  width: 140px;
  color: #fff;
  font-family: var(--font02);
  font-size: 1.5rem;
  background-color: var(--color01);
  border-radius: 80px;
  text-align: center;
  padding: 5px 0;
}
.step__tit span:last-child {
  flex: 1;
  color: var(--color01);
  font-size: clamp(1.8rem,2.375vw,2.3rem);
  padding-left: 30px;
}
.step__inner {
  border-left: solid 2px var(--color01);
  padding: 5rem 0 5rem 4rem;
  margin-left: 20px;
}
.step__inner p:last-child {
  margin-bottom: 0;
}
.m-price {
  display: flex;
  font-weight: bold;
  border: solid 2px var(--color01);
  border-radius: 5px;
  background-color: #f1f8ff;
  padding: 15px 30px;
  margin-bottom: 30px;
}
.m-price__tit {
  width: 50%;
  color: var(--color01);
  border-right: dotted 1px;
  padding: 10px 0;
}
.m-price__txt {
  flex: 1;
  text-align: right;
  padding: 10px 0;
}

/* ==========================================================================
  PC 1025px -
========================================================================== */

@media screen and (min-width: 1025px) {
.attempt {
  background: url("../images/index-images/bg02.jpg") 50% 50% no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
}

@media screen and (max-width: 1200px) {
  /* 1200以下 */
}

/* ==========================================================================
  TABLET - 1024px
========================================================================== */

@media screen and (max-width: 1024px) {

.mainslider {
  width: 100%;
  overflow: hidden; /* はみ出たスライドを隠す */
  position: relative;
}
.mainslider .swiper {
  width: 170%;
  height: auto;
  margin-left: -35%;
}
.mainslider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; 
}

/*TOP*/

.line-bg01 {
  background-size: 1000px;
	padding: 60px 0 50px 0;
}
.line-bg02 {
  background-size: 1000px;
	padding: 60px 0 0 0;
}
.about-img {
  display: none;
}
.about .media__body {
	padding-right: 0;
}
.feature__number {
	margin-top: -70px;
}

.medical-tit {
	font-size: 1.8rem;
}
.medical {
	display: block;
	width: 100%;
}
.medical:nth-child(even of .medical) {
  float: none;
}
.medical__img {
	width: 300px;
  margin: 0 auto 30px auto;
}
.attempt {
  background: url("../images/index-images/bg02.jpg") 0 0 no-repeat;
  padding: 60px 0;
}

/*nutritional-therapy*/

.health::before,
.health::after {
  display: none;
}
.health .wrapper {
  padding-left: 0;
  padding-right: 0;
  width: min(90%, 1380px);
}
.health-img {
  width: 80%;
  display: flex;
  margin: 0 auto;
}
.health-img__item {
  width: 50%;
}
.health-img__item img {
  display: block;
  width: 80%;
  margin: 0 auto;
}

/*CLINIC*/

.outline {
  display: block;
}
.outline__tit {
  width: 100%;
  font-weight: bold;
  margin-bottom: 5px;
}
.outline__tit::before {
  content: "/";
  margin-right: 5px;
}
.message .media--imgB .media__figure {
  width: 80%!important;
  margin: 0 auto!important;
}

/*METATRON*/

.metatron {
  background: url("../images/cmn-images/line04.gif") 50% 100% no-repeat;
  background-size: 1000px;
  padding-bottom: 60px;
}

.step__img {
  width: 200px;
}
.step__img img {
  width: 60%;
}
.step__tit span:last-child {
  padding-left: 20px;
}
.step__inner {
  padding: 4rem 0 4rem 3rem;
}
}

/* ==========================================================================
  SP - 640px
========================================================================== */

@media screen and (max-width: 640px) {

.mainslider-tit {
  bottom: 10px;
  left: 20px;
  font-size: clamp(2rem,3.75vw,3rem);
}
.mainslider-tit span {
  display: inline-block;
  background-color: #fff;
  border-radius: 5px;
  padding: 8px;
  margin-bottom: 15px;
}

/* TOP */

.line-bg01 {
  background-size: 800px;
	padding: 40px 0 40px 0;
}
.line-bg02 {
  background-size: 800px;
	padding: 40px 0 0 0;
}
.feature__number {
	margin-top: -40px;
}

.medical-tit {
	width: 150px;
	font-size: 1.8rem;
	margin: 0 auto 30px auto;
}
.medical {
	margin-bottom: 30px;
}
.medical__img {
	width: 200px;
}
.medical__tit {
	font-size: 1.7rem;
	margin-bottom: 20px;
}
.attempt {
  padding: 40px 0;
}
.attempt .tit-cmn01 {
  margin-bottom: 30px!important;
}
.attempt .section-min {
  margin-bottom: 30px!important;
}

/*nutritional-therapy*/

.health-tit01 {
	font-size: 2.8rem;
  padding-bottom: 10px;
	margin-bottom: 4rem;
}
.health-tit02 {
	font-size: 2.2rem;
	margin-bottom: 5rem;
}
.and-list__item {
	font-size: 1.8rem;
}
.price__inner {
	padding: 20px;
}
.price__tit {
	font-size: 2rem;
}
.detail {
	display: block!important;
}
.detail__tit {
	width: 100%;
}
.detail__txt {
	width: 100%;
}

/*METATRON*/

.metatron {
  background: url("../images/cmn-images/line04.gif") 50% 100% no-repeat;
  background-size: 800px;
  padding-bottom: 50px;
}
.metatron__img {
  width: 60%;
}
.step {
  display: block;
  margin-bottom: 5rem;
}
.step:last-child {
  margin-bottom: 0;
}
.step__img {
  width: 100%;
}
.step__img img {
  width: 50%;
  margin: 0 auto 3rem auto;
}
.step__tit {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.step__tit span:first-child {
  width: 100px;
  font-size: 1.3rem;
}
.step__tit span:last-child {
  padding-left: 15px;
}
.step__inner {
  padding: 3rem 0 3rem 3rem;
  margin-left: 10px;
}
.step__inner p:last-child {
  margin-bottom: 0;
}
.m-price {
  display: block;
  padding: 20px;
  margin-bottom: 25px;
}
.m-price__tit {
  width: 100%;
  border-right: none;
  border-bottom: dotted 1px;
  padding: 0 0 10px 0;
  margin-bottom: 10px;
}
.m-price__txt {
  flex: 1;
  text-align: right;
  padding: 0;
}

.staff-list .media__figure {
  display: block;
  width: 80%;
  margin: 0 auto 30px auto;
}
}
