:root {
    --photo-teal: #58a3a0;
    --photo-teal-dark: #438f8c;
    --photo-green: #7eae4d;
    --photo-ink: #52605e;
    --photo-pale: #f6faf8;
}

body.single-lp {
    background: #fff;
}

.photoPage,
.photoPage * {
    box-sizing: border-box;
}

.photoPage {
    color: var(--photo-ink);
    font-family: "fot-tsukuardgothic-std", "Noto Sans JP", sans-serif;
    overflow: hidden;
    padding-top: clamp(92px, 8vw, 142px);
}

.photoHero {
    min-height: 590px;
    padding: clamp(52px, 6vw, 112px) 0 0;
    position: relative;
}

.photoHero__inner {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(360px, 43%) minmax(0, 57%);
    margin: 0 auto;
    max-width: 1660px;
    padding-left: clamp(32px, 9vw, 176px);
}

.photoHero__copy {
    padding: 20px 44px 50px 0;
    position: relative;
    z-index: 2;
}

.photoHero__eyebrow {
    color: #687471;
    font-size: clamp(14px, 1.05vw, 20px);
    font-weight: 600;
    letter-spacing: .15em;
    margin: 0 0 26px;
}

.photoHero__title {
    color: var(--photo-teal);
    font-size: clamp(36px, 3.2vw, 62px);
    font-weight: 700;
    letter-spacing: clamp(.04em, .35vw, .08em);
    line-height: 1.38;
    margin: 0;
}

.photoHero__title span {
    display: block;
    white-space: nowrap;
}

.photoHero__text {
    color: #606967;
    font-size: clamp(13px, 1vw, 18px);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 2.05;
    margin: 38px 0 0;
}

.photoHero__visual {
    aspect-ratio: 1.9 / 1;
    clip-path: ellipse(76% 66% at 76% 38%);
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

@supports not (clip-path: ellipse(50% 50% at 50% 50%)) {
    .photoHero__visual {
        border-radius: 44% 0 0 44% / 50% 0 0 50%;
    }
}

.photoHero__image {
    height: 100%;
    object-fit: cover;
    object-position: center 66%;
    width: 100%;
}

.photoDecor--dots {
    background-image: radial-gradient(circle, rgba(126, 174, 77, .72) 2px, transparent 2.5px);
    background-size: 17px 17px;
    height: 128px;
    left: -42px;
    opacity: .7;
    position: absolute;
    top: 380px;
    transform: rotate(28deg);
    width: 168px;
}

.photoDecor--leaf,
.photoGallery__leaf,
.photoContact__leaf,
.photoContact__decor {
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 85'%3E%3Cg fill='none' stroke='%2398cb7c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 75C35 66 51 48 62 15M30 64c-9-4-15-12-16-23 13 0 22 5 26 14M51 42c-4-11-2-22 7-31 9 10 9 20 4 29M64 31c12-9 25-10 39-4-7 13-18 19-34 16'/%3E%3C/g%3E%3C/svg%3E");
    display: block;
}

.photoDecor--leafTop {
    height: 80px;
    left: 28%;
    position: absolute;
    top: 30px;
    transform: rotate(-12deg);
    width: 112px;
}

.photoGallery {
    margin: 0 auto;
    max-width: 1700px;
    padding: 30px clamp(30px, 5.8vw, 110px) 135px;
}

.photoGallery__heading {
    margin: 0 auto 70px;
    max-width: 760px;
    position: relative;
    text-align: center;
}

.photoGallery__heading h2 {
    color: var(--photo-teal);
    font-size: clamp(24px, 2.2vw, 42px);
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.5;
    margin: 0;
}

.photoGallery__heading p {
    color: #626d6a;
    font-size: clamp(12px, .95vw, 17px);
    letter-spacing: .09em;
    line-height: 1.85;
    margin: 22px 0 0;
}

.photoGallery__leaf {
    height: 72px;
    left: 0;
    position: absolute;
    top: -25px;
    transform: scaleX(-1) rotate(22deg);
    width: 90px;
}

.photoGallery__leaf--right {
    left: auto;
    right: 0;
    transform: rotate(12deg);
}

.photoGallery__rows {
    display: grid;
    gap: 38px;
}

.photoRow {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: 180px minmax(0, 1fr);
}

.photoRow__label {
    align-content: center;
    border-left: 2px solid rgba(88, 163, 160, .36);
    display: grid;
    min-height: 180px;
    padding: 6px 8px 6px 31px;
}

.photoRow__icon {
    fill: none;
    height: 30px;
    margin-bottom: 9px;
    stroke: #9ba4a1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 30px;
}

.photoRow__label h3 {
    color: var(--photo-teal);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.25;
    margin: 0;
}

.photoRow__label > span {
    color: var(--photo-teal);
    font-family: "Doppio One", sans-serif;
    font-size: 10px;
    letter-spacing: .12em;
    margin-top: 3px;
}

.photoRow__label p {
    color: #737d7a;
    font-size: 11px;
    letter-spacing: .06em;
    line-height: 1.65;
    margin: 15px 0 0;
}

.photoRow__images {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
    overflow: hidden;
}

.photoTile {
    aspect-ratio: 1.34 / 1;
    background: #e9f0ed;
    border: 0;
    border-radius: 8px;
    cursor: zoom-in;
    display: block;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.photoTile--hidden {
    display: none;
}

.photoTile__image {
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    width: 100%;
}

.photoTile:hover .photoTile__image,
.photoTile:focus-visible .photoTile__image {
    transform: scale(1.04);
}

.photoTile:nth-child(5)::after {
    background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.92));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.photoTile__more {
    align-items: center;
    background: rgba(255,255,255,.93);
    border: 1px solid var(--photo-teal);
    border-radius: 8px;
    color: var(--photo-teal);
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.1;
    padding: 10px 18px 8px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.photoTile__more small {
    font-family: "Doppio One", sans-serif;
    font-size: 7px;
    letter-spacing: .16em;
    margin-top: 4px;
}

.photoContact {
    background: linear-gradient(135deg, #fff 10%, #fbfaf4 55%, #f7fcfa 100%);
    min-height: 1010px;
    overflow: hidden;
    padding: 118px 0 90px;
    position: relative;
}

.photoContact__inner {
    margin: 0 auto;
    max-width: 1580px;
    padding: 0 clamp(36px, 8.8vw, 168px);
    position: relative;
    z-index: 2;
}

.photoContact__visual {
    clip-path: ellipse(65% 57% at 69% 44%);
    height: 715px;
    overflow: hidden;
    position: absolute;
    right: -25px;
    top: 0;
    width: 750px;
}

.photoContact__visual::after {
    background: linear-gradient(90deg, rgba(255,255,255,.6), transparent 35%);
    content: "";
    inset: 0;
    position: absolute;
}

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

.photoContact__heading {
    max-width: 910px;
    position: relative;
}

.photoContact__heading h2 {
    color: var(--photo-teal);
    font-size: clamp(27px, 2.45vw, 47px);
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.55;
    margin: 0;
}

.photoContact__heading p {
    color: #5c6663;
    font-size: clamp(13px, 1vw, 18px);
    letter-spacing: .07em;
    line-height: 2;
    margin: 42px 0 0;
}

.photoContact__leaf {
    height: 100px;
    position: absolute;
    right: -22px;
    top: 2px;
    transform: rotate(-8deg);
    width: 120px;
}

.photoContact__cards {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 75px;
    max-width: 1220px;
}

.photoContactCard {
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(83, 125, 112, .05);
    min-height: 330px;
    padding: 39px 47px 34px;
}

.photoContactCard--form {
    background: rgba(255, 254, 247, .95);
}

.photoContactCard--phone {
    background: rgba(247, 252, 251, .95);
}

.photoContactCard__head {
    align-items: center;
    display: flex;
    gap: 29px;
}

.photoContactCard__icon {
    align-items: center;
    background: var(--photo-green);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 82px;
    font-family: sans-serif;
    font-size: 34px;
    height: 82px;
    justify-content: center;
}

.photoContactCard--phone .photoContactCard__icon {
    background: var(--photo-teal);
    font-size: 0;
}

.photoContactCard--phone .photoContactCard__icon::before {
    border: 5px solid #fff;
    border-left-color: transparent;
    border-radius: 50%;
    content: "";
    height: 28px;
    transform: rotate(38deg);
    width: 18px;
}

.photoContactCard__head span:not(.photoContactCard__icon) {
    color: var(--photo-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
}

.photoContactCard--phone .photoContactCard__head span:not(.photoContactCard__icon) {
    color: var(--photo-teal);
}

.photoContactCard h3 {
    color: #5c6462;
    font-size: clamp(24px, 2vw, 37px);
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
    margin: 4px 0 0;
}

.photoContactCard p {
    color: #717977;
    font-size: 12px;
    letter-spacing: .07em;
    line-height: 1.8;
    margin: 24px 0 28px 111px;
}

.photoContactCard > a {
    align-items: center;
    background: var(--photo-green);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .13em;
    min-height: 55px;
    padding: 10px 20px;
    position: relative;
    text-decoration: none;
    transition: filter .25s ease, transform .25s ease;
}

.photoContactCard--phone > a {
    background: var(--photo-teal);
}

.photoContactCard > a:hover,
.photoContactCard > a:focus-visible {
    filter: brightness(.95);
    transform: translateY(-2px);
}

.photoContactCard > a span {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--photo-green);
    display: flex;
    height: 38px;
    justify-content: center;
    position: absolute;
    right: 9px;
    width: 38px;
}

.photoContactCard--phone > a span {
    color: var(--photo-teal);
}

.photoContact__note {
    background: rgba(242, 249, 247, .88);
    border-radius: 8px;
    color: #70817b;
    font-size: 14px;
    letter-spacing: .07em;
    margin: 42px auto 0;
    max-width: 990px;
    padding: 17px 28px;
    text-align: center;
}

.photoContact__note::before {
    color: var(--photo-teal);
    content: "▣";
    margin-right: 12px;
}

.photoContact__decor {
    height: 180px;
    position: absolute;
    width: 210px;
}

.photoContact__decor--left {
    bottom: 20px;
    left: 4px;
    transform: scaleX(-1) rotate(-18deg);
}

.photoContact__decor--right {
    bottom: 90px;
    right: 26px;
    transform: rotate(18deg);
}

.photoModal[hidden] {
    display: none;
}

.photoModal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 40px;
    position: fixed;
    z-index: 999999;
}

.photoModal__backdrop {
    background: rgba(16, 30, 29, .88);
    border: 0;
    inset: 0;
    position: absolute;
}

.photoModal__content {
    max-height: 90vh;
    max-width: min(1200px, 90vw);
    position: relative;
    z-index: 1;
}

.photoModal figure {
    margin: 0;
}

.photoModal img {
    display: block;
    max-height: 82vh;
    max-width: 100%;
    object-fit: contain;
}

.photoModal figcaption {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.photoModal__close,
.photoModal__nav {
    align-items: center;
    background: rgba(255,255,255,.94);
    border: 0;
    border-radius: 50%;
    color: #405956;
    cursor: pointer;
    display: flex;
    font-family: sans-serif;
    justify-content: center;
    position: absolute;
    z-index: 2;
}

.photoModal__close {
    font-size: 30px;
    height: 48px;
    right: -18px;
    top: -18px;
    width: 48px;
}

.photoModal__nav {
    font-size: 50px;
    height: 58px;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
}

.photoModal__nav--prev { left: -78px; }
.photoModal__nav--next { right: -78px; }

.isPhotoModalOpen {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .photoHero__inner {
        padding-left: 54px;
    }

    .photoHero__visual {
        min-height: 360px;
    }

    .photoRow {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .photoRow__label {
        padding-left: 20px;
    }

    .photoRow__images {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .photoTile:nth-child(5) {
        display: none;
    }

    .photoContact__visual {
        opacity: .55;
        right: -170px;
    }

    .photoContact__heading {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .photoPage {
        padding-top: 72px;
    }

    .photoHero {
        min-height: auto;
        padding-top: 32px;
    }

    .photoHero__inner {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .photoHero__copy {
        padding: 30px 26px 36px;
        width: 100%;
    }

    .photoHero__eyebrow {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .photoHero__title {
        font-size: clamp(32px, 9vw, 39px);
        letter-spacing: .04em;
    }

    .photoHero__text {
        font-size: 12px;
        line-height: 1.9;
        margin-top: 24px;
    }

    .photoHero__text br {
        display: none;
    }

    .photoHero__visual {
        aspect-ratio: 1.35 / 1;
        border-radius: 45% 0 0 0 / 28% 0 0 0;
        clip-path: none;
        min-height: 0;
        width: calc(100% - 26px);
        align-self: flex-end;
    }

    .photoDecor--leafTop {
        left: auto;
        right: 5px;
        top: 14px;
    }

    .photoDecor--dots {
        display: none;
    }

    .photoGallery {
        padding: 70px 18px 90px;
    }

    .photoGallery__heading {
        margin-bottom: 48px;
        padding: 0 42px;
    }

    .photoGallery__heading h2 {
        font-size: 25px;
        letter-spacing: .13em;
    }

    .photoGallery__heading p {
        font-size: 11px;
    }

    .photoGallery__heading p br {
        display: none;
    }

    .photoGallery__leaf {
        height: 50px;
        width: 58px;
    }

    .photoGallery__rows {
        gap: 40px;
    }

    .photoRow {
        gap: 14px;
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .photoRow__label {
        align-content: start;
        min-height: 0;
        padding: 7px 3px 7px 12px;
    }

    .photoRow__icon {
        height: 23px;
        margin-bottom: 6px;
        width: 23px;
    }

    .photoRow__label h3 {
        font-size: 15px;
    }

    .photoRow__label > span {
        font-size: 7px;
    }

    .photoRow__label p {
        font-size: 8px;
        line-height: 1.55;
        margin-top: 9px;
    }

    .photoRow__images {
        gap: 7px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photoTile {
        border-radius: 5px;
    }

    .photoTile:nth-child(3),
    .photoTile:nth-child(4),
    .photoTile:nth-child(5) {
        display: none;
    }

    .photoTile:nth-child(2)::after {
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.9));
        content: "";
        inset: 0;
        position: absolute;
    }

    .photoTile:nth-child(5)::after {
        content: none;
    }

    .photoTile__more {
        display: none;
    }

    .photoContact {
        min-height: 0;
        padding: 78px 0 65px;
    }

    .photoContact__inner {
        padding: 0 20px;
    }

    .photoContact__visual {
        clip-path: ellipse(76% 52% at 75% 20%);
        height: 390px;
        opacity: .42;
        right: -155px;
        top: -20px;
        width: 470px;
    }

    .photoContact__heading h2 {
        font-size: 26px;
        max-width: 290px;
    }

    .photoContact__heading p {
        font-size: 11px;
        line-height: 1.9;
        margin-top: 28px;
        max-width: 300px;
    }

    .photoContact__heading p br {
        display: none;
    }

    .photoContact__leaf {
        display: none;
    }

    .photoContact__cards {
        gap: 16px;
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .photoContactCard {
        min-height: 0;
        padding: 25px 24px 24px;
    }

    .photoContactCard__head {
        gap: 16px;
    }

    .photoContactCard__icon {
        flex-basis: 59px;
        font-size: 25px;
        height: 59px;
    }

    .photoContactCard__head span:not(.photoContactCard__icon) {
        font-size: 10px;
    }

    .photoContactCard h3 {
        font-size: 23px;
    }

    .photoContactCard p {
        font-size: 10px;
        margin: 18px 0 20px 75px;
    }

    .photoContactCard > a {
        font-size: 14px;
        min-height: 48px;
    }

    .photoContactCard > a span {
        height: 32px;
        width: 32px;
    }

    .photoContact__note {
        font-size: 10px;
        line-height: 1.7;
        margin-top: 24px;
        padding: 13px 16px;
    }

    .photoContact__decor {
        display: none;
    }

    .photoModal {
        padding: 18px;
    }

    .photoModal__content {
        max-width: 94vw;
    }

    .photoModal__nav {
        height: 44px;
        width: 44px;
    }

    .photoModal__nav--prev { left: 8px; }
    .photoModal__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .photoTile__image,
    .photoContactCard > a {
        transition: none;
    }
}
