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

:root {
  --blue:    #1e3a8a;
  --blue-dk: #172d6e;
  --blue-lt: #3b5fc0;
  --orange:  #f97316;
  --orange-dk: #ea6c0a;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --white:   #ffffff;
  --font: 'Noto Sans JP', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled {
  background: var(--blue-dk);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-mark {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
}
.logo-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.8);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__nav a {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.header__nav a:hover { color: var(--white); }
.header__nav .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 700;
  transition: background .2s;
}
.header__nav .nav-cta:hover { background: var(--orange-dk); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--blue-dk);
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
  z-index: 99;
}
.mobile-menu.active { max-height: 400px; }
.mobile-menu__link {
  padding: 16px 24px;
  color: var(--white);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 50%, var(--blue-lt) 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(249,115,22,.1) 0%, transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  width: 100%;
}
.hero__badge {
  display: inline-block;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.5);
  color: #fcd34d;
  font-size: .85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
  letter-spacing: .05em;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.hero__title--accent {
  color: #fbbf24;
  border-bottom: 3px solid var(--orange);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.btn-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--blue-dk);
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.btn-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.btn-phone__icon { font-size: 1.4rem; }
.btn-phone__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.btn-phone__text small {
  font-size: .7rem;
  font-weight: 400;
  color: var(--gray-600);
}
.btn-contact {
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(249,115,22,.4);
  transition: background .2s, transform .2s;
}
.btn-contact:hover { background: var(--orange-dk); transform: translateY(-2px); }
.hero__hours {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

/* ===== 実績バー ===== */
.achievements-bar {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.achievements-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.achievement-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.achievement-item:last-child { border-right: none; }
.achievement-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.achievement-num small { font-size: 1rem; font-weight: 700; }
.achievement-label {
  font-size: .8rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== セクション共通 ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--gray-600);
  font-size: .95rem;
}
.section-header--white .section-label { color: rgba(255,255,255,.7); }
.section-header--white .section-title { color: var(--white); }
.section-header--white .section-desc { color: rgba(255,255,255,.7); }

/* ===== サービス ===== */
.services { background: var(--gray-50); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.service-card--popular { border: 2px solid var(--orange); }
.service-card__badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
}
.service-card__icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue-dk);
}
.service-card__text {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}
.service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card__list li {
  font-size: .8rem;
  background: var(--gray-100);
  border-radius: 4px;
  padding: 4px 10px;
  color: var(--gray-800);
}
.services__cta {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.services__cta p {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--gray-800);
}
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); }

/* ===== 選ばれる理由 ===== */
.reasons { background: var(--white); }
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-item {
  padding: 28px 24px;
  border-left: 4px solid var(--blue);
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
}
.reason-item__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  opacity: .25;
  line-height: 1;
  margin-bottom: 10px;
}
.reason-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-dk);
}
.reason-item__text {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== 受賞実績 ===== */
.awards {
  background: var(--blue-dk);
  color: var(--white);
}
.awards .section-label { color: rgba(255,255,255,.6); }
.awards .section-title { color: var(--white); }
.awards .section-desc { color: rgba(255,255,255,.7); }
.awards__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.award-item {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 20px 24px;
  border-left: 3px solid #fbbf24;
}
.award-item__year {
  display: block;
  font-size: .78rem;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .05em;
}
.award-item__text {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.award-item__text strong { color: var(--white); }

/* ===== 事業内容 ===== */
.works { background: var(--gray-50); }
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.works-category {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.works-category__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dk);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.works-category__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.works-category__tags span {
  font-size: .82rem;
  background: var(--gray-100);
  border-radius: 4px;
  padding: 5px 12px;
  color: var(--gray-800);
}

/* ===== 会社概要 ===== */
.company { background: var(--white); }
.company__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-200); }
.company-table th, .company-table td {
  padding: 14px 12px;
  font-size: .9rem;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 120px;
  color: var(--gray-600);
  font-weight: 600;
  white-space: nowrap;
}
.company-table td a { color: var(--blue); }
.company-table td a:hover { text-decoration: underline; }
.company__map { display: flex; flex-direction: column; gap: 12px; }
.company__map iframe { border-radius: 10px; }
.company__address { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

/* ===== お問い合わせ ===== */
.contact {
  background: linear-gradient(135deg, var(--blue-dk), var(--blue));
  color: var(--white);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.contact__tel { text-align: center; }
.contact__tel-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact__tel-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  transition: opacity .2s;
}
.contact__tel-num:hover { opacity: .8; }
.contact__tel-hours { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.contact__tel-note { font-size: .8rem; color: rgba(255,255,255,.5); }
.contact__form-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  font-weight: 500;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem;
  font-family: var(--font);
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.15);
}
.form-group select option { background: var(--blue-dk); color: var(--white); }
.btn-submit {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--orange-dk); transform: translateY(-2px); }
.form-note { font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; }

/* ===== フッター ===== */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,.7);
  padding: 40px 24px;
  text-align: center;
}
.footer__inner { max-width: 800px; margin: 0 auto; }
.footer__logo { margin-bottom: 12px; }
.footer__logo .logo-mark { font-size: 1.15rem; }
.footer__address { font-size: .85rem; margin-bottom: 20px; line-height: 1.7; }
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer__nav a { font-size: .85rem; transition: color .2s; }
.footer__nav a:hover { color: var(--white); }
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ===== 固定CTA（スマホ） ===== */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.fixed-cta__tel {
  background: var(--blue);
  color: var(--white);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
}
.fixed-cta__form {
  background: var(--orange);
  color: var(--white);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .achievements-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .achievement-item:nth-child(2) { border-right: none; }
  .services__grid { grid-template-columns: 1fr; }
  .reasons__grid { grid-template-columns: 1fr; }
  .awards__list { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .company__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__tel { padding: 28px; background: rgba(255,255,255,.08); border-radius: 12px; }
  .fixed-cta { display: grid; }
  body { padding-bottom: 60px; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 1.8rem; }
  .btn-phone { font-size: 1.25rem; padding: 14px 20px; }
  .achievements-bar__inner { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
}
