/* =====================================
   Header
===================================== */
.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fffafa;
    padding: 20px 40px 28px;
    box-sizing: border-box;
}

/* 下の丸い飾り */
/* =====================================
   ヘッダー下のなみなみ
===================================== */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 16px;
    background:
        radial-gradient(circle at 20px -4px,
            transparent 18px,
            #f4b1b7 19px,
            #f4b1b7 20px,
            transparent 21px);
    background-size: 40px 16px;
    background-repeat: repeat-x;
    pointer-events: none;
    z-index: 1;
}

/* 波のつなぎ目の小さい● */
.site-header::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 6px;
    background:
        radial-gradient(circle,
            #ef8b95 2.5px,
            transparent 3px);
    background-size: 40px 6px;
    background-repeat: repeat-x;
    background-position: 20px 0;
    pointer-events: none;
    z-index: 3;
}

.header-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* =====================================
   Logo
===================================== */
.header-logo {
    flex: 0 0 320px;
}

.header-logo a {
    display: block;
}

.header-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* =====================================
   Right
===================================== */
.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* =====================================
   Contact Buttons
===================================== */
.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.header-contact-btn {
    height: 52px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-sizing: border-box;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.header-contact-btn:hover {
    opacity: .8;
    transform: translateY(-2px);
}

.header-contact-btn--tel {
    min-width: 220px;
    background: #f6808c;
    color: #fff;
    border: 2px solid #f6808c;
}

.header-contact-btn--line {
    min-width: 250px;
    background: #fff;
    color: #f6808c;
    border: 2px solid #f49ca4;
}

.contact-icon {
    font-size: 22px;
}

.line-circle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6808c;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    flex-shrink: 0;
}

/* =====================================
   Navigation
===================================== */
.header-nav {
    width: 100%;
}

.header-nav ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav li {
    position: relative;
    flex: 0 0 auto;
}

.header-nav li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 45px;
    border-left: 2px dotted #f3afb5;
}

.header-nav li:first-child::before {
    border-left-style: solid;
}

.header-nav a {
    min-width: 145px;
    height: 58px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.header-nav a:hover {
    opacity: .65;
    transform: translateY(-2px);
}

.nav-ja {
    color: #513832;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.nav-en {
    margin-top: 8px;
    color: #ef8f99;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1;
}

/* =====================================
   Hamburger
===================================== */
.header-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    padding: 10px;
    background: #f6808c;
    cursor: pointer;
}

.header-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    transition:
        transform .25s,
        opacity .25s;
}

.header-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.header-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================
   Mobile Nav
===================================== */
.mobile-nav {
    display: none;
}

@media screen and (max-width: 1200px) {
    .site-header {
        padding-left: 25px;
        padding-right: 25px;
    }

    .header-inner {
        gap: 25px;
    }

    .header-logo {
        flex-basis: 260px;
    }

    .header-logo img {
        max-width: 240px;
    }

    .header-nav a {
        min-width: 125px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav-ja {
        font-size: 14px;
    }

    .header-contact-btn {
        height: 54px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 14px;
    }

    .header-contact-btn--tel {
        min-width: 190px;
    }

    .header-contact-btn--line {
        min-width: 220px;
    }
}

@media screen and (max-width: 900px) {
    .site-header {
        padding: 12px 20px 17px;
    }

    .header-inner {
        min-height: 65px;
    }

    .header-logo {
        flex: none;
        width: 200px;
    }

    .header-logo img {
        width: 100%;
        max-width: 200px;
    }

    .header-right {
        display: none;
    }

    .header-menu-btn {
        display: block;
        flex-shrink: 0;
    }

    .mobile-nav {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: #fffafa;
        box-shadow:
            0 10px 15px rgba(0, 0, 0, .08);
        transition:
            max-height .35s ease,
            opacity .25s ease,
            visibility .25s ease;
    }

    .mobile-nav.is-open {
        display: block;
        max-height: 600px;
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav ul {
        margin: 0;
        padding: 15px 20px 25px;
        list-style: none;
    }

    .mobile-nav li {
        border-bottom:
            1px dotted #efa9b0;
    }

    .mobile-nav li:first-child {
        border-top:
            1px dotted #efa9b0;
    }

    .mobile-nav a {
        position: relative;
        display: flex;
        align-items: center;
        padding: 16px 5px;
        color: #513832;
        text-decoration: none;
        font-size: 15px;
        font-weight: bold;
    }

    .mobile-nav a::after {
        content: "›";
        position: absolute;
        right: 8px;
        color: #ef8f99;
        font-size: 25px;
        font-weight: normal;
    }

    .mobile-nav a span {
        margin-left: 12px;
        color: #ef8f99;
        font-family:
            Georgia,
            "Times New Roman",
            serif;
        font-size: 13px;
        font-style: italic;
        font-weight: normal;
    }
}

@media screen and (max-width: 480px) {
    .site-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-logo {
        width: 170px;
    }

    .header-logo img {
        max-width: 170px;
    }

    .header-menu-btn {
        width: 44px;
        height: 44px;
    }
}