/* 
========================================
自立援助ホームについて CSS
========================================
*/

/* ページヘッダー */
.momo-home-header {
    background: linear-gradient(135deg, #eaf4e0 0%, #fff 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.momo-home-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.momo-home-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #453336;
    margin-bottom: 20px;
}

.momo-home-subtitle {
    font-size: 1.2rem;
    color: #eb6e8f;
    font-weight: bold;
}

/* 概要 */
.momo-home-intro {
    background: #fff;
    padding: 60px 20px;
}

.momo-home-intro-inner {
    max-width: 900px;
    margin: 0 auto;
}

.momo-home-intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #453336;
    margin: 25px 0;
}

/* ホームセクション */
.momo-homes-section {
    background: #f7fbf3;
    padding: 80px 20px;
}

.momo-homes-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.momo-homes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 50px;
}

.momo-home-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 400px 1fr;
    transition: all 0.3s;
}

.momo-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(124, 179, 66, 0.15);
}

.momo-home-image {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    gap: 10px;
}

.momo-home-image img {
    width: 100%;
    height: auto;
}

.momo-home-content {
    padding: 40px;
}

.momo-home-name {
    margin-bottom: 25px;
    color: #453336;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.momo-home-info {
    background: #fffde0;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.momo-home-info p {
    margin: 8px 0;
    color: #453336;
    font-size: 1rem;
}

.momo-home-desc {
    line-height: 1.8;
    color: #666;
    font-size: 1rem;
}

/* 生活イメージ */
.momo-home-life {
    background: #f7fbf3;
    padding: 80px 20px;
}

.momo-home-life-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.momo-life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.momo-life-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.momo-life-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.15);
}

.momo-life-icon {
    font-size: 3rem;
    margin-top: 15px;
}

.momo-life-icon img {
    opacity: 0.7;
}

.momo-life-item h4 {
    font-size: 1.2rem;
    color: #7cc530;
    margin-bottom: 15px;
}

.momo-life-item p {
    font-size: 0.95rem;
    color: #62494d;
    line-height: 1.6;
    font-weight: 500;
}

/* 職員の声 */
.momo-home-voices {
    padding: 80px 20px;
}

.momo-home-voices-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.momo-voices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.momo-voice-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.momo-voice-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.momo-voice-card h4 {
    font-size: 1.3rem;
    color: #453336;
    margin-bottom: 20px;
}

.momo-voice-text {
    line-height: 1.8;
    color: #666;
    text-align: left;
}

/* 入居者の声 */
.momo-home-residents {
    background: #fff;
    padding: 80px 20px;
}

.momo-home-residents-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.momo-residents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.momo-resident-card {
    background: #fffde0;
    padding: 40px;
    border-radius: 15px;
}

.momo-resident-card h4 {
    font-size: 1.2rem;
    color: #453336;
    margin-bottom: 20px;
}

.momo-resident-text {
    line-height: 1.8;
    color: #666;
}

/* 入居までの流れ */
.momo-home-flow {
    padding: 80px 20px;
}

.momo-home-flow-inner {
    max-width: 800px;
    margin: 0 auto;
}

.momo-flow-diagram {
    margin-top: 50px;
}

.momo-flow-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.momo-flow-step-number {
    display: inline-block;
    padding: 8px 20px;
    background: #eb6e8f;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.momo-flow-item h4 {
    font-size: 1.3rem;
    color: #453336;
    margin: 15px 0;
}

.momo-flow-item p {
    color: #666;
    line-height: 1.7;
    margin: 15px 0;
}

.momo-flow-arrow {
    font-size: 2rem;
    color: #eb6e8f;
    margin: 15px 0;
}

.momo-flow-final {
    background: linear-gradient(135deg, #eb6e8f 0%, #d5537a 100%);
    color: #fff;
}

.momo-flow-final h4 {
    color: #fff;
}

.momo-flow-final p {
    color: #fff;
}

.momo-flow-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* CTA */
.momo-home-cta {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.momo-home-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.momo-home-cta-text {
    font-size: 1.5rem;
    color: #453336;
    font-weight: bold;
    margin-bottom: 30px;
}

/* 共通 */
.momo-bg-light {
    background: #fef4f7;
}

/* レスポンシブ: タブレット */
@media (max-width: 1024px) {
    .momo-home-card {
        grid-template-columns: 1fr;
    }

    .momo-home-image {
        min-height: 300px;
    }

    .momo-life-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* レスポンシブ: スマートフォン */
@media (max-width: 768px) {
    .momo-home-title {
        font-size: 1.8rem;
    }

    .momo-life-grid {
        grid-template-columns: 1fr;
    }

    .momo-voices-grid,
    .momo-residents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .momo-home-header {
        padding: 60px 20px 40px;
    }

    .momo-home-content {
        padding: 25px 20px;
    }
}


/*===============================================================================================*/
/*=== [SELF REFACTORING & additional style]
=================================================================================================*/
.homes .mv {
    height: 526px;
	padding: 0;
    background-image: url(../../img/bg-renga.webp);
    background-position: center center;
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-size: contain;
	text-align: center;
}
.homes .mv .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    height: 100%;
    background-image: url(../../img/bg-mv-homes.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
}
/*.homes .mv .inner:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 96%;
    background-image: url(../../img/windows-L.webp);
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
}
.homes .mv .inner:after {
    content: "";
    position: absolute;
    bottom: 3%;
    left: 0;
    width: 100%;
    height: 96%;
    background-image: url(../../img/windows-R.webp);
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
}*/
.homes .mv h1.ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    /*text-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
    -webkit-text-stroke: 10px #fff;
    text-stroke: 2px #fff;
    paint-order: stroke;*/
    font-weight: bold;
}

.homes .intro .inner {
	max-width: 1024px;
	margin: 0 auto;
	padding: 60px 20px;
}
.homes .intro .quote:before,
.homes .intro .quote:after {
    color: #8e6a6f;
}

.homes .intro h2.ttl {
    padding: 0;
    font-size: 1.4rem !important;
    line-height: 1.8;
}
.homes .intro h2.ttl:after {
    display: none;
}
.homes .facilities .inner {
	width: 100%;
	max-width: 1024px;
	margin: auto;
}
.homes .facilities .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.homes .facilities .desc {
    width: 90%;
	margin: 30px auto;
	padding: 30px 60px;
	border-radius: 100px;
	background: #fff;
	color: #6b9e38;
	font-weight: 500;
}
.homes .facilities .card:first-child {
	border-color: #fcf47d;
}
.homes .facilities .card:nth-child(2) {
	border-color: #d1e7bb;
}
.homes .facilities .card .ttl {
    font-size: 32px !important;
    line-height: 1.6;
    margin-bottom: 40px;
}
.homes .facilities .card:first-child .ttl:after {
	color: #fbf04b;
}
.homes .facilities .card:nth-child(2) .ttl:after {
    color: #d1eeb4;
}
.homes .facilities .card .ttl span {
    display: block;
    font-size: 18px;
}
.homes .facilities .card .content .info-box {
    flex-direction: column;
    gap: 0;
    width: 96%;
}
.homes .facilities .card:first-child .content .info-box {
    border-color: #fbf04b;
}
.homes .facilities .card:nth-child(2) .content .info-box {
    border-color: #d1e7bb;
}
.homes .facilities .card .content .info-box .item {
    justify-content: left;
    padding: 2px 0;
    font-size: 16px;
}

.homes .voices.staff .card {
    flex-direction: column;
    align-items: center;
    background: #f7fbf3;
}
.homes .voices.staff .card .header {
    display: flex;
	flex-direction: column;
	align-items: center;
}
.homes .voices.staff .card .avatar {
	margin: 0;
}

.homes .residents .card h4 {
    position: relative;
    padding-left: 45px;
}
.homes .residents .card h4:before {
    position: absolute;
    display: block;
    content: "";
    top: 12px;
	left: 12px;
	width: 20px;
	height: 24px;
    background-image: url(../../img/avatar-residents.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: contain;
}



@media (max-width: 1440px) {
    .homes .intro .inner {
	    max-width: calc(900px + 124 * (100vw - 1024px) / 416);
    }
    .homes .facilities {
        padding: calc(40px + 40 * (100vw - 1024px) / 416) 20px;
    }
    .homes .facilities h2.ttl {
        margin-bottom: calc(32px + 23 * (100vw - 1024px) / 416) !important;
    }
    .homes .facilities .grid {
        gap: calc(30px + 30 * (100vw - 1024px) / 416);
        width: calc(90% + 10 * (100vw - 1024px) / 416);
        margin: auto;
        margin-top: calc(24px + 26 * (100vw - 1024px) / 416);
    }
}
@media (max-width: 1024px) {
    .homes .mv {
        height: calc(398px + 128 * (100vw - 768px) / 256);
    }
    .homes .intro h2.ttl {
        font-size: calc(1.3rem + 1 * (100vw - 768px) / 256) !important;
    }
    .homes .intro .txt {
		width: 90%;
		margin: auto;
	}
    .homes .facilities .card .ttl {
        font-size: calc(24px + 8 * (100vw - 768px) / 256) !important;
    }
    .homes .facilities .card .ttl span {
        font-size: calc(16px + 2 * (100vw - 768px) / 256);
    }
    .homes .facilities .grid {
        width: calc(728px + 157.59 * (100vw - 768px) / 256);
    }
    .homes .facilities .card {
        padding: calc(32px + 8 * (100vw - 768px) / 256) calc(24px + 16 * (100vw - 768px) / 256);
    }
    .homes .facilities .card .content .info-box {
        width: calc(300px + 24 * (100vw - 768px) / 256);
        padding: 10px calc(16px + 14 * (100vw - 768px) / 256);
    }
    .homes .facilities .card .content .info-box .item {
        font-size: calc(14px + 2 * (100vw - 768px) / 256);
    }
}
@media (max-width: 768px) {
    .homes .mv {
        height: calc(166px + 232 * (100vw - 320px) / 448);
    }
	.homes .intro .inner {
        padding: calc(36px + 4 * (100vw - 320px) / 448) calc(10px + 10 * (100vw - 320px) / 448);
    }
    .homes .intro h2.ttl {
        font-size: calc(16px + 4.4 * (100vw - 320px) / 448) !important;
    }
    .homes .facilities,
    .homes .life-image {
		padding: calc(20px + 20 * (100vw - 320px) / 448) calc(10px + 10 * (100vw - 320px) / 448);
	}
    .homes .facilities h2.ttl {
        margin-bottom: calc(20px + 12 * (100vw - 320px) / 448) !important;
		font-size: calc(20px + 8 * (100vw - 320px) / 448) !important;
	}
    .homes .facilities .note {
        font-size: calc(14px + 4 * (100vw - 320px) / 448);
    }
    .homes .facilities .desc {
        margin: calc(16px + 14 * (100vw - 320px) / 448) auto;
        padding: 30px calc(30px + 30 * (100vw - 320px) / 448);
        border-radius: calc(30px + 70 * (100vw - 320px) / 448);
    }
    .homes .voices {
        padding-top: calc(40px + 40 * (100vw - 320px) / 448);
        padding-bottom: calc(20px + 60 * (100vw - 320px) / 448);
    }
}
@media (max-width: 767px) {
    .homes .facilities .grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 0;
	}
    .homes .facilities .img-catch img {
		width: calc(64px + 36 * (100vw - 320px) / 448);
	}
    .homes .facilities .card {
		width: calc(300px + 282 * (100vw - 320px) / 448);
		padding: calc(20px + 20 * (100vw - 320px) / 448);
	}
    .homes .facilities .card .ttl {
		font-size: calc(20px + 4 * (100vw - 320px) / 448) !important;
	}
    .homes .facilities .card .content .info-box {
        width: fit-content;
		padding: 10px 30px;
	}
    .homes .facilities .card .content .info-box .item {
        font-size: 18px;
    }
}
@media (max-width: 500px) {
    .homes .facilities .card .content .info-box {
        width: 100%;
        gap: 0;
        padding: 10px calc(15px + 15 * (100vw - 320px) / 180);
    }
    .homes .facilities .card .content .info-box .item {
        justify-content: initial;
        padding: 0/*10px 0 5px*/;
        font-size: calc(14px + 2 * (100vw - 320px) / 180);
    }
}
