@charset "UTF-8";

/* トップページ：各セクション・スクロール演出・ギャラリー */

summary {
    -webkit-tap-highlight-color: transparent;
}

summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px;
}

p,
figure {
    margin: 0;
}

.hero {
    height: 790px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    z-index: 0;
    isolation: isolate;
    left: 24%;
    right: 3.2%;
    top: 24px;
    bottom: 100px;
    overflow: hidden;
}

.hero-photo img {
    position: absolute;
    inset: 0;
    opacity: 0;
    object-position: 45% 47%;
    filter: brightness(.78);
    transform: scale(1.02);
    will-change: transform;
}

.hero-photo:after {
    z-index: 3;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,var(--ink),transparent 42%),linear-gradient(0deg,#0b0c0b88,transparent 40%);
}

.hero-copy {
    position: relative;
    padding-top: 138px;
    margin-left: 7.5%;
    width: 70%;
}

.hero-copy .eyebrow {
    font-size: 12px;
    letter-spacing: .21em;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 62px;
    letter-spacing: .17em;
    line-height: 1.7;
    text-shadow: 0 2px 18px #0004;
}

.hero-description {
    font-size: 16px;
    letter-spacing: .15em;
    margin: 27px 0 33px;
    color: #e5e4de;
}

.hero-masthead {
    position: absolute;
    bottom: -16px;
    left: 7%;
    font: clamp(110px,12.5vw,196px)/1.2 Georgia,"Times New Roman",serif;
    letter-spacing: -.045em;
    color: var(--gold);
    white-space: nowrap;
    pointer-events: none;
}

.scroll-note {
    position: absolute;
    bottom: 168px;
    left: auto;
    right: 34px;
    z-index: 1;
    writing-mode: vertical-rl;
    font: 10px Georgia,serif;
    letter-spacing: .18em;
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-note:after {
    content: "";
    width: 1px;
    height: 67px;
    background: var(--gold);
}

.news-ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 23px;
}

.ticker-inner {
    min-height: 84px;
    display: grid;
    grid-template-columns: 135px 115px 1fr 80px;
    gap: 25px;
    align-items: center;
    font-size: 15px;
}

.ticker-title {
    color: var(--gold);
    font: 14px Georgia,serif;
    letter-spacing: .16em;
}

.ticker-date {
    font: 15px Georgia,serif;
    color: var(--muted);
}

.ticker-inner>a {
    transition: color .3s;
}

.ticker-inner>a:hover {
    color: var(--gold);
}

.ticker-all {
    text-align: right;
    font-size: 14px;
    border-left: 1px solid var(--line);
}

.about {
    padding: 120px 0 125px;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 105px;
    margin-top: 54px;
    align-items: start;
}

.about h2 {
    font-size: 38px;
    line-height: 1.8;
    letter-spacing: .12em;
    margin-bottom: 32px;
}

.about p {
    color: #c4c4bc;
    font-size: 17px;
    line-height: 2.25;
    letter-spacing: .045em;
    max-width: 460px;
}

.about .line-link {
    margin-top: 26px;
}

.about-picture {
    height: 478px;
    position: relative;
    margin-top: -34px;
}

.about-picture img {
    object-position: 68% center;
}

.picture-caption {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--muted);
}

.about-links {
    margin-top: 54px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 45px;
}

.about-links a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: .04em;
    display: flex;
    justify-content: space-between;
}

.about-links a span {
    color: var(--gold);
}

.about-links a:hover {
    color: var(--gold);
}

.virtual {
    position: relative;
    padding: 55px 0 80px;
    isolation: isolate;
}

.virtual-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.virtual-frame {
    position: relative;
    height: 660px;
    overflow: hidden;
    clip-path: inset(0 0);
    transition: clip-path .1s linear;
}

.virtual-frame>img {
    object-position: 50% 45%;
    filter: brightness(.65);
    transform: scale(1.015);
}

.virtual-frame:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#090a09dd 2%,#090a0960 48%,transparent 80%),linear-gradient(0deg,#0b0c0b66,transparent 55%);
}

.virtual-body {
    position: absolute;
    z-index: 2;
    left: max(80px,calc((100% - 1280px)/2));
    top: 135px;
}

.virtual h2 {
    font-size: 46px;
    line-height: 1.7;
    letter-spacing: .12em;
    margin: 24px 0;
}

.virtual p {
    color: #e1e0d8;
    font-size: 17px;
    line-height: 2.1;
    letter-spacing: .05em;
    margin-bottom: 32px;
}

.virtual-entry {
    position: absolute;
    right: 15%;
    top: 40%;
    z-index: 3;
    width: 140px;
    height: 140px;
    border: 1px solid #d9c58a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #1113;
    backdrop-filter: blur(3px);
    transition: background .3s,transform .3s;
}

.virtual-entry:before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid #d9c58a44;
    border-radius: 50%;
}

.virtual-entry:hover {
    background: #b79a5a44;
    transform: scale(1.04);
}

.virtual-entry b {
    font: 42px Georgia,serif;
    font-weight: 400;
    line-height: 1.2;
}

.virtual-entry span {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .08em;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.discover {
    background: var(--paper);
    color: var(--ink);
    padding: 110px 0 100px;
}

.discover .eyebrow,
.news .eyebrow {
    color: #856a32;
}

.discover .section-label:after,
.news .section-label:after {
    background: #b79a5a80;
}

.discover-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 35px 0 50px;
}

.discover h2 {
    font-size: 38px;
    letter-spacing: .12em;
    line-height: 1.7;
}

.discover-heading p {
    font-size: 16px;
    line-height: 2;
    color: #686861;
    margin-bottom: 6px;
}

.discover-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 65px;
}

.discover-card:nth-child(2) {
    padding-top: 105px;
}

.discover-image {
    height: 340px;
    overflow: hidden;
    position: relative;
    display: block;
}

.discover-card:nth-child(2) .discover-image {
    height: 280px;
}

.discover-image img {
    transition: transform .9s;
    object-position: 50% 50%;
}

.discover-image:hover img {
    transform: scale(1.04);
}

.card-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2223;
    padding: 22px 0;
}

.card-line h3 {
    font-size: 25px;
    letter-spacing: .1em;
}

.card-line span {
    font: 14px Georgia,serif;
    color: #806b3d;
    letter-spacing: .1em;
}

.discover-card p {
    font-size: 16px;
    color: #65655e;
    margin-top: 17px;
    line-height: 1.9;
}

.card-line .plus {
    font: 28px Georgia,serif;
    color: #806b3d;
    margin-left: 20px;
}

.card-line>div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news {
    background: var(--paper);
    color: var(--ink);
    padding: 45px 0 115px;
}

.news-grid {
    border-top: 1px solid #1113;
    padding-top: 55px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.news h2 {
    font-size: 34px;
    letter-spacing: .14em;
    margin: 22px 0;
}

.news .line-link {
    font-size: 15px;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 115px 85px 1fr 20px;
    gap: 15px;
    align-items: center;
    min-height: 99px;
    border-bottom: 1px solid #1113;
}

.news-item:first-child {
    border-top: 1px solid #1113;
}

.news-item time {
    font: 16px Georgia,serif;
    color: #66665d;
}

.news-title {
    font-size: 16px;
    line-height: 1.8;
}

.news-item .plus {
    color: #8e733c;
    font-size: 19px;
}

.news-item:hover .news-title {
    color: #8e733c;
}

.visit {
    padding: 105px 0 100px;
}

.visit-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.visit h2 {
    font-size: 38px;
    letter-spacing: .13em;
    line-height: 1.6;
    margin-top: 30px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 85px;
}

.visit-picture {
    height: 372px;
}

.visit-picture img {
    object-position: 78% 50%;
}

.visit-info {
    padding-top: 8px;
}

.visit-address {
    font: 25px var(--serif);
    letter-spacing: .08em;
    margin-bottom: 20px;
}

.visit-info p {
    color: #bdbdb3;
    font-size: 16px;
    line-height: 2.1;
}

.visit-details {
    border-top: 1px solid var(--line);
    margin: 25px 0 28px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 9px 20px;
    font-size: 15px;
}

.visit-details dt {
    color: var(--gold);
}

.visit-details dd {
    margin: 0;
    color: #d2d2c8;
}

.visit-info .btn {
    min-width: 240px;
}

.preview-static .virtual-frame {
    clip-path: none !important;
}

.preview-static .hero-photo img {
    transform: scale(1.02) !important;
}

dialog {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--line);
    max-width: 1000px;
    width: calc(100% - 48px);
    padding: 24px;
}

dialog::backdrop {
    background: #000c;
}

dialog img {
    height: auto;
    max-height: 72vh;
    object-fit: contain;
}

.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 20px;
}

.dialog-top h2 {
    font-size: 20px;
    letter-spacing: .1em;
}

.dialog-close {
    border: 1px solid var(--line);
    background: transparent;
    min-width: 44px;
    height: 44px;
    font-size: 23px;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 18px;
}

.gallery-controls button {
    border: 1px solid var(--line);
    background: transparent;
    padding: 9px 20px;
    font-size: 16px;
}

.gallery-controls span {
    font-size: 15px;
    color: var(--muted);
}

@media (min-width:1600px) {
    .hero {
        height: 870px;
    }

    .hero-copy {
        padding-top: 170px;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero-masthead {
        bottom: -20px;
    }

    .hero-photo {
        left: 26%;
        right: 5%;
    }
}

@media (max-width:1200px) {
    .hero-copy {
        margin-left: 7%;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero {
        height: 730px;
    }

    .hero-photo {
        left: 20%;
        bottom: 87px;
    }

    .hero-masthead {
        bottom: 0;
    }

    .about-grid {
        gap: 65px;
    }

    .virtual-body {
        left: 50px;
    }

    .virtual-entry {
        right: 12%;
    }

    .discover-grid {
        gap: 45px;
    }

    .visit-grid {
        gap: 50px;
    }

    .news-grid {
        grid-template-columns: 230px 1fr;
        gap: 35px;
    }

    .news-item {
        grid-template-columns: 95px 76px 1fr 15px;
        gap: 10px;
    }
}

@media (max-width:1100px) {
    .hero h1 {
        font-size: 49px;
    }

    .hero-copy {
        padding-top: 133px;
    }

    .hero-photo {
        left: 15%;
        right: 0;
        top: 0;
        bottom: 98px;
    }

    .hero-masthead {
        font-size: 13.6vw;
        left: 4%;
    }

    .about-grid {
        gap: 50px;
    }

    .about h2 {
        font-size: 31px;
    }

    .about p {
        font-size: 16px;
    }

    .about-picture {
        height: 460px;
    }

    .about-links {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 28px;
    }

    .virtual h2 {
        font-size: 37px;
    }

    .virtual-body {
        left: 32px;
    }

    .virtual-entry {
        right: 9%;
        width: 110px;
        height: 110px;
    }

    .virtual-entry b {
        font-size: 34px;
    }

    .virtual-entry span {
        font-size: 10px;
        letter-spacing: .06em;
        margin-top: 5px;
    }

    .virtual p {
        max-width: 330px;
        font-size: 16px;
    }

    .discover h2 {
        font-size: 31px;
    }

    .discover-heading p {
        max-width: 210px;
    }

    .discover-image {
        height: 290px;
    }

    .discover-card:nth-child(2) .discover-image {
        height: 240px;
    }

    .card-line>div {
        display: block;
    }

    .card-line span {
        font-size: 13px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .news-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .news-heading h2 {
        margin: 15px 0;
    }

    .news-item {
        grid-template-columns: 105px 90px 1fr 20px;
        gap: 15px;
    }

    .visit-grid {
        gap: 35px;
    }

    .visit-picture {
        height: 390px;
    }

    .visit-address {
        font-size: 23px;
    }
}

@media (max-width:640px) {
    .hero {
        /* ヘッダーとお知らせ帯が初期画面内に収まる高さを確保する。 */
        height: clamp(340px, calc(100vh - 216px), 540px);
        height: clamp(340px, calc(100svh - 216px), 540px);
    }

    .hero-photo {
        left: 0;
        right: 0;
        top: 0;
        bottom: 108px;
    }

    .hero-photo img {
        object-position: 43% center;
        filter: brightness(.63);
    }

    .hero-photo:after {
        background: linear-gradient(0deg,var(--ink),transparent 60%),linear-gradient(90deg,#0b0c0b55,transparent);
    }

    .hero-copy {
        margin: 0 26px;
        width: auto;
        padding-top: clamp(24px, 7vh, 60px);
        padding-top: clamp(24px, 7svh, 60px);
    }

    .hero-copy .eyebrow {
        font-size: 10px;
        letter-spacing: .14em;
        margin-bottom: 19px;
    }

    .hero h1 {
        font-size: 37px;
        letter-spacing: .13em;
        line-height: 1.75;
    }

    .hero-description {
        font-size: 14px;
        line-height: 2;
        margin: 22px 0 20px;
        letter-spacing: .07em;
    }

    .hero-masthead {
        font-size: 13.6vw;
        bottom: 19px;
        left: 5%;
        letter-spacing: -.035em;
    }

    .scroll-note {
        display: none;
    }

    .news-ticker {
        margin-top: 0;
    }

    .ticker-inner {
        grid-template-columns: 82px 1fr;
        gap: 5px 15px;
        padding: 19px 0;
        min-height: 102px;
    }

    .ticker-title {
        font-size: 12px;
    }

    .ticker-date {
        font-size: 14px;
    }

    .ticker-inner>a:not(.ticker-all) {
        font-size: 14px;
        grid-column: 1 / -1;
        line-height: 1.8;
    }

    .ticker-all {
        display: none;
    }

    .about {
        padding: 73px 0 77px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 42px;
        margin-top: 32px;
    }

    .about h2 {
        font-size: 29px;
        letter-spacing: .09em;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .about p {
        font-size: 16px;
        line-height: 2.2;
        max-width: none;
    }

    .about .line-link {
        margin-top: 20px;
    }

    .about-picture {
        margin: 0 0 18px 20px;
        height: 365px;
    }

    .about-picture img {
        object-position: 62% center;
    }

    .picture-caption {
        font-size: 12px;
    }

    .about-links {
        grid-template-columns: 1fr 1fr;
        gap: 0 22px;
        margin-top: 25px;
    }

    .about-links a {
        font-size: 14px;
        padding: 15px 0;
    }

    .virtual {
        padding: 0 0 54px;
    }

    .virtual-head {
        margin-bottom: 22px;
        gap: 15px;
    }

    .virtual-frame {
        height: 664px;
        clip-path: none !important;
    }

    .virtual-frame>img {
        object-position: 42% center;
        filter: brightness(.6);
    }

    .virtual-frame:after {
        background: linear-gradient(0deg,#0b0c0bdd,transparent 75%),linear-gradient(90deg,#0b0c0b55,transparent);
    }

    .virtual-body {
        left: 26px;
        right: 26px;
        top: 235px;
    }

    .virtual h2 {
        font-size: 31px;
        line-height: 1.7;
        margin: 17px 0 18px;
    }

    .virtual p {
        font-size: 15px;
        max-width: 320px;
        margin-bottom: 22px;
    }

    .virtual .btn {
        min-height: 50px;
        font-size: 15px;
        padding: 10px 22px;
    }

    .virtual-entry {
        right: 30px;
        top: 56px;
        width: 97px;
        height: 97px;
    }

    .virtual-entry:before {
        inset: -9px;
    }

    .virtual-entry b {
        font-size: 31px;
    }

    .virtual-entry span {
        font-size: 9px;
    }

    .discover {
        padding: 72px 0 64px;
    }

    .discover-heading {
        display: block;
        margin: 29px 0 31px;
    }

    .discover h2 {
        font-size: 29px;
        letter-spacing: .08em;
    }

    .discover-heading p {
        font-size: 15px;
        max-width: none;
        margin: 18px 0 0;
    }

    .discover-grid {
        grid-template-columns: 1fr;
        gap: 39px;
    }

    .discover-card:nth-child(2) {
        padding: 0;
    }

    .discover-image,
    .discover-card:nth-child(2) .discover-image {
        height: 255px;
    }

    .card-line {
        padding: 17px 0;
    }

    .card-line>div {
        display: flex;
        gap: 12px;
    }

    .card-line h3 {
        font-size: 22px;
    }

    .card-line span {
        font-size: 12px;
    }

    .discover-card p {
        font-size: 15px;
        margin-top: 14px;
    }

    .news {
        padding: 15px 0 70px;
    }

    .news-grid {
        padding-top: 38px;
        gap: 25px;
    }

    .news-heading {
        align-items: end;
    }

    .news h2 {
        font-size: 29px;
    }

    .news .line-link {
        font-size: 13px;
        gap: 15px;
        margin-bottom: 13px;
    }

    .news-item {
        grid-template-columns: 100px 75px 1fr;
        gap: 7px 12px;
        padding: 20px 0;
        min-height: 110px;
    }

    .news-item time {
        font-size: 14px;
    }

    .news-title {
        grid-column: 1 / 3;
        grid-row: 2;
        font-size: 15px;
    }

    .news-item .plus {
        grid-column: 3;
        grid-row: 1 / 3;
        justify-self: end;
    }

    .visit {
        padding: 72px 0 64px;
    }

    .visit-top {
        display: block;
        margin-bottom: 30px;
    }

    .visit h2 {
        font-size: 29px;
        margin-top: 24px;
    }

    .visit-top .line-link {
        margin-top: 14px;
        font-size: 15px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .visit-picture {
        height: 262px;
    }

    .visit-info {
        padding: 0;
    }

    .visit-address {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .visit-info p {
        font-size: 15px;
    }

    .visit-details {
        font-size: 14px;
        gap: 8px 15px;
        margin: 22px 0;
    }

    .visit-info .btn {
        width: 100%;
    }

    .gallery-controls button {
        padding: 8px 13px;
        font-size: 14px;
    }

    .gallery-controls span {
        font-size: 13px;
    }

    dialog {
        padding: 17px;
        width: calc(100% - 30px);
    }
}

@media (prefers-reduced-motion:reduce) {
    .virtual-frame {
        clip-path: none !important;
    }

    .hero-photo img {
        transform: scale(1.02) !important;
    }
}

@media (max-width:640px) {
    .card-line>div {
        display: block;
    }

    .card-line h3 {
        white-space: nowrap;
    }

    .card-line>div>span {
        display: block;
        margin-top: 5px;
    }

    .news-title {
        grid-column: 1 / -1;
        padding-right: 26px;
    }

    .news-item .plus {
        grid-row: 2;
    }
}

@media (max-width:380px) {
    .hero h1 {
        font-size: clamp(28px, 8vw, 32px);
    }

    .visit h2 {
        font-size: 25px;
    }

    .card-line h3 {
        font-size: 21px;
    }

    .about-links {
        column-gap: 15px;
    }

    .about-links a {
        font-size: 13px;
    }
}

.about {
    isolation: isolate;
    overflow: hidden;
}

.about:after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: 6%;
    bottom: 25px;
    background: url("../img/common/rokujoufuji.png") center/contain no-repeat;
    filter: invert(1) brightness(.71) sepia(1) saturate(.74);
    mix-blend-mode: screen;
    opacity: .065;
    pointer-events: none;
    z-index: 0;
}

.about>.wrap {
    position: relative;
    z-index: 1;
}

.discover-image .gallery-hydrangea {
    object-position: 50% 60%;
}

.discover-image .imai-street {
    object-position: 50% 48%;
}

.visit-picture img {
    object-position: 50% 52%;
}

@media (max-width:1100px) {
    .about:after {
        width: 260px;
        height: 260px;
        right: 2%;
        bottom: 60px;
    }
}

@media (max-width:640px) {
    .about:after {
        width: 230px;
        height: 230px;
        right: -32px;
        bottom: 29px;
        opacity: .05;
    }
}

.news-item {
    grid-template-columns: 115px minmax(0,1fr) 20px;
}

@media (max-width:1200px) {
    .news-item {
        grid-template-columns: 95px minmax(0,1fr) 15px;
    }
}

@media (max-width:1100px) {
    .news-item {
        grid-template-columns: 105px minmax(0,1fr) 20px;
    }
}

@media (max-width:640px) {
    .news-item {
        grid-template-columns: minmax(0,1fr) 20px;
        gap: 7px 12px;
    }

    .news-item time {
        grid-column: 1;
        grid-row: 1;
    }

    .news-title {
        grid-column: 1;
        grid-row: 2;
        padding-right: 0;
    }

    .news-item .plus {
        grid-column: 2;
        grid-row: 2;
    }
}

.visit-address {
    line-height: 1.6;
}

.visit-address span {
    display: inline-block;
}

@media (max-width:640px) {
    .virtual-frame {
        height: 710px;
    }

    .ticker-inner {
        grid-template-columns: 100px 1fr;
    }
}


.about-history {
    margin-top: 20px;
}

.virtual-eyebrow {
    color: #d9bf82;
}

/* 長い紹介見出しを狭い2カラム・小型スマートフォンでも2行に収める。 */
@media (min-width: 641px) and (max-width: 850px) {
    .about h2 {
        font-size: clamp(23px, 3.6vw, 30px);
    }
}

@media (max-width: 380px) {
    .about h2 {
        font-size: 25px;
    }
}

/* 背景写真のクロスフェード */
.hero-photo img.is-current {
    opacity: 1;
    z-index: 1;
}
.hero-photo img.is-entering {
    z-index: 2;
    animation: hero-crossfade 2.4s ease-in-out forwards;
}
@keyframes hero-crossfade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-photo img.is-entering { animation: none; opacity: 1; }
}

/* 初回ロード時の文字フェード。背景スライドには適用しない。 */
.hero.has-text-intro .hero-copy > *,
.hero.has-text-intro .scroll-note,
.hero.has-text-intro .hero-masthead {
    opacity: 0;
}
.hero.has-text-intro.is-text-ready .hero-copy > *,
.hero.has-text-intro.is-text-ready .scroll-note,
.hero.has-text-intro.is-text-ready .hero-masthead {
    animation: hero-text-in 1.6s ease-out both;
}
.hero.has-text-intro.is-text-ready #hero-title {
    animation-delay: .12s;
}
.hero.has-text-intro.is-text-ready .hero-description {
    animation-delay: .24s;
}
.hero.has-text-intro.is-text-ready .hero-masthead {
    animation-delay: .36s;
}
.hero.has-text-intro.is-text-ready .scroll-note {
    animation-delay: .48s;
}
@keyframes hero-text-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero.has-text-intro .hero-copy > *,
    .hero.has-text-intro .scroll-note,
    .hero.has-text-intro .hero-masthead {
        opacity: 1;
        animation: none;
    }
}
