/* 全体 */
body {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  margin: 0;
  background: #f5f6f7;
  color: #333;
}

/* 見出し */
.page-title {
  font-size: 28px;
  font-weight: bold;
  margin: 40px auto;
  max-width: 1100px;
}

/* 一覧 */
.works-list {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* カード */
.work-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 画像 */
.work-image {
  position: relative;
}

.work-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}


/* 本文 */
.work-body {
  padding: 15px;
}

.work-price {
  font-size: 18px;
  font-weight: bold;
}

.work-price .type {
  margin-right: 10px;
}

.work-price .price {
  color: #222;
}

/* 日付 */
.work-date {
  font-size: 13px;
  color: #888;
  margin: 8px 0;
}

/* 価格帯 */
.work-range {
  display: inline-block;
  font-size: 12px;
  background: #eef1f3;
  padding: 4px 8px;
  border-radius: 4px;
}

  

/* =========================
   フッター
========================= */
.site-footer {
  background: #ea7f1c;
  color: #fff;
  padding: 60px 20px 30px;
}

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

/* 会社情報 */
.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

.company-name {
  font-weight: bold;
  margin-bottom: 10px;
}

.company-address {
  font-size: 14px;
  line-height: 1.7;
}

.company-tel {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
}

/* SNS */
.footer-sns {
  display: flex;
  gap: 10px;
}

.footer-sns .sns {
  background: #fff;
  color: #ea7f1c;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
}

/* フッターナビ */
.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* 地図 */
.footer-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* コピーライト */
.footer-copy {
  text-align: center;
  font-size: 12px;
  margin-top: 40px;
}

/* =========================
   固定ボタン
========================= */
.btn-top {
  position: fixed;
  right: 30px;
  top: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.btn-reserve {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #3bb3c3;
  color: #fff;
  padding: 15px 10px;
  border-radius: 20px;
  writing-mode: vertical-rl;
  text-decoration: none;
  font-size: 14px;
}


/* =========================
   ページトップボタン
========================= */
.page-top {
  position: fixed;
  right: 40px;
  top: 30px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  z-index: 1000;
}

.page-top::before {
  content: "";
  display: block;
  width: 1px;
  height: 80px;
  background: #fff;
  margin: 0 auto 8px;
}

.page-top-text {
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* hover */
.page-top:hover {
  opacity: 0.7;
}


/* =========================
   地図上の Topリンク
========================= */
.map-wrapper {
  position: relative;
}

/* Topリンク本体 */
.map-top {
  position: absolute;
  top: -60px;
  right: 20px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  z-index: 10;

  /* 追加 */
  background: #ea7f1c;   /* フッターと同じオレンジ */
  padding: 10px 14px 6px;
}

/* 縦線 */
.map-top .line {
  height: 60px;
  background: #fff;
  margin-bottom: 6px;
}

/* Top文字 */
.map-top .text {
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* hover */
.map-top:hover {
  opacity: 0.7;
}


/* =========================
   ヘッダー（最終版）
========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* 上段：ロゴ＋電話 */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.header-catch {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* 電話番号 */
.header-tel {
  font-size: 30px;
  font-weight: bold;
  color: #2fa7b3;
}

/* 下段：ナビ */
.global-nav ul {
  list-style: none;
  margin: 3px 0 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.global-nav li {
  margin-left: 30px;
}

.global-nav a {
  text-decoration: none;
  font-size: 17px;
  color: #555;
  padding: 10px 0;
}

.global-nav a:hover {
  color: #2fa7b3;
  border-bottom: 2px solid #2fa7b3;
}
.footer-company .company-tel {
  font-size: 22px;      /* ← 電話番号を大きく */
  font-weight: bold;
  margin-top: 10px;
}
  
.footer-nav a {
  font-size: 16px;      /* ← ナビ文字サイズ */
  line-height: 2;
}
.footer-map iframe {
  width: 100%;
  height: 320px;        /* ← 高さを大きく */
  border: none;
}
.map-top .text {
  font-size: 25px;      /* ← Top文字を大きく */
  font-weight: bold;
}
.footer-inner {
  display: flex;
  gap: 30px;
}

/* 会社情報 */
.footer-company {
  flex: 1;
}

/* フッターナビ */
.footer-nav {
  flex: 1;
}

/* 地図を広くする */
.footer-map {
  flex: 2;   /* ← ここがポイント */
}
.work-image {
  position: relative;
}

.work-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* ← これが必須 */
}

.work-image:hover::after {
  opacity: 1;
}
.work-catch {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.work-image img {
  cursor: pointer;
}

.work-image a {
  display: block;
  position: relative;
  z-index: 10; /* ← これが決定打 */
}
.work-image img {
  display: block;
}

.work-link {
  display: block;
  color: inherit;
  text-decoration: none;
}



/* =========================
   スマホ対応（統合版）
========================= */
@media screen and (max-width: 768px) {

  /* ---------- 共通 ---------- */
  .page-title {
    font-size: 22px;
    margin: 20px;
  }

  /* ---------- ヘッダー ---------- */
  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-logo img {
    height: 55px;
  }

  .header-tel {
    font-size: 22px;
    margin-top: 8px;
  }

  .header-tel a {
    color: #2fa7b3;
    text-decoration: none;
  }

  .global-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .global-nav li {
    margin: 0;
  }

  .global-nav a {
    font-size: 15px;
  }

  /* ---------- 施工実績 ---------- */
  .works-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .work-card {
    border-radius: 8px;
  }

  .work-image img {
    height: 180px;
  }

  .work-catch {
    font-size: 16px;
    bottom: 8px;
    left: 8px;
  }

  .work-price {
    font-size: 16px;
  }

  /* ---------- フッター ---------- */
  .footer-inner {
    flex-direction: column;
  }

  .footer-map iframe {
    height: 240px;
  }

  /* ---------- 固定ボタン非表示 ---------- */
  .btn-top,
  .btn-reserve,
  .page-top,
  .map-top {
    display: none;
  }
}
.work-image {
  width: 100%;
  overflow: hidden;   /* ← これが重要 */
}

.work-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 768px) {
  .global-nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .header-logo img {
    height: 40px;
  }
}
/* フッターのグローバルナビ（PC） */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {

  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
  }

  .footer-nav li {
    margin-bottom: 0;
  }
}

/* PCヘッダーロゴサイズ調整 */
.header-logo img {
  height: 55px;     /* ← おすすめ：40〜50px */
  width: auto;
}
