

/* 運気カレンダー導入 */
.d-calendar__header {
	margin-bottom: 0;
}
.d-calendar__header--title {
	font-size: 0;
	margin: 0;
}
.d-calendar__header--title-img {
	width: 100%;
	height: auto;
}


/* 運気カレンダー */
.d-calendar__contents {
	margin: 0;
}
.d-calendar__contents--title {
	background-color: #af9572;
	color: #ffffff;
	font-size: 1.2rem;
	margin: 0;
	padding: 0.4rem 0;
	text-align: center;
	user-select: none;
}
.d-calendar__contents--table {
	background-color: #eeeeee;
	font-weight: normal !important;
}
.d-calendar__contents--table-day {
	background-color: #ffffff;
}
.d-calendar__contents--plus {
	background-color: #f7c9dd;
}
.d-calendar__contents--minus {
	background-color: #c7bad3;
}
.d-calendar__contents--default {
	background-color: #ffffff;
}

.d-calendar__contents--link--plus {
	color: #000000;
}
.d-calendar__contents--link--minus {
	color: #000000;
}
.d-calendar__contents--link--default {
	color: #000000;
}


/* 運気カレンダーページ */
.d-calendar__page {
	margin-bottom: 2rem;
}
.d-calendar__page--prev, .d-calendar__page--next {
	position: relative;
}
.d-calendar__page--prev::after {
	border: 0.06rem solid;
	border-color: #565656 #565656 transparent transparent;
	content: '';
	width: 0.6rem;
	height: 0.6rem;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%) rotate(225deg);
}
.d-calendar__page--next::after {
	border: 0.06rem solid;
	border-color: #565656 #565656 transparent transparent;
	content: '';
	width: 0.6rem;
	height: 0.6rem;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0, -50%) rotate(45deg);
}


/* リンク */
.d-calendar__link {
	margin-bottom: 2.0rem;
}
.d-calendar__link--ul, .d-calendar__link--li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.d-calendar__link--li {
	align-items: center;
	border-bottom: 1px solid #9c9c9c;
	display: flex;
	padding: 0.4rem 1.0rem 0.4rem 0.4rem;
	position: relative;
}
.d-calendar__link--li:first-child {
	border-top: 1px solid #9c9c9c;
}
.d-calendar__link--li::after {
	border: 0.06rem solid;
	border-color: #565656 #565656 transparent transparent;
	content: '';
	width: 0.6rem;
	height: 0.6rem;
	position: absolute;
	top: 50%;
	right: 0.6rem;
	transform: translate(0, -50%) rotate(45deg);
}
.d-calendar__link--a {
	display: inline-block;
	width: 100%;
	height: auto;
	padding: 0.4rem 0;
	text-decoration: none;
}


/* その他ボタンとか諸々 */
.d-calendar__btn-list {
	margin-bottom: 2rem;
}
.d-calendar__btn-list--list {
	background-color: #eeeeee;
	padding: 1rem 0;
}
.d-calendar__btn-list--list-ul, .d-calendar__btn-list--list-li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.d-calendar__btn-list--list-arrow {
	background-color: #ffffff;
	position: relative;
	width: 90%;
}
.d-calendar__btn-list--list-arrow::before {
	border: 0.06rem solid;
	border-color: #c9c9c9 #c9c9c9 transparent transparent;
	content: '';
	width: 0.6rem;
	height: 0.6rem;
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translate(0, -50%) rotate(45deg);
}


/* renewal add */
.d-calendar__nav--ul {
	border: none;
	margin: 1rem;
}
.d-calendar__nav--ul > li {
	background-color: #c9c9c9;
	border: 1px solid #af9572;
	box-shadow: 0 0 0 1px #c2985b inset;
	color: #a17d36;
	padding: .4rem;
}
.d-calendar__nav--ul > li > a {
	color: #ffffff;
	font-weight: bold;
}
.d-calendar__nav--ul > li:first-of-type {
	border-radius: 0.4rem 0 0 0.4rem;
}
.d-calendar__nav--ul > li:last-of-type {
	border-radius: 0 0.4rem 0.4rem 0;
}
.d-calendar__nav--btn-on {
	background-color: #af9572 !important;
	border: 1px solid #af9572;
	box-shadow: 0 0 0 2px #fadaaa inset;
}
.d-calendar__nav--btn-on-a {
	color: #ffffff !important;
	font-weight: bold;
}


.d-calendar__list--mlink {
	margin-bottom: .4rem;
}
.d-calendar__list--mlink-left {
	margin: 0;
	/*	padding-left: 1rem !important; */
	text-align: left;
}
.d-calendar__list--mlink-right {
	margin: 0;
	/*	padding-right: 1rem !important; */
	text-align: right;
}
.d-calendar__list--ym-text {
	color: #af9572;
	margin: 0;
	padding: .4rem;
	text-align: center;
}


/* add */
.d-calendar__table--border {
	border: 1px solid #af9572 !important;
}

/* add calendar */
.cal__table {
	border: 1px solid #a17d36;
	color: #000000;
	text-align: center;
}
.cal__table--thead {
	background-color: #fcf9d6;
}
.cal__table--thead > tr {
	border:	none;
}
.cal__table--thead > tr > th {
	border-right: 1px solid #a17d36;
	border-top: 1px solid #a17d36;
	border-bottom: 1px solid #a17d36;
	color: #a17d36;
}
.cal__table--thead > tr > th:last-of-type {
	border-right: none;
}

.cal__table--tbody {
	background-color: #ffffff;
	margin: 0;
}
.cal__table--tbody > tr {
	height: 1.6rem;
	border-bottom: 1px solid #a17d36 !important;
}
.cal__table--tbody-td {
	border-right: 1px solid #a17d36 !important;
	border-top:	none !important;
	padding: 0 !important;
	vertical-align: middle !important;
	width: 4rem;
}
.cal__table--tbody-td:last-of-type {
	border:	none !important;
}
.today-bgcolor {
	background-color: #fcf9d6;
}
.outday-bgcolor {
	background-color: #eeeeee;
}
.cal__table--tbody-td-day {
	font-size: 1rem;
	margin: 0;
	padding: 0 .2rem;
	text-align: center;
}
.day-color-sunday {
	color: #ff0000 !important;
}
.day-color-saturday {
	color: #0000ff !important;
}

/* add lucky color */
.d-calendar__color {
	margin: -4.375rem 0 1rem;
	padding-top: 4.375rem;
}
.d-calendar__color--head {
	background-color: #af9572;
	padding: 0.2rem 1rem;
}
.d-calendar__color--md-text {
	color: #ffffff;
	font-size: 1.6rem;
	font-weight: bold;
	margin: 0;
	padding: .4rem;
	text-align: center;
}
.d-calendar__color--md-left {
	margin: 0;
	text-align: left;
}
.d-calendar__color--md-right {
	margin: 0;
	text-align: right;
}
.d-calendar__color--md-frame {
	background-color: #f4cf35;
	border-radius: .4rem;
	color: #000000;
	padding: .4rem .8rem;
}
.d-calendar__color--md-link {
	margin: 0;
	text-align: center;
}
.d-calendar__color--md-link-a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: .2rem;
}

.d-calendar__color--list {
	border-left: 1px solid #af9572;
}
.d-calendar__color--ul, .d-calendar__color--li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.d-calendar__color--li {
	border-bottom: 1px solid #af9572;
	border-right: 1px solid #af9572;
	padding: 0.2rem 0.8rem;
}
.li-block {
	display: flex;
	align-items: center;
	word-break: break-all;
}
.d-calendar__color--frame {
	padding: 0 1rem;
}

.d-calendar__color--unki-plus {
	color: #f66076;
}
.d-calendar__color--unki-minus {
	color: #631c89;
}

.lucky-color-frame {
	display: inline-block;
	border: 1px solid #af9572;
	width: 100%;
	height: .8rem;
}
