@charset "UTF-8";
/* =========================================================
   株式会社シナジー トップページ
   配色：ネイビー #1B2A41 / グレー #8A99A8 / 背景 #F5F7FA / 白 #FFFFFF / アクセント #0091D5
   ========================================================= */

/* ===== 変数・リセット ===== */
:root {
  --navy: #1B2A41;
  --gray: #8A99A8;
  --bg: #F5F7FA;
  --bg2: #EDF1F6;
  --white: #FFFFFF;
  --accent: #0091D5;
  --accent-dark: #0077B0;
  --text: #1B2A41;
  --dummy: #9AA6B2;
  --line: #DDE3EA;
  --header-h: 72px;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
address { font-style: normal; }
.sp-br { display: none; }

/* ===== 共通パーツ ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--form { max-width: 860px; }
.section { padding: 56px 0 64px; }
.section--light { background: var(--bg); }
.section--gray { background: var(--bg2); }
.section--white { background: var(--white); }
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .06em;
  text-align: center;
  color: var(--navy);
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 12px;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  transform: translateX(-50%);
}
.dummy { color: var(--dummy); font-size: 13px; line-height: 1.7; }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  line-height: 1.4;
  transition: background .2s, color .2s, opacity .2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline-white { border-color: rgba(255,255,255,.9); color: var(--white); background: rgba(27,42,65,.25); }
.btn--outline-white:hover { background: rgba(255,255,255,.15); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.arrow { font-weight: 400; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(27,42,65,.08);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--navy);
  white-space: nowrap;
}
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 36px; }
.gnav__list a { font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.gnav__list a:hover { color: var(--accent); }
.gnav__sp-only { display: none; }
.header__tel {
  margin-left: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: .02em;
}
.header__tel-label { font-size: 14px; margin-right: 6px; }
.header__btn { padding: 10px 26px; font-size: 14px; }
.hamburger { display: none; }

/* ===== メインビジュアル ===== */
.hero {
  position: relative;
  min-height: 410px;
  background:
    linear-gradient(90deg, rgba(20,32,52,.88) 0%, rgba(20,32,52,.65) 38%, rgba(20,32,52,.05) 70%),
    url("../images/hero.jpg") center 30% / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}
.hero__inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 56px 100px; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.32;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.hero__lead { margin-top: 16px; font-size: 19px; font-weight: 500; letter-spacing: .04em; }
.hero__sep { margin: 0 .4em; }
.hero__btns { margin-top: 30px; display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== シナジーの強み ===== */
.strength { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.strength__item { text-align: center; }
.strength__icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #E3EAF2;
  display: grid;
  place-items: center;
}
.strength__icon img { width: 58px; }
.strength__title {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.strength .dummy { text-align: left; }

/* ===== 加工技術 ===== */
.tech { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tech__card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27,42,65,.06);
}
.tech__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tech__body { padding: 14px 14px 18px; }
.tech__title { font-size: 15px; text-align: center; margin-bottom: 6px; letter-spacing: .03em; }

/* ===== 加工事例 ===== */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.works__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.works__card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.works__info { padding: 14px 16px 16px; font-size: 13px; line-height: 1.9; }
.works__info div { display: flex; }
.works__info dt { font-weight: 700; }
.works__info dd { color: var(--dummy); }

/* ===== ご依頼の流れ ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.flow__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 20px 18px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(27,42,65,.06);
}
.flow__item:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 26px;
  color: var(--navy);
}
.flow__icon { width: 58px; flex-shrink: 0; }
.flow__num { display: block; color: var(--accent); font-weight: 700; font-size: 15px; line-height: 1.2; }
.flow__title { font-size: 15px; letter-spacing: .03em; }
.flow .dummy { font-size: 12px; }

/* ===== お知らせ／採用バナー ===== */
.section--news { padding: 40px 0 48px; }
.news-recruit { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: stretch; }
.news__title {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: .06em;
  padding-bottom: 8px;
  position: relative;
  margin-bottom: 8px;
}
.news__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--accent); }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list a { display: flex; gap: 24px; padding: 12px 0; font-size: 14px; }
.news__list a:hover .dummy { color: var(--accent); }
.news__list time { flex-shrink: 0; font-weight: 500; }
.news__list .dummy { font-size: 14px; }
.recruit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 36px;
  border-radius: 4px;
  color: var(--white);
  min-height: 170px;
  background:
    linear-gradient(90deg, rgba(27,42,65,.96) 0%, rgba(27,42,65,.85) 50%, rgba(27,42,65,.2) 100%),
    url("../images/recruit.jpg") right center / auto 100% no-repeat,
    var(--navy);
}
.recruit__title { font-family: var(--font-head); font-weight: 700; font-size: 23px; letter-spacing: .04em; }

/* ===== お問い合わせ帯 ===== */
.cta {
  background: linear-gradient(90deg, #13284A 0%, #1B3A6B 60%, #1F4A82 100%);
  color: var(--white);
  padding: 34px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: .05em;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,.5);
}
.cta__tel { text-align: center; }
.cta__tel-num { font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: .03em; line-height: 1.2; }
.cta__tel-num span { font-size: 18px; margin-right: 8px; }
.cta__fax { font-size: 17px; letter-spacing: .05em; }
.cta__btn { min-width: 300px; }

/* ===== お問い合わせフォーム（見た目のみ） ===== */
.form { background: var(--white); padding: 36px 40px; border-radius: 6px; box-shadow: 0 2px 10px rgba(27,42,65,.06); }
.form__row { display: block; margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.form__label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form__label em { font-style: normal; font-size: 11px; background: var(--accent); color: var(--white); padding: 2px 6px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  background: #FAFBFD;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.form__submit { text-align: center; margin-top: 28px; }

/* ===== フッター ===== */
.footer { background: var(--navy); color: var(--white); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; gap: 40px; }
.footer__info { padding-right: 40px; border-right: 1px solid rgba(255,255,255,.35); font-size: 14px; line-height: 1.7; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 4px; }
.footer__nav { display: flex; flex-wrap: wrap; }
.footer__nav li { font-size: 13px; }
.footer__nav li + li { border-left: 1px solid rgba(255,255,255,.4); }
.footer__nav a { padding: 0 20px; }
.footer__nav a:hover { color: var(--accent); }
.footer__copy { margin-left: auto; font-size: 13px; }

/* ===== スマホ固定ボタン ===== */
.fixed-cta { display: none; }

/* =========================================================
   レスポンシブ：タブレット
   ========================================================= */
@media (max-width: 1100px) {
  .gnav__list { gap: 20px; }
  .header__tel { margin-left: 8px; font-size: 20px; }
  .hero__inner { padding: 48px 40px; }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2)::after { display: none; }
  .cta__inner { flex-wrap: wrap; justify-content: center; }
  .footer__inner { flex-wrap: wrap; }
  .footer__copy { margin-left: 0; width: 100%; }
}

/* =========================================================
   レスポンシブ：スマホ（ハンバーガーメニュー）
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__inner { padding: 0 16px; gap: 12px; }
  .header__logo { font-size: 20px; }
  .header__btn { display: none; }
  .header__tel { margin-left: auto; font-size: 19px; }
  .header__tel-label { font-size: 12px; margin-right: 4px; }
  .header__inner { gap: 8px; }

  /* ハンバーガー */
  .hamburger {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .hamburger span {
    position: absolute;
    left: 5px;
    width: 30px;
    height: 3px;
    background: var(--navy);
    transition: transform .3s, opacity .3s, top .3s;
  }
  .hamburger span:nth-child(1) { top: 10px; }
  .hamburger span:nth-child(2) { top: 19px; }
  .hamburger span:nth-child(3) { top: 28px; }
  .is-menu-open .hamburger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .is-menu-open .hamburger span:nth-child(2) { opacity: 0; }
  .is-menu-open .hamburger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    overflow-y: auto;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 0; padding: 16px 24px 100px; }
  .gnav__list li { border-bottom: 1px solid rgba(255,255,255,.15); }
  .gnav__list a { display: block; padding: 18px 8px; color: var(--white); font-size: 17px; }
  .gnav__sp-only { display: block; }
}

@media (max-width: 600px) {
  .sp-br { display: inline; }
  .hero__sep { display: none; }
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 44px 0 48px; }
  .section__title { font-size: 25px; margin-bottom: 26px; }

  /* メインビジュアル */
  .hero {
    min-height: 0;
    background:
      linear-gradient(90deg, rgba(20,32,52,.85) 0%, rgba(20,32,52,.55) 60%, rgba(20,32,52,.15) 100%),
      url("../images/hero.jpg") 62% center / cover no-repeat;
  }
  .hero__inner { padding: 36px 16px 32px; }
  .hero__title { font-size: 31px; }
  .hero__lead { font-size: 15px; line-height: 1.6; }
  .hero__btns { flex-direction: column; gap: 10px; width: 78%; min-width: 260px; }
  .hero__btns .btn { width: 100%; padding: 14px 16px; font-size: 16px; }

  /* 強み：モックアップどおり3列 */
  .strength { gap: 12px; }
  .strength__icon { width: 76px; height: 76px; margin-bottom: 10px; }
  .strength__icon img { width: 40px; }
  .strength__title { font-size: 13px; line-height: 1.5; letter-spacing: 0; }
  .strength .dummy { font-size: 11px; }

  /* 加工技術：2列 */
  .tech { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech__title { font-size: 14px; }
  .tech__body { padding: 10px 10px 12px; }

  /* 加工事例：2列 */
  .works { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .works__info { padding: 10px 10px 12px; font-size: 12px; }
  .works__info div { flex-wrap: wrap; }

  /* ご依頼の流れ：縦並び */
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow__item::after { display: block !important; }
  .flow__item:not(:last-child)::after {
    content: "›";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(-50%) rotate(90deg);
  }
  .flow__icon { width: 52px; }

  /* お知らせ・採用 */
  .news-recruit { grid-template-columns: 1fr; gap: 28px; }
  .news__list a { flex-direction: column; gap: 0; }
  .recruit { padding: 24px 20px; min-height: 150px; }
  .recruit__title { font-size: 18px; max-width: 70%; }

  /* お問い合わせ帯 */
  .cta { padding: 32px 0; }
  .cta__inner { flex-direction: column; gap: 16px; text-align: center; }
  .cta__title { font-size: 22px; border-right: none; padding-right: 0; }
  .cta__tel-num { font-size: 30px; }
  .cta__btn { min-width: 0; width: 100%; }

  .form { padding: 24px 18px; }
  .form__grid { grid-template-columns: 1fr; }

  /* フッター */
  .footer { padding: 28px 0 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__info { border-right: none; padding-right: 0; }
  .footer__nav a { padding: 0 12px; }
  .footer__nav li:first-child a { padding-left: 0; }

  /* 固定ボタン */
  .fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: 64px;
    box-shadow: 0 -2px 8px rgba(0,0,0,.12);
  }
  .fixed-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .08em;
  }
  .fixed-cta svg { width: 24px; height: 24px; }
  .fixed-cta__tel { background: var(--navy); border-right: 1px solid rgba(255,255,255,.3); }
  .fixed-cta__mail { background: var(--accent); }
}

@media (max-width: 400px) {
  .header__logo { font-size: 17px; letter-spacing: 0; }
  .header__tel { font-size: 16px; }
  .header__tel-label { font-size: 11px; }
}
@media (max-width: 370px) {
  .header__tel-label { display: none; }
  .hero__title { font-size: 27px; }
}
