:root {
	--sidebar-width:320px;
}

/*--header-------------------------------------------------------*/
header{
	width: 100%;
}
header h1{
	width: 100%;
	text-align: left;
	font-size:0.9em;
	line-height: 0.9;
	font-weight:normal;
	padding: 0.5rem;
	background-color: #000;
}
header h1 a{
	display: block;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	color:#fff;
}
header .header-wrapper{
    position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 980px;
	padding:1rem 0;
	margin: 0 auto;
}
header .logo img{
	width: 100%;
	max-width: 320px;
}

header .review-container{
	padding:0.5rem;
	text-align: center;
	border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
header .review-container .review-count{
	padding:0.5rem 0;
	color:#f42bbe;
	font-size:1.2rem;
	text-align: right;
	font-weight:bold;
}
header .review-container .button-wrapper{
	display: flex;
	gap: 0.25rem;
}
header .review-container .button-wrapper a{
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	text-align: center;
	color: #558dad;
	border: 1px solid #558dad;
	transition: all 0.3s ease-in-out;
}
header .review-container .button-wrapper p:nth-child(1) a{
	color: #fff;
	background-color: #558dad;
}
header .review-container .button-wrapper a:hover{
	border-radius: 8px;
}
header .review-container .button-wrapper p:nth-child(1) a:hover{
	color: #558dad;
	background-color: #fff;
}
header .review-container .button-wrapper p:nth-child(2) a:hover{
	color: #fff;
	background-color: #558dad;
}

.header-sns {
	display: flex;
	gap: 0.5rem;
}
.header-sns a img {
    width: 2.2rem;
    transition: 0.3s;
	border-radius: 4px;
	overflow: hidden;
}

.header-sns a:hover img {
    transform: translateY(-2px);
}

#header-menu{
	width:auto;
	padding: 0.5rem 0;
	background-color:#444;
}
#header-menu .menu-list{
	display: flex;
	gap: 0.5rem;
	width: 100%;
	max-width: 980px;
	margin:0 auto;
}
#header-menu .menu-list li{
	width: calc(100% / 6);
}
#header-menu .menu-list li a{
	display:block;
	padding:1rem 0;
	text-align: center;
	font-size:1.1em;
	color:#fff;
}
#header-menu .menu-list li a:hover{
	color: #fe2fd5;
	border-radius: 8px;
}

/*--header end-------------------------------------------------------*/

/*--slider-------------------------------------------------------*/
#slideouter {
    width: 100%;
    margin-bottom: 1rem;
}
.slide_all {
    width: 980px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}
.swiper {
    width: 100%;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}
/*--other-------------------------------------------------------*/

.breadcrumb-nav {
	width: 980px;
	padding: 12px 0;
	margin: 0 auto;
	font-size: 0.875rem;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumb li {
	display: flex;
	align-items: center;
	color: #666;
}

.breadcrumb li a {
	text-decoration: none;
	color: #111;
	transition: opacity 0.2s ease;
}

.breadcrumb li a:hover {
	opacity: 0.6;
}

/* 区切り記号 */
.breadcrumb li + li::before {
	content: "›";
	margin: 0 0.5rem;
	color: #aaa;
	font-size: 0.75rem;
}

/* 最後の要素（現在地） */
.breadcrumb li:last-child {
	color: #999;
	pointer-events: none;
}

/*--content-------------------------------------------------------*/
main {
	display: flex;
	gap: 1rem;
	width: 100%;
	max-width: 980px;
	padding: 2rem 0;
	margin: 0 auto;
}
.main-content{
    width: calc(100% - var(--sidebar-width));
}

/*--Pagination-------------------------------------------------------*/
.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 6px;
    padding: 0 14px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* hover */
.pagination .page-numbers:hover {
    background: #558dad;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* 現在ページ */
.pagination .current {
    background: #558dad;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* 前後ボタン */
.pagination .prev,
.pagination .next {
    font-weight: bold;
}
/*--main content end-------------------------------------------------------*/

/*--side content---------------------------------------------------------*/
.sidebar {
    width: var(--sidebar-width);
}

.widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #111;
}
/* 検索キーワード */
.search-form{
    display:flex;
    align-items:center;
    background:#f7f7f7;
    border-radius:999px;
    padding:4px;
    border:1px solid #e5e5e5;
}

.search-field{
    flex:1;
    border:none;
    background:transparent;
    padding:10px;
    font-size:14px;
    outline:none;
}

.search-submit{
    border:none;
    background:#111;
    color:#fff;
    font-size:13px;
    padding:8px 10px;
    border-radius:999px;
    cursor:pointer;
    transition:0.2s;
}

.search-submit:hover{
    background:#333;
}

/* カード */
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card {
    margin-bottom: 18px;
    overflow: hidden;
    transition: 0.3s;
}

.card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-img img {
    width: 100%;
	height: auto;
    display: block;
}

.card-content {
    padding: 12px;
}

.card-title {
    font-size: 14px;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 12px;
    color: #666;
}

.card:hover {
    transform: translateY(-4px);
}

.mini-rank {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rank-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.rank-num {
    background: #111;
    color: #fff;
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
}
.rank-thumb {
    flex: 0 0 60px;
}
.rank-thumb img {
    display: block;
    width: 60px;
	height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.rank-info {
    width: calc(100% - 106px);
}
.rank-info h4 {
    font-size: 13px;
    margin-bottom: 4px;
}

.rank-info a {
    display: block;
    text-decoration: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #333;
}

.rank-url a {
    font-size: 12px;
    color: #888;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list a {
    text-decoration: none;
    color: #444;
    transition: 0.2s;
}

.link-list a:hover {
    color: #000;
}

.update-list {
    list-style: none;
    padding: 0;
}

.update-list li {
    margin-bottom: 8px;
    font-size: 13px;
}

.update-date {
    display: inline-block;
    margin-right: 6px;
    color: #999;
    font-size: 12px;
}

.more-wrapper {
    text-align: center;
}
.more-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #777;
    transition: 0.3s;
}

.more-link:hover {
    color: #000;
}

/*--side content end---------------------------------------------------------*/
/*--share---------------------------------------------------------*/
.sns-share {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
	margin-bottom: 2rem;
}

.sns-share a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.sns-share .x a { background: #000; }
.sns-share .facebook a { background: #1877f2; }
.sns-share .line a { background: #06c755; }
.sns-share .hatena a { background: #00a4de; }

.sns-share a:hover {
    opacity: 0.8;
}
/*--share end---------------------------------------------------------*/

/*--content end-------------------------------------------------------*/


/*--footer-------------------------------------------------------*/
footer {
    background: #0f0f12;
    color: #ccc;
    padding: 60px 20px 0;
    font-size: 14px;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1 1 400px;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 25px;
}

.footer-sns {
	display: flex;
	gap: 0.5rem;
}
.footer-sns a img {
    width: 2rem;
    opacity: 0.8;
    transition: 0.3s;
	border-radius: 4px;
	overflow: hidden;
}

.footer-sns a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-nav {
    flex: 1 1 300px;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
    list-style: none;
    padding: 0;
}

.footer-nav a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
    padding-top: 13px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 998;
    color: #000;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, 0.3s ease;
}
.footer-button.show {
    opacity: 1;
    visibility: visible;
}
.footer-button.show:hover {
    transform: translateY(-4px);
}
.footer-button span {
    display: inline-block;
    position: relative;
    padding-top: 1rem;
}
.footer-button span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0;
    border-top: 3px solid #000;
    border-left: 3px solid #000;
    transform: translateX(-50%) rotate(45deg);
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ハンバーガーメニュー */
body.menu-open{
    overflow:hidden;
}
.hamburger{
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    width:42px;
    height:42px;
    z-index:1000;
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,0.8);
    border:none;
    cursor:pointer;
}
/* 3本線 */
.hamburger span{
    width:26px;
    height:2px;
    background:#222;
    border-radius:2px;
    transition:all .3s ease;
}
body.menu-open .hamburger {
    background:transparent;
}
body.menu-open .hamburger span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2){
    opacity:0;
}

body.menu-open .hamburger span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}
body.menu-open .hamburger span {
    background:#fff;
}

body.menu-open .hamburger,
.hamburger.fixed{
    position: fixed;
    top: 1rem;
    right: 1rem;
}

.sp-only{
    display: none;
}

/* SP */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .breadcrumb li span a,
    .breadcrumb li span span {
        display: inline-block;
        max-width: 8em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    main,
    header .header-wrapper {
        flex-wrap: wrap;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    
    header .header-wrapper{
        justify-content: center;
    }
    
    header h1 a{
        display: inline-block;
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    header .logo {
        text-align: center;
    }
    header .logo img {
        max-width: 180px;
    }
    .header-sns {
        display: none;
    }
    header .review-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
    }
    header .review-container .button-wrapper p:nth-child(1) {
        display: none;
    }

    #slideouter {
        margin-bottom: 0;
    }
    .slide_all {
        width: 100%;
        border-radius: 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-brand,
    .footer-nav{
        flex: 1 1;
    }

    .footer-nav ul {
        grid-template-columns: 1fr;
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    /* ハンバーガーメニュー */
    .hamburger{
        display:flex;
    }
    #header-menu{
        display:none;
        top:0;
        left:0;
        width:100%;
        height: 100vh;
        padding: 1rem;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    body.menu-open #header-menu{
        position: fixed;
        display:block;
        z-index: 999;
    }
    #header-menu .menu-list {
        flex-direction: column;
        padding: 4rem 0 2rem 0;
        gap: 1.5rem;
    }
    #header-menu .menu-list li {
        width: 100%;
    }
    #header-menu .menu-list li a {
        position: relative;
        padding: 1rem;
        text-align: left;
        color: #000;
        background-color: #fff;
        border-radius: 4px;
    }
    #header-menu .menu-list li a::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1rem;
        width: 0.5rem;
        height: 0.5rem;
        font-size: 0;
        border-top: 2px solid #444;
        border-right: 2px solid #444;
        transform: translateY(-50%) rotate(45deg);
    }

    .sp-only{
        display: block;
    }
}