@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;700;900&family=Sora:wght@400;700&display=swap");

:root {
  --primary: #0d6efd;
  --dark: #555;
  --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);
  background-color: #fff;
}

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

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

img {
  width: 100%;
}

.navbar {
  box-shadow: var(--box-shadow);
}

.logo {
  width: auto !important;
  height: 80px;
  max-width: 120px;
  object-fit: contain;
}

.navbar .nav-link {
  font-size: 14px;
  font-weight: 700;
}

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

.btn-primary {
  background-color: #efe3e5;
  border-color: #efe3e5;
  color: var(--dark);
}

.btn-primary:hover {
  background-color: #DBBCC0;
  border-color: #DBBCC0;
  color: var(--dark);
}

.hero {
  background-image: url(./img/kusumi.PNG);
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

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

.card-effect {
  box-shadow: var(--box-shadow);
  background-color: #efe3e5;
  padding: 25px;
  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;
  background-color: var(--primary);
  color: white;
  font-size: 32px;
  border-radius: 100px;
  flex: none;
}

.service {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

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

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

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

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

/* features section */
.col-img {
  background-image: url(./img/3662790_s.jpg);
  background-position: center;
  background-size: cover;
  min-height: 500px;
}

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

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

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

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

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

.pricing i {
  font-size: 20px;
  color: var(--primary);
}

.pricing ul li {
  margin-top: 8px;
}

.team-member img {
  width: 125px;
  height: 125px;
  border-radius: 100px;
  object-fit: cover;
}

.course-img {
  width: 100% !important;
  height: 220px !important;
  border-radius: 8px !important;
  object-fit: cover;
}

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

.social-icons a {
  width: 34px;
  height: 34px;
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  margin-left: 5px;
  transition: all 0.4s ease;
}

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

form input.form-control {
  height: 56px;
}

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

.footer-top {
  padding-bottom: 90px;
  padding: 90px;
  background-color: #efe3e5;
}

.footer-top a {
  color: #555;
}

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

.footer-bottom {
  background-color: #242933;
}

/* レスポンシブ対応 */
body {
  overflow-x: hidden;
}

.row.w-100 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  .row.w-100 img {
    height: 200px !important;
  }

  .row.w-100.align-items-center {
    flex-direction: column;
  }

  .row.w-100.align-items-center .col-lg-6 img {
    height: 250px !important;
    width: 100% !important;
  }

  .row.w-100.align-items-center .col-lg-6.p-5 {
    padding: 2rem !important;
  }
}