@charset "UTF-8";

/* Zen Kaku Gothic New：初回は本文用（500）のみ。400/700 / Poppins 500 は org-top.js で load 後に遅延登録 */
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url("/fonts/ZenKakuGothicNew-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* header */
[class*="org-header"] {
    background-color: #fff;
    border: 2px solid #17b1db;
    border-top: none;
    border-radius: 0 0 30px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    max-width: 1704px;
    margin: 0 auto;
}

.org-header--sticky {
    position: sticky;
}

@media (max-width: 1090px) {
    [class*="org-header"] {
        min-width: 1090px;
    }
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px 18px;
    width: auto;
}

.header__left {
    flex-shrink: 0;
}

.header__logo {
    display: block;
    width: 193px;
    height: 32px;
}

.header__logo:hover {
    opacity: 1;
}

.header__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: unset;
    max-height: unset;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header__nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 2px;
}

.header__utils {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

[class*="header__util--"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 12px;
    border-radius: 3px;
    border: 1px solid;
    background-color: #fff;
    transition: background-color 0.35s ease, color 0.35s ease;
}

[class*="header__util--"]:hover {
    opacity: 1;
}

.header__util--history:hover {
    background-color: #24a6e9;
    border-color: #24a6e9;
}

.header__util--history:hover span {
    color: #fff;
}

.header__util--history:hover .header__util-icon {
    filter: brightness(0) invert(1);
}

.header__util--favorite:hover {
    background-color: #df502c;
    border-color: #df502c;
}

.header__util--favorite:hover span {
    color: #fff;
}

.header__util--favorite:hover .header__util-icon {
    filter: brightness(0) invert(1);
}

[class*="header__util--"] span {
    color: #1a1a1a;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.header__util--history {
    border-color: #24a6e9;
}

.header__util--favorite {
    height: 30px;
    border-color: #df502c;
}

.header__util--register,
.header__util--mypage {
    height: 30px;
    border-color: #2aa8c3;
}

.header__util--register:hover,
.header__util--mypage:hover {
    background-color: #2aa8c3;
    border-color: #2aa8c3;
}

.header__util--register:hover span,
.header__util--mypage:hover span {
    color: #fff;
}

.header__util--register:hover .header__util-icon,
.header__util--mypage:hover .header__util-icon {
    filter: brightness(0) invert(1);
}

.header__util--login,
.header__util--logout {
    height: 30px;
    border-color: #efbb00;
}

.header__util--login:hover,
.header__util--logout:hover {
    background-color: #efbb00;
    border-color: #efbb00;
}

.header__util--login:hover span,
.header__util--logout:hover span {
    color: #fff;
}

.header__util--login:hover .header__util-icon,
.header__util--logout:hover .header__util-icon {
    filter: brightness(0) invert(1);
}

.header__util-icon {
    display: block;
    flex-shrink: 0;
}

.header__util--history .header__util-icon {
    width: 16px;
    height: 16px;
}

.header__util--favorite .header__util-icon {
    width: 15px;
    height: 14px;
}

.header__util--register .header__util-icon,
.header__util--mypage .header__util-icon,
.header__util--login .header__util-icon,
.header__util--logout .header__util-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.header__util-badge {
    display: none;
}

.header__util-badge:not(:empty) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9999px;
    background-color: #df502c;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

.header-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav__link {
    color: #1a1a1a;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.4s ease;
}

.header-nav__link:hover {
    opacity: 1;
    color: #17b1db;
}

.header__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 170px;
    height: 50px;
    padding: 8px 0;
    border: 1px solid #17b1db;
    border-radius: 9999px;
    background-color: #17b1db;
    box-shadow: 1px 2px 0 rgba(38, 50, 56, 0.18);
    color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.header__contact:hover {
    opacity: 1;
    background-color: #fff;
    color: #17b1db;
    box-shadow: none;
    transform: translate(1px, 2px);
}
