@charset "UTF-8";
/* ============================================================
   福士木材株式会社 公式サイト
   配色: アイボリー / 深い緑（青森ひば） / 淡い黄褐色 / チャコール / 白
   書体: 見出し=Shippori Mincho, 本文=システムゴシック
   ============================================================ */

:root {
  --ivory: #F6F3EB;
  --ivory-deep: #EDE8DB;
  --green: #1E4A3C;
  --green-dark: #143529;
  --green-soft: #2C5C4C;
  --wood: #C9AE7E;
  --wood-deep: #8B7347;
  --wood-pale: #E4D6B8;
  --charcoal: #2B2A26;
  --text: #33322D;
  --text-soft: #5C594F;
  --white: #FFFFFF;
  --border: #DDD6C6;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --header-h: 76px;
  --radius: 6px;
  --shadow: 0 10px 40px rgba(30, 42, 36, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--ivory);
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.pc-only { display: inline; }
.sp-only { display: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

/* ---------------- ヘッダー ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 243, 235, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 214, 198, .6);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(30, 42, 36, .08); }

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo {
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin-right: auto;
}
.site-logo__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .12em;
}
.site-logo__type { font-size: 14px; margin-left: 6px; letter-spacing: .14em; }
.site-logo__sub {
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--green);
  margin-top: 2px;
}

.global-nav__list {
  display: flex;
  gap: 26px;
  list-style: none;
}
.global-nav__list a {
  text-decoration: none;
  color: var(--text);
  font-size: 14.5px;
  letter-spacing: .06em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.global-nav__list a:hover { color: var(--green); border-bottom-color: var(--wood); }

.header-tel {
  text-decoration: none;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 18px;
  text-align: center;
  line-height: 1.4;
  transition: background .25s;
}
.header-tel:hover { background: var(--green-soft); }
.header-tel__label { display: block; font-size: 10.5px; letter-spacing: .08em; opacity: .85; }
.header-tel__number { display: block; font-size: 17px; font-weight: 700; letter-spacing: .05em; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--charcoal);
  transition: transform .3s, opacity .3s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -8px; left: 0; }
.nav-toggle__bar::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: 12px 24px 28px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list a {
  display: block;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__tel {
  display: block;
  margin-top: 20px;
  background: var(--green);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px;
  border-radius: var(--radius);
}
.mobile-nav__tel small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }

/* ---------------- ヒーロー ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 28, 22, .74) 0%, rgba(13, 28, 22, .38) 52%, rgba(13, 28, 22, .12) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  color: #fff;
}
.hero__tagline {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .34em;
  color: var(--wood-pale);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.55;
  letter-spacing: .1em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  margin-bottom: 26px;
}
.hero__lead {
  font-size: 16.5px;
  line-height: 2.1;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 40px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__note {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .65);
}

.hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------- ボタン ---------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--light { background: var(--ivory); color: var(--green-dark); }
.btn--light:hover { background: var(--wood-pale); }
.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-soft); }

/* ---------------- 実績バンド ---------------- */
.stats-band { background: var(--green-dark); color: #fff; }
.stats-band__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-band__item {
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.stats-band__item:first-child { border-left: none; }
.stats-band__num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: .1em;
  color: var(--wood-pale);
  line-height: 1.3;
}
.stats-band__num small { font-size: 17px; margin-left: 2px; }
.stats-band__label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .12em;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
}

/* ---------------- 共通セクション ---------------- */
.section { padding: 104px 0; }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--wood-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-eyebrow--light { color: var(--wood-pale); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--charcoal);
  margin-bottom: 34px;
}

figure figcaption {
  font-size: 11.5px;
  color: var(--text-soft);
  letter-spacing: .08em;
  margin-top: 8px;
  text-align: right;
}

/* ---------------- ABOUT ---------------- */
.about { background: var(--ivory); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.about__text p { margin-bottom: 1.2em; color: var(--text); }
.about__text p:last-child { margin-bottom: 0; }
.about__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------- 強み ---------------- */
.strengths { background: var(--white); }
.strengths .section-title { text-align: center; }
.strengths .section-eyebrow { text-align: center; }
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 18px;
}
.strength {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.strength__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--wood-deep);
}
.strength__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .08em;
  margin: 10px 0 12px;
  color: var(--charcoal);
}
.strength p { font-size: 15px; color: var(--text-soft); }

/* ---------------- 青森ひば ---------------- */
.hiba {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .94);
}
.hiba .section-title { color: #fff; }
.hiba__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hiba__text p { margin-bottom: 1.2em; }
.hiba__text p:last-child { margin-bottom: 0; }
.hiba__photo img {
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .4);
}
.hiba figcaption { color: rgba(255, 255, 255, .55); }

/* ---------------- 事業内容 ---------------- */
.business { background: var(--ivory); }
.business__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.business__list { list-style: none; }
.business__list li {
  border-bottom: 1px solid var(--border);
  padding: 20px 4px;
}
.business__list li:first-child { border-top: 1px solid var(--border); }
.business__list h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18.5px;
  letter-spacing: .08em;
  color: var(--green);
}
.business__list p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 4px;
}
.business__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.business__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------- クラフトファクトリー ---------------- */
.factory { background: var(--white); }
.factory__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.factory__text p { margin-bottom: 1.2em; }
.factory__note {
  font-size: 14px;
  color: var(--text-soft);
  border-left: 3px solid var(--wood);
  padding-left: 14px;
}
.factory__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------- 沿革 ---------------- */
.history { background: var(--ivory); }
.timeline {
  list-style: none;
  max-width: 760px;
  margin: 10px 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 46px;
  padding: 22px 0;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 114.5px;
  top: 36px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood);
}
.timeline__year {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .08em;
  color: var(--green);
  text-align: right;
  line-height: 1.3;
}
.timeline__year small {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: .1em;
}
.timeline__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.timeline__body p { font-size: 15px; color: var(--text-soft); }

/* ---------------- 会社概要 ---------------- */
.company { background: var(--white); }
.company-table { border-top: 1px solid var(--border); }
.company-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border);
}
.company-table dt {
  padding: 16px 18px;
  background: var(--ivory);
  font-size: 14.5px;
  letter-spacing: .08em;
  color: var(--green-dark);
  font-weight: 600;
}
.company-table dd { padding: 16px 20px; font-size: 15.5px; }
.company-table dd a { text-decoration: none; color: var(--text); }

/* ---------------- アクセス ---------------- */
.access { background: var(--ivory); }
.access__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.access__map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ivory-deep);
}
.access__map iframe { width: 100%; height: 100%; display: block; }
.access__list { border-top: 1px solid var(--border); }
.access__list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  border-bottom: 1px solid var(--border);
  padding: 13px 4px;
}
.access__list dt { font-size: 14px; color: var(--green-dark); font-weight: 600; }
.access__list dd { font-size: 15px; }
.access__list dd a { text-decoration: none; color: var(--text); font-weight: 600; }
.access__note { margin-top: 18px; font-size: 14.5px; color: var(--text-soft); }
.access__telbtn {
  margin-top: 16px;
  width: 100%;
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
}
.access__telbtn small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  opacity: .85;
}

/* ---------------- CTAバンド ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green) 70%);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-band__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
  letter-spacing: .12em;
  margin-bottom: 26px;
}
.cta-band__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 6px;
  transition: opacity .25s;
}
.cta-band__tel:hover { opacity: .85; }
.cta-band__tel-label {
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--wood-pale);
}
.cta-band__hours {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .8);
}

/* ---------------- クレア制作クレジット ---------------- */
.crea-credit {
  background: var(--ivory-deep);
  padding: 56px 24px;
}
.crea-credit__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.crea-credit__eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.crea-credit__card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px 28px;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.crea-credit__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.crea-credit__brand {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .26em;
  color: #A84A64;
  margin-bottom: 8px;
}
.crea-credit__desc {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
}
.crea-credit__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--green);
  letter-spacing: .06em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ---------------- フッター ---------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .85);
  padding: 48px 24px 90px;
  text-align: center;
}
.site-footer__name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer__address { font-size: 13.5px; line-height: 2; }
.site-footer__address a { color: inherit; text-decoration: none; }
.site-footer__copy { margin-top: 18px; }
.site-footer__copy small { font-size: 11.5px; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }

/* ---------------- モバイル固定電話ボタン ---------------- */
.floating-tel {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 6px 20px rgba(20, 53, 41, .4);
}

/* ---------------- スクロール表示アニメーション ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
  .global-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; box-shadow: 0 18px 30px rgba(30,42,36,.14); max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .header-tel { display: none; }

  .site-logo__name { font-size: 19px; }
  .site-logo__sub { font-size: 9px; }

  .hero { min-height: 88vh; min-height: 88svh; }
  .hero__inner { padding: calc(var(--header-h) + 36px) 24px 72px; }
  .hero__tagline { font-size: 16px; letter-spacing: .26em; }
  .hero__lead { font-size: 15px; }
  .hero__cta .btn { padding: 13px 22px; font-size: 14px; }
  .hero__scroll { display: none; }

  .stats-band__inner { padding: 26px 16px; gap: 8px; }
  .stats-band__num { font-size: 21px; }
  .stats-band__num small { font-size: 13px; }
  .stats-band__label { font-size: 10.5px; letter-spacing: .06em; }

  .section { padding: 72px 0; }

  .about__grid,
  .hiba__grid,
  .business__grid,
  .factory__grid,
  .access__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hiba__photo { order: 2; }
  .business__photo { position: static; }

  .strengths__grid { grid-template-columns: 1fr; gap: 28px; }

  .timeline::before { left: 86px; }
  .timeline__item { grid-template-columns: 68px 1fr; gap: 40px; padding: 18px 0; }
  .timeline__item::before { left: 82.5px; top: 32px; }
  .timeline__year { font-size: 20px; }

  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding: 10px 14px; font-size: 13px; }
  .company-table dd { padding: 12px 14px 14px; }

  .access__map { aspect-ratio: 4 / 3.4; }

  .floating-tel { display: inline-flex; }
  .site-footer { padding-bottom: 110px; }
}
