@import "../ameba-color-palette.css";
@import "../font.css";

/* ----- html tags ----- */
html {
	font-size: 62.5% !important;
}

body {
	font-family: Hiragino Kaku Gothic ProN,Meiryo,sans-serif;
	margin: 0;
	color: var(--color-text-high-emphasis);
	font-size: 1.6rem;
	word-break: break-all;
	word-wrap: break-word;
}

ul {
	list-style: none;
}

img {
	vertical-align: middle;
}

p, ul, h1, h2, h3, dl, dt, dd, dialog, button {
	margin: 0;
	padding: 0;
}

span {
	display: inline-block;
}

section {
	margin-bottom: 44px;
	background-color: var(--color-surface-primary);
}

dialog {
	border: none;
	color: inherit;
}

button {
	border: none;
	background-color: inherit;
}

button:hover {
	opacity: 0.8;
	cursor: pointer;
	cursor: hand;
}

button:disabled {
	opacity: 1;
	cursor: initial;
}

input, textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

select::-ms-expand {
    display: none;
}

/* ----- for body ----- */
.body--popup {
	overflow: hidden;
}

/* ----- atom classes ----- */
.btn {
	width: 100%;
	height: 48px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #2d8c3c;
	border: solid 1px #2d8c3c;
	border-radius: 4px;
	white-space: nowrap;
	line-height: 46px;
	color: #fff;
	text-align: center;
	font-size: 1.6rem;
	font-weight: bold;
}

.btn:disabled {
	background-color: #aaa;
	border-color: #aaa;
}

.btn.btn--link {
	height: 40px;
	line-height: 38px;
	color: #fff;
}

.btn.btn--large {
	height: 48px;
	line-height: 46px;
	font-size: 2rem;
}

.btn.btn--small {
	height: 32px;
	font-size: 1.4rem;
	line-height: 30px;
}

.btn.btn--main {
	background-color: transparent;
	border: solid 1px #fff;
}

.btn.btn--sub {
	background-color: #fff;
	color: #2d8c3c;
	border: solid 1px #2d8c3c;
}

.btn__text {
	margin: 0 32px;
	display: inline;
}

.btn--small .btn__text {
	margin: 0 16px;
}

.btn__icon {
	margin-right: 8px;
}

.section-header {
	padding: 16px 0;
	border-bottom: solid 1px var(--color-border-low-emphasis);
}

.section-header__title {
	float: left;
	font-size: 1.8rem;
	line-height: 1.3;
}

.section-header__icon {
	margin-right: 8px;
	font-size: 2.4rem;
	vertical-align: -.4rem;
	color: var(--color-object-accent-primary);
}

.section-header__link {
	padding-left: 40px;
	line-height: 1.3;
	text-align: right;
	color: var(--color-text-accent-primary);
	font-size: 1.8rem;
}

.link.section-header__link-content {
	display: inline;
}

.section-header__subtitle {
	margin-top: 4px;
	font-size: 1.6rem;
	font-weight: normal;
	color: #333;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 50;
	overflow: auto;
}

.popup__container {
	width: 698px;
	margin-bottom: 32px;
	padding: 24px;
	position: absolute;
	top: 20%;
	left: 50%;
	background-color: #fff;
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}

.popup__content {
	position: relative;
	text-align: center;
}

.popup__close {
	position: absolute;
	top: 0;
	right: 0;
	color: #626262;
	font-size: 1.6rem;
}

.popup__title {
	font-weight: bold;
}

.popup__body {
	margin-top: 24px;
}

.popup__text {
	padding-top: 8px;
}

.popup__subtext {
	margin-top: 8px;
	display: block;
	color: #757575;
	font-size: 1.4rem;
	text-align: center;
}

.popup__btn-container {
	margin-top: 24px;
	vertical-align: middle;
	display: inline-block;
}

.popup__btn-wrap {
	width: 224px;
	float: right;
	display: inline-block;
}

.popup__btn-wrap:nth-of-type(n + 2) {
	margin-right: 24px;
}

/* ----- common classes ----- */
.-clearfix::after {
	clear: both;
}

.-clearfix::before, .-clearfix::after {
	content: "";
	display: table;
}

.-ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.-hidden {
	visibility: hidden;
}

.-none {
	display: none !important;
}

.-clickable:hover {
	opacity: 0.8;
	cursor: pointer;
	cursor: hand;
}

.-clickable:disabled:hover {
	opacity: 1;
	cursor: initial;
}

.-table {
	display: table;
}

.-table__inner-table {
	display: table;
	table-layout: fixed;
	width: 100%;
}

.-table__cell {
	display: table-cell;
	vertical-align: middle;
}

/* for a tag */
a.link {
	width: 100%;
	height: 100%;
	display: inline-block;
	position: relative;
	color: inherit;
	text-decoration: none;
	vertical-align: middle;
}

a.link:hover {
	opacity: 0.8;
}

.link.link--inline {
	display: inline;
}

.link.link--disabled {
	pointer-events: none;
	cursor: default;
}

.link.link--disabled:hover {
	opacity: 1;
}

.link.link--under-line {
	text-decoration: underline;
}

.profile-content {
	min-width: 980px;
	margin: 0 auto;
	overflow: hidden;
}

.profile-content__container {
	width: 960px;
	margin: 0 auto;
	padding: 0 16px;
}

.content-container::after {
	clear: both;
}

.content-container::before, .content-container::after {
	content: "";
	display: table;
}

.content-container__left {
	width: 600px;
	float: left;
}

.content-container__right {
	width: 300px;
	float: right;
}

.list-item {
	border-bottom: solid 1px #e2e2e2;
}

.list-item:last-of-type {
	border: none;
}

.list-item__main {
	overflow: hidden;
}

.list-item__img--right {
	margin-left: 20px;
	float: right;
}

.list-item__img--left {
	margin-right: 20px;
	float: left;
}

/* progress icon */
.progress {
	font-size: 0;
}

.progress__bar {
	animation: progress__animation 0.8s infinite ease-in-out;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	height: 24px;
	margin: 0 4px;
	width: 6px;
	vertical-align: middle;
}

.progress__bar--1 {
	animation-delay: -1.1s;
}

.progress__bar--2 {
	animation-delay: -1s;
}

.progress__bar--3 {
	animation-delay: -0.9s;
}

@keyframes progress__animation {
	0%,
	40%,
	100% {
		transform: scaleY(0.6666);
	}

	20% {
		transform: scaleY(1);
	}
}

/* section */
.section {}

.section__header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section__header h2 {
	color: var(--color-text-high-emphasis);
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.3;

	display: flex;
	align-items: center;
	gap: 8px;
}

.section__header h2 svg {
	color: var(--color-object-accent-primary);
}

.section__header a {
	color: var(--color-text-accent-primary);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;

	display: flex;
	align-items: center;
	gap: 4px;
}

.section__header a:hover {
	text-decoration: underline;
}

.section__header a svg {
	width: 1.9rem;
	height: 1.9rem;
}

.thumbnail-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
}

.thumbnail-list__item {
	padding-top: 100%;
	position: relative;
}

.thumbnail-list__item a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 12px;
	border: 1px solid var(--color-border-low-emphasis);
	overflow: hidden;
}

.thumbnail-list__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail-list__play {
	width: 30%;
	height: 30%;
	object-fit: cover;
	position: absolute;
	background: #08121A9C; /* var(--color-surface-accent-neutral-medium-emphasis); */
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.thumbnail-list__play svg {
	color: var(--color-object-high-emphasis-inverse);
	width: 66%;
	height: 66%;
}
