/* ogata_business(1).css */

    :root{
      --bg:#faf8f4;
      --bg-soft:#f3eee7;
      --text:#24292d;
      --muted:#697177;
      --line:#ddd3c7;
      --orange:#e56a17;
      --orange-deep:#cb5d12;
      --dark:#1d2326;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:"Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
      background:var(--bg);
      color:var(--text);
      line-height:1.9;
      letter-spacing:.02em;
    }
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%}
    .container{width:min(1240px, calc(100% - 56px));margin:0 auto}

    /* header */
    header{
      position:fixed;
      inset:0 0 auto 0;
      z-index:100;
      background:#ffffff;
      border-bottom:1px solid #ececec;
      backdrop-filter:none;
      transition:background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    }
    header.scrolled{
      background:#ffffff;
      border-bottom:1px solid #ececec;
      backdrop-filter:none;
    }
    .header-inner{
      min-height:52px;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:16px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      color:#111111;
      white-space:nowrap;
      text-shadow:none;
    }
    .brand-logo{
      display:flex;
      align-items:center;
    }
    .brand-logo img{
      height:48px;
      width:auto;
      filter:drop-shadow(0 1px 2px rgba(0,0,0,.14)) contrast(1.06);
    }
    .brand-copy{
      display:flex;
      flex-direction:column;
      gap:2px;
      line-height:1.2;
    }
    .brand-copy strong{
      font-size:16px;
      font-weight:800;
      letter-spacing:.10em;
    }
    .brand-copy span{
      font-size:9px;
      opacity:.72;
      letter-spacing:.08em;
    }
    nav{
      display:flex;
      align-items:center;
      gap:24px;
      color:#111111;
      font-size:12px;
      font-weight:700;
      text-shadow:none;
      white-space:nowrap;
      height:48px;
      line-height:48px;
    }
    nav a{
      position:relative;
      display:flex;
      align-items:center;
      height:48px;
      padding-bottom:0;
      opacity:.95;
    }
    nav a:not(.nav-cta)::after{
      content:"";
      position:absolute;
      left:0;
      bottom:8px;
      width:0;
      height:2px;
      background:var(--orange);
      transition:width .25s ease;
    }
    nav a:not(.nav-cta):hover::after{
      width:100%;
    }
    .nav-cta{
      padding:7px 12px;
      background:linear-gradient(180deg, var(--orange), var(--orange-deep));
      color:#fff;
      border:1px solid rgba(255,255,255,.18);
      box-shadow:0 8px 20px rgba(203,93,18,.20);
    }

    header.scrolled .brand{
      color:var(--dark);
    }
    header.scrolled nav{
      color:var(--dark);
    }
    header.scrolled .brand-copy span{
      opacity:.70;
    }
    header.scrolled nav a:not(.nav-cta):hover{
      color:var(--dark);
    }

    main{padding-top:48px}
    .page-title{
      padding:96px 0 72px;
      background:#ffffff;
      border-bottom:none;
    }
    .page-kicker{
      display:inline-flex;
      align-items:center;
      gap:12px;
      color:var(--orange-deep);
      font-size:13px;
      letter-spacing:.18em;
      text-transform:uppercase;
      margin-bottom:18px;
    }
    .page-kicker::before{
      content:"";
      width:38px;
      height:2px;
      background:var(--orange);
    }
    h1{
      margin:0;
      font-size:clamp(42px,6vw,76px);
      line-height:1.2;
      font-weight:500;
      letter-spacing:.06em;
      color:var(--dark);
    }
    .page-lead{
      margin:28px 0 0;
      max-width:760px;
      color:var(--muted);
      font-size:16px;
    }


    .page-title-grid{
      display:grid;
      grid-template-columns:1fr 300px;
      gap:56px;
      align-items:start;
    }
    .business-index{
      background:#fff;
      border-left:1px solid var(--line);
      padding-left:28px;
      position:sticky;
      top:72px;
    }
    .business-index-title{
      font-size:12px;
      letter-spacing:.18em;
      color:var(--orange-deep);
      font-weight:800;
      text-transform:uppercase;
      margin-bottom:14px;
    }
    .business-index a{
      display:grid;
      grid-template-columns:30px 1fr;
      gap:10px;
      align-items:center;
      padding:8px 0;
      color:var(--dark);
      font-size:13px;
      font-weight:700;
      border-bottom:1px solid rgba(221,211,199,.55);
      transition:color .2s ease;
    }
    .business-index a:hover{
      color:var(--orange-deep);
    }
    .business-index span{
      color:var(--orange);
      font-size:12px;
      font-weight:800;
      font-variant-numeric:tabular-nums;
    }
    .business-item{
      scroll-margin-top:64px;
    }

    .business-list{
      background:#fff;
    }
    .business-item{
      padding:12px 0 0;
    }
    
    .business-grid{
      display:grid;
      grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);
      gap:72px;
      align-items:center;
      padding-bottom:72px;
      border-bottom:1px solid var(--line);
    }
    .business-item:last-child .business-grid{
      border-bottom:72px;
      padding-bottom:1px solid var(--line);
    }
    .item-num{
      color:var(--orange);
      font-size:13px;
      letter-spacing:.18em;
      font-weight:800;
      margin-bottom:18px;
    }
    .item-title{
      margin:0;
      font-size:clamp(28px,3.6vw,46px);
      line-height:1.38;
      font-weight:500;
      color:var(--dark);
      letter-spacing:.03em;
    }
    .item-title small{
      display:block;
      margin-top:12px;
      color:var(--orange-deep);
      font-size:13px;
      letter-spacing:.16em;
      font-weight:800;
      text-transform:uppercase;
    }
    .item-text{
      margin:24px 0 0;
      color:var(--muted);
      font-size:15px;
      max-width:560px;
    }
    .item-points{
      margin:26px 0 0;
      display:grid;
      gap:10px;
      color:#555f65;
      font-size:14px;
    }
    .item-points div{
      display:grid;
      grid-template-columns:18px 1fr;
      gap:10px;
      align-items:start;
    }
    .item-points div::before{
      content:"";
      width:7px;
      height:7px;
      margin-top:11px;
      background:var(--orange);
    }
    .item-photo{
      min-height:390px;
      background-size:cover;
      background-position:center;
    }

    .equipment-simple{
      margin-top:30px;
      display:grid;
      gap:12px;
      color:var(--muted);
      font-size:14px;
    }
    .equipment-row{
      display:grid;
      grid-template-columns:150px 1fr;
      gap:18px;
      padding-bottom:12px;
      border-bottom:1px solid rgba(221,211,199,.75);
    }
    .equipment-row strong{
      color:var(--dark);
      font-weight:800;
    }

    .cta{
      background:#ffffff;
      padding:82px 0;
      border-bottom:1px solid var(--line);
    }
    .cta-grid{
      display:grid;
      grid-template-columns:1fr auto;
      gap:36px;
      align-items:end;
    }
    .cta h2{
      margin:0;
      font-size:clamp(30px,4vw,48px);
      line-height:1.4;
      font-weight:500;
      color:var(--dark);
    }
    .cta p{
      margin:18px 0 0;
      color:var(--muted);
      max-width:680px;
    }
    .cta-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:52px;
      padding:0 24px;
      background:linear-gradient(180deg,var(--orange),var(--orange-deep));
      color:#fff;
      font-weight:700;
      white-space:nowrap;
      box-shadow:0 12px 26px rgba(203,93,18,.22);
    }

    @media(max-width:1080px){
      nav{display:none}

      .page-title-grid{
        grid-template-columns:1fr;
        gap:32px;
      }
      .business-index{
        position:static;
        border-left:none;
        border-top:none;
        padding-left:0;
        padding-top:22px;
      }
      .business-grid,
.cta-grid{
        grid-template-columns:1fr;
      }
      .business-grid{
        gap:32px;
        padding-bottom:56px;
      }
      .item-photo{min-height:300px}
    }
    @media(max-width:760px){
      .container{width:min(1180px,calc(100% - 32px))}
      .page-title{padding:72px 0 52px}
      .business-item{padding:58px 0}
      .equipment-row{grid-template-columns:1fr}
    }

.business-top-line{
  border-top:1px solid var(--line);
  margin-bottom:36px;
}

#business07 .business-grid{
  padding-bottom:56px;
  border-bottom:1px solid var(--line);
}

  
/* equipment modal */
.equipment-overview{
  margin-top:30px;
  display:grid;
  gap:12px;
}
.equipment-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  padding:16px 18px;
  border:1px solid var(--line);
  background:#fff;
}
.equipment-card strong{
  display:block;
  color:var(--dark);
  font-size:15px;
}
.equipment-card span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:13px;
}
.equipment-detail-btn{
  border:none;
  background:#111;
  color:#fff;
  padding:9px 16px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  cursor:pointer;
  border-radius:3px;
  transition:.25s;
}
.equipment-detail-btn:hover{
  background:var(--orange);
}
.equipment-total{
  margin-top:14px;
  padding:20px;
  border:1px solid var(--line);
  background:#fff7f0;
}
.equipment-total strong{
  display:block;
  color:var(--orange-deep);
  font-size:13px;
  letter-spacing:.12em;
}
.equipment-total span{
  display:block;
  margin-top:4px;
  color:var(--dark);
  font-size:24px;
  font-weight:800;
}

.equipment-modal{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
}
.equipment-modal.is-open{
  display:block;
}
.equipment-modal-bg{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
}
.equipment-modal-panel{
  position:relative;
  width:min(920px, calc(100% - 40px));
  max-height:84vh;
  overflow:auto;
  margin:8vh auto 0;
  background:#fff;
  padding:34px;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}
.equipment-modal-close{
  position:absolute;
  top:16px;
  right:18px;
  width:36px;
  height:36px;
  border:none;
  background:#111;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.equipment-modal-title{
  margin:0 0 8px;
  color:var(--dark);
  font-size:26px;
  font-weight:600;
}
.equipment-modal-lead{
  margin:0 0 24px;
  color:var(--muted);
  font-size:14px;
}
.equipment-modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.equipment-modal-section{
  margin-top:22px;
}
.equipment-modal-section h4{
  margin:0 0 10px;
  color:var(--orange-deep);
  font-size:15px;
}
.equipment-table{
  border-top:1px solid var(--line);
}
.equipment-table div{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  padding:9px 0;
  border-bottom:1px solid rgba(221,211,199,.75);
  font-size:13px;
}
.equipment-table strong{
  color:var(--dark);
}
.equipment-table span{
  color:var(--muted);
  font-weight:700;
  white-space:nowrap;
}
@media(max-width:760px){
  .equipment-card{
    grid-template-columns:1fr;
  }
  .equipment-detail-btn{
    width:100%;
  }
  .equipment-modal-panel{
    padding:28px 22px;
    margin:6vh auto 0;
  }
  .equipment-modal-grid{
    grid-template-columns:1fr;
    gap:0;
  }
}
.field-gallery{
  display:grid;
  gap:14px;
}

.field-main{
  min-height:390px;
  background-size:cover;
  background-position:center;
}

.field-sub-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.field-sub-grid div{
  min-height:110px;
  background-size:cover;
  background-position:center;
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important;transition:none !important;animation:none !important;}
}
/* ===== スマホ時フッター調整 ===== */
@media(max-width:760px){

  footer{
    padding-bottom:18px;
  }

  .footer-line{
    margin-bottom:18px;
  }

  .footer-top{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    text-align:center;
    justify-items:center;
  }

  .footer-logo-wrap{
    margin:18px 0 2px;
    justify-content:center;
  }

  .footer-brand p{
    font-size:12px;
    line-height:1.5;
  }

  .footer-links{
    grid-template-columns:repeat(2, auto);
    gap:8px 22px;
    margin-top:10px;
    padding-top:0;
    justify-content:center;
    font-size:12px;
  }

  .footer-cta{
    justify-self:center;
    margin-top:8px;
    padding:11px 22px;
    font-size:12px;
  }

  .footer-bottom{
    margin-top:18px;
    padding-top:12px;
    font-size:11px;
  }
}
/* ===== スマホ：余白圧縮 ===== */
@media(max-width:760px){

  /* セクション全体 */
  .business-item{
    padding:24px 0;
  }

  /* コンテンツブロック間 */
  .business-grid{
    gap:20px;
    padding-bottom:32px;
  }

  /* タイトル下 */
  .item-text{
    margin-top:16px;
  }

  .item-points{
    margin-top:16px;
    gap:8px;
  }

  /* 画像 */
  .item-photo{
    min-height:220px;
  }

  /* ページタイトル */
  .page-title{
    padding:56px 0 36px;
  }

  .page-lead{
    margin-top:18px;
  }

  /* CTA */
  .cta{
    padding:48px 0;
  }

}

/* moved inline styles */

.u-inline-01{background-image:url('../images/product_01.webp');}

.u-inline-02{background-image:url('../images/product_02.webp');}

.u-inline-03{background-image:url('../images/product_03.webp');}

.u-inline-04{background-image:url(../images/product_04.webp);}

.u-inline-05{background-image:url(../images/product_05.webp);}

.u-inline-06{background-image:url('../images/product_06.webp');}

.u-inline-07{background-image:url('../images/product_07.webp');}

.u-inline-08{background-image:url('../images/product_08.webp');}

.u-inline-09{background-image:url('../images/product_09.webp');background-position:center 60%;}

.u-inline-10{background-image:url('../images/product_10.webp');background-position:center 45%;}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important;transition:none !important;animation:none !important;}
}

/* ===== スマホメニュー 共通完成版 ===== */
.menu-toggle{
  display:none;
}

.menu-overlay{
  display:none;
}

@media (max-width:780px){

  body.menu-open{
    overflow:hidden;
  }

  header{
    z-index:500 !important;
  }

  .header-inner{
    position:relative;
    align-items:center;
  }

  .menu-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:44px;
    height:44px;
    margin-left:auto;
    border:none;
    background:transparent;
    cursor:pointer;
    z-index:700 !important;
    padding:0;
  }

  .menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    background:#111;
    transition:.2s ease;
  }

  .menu-toggle.is-open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2){
    opacity:0;
  }

  .menu-toggle.is-open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  header nav{
    display:none;
    position:absolute;
    top:52px;
    left:0;
    width:100%;
    height:auto;
    line-height:1.5;
    background:#fff;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
    padding:16px 18px;
    flex-direction:column;
    gap:12px;
    z-index:600 !important;
    transform:translateY(-10px);
    opacity:0;
    transition:.25s ease;
  }

  header nav.is-open{
    display:flex;
    transform:translateY(0);
    opacity:1;
  }

  header nav a{
    display:block;
    width:100%;
    height:auto;
    line-height:1.5;
    padding:16px 14px;
    font-size:16px;
    font-weight:800;
    text-align:left;
    border:1px solid #ddd;
    background:#fff;
    border-radius:4px;
    transition:.15s ease;
  }

  header nav a::after{
    display:none !important;
  }

  header nav a:hover{
    background:#f7f7f7;
  }

  header nav a:active{
    transform:scale(.98);
    background:#eee;
  }

  header nav a.active{
    background:var(--orange);
    color:#fff;
    border-color:var(--orange);
  }

  .menu-overlay{
    display:none;
    position:fixed;
    inset:52px 0 0 0;
    background:rgba(0,0,0,.35);
    z-index:300 !important;
  }

  .menu-overlay.is-open{
    display:block;
  }
}

@media(max-width:760px){

  /* 05だけ適用 */
  #business05 .item-photo{
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
    background-color:#fff;
    min-height:260px;
  }

}

@media(max-width:760px){

  /* 01のメイン画像だけ */
  #business01 .field-main{
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
    background-color:#fff;
    min-height:260px;
  }

}
