@charset "utf-8";
/* 介護コンセプトページ（page-concept.php）専用スタイル */

/* 共通：枠・ヘッダー・インナー・見出し・矢印リンク */
.concept_page {
    margin-top: 120px;
    border-top: solid 1px #d2d2d2;
}

.concept_page .concept_pic {
    height: 470px;
    background-color: #313131;
    width: 94%;
    margin-top: 25px;

    /* PC用の画像 */
    background: url(./images/concept/concept_head.webp) center;
    background-size: cover;
}

.concept_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.concept_section_title {
    font-size: 2.6rem;
    font-weight: 500;
    color: #313131;
    line-height: 1.5;
    margin-bottom: 50px;
}
.concept_section_title .en {
    display: block;
    font-family: 'Mulish', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #707070;
    margin-bottom: 10px;
}

.concept_section_title.is_center {
    text-align: center;
}

.concept_more {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #313131;
}
.concept_more .ln {
    width: 46px;
    height: 1px;
    background: #313131;
    position: relative;
    transition: width 0.3s;
}
.concept_more .ln::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #313131;
    border-right: 1px solid #313131;
    transform: rotate(45deg);
}
.concept_more:hover {
    color: #313131;
    opacity: 1;
}
.concept_more:hover .ln {
    width: 62px;
}

@media screen and (max-width: 1023px) {
    .concept_inner {
        padding: 0 30px;
    }
}
@media screen and (max-width: 768px) {
    .concept_page {
        border-top: none;
        margin-top: 70px;
    }
    .concept_page .concept_pic {
        width: calc(100% - 20px);
        height: 470px;
        /* スマホ用の画像に切り替え */
        background-image: url(./images/concept/concept_head_sp.webp);
    }
    .concept_inner {
        padding: 0 20px;
    }
    .concept_section_title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* ① FV */
.concept_fv {
    padding: 60px 0 80px;
}
.concept_fv_head {
    margin-bottom: 40px;
}

.concept_eyebrow {
    font-size: 1.5rem;
    font-weight: 500;
    color: #707070;
    margin-bottom: 12px;
}

.concept_hero {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #313131;
    margin-bottom: 20px;
}

.concept_hero_sub {
    font-size: 1.5rem;
    font-weight: 500;
    color: #707070;
}

.concept_kv {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 470px;
}
.concept_kv_item {
    overflow: hidden;
    border-radius: 4px;
    background-color: #ececea;
}
.concept_kv_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_kv_main {
    grid-row: 1 / span 2;
}
/* 概要の説明文 */
.concept_fv_desc {
    max-width: 800px;
    margin: 40px 0 0;
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #313131;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .concept_fv {
        padding: 30px 0 55px;
    }
    .concept_eyebrow {
        font-size: 1.3rem;
    }
    .concept_hero {
        font-size: 2.4rem;
    }
    .concept_hero_sub {
        font-size: 1.3rem;
    }
    .concept_kv {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .concept_kv_main {
        grid-row: auto;
        grid-column: 1 / span 2;
        aspect-ratio: 16 / 9;
    }
    .concept_kv_sub {
        aspect-ratio: 1 / 1;
    }
    .concept_fv_desc {
        margin-top: 28px;
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 480px) {
    .concept_kv_sub {
        aspect-ratio: 16 / 9;
    }
}

/* ② 名言・迷言 */
.concept_quotes_section {
    background: linear-gradient(90deg, rgba(199,237,247,1) 0%, rgba(253,242,228,1) 50%, rgba(255,221,224,1) 100%);
}

.concept_quotes {
    columns: 4 180px;
    column-gap: 14px;
}
.concept_qz {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 14px;
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    background: #fff;
    padding: 18px 20px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #313131;
}
.concept_qz .mk {
    font-family: 'Mulish', sans-serif;
    color: #c9c9c5;
    font-size: 2.4rem;
    line-height: 0.4;
    vertical-align: -2px;
    margin-right: 5px;
}
.concept_qz.is_xl {
    font-size: 1.9rem;
    font-weight: 500;
    background: #ececea;
    border-color: #ececea;
    padding: 26px 22px;
}
.concept_qz.is_lg { font-size: 1.6rem; font-weight: 500; }
.concept_qz.is_md { font-size: 1.45rem; font-weight: 500; }
.concept_qz.is_sm { font-size: 1.3rem; color: #5a5a58; }
.concept_qz.is_soft { background: #ececea; border-color: #ececea; }
.concept_qz.is_play { border-style: dashed; color: #5a5a58; font-style: italic; }

@media screen and (max-width: 768px) {
    .concept_quotes {
        columns: 2 130px;
        column-gap: 12px;
    }
    .concept_qz {
        margin-bottom: 12px;
        padding: 15px 16px;
    }
    .concept_qz.is_xl {
        font-size: 1.6rem;
        padding: 20px 17px;
    }
    .concept_qz.is_lg { font-size: 1.45rem; }
    .concept_qz.is_md { font-size: 1.35rem; }
    .concept_qz.is_sm { font-size: 1.25rem; }
}

/* ③ アドバンスの想い */
.concept_omoi_img {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 56px;
    aspect-ratio: 21 / 9;
    background-color: #ececea;
}
.concept_omoi_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_omoi_read {
    max-width: 920px;
    margin: 0 auto;
}

.concept_omoi_lead {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #313131;
    margin-bottom: 36px;
    padding-bottom: 18px;
    position: relative;
}
.concept_omoi_read p {
    font-size: 1.6rem;
    line-height: 2;
    text-align: justify;
    color: #313131;
    margin-bottom: 1.6em;
}
.concept_omoi_mid_img {
    overflow: hidden;
    border-radius: 4px;
    margin: 56px 0 40px;
    aspect-ratio: 3 / 2;
    background-color: #ececea;
}
.concept_omoi_mid_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_omoi_read p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .concept_omoi_img {
        margin-bottom: 36px;
    }

    .concept_omoi_lead {
        font-size: 2rem;
    }
    .concept_omoi_read p {
        font-size: 1.4rem;
    }
}

/* ④ 3つの約束 */
.concept_promises_section {
    background-color: #f6f6f5;
}
.concept_promises {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.concept_promise {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 26px;
}
.concept_promise_img {
    aspect-ratio: 4 / 3;
    background-color: #ececea;
    overflow: hidden;
}
.concept_promise_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_promise_body {
    padding: 26px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.concept_promise_head {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.6;
    color: #313131;
}
.concept_promise_num {
    display: inline-block;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: #707070;
    margin-right: 10px;
    vertical-align: 2px;
}
.concept_promise_text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.71;
    text-align: justify;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .concept_promises {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ⑤ 事業部長メッセージ／関連リンク */
.concept_msg {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 52px;
    align-items: start;
}
/* PC：左=本文 / 右=画像（同じ行に固定して横並び） */
.concept_msg_body {
    grid-column: 1;
    grid-row: 1;
}
.concept_msg_img {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    background-color: #ececea;
    border-radius: 4px;
    overflow: hidden;
}
.concept_msg_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_msg_lead {
    font-size: 2.4rem !important;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 24px;
}
.concept_msg_body p {
    font-size: 1.6rem;
    line-height: 2;
    color: #313131;
    margin-bottom: 24px;
}
.concept_msg_sign {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 12px;
}
.concept_msg_role {
    font-size: 1.3rem;
    color: #707070;
    letter-spacing: 0.04em;
}
.concept_msg_name {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #313131;
}

.concept_rel {
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    background: #fff;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    transition: 0.3s;
}
.concept_rel:hover {
    border-color: #313131;
    opacity: 1;
}
.concept_rel_title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #313131;
    margin-bottom: 8px;
}
.concept_rel_desc {
    font-size: 1.3rem;
    color: #5a5a58;
    line-height: 1.8;
}
.concept_rel_arrow {
    font-size: 1.6rem;
    color: #707070;
    flex-shrink: 0;
    margin-top: 2px;
}
.concept_rel:hover .concept_rel_arrow {
    color: #313131;
}

.concept_msg_section {
    background-color: #f6f6f5;
}
.concept_msg_section .concept_rel {
    margin-top: 26px;
}

@media screen and (max-width: 768px) {
    .concept_msg {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .concept_msg_body {
        grid-column: auto;
        grid-row: auto;
    }
    .concept_msg_img {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
    }
	.concept_msg_lead {
        font-size: 2rem !important;
	}
    .concept_msg_body p {
        font-size: 1.4rem;
    }
	.concept_msg_sign {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
	}
}

/* ⑥ 沿革 */
.concept_history_section {
    background-color: transparent;
}
.concept_history {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}
.concept_history_eyebrow {
    font-family: 'Mulish', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #707070;
    margin-bottom: 18px;
}
.concept_history p {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.1;
    color: #313131;
}

@media screen and (max-width: 768px) {
    .concept_history p {
        font-size: 1.4rem;
        line-height: 2;
        text-align: justify;
    }
}

/* ⑦ 府中市＋関連 */
.concept_region {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 46px;
    align-items: center;
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid #d2d2d2;
}
.concept_region_img {
    aspect-ratio: 4 / 3;
    background-color: #ececea;
    border-radius: 4px;
    overflow: hidden;
}
.concept_region_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.concept_region_title {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}
.concept_region_text {
    font-size: 1.5rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 28px;
}
.concept_rels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media screen and (max-width: 1023px) {
    .concept_region {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
}
@media screen and (max-width: 768px) {
    .concept_region {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    .concept_region_title {
        font-size: 1.8rem;
    }
    .concept_rels {
        grid-template-columns: 1fr;
    }
}

/* ⑧ CTA（見学・相談／資料請求）：カード型ボタン */
.concept_cta {
    text-align: center;
}
.concept_cta_lead {
    font-size: 2.4rem;
    font-weight: 500;
    color: #313131;
    line-height: 1.6;
    margin: 0 0 32px;
}
.concept_cta_cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.concept_cta_card {
    position: relative;
    display: block;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #313131;
    box-shadow: 0 10px 28px rgba(49, 49, 49, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* 背景写真（ホバーでズーム）。画像パスは差し替えてください */
.concept_cta_card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.cta_contact::before  { background-image: url(./images/concept/concept_cta_contact.webp); }
.cta_document::before { background-image: url(./images/concept/concept_cta_document.webp); }
/* 上部のブランドレインボーバー */
.concept_cta_card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(2,175,216,1) 0%, rgba(255,195,128,1) 50%, rgba(255,99,113,1) 100%);
}
.concept_cta_card_body {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 32px;
    color: #fff;
    text-align: left;
    background: linear-gradient(180deg, rgba(49,49,49,0.2) 0%, rgba(49,49,49,0.72) 100%);
    transition: background 0.4s ease;
}
.concept_cta_card_en {
    font-family: 'Mulish', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    opacity: 0.85;
    margin-bottom: 6px;
}
.concept_cta_card_title {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 14px;
}
.concept_cta_card_btn {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
}
/* 矢印は共通 .arrow::after を白に */
.concept_cta_card_btn .arrow::after {
    border-bottom-color: #fff;
    border-right-color: #fff;
    transition: transform 0.3s ease;
}
/* ホバー：浮き上がり・写真ズーム・暗転・矢印スライド */
.concept_cta_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(49, 49, 49, 0.22);
}
.concept_cta_card:hover::before {
    transform: scale(1.06);
}
.concept_cta_card:hover .concept_cta_card_body {
    background: linear-gradient(180deg, rgba(49,49,49,0.32) 0%, rgba(49,49,49,0.8) 100%);
}
.concept_cta_card:hover .concept_cta_card_btn .arrow::after {
    transform: skew(55deg) translateX(6px);
}

@media screen and (max-width: 768px) {
    .concept_cta_cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .concept_cta_card {
        height: 170px;
    }
    .concept_cta_card_title {
        font-size: 1.9rem;
    }
    .concept_cta_lead {
        font-size: 2rem;
    }
}

/* セクション間の余白 */
.concept_page main > section {
    padding: 100px 0 80px;
    border-bottom: 1px solid #eeeeec;
}
.concept_page main > section.is_tight {
    border: none;
    padding: 56px 0;
}

.concept_page main > section:last-of-type {
    border-bottom: none;
}

@media screen and (max-width: 768px) {
    .concept_page main > section {
        padding: 55px 0;
    }
}

/* 画像をコンテナ比率にフィット（テーマ img 上書き用に !important） */
.concept_kv_item img,
.concept_omoi_img img,
.concept_omoi_mid_img img,
.concept_promise_img img,
.concept_msg_img img,
.concept_region_img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.concept_omoi_img      { aspect-ratio: 21 / 9; overflow: hidden; }
.concept_omoi_mid_img  { aspect-ratio: 3 / 2;  overflow: hidden; }
.concept_promise_img   { aspect-ratio: 4 / 3;  overflow: hidden; }
.concept_msg_img       { aspect-ratio: 4 / 3;  overflow: hidden; }
.concept_region_img    { aspect-ratio: 4 / 3;  overflow: hidden; }
.concept_kv_item       { overflow: hidden; }

/* 装飾（ブランドカラー：吹き出し・アクセント・番号バッジ・影） */
.concept_quotes .concept_qz {
    position: relative;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(49, 49, 49, 0.06);
    margin: 0 0 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept_quotes .concept_qz::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 26px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-bottom-right-radius: 4px;
    transform: rotate(45deg);
}

.concept_quotes .concept_qz:nth-child(even)::after {
    left: auto;
    right: 26px;
}

.concept_quotes .concept_qz:nth-child(4n + 2) { background: #e9f7fb; }
.concept_quotes .concept_qz:nth-child(4n + 2)::after { background: #e9f7fb; }
.concept_quotes .concept_qz:nth-child(4n + 3) { background: #fef4e6; }
.concept_quotes .concept_qz:nth-child(4n + 3)::after { background: #fef4e6; }
.concept_quotes .concept_qz:nth-child(4n + 4) { background: #ffedef; }
.concept_quotes .concept_qz:nth-child(4n + 4)::after { background: #ffedef; }

.concept_quotes .concept_qz.is_xl {
    background: #fff;
}
.concept_quotes .concept_qz.is_xl::after { background: #fff; }

.concept_quotes .concept_qz.is_soft { background: #e9f7fb; }
.concept_quotes .concept_qz.is_soft::after { background: #e9f7fb; }

.concept_quotes .concept_qz.is_play { border: none; background: #ffffff; }
.concept_quotes .concept_qz.is_play::after { background: #ffffff; }

.concept_quotes .concept_qz .mk { color: #02afd8; opacity: 0.55; }
.concept_quotes .concept_qz:nth-child(4n + 3) .mk { color: #f0a02e; }
.concept_quotes .concept_qz:nth-child(4n + 4) .mk { color: #ff6371; }

.concept_section_title.is_center::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, rgba(2,175,216,1) 0%, rgba(255,195,128,1) 50%, rgba(255,99,113,1) 100%);
}

.concept_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.concept_eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, rgba(2,175,216,1) 0%, rgba(255,195,128,1) 50%, rgba(255,99,113,1) 100%);
}

.concept_omoi_lead::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(2,175,216,1) 0%, rgba(255,195,128,1) 50%, rgba(255,99,113,1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
}

.concept_promises .concept_promise {
    border: none;
    box-shadow: 0 8px 24px rgba(49, 49, 49, 0.07);
}

.concept_promises .concept_promise_head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.concept_promises .concept_promise_num {
    flex-shrink: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #ff6371;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.concept_inner .concept_rel {
    position: relative;
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(49, 49, 49, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.concept_inner .concept_rel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(2,175,216,1) 0%, rgba(255,195,128,1) 50%, rgba(255,99,113,1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.concept_inner .concept_rel:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(49, 49, 49, 0.1);
}
.concept_inner .concept_rel:hover::before { opacity: 1; }
.concept_rel_arrow { transition: transform 0.3s ease, color 0.3s ease; }
.concept_inner .concept_rel:hover .concept_rel_arrow {
    transform: translateX(5px);
    color: #02afd8;
}

.concept_msg_img,
.concept_region_img {
    box-shadow: 0 12px 28px rgba(49, 49, 49, 0.1);
}

.concept_history_eyebrow {
    background: linear-gradient(90deg, #02afd8, #ffc380, #ff6371);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 矢印：共通 .arrow::after を再利用（HTML側で arrow クラス付与） */
.concept_more { gap: 0; }
.concept_more:hover .arrow::after {
    transform: skew(55deg) translateX(6px);
}

.concept_inner .concept_rel:hover .concept_rel_arrow {
    transform: none;
}
.concept_inner .concept_rel:hover .arrow::after {
    transform: skew(55deg) translateX(6px);
}
