/* 株式会社アケボノ コーポレートサイト */

:root {
  --color-bg: #f7f4ee;
  --color-bg-alt: #ffffff;
  --color-text: #1f2a37;
  --color-text-muted: #5b6673;
  --color-accent: #b9682a;
  --color-accent-soft: #f1dfcf;
  --color-line: #e3ddd2;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  --container: 960px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt";
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pc-only {
  display: none;
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  padding: 8px 12px;
  background: var(--color-text);
  color: #fff;
  border-radius: 4px;
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(to top, var(--color-text) 0 45%, var(--color-accent) 45% 100%);
  flex-shrink: 0;
}

.brand__name {
  font-size: 15px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.site-nav a {
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

/* ヒーロー */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(to bottom, var(--color-bg) 0%, #f3ebe0 100%);
  text-align: center;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.hero__lead {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text-muted);
}

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

.section--alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section__title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.section__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 14px;
  background: var(--color-accent);
}

.section__lead {
  margin-top: 24px;
  color: var(--color-text-muted);
}

/* 会社情報 */
.company-table {
  margin-top: 32px;
  border-top: 1px solid var(--color-line);
}

.company-table__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.company-table dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.company-table dd {
  font-size: 15px;
}

.company-table__sub {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}

.tel-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-line);
}

.tel-link:hover,
.tel-link:focus-visible {
  text-decoration-color: var(--color-accent);
}

/* お問い合わせ */
.contact-link {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-text);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
  word-break: break-all;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--color-accent);
}

/* フッター */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-text-muted);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

/* フォーカス表示 */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* タブレット以上 */
@media (min-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .pc-only {
    display: inline;
  }

  .brand__name {
    font-size: 16px;
  }

  .site-nav {
    gap: 28px;
    font-size: 14px;
  }

  .hero {
    padding: 112px 0 120px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__lead {
    font-size: 17px;
    margin-top: 28px;
  }

  .section {
    padding: 96px 0;
  }

  .section__title {
    font-size: 28px;
  }

  .company-table__row {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 20px 0;
  }

  .company-table dt {
    font-size: 14px;
    padding-top: 2px;
  }

  .company-table dd {
    font-size: 16px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
