body.mypage {
    padding-top: 146px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
body.mypage.login {
    padding-top: 40px;
}

.mypage #header {
    margin-bottom: 0;
}
.mypage #header h1 {
    margin: 0;
    padding: 0;
}

.box-a {
    min-height: 21rem;
}

.box-b {
    display: flex;
    padding: 50px 35px 40px 35px;
    margin-bottom: 70px;
    background-color: #eeeee8;
    border-radius: 4px;
    font-size: 2rem;
}
.box-b p:last-child {
    margin-bottom: 0;
}
.box-b .box1 {
    max-width: 350px;
    order:2;
    margin-left: 25px;
}
.box-b .box2 {
    flex-grow: 1;
    width: 290px;
    order:1;
    position: relative;
}
.box-b .box2 img {
    width: 290px;
    object-fit: contain;
}
.box-b .title1 {
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    font-size: 2.3rem;
    font-weight: bold;
    color: #0097da;
    border-bottom: 3px solid #0097da;
}

.box-b .title2 {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    top: -76px;
    padding: 15px;
    margin: 0;
    background-color: #0097da;
    color: #fff;
    font-size: 2rem;
    border-radius: 4px;
}
.box-b .title2::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(100% + 15px);
    left: 15%;
    width: 16px;
    height: 30px;
    border-top : 15px solid #0097da;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    transform: translate(-50%, -50%);
}
@media(max-width: 767px) {
    .box-b {
        flex-direction: column;
        padding: 25px 16px 20px 16px;
        margin-top: 100px;
    }
    .box-b p {
        font-size: 1.6rem;
    }
    .box-b .box1 {
        margin-left: 0;
    }
    .box-b .box2 {
        margin: -40px auto 30px auto;
    }
    .box-b .title1 {
        font-size: 2rem;
    }
    .box-b .title2 {
        position: relative;
        top: -10px;
        font-size: 1.6rem;
    }
}

@media(min-width: 768px) {
    .box-b .box1 {
        max-width: 350px;
    }
}
@media(min-width: 992px) {
    .box-b .box1 {
        max-width: 575px;
    }
}

.hr-a {
    margin: 40px 0;
    border-top: 10px solid #0097db;
}

.title-a {
    padding: 1rem 0;
    margin-bottom: 4rem;
    font-size: 2.4rem;
    font-weight: bold;
    background-color: #cbe7ef;
}

.title-a i {
    font-size: 3.6rem;
    vertical-align: middle;
}

@media(max-width: 767px) {
    .title-a {
        text-align: center;
    }
    .title-a i {
        font-size: inherit;
        vertical-align: baseline;
    }
}
.title-b {
    padding: 1.2rem 2rem;
    background-color: #ddd;
    font-size: 2.4rem;
}

.title-c {
    margin: 40px 0 30px 0;
    font-weight: bold;
    font-size: 2.8rem;
    text-align: center;
}
@media(max-width: 767px) {
    .title-c {
        margin-top: 0;
        font-size: 2rem;
    }
}

.title-d {
    font-size: 2.2rem;
    padding: 8px;
    margin: 0;
    background-color: #eeeeef;
    border-top: 10px solid #0097da;
    text-align: center;
}

.title-e {
    font-size: 2.2rem;
    padding: 8px;
    margin: 0;
    background-color: #eeeeef;
    border-top: 10px solid #87c796;
    text-align: center;
}

.title-g {
    padding-left: 5px;
    font-size: 1.7rem;
    border-left: 3px solid #87c796;
}

.title-h {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 15px 100px;
    margin-top: 60px;
    margin-bottom: 80px;
    background-color: #0097da;
    color: #fff;
    font-size: 2.8rem;
    border-radius: 4px;
}
.title-h::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(100% + 30px);
    left: 50%;
    width: 80px;
    height: 60px;
    border-top : 30px solid #0097da;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    transform: translate(-50%, -50%);
}
.title-h .image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(-50%, -50%);
}

@media(max-width: 767px) {
    .title-h {
        padding: 15px;
        font-size: 2rem;
        margin-top: 30px;
        margin-bottom: 40px;
        text-align: center;
    }
    .title-h .image {
        width: 50px;
        right: -15px;
    }
}

.title-i {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    border-bottom: 1px solid #ccc;
}

.fz-14 {
    font-size: 1.4rem;
}
.fz-16 {
    font-size: 1.6rem;
}
.fz-20 {
    font-size: 2rem;
}
.fz-26 {
    font-size: 2.6rem;
}

@media(min-width: 768px) {

    .fz-md-26 {
        font-size: 2.6rem;
    }
}

.border-bottom-a {
    border-bottom: 1px solid #ccc;
}

.mypage #main .btn {

}
.mypage #main .btn small {
    font-size: 60%;
}
.mypage #main h1 {
    text-align: center;
    font-size: 2.2rem;
}
.mypage  #main h1 i {
    font-size: 2rem;
    vertical-align: baseline;
}
.matsumoto.mypage #main h1 {
    background-color: #cbe7ef;
}
.matsumoto.mypage  #main h1 i {

}
@media(min-width: 992px) {
    .mypage #main h1 {
        font-size: 2.6rem;
    }
    .mypage  #main h1 i {
        font-size: 2.4rem;
    }
}

.mypage #primaryNav {
    margin: 0;
    padding-top: 40px;
    padding-bottom: 20px;
    border-bottom: 5px solid #e5e5e6;
    background-color: #fff;
}
.mypage #primaryNav a {
    display: block;
    /* min-width: 200px; */
}
.mypage #primaryNav .btn {
    padding: 0 15px 1px 15px;
    font-size: 1.2rem;
    border-radius: 10px;
}
.mypage #footer .footerWrap {
    background-color: #cbe7ef;
    text-align: center;
}

.mypage #footer .footerBottom {
    background-color: #3399cc;
}

.mypage.login #primaryNav {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: none;
}

@media(max-width:767px) {
    .mypage #primaryNav a {
        min-width: 30px;
        font-size: 3rem;
    }
    .mypage.login #primaryNav a {
        font-size: 1.3rem;
    }
    .mypage #footer .footerWrap {
        font-size: 1.2rem;
    }
    .mypage #footer .footerWrap .logo {
        width: 80px;
        margin-right: 10px;
        margin-bottom: 0;
    }
}
@media(max-width:991px) {
    .mypage.login #primaryNav a {
        min-width: initial;
    }
}

.table-a {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.table-a th {
    padding-right: 1rem;
}

.checkbox-switch label {
    display: inline-block;
    position: relative;
    width: 7rem;
    height: 2.6rem;
    background-color: #ccc;
    border-radius: 1.3rem;
    box-shadow: #bbb 0 0 0.2rem;
}
.checkbox-switch label input {
    display: none;
}
.checkbox-switch label:has(input:checked) {
    background-color: #3399cc;
}
.checkbox-switch label::before {
    content: 'OFF';
    display: block;
    position: absolute;
    top: 0.2rem;
    right: 1rem;

}
.checkbox-switch label::after {
    content: '';
    display: block;
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
    width: 2.4rem;
    height: 2.4rem;
    background-color: #fff;
    border-radius: 1.3rem;
    transition: left 0.3s;
}
.checkbox-switch label:has(input:checked)::before {
    content: 'ON';
    right: 3.5rem;
    color: #fff;
}
.checkbox-switch label:has(input:checked)::after {
    left: 4.5rem;
}

.btn-search {
    display: block;
    padding: 1rem;
    font-size: 1.6rem;
    background-color: #008ad4;
    color: #fff;
    border-radius: 0.3rem;
    box-shadow: #666 0 0 0.2rem;
    text-align: center;
}
.btn-search:hover {
    text-decoration: none;
    background-color: #3399cc;
    color: #fff;
}

.label-light {
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: #bbb 0 0 0.2rem;
    color: #000;
}

.text-a {
    color: #3399cc;
    font-size: 1.6rem;
    font-weight: bold;
}

.icon-beginner {
	position: relative;
	display: inline-block;
	width: 0.6em;
	height: 0.96em;
	vertical-align: middle;
	margin-right: .2em;
}
.icon-beginner::before,
.icon-beginner::after {
	position: absolute;
	top: 0;
	content: "";
	display: block;
	width: 50%;
	height: 80%;
	border: .025em solid #333;
	border-bottom-width: .05em;
	box-sizing: border-box;
}
.icon-beginner::before {
	left: 0;
	background: #ff0;
	transform: skewY(45deg);
	border-radius: .2em 0 0 .1em;
	border-right: none;
}
.icon-beginner::after {
	right: 0;
	background: #390;
	transform: skewY(-45deg);
	border-radius: 0 .2em .1em 0;
	border-left: none
}
.icon-beginner.mono::before {
	background: transparent;
}
.icon-beginner.mono::after {
	background: #333;
}


.errorMessage {
	display: none;
	color: red;
	font-size: 12px;
    margin-bottom: 1rem;
}

.wrapper.is-error .errorMessage {
	display: block;
}

.wrapper.is-error :is(label, span) {
	color: red;
}

.wrapper.is-error :is(input, select) {
	border-color: red;
	background-color: #ffdcdc!important;
}
.wrapper.is-error input:-webkit-autofill,
.wrapper.is-error input:-webkit-autofill:hover,
.wrapper.is-error input:-webkit-autofill:focus,
.wrapper.is-error input:-webkit-autofill:active {
	box-shadow: 0 0 0 1000px#ffdcdc inset !important; // background-colorでは変わらないため、box-shadowを指定。
}

#privacyPolicyPanel .panel-body {
    height:15rem;overflow-y: scroll;
}

#footerLink {
    padding: 10px 15px;
    border-top: 20px solid #0097db;
    color: #005982;
}
#footerLink a {
    color: #005982;
}
#footerLink .title {
    border-left: 10px solid #005982;
    margin-top: 20px;
    padding-left: 10px;
}
#footerLink .list {
    margin-bottom: 20px;
}
#footerLink .list li {
    float: left;
    margin-right: 0;
}
#footerLink .list li:not(:last-child)::after {
    content: '｜';
    margin: 0 5px;
}
@media(max-width: 767px) {
    #footerLink {
        border-width: 15px  ;
    }
    #footerLink .title {
        font-size: 1.4rem;
    }
}

.details-a {
    padding:2rem 2rem 2rem 6rem;
    margin-bottom: 2rem;
    background-color: #f7f8f8;
}
.details-a .box {
    position: relative;
}
.details-a .box::before {
    content: 'A';
    display: none;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    background-color: #f08218;
    color: #fff;
    position: absolute;
    left: -4rem;
    top: 0;
}
.details-a[open] .box::before {
    display: block;
}

.details-a summary {
    padding-left: 4rem;
    padding-right: 2rem;
    margin-left: -4rem;
    cursor: pointer;
    position: relative;
}
.details-a summary::before {
    content: 'Q';
    display: block;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    background-color: #2ea7e0;
    color: #fff;
    position: absolute;
    left: 0;
    top: -0.5rem;

}
.details-a[open] summary {
    margin-bottom: 2rem;
}
.details-a summary::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f078';
    display: block;
    font-size: 2rem;
    text-align: center;
    color: #2ea7e0;
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;

}
.details-a[open] summary::after {
    content: '\f077';
}
.details-a :last-child {
    margin-bottom: 0;
}

.section-a .title {
    font-size: 2rem;
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.details-a ul,
.details-a ol {
    padding-left: 2rem;
}

@media(max-width: 767px) {
    .details-a summary::-webkit-details-marker {
        display: none;
    }
    .details-a summary::marker {
        display: none;
    }
}