﻿html, body {
	height: 100%;
}

body {
	margin: 0;
}

.widget {
	height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
}

header h1 {
	display: inline-block;
	color: #fff;
	font-size: 14px;
	padding: 14px 10px 14px 30px;
}

header svg {
	width: 100px;
	float: right;
	margin: 0px 28px 0 0px;
}

.default header {
	position: relative;
	background: #f88ac3;
	color: #000;
	overflow: hidden;
}

.default header::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 40%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background-image: url(/../img/index/2019/image_header_nabbit.png?20260304);
    background-repeat: no-repeat;
    background-size: contain;
}

.widget-content {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.default {
	background: #fff;
	color: #333;
}

body.black {
	background: #fff;
	color: #eee;
}

.default ul {
	background: #fff8cc69;
}

.blog-list {
	margin: 0;
	padding: 4px;
	list-style: none;
}

.blog-item {
	margin: 0 0 6px;
}

.blog-link {
	display: flex;
	gap: 5px;
	text-decoration: none;
	color: #F772B7;
	background: #fff;
	padding: 5px;
}

.blog-thumb {
	width: 120px;
	min-width: 120px;
	height: 70px;
	overflow: hidden;
}

.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.blog-title {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.black .blog-title {
	color: #000;
}

.blog-text-area .odai {
	display: block;
	font-size: 0.7rem;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-text-area .odai::before {
	content: "";
	background: url(/svg/sp/ic_odai.svg) no-repeat;
	width: 30px;
	height: 15px;
	background-size: contain;
	display: inline-block;
	vertical-align: middle;
	margin-right: 2px;
}

.blog-text {
	font-size: 12px;
	line-height: 1.5;
	color: #666;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.black .blog-text {
	color: #000;
}

.blog-text-area {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.blog-date {
	font-size: 12px;
	color: #999;
	margin-top: auto;
	align-self: flex-end;
	text-align: right;
}

body.black .blog-date {
	color: #9a9a9a;
}

/* フッター */
.widget-footer {
	height: 15px;
	line-height: 10px;
	padding: 10px;
	text-align: right;
	background: #f88ac3;
	display: block;
	text-decoration: none;
	opacity: 1;
	margin-bottom: 0px;
}

.widget-footer p a {
	font-size: 12px;
	color: #fff;
	position: relative;
}

.header-link{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 11px;
	color: #fff;
	position: relative;
}

/* 丸 */
.header-link::after {
	display: block;
	content: "";
	background: #dcdcdc;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 0;
	left: -21px;
	transition: all .2s ease-out;
}

/* 矢印 */
.header-link::before {
	display: block;
	content: "";
	width: 4px;
	height: 4px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 5px;
	left: -17px;
	z-index: 1;
}

/* hover */
.header-link:hover::after {
	background: #f772b7;
}
body.black .widget-footer {
	background: #000;
}

.header-link{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #fff;
}

.widget-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f88ac3;
}

.footer-logo{
    width: 120px;
    height: 24px;
    background: url(/../img/index/logo_head.png) no-repeat center;
    background-size: contain;
}

body.black .widget-footer{
    background:#000;
}