@media (max-width: 767px) {
    .main-bg img {
        object-position: 80% center;
    }
}

.divider {
    width:100vw;
    height:1px;
    background-color:#ddd;
    margin-left:calc(50% - 50vw);
    margin-bottom: 3rem;
}

.hex-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: auto;
  background: var(--brass-400); /* 好きな色に */
  color: #fff;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  margin-right: 0.15em;
}

/*
　六本の柱
--------------------------------------*/
/* CMSのグリッド構造を上書き：3列×2行に */
.values-hex.lay-row{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:28px 14px !important;
  margin:0 !important;
  width:100% !important;
}

/* CMSが振っている lay-col12-xs-4 / md-4 / lg-4 の幅指定を無効化 */
.values-hex.lay-row > [class*="lay-col"]{
  width:100% !important;
  max-width:100% !important;
  flex:none !important;
  float:none !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

/* 六角形本体：正六角形の比率（横:縦 ≒ 1.15:1）に修正 */
.vhc-inner{
  /*clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);*/
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:var(--navy);
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  width:100% !important;
  /*aspect-ratio:1.15/1;*/   /* ← ここを 0.87/1 → 1.15/1 に変更 */
  aspect-ratio: 0.866 / 1; /* 正六角形になる正しい比率(√3:2) */
  max-width:180px;       /* 3列にすると1つあたりが横に広くなりすぎるので上限を設定 */
  margin:0 auto !important;
  transition:background .3s, transform .3s;
  padding:0 !important;
}

.vhc-inner .vn {
  font-family:'JetBrains Mono',monospace;
  font-size:16px;
  color:var(--brass-400);
  margin:0 0 8px !important;
}

.vhc-inner .vt {
  font-size: 18px;
  font-family:'Noto Serif JP',serif;
  font-weight: 700;
  margin:0 !important;
}

/*
　強み
--------------------------------------*/
.strengths .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.strength-visual {
    aspect-ratio:1/1; position:relative;
    background:var(--navy);
    display:flex;
    align-items:center;
    justify-content:center;
}
.strength-visual .hex-ring {
    position: absolute;
    border:1px solid rgba(201,162,104,0.25);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.strength-visual .r1 {
    width:88%;
    height:88%;
}
.strength-visual .r2 {
    width:64%;
    height:64%;
    border-color:rgba(201,162,104,0.4);
}
.strength-visual .r3 {
    width:38%;
    height:38%;
    background:var(--brass-500);
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-family:'Noto Serif JP',serif;
    font-weight:700;
    text-align:center;
    padding:10px;
}
.strength-list {
    display:flex;
    flex-direction:column;
    gap:0;
}
.strength-item {
    display:flex; gap:24px;
    padding:28px 0;
    border-bottom:1px solid #E4E7EB;
}
.strength-item:first-child {
    padding-top:0;
}
.strength-idx {
    font-family:'JetBrains Mono',monospace;
    color:var(--brass-400);
    padding-top:4px;
}
.strength-item h3 {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 8px;
}
.strength-item p {
    font-size: 16px;
    margin-bottom: 0;
}

/*
　業務内容
--------------------------------------*/

/* ===== デスクトップ（基本レイアウト） ===== */
 .honeycomb{
    position:relative;
    width:625px; max-width:100%;
    height:433px;
    margin:20px auto 0;
  }
  .hex-cell{
    position:absolute;
    width:250px; height:216.5px;
    left:50%; top:50%;
  }
  .hex-cell.main{ transform:translate(-50%,-50%); z-index:2; }
  .hex-cell.pos-ul{ transform:translate(calc(-50% - 187.5px), calc(-50% - 108.25px)); }
  .hex-cell.pos-ur{ transform:translate(calc(-50% + 187.5px), calc(-50% - 108.25px)); }
  .hex-cell.pos-ll{ transform:translate(calc(-50% - 187.5px), calc(-50% + 108.25px)); }
  .hex-cell.pos-lr{ transform:translate(calc(-50% + 187.5px), calc(-50% + 108.25px)); }
  .hex-cell-inner{
    width:100%; height:100%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background:var(--navy);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center; padding:0 34px;
    color:#fff;
    transition:background .3s, transform .3s;
  }
  .hex-cell.main .hex-cell-inner {
      background: var(--brass-400);
  }
  .hex-cell-inner:hover {
      background:var(--navy);
      transform:scale(1.035);
      z-index:3; 
      position:relative;
  }
  .hex-cell.main .hex-cell-inner:hover {
      background: var(--brass-400);
  }
  .hex-num{ 
      font-family:'JetBrains Mono',monospace;
      font-size:11px;
      color:var(--brass-400);
      letter-spacing:0.12em;
      margin-bottom:10px;
  }
  .hex-cell.main .hex-num {
      color: rgba(255,255,255,0.85);
  }
  .hex-cell-inner h3 {
      color: #fff;
      font-size:15.5px;
      font-weight:500;
      font-family:'Noto Serif JP',serif;
      line-height:1.4;
      margin: 0;
  }
  .hex-cell-inner p {
      font-size:11px;
      color:#fff;
      margin-top:8px;
      margin-bottom: 0;
      line-height:1.55;
  }
  .hex-cell.main .hex-cell-inner p{color:rgba(255,255,255,0.85);}

/* ===== モバイル（画面幅860px以下）での上書き ===== */
@media (max-width:860px){
  .honeycomb{
    position:static; width:auto; height:auto;
    display:flex; flex-direction:column; align-items:center; gap:16px;
  }
  .hex-cell,
  .hex-cell.main,
  .hex-cell.pos-ul, .hex-cell.pos-ur, .hex-cell.pos-ll, .hex-cell.pos-lr{
    position:static; transform:none;
    width:200px; height:173.2px;
  }
}

/* ===== Technique list (対応工種) ===== */
  .technique-block{
    margin-top:88px; padding-top:56px; border-top:1px solid #DFE3E7;
  }
  .technique-head{
    display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:16px;
    margin-bottom:32px;
  }
  .technique-head .section-tag{margin-bottom:0;}
  .technique-head p{font-size:13px; color:var(--ink-600);}
  .technique-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
    background:#ccc; border:1px solid #ccc;
  }
  .technique-item {
    background:#fff;
    padding:22px 24px;
    display:flex; align-items:center; gap:16px;
    transition:background .25s;
  }
  .technique-item:hover{background:var(--navy);}
  .technique-item:hover .t-idx{color:var(--brass-400);}
  .technique-item:hover .t-name{color:#fff;}
  .t-idx{
    font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--brass-400);
    flex-shrink:0; transition:color .25s;
  }
  .t-name{font-size:14.5px; font-weight:500; color:var(--navy); transition:color .25s;}


@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@500;600&display=swap");

:root {
  --philosophy-bg: #f3f1ec;
  --philosophy-text: #222b2d;
  --philosophy-muted: #727a78;
  --philosophy-accent: #9b7453;
  --philosophy-line: rgba(34, 43, 45, 0.2);
}

.philosophy {
  position: relative;
  overflow: hidden;
  padding: 120px 24px;
  color: var(--philosophy-text);
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      rgba(155, 116, 83, 0.08) 50%,
      transparent calc(50% + 1px)
    ),
    var(--philosophy-bg);
}

.philosophy::before,
.philosophy::after {
  position: absolute;
  content: "";
  width: 180px;
  height: 180px;
  border: 1px solid rgba(155, 116, 83, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.philosophy::before {
  top: -80px;
  right: 8%;
}

.philosophy::after {
  bottom: -110px;
  left: 7%;
}

.philosophy__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.philosophy__eyebrow {
  margin: 0 0 18px;
  color: var(--philosophy-accent);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.philosophy__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.philosophy__content {
  max-width: 760px;
  margin: 72px auto 0;
}

.philosophy__lead {
  margin: 0;
  color: var(--philosophy-text);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(25px, 3.2vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.philosophy__text {
  margin-left: 1rem;
  padding-left: 32px;
  border-left: 1px solid var(--philosophy-accent);
  color: var(--philosophy-muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 2.4;
}

.philosophy__text p {
  margin: 0;
}

.philosophy__text p + p {
  margin-top: 24px;
}

.philosophy__closing {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--philosophy-line);
  color: var(--philosophy-accent);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.12em;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .philosophy {
    padding: 80px 20px;
    background: var(--philosophy-bg);
  }

  .philosophy::before,
  .philosophy::after {
    width: 120px;
    height: 120px;
  }

  .philosophy__content {
    margin-top: 52px;
  }

  .philosophy__lead {
    margin-bottom: 32px;
  }

  .philosophy__text {
    padding-left: 20px;
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 2.2;
  }

  .philosophy__closing {
    margin-top: 48px;
    text-align: left;
  }
}