/* スマホグローバルメニュー */

.sp__header2__wrap {
    position: fixed;
    top: 0;
    z-index: 9999999;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px #ddd;
}

.sp__header2 {
    height: 50px;
    position: relative;
}

.sp__header2__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    width: 100%;
    transition: 0.2s;
}

.sp__header2__top.sp__gn__active {
    background: transparent;
    transition: 0.2s;
}

.sp__header2__top__left {
    height: 50px;
    display: flex;
    align-items: center;
    margin-left: 15px;
    /* margin: auto; */
}


.sp__header2__top__left img {
    width: 100px;
    display: block;
}

.sp__header2__top__right {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
}

/* ================================================
   HAMBURGER BUTTON — redesign
   ================================================ */
.hamburger2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 9999999;
    width: 44px;
    height: 44px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto !important;
}

.hamburger2 span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #1a2e3d;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .25s;
    transform-origin: center;
}

.hamburger2 span:nth-child(2) {
    width: 14px;
    align-self: flex-start;
    margin-left: 12px;
}

.hamburger2.sp__gn__active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger2.sp__gn__active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger2.sp__gn__active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ================================================
   FULLSCREEN DRAWER MENU — white 3-col redesign
   ================================================ */
@keyframes navItemIn {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sideIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuBgIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes menuBgOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.sp__header2__menu {
    position: fixed;
    inset: 0;
    z-index: 999900;
    background: #fff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}


.sp__header2__menu::before,
.sp__header2__menu::after {
    display: none;
}

/* ── close btn ──*/

.sp__header2__menu__close__btn {
    position: fixed;
    top: 8px;
    right: 10px;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(30, 155, 181, .25);
    background: rgba(30, 155, 181, .08);
    cursor: pointer;
    transition: background .25s, border-color .25s;
    flex-shrink: 0;
}

.sp__header2__menu__close__btn:hover {
    background: rgba(30, 155, 181, .18);
    border-color: rgba(30, 155, 181, .5);
}

.spnav__close__icon,
.spnav__close__icon::before {
    display: block;
    width: 16px;
    height: 2px;
    background: #1a2e3d;
    border-radius: 2px;
    position: relative;
}

.spnav__close__icon {
    transform: rotate(45deg);
}

.spnav__close__icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(90deg);
}

/* ── body: 3-col ── */
.spnav__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 210px 1fr 210px;
    flex: 1;
    min-height: 0;
    padding-top: 60px;
}

/* ── col 1: brand ── */
.spnav__brand {
    background: #f0f6f9;
    border-right: 1px solid #e5e7eb;
    border-top: 3px solid #1e9bb5;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spnav__brand__name {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #1e9bb5;
    margin-bottom: 14px;
}

.spnav__brand__desc {
    font-size: 12px;
    line-height: 1.85;
    color: #6b7280;
    margin-bottom: 32px;
}

.spnav__brand__stats {
    display: flex;
    gap: 20px;
}

.spnav__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spnav__stat__num {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    color: #111827;
    letter-spacing: -.02em;
}

.spnav__stat__num small {
    font-size: 14px;
    color: #1e9bb5;
}

.spnav__stat__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* ── col 2: main nav ── */
.spnav__main {
    padding: 40px 48px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
}

.spnav__eyebrow {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #1e9bb5;
    margin-bottom: 20px;
}

.sp__header2__menu__el__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sp__header2__menu__el__list__items {
    border-bottom: 1px solid #f3f4f6;
}

.sp__header2__menu__el__list__items:first-child {
    border-top: 1px solid #f3f4f6;
}

.sp__header2__menu__el__list__items__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    position: relative;
}

.spnav__link__num {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    color: #d1d5db;
    width: 20px;
    flex-shrink: 0;
}

.spnav__link__texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.spnav__link__en {
    display: block;
    font-size: clamp(18px, 2.8vw, 28px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #111827;
}

.spnav__link__ja {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #9ca3af;
}

.spnav__link__arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spnav__link__arrow::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #9ca3af;
    border-right: 1.5px solid #9ca3af;
    transform: rotate(45deg) translate(-1px, 1px);
}

/* ── SP submenu accordion ── */
.spnav__item-row {
    display: flex;
    align-items: center;
}

.spnav__item-row .sp__header2__menu__el__list__items__link {
    flex: 1;
}

.spnav__sub-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    color: #c4c9d4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .2s;
}

.spnav__sub-toggle svg {
    transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}

.spnav__has-sub.is-open .spnav__sub-toggle {
    color: #1e9bb5;
}

.spnav__has-sub.is-open .spnav__sub-toggle svg {
    transform: rotate(180deg);
}

.spnav__sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
}

.spnav__has-sub.is-open .spnav__sub-list {
    max-height: 200px;
}

.spnav__sub-item+.spnav__sub-item {
    border-top: 1px solid #f3f4f6;
}

.spnav__sub-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0 8px 38px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #9ca3af;
    text-decoration: none;
    transition: color .15s;
}

.spnav__sub-link::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    opacity: .6;
}

.spnav__sub-link:hover {
    color: #1e9bb5;
}

/* ── col 3: side panel ── */
.spnav__side {
    background: #f9fafb;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.spnav__cats__label {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 12px;
}

.spnav__cats__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spnav__cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    letter-spacing: .04em;
    transition: background .2s, border-color .2s, color .2s;
}

.spnav__cat:hover {
    background: #1e9bb5;
    border-color: #1e9bb5;
    color: #fff;
}

.spnav__sns__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spnav__sns__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: background .2s, border-color .2s, color .2s;
}

.spnav__sns__item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.spnav__sns__item:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.spnav__copy {
    font-size: 10px;
    color: #d1d5db;
    letter-spacing: .06em;
    margin-top: auto;
}

/* ── tablet: hide brand col ── */
@media screen and (max-width: 768px) {
    .spnav__body {
        grid-template-columns: 1fr 220px;
    }

    .spnav__brand {
        display: none;
    }

    .spnav__main {
        border-right: 1px solid #e5e7eb;
    }
}

/* ── mobile: stack ── */
@media screen and (max-width: 540px) {
    .spnav__body {
        grid-template-columns: 1fr;
    }

    .spnav__main {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .spnav__side {
        padding: 24px 20px;
    }

    .spnav__link__en {
        font-size: 20px;
    }
}

/* legacy compat */

.sp__header2__menu__el {
    background: transparent;
}

.sp__header2__menu__el__title {
    display: none;
}

.sp__header2__menu__close {
    display: none;
}

.sp__header2__menu__list:after {
    content: "";
    display: block;
    clear: both;
}

.sp__header2__menu__list__items {
    display: none;
}

.sp__header2__menu__list__items__link,
.sp__header2__menu__list__items__list__items__link {
    display: none;
}

.sp__header2__menu__list__items__list__items__link {
    display: none;
}

.sp__header2__top__right__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(42, 98, 126, .08);
    border: 1px solid rgba(42, 98, 126, .15);
    color: #1a2e3d;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.sp__header2__top__right__search:hover {
    background: rgba(42, 98, 126, .16);
    border-color: rgba(42, 98, 126, .35);
}

/* SP ヘッダー内の検索アイコン: PCヘッダー用の height/line-height/padding をリセット */
.sp__header2__top__right .search-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    line-height: 1;
    padding: 0;
    border-radius: 8px;
    background: rgba(42, 98, 126, .08);
    border: 1px solid rgba(42, 98, 126, .15);
    color: #1a2e3d;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.sp__header2__top__right .search-button-icon:hover {
    background: rgba(42, 98, 126, .16);
    border-color: rgba(42, 98, 126, .35);
}

.sp__header2__slide {
    background: #fff;
}

.sp__header2__slide__list {
    display: flex;
}

.sp__header2__slide__list__items {
    width: 25%;
}

.sp__header2__slide__list__items__link img {
    width: 100%;
}

.sp__header2__top__right__login {
    display: inline-flex;
    align-items: center;
    width: 50px;
    margin-top: 0;
}

.sp__header2__top__right__login img {
    width: 100%;
}


.sp__header2__top__right__download__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 28px;
    background: rgb(226, 97, 155);
    color: #fff;
    font-weight: 600;
    text-align: center;
    font-size: 11px;
    border-radius: 50px;
}


/**/

.preparation {
    margin-top: 20px;
}

/**/

.custom_breadcrumbs__box {
    width: 1000px;
    margin: auto;
    font-size: 11px;
    color: #777;
    margin-top: 10px;
    white-space: nowrap;
    overflow-x: scroll;
    /* IE, Edge 対応 */
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
}

/* Chrome, Safari 対応 */
.custom_breadcrumbs__box::-webkit-scrollbar {
    display: none;
}

.custom_breadcrumbs__box .breadcrumbs {
    display: flex;
    align-items: center;
}

.custom_breadcrumbs__box .home {
    color: #2a627e;
}

.custom_breadcrumbs__box .arrow {
    display: inline-block;
    flex-shrink: 0;
    box-sizing: content-box;
    width: 4px;
    height: 4px;
    border-top: solid 1px #aaa;
    border-right: solid 1px #aaa;
    margin-right: 10px;
    margin-left: 10px;
    transform: rotate(45deg);
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .custom_breadcrumbs__box {
        width: 90%;
        margin: 10px auto auto;
    }

    .custom_breadcrumbs__box .arrow {
        width: 4px;
        height: 4px;
        margin-right: 7px;
        margin-left: 7px;
    }
}