@charset "UTF-8";

:root {
   --main-color: #EA6D80;/*濃いピンク*/
   --sub-color: #13B6E4;/*濃い水色*/
   --base1-color: #333;/*テキスト*/
   --base2-color: #6A6A6A;/*グレー*/
   --base3-color: #C8C8C8;/*グレー*/
   --base4-color: #EFEFEF;/*薄いグレーfooter背景*/
   --white-color: #fff;
   --accent-color: #FCE3E5;/*薄いピンク*/
   --accent2-color: #0068B6;/*ブルー（病院メインカラー）*/
   --accent3-color: #DEF6FC;/*薄い水色*/	
   --red-color: #d1101a;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  	color: var(--base1-color);
  	font-family: 'Zen Kaku Gothic New', sans-serif;
  	font-weight: 500;/*400*/
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
	font-feature-settings: "palt";
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
li {
	list-style: none;
}
a {
  color: var(--accent2-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover img  {
 	opacity: 0.8;
}
iframe {
	vertical-align: bottom;
}
main {
	padding-top: 80px;
}


/*container*/
.container {
 	max-width: 1064px;
	margin-inline: auto;
	padding: 0 20px;
}
.container-p0 {
    max-width: 1064px;
	margin-inline: auto;
	padding: 0;
}

/* Inview */
.fadein {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s;
}
.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

/*ボタン基本*/
.btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 260px;
	height: 70px;
	color: var(--white-color);
	font-size: 1.1rem;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
	transition: 0.3s;
	border-radius: 100vh;
}

@media screen and (max-width:500px) {
	.btn a {
		font-size: 1rem;
		height: 60px;
	}
}
.btn a:hover {
	color: #fff;
}
/*黒*/
.btn01 a {
	background: var(--base1-color);
}
.btn01 a:hover {
	background: var(--main-color);
}
.btn01 a::after {
    content: '';
	position: absolute;
	top: 50%;
	right: 25px;/*30px*/
	transform: rotate(45deg) translateY(-50%);
	width: 8px;
	height: 8px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: #fff;
}
.btn01 a:hover::after {
	border-color: #fff #fff transparent transparent;
}

/*ピンク*/
.btn02 a {
	background: var(--main-color);
}
.btn02 a:hover {
	background: var(--accent-color);
	color: var(--main-color);
}
.btn02 a::after {
    content: '';
	position: absolute;
	top: 50%;
	right: 25px;/*30px*/
	transform: rotate(45deg) translateY(-50%);
	width: 8px;
	height: 8px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: var(--white-color);
}
.btn02 a:hover::after {
	border-color: var(--main-color) var(--main-color) transparent transparent;
}



/*テキスト*/
p {
	font-size: 1rem;
	line-height: 1.8;
}
p.text-sm {
	font-size: .9rem;
	line-height: 1.5;
}
@media screen and (max-width: 600px) {
	p {
	font-size: .9rem;
	line-height: 1.6;
	}
	p.text-sm {
		font-size: .85rem;
		line-height: 1.4;
	}
}


.text-main-color {
	color: var(--main-color);
}
.text-lg {
	font-size: 1.25rem;
}
.text-bold {
	font-weight: 700;
}

/*見出し*/
h2.heading {
	font-family: "Zen Kaku Gothic New Medium";
	font-size: 2rem;/*32px*/
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 20px;
}
h3.heading {
	font-size: 1.5rem;/*24px*/
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
	h2.heading {
		font-size: 1.5rem;
		margin-bottom: 12px;
	}
	h3.heading {
		font-size: 1.25rem;/*20px*/
		margin-bottom: 12px;
	}
}

.heading-accent {
 	display: flex;
 	justify-content: center;
 	align-items: center;
 	gap: 20px;
 	margin: 0;
 	color: var(--main-color);
 	font-size: 1rem;
 	line-height: 1.4;
}
.heading-accent__deco {
 	font-weight: normal;
 	user-select: none;
}
@media screen and (max-width: 600px) {
	.heading-accent {
		gap: 12px;
		font-size: .9rem;
	}
}


/*----- 本文見出し共通 -----*/
/* 大見出しh2 */
.section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;/*24px*/
  font-weight: bold;
  margin-bottom: 32px;
}
.section__title::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(72deg, #13B6E4 0%, #CBF0FB 100%);
}

/* 中見出しh3 */
.section__subtitle {
  font-size: 1.15rem;/*18.4px*/
	line-height: 1.6;
  font-weight: 600;
  margin-bottom: 20px;
}

/* 基本テキストp */
.section__text {
  line-height: 1.8;
  margin-bottom: 16px;
}
.section__text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
	.section__title::before {
	  width: 20px;
	  height: 20px;
	}
	.section__title {
	  font-size: 2rem;/*32px*/
	  margin-bottom: 40px;
	}
	.section__subtitle {
	  font-size: 1.25rem;/*20px*/
	  margin-bottom: 24px;
	}
}


/*-------------------------------------------
page-header 
-------------------------------------------*/
.page-header {
  position: relative;
  width: 100%;
  overflow: hidden;
/*画像は各ページのcssで設定*/
/*  background-image: url("../img/bg_pagetitle.jpg");
  background-size: cover;
  background-position: center bottom;*/
  background-repeat: no-repeat;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem; /*  4rem 左側テキストと右側画像の間の余白 */
  /* 
   * 画像を右端に密着させるための計算式
   * max()関数により、画面幅が1200px以上の場合は中央揃えと同じ位置から開始し、
   * 1200px未満の場合は最低2remの余白を確保。
   */
  padding-left: max(2rem, calc(50vw - 600px));
  padding-right: 0;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.page-header__content {
  flex: 1 1 40%;
  max-width: 500px;
  z-index: 1;
}

.page-header__title {
  margin: 0 0 2rem 0;
  color: var(--base1-color);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ページ内リンク */
.page-header__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-header__nav-item {
  border-bottom: 1px solid var(--base2-color);
}
.page-header__nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.5rem;
  color: var(--base1-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.page-header__nav-link:hover {
	color: var(--accent2-color);
}
.page-header__nav-link:focus-visible {
  outline: 2px solid #333;
  outline-offset: -2px;
}

.page-header__nav-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: currentColor;
  transform: rotate(135deg);
  margin-bottom: 4px; /* 位置ズレを微調整 */
  transition: transform 0.2s ease;
}

.page-header__figure {
  flex: 1 1 60%;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}
.page-header__image {
  display: block;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 9999px 0 0 9999px;
  background-color:var(--base4-color); 
}

@media (max-width: 820px) {
  .page-header {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    gap: 3rem;
  }
  .page-header__content {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  .page-header__figure {
    padding-left: 1.5rem; 
  }
  .page-header__image {
    min-height: 200px;
    border-radius: 9999px 0 0 9999px; 
  }
}
@media (max-width: 820px) {
	  .page-header {
		padding-top: 2rem;
		padding-bottom: 1rem;
		gap: 2rem;
	  }
	.page-header__title {
	  margin: 0 0 1rem 0;
	}
	.page-header__nav-link {
	  padding: 1rem 0.4rem;
	}
 }


/*-------------------------------------------
image-gallery
-------------------------------------------*/
.image-gallery {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  /* モバイル1列 */
  grid-template-columns: 1fr;
}
/* タブレット(600px以上) は列 */
@media (min-width: 600px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 900px以上3列 */
@media (min-width: 900px) {
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.image-gallery__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px; 
}

.image-gallery__image-wrapper {
  aspect-ratio: 3 / 2;
  background-color: var(--base4-color);
  border-radius:8px;
  overflow: hidden;
}
.image-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-gallery__caption {
  font-size: .9rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
	.image-gallery__caption {
	  font-size: 1rem;
	}
}


/*-------------------------------------------
Header
-------------------------------------------*/
#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255,255,255,.9);/*var(--white-color)*/
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
#header .logo {
  width: 100%;
  max-width: 300px;
  line-height: 0;
}
#header .logo a {
  display: block;
}
#header .navi .menu {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
#header .navi .menu > li {
  margin-left: 20px;/*24px*/
}
#header .navi .menu > li a {
  color: var(--base1-color);
}
#header .navi .menu > li.current a {
  color: var(--main-color);
}
#header .navi .menu > li a:hover {
  color: var(--main-color);
}

#header .navi .menu .menu-contact a {/*見学・エントリーボタン*/
  background-color: var(--main-color);
  border-radius: 30px;
  color: var(--white-color);
  display: block;
  font-weight: 500;
  padding: 8px 20px;
  text-align: center;
}
#header .navi .menu .menu-contact a:hover {
	background-color: var(--accent-color);
 	color: var(--base1-color);
}
#header .mask {
  display: none;
}

@media screen and (max-width: 1024px) {/*tab*/
  #header {
    height: 60px;
  }
  #header .logo {
    max-width: 200px;/*180px*/
  }
  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #FAE9EA;
    position: fixed;
    top: 0;
    left: -120%;
    z-index: 20;
    transition: all 0.6s;
  }
  #header .navi.active {
    left: 0;
  }
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }
  #header .navi .menu > li {
    width: 100%;
    border-top: solid 1px rgba(234, 109, 128, .3);
    margin-left: 0;
  }
  #header .navi .menu > li a {
    width: 100%;
    display: block;
    padding: 20px;
  }

  #header .navi .menu .menu-contact {
    padding: 32px 0;
  }
  #header .navi .menu .menu-contact a {
    max-width: 240px;
    margin: 12px auto;
	  border-radius: 30px;
	  padding: 12px 32px;
  }
	
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
  #header .hamburger span {
    width: 30px;
    height: 1px;
    background-color: rgba(234, 109, 128, .9);
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }
  #header .hamburger.active span {
    background-color: rgba(234, 109, 128, .9);
  }
  #header .hamburger span:nth-of-type(1) {
    top: 16px; 
  }
  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }
  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }
	
  #header .mask.active {
    width: 100%;
    height: 100%;
    background: var(--white-color);
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
  }
}


/*-------------------------------------------
contact
-------------------------------------------*/
#contact {
	padding-bottom: 60px;
}

/*cta*/
.cta-banner {
  margin-top: 40px; 
  position: relative;
  display: block;
  text-decoration: none;
  background: linear-gradient(90deg, #EA6D80 0%, #FF9A9E 50%, #FCE3E5 100%);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.cta-banner:hover {
	background: #FF9A9E;
 	transition: .3s;
}

.cta-banner__heading-img {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  max-width: 200px; 
}

.cta-banner__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem 2.5rem;
}

.cta-banner__title {
  color: var(--white-color);
  font-size: clamp(1.5rem, 4vw, 2.25rem); 
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap; /* PC表示時に改行されない */
}
.cta-banner__sub {
 	display: flex;
 	align-items: center;
 	gap: 1.5rem;
	color: var(--base1-color);
}
.cta-banner__text {
 	margin: 0;
 	font-size: 1rem;
	font-weight: 500;
 	line-height: 1.6;
}
.cta-banner__icon {
  display: flex;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

/* キーボード操作時のフォーカススタイル */
.cta-banner:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .cta-banner__content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 1.4rem 2rem;
    text-align: center;
  }
  .cta-banner__sub {
    /*flex-direction: column;*/
    gap: 1rem;
  }
  .cta-banner__title {
    white-space: normal;
  }
	.cta-banner__heading-img {
	  max-width: 150px; 
	}
	.cta-banner__icon {
	  width: 24px;
	  height: 24px;
	}
}

.contact-link {
	margin-top: 40px;
	display: flex;
 	flex-direction: column;
 	align-items: center;
 	gap: 20px;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
 	background-color: var(--base4-color);
 	color: var(--base1-color);
 	padding: 60px 0;
	position: relative;
	font-weight: 400;
}
#footer .container {
	display: flex;
  	justify-content: space-between;
	flex-wrap: wrap;
}
#footer a {
  color: var(--base1-color);;
}
#footer .info-area {
  width: 32%;
}
#footer .info-area .logo {
	width: 100%;
	max-width: 280px;
 	display: block;
 	margin-bottom: 20px;
}
#footer .info-area .info {
	font-size: .9rem;
	line-height: 1.5;
	margin-bottom: 40px;
}
#footer .info-area .copyright {
	font-size: .75rem;
}
#footer .menu-area {
 	width: 68%;
	margin-top: 12px;
/* 	display: flex;
	justify-content: flex-end;*/
}

#footer .menu-footer {
 	display: flex;
	justify-content: flex-end;
 	align-items: center;
 	font-size: .9rem;
	margin-bottom: 16px;
}
#footer .menu-footer > li {
	margin-left: 20px;
	margin-bottom: 12px;
}

#footer .menu-footer > li a {
	color: var(--base1-color);
}
#footer .menu-footer > li a:hover {
  color: var(--main-color);
}

#footer .menu-link {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 24px;
}
#footer .menu-link .hp-site {
	line-height: 1.2;
}
#footer .menu-link .hp-site span {
	margin-left: 4px;
}
#footer .menu-link {
	font-size: .9rem;
}

@media screen and (max-width: 767px) {
  #footer {
    padding: 40px 0;
  }
  #footer .container {
    flex-direction: column-reverse;
  }
  #footer .info-area {
    width: 100%;
  }
  #footer .menu-area {
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
  }
	#footer .menu-footer {
	  flex-direction: column;
	  font-size: .9rem;
	}	
	#footer .menu-link {
		justify-content: center;
		align-items: center;
		gap: 24px;
	}

	#footer .info-area {
    	text-align: center;
 	}
 	#footer .info-area .logo {
 		margin: 0 auto 20px;
  }
}


/*-------------------------------------------
breadcrumb
-------------------------------------------*/
.breadcrumb {
  margin-bottom: 16px;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}
.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--base2-color);
  border-right: 1px solid var(--base2-color);
  transform: rotate(45deg);
  margin-top: -1px;
}

.breadcrumb__link {
  color: var(--base2-color);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
.breadcrumb__link:hover {
  color: var(--accent2-color);
  text-decoration: underline;
}
.breadcrumb__link[aria-current="page"] {
  color: var(--base2-color);
  pointer-events: none;
  text-decoration: none;
}



/*タブレット*/
@media screen and (max-width: 1024px) {
  html {
    scroll-padding-top: 60px;
  }
  main {
    padding-top: 60px;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
}


/*#page-top*/
#footer #page-top {
    position: absolute;
    top: -61px;
    right: 0;
    width: 60px;
    height: 60px;
    background: rgba(252, 227, 229, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#footer #page-top span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--main-color);
    border-left: 1px solid var(--main-color);
    transform: rotate(45deg);
	margin-bottom: -10px;
}
#footer #page-top a:hover span {
	opacity: .5;
	transition: .3s;
}
@media screen and (max-width:768px) {
    #footer #page-top {
        width: 50px;
        height: 50px;
	    top:-20px;
    }
}


/* pc_br sp_br改行調整 */
@media (min-width: 601px){   
  .pc_br { display:block; }
  .sp_br { display:none; }
}
@media (max-width: 600px){   
  .pc_br { display:none; }
  .sp_br { display:block; }
}
