@charset "utf-8";

.content:nth-last-child(n + 2) {
    padding-bottom: 0;
}
.content__inner {
    position: relative;
}
.content__heading {
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}
.content__heading .underline_h2 {
    margin-bottom: 0;
}
.content__toggle {
    position: absolute;
    right: calc(100 / 1000 * -50 * 1vw);
    top: 38%;
    width: calc(100 / 1000 * 34 * 1vw);
    max-width: 34px;
    height: calc(100 / 1000 * 34 * 1vw);
    max-height: 34px;
    background-image: url(/assets/img/en/company/toggle.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translate(0, -50%) rotate(180deg);
    transition: transform 0.3s linear;
}
.content__toggle.is-open {
    transform: translate(0, -50%) rotate(0);
}
.content__detail {
    position: relative;
}
.content:nth-child(n + 2) .content__detail {
    height: 0;
    overflow: hidden;
    transition: height 0.2s linear 0s, margin 0.2s linear 0s;
}
.content:nth-child(n + 2) .content__detail.is-open {
    margin: calc(60 / 1000 * 100%) 0 0;
}

/* COMPANY */
.company dl,
.company__tel-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.8;
}
@media screen and (max-width: 768px) {
    .company dl,
    .company__tel-block {
        font-size: 2.13vw;
    }
}
.company__term {
    width: 40%;
    padding: 0 calc(10 / 400 * 100%);
    font-weight: 700;
    text-align: right;
}
.company__term:not(:first-of-type) {
    margin: 15px 0 0;
}
.company__desc {
    width: 60%;
}
.company__desc:not(:first-of-type) {
    margin: 15px 0 0;
}
.company__tel {
    cursor: pointer;
}
.company__tel-text {
    display: inline-block;
    position: relative;
}
.company__tel-text::after {
    content: "▼";
    position: absolute;
    left: 105%;
    font-size: 1.4rem;
    transform: rotate(0deg);
    transition: transform 0.5s;
    will-change: transform;
}
@media screen and (max-width: 768px) {
    .company__tel-text::after {
        font-size: 1.87vw;
    }
}
.company__tel.is-active .company__tel-text::after {
    transform: rotate(180deg);
}
.company__tel-wrap {
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.3s linear;
}
.company__tel-block {
    margin: 15px 0 0;
}
.company__tel-term {
    width: 40%;
    padding: 0 calc(10 / 400 * 100%);
    font-weight: 700;
    text-align: right;
}
.company__tel-desc {
    width: 60%;
}

.history__detail,
.purpose__detail,
.offices__info {
    font-size: 1.5rem;
    line-height: 2;
}
@media screen and (max-width: 768px) {
    .history__detail,
    .purpose__detail,
    .offices__info {
        font-size: 2vw;
    }
}
.purpose__text {
    display: block;
    padding-left: 3rem;
    padding-bottom: calc(10 / 1000 * 100%);
    text-indent: -2.8rem;
}
@media screen and (max-width: 768px) {
    .purpose__text {
        padding-left: 0;
        text-indent: 0;
    }
}

/* OFFICES */
dd a,
.offices__info a {
    color: #040000;
}
.offices__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.offices__list--office {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}
.offices__list--head,
.offices__list--detail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 0 calc(40 / 1000 * 100%);
}
.offices__list--head .offices__item {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.offices__list--detail:last-child {
    margin-bottom: 0;
}
.offices__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.offices__item--name {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding: 0 calc(20 / 478 * 100%) 0 0;
    width: calc(478 / 1000 * 100%);
    font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
    .offices__item--name {
        font-size: 2.13vw;
    }
}
.offices__item--info {
    width: calc(522 / 1000 * 100%);
    line-height: 2.15;
}
.offices__info {
    margin: 0 0 calc(40 / 1000 * 100%);
}
.offices__list-headding {
    font-size: 2rem;
}
@media screen and (max-width: 768px) {
    .offices__list-headding {
        font-size: 2.8vw;
    }
}
.office__name {
    padding: 0 0 calc(20 / 478 * 100%);
    font-size: 1.6rem;
    font-weight: 700;
}
@media screen and (max-width: 768px) {
    .office__name {
        font-size: 2.13vw;
    }
}
.office__map--image {
    width: 80%;
}
@media screen and (max-width: 1000px) {
    .office__map--image {
        width: 100%;
    }
}
.office__map--link {
    display: block;
    padding: calc(5 / 350 * 100%) 0;
    width: calc(350 / 1000 * 100%);
    min-width: 150px;
    border: 1px solid #6b7a9e;
    color: #6b7a9e;
    font-size: 1.5rem;
    text-align: center;
    transition: background-color 0.3s linear, color 0.3s linear;
}
@media screen and (max-width: 768px) {
    .office__map--link {
        font-size: 2vw;
    }
}
@media screen and (max-width: 500px) {
    .office__map--link {
        padding: calc(10 / 350 * 100%) 0;
        min-width: 80%;
    }
}
.office__map--link:hover {
    background-color: #6b7a9e;
    color: #ffffff;
}

/* TRADEMARK */
.trademark__wrap {
    display: flex;
    align-items: center;
}
.trademark__logo {
    width: calc(80 / 1000 * 100%);
}
.trademark__detail {
    margin: 0 0 0 20px;
    font-size: 1.5rem;
    line-height: 1.7;
}
@media screen and (max-width: 768px) {
    .trademark__detail {
        font-size: 2.13vw;
    }
}