/* 共通リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}

/* 全体幅80%センター */
.container {
  width: 80%;
  max-width: 1360px;
  margin: 0 auto;
}

/* ナビゲーション */
.global-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
}
.global-nav ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0 1rem;
}
.global-nav li {
  margin-left: 0.5rem;
}
.global-nav li:first-child {
  margin-left: 0;
}
.global-nav a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
}
.global-nav li.active a {
  color: #e76f51;
  border-bottom: 2px solid #e76f51;
}

/* メインビジュアル */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1rem;
  background: #fff;
}
.hero-main {
  flex: 1 1 60%;
  text-align: center;
}
.hero-main img {
  width: 100%;
  height: auto;
}
.hero-text {
  margin-top: 1rem;
}
.hero-side {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}
.hero-side .banner {
  background: #fff;
  padding: 0rem;
  border-radius: 0rem;
}
.hero-side .banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* サービス一覧 */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  padding: 0rem 1rem;
}
.service {
  position: relative;
  width: calc(25% - 1rem);
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.service img {
  width: 100%;
  display: block;
}
.service .label {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

/* レスポンシブ */
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
  }
  .hero-main,
  .hero-side {
    flex: 1 1 100%;
  }
  .service {
    width: calc(50% - 1rem);
  }
}
@media (max-width: 500px) {
  .service {
    width: 100%;
  }
}
