/* TOKYO Women's Health 共通ヘッダー。既存の検索・マイリスト・ログアウト操作は保持する。 */
body,
button,
input,
select,
textarea {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, sans-serif;
}

/* 共通画面の本文書体。 */
body {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, sans-serif !important;
}

body {
    color: #666666;
    font-size: 15px;
}

.site-brand-header {
    flex: 0 0 260px;
    min-width: 0;
    border: 0;
    background: transparent;
}

.site-brand-header__inner {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.site-brand-header__project {
    margin: 0 0 2px;
    color: #5f6972;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
}

.site-brand-header__logo {
    display: inline-flex;
    max-width: 240px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.site-brand-header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-brand-header__tagline {
    margin: 1px 0 0;
    color: #69b9d0;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    white-space: nowrap;
}

.fix_wrap,
.header.login {
    position: fixed;
    z-index: 110;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}

.fix_wrap .l-header,
.header.login .l-header {
    height: 88px;
    margin-bottom: 0;
}

.fix_wrap .l-header_inner,
.header.login .l-header_inner {
    position: relative;
    width: min(100%, 1200px);
    min-width: 0;
    height: 88px;
    margin: 0 auto;
    padding: 0 70px 0 24px;
    align-items: center;
    gap: 20px;
}

.fix_wrap .l-header_inner form {
    flex: 1 1 auto;
}

.fix_wrap .l-header-left {
    padding-top: 0;
}

.fix_wrap .c-header-menu {
	display: block !important;
    position: absolute;
    top: 50%;
    right: 20px;
    margin: 0;
    transform: translateY(-50%);
}

.c-header-menu a {
	display: block;
	width: 40px;
	height: 28px;
	text-decoration: none;
}

.c-header-menu a .is-line span {
	display: block;
	position: relative;
	width: 24px;
	height: 2px;
	margin: 0 auto;
	background-color: #333333;
}

.c-header-menu a span::before,
.c-header-menu a span::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #333333;
	content: "";
}

.c-header-menu a span::before {
	top: 8px;
}

.c-header-menu a span::after {
	top: 16px;
}

.login-site-header__menu {
	display: block !important;
	position: static;
	flex: none;
	margin: 0;
}

.l-main,
.main {
    padding-top: 102px;
}

/* 旧サイト由来のヘッダー要素と追従マイリストは表示しない。 */
.fix_wrap .c-header-logo,
.fix_wrap .header_inner--tel,
.header.login .header_inner--logo,
.header.login .header_inner--tel,
.header.login .header_inner--icon,
.c-header-linklist-guide {
    display: none !important;
}

.l-mylistwrap_sp {
    position: static !important;
    display: block !important;
    width: 0;
    height: 0;
}

.l-mylistwrap_sp > .mylist_btn_wrap_sp,
.l-mylistwrap.pc {
    display: none !important;
}

.header-mylist-modal .modal-content_mylist {
    display: block !important;
}

.l-hamburger-nav {
    position: fixed !important;
    z-index: 1000;
    top: 0;
    right: 0;
    left: auto !important;
    display: block !important;
    width: min(85vw, 300px) !important;
    max-width: none;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .5s;
}

.l-hamburger-nav.is-show {
    transform: translateX(0) !important;
    overflow-y: auto;
}

.c-hamburger-nav_close {
    position: fixed;
    z-index: 1001;
    top: 10px;
    right: calc(min(85vw, 300px) + 10px);
    display: none;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

body.fixed .c-hamburger-nav_close {
    display: grid;
}

.sp_header_bg.is-show::before,
.sp_header_bg.is-show::after {
    display: none;
}

@media (min-width: 769px) {
    .fix_wrap .l-header-left {
        display: flex;
        align-items: center;
    }

    .header.login .c-header-menu {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 20px;
        margin: 0;
        transform: translateY(-50%);
    }

    .header-mylist-modal .modal-body_mylist {
        position: relative;
        width: min(calc(100% - 48px), 460px);
        margin: 0 auto;
        overflow: hidden;
        border-radius: 16px;
        background: #ffffff;
    }

    .header-mylist-modal .modal-content_mylist {
        height: auto;
    }

    .header-mylist-modal .l-mylist {
        width: auto;
        min-width: 0;
        height: auto;
        max-height: 68vh;
        padding: 48px 30px 20px;
        border-radius: 0;
        background: #ffffff;
    }

    .header-mylist-modal .modal-close_mylist {
        position: absolute;
        z-index: 2;
        top: 12px;
        right: 12px;
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #333333;
        color: #ffffff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .header-mylist-modal .c-mylist-list-wrap {
        width: 100%;
        height: auto;
        max-height: calc(68vh - 140px);
    }

    .header-mylist-modal .c-mylist-list-wrap ul,
    .header-mylist-modal .c-mylist-linkwrap_modal {
        width: 100%;
    }

    .header-mylist-modal .c-mylist-linkwrap_modal {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .fix_wrap .l-header,
    .header.login .l-header,
    .fix_wrap .l-header_inner,
    .header.login .l-header_inner {
        height: 72px;
    }

    .fix_wrap .l-header_inner,
    .header.login .l-header_inner {
        width: 100%;
        min-width: 0;
        padding: 0 6px 0 10px;
        gap: 0;
    }

    .site-brand-header {
        flex: 0 0 170px;
    }

    .site-brand-header__project {
        overflow: visible;
        font-size: 7px;
        letter-spacing: 0;
        line-height: 1.2;
        text-overflow: clip;
        white-space: nowrap;
    }

    .site-brand-header__logo {
        max-width: 160px;
    }

    .site-brand-header__tagline {
        font-size: 9px;
    }

    .header.login .header_inner--box {
        width: auto;
        margin-left: auto;
        padding: 0;
    }

    .fix_wrap .l-header_inner form {
        display: flex;
        flex: 1 1 auto;
        width: 0;
        min-width: 0;
        margin-left: 0;
    }

    .fix_wrap .l-header-left {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 72px;
        align-items: center;
        justify-content: flex-end;
    }

    .fix_wrap .l-header-list {
        order: 2;
        position: static;
        width: auto;
        margin: 0 0 0 auto;
        transform: none;
    }

    .fix_wrap .l-header-list_inner {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0;
        justify-content: flex-end;
    }

    .fix_wrap .c-header-sp-menu {
        display: grid;
        grid-template-rows: 20px 12px;
        width: 37px;
        height: 36px;
        margin: 0 !important;
        place-items: start center;
    }

    .fix_wrap .c-header-search.c-header-sp-menu {
        place-items: end;
    }

    .fix_wrap .c-header-sp-menu > a {
        display: contents;
    }

    .fix_wrap .c-header-sp-menu img {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain;
    }

    .fix_wrap .c-header-mylist a .is-text {
        padding-top: 0;
    }

    .fix_wrap .c-header-sp-menu_txt {
        margin: 0 !important;
        padding-top: 2px;
        font-size: 8px !important;
        line-height: 10px;
        white-space: nowrap;
    }

    .fix_wrap .c-header-menu {
        position: static;
        order: 3;
        flex: 0 0 40px;
        width: 40px;
        margin: 0;
        transform: none;
    }

    .l-main,
    .main {
        padding-top: 84px;
    }

    .sp_header_bg.is-show::before,
    .sp_header_bg.is-show::after {
        display: none;
    }
}

/* ログイン後ヘッダーはログイン画面と同じコンテナ基準にそろえる。 */
.fix_wrap .l-header {
    height: 92px;
}

.fix_wrap .l-header_inner {
    width: min(calc(100% - 48px), 1200px);
    height: 92px;
    padding: 0 64px 0 0;
}

.fix_wrap .site-brand-header {
    flex-basis: 280px;
}

.fix_wrap .site-brand-header__logo {
    max-width: 280px;
}

.fix_wrap .site-brand-header__project {
    margin-bottom: 5px;
    font-size: 12px;
}

.fix_wrap .site-brand-header__tagline {
    font-size: 13px;
}

.fix_wrap + .l-main,
.fix_wrap ~ .l-main {
    padding-top: 106px;
}

@media (max-width: 768px) {
    html {
        min-width: 0;
        overflow-x: clip;
    }

    .l-main {
        display: block;
    }

    .l-mainitem {
        width: 100%;
        min-width: 0;
    }

    .l-mylistwrap {
        display: none !important;
    }

    .fix_wrap .l-header,
    .fix_wrap .l-header_inner {
        height: 74px;
    }

    .fix_wrap .l-header_inner {
        width: min(calc(100% - 28px), 600px);
        padding: 0;
    }

    .fix_wrap .site-brand-header {
        flex-basis: 164px;
    }

    .fix_wrap .site-brand-header__logo {
        max-width: 164px;
    }

    .fix_wrap .site-brand-header__project {
        margin-bottom: 3px;
        font-size: 8px;
    }

    .fix_wrap .site-brand-header__tagline {
        font-size: 10px;
    }

    .fix_wrap + .l-main,
    .fix_wrap ~ .l-main {
        padding-top: 86px;
    }

}
	.header-mylist-modal {
		display: none;
		position: fixed;
		z-index: 999;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		margin: 0 auto;
		padding: 100px 0;
		overflow: auto;
		background: rgba(0, 0, 0, .6);
		box-sizing: border-box;
		text-align: center;
	}
