#mypage a {
    color: #3683d8;
    text-decoration: none;
}
#mypage a:hover {
    text-decoration: underline;
}
.hidden-xs {
    display: block !important;
}
.visible-xs {
    display: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
img {
    max-width: 100%;
}

#mypage .container {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    }
#mypage {
    margin: 0 0 60px;
    font-family: 'hiragino kaku gothic pro', meiryo, helvetica, arial, 'ms pgothic', sans-serif;
    font-size: 14px;
    line-height: 20px;
}
.pTitle {
    font-size:14px;
    font-weight: 900;
    padding: 10px;
    margin-bottom: 60px
    }
#mypage .pTitle .container {
        width: 1360px;
        max-width: 100%;
    }
#atgNav-PC.headerborder_b {
    border: none
    }

.loginForm h1,
.myPage h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: #196FB9;
    padding: 10px 16px;
    line-height: 1;
    margin-bottom: 20px;
}
.form-wrap {
    padding: 24px;
    border: 1px solid #bcbcbc;
    margin-top: 40px;
}
.myPage .form-wrap {
    margin-top: 20px;
}
.form-wrap div.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.form-wrap div.row div.label {
    width: 27%;
    font-size: 14px;
    font-weight: bold;
}
.form-wrap div.row div span {
    color: red;
}
.form-wrap div.row div.inputfield {
    width: 73%;
}
.form-wrap div.row div {
    padding: 5px;
}
.myPage .form-wrap div.row div {
    padding: 16px 5px;
}
input.inputarea {
    border: 1px solid #BCBCBC;
    background: #fff;
    font-size: 16px;
    width: 420px;
    height: 48px;
    vertical-align: middle;
    text-align: left;
    border-radius: 4px;
    text-indent: 10px;
}
input.inputarea.error {
    border: 1px solid red;
    background: #ffe6e5;
}
input.submit {
    width: 320px;
    height: 58px;
    padding: 20px 60px;
    border-radius: 4px;
    border: none;
    background: #196FB9;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}
input.submit:hover {
    opacity: 0.7;
}
.radio-item {
    display: inline-block;
    padding: 0 !important;
    margin-right: 8px;
}
.radio-item [type="radio"] {
	display: none;
}
.radio-item label {
    display: block;
    padding: 12px 0 12px 54px;
    background: #ffffff;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    width: 174px;
    white-space: nowrap;
    position: relative;
    transition: 0.4s ease-in-out 0s;
}
.radio-item label:after,
.radio-item label:before {
	content: "";
	position: absolute;
	border-radius: 50%;
}
.radio-item label:after {
    height: 20px;
    width: 20px;
    border: 2px solid #196fb9;
    left: 18px;
    top: calc(50% - 10px);
}
.radio-item label:before {
	background: #196fb9;
	height: 10px;
	width: 10px;
	left: 23px;
	top: calc(50% - 5px);
	transform: scale(5);
	opacity: 0;
	visibility: hidden;
	transition: 0.4s ease-in-out 0s;
}
.radio-item [type="radio"]:checked ~ label {
    background: #e7f3f9;
}
.radio-item [type="radio"]:checked ~ label::before {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}
.form_select_label {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}
.form_select_label:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: 46%;
    right: 8px;
    border-width: 8px 5px 0 5px;
    border-style: solid;
    border-color: #898989 transparent transparent;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}
.form-wrap select {
    border: 1px solid #BCBCBC;
    outline: none;
    width: 94px;
    height: 48px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 10px
}
.form-wrap select::-ms-expand {
    display: none
}

.form-wrap select option {
    text-align: left
}

.form-wrap_label {
    position: relative;
    display: inline-block
}

.form-wrap_label:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top: 60%;
    right: 8px;
    margin-top: -.3em;
    border-width: 8.7px 5px 0 5px;
    border-style: solid;
    border-color: #898989 transparent transparent;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none
}

.form-wrap_label:after {
    border-style: none\9
}

@media all and (-ms-high-contrast:none) {
    .form-wrap_label:after {
        border-width: 8.7px 5px 0 5px;
        border-style: solid;
        border-color: #898989 transparent transparent
    }
}
.btn {
    text-align: center;
    margin: 40px auto 0;
}
.form-wrap div.row div.inputfield span.msg_err {
    display: none;
    margin: 5px 0;
    font-size: 13px;
    color: red;
    text-align: right;
    width: 420px;
    max-width: 100%;
}
.bnrs {
    text-align: center;
    margin-top: 60px;
}

#ticketDetails,
#receiptIssuance,
#applicationInformation,
#contactUs {
    margin-bottom: 40px;
}
#ticketDetails {
    margin-top: 40px;
}
h2.block-title {
    font-size: 22px;
    font-weight: 900;
    line-height: normal;
    border-left: 6px solid #123065;
    padding-left: 16px;
    margin-bottom: 20px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #bcbcbc;
}
.info-table th,
.info-table td {
    border: 1px solid #bcbcbc;
    padding: 12px;
    text-align: center;
}
.info-table th {
    background: #F5F5F5;
    font-weight: 900;
}
.train-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.summary td {
    text-align: right;
    font-size: 16px;
    font-weight: 900;
    padding: 18px;
}

.info-table td.passenger-add {
    text-align: left;
}
.info-table td.passenger-add p {
    margin: 4px 0;
}


.business-hours {
    padding: 24px;
    border: 1px solid #bcbcbc;
}
.business-hours p {
    margin: 2px 0;
    font-size: 16px;
}
.business-hours p:last-child {
    font-weight: 900;
}

.disFlex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
div.tabs {
    border-bottom: 3px solid #196FB9;
    padding: 0 12px;
}
div.tab {
    width: 50%;
    text-align: center;
    padding: 10px 16px;
    border: 1px solid #BCBCBC;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}
div.tab.active {
    background: #196FB9;
    color: #fff;
    border-color: #196FB9;
}
.tabConents {
    padding: 16px;
    border: 1px solid #bcbcbc;
}
.tabConents .ticketdetails-info .date-time {
    padding: 0 0 16px 0;
    border-bottom: 1px solid #bcbcbc;
    margin-bottom: 8px;
}
.tabConents .ticketdetails-info .date-time span {
    display: block;
    font-size: 16px;
}
.tabConents .ticketdetails-info span.dep-station,
.tabConents .ticketdetails-info span.arr-station {
    font-size: 12px;
}
.cln-train.disFlex,
.cln-seat.disFlex,
.cln-checkin-id.disFlex {
    padding: 8px 0;
}

.summary {
    margin: 8px -16px 0;
    border-top: 1px solid #bcbcbc;
    text-align: right;
    font-weight: 900;
    font-size: 20px;
    padding: 18px 18px 0;
}

.passenger-add-tit {
    max-height: 45px !important;
}

.receipt-submit.disabled {
    cursor: default;
    pointer-events: none;
    background: #ccc;
    box-shadow: 0 2px 0 #a9a9a9;
    color: #fff;
}

.resend-mail-container {
    max-width: 100%;
    margin-bottom: 40px;
}

.resend-mail-container .title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    border-left: 4px solid #003366;
    padding-left: 8px;
}

.resend-mail-container .description {
    margin-bottom: 20px;
}

.resend-mail-container .form-content {
    display: flex;
    align-items: center;
}

.resend-mail-container label {
    display: block;
    font-size: 14px;
    margin-right: 30px;
}

.resend-mail-container input[type="email"] {
    width: 50%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 30px;
}

.resend-mail-container button {
    background-color: #196FB9;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.resend-mail-container button:hover {
    background-color: #0056b3;
}

.resend-mail-container .success-message {
    text-align: right;
    margin-right: 22%;
    font-weight: 600;
    color: #6495ED;
    display: none;
}

.resend-mail-container .empty-input-error, .resend-mail-container .mail-send-error {
    text-align: right;
    margin-right: 22%;
    font-weight: 600;
    color: red;
    display: none;
}

.ticketdetails-info tr.backup {
    background-color: #c3bfbf;
    opacity: 65%;
}
/* //////////////////////////// */
@media screen and (max-width: 768px) {
    .hidden-xs {
        display: none !important;
    }
    .visible-xs {
        display: block !important;
    }
    .pTitle {
        margin-bottom: 0;
    }
    .pTitle.headerborder_b {
        border-top: 1px solid #d9d9d9;
        border-bottom: none;
    }

    .form-wrap {
        padding: 0 16px;
    }
    .loginForm h1,
    .myPage h1 {
        line-height: 1.4;
        font-size: 22px;
        margin: 0 -10px;
    }
    .form-wrap div.row {
        flex-direction: column;
        margin: 16px 0px;
    }

    .form-wrap div.row div.label,
    .form-wrap div.row div.inputfield,
    input.inputarea,
    input.submit {
        width: 100%;
        padding: 5px 0;
    }
    #mypage .page-title {
        font-size: 18px;
        text-align: center;
        color: #333333;
        font-weight: 500;
        line-height: 1.68;
        margin-bottom: 26px;
        height: auto;
    }
    #receiptIssuance .inputarea {
        width: calc(100% - 110px);
    }
    .inputfield .radio-item:last-child {
        margin-right: 0;
    }
    .radio-item {
        width: calc(50% - 8px);
    }
    .radio-item label  {
        width: 100%;
        font-size: 14px;
        padding: 12px 0 12px 44px;
    }

    .info-table.passenger-info tr {
        width: 70%;
        display: block;
        float: left;
    }
    .info-table.passenger-info tr.table-cln {
        width: 30%;
    }
    .info-table.passenger-info tr th,
    .info-table.passenger-info tr td {
        display: block;
        padding: 12px 8px;
    }
    .info-table.passenger-info tr th {
        font-size: 13px;
        padding: 12px 5px;
        word-break: keep-all;
    }
    .info-table.passenger-info tr td {
        text-align: left;
    }
    .passenger-add-tit {
        max-height: initial !important;
    }
    .receipt-submit, .mypage-login {
        width: 310px !important;
    }
    .resend-mail-container .form-content {
        display: flex;
        flex-wrap: wrap;
    }
    .resend-mail-container label {
        width: 100%;
    }
    .resend-mail-container .empty-input-error, .resend-mail-container .mail-send-error {
        margin-left: 0;
        margin-right: 0;
        text-align: right;
    }
    .resend-mail-container .success-message {
        margin-left: 0;
        margin-right: 0;
        text-align: right;
    }
    .resend-mail-container button {
        width: 25%;
    }
    .resend-mail-container input[type="email"] {
        width: 70%;
        margin-right: 5%;
    }
    .ticket-dropdown .dropdown-content {
        display: none;
        margin: 8px -16px;
        padding: 0 16px;
        background-color: #c3bfbf;
        opacity: 65%;
    }
    .ticket-dropdown.active .dropdown-content {
        display: block;
        padding-top: 16px;
        transition: all 0.2s ease-in-out;
    }
    .ticket-dropdown .dropdown-toggle{
        -webkit-tap-highlight-color: transparent;
    }
    .ticket-dropdown .dropdown-toggle {
        cursor: pointer;
        text-align: right;
        text-decoration: underline;
    }

}
