/* ================================================================================
   shelter.css (visual)
   scope: body.shelter
   元style.css「子どもシェルターについて CSS」を完全一致で移植
================================================================================ */

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

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

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

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

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

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

.shelter .momo-shelter-intro-text {
    font-size: 18px;
    line-height: 1.8;
    margin: 25px 0;
}

/* モモの家 */
.shelter .momo-shelter-momo {
    background: #fef4f7;
    padding: 80px 20px;
}

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

.shelter .momo-shelter-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
}

.shelter .momo-shelter-image {
    display: flex;
    flex-direction: row;
    min-height: 370px;
    background: #f5f5f5;
    gap: 10px;
}

.shelter .momo-shelter-image img {
    width: 50%;
    height: auto;
    /*object-fit: cover;*/
}

.shelter .momo-shelter-content {
    padding: 50px 40px;
}

.shelter .momo-shelter-info-box {
    background: #fef4f7;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.shelter .momo-shelter-info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(235, 110, 143, 0.2);
}

.shelter .momo-shelter-info-item:last-child {
    border-bottom: none;
}

.shelter .momo-shelter-label {
    font-weight: bold;
    color: #453336;
}

.shelter .momo-shelter-value {
    color: #eb6e8f;
    font-weight: bold;
}

.shelter .momo-shelter-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #453336;
    margin: 20px 0;
}

.shelter .momo-shelter-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background: #fff8f0;
    border-radius: 5px;
}

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

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

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

.shelter .momo-shelter-life-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.shelter .momo-shelter-life-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(235, 110, 143, 0.15);
}

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

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

.shelter .momo-shelter-life-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 職員の声 */
.shelter .momo-shelter-voices {
    background: #fff;
    padding: 80px 20px;
}

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

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

.shelter .momo-shelter-voice-card {
    background: #f7fbf3;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shelter .momo-voice-header {
    text-align: center;
    margin-bottom: 25px;
}

.shelter .momo-voice-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shelter .momo-voice-icon {
    font-size: 3rem;
}

.shelter .momo-voice-header h4 {
    font-size: 1.2rem;
    color: #453336;
}

.shelter .momo-voice-message {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.8;
    color: #666;
}

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

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

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

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

.shelter .momo-shelter-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;
}

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

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

.shelter .momo-shelter-note-text {
    font-size: 0.9rem;
    color: #666;
}

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

.shelter .momo-shelter-flow-final {
    background: linear-gradient(135deg, #eb6e8f 0%, #d5537a 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(235, 110, 143, 0.3);
}

.shelter .momo-shelter-flow-final h4 {
    color: #fff;
    font-size: 1.5rem;
}

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

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

.shelter .momo-shelter-flow-image {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shelter .momo-shelter-flow-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

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

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

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

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

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

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

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

    .shelter .momo-shelter-content {
        padding: 30px 20px;
    }

    .shelter .momo-shelter-image {
        flex-direction: column;
        min-height: 370px;
        gap: 10px;
    }

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


/*===============================================================================================*/
/*=== [SELF REFACTORING & additional style]
=================================================================================================*/
.shelter .mv {
    height: 526px;
	padding: 0;
	background-color: #dfaeb3;
	text-align: center;
}
/*
.shelter .mv {
	height: 526px;
	padding: 0;
    background-image: url(../../img/bg-mv-shelter-L.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
	background-color: #fbf7f8;
	text-align: center;
}
*/
.shelter .mv .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: url(../../img/bg-mv-shelter.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: initial;
}
/*.shelter .mv .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: url(../../img/bg-mv-shelter-R.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
}*/
.shelter .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: 10px #fff;
    paint-order: stroke;
    font-weight: bold;*/
}

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

.shelter .intro h2.ttl {
    padding: 0;
    font-size: 1.4rem !important;
    line-height: 1.8;
}
.shelter .intro h2.ttl:after {
    display: none;
}
.shelter .intro h2.ttl br {
    display: none;
}

.shelter .shelter-momo {
    background: #fef4f7;
    padding: 80px 20px;
}
.shelter .shelter-momo h2.ttl br {
    display: none;
}
.shelter .shelter-momo h2.ttl:after {
    content: "・・・・・";
	bottom: -20px;
	width: auto;
	height: auto;
	background: transparent;
	color: var(--momo-brand);
	font-size: 30px;
}
.shelter .shelter-momo .card {
    width: 100%;
    max-width: 1100px;
    margin:25px auto;
    padding:40px;
    border:solid 5px #fadee6;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    background: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}
.shelter .shelter-momo .card .imgWrap {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
    /*min-height: 370px;*/
}
.shelter .shelter-momo .card .imgWrap img {
    width: calc(50% - 10px);
    border-radius: 16px;
}
.shelter .shelter-momo .card .content .info-box {
    /*display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 20px;
    width: fit-content;
	margin: 0 auto 30px;
	padding: 10px 30px;
	border-radius: 15px;
    background: #fef4f7;*/

    border:solid 5px #bba3a7;
    /*border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    background: #fff;*/
}
.shelter .shelter-momo .card .content .info-box .item .value {
    color: #eb6e8f;
}

.shelter .voices .header {
    margin-bottom: 0;
}
.shelter .voices .card {
    flex-direction: column;
}
.shelter .voices .card .message dt {
    margin-bottom: 10px;
    color: #f90;
}
.shelter .voices .card .message dt span {
    color: #f90;
}
.shelter .voices .card .message dt,
.shelter .voices .card .message dd span {
    font-weight: 700;
}
.shelter .voices .card .message dd {
    margin-left: 0 !important;
}
.shelter .voices .card .message dd span {
    color: #9ece6d;
}

.shelter .voices .process-flow-link {
    margin-top: 40px;
    padding: 40px 0 0;
    text-align: center;
}
.shelter .voices .process-flow-link .icon {
    position: relative;
    display: block;
    max-width: 56px;
    margin: 0 auto 10px;
}
.shelter .voices .process-flow-link .icon img {
    width: 100%;
    display: block;
}

.deco {
    position: absolute;
    display: block;
}
.funway {
    width: 2.4rem !important;
	top: -1rem;
	right: -0.5rem;
}

/*
L: 1032 x 580
R: 1130 x 570
*/

@media (max-width: 1706px) {
    /*.shelter .mv .inner {
        background-size: cover;
    }*/
}
@media (max-width: 1440px) {
    .shelter .mv {
        /*background-size: calc(838px + 91 * (100vw - 1024px) / 416) auto;*/
    }
    .shelter .mv .inner {
        /*background-position-x: 44%;*/
        /*background-size: calc(816px + 224 * (100vw - 1024px) / 416) auto;
        background-position: right bottom;*/
    }
    .shelter .shelter-momo .card {
        width: calc(80% + 20 * (100vw - 1024px) / 416);
    }
}
@media (max-width: 1024px) {
    .shelter .mv {
        height: calc(398px + 128 * (100vw - 768px) / 256);
        /*background-position-x: calc(-56px + 56 * (100vw - 768px) / 256);
        background-size: calc(628px + 210 * (100vw - 768px) / 256) auto;*/
    }
    .shelter .mv .inner {
        background-size: cover;
        /*background-position-x: calc(180px + 28 * (100vw - 768px) / 256);
        background-size: calc(640px + 176 * (100vw - 768px) / 256) auto;*/
    }
    .shelter .intro .inner,
    .shelter .shelter-momo,
    .shelter .life-image {
        padding: calc(40px + 40 * (100vw - 768px) / 256) 20px;
    }
    /*.shelter .mv h1.ttl {
        font-size: calc(32px + 8 * (100vw - 768px) / 256) !important;
    }*/
    .shelter .intro .txt {
        width: 90%;
        margin: auto;
    }
}
@media (max-width: 768px) {
    .shelter .mv {
        height: calc(166px + 232 * (100vw - 320px) / 448);
        /*background-position-x: calc(-20px - 36 * (100vw - 320px) / 448);
        background-size: calc(226px + 402 * (100vw - 320px) / 448) auto;*/
    }
    .shelter .mv .inner {
        /*background-position-x: calc(112px + 68 * (100vw - 320px) / 448);
        background-size: calc(228px + 412 * (100vw - 320px) / 448) auto;*/
    }
    .shelter .mv h1.ttl {
        /*text-shadow: 0px 0px calc(8px + 12 * (100vw - 320px) / 448) rgba(255, 255, 255, 1);
        -webkit-text-stroke: calc(5px + 5 * (100vw - 320px) / 448) #fff;
        text-stroke: calc(5px + 5 * (100vw - 320px) / 448) #fff;
        paint-order: stroke;*/
        font-weight: bold;
    }
    .shelter .intro .inner,
    .shelter .shelter-momo,
    .shelter .life-image {
        padding: calc(20px + 20 * (100vw - 320px) / 448) calc(10px + 10 * (100vw - 320px) / 448);
    }
    .shelter .intro h2.ttl {
        font-size:  calc(16px + 4.4 * (100vw - 320px) / 448) !important;
    }

    .shelter .shelter-momo .card {
        width: calc(300px + 282 * (100vw - 320px) / 448);
        padding: calc(20px + 20 * (100vw - 320px) / 448)
    }
    .shelter .shelter-momo .img-catch img {
        width: calc(64px + 36 * (100vw - 320px) / 448);
    }
    .shelter .shelter-momo h2.ttl {
        font-size:  calc(20px + 8 * (100vw - 320px) / 448) !important;
    }
    .shelter .shelter-momo h2.ttl:after {
        font-size:  calc(16px + 14 * (100vw - 320px) / 448);
    }
    .shelter .shelter-momo .note {
        font-size: calc(16px + 2 * (100vw - 320px) / 448);
    }
    .shelter .life-image .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(10px + 20 * (100vw - 320px) / 448);
    }
    .shelter .life-image .item {
        padding: calc(15px + 15 * (100vw - 320px) / 448);
    }
    .shelter .life-image .item h4 {
        padding: calc(0.4em + 0.2 * (100vw - 320px) / 448) calc(0.2em + 0.4 * (100vw - 320px) / 448);
        font-size: calc(1.0rem + 0.2 * (100vw - 320px) / 448);
    }
    .shelter .life-image .icon {
        margin-top: calc(1px + 14 * (100vw - 320px) / 448);
    }

     .shelter .voices .card {
        padding: calc(16px + 24 * (100vw - 320px) / 448);
    }
    .shelter .voices .avatar {
        margin-bottom: calc(1px + 14 * (100vw - 320px) / 448);
    }
}
@media (max-width: 767px) {
    .shelter .intro h2.ttl br,
    .shelter .shelter-momo h2.ttl br {
        display: block;
    }
    .shelter .voices .grid {
        gap: 0;
    }
}
@media (max-width: 500px) {
    /*.shelter .mv {
        height: calc(120px + 48 * (100vw - 320px) / 180);
    }*/
    .shelter .shelter-momo .card .content .info-box {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px calc(15px + 15 * (100vw - 320px) / 180);
        font-size: calc(14px + 2 * (100vw - 320px) / 180);
    }
    .shelter .shelter-momo .card .content .info-box .item {
        justify-content: initial;
        padding: 10px 0 5px;
    }
}