:root {
  --main: #8b2e2e;
--main-dark: #1a1208;
--text: #1a1208;
--muted: #7a6a52;
--bg-soft: #f7f3ec;
--line: #d4c9b0;
  --white: #fff;
  --max-width: 1120px;
  --logo-width: 280px;
  --logo-height: 60px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
    "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo__text {
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.05rem;
}

.logo img {
    width: auto;
    max-width: var(--logo-width);
    max-height: var(--logo-height);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .9rem;
  font-weight: 700;
}

.site-nav a {
  transition: opacity .2s;
}

.site-nav a:hover {
  opacity: .65;
}

.site-nav__contact {
  padding: 11px 18px;
  color: var(--white);
  background: var(--main);
}

/* hero */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(26,18,8,.48) 0%,
      rgba(26,18,8,.28) 45%,
      rgba(26,18,8,.08) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max-width));
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: .78rem;
  letter-spacing: .2em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.25;
  letter-spacing: .04em;
}

.hero-lead {
  margin: 24px 0 30px;
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.hero-dots span {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,.45);
}

.hero-dots span.is-active {
  background: var(--white);
}

.button {
  display: inline-flex;
  min-width: 190px;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button--primary {
  color: var(--white);
  background: var(--main);
}

/* sections */
.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-label {
  margin: 0 0 6px;
  color: var(--main);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.section-label--light {
  color: rgba(255,255,255,.78);
}

.section-title {
  margin: 0 0 42px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.intro__text .lead {
  margin-top: 0;
  font-size: 1.18rem;
  font-weight: 700;
}

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

/* service */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 260px;
  padding: 32px;
  background: var(--white);
  border-top: 4px solid var(--main);
  box-shadow: 0 12px 30px rgba(21,47,69,.08);
}

.service-card__number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--main);
  font-weight: 900;
  letter-spacing: .08em;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* photos */
.photo-grid {
  display: grid;
  grid-template-columns: 1.35fr .825fr .825fr;
  gap: 14px;
}

.photo-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.photo-grid img:not(:first-child) {
  height: 360px;
}

/* company */
.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 20px 18px;
}

.company-table dt {
  font-weight: 800;
}

/* contact */
.contact-section {
  padding: 88px 0;
  color: var(--white);
  background: var(--main-dark);
}

.contact-section__inner {
  text-align: center;
}

.contact-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.phone-button {
  width: min(100%, 420px);
  margin: 26px auto 12px;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  background: var(--white);
  color: var(--main-dark);
}

.phone-button__label {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.phone-button__number {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .03em;
}

.contact-hours {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}

.renewal-note {
  padding: 20px 0;
  text-align: center;
  background: #eef2f5;
  font-size: .9rem;
}

.renewal-note p {
  margin: 0;
}



.sp-only {
  display: none;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 570px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .photo-grid img:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header__inner,
  .hero-content {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header__inner {
    min-height: 62px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-overlay {
     background: rgba(26,18,8,.35);
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .service-card {
    min-height: auto;
    padding: 26px 22px;
  }

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

  .photo-grid img,
  .photo-grid img:not(:first-child) {
    height: 250px;
  }

  .photo-grid img:first-child {
    grid-column: auto;
  }

  .company-table > div {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    padding-bottom: 0;
  }

  .company-table dd {
    padding-top: 6px;
  }

  .phone-button {
    gap: 10px;
    padding: 16px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
}

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

  .hero-slide {
    transition: none;
  }
}
/* =========================
   Footer
========================= */

.site-footer {
    margin-top: 80px;
}

/* お問い合わせ・アクセス */
.footer-contact {
    background: var(--main);
    color: #fff;
    padding: 48px 20px;
}

.footer-contact .inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-contact__title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.footer-contact__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact__item {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 10px 22px;
    background: #fff;
    color: #222;
    border-radius: 4px;
}

.footer-contact__label {
    flex-shrink: 0;
    margin-right: 14px;
    padding-right: 14px;
    border-right: 1px solid #ccc;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.footer-contact__link {
    color: var(--main);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-contact__link:hover {
    text-decoration: underline;
}

.footer-contact__text {
    font-size: 1rem;
    font-weight: 700;
}

/* PCでは電話番号をリンクとして動作させない */
@media (min-width: 769px) {
    .tel-link {
        pointer-events: none;
        color: #222;
        cursor: default;
    }
}

/* 最下部 */
.footer-bottom {
    padding: 24px 20px;
    background: var(--bg-soft);
    color: #333;
    text-align: center;
}

.footer-temporary {
    margin: 0 0 10px;
    font-size: .8rem;
    opacity: .75;
}

.footer-copyright {
    margin: 0;
    font-size: .75rem;
    opacity: .65;
    color: #666;
}

/* SP */
@media (max-width: 768px) {

    .site-footer {
        margin-top: 56px;
    }

    .footer-contact {
        padding: 36px 20px;
    }

    .footer-contact__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-contact__item {
        width: 100%;
        min-height: 56px;
        padding: 10px 16px;
    }

    .footer-contact__label {
        width: 54px;
        margin-right: 14px;
        padding-right: 14px;
    }

    .footer-contact__link,
    .footer-contact__text {
        font-size: .95rem;
    }
}