:root {
    --main-color: #5b2c90;
    --main-color-pale: #eee2fd;
    --main-color-pale2: #7747ac;
    --gold: #94652e;
}

.dummy-grey {
    background-color: grey;
}

.title-box {
    width: 100%;
    height: 300px;
    display: flex;
    margin-bottom: 30px;
}

.title-box__title {
    width: calc(100% - 300px);
    height: 100%;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    padding: 25px;
}

.title-box__title_centre {
    color: white;
    font-size: 16px;
    line-height: 35px;
    height: auto;
}

.title-box__title_main {
    font-size: 30px;
}

.title-box__img {
    flex: 1;
    height: 100%;
    width: 300px !important;
    object-fit: cover;
}

.heading {
    color: var(--main-color);
}

.flex-boxes {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 100px;
}

.flex-boxes__box {
    width: 46%;
    height: 100%;
    display: grid;
    margin-bottom: 50px;
}

.flex-boxes__box:nth-child(2n + 1) {
    margin-right: 8%;
}

.flex-boxes__box-title {
    color: var(--main-color-pale);
    width: 100%;
    padding: 10px 0;
    font-size: 1.2em;
    text-align: center;
    background-color: var(--main-color);
}

.flex-boxes__box-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.flex-boxes__box-desc {
    margin-top: 10px;
}

.div-link {
    position: relative;
}

.div-link:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

.link {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.div-link>.link:hover {
    border: none;
}

.document-box {
    width: 100%;
    height: auto;
    background-color: #783331;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 2em;
    border-radius: 20px;
    margin: 50px 0 120px;
}

.document-box__button {
    width: 52%;
    height: 100%;
    margin: 15px auto 0;
    padding: 15px 15%;
    font-size: 0.7em;
    background-color: #f6ce46;
    color: black;
}

.document-box a {
    display: block;
    color: black !important;
    box-shadow: 0 5px 0 #988405;
    border-radius: 3px;
    box-shadow: 0 5px 0 #c3aa0a;
}

.document-box a:hover {
    box-shadow: none;
    transform: translateY(5px);
    border: none;
}

.title-memo {
    width: 100%;
    height: auto;
    padding: 10px 5%;
    background-color: var(--main-color);
    color: white;
    display: block;
    font-size: 20px;
    position: relative;
    margin: 70px 0 30px;
}

.title-memo img {
    position: absolute;
    left: 85%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100px;
    width: 30%;
    height: auto;
}

.photo-bloomsbury {
    width: 100%;
    height: auto;
    display: block;
}

.heading-circle {
    display: flex;
    align-items: center;
    margin: 3em 0 0;
}

.heading-circle__circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    vertical-align: top;
    color: white;
    background-color: var(--gold);
    width: 50px;
}

.size-normal {
    width: 50px;
    height: 50px;
}

.letter15 {
    font-size: 1.5em;
    line-height: 1.5em;
}

.heading-circle span {
    margin-left: 20px;
    color: var(--gold);
    flex: 1;
}

.heading-one {
    font-size: 1.8em;
    line-height: 1.5em;
    color: var(--main-color);
    padding-bottom: 20px;
    border-bottom: 3px solid var(--main-color);
    margin-bottom: 20px;
}

.heading-two {
    color: var(--main-color) !important;
    margin-bottom: 40px !important;
}

.heading-three {
    padding: 0.7em !important;
    color: var(--main-color) !important;
    background-color: var(--main-color-pale);
    border: none !important;
    margin: 60px 0 20px !important;
    font-size: 1em !important;
}

.link-button {
    border: 1px solid black;
    padding: 15px;
    width: 50%;
    text-align: center;
    font-weight: bold;
    margin: 40px auto;
}

.facilities-item {
    height: auto;
    display: inline-block;
}

.additional-memo {
    width: 80%;
    height: auto;
    border: 1px solid black;
    padding: 25px;
    margin: 50px auto 0;
}

.additional-memo__title {
    background: #ebebeb;
    padding: 10px;
}

.section-reason {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 5% 0 0;
    border-bottom: 1px solid black;
}

.reasons .section-reason:last-of-type {
    border: none;
}

.section-reason__box {
    flex-basis: 70%;
    display: flex;
    flex-wrap: wrap;
}

.section-reason__circle {
    flex-basis: 15%;
    height: 100%;
}

.circle-reason {
    width: 105px;
    height: 105px;
    color: var(--main-color);
    border: 5px solid var(--main-color-pale);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle-reason>span:first-child {
    font-size: 0.7em;
}

.circle-reason>span {
    font-size: 3em;
    line-height: 1;
}

.section-reason__section {
    flex-basis: 78%;
    padding: 0 2%;
}

.section-reason__title {
    font-size: 2em;
    font-weight: bold;
}

.section-reason__img {
    flex-basis: 30%;
    height: 200px;
    width: 200px !important;
    object-fit: cover;
}

.section-reason__link {
    color: var(--main-color-pale);
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

.section-reason__link+.section-reason__link {
    width: 100%;
    margin: 0 25% 40px;
}

.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

.title-centre {
    font-size: 2em;
    font-weight: bold;
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    width: 20%;
    text-align: center;
    margin: 5% auto;
}

.content-attitude img {
    float: left;
    margin-right: 5%;
    object-fit: cover;
}

.img250 {
    width: 250px !important;
    height: 250px !important;
}

.img150{
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
}

.content-attitude__kihon {
    display: flex;
}

.content-attitude__reasons {
    width: 100%;
    height: 50px;
    border: 2px solid var(--main-color-pale2);
    margin: 7% 0 2%;
    color: var(--main-color);
    font-size: 1.5em;
    position: relative;
}

.reasons__title-number {
    position: absolute;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 2em;
    top: 0;
    color: white;
}

.reasons__title-number-back {
    height: 100%;
    width: 52px;
    top: 0;
    left: 0;
    background: var(--main-color);
    border-right: 2px solid var(--main-color-pale2);
}

.reasons__title-number-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-top: 46px solid var(--main-color-pale2);
    border-right: 25px solid transparent;
    border-left: 25px solid transparent;
}

.reasons__title-word {
    position: absolute;
    top: 0;
    padding: 0 70px;
    line-height: 2em;
}

.content-attitude__photos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-attitude__photos img {
    margin: 20px auto;
}

.content-accom__types {
    width: 100%;
    margin-top: 50px;
}

.content-accom__types>div {
    width: 100%;
    position: relative;
    padding: 50px 0px 100px 30px;
}

.accom-type {
    width: 100%;
    display: flex;
}

.accom-type img {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover;
}

.accom-desc {
    padding-left: 20px;
}

.accom-desc__head {
    font-size: 1.2em;
    padding-bottom: 10px;
}

.accom-button {
    border: 1px solid var(--main-color);
    text-align: center;
    padding: 10px;
    width: 250px;
    float: right;
    color: var(--main-color);
    font-size: 1.2em;
    font-weight: bold;
}

.accom-batch {
    width: 120px;
    height: 120px;
    background: var(--main-color);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

.content-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(32%, 1fr));
}

.content-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: solid 1px black;
    padding: 30px 20px;
    min-height: 150px;
}

.student-houseing-img__grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 50px 0;
}

.student-housing-img__item {
    object-fit: cover;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

.heading-maru {
    padding-left: 40px;
    position: relative;
}

.heading-maru::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: var(--main-color);
    top: 5px;
    left: 0;
    border-radius: 50%;
}

.heading-maru::after {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    background: white;
    top: 12px;
    left: 7px;
    border-radius: 50%;
}

.white {
    color: white;
}

.table-items {
    width: 100%;
}

.table-items td {
    padding: 3px;
}

.table-items th,
.table-items td,
.table-items tr {
    text-align: center;
}

.table-items__title {
    font-size: 1.2em;
    background: var(--main-color) !important;
}

.table-items__title td:first-of-type {
    width: 185px;
}

.color-pale2 {
    background: var(--main-color-pale2) !important;
}

.table-items__price td {
    background: var(--main-color-pale) !important;
    color: var(--main-color);
    font-weight: bold;
    border-color: white !important;
}

span.non-bold {
    font-weight: 1;
}

.info-parents_reviews {
    margin-top: 20px;
}

.info-parents_review {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid black;
    padding: 3% 5%;
    margin-top: 50px;
}

.review-left {
    width: 36%;
}

.review-right {
    flex: 55%;
    margin-left: 5%;
}

.review-left img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.review-purple {
    background: var(--main-color-pale);
    text-align: center;
    padding: 5px;
    margin: 5px 0;
    width: 100%;
}

.review-table table,
.review-table tbody,
.review-table td,
.review-table th,
.review-table tr {
    color: black !important;
    background: none !important;
    border: none !important;
    padding: 0 10px 0 0px !important;
}

.review-table th {
    width: 100px;
    -moz-text-align-last: justify;
    text-align-last: justify;
}

.box-title {
    background: var(--main-color);
    color: white;
    padding: 15px;
    font-size: 1.5em;
    text-align: center;
    margin-top: 70px;
}

.school-life__images {
    width: 80%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3%;
}

.school-life__images div,
.school-life__images img {
    width: 100% !important;
    height: 100% !important;
}

.school-life__images img {
    object-fit: cover;
}

.info-parents__check p {
    padding-left: 40px;
    position: relative;
}

.info-parents__check p::before {
    font-family: "Material Icons";
    font-size: 2em;
    content: "\e876";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.content-steps__step{
    width: 100%;
    min-height: 200px;
    border: 1px solid var(--main-color);
    border-radius: 25px;
    padding: 30px 30px 30px 0px;
    display: flex;
    margin: 30px 0;
}

.step-left{
    width: 25%;
}

.step-left__no{
    font-size: 2em;
    width: 100%;
    height: 50%;
    position: relative;
    color: var(--main-color);
}

.step-left__no:after{
    content: "";
    border-bottom: 1px solid black;
    position: absolute;
    width: 70%;
    bottom: 0;
}

.step-left__no span{
    font-size: 0.5em;
    color: black;
    margin-bottom: 00px;
    margin-top: -12px;
}

.step-left__title{
    width: 100%;
    height: 50%;
}

.left-long{
    display: block;
}

.left-long .step-left__no{
    height: auto;
    justify-content: end;
}

.left-long .step-left__title{
    height: auto;
    margin-top: 25px;
    text-align: center;
}


.step-right{
    flex:1;
    position: relative;
    font-size: 1.2em;
    padding-left: 25px;
}

.step-right:before{
    content: "";
    position: absolute;
    height: 100%;
    border-left: 1px solid black;
    left: 0;
}

.centre{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.departure{
    width: 100%;
    height: auto;
    text-align: center;
}

.emphasize-down{
    position: relative;
    font-size: 3.5em;
    width: 250px;
    display: block;
    margin: 0 auto;
    color: var(--main-color);
    z-index: 1;
}

.emphasize-down::after{
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 100px 125px 0 125px;
    border-color: #c59090 transparent transparent transparent;
    left: 0;
    z-index: -1;
}

.section-qas dl dt,.section-qas dl dd {
    position: relative;
    padding-left: 50px;
}

.section-qas dl dt {
    font-size: 1.5em;
    text-decoration: underline;
    margin: 40px 0 20px;
}

.section-qas dl dt:before,
.section-qas dl dd:before {
   width: 40px;
    height: auto;
    position: absolute;
    left: 0;
    display: block;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.section-qas dl dt:before {
    content: "Q";
    background: #989FD6;
}

.section-qas dl dd:before {
    font-size: 1.5em;
    content: "A";
    background: #9B3D3D;
}

.link-qas {
    display: flex;
    margin: 30px auto 50px;
}

.link-qas .div-link {
    width: 30%;
    margin: 2%;
}

.box-testmonial .heading-three {
    margin: 0 auto 20px !important;
}

.tester-info {
    display: flex
}

.tester-info span:first-child {
    width: 25%;
    text-align-last: justify;
}

.box-testmonial {
    margin-top: 60px;
    padding: 20px;
    border: 1px solid black;
}

.testmonial-top {
    width: 100%;
    display: flex;
    margin-bottom: 40px;
}

.testmonial-top img {
    margin-right: 30px;
}

.tester-infos {
    flex: 1;
    text-align: center;
    font-size: 1.2em;
}

.tester-info span {
    margin-bottom: 2%;
}

.box-testmonial .emphasize-down {
    padding: 30px 0;
    margin: 15px auto 25px;
}

.box-testmonial .emphasize-down:after {
    border-width: 50px 125px;
    top: 25%;
}

.school-comment {
    margin: 30px 10px;
    padding: 20px 30px;
    border: 1px solid black;
}

.section-cefr .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cross-table .heading-three {
    width: 100%;
    margin: 0 !important;
}

.cross-table th, .cross-table td {
    text-align: center;
}

.box-accreditation {
    display: flex;
    margin: 50px 0;
}

.accreditation-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 10px;
}

.accreditation-left {
    flex: 1;
}

.accreditions-right {
    width: 30%;
    height: auto;
    margin: auto auto auto 30px;
    text-align: center;
}

.accreditions-right{
    display: block;
}

@media screen and (max-width: 767px) {
    .br-pc {
        display: none;
    }
    .br-sp {
        display: block;
    }
    .title-box {
        height: auto;
        flex-wrap: wrap;
    }
    .title-box__title {
        width: 100%;
        padding: 15px 0px 15px 15px;
    }
    .title-box__title_centre {
        font-size: 13px;
    }
    .flex-boxes {
        justify-content: center;
    }
    .flex-boxes__box {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
    .flex-boxes__box:nth-child(2n + 1) {
        margin-right: 0%;
    }
    .table-temp tr:nth-child(even) {
        background: #f1ecf5 !important;
    }
    .table-temp {
        writing-mode: vertical-lr;
    }
    .table-temp td>p {
        width: auto;
        writing-mode: horizontal-tb;
        margin: 0;
    }
    .table-temp tbody tr:nth-child(2n + 1) {
        background: none;
    }
    .table-temp td:nth-child(2n + 1) {
        background: #f2f2f2;
    }
    .heading-circle span {
        margin-left: 10px;
    }
    .heading-circle__circle {
        margin-left: 1%;
    }
    .additional-memo {
        width: 90%;
    }
    .document-box__button {
        width: 100%;
    }
    .circle-reason {
        width: 70px;
        height: 70px;
        border: 3px solid var(--main-color-pale);
    }
    .section-reason__box {
        order: 1;
        flex-basis: 100%;
        padding: 2%;
    }
    .section-reason__circle {
        margin: 0 auto;
    }
    .circle-reason>span:first-child {
        font-size: 0.6em;
    }
    .circle-reason>span {
        font-size: 2em;
    }
    .section-reason__section {
        flex-basis: 68%;
        padding: 0;
        margin: 0 auto;
    }
    .section-reason__img {
        order: 0;
        flex-basis: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .section-reason__link {
        order: 2;
        width: 80%;
    }
    .section-reason__link+.section-reason__link {
        margin: 0 10% 40px;
    }
    .title-centre {
        width: 40%;
    }
    .content-attitude__kihon {
        display: block;
    }
    .content-attitude img {
        float: none;
        display: block;
        margin: 20px auto;
    }
    .reasons__title-word {
        padding: 0px 0px 0 70px;
        line-height: 2.5em;
        font-size: 0.85em;
    }
    .accom-type {
        flex-wrap: wrap;
    }
    .content-accom__types>div {
        padding: 25px 0;
    }
    .accom-desc {
        padding: 0;
    }
    .accom-type img {
        width: 80% !important;
        height: auto;
        margin: 0 auto;
    }
    .accom-desc__head {
        text-align: center;
    }
    .accom-button {
        float: none;
        margin: 15px auto;
    }
    .accom-batch {
        width: 80px;
        height: 80px;
        font-size: 0.8em;
    }
    .table-scroll {
        overflow-x: auto;
    }
    .table-items {
        min-width: 640px;
        margin: 0 10px 50px;
    }
    .table-items td {
        border-top: solid 1px #ccc;
        border-bottom: solid 1px #ccc;
    }
    .review-left {
        width: 100%;
    }
    .review-left img {
        width: 250px !important;
        height: 250px !important;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }
    .review-right {
        flex: 55%;
        margin-left: 5%;
        margin: 5% 0;
    }
    .facility .imgleft {
        float: none !important;
        display: block;
        margin: 0 auto !important;
    }
    .step-left {
    display: flex;
    width: 100%;
    border-bottom: 1px solid black;
    margin-bottom: 5%;
    }
    .step-left__no{
        width: auto;
    }
    .step-left__no:after {
        display: none;
    }
    .content-steps__step{
        display: block;
        padding: 30px;
    }
    .step-right{
        padding: 0;
    }
    .step-right:before {
        display: none;
    }
    .step-left__title {
        height: auto;
        padding-left: 3%;
        align-items: normal;
    }
    .left-long .step-left__title {
        margin: auto;
        text-align: left;
    }
    .link-qas {
        padding-bottom: 0;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .link-qas .div-link {
        width: 80%;
        margin: 10px auto;
    }
    .testmonial-top {
    flex-direction: column;
    }
    .testmonial-top img {
        margin: 0 auto 20px;
    }
}