/* カスタムCSS */
:root {
  --primary-color: #71c55d;
  --secondary-color: #444444;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--secondary-color);
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Dosis", sans-serif;
}

.fixed-top {
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.section-bg {
  background-color: #E6E6E6;
}

.section-title {
  text-align: center;
  padding: 30px 0;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.icon-box {
  padding: 30px;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-box .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.portfolio-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 6px;
}

.portfolio-wrap img {
  width: 100%;
  transition: all 0.3s ease;
}

.portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
}

.footer-top {
  padding: 60px 0;
  background: #E6E6E6;
}

.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.back-to-top:hover {
  background: #8bd07b;
  color: white;
}

.btn-get-started {
  display: inline-block;
  padding: 8px 28px;
  border-radius: 50px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background: #8bd07b;
  color: white;
}

.nav-link {
  color: #333;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #03A9F4 !important;
}

/* Hero Section Styles */
#hero {
  background-color: white;
  padding-top: 8rem;
  padding-bottom: 8rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

#hero .btn {
  background-color: #03A9F4;
  border-radius: 5px;
}
/* Contents Section Styles */
#services {
  background-color: #E6E6E6;
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
  margin-top: 8rem !important;
  margin-bottom: 8rem !important;
}
.icon-box .title a{
  font-family: 'Meiryo UI', sans-serif;
  font-size: 18px;
}
.icon-box .title {
  font-weight: bold;
  margin-bottom: 15px;
}
.icon-box .icon {
  font-size: 40px;
  margin-bottom: 15px;
}
.icon-c1 {
  color: #03A9F4;
}
.icon-c2 {
  color: #6c757d;
}
.icon-c3 {
  color: #000f86;
}
.icon-c4 {
  color: #000fF4;
}
.icon-c5 {
  color: #8BC34A;
}
.icon-c6 {
  color: #4CAF50;
}
.record-pic-box img {
  max-height: 600px;
  object-fit: cover;
}
.icon-box .icon.rounded-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  border: 2px solid #03A9F4;
  flex-shrink: 0;
}
.icon-box .icon.rounded-circle i {
  font-size: 1.2rem;
  color: #03A9F4;
}
.icon-box .content .description a {
  color: #03A9F4;
}
#w-portfolio {
  background-color: #E6E6E6;
}
#mt-portfolio {
  background-color: #E6E6E6;
}
.footer-contact img {
  width: 50px;
  height: 50px;
}
.footer-contact h5 {
  margin-top: 10px;
}
.footer-links ul li i {
  color: #03A9F4;
}
.footer-links ul li a {
  color: #333;
}
.footer-links .social-links .btn {
  background-color: #03A9F4;
}
/* 追加CSS */
.hero-btn{
  background-color: #03A9F4;
  border-radius: 5px;
}

/* ナビゲーション */
.navbar {
  width: 100%;
}

.navbar-nav {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: block;
}

.nav-link:hover {
  color: #03A9F4;
}

.nav-link.active {
  color: #03A9F4 !important;
}

/* ハンバーガーメニューボタン */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  display: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler i {
  color: #333;
  font-size: 1.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .nav-item {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0.5rem 0;
  }
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: flex-end;
  }

  .navbar-nav {
    flex-direction: row;
    align-items: center;
  }
}