/* ============================================
   株式会社care story 共通スタイル
   ============================================ */

:root {
    --green: #54BA55;
    --green-dark: #3F9A41;
    --ink: #1D1D1E;
    --beige: #EFECE8;
    --gray: #7F7F7F;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    position: relative;
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.9;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.en {
    font-family: "Lexend Zetta", sans-serif;
    letter-spacing: .08em;
}

.inner {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

/* ヘッダー：公式サイトに準拠（左上の装飾＋ロゴ左寄せ） */
.header_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 155px;
    z-index: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    padding: 22px 20px;
    transition: background-color .3s;
}

/* 公式サイトと同じく、100px以上スクロールしたら半透明の白背景 */
.header.is-scrolled {
    background-color: rgb(255 255 255 / 60%);
    backdrop-filter: blur(4px);
}

.header .inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.header_logo {
    width: 120px;
    margin: 0;
    flex-shrink: 0;
}

.header_tel {
    text-align: right;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

.header_tel a {
    display: block;
    white-space: nowrap;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -.04em;
}

@media (max-width: 374px) {
    .header_logo {
        width: 104px;
    }

    .header_tel {
        font-size: 11px;
    }

    .header_tel a {
        font-size: 13px;
    }
}

/* ヒーロー */
.hero {
    background: var(--beige);
    padding: 116px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero_lead {
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
    letter-spacing: .18em;
    margin: 0 0 18px;
}

.hero_title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 22px;
}

.hero_title span {
    color: var(--green);
}

.hero_text {
    margin: 0;
    max-width: 560px;
}

.hero_photo {
    margin-top: 36px;
    border-radius: 20px;
    overflow: hidden;
}

/* 共通セクション */
.section {
    padding: 72px 0;
}

.section--beige {
    background: var(--beige);
}

.section_title {
    text-align: center;
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.section_title span {
    display: block;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--green);
    letter-spacing: .16em;
    margin-bottom: 8px;
}

.section_text {
    text-align: center;
    margin: 0 auto 44px;
    max-width: 640px;
}

/* 事業内容 */
.business {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    list-style: none;
    padding: 0;
    margin: 0;
}

.business_item {
    background: #fff;
    border: 1px solid #E3DED8;
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
}

.business_num {
    font-family: "Lexend Zetta", sans-serif;
    font-size: 11px;
    color: var(--green);
    letter-spacing: .12em;
}

.business_name {
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0 8px;
}

.business_desc {
    font-size: 15px;
    margin: 0;
    color: #4A4A4A;
}

/* 施設カード */
.facility {
    background: #fff;
    border-radius: 22px;
    padding: 34px 26px;
    text-align: center;
    border: 1px solid #E3DED8;
}

.facility_label {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 16px;
}

.facility_name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
}

.facility_type {
    font-size: 14px;
    color: var(--gray);
    margin: 0 0 18px;
}

.facility_text {
    margin: 0 auto 28px;
    max-width: 560px;
}

/* ボタン：公式サイトの緑のピルボタンに準拠 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 8px 28px;
    border-radius: 30px;
    border: 1.5px solid var(--green);
    background: var(--green);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease-out, color .2s ease-out;
}

.btn_arrow {
    flex: none;
    width: 15px;
    height: auto;
}

.btn_arrow path {
    fill: #fff;
    transition: fill .2s ease-out;
}

.btn:hover {
    background: #fff;
    color: var(--green);
}

.btn:hover .btn_arrow path {
    fill: var(--green);
}

/* 会社概要 */
.company {
    margin: 0;
    border-top: 1px solid #E3DED8;
}

.company_row {
    border-bottom: 1px solid #E3DED8;
    padding: 18px 4px;
}

.company_row dt {
    font-weight: 700;
    font-size: 15px;
    color: var(--green);
    margin-bottom: 4px;
}

.company_row dd {
    margin: 0;
    font-size: 15px;
}

.company_row dd small {
    display: block;
    color: var(--gray);
    font-size: 13px;
}

/* フッター */
.footer {
    background: var(--ink);
    color: #fff;
    padding: 44px 0 32px;
    text-align: center;
}

.footer_logo {
    width: 118px;
    margin: 0 auto 18px;
    filter: brightness(0) invert(1);
}

.footer_info {
    font-size: 14px;
    line-height: 2;
    margin: 0 0 22px;
    color: #D6D6D6;
}

.footer_link {
    font-size: 14px;
    color: #fff;
}

.footer_copy {
    font-family: "Lexend Zetta", sans-serif;
    font-size: 10px;
    letter-spacing: .08em;
    color: #9A9A9A;
    margin: 26px 0 0;
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .header {
        padding: 20px 30px;
    }

    .header .inner {
        align-items: center;
    }

    .header_logo {
        width: 200px;
    }

    .header_tel a {
        font-size: 19px;
    }

    .hero {
        padding: 150px 0 104px;
    }

    .hero_title {
        font-size: 38px;
    }

    .hero_inner {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 48px;
        align-items: center;
    }

    .hero_photo {
        margin-top: 0;
    }

    .section {
        padding: 100px 0;
    }

    .section_title {
        font-size: 28px;
    }

    .business {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .facility {
        padding: 48px 40px;
    }

    .facility_name {
        font-size: 30px;
    }

    .company_row {
        display: grid;
        grid-template-columns: 190px 1fr;
        gap: 24px;
        padding: 22px 8px;
    }

    .company_row dt {
        margin-bottom: 0;
    }
}

/* ============================================
   ここから下：複数ページ化にあたって追加したスタイル
   ============================================ */

.header_logo a {
    display: block;
}

/* ---- グローバルナビ（PC） ---- */
.gnav {
    display: none;
}

.gnav_list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnav_list a {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease-out;
}

.gnav_list a:hover,
.gnav_list a[aria-current="page"] {
    color: var(--green);
}

.header_right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ---- メニューボタン（SP） ---- */
.menu_btn {
    flex: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.menu_btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #fff;
    transition: transform .2s ease-out, opacity .2s ease-out;
}

.menu_btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.menu_btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu_btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.sp_menu {
    position: fixed;
    inset: 0;
    z-index: 8;
    background: rgb(239 236 232 / 97%);
    padding: 110px 30px 40px;
    display: none;
    overflow-y: auto;
}

.sp_menu.is-open {
    display: block;
}

.sp_menu ul {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    border-top: 1px solid #D8D3CD;
}

.sp_menu li a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid #D8D3CD;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.sp_menu_tel {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.sp_menu_tel a {
    display: block;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

/* ---- 下層ページの見出し ---- */
.page_head {
    background: var(--beige);
    padding: 120px 0 44px;
    text-align: center;
}

.page_head_en {
    display: block;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--green);
    letter-spacing: .16em;
    margin: 0 0 8px;
}

.page_head_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* ---- パンくず ---- */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid #EFECE8;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--gray);
}

.breadcrumb li + li::before {
    content: "\203A";
    margin: 0 10px;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--green);
}

/* ---- 本文の幅 ---- */
.narrow {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.page_body {
    padding: 56px 0 80px;
}

/* ---- 本文の体裁（記事・会社について・ポリシーで共通） ---- */
.prose h2 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
    margin: 56px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    margin: 36px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--green);
}

.prose p {
    margin: 0 0 22px;
}

.prose ul,
.prose ol {
    margin: 0 0 24px;
    padding-left: 1.6em;
}

.prose li {
    margin-bottom: 8px;
}

.prose li::marker {
    color: var(--green);
}

.prose strong {
    font-weight: 700;
    background: linear-gradient(transparent 62%, #DFF1DF 62%);
}

.prose a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    text-decoration: none;
}

.prose a.btn {
    color: #fff;
    text-decoration: none;
}

.prose a.btn:hover {
    color: var(--green);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 15px;
}

.prose th,
.prose td {
    border: 1px solid #D8D3CD;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.prose th {
    background: var(--beige);
    font-weight: 500;
    white-space: nowrap;
}

.prose hr {
    border: none;
    border-top: 1px solid #D8D3CD;
    margin: 40px 0 24px;
}

.prose .note {
    font-size: 13px;
    line-height: 1.9;
    color: var(--gray);
}

/* ---- 記事 ---- */
.article_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--gray);
}

.article_cat {
    display: inline-block;
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 999px;
    padding: 3px 12px;
    line-height: 1.4;
}

.article_eyecatch {
    max-width: 720px;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto 40px;
}

.prose .article_lead {
    font-size: 16px;
    margin: 0 0 40px;
}

/* ---- 監修者 ---- */
.author_box {
    background: #fff;
    border: 1px solid #DCD6CF;
    border-top: 3px solid var(--green);
    border-radius: 10px;
    padding: 22px 20px;
    margin: 48px 0 0;
}

.author_box_head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
}

.author_box_label {
    display: inline-flex;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1;
    padding: 7px 16px;
    border-radius: 999px;
    margin: 0;
}

.author_box_names {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0;
}

.author_box_role {
    font-size: 14px;
}

.author_box_name {
    font-size: 17px;
    font-weight: 700;
}

.author_box_license {
    display: inline-block;
    font-size: 13px;
    color: var(--green-dark);
    border: 1px solid var(--green);
    border-radius: 4px;
    padding: 3px 10px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.author_box_text {
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* ---- 施設サイトへの誘導 ---- */
.cta_box {
    background: var(--beige);
    border-radius: 16px;
    padding: 32px 22px;
    margin: 48px 0 0;
    text-align: center;
}

.cta_box_title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 10px;
}

.cta_box_text {
    font-size: 15px;
    margin: 0 0 22px;
}

/* ---- コラム一覧・関連コラム ---- */
.column_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.column_card a {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #E3DED8;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s ease-out, transform .2s ease-out;
}

.column_card a:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}

.column_card_img {
    aspect-ratio: 1200 / 630;
    background: var(--beige);
}

.column_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column_card_body {
    padding: 16px 18px 20px;
}

.column_card_date {
    font-size: 13px;
    color: var(--gray);
    margin: 0 0 6px;
}

.column_card_title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 8px;
}

.column_card_excerpt {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
    margin: 0;
}

.related {
    margin: 64px 0 0;
}

.related_title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
}

.section_more {
    text-align: center;
    margin: 36px 0 0;
}

/* ---- お問い合わせ ---- */
.contact_cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 0 48px;
}

.contact_card {
    background: #fff;
    border: 1px solid #E3DED8;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
}

.contact_card_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.contact_card_tel {
    display: block;
    font-family: "Lexend Zetta", sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    margin: 0 0 4px;
}

.prose a.contact_card_tel {
    color: var(--ink);
    text-decoration: none;
}

.contact_card_note {
    font-size: 15px;
    color: var(--gray);
    margin: 0 0 16px;
}

/* ---- フッターのナビ ---- */
.footer_nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 0 0 26px;
    padding: 0;
    font-size: 14px;
}

.footer_nav a {
    text-decoration: none;
    color: #fff;
}

.footer_nav a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .menu_btn,
    .sp_menu {
        display: none !important;
    }

    .gnav {
        display: block;
    }

    .page_head {
        padding: 160px 0 64px;
    }

    .page_head_title {
        font-size: 32px;
    }

    .page_body {
        padding: 80px 0 110px;
    }

    .prose h2 {
        font-size: 24px;
    }

    .prose h3 {
        font-size: 18px;
    }

    .prose table {
        font-size: 15px;
    }

    .author_box {
        padding: 28px 30px;
    }

    .author_box_head {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-bottom: 12px;
    }

    .author_box_name {
        font-size: 19px;
    }

    .author_box_text {
        font-size: 15px;
    }

    .cta_box {
        padding: 44px 40px;
    }

    .column_list {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* タブレット幅ではナビを優先し、電話番号を隠す */
@media (min-width: 768px) and (max-width: 1023px) {
    .gnav_list {
        gap: 18px;
    }

    .header_tel {
        display: none;
    }
}

/* ---- 引用（ご入居者様の声など） ---- */
.prose blockquote {
    margin: 0 0 24px;
    padding: 20px 22px;
    background: var(--beige);
    border-left: 4px solid var(--green);
    border-radius: 0 10px 10px 0;
}

.prose blockquote p {
    margin: 0;
}

.prose thead th {
    background: #DFF1DF;
}

/* ---- 施設サイトの関連記事 ---- */
.prose .more_links {
    margin: 48px 0 0;
    padding: 24px 22px;
    border: 1px solid #E3DED8;
    border-radius: 14px;
}

.prose .more_links_title {
    font-weight: 700;
    margin: 0 0 12px;
}

.prose .more_links ul {
    margin: 0;
}

.prose .more_links li:last-child {
    margin-bottom: 0;
}

/* ---- 施設名の見出し内に入れた種別ラベル ---- */
.facility_name .facility_label {
    display: table;
    margin: 0 auto 16px;
    line-height: 1.9;
}

.sp_only {
    display: inline;
}

/* ---- トップ：アクセス ---- */
.access {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.access_info {
    margin: 0;
    background: #fff;
    border: 1px solid #E3DED8;
    border-radius: 16px;
    padding: 8px 22px;
}

.access_row {
    padding: 16px 0;
    border-bottom: 1px solid #E3DED8;
}

.access_row:last-child {
    border-bottom: none;
}

.access_row dt {
    font-weight: 700;
    font-size: 15px;
    color: var(--green);
    margin-bottom: 4px;
}

.access_row dd {
    margin: 0;
    font-size: 15px;
}

.access_row dd a {
    font-family: "Lexend Zetta", sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -.04em;
}

.access_row dd small {
    display: block;
    color: var(--gray);
    font-size: 13px;
}

.access_map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E3DED8;
    aspect-ratio: 4 / 3;
    background: #fff;
}

.access_map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .sp_only {
        display: none;
    }

    .access {
        grid-template-columns: 380px 1fr;
        gap: 32px;
        align-items: stretch;
    }

    .access_info {
        padding: 12px 28px;
    }

    .access_map {
        aspect-ratio: auto;
        min-height: 360px;
    }
}

/* 見出しの直後にカードが来る場合の余白 */
.section_title + .facility,
.section_title + .access,
.section_title + .company {
    margin-top: 32px;
}

/* ============================================
   トップ：ご用件から探す／運営施設（アクセス統合）／採用情報
   ============================================ */
html {
    scroll-behavior: smooth;
}

#facility,
#recruit {
    scroll-margin-top: 90px;
}


/* 施設カードの中の特徴・アクセス */
.facility_points {
    list-style: none;
    margin: 0 auto 28px;
    padding: 0;
    max-width: 820px;
    text-align: left;
    display: grid;
    gap: 12px;
}

.facility_points li {
    font-size: 15px;
    line-height: 1.9;
    background: #F7F5F3;
    border-radius: 12px;
    padding: 16px 18px;
}

.facility_points strong {
    display: block;
    font-size: 15px;
    color: var(--green-dark);
    margin-bottom: 2px;
}

.facility_points a {
    color: var(--green-dark);
    text-underline-offset: 3px;
}

.facility .access {
    text-align: left;
    margin: 0 0 28px;
}

.facility .access_info {
    background: #F7F5F3;
    border: none;
}

.facility_btn {
    margin: 0;
}

/* 採用情報（会社概要と同じ表組みを、白いカードの上に） */
.company--card {
    background: #fff;
    border: 1px solid #E3DED8;
    border-radius: 16px;
    padding: 4px 22px;
    max-width: 820px;
    margin-inline: auto;
}

.company--card .company_row:last-child {
    border-bottom: none;
}

.section_note {
    max-width: 820px;
    margin: 14px auto 0;
    font-size: 13px;
    color: var(--gray);
}

@media (min-width: 768px) {

    .facility_points {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        max-width: none;
    }

    .facility .access {
        grid-template-columns: 320px 1fr;
    }

    .company--card {
        padding: 8px 32px;
    }
}

/* ---- ヒーロー：h1（会社の説明）とキャッチコピー（段落） ---- */
h1.hero_lead {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .08em;
}

p.hero_title {
    font-weight: 700;
}

@media (min-width: 768px) {
    h1.hero_lead {
        font-size: 14px;
    }
}
