@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');


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

body{
    font-family: "Sora", sans-serif;
    line-height:1.7;
    color: var(--body);
}

h1, h2, h3, h4, h5, h6,
.display-4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    color: var(--dark);
    text-decoration: none;
}

section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.navbar .nav-link {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    padding-top: 16px;
    margin-left: 10px;
}

.btn {
    padding: 14px 18px;
    border-width: 2px;
    border-radius: 5;
}

.hero {
    /* background-image: url("img/uchuumi.jpg");
    background-position: center;
    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(37, 39, 70, 0.6);
    z-index: -1;
}

.card-effect {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    padding: 25px;
    transition: all 0.20s ease;
}

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

.iconbox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    background-color: var(--primary);
    border-radius: 100px;
    flex: none;
    margin: 0 auto;
}

.service {
    position: relative;
    overflow: hidden;
}

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

.service:hover h5,
.service:hover p {
    color: rgb(0, 0, 0);
}

.service:hover .iconbox {
    background-color:  #fff;
    color: var(--primary);
}

.service:hover::after{
    opacity: 1;
    top: 0%;
}

.col-img {
    background-image: url(./img/124.jpg);
    background-position: center;
    background-size: cover;
    min-height: 500px;
    position: relative;
    background-attachment: fixed;

}

.col-img2 {
    background-image: url(./img/space.gif);
    background-position: center;
    background-size: cover;
    min-height: 500px;
    /* position: relative; */
    background-attachment: fixed;


}

.blog-card {
    height: 520px; /* 必要に応じて調整 */
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.blog-card .button-group {
    display: flex;
    gap: 10px;
    margin-top: auto; /* 下部に固定 */
}

/* projects section */
.project {
    position: relative;
    overflow: hidden;
}

.project .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 39, 70, 0.6);
    padding: 30px;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: all 0.4s ease;
}

img {
    width: 100%;
}

.project img {
    transition: all 0.4s ease;
}

.project:hover .overlay{
    opacity: 1;
}


.project:hover img {
    transform: scale(1.1);
}

/* team section */
.team-member img {
    width: 125px;
    height: 125px;
    border-radius: 100px;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background-color: var(--dark);
    /* border: 2px solid var(--primary); */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    margin-left: 5px;
    margin-top: 7px;
}

.social-icons a:hover {
    color: var(--primary);
    background-color: transparent;
}

/* contact section */
/* form input.form-control {
    height: 50px;
} */

/* form .form-control {
    border: transparent;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.04);
} */

/* footer section */
.footer-top {
    background-color: var(--dark);
    padding: 60px;
    padding-bottom: 50px;
}

.footer-top a {
    color: var(--body);
}

.footer-top a:hover {
    color: #fff;
}