/*
Theme Name: 広島の外構・エクステリア工事業者ガイド v9 会社ページ編集対応版
Theme URI: https://example.com
Author: Hiroshima Gaiko Guide
Author URI: https://example.com
Description: 広島の外構・エクステリア工事業者ガイド専用テーマ
Version: 1.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hiroshima-gaiko
*/

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

:root {
  --brown: #8B6F47;
  --brown-dark: #6B5236;
  --brown-light: #C4A882;
  --beige: #F5F0E8;
  --beige-mid: #EDE5D8;
  --text-dark: #2C2418;
  --text-mid: #5C4D3A;
  --text-light: #8A7A68;
  --white: #FFFFFF;
  --border: #DDD0BC;
  --tag-bg: #F0E8D8;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.logo-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 400;
}

.header-nav a:hover { color: var(--brown); }

.btn-cta-header {
  background: var(--brown);
  color: #fff !important;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta-header:hover { background: var(--brown-dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: url("assets/hero.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-bg-css {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.84) 36%, rgba(255,255,255,0.25) 62%, rgba(255,255,255,0.05) 100%);
}

.hero-house {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, rgba(30,22,10,0.3) 60%, rgba(30,22,10,0.85) 100%);
  overflow: hidden;
}

.hero-house::before {
  content: '';
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 90%;
  height: 85%;
  background: linear-gradient(160deg, #3a2e1e 0%, #4a3a24 20%, #5e4a30 40%, #7a6040 60%, #8a7050 80%, #9a8060 100%);
  clip-path: polygon(5% 100%, 5% 30%, 15% 20%, 40% 10%, 60% 15%, 85% 25%, 95% 35%, 95% 100%);
  opacity: 0.8;
}

.hero-house::after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 40%;
  height: 60%;
  background: linear-gradient(180deg, #4a5a3a 0%, #3a4a2a 50%, #2a3a1a 100%);
  clip-path: polygon(0 100%, 0 40%, 50% 20%, 100% 40%, 100% 100%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 600px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  background: #fff;
  padding: 24px 60px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.search-bar {
  display: flex;
  gap: 0;
  max-width: 860px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.search-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--border);
  min-width: 160px;
}

.search-select select,
.search-select-wrap select,
.search-select-wrap2 select {
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  cursor: pointer;
  padding: 14px 0;
  color: var(--text-dark);
  appearance: none;
  width: 100%;
}

.search-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-right: 1px solid var(--border);
  min-width: 150px;
}

.search-select-wrap2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-right: 1px solid var(--border);
  min-width: 180px;
  flex: 1;
}

.search-btn {
  background: var(--brown);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-btn:hover { background: var(--brown-dark); }

/* ===== SECTIONS ===== */
.section { padding: 64px 60px; }
.section-alt, .area-section, .knowledge-section { background: var(--beige); }

.section-header { text-align: center; margin-bottom: 40px; }

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-desc { font-size: 13px; color: var(--text-light); }

/* ===== CASE CARDS ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.case-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.case-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.case-img-1 { background: linear-gradient(135deg, #d4c4aa 0%, #b8a080 30%, #9a8568 60%, #7a6850 100%); }
.case-img-2 { background: linear-gradient(135deg, #8a9a78 0%, #6a7a58 30%, #9a8868 60%, #b8a888 100%); }
.case-img-3 { background: linear-gradient(135deg, #787878 0%, #585858 30%, #686868 60%, #505050 100%); }
.case-img-4 { background: linear-gradient(135deg, #b8a888 0%, #8a7a60 30%, #706050 60%, #584838 100%); }

.case-img-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.case-card-body { padding: 16px; }

.case-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.case-card-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-card-link {
  font-size: 12px;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== AREA SECTION ===== */
.area-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.area-left h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.area-left p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--text-dark);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-dark);
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover { background: var(--text-dark); color: #fff; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.area-btn {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.area-btn:hover { background: var(--beige-mid); }
.area-note {
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.area-note-left { display: flex; align-items: center; gap: 8px; }

/* ===== COMPANY LIST ===== */
.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-dark);
  border: 1px solid var(--border);
  padding: 8px 16px;
}

.company-desc { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }

.company-carousel { position: relative; }

.company-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.company-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.company-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.company-card-img {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.cimg-1 { background: linear-gradient(135deg, #c8b898 0%, #a89070 100%); }
.cimg-2 { background: linear-gradient(135deg, #8a9a78 0%, #5a7a48 100%); }
.cimg-3 { background: linear-gradient(135deg, #9a8878 0%, #7a6858 100%); }
.cimg-4 { background: linear-gradient(135deg, #787878 0%, #484848 100%); }
.cimg-5 { background: linear-gradient(135deg, #c4a888 0%, #8a7060 100%); }

.company-card-body { padding: 12px; }

.company-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.company-card-area { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 4px; }

.tag {
  background: var(--tag-bg);
  color: var(--text-mid);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-nav.prev { left: -16px; }
.carousel-nav.next { right: -16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; }
.dot.active { background: var(--brown); }

/* ===== KNOWLEDGE ===== */
.knowledge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.knowledge-desc { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.knowledge-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.knowledge-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.knowledge-card-img {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.kimg-1 { background: linear-gradient(135deg, #b8a888 0%, #8a7860 100%); }
.kimg-2 { background: linear-gradient(135deg, #7878a8 0%, #5858a0 100%); }
.kimg-3 { background: linear-gradient(135deg, #787878 0%, #484848 100%); }
.kimg-4 { background: linear-gradient(135deg, #c4a888 0%, #9a7858 100%); }

.knowledge-tag {
  background: var(--brown);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
}

.knowledge-card-body { padding: 12px 14px 16px; }

.knowledge-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
}

.knowledge-card-date { font-size: 11px; color: var(--text-light); }

/* ===== ABOUT ===== */
.about-section {
  background: #fff;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 840px;
}

.about-icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.about-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-content p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 12px; color: var(--text-light); }
.footer-copy { font-size: 11px; color: var(--text-light); }


/* ===== IMAGE REPLACEMENTS v2 ===== */
.hero-house { display: none !important; }
.case-card-img, .company-card-img, .knowledge-card-img { background-size: cover !important; background-position: center !important; }
.case-img-placeholder { color: transparent !important; }
.case-img-1, .cimg-1, .kimg-1 { background-image: url("assets/simple.jpg") !important; }
.case-img-2, .cimg-2, .kimg-2 { background-image: url("assets/natural.jpg") !important; }
.case-img-3, .cimg-4, .kimg-3 { background-image: url("assets/carport.jpg") !important; }
.case-img-4, .cimg-5, .kimg-4 { background-image: url("assets/entrance.jpg") !important; }
.cimg-3 { background-image: url("assets/hero.jpg") !important; }


/* ===== Customizer editable theme adjustments ===== */
.case-card-img,
.company-card-img,
.knowledge-card-img {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.hero-bg-css {
  pointer-events: none;
}
@media (max-width: 768px) {
  .site-header { height: auto; padding: 12px 18px; flex-direction: column; gap: 12px; }
  .header-nav { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .hero { height: auto; min-height: 480px; align-items: flex-start; }
  .hero-content { padding: 72px 24px 140px; max-width: 100%; }
  .hero-title { font-size: 30px; }
  .search-bar-wrap { padding: 18px; }
  .search-bar { display: grid; grid-template-columns: 1fr; max-width: 100%; }
  .search-select, .search-select-wrap, .search-select-wrap2 { border-right: none; border-bottom: 1px solid var(--border); }
  .search-btn { min-height: 52px; justify-content: center; }
  .section { padding: 48px 20px; }
  .case-grid, .area-inner, .knowledge-grid { grid-template-columns: 1fr !important; }
  .area-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .company-grid { grid-template-columns: 1fr !important; }
  .about-inner { grid-template-columns: 1fr !important; }
}


/* ===== V5 EDITABLE LINK HELPERS ===== */
.knowledge-card-link,
.company-card-link,
.case-card-link-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
}
.knowledge-card-link:hover,
.company-card-link:hover,
.case-card-link-wrap:hover {
  color: inherit;
}


.hero-label {
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .22em;
  font-size: 12px;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
}
.about-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.about-icon-box {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 28px;
  color: var(--brown);
}
.about-icon-box img {
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
}
.search-btn {
  justify-content: center;
}





/* ===== v8 customizer-driven footer ===== */
.site-footer{
    background: var(--footer-bg, #f8f6f2);
    padding: var(--footer-padding, 40px) 20px;
    border-top:1px solid #ece7df;
}
.footer-links{
    display:flex;
    justify-content:center;
    gap: var(--footer-link-gap, 24px);
    flex-wrap:wrap;
    margin-bottom:18px;
}
.footer-links a{
    color: var(--footer-link-color, #8a847c);
    font-size: var(--footer-font-size, 14px);
    font-weight:400;
    text-decoration:none;
}
.footer-links a:hover{
    opacity:.8;
}
.copyright{
    text-align:center;
    color: var(--footer-copyright-color, #a59e95);
    font-size:13px;
}
@media (max-width: 768px){
    .footer-links{
        gap: 12px 18px;
    }
    .site-footer{
        padding: 32px 16px;
    }
}



/* ===== v9 company detail page ===== */
.hgg-company-page { background:#f8f4ee; color:#2b241e; }
.hgg-wrap{max-width:1120px;margin:0 auto;padding:0 28px}
.hgg-breadcrumb{background:#fff;border-bottom:1px solid #e3d6c7;color:#75695e;font-size:12px;padding:12px 0}
.hgg-company-hero{background:#fff;padding:64px 0 0}
.hgg-company-head{text-align:center;margin-bottom:34px}
.hgg-en-small{font-family:Georgia,serif;letter-spacing:.24em;color:#8b6f47;font-size:12px;margin-bottom:10px}
.hgg-en-main{font-family:Georgia,"Times New Roman",serif;font-size:66px;line-height:1.08;color:#9b8a83;font-weight:400;margin-bottom:16px}
.hgg-company-head h1{font-family:"Noto Serif JP","Hiragino Mincho ProN",serif;font-size:32px;letter-spacing:.08em;font-weight:600;margin-bottom:14px}
.hgg-company-head p{color:#75695e;max-width:760px;margin:0 auto;font-size:15px}
.hgg-hero-visual{max-width:980px;height:390px;margin:0 auto;background-size:cover;background-position:center;border:1px solid #e3d6c7;box-shadow:0 18px 48px rgba(43,33,24,.08)}
.hgg-quick-summary{background:linear-gradient(90deg,#f3ebe1,#fffaf4);border-top:1px solid #e3d6c7;border-bottom:1px solid #e3d6c7;padding:30px 0;margin-top:46px}
.hgg-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e3d6c7;border:1px solid #e3d6c7}
.hgg-summary-item{background:#fff;padding:20px}
.hgg-summary-item span{display:block;color:#9a9086;font-size:12px;margin-bottom:4px}
.hgg-summary-item strong{font-size:15px}
.hgg-section{padding:66px 0}
.hgg-section.white{background:#fff}
.hgg-section-head{margin-bottom:28px}
.hgg-sec-label{font-family:Georgia,serif;color:#8b6f47;letter-spacing:.22em;font-size:12px;margin-bottom:6px}
.hgg-section-title{font-family:"Noto Serif JP","Hiragino Mincho ProN",serif;font-size:30px;font-weight:600;line-height:1.45}
.hgg-overview-layout{display:grid;grid-template-columns:1.18fr .82fr;gap:28px;align-items:start}
.hgg-info-card,.hgg-summary-card,.hgg-panel{background:#fff;border:1px solid #e3d6c7;box-shadow:0 18px 48px rgba(43,33,24,.08);padding:32px}
.hgg-info-table{width:100%;border-collapse:collapse}
.hgg-info-table th,.hgg-info-table td{border-bottom:1px solid #e3d6c7;padding:16px 0;text-align:left;vertical-align:top;font-size:14px}
.hgg-info-table tr:last-child th,.hgg-info-table tr:last-child td{border-bottom:none}
.hgg-info-table th{width:150px;color:#75695e;font-weight:700}
.hgg-official-link{color:#604832;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.hgg-summary-card-title{font-family:"Noto Serif JP",serif;font-size:24px;margin-bottom:16px}
.hgg-summary-card p{color:#75695e;font-size:14px}
.hgg-summary-point{border-top:1px solid #e3d6c7;margin-top:18px;padding-top:18px}
.hgg-summary-point h3{font-size:16px;margin-bottom:8px}
.hgg-mini-cta{margin-top:24px}
.hgg-btn{display:inline-block;background:#8b6f47;color:#fff!important;padding:14px 32px;font-weight:700}
.hgg-btn:hover{background:#604832}
.hgg-btn-outline{display:inline-block;border:1px solid #8b6f47;color:#604832!important;padding:12px 26px;font-weight:700;background:#fff}
.hgg-works-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hgg-work-card{background:#fff;border:1px solid #e3d6c7;overflow:hidden}
.hgg-work-img{height:170px;background-size:cover;background-position:center}
.hgg-work-body{padding:16px}
.hgg-work-body h3{font-size:15px;margin-bottom:4px}
.hgg-work-body p{color:#75695e;font-size:12px}
.hgg-two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.hgg-tag-list,.hgg-area-list{display:flex;flex-wrap:wrap;gap:10px}
.hgg-tag,.hgg-area{background:#efe7dc;color:#5c4d3a;padding:8px 14px;font-size:13px;font-weight:600}
.hgg-area{background:#fff;border:1px solid #e3d6c7}
.hgg-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hgg-feature-card{background:#fff;border:1px solid #e3d6c7;padding:28px;min-height:218px}
.hgg-feature-no{font-family:Georgia,serif;letter-spacing:.18em;color:#8b6f47;font-size:12px;margin-bottom:10px}
.hgg-feature-card h3{font-size:19px;margin-bottom:12px}
.hgg-feature-card p{color:#75695e;font-size:14px}
.hgg-recommend-box{background:linear-gradient(90deg,#f1e8dc,#fffaf4);border:1px solid #e3d6c7;padding:34px}
.hgg-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 26px}
.hgg-check{font-weight:700;font-size:15px}
.hgg-check::before{content:"✓";color:#8b6f47;margin-right:8px}
.hgg-site-comment-box{display:grid;grid-template-columns:260px 1fr;gap:26px;background:#fff;border:1px solid #e3d6c7;box-shadow:0 18px 48px rgba(43,33,24,.08);padding:32px}
.hgg-comment-side{background:#f4eee6;padding:22px}
.hgg-comment-side h3{font-family:"Noto Serif JP",serif;font-size:22px;line-height:1.5;margin-bottom:10px}
.hgg-comment-side p{color:#75695e;font-size:13px}
.hgg-site-comment{border-left:4px solid #8b6f47;padding-left:24px;color:#4f453b}
.hgg-note-box{background:#fff;border:1px solid #e3d6c7;padding:24px;color:#75695e;font-size:13px}
.hgg-cta{text-align:center;background:#fff;border:1px solid #e3d6c7;padding:46px 30px;box-shadow:0 18px 48px rgba(43,33,24,.08)}
.hgg-cta h2{font-family:"Noto Serif JP",serif;font-size:28px;margin-bottom:10px}
.hgg-cta p{color:#75695e;margin-bottom:22px}
.hgg-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hgg-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hgg-related-card{background:#fff;border:1px solid #e3d6c7;padding:22px}
.hgg-related-card h3{font-size:16px;margin-bottom:8px}
.hgg-related-card p{color:#75695e;font-size:13px}
@media(max-width:900px){
  .hgg-company-hero{padding:46px 0 0}
  .hgg-en-main{font-size:42px}
  .hgg-company-head h1{font-size:25px}
  .hgg-hero-visual{height:280px}
  .hgg-summary-grid,.hgg-overview-layout,.hgg-works-grid,.hgg-feature-grid,.hgg-two-col,.hgg-check-grid,.hgg-site-comment-box,.hgg-related-grid{grid-template-columns:1fr}
  .hgg-section{padding:46px 0}
  .hgg-info-card,.hgg-summary-card,.hgg-panel{padding:24px}
  .hgg-info-table th{width:112px}
}
