@charset "utf-8";

/*
Theme Name: LIFE GALLERY Results
Description: LIFE GALLERY 暮らしの写真コンテスト 結果発表専用テーマ
Version: 1.9.8
*/


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --lgr-accent: #70866c;
    --lgr-line: #dedfdc;
}


/* =========================================================
   MAIN VISUAL
   結果発表専用画像
========================================================= */

#mainin {
    background-image: url("/images/life-gallery/main_02.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}


/* =========================================================
   RESULTS BASE
========================================================= */

.lgr {
    width: 100%;
    background: #fff;
    color: #222;
}


/* =========================================================
   RESULT INTRO
========================================================= */

.lgr-hero {
    position: relative;
    width: 100%;
    padding: 110px 20px 125px;
    box-sizing: border-box;
    text-align: center;
}

.lgr-hero__en {
    margin: 0 0 20px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .30em;
    font-weight: 400;
    color: var(--lgr-accent);
}

.lgr-hero__event {
    display: inline-block;
    margin: 0 0 32px;
    padding: 9px 16px 8px;
    border: 1px solid var(--lgr-accent);
    font-size: 10px;
    line-height: 1;
    letter-spacing: .20em;
    font-weight: 400;
}

.lgr-hero__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.65;
    letter-spacing: .11em;
    font-weight: 400;
}

.lgr-hero__lead {
    margin: 36px 0 0;
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: .07em;
    font-weight: 400;
}

.lgr-hero::after {
    content: "";
    display: block;
    width: 1px;
    height: 45px;
    margin: 48px auto 0;
    background: var(--lgr-accent);
    opacity: .45;
}


/* =========================================================
   SECTION
========================================================= */

body .lgr .lgr-section {
    position: relative;
    width: 100%;
    padding: 0 20px 170px;
    box-sizing: border-box;
}


/* =========================================================
   SECTION HEADING
========================================================= */

body .lgr .lgr-section-heading {
    position: relative;
    width: 600px;
    max-width: 100%;
    margin: 0 auto 75px;
    text-align: center;
    z-index: 2;
}

body .lgr .lgr-section-heading__en {
    margin: 0 0 14px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .28em;
    font-weight: 400;
    color: var(--lgr-accent);
}

body .lgr .lgr-section-heading__ja {
    margin: 0;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: .12em;
    font-weight: 400;
}

body .lgr .lgr-section-heading__ja::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin: 20px auto 0;
    background: var(--lgr-accent);
}


/* =========================================================
   LIST
========================================================= */

body .lgr .lgr-list {
    position: relative;
    width: 100%;
    z-index: 1;
}


/* =========================================================
   AWARD SECTION
========================================================= */

body .lgr .lgr-awards {
    position: relative;
    padding-bottom: 180px;
    overflow: hidden;
}

body .lgr .lgr-awards::before {
    content: "AWARD";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(100px, 16vw, 240px);
    line-height: .8;
    letter-spacing: .08em;
    font-weight: 400;
    color: rgba(112, 134, 108, .055);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

body .lgr .lgr-awards .lgr-entry {
    margin-bottom: 150px;
}

body .lgr .lgr-awards .lgr-entry:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ENTRY
========================================================= */

body .lgr .lgr-entry {
    display: block;
    width: 600px;
    max-width: calc(100vw - 40px);
    margin: 0 auto 135px;
    padding: 0;
    box-sizing: border-box;
}

body .lgr .lgr-entry:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PHOTO
========================================================= */

body .lgr .lgr-entry__photo {
    display: block;
    position: relative;
    width: 600px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

body .lgr .lgr-entry__photo img {
    display: block !important;
    width: 600px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    box-sizing: border-box;
}

body .lgr .lgr-awards .lgr-entry__photo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 65px;
    height: 3px;
    background: var(--lgr-accent);
    pointer-events: none;
}


/* =========================================================
   ENTRY BODY
========================================================= */

body .lgr .lgr-entry__body {
    display: block;
    width: 600px;
    max-width: 100%;
    margin: 0;
    padding: 32px 0 0;
    box-sizing: border-box;
}


/* =========================================================
   ENTRY NUMBER
========================================================= */

body .lgr .lgr-entry__number {
    margin: 0 0 20px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .24em;
    font-weight: 400;
    color: var(--lgr-accent);
}

body .lgr .lgr-entry__number::after {
    content: "";
    display: inline-block;
    width: 38px;
    height: 1px;
    margin-left: 13px;
    vertical-align: middle;
    background: var(--lgr-line);
}

body .lgr .lgr-awards .lgr-entry__number {
    margin-bottom: 28px;
    font-size: 12px;
    letter-spacing: .28em;
    color: #222;
}

body .lgr .lgr-awards .lgr-entry__number::after {
    width: 55px;
    margin-left: 16px;
    background: var(--lgr-accent);
}


/* =========================================================
   AWARD LABEL
========================================================= */

body .lgr .lgr-entry__award {
    position: relative;
    margin: 0 0 38px;
    padding: 3px 0 3px 25px;
}

body .lgr .lgr-entry__award::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--lgr-accent);
}

body .lgr .lgr-entry__award-en {
    display: block;
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: .18em;
    font-weight: 400;
    color: var(--lgr-accent);
}

body .lgr .lgr-entry__award-ja {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .12em;
    font-weight: 400;
    color: #222;
}


/* =========================================================
   TITLE
========================================================= */

body .lgr .lgr-entry__title {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.65;
    letter-spacing: .07em;
    font-weight: 400;
}


/* =========================================================
   COMMENT
========================================================= */

body .lgr .lgr-entry__comment {
    margin: 0;
    font-size: 14px;
    line-height: 2.05;
    letter-spacing: .045em;
    font-weight: 400;
}

body .lgr .lgr-entry__comment p {
    margin: 0;
}

body .lgr .lgr-entry__comment p + p {
    margin-top: 1em;
}


/* =========================================================
   META
========================================================= */

body .lgr .lgr-entry__meta {
    margin: 32px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--lgr-line);
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: .06em;
    font-weight: 400;
}

body .lgr .lgr-entry__meta p {
    margin: 0;
}


/* =========================================================
   NICKNAME
========================================================= */

body .lgr .lgr-entry__nickname {
    margin: 0 0 3px !important;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: .06em;
    font-weight: 400;
    color: #222;
}

body .lgr .lgr-entry__nickname-name {
    font-size: inherit;
}

body .lgr .lgr-entry__honorific {
    margin-left: .25em;
    font-size: 11px;
    letter-spacing: .05em;
}


/* =========================================================
   PROFILE
========================================================= */

body .lgr .lgr-entry__profile {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: .06em;
    font-weight: 400;
    color: #555;
}


/* =========================================================
   INSTAGRAM
========================================================= */

body .lgr .lgr-entry__instagram {
    margin: 5px 0 0 !important;
}

body .lgr .lgr-entry__instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #555;
    text-decoration: none;
    transition: color .25s ease;
}

body .lgr .lgr-entry__instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

body .lgr .lgr-entry__instagram-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .lgr .lgr-entry__instagram-icon .lgr-entry__instagram-dot {
    fill: currentColor;
    stroke: none;
}

body .lgr .lgr-entry__instagram-account {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .05em;
}

body .lgr .lgr-entry__instagram-arrow {
    display: inline-block;
    margin-left: 1px;
    font-size: 11px;
    line-height: 1;
    color: var(--lgr-accent);
    transform: translateY(-1px);
}

body .lgr .lgr-entry__instagram-link:hover {
    color: var(--lgr-accent);
}


/* =========================================================
   ALL PHOTOS
========================================================= */

body .lgr .lgr-all {
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

body .lgr .lgr-all::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    max-width: calc(100% - 40px);
    height: 1px;
    background: var(--lgr-accent);
    opacity: .35;
    transform: translateX(-50%);
    z-index: 2;
}

body .lgr .lgr-all::after {
    content: "LIFE GALLERY";
    position: absolute;
    top: 145px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(70px, 11vw, 170px);
    line-height: .85;
    letter-spacing: .08em;
    font-weight: 400;
    color: rgba(0, 0, 0, .025);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   NO POST
========================================================= */

body .lgr .lgr-no-post {
    width: 600px;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    font-size: 13px;
    line-height: 2;
    text-align: center;
}


/* =========================================================
   BACK NUMBER
========================================================= */

body .lgr .lgr-backnumber {
    position: relative;
    width: 100%;
    padding: 40px 20px 180px;
    box-sizing: border-box;
}

body .lgr .lgr-backnumber__list {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--lgr-line);
}

body .lgr .lgr-backnumber__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 25px 4px;
    border-bottom: 1px solid var(--lgr-line);
    box-sizing: border-box;
    color: #222;
    text-decoration: none;
    transition:
        opacity .3s ease,
        padding .3s ease;
}

body .lgr .lgr-backnumber__item:hover {
    opacity: .55;
    padding-left: 10px;
    padding-right: 10px;
}

body .lgr .lgr-backnumber__name {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: .12em;
    font-weight: 400;
}

body .lgr .lgr-backnumber__arrow {
    font-size: 15px;
    line-height: 1;
    color: var(--lgr-accent);
}


/* =========================================================
   BACK TO CURRENT RESULTS
========================================================= */

body .lgr .lgr-back {
    width: 100%;
    padding: 20px 20px 180px;
    box-sizing: border-box;
}

body .lgr .lgr-back__link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 4px;
    border-top: 1px solid var(--lgr-line);
    border-bottom: 1px solid var(--lgr-line);
    box-sizing: border-box;
    color: #222;
    text-decoration: none;
    transition:
        opacity .3s ease,
        padding .3s ease;
}

body .lgr .lgr-back__link:hover {
    opacity: .55;
    padding-left: 10px;
}

body .lgr .lgr-back__arrow {
    font-size: 15px;
    line-height: 1;
    color: var(--lgr-accent);
}

body .lgr .lgr-back__text {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: .08em;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1000px) {

    .lgr-hero {
        padding-top: 95px;
        padding-bottom: 110px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {


    /* =====================================================
       BASE RESET
    ===================================================== */

    body {
        margin-top: 0 !important;
    }

    #main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #mainin {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #header {
        margin-top: 0 !important;
        top: 0 !important;
    }


    /* =====================================================
       MAIN VISUAL TITLE
    ===================================================== */

    body.page.life_gallery #main #mainin #main-title {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        transform: translateY(-50%) !important;
        text-align: center !important;
    }

    body.page.life_gallery #main #mainin #main-title > div {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 28px !important;
        line-height: 1.15 !important;
        letter-spacing: .01em !important;
        font-weight: 400 !important;
    }

    body.page.life_gallery #main #mainin #main-title > span {
        display: block !important;
        margin: 13px 0 0 !important;
        padding: 0 !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        letter-spacing: .12em !important;
        font-weight: 400 !important;
    }


    /* =====================================================
       CONTENT START
    ===================================================== */

    body.page.life_gallery #contents.lgr {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }


    /* =====================================================
       RESULT INTRO

       メイン画像下端
            ↓
          32px
            ↓
       PHOTO CONTEST RESULT
    ===================================================== */

    body.page.life_gallery #contents.lgr > .lgr-hero {
        position: relative !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

        padding:
            32px
            32px
            100px !important;

        box-sizing: border-box !important;
        text-align: center !important;
    }

    body .lgr .lgr-hero__en {
        margin: 0 0 22px !important;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        letter-spacing: .25em !important;
    }

    body .lgr .lgr-hero__event {
        margin: 0 0 32px !important;

        padding:
            10px
            16px
            9px !important;

        font-size: 12px !important;
        line-height: 1 !important;
        letter-spacing: .16em !important;
    }

    body .lgr .lgr-hero__title {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 28px !important;
        line-height: 1.65 !important;
        letter-spacing: .07em !important;
        font-weight: 400 !important;
    }

    body .lgr .lgr-hero__lead {
        margin: 34px 0 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 2.05 !important;
        letter-spacing: .04em !important;
    }

    body .lgr .lgr-hero::after {
        height: 42px !important;
        margin: 44px auto 0 !important;
    }


    /* =====================================================
       SECTION
    ===================================================== */

    body .lgr .lgr-section {
        padding-left: 32px !important;
        padding-right: 32px !important;
        padding-bottom: 120px !important;
    }


    /* =====================================================
       BACKGROUND TYPOGRAPHY
    ===================================================== */

    body .lgr .lgr-awards::before {
        top: 30px !important;
        font-size: 27vw !important;
        letter-spacing: .03em !important;
    }

    body .lgr .lgr-all::after {
        top: 120px !important;
        font-size: 17vw !important;
        letter-spacing: .03em !important;
    }


    /* =====================================================
       SECTION HEADING
    ===================================================== */

    body .lgr .lgr-section-heading {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 58px !important;
    }

    body .lgr .lgr-section-heading__en {
        margin-bottom: 14px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        letter-spacing: .22em !important;
    }

    body .lgr .lgr-section-heading__ja {
        font-size: 26px !important;
        line-height: 1.5 !important;
        letter-spacing: .08em !important;
        font-weight: 400 !important;
    }

    body .lgr .lgr-section-heading__ja::after {
        width: 30px !important;
        margin-top: 18px !important;
    }


    /* =====================================================
       ENTRY
    ===================================================== */

    body .lgr .lgr-entry {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 100px !important;
    }

    body .lgr .lgr-awards .lgr-entry {
        margin-bottom: 115px !important;
    }


    /* =====================================================
       PHOTO
    ===================================================== */

    body .lgr .lgr-entry__photo {
        width: 100% !important;
        max-width: 100% !important;
    }

    body .lgr .lgr-entry__photo img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    body .lgr .lgr-awards .lgr-entry__photo::after {
        width: 48px !important;
        height: 2px !important;
    }


    /* =====================================================
       ENTRY BODY
    ===================================================== */

    body .lgr .lgr-entry__body {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 30px !important;
    }


    /* =====================================================
       NUMBER
    ===================================================== */

    body .lgr .lgr-entry__number {
        margin-bottom: 18px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    body .lgr .lgr-entry__number::after {
        width: 30px !important;
        margin-left: 11px !important;
    }

    body .lgr .lgr-awards .lgr-entry__number {
        margin-bottom: 24px !important;
        font-size: 12px !important;
    }

    body .lgr .lgr-awards .lgr-entry__number::after {
        width: 44px !important;
        margin-left: 13px !important;
    }


    /* =====================================================
       AWARD
    ===================================================== */

    body .lgr .lgr-entry__award {
        margin-bottom: 32px !important;
        padding: 3px 0 3px 20px !important;
    }

    body .lgr .lgr-entry__award-en {
        margin-bottom: 8px !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        letter-spacing: .15em !important;
    }

    body .lgr .lgr-entry__award-ja {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }


    /* =====================================================
       PHOTO TITLE
    ===================================================== */

    body .lgr .lgr-entry__title {
        margin-bottom: 22px !important;
        font-size: 20px !important;
        line-height: 1.7 !important;
        letter-spacing: .05em !important;
    }


    /* =====================================================
       COMMENT
    ===================================================== */

    body .lgr .lgr-entry__comment {
        font-size: 14px !important;
        line-height: 2 !important;
        letter-spacing: .025em !important;
    }

    body .lgr .lgr-entry__comment p {
        font-size: inherit !important;
        line-height: inherit !important;
    }


    /* =====================================================
       META
    ===================================================== */

    body .lgr .lgr-entry__meta {
        margin-top: 30px !important;
        padding-top: 20px !important;
        font-size: 14px !important;
        line-height: 1.8 !important;
    }


    /* =====================================================
       NICKNAME
    ===================================================== */

    body .lgr .lgr-entry__nickname {
        margin-bottom: 5px !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
        color: #222 !important;
    }

    body .lgr .lgr-entry__nickname-name {
        font-size: 16px !important;
    }

    body .lgr .lgr-entry__honorific {
        font-size: 12px !important;
    }


    /* =====================================================
       PROFILE
    ===================================================== */

    body .lgr .lgr-entry__profile {
        font-size: 14px !important;
        line-height: 1.8 !important;
        color: #555 !important;
    }


    /* =====================================================
       INSTAGRAM
    ===================================================== */

    body .lgr .lgr-entry__instagram {
        margin-top: 9px !important;
    }

    body .lgr .lgr-entry__instagram-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #555 !important;
        text-decoration: none !important;
    }

    body .lgr .lgr-entry__instagram-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
    }

    body .lgr .lgr-entry__instagram-icon svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        stroke-width: 1.7 !important;
    }

    body .lgr .lgr-entry__instagram-account {
        font-size: 14px !important;
        line-height: 20px !important;
        letter-spacing: .04em !important;
    }

    body .lgr .lgr-entry__instagram-arrow {
        margin-left: 1px !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }


    /* =====================================================
       AWARD SECTION
    ===================================================== */

    body .lgr .lgr-awards {
        padding-bottom: 135px !important;
    }


    /* =====================================================
       ALL PHOTOS
    ===================================================== */

    body .lgr .lgr-all {
        padding-top: 80px !important;
    }

    body .lgr .lgr-all::before {
        width: calc(100% - 64px) !important;
        max-width: none !important;
    }


    /* =====================================================
       NO POST
    ===================================================== */

    body .lgr .lgr-no-post {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 13px !important;
    }


    /* =====================================================
       BACK NUMBER
    ===================================================== */

    body .lgr .lgr-backnumber {
        padding: 20px 32px 120px !important;
    }

    body .lgr .lgr-backnumber__list {
        width: 100% !important;
    }

    body .lgr .lgr-backnumber__item {
        padding: 20px 2px !important;
    }

    body .lgr .lgr-backnumber__name {
        font-size: 13px !important;
    }


    /* =====================================================
       BACK TO CURRENT
    ===================================================== */

    body .lgr .lgr-back {
        padding: 0 32px 120px !important;
    }

    body .lgr .lgr-back__link {
        width: 100% !important;
        padding: 20px 2px !important;
    }

    body .lgr .lgr-back__text {
        font-size: 13px !important;
    }

}