/* 総務部長ドットコム：現行ペライチ埋め込み(gwc)のCSSを移植（#gwc スコープのまま） */

#gwc{
  --primary:#147d6f;
  --primary-hover:#0f6a5e;
  --dark:#0a3f39;
  --light-green:#bfe3dc;
  --pale:#eaf5f2;
  --text:#2c2c2c;
  --border:#c3ddd7;
  --white:#ffffff;
  --muted:#5f6d69;
  --shadow:0 14px 36px rgba(10,63,57,.08);
  --radius:20px;
  --radius-sm:12px;
  --max:1160px;
}#gwc *{
  box-sizing:border-box;
}#gwc{
  scroll-behavior:smooth;
  overflow-x:hidden;
}#gwc{
  margin:0;
  color:var(--text);
  background:var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size:16px;
  line-height:1.8;
  overflow-x:hidden;
  word-break:normal;
  overflow-wrap:anywhere;
}#gwc a{
  color:inherit;
}#gwc img, #gwc svg{
  max-width:100%;
}#gwc button, #gwc a{
  -webkit-tap-highlight-color:transparent;
}#gwc .container{
  width:min(calc(100% - 40px),var(--max));
  margin-inline:auto;
}#gwc .section{
  padding:92px 0;
}#gwc .section.alt{
  background:var(--pale);
}#gwc .section.dark{
  background:var(--dark);
  color:var(--white);
}#gwc .section-head{
  max-width:850px;
  margin:0 auto 48px;
}#gwc .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  color:var(--primary);
  font-size:14px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.08em;
}#gwc .eyebrow::before{
  content:"";
  width:24px;
  height:3px;
  border-radius:99px;
  background:var(--primary);
}#gwc .section.dark .eyebrow{
  color:var(--light-green);
}#gwc .section.dark .eyebrow::before{
  background:var(--light-green);
}#gwc h1, #gwc h2, #gwc h3, #gwc p{
  margin-top:0;
}#gwc h1{
  font-size:clamp(40px,5.3vw,74px);
  line-height:1.18;
  letter-spacing:-.045em;
  margin-bottom:24px;
}#gwc h2{
  margin-bottom:20px;
  color:var(--dark);
  font-size:clamp(30px,3.8vw,48px);
  line-height:1.3;
  letter-spacing:-.035em;
}#gwc .section.dark h2{
  color:var(--white);
}#gwc h3{
  color:var(--dark);
  font-size:21px;
  line-height:1.45;
  margin-bottom:12px;
}#gwc .lead{
  margin-bottom:0;
  font-size:18px;
  line-height:1.9;
}#gwc strong{
  color:var(--dark);
  font-weight:800;
}#gwc .section.dark strong{
  color:var(--white);
}/* &#x1F534; 濃緑背景の上の <strong> は既定色（--dark）だと背景と同化して読めなくなる。
   .section.dark 以外の暗背景セクションもまとめて白にする。
   .featured-section .service-card strong は詳細度が上なのでライトグリーンのまま。 */#gwc .featured-section strong, #gwc .contact-section strong, #gwc .case-message strong, #gwc .highlight-box strong, #gwc .case-title strong{
  color:var(--white);
}#gwc .marker{
  padding:0 .12em;
  background:linear-gradient(transparent 62%,var(--light-green) 62%);
}#gwc .btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}#gwc .btn{
  display:inline-flex;
  min-height:54px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 24px;
  border:2px solid var(--primary);
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  text-decoration:none;
  font-weight:800;
  line-height:1.45;
  transition:.2s ease;
}#gwc .btn:hover{
  border-color:var(--primary-hover);
  background:var(--primary-hover);
}#gwc .btn.secondary{
  background:var(--white);
  color:var(--dark);
}#gwc .btn.secondary:hover{
  background:var(--pale);
  border-color:var(--primary-hover);
}#gwc .btn.light{
  border-color:var(--white);
  background:var(--white);
  color:var(--dark);
}#gwc .btn.light:hover{
  background:var(--light-green);
  border-color:var(--light-green);
}#gwc .arrow{
  font-size:20px;
}/* Header */#gwc .site-header{
  border-bottom:1px solid var(--border);
  background:var(--white);
}#gwc .header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}#gwc .brand{
  display:flex;
  flex-direction:column;
  gap:1px;
  color:var(--dark);
  text-decoration:none;
}#gwc .brand-main{
  font-size:20px;
  line-height:1.35;
  font-weight:900;
  letter-spacing:-.02em;
}#gwc .brand-sub{
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
  font-weight:700;
}#gwc .header-contact{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary);
  text-decoration:none;
  font-weight:800;
}/* Hero */#gwc .hero{
  position:relative;
  overflow:hidden;
  padding:74px 0 84px;
  background:
    linear-gradient(120deg,var(--white) 0%,var(--white) 55%,var(--pale) 55%,var(--pale) 100%);
}#gwc .hero::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-120px;
  top:-130px;
  border:70px solid rgba(20,125,111,.07);
  transform:rotate(45deg);
}#gwc .hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);
  gap:60px;
  align-items:center;
}#gwc .hero-kicker{
  display:inline-block;
  margin-bottom:20px;
  padding:7px 13px;
  border-radius:999px;
  background:var(--dark);
  color:var(--white);
  font-size:14px;
  font-weight:800;
}#gwc .hero h1{
  color:var(--dark);
}#gwc .hero-sub{
  max-width:730px;
  margin-bottom:16px;
  font-size:21px;
  line-height:1.8;
}#gwc .hero-company{
  margin-bottom:28px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}#gwc .support-mini{
  display:grid;
  gap:9px;
  margin:26px 0 0;
}#gwc .support-mini-item{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:start;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(255,255,255,.78);
}#gwc .mini-num{
  display:flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:var(--primary);
  color:var(--white);
  font-weight:900;
}#gwc .support-mini-item strong{
  display:block;
}#gwc .support-mini-item span{
  display:block;
  color:var(--text);
  font-size:14px;
}#gwc .image-placeholder{
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  border:2px dashed #9dbbb5;
  border-radius:28px;
  background:
    linear-gradient(135deg,#f2f4f4,#dfe5e4);
  color:#61716e;
  text-align:center;
  font-weight:800;
  box-shadow:var(--shadow);
}#gwc .image-placeholder.small{
  min-height:300px;
}/* 実画像に差し替え後のスタイル */#gwc .hero-img{
  display:block;
  width:100%;
  height:auto;
  max-width:430px;
  margin:0 auto;
}#gwc .profile-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid var(--border);
}/* Shared cards */#gwc .grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}#gwc .grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}#gwc .card{
  display:flex;
  min-width:0;
  flex-direction:column;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--white);
  box-shadow:0 10px 30px rgba(10,63,57,.045);
}#gwc .card p:last-child{
  margin-bottom:0;
}#gwc .card-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border-radius:14px;
  background:var(--pale);
  color:var(--primary);
}#gwc .card-icon svg{
  width:25px;
  height:25px;
  stroke:currentColor;
}/* S2 history */#gwc .history-layout{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:54px;
  align-items:start;
}#gwc .year-panel{
  position:relative;
  padding:34px 24px;
  border-radius:24px;
  background:var(--dark);
  color:var(--white);
  text-align:center;
  box-shadow:var(--shadow);
}#gwc .year-label{
  display:block;
  color:var(--light-green);
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
}#gwc .year{
  display:block;
  margin:3px 0;
  color:var(--white);
  font-size:74px;
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.06em;
}#gwc .year-since{
  color:var(--light-green);
  font-size:17px;
  font-weight:800;
}#gwc .statement{
  margin-top:30px;
  padding:22px 25px;
  border-left:6px solid var(--primary);
  border-radius:0 14px 14px 0;
  background:var(--pale);
  color:var(--dark);
  font-size:21px;
  font-weight:900;
}/* 3 support pillars */#gwc .pillar-title{
  display:flex;
  align-items:center;
  gap:12px;
}#gwc .pillar-number{
  flex:0 0 auto;
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--primary);
  color:var(--white);
  font-size:20px;
  font-weight:900;
}#gwc .service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}#gwc .service-card{
  padding:24px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--white);
}#gwc .service-card h3{
  margin-bottom:8px;
  font-size:18px;
}#gwc .service-card p{
  margin-bottom:0;
}/* S4 featured */#gwc .featured-section{
  position:relative;
  background:var(--dark);
  color:var(--white);
}#gwc .featured-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0 49.8%,rgba(191,227,220,.055) 50%,transparent 50.2%),
    linear-gradient(0deg,transparent 0 49.8%,rgba(191,227,220,.04) 50%,transparent 50.2%);
  background-size:90px 90px;
}#gwc .featured-section .container{
  position:relative;
  z-index:1;
}#gwc .featured-section h2{
  color:var(--white);
}#gwc .featured-section .lead{
  color:var(--white);
}#gwc .featured-section .service-card{
  border-color:rgba(191,227,220,.28);
  background:rgba(255,255,255,.07);
}#gwc .featured-section .service-card h3{
  color:var(--white);
}#gwc .featured-section .service-card p{
  color:var(--white);
}#gwc .featured-section .service-card strong{
  color:var(--light-green);
}#gwc .featured-number{
  color:var(--light-green);
}#gwc .highlight-box{
  margin-top:32px;
  padding:28px 32px;
  border:2px solid var(--light-green);
  border-radius:18px;
  background:rgba(191,227,220,.09);
  color:var(--white);
  font-size:22px;
  font-weight:900;
  text-align:center;
}/* Menu */#gwc .menu-board{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 28px;
  padding:34px;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--white);
  box-shadow:var(--shadow);
}#gwc .menu-item{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:15px 0;
  border-bottom:1px dotted #a7c6c0;
}#gwc .check{
  flex:0 0 auto;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:2px;
  border:2px solid var(--primary);
  border-radius:6px;
  color:var(--primary);
  font-size:15px;
  font-weight:900;
}#gwc .menu-close{
  margin:28px 0 0;
  color:var(--dark);
  font-size:19px;
  font-weight:900;
  text-align:center;
}/* Tools */#gwc .tool-category{
  position:relative;
  padding-top:64px;
}#gwc .tool-tag{
  position:absolute;
  top:22px;
  right:22px;
  padding:5px 10px;
  border-radius:999px;
  background:var(--pale);
  color:var(--primary);
  font-size:12px;
  font-weight:900;
}#gwc .contract-note{
  margin-top:22px;
  color:var(--muted);
  font-size:13px;
}/* Steps */#gwc .steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}#gwc .steps::before{
  content:"";
  position:absolute;
  top:37px;
  left:8%;
  right:8%;
  height:2px;
  background:var(--border);
}#gwc .step{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  padding:0 12px 20px;
}#gwc .step-number{
  width:74px;
  height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 22px;
  border:7px solid var(--pale);
  border-radius:50%;
  background:var(--primary);
  color:var(--white);
  font-size:19px;
  font-weight:900;
}#gwc .step h3{
  text-align:center;
}#gwc .step p{
  margin-bottom:0;
  font-size:15px;
}/* Cases */#gwc .case-stack{
  display:grid;
  gap:24px;
}#gwc .case-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:22px;
  background:var(--white);
  box-shadow:var(--shadow);
}#gwc .case-title{
  padding:22px 26px;
  background:var(--dark);
  color:var(--white);
}#gwc .case-title h3{
  margin:0;
  color:var(--white);
  font-size:23px;
}#gwc .case-row{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  border-top:1px solid var(--border);
}#gwc .case-label{
  padding:18px 22px;
  background:var(--pale);
  color:var(--dark);
  font-weight:900;
}#gwc .case-value{
  padding:18px 22px;
}#gwc .case-message{
  margin-top:32px;
  padding:26px 30px;
  border-radius:18px;
  background:var(--dark);
  color:var(--white);
  font-size:20px;
  font-weight:900;
  text-align:center;
}/* Price */#gwc .price-card{
  position:relative;
}#gwc .price-card .price{
  margin-top:auto;
  padding-top:22px;
  color:var(--primary);
  font-size:23px;
  line-height:1.5;
  font-weight:900;
}#gwc .price-note{
  display:grid;
  gap:6px;
  margin-top:28px;
  padding:24px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--pale);
  color:var(--dark);
  font-size:19px;
  font-weight:900;
  text-align:center;
}/* Subsidies */#gwc .subsidy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:32px;
}#gwc .subsidy-card{
  display:flex;
  flex-direction:column;
  padding:30px;
  border-radius:20px;
  background:var(--white);
  color:var(--text);
}#gwc .subsidy-card h3{
  font-size:22px;
}/* FAQ */#gwc .faq-list{
  display:grid;
  gap:14px;
}#gwc .faq{
  display:grid;
  grid-template-columns:60px minmax(0,1fr);
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--white);
}#gwc .faq-mark{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:19px 10px;
  background:var(--dark);
  color:var(--light-green);
  font-size:23px;
  font-weight:900;
}#gwc .faq-body{
  padding:20px 24px;
}#gwc .faq-q{
  margin-bottom:8px;
  color:var(--dark);
  font-weight:900;
}#gwc .faq-a{
  margin-bottom:0;
}/* Sister sites */#gwc .sister-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:30px;
  border:1px solid var(--border);
  border-radius:22px;
  background:var(--white);
}#gwc .sister-card p{
  margin-bottom:26px;
}#gwc .sister-card .btn{
  margin-top:auto;
  align-self:flex-start;
}/* Company */#gwc .company-table-wrap, #gwc .table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}#gwc .company-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  border:1px solid var(--border);
  background:var(--white);
}#gwc .company-table th, #gwc .company-table td{
  padding:17px 20px;
  border-bottom:1px solid var(--border);
  text-align:left;
  vertical-align:top;
}#gwc .company-table th{
  width:230px;
  background:var(--pale);
  color:var(--dark);
  font-weight:900;
}#gwc .profile{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:38px;
  align-items:start;
  margin-top:44px;
  padding:34px;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--white);
  box-shadow:var(--shadow);
}#gwc .profile h3{
  font-size:25px;
}#gwc .profile-license{
  margin:20px 0 0;
  padding-top:18px;
  border-top:1px solid var(--border);
  font-weight:800;
}/* Contact */#gwc .contact-section{
  background:var(--dark);
  color:var(--white);
}#gwc .contact-section h2{
  color:var(--white);
}#gwc .contact-section .lead{
  color:var(--white);
}#gwc .contact-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:38px;
}#gwc .contact-card{
  display:flex;
  flex-direction:column;
  padding:26px;
  border:1px solid rgba(191,227,220,.38);
  border-radius:18px;
  background:rgba(255,255,255,.07);
  color:var(--white);
  text-decoration:none;
  transition:.2s ease;
}#gwc .contact-card:hover{
  background:rgba(255,255,255,.12);
  border-color:var(--light-green);
}#gwc .contact-card h3{
  color:var(--white);
}#gwc .contact-card p{
  margin-bottom:20px;
  color:var(--light-green);
}#gwc .contact-link{
  margin-top:auto;
  color:var(--white);
  font-weight:900;
}#gwc .phone-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:28px;
  padding:28px 30px;
  border-radius:20px;
  background:var(--white);
  color:var(--dark);
}#gwc .phone-label{
  font-weight:800;
}#gwc .phone-number{
  display:block;
  color:var(--primary);
  font-size:clamp(30px,4vw,44px);
  line-height:1.25;
  font-weight:900;
  text-decoration:none;
  letter-spacing:.02em;
}#gwc .phone-hours{
  font-size:14px;
  font-weight:700;
}/* Footer */#gwc .footer{
  padding:42px 0;
  background:#062c28;
  color:var(--white);
  font-size:14px;
}#gwc .footer strong{
  color:var(--white);
}#gwc .footer p{
  margin-bottom:8px;
}#gwc .footer-contract{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(191,227,220,.24);
  color:var(--light-green);
  font-size:12px;
}#gwc .copyright{
  margin-top:20px;
  color:var(--light-green);
  font-size:12px;
}/* Responsive */@media (max-width:860px){#gwc .section{
    padding:68px 0;
  }#gwc .container{
    width:min(calc(100% - 30px),var(--max));
  }#gwc .header-inner{
    min-height:66px;
  }#gwc .brand-main{
    font-size:17px;
  }#gwc .brand-sub{
    display:none;
  }#gwc .header-contact{
    font-size:14px;
  }#gwc .hero{
    padding:52px 0 62px;
    background:linear-gradient(180deg,var(--white) 0%,var(--white) 64%,var(--pale) 64%);
  }#gwc .hero-grid, #gwc .history-layout, #gwc .profile{
    grid-template-columns:1fr;
  }#gwc .hero-grid{
    gap:34px;
  }#gwc .hero-sub{
    font-size:18px;
  }#gwc .image-placeholder{
    min-height:340px;
  }#gwc .grid-3, #gwc .grid-2, #gwc .service-grid, #gwc .menu-board, #gwc .subsidy-grid, #gwc .contact-cards{
    grid-template-columns:1fr;
  }#gwc .year-panel{
    max-width:330px;
  }#gwc .steps{
    grid-template-columns:1fr;
    gap:0;
  }#gwc .steps::before{
    top:20px;
    bottom:20px;
    left:36px;
    right:auto;
    width:2px;
    height:auto;
  }#gwc .step{
    display:grid;
    grid-template-columns:74px minmax(0,1fr);
    gap:18px;
    padding:0 0 28px;
  }#gwc .step-number{
    margin:0;
  }#gwc .step h3{
    margin-top:7px;
    text-align:left;
  }#gwc .step p{
    grid-column:2;
    margin-top:-40px;
    padding-top:42px;
  }#gwc .case-row{
    grid-template-columns:1fr;
  }#gwc .case-label{
    padding-bottom:8px;
  }#gwc .case-value{
    padding-top:8px;
  }#gwc .phone-block{
    align-items:flex-start;
    flex-direction:column;
  }#gwc .profile{
    padding:24px;
  }
}@media (max-width:520px){#gwc{
    font-size:16px;
  }#gwc h1{
    font-size:39px;
  }#gwc h2{
    font-size:30px;
  }#gwc .section-head{
    margin-bottom:34px;
  }#gwc .btn-row{
    display:grid;
    grid-template-columns:1fr;
  }#gwc .btn{
    width:100%;
  }#gwc .support-mini-item{
    grid-template-columns:34px 1fr;
  }#gwc .mini-num{
    width:34px;
    height:34px;
  }#gwc .card, #gwc .service-card, #gwc .subsidy-card{
    padding:22px;
  }#gwc .menu-board{
    padding:20px;
  }#gwc .highlight-box, #gwc .case-message{
    padding:22px;
    font-size:18px;
  }#gwc .faq{
    grid-template-columns:48px minmax(0,1fr);
  }#gwc .faq-body{
    padding:18px;
  }#gwc .phone-number{
    font-size:31px;
  }
}

/* --- ペライチ用の上書き --- */
#gwc{max-width:100%;overflow-x:hidden}
#gwc header{position:static !important}
#gwc .fixed-cta{display:none !important}
#gwc .contact-item{background:#ffffff !important;color:#2c2c2c !important}
#gwc .contact-item b{color:#0a3f39 !important}
#gwc .contact-item span,#gwc .contact-item .go{color:#2c2c2c !important}

/* ---- SWA 移行で追加 ---- */
html,body{margin:0;padding:0;background:#fff}
#gwc .header-links{display:flex;gap:16px;align-items:center}
#gwc .header-links a.plain{color:var(--dark);font-weight:800;text-decoration:none;font-size:15px}
#gwc .fig{display:block;width:100%;height:auto;margin:28px auto 0;max-width:1000px}
#gwc .kata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#gwc .kata article{padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--white)}
#gwc .kata h3{font-size:19px;margin:0 0 8px}
#gwc .brand-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#gwc .brand-card{display:flex;flex-direction:column;padding:26px;border:1px solid var(--border);border-radius:22px;background:var(--white)}
#gwc .brand-card h3{font-size:21px;margin:0 0 4px}
#gwc .brand-card .theme{font-weight:900;color:var(--primary);margin:0 0 14px}
#gwc .brand-card dl{margin:0 0 18px}
#gwc .brand-card dt{font-weight:900;font-size:14px;color:var(--dark);margin-top:12px}
#gwc .brand-card dd{margin:4px 0 0;font-size:15px;line-height:1.8}
#gwc .brand-card ul{margin:4px 0 0;padding-left:1.2em}
#gwc .brand-card .btn{margin-top:auto}
#gwc .brand-card.hoken .theme{color:#b4546a}
#gwc .brand-card.kensetsu .theme{color:#23823a}
#gwc .small{font-size:13px;color:#555;line-height:1.7}
#gwc .two-jobs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#gwc .photo-row{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}
#gwc .photo-row img{width:240px;height:auto;border-radius:16px;border:1px solid var(--border)}
#gwc .video{position:relative;width:100%;max-width:640px;aspect-ratio:16/9;margin:0 auto}
#gwc .video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:12px}
@media (max-width:860px){#gwc .kata,#gwc .brand-cards,#gwc .two-jobs,#gwc .photo-row{grid-template-columns:1fr}#gwc .header-links a.plain{display:none}#gwc .photo-row img{width:200px}}
/* 代表ページ：明るい背景の上の締めの1行 */
#gwc .light-note{margin-top:28px;padding:24px 28px;border:2px solid var(--primary);border-radius:18px;background:var(--white);color:var(--dark);font-size:20px;font-weight:900;text-align:center}
/* 会社概要：スマホでは見出しと中身を縦に並べる（横スクロールさせない） */
@media (max-width:520px){#gwc .company-table{min-width:0}#gwc .company-table th,#gwc .company-table td{display:block;width:auto}#gwc .company-table th{border-bottom:0;padding-bottom:6px}#gwc .company-table td{padding-top:6px}}

/* gridworks：志の見出しは改行位置を固定し、少し小さく */
#gwc h1.shi{font-size:clamp(30px,5vw,56px);line-height:1.35;word-break:keep-all}

/* ---- gridworks 会社サイト：ブランドグリーン（ロゴ README：#3fa531／濃緑 #2c7523・#1e5218）。白文字が乗るボタンは濃緑 ---- */
#gwc{--primary:#2c7523;--primary-hover:#1e5218;--dark:#1e5218;--light-green:#cfe8c9;--pale:#f1f8ef}
#gwc .gw-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
#gwc .gw-brand > span{display:flex;flex-direction:column}
#gwc .gw-mark{width:40px;height:40px;color:#3fa531;flex:none}
#gwc .gw-nav{display:flex;align-items:center;gap:18px}
#gwc .gw-nav a{color:var(--dark);font-weight:800;text-decoration:none;font-size:15px}
#gwc .gw-nav a.header-contact{color:var(--primary)}
#gwc .gw-hero-chara{max-height:560px;width:auto;justify-self:center;border:0;background:transparent;box-shadow:none}
#gwc .gw-uchite article{text-align:center}
#gwc .gw-uchite img{height:180px;width:auto;display:block;margin:0 auto 14px}
#gwc .gw-foot-brand{display:flex;align-items:center;gap:10px}
#gwc .gw-foot-brand .gw-mark{color:#ffffff;width:32px;height:32px}
@media (max-width:860px){#gwc .gw-nav a:not(.header-contact){display:none}#gwc .gw-hero-chara{max-height:320px}}
@media (max-width:860px){#gwc .gw-brand .brand-sub{display:none}#gwc .gw-brand .brand-main{font-size:15px;white-space:nowrap}#gwc .gw-mark{width:30px;height:30px}#gwc .gw-brand{gap:8px}}
@media (max-width:400px){#gwc .gw-brand .brand-main{font-size:13px}#gwc .gw-nav a.header-contact{font-size:13px}}
#gwc a.brand.gw-brand{flex-direction:row !important;align-items:center}

/* ---- 複数ページ化（mp-*）：ナビ・ページ見出し・入口カード・フッターの相互リンク ---- */
.mp-nav{background:#fff;border-bottom:1px solid #e3e8e4;position:relative;z-index:5}
.mp-nav-in{display:flex;gap:4px;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:1160px;margin:0 auto;padding:0 12px;scrollbar-width:none}
.mp-nav-in::-webkit-scrollbar{display:none}
.mp-nav a{flex:none;display:block;padding:12px 14px;font-size:15px;font-weight:800;color:#2b2f2c;text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}
.mp-nav a[aria-current="page"]{color:#2c7523;border-bottom-color:#2c7523}
.mp-pagehead{background:#f1f8ef;padding:34px 0 26px}
.mp-pagehead h1{margin:0;font-size:clamp(24px,4vw,34px);line-height:1.4;color:#2c7523}
.mp-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.mp-entrance{padding:48px 0;background:#fff}
.mp-h2{font-size:24px;margin:0 0 18px;color:#2c7523}
.mp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.mp-card{display:block;padding:18px 20px;border:1px solid #d8e0d6;border-radius:12px;background:#fff;text-decoration:none;color:#2b2f2c}
.mp-card b{display:block;font-size:17px;color:#2c7523;margin-bottom:4px}
.mp-card span{font-size:14px;line-height:1.7}
.mp-card:hover{border-color:#2c7523}
.mp-empty{color:#666}
.mp-foot{font-size:13px;line-height:1.9;margin-top:12px}
.mp-foot a{color:inherit}
/* ニュース枠（scripts/build_news.py が生成） */
.mp-news{list-style:none;margin:0;padding:0;border-top:1px solid #e3e8e0}
.mp-news li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:12px 0;border-bottom:1px solid #e3e8e0;line-height:1.6}
.mp-news time{color:#666;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.mp-news-tab{display:inline-block;font-size:12px;padding:1px 8px;border:1px solid #2c7523;border-radius:999px;color:#2c7523;text-decoration:none;white-space:nowrap}
.mp-news-title{flex:1 1 320px;min-width:0;color:#222;overflow-wrap:anywhere}
.mp-news-more{margin:16px 0 4px;text-align:right}
.mp-news-note{margin:0;color:#666;font-size:12px}
@media (max-width:600px){.mp-news-title{flex-basis:100%}}
