@charset "utf-8";

/* ---------- ABOUT US ---------- */
/* 沿革 */
table.data_history {
    vertical-align: top;
    position: relative;
    z-index: 1;
}
table.data_history::after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: #a0a0a0;
    position: absolute;
    top: 18px;
    left: 190px;
    z-index: -1;
}
table.data_history th {
    color: #0093c4;
    font-weight: bold;
    white-space: nowrap;
    width: 200px;
    padding: 12px 32px 12px 12px;
    position: relative;
}
table.data_history th::before,
table.data_history th::after {
    content: '';
    display: block;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
table.data_history th::before {
    width: 10px;
    height: 10px;
    right: 7px;
    background: #fff;
    z-index: 1;
}
table.data_history th::after {
    width: 24px;
    height: 24px;
    background: #0093c4;
}
table.data_history td { padding: 12px; }


ol.list__num-label {
    list-style: none;
}
ol.list__num-label li {}
ol.list__num-label li > span.obi {
    background: #1b1b1b;
    color: #fff;
    padding: 6px 12px;
}


.post-in-link {}
ul.post-in-links {
    display: flex;
    justify-content: center;
    gap: 4%;
}
ul.post-in-links li {
    max-width: 400px;
}
ul.post-in-links li a {
    display: block;
    color: #fff;
    transition: ease 0.3s;
}
ul.post-in-links li a:hover {
    opacity: 0.8;
}
ul.post-in-links li figure {}
ul.post-in-links li figcaption::after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 9px;
    background: url("../img/common/arrow-wh.svg") right center no-repeat;
    margin-left: 12px;
}


/* ---------- 求める人物像 ---------- */
.ideal__wrap {}


/* ---------- 交通アクセス ---------- */
#gmap {
    position: relative;
    width: 100%;
    padding-top: 350px;
    overflow: hidden;
}
#gmap > iframe { 
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: calc(100% + 150px + 150px);
    pointer-events: none;
}

/* その他の各学校へのアクセス */
ul.links--arrow {}
ul.links--arrow li:not(:last-child) {
    margin-bottom: 24px;
}
ul.links--arrow li a {
    color: #000;
}
ul.links--arrow li a::after {
    content: '〉';
    font-weight: bold;
    color: #0093c4;
    display: inline-block;
    margin-left: 8px;
}
ul.links--arrow li a:hover {
    text-decoration: underline;
}

a.btn__br {
    color: #000;
    border: 1px solid #a0a0a0;
    padding: 24px;
    text-align: center;
    display: inline-block;
}
a.btn__br > span {
    position: relative;
}
a.btn__br > span::after {
    content: '';
    display: block;
    width: 25px;
    height: 9px;
    background: url("../img/common/arrow.svg") center center no-repeat;
    position: absolute;
    transition: ease 0.3s;
}


.message__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.message__wrap .message__text > p { line-height: 2; }
.message__wrap .message__text > p:not(:last-child) { margin-bottom: 4rem; }

.message__wrap .message__image > figure > img { max-width: 320px; }
.message__wrap .message__image > figcaption {
    font-size: 1.8rem;
    line-height: 1.3;
}
.message__wrap .message__image > figcaption > span {
    color: #0093c4;
    font-size: 1.4rem;
}

@media screen and (min-width: 769px), print {
    /* 沿革 */
    ul.post-in-links li { width: 48%; }
    
    a.btn__br > span { padding-right: 50px; }
    a.btn__br > span::after {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    a.btn__br:hover > span::after { right: -6px; }
    
    .message__wrap .message__text {
        width: 66%;
    }
    .message__wrap .message__image {
        width: 30%;
        min-width: 320px;
    }
    .message__wrap.reverse .message__text { order: 2; }
    .message__wrap.reverse .message__image { order: 1; }
    
    .w66 { width: 66%!important; }
    .jinbustuzou { width: 30%!important; }
    .jinbustuzou img { max-width: 300px!important; }
}
@media screen and (max-width: 768px) {
    /* 沿革 */
    /*ul.post-in-links { flex-wrap: wrap; }
    ul.post-in-links li { width: 100%; }
    ul.post-in-links li:not(:last-child) { margin-bottom: 6%; }*/
    ul.post-in-links li figcaption::after { width: 20px; height: 6px; }
    
    table.data_history::after { left: 13px; }
    table.data_history tr { display: flex; flex-wrap: wrap; }
    table.data_history th { text-align: left; padding-left: 32px; }
    table.data_history td { padding: 0 12px 12px 32px; }
    table.data_history th,
    table.data_history td { width: 100%; }
    table.data_history th::before {
        left: 7px;
        right: auto;
    }
    table.data_history th::after {
        left: 0;
        right: auto;
    }
    
    a.btn__br { padding: calc(24px + ((1vw - 7.68px) * 0.6944)); }
    a.btn__br > span { display: block; padding-bottom: 2rem; }
    a.btn__br > span::after { bottom: 0; left: 0; right: 0; margin: auto; }
    
    .message__wrap .message__text,
    .message__wrap .message__image {
        width: 100%;
    }
    .message__wrap .message__image { text-align: center; }
    .message__wrap .message__text { order: 2; }
    .message__wrap .message__image { order: 1; margin-bottom: 2.4rem }
}