/*
 * One&Only株式会社 トップページ・リニューアル
 * All selectors are scoped to .oo-home / .oo-top-page-active so the rest of
 * the Lightning site is not affected.
 */

.oo-top-page-active .page-header,
.oo-top-page-active .breadcrumb,
.oo-top-page-active .entry-header,
.oo-top-page-active .entry-footer {
    display: none !important;
}

.oo-top-page-active .site-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.oo-top-page-active .site-body-container,
.oo-top-page-active .site-body-container.container,
.oo-top-page-active .main-section,
.oo-top-page-active .site-main,
.oo-top-page-active .entry-body,
.oo-top-page-active .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oo-home {
    --oo-ink: #302e29;
    --oo-green: #334537;
    --oo-green-dark: #26352b;
    --oo-green-soft: #e8eee3;
    --oo-paper: #f7f3e8;
    --oo-white: #fffdf7;
    --oo-soil: #705c45;
    --oo-gold: #b39755;
    --oo-line: #d8d0c0;
    --oo-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
    --oo-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    overflow-x: hidden;
    color: var(--oo-ink);
    background: var(--oo-white);
    font-family: var(--oo-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: .035em;
    text-align: left;
}

.oo-home *,
.oo-home *::before,
.oo-home *::after {
    box-sizing: inherit;
}

.oo-home :where(h1, h2, h3, p, figure, blockquote, ol) {
    margin-top: 0;
}

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

.oo-home a {
    color: inherit;
    text-decoration: none;
}

.oo-home a:focus-visible {
    outline: 3px solid #d8c075;
    outline-offset: 4px;
}

.oo-inner {
    width: min(1160px, calc(100% - 80px));
    margin-inline: auto;
}

.oo-section {
    padding-block: clamp(88px, 9vw, 136px);
}

#oo-philosophy,
#oo-activities,
#oo-totonou,
#oo-farm,
#oo-village,
#oo-stories {
    scroll-margin-top: 94px;
}

.oo-home h1,
.oo-home h2,
.oo-home h3 {
    color: inherit;
    font-family: var(--oo-serif);
    font-weight: 500;
    letter-spacing: .075em;
}

.oo-home h2 {
    margin-bottom: 38px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.48;
}

.oo-home h3 {
    line-height: 1.5;
}

.oo-kicker,
.oo-eyebrow {
    margin-bottom: 18px;
    color: var(--oo-soil);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.6;
    text-transform: uppercase;
}

.oo-kicker::before {
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--oo-gold);
    content: "";
}

.oo-kicker--light,
.oo-eyebrow--light {
    color: rgba(255, 255, 255, .82);
}

.oo-section-heading--center {
    max-width: 900px;
    margin: 0 auto 64px;
    text-align: center;
}

.oo-section-heading--narrow {
    max-width: 780px;
}

.oo-section-heading p:last-child {
    margin-bottom: 0;
}

.oo-split {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(56px, 8vw, 112px);
}

.oo-copy > p {
    margin-bottom: 1.45em;
}

.oo-copy > p:last-child {
    margin-bottom: 0;
}

.oo-photo {
    position: relative;
    margin: 0;
}

.oo-photo::before {
    position: absolute;
    z-index: 0;
    top: -22px;
    right: -22px;
    width: 42%;
    height: 36%;
    border-top: 1px solid var(--oo-gold);
    border-right: 1px solid var(--oo-gold);
    content: "";
}

.oo-photo img {
    position: relative;
    z-index: 1;
    height: 100%;
    object-fit: cover;
}

.oo-photo--portrait {
    width: min(100%, 470px);
    height: 660px;
}

.oo-button {
    display: inline-flex;
    min-width: 210px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 13px 27px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.4;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.oo-button:hover {
    transform: translateY(-2px);
}

.oo-button--light {
    color: var(--oo-green-dark) !important;
    background: var(--oo-white);
    border-color: var(--oo-white);
}

.oo-button--light:hover {
    color: var(--oo-white) !important;
    background: transparent;
}

.oo-button--ghost {
    color: #fff !important;
    background: transparent;
    border-color: rgba(255, 255, 255, .7);
}

.oo-button--ghost:hover {
    color: var(--oo-green-dark) !important;
    background: var(--oo-white);
    border-color: var(--oo-white);
}

.oo-button--dark {
    color: #fff !important;
    background: var(--oo-green);
    border-color: var(--oo-green);
}

.oo-button--dark:hover {
    color: var(--oo-green) !important;
    background: transparent;
}

.oo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.oo-actions--center {
    justify-content: center;
}

.oo-text-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--oo-gold);
    color: var(--oo-green) !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    transition: gap .25s ease, color .25s ease;
}

.oo-text-link:hover {
    gap: 29px;
    color: var(--oo-soil) !important;
}

/* Hero */
.oo-hero {
    position: relative;
    display: flex;
    min-height: clamp(650px, 78vh, 820px);
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-image: url("../images/hero-sunset.webp");
    background-position: center 54%;
    background-size: cover;
}

.oo-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(24, 36, 28, .83) 0%, rgba(31, 46, 35, .67) 38%, rgba(31, 46, 35, .16) 70%, rgba(31, 46, 35, .04) 100%),
        linear-gradient(0deg, rgba(15, 22, 17, .24), transparent 42%);
}

.oo-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 94px;
}

.oo-hero__content {
    width: min(700px, 66%);
}

.oo-hero h1 {
    margin-bottom: 28px;
    color: #fff;
    font-size: clamp(50px, 6.5vw, 82px);
    line-height: 1.32;
    letter-spacing: .105em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .14);
}

.oo-hero__lead {
    margin-bottom: 14px;
    font-family: var(--oo-serif);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.85;
    letter-spacing: .08em;
}

.oo-hero__text {
    max-width: 650px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}

.oo-scroll {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 10px;
    letter-spacing: .18em;
    writing-mode: vertical-rl;
}

.oo-scroll span {
    display: block;
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, .66);
}

/* Philosophy */
.oo-philosophy {
    background: var(--oo-paper);
}

.oo-philosophy .oo-copy {
    max-width: 650px;
}

.oo-statement {
    position: relative;
    margin: 40px 0;
    padding: 34px 36px 30px;
    border: 0;
    background: rgba(255, 253, 247, .72);
    color: var(--oo-green);
    font-family: var(--oo-serif);
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.75;
    letter-spacing: .06em;
}

.oo-statement::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--oo-gold);
    content: "";
}

.oo-statement p {
    margin-bottom: 18px;
}

.oo-statement p:last-child {
    margin-bottom: 0;
}

/* Richness */
.oo-richness {
    background: var(--oo-white);
}

.oo-richness__image {
    position: relative;
    width: 100%;
    height: clamp(380px, 48vw, 610px);
    margin: 0 0 72px;
    overflow: hidden;
}

.oo-richness__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(27, 35, 29, .12));
    content: "";
}

.oo-richness__image img {
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
}

.oo-richness__body {
    max-width: 760px;
    margin: 0 auto;
}

.oo-richness__body > p {
    margin-bottom: 1.5em;
}

.oo-values {
    margin: 34px 0 38px;
    padding: 32px 42px;
    border-left: 1px solid var(--oo-gold);
    color: var(--oo-green);
    font-family: var(--oo-serif);
    font-size: clamp(17px, 1.9vw, 21px);
    line-height: 1.85;
}

.oo-values p {
    margin-bottom: 5px;
}

.oo-values p:last-child {
    margin-bottom: 0;
}

/* Cycle */
.oo-cycle {
    background: var(--oo-green-soft);
}

.oo-cycle__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: end;
    gap: 80px;
    margin-bottom: 72px;
}

.oo-cycle__intro h2,
.oo-cycle__intro p {
    margin-bottom: 0;
}

.oo-cycle__layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 68px;
}

.oo-cycle__photo {
    min-height: 680px;
    margin: 0;
    overflow: hidden;
}

.oo-cycle__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oo-cycle__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.oo-cycle__steps li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    padding: 29px 0 31px;
    border-bottom: 1px solid rgba(51, 69, 55, .2);
}

.oo-cycle__steps li:first-child {
    padding-top: 0;
}

.oo-cycle__number {
    padding-top: 4px;
    color: var(--oo-gold);
    font-family: Georgia, serif;
    font-size: 20px;
    letter-spacing: .08em;
}

.oo-cycle__steps h3 {
    margin-bottom: 10px;
    color: var(--oo-green);
    font-size: clamp(21px, 2.2vw, 28px);
}

.oo-cycle__steps p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.9;
}

.oo-cycle__loop {
    margin: 50px 0 0;
    color: var(--oo-green);
    font-family: var(--oo-serif);
    font-size: clamp(18px, 2vw, 23px);
    text-align: center;
}

.oo-cycle__loop span {
    display: inline-block;
    margin-right: 8px;
    color: var(--oo-gold);
    font-size: 28px;
}

/* Activities */
.oo-activities {
    background: var(--oo-white);
}

.oo-activity {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(54px, 8vw, 112px);
    margin-top: 110px;
}

.oo-activity--reverse .oo-activity__photo {
    order: 2;
}

.oo-activity--reverse .oo-activity__body {
    order: 1;
}

.oo-activity__photo {
    height: clamp(450px, 52vw, 650px);
    margin: 0;
    overflow: hidden;
}

.oo-activity__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oo-activity:nth-of-type(1) .oo-activity__photo img {
    object-position: center 45%;
}

.oo-activity:nth-of-type(2) .oo-activity__photo img {
    object-position: center 55%;
}

.oo-activity__body {
    position: relative;
    max-width: 510px;
}

.oo-activity__number {
    position: absolute;
    top: -66px;
    right: 0;
    margin: 0;
    color: rgba(179, 151, 85, .2);
    font-family: Georgia, serif;
    font-size: 92px;
    line-height: 1;
}

.oo-activity__body h3 {
    position: relative;
    margin-bottom: 28px;
    color: var(--oo-green);
    font-size: clamp(31px, 3.4vw, 44px);
}

.oo-activity__body > p:not(.oo-activity__number, .oo-eyebrow) {
    margin-bottom: 1.3em;
}

.oo-activity__catch {
    color: var(--oo-soil);
    font-family: var(--oo-serif);
    font-size: 20px;
}

/* Journey */
.oo-journey {
    background: #ede5d8;
}

.oo-split--journey {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
}

.oo-photo--journey {
    position: sticky;
    top: 32px;
    height: 720px;
}

.oo-photo--journey img {
    object-position: center 50%;
}

/* Future */
.oo-future {
    position: relative;
    min-height: 650px;
    color: #fff;
    background-image: url("../images/future-child.webp");
    background-position: center 47%;
    background-size: cover;
}

.oo-future__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 40, 30, .82) 0%, rgba(31, 46, 35, .6) 47%, rgba(31, 46, 35, .1) 78%);
}

.oo-future__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 650px;
    flex-direction: column;
    justify-content: center;
}

.oo-future h2 {
    margin-bottom: 28px;
    color: #fff;
    font-size: clamp(38px, 5vw, 66px);
}

.oo-future p:last-child {
    max-width: 730px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .88);
}

/* Stories */
.oo-stories {
    background: var(--oo-paper);
}

.oo-stories__heading {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: end;
    gap: 90px;
    margin-bottom: 64px;
}

.oo-stories__heading h2,
.oo-stories__heading > p {
    margin-bottom: 0;
}

.oo-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.oo-post-card {
    min-width: 0;
    background: var(--oo-white);
}

.oo-post-card__image {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe6da;
}

.oo-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.oo-post-card:hover .oo-post-card__image img {
    transform: scale(1.03);
}

.oo-post-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 48%, rgba(51, 69, 55, .12) 49%, rgba(51, 69, 55, .12) 51%, transparent 52%),
        var(--oo-green-soft);
}

.oo-post-card__body {
    padding: 28px 28px 31px;
}

.oo-post-card time {
    color: var(--oo-soil);
    font-size: 11px;
    letter-spacing: .12em;
}

.oo-post-card h3 {
    margin: 12px 0 14px;
    color: var(--oo-green);
    font-size: 20px;
}

.oo-post-card h3 a:hover {
    color: var(--oo-soil);
}

.oo-post-card p {
    margin-bottom: 0;
    color: #5a564e;
    font-size: 13px;
    line-height: 1.8;
}

.oo-stories__empty {
    grid-column: 1 / -1;
    padding: 42px;
    border: 1px solid var(--oo-line);
    text-align: center;
}

.oo-stories__action {
    margin-top: 48px;
    text-align: center;
}

/* CTA */
.oo-cta {
    position: relative;
    min-height: 670px;
    color: #fff;
    background-image: url("../images/cta-family.webp");
    background-position: center 48%;
    background-size: cover;
}

.oo-cta__shade {
    position: absolute;
    inset: 0;
    background: rgba(27, 43, 32, .74);
}

.oo-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 670px;
    max-width: 850px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 92px;
    text-align: center;
}

.oo-cta h2 {
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
}

.oo-cta__inner > p {
    margin-bottom: 1.2em;
    color: rgba(255, 255, 255, .9);
}

/* Message above Lightning's own footer */
.oo-page-footer {
    padding-block: 68px;
    color: rgba(255, 255, 255, .78);
    background: var(--oo-green-dark);
}

.oo-page-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
}

.oo-page-footer p {
    margin-bottom: 0;
}

.oo-page-footer__title {
    margin-bottom: 14px !important;
    color: #fff;
    font-family: var(--oo-serif);
    font-size: 23px;
    letter-spacing: .06em;
}

.oo-page-footer__company {
    text-align: right;
}

.oo-mobile-only {
    display: none;
}

@media (max-width: 980px) {
    .oo-inner {
        width: min(100% - 48px, 780px);
    }

    .oo-split,
    .oo-cycle__intro,
    .oo-cycle__layout,
    .oo-stories__heading {
        grid-template-columns: 1fr;
    }

    .oo-split,
    .oo-cycle__layout {
        gap: 56px;
    }

    .oo-cycle__intro,
    .oo-stories__heading {
        gap: 26px;
    }

    .oo-photo--portrait,
    .oo-photo--journey {
        position: relative;
        top: auto;
        width: 100%;
        height: min(78vw, 650px);
    }

    .oo-cycle__photo {
        min-height: 480px;
    }

    .oo-activity {
        grid-template-columns: 1fr;
        gap: 46px;
        margin-top: 88px;
    }

    .oo-activity--reverse .oo-activity__photo,
    .oo-activity--reverse .oo-activity__body {
        order: initial;
    }

    .oo-activity__photo {
        height: min(72vw, 620px);
    }

    .oo-activity__body {
        max-width: 650px;
    }

    .oo-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oo-post-card:last-child {
        display: none;
    }
}

@media (max-width: 640px) {
    .oo-home {
        font-size: 15px;
        line-height: 1.9;
    }

    .oo-inner {
        width: calc(100% - 40px);
    }

    .oo-section {
        padding-block: 72px;
    }

    .oo-home h2 {
        margin-bottom: 28px;
        font-size: 31px;
        line-height: 1.52;
        letter-spacing: .055em;
    }

    .oo-kicker,
    .oo-eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: .17em;
    }

    .oo-hero {
        min-height: 670px;
        align-items: flex-end;
        background-position: 62% center;
    }

    .oo-hero__shade {
        background:
            linear-gradient(0deg, rgba(22, 34, 26, .91) 0%, rgba(27, 42, 31, .7) 55%, rgba(27, 42, 31, .16) 100%),
            linear-gradient(90deg, rgba(24, 36, 28, .22), transparent);
    }

    .oo-hero__inner {
        padding-top: 130px;
        padding-bottom: 66px;
    }

    .oo-hero__content {
        width: 100%;
    }

    .oo-hero h1 {
        margin-bottom: 23px;
        font-size: clamp(39px, 12.2vw, 52px);
        line-height: 1.38;
        letter-spacing: .07em;
    }

    .oo-hero__lead {
        font-size: 17px;
        line-height: 1.8;
    }

    .oo-hero__text {
        font-size: 13px;
        line-height: 1.85;
    }

    .oo-scroll {
        display: none;
    }

    .oo-actions,
    .oo-actions--center {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 11px;
    }

    .oo-button {
        width: 100%;
        min-width: 0;
    }

    .oo-split,
    .oo-cycle__layout {
        gap: 42px;
    }

    .oo-photo::before {
        top: -13px;
        right: -9px;
    }

    .oo-photo--portrait,
    .oo-photo--journey {
        height: 120vw;
        max-height: 590px;
    }

    .oo-statement {
        margin: 32px 0;
        padding: 26px 23px 24px;
        font-size: 18px;
    }

    .oo-section-heading--center {
        margin-bottom: 44px;
        text-align: left;
    }

    .oo-richness__image {
        width: 100vw;
        height: 430px;
        margin-right: calc(50% - 50vw);
        margin-bottom: 52px;
        margin-left: calc(50% - 50vw);
    }

    .oo-richness__image img {
        object-position: center 50%;
    }

    .oo-values {
        margin: 27px 0 32px;
        padding: 24px 0 24px 22px;
        font-size: 16px;
    }

    .oo-cycle__intro {
        margin-bottom: 45px;
    }

    .oo-cycle__photo {
        min-height: 390px;
        margin-right: -20px;
        margin-left: -20px;
    }

    .oo-cycle__steps li {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 12px;
        padding-block: 24px;
    }

    .oo-cycle__steps h3 {
        font-size: 21px;
    }

    .oo-cycle__steps p {
        font-size: 13px;
    }

    .oo-cycle__loop {
        margin-top: 38px;
        font-size: 17px;
    }

    .oo-activity {
        margin-top: 76px;
        gap: 35px;
    }

    .oo-activity__photo {
        width: 100vw;
        height: 108vw;
        max-height: 570px;
        margin-left: calc(50% - 50vw);
    }

    .oo-activity:nth-of-type(3) .oo-activity__photo {
        height: 76vw;
    }

    .oo-activity__number {
        top: -43px;
        font-size: 65px;
    }

    .oo-activity__body h3 {
        margin-bottom: 22px;
        font-size: 29px;
    }

    .oo-future,
    .oo-future__inner {
        min-height: 620px;
    }

    .oo-future {
        background-position: 52% center;
    }

    .oo-future__shade {
        background: linear-gradient(0deg, rgba(24, 39, 29, .87), rgba(31, 46, 35, .25));
    }

    .oo-future__inner {
        justify-content: flex-end;
        padding-bottom: 62px;
    }

    .oo-future h2 {
        font-size: 35px;
    }

    .oo-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .oo-post-card:last-child {
        display: block;
    }

    .oo-post-card__image {
        height: 230px;
    }

    .oo-cta,
    .oo-cta__inner {
        min-height: 720px;
    }

    .oo-cta {
        background-position: 52% center;
    }

    .oo-cta__shade {
        background: rgba(27, 43, 32, .79);
    }

    .oo-cta__inner {
        padding-block: 70px;
    }

    .oo-cta h2 {
        font-size: 35px;
    }

    .oo-page-footer {
        padding-block: 54px;
    }

    .oo-page-footer__inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .oo-page-footer__title {
        font-size: 20px;
    }

    .oo-page-footer__company {
        text-align: left;
    }

    .oo-pc-only {
        display: none;
    }

    .oo-mobile-only {
        display: initial;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oo-home *,
    .oo-home *::before,
    .oo-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
