.app_badge {
    /* ボタンっぽいデザインを入れる */
    /*width: 70px;*/
    padding: 3px 5px;
    /*
    border: solid 1px #000;
    border-radius: 5px;
    */
    position: relative; /* 基準値とする */
    font-size:1.2rem;
}

.app_badge span {
    position: absolute;     /* 相対位置に指定 */
    top: 0px;             /* 表示位置を上から-10pxの位置にする */
    left: calc(100% - 20px);/* 表示位置を右から内側に10pxの位置 */
    color: #FFF;            /* 文字色を白に指定 */
    font-weight: normal;      /* 太文字にする */
    line-height: 20px;      /* 行の高さを指定 */
    text-align: center;     /* 文字を中央揃えにする */
    background: #ff4646;    /* 背景色をオレンジに指定 */
    border-radius: 10px;    /* line-heightの半分の角丸を指定 */
    min-width: 20px;        /* 最低幅を指定 */
    padding: 0 3px;         /* 左右に少しだけ余白を設定 */
    box-sizing: border-box; /* 計算しやすいように */
}

/*
写メ日記本文を2行表示、三点リーダー
*/
@supports (-webkit-line-clamp: 2) {
    .ellipsis {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.image {
    position:relative;
    overflow:hidden;
    padding-bottom:100%;
}
.image img {
    position:absolute;
}
/*
.test_container {
	position: relative;
	max-width: 100%;
	width: 300px;
	height: 200px;
}

.test_container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	height: 200px;
	background-image: linear-gradient(180deg, transparent 0 60%, #FFF 100%);
}

.test_container img {
	width: 100%;
}
*/

.photomail {
    position: relative;
    width: 100%;

    overflow:hidden;
    padding-bottom:100%;
}
.photomail img {
    position:absolute;
}

.photomail p {
    position: absolute;
    color: white;
    font-weight: bold;
    bottom: 0;
    left: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width:100%;
}

.photomail_image::after {
    content: '';
	position: absolute;
	bottom: 0;
	left: 0;
    width: 100%;
	height: 100%;
	background-image: linear-gradient(180deg, transparent 0 40%, #000 100%);
}


/*********************************
* badge outline
*********************************/
.badge {
    display: inline-block;
    /*
    font-size: 0.7em;
    font-weight: 600;
    */
    padding: 4px 6px;
    border: 1px solid transparent;
    min-width: 0.9em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: top;
}

.badge.badge-block {
    display: block;
    width: 100%;
}

.badge.badge-outlined {
    background-color: transparent
}

.badge.badge-outlined.badge-default {
    border-color: #B0BEC5;
    color: #B0BEC5
}

.badge.badge-outlined.badge-primary {
    border-color: #2196F3;
    color: #2196F3
}

.badge.badge-outlined.badge-secondary {
    border-color: #323a45;
    color: #323a45
}

.badge.badge-outlined.badge-success {
    border-color: #64DD17;
    color: #64DD17
}

.badge.badge-outlined.badge-warning {
    border-color: #FFD600;
    color: #FFD600
}

.badge.badge-outlined.badge-info {
    border-color: #29B6F6;
    color: #29B6F6
}

.badge.badge-outlined.badge-danger {
    border-color: #ef1c1c;
    color: #ef1c1c
}

.badge.badge-outlined.badge-orange {
    border-color: #fa8e00;
    color: #fa8e00
}

.orange {
    color: #fa8e00
}

.bg-orange {
    background: #fa8e00
}

.yescolor {
    color:#0D3589;
    /*color:#dc143c;*/
}

.bg-yescolor {
    /*background: #dc143c;*/
    background:#0D3589;
}

.bg-menu-yescolor {
    background:#545967;
}

.badge.badge-yescolor {
    border-color: #0D3589;
    color: #0D3589;
    background: white;
    /*
    border-color: #dc143c;
    color:#dc143c;
    */
}

a:hover {
    text-decoration: none;
}


 /* === ボタン型のチェックボックス ============================== */
.check-button-label {
    margin-right: 5px;
    cursor:pointer;
}

.check-button-label input {
    display: none;
}

.check-button-label .span-text {
    color: #333;
    font-size: 14px;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 20px;
}

.check-button-label input:checked + span {
    color: #FFF;
    background: #0D3589;
    border: 1px solid #0D3589;
}

.check-button-label .span-text-sm {
    color: #333;
    font-size: 12px;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 20px;
}

/* テキストボックスの右側にinput-group、radius整理 */
.input-group-right {
    border-top-left-radius : 0px;
    border-bottom-left-radius : 0px;
    border-left:none;
}