@charset "UTF-8";

@font-face {
    font-family: 'TopBarrierTitle';
    src: url('/common/font/top/business-barrier-1030.woff') format('woff'),
        url('/common/font/top/business-barrier-1030.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020, U+3044, U+304C, U+4E8B, U+696D, U+7949, U+798F, U+969C;
}

@font-face {
    font-family: 'TopCareTitle';
    src: url('/common/font/top/business-care-1030.woff') format('woff'),
        url('/common/font/top/business-care-1030.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020, U+4E8B, U+4ECB, U+4FDD, U+696D, U+8B77, U+967A;
}

@font-face {
    font-family: 'TopBusinessTitle';
    src: url('/common/font/top/business-child.woff') format('woff'),
        url('/common/font/top/business-child.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020, U+3066, U+4E8B, U+5B50, U+63F4, U+652F, U+696D, U+80B2;
}

@font-face {
    font-family: 'TopAboutHandwritten';
    src: url('/common/font/top/about-handwritten.woff') format('woff'),
        url('/common/font/top/about-handwritten.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TopAboutNameHandwritten';
    src: url('/common/font/top/about-name-handwritten.woff') format('woff'),
        url('/common/font/top/about-name-handwritten.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.top-page {
    --orange: #ff921a;
    --brown: #774617;
    --gray: #62544b;
    margin: 0;
    color: #40352d;
    background: #fcfaf8;
    font-size: 14px;
}

.top-page * {
    box-sizing: border-box;
}

.top-page a {
    color: inherit;
    text-decoration: none;
}

.top-page a:hover {
    color: #ed8825;
}

.top-page img {
    max-width: 100%;
}

.top-page main {
    overflow: hidden;
}

.top-page main h1, .top-page main h2, .top-page main h3, .top-page main p {
    margin: 0;
}

.top-hero {
    position: relative;
    z-index: 1;
    background: #a2b7dc;
    isolation: isolate;
}

.top-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 65vw;
    z-index: -1;
    background-color: #fff8d1;
    background-image: url('/common/img/top/hero-background.svg');
    background-position: center top;
    background-size: 225vw auto;
    background-repeat: no-repeat;
}

.top-business-circles {
    position: relative;
    height: 46vw;
    z-index: 2;
}

.top-business-circle {
    position: absolute;
    display: block;
    width: 39vw;
    height: 39vw;
    border-radius: 50%;
    overflow: hidden;
    background: var(--business-color);
}

.top-barrier {
    --business-color: #ff8077;
    --business-tint: #ffededeb;
}

.top-care {
    --business-color: #ffae2d;
    --business-tint: #fff2d8eb;
}

.top-child {
    --business-color: #8ecb38;
    --business-tint: #edf5dfeb;
}

.top-business-circle.top-barrier {
    left: -1vw;
    top: 13vw;
    background: #ffa98e;
}

.top-business-circle.top-care {
    left: 30vw;
    top: -3vw;
    width: 41vw;
    height: 41vw;
    background: #ffcd63;
}

.top-page .top-business-circle.top-care {
    z-index: 3;
}

.top-business-circle.top-child {
    right: -3vw;
    top: 14vw;
    background: #b1d86f;
}

/* 外側と内側を正円にし、写真の円を少し下へずらす。 */
.top-business-inner {
    position: absolute;
    top: 9%;
    left: 6%;
    display: block;
    width: 88%;
    height: 88%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--business-color);
}

.top-business-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-business-circle.top-barrier img {
    object-position: 35% center;
}

.top-business-inner > span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1vw 0 1.2vw;
    text-align: center;
    background: var(--business-color);
    color: #fff;
}

.top-business-circle strong {
    display: block;
    font-family: 'TopBusinessTitle', 'BIZ UDPGothic', sans-serif;
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: .22em;
}

.top-business-circle.top-barrier strong {
    font-family: 'TopBarrierTitle', 'BIZ UDPGothic', sans-serif;
}

.top-business-circle.top-care strong {
    font-family: 'TopCareTitle', 'BIZ UDPGothic', sans-serif;
}

.top-business-circle small {
    display: block;
    font-weight: 700;
    font-size: .95vw;
    margin-top: .5vw;
}

.top-business-circle:hover img {
    filter: brightness(1.06);
}

.top-recruit-link {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    width: 16vw;
    height: 14vw;
    padding: 3vw 1.3vw 0 3vw;
    border-radius: 0 0 0 100%;
    background: linear-gradient(120deg, #ffb26b, #f3870b);
    border-bottom: 5px solid rgb(255 255 255 / 65%);
    border-left: 5px solid rgb(255 255 255 / 65%);
    color: #fff !important;
    text-align: right;
    background-clip: padding-box;
}

.top-recruit-link strong {
    display: block;
    font-size: 2vw;
    letter-spacing: .14em;
}

.top-recruit-link span {
    display: block;
    margin-top: .8vw;
    font-size: 1vw;
}

.top-recruit-link b {
    background: #fff;
    color: #f38b1a;
    border-radius: 3px;
    padding: 2px;
}

.top-page .top-recruit-link:hover {
    opacity: 1;
}

.top-recruit-link > strong,
.top-recruit-link > span,
.top-about-link > span,
.top-about-link > small {
    opacity: 1;
    transition: opacity .5s ease;
}

.top-recruit-link:hover > strong,
.top-recruit-link:hover > span,
.top-about-link:hover > span,
.top-about-link:hover > small {
    opacity: .5;
}

.top-menu-button {
    display: none;
}

.top-welcome {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 50%;
    width: 112%;
    margin: -8vw -6% 0;
    padding: 6vw 12% 10vw;
}

.top-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #62544b;
    gap: 1vw;
    font-size: 4vw;
    line-height: 1.1;
    font-weight: 400;
}

.top-logo img {
    width: 6.5vw;
}

.top-logo small {
    display: block;
    font-size: 1.6vw;
    letter-spacing: .12em;
    margin-bottom: .5vw;
}

.top-tagline {
    text-align: center;
    font-size: 1.2vw;
    padding-top: 1.4vw;
}

.top-navigation {
    display: flex;
    justify-content: center;
    gap: 4vw;
    padding: 4vw 0 6vw;
}

.top-navigation a {
    font-size: 1vw;
    border-bottom: 2px solid #e7ba98;
}

.top-latest {
    display: grid;
    grid-template-columns: 14% 1fr;
    align-items: center;
    gap: 3vw;
    width: 78%;
    margin: 0 auto;
}

.top-latest h2 {
    font-size: 1.6vw;
    font-weight: 700;
}

.top-news-row {
    display: grid;
    grid-template-columns: 7em 6em 1fr 20px;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #d0c7c0;
    font-size: 12px;
}

.top-news-row .top-news-tag {
    color: var(--news-color, #774617);
    border: 1px solid currentColor;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
}

.top-news-row .top-news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-news-row .top-news-arrow {
    color: var(--news-color, #774617);
    text-align: center;
    font-size: 18px;
}

.top-latest .top-news-row {
    font-size: .9vw;
    gap: 1vw;
    padding: .7vw 0;
}

/* 新着情報は、お知らせ一覧と同じカテゴリ色のホバー表示にする。 */
:is(.top-latest, .top-information) .top-news-row {
    position: relative;
}

.top-page :is(.top-latest, .top-information) .top-news-row:hover {
    color: inherit;
}

:is(.top-latest, .top-information) .top-news-tag {
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

:is(.top-latest, .top-information) .top-news-title {
    transition: color .2s ease-in-out;
}

:is(.top-latest, .top-information) .top-news-row .top-news-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(50%, -50%);
    display: grid;
    place-items: center;
    justify-self: center;
    width: clamp(6px, .55vw, 10px);
    height: clamp(6px, .55vw, 10px);
    border-radius: 50%;
    background: var(--news-color, #774617);
    font-size: 0;
    transition: width .2s ease, height .2s ease;
}

:is(.top-latest, .top-information) .top-news-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(6px, .65vw, 10px);
    height: clamp(6px, .65vw, 10px);
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translate(-65%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity .2s ease;
}

:is(.top-latest, .top-information) .top-news-row:is(:hover, :focus-visible) .top-news-tag {
    background: var(--news-color, #774617);
    color: #fff;
}

:is(.top-latest, .top-information) .top-news-row:is(:hover, :focus-visible) .top-news-title {
    color: var(--news-color, #774617);
}

:is(.top-latest, .top-information) .top-news-row:is(:hover, :focus-visible) .top-news-arrow {
    width: clamp(24px, 2.2vw, 34px);
    height: clamp(24px, 2.2vw, 34px);
}

:is(.top-latest, .top-information) .top-news-row:is(:hover, :focus-visible) .top-news-arrow::after {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    :is(.top-latest, .top-information) .top-news-tag,
    :is(.top-latest, .top-information) .top-news-title,
    :is(.top-latest, .top-information) .top-news-row .top-news-arrow,
    :is(.top-latest, .top-information) .top-news-arrow::after {
        transition: none;
    }
}

.top-about {
    display: block;
    position: relative;
    height: 53vw;
    margin-top: -4vw;
    background: #a2b7dc;
    overflow: hidden;
}

/* 白い楕円を写真より手前に保ち、空の色の境界をなじませる。 */
.top-about::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8vw;
    background: linear-gradient(to bottom, #a2b7dc, transparent);
    pointer-events: none;
}

.top-about > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-about h2 {
    position: absolute;
    top: 5vw;
    left: 6vw;
    color: #fff;
    letter-spacing: .4em;
    font-size: 3vw;
    font-weight: 400;
    line-height: 1.7;
    transform: rotate(-7deg);
}

.top-about h2 span {
    padding-left: 23vw;
}

.top-page .top-about-link {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width: 17vw;
    height: 14vw;
    padding: 0 1.2vw 1.8vw 0;
    background: #67b96c80;
    border-radius: 100% 0 0 0;
    border-top: 10px solid #edf4c2cc;
    border-left: 10px solid #edf4c2cc;
    text-align: right;
    color: #62544b;
    font-size: 2vw;
}

.top-page .top-about-link:hover {
    color: #62544b;
    opacity: 1;
}

.top-about-link-title {
    display: flex;
    align-items: baseline;
    padding: 0 .25em .08em;
    border-bottom: 4px solid currentColor;
    line-height: 1.2;
    white-space: nowrap;
}

.top-about-link-title strong {
    font-weight: 700;
}

.top-about-link-title > span {
    font-size: .65em;
}

.top-about-link small {
    display: block;
    margin-top: .2em;
    padding-right: .5em;
    font-size: .75vw;
    font-weight: 600;
    line-height: 1.2;
}

.top-information {
    position: relative;
    isolation: isolate;
    padding: 15vw 0 16vw;
}

.top-information-card {
    position: relative;
    width: 76%;
    margin: auto;
    padding: 3vw;
    border-radius: 3vw;
    background: #fff;
    box-shadow: 0 0 35px #e9ca9e88;
}

.top-information-header {
    display: flex;
    align-items: center;
    gap: 4vw;
    margin-bottom: 2vw;
}

.top-information h2 {
    width: max-content;
    flex-shrink: 0;
    font-size: 2.2vw;
    white-space: nowrap;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
}

.top-information h2 small {
    display: block;
    margin-top: .15em;
    font-size: 1vw;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    color: #774617;
}

.top-news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2vw;
    justify-content: space-between;
    flex: 1;
}

.top-news-filters button {
    min-width: 55px;
    padding: 3px 10px;
    border: 1px solid var(--news-color, #e8ae20);
    border-radius: 4px;
    background: #fff;
    color: var(--news-color, #b17a00);
    font-size: 11px;
}

.top-news-filters button {
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.top-news-filters button:not([aria-pressed="true"]):is(:hover, :focus-visible),
.top-news-filters button[aria-pressed="true"] {
    background: var(--news-color, #edb82f);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .top-news-filters button {
        transition: none;
    }
}

.top-service-card li a {
    position: relative;
    display: block;
    transition: color .2s ease-in-out;
}

.top-service-card li a::before {
    content: "";
    position: absolute;
    top: .65em;
    left: -.85em;
    width: .45em;
    height: .45em;
    border-radius: 50%;
    background: var(--business-color);
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.top-page .top-service-card li a:is(:hover, :focus-visible) {
    color: var(--business-color);
}

.top-service-card li a:is(:hover, :focus-visible)::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .top-service-card li a,
    .top-service-card li a::before {
        transition: none;
    }
}

.top-more,
.top-service-more {
    display: block;
    width: max-content;
    margin-left: auto;
    padding: .6em 1.2em;
    border-radius: 0 20px 20px 0;
    color: #fff !important;
    background: #774617;
}

.top-more {
    position: relative;
    margin-bottom: -4vw;
    margin-top: 2vw;
    border: 1px solid transparent;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.top-page .top-information .top-more:is(:hover, :focus-visible) {
    background: #fdf8ff;
    color: #774617 !important;
    border-color: #774617;
    opacity: 1;
}

.top-bubble {
    position: absolute;
    z-index: -1;
    width: 28vw;
    height: 28vw;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.top-bubble::after {
    content: '';
    position: absolute;
    inset: 1vw -1vw -1vw 1vw;
    border-radius: 50%;
    background: currentColor;
    opacity: .12;
}

.top-bubble-pink {
    left: -13vw;
    bottom: 14vw;
    color: #ffa4c3;
}

.top-bubble-orange {
    right: -1vw;
    top: 8vw;
    color: #ffb56b;
}

.top-bubble-green {
    right: 25vw;
    bottom: 10vw;
    width: 23vw;
    height: 23vw;
    color: #aedb6e;
}

.top-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.3vw;
    padding: 0 4vw;
}

.top-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2vw 1.2vw 1vw;
    border: .85vw solid var(--business-color);
    border-radius: 3vw;
    /* background: linear-gradient(var(--business-tint), var(--business-tint)), url('/common/img/top/barrier.webp') center / cover; */
    background: linear-gradient(var(--business-tint), var(--business-tint));
}

.top-page .top-service-card h2 {
    font-size: 1.8vw;
    letter-spacing: .3em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.3vw;
}

.top-service-card h2::first-letter {
    color: var(--business-color);
    font-size: 1.5em;
}

.top-service-photo {
    width: 90%;
    aspect-ratio: 1.4;
    object-fit: cover;
    border-radius: 1.5vw;
    border: 6px solid white;
    align-self: center;
    margin-bottom: 1.3vw;
}

.top-page .top-service-card h3 {
    font-size: .95vw;
    background: var(--business-color);
    color: white;
    padding: .4em .5em;
    align-self: flex-start;
    margin: 1vw 0 .5vw;
}

.top-service-card ul {
    padding-left: 1.5vw;
    margin: 0 0 1vw;
    list-style: none;
    font-size: .95vw;
    font-weight: 700;
    line-height: 2;
}

.top-service-more {
    background: var(--business-color);
    border: 1px solid transparent;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
    margin-top: auto;
    font-size: 1vw;
}

.top-page .top-service-more:is(:hover, :focus-visible) {
    background: #fdf8ff;
    border-color: var(--business-color);
    color: var(--business-color) !important;
    opacity: 1;
}

.top-child-name {
    align-self: center;
    max-width: 100%;
    padding-left: 1em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    text-align: left;
}

.top-child-address {
    font-size: .9em;
}

.top-child-details {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0;
    width: 240px;
    max-width: 100%;
    margin: 36px auto;
    padding: 12px 28px;
    background: #ffffff99;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

.top-child-details dt {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.top-child-details dd {
    margin: 0;
    white-space: nowrap;
}

.top-recruit {
    position: relative;
    margin: 19vw 0 0;
    padding: 5vw 0 5vw 20vw;
    background: #ff921a;
}

.top-recruit-english {
    position: absolute;
    top: -9vw;
    left: 7vw;
    writing-mode: vertical-rl;
    color: #f4dc44;
    font-size: 8vw;
    font-weight: 700;
    line-height: 1;
}

.top-recruit-panel {
    display: flex;
    align-items: center;
    gap: 4vw;
    min-height: 22vw;
    padding: 3vw 5vw 0 4vw;
    border-radius: 3vw 0 0 3vw;
    background: #fff8f0;
    box-shadow: 0 8px 24px rgb(98 58 21 / 18%);
}

.top-recruit-photos {
    display: flex;
    gap: 3vw;
    align-self: flex-end;
    transform: translateY(5vw);
}

.top-recruit-photos img {
    width: 16vw;
    height: 16vw;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
}

.top-recruit-copy {
    align-self: stretch;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-align: right;
    padding-bottom: 2vw;
    white-space: nowrap;
}

.top-recruit-copy h2 {
    position: relative;
    font-size: 3vw;
    font-weight: 700;
    color: #62544b;
    line-height: 1.2;
}

.top-recruit-copy h2::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 1.2vw);
    width: 9.6vw;
    height: 2px;
    background: currentColor;
}

.top-recruit-copy a {
    display: flex;
    align-items: center;
    gap: .65em;
    width: fit-content;
    font-size: 1.2vw;
    font-weight: 700;
    letter-spacing: .12em;
    color: #62544b;
}

/* 採用情報の背景・写真を含むエリア全体を同じリンクにする。 */
.top-recruit-copy a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}

.top-recruit-copy a:hover {
    opacity: 1;
}

.top-recruit:has(.top-recruit-copy a:focus-visible) {
    outline: 3px solid #62544b;
    outline-offset: -3px;
}

.top-recruit-copy a span {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: #f15a24;
    color: transparent;
    font-size: inherit;
}

.top-recruit-copy a span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .38em;
    height: .38em;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-65%, -50%) rotate(45deg);
}

/* PCの採用情報は写真・文字・余白を60％に縮小する。 */
@media (min-width: 768px) {
    .top-recruit {
        margin: 11.4vw 0 0;
        padding: 3vw 0 3vw 20vw;
    }

    .top-recruit-english {
        top: -5.4vw;
        left: 5vw;
        font-size: 4.8vw;
    }

    .top-recruit-panel {
        gap: 2.4vw;
        min-height: 13.2vw;
        padding: 1.8vw 3vw 0 2.4vw;
        border-radius: 1.8vw 0 0 1.8vw;
    }

    .top-recruit-photos {
        gap: 1.8vw;
        transform: translateY(3vw);
    }

    .top-recruit-photos img {
        width: 9.6vw;
        height: 9.6vw;
    }

    .top-recruit-copy {
        padding-bottom: 1.2vw;
    }

    .top-recruit-copy h2 {
        font-size: clamp(30px, 2.7vw, 52px);
    }

    .top-recruit-copy a {
        font-size: clamp(14px, 1.15vw, 22px);
    }
}

/* フルHDで事業紹介カードの全体を見渡せる寸法にする。 */
@media (min-width: 768px) {
    .top-services {
        width: calc(100% - 64px);
        max-width: 1260px;
        margin-inline: auto;
        padding: 0;
        gap: 24px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .top-service-card {
        min-width: 0;
        padding: 18px 14px 12px;
        border-width: 10px;
        border-radius: 34px;
    }

    .top-page .top-service-card h2 {
        font-size: clamp(18px, 1.45vw, 28px);
        letter-spacing: .3em;
        margin-bottom: 14px;
    }

    .top-service-photo {
        width: 90%;
        max-height: 190px;
        border-width: 6px;
        border-radius: 22px;
        margin-bottom: 12px;
    }

    .top-page .top-service-card h3 {
        font-size: 14px;
        font-weight: 700;
        margin: 12px 0 6px;
    }

    .top-service-card ul {
        padding-left: clamp(16px, 1.5vw, 28px);
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.9;
    }

    .top-service-more {
        font-size: 15px;
    }

    .top-child-name {
        font-size: 14px;
        line-height: 1.75;
    }

}

/* お知らせカードは参考デザインの横幅と文字の比率に合わせる。 */
@media (min-width: 768px) {
    .top-information-card {
        width: calc(100% - 80px);
        max-width: 1160px;
        padding: 40px 48px 60px;
        border-radius: 46px;
    }

    .top-information-header {
        gap: 40px;
        margin-bottom: 56px;
        justify-content: space-between;
    }

    .top-information h2 {
        font-size: clamp(27px, 1.95vw, 37px);
    }

    .top-information h2 small {
        font-size: 18px;
    }

    .top-news-filters {
        flex: 0 1 650px;
        gap: 16px;
    }

    .top-news-filters button {
        min-width: 94px;
        padding: 3px 12px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.3;
    }

    .top-information .top-news-row {
        grid-template-columns: 7em 94px minmax(0, 1fr) 34px;
        min-height: 58px;
        padding: 12px 0 12px 20px;
        gap: 14px;
        font-size: clamp(14px, 1.05vw, 20px);
    }

    .top-information .top-news-row .top-news-tag {
        font-size: 16px;
        border-radius: 8px;
        line-height: 1.6;
    }

    .top-information .top-news-title {
        margin-left: clamp(16px, 6vw, 120px);
    }

    .top-information .top-news-row .top-news-arrow {
        right: 17px;
    }

    .top-information .top-more {
        margin-top: 56px;
        margin-bottom: -80px;
        padding: 8px 22px;
        font-size: 20px;
        font-weight: 700;
        border-radius: 0 24px 24px 0;
    }
}

/* 参考デザインの幅1540pxを基準に、背景は画面の両端まで広げる。 */
@media (min-width: 768px) {
    .top-hero {
        --top-hero-unit: min(1vw, 15.4px, 1.6vh);
    }

    .top-business-circles {
        width: calc(100 * var(--top-hero-unit));
        margin-inline: auto;
    }

    .top-hero::before {
        width: 100%;
        height: calc(65 * var(--top-hero-unit));
        background-size: calc(225 * var(--top-hero-unit)) auto;
    }

    .top-business-circles {
        height: calc(46 * var(--top-hero-unit));
    }

    .top-business-circle {
        width: calc(39 * var(--top-hero-unit));
        height: calc(39 * var(--top-hero-unit));
    }

    .top-business-circle.top-barrier {
        left: calc(-1 * var(--top-hero-unit));
        top: calc(13 * var(--top-hero-unit));
    }

    .top-business-circle.top-care {
        left: calc(30 * var(--top-hero-unit));
        top: calc(-3 * var(--top-hero-unit));
        width: calc(41 * var(--top-hero-unit));
        height: calc(41 * var(--top-hero-unit));
    }

    .top-business-circle.top-child {
        right: calc(-3 * var(--top-hero-unit));
        top: calc(14 * var(--top-hero-unit));
    }

    .top-business-inner > span {
        padding: calc(1 * var(--top-hero-unit)) 0 calc(1.2 * var(--top-hero-unit));
    }

    .top-business-circle strong {
        font-size: calc(2.4 * var(--top-hero-unit));
    }

    .top-business-circle small {
        font-size: calc(1.5 * var(--top-hero-unit));
        margin-top: calc(.5 * var(--top-hero-unit));
    }

    /* /care の共通ヘッダーと同じ寸法で画面右上に配置する。 */
    .top-recruit-link {
        top: 0;
        right: 0;
        width: 9.825vw;
        height: 8.625vw;
        padding: 1.5vw .825vw 0 2.325vw;
        border-bottom-width: 9px;
        border-left-width: 9px;
    }

    .top-recruit-link strong {
        font-size: 1.425vw;
        font-weight: 700;
        letter-spacing: .15em;
        line-height: 1.45;
        white-space: nowrap;
    }

    .top-recruit-link span {
        margin-top: .3vw;
        font-size: .75vw;
        font-weight: 600;
        line-height: 1.4;
    }

    .top-welcome {
        margin: calc(-8 * var(--top-hero-unit)) -6% 0;
        padding: calc(6 * var(--top-hero-unit)) 12% calc(10 * var(--top-hero-unit));
    }

    .top-logo {
        gap: calc(1 * var(--top-hero-unit));
        font-size: calc(4 * var(--top-hero-unit));
    }

    .top-logo img {
        width: calc(6.5 * var(--top-hero-unit));
    }

    .top-logo small {
        font-size: calc(1.6 * var(--top-hero-unit));
        margin-bottom: calc(.5 * var(--top-hero-unit));
    }

    .top-tagline {
        font-size: calc(1.2 * var(--top-hero-unit));
        padding-top: calc(1.4 * var(--top-hero-unit));
    }

    .top-navigation {
        max-width: calc(80 * var(--top-hero-unit));
        margin-inline: auto;
        gap: clamp(12px, 3.5vw, 64px);
        flex-wrap: wrap;
        padding: calc(4 * var(--top-hero-unit)) 0 calc(6 * var(--top-hero-unit));
    }

    .top-navigation a {
        position: relative;
        isolation: isolate;
        flex-shrink: 0;
        padding-inline: .5em;
        border-bottom: 0;
        font-size: clamp(14px, calc(1.3 * var(--top-hero-unit)), 20px);
        font-weight: 600;
        line-height: 1.4;
        white-space: nowrap;
    }

    .top-navigation a::before {
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        bottom: 0;
        left: 0;
        height: .5em;
        background: #f9cfb9;
    }

    .top-latest {
        width: 100%;
        max-width: calc(66 * var(--top-hero-unit));
        grid-template-columns: 14% minmax(0, 1fr);
        gap: calc(3 * var(--top-hero-unit));
    }

    .top-latest #top-latest-list {
        min-width: 0;
    }

    .top-latest .top-news-row {
        grid-template-columns: 7em 6em minmax(0, 1fr) 20px;
    }

    .top-latest h2 {
        font-size: clamp(22px, calc(1.8 * var(--top-hero-unit)), 28px);
    }

    .top-latest .top-news-row .top-news-tag {
        font-size: 13px;
    }

    .top-latest .top-news-row {
        font-size: clamp(15px, calc(1.1 * var(--top-hero-unit)), 17px);
        gap: calc(1 * var(--top-hero-unit));
        padding: calc(.7 * var(--top-hero-unit)) 0;
    }
}

@media (max-width: 767.98px) {
    .top-hero {
        min-height: 0;
    }

    .top-business-circles {
        height: 57vw;
    }

    .top-business-circle {
        width: 42vw;
        height: 42vw;
    }

    .top-business-circle.top-barrier {
        top: 18vw;
    }

    .top-business-circle.top-child {
        top: 18vw;
    }

    .top-business-circle.top-care {
        left: 29vw;
        width: 44vw;
        height: 44vw;
        top: -7vw;
    }

    .top-business-circle strong {
        font-size: 2.8vw;
        letter-spacing: .08em;
    }

    .top-business-circle small {
        font-size: 2.1vw;
    }

    .top-recruit-link {
        display: none;
    }

    .top-menu-button {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        top: 0;
        right: 0;
        width: 52px;
        height: 52px;
        z-index: 10;
        border: 0;
        border-radius: 0 0 0 28px;
        background: #ff921a;
    }

    .top-menu-button span {
        width: 22px;
        height: 2px;
        background: white;
    }

    .top-menu-button[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

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

    .top-menu-button[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .top-welcome {
        padding-top: 8vw;
        padding-bottom: 13vw;
        margin-top: -7vw;
    }

    .top-logo {
        font-size: 7vw;
    }

    .top-logo img {
        width: 10vw;
    }

    .top-logo small {
        font-size: 2.6vw;
    }

    .top-tagline {
        font-size: 2.2vw;
    }

    .top-navigation {
        display: none;
    }

    .top-navigation.is-open {
        position: fixed;
        inset: 0;
        z-index: 8;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        background: #fff8eb;
        padding: 65px 24px 24px;
        overflow: auto;
    }

    .top-navigation a {
        font-size: 15px;
        padding: 15px 0;
    }

    .top-page:has(.top-navigation.is-open) .top-welcome {
        z-index: 6;
    }

    .top-latest {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 6vw;
    }

    .top-latest h2 {
        font-size: 18px;
    }

    .top-latest .top-news-row {
        font-size: 12px;
        padding: 7px 0;
    }

    .top-latest .top-news-row .top-news-tag {
        font-size: 11px;
    }

    .top-news-row {
        grid-template-columns: 6.4em 5em 1fr 12px;
        gap: 6px;
        font-size: 10px;
    }

    .top-news-row .top-news-tag {
        font-size: 9px;
    }

    .top-about {
        height: 60vw;
        margin-top: 0;
    }

    .top-about h2 {
        font-size: 4vw;
    }

    .top-page .top-about-link {
        font-size: 4.5vw;
        width: 36vw;
        height: 30vw;
        padding: 0 2vw 3.5vw 0;
        border-top-width: 6px;
        border-left-width: 6px;
    }

    .top-about-link-title {
        border-bottom-width: 2px;
    }

    .top-about-link small {
        font-size: 3vw;
    }

    .top-information {
        padding: 18vw 0;
    }

    .top-information-card {
        width: 90%;
        padding: 20px 14px;
        border-radius: 20px;
    }

    .top-information-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .top-information h2 {
        font-size: 22px;
    }

    .top-information h2 small {
        font-size: 10px;
    }

    .top-news-filters {
        justify-content: flex-start;
        gap: 8px;
    }

    .top-news-filters button {
        min-width: 44px;
        padding: 3px 6px;
        font-size: 10px;
    }

    .top-more {
        font-size: 12px;
        margin-bottom: -30px;
        margin-top: 18px;
    }

    /* 指で横に送れるスクロールスナップ。 */
    .top-services {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        padding: 0 8vw 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 8vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .top-services::-webkit-scrollbar {
        display: none;
    }

    .top-services > .top-service-card {
        flex: 0 0 84vw;
        min-width: 0;
        scroll-snap-align: start;
    }

    .top-service-card {
        padding: 20px 16px 14px;
        border-width: 6px;
        border-radius: 24px;
    }

    .top-page .top-service-card h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .top-service-photo {
        border-radius: 15px;
        max-height: 230px;
    }

    .top-page .top-service-card h3 {
        font-size: 14px;
        margin: 16px 0 8px;
    }

    .top-service-card ul {
        font-size: 12px;
        padding-left: 24px;
        margin-bottom: 16px;
    }

    .top-child-name, .top-child-details {
        font-size: 12px;
    }

    .top-child-details {
        padding: 16px;
        margin: 20px auto;
    }

    .top-service-more {
        font-size: 12px;
    }

    .top-recruit {
        margin-top: 25vw;
        padding: 6vw 0 8vw 27vw;
    }

    .top-recruit-panel {
        padding: 20px 14px 0;
        gap: 12px;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .top-recruit-copy {
        gap: 14px;
    }

    .top-recruit-copy h2 {
        padding-left: 48px;
        font-size: 24px;
    }

    .top-recruit-copy h2::before {
        right: auto;
        left: 0;
        width: 36px;
    }

    .top-recruit-copy a {
        font-size: 12px;
    }

    .top-recruit-photos {
        gap: 3vw;
        align-self: center;
    }

    .top-recruit-photos img {
        width: 21vw;
        height: 21vw;
        border-width: 3px;
    }

}

/* 共通includeのフッターを /care と同じ寸法で表示する。 */
.top-page .footer-recruit-arch .arch-title {
    font-size: 1.3875rem;
}

.top-page .footer-recruit-arch .arch-sub {
    font-size: 0.66rem;
}

.top-page .footer-logo-link .logo-sub {
    font-size: 0.54rem;
}

.top-page .footer-logo-link .logo-main {
    font-size: 1.05rem;
}

.top-page .footer-catch {
    font-size: 0.615rem;
}

.top-page .footer-address-info {
    font-size: 0.63rem;
}

.top-page .footer-copyright {
    font-size: 0.585rem;
}

@media (max-width: 991px) {
    .top-page .footer-recruit-arch .arch-title {
        font-size: 0.9375rem;
    }

    .top-page .footer-recruit-arch .arch-sub {
        font-size: 0.6375rem;
    }
}

.top-page .care-footer-sub {
    font-size: 1.0875vw;
}

.top-page .care-footer-title {
    font-size: 2.85vw;
}

.top-page .footer-tagline {
    font-size: 0.7875vw;
}

.top-page .footer-brand address {
    font-size: 0.7125vw;
}

.top-page .footer-sitemap h2 {
    font-size: 0.975vw;
}

.top-page .footer-sitemap a {
    font-size: 0.75vw;
}

.top-page .footer-bottom {
    font-size: 0.9vw;
}

.top-page .copyright {
    font-size: 0.6375vw;
}

.top-page .back-top {
    font-size: 3vw;
}

@media (max-width:991.98px) {
    .top-page .care-footer-sub {
        font-size: 13.5px;
    }

    .top-page .care-footer-title {
        font-size: 36px;
    }

    .top-page .footer-tagline {
        font-size: 9.75px;
    }

    .top-page .footer-brand address {
        font-size: 9.75px;
    }

    .top-page .footer-sitemap h2 {
        font-size: 11.25px;
    }

    .top-page .footer-sitemap a {
        font-size: 9px;
    }

    .top-page .footer-bottom {
        font-size: 9.75px;
    }

    .top-page .copyright {
        font-size: 8.25px;
    }
}

@media (max-width:767.98px) {
    .top-page .footer-sitemap h2 {
        font-size: 10.5px;
    }

    .top-page .footer-sitemap a {
        font-size: 9px;
    }

    .top-page .footer-bottom {
        font-size: 8.25px;
    }

    .top-page .back-top {
        font-size: 28.5px;
    }

    .top-page .copyright {
        font-size: 7.5px;
    }
}

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

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

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

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

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

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

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

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

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

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

@media (max-width: 767.98px) {
    .top-page .care-footer-sub,
    .top-page .footer-contact-message,
    .top-page .footer-contact-phone small,
    .top-page .footer-contact-hours,
    .top-page .footer-tagline,
    .top-page .footer-brand address,
    .top-page .footer-sitemap h2,
    .top-page .footer-sitemap a,
    .top-page .footer-bottom,
    .top-page .copyright {
        font-size: 14px;
    }

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

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

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

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

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

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

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

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

/* 1021トップページ詳細：スマホのロゴ、事業カルーセル、新着情報。 */
.top-mobile-brand {
    display: none;
}

@media (max-width: 767.98px) {
    .top-hero::before {
        height: 115vw;
        background-size: 360vw auto;
    }

    .top-menu-button {
        position: absolute;
        width: 22vw;
        height: 20vw;
        padding: 0 0 5vw 5vw;
        border-left: 3px solid #fff5cf;
        border-bottom: 3px solid #fff5cf;
        border-radius: 0 0 0 100%;
    }

    .top-business-circles {
        height: 94vw;
        isolation: isolate;
    }

    .top-business-circle[data-mobile-position] {
        top: 26vw;
        left: 50%;
        right: auto;
        width: 72vw;
        height: 72vw;
    }

    .top-page .top-business-circle[data-mobile-position="previous"] {
        transform: translateX(-133%);
        z-index: 1;
    }

    .top-page .top-business-circle[data-mobile-position="current"] {
        transform: translate(-50%, -12vw);
        z-index: 2;
    }

    .top-page .top-business-circle[data-mobile-position="next"] {
        transform: translateX(33%);
        z-index: 1;
    }

    .top-business-circle strong {
        font-size: 4vw;
        letter-spacing: .12em;
    }

    .top-business-circle small {
        margin-top: 1vw;
        font-size: 2.5vw;
    }

    .top-business-inner > span {
        padding: 2vw 0 4vw;
    }

    .top-welcome {
        width: 140%;
        margin: -15vw -20% 0;
        padding: 13vw 28% 15vw;
    }

    .top-welcome > .top-logo,
    .top-welcome > .top-tagline {
        display: none;
    }

    .top-navigation.is-open {
        inset: 22px 20px auto auto;
        width: min(76vw, 300px);
        max-height: calc(100dvh - 44px);
        padding: 64px 24px 24px;
        border-radius: 8px;
        box-shadow: 0 0 0 100vmax #0006;
    }

    .top-navigation a {
        padding: 14px 0;
        text-align: center;
        font-size: 13px;
    }

    .top-navigation a:hover {
        background: #ffb72e;
        color: #fff;
    }

    .top-latest {
        gap: 6px;
        margin-top: 0;
    }

    .top-latest h2 {
        text-align: center;
        font-size: 18px;
    }

    .top-latest .top-news-row,
    .top-information .top-news-row {
        grid-template-columns: max-content max-content minmax(0, 1fr);
        gap: 6px 10px;
        min-height: 68px;
        padding: 12px 26px 12px 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .top-latest .top-news-row time,
    .top-information .top-news-row time {
        grid-column: 1;
        grid-row: 1;
        white-space: nowrap;
    }

    .top-latest .top-news-row .top-news-tag,
    .top-information .top-news-row .top-news-tag {
        grid-column: 2;
        grid-row: 1;
        min-width: 48px;
        padding: 1px 6px;
        font-size: 12px;
        white-space: nowrap;
    }

    .top-latest .top-news-row .top-news-title,
    .top-information .top-news-row .top-news-title {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        font-size: 15px;
    }

    /* 白い楕円の外側には、単色の青ではなく下の写真を見せる。 */
    .top-hero {
        background: transparent;
    }

    .top-about {
        height: 86vw;
        margin-top: -22vw;
    }

    .top-about::before {
        display: none;
    }

    .top-about > img {
        position: absolute;
        top: -12vw;
        left: 0;
        height: 98vw;
        object-position: center;
    }

    .top-about h2 {
        top: 28vw;
        left: 7vw;
        font-size: 3.6vw;
    }

    .top-about h2 span {
        padding-left: 25vw;
    }
}


/* 見た目は共通ヘッダーに任せ、トップでは表示位置だけを制御する。 */
.top-page > .top-recruit-link {
    position: fixed;
    z-index: 1041;
}

.top-page .top-scroll-header .recruit {
    display: none;
}

.top-page .top-scroll-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1040;
    color: #62544b;
    transform: translateY(calc(-100% - 15vw));
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease-out, visibility 0s linear .24s;
}

.top-page .top-scroll-header .recruit {
    color: #fff;
}

.top-page .top-scroll-header[hidden] {
    display: none;
}

.top-page .top-scroll-header.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .top-page .top-scroll-header {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .top-page .top-scroll-header {
        display: none;
    }
}

/* 表示順序と配置を保ち、初回アニメーションをゆったり再生する。 */
.top-opening {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7f3 0%, #fffbf8 50%, #fef6ef 100%);
    pointer-events: none;
    animation: top-opening-out 1.05s ease 1.35s both;
}

.top-opening-first .top-opening {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

.top-opening-catch {
    margin: 0;
    color: #774617;
    font-size: clamp(16px, 1.3vw, 24px);
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

.top-opening-catch span {
    display: inline-block;
}

.top-opening > img {
    width: 130px;
    height: auto;
    animation: top-opening-logo 1.65s cubic-bezier(.16, 1, .3, 1) both;
}

.top-page.top-opening-first .top-business-circle {
    --opening-x: 0px;
    --opening-y: -20px;
    animation: top-opening-circle 1.275s cubic-bezier(.16, 1, .3, 1) 1.725s backwards;
}

.top-page.top-opening-first .top-business-circle.top-barrier {
    --opening-x: -20px;
    --opening-y: 10%;
    animation-delay: 2.1s;
}

.top-page.top-opening-first .top-business-circle.top-child {
    --opening-x: 20px;
    --opening-y: 10%;
    animation-delay: 2.475s;
}

/* 背景と写真の境界は固定し、白いエリア内の内容だけを動かす。 */
.top-page.top-opening-first .top-welcome > * {
    animation: top-opening-welcome 1.575s cubic-bezier(.34, 1.45, .64, 1) 2.925s backwards;
}

@keyframes top-opening-out {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes top-opening-logo {
    0% {
        opacity: 0;
        transform: scale(.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 個別の translate・scale を使い、スマホ配置用の transform と両立する。 */
@keyframes top-opening-circle {
    from {
        opacity: 0;
        translate: var(--opening-x) var(--opening-y);
        scale: var(--opening-scale, .65);
    }
    to {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

@keyframes top-opening-welcome {
    0% {
        opacity: 0;
        translate: 0 var(--opening-rise, 140px);
    }
    70% {
        opacity: 1;
        translate: 0 var(--opening-bounce, -10px);
    }
    100% {
        opacity: 1;
        translate: 0 0;
    }
}

/* スマホでは順序を保ち、移動量と再生時間を控えめにする。 */
@media (max-width: 767.98px) {
    .top-opening {
        animation-duration: 0.75s;
        animation-delay: 0.975s;
    }

    .top-opening > img {
        animation-duration: 1.275s;
    }

    .top-page.top-opening-first .top-business-circle {
        --opening-scale: .85;
        --opening-y: -10px;
        animation-duration: 0.975s;
        animation-delay: 1.275s;
    }

    .top-page.top-opening-first .top-business-circle.top-barrier {
        --opening-x: -10px;
        --opening-y: 5%;
        animation-delay: 1.575s;
    }

    .top-page.top-opening-first .top-business-circle.top-child {
        --opening-x: 10px;
        --opening-y: 5%;
        animation-delay: 1.875s;
    }

    .top-page.top-opening-first .top-welcome > * {
        --opening-rise: 50px;
        --opening-bounce: -3px;
        animation-duration: 1.275s;
        animation-delay: 2.325s;
        animation-timing-function: cubic-bezier(.22, 1, .36, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-opening-first .top-opening {
        display: none;
    }

    .top-opening > img,
    .top-page.top-opening-first .top-business-circle,
    .top-page.top-opening-first .top-welcome > * {
        animation: none;
    }
}



@media (max-width: 767.98px) {
    .top-business-circles {
        touch-action: pan-y pinch-zoom;
    }

    .top-business-circle[data-mobile-position] {
        transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    }


}

@media (prefers-reduced-motion: reduce) {
    .top-business-circle[data-mobile-position] {
        transition: none;
    }
}


/* スマホのロゴとメニューボタンはスクロール中も画面上部に固定する。 */
@media (max-width: 767.98px) {
    .top-page > .top-mobile-brand {
        position: fixed;
        z-index: 1042;
    }

    .top-page > .top-menu-button {
        position: fixed;
        z-index: 1043;
    }
}

/* お知らせ下の白い曲線を、写真に重ねて表示する。 */
.top-page .top-welcome {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-bottom: 1vw;
}

.top-page .top-about {
    height: auto;
    margin-top: -1px;
    background: #fff;
}

.top-page .top-about::before {
    display: none;
}

.top-about-visual {
    position: relative;
    width: 100%;
}

.top-about-visual::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    pointer-events: none;
    display: block;
    z-index: 1;
    top: -1px;
    height: 10vw;
    background: url('/common/img/top/about-white-curve.svg') center / 100% 100% no-repeat;
    border-radius: 0;
}

.top-page .top-about-visual > img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .top-page .top-welcome {
        padding-bottom: 80px;
    }
}

/* ページ内移動先が固定ヘッダーの下に隠れないようにする。 */
.top-page #information,
.top-page #contact {
    scroll-margin-top: 90px;
}

/* リンクを画面下寄りに置き、上にある写真を広く見せる。 */
.top-page #about {
    scroll-margin-top: max(90px, calc(100svh - 14vw - 80px));
}

@media (max-width: 767.98px) {
    .top-page #about {
        scroll-margin-top: max(90px, calc(100svh - 21vw - 72px));
    }
}

/* 文字サイズを維持し、カードの幅と余白だけを小さくする。 */
@media (min-width: 768px) {
    .top-information-card {
        width: calc(80% - 64px);
        max-width: 928px;
        padding: 32px 38.4px 48px;
        border-radius: 36.8px;
    }

    .top-information-header {
        gap: 32px;
        margin-bottom: 44.8px;
    }

    .top-information .top-news-filters {
        flex-basis: 520px;
        gap: 12.8px;
    }

    .top-information .top-news-filters button {
        min-width: 75.2px;
        padding-inline: 9.6px;
    }

    .top-information .top-news-title {
        margin-left: clamp(12.8px, 4.8vw, 96px);
    }

    .top-information .top-more {
        margin-top: 44.8px;
        margin-bottom: -64px;
        padding: 6px 16px;
        font-size: 14px;
        border-radius: 0 18px 18px 0;
    }
}

/* お知らせ一覧の本文は、端末幅によらず14pxに揃える。 */
.top-information #top-news-list > p,
.top-information .top-news-row,
.top-information .top-news-row time,
.top-information .top-news-row .top-news-tag,
.top-information .top-news-row .top-news-title {
    font-size: 14px;
}

/* カテゴリー選択と記事内ラベルの寸法を共通化する。 */
.top-information .top-news-filters button,
.top-information .top-news-row .top-news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 76px;
    min-height: 28px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.top-information .top-news-row .top-news-tag {
    justify-self: start;
}

@media (min-width: 768px) {
    .top-information .top-news-row {
        grid-template-columns: 7em max-content minmax(0, 1fr) 34px;
    }
}

/* 写真と白い曲線を一体で動かし、曲線の両端からせり上がる。 */
.top-page .top-about-visual.is-reveal-pending {
    transform: translateY(100%);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.top-page .top-about-visual.is-revealed {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .top-page .top-about-visual.is-reveal-pending {
        transform: none;
        transition: none;
    }
}

.top-about .top-about-message {
    z-index: 2;
    top: 14vw;
    left: 8vw;
    margin: 0;
    font-family: 'TopAboutHandwritten', 'BIZ UDPGothic', sans-serif;
    font-size: 2.2vw;
    font-weight: 400;
    letter-spacing: .3em;
    line-height: 1.6;
    white-space: nowrap;
}

.top-about .top-about-message span {
    display: block;
    font-family: 'TopAboutNameHandwritten', 'BIZ UDPGothic', sans-serif;
    padding-left: 17vw;
}

@media (max-width: 767.98px) {
    .top-about .top-about-message {
        top: 14vw;
        left: 8vw;
        font-size: 3vw;
    }

    .top-about .top-about-message span {
        padding-left: 22vw;
    }
}

