/* ===============================
   ユウ塗装工業  style.css
   =============================== */
:root {
  --green: #68bb4a;
  --green-dark: #168651;
  --text: #333;
  --gray-bg: #efefef;
  --font-jp: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

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

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .3s;
}
.btn:hover { opacity: .75; }

.btn-green {
  background: var(--green);
  color: #fff;
  border-radius: 16px;
  padding: 18px 56px;
  font-size: 18px;
}

.btn-dark-green {
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 15px 44px;
  font-size: 16px;
}

.btn-outline {
  border: 1px solid #e5e5e5;
  border-radius: 21px;
  padding: 10px 30px;
  font-size: 14px;
  color: #424242;
  background: transparent;
  white-space: nowrap;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(40, 40, 40, .65), rgba(40, 40, 40, 0));
  padding: 0 0 26px;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
}
.site-nav a:hover { opacity: .7; }

.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("../images/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .18);
}

.hero-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}

.hero-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 56px;
}

/* ---------- 支援事業者バナー ---------- */
.support-banner {
  text-align: center;
  padding: 72px 24px;
}
.support-banner p {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 28px;
}

/* ---------- こだわり ---------- */
.kodawari {
  padding: 60px 24px 40px;
}

.kodawari-block {
  max-width: 520px;
  margin: 0 auto 110px;
}
.kodawari-block:last-child { margin-bottom: 60px; }

.kodawari-label {
  font-weight: 700;
  font-size: 16px;
}

.kodawari-block h3 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 18px;
}

.kodawari-text {
  text-align: justify;
  margin-bottom: 26px;
}

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

/* ---------- セクション共通 ---------- */
.section {
  padding-top: 110px;
  padding-bottom: 30px;
}

.section-head { margin-bottom: 54px; }

.section-head h2 {
  font-family: var(--font-en);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  color: #222;
}

.section-head h2 span {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  margin-left: 26px;
  letter-spacing: .05em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  background: var(--green-dark);
  margin-top: 22px;
}

/* ---------- 事業内容 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.service-item img {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}

.service-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 26px 0 6px;
}

/* ---------- 会社紹介 ---------- */
.about-text p { margin-bottom: 30px; }

/* ---------- 施工事例 ---------- */
.case-item {
  max-width: 500px;
  margin: 0 auto 90px;
}

.case-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 30px;
}

.case-item h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.case-item .indent { padding-left: 6em; }

/* ---------- 施工の流れ ---------- */
.flow-card {
  background: var(--gray-bg);
  display: grid;
  grid-template-columns: 1fr 284px;
  gap: 36px;
  align-items: center;
  padding: 44px 30px 44px 30px;
  margin-bottom: 18px;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #555;
  display: inline-block;
  padding: 0 4px 2px 0;
  line-height: 1.3;
}

.flow-text h4 {
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 8px;
}

.flow-text p:not(.flow-num) {
  font-size: 15px;
  line-height: 1.8;
}

.flow-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- アクセス ---------- */
.map-wrap iframe {
  width: 100%;
  display: block;
}

/* ---------- 会社概要 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr { border-bottom: 1px solid #ddd; }

.company-table th {
  background: var(--gray-bg);
  width: 300px;
  font-weight: 500;
  text-align: center;
  padding: 34px 20px;
  vertical-align: middle;
}

.company-table td {
  padding: 34px 10px 34px 40px;
  vertical-align: middle;
}

.address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- お問い合わせ ---------- */
.contact {
  position: relative;
  background: url("../images/contact-bg.jpg") center / cover no-repeat;
  padding: 130px 24px 150px;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}

.contact-inner {
  position: relative;
  max-width: 568px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.contact-inner h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 26px;
}

.contact-lead {
  font-size: 17px;
  margin-bottom: 70px;
}

.contact-note {
  font-weight: 700;
  margin-bottom: 22px;
}

.btn-tel {
  display: block;
  border-radius: 40px;
  font-size: 24px;
  padding: 20px 20px;
}

.contact-fax {
  margin-top: 18px;
  font-size: 16px;
  letter-spacing: .05em;
}

/* ---------- フッター ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 38px 48px 90px;
  font-size: 15px;
}

/* ===============================
   レスポンシブ
   =============================== */
@media (max-width: 820px) {

  .header-inner { padding: 16px 20px 0; }

  .site-logo { font-size: 17px; }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 40px;
    height: 34px;
    position: relative;
    cursor: pointer;
    z-index: 120;
  }
  .nav-toggle span {
    position: absolute;
    left: 7px;
    width: 26px;
    height: 2px;
    background: #fff;
    transition: .3s;
  }
  .nav-toggle span:nth-child(1) { top: 9px; }
  .nav-toggle span:nth-child(2) { top: 16px; }
  .nav-toggle span:nth-child(3) { top: 23px; }

  body.nav-open .nav-toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 20, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .site-nav a { font-size: 18px; }

  .hero h1 { font-size: clamp(26px, 7vw, 38px); }

  .section { padding-top: 80px; }

  .section-head h2 { font-size: 38px; }
  .section-head h2 span { font-size: 19px; margin-left: 16px; }

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

  .flow-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 24px;
  }

  .company-table th {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
  }
  .company-table td {
    display: block;
    padding: 18px 16px 26px;
  }

  .contact-inner h2 { font-size: 30px; }
  .btn-tel { font-size: 20px; }

  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px 60px;
  }
}
