:root {
    --friends-bg: #ffffff;
    --friends-surface: #ffffff;
    --friends-text: #2c2520;
    --friends-muted: #67605a;
    --friends-accent: #f56f81;
    --friends-accent-soft: #f8d6dc;
    --friends-green: #6faf8c;
    --friends-green-dark: #4a8767;
    --friends-dark: #101010;
    --friends-radius-lg: 28px;
    --friends-radius-md: 16px;
    --friends-shadow: 0 10px 24px rgba(16, 16, 16, 0.12);
}

body.friends-custom-site {
    color: var(--friends-text);
    background: var(--friends-bg);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.7;
}

body.friends-custom-site p,
body.friends-custom-site h1,
body.friends-custom-site h2,
body.friends-custom-site h3,
body.friends-custom-site h4,
body.friends-custom-site ul {
    margin: 0;
}

body.friends-custom-site ul {
    list-style: none;
}

.friends-container {
    width: min(1260px, calc(100% - 64px));
    margin-inline: auto;
}

.friends-section-title {
    font-size: clamp(24px, 2.3vw, 36px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.friends-section-title--light {
    color: #ffffff;
}

.friends-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--friends-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.friends-btn:hover,
.friends-btn:focus-visible {
    color: #ffffff;
    background: var(--friends-green-dark);
    transform: translateY(-1px);
}

.friends-site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: #ffffff;
    border-bottom: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    box-shadow: none;
    transition: box-shadow 0.25s ease;
}

.friends-site-header.is-stuck {
    box-shadow: 0 4px 14px rgba(42, 48, 51, 0.12);
}

.friends-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 108px;
    gap: 34px;
}

.friends-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.friends-logo-wrap {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.friends-site-header .friends-logo img {
    width: 250px;
    height: auto;
    display: block;
}

.friends-logo-sub {
    width: 250px;
    text-align: right;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2a3033;
}

.friends-site-footer .friends-logo img {
    width: 164px;
    height: auto;
    display: block;
}

.friends-main-nav,
.friends-footer-nav {
    margin-left: auto;
}

.friends-site-header .friends-main-nav {
    align-self: flex-end;
    width: min(960px, calc(100% - 590px));
    margin-bottom: 14px;
    margin-right: -128px;
}

.friends-main-nav__list,
.friends-footer-nav__list {
    display: flex;
    align-items: center;
    gap: 34px;
}

.friends-site-header .friends-main-nav__list {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.friends-main-nav__link {
    color: #5a4f4a;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.01em;
}

.friends-footer-nav__link {
    color: var(--friends-text);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.friends-main-nav__link:hover,
.friends-main-nav__link:focus-visible,
.friends-footer-nav__link:hover,
.friends-footer-nav__link:focus-visible {
    color: var(--friends-accent);
}

.friends-btn--header,
.friends-btn--footer {
    min-width: 118px;
    padding: 10px 14px;
    font-size: 11px;
}

.friends-btn--header {
    width: 200px;
    height: 50px;
    min-width: 200px;
    align-self: flex-start;
    gap: 8px;
    padding: 0 16px;
    border-radius: 0 0 12px 12px;
    background: #6faf8c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.friends-btn--header:hover,
.friends-btn--header:focus-visible {
    background: #5f9f7d;
}

.friends-btn--header img {
    width: 18px;
    height: 18px;
}

.friends-hamburger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.friends-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #5a4f4a;
    border-radius: 999px;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.friends-hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.friends-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.friends-hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.friends-mobile-menu {
    display: none;
}

.friends-site-footer {
    position: relative;
    z-index: 3;
    background: #ffffff;
    border-top: 1px solid #ebe6df;
}

.friends-site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 14px;
}

.friends-site-footer__copy {
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fab4bc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}

.friends-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 45px;
    z-index: 9999;
    display: block;
    width: 135px;
    height: 135px;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
    will-change: opacity, transform;
}

.friends-scroll-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.friends-scroll-top img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 112px;
    height: 112px;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(42, 48, 51, 0.22));
}

.friends-site-footer .friends-footer-nav {
    margin-left: 0;
}

.friends-site-footer {
    position: relative;
    z-index: 3;
    height: 166px;
    background: #ffffff;
    border-top: 0;
}

.friends-site-footer__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 166px;
    padding: 31px 0 22px;
    box-sizing: border-box;
}

.friends-site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.friends-site-footer .friends-logo {
    display: block;
    width: 254px;
    margin-top: -4px;
    line-height: 1;
}

.friends-site-footer .friends-logo img {
    width: 254px;
    height: auto;
    display: block;
}

body.friends-custom-site .friends-site-footer__org {
    margin: 8px 0 6px;
    color: #2a3033;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

body.friends-custom-site .friends-site-footer__address {
    margin-top: 0;
    color: #2a3033;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.friends-site-footer__nav-wrap {
    position: static;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 52px;
}

.friends-site-footer .friends-footer-nav__list {
    display: flex;
    align-items: center;
    gap: 68px;
}

.friends-site-footer .friends-footer-nav__link {
    color: #5a4f4a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
}

.friends-site-footer__privacy {
    position: absolute;
    right: 0;
    bottom: 22px;
    color: #5a4f4a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.friends-btn--footer {
    display: none;
}

.friends-site-footer__copy {
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fab4bc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}
.top-contact {
    position: relative;
    z-index: 1;
    background: #f0e7df;
    padding: 80px 0 50px;
    overflow: visible;
}

.top-contact .friends-container {
    position: relative;
    z-index: 1;
}

.top-contact .friends-section-title {
    margin-bottom: 18px;
    color: #2a3033;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.top-contact__lead {
    margin: 0;
    text-align: center;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.top-contact__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 608px));
    justify-content: space-between;
    gap: 44px;
    margin-top: 28px;
}

.top-contact__card {
    width: 100%;
    max-width: 608px;
    height: 148px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 28px 0 24px;
    border: 1px solid #e3d8ce;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.top-contact__card--link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-contact__card--link:hover,
.top-contact__card--link:focus-visible {
    color: inherit;
    border-color: #d7cabb;
    box-shadow: 0 8px 18px rgba(42, 48, 51, 0.12);
}

.top-contact__card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-contact__card img {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
}

.top-contact__card h3 {
    margin: 0;
    color: #2a3033;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

body.friends-custom-site .top-contact__card p {
    margin: 0;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

body.friends-custom-site .top-contact__card h3 + p {
    margin-top: 14px !important;
}

.top-contact__tel {
    margin-top: 42px;
    text-align: center;
}

.top-contact__tel p {
    margin: 0;
    color: #2a3033;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.top-contact__tel a {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 6px;
    color: #5a4f4a;
    text-decoration: none;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.top-contact__tel a img {
    width: 30px;
    height: 30px;
    position: relative;
    top: -4px;
}

.top-contact__tel small {
    display: block;
    margin-top: 6px;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.top-contact__deco {
    position: absolute;
    right: min(-32px, calc((100vw - 1260px) / -2));
    bottom: -65px;
    width: 275px;
    pointer-events: none;
    z-index: 0;
}

body.friends-top-active .site-content {
}

body.friends-custom-site #page.site {
    max-width: 100%;
    width: 100%;
}

body.friends-custom-site .grid-container {
    max-width: 100%;
}

body.friends-top-active .content-area {
    width: 100%;
    float: none;
    margin: 0;
}

body.friends-top-active .separate-containers .inside-article,
body.friends-top-active .inside-page-header,
body.friends-top-active .comments-area,
body.friends-top-active .page-header {
    display: none;
}

@media (max-width: 1024px) {
    .friends-site-footer {
        height: auto;
    }

    .friends-site-footer__inner {
        height: auto;
        align-items: center;
        gap: 16px;
        padding: 24px 0 18px;
    }

    .friends-site-footer__nav-wrap {
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .friends-site-footer__privacy {
        position: static;
        margin-top: 12px;
    }
    .top-contact__cards {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .top-contact__card {
        max-width: 100%;
    }

    .top-contact__deco {
        width: 180px;
        right: 0;
        bottom: -145px;
    }

    .friends-main-nav {
        display: none;
    }

    .friends-site-header__inner {
        min-height: 92px;
        gap: 16px;
    }

    .friends-site-footer__inner {
        flex-direction: column;
        gap: 16px;
        padding: 24px 0 16px;
    }

    .friends-footer-nav__list {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .friends-site-footer .friends-logo,
    .friends-site-footer .friends-logo img {
        width: 190px;
    }

    body.friends-custom-site .friends-site-footer__org {
        font-size: 14px;
    }

    body.friends-custom-site .friends-site-footer__address {
        font-size: 13px;
    }

    .friends-site-footer .friends-footer-nav__list {
        gap: 14px;
    }

    .friends-site-footer .friends-footer-nav__link {
        font-size: 13px;
    }
    .top-contact {
        padding: 62px 0 64px;
    }

    .top-contact__lead {
        font-size: 16px;
    }

    .top-contact__card {
        height: auto;
        min-height: 148px;
        gap: 16px;
        padding: 18px 16px;
    }

    .top-contact__card h3 {
        font-size: 22px;
    }

    body.friends-custom-site .top-contact__card p {
        font-size: 16px;
    }

    .top-contact__tel a {
        font-size: 28px;
    }

    .top-contact__tel small {
        font-size: 16px;
    }

    .top-contact__deco {
        width: 140px;
        right: 0;
        bottom: -122px;
    }

    .friends-container {
        width: min(1260px, calc(100% - 32px));
    }

    .friends-site-header .friends-logo img {
        width: 190px;
    }

    .friends-logo-sub {
        width: 190px;
    }

    .friends-site-footer .friends-logo img {
        width: 140px;
    }

    .friends-btn--footer {
        min-width: 110px;
        padding: 10px 16px;
    }

    .friends-btn--header {
        width: 150px;
        min-width: 150px;
        height: 42px;
        font-size: 12px;
    }
}

/* Mobile Final Tuning */
@media (max-width: 767px) {
    .friends-site-header {
        top: 0;
        z-index: 130;
    }

    .friends-site-header__inner {
        min-height: 76px;
        gap: 10px;
        padding: 10px 0 8px;
    }

    .friends-site-header .friends-main-nav {
        display: none !important;
    }

    .friends-site-header .friends-logo img {
        width: 165px;
    }

    .friends-logo-sub {
        width: 165px;
        font-size: 9px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .friends-btn--header {
        width: 128px;
        min-width: 128px;
        height: 40px;
        padding: 0 10px;
        gap: 6px;
        font-size: 12px;
        border-radius: 0 0 10px 10px;
    }

    .friends-btn--header img {
        width: 14px;
        height: 14px;
    }

    .friends-site-footer {
        height: auto;
    }

    .friends-site-footer__inner {
        height: auto;
        align-items: flex-start;
        gap: 14px;
        padding: 40px 0 16px;
    }

    .friends-site-footer .friends-logo {
        width: 170px;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .friends-site-footer .friends-logo img {
        width: 170px;
    }

    body.friends-custom-site .friends-site-footer__org {
        margin: 12px 0 8px;
        font-size: 14px;
        line-height: 1.4;
    }

    body.friends-custom-site .friends-site-footer__address {
        font-size: 12px;
        line-height: 1.5;
    }

    .friends-site-footer__brand {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    body.friends-custom-site .friends-site-footer__org,
    body.friends-custom-site .friends-site-footer__address {
        text-align: center;
    }

    .friends-site-footer__nav-wrap {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-bottom: 0;
    }

    .friends-site-footer .friends-footer-nav {
        width: 100%;
    }

    .friends-site-footer .friends-footer-nav__list {
        width: 100%;
        justify-content: center;
        gap: 14px 18px;
    }

    .friends-site-footer .friends-footer-nav__link {
        font-size: 11px;
        line-height: 1.4;
    }

    .friends-site-footer__privacy {
        position: static;
        align-self: flex-end;
        margin-top: 4px;
        font-size: 11px;
    }

    .friends-site-footer__copy {
        height: 48px;
        font-size: 11px;
    }

    .top-contact {
        padding: 56px 0 52px;
    }

    .top-contact .friends-section-title {
        font-size: 22px;
        line-height: 1.35;
    }

    .top-contact__lead {
        font-size: 15px;
    }

    .top-contact__cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 22px;
    }

    .top-contact__card {
        min-height: 132px;
        height: auto;
        gap: 12px;
        padding: 14px;
    }

    .top-contact__card img {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }

    .top-contact__card h3 {
        font-size: 20px;
    }

    body.friends-custom-site .top-contact__card p {
        font-size: 15px;
        line-height: 1.6;
    }

    body.friends-custom-site .top-contact__card h3 + p {
        margin-top: 8px !important;
    }

    .top-contact__tel {
        margin-top: 30px;
    }

    .top-contact__tel p {
        font-size: 16px;
    }

    .top-contact__tel a {
        font-size: 30px;
        gap: 8px;
        line-height: 1.2;
    }

    .top-contact__tel a img {
        width: 22px;
        height: 22px;
        top: -2px;
    }

    .top-contact__tel small {
        font-size: 14px;
    }

    .top-contact__deco {
        width: 108px;
        right: -15px;
        bottom: -50px;
    }

    .friends-scroll-top {
        right: 10px;
        bottom: 14px;
        width: 92px;
        height: 92px;
    }

    .friends-scroll-top img {
        width: 78px;
        height: 78px;
        left: 7px;
        top: 7px;
    }
}

/* Mobile Header Hamburger */
@media (max-width: 767px) {
    body.friends-mobile-menu-open {
        overflow: hidden;
    }

    .friends-site-header .friends-logo img {
        width: 150px !important;
    }

    .friends-logo-sub {
        width: 150px !important;
        font-size: 8px;
        line-height: 1.25;
    }

    .friends-header-cta-desktop {
        display: none !important;
    }

    .friends-hamburger {
        display: inline-flex;
        margin-left: auto;
    }

    .friends-mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 150;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #eee5db;
        box-shadow: 0 10px 26px rgba(42, 48, 51, 0.14);
    }

    .friends-mobile-menu[hidden] {
        display: none;
    }

    .friends-mobile-menu__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 14px;
    }

    .friends-mobile-nav__list {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #f2ebe4;
    }

    .friends-mobile-nav__item + .friends-mobile-nav__item {
        border-top: 1px solid #f5efea;
    }

    .friends-mobile-nav__link {
        display: block;
        padding: 13px 2px;
        color: #5a4f4a;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
    }

    .friends-mobile-menu .friends-btn--header {
        align-self: flex-end;
        width: 200px;
        min-width: 200px;
        height: 50px;
        margin-top: 10px;
    }
}

/* Mobile Header Fine Tuning */
@media (max-width: 767px) {
    .friends-site-header .friends-logo img {
        width: 160px !important;
    }

    .friends-logo-sub {
        width: 160px !important;
        white-space: nowrap;
        font-size: 7.5px;
        line-height: 1.2;
        letter-spacing: 0;
    }
}


/* Mobile Header Requested Update */
@media (max-width: 767px) {
    .friends-site-header__inner {
        min-height: 64px;
        padding: 0;
    }

    .friends-site-header .friends-logo img {
        width: 168px !important;
    }

    .friends-logo-sub {
        display: none !important;
    }

    .friends-hamburger {
        display: inline-flex;
        margin-left: auto;
        width: 64px;
        height: 64px;
        background: #fab4bc;
        border-radius: 0;
    }

    .friends-hamburger span {
        background: #ffffff;
    }

    .friends-mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 150;
        background: #ffffff;
    }

    .friends-mobile-menu[hidden] {
        display: none;
    }
}

/* Mobile Header Final Override */
@media (max-width: 767px) {
    .friends-site-header {
        overflow: visible;
    }

    .friends-site-header__inner {
        min-height: 60px;
        gap: 8px;
        padding: 0;
    }

    .friends-site-header .friends-logo img {
        width: 172px;
    }

    .friends-logo-sub {
        display: none;
    }

    .friends-site-header .friends-hamburger {
        display: inline-flex;
        margin-left: auto;
        margin-right: -16px;
        width: 64px;
        height: 60px;
        background: #fab4bc;
        border-radius: 0;
    }

    .friends-hamburger span {
        background: #ffffff;
    }

    .friends-mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 200;
        background: #ffffff;
    }

    .friends-mobile-menu[hidden] {
        display: none;
    }

    .friends-mobile-menu .friends-btn--header {
        align-self: center;
        width: min(100%, 220px);
        min-width: 0;
        height: 50px;
        margin-top: 14px;
        border-radius: 12px;
        padding: 0 16px;
    }
}

/* Mobile Header Request 2026-03-30 */
@media (max-width: 767px) {
    .friends-hamburger:hover,
    .friends-hamburger:focus-visible {
        background: #fab4bc;
        box-shadow: none;
        outline: 0;
    }

    .friends-mobile-menu .friends-btn--header {
        align-self: center;
        width: min(100%, 220px);
        min-width: 0;
        height: 50px;
        margin-top: 14px;
        border-radius: 12px;
        padding: 0 16px;
    }
}

/* Mobile Request 2026-03-30 (Hamburger Hover Off) */
@media (max-width: 767px) {
    .friends-hamburger:hover,
    .friends-hamburger:focus-visible,
    .friends-hamburger:active {
        background: #fab4bc;
        box-shadow: none;
        outline: 0;
        transform: none;
    }
}
