@charset "utf-8";
/* CSS Document */

.has-small-font-size {
    font-size: 0.85em !important;
}

iframe {
    height: 350px;
}

.detail {
    border: 2px solid #f23433;
    border-radius: 5px;
    padding: 10px;
    margin: 20px auto 20px;
    position: relative;
    background: var(--white);
}

.detail h6 {
    color: #f43033;
    font-weight: var(--fw-bold);
    font-size: 0.95em;
    letter-spacing: 0.08em;
}

.detail:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 115%;
    background: #f23433;
    top: -115%;
    left: 20.3%;
}

.map-box {
    padding: 10px;
    border-radius: 10px;
    background: var(--white);
}

.transportation {
    padding: 10px;
    border-radius: 5px;
    background: var(--lightgray);
}

.t-box {
    margin: 0 auto 15px;
}

.t-box strong {
    color: var(--blue);
    font-weight: var(--fw-bold);
}

.t-box strong:before{
  content:"\f55e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin:0 4px 0 0;
}

.t-box .train strong:before{
  content:"\f238";
}

.transportation h5 {
    color: var(--black);
    letter-spacing: 0.08em;
    position: relative;
}

.transportation h5:before {
    content: "";
    position: relative;
    width: 10px;
    height: 10px;
    background: var(--blue);
    display: inline-block;
    margin: 0 7px 0 0;
    border-radius: 20px;
    vertical-align: initial;
}

a.button.g_button {
    margin: 20px auto 0;
}

@media screen and (min-width: 350px) {

    .detail:before {
    top: -106%;
    height: 106%;
}
    
}


@media screen and (min-width: 400px) {

    .detail:before {
    top: -130%;
    height: 130%;
}
    
}

@media screen and (min-width: 450px) {

    .detail:before {
    top: -140%;
    height: 140%;
}
    
}

@media screen and (min-width: 550px) {

    .detail:before {
    top: -240%;
    height: 240%;
}
    
}

@media screen and (min-width: 767px) {
  .templatebox {
    max-width: 1200px;
    margin: auto;
  }

  .transportation {
    padding: 30px;
}

.detail {
    padding: 15px;
}



    

.detail:before {
    top: -265%;
    height: 265%;
    left: 20.5%;
}
    
}


@media screen and (min-width: 900px) {
.detail:before {
    top: -295%;
    height: 295%;
    left: 19%;
}
    
}

@media screen and (min-width: 991px) {

.map-box {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}


.detail:before {
    top: -186%;
    height: 186%;
    left: 18%;
}

    .campus {
    width: 48%;
}

.transportation {
    width: 48%;
    padding: 30px;
    border-radius: 10px;
}

.detail {
    width: 450px;
}

.transportation > div {
    margin: 0 auto 40px;
}

.transportation > div:last-child {
    margin: 0 auto;
}

iframe {
    height: 460px;
}

.address {
    display: flex;
    justify-content: space-between;
    margin: 20px auto 0;
    align-items: center;
}

a.button.g_button {
    margin: 0;
}
    
}

@media screen and (min-width: 1200px) {
  figure {
    margin: 0;
  }

    .map-box {
        padding: 50px;
    }

    .detail:before {
        top: -207%;
        height: 207%;
        left: 15%;
    }
}

@media screen and (min-width: 1699px) {

    
    .detail:before {
        top: -208%;
        height: 209%;
        left: 15.2%;
    }
}
