@charset "UTF-8";

/* ========================================================================
   TOP / ORDER HERE + 営業時間について (2026-11)
   WordPress front-page.php 専用。既存ページへの干渉を避けるためセクションに限定。
   ======================================================================== */
#top-work-list .hn-front-order,
#top-work-list .hn-front-hours,
#top-work-list .hn-front-order *,
#top-work-list .hn-front-hours * {
    box-sizing: border-box;
}

/* --- ORDER HERE --- */
#top-work-list #front-order-here {
    padding: 42px 0 0;
    text-align: center;
    color: #081e32;
}
#front-order-here .hn-front-order__header,
#front-order-here .hn-front-order__title,
#front-order-here .hn-front-order__subtitle {
    margin: 0;
}
#front-order-here .hn-front-order__title {
    font-family: 'Crimson Text', Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.045em !important;
}
#front-order-here .hn-front-order__subtitle {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
}
#front-order-here .hn-front-order__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1040px;
    margin: 48px auto 0;
}
#front-order-here .hn-front-order__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 255px;
    padding: 32px 16px 28px;
    background: #dedede;
    text-align: center;
}
#front-order-here .hn-front-order__card h3 {
    margin: 0 0 15px;
    color: #081e32;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.025em !important;
}
#front-order-here .hn-front-order__card p {
    margin: 0 0 19px;
    color: #081e32;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.025em;
}
#front-order-here .hn-front-order__card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 144px;
    min-height: 40px;
    margin-top: auto;
    padding: 8px 15px;
    border: 1px solid #081e32;
    background: #081e32;
    color: #fff !important;
    text-decoration: none;
    font-family: 'Crimson Text', Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    transition: background-color 0.2s, color 0.2s;
}
#front-order-here .hn-front-order__card-link:hover {
    background: #fff;
    color: #081e32 !important;
    opacity: 1;
}
#front-order-here .hn-front-order__note {
    margin: 40px auto 0;
    color: #081e32;
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}
#front-order-here .hn-front-order__note span {
    display: block;
}

/* --- ORDER / 営業時間の共通 CONTACT・TEL 導線 --- */
#top-work-list .hn-front-contact-cta {
    display: flex;
    width: 100%;
    max-width: 640px;
    margin: 24px auto 0;
    background: #081e32;
}
#top-work-list .hn-front-contact-cta__link {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 125px;
    padding: 18px 11px;
    color: #fff !important;
    background: #081e32;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}
#top-work-list .hn-front-contact-cta__link + .hn-front-contact-cta__link {
    border-left: 1px solid rgba(255,255,255,0.85);
}
#top-work-list .hn-front-contact-cta__link:hover {
    background: #19364e;
    color: #fff !important;
    opacity: 1;
}
#top-work-list .hn-front-contact-cta__caption {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.04em;
}
#top-work-list .hn-front-contact-cta__main {
    display: block;
    color: #fff;
    font-family: 'Crimson Text', Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
#top-work-list .hn-front-contact-cta__main span {
    color: inherit;
}
#top-work-list .hn-front-contact-cta__link:focus-visible,
#front-order-here .hn-front-order__card-link:focus-visible,
#front-hours .hn-front-hours__text-link:focus-visible {
    outline: 3px solid #c2ab59;
    outline-offset: 3px;
}

/* --- 営業時間について --- */
#top-work-list #front-hours {
    position: relative;
    max-width: 1200px;
    margin: 78px auto 85px;
    padding: 0 28px 46px;
    border: 0;
    color: #081e32;
    text-align: center;
}
/* The outline starts halfway down the in-flow title. It cannot clip
   the heading, even if the theme applies overflow:hidden to sections. */
#top-work-list #front-hours::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid #081e32;
    pointer-events: none;
}
#front-hours .hn-front-hours__title {
    position: relative;
    z-index: 1;
    display: table;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 0 auto 40px;
    padding: 0 26px;
    background: #fff;
    color: #081e32;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}
#front-hours .hn-front-hours__block h3 {
    margin: 0 0 6px;
    color: #081e32;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}
#front-hours .hn-front-hours__shop-days {
    margin: 0 0 6px;
    color: #081e32;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}
#front-hours .hn-front-hours__shop-days span {
    white-space: nowrap;
}
#front-hours .hn-front-hours__info {
    margin: 0;
    color: #081e32;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
#front-hours .hn-front-hours__block--reservation {
    margin-top: 27px;
}
#front-hours .hn-front-hours__text-link {
    color: #081e32 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
#top-work-list #front-hours .hn-front-contact-cta--hours {
    margin-top: 22px;
}

/* --- TABLET --- */
@media screen and (max-width: 959px) {
    #front-order-here .hn-front-order__cards {
        gap: 15px;
        margin-top: 35px;
    }
    #front-order-here .hn-front-order__card {
        min-height: 255px;
        padding: 25px 12px;
    }
    #front-order-here .hn-front-order__card h3 {
        font-size: 20px;
    }
    #front-order-here .hn-pc-break,
    #front-hours .hn-pc-break {
        display: none;
    }
    #top-work-list #front-hours {
        margin-top: 72px;
        margin-bottom: 65px;
    }
}

/* --- SMARTPHONE --- */
@media screen and (max-width: 767px) {
    #top-work-list #front-order-here {
        padding-top: 26px;
    }
    #front-order-here .hn-front-order__title {
        font-size: 30px;
    }
    #front-order-here .hn-front-order__subtitle {
        font-size: 13px;
    }
    #front-order-here .hn-front-order__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 28px;
    }
    #front-order-here .hn-front-order__card {
        display: block;
        min-height: 0;
        padding: 25px 20px 24px;
    }
    #front-order-here .hn-front-order__card h3 {
        margin-bottom: 12px;
        font-size: 21px;
    }
    #front-order-here .hn-front-order__card p {
        margin-bottom: 18px;
        line-height: 1.65;
    }
    #front-order-here .hn-front-order__card-link {
        min-width: 165px;
        min-height: 44px;
        margin-top: 0;
    }
    #front-order-here .hn-front-order__note {
        margin-top: 30px;
        line-height: 1.8;
    }
    #top-work-list .hn-front-contact-cta {
        flex-direction: column;
        max-width: 440px;
        margin-top: 20px;
    }
    #top-work-list .hn-front-contact-cta__link {
        flex-basis: auto;
        width: 100%;
        min-height: 88px;
        gap: 6px;
        padding: 13px 14px;
    }
    #top-work-list .hn-front-contact-cta__link + .hn-front-contact-cta__link {
        border-top: 1px solid rgba(255,255,255,0.85);
        border-left: 0;
    }
    #top-work-list .hn-front-contact-cta__main {
        font-size: 23px;
    }
    #top-work-list #front-hours {
        margin-top: 70px;
        margin-bottom: 58px;
        padding: 0 16px 29px;
    }
    #top-work-list #front-hours::before {
        top: 15px;
    }
    #front-hours .hn-front-hours__title {
        margin-bottom: 32px;
        padding: 0 12px;
        font-size: 20px;
    }
    #front-hours .hn-front-hours__block h3 {
        font-size: 17px;
    }
    #front-hours .hn-front-hours__shop-days {
        font-size: 19px !important; /* 既存のSP p {font-size:14px!important} を上書き */
        line-height: 1.5;
    }
    #front-hours .hn-front-hours__shop-days span {
        display: block;
    }
    #front-hours .hn-front-hours__block--reservation {
        margin-top: 24px;
    }
    #top-work-list #front-hours .hn-front-contact-cta--hours {
        margin-top: 19px;
    }
}

@media screen and (max-width: 359px) {
    #top-work-list #front-hours::before {
        top: 14px;
    }
    #front-hours .hn-front-hours__title {
        font-size: 18px;
    }
    #top-work-list .hn-front-contact-cta__main {
        font-size: 21px;
    }
    #front-order-here .hn-front-order__card {
        padding-right: 12px;
        padding-left: 12px;
    }
}
