:root {
    color-scheme: light;

    --ariel-turquoise: #35aa99;
    --ariel-turquoise-dark: #1c756a;
    --ariel-turquoise-soft: #dff3ee;

    --ariel-off-white: #fbf8f1;
    --ariel-paper: #fffdf9;

    --ariel-beige: #efe5d4;
    --ariel-beige-deep: #e7d7bb;
    --ariel-beige-soft: #f7f0e5;

    --ariel-coral: #cf8173;
    --ariel-coral-soft: #f6e4df;

    --ariel-brown: #4b3a32;
    --ariel-brown-soft: #7a695f;
    --ariel-line: #e8dfd3;

    --ariel-line-green: #39be82;
    --ariel-content-width: 720px;
    --planner-width: 420px;

    --ariel-shadow: none;
}

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

html {
    min-height: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ariel-brown);
    background:
        radial-gradient(
            circle at left bottom,
            rgba(53, 170, 153, 0.08),
            transparent 18%
        ),
        linear-gradient(
            180deg,
            #f9f4eb 0%,
            #f8f3ea 100%
        );
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans JP",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.site-frame,
.site-header__inner,
.site-footer__inner {
    width: min(
        calc(100% - 32px),
        var(--ariel-content-width)
    );
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 9px 12px;
    color: var(--ariel-paper);
    background: var(--ariel-turquoise-dark);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.site-footer {
    display: none;
}

.site-main {
    min-height: 100vh;
}

.planner-page {
    padding: 18px 10px 40px;
}

.planner-phone {
    width: min(100%, var(--planner-width));
    margin-inline: auto;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 251, 244, 0.94)
        );
    border: 1px solid rgba(223, 215, 198, 0.9);
    border-radius: 30px;
    box-shadow: none;
    overflow: hidden;
}

.planner-appbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 18px 10px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.88),
            rgba(250, 246, 238, 0.88)
        );
}

.planner-appbar__title {
    margin: 0;
    color: var(--ariel-turquoise-dark);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.planner-appbar__sub {
    margin: 5px 0 0;
    color: var(--ariel-brown);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.planner-menu-button {
    display: grid;
    place-items: center;
    gap: 3px;
    width: 62px;
    height: 62px;
    padding: 0;
    color: var(--ariel-turquoise-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(53, 170, 153, 0.8);
    border-radius: 50%;
    cursor: default;
}

.planner-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
}

.planner-menu-button small {
    margin-top: 1px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.planner-hero {
    position: relative;
    padding: 12px 18px 18px;
    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(247, 241, 229, 0.94) 68%,
            rgba(244, 236, 223, 0.88) 100%
        );
    overflow: hidden;
}

.planner-hero::before,
.planner-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    opacity: 0.45;
}

.planner-hero::before {
    top: 26px;
    left: 18px;
    width: 84px;
    height: 84px;
    background: #d9f1eb;
}

.planner-hero::after {
    right: -14px;
    bottom: 8px;
    width: 76px;
    height: 76px;
    background: #f6d8d1;
}

.planner-ribbon {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: 6px auto 16px;
    padding: 7px 18px;
    color: var(--ariel-paper);
    background:
        linear-gradient(
            135deg,
            #4ac0ad,
            #2f9688
        );
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: none;
}

.planner-ribbon::before,
.planner-ribbon::after {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    content: "";
    background: inherit;
    transform: translateY(-50%) rotate(45deg);
}

.planner-ribbon::before {
    left: 2px;
}

.planner-ribbon::after {
    right: 2px;
}

.planner-speech {
    position: absolute;
    z-index: 2;
    max-width: 108px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.planner-speech::after {
    position: absolute;
    width: 14px;
    height: 14px;
    content: "";
    background: rgba(255, 255, 255, 0.94);
    transform: rotate(45deg);
}

.planner-speech--manager {
    top: 30px;
    left: 8px;
    color: var(--ariel-turquoise-dark);
    border-color: rgba(53, 170, 153, 0.75);
}

.planner-speech--manager::after {
    right: 18px;
    bottom: -9px;
    border-right: 2px solid rgba(53, 170, 153, 0.75);
    border-bottom: 2px solid rgba(53, 170, 153, 0.75);
}

.planner-speech--umi {
    top: 30px;
    right: 8px;
    color: #b85d51;
    border-color: rgba(207, 129, 115, 0.72);
}

.planner-speech--umi::after {
    left: 18px;
    bottom: -9px;
    border-right: 2px solid rgba(207, 129, 115, 0.72);
    border-bottom: 2px solid rgba(207, 129, 115, 0.72);
}

.planner-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: end;
    padding-top: 42px;
}

.planner-copy {
    order: 1;
    text-align: center;
}

.planner-copy__title {
    margin: 0;
    font-size: 31px;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-weight: 900;
}

.planner-copy__title span {
    color: var(--ariel-turquoise);
    font-size: 1.08em;
}

.planner-copy__lead {
    margin: 12px 0 0;
    color: var(--ariel-brown);
    font-size: 14px;
    font-weight: 700;
}

.planner-character {
    margin: 0;
}

.planner-character--manager {
    order: 2;
}

.planner-character--umi {
    order: 3;
}

.planner-character__stand {
    display: flex;
    justify-content: center;
}

.planner-character__body {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 120px;
    height: 150px;
    padding-bottom: 14px;
    border-radius: 26px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 247, 234, 0.96),
            rgba(252, 239, 215, 0.98)
        );
    box-shadow: none;
}

.planner-character--manager .planner-character__body {
    border: 2px solid rgba(53, 170, 153, 0.28);
}

.planner-character--umi .planner-character__body {
    border: 2px solid rgba(207, 129, 115, 0.28);
}

.planner-character__body::before {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 52px;
    height: 52px;
    content: "";
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    transform: translateX(-50%);
}

.planner-character__body::after {
    position: absolute;
    top: 64px;
    left: 50%;
    width: 74px;
    height: 58px;
    content: "";
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px 28px 18px 18px;
    transform: translateX(-50%);
}

.planner-character__body span {
    position: relative;
    z-index: 1;
    color: var(--ariel-brown-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.planner-character__caption {
    margin-top: 7px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.planner-section {
    padding: 18px 16px 0;
}

.planner-section__title {
    margin: 0 0 14px;
    color: var(--ariel-brown);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

.planner-section__title--small {
    font-size: 15px;
}

.planner-style-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.planner-style-card {
    display: grid;
    grid-template-columns: 56px 1fr 24px;
    align-items: center;
    gap: 12px;
    padding: 15px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(223, 215, 198, 0.95);
    border-radius: 20px;
    box-shadow: none;
}

.planner-style-card--active {
    border-color: rgba(53, 170, 153, 0.55);
    box-shadow: none;
}

.planner-style-card__icon {
    display: grid;
    width: 56px;
    height: 56px;
    color: var(--ariel-paper);
    background:
        linear-gradient(
            135deg,
            #5dcab8,
            #2d9788
        );
    border-radius: 50%;
    font-size: 28px;
    place-items: center;
}

.planner-style-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 900;
}

.planner-style-card__text {
    margin: 3px 0 0;
    color: var(--ariel-brown-soft);
    font-size: 12px;
    font-weight: 700;
}

.planner-style-card__arrow {
    display: grid;
    width: 24px;
    height: 24px;
    color: var(--ariel-turquoise-dark);
    border: 1px solid rgba(53, 170, 153, 0.5);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    place-items: center;
}

.planner-section--concerns {
    padding-top: 22px;
}

.planner-concern-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.planner-concern-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 220, 206, 0.95);
    border-radius: 18px;
    box-shadow: none;
}

.planner-concern-chip__icon {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 18px;
    place-items: center;
}

.planner-concern-chip__label {
    font-size: 20px;
    font-weight: 900;
}

.planner-result {
    margin: 24px 16px 0;
    padding: 20px 16px 18px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 248, 240, 0.96)
        );
    border: 2px solid rgba(233, 201, 119, 0.55);
    border-radius: 24px;
    box-shadow: none;
    text-align: center;
}

.planner-result__label {
    display: inline-block;
    margin: -34px auto 10px;
    padding: 4px 14px;
    color: var(--ariel-paper);
    background:
        linear-gradient(
            180deg,
            #e4c26f,
            #cea84b
        );
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.planner-result__title {
    margin: 0;
    font-size: 23px;
    line-height: 1.4;
    font-weight: 900;
}

.planner-result__main {
    color: var(--ariel-turquoise);
}

.planner-result__accent {
    color: #eb7f78;
}

.planner-result__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.planner-result-feature {
    padding: 12px 8px;
    background: rgba(250, 246, 238, 0.92);
    border-radius: 18px;
}

.planner-result-feature__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
    font-size: 26px;
    place-items: center;
}

.planner-result-feature__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

.planner-result__note {
    margin: 16px 0 0;
    color: var(--ariel-brown);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.planner-line {
    padding: 24px 16px 24px;
}

.planner-line__button {
    display: grid;
    grid-template-columns: 58px 1fr 72px;
    gap: 12px;
    align-items: center;
    min-height: 84px;
    padding: 14px 14px;
    color: var(--ariel-paper);
    background:
        linear-gradient(
            135deg,
            #4ccc97,
            #2ba96f
        );
    border-radius: 999px;
    box-shadow: none;
}

.planner-line__icon {
    display: grid;
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
    place-items: center;
}

.planner-line__body {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.planner-line__body strong {
    font-size: 22px;
    font-weight: 900;
}

.planner-line__body small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.94;
}

.planner-line__badge {
    display: grid;
    width: 72px;
    height: 72px;
    color: #ea6f68;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    place-items: center;
}

.planner-line__age {
    margin: 15px 0 0;
    color: var(--ariel-brown-soft);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.planner-line__preview-note {
    margin: 10px 0 0;
    color: var(--ariel-brown-soft);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

@media (min-width: 480px) {
    .planner-hero__inner {
        grid-template-columns: 110px 1fr 110px;
        gap: 8px;
        align-items: end;
    }

    .planner-copy {
        order: 2;
    }

    .planner-character--manager {
        order: 1;
    }

    .planner-character--umi {
        order: 3;
    }

    .planner-character__body {
        width: 104px;
        height: 140px;
    }
}

/* ARIEL STAGE 2C COMPACT LAYOUT 202607 */

/*
 * Keep the accessibility link available for keyboard users,
 * but completely hide it during normal viewing.
 */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    transform: none;
}

.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    width: auto;
    height: auto;
    margin: 0;
    padding: 9px 12px;
    overflow: visible;
    color: var(--ariel-paper);
    background: var(--ariel-turquoise-dark);
    border-radius: 8px;
    clip: auto;
    clip-path: none;
}

/*
 * This is an actual responsive website rather than a phone mock-up.
 */
.planner-page {
    padding: 0;
}

.planner-phone {
    width: min(100%, 560px);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

/*
 * Hero:
 * On narrow phones the title uses the full width and the two
 * character placeholders sit side by side underneath it.
 */
.planner-hero {
    padding-right: 14px;
    padding-left: 14px;
}

.planner-hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 44px;
    column-gap: 14px;
    row-gap: 12px;
}

.planner-copy {
    grid-column: 1 / -1;
    order: 1;
}

.planner-character--manager {
    grid-column: 1;
    order: 2;
}

.planner-character--umi {
    grid-column: 2;
    order: 3;
}

.planner-copy__title {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.28;
}

.planner-copy__lead {
    margin-top: 9px;
    font-size: 13px;
}

.planner-character__body {
    width: min(100%, 148px);
    height: 148px;
}

.planner-character__caption {
    margin-top: 5px;
    font-size: 12px;
}

/*
 * Three work-style choices should be visible together.
 */
.planner-style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.planner-style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 150px;
    padding: 12px 6px 10px;
    gap: 4px;
    text-align: center;
    border-radius: 18px;
}

.planner-style-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    font-size: 22px;
}

.planner-style-card__title {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.4;
}

.planner-style-card__text {
    margin: 0;
    font-size: 9px;
    line-height: 1.45;
}

.planner-style-card__arrow {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: auto;
    font-size: 11px;
}

/*
 * Concern choices are also displayed as three compact choices.
 */
.planner-concern-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.planner-concern-chip {
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 78px;
    padding: 9px 3px;
    gap: 3px;
    text-align: center;
    border-radius: 16px;
}

.planner-concern-chip__icon {
    width: 27px;
    height: 27px;
    font-size: 17px;
}

.planner-concern-chip__label {
    font-size: 12px;
    line-height: 1.35;
}

/*
 * Four recommendation features should fit in one row.
 */
.planner-result {
    margin-right: 14px;
    margin-left: 14px;
    padding-right: 11px;
    padding-left: 11px;
}

.planner-result__title {
    font-size: 21px;
}

.planner-result__features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 15px;
}

.planner-result-feature {
    min-width: 0;
    padding: 9px 2px;
    border-radius: 14px;
}

.planner-result-feature__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 5px;
    font-size: 21px;
}

.planner-result-feature__text {
    font-size: 10px;
    line-height: 1.45;
}

.planner-result__note {
    margin-top: 13px;
    font-size: 11px;
}

/*
 * Compact LINE call-to-action.
 */
.planner-line {
    padding-right: 14px;
    padding-left: 14px;
}

.planner-line__button {
    grid-template-columns: 46px minmax(0, 1fr) 56px;
    min-height: 74px;
    padding: 10px 11px;
    gap: 7px;
}

.planner-line__icon {
    width: 46px;
    height: 46px;
    font-size: 11px;
}

.planner-line__body strong {
    font-size: 16px;
    line-height: 1.35;
}

.planner-line__body small {
    font-size: 9px;
}

.planner-line__badge {
    width: 56px;
    height: 56px;
    font-size: 11px;
}

/*
 * On wider devices, place the characters beside the title.
 */
@media (min-width: 480px) {
    .planner-hero__inner {
        grid-template-columns:
            92px
            minmax(0, 1fr)
            92px;
        padding-top: 42px;
        gap: 10px;
    }

    .planner-copy {
        grid-column: 2;
        order: 2;
    }

    .planner-character--manager {
        grid-column: 1;
        order: 1;
    }

    .planner-character--umi {
        grid-column: 3;
        order: 3;
    }

    .planner-character__body {
        width: 90px;
        height: 132px;
    }

    .planner-copy__title {
        font-size: 34px;
    }
}

@media (min-width: 700px) {
    .planner-page {
        padding: 24px 16px 48px;
    }

    .planner-phone {
        border: 1px solid rgba(223, 215, 198, 0.9);
        border-radius: 30px;
        box-shadow: none;
    }
}

/* ARIEL STAGE 3A INTERACTION 202607 */

.planner-style-card,
.planner-concern-chip {
    width: 100%;
    color: inherit;
    font: inherit;
    cursor: pointer;
    appearance: none;
    transition: none;
}

.planner-style-card.is-selected {
    background:
        linear-gradient(
            180deg,
            rgba(223, 243, 238, 0.94),
            rgba(255, 255, 255, 0.96)
        );
    border-color: var(--ariel-turquoise);
    box-shadow: none;
}

.planner-concern-chip.is-selected {
    color: var(--ariel-turquoise-dark);
    background: var(--ariel-turquoise-soft);
    border-color: var(--ariel-turquoise);
    box-shadow: none;
}

.planner-style-card:focus-visible,
.planner-concern-chip:focus-visible {
    outline:
        3px solid
        rgba(53, 170, 153, 0.22);
    outline-offset: 2px;
}


/* ARIEL SHADOW FREE DESIGN 202607 */
/* Shadows are intentionally not used in this design. */


/* ARIEL SHADOW HOVER FREE 202607 */

/*
 * Smartphone-first interaction policy:
 * Mouse hover does not move, recolor, brighten or animate elements.
 * Keyboard focus remains visible for accessibility.
 */
.planner-menu-button:focus-visible,
.planner-style-card:focus-visible,
.planner-concern-chip:focus-visible,
.planner-line__button:focus-visible,
.site-brand:focus-visible {
    outline: 3px solid rgba(53, 170, 153, 0.32);
    outline-offset: 3px;
}

/* ARIEL STAGE 3B EXPLICIT RESULT 202607 */

[hidden] {
    display: none !important;
}

.planner-style-card,
.planner-concern-chip {
    position: relative;
}

.planner-style-card.is-selected::after,
.planner-concern-chip.is-selected::after {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 5px;
    color: var(--ariel-paper);
    content: "✓ 選択中";
    background: var(--ariel-turquoise);
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    line-height: 1.4;
}

.planner-submit {
    padding: 22px 16px 8px;
    text-align: center;
}

.planner-submit__guide {
    margin: 0 0 9px;
    color: var(--ariel-brown);
    font-size: 12px;
    font-weight: 800;
}

.planner-submit__button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 10px 14px;
    color: var(--ariel-paper);
    cursor: pointer;
    background: var(--ariel-turquoise);
    border: 2px solid var(--ariel-turquoise-dark);
    border-radius: 18px;
    box-shadow: none;
    transition: none;
}

.planner-submit__arrow {
    display: grid;
    width: 30px;
    height: 30px;
    color: var(--ariel-turquoise-dark);
    background: var(--ariel-paper);
    border-radius: 50%;
    font-size: 17px;
    font-weight: 900;
    place-items: center;
}

.planner-submit__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.35;
}

.planner-submit__body small {
    font-size: 10px;
    font-weight: 700;
}

.planner-submit__body strong {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 900;
}

.planner-result__actions {
    margin-top: 15px;
    text-align: center;
}

.planner-result__reset {
    min-height: 42px;
    padding: 8px 18px;
    color: var(--ariel-turquoise-dark);
    cursor: pointer;
    background: var(--ariel-paper);
    border: 1px solid var(--ariel-turquoise);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
    transition: none;
}

.planner-submit__button:focus-visible,
.planner-result__reset:focus-visible {
    outline: 3px solid rgba(53, 170, 153, 0.32);
    outline-offset: 3px;
}
