@charset "UTF-8";

.about-page .about-mobile-disclosure {
    display: none;
}

@media (max-width: 767.98px) {
    .about-page .about-sidebar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        background: transparent;
        border-radius: 0;
    }

    body.about-page .about-sidebar nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 8px 2px;
        border: 2px solid #f8cfb5;
        border-radius: 5px;
        background: #fff;
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }
}

.about-page .about-hero h1 .about-title-suffix {
    font-size: 1.1025vw;
    font-weight: 400;
}

.about-page .greeting-embed {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

.about-page .greeting-copy .chairperson-name {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-bottom: 0;
    text-align: left;
}

.about-page .chairperson-name span {
    font-weight: 700;
    margin-bottom: .3em;
}

@media (min-width: 768px) {
    .about-page .about-history {
        padding-bottom: 4vw;
    }

    .about-page .about-overview {
        padding-bottom: 4vw;
    }

    .about-page .about-disclosure {
        padding: 4vw 0 8vw;
    }

    .about-page .about-history .about-detail-section-title {
        top: 8vw;
    }

    .about-page .future-message .future-catch {
        width: max-content;
        max-width: 100%;
        margin: 0 auto 3vw;
        padding-left: 0;
        font-size: clamp(24px, 2.1vw, 40px);
        font-weight: 700;
        line-height: 1.5;
        text-align: left;
    }

    .about-page .future-catch span {
        display: inline-block;
        padding-left: 16vw;
    }

    .about-page .about-detail-section-title::after {
        position: absolute;
        top: 100%;
        left: 50%;
        height: 5vw;
        margin-top: 1vw;
        background: #62544b;
    }

    .about-page .about-greeting .about-detail-section-title {
        top: auto;
        bottom: 2.5vw;
    }
}

/* 1021版：背景の淡い光と、写真に重なる理事長挨拶カード。 */
.about-page .about-introduction {
    background:
        linear-gradient(to right, #f6d1b7 0 10.8vw, transparent 10.8vw),
        radial-gradient(ellipse 22vw 18vw at 96% 17%, #f9e6d3 0%, transparent 75%),
        radial-gradient(ellipse 25vw 18vw at 20% 60%, #fcf0df 0%, transparent 75%),
        #faf7f4;
}

.about-page .about-hero {
    height: 22vw;
}

.about-page .about-hero h1 {
    margin: 0;
    padding: 10vw 0 0 26vw;
    font-size: 2.205vw;
}

.about-page .about-hero-photo {
    width: 43vw;
    height: 43vw;
    top: -13vw;
    right: -6vw;
    border-width: 2.5vw;
    outline-offset: 2vw;
}

.about-page .about-layout {
    grid-template-columns: 18.2% minmax(0, 1fr);
}

.about-page .about-sidebar nav {
    width: 10.8vw;
    padding: 0 1.2vw 2vw;
}

body.about-page .about-sidebar a {
    font-size: clamp(14px, .85vw, 17px);
}

.about-page .about-greeting {
    margin-top: -5vw;
    margin-right: 3vw;
    padding-top: 3vw;
    padding-bottom: 1.5vw;
    box-shadow: 0 0 12px #efc99e66;
}

.about-page .greeting-content {
    grid-template-columns: 33% minmax(0, 1fr);
    gap: 2vw;
}

.about-page .greeting-video {
    align-self: center;
    padding-top: 0;
}

.about-page .greeting-copy {
    font-size: clamp(14px, .85vw, 17px);
}

.about-page .future-message p,
.about-page .hearts-promise {
    font-size: clamp(14px, .9vw, 18px);
}

.about-page .about-future {
    padding-top: 9vw;
    padding-bottom: 5vw;
}

.about-page .about-future .about-detail-section-title {
    top: 12vw;
}

.about-page .future-watermark {
    width: 21vw;
    height: 21vw;
    opacity: 1;
    filter: none;
}

.about-page .hearts-diagram::before {
    z-index: 0;
    inset: 6.8vw 6.8vw 6vw;
    border-color: #f5c59f;
    pointer-events: none;
}

.about-page .heart h3 {
    font-size: 2.5vw;
    letter-spacing: .2em;
}

.about-page .heart p {
    font-size: max(12px, 1.05vw);
}

.about-page .heart-number {
    font-size: 3.8vw;
}

.about-page .hearts-center {
    font-size: 2vw;
}

.about-page .hearts-promise {
    margin-top: 4vw;
    color: #94857b;
}

.about-page .history-panel {
    margin-left: 7vw;
    padding: 6.8vw 3.4vw 2.5vw;
    border-radius: 4vw 0 0 4vw;
}

.about-page .history-list > div {
    font-size: clamp(14px, .925vw, 18px);
}

@media (min-width: 768px) {
    .about-page .history-panel h3 {
        top: 3.2vw;
        padding: .6vw 1.7vw;
        font-size: clamp(14px, .925vw, 18px);
    }

    .about-page .history-scroll {
        max-height: 17vw;
    }

    .about-page .history-list > div {
        margin-bottom: 1.2vw;
    }
}

.about-page .organization-details dt,
.about-page .organization-details dd {
    font-size: clamp(14px, .925vw, 18px);
}

@media (min-width: 768px) {
    .about-page .organization-details > div {
        grid-template-columns: 12vw minmax(0, 1fr);
    }

    .about-page .organization-details dt {
        padding: 1.6vw 1vw;
    }

    .about-page .organization-details dd {
        padding: 1.6vw;
        line-height: 1.9;
    }
}

@media (max-width: 767.98px) {
    .about-page .about-introduction {
        background: #faf7f4;
    }

    .about-page .about-hero {
        height: 225px;
    }

    .about-page .about-hero h1 {
        padding: 145px 24px 0;
        font-size: max(14px, 4vw);
    }

    .about-page .about-hero h1 .about-title-suffix {
        font-size: max(14px, 2vw);
    }

    .about-page .about-hero-photo {
        width: 290px;
        height: 290px;
        top: -100px;
        right: -60px;
        border-width: 16px;
        outline-offset: 10px;
    }

    .about-page .about-sidebar nav {
        width: 100%;
        padding: 14px;
    }

    .about-page .about-greeting {
        margin-top: 0;
        margin-right: 0;
        padding: 35px 24px 20px;
    }

    .about-page .greeting-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .about-page .about-detail-section-title {
        font-size: 21px;
    }

    .about-page .chairperson-name span,
    .about-page .heart p,
    .about-page .history-panel h3,
    .about-page .organization-details {
        font-size: 14px;
    }

    .about-page .about-future {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .about-page .future-watermark {
        width: 190px;
        height: 190px;
    }

    .about-page .future-message .future-catch {
        font-size: 20px;
    }

    .about-page .heart h3 {
        font-size: 26px;
    }

    .about-page .heart-number {
        font-size: 40px;
    }

    .about-page .hearts-center {
        font-size: 21px;
    }

    .about-page .hearts-promise {
        margin-top: 35px;
    }

    .about-page .history-panel {
        margin: 0;
        padding: 65px 20px 25px;
        border-radius: 25px;
    }
}

/* /care と共通パーツの寸法を揃える。法人紹介に適用。 */
body.about-page .front-breadcrumb {
    font-size: clamp(11.5px, .738vw, 15px);
}

@media (max-width: 991.98px) {
    body.about-page .front-breadcrumb {
        font-size: 11.5px;
    }

}

@media (min-width: 992px) {
    body.about-page .front-breadcrumb {
        margin-left: 20.8%;
        width: calc(79.2% - 24px);
    }

}

@media (min-width: 768px) {
    .about-page .footer-contact {
        min-height: 0;
        padding: 8vw 0;
    }

    .about-page .footer-contact-bubble {
        width: 22.4vw;
        height: 22.4vw;
    }

    .about-page .footer-contact-pink {
        width: 31.2vw;
        height: 31.2vw;
    }

    .about-page .footer-contact-green {
        width: 20.8vw;
        height: 20.8vw;
    }

    .about-page .footer-contact-card {
        width: 56.25vw;
        padding: 3.375vw 4.5vw;
        border-radius: 2.25vw;
    }

    .about-page .footer-contact-card h2 {
        gap: 2.025vw;
        margin-bottom: 1.29375vw;
        font-size: 1.0125vw;
    }

    .about-page .footer-contact-message {
        margin-bottom: .45vw;
        font-size: .759375vw;
    }

    .about-page .footer-contact-phone {
        font-size: 3.0375vw;
    }

    .about-page .footer-contact-phone small {
        font-size: 1.4625vw;
    }

    .about-page .footer-contact-hours {
        margin-top: .75vw;
        padding: .3vw 3.375vw;
        font-size: .95625vw;
    }

}

@media (max-width: 767.98px) {

    body.about-page .front-breadcrumb {
        display: none;
    }

}

@media (max-width: 767.98px) {

    body.about-page .front-breadcrumb,
    .about-page .footer-contact-message,
    .about-page .footer-contact-phone small,
    .about-page .footer-contact-hours,
    .about-page .footer-tagline,
    .about-page .footer-brand address,
    .about-page .footer-sitemap h2,
    .about-page .footer-sitemap a,
    .about-page .footer-bottom,
    .about-page .copyright {
        font-size: 14px;
    }

    .about-page .footer-bottom {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .about-page .footer-sitemap > div,
    .about-page .footer-bottom > div {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 15px;
    }

    .about-page .footer-bottom {
        row-gap: 20px;
    }

    .about-page .footer-brand .badges {
        display: none;
    }

    .about-page .footer-brand address {
        text-align: left;
    }

    .about-page .footer-tagline > span {
        display: block;
        white-space: nowrap;
    }

    .about-page .footer-tagline > .footer-tagline-gap {
        display: none;
    }

    .about-page .footer-mobile-badges {
        display: flex;
        width: 100%;
        margin-top: 0;
        padding: 0 15px 24px;
        gap: 16px;
    }

}


/* 全画面サイズで花形を保ち、図の幅に合わせて各要素を拡縮する。 */
@media (min-width: 0px) {
    .about-page .hearts-diagram-frame {
        width: min(63vw, 77vh, 815px);
        margin-inline: auto;
        container-type: inline-size;
    }

    .about-page .about-hearts {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .about-page .about-hearts .about-detail-section-title {
        top: calc(32px + min(63vw, 77vh, 815px) * .24);
    }

    .about-page .hearts-promise {
        margin-top: 24px;
    }

    .about-page .hearts-diagram {
        width: 100.00000cqw;
        height: 99.12281cqw;
        position: relative;
        margin: 0 auto;
    }

    .about-page .hearts-diagram::before {
        content: "";
        position: absolute;
        inset: 17.54386cqw 14.03509cqw 12.28070cqw;
        border: 1px solid #f1d1b6;
        border-radius: 50%;
    }

    .about-page .hearts-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .about-page .heart {
        position: absolute;
        z-index: 2;
        width: 40.35088cqw;
        height: 40.35088cqw;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3.50877cqw 1.75439cqw;
    }

    .about-page .heart h3 {
        font-size: 4.73684cqw;
        letter-spacing: .15em;
        font-weight: 600;
        margin: 0 0 1.22807cqw;
    }

    .about-page .heart p {
        font-size: 1.84211cqw;
        line-height: 1.5;
        margin: 0;
    }

    .about-page .heart-number {
        font-size: 7.01754cqw;
        line-height: 1;
        color: white;
        -webkit-text-stroke: 1px #b9afa4;
        margin-bottom: 2.63158cqw;
    }

    .about-page .heart-spring {
        top: 0;
        left: 29.82456cqw;
        background: #f9e3d2cc;
    }

    .about-page .heart-spring .heart-number {
        order: 1;
        margin: 3.50877cqw 0 0;
    }

    .about-page .heart-service {
        padding-left: 7.01754cqw;
        top: 23.68421cqw;
        right: 0;
        background: #ffdfb9bb;
    }

    .about-page .heart-gratitude {
        bottom: 0;
        right: 9.64912cqw;
        background: #edb180aa;
    }

    .about-page .heart-respect {
        bottom: 0;
        left: 10.52632cqw;
        background: #ffcc75bb;
    }

    .about-page .heart-professional {
        padding-right: 7.01754cqw;
        top: 23.68421cqw;
        left: 0;
        background: #f4ba94aa;
    }

    /* 外側の見出しと内側の数字を、PDFの花形配置に合わせる */
    .about-page .heart-service .heart-number,
    .about-page .heart-professional .heart-number,
    .about-page .heart-gratitude .heart-number,
    .about-page .heart-respect .heart-number {
        position: absolute;
        margin: 0;
    }

    .about-page .heart-service .heart-number {
        left: 2.63158cqw;
        top: 15.78947cqw;
    }

    .about-page .heart-professional .heart-number {
        right: 2.63158cqw;
        top: 15.78947cqw;
    }

    .about-page .heart-gratitude .heart-number {
        left: 5.26316cqw;
        top: 7.01754cqw;
    }

    .about-page .heart-respect .heart-number {
        right: 5.26316cqw;
        top: 7.01754cqw;
    }

    .about-page .heart-gratitude h3,
    .about-page .heart-respect h3 {
        margin-top: 8.77193cqw;
    }

    .about-page .hearts-center {
        isolation: isolate;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
        font-size: 3.50877cqw;
        font-weight: 700;
        white-space: nowrap;
        z-index: 1;
    }

    /* 中央の文字は鮮明なまま、背面の色だけを柔らかくぼかす */
    .about-page .hearts-center::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        width: 34cqw;
        height: 24cqw;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background:
            radial-gradient(ellipse at 72% 48%, #f3c5c0b3 0%, #f3c5c059 30%, transparent 65%),
            radial-gradient(ellipse at 25% 50%, #ffe1b8b3 0%, #ffe1b859 30%, transparent 65%);
        filter: blur(1.8cqw);
        pointer-events: none;
    }


    .about-page .hearts-diagram::before {
        z-index: 0;
        inset: 11.92982cqw 11.92982cqw 10.52632cqw;
        border-color: #f5c59f;
        pointer-events: none;
    }

    .about-page .heart h3 {
        font-size: 4.38596cqw;
        letter-spacing: .2em;
    }

    .about-page .heart p {
        font-size: max(12px, 1.84211cqw);
    }

    .about-page .heart-number {
        font-size: 6.66667cqw;
    }

    .about-page .hearts-center {
        font-size: 3.50877cqw;
    }
}

@media (max-width: 767.98px) {
    .about-page .hearts-diagram-frame {
        width: 100%;
        max-width: 600px;
    }

    .about-page .hearts-list {
        display: block;
    }

    .about-page .hearts-diagram::before,
    .about-page .hearts-center::before {
        display: block;
    }

    .about-page .heart p {
        font-size: 1.84211cqw;
    }

    .about-page .hearts-center {
        margin: 0;
    }

    .about-page .heart-spring .heart-number {
        order: 1;
        margin: 3.50877cqw 0 0;
    }

    .about-page .heart-service .heart-number,
    .about-page .heart-professional .heart-number,
    .about-page .heart-gratitude .heart-number,
    .about-page .heart-respect .heart-number {
        margin: 0;
    }
}

/* 素材に含まれる円形の装飾を切り取らず、そのまま表示する。 */
.about-page .about-hero-photo {
    border: 0;
    outline: none;
    background: transparent;
    overflow: visible;
}

.about-page .about-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 動画は署名を除いた挨拶本文の上下中央に合わせる。 */
@media (min-width: 768px) {
    .about-page .greeting-content {
        row-gap: 0;
    }

    .about-page .greeting-copy {
        display: contents;
    }

    .about-page .greeting-video {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .about-page .greeting-body {
        grid-column: 2;
        grid-row: 1;
    }

    .about-page .greeting-body > p:last-child {
        margin-bottom: 0;
    }

    .about-page .greeting-copy .chairperson-name {
        grid-column: 2;
        grid-row: 2;
    }
}
