@charset "UTF-8";

/*///////////////////// font-face ///////////////////////////*/
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Bold.woff2) format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Medium.woff2) format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Regular.woff2) format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Bold.woff2) format('woff2');
    font-weight: 700;
    font-display: swap;
}
/*///////////////////// font-face ///////////////////////////*/

.org-header a{
    opacity: 1;
}

.org-header * {
    font-family: "Zen Kaku Gothic New", sans-serif;
    box-sizing: border-box;
}

.org-header {
    position: relative;
    z-index: 3;
    width: 100%;
    background-color: #ffffff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
    top: 0;
    left: 0;
}

.org-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 27px 17px 30px;
}

.org-header__logo {
    margin: 0;
    line-height: 0;
}

.org-header__logo-link {
    display: block;
}

.org-header__logo-img {
    display: block;
    width: 223px;
    height: 71px;
}

.org-header__utility {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.org-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-header__tools {
    display: flex;
    align-items: center;
    gap: 5px;
}

.org-header__tool {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 50px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.org-header__tool::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--btn-hover-bg);
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.4s ease;
}

.org-header__tool:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.org-header__tool--history {
    --btn-hover-bg: #2aa8c3;
    width: 82px;
    background-color: #eaf6f9;
}

.org-header__tool--favorite {
    --btn-hover-bg: #E40303;
    background-color: #ffebeb;
}

.org-header__tool-icon {
    display: block;
    width: 19px;
    height: auto;
    /* 背景ワイプ0.4sに合わせ、解除時は終盤でパッと切り替え */
    transition: filter 0s linear 0.35s;
}

.org-header__tool:hover .org-header__tool-icon {
    transition-delay: 0.1s;
    filter: brightness(0) invert(1);
}

.org-header__tool-text {
    position: relative;
    color: #252525;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.48px;
    line-height: 1;
    white-space: nowrap;
    transition: color 0s linear 0.35s;
}

.org-header__tool-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.org-header__tool:hover .org-header__tool-text {
    transition-delay: 0.1s;
    color: #ffffff;
}

.org-header__tool:hover .org-header__tool-text::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
}

.org-header__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 30px 10px;
    background-color: #fdf7ea;
    border-radius: 5px;
}

.org-header__tel-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.org-header__tel-label {
    margin: 0;
    color: #5a3914;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.org-header__tel-number {
    color: #ff5b01;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.org-header__tel-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

.org-header__tel-hours,
.org-header__tel-holiday {
    margin: 0;
    color: #252525;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.org-header__purchase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px 14px 15px;
    border: 1px solid #ff5b01;
    background-color: #ff5b01;
    border-radius: 5px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.org-header__purchase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #ffffff;
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.4s ease;
}

.org-header__purchase:hover{
    opacity: 1;
}

.org-header__purchase:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.org-header__purchase-icon {
    display: block;
    width: 20px;
    height: 20px;
    /* ホバー解除時：しばらくオレンジのまま → 終盤で白へパッと切り替え（filter補間なし） */
    transition: filter 0s linear 0.25s;
}

.org-header__purchase:hover .org-header__purchase-icon {
    /* ホバー時：すぐオレンジへパッと切り替え */
    transition-delay: 0s;
    filter: invert(44%) sepia(97%) saturate(3025%) hue-rotate(352deg) brightness(101%) contrast(104%);
}

.org-header__purchase-text {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.36px;
    line-height: 1.5;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.org-header__purchase:hover .org-header__purchase-text {
    opacity: 1;
    color: #ff5b01;
}

.org-header__nav {
    display: block;
}

.org-header__nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.org-header__nav-item {
    position: relative;
}

.org-header__nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #252525;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.28px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.org-header__nav-link:hover{
    opacity: 1;
}

.org-header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #ff5b01;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.org-header__nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
}

.org-header__nav-arrow {
    display: block;
    width: 11px;
    height: 6px;
    transition: transform 0.3s ease;
}

.org-header__sub-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    min-width: 160px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background-color: #FDF1D7;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: translateX(-50%);
}

.org-header__nav-item--has-child.is-open .org-header__sub-list,
.org-header__nav-item--has-child:hover .org-header__sub-list {
    display: block;
}

.org-header__nav-item--has-child.is-open .org-header__nav-arrow,
.org-header__nav-item--has-child:hover .org-header__nav-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.org-header__sub-item {
    margin: 0;
}

.org-header__sub-link {
    display: block;
    padding: 8px 16px;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.org-header__sub-link:hover {
    opacity: 1;
    background-color: #fff;
    color: #ff5b01;
}
