:root { --ink:#262626; --muted:#666; --line:#e8e2d8; --paper:#fffaf1; --accent:#f8b62d; --accent-dark:#d88700; --green:#2f7d64; --shadow:0 20px 55px rgba(34,30,24,.14); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; padding-top:78px; color:var(--ink); font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.75; background:#fff; }
a { color:inherit; text-decoration:none; }
img { display:block; width:100%; height:auto; }
.header { position:fixed; top:0; left:0; width:100%; z-index:20; background:rgba(255,255,255,.72); border-bottom:1px solid rgba(38,38,38,.08); backdrop-filter:blur(18px); }
@media (max-width:800px) { .header { background:rgba(255,255,255,.92); } }
.header-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo img { width:178px; }
.nav { display:flex; align-items:center; gap:22px; font-size:14px; font-weight:700; }
.nav a:hover { color:var(--accent-dark); }
.nav .contact-link { color:#fff; background:var(--ink); padding:10px 18px; border-radius:999px; }
.hero { position:relative; min-height:560px; display:grid; align-items:end; overflow:hidden; color:#fff; background:#171717; }
.hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.52) 52%,rgba(0,0,0,.16)),url("../../../images/company/company1400.jpg") center / cover no-repeat; transform:scale(1.02); }
.hero-inner { position:relative; width:min(1120px,calc(100% - 32px)); margin:0 auto; padding:130px 0 82px; }
.kicker { margin:0 0 8px; color:var(--accent); font-size:13px; font-weight:900; letter-spacing:.08em; }
h1,h2,h3 { letter-spacing:0; }
h1 { max-width:880px; margin:0 0 20px; font-size:clamp(42px,7vw,76px); line-height:1.08; }
.hero p:not(.kicker) { max-width:720px; margin:0; font-size:clamp(17px,2.1vw,22px); }
section { padding:96px 0; }
.section-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:34px; }
h2 { margin:0; font-size:clamp(30px,4.4vw,48px); line-height:1.22; }
.lead { max-width:580px; margin:0; color:var(--muted); font-size:17px; }
.message { background:var(--paper); }
.message-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:34px; align-items:center; }
.message-photo { position:relative; border-radius:8px; overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.message-photo::after { content:""; position:absolute; inset:0; background:rgba(255,255,255,.28); backdrop-filter:blur(1px); pointer-events:none; }
.message-photo img { display:block; width:100%; height:auto; object-fit:contain; filter:brightness(1.16) saturate(.78) contrast(.92); opacity:.82; transform:none; }
.message-copy { padding:8px 0; }
.message-copy h2 { margin-bottom:20px; }
.message-copy p { margin:0 0 18px; color:#4f4a43; font-size:17px; }
.profile-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.profile-card, .equipment-card, .access-card { border-radius:8px; background:#fff; box-shadow:0 14px 42px rgba(20,20,20,.08); overflow:hidden; }
.profile-list { margin:0; }
.profile-row { display:grid; grid-template-columns:160px 1fr; gap:20px; padding:20px 24px; border-bottom:1px solid var(--line); }
.profile-row:last-child { border-bottom:0; }
.profile-row dt { font-weight:900; color:#3b352d; }
.profile-row dd { margin:0; color:var(--muted); }
.profile-row a { color:var(--accent-dark); font-weight:800; text-decoration:underline; }
.clients { padding:24px; }
.clients h3, .equipment-card h3, .access-card h3 { margin:0 0 14px; font-size:22px; }
.client-list, .equipment-list { display:grid; gap:9px; margin:0; padding:0; list-style:none; color:var(--muted); }
.client-list li, .equipment-list li { padding:10px 12px; border-radius:8px; background:#fffaf6; }
.equipment { background:var(--paper); }
.equipment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.equipment-card img { aspect-ratio:16 / 10; object-fit:cover; }
.equipment-card div { padding:22px; }
.equipment-card p { margin:0; color:var(--muted); }
.machine-panel { margin-top:24px; padding:26px; border-left:5px solid var(--accent); border-radius:8px; background:#fff; box-shadow:0 12px 32px rgba(20,20,20,.07); }
.machine-panel h3 { margin:0 0 14px; }
.access { background:#fff; }
.access-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; align-items:start; }
.access-card { padding:28px; }
.access-card p { margin:0 0 18px; color:var(--muted); }
.map-image { margin-top:18px; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.map-frame { min-height:420px; border-radius:8px; overflow:hidden; box-shadow:var(--shadow); background:#eee; }
.map-frame iframe { display:block; width:100%; height:420px; border:0; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border-radius:999px; background:var(--ink); color:#fff; font-weight:900; }
.cta { color:#fff; background:linear-gradient(90deg,rgba(248,182,45,.95),rgba(47,125,100,.9)),url("../../../images/company/company1400_800.jpg") center / cover no-repeat; }
.cta-box { display:grid; grid-template-columns:1fr auto; align-items:center; gap:28px; }
.cta h2 { color:#fff; }
.cta p { max-width:720px; margin:16px 0 0; font-size:18px; }
.cta .button { background:#fff; color:#171717; }
.footer { padding:58px 0 28px; background:#171717; color:#fff; }
.footer-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; }
.footer-main { display:grid; grid-template-columns:minmax(260px,1fr) 1.4fr; gap:48px; align-items:start; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,.16); }
.footer-brand img { width:176px; margin-bottom:18px; }
.footer-brand p { max-width:430px; margin:0; color:rgba(255,255,255,.72); }
.footer-contact { margin-top:20px; display:grid; gap:6px; font-size:14px; }
.footer-contact a { color:var(--accent); font-weight:800; }
.footer-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.footer-column h3 { margin:0 0 12px; color:var(--accent); font-size:13px; letter-spacing:.08em; }
.footer-column a,
.footer-column span { display:block; color:rgba(255,255,255,.78); font-size:14px; }
.footer-column a + a,
.footer-column span + span { margin-top:8px; }
.footer-column a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; gap:18px; align-items:center; padding-top:22px; color:rgba(255,255,255,.62); font-size:13px; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
@media (max-width:900px) { .nav{display:none;} .hero{min-height:520px;} .message-grid,.profile-grid,.equipment-grid,.access-layout,.cta-box{grid-template-columns:1fr;} .section-head{display:block;} .footer-main,.footer-columns{grid-template-columns:1fr;} .footer-bottom{display:block;} .footer-links{display:none;} .lead{margin-top:14px;} .profile-row{grid-template-columns:1fr; gap:4px;} .cta .button{margin-top:22px;} }
@media (max-width:520px) { .header-inner{min-height:68px;} .logo img{width:142px;} .hero-inner{padding:110px 0 72px;} section{padding:68px 0;} .profile-row,.clients,.access-card,.machine-panel{padding:20px;} .map-frame,.map-frame iframe{height:320px; min-height:320px;} }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #262626);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(20,20,20,.16);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
.popko-top {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(14px, 2.6vw, 28px);
  z-index: 60;
  width: 92px;
  height: 170px;
  display: grid;
  place-items: end center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
body.show-popko-top .popko-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.popko-top img {
  position: relative;
  z-index: 1;
  width: 64px;
  filter: drop-shadow(0 10px 16px rgba(20,20,20,.22));
  transition: transform .22s ease;
}
.popko-top span {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 2;
  min-width: 54px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent, #f8b62d);
  color: #171717;
  box-shadow: 0 10px 24px rgba(20,20,20,.16);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}
.popko-top:hover img { transform: translateY(-5px); }
.popko-top:focus-visible,
.menu-toggle:focus-visible {
  outline: 4px solid rgba(248,182,45,.45);
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(38,38,38,.08);
    box-shadow: var(--shadow, 0 20px 55px rgba(34,30,24,.14));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px 0 28px;
    border-radius: 8px;
    background: #fffaf6;
    overflow: hidden;
  }
  .nav a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: var(--accent, #f8b62d);
  }
  .nav .contact-link {
    justify-content: center;
    padding-left: 14px;
    background: var(--accent, #f8b62d);
    color: #171717;
  }
  .nav .contact-link::before { display: none; }
}
@media (max-width: 520px) {
  .nav { inset: 68px 12px auto 12px; }
  .popko-top { width: 76px; height: 142px; }
  .popko-top img { width: 54px; }
  .popko-top span { min-width: 48px; font-size: 12px; padding: 6px 9px; }
}
/* スマホでの横スクロール・左右の揺れを防止 */
html { overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }
main, header, footer, section { min-width: 0; }
iframe { max-width: 100%; }
