/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/


/* =========================================================
   01. BASE
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    color: #282744;
    background: #fff;

    font-family:
        "Yu Gothic",
        "YuGothic",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;
}

.site {
    width: 100%;
    max-width: none;
}

.site-content,
.content-area,
.site-main,
.inside-article,
.entry-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.entry-header {
    display: none;
}

.ceremony-home {
    width: 100%;
}

.home-container {
    width: calc(100% - 60px);
    max-width: 1420px;

    margin: 0 auto;
}


/* =========================================================
   02. HEADER
========================================================= */

.site-header {
    background: #fff;
}

.site-header .inside-header {
    width: calc(100% - 60px);
    max-width: 1480px;
    min-height: 105px;

    margin: 0 auto;
    padding: 10px 0;

    display: flex;
    align-items: center;
}

.site-logo {
    flex: 0 0 auto;

    margin-right: 55px;
}

.site-logo img {
    display: block;

    width: 215px;
    max-width: 215px;
    height: auto;
}


/* =========================================================
   03. HEADER NAVIGATION
========================================================= */

.main-navigation {
    flex: 1 1 auto;

    margin: 0;

    background: transparent;
}

.main-navigation .inside-navigation,
.main-navigation .main-nav {
    width: 100%;

    background: transparent;
}

.main-navigation .main-nav > ul {
    width: 100%;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
}

.main-navigation .main-nav > ul >
li:not(.menu-phone):not(.menu-consult) > a {

    padding: 12px 14px;

    color: #282744;
    background: transparent;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;
}

.main-navigation .main-nav > ul >
li:not(.menu-phone):not(.menu-consult) > a:hover {

    color: #665c96;
    background: transparent;
}


/* =========================================================
   04. HEADER PHONE
========================================================= */

.main-navigation .menu-phone {
    margin-left: auto;
}

.main-navigation .menu-phone > a {
    position: relative;

    width: 225px;
    height: 72px;

    padding: 25px 5px 3px 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #29264f;
    background: transparent;

    font-family:
        "Yu Mincho",
        YuMincho,
        "Hiragino Mincho ProN",
        serif;

    font-size: 26px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;
}

.main-navigation .menu-phone > a::before {
    content: "24時間365日 ご連絡を承ります";

    position: absolute;

    top: -10px;
    left: 0;

    width: 100%;

    color: #45435a;

    font-size: 14px;

    text-align: center;

    white-space: nowrap;
}

.main-navigation .menu-phone > a::after {
    content: "☎";

    position: absolute;

    left: 7px;
    top: 20px;

    color: #665c96;

    font-size: 20px;
}


/* =========================================================
   05. HEADER CONSULT
========================================================= */

.main-navigation .menu-consult {
    width: 118px;

    margin-left: 10px;
}

.main-navigation .main-nav ul li.menu-consult > a {
    width: 118px;
    height: 76px;

    padding: 0 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #665c96;

    border-radius: 4px;

    font-family:
        "Yu Mincho",
        YuMincho,
        "Hiragino Mincho ProN",
        serif;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;

    white-space: nowrap;
}

.main-navigation .main-nav ul li.menu-consult > a::after {
    content: "無料で相談する";

    display: block;

    margin-top: 7px;

    color: #fff;

    font-size: 13px;
    font-weight: 400;

    white-space: nowrap;
}

.main-navigation .main-nav ul li.menu-consult > a:hover {
    color: #fff;
    background: #514878;
}


/* =========================================================
   06. HERO
========================================================= */

.home-hero {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #fff;
}

.home-hero-picture,
.home-hero-image {
    display: block;

    width: 100%;
    height: auto;
}

.home-hero-actions {
    position: absolute;

    left: 5.2%;
    bottom: 12%;

    display: flex;

    gap: 14px;
}


/* =========================================================
   07. HERO BUTTONS
========================================================= */

.home-hero-btn {
    width: 260px;
    height: 100px;

    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-family:
        "Yu Mincho",
        YuMincho,
        "Hiragino Mincho ProN",
        serif;

    text-decoration: none;

    transition: transform .2s ease;
}

.home-hero-btn:hover {
    transform: translateY(-2px);
}

.home-hero-phone {
    color: #fff;

    background: #665c96;
}

.home-hero-consult {
    color: #342f5d;

    background: rgba(255,255,255,.95);

    border: 2px solid #665c96;
}

.home-hero-btn-main {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;

    white-space: nowrap;
}

.home-hero-btn-sub {
    margin-top: 0px;

    font-size: 18px;
    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   08. QUICK NAV
========================================================= */

.home-quicknav {
    width: 100%;

    padding: 20px 30px 24px;

    background: #fff;
}

.home-quicknav-inner {
    width: 100%;
    max-width: 1420px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-quicknav-item {
    min-height: 120px;

    padding: 15px 24px;

    display: grid;
    grid-template-columns: 54px 1fr 18px;

    column-gap: 14px;

    align-items: center;

    color: #29264f;

    text-decoration: none;
}

.home-quicknav-item + .home-quicknav-item {
    border-left: 1px solid #e8e4e1;
}

.home-quicknav-item:hover {
    color: #29264f;

    background: #faf9fb;
}

.home-quicknav-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #665c96;

    background: #f5f2f7;

    border-radius: 50%;

    font-size: 25px;
}

.home-quicknav-copy strong {
    display: block;

    margin-bottom: 5px;

    font-family:
        "Yu Mincho",
        YuMincho,
        "Hiragino Mincho ProN",
        serif;

    font-size: 20px;
    line-height: 1.3;

    white-space: nowrap;
}

.home-quicknav-copy small {
    display: block;

    color: #555266;

    font-size: 12px;
    line-height: 1.5;
}

.home-quicknav-arrow {
    color: #665c96;

    font-size: 23px;
}


/* =========================================================
   09. ABOUT
========================================================= */

.home-about {
    padding: 55px 0;

    background: #faf9f7;
}

.home-about-inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;

    align-items: center;

    gap: 55px;
}

.home-about-copy h2 {
    margin: 0 0 24px;

    color: #39345e;

    font-family:
        "Yu Mincho",
        YuMincho,
        "Hiragino Mincho ProN",
        serif;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.45;
}

.home-section-kicker {
    margin-bottom: 10px;

    color: #756d98;

    font-size: 14px;
}

.home-about-copy p {
    margin-bottom: 25px;

    color: #4f4d59;

    font-size: 14px;
    line-height: 2;
}

.home-about-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 8px;
}


/* =========================================================
   10. BUTTON
========================================================= */

.home-outline-button {
    min-width: 170px;

    padding: 12px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    color: #4d476f;

    border: 1px solid #8c85a8;
    border-radius: 4px;

    text-decoration: none;

    font-size: 13px;
}


/* =========================================================
   11. REASONS
========================================================= */

.home-reasons {
    padding: 28px 0;

    color: #fff;

    background: linear-gradient(
        100deg,
        #6b6297,
        #8178aa
    );
}

.home-reasons-inner {
    display: grid;
    grid-template-columns: 1.25fr repeat(5,1fr);

    align-items: stretch;
}

.home-reasons-heading,
.home-reason {
    min-height: 120px;

    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.home-reasons-heading {
    align-items: flex-start;

    text-align: left;
}

.home-reasons-heading span {
    font-size: 13px;
}

.home-reasons-heading strong {
    margin-top: 5px;

    font-family:
        "Yu Mincho",
        YuMincho,
        serif;

    font-size: 23px;
}

.home-reason {
    border-left: 1px solid rgba(255,255,255,.25);
}

.home-reason-icon {
    min-height: 30px;

    margin-bottom: 8px;

    font-size: 26px;
}

.home-reason strong {
    font-size: 13px;
}

.home-reason small {
    margin-top: 6px;

    font-size: 10px;
    line-height: 1.5;

    opacity: .9;
}


/* =========================================================
   12. FEATURE
========================================================= */

.home-feature {
    padding: 50px 0;

    background: #fff;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);

    gap: 24px;
}

.home-feature-card {
    min-height: 310px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background: #fff;

    border: 1px solid #ece8e5;
    border-radius: 10px;

    box-shadow: 0 5px 20px rgba(60,50,70,.05);
}

.home-feature-copy {
    padding: 30px;
}

.home-feature-copy h2 {
    margin: 0 0 15px;

    color: #39345e;

    font-family:
        "Yu Mincho",
        YuMincho,
        serif;

    font-size: 24px;
    font-weight: 500;
}

.home-feature-copy p {
    color: #55525d;

    font-size: 13px;
    line-height: 1.9;
}

.home-feature-image {
    height: 100%;
}

.home-feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.home-check-list {
    margin: 16px 0 20px;
    padding: 0;

    list-style: none;

    font-size: 12px;
}

.home-check-list li {
    margin-bottom: 8px;
}

.home-check-list li::before {
    content: "✓";

    margin-right: 8px;

    color: #c5a659;
}


/* =========================================================
   13. OBITUARY
========================================================= */

.home-obituary {
    padding: 15px 0 55px;

    background: #fff;
}

.home-section-title-row {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-section-title-row h2 {
    margin: 0;

    color: #39345e;

    font-family:
        "Yu Mincho",
        YuMincho,
        serif;

    font-size: 26px;
    font-weight: 500;
}

.home-section-more {
    color: #665c96;

    font-size: 12px;

    text-decoration: none;
}

.home-obituary-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 20px;
}

.home-obituary-card {
    padding: 25px;

    border: 1px solid #eae6e3;
    border-radius: 8px;

    background: #fff;
}

.home-obituary-card time {
    color: #8b849a;

    font-size: 12px;
}

.home-obituary-card h3 {
    margin: 8px 0 12px;

    color: #39345e;

    font-family:
        "Yu Mincho",
        YuMincho,
        serif;

    font-size: 19px;
}

.home-obituary-card p {
    color: #55525d;

    font-size: 12px;
    line-height: 1.8;
}

.home-obituary-card a {
    color: #665c96;

    font-size: 12px;

    text-decoration: none;
}


/* =========================================================
   14. COLUMN
========================================================= */

.home-column {
    padding: 35px 0;

    background: #faf9f7;
}

.home-column-layout {
    display: grid;
    grid-template-columns: 210px 1fr;

    gap: 35px;
}

.home-column-intro h2 {
    margin: 0 0 10px;

    color: #39345e;

    font-family:
        "Yu Mincho",
        YuMincho,
        serif;

    font-size: 22px;
}

.home-column-intro p {
    font-size: 12px;
    line-height: 1.8;
}

.home-column-intro a {
    color: #665c96;

    font-size: 12px;

    text-decoration: none;
}

.home-column-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 18px;
}

.home-column-card {
    color: #3e3b48;

    text-decoration: none;

    font-size: 12px;
    line-height: 1.6;
}

.home-column-card img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 8;

    margin-bottom: 10px;

    object-fit: cover;

    border-radius: 5px;
}


/* =========================================================
   15. FOOTER
========================================================= */

.site-footer {
    margin: 0;

    background: #504a78;
}

.site-info {
    padding: 20px;

    color: #fff;

    background: #504a78;

    text-align: center;

    font-size: 12px;
}

.site-info a {
    color: #fff;
}


/* =========================================================
   16. TABLET
========================================================= */

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

    .site-header .inside-header {
        width: calc(100% - 30px);
    }

    .site-logo {
        margin-right: 25px;
    }

    .site-logo img {
        width: 180px;
    }

    .main-navigation .main-nav > ul >
    li:not(.menu-phone):not(.menu-consult) > a {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 13px;
    }

    .main-navigation .menu-phone > a {
        width: 180px;

        font-size: 20px;
    }

}


/* =========================================================
   17. MOBILE
========================================================= */

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

    .home-container {
        width: calc(100% - 30px);
    }


    /* HEADER */

    .site-header .inside-header {
        width: 100%;
        min-height: auto;

        padding: 12px 18px;
    }

    .site-logo {
        margin-right: auto;
    }

    .site-logo img {
        width: 180px;
    }

    .main-navigation .menu-phone,
    .main-navigation .menu-consult {
        display: none;
    }


    /* HERO */

    .home-hero-actions {
        left: 18px;
        right: 18px;
        bottom: 5%;

        width: auto;

        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));

        gap: 8px;
    }

    .home-hero-btn {
        width: 100%;
        min-width: 0;

        height: 72px;

        padding: 5px;

        border-radius: 8px;
    }

    .home-hero-btn-main {
        font-size: 16px;
    }

    .home-hero-btn-sub {
        margin-top: 5px;

        font-size: 11px;
    }



    /* QUICK NAV */

    .home-quicknav {
        padding: 12px;
    }

    .home-quicknav-inner {
        grid-template-columns: repeat(2,1fr);
    }

    .home-quicknav-item {
        min-height: 110px;

        padding: 10px 8px;

        grid-template-columns: 40px 1fr 12px;

        column-gap: 7px;
    }

    .home-quicknav-item + .home-quicknav-item {
        border-left: none;
    }

    .home-quicknav-item:nth-child(even) {
        border-left: 1px solid #e8e4e1;
    }

    .home-quicknav-item:nth-child(-n+2) {
        border-bottom: 1px solid #e8e4e1;
    }

    .home-quicknav-icon {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .home-quicknav-copy strong {
        font-size: 15px;
    }

    .home-quicknav-copy small {
        font-size: 9px;
    }

    .home-quicknav-arrow {
        font-size: 16px;
    }


    /* ABOUT */

    .home-about {
        padding: 38px 0;
    }

    .home-about-inner {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .home-about-copy h2 {
        font-size: 27px;
    }


    /* REASONS */

    .home-reasons-inner {
        grid-template-columns: repeat(2,1fr);
    }

    .home-reasons-heading {
        grid-column: 1 / -1;

        min-height: auto;

        padding-bottom: 20px;

        align-items: center;

        text-align: center;
    }

    .home-reason {
        min-height: 115px;

        border-top: 1px solid rgba(255,255,255,.2);
    }


    /* FEATURE */

    .home-feature {
        padding: 35px 0;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-card {
        grid-template-columns: 1fr;
    }

    .home-feature-image {
        min-height: 210px;
    }


    /* OBITUARY */

    .home-obituary-grid {
        grid-template-columns: 1fr;
    }


    /* COLUMN */

    .home-column-layout {
        grid-template-columns: 1fr;
    }

    .home-column-grid {
        grid-template-columns: repeat(2,1fr);
    }

}