/* --------------------------------------------
   リセット & ベーススタイル
-------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
}

body {
  background-color: #fff;
}

/* ユーティリティ */
.u-sm-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .u-sm-only {
    display: block;
  }
}

/* リンクの基本スタイル */
a {
  text-decoration: none;
  color: inherit;
}

/* ボタン基本スタイル */
.btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.btn--primary {
  background-color: #0066ff;
  color: #fff;
}

.btn--primary:hover {
  background-color: #004fcc;
}

.btn--primary-outline {
  background-color: #fff;
  border: 2px solid #fff;
  color: #0066ff;
}

.btn--primary-outline:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn--wide {
  width: 100%;
}

/* コンテナ（中央寄せ） */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------
   ヘッダー（ナビゲーション）
-------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent; /* ヒーロー背景を透過で見せる */
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.logo img {
  height: 40px; /* ロゴ画像に合わせて調整 */
}

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.global-nav a {
  font-weight: 500;
  color: #fff; /* ヒーロー上なのでホワイト */
  transition: color 0.3s;
}
.global-nav a:hover {
  color: #e0e0e0;
}

/* --------------------------------------------
   ヒーローセクション
-------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, #007aff 0%, #0059cc 100%);
  color: #fff;
  padding-top: 80px; /* 固定ヘッダー分の余白 */
  padding-bottom: 4rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  width: 50%;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons .btn + .btn {
  margin-left: 1rem;
}

.hero-image {
  width: 45%;
  min-width: 280px;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------
   サービス概要セクション
-------------------------------------------- */
.services-section {
  background-color: #f9f9fb;
  padding: 4rem 0;
  color: #333;
}

.section-inner {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 24px;
  height: 24px;
}

/* アイコン背景色 */
.service-icon--blue {
  background-color: #e6f0ff;
}
.service-icon--yellow {
  background-color: #fff4e6;
}
.service-icon--green {
  background-color: #e6ffed;
}
.service-icon--purple {
  background-color: #f4e6ff;
}
.service-icon--orange {
  background-color: #fff5e6;
}
.service-icon--red {
  background-color: #ffe6e6;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* --------------------------------------------
   会社概要セクション
-------------------------------------------- */
.company-section {
  padding: 4rem 0;
  background-color: #fff;
}

.company-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.company-text {
  width: 100%;
  min-width: 300px;
}

.company-text table {
  margin: 2rem auto;
  border-collapse: collapse;
  min-width: 340px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.company-text th,
.company-text td {
  border: 1px solid #ddd;
  padding: 0.9em 1.2em;
  text-align: left;
}
.company-text th {
  background: #f5f7fa;
  font-weight: 700;
  color: #0066ff;
  width: 7em;
}
.company-text td {
  background: #fff;
}

.company-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.company-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #0066ff;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.company-image {
  width: 45%;
  min-width: 260px;
}

.company-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --------------------------------------------
   創設チームセクション
-------------------------------------------- */
.team-section {
  background-color: #f9f9fb;
  padding: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media screen and (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-role {
  font-size: 0.95rem;
  color: #0066ff;
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.9rem;
  color: #555;
}

/* --------------------------------------------
   お問い合わせセクション
-------------------------------------------- */
.contact-section {
  background-color: #fff;
  padding: 4rem 0;
}

.contact-inner {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.contact-info {
  width: 40%;
  min-width: 260px;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.contact-form-wrapper {
  width: 55%;
  min-width: 300px;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0066ff;
}

.contact-form textarea {
  resize: vertical;
}

@media screen and (max-width: 992px) {
  .contact-inner {
    flex-direction: column;
  }
  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
}

/* --------------------------------------------
   フッター
-------------------------------------------- */
.site-footer {
  background-color: #1a1a2e;
  color: #ccc;
  padding-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col--about {
  max-width: 300px;
}

.footer-logo img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #bbb;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  font-size: 0.95rem;
  color: #ccc;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* スマホ表示用 */
@media screen and (max-width: 768px) {
  .header-inner {
    padding: 0.75rem 0;
  }
  .global-nav ul {
    gap: 1rem;
  }
  .hero-text {
    width: 100%;
    text-align: center;
  }
  .hero-image {
    width: 100%;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .services-grid {
    gap: 1.5rem;
  }
  .company-inner {
    flex-direction: column-reverse;
  }
  .team-grid {
    gap: 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}
