/* Your custom styles */

/* Background color */
.body-color {
    background-color: #000;
}

/* Text color */
/* .body-color,
.table td,
#mailbox .list-group-item a {
    color: #FFF;
} */

.m-color {
    background-color: #d4312a !important;
    color: #FFF !important;
}

/* Accent color */
.a-color {
    background-color: #fff200 !important;
    color: #FFF !important;
}

.nav-color {
    background-color: #936666;
    color: #FFF;
    /* background-image: linear-gradient(150deg, rgba(0, 0, 0, 1) 14%, rgba(144, 255, 0, 1)); */
}

.side-color {
    background-color: #A29566;
    color: #000;
}

.side-color .card-color {
    background-color: #A29566;
    color: #000;
    border: 1px solid #000 !important;
}

.card-color {
    background-color: #f8fffa;
    /* border: solid 3px #67be8d; */
    /* outline: solid 2px #282828; */
    /* border: solid 3px #282828; */
    /* outline: solid 3px #67be8d; */
}

.panel-color .card-header {
    background-color: #000;
    color: #FFF;
}

.status-color {
    background-color: #A29566;
}

.card .card-body .card-text {
    color: #EEE;
}


table.table-color th {
    background-color : transparent;
    color : #FFF;
}

table.table-color td {
    background-color : transparent;
    color :#fff;
}

ul.list-group li.list-group-item {
    background-color : transparent;
    color :#fff;
    border-color: #FFF;
}

#ranking li.list-group-item:first-child {
    border-top: none;
}

h1.h-color {
    color: #333;
    font-weight: bold;
    border-bottom: 5px solid #333;
    padding: .5rem 0;
    margin-bottom: 1.5rem;
}

h2.h-color {
    color: #FFF;
    font-size: 1.7rem;
    font-weight: bold;
    text-align: center;
    padding: 1.5rem .5rem;
    margin-bottom : 1rem;
    background-color: #d4312a;
    /* background-size: 200% 200%; */
    /* background-image: linear-gradient(135deg, rgba(0, 0, 0, 1) 14%, rgba(144, 255, 0, 1) 50%, rgba(0, 0, 0, 1) 86%); */
    /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5), 0px 0px 8px rgba(144, 255, 0, 0.8); */
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    /* animation: gradient-animation 3s ease infinite; */
}

/* @keyframes gradient-animation {
    0% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 100% 0%;
    }
} */

h2.h-color span.shine {
    background-image: linear-gradient(
        70deg,
        #FDEF75 45%, /* font color */
        #E56924 50%,
        #FDEF75 55% /* font color */
    );
    background-size: 500% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 2.5s infinite;
}

/* @keyframes shine {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
} */

h2.h-image {
    text-align: center;
    margin-bottom : 1.5rem;
}

h3.h-color {
    color: #fff;
    /* background: #EA5157; */
    /* font-weight: bold; */
    padding: .5rem 1rem;
    margin-bottom : 1rem;
    text-align: left;
    border-bottom: 4px solid #d4312a;
}

@media (min-width: 768px) {
    h3.h-color {
        text-align: center;
    }
}

h4.h-color {
    color: #FFF;
    background: #333;
    /* border-top: double 2px #67be8d; */
    /* border-bottom: double 2px #67be8d; */
    padding: 0.75rem;
    margin-bottom : 1rem;
    text-align: center;
}

h5.h-color {
    color: #FFF;
    border-left: solid 4px #d4312a;
    padding: .5em;
    margin-bottom : 1rem;
}

#manual .card::before,
#question .card::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 2px solid #d4312a; /* ボーダー */
    box-sizing: border-box;
    pointer-events: none; /* クリックイベントを透過させる */
    border-radius: 0.25rem;
}

.h1, h1 { font-size: 1.75rem; }
.h2, h2 { font-size: 1.5rem; }
.h3, h3 { font-size: 1.3rem; }
.h4, h4 { font-size: 1.2rem; }
.h5, h5 { font-size: 1.15rem; }

th {
    /* width: 35%; */
    vertical-align: middle !important;
}

td {
    vertical-align: middle !important;
}

table.table-res th,
table.table-res td {
    width: 50%;
}

table.table-res th,
table.table-res td {
    width: 40%;
}

/* 画面サイズが767px以下の場合読み込む */
@media screen and (max-width:767px) {
table.table-res {
    width: 100%;
}

table.table-res th,
table.table-res td {
    display: block;
    width: 100%;
}

table.table-res {
    border: none;
}

table.table-res td,
table.table-res th {
    margin-top: -1px;
}

/* table.tc th,
table.tc td {
    display: table-cell;
} */
}

/* 初期化 */
/* .card .card-body .card-text {
    color: unset;
} */

/* .btn {
    text-align: unset;
} */
/* 初期化 */

#wrap {
    overflow: hidden;
}

#mailbox .list-group-item {
    padding: 0;
}

#mailbox .list-group-item a {
    padding: .75rem 1.25rem;
}

#mailbox .list-group-item a.active{
    border-left: #d4312a 5px solid;
}

#mailbox .list-group-item a.read {
    color: #d1d1d1;
}

#mailbox .list-group-item a.unread:before {
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0e0';
    padding-right: .4rem;
    color: #d4312a;
}

#mailbox .list-group-item a.read:before {
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f2b6';
    padding-right: .4rem;
    color: #d1d1d1;
}

#mailbox .list-group-item a.send:before {
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f1d8';
    padding-right: .4rem;
    color: #d4312a;
}

#mailbox .list-group-item-action:focus,
#mailbox .list-group-item-action:hover {
    background-color: transparent;
}

button.navbar-toggler span {
    font-size: 1.1rem;
    margin-left: .5rem;
}

.navbar-nav .counter {
    position: static;
    top:0px;
    left: 0px;
    margin-left: 3px;
}

@media screen and (max-width:767px) {
#terms br {
    display: none;
}}

b, strong {
    font-weight: bold;
}

#mailshow .break {
    overflow-wrap: break-word;
}

.btn {
    text-transform: unset !important;
}

/* PCサイドメニュー */
#sidebar ul {
    padding: 0;
}

#sidebar li {
    list-style: none;
    text-align: left;
    font-weight: bold;
}

#sidebar li a{
	color: inherit;
	font-size: 16px;
	display: block;
	padding: 1rem;
	position: relative;
}

/* #sidebar li a .unread{
	position: absolute;
	background: red;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	text-align: center;
	width: 30px;
	line-height: 30px;
	right: 10px;
	top: 50%;
	margin-top: -15px;
} */

#sidebar li:not(:last-child){
	border-bottom: 1px solid #000;
}

#column img {
    max-width: 100%;
    height: auto !important;
}

section#result img {
    max-width: 100%;
    height: auto !important;
}

/* フォントサイズ */
.fs05 {font-size: 0.5rem;}
.fs06 {font-size: 0.6rem;}
.fs07 {font-size: 0.7rem;}
.fs08 {font-size: 0.8rem;}
.fs09 {font-size: 0.9rem;}
.fs10 {font-size: 1.0rem;}
.fs11 {font-size: 1.1rem;}
.fs12 {font-size: 1.2rem;}
.fs13 {font-size: 1.3rem;}
.fs14 {font-size: 1.4rem;}
.fs15 {font-size: 1.5rem;}
/* フォントサイズ */

.custom-nav{
    overflow-x:scroll;
    overflow-y:hidden;
    flex-wrap: nowrap;
}

#site table {
    width: 100% !important;
}


/* エアライン */
.bg-cloud {
    background-color: #E2E7ED;
}

.bg-air {
    background-image: url(../images/bg_air.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
}

#site_profile img {
    max-width: 100%;
}

.carousel-inner.vv-3 .carousel-item.active,
.carousel-inner.vv-3 .carousel-item-next,
.carousel-inner.vv-3 .carousel-item-prev {
    display: flex;
}

.carousel-inner.vv-3 .carousel-item-right.active,
.carousel-inner.vv-3 .carousel-item-next {
    transform: translateX(100%);
}

.carousel-inner.vv-3 .carousel-item-left.active,
.carousel-inner.vv-3 .carousel-item-prev {
    transform: translateX(-100%);
}

.carousel-inner.vv-3 .carousel-item-right,
.carousel-inner.vv-3 .carousel-item-left {
    transform: translateX(0);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    display:none;
}

@media (min-width: 992px) {
    .carousel-inner.vv-3 .carousel-item-right.active,
    .carousel-inner.vv-3 .carousel-item-next {
        transform: translateX(33.3%);
    }

    .carousel-inner.vv-3 .carousel-item-left.active,
    .carousel-inner.vv-3 .carousel-item-prev {
        transform: translateX(-33.3%);
    }
    .carousel-inner.vv-3 .carousel-item-right,
    .carousel-inner.vv-3 .carousel-item-left {
        transform: translateX(0);
    }
}

/* @media (min-width: 680px){
	#testimonials .bg_jisseki.sp679max {
		display: none !important;
	}
} */

/* #testimonials .bg_jisseki.pc680min {
    display: none !important;
} */
.bg_jisseki {
    background: url(../images/sp_bg_jisseki.png);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 391px;
    max-width: 317px;
    margin: 0 auto;
}
.bg_jisseki .jisseki_body .result_left {
    float: left;
    text-align: left;
    /* padding: 55px 0 0 30px; */
    /* width: 270px; */
    padding: 3.4375rem 0 0 1.875rem;
    width: 16.875rem;
}
.bg_jisseki .jisseki_body .result_left p.name {
    font-weight: bold;
    text-align: center;
    /* font-size: 30px; */
    /* margin-top: 20px; */
    /* margin-left: 10px; */
    /* margin-bottom: 0px; */
    font-size: 1.875rem;
    margin-top: 1.25rem;
    margin-left: 0.625rem;
    margin-bottom: 0rem;
}

.bg_jisseki .jisseki_body .result_left p.fee_ttl {
    color: #ff0000;
    /* margin-top: 28px; */
    margin-top: 1.75rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff, 0px 0px 12px #fff;
}

.bg_jisseki .jisseki_body .result_left p.fee {
    color: #ff0000;
    font-weight: bold;
    /* font-size: 46px; */
    /* margin-top: -5px; */
    font-size: 2.875rem;
    margin-top: -0.3125rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff, 0px 0px 12px #fff;
}

.bg_jisseki .jisseki_body .result_left p.detail {
    /* margin-top: 20px; */
    margin-top: 1.25rem;
}
.jisseki_body p {
    color: #fff;
}
.jisseki_body ul li {
    color: #fff;
}

@media (min-width: 768px) {
    .bg_jisseki .jisseki_body {
        overflow: hidden;
        letter-spacing: 0;
    }
    .bg_jisseki .jisseki_body .result_left {
        float: left;
        text-align: left;
        /* padding: 60px 0 0 30px; */
        /* width: 270px; */
        padding: 3.75rem 0 0 1.875rem;
        width: 16.875rem;
    }
    .bg_jisseki .jisseki_body .result_left p.name {
        /* font-size: 28px; */
        /* margin-top: 5px; */
        /* margin-left: 20px; */
        font-size: 1.75rem;
        margin-top: 0.3125rem;
        margin-left: 1.25rem;
        font-weight: bold;
    }
    .bg_jisseki .jisseki_body .result_left p.fee_ttl {
        /* margin-top: 22px; */
        margin-top: 1.375rem;
    }
    .bg_jisseki .jisseki_body .result_left p.fee {
        font-weight: bold;
        margin-bottom: 0;
        color: #ff0000;
        text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff, 0px 0px 12px #fff;
        /* margin-top: -10px; */
        /* font-size: 50px !important; */
        margin-top: -0.625rem;
        font-size: 3.125rem;
    }
    .bg_jisseki .jisseki_body .result_left p.detail {
        margin-top: 0px;
    }
    .bg_jisseki .jisseki_body ul {
        padding:0;
    }

    .bg_jisseki {
        background: url(../images/bg_jisseki.png);
        background-size: contain;
        background-repeat: no-repeat;
        min-height: 355px;
        max-width: 600px;
    }
}

.card-result {
    /* background-image: url(../images/logo.png); */
    background-repeat: repeat;
    background-size: 50%;
    background-position: center;
    background-color: #936666;
}

@media (min-width: 768px) {
    .card-result {
        background-size: contain;
    }
}

@font-face {
    font-family: 'Sawarabi Mincho';
    src: url('/mypage/font/sawarabi_mincho/SawarabiMincho-Regular.ttf') format('truetype');
}

.font-sawarabi-mincho {
    font-family: 'Sawarabi Mincho', serif;
}

#ranking .card-body p,
#race .card-body p
{
    color: #EEE;
}
