:root {
    --color-bg-base: #FAF8F3;
    --color-bg-sub: #F5F0E8;
    --color-pink: #EFA6B5;
    --color-green: #8FAF78;
    --color-text-main: #3F3A37;
    --color-text-sub: #77716C;
    --color-border: #E4DED5;
}

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

body {
    margin: 0;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
 * Shared "back to home" text link used at the end of fixed sub-pages
 * (template-parts/back-home.php). Kept as a plain underlined text
 * link, matching the site's other quiet CTAs, since it is navigation
 * rather than a page-specific call to action.
 */
.back-home-link {
    margin: 0;
    text-align: center;
}

.back-home-link a {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
}

.back-home-link a:hover,
.back-home-link a:focus-visible {
    color: var(--color-pink);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
