/* ===== リセット・基本 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Arial, sans-serif;
  line-height: 1.7;
  background-color: #fff;
  color: #222;
}

a {
  text-decoration: none;
}

/* ===== ボタン共通 ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-outline .arrow {
  transition: transform 0.25s;
}

.btn-outline:hover .arrow {
  transform: translateX(5px);
}

.btn-outline--dark {
  color: #0055aa;
  border-color: #0055aa;
}

.btn-outline--dark:hover {
  background: #0055aa;
  color: #fff;
}

.btn-outline--light {
  color: #fff;
  border-color: #fff;
}

.btn-outline--light:hover {
  background: #fff;
  color: #0f3460;
}

/* ===== ナビゲーション ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 20, 50, 0.92);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, #0a1432 0%, #0f2a5e 55%, #0d3880 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 100px;
}

.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7ec8e3;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 48px;
  line-height: 1.9;
  max-width: 480px;
}

/* ===== セクション共通 ===== */
.section {
  padding: 100px 32px;
}

.bg-off {
  background: #f5f7fb;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0055aa;
  margin-bottom: 10px;
  display: block;
}

.section-label--light {
  color: #7ec8e3;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title--light {
  color: #fff;
}

.section-lead {
  color: #666;
  font-size: 0.94rem;
  margin-bottom: 64px;
  max-width: 560px;
}

.section-lead--light {
  color: rgba(255,255,255,0.65);
}

/* ===== About ===== */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.about-placeholder {
  background: linear-gradient(135deg, #e8f0fb, #c8daf8);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 2.1;
  color: #444;
  margin-bottom: 36px;
}

/* ===== Service / スキル ===== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid #dde4ef;
}

.service-row:last-of-type {
  border-bottom: 1px solid #dde4ef;
}

.service-row--reverse {
  direction: rtl;
}

.service-row--reverse > * {
  direction: ltr;
}

.service-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.service-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-placeholder--1 {
  background: linear-gradient(135deg, #dbeeff, #b3d4f8);
}

.service-placeholder--2 {
  background: linear-gradient(135deg, #d8f0e8, #a8dfc4);
}

.service-placeholder--3 {
  background: linear-gradient(135deg, #e8e0ff, #c8b8f8);
}

.service-num {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #0055aa;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.service-text p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ===== Works ===== */
.works-section {
  background: #0a1432;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.work-card {
  background: #0e1e4a;
  transition: background 0.25s;
}

.work-card:hover {
  background: #142260;
}

.work-card-img {
  aspect-ratio: 16 / 10;
  background: #0f2a5e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-icon {
  font-size: 3.5rem;
}

.work-card-body {
  padding: 24px 28px 32px;
}

.work-card-num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #4a90d9;
  font-weight: 700;
  margin-bottom: 10px;
}

.work-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}

.work-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  border: 1px solid rgba(74, 144, 217, 0.5);
  color: #4a90d9;
  font-size: 0.72rem;
  padding: 3px 10px;
  letter-spacing: 0.06em;
}

/* ===== 活動実績 ===== */
.activities-section {
  background: #fff;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #dde4ef;
  border-left: 1px solid #dde4ef;
}

.activity-card {
  padding: 36px 28px;
  border-right: 1px solid #dde4ef;
  border-bottom: 1px solid #dde4ef;
  transition: background 0.2s;
}

.activity-card:hover {
  background: #f5f7fb;
}

.activity-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
}

.activity-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.activity-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.85;
}

/* ===== Contact ===== */
.contact-section {
  background: #0a1432;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-lead {
  color: rgba(255,255,255,0.65);
  font-size: 0.94rem;
  line-height: 1.9;
  margin-bottom: 44px;
  max-width: 480px;
}

.btn-contact {
  font-size: 0.9rem;
  padding: 16px 52px;
  margin-bottom: 36px;
}

.contact-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sns-link {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.sns-link:hover {
  color: #fff;
}

.sns-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}

/* ===== お問い合わせフォーム ===== */
.contact-form {
  width: 100%;
  max-width: 560px;
  margin-bottom: 44px;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.required {
  font-size: 0.68rem;
  background: #e05555;
  color: #fff;
  padding: 2px 7px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.93rem;
  font-family: inherit;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #7ec8e3;
  background: rgba(255,255,255,0.11);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form-submit {
  text-align: center;
}

/* ===== フッター ===== */
.footer {
  background: #060e28;
  padding: 28px 32px;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.76rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .section {
    padding: 72px 20px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }

  .service-row--reverse {
    direction: ltr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.74rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
