@charset "utf-8";
/* CSS Document */
/*仮の設定（後から消す）*/
#home {
	background-color: #EBFAFF;
}

/************
	ローディング
*************/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background-color: #EBFAFF;
}

.loading__contents {
  text-align: center;
}

.loading__text {
  font-size: 32px;
  font-weight: 700;
}


/************
	TOP-FV
*************/
.home-fv {
	/*height: 100vh;*/
	margin: 0 auto;
	margin-top: 140px;
	margin-bottom: 100px;
	padding: 0px 20px;
}
@media screen and (min-width: 960px) {
	.home-fv {
		width: calc(1575 / 1920 * 100%);
		display: flex;
		justify-content: space-between;
		margin-top: 0px;
		margin-top: 160px;
	}
}

.home-left {
	position: relative;
	font-weight: 500;
	z-index: -1;
}
@media screen and (min-width: 960px) {
	.home-left {
		width: calc(927 / 1575 * 100%);
		z-index: 1;
	}
}
.home-left > h1 {
	display: flex;
	flex-direction: row-reverse;
	writing-mode: vertical-rl;
  	background-color: #EBFAFF;
  	font-size: clamp(20px, calc(20 / 320 * 100vw), 24px);
  	letter-spacing: 0.2em;
	height: fit-content;
	position: absolute;
	top: calc(350 / 412.2 * 100vw);
	left: 5%;
	padding: 40px 20px;
	border-radius: 20px;
}
@media screen and (min-width: 960px) {
	.home-left > h1 {
		font-size: clamp(24px, calc(36 / 1920 * 100vw), 40px);
		letter-spacing: 48;
		bottom: unset;
		left: unset;
		top: calc(71  / 832 * 100%);
		right: calc(245  / 927 * -100%);
		padding: 60px 40px;
	}
}

/*トップメイン画像*/
.home-fv-img {
	aspect-ratio: 324.63 / 412.47;
	width: calc(324.63 / 375 * 100%);
}
@media screen and (min-width: 960px) {
	.home-fv-img {
		aspect-ratio: 927 / 832;
		width: 100%;
	}
}
.home-fv-img > img {
	object-fit: cover;
	border-radius: 15px;
}
.home-cp {
	border: 3px dotted #2D344A;
	overflow: hidden;
	border-radius : 15px;  
    padding: 20px 40px;
	white-space: nowrap;
}
.home-cp span {
	color: #B56A35;
}

.home-right {
	margin-top: 190px;
	text-align: right;
}
@media screen and (min-width: 960px) {
	.home-right {
		width: calc(435  / 1575 * 100%);
		margin: auto 0 0 0;
	}
}
/*トップ背景画像*/
.top-bg-img {
	width: 50%;
	z-index: 2;
	margin: 0 0 0 auto;
}
@media screen and (min-width: 960px) {
	.top-bg-img {
		width: calc(328.78  / 435 * 100%);
		aspect-ratio: 328.78 / 297.99;
	}
}
.top-bg-img > img {
	object-fit: cover;
}
/*トップサブ画像*/
.top-sub-img {
	aspect-ratio: 305.78 / 172;
	border-radius: 15px;
	overflow: hidden;
}
@media screen and (min-width: 960px) {
	.top-sub-img {
		width: 100%;
		aspect-ratio: 435 / 468;
	}
}
.top-sub-img > img {
	object-fit: cover;
}

/************
	診療案内
*************/
.home-info-container {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px;
	
	
}
@media (min-width: 960px) {
	.home-info-container {
		flex-direction: row;
		width: calc(1492  / 1920 * 100%);
		padding: 100px 40px 150px 40px;;
	}
}
@media (min-width: 960px) {
	/*サイドバー固定*/
	.d-fix {
		align-items: flex-start;
	}
	.d-sticky {
		position: sticky;
		top: 120px;
	}
}
.home-info-left-panel {
	/*text-align: center;*/
	margin-bottom: 50px;
}
@media (min-width: 960px) {
	.home-info-left-panel {
		margin-right: 40px;
		margin-bottom: 0;
		width: calc( 164 / 1492 * 100%);
		display: flex;
        flex-direction: row-reverse;
	}
}

.home-info-left-panel > h3 {
	font-size: 18px;
}
@media (min-width: 960px) {
	.home-info-left-panel > h3 {
		writing-mode: vertical-rl;
		/*transform: rotate(180deg);*/
		font-size: 24px;
		margin: 0;
	}
}
.home-info-left-panel > span {
	font-family: "Inter", sans-serif;
	display: inline-block;
	/*transform:rotate(90deg);*/
	/* キーワードで指定する場合*/
	transform-origin:left top;
	/* 数値で指定する場合*/
	transform-origin:0 0;
	font-size: 40px;
	color: #ff9a73;
	font-weight: 100;
	position: relative;
}
@media (min-width: 960px) {
	.home-info-left-panel > span {
		font-size: 40px;
		writing-mode: vertical-rl;
	}
}
.home-info-left-panel > span::after {
	content: "";
    display: inline-block;
    width: 223px;
    aspect-ratio:  223 / 41;
    background: url("../img/great_orange-sp.png") no-repeat;
    background-size: 100% 100%;
	position: absolute;
	left: 40%;
	top: 30%;
	z-index: -1;
}
@media (min-width: 960px) {
	.home-info-left-panel > span::after {
		top: 200px;
        left: -90px;
        transform: rotate(90deg);
	}
}

.home-info-right-panel {
	
}
@media (min-width: 960px) {
	.home-info-right-panel {
		width: calc( 1183 / 1492 * 100%);
		
	}
}
/************
　　当院の特徴
*************/
.home-sec-feature {
	/*width: 82.4%;*/
    margin: 0 auto;
}
@media screen and (min-width: 960px) {

}
.home-features {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
@media screen and (min-width: 520px) {
	.home-features {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		gap: 20px;
		margin: 80px auto;
	}
}
@media screen and (min-width: 960px) {
	.home-features {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (min-width: 1400px) {
	.home-features {
		grid-template-columns: repeat(3, 1fr);
	}
}
.home-feature-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3; /* 4行分のスペースを占めるように調整 */
	gap: 10px; /* 子要素のブロック間の隙間 */
	background: #fff;
	border-radius: 10px;
	padding: 15px;
}
.home-feature-img {
	width: 100%;
	justify-content: center;
	border-radius: 10px;
	display: none;
}
@media screen and (min-width: 960px) {
	.home-feature-img {
		display: block;
	}
}
.home-feature-card h3 {
	font-size: 18px;
	font-weight: 500;
	margin: 10px 0;
}
.home-feature-card p {
	font-size: 14px;
	line-height: 1.8;
	color: #333;
}


/************
　よくある質問
*************/
.home-faq-bg {
	background-color: #fff;
}
.home-faq-container {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	justify-content: space-between;
	margin: 0 auto;
	padding: 50px 20px;
	background-color: #fff;
}
@media (min-width: 960px) {
	.home-faq-container {
		flex-direction: row;
		width: calc(1492  / 1920 * 100%);
		padding: 100px 40px 150px 40px;
	}
}

.home-faq-left-panel {
	/*text-align: center;*/
	margin-bottom: 50px;
}
@media (min-width: 960px) {
	.home-faq-left-panel {
		margin-right: 40px;
		margin-bottom: 0;
		width: calc( 164 / 1492 * 100%);
		display: flex;
        flex-direction: row-reverse;
	}
}

.home-faq-left-panel > h3 {
	font-size: 18px;
}
@media (min-width: 960px) {
	.home-faq-left-panel > h3 {
		writing-mode: vertical-rl;
		/*transform: rotate(180deg);*/
		font-size: 24px;
		margin: 0;
	}
}
.home-faq-left-panel > span {
	font-family: "Inter", sans-serif;
	display: inline-block;
	/*transform:rotate(90deg);*/
	/* キーワードで指定する場合*/
	transform-origin:left top;
	/* 数値で指定する場合*/
	transform-origin:0 0;
	font-size: 40px;
	color: #AEE6F9;
	font-weight: 100;
	position: relative;
	z-index: 2;
}
@media (min-width: 960px) {
	.home-faq-left-panel > span {
		font-size: 40px;
		writing-mode: vertical-rl;
	}
}
.home-faq-left-panel > span::after {
	content: "";
	display: inline-block;
	width: 223px;
	aspect-ratio:  223 / 41;
	background: url("../img/great_blue_sp.png") no-repeat;
	background-size: 100% 100%;
	position: absolute;
	left: 40%;
	top: 30%;
	z-index: -1;
}
.home-faq-left-panel > span::after {
	content: "";
    display: inline-block;
    width: 223px;
    aspect-ratio:  223 / 41;
    background: url("../img/great_blue_sp.png") no-repeat;
    background-size: 100% 100%;
	position: absolute;
	left: 40%;
	top: 30%;
	z-index: -1;
}
@media (min-width: 960px) {
	.home-faq-left-panel > span::after {
		top: 80%;
        left: -90px;
        transform: rotate(90deg);
	}
}

.home-faq-right-panel {
	position: relative;
	z-index: 2;
}
@media (min-width: 960px) {
	.home-faq-right-panel::after {
		content: "";
		display: block;
		width: calc( 156.89 / 890 * 100%);
		aspect-ratio: 156.89 / 170.3;
		position: absolute;
		background: url("../img/paws_blue.png");
		background-repeat: no-repeat;
		right: 0;
		bottom: -70px;
		transform:rotate(30deg);
		z-index: -1;
		background-size: 100% 100%;
	}
}
@media (min-width: 960px) {
	#home .home-faq-right-panel {
		width: calc( 1183 / 1492 * 100%);
	}
}
@media (min-width: 960px) {
	.faq-accordion {
		width: calc( 890 / 1183 * 100%);
		display: block;
        margin: 50px auto;
	}
}

/* 必須 */
.faq-bg {
	background-color: #fcfcfc;
	border-radius: 10px;
	margin-bottom: 20px;
	
}

.faq-accordion-content {
  display: none;
}
.faq-accordion-header,
.faq-accordion-content-inner {
  display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    padding: 20px 10px;
	position: relative;
}
.faq-accordion-header::before,
.faq-accordion-header::after{
	position:absolute;
	content:'';
	top:1px;
	right:20px;
	bottom:0;
	width:12px;
	height:2px;
	margin:auto;
	background:#151E2F;
}
.faq-accordion-header::after{
	transform:rotate(-90deg);
	transition:transform 0.3s;
}
.faq-accordion-header.active::after{
	transform:rotate(0deg);
}

.faq-accordion-content-inner {
  border-top: 1px dotted #000;
}

.faq-accordion-header span,
.faq-accordion-content-inner span{
    padding-left: 8px;
    position: relative;
    font-size: 14px;
}
@media (min-width: 960px) {
	.faq-accordion-header span,
	.faq-accordion-content-inner span{
		font-size: 16px;
	}
}
.faq-accordion-header span:nth-child(1) {
    height: 30px;
    color: #fff;
	width: 2.5em;
}
.faq-accordion-header span:nth-child(2) {
    width: calc(100% - 1em - 7px - 40px - 3px);
}

.faq-accordion-content-inner span:nth-child(1) {
    height: 30px;
    color: #fff;
	width: 2.5em;
}
.faq-accordion-content-inner span:nth-child(2) {
	line-height: 2;
    width: calc(100% - 1em - 7px - 40px - 3px);
}

/************
　アクセス
*************/
.home-acs-container {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	justify-content: space-between;
	margin: 0 auto;
	padding: 50px 20px;
	
}
@media (min-width: 960px) {
	.home-acs-container {
		flex-direction: row;
		width: calc(1492  / 1920 * 100%);
		padding: 100px 40px 150px 40px;
	}
}

.home-acs-left-panel {
	/*text-align: center;*/
	margin-bottom: 50px;
}
@media (min-width: 960px) {
	.home-acs-left-panel {
		margin-right: 40px;
		margin-bottom: 0;
		width: calc( 164 / 1492 * 100%);
		display: flex;
        flex-direction: row-reverse;
	}
}

.home-acs-left-panel > h3 {
	font-size: 18px;
}
@media (min-width: 960px) {
	.home-acs-left-panel > h3 {
		writing-mode: vertical-rl;
		/*transform: rotate(180deg);*/
		font-size: 24px;
		margin: 0;
	}
}
.home-acs-left-panel > span {
	font-family: "Inter", sans-serif;
	display: inline-block;
	/*transform:rotate(90deg);*/
	/* キーワードで指定する場合*/
	transform-origin:left top;
	/* 数値で指定する場合*/
	transform-origin:0 0;
	font-size: 40px;
	color: #ff9a73;
	font-weight: 100;
	position: relative;
}
@media (min-width: 960px) {
	.home-acs-left-panel > span {
		font-size: 40px;
		writing-mode: vertical-rl;
	}
}
.home-acs-left-panel > span::after {
	content: "";
    display: inline-block;
    width: 223px;
    aspect-ratio:  223 / 41;
    background: url("../img/great_orange-sp.png") no-repeat;
    background-size: 100% 100%;
	position: absolute;
	left: 40%;
	top: 30%;
	z-index: -1;
}
@media (min-width: 960px) {
	.home-acs-left-panel > span::after {
		top: 80%;
        left: -90px;
        transform: rotate(90deg);
	}
}
@media (min-width: 960px) {
	#home .home-acs-right-panel {
		width: calc( 1183 / 1492 * 100%);
	}
}

.map-text {
	margin-top: 30px;
}
@media (min-width: 960px) {
	.map-text {
		display: flex;
	}
}
.acs-adress > p {
	margin: 5px 0;
}
.acs-adress > p:nth-child(1) {
	font-size: 14px;
}
.acs-adress > p:nth-child(2) {
	font-size: 22px;
	font-weight: 500;
}
.acs-adress > p:nth-child(3) {
	font-size: 14px;
}
.acs-left > .button-container {
	text-align: left;
	margin: 20px 0;
}
@media (min-width: 960px) {
	.acs-left {
		width: 50%;
	}
}

.acs-right {
	margin-top: 30px;
}
@media (min-width: 960px) {
	.acs-right {
		margin-top: 0px;
	}
}
@media (min-width: 960px) {
	.acs-right {
		width: 50%;
	}
}
.acs-traffic {
	margin-top: 30px;
}
@media (min-width: 960px) {
	.acs-traffic:nth-last-child() {
		margin-top: 50px;
	}
}
.acs-traffic > h4 {
	font-size: 18px;
	font-weight: 500;
	margin: 10px 0;
}
.acs-traffic > h4::before {
	content: "";
    display: inline-block;
    width: 20px;
	height: 20px;
    aspect-ratio: 1 / 1;
    background: url("../img/paws_orange.png") no-repeat;
    background-size: 100% 100%;
	margin-right: 10px;
}
.acs-traffic > p{
	padding-top: 5px;
}