@import "../font.css";

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

body {
	font-family: Hiragino Kaku Gothic ProN,Meiryo,sans-serif;
	margin: 0;
	color: #333;
	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: 56px;
	background-color: #fff;
}

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 #e2e2e2;
}

.section-header__title {
	float: left;
	font-size: 2rem;
	line-height: 28px;
}

.section-header__icon {
	margin-right: 4px;
	font-size: 2.4rem;
	vertical-align: -.4rem;
	color: #298538;
}

.section-header__link {
	padding-left: 16px;
	line-height: 28px;
	text-align: right;
	color: #298538;
	font-size: 1.6rem;
}

.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: 948px;
	margin: 0 auto;
	padding: 0 16px;
}

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

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

.content-container__left {
	width: 564px;
	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);
	}
}
