body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  margin: 0;
  padding: 0;
  padding-top: 70px;
}
header {
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header img {
  height: 35px;
  width: auto;
}
.logo {
  display: block;
  max-width: 150px;
}
.logo img {
  max-height: 35px;
  width: auto;
}
#hero {
  background-color: white;
  padding-top: 2.67rem;
  padding-bottom: 2.67rem;
  margin-top: 2.67rem;
  margin-bottom: 2.67rem;
}
.hero-img img {
  max-width: 100%;
  height: auto;
}
.contents {
  /* padding: 100px 0; */
  text-align: center;
  background-color: white;
}
.content-item {
  font-family: "Meiryo", sans-serif;
}
.content-item h4 {
  font-weight: bold;
}
#footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 10px 0;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #9acd32;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.back-to-top:hover {
  background-color: #7fbf00;
}
.section-title {
  text-align: center;
  padding: 30px 0;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  font-family: "Dosis", sans-serif;
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}
.section-title i {
  font-size: 32px;
  vertical-align: middle;
  color: #03A9F4;
  margin-right: 10px;
}
.fixed-top {
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
hr {
  width: 90%;
  margin: 0 auto;
  border: 0;
  border-top: 2px solid #808080;
}

/* ナビゲーション */
.nav-menu {
  display: block;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 5px;
}

.nav-link {
  color: #333;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover {
  color: #03A9F4;
}
.nav-link.active {
  color: #003775 !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #003775
}

/* レスポンシブ対応 */
@media (max-width: 991px) {
  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-menu li {
    margin: 5px;
  }
  
  .logo {
    max-width: 120px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  transition: all 0.3s ease;
}

/* ヘッダーのスタイル修正 */
#header {
  padding: 0;
}

#header .container {
  padding-top: 15px;
  padding-bottom: 15px;
}

#header .logo img {
  max-height: 40px;
}

#header .navbar-toggler {
  font-size: 1.5rem;
  color: #333;
}

#header .navbar-collapse {
  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;
}

#header .navbar-nav {
  flex-direction: column;
  align-items: center;
}

#header .nav-item {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0.5rem 0;
}

@media (min-width: 992px) {
  #header .navbar-collapse {
    position: static;
    display: flex !important;
    justify-content: flex-end;
    box-shadow: none;
    padding: 0;
  }
  
  #header .navbar-nav {
    flex-direction: row;
    align-items: center;
  }
  
  #header .nav-item {
    width: auto;
    margin: 0 1rem;
    padding: 0;
  }
  
  #header .nav-link {
    padding: 0.5rem 0;
  }
}

.set1things-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 6px;
}
.set1things-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  background-color: white;
  object-fit: cover;
}
.set1things-wrap img:not([src]), 
.set1things-wrap img[src=""] {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
}
.set1things-wrap:hover img {
  transform: scale(1.1);
}
.set1things-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(192, 192, 192, 0.9);
}
#w-set1things {
  background-color: white;
}
.set1things-container h4 {
  text-align: left;
  padding-left: 15px;
}
.set1things-container h5 {
  text-align: left;
  padding-left: 15px;
}
.set1things-container p {
  text-align: left;
  padding-left: 15px;
}

/* Video styles */
.hero-img .video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img .video-wrapper {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.hero-img .video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.flag-img {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}