@charset "UTF-8";
/*
Theme Name : 原病院　認知症LP
*/

*,
::before,
::after {
  /* fluid 計算式） */
  --size-root: 16;
  --clamp-slope: calc((var(--size-max) - var(--size-min)) / (var(--viewport-max) - var(--viewport-min)));
  --clamp-intercept: calc(var(--size-min) - (var(--clamp-slope) * var(--viewport-min)));
  --clamp-value: calc(var(--clamp-intercept) * (1rem / var(--size-root)) + (var(--clamp-slope) * 100vw));
  --clamp: clamp(
    calc(var(--size-min) * (1rem / var(--size-root))),
    var(--clamp-value),
    calc(var(--size-max) * (1rem / var(--size-root)))
  );
  font-size: var(--clamp);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  background: #fff;
	color: var(--color-txt);
	line-height: 2;

  --viewport-min: 375;
  --viewport-max: 1440;
  --size-min: 16;
  --size-max: 22;
}


img {
	width: 100%;
	height: auto;
}

/* 電話番号a表示 */
@media screen and (min-width: 810.1px) {
	a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}

/* PC/SP 出し分け */
@media screen and (max-width: 810px) {
	.pc {
		display: none !important;
	}
}

@media screen and (min-width: 810.1px) {
	.sp {
		display: none !important;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 500;
	line-height: 1.3;
}

h2{
  --size-max: 66;
  --size-min: 30;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}


:where(p){
  --size-max: 22;
  --size-min: 16;
}

address {
	font-style: normal;
}

.disc {
	list-style-type: "・";
	padding-left: 1em;
}

a {
	text-decoration: none;
  color: var(--color-txt);
}


/* 個別クラス */
.dib {
	display: inline-block;
}
.tac {
	text-align: center;
	margin-inline: auto;
	width: fit-content;
}

@media screen and (min-width: 810.1px) {
	.tac-pc {
		text-align: center;
	}
}
@media screen and (max-width: 810px) {
	.tac-sp {
		text-align: center;
	}
}

.tar {
	text-align: right;
	margin-left: auto;
	width: fit-content;
}
.tal {
	text-align: left;
	margin-left: auto;
	width: fit-content;
}

.disc {
	list-style-type: "・";
	padding-left: 1em;
}

/* フォント関係 */
.font-en {
  font-family: var(--font-en);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.relative{
  position: relative;
}

/* サイト幅設計 */
.wrap {
	/* 最大幅1350px */
	/* 最大左右padding67.5px */
	width: 100%;
	max-width: 100vw;
	margin-inline: auto;
	padding-inline: 5%;
	padding-block: var(--unit);
	position: relative;
	overflow: hidden;
}

.inner {
  width: var(--width-inner);
	margin-inline: auto;
}
.inner.my{
  margin-block: var(--space-xlg);
}

.tel-box{
  font-family: var(--font-sans);
  text-align: center;
  line-height: 1.2;
  border-radius: 30px;
  padding: var(--space-md);
  background-color: #FEC571;
}
.tel-box p{
  --size-max: 24;
  --size-min: 18;
  line-height: 1.4;
  font-weight: 600;
}
.tel-box a{
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 500;
  --size-max: 90;
  --size-min: 32;
  padding-top: 8px;
}
.tel-box a::before{
  content: "";
  display: inline-block;
  width: .7em;
  height: .7em;
  background: url(../img/icon_tel.svg) no-repeat left center;
  background-size: contain;
  vertical-align: middle;
  margin-right: .1em;
}
.tel-box a + p{
  --size-max: 20;
  --size-min: 14;
}
.tel-box .caution{
  --size-max: 18;
  --size-min: 14;
  font-weight: 400;
}
@media screen and (max-width: 810px) {
  .tel-box .caution{
    text-align: left;
  }
}
.tel-box hr{
  margin-block: 1em;
  border: 0;
  border-top: 1px solid var(--color-txt);
}

@media screen and (min-width: 810.1px) {
  .tel-box.org{
    margin-bottom: var(--space-lg);
  }
}
@media screen and (max-width: 810px) {
  .tel-box.org{
    border-radius: 0;
    margin-inline: calc(50% - 50vw);
  }
}

/* ヘッダー */
header {
  background-color: #fff;
  padding: 40px 60px;
}

header > p{
  font-family: var(--font-sans);
  font-weight: 600;
  --size-max: 28;
  --size-min: 16;
  line-height: 1.5;
}
@media screen and (max-width: 810px) {
  header > p{
    margin-top: 40px;
  }
}
header > p span{
  color: var(--color-main);
}
header .head-info{
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 100vmax;
  color: #132A3A;
  background-color: var(--bg-main);
  padding-block: .5em;
  z-index: 100;
  text-align: center;
}
@media screen and (max-width: 810px) {
  header {
    display: contents;
  }
  header > p{
    text-align: center;
    margin-bottom: 1em;
  }
  header .head-info{
    position: sticky;
    top: 20px;
    left: 0;
    right: 0;
    width: 90%;
    margin-inline: auto;
  }
  .head-info > p{
    line-height: 1;
  }
  .head-info .btn-close{
    position: absolute;
    right: 0;
    top: -1px;
    width: 28px;
    height: 28px;
    cursor: pointer;
  }
  .is-hidden {
    display: none !important;
  }
}
@media screen and (min-width: 810.1px) {
  header .head-info{
    position: fixed;
    top: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    align-items: center;
    border-radius: 0 0 0 20px;
    padding: 1em;
  }
  .head-info .btn-close{
    display: none;
  }
}
.head-info > p{
  --size-max: 18;
  --size-min: 13;
}

.head-info .head-tel{
  line-height: 1.2;
  text-align: center;
}
@media screen and (min-width: 810.1px) {
  .head-info .head-tel{
    padding-left: 1em;
    border-left: 1px solid #3E3E3E;
  }
}
.head-info .head-tel a{
  font-family: var(--font-en);
  font-size: var(--font-32);
  color: #132A3A;
  font-weight: 700;
}
.head-info .head-tel a::before{
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(../img/icon_tel_h.svg) no-repeat left center;
  background-size: contain;
  vertical-align: middle;
  margin-right: .1em;
}
.head-info .head-tel > p{
  --size-max: 16;
  --size-min: 12;
}

/* footer */
footer {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
}
footer .inner{
  --width-inner: min(1224px, 90%);
  text-align: center;
  padding: 40px 0 24px;
}
@media screen and (min-width: 810.1px) {
  footer .inner{
    padding: 120px 0 24px;
  }
}
.ft-box.tel-box{
  background-color: #fff;
  border-radius: 20px;
}
.ft-box.tel-box p:nth-child(2){
  color: #F89F1B;
  --size-max: 32;
  --size-min: 20;
}
.ft-info{
  margin-block: var(--space-lg) 1em;
}
@media screen and (min-width: 810.1px) {
  .ft-info{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--color-txt);
  }
  .ft-info .ft-logo{
    order: 1;
    display: flex;
    gap: 16px;
    text-align: left;
    line-height: 1.4;
  }
  .ft-info ul{
    order: 2;
  }
}

.ft-logo p{
  --size-max: 24;
  --size-min: 18;
  line-height: 1.4;
}
.ft-logo p span{
  display: block;
}
.ft-logo img{
  width: 62px;
  height: auto;
}
@media screen and (max-width: 810px) {
  .ft-logo{
    margin-top: 2em;
  }
  .ft-logo img{
    margin-inline: auto;
  }
}
.ft-info ul{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: fit-content;
  margin-inline: auto;
}
.ft-info li{
  width: 40px;
}
address{
  margin-top: .5em;
  --size-max: 18;
  --size-min: 16;
}
.copy{
  --size-max: 14;
  --size-min: 10;
}

.kv{
  position: relative;
}
.kv > p{
  writing-mode: vertical-rl;
  white-space: nowrap;
  --size-max: 50;
  --size-min: 34;
  position: absolute;
  top: 50%;
  left: 50%;
  height: fit-content;
  margin-block: auto;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 810px) {
  .kv > p{
    top: 35%;
  }
}
.kv .logo{
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  gap: 16px;
}
.kv .logo img{
  width: 62px;
  height: auto;
}
.kv h1:not(span){
  --size-max: 20;
  --size-min: 16;
}
.kv h1 span{
  display: block;
  --size-max: 16;
  --size-min: 14;
}
@media screen and (max-width: 810px) {
  .kv .logo{
    width: fit-content;
    left: 0;
    right: 0;
    margin-inline: auto;
    bottom: 7.179vw;
    gap: 8px;
  }
  .kv .logo img{
    width: 12.307vw;
    height: auto;
  }
  .kv h1{
    color: #fff;
  }
}



.bg-wrap {
  position: relative;
  background:  -webkit-linear-gradient(-30deg, #FCEDCC, #ECE7E3);
  background: linear-gradient(-30deg, #FCEDCC, #ECE7E3);
  padding: var(--space-xlg) 0;
}
.bg-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/noise.png") repeat;
  background-size: 260px auto;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mix-blend-mode: screen;
}

.stroke01{
  position: absolute;
  top: -24.358vw;
  width: 100%;
}
.stroke01 + .inner{
  margin-top: 2em;
}
@media screen and (min-width: 810.1px) {
  .stroke01{
    top: -31.25vw;
  }
  .stroke01 + .inner{
    margin-top: 13.888vw;
  }
}

.stroke02{
  position: relative;
  z-index: 10;
  margin-top: -6.944vw;
  width: 100%;
}
.stroke03{
  position: relative;
  z-index: 10;
  margin-top: -27.777vw;
  width: 100%;
}

.rounded{
  border-radius: 30px;
  overflow: hidden;
}
.rounded-r{
  border-radius: 0 30px 30px 0;
  overflow: hidden;
}
.rounded-l{
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}
.rounded-rb{
  border-radius: 0 0 30px 0;
  overflow: hidden;
}

.intro > div img,
.intro-img,
.intro-about{
  position: relative;
  z-index: 5;
}

@media screen and (min-width: 810.1px) {
  .intro{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-right: calc(50% - 50vw);
  }
  .intro ul{
    order: 1;
  }
  .intro > div{
    order: 2;
  }
  .intro > div img{
    aspect-ratio: 1;
    object-fit: cover;
  }
}
@media screen and (max-width: 810px) {
  .intro > div{
    margin-right: calc(50% - 50vw);
  }
  .intro > div img{
    aspect-ratio: 360 / 195;
    object-fit: cover;
    object-position: center 40%;
  }
}
.intro ul{
  margin-top: 1em;
  --size-max: 24;
  --size-min: 18;
}
.intro li{
  margin-top: .5em;
  line-height: 1.6;
}
@media screen and (max-width: 810px) {
  .intro ul{
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 810px) {
  .intro-img{
    width: 55%;
    float: right;
    margin-right: calc(50% - 50vw);
    border-radius: 30px 0 0 30px;
    overflow: hidden;
  }
  .intro-img img{
    aspect-ratio: 200 / 140;
    object-fit: cover;
    object-position: left top;
  }
}
@media screen and (min-width: 810.1px) {
  .intro-img{
    width: min(400px, 27.777vw);
    margin-inline: auto;
    margin-top: -80px;
    border-radius: 30px;
    overflow: hidden;
  }
}
@media screen and (max-width: 810px) {
  .intro-about > div:first-child{
    width: 55%;
    margin-left: calc(50% - 50vw);
    padding-block: 60px;
  }
}
@media screen and (min-width: 810.1px) {
  .intro-about{
    display: grid;
    grid-template-columns: 35% 1fr;
    margin-left: calc(50% - 50vw);
    margin-top: -80px;
    gap: var(--space-xxlg);
  }
  .intro-about-txt{
    margin-top: 160px;
  }
}
.intro-about-txt ul{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: var(--space-sm);
}
@media screen and (min-width: 810.1px) {
  .intro-about-txt ul{
    grid-template-columns: repeat(2, 1fr);
  }
}
.intro-about-txt ul li{
  display: grid;
  place-content: center;
  --size-max: 40;
  --size-min: 28;
  aspect-ratio: 1;
  border-radius: 100vmax;
  border: 1px solid var(--color-txt);
  position: relative;
}
@media screen and (max-width: 810px) {
  .intro-about-txt ul li{
    width: 54.615vw;
    height: 54.615vw;
    margin-inline: auto;
  }
}
@media screen and (min-width: 810.1px) {
  .intro-about-txt ul li{
    width: 20.416vw;
    height: 20.416vw;
  }
}
.intro-about-txt ul li span {
  display: block;
  position: absolute;
  animation: rotate 20s linear infinite;
  width: 100%;
  height: 100%;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.intro-about-txt > p span{
  font-weight: 800;
}
@media screen and (max-width: 810px) {
  .intro-about-txt > p span{
    text-decoration: underline;
  }
}

.consult{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media screen and (max-width: 810px) {
  .consult > div{
    margin-right: calc(50% - 50vw);
    margin-left: 13vw;
  }
}

@media screen and (min-width: 810.1px) {
  .consult{
    display: grid;
    grid-template-columns: 1fr clamp(280px, 34.722vw, 500px);
    margin-right: calc(50% - 50vw);
  }
}
.consult p span{
  display: block;
  --size-max: 32;
  --size-min: 22;
  text-indent: -0.5em;
  font-weight: 600;
  margin-block: .2em;
}
@media screen and (min-width: 810.1px) {
  .consult p span{
    font-size: clamp(18px, 2.222vw, 32px);
  }
}
@media screen and (max-width: 810px) {
  .consult p span{
    text-align: center;
    text-indent: -4em;
    padding-left: 2em;
  }
}

.consult-img{
  margin-top: var(--space-md);
  margin-left: calc(50% - 50vw);
  position: relative;
  z-index: 5;
}
.consult-img + .tel-box{
  margin-top: 40px;
}
@media screen and (max-width: 810px) {
  .consult-img{
    width: 56.410vw;
  }
  .consult-img img{
    aspect-ratio: 220 / 120;
    object-fit: cover;
    object-position: right center;
  }
  .consult-img + .tel-box{
    margin-top: 40px;
  }
}
@media screen and (min-width: 810.1px) {
  .consult-img{
    width: 27.083vw;
  }
  .consult-img + .tel-box{
    margin-top: -8.333vw;
  }
}

.doctor h2{
  margin-bottom: 0;
}
.doctor > p{
  line-height: 2.5;
}
.doctor-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.doctor-wrap hgroup{
  margin-bottom: 1em;
}
.doctor-wrap hgroup *{
  font-weight: 700;
}
.doctor-wrap hgroup p{
  --size-max: 32;
  --size-min: 20;
}
.doctor-wrap hgroup h2{
  --size-max: 48;
  --size-min: 32;
}
.doctor-wrap hgroup h2 span{
  --size-max: 24;
  --size-min: 20;
  padding-right: .5em;
}
@media screen and (min-width: 810.1px) {
  .doctor-wrap{
    display: grid;
    grid-template-columns: 11.111vw auto;
    width: fit-content;
    margin-inline: auto;
  }
}
@media screen and (max-width: 810px) {
  .doctor-wrap > div:has(img){
    width: 40%;
    margin-inline: auto;
  }
  .doctor > p{
    border-top: 1px solid #A1A1A1;
    padding-top: var(--space-lg);
  }
  .doctor-wrap hgroup{
    text-align: center;
  }

}
.doctor dl{
  margin-top: var(--space-lg);
  border-top: 1px solid #A1A1A1;
  padding-top: var(--space-lg);
  --size-max: 16;
  --size-min: 14;
}
.doctor dl dd + dt{
  margin-top: 1em;
}

.staff{
  display: grid;
  gap: var(--space-lg);
}
@media screen and (min-width: 810.1px) {
  .staff{
    grid-template-columns: 40% 1fr; 
    margin-right: calc(50% - 50vw);
  }
}

.staff dt{
  --size-max: 28;
  --size-min: 26;
  padding-top: var(--space-sm);
  position: relative;
  line-height: 1.4;
  margin-bottom: .4em;
}
.staff dt span{
  --size-max: 20;
  --size-min: 16;
}
@media screen and (max-width: 810px) {
  .staff dt span{
    display: block;
  }
}
.staff dt::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 90px;
  height: 1px;
  background-color: var(--color-txt);
}
.staff dd{
  font-size: var(--font-16);
  padding-bottom: var(--space-sm);
  line-height: 1.6;
}
.staff dd:last-child{
  position: relative;
}
.staff dd:last-child::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-block;
  width: 90px;
  height: 1px;
  background-color: var(--color-txt);
}
@media screen and (min-width: 810.1px) {
  .staff-thumb > div:first-child{
    margin-left: 10%;
    margin-bottom: var(--space-xlg);
  }
  .staff-thumb > div:nth-child(2){
    width: 52%;
    border-radius: 30px;
    overflow: hidden;
    margin-inline: auto;
    margin-bottom: var(--space-sm);
  }
  .staff-thumb > div:last-child{
    width: 52%;
    border-radius: 30px;
    overflow: hidden;
  }
}

@media screen and (max-width: 810px) {
  .staff{
    display: grid;
    grid-template-columns: 1fr;
  }
  .staff dl{
    order: 2;
  }
  .staff-thumb{
    display: contents;
  }
  .staff-thumb > div:first-child{
    order: 1;
    width: 74.615vw;
    margin-left: auto;
    margin-right: calc(50% - 50vw);
  }
  .staff-thumb > div:nth-child(2){
    order: 3;
    width: 65.128vw;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    margin-left: auto;
    margin-right: calc(50% - 50vw);
  }
  .staff-thumb > div:last-child{
    order: 4;
    width: 57.435vw;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: auto;
  }
}

.flow{
  font-family: var(--font-sans);
  display: block grid;
  grid-template-areas: "diagnosis diagnosis" "visit hospitalization" "support support";
  grid-template-rows: auto auto auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}
@media screen and (min-width: 810.1px) {
  .flow{
    grid-template-areas: "diagnosis diagnosis" "visit hospitalization" "support .";
    gap: 65px 20px;
  }
}

.flow .flow-list{
  grid-area: diagnosis;
}
.flow .box1{
  grid-area: visit;
}
.flow .box2{
  grid-area: hospitalization;
}
.flow .box3{
  grid-area: support;
}

.flow-list li{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
}
@media screen and (min-width: 810.1px) {
  .flow-list li{
    grid-template-columns: 33% 1fr;
  }
}
.flow-list li + li{
  margin-top: 20px;
}
@media screen and (max-width: 810px) {
  .flow-list li img{
    aspect-ratio: 328 / 106;
    object-fit: cover;
    object-position: center top;
  }
}

@media screen and (min-width: 810.1px) {
  .flow-list li dl{
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}
.flow-list li dt{
  --size-max: 28;
  --size-min: 24;
  font-weight: 600;
  padding: 0.8em 40px;
}
@media screen and (max-width: 810px) {
  .flow-list li dt{
    text-align: center;
    border-bottom: 1px solid #A1A1A1;
    padding: 0.2em 0;
    margin-inline: 40px;
  }
}
@media screen and (min-width: 810.1px) {
  .flow-list li dt{
    padding: 0.8em 40px;
    border-right: 1px solid #A1A1A1;
  }
}
.flow-list li dd{
  --size-max: 18;
  --size-min: 16;
  line-height: 1.6;
  padding-inline: 40px;
}
@media screen and (max-width: 810px) {
  .flow-list li dd{
    padding: 1em 32px 1.5em;
  }
}

.flow-box{
  --size-max: 18;
  --size-min: 16;
  padding: var(--space-sm) 40px;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
}
@media screen and (max-width: 810px) {
  .flow-box{
    padding: var(--space-sm) 16px;
    line-height: 1.6;
  }
}
.flow-box::before{
  content: "";
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 50px;
  height: 32px;
  background: url(../img/flow_arrow.svg) no-repeat;
  background-size: contain;
}
@media screen and (max-width: 810px) {
  .flow-box::before{
    top: -30px;
    width: 30px;
    height: 20px;
  }
  .flow-box:last-child:before{
    left: 25%;
  }
}
.flow-box h3{
  --size-max: 28;
  --size-min: 24;
  font-weight: 600;
  text-align: center;
  padding-bottom: 0.8em;
  border-bottom: 1px solid #A1A1A1;
  margin-bottom: .5em;
}

.flow-box p{
  text-align: center;
  font-weight: 600;
}
.flow-box p:last-child{
  margin-top: .5em;
  --size-max: 18;
  --size-min: 16;
  font-weight: 300;
  line-height: 1.5;
}
@media screen and (max-width: 810px) {
  .flow-box p:last-child{
    text-align: left;
  }
}



.facility-list li{
  margin-bottom: var(--space-xxlg);
}
.facility-list h3{
  --size-max: 36;
  --size-min: 24;
  font-weight: 600;
  margin-bottom: .8em;
}
.facility-list p{
  --size-max: 20;
  --size-min: 16;
}
@media screen and (min-width: 810.1px) {
  .facility-hospital{
    margin-left: calc(50% - 50vw);
    display: grid;
    grid-template-columns: 50% auto;
    align-items: center;
    gap: var(--space-xlg);
  }
  .facility-cafe{
    margin-right: calc(50% - 50vw);
    display: grid;
    grid-template-columns: 50% auto;
    align-items: center;
    gap: var(--space-xlg);
  }
  .facility-cafe .facility-img{
    order: 2;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
  }
  .facility-course{
    margin-left: calc(50% - 50vw);
    display: grid;
    grid-template-columns: auto 50%;
    align-items: center;
    gap: var(--space-xlg);
  }
}
@media screen and (max-width: 810px) {
  .facility-img{
    margin-left: calc(50% - 50vw);
    margin-bottom: 2.5em;
  }
  .facility-img img{
    aspect-ratio: 358 / 210;
    object-fit: cover;
    object-position: center center;
  }
  .facility-cafe .facility-img{
    border-radius: 0 30px 30px 0;
    overflow: hidden;
  }
}

.facility-cafe-thumb{
  display: flex;
  gap: 16px;
  margin-top: var(--space-lg);
  margin-right: auto;
}
.facility-cafe-thumb div{
  border-radius: 12px;
  overflow: hidden;
}
@media screen and (min-width: 810.1px) {
  .facility-cafe-thumb{
    width: 80%;
    border-radius: 30px;
  }
  .facility-cafe-thumb div{
    border-radius: 30px;
  }
}

.voice li{
  --size-max: 20;
  --size-min: 16;
  margin-top: var(--space-md);
}

@media screen and (min-width: 810.1px) {
  .voice li{
    display: flex;
    gap: 20px;
  }
  .voice li:nth-child(2n){
    flex-direction: row-reverse;
  }
  .voice-img{
    width: 40%;
    margin-right: 20px;
    box-sizing: content-box;
    overflow: hidden;
  }
  .voice .voice-txt{
    width: calc(60% - 20px);
  }
}
.voice-img svg{
  width: 100%;
  height: 100%;
}
.voice-img image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を枠に合わせる */
}


.voice .voice-txt h3{
  --size-max: 32;
  --size-min: 22;
}
.voice .voice-txt p{
  margin-top: .8em;
}


.msg{
  background: url(../img/bg-msg.jpg) no-repeat left 22% bottom;
  background-size: cover;
  padding-block: var(--space-xxlg) var(--space-xxxlg);
}
@media screen and (min-width: 810.1px) {
  .msg{
    background: url(../img/bg-msg.jpg) no-repeat center bottom;
  }
}
.msg h2{
  font-size: var(--font-36);
}
.msg p{
  margin-top: 2em;
}

/* ===================
animation
=================== */
.fade > *{
  opacity: 0;
  transform: translateY(40px);
  filter: blur(5px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}
.fade > *.inview{
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.fade-up{
  opacity: 0;
  transform: translateY(40px);
  filter: blur(5px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}
.fade-up.inview{
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.blur {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}
.blur.inview {
  opacity: 1;
  filter: blur(0);
}

/* ===================
input
=================== */
.c-form {
	margin: var(--gutter-40) auto var(--gutter-40);
}

@media screen and (min-width: 810.1px) {
	.c-form {
		width: max(50%, 540px);
	}
}

@media screen and (max-width: 810px) {
	.c-form {
		width: 100%;
	}
}

.c-form ul {
	margin-bottom: 40px;
}

.c-form ul li {
	padding: 1em 0;
	border-bottom: 1px solid #F5F5F5;
}

.c-form ul li>label {
	font-weight: 700;
	font-weight: 600;
}

.c-form label+label {
	margin-left: 1em;
}

.c-form ul li span {
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	background: #3FB8A4;
	font-weight: normal;
	font-size: 0.7em;
	padding: 0 0.5em;
	margin-left: 1em;
	border-radius: 4px;
}

.c-form ul li span.optional {
	color: #3FB8A4;
	background-color: #fff;
	border: 1px solid #3FB8A4;
}

.c-form ul li>div {
	margin-top: 0.5em;
}

#address-fields {
	display: none;
}

#address-fields>div:not(:last-child) {
	margin-bottom: 1em;
}

.c-form__btn {
	margin-top: var(--gutter-40);
	display: grid;
	gap: var(--gutter-24);
}

.c-form__btn a {
	display: block;
	text-align: center;
	color: #fff;
	background-color: #FC8098;
	padding: 0.5em 0;
	border: 1px solid #FC8098;
	border-radius: 100vmax;
	transition: all 0.5s ease-out;
}

@media (any-hover: hover) {
	.c-form__btn a:hover {
		color: #FC8098;
		background-color: #fff;
	}
}

@media screen and (min-width: 810.1px) {
	.c-totop__btn {
		width: fit-content;
		margin-inline: auto;
	}
}

.c-totop__btn a {
	margin-top: var(--gutter-80);
	display: block;
	text-align: center;
	color: #fff;
	background-color: #3FB8A4;
	padding: 0.2em 2em;
	border: 1px solid #3FB8A4;
	border-radius: 100vmax;
	transition: all 0.5s ease-out;
}

@media (any-hover: hover) {
	.c-totop__btn a:hover {
		color: #3FB8A4;
		background-color: #fff;
	}
}

.c-form__col {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: var(--gutter-40);
}

input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=date],
input[type=number],
textarea,
select {
	vertical-align: middle;
	width: 100%;
	max-width: 100%;
	padding: 0.5em 1em;
	color: #555;
	background-color: #F5F5F5;
	text-align: left;
	border: none;
	border-radius: 100vmax;
}

textarea {
	resize: vertical;
	border-radius: 16px;
	min-height: 14em;
	field-sizing: content;
	background: transparent;
}

@media screen and (max-width: 810px) {
	textarea {
		min-height: 26em;
	}
}

.textarea-box {
	position: relative;
	z-index: 1;
}

.textarea-box .placeholder {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	color: #bbb;
	padding: 10px 16px;
	background-color: #F5F5F5;
	border-radius: 16px;
}

.textarea-box .placeholder p.hidden {
	display: none;
}


input[type=radio] {
	position: relative;
	width: 1em;
	height: 1em;
	border: 1px solid #ccc;
	border-radius: 50%;
	vertical-align: -2px;
	margin-right: 0.5em;
}

input[type=radio]:checked:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3FB8A4;
}

input[type=submit],
button[type=submit] {
	font-family: inherit;
	text-align: center;
	font-size: var(--font-20);
	width: 100%;
	margin: 0 auto 0;
	background: var(--color-accent);
	color: #fff;
	padding: 0.5em 0;
	cursor: pointer;
	border: none;
	border-radius: 50px;
	font-weight: bold;
	transition: opacity var(--transition);
}

input[type=reset],
input[type=button] {
	font-family: inherit;
	width: 100%;
	margin: 0 auto 0;
	background: #fff;
	color: #999;
	padding: 0.5em 0;
	cursor: pointer;
	border: 1px solid #999;
	border-radius: 50px;
	transition: opacity var(--transition);
}

input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover {
	opacity: .7;
}

input[type=checkbox] {
	position: relative;
	width: 1em;
	height: 1em;
	border: 1px solid #999;
	border-radius: 2px;
	margin-bottom: -2px;
	margin-right: 0.5em;
}

input[type="checkbox"]:checked:before {
	position: absolute;
	top: 0;
	left: 4px;
	transform: rotate(50deg);
	width: 6px;
	height: 10px;
	border-right: 2px solid #3FB8A4;
	border-bottom: 2px solid #3FB8A4;
	content: '';
}

.date-box {
	position: relative;
}

.date-box::after {
	background: url(../img/calendar.svg) no-repeat center center;
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
}

input[type="date"] {
	position: relative;
	min-height: 2em;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	padding: 0;
	background: transparent;
	color: transparent;
	cursor: pointer;
	height: 100%;
	width: 100%;
}
