@charset "utf-8";

/* PLACE MALL homepage v33: community discovery first. */
body.pm-homepage #header2,
body.pm-homepage #contents2 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    background: #fff;
}

body.pm-homepage #header .inner,
body.pm-homepage #contents2>.inner {
    max-width: none;
    margin: 0;
    padding: 0;
}

body.pm-homepage #main {
    width: 100%;
    float: none;
}

body.pm-homepage #main_middle {
    margin: 0;
}

body.pm-homepage #contents_bottom:empty {
    display: none;
}

.pm-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 100px;
    position: relative;
}

.pm-home-brand {
    display: block;
    width: 260px;
    max-width: 75%;
}

.pm-home-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.pm-home-menu {
    position: relative;
    z-index: 20;
}

.pm-home-menu summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 52px;
    min-height: 52px;
    cursor: pointer;
    list-style: none;
    color: #5b5b5b;
}

.pm-home-menu summary::-webkit-details-marker {
    display: none;
}

.pm-home-menu-icon {
    display: block;
    width: 24px;
    height: 16px;
    border-top: 2px solid;
    border-bottom: 2px solid;
    position: relative;
}

.pm-home-menu-icon::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    border-top: 2px solid;
}

.pm-home-menu-label {
    font-size: 11px;
    line-height: 1.2;
}

.pm-home-menu[open] summary {
    color: #4072B3;
}

.pm-home-header-links {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 260px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #d9e5eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.pm-home-header-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    color: #4072B3;
    font-size: 16px;
    border-radius: 6px;
}

.pm-home-header-links .pm-home-header-member {
    background: #4072B3;
    color: #fff;
    font-weight: 700;
}

.pm-home-menu summary:focus-visible,
.pm-home-header a:focus-visible {
    outline: 3px solid #4072B3;
    outline-offset: 4px;
}

.pm-home {
    --pm-home-ink: #5b5b5b;
    --pm-home-sub: #5b5b5b;
    --pm-home-blue: #4072B3;
    --pm-home-action: #4072B3;
    --pm-home-line: #d9e5eb;
    color: var(--pm-home-ink);
    font-size: 16px;
    line-height: 1.9;
}

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

.pm-home p,
.pm-home h1,
.pm-home h2,
.pm-home h3,
.pm-home ul,
.pm-home ol {
    margin: 0;
    padding: 0;
}

.pm-home p {
    color: var(--pm-home-sub);
}

.pm-home h1,
.pm-home h2,
.pm-home h3 {
    color: var(--pm-home-ink);
    font-weight: 700;
}

.pm-home a {
    color: var(--pm-home-blue);
}

.pm-home a:focus-visible {
    outline: 3px solid var(--pm-home-blue);
    outline-offset: 5px;
}

.pm-home [id] {
    scroll-margin-top: 60px;
}

.pm-home .pm-home-hero {
    display: flex;
    align-items: center;
    min-height: 440px;
    margin: 0 -32px;
    padding: 60px 56px;
    background: #fff6bd;
    background-image: url('../img/top/top01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pm-home .pm-home-hero-copy {
    width: 100%;
    max-width: 620px;
}

.pm-home .pm-home-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.6;
}

.pm-home .pm-home-hero h1 {
    margin-bottom: 18px;
    color: var(--pm-home-ink);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.5;
}

.pm-home .pm-home-hero p {
    color: var(--pm-home-ink);
}

.pm-home .pm-home-lead {
    font-size: 17px;
    line-height: 1.9;
}

.pm-home .pm-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--pm-home-action);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
    transition: background-color .15s;
}

.pm-home .pm-home-button-primary {
    background: var(--pm-home-action);
    color: #fff;
}

.pm-home .pm-home-button-primary:hover {
    background: #315c94;
    border-color: #315c94;
    color: #fff;
    text-decoration: none;
}

.pm-home .pm-home-button:active {
    box-shadow: none;
}

.pm-home .pm-home-hero .pm-home-button {
    margin-top: 26px;
    min-width: 300px;
    background: #356cba;
    border-color: #8faee0;
}

.pm-home .pm-home-hero .pm-home-button:hover {
    background: #285a9e;
}

.pm-home h2 {
    font-size: 26px;
    line-height: 1.6;
}

.pm-home h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin-top: 6px;
    background: linear-gradient(to right, #2b9ab0 0%, #2b9ab0 50%, #e99133 50%, #e99133 100%);
}

.pm-home .pm-home-communities {
    padding: 44px 24px 48px;
    background: #fff;
}

.pm-home .pm-home-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.pm-home .pm-home-section-heading>p {
    font-size: 16px;
}

.pm-home .pm-home-about {
    padding: 40px 24px;
    border-top: 1px solid #e9eef1;
}

.pm-home .pm-home-about-content {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 32px;
    margin-top: 24px;
}

.pm-home .pm-home-about-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f1cf;
}

.pm-home .pm-home-about-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pm-home .pm-home-about-copy {
    min-width: 0;
    max-width: 560px;
    width: 100%;
    justify-self: center;
}

.pm-home .pm-home-about-message {
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.6;
}

.pm-home .pm-home-about-intro {
    margin-top: 14px;
}

.pm-home .pm-home-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 560px;
    margin: 0;
    list-style: none;
}

.pm-home .pm-home-values li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #5b5b5b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.pm-home .pm-home-values img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.pm-home .pm-home-join {
    padding: 40px 24px 44px;
    border-top: 1px solid #e9eef1;
}

.pm-home .pm-home-join-intro {
    margin-top: 18px;
}

.pm-home .pm-home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 26px 0 16px;
    list-style: none;
}

.pm-home .pm-home-steps li {
    position: relative;
    padding: 22px;
    border: 1px solid var(--pm-home-line);
    border-radius: 8px;
    background: #f7fafc;
}

.pm-home .pm-home-steps li:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 50%;
    color: var(--pm-home-blue);
    font-size: 20px;
    transform: translateY(-50%);
}

.pm-home .pm-home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 50%;
    background: #4072B3;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.pm-home .pm-home-step-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pm-home .pm-home-steps h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.pm-home .pm-home-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pm-home .pm-home-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    margin: 0 -32px;
    padding: 36px 56px;
    background: #edf4fb;
}

.pm-home .pm-home-member p {
    margin-top: 18px;
}

.pm-home .pm-home-member-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

.pm-home .pm-home-member-actions .pm-home-text-link {
    font-size: 14px;
}

.pm-home .pm-home-support {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 20px 0 26px;
}

@media(max-width:1300px) {

    body.pm-homepage #header2,
    body.pm-homepage #contents2 {
        margin-left: 3%;
        margin-right: 3%;
    }
}

@media(max-width:1000px) {
    .pm-home .pm-home-hero {
        padding: 48px 40px;
    }

    .pm-home .pm-home-section-heading {
        display: block;
    }

    .pm-home .pm-home-section-heading>p {
        margin-top: 14px;
    }
}

@media(max-width:767px) {

    body.pm-homepage #header2,
    body.pm-homepage #contents2 {
        margin: 0;
        padding: 0 20px;
    }

    .pm-home-header {
        min-height: 78px;
        gap: 12px;
    }

    .pm-home-brand {
        width: 220px;
        max-width: calc(100% - 64px);
    }

    .pm-home-header-links {
        width: 260px;
        max-width: calc(100vw - 40px);
    }

    .pm-home .pm-home-hero {
        min-height: 0;
        margin: 0 -20px;
        padding: 36px 24px 32px;
    }

    .pm-home .pm-home-hero h1 {
        font-size: clamp(28px, 7.4vw, 38px);
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .pm-home .pm-home-eyebrow {
        font-size: 12px;
    }

    .pm-home .pm-home-lead {
        font-size: 16px;
    }

    .pm-home .pm-home-hero .pm-home-button {
        width: 100%;
        min-width: 0;
        margin-top: 24px;
    }

    .pm-home h2 {
        font-size: 22px;
    }

    .pm-home .pm-home-communities {
        padding: 28px 0 32px;
    }

    .pm-home .pm-home-section-heading {
        margin-bottom: 20px;
    }

    .pm-home .pm-home-section-heading>p {
        font-size: 15px;
        margin-top: 12px;
    }

    .pm-home .pm-home-about {
        padding: 30px 0;
    }

    .pm-home .pm-home-about-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-top: 20px;
    }

    .pm-home .pm-home-values {
        gap: 8px;
    }

    .pm-home .pm-home-about-message {
        margin-top: 20px;
        font-size: 20px;
    }

    .pm-home .pm-home-values li {
        gap: 10px;
        font-size: 13px;
    }

    .pm-home .pm-home-values img {
        width: 36px;
        height: 36px;
    }

    .pm-home .pm-home-join {
        padding: 30px 0;
    }

    .pm-home .pm-home-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 22px;
    }

    .pm-home .pm-home-steps li {
        padding: 18px 16px;
    }

    .pm-home .pm-home-steps li:not(:last-child)::after {
        content: none;
    }

    .pm-home .pm-home-step-number {
        margin: 0;
    }

    .pm-home .pm-home-steps h3 {
        font-size: 17px;
        margin: 0;
    }

    .pm-home .pm-home-steps p {
        font-size: 15px;
    }

    .pm-home .pm-home-member {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin: 0 -20px;
        padding: 28px 20px;
    }

    .pm-home .pm-home-member-actions {
        align-items: stretch;
    }

    .pm-home .pm-home-member-actions .pm-home-text-link {
        justify-content: center;
    }

    .pm-home .pm-home-support {
        justify-content: flex-start;
    }
}

@media(prefers-reduced-motion:reduce) {
    .pm-home .pm-home-button {
        transition: none;
    }
}

/* Community cards: shared image-above layout, one column on mobile. */
.pm-home .pm-home-community-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pm-home .pm-home-community {
    min-width: 0;
    border: 1px solid #d3d7da;
    border-radius: 8px;
    background: #fbfbfb;
    box-shadow: 0 1px 3px rgba(48, 70, 81, .08);
}

.pm-home .pm-home-community-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--pm-home-ink);
    border-radius: inherit;
    text-decoration: none;
}

.pm-home .pm-home-community-card:hover {
    color: var(--pm-home-ink);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(48, 70, 81, .12);
}

.pm-home .pm-home-community-image {
    display: block;
    overflow: hidden;
    border-radius: 7px 7px 0 0;
    border-bottom: 1px solid var(--pm-home-line);
    background: #fff;
}

.pm-home .pm-home-community-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 400;
    object-fit: contain;
}

.pm-home .pm-home-community-card:hover img {
    opacity: 1;
}

.pm-home .pm-home-community-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.pm-home .pm-home-community h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.6;
}

.pm-home .pm-home-community-copy p {
    font-size: 16px;
}

@media (max-width: 767px) {
    .pm-home .pm-home-community-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .pm-home .pm-home-community-copy {
        padding: 20px;
    }

    .pm-home .pm-home-community-copy br {
        display: none;
    }
}


/* Desktop hero begins at the agreed 660px breakpoint. */
@media (min-width:660px) {
    .pm-home .pm-home-hero {
        container-type: inline-size;
        aspect-ratio: 12 / 5;
        min-height: 0;
        padding: 0;
        background-size: contain;
        background-position: center;
    }

    .pm-home .pm-home-hero-copy {
        flex: none;
        width: 34%;
        max-width: none;
        margin-left: 6%;
    }

    .pm-home .pm-home-hero .pm-home-eyebrow {
        font-size: clamp(10px, 1.05cqw, 13px);
        margin-bottom: clamp(8px, 1cqw, 12px);
    }

    .pm-home .pm-home-hero h1 {
        font-size: clamp(24px, 3.2cqw, 40px);
        line-height: 1.45;
        margin-bottom: clamp(10px, 1.5cqw, 18px);
    }

    .pm-home .pm-home-hero .pm-home-lead {
        font-size: clamp(14px, 1.4cqw, 17px);
        line-height: 1.8;
    }

    .pm-home .pm-home-hero .pm-home-button {
        width: 80%;
        min-width: 0;
        max-width: 300px;
        min-height: 44px;
        margin-top: clamp(14px, 2cqw, 24px);
        padding: 8px 12px;
        gap: 12px;
        font-size: clamp(14px, 1.33cqw, 16px);
    }
}

/* Landscape mobile artwork (1320 x 720): preserve its speech bubble. */
@media (max-width:659px) {
    .pm-home .pm-home-hero {
        display: flex;
        align-items: center;
        min-height: 360px;
        padding: 28px 24px;
        background-image: url('../img/top/top02.png?v=20261025-43');
        background-size: cover;
        background-position: left center;
    }

    .pm-home .pm-home-hero-copy {
        width: 100%;
        max-width: 250px;
        margin: 0;
    }

    .pm-home .pm-home-hero h1 {
        font-size: 28px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .pm-home .pm-home-hero .pm-home-lead {
        font-size: 14px;
        line-height: 1.8;
    }

    .pm-home .pm-home-hero .pm-home-button {
        width: 100%;
        min-width: 0;
        max-width: 220px;
        min-height: 44px;
        margin-top: 20px;
        padding: 8px 12px;
        font-size: 14px;
        gap: 12px;
    }
}