@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html { line-height: 1;
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 161px;
}
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}
q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
a { text-decoration: none; color: inherit; }
a img { border: none; vertical-align: bottom; }
a:focus { outline: none; }
a:hover { text-decoration: underline; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
input, textarea, select, button {
    font-size: 1.5rem;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6, strong{
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 1rem;
    vertical-align: baseline;
}
.sp{ display: none !important; }
.pc{ display: block !important; }
.is-hidden{ display: none !important; }

.header__sp-actions{ display: none; }

img{ max-width: 100%; vertical-align: bottom;}
img {width: 100%; height: auto;}

img {
    -webkit-user-drag: none;
    user-select: none;
}

ruby rt{ font-size: 1.4rem;}

.clearfix{display:inline-block;min-height:1%;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;line-height:0;}
* html .clearfix{height:1%;}
.clearfix{display:block;}

/*
===================*/
html {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    background-color: #FFEA63;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    font-weight: normal;
    text-align: left;
    line-height: 1.6;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -webkit-text-size-adjust: 100%;

    font-feature-settings: 'palt' ;
    letter-spacing: 1px;
}

.l-main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}


a:hover {
    text-decoration:none;
}




body{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}




:root {
    --color-beige: #D5CA87;
    --color-cream: #FFFFBC;
    --color-yellow: #FFEA63;
    --color-yellow-pale: #FFF8AA;
    --color-orange: #FF6D33;
    --color-green: #22A773;
    --color-brown: #E5771E;
}

/* -------------------------
    共通ボタン（「ひだまりについて知る」等、各所で使い回す）
------------------------- */

.c-btn-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 90px;
    padding: 0 70px 0 30px;
    background: var(--color-orange);
    border: 4px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
}

.c-btn-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FF4D06;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.c-btn-more:hover::before {
    transform: scale(1, 1);
}

.c-btn-more::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 34px;
    width: 34px;
    height: 34px;
    background-image: url("../images/common/icon_arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.c-btn-more:hover::after {
    transform: translateY(-50%) translateX(6px);
}


.c-btn-more--sm {
    width: 389px;
    height: 60px;
    padding: 0 20px 0 16px;
    border-width: 3px;
    font-size: 21px;
    letter-spacing: normal;
}

.c-btn-more--sm::after {
    right: 16px;
    width: 26px;
    height: 26px;
}


/* -------------------------
    共通テキストリンク（文中リンク：オレンジ＋下線）
    複数ページで共通使用
------------------------- */

.c-link {
    color: var(--color-brown);
    text-decoration: underline;
}


/* -------------------------
    共通見出し（丸見出し3：オレンジの罫線＋テキスト）
    複数の下層ページで共通使用
------------------------- */

.c-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: fit-content;
    min-width: 372px;
    margin: 0 auto 80px;
}

.c-heading::before,
.c-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--color-orange);
}

.c-heading__text {
    font-size: 30px;
    font-weight: 900;
    color: var(--color-orange);
    letter-spacing: 1.5px;
    line-height: 40px;
    white-space: nowrap;
}


/* -------------------------
    共通絞り込みパネル（05_施設を探すのデザイン）
    facilities / services / news / location-blog で共通使用
------------------------- */

.c-search-panel {
    position: relative;
    display: flex;
    gap: 60px;
    max-width: 1129px;
    margin: 0 auto;
    padding: 45px 55px;
    background: var(--color-yellow-pale);
    border-radius: 20px;
}

.c-search-panel__label-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 16px;
    padding-top: 4px;
}

.c-search-panel__label {
    margin: 0;
    color: var(--color-tag);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.8px;
}

.c-search-panel__clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 20px;
    background: var(--color-tag);
    border: none;
    border-radius: 60px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.825px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.c-search-panel__clear:hover {
    opacity: 0.8;
}

.c-search-panel__clear-icon {
    width: 20px;
    height: 20px;
}

.c-search-panel__rows {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    justify-content: center;
    gap: 12px;
}

.c-search-panel__row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.c-search-panel__row + .c-search-panel__row {
    padding-top: 12px;
    border-top: 1px solid #ECE3AF;
}

.c-search-panel__row-label {
    flex-shrink: 0;
    width: 80px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.8px;
}

.c-search-panel__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-search-panel__tags + .c-search-panel__tags {
    padding-top: 12px;
    border-top: 1px solid #ECE3AF;
}

.c-search-panel__tags--radio {
    gap: 10px 24px;
}

.c-search-panel__tag {
    padding: 11px 22px;
    background: #fff;
    border: none;
    border-radius: 60px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.825px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.c-search-panel__tag:hover {
    opacity: 0.7;
}

.c-search-panel__tag.is-active {
    background: var(--color-orange);
    color: #fff;
}

.c-search-panel__tag--radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.c-search-panel__tag--radio.is-active {
    background: transparent;
    color: #333;
}

.c-search-panel__tag-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #D9D0A0;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
}

.c-search-panel__tag-input:checked {
    border-color: var(--color-green);
    background: radial-gradient(circle, var(--color-green) 0 42%, #fff 46% 100%);
}

.c-search-panel__tag-input:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}


.header__menu-item:not(:last-child)::after {
    background: var(--color-brown);
}

.header__contact {
    background: var(--color-orange);
    color: #fff;
}




.header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1440px;
    height: 161px;
    margin: 0 auto;
}

.header__logo {
    position: absolute;
    top: 14px;
    left: 53px;
    width: 164px;
    height: 164px;
    border-radius: 50%;
    overflow: hidden;
    transition: top 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.header.is-scrolled .header__logo {
    top: 44px;
    width: 100px;
    height: 100px;
}

.header__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__nav {
    position: absolute;
    top: 55px;
    left: 334px;
    width: 1057px;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 130px 0 32px;
    background: #fff;
    border-radius: 100px;
}


.header__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__menu-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header__menu-item:not(:last-child)::after {
    content: "";
    flex-shrink: 0;
    width: 1px;
    height: 22.5px;
    margin: 0 16px;
    background: #ff985d;
}

.header__menu-link {
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.75px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header__menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--color-orange);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}

.header__menu-link:hover {
    transform: translateY(-2px);
}

.header__menu-link:hover::after {
    transform: scaleX(1);
}

.header__contact {
    position: absolute;
    top: -2px;
    right: -1px;
    width: 76px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
    background: var(--color-orange);
    border-radius: 50%;
    text-decoration: none;
}

.header__contact-icon {
    display: block;
    width: 28px;
    height: 22px;
    transition: transform 0.3s;
}

.header__contact:hover .header__contact-icon {
    transform: scale(1.25);
}

.header__contact-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}


.footer {
    position: relative;
    width: 100%;
    min-width: 1000px;
    overflow: visible;
    clip-path: inset(-100vh 0 0 0);
    background: var(--color-yellow);
    color: #000;
}


/* -------------------------
    背景装飾
------------------------- */

.footer__bg-top {
    position: absolute;
    z-index: 1;
    top: -12vw;
    left: -2vw;
    width: 120vw;
    height: 20.9vw;
    background-image: url(../images/common/footer/bg_top.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    pointer-events: none;
}

.footer__bg-clip {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer__bg-bottom {
    position: absolute;
    bottom: -260px;
    left: -25%;
    width: 120%;
    aspect-ratio: 3649 / 846;
    background-image: url(../images/common/footer/bg_bottom.webp);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
    pointer-events: none;
}


/* -------------------------
    コンテンツ
------------------------- */

.footer__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 107px 350px 123px;
}


/* -------------------------
    ロゴ
------------------------- */

.footer__logo {
    margin-bottom: 65px;
    text-align: center;
}

.footer__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}


/* -------------------------
    ロゴ横のイラスト（人と犬）
    画面内に入ると（.js-footer-friends → js/scripts.jsで.is-visibleを付与）、
    人がぴょんぴょん跳ねたあと犬が画面外から走ってきて、しばらくしたら向きを変えて画面外へ去っていく（繰り返し）
------------------------- */

.footer__friends {
    position: absolute;
    top: -150px;
    left: calc(50% - 508px);
    width: 286px;
    height: 213px;
    pointer-events: none;
}

.footer__person {
    position: absolute;
    top: 0;
    right: 0;
    width: 134px;
    height: auto;
}

.footer__dog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 132px;
    height: auto;
    transform: translateX(-100vw);
}

@keyframes footer-person-hop {
    0%, 12%, 100% {
        translate: 0 0;
    }
    3%, 9% {
        translate: 0 -24px;
    }
    6% {
        translate: 0 0;
    }
}

@keyframes footer-dog-run {
    0%, 10% {
        transform: translateX(-100vw) scaleX(1);
    }
    28%, 62% {
        transform: translateX(0) scaleX(1);
    }
    63% {
        transform: translateX(0) scaleX(-1);
    }
    81%, 100% {
        transform: translateX(-100vw) scaleX(-1);
    }
}

@keyframes footer-dog-hop {
    0%, 100% {
        translate: 0 0;
    }
    10% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    11.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    13% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    14.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    16% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    17.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    19% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    20.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    22% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    23.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    25% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    26.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    28% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    38% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    38.75% {
        translate: 0 -18px;
        animation-timing-function: ease-in;
    }
    39.5% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    40.25% {
        translate: 0 -18px;
        animation-timing-function: ease-in;
    }
    41% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    51% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    51.75% {
        translate: 0 -18px;
        animation-timing-function: ease-in;
    }
    52.5% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    63% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    64.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    66% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    67.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    69% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    70.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    72% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    73.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    75% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    76.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    78% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
    79.5% {
        translate: 0 -30px;
        animation-timing-function: ease-in;
    }
    81% {
        translate: 0 0;
        animation-timing-function: ease-out;
    }
}

.footer__friends.is-visible .footer__person {
    animation: gentle-float 6s ease-in-out infinite, footer-person-hop 14s ease-in-out infinite;
}

.footer__friends.is-visible .footer__dog {
    animation: footer-dog-run 14s linear infinite, footer-dog-hop 14s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .footer__friends.is-visible .footer__person,
    .footer__friends.is-visible .footer__dog {
        animation: none;
    }

    .footer__dog {
        transform: none;
    }
}


/* -------------------------
    メイン
------------------------- */

.footer__contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer__left {
    width: 760px;
}


/* -------------------------
    メニュー
------------------------- */

.footer__menus {
    display: grid;
    grid-template-columns: 220px 250px 250px;
    column-gap: 45px;
}

.footer__menu-title {
    display: block;
    margin: 0 0 15px;
    color: var(--color-green);
    font-size: 24px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 1.2px;
    text-decoration: none;
}

.footer__menu-title--orange {
    color: var(--color-orange);
}

.footer__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__menu li {
    margin-bottom: 9px;
}

.footer__menu li a {
    position: relative;
    display: inline-block;
    padding-left: 10px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0.9px;
    text-decoration: none;
}

.footer__menu li a::before {
    content: "-";
    position: absolute;
    top: 0;
    left: 0;
}

.footer__menu a {
    transition: opacity 0.3s;
}

.footer__menu a:hover {
    opacity: 0.65;
}

.footer__menu--single {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer__menu--single .footer__menu-title {
    margin: 0;
}

.footer__menu-sub {
    margin-top: 34px !important;
}


/* -------------------------
    法人情報
------------------------- */

.footer__company {
    margin-top: 65px;
}

.footer__company-name {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 30px;
}

.footer__address {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
}


/* -------------------------
    SNS
------------------------- */

.footer__sns {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
}

.footer__sns-link {
    display: block;
    width: 31px;
    height: 31px;
}

.footer__sns-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* -------------------------
    右カラム
------------------------- */

.footer__right {
    width: 286px;
}


/* -------------------------
    見学申し込み
------------------------- */

.footer__visit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 178px;
    padding: 20px;
    color: #fff;
    background: var(--color-green);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer__visit-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.footer__visit-time {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.9px;
}

.footer__visit-tel {
    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 48px;
    white-space: nowrap;
}

.footer__visit-tel small {
    margin-right: 4px;
    font-size: 15px;
}


/* -------------------------
    ボタン
------------------------- */

.footer__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    margin-top: 32px;
    padding: 0 16px 0 25px;
    color: #fff;
    background: var(--color-orange);
    border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer__button{
    position: relative;
}
.footer__button::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 34px;
    width: 34px;
    height: 34px;
    background-image: url("../images/common/icon_arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.footer__button + .footer__button {
    margin-top: 22px;
}

.footer__visit:hover,
.footer__button:hover {
    opacity: 0.8;
}


/* -------------------------
    下層ページ見出し部の波形背景（黄）
    複数の下層ページ（施設を探す 等）のヒーローで共通使用。
    ページ側は幅・高さ(Figma実測)のみ指定し、このクラスを併用する。
------------------------- */

.c-wave-hero--yellow {
    background-image: url("../images/common/deco_hero_wave.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 473px;
    background-color: var(--color-cream);
}


/* -------------------------
    写真の下端を波形にトリミングする共通マスク
    （ひだまりについて 等のヒーロー写真で共通使用。
    今後、施設を探す_下層／研修のご案内／よくあるご質問／採用情報 等でも同じ形状を使う想定）
    ヒーロー側は矩形の写真をそのまま用意し、このクラスを併用するだけでよい。
    波の形状自体はコンテナ高さによらず一定（下端からの絶対距離で決まる）ため、
    mask-sizeの高さは固定値(4000px、どのページのヒーロー高さより十分大きい値)のまま、
    幅だけ100%でコンテナに追従させる。
    ※ヒーロー高さが4000pxを超える場合はSVGの高さとこの値を大きくすること。
------------------------- */

.c-photo-wave-mask {
    -webkit-clip-path: url(#wave-clip);
    clip-path: url(#wave-clip);
}


/* -------------------------
    アコーディオン（<details>）共通の開閉アニメーション
    js/scripts.jsが<details>のsummary以外の中身をこのクラスのラッパーで囲み、
    heightをJSから切り替えることでtransitionが効く。
------------------------- */

.js-accordion-content {
    overflow: hidden;
    transition: height 0.3s ease;
}


/* -------------------------
    Copyright
------------------------- */

.footer__copyright {
    position: absolute;
    right: 107px;
    bottom: 155px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.1px;
}


/* -------------------------
    右上サイドナビ（全ページ共通）
------------------------- */

.hero__side-nav {
    position: fixed;
    top: 260px;
    right: 0;
    z-index: 40;
    width: 90px;
    height: 263px;
    background-image: url("../images/top/side_nav_bg.svg");
    background-size: 100% 100%;
    display: flex !important;
    flex-direction: column;
    gap: 13px;
}

.hero__side-nav {
    transition: opacity 0.3s, visibility 0.3s;
}

.hero__side-nav.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.hero__side-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.125;
    text-align: center;
    text-decoration: none;
}

.hero__side-nav-item:first-child {
    padding-top: 17px;
}

.hero__side-nav-item:last-child {
    padding-bottom: 15px;
}

.hero__side-nav-icon {
    width: auto;
    height: 30px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__side-nav-item:last-child .hero__side-nav-icon {
    height: 38px;
}

.hero__side-nav-text {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__side-nav-item:hover .hero__side-nav-text {
    transform: scale(1.1);
}

.hero__side-nav-item:hover .hero__side-nav-icon {
    transform: scale(1.1) translateY(2px);
}


/* -------------------------
    共通モーダル
------------------------- */

.c-modal {
    display: flex;
    position: fixed;
    z-index: 100;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.c-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.c-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.c-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    transform: translateY(16px) scale(0.96);
    transition: transform 0.3s ease;
}

.c-modal.is-open .c-modal__panel {
    transform: translateY(0) scale(1);
}

.c-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.c-modal__close:hover {
    opacity: 0.8;
}

.c-modal__close img {
    display: block;
    width: 100%;
    height: 100%;
}

.c-modal__title {
    margin: 0 0 30px;
    color: var(--color-green);
    font-size: 24px;
    font-weight: 700;
}


/* -------------------------
    スクロール出現アニメーション
    .js-revealを付けた要素が画面内に入ると.is-visibleが付与される（js/scripts.js参照）
    .js-reveal--staggerの子要素はnth-childで少しずつ遅延させ、順番に現れるようにする
------------------------- */

.js-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.js-reveal--stagger > * {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-reveal--stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.js-reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js-reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js-reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.js-reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.js-reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.js-reveal--stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.js-reveal--stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; }
.js-reveal--stagger.is-visible > *:nth-child(9) { transition-delay: 0.64s; }
.js-reveal--stagger.is-visible > *:nth-child(10) { transition-delay: 0.72s; }
.js-reveal--stagger.is-visible > *:nth-child(11) { transition-delay: 0.8s; }
.js-reveal--stagger.is-visible > *:nth-child(12) { transition-delay: 0.88s; }
.js-reveal--stagger.is-visible > *:nth-child(13) { transition-delay: 0.96s; }
.js-reveal--stagger.is-visible > *:nth-child(14) { transition-delay: 1.04s; }
.js-reveal--stagger.is-visible > *:nth-child(15) { transition-delay: 1.12s; }
.js-reveal--stagger.is-visible > *:nth-child(16) { transition-delay: 1.2s; }
.js-reveal--stagger.is-visible > *:nth-child(n+17) { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
    .js-reveal,
    .js-reveal--stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* -------------------------
    ふわふわ出現アニメーション（装飾イラスト・写真用）
    .js-float-revealを付けた要素は、画面内に入ると.js-revealと同様にふわっと出現する（js/scripts.jsのIntersectionObserverが対象）
    出現後もゆっくり動き続けさせたい場合のみ、.js-float-reveal--idleを追加で付ける
    （常時動く要素が多いと酔いやすくなるため、基本は出現したら止まる。動かし続けるのは小さい装飾に限定して使う）
------------------------- */

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

.js-float-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-float-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.js-float-reveal--idle.is-visible {
    animation: gentle-float 6s ease-in-out 0.7s infinite;
}

.js-float-reveal--roll.is-visible {
    animation: roll-side 5s ease-in-out 0.7s infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.9;
    }
}

.js-float-reveal--pulse.is-visible {
    animation: gentle-pulse 8s ease-in-out infinite;
}

.js-float-reveal--from-right {
    opacity: 0;
    transform: translateX(120px);
}

.js-float-reveal--from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes tsun-tsun {
    0%, 60%, 100% {
        transform: translate(0, 0);
    }
    64% {
        transform: translate(6px, 6px);
    }
    68% {
        transform: translate(0, 0);
    }
    72% {
        transform: translate(6px, 6px);
    }
    76% {
        transform: translate(0, 0);
    }
}

.js-float-reveal--tsun.is-visible {
    animation: tsun-tsun 5s ease-in-out 1.8s infinite;
}

@keyframes hop-hop {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    64% {
        transform: translateY(-10px);
    }
    68% {
        transform: translateY(0);
    }
    72% {
        transform: translateY(-10px);
    }
    76% {
        transform: translateY(0);
    }
}

.js-float-reveal--hop.is-visible {
    animation: hop-hop 7s ease-in-out 1.8s infinite;
}

.js-idle-float {
    animation: gentle-float 6s ease-in-out infinite;
}

.js-idle-hop {
    animation: hop-hop 7s ease-in-out infinite;
}

.js-idle-search {
    transform-origin: 75% 100%;
    animation: search-around 6s ease-in-out infinite;
}

@keyframes search-around {
    0%, 75%, 100% {
        transform: translate(0, 0) rotate(0);
    }
    15% {
        transform: translate(-6px, 10px) rotate(-6deg);
    }
    30% {
        transform: translate(-10px, 6px) rotate(-3deg);
    }
    45% {
        transform: translate(-2px, 10px) rotate(5deg);
    }
    60% {
        transform: translate(4px, 8px) rotate(3deg);
    }
}

.js-idle-roll {
    animation: roll-side 5s ease-in-out infinite;
}

@keyframes roll-side {
    0%, 100% {
        transform: translateX(0) rotate(0);
    }
    25% {
        transform: translateX(-20px) rotate(-11deg);
    }
    75% {
        transform: translateX(20px) rotate(11deg);
    }
}

@keyframes hop-hop-translate {
    0%, 60%, 100% {
        translate: 0 0;
    }
    64% {
        translate: 0 -10px;
    }
    68% {
        translate: 0 0;
    }
    72% {
        translate: 0 -10px;
    }
    76% {
        translate: 0 0;
    }
}

.js-idle-float-hop {
    animation: gentle-float 6s ease-in-out infinite, hop-hop-translate 7s ease-in-out infinite;
}

.js-float-reveal--float-hop.is-visible {
    animation: gentle-float 6s ease-in-out 0.7s infinite, hop-hop-translate 7s ease-in-out 1.8s infinite;
}

@keyframes tail-wiggle {
    0%, 85%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    87% {
        transform: translateX(3px) rotate(4deg);
    }
    89% {
        transform: translateX(-3px) rotate(-4deg);
    }
    91% {
        transform: translateX(3px) rotate(4deg);
    }
    93% {
        transform: translateX(-3px) rotate(-4deg);
    }
    95% {
        transform: translateX(0) rotate(0deg);
    }
}

.js-idle-tsun {
    animation: tail-wiggle 11s ease-in-out infinite;
}

@keyframes running-sway {
    0%, 85%, 100% {
        transform: rotate(0deg);
    }
    88% {
        transform: rotate(-6deg);
    }
    91% {
        transform: rotate(6deg);
    }
    94% {
        transform: rotate(-4deg);
    }
    97% {
        transform: rotate(0deg);
    }
}

.js-idle-run {
    transform-origin: bottom center;
    animation: running-sway 6s ease-in-out infinite;
}

@keyframes wave-undulate {
    0%, 100% {
        transform: translate(0, var(--parallax-y, 0px)) rotate(0deg);
    }
    25% {
        transform: translate(8px, calc(-9px + var(--parallax-y, 0px))) rotate(1.3deg);
    }
    50% {
        transform: translate(0, calc(-14px + var(--parallax-y, 0px))) rotate(0deg);
    }
    75% {
        transform: translate(-8px, calc(-9px + var(--parallax-y, 0px))) rotate(-1.3deg);
    }
}

.js-idle-wave {
    animation: wave-undulate 8s ease-in-out infinite;
}

@keyframes gentle-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.js-idle-zoom {
    animation: gentle-zoom 5s ease-in-out infinite;
}

.js-scroll-scale {
    transform: scale(var(--scroll-scale, 1));
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-parallax {
    transform: translateY(var(--parallax-y, 0px));
}

@keyframes peekaboo {
    0%, 8% {
        opacity: 0;
        transform: translate(-40px, 40px);
    }
    14%, 88% {
        opacity: 1;
        transform: translate(0, 0);
    }
    94%, 100% {
        opacity: 0;
        transform: translate(-40px, 40px);
    }
}

@keyframes peekaboo-no-fade {
    0%, 40% {
        opacity: 0;
        transform: translate(-130px, 130px);
    }
    46% {
        opacity: 1;
        transform: translate(-130px, 130px);
    }
    53%, 88% {
        opacity: 1;
        transform: translate(0, 0);
    }
    94% {
        opacity: 1;
        transform: translate(-130px, 130px);
    }
    100% {
        opacity: 0;
        transform: translate(-130px, 130px);
    }
}

.js-peekaboo {
    animation: peekaboo 13s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.js-peekaboo--no-fade {
    animation-name: peekaboo-no-fade;
    animation-duration: 20s;
    animation-delay: -5s;
}

@keyframes peekaboo-no-fade-vertical {
    0%, 40% {
        opacity: 0;
        transform: translateY(120px);
    }
    46% {
        opacity: 1;
        transform: translateY(120px);
    }
    53%, 88% {
        opacity: 1;
        transform: translateY(0);
    }
    94% {
        opacity: 1;
        transform: translateY(120px);
    }
    100% {
        opacity: 0;
        transform: translateY(120px);
    }
}

.js-peekaboo--no-fade-vertical {
    animation-name: peekaboo-no-fade-vertical;
    animation-duration: 20s;
    animation-delay: -5s;
}

@media (prefers-reduced-motion: reduce) {
    .js-idle-float {
        animation: none;
    }

    .js-idle-tsun {
        animation: none;
    }

    .js-idle-hop {
        animation: none;
    }

    .js-idle-roll {
        animation: none;
    }

    .js-idle-search {
        animation: none;
    }

    .js-idle-float-hop,
    .js-float-reveal--float-hop.is-visible {
        animation: none;
    }

    .js-idle-wave {
        animation: none;
    }

    .js-idle-zoom {
        animation: none;
    }

    .js-parallax {
        transform: none;
    }

    .js-scroll-scale {
        transform: none;
    }

    .js-peekaboo {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .js-float-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}


/* -------------------------
    ページタイトルの出方（固定ページ・一覧ページのタイトル用）
    タイトル全体がポンと弾んで出たあと、文字が1文字ずつぴょこっと跳ねながら現れる（1回だけ）
    HTML側で1文字ずつ.c-title-pop__charで囲み、style="--i: 番号"で順番を指定する。
    読み上げ用に全文を.c-title-pop__labelに入れ、1文字ずつの要素はaria-hidden="true"にする
    （位置合わせにtransformを使っているタイトルがあるため、枠はscale、文字はtranslate/rotateで動かし干渉させない）
------------------------- */

.c-title-pop {
    animation: c-title-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.c-title-pop__char {
    display: inline-block;
    animation: c-title-pop-char 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(0.35s + var(--i, 0) * 0.07s);
}

.c-title-pop__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@keyframes c-title-pop {
    from {
        opacity: 0;
        scale: 0.6;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes c-title-pop-char {
    from {
        opacity: 0;
        translate: 0 24px;
        rotate: -15deg;
    }
    to {
        opacity: 1;
        translate: 0 0;
        rotate: 0deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-title-pop,
    .c-title-pop__char {
        animation: none;
    }
}


/* -------------------------
    管理画面で表示範囲を調整した写真（inc/image-focus.php）
    位置は img の style の --hf-pos（PC・タブレット）／--hf-pos-sp（スマホ：common_sp.css）
------------------------- */

.has-hidamari-focus {
    object-position: var(--hf-pos, 50% 50%);
}

.hidamari-focus-picture {
    display: contents;
}
