@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Noto+Sans+JP:wght@500&family=Zen+Maru+Gothic&display=swap');


:root {
    --primary: #0d6efd;
    --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

body {
    background-color: rgb(255, 255, 255);
    font-family: 'Noto Sans JP', sans-serif;
}

.display-3 {
    font-weight: bold;
}

section {
    padding-top: 90px;
    padding-bottom: 100px;
}

.hr-border {
    padding: 1px;
    background-color: var(--primary);
    border: none;
    margin: 1px;
}

.navbar .nav-link {
color: white !important;
}

.nav-item a:hover {
    color: rgb(20, 212, 65) !important;
}


.hero {
    background-image: url("../img/23626025_m.jpg");
    background-position: center;
    background-position: 0 40px;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
}

.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(90, 125, 192, 0.38);
    z-index: -2;
}

.astem-a {
    text-shadow: 2px 2px 4px black;
}

.box-sub {
    margin-bottom: 80px;
}

.dp-br {
    display: none;
}

.card-effect {
    box-shadow: var(--box-shadow);
    background-color: white;
    padding: 50px;
    transition: all 0.35s ease;
}

.card-effect:hover {
    box-shadow: none;
    transform: translateY(5px);
}

.iconbox {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    border-radius: 5px;
    background-color: var(--primary);
    margin-right: 50px;
}

.box-a h5 {
    font-weight: bold;
    color: var(--primary);
}

.box-a p {
    margin-bottom: 5px;
    padding-left: 1.2rem;
}

/* card-start */

.place {
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
    overflow: hidden;
    width: 80%;
    text-decoration: none;
    color: black;
}

.place::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    background-color: var(--primary);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.35s ease;
    z-index: -1;
}

.place:hover h5,
.place:hover p {
    color: white;
}

.place:hover .iconbox {
    background-color: white;
    color: var(--primary);
}

.place:hover::after {
    opacity: 1;
    top: 0;
}

/* card-end */

.footer-top {
    background-color: var(--primary);
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 0;
}

.footer-top a {
    color: white;
    text-decoration: none;
}

.footer-top a:hover {
    color: rgb(20, 212, 65);
}

.astem-b {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-l {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .link-l h4 {
    padding-top: 5px;
    padding-bottom: 75px;
    padding-right: 20px;
} */

.link-l ul li {
    padding: 3px;
    margin-top: 2px;
}

.list-group-item {
    background-color: var(--primary);
    border: none;
    margin: 0 20px;
}

.copyrights {
    display: flex;
    align-items: flex-end;
    justify-content: end;
}

.footer-img {
    background-image: url(../img/astemlogo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50%;
    height: 0;
    padding-top: 50px;
    margin-bottom: 20px;
}

.space-box {
    padding: 2%;
}

th {
    border-right: rgb(230, 230, 230) solid 3px;
}

table .a-bold {
    background-color: rgba(93, 214, 255, 0.511);
    padding: 2px 4px;
    border-radius: 5px;
}

table .rest {
    background-color: rgb(254, 0, 161);
    font-size: 60%;
    color: #fff;
    border-radius: 5px;
    padding: 2px 4px;
}

.about-hr {

}

.access-map {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 90%;
    text-decoration: none;
    color: black;
}

.card-effect2 {
    box-shadow: var(--box-shadow);
    background-color: white;
    padding: 50px;
}

.box-b {
}

.box-b h5 {
    font-weight: bold;
    color: var(--primary);
}

.box-b p {
    margin-bottom: 5px;
    padding-left: 1.2rem;
}

.map {

}

/* Google Mapを囲う要素 */
.gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 比率を16:9に固定 */
    overflow: hidden;
  }
  
  /* Google Mapのiframe */
  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */

@media only screen and (max-width: 600px) {
body, h3, h4, h5, h6, p {
font-size: 95%;
}

.dp-br {
    display: inline-block;
}

.navbar {
    padding: 0 !important;
}

.navbar-brand h3 {
    display: none;
}

.navbar .container {
    padding-left: 0;
}

.navbar-brand {
    background-image: url(../img/astemlogo.png);
    width: 130px;
    height: 50px;
    left: 0;
    background-size: cover;
}

a.place.card-effect.mx-auto {
    width: 95%;
    display: block;
}

.iconbox {
    display: none;
}

.footer-top {
    padding-top: 5px !important;
}

.footer-img {
    display: none;
}

.copyrights p {
    font-size: 50%;
    margin-bottom: 0 !important;
}

th {
    font-size: 50% !important;
    padding-left: 4px !important;
}

td {
    font-size: 50%;
}


}