@charset "UTF-8";
/**
 * 山下設備 ／ assets/css/style.css
 * 作業着のネイビーと安全色の黄。数字は大きく、押しやすく。
 */

:root {
  --navy: #14243D;
  --navy-2: #1E3557;
  --navy-3: #2C4870;
  --yellow: #F2C230;
  --yellow-d: #D9A70F;
  --paper: #F3F4F6;
  --white: #FFFFFF;
  --ink: #1A2331;
  --gray: #6C7787;
  --line: #DBDEE4;

  --f-disp: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --f-num: "Oswald", "Zen Kaku Gothic New", sans-serif;

  --gut: clamp(18px, 5vw, 40px);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 0; top: 0; z-index: 300; background: var(--navy); color: #fff; padding: 10px 18px; }

.wrap { width: min(1100px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-narrow { width: min(740px, 100% - var(--gut) * 2); }

/* ---------- ヘッダー ---------- */

.head { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.stripe {
  height: 6px;
  background: repeating-linear-gradient(-45deg,
    var(--yellow) 0 14px, var(--navy) 14px 28px);
}
.head-in {
  width: min(1100px, 100% - var(--gut) * 2); margin-inline: auto;
  height: 74px; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow);
  font-family: var(--f-disp); font-weight: 900; font-size: 20px; line-height: 1;
}
.brand b { display: block; font-family: var(--f-disp); font-weight: 900; font-size: 19px; letter-spacing: .02em; line-height: 1.25; }
.brand em { display: block; font-style: normal; font-size: 10.5px; color: var(--gray); }

.nav { display: flex; gap: 22px; font-size: 14px; font-family: var(--f-disp); font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.nav .nav-cta {
  background: var(--yellow); color: var(--navy);
  padding: 8px 18px; border-bottom: none;
  transition: background-color .16s, transform .16s;
}
.nav .nav-cta:hover { background: #FFD452; transform: translateY(-2px); }

.head-tel a { display: block; text-align: right; }
.head-tel span { display: block; font-size: 10.5px; color: var(--gray); }
.head-tel b { font-family: var(--f-num); font-weight: 600; font-size: 25px; letter-spacing: .01em; color: var(--navy); line-height: 1.15; }

.nav-toggle { display: none; background: var(--navy); border: 0; width: 46px; height: 46px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--yellow); margin: 4px auto; }
.nav-toggle em { position: absolute; left: -9999px; }

@media (max-width: 900px) {
  .head-in { height: 62px; gap: 12px; }
  .head-tel { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 68px; right: 0; bottom: 0; left: 0;
    background: var(--navy); color: #fff;
    flex-direction: column; gap: 0; padding: 12px var(--gut);
    font-size: 17px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .brand b { font-size: 17px; }
}

/* ---------- ヒーロー ---------- */

.hero { background: var(--navy); color: #fff; padding: clamp(48px, 8vw, 84px) 0 clamp(52px, 8vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0;
  width: 42%;
  background:
    radial-gradient(circle at 70% 30%, rgba(242, 194, 48, .13), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero-in { width: min(1100px, 100% - var(--gut) * 2); margin-inline: auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-family: var(--f-disp); font-weight: 700; font-size: 12.5px;
  padding: 5px 14px; letter-spacing: .03em;
}
.hero-title {
  margin-top: 22px;
  font-family: var(--f-disp); font-weight: 900;
  font-size: clamp(30px, 6.6vw, 60px); line-height: 1.32; letter-spacing: .01em;
}
.hero-title span { color: var(--yellow); }
.hero-lead { margin-top: 22px; font-size: 15px; line-height: 2.1; color: rgba(255,255,255,.85); max-width: 34em; }

.hero-act { margin-top: clamp(30px, 5vw, 46px); display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; align-items: center; }
.hero-tel {
  display: block; background: var(--yellow); color: var(--navy);
  padding: 16px 30px 14px; min-width: 290px;
  transition: transform .16s, background-color .16s;
}
.hero-tel:hover { background: #FFD452; transform: translateY(-2px); }
.hero-tel span { display: block; font-family: var(--f-disp); font-weight: 700; font-size: 12.5px; }
.hero-tel b { display: block; font-family: var(--f-num); font-weight: 600; font-size: clamp(32px, 6vw, 42px); line-height: 1.15; }
.hero-tel em { display: block; font-style: normal; font-size: 11.5px; }

.hero-points { font-size: 13.5px; color: rgba(255,255,255,.9); }
.hero-points li { padding-left: 22px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .82em;
  width: 11px; height: 6px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

/* ---------- セクション ---------- */

.section { padding: clamp(52px, 8vw, 92px) 0; }
.sec-head { margin-bottom: 30px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sec-eyebrow {
  font-family: var(--f-disp); font-weight: 700; font-size: 12px;
  color: var(--navy-3); letter-spacing: .08em;
  padding-left: 14px; border-left: 4px solid var(--yellow);
}
.sec-title { margin-top: 12px; font-family: var(--f-disp); font-weight: 900; font-size: clamp(22px, 4.2vw, 34px); line-height: 1.42; }
.sec-note { margin-top: 16px; font-size: 13.5px; color: var(--gray); max-width: 46em; }
.text-link { font-family: var(--f-disp); font-weight: 700; font-size: 14px; color: var(--navy-3); border-bottom: 2px solid var(--yellow); }
.empty { color: var(--gray); padding: 26px 0; }

/* できること */
.work-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.work { background: var(--white); padding: 28px 26px 30px; }
.work h3 { font-family: var(--f-disp); font-weight: 900; font-size: 18px; padding-bottom: 12px; border-bottom: 3px solid var(--yellow); display: inline-block; }
.work p { margin-top: 14px; font-size: 13.5px; line-height: 1.95; }
.work-ex { color: var(--gray); font-size: 12px !important; }

/* 料金（署名要素） */
.price { background: var(--paper); }
.price-list { border-top: 3px solid var(--navy); }
.price-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent 0, transparent 100%);
}
.price-n { font-family: var(--f-disp); font-weight: 700; font-size: 16px; }
.price-n em { display: block; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--gray); font-family: var(--f-body); }
.price-p { font-family: var(--f-num); font-weight: 600; font-size: 28px; color: var(--navy); white-space: nowrap; line-height: 1.2; }
.price-p i { font-style: normal; font-size: 16px; margin-right: 2px; }
.price-p small { font-size: 14px; margin-left: 2px; color: var(--gray); }

/* 対応エリア */
.area-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.area-text { margin-top: 20px; font-size: 14.5px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.area-tags li { background: var(--navy); color: #fff; font-size: 12.5px; padding: 5px 14px; font-family: var(--f-disp); font-weight: 500; }
.hours { width: 100%; border: 1px solid var(--line); }
.hours caption { text-align: left; font-family: var(--f-disp); font-weight: 900; font-size: 14px; background: var(--navy); color: var(--yellow); padding: 10px 16px; }
.hours th, .hours td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.hours th { width: 104px; background: var(--paper); font-weight: 700; font-size: 13px; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

@media (max-width: 800px) { .area-in { grid-template-columns: 1fr; } }

/* 施工事例 */
.case-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 22px; }
.case-list-full { margin: 24px 0 44px; }
.case a { display: block; height: 100%; border: 1px solid var(--line); background: var(--white); transition: box-shadow .18s, transform .18s; }
.case a:hover { box-shadow: 0 10px 24px rgba(20, 36, 61, .13); transform: translateY(-2px); }
.case-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { display: block; padding: 16px 18px 20px; }
.case-cat { display: inline-block; background: var(--navy); color: var(--yellow); font-size: 11px; padding: 3px 10px; font-family: var(--f-disp); font-weight: 700; }
.case-title { display: block; margin-top: 10px; font-family: var(--f-disp); font-weight: 700; font-size: 16px; line-height: 1.6; }
.case-ex { display: block; margin-top: 7px; font-size: 12.5px; color: var(--gray); line-height: 1.85; }
.case-body time { display: block; margin-top: 12px; font-family: var(--f-num); font-size: 12px; color: var(--gray); }

/* 締めCTA */
.cta { background: var(--navy); color: #fff; padding: clamp(46px, 7vw, 76px) 0; text-align: center; }
.cta h2 { font-family: var(--f-disp); font-weight: 900; font-size: clamp(20px, 3.6vw, 30px); line-height: 1.5; }
.cta p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.8); }
.cta-tel {
  display: inline-block; margin-top: 26px;
  font-family: var(--f-num); font-weight: 600; font-size: clamp(34px, 7vw, 52px);
  color: var(--yellow); line-height: 1.1; border-bottom: 4px solid rgba(242, 194, 48, .35);
}
.cta-tel:hover { border-bottom-color: var(--yellow); }
.cta-hr { margin-top: 12px !important; font-size: 12.5px !important; }

/* ---------- 下層 ---------- */

.page-head { background: var(--paper); padding: clamp(34px, 6vw, 60px) 0; }
.page-title { margin-top: 12px; font-family: var(--f-disp); font-weight: 900; font-size: clamp(24px, 5vw, 38px); line-height: 1.4; }
.page-lead { margin-top: 14px; font-size: 14px; color: var(--gray); max-width: 44em; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 30px; }
.tabs a { font-family: var(--f-disp); font-weight: 700; font-size: 13px; padding: 7px 16px; border: 2px solid var(--line); color: var(--gray); }
.tabs a:hover { border-color: var(--navy); color: var(--navy); }
.tabs a.on { background: var(--navy); border-color: var(--navy); color: var(--yellow); }

.entry { padding: clamp(30px, 5vw, 52px) 0 clamp(52px, 8vw, 84px); }
.crumb { font-size: 12px; color: var(--gray); }
.entry-head { margin-top: 22px; }
.entry-title { margin-top: 12px; font-family: var(--f-disp); font-weight: 900; font-size: clamp(22px, 4.4vw, 32px); line-height: 1.5; }
.entry-date { margin-top: 10px; font-family: var(--f-num); font-size: 13px; color: var(--gray); }
.entry-main { margin: 28px 0; }
.entry-body { margin-top: 26px; font-size: 15.5px; line-height: 2.1; }
.entry-body a { color: var(--navy-3); border-bottom: 1px solid currentColor; }
.entry-subs { margin-top: 30px; display: grid; gap: 16px; }
.entry-links { margin-top: 30px; display: grid; gap: 10px; }
.entry-links a { display: block; border: 2px solid var(--line); padding: 14px 18px; font-family: var(--f-disp); font-weight: 700; font-size: 14px; }
.entry-links a:hover { border-color: var(--navy); }

.entry-cta { margin-top: 40px; background: var(--paper); border-left: 6px solid var(--yellow); padding: 22px 24px; }
.entry-cta p { font-size: 14px; }
.entry-cta a { display: inline-block; margin-top: 6px; font-family: var(--f-num); font-weight: 600; font-size: 32px; color: var(--navy); }

.pager { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; }
.pager a { max-width: 46%; }
.pager span { display: block; font-size: 11px; color: var(--gray); }
.pager b { display: block; margin-top: 4px; font-family: var(--f-disp); font-weight: 700; font-size: 13.5px; line-height: 1.6; }
.pager-next { text-align: right; }
.back-row { margin: 36px 0 0; }
.notfound { padding: 70px 0; }

/* ---------- フッター ---------- */

.foot { background: var(--navy); color: #fff; padding: clamp(44px, 7vw, 70px) 0 0; }
.foot-in {
  width: min(1100px, 100% - var(--gut) * 2); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 52px);
}
.foot-name { font-family: var(--f-disp); font-weight: 900; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.foot-name span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-size: 18px; }
.foot-adr { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.7); }
.foot-nav li { border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-nav a { display: block; padding: 11px 0; font-size: 13.5px; }
.foot-nav a:hover { color: var(--yellow); }
.foot-call-lb { font-family: var(--f-disp); font-weight: 700; font-size: 12.5px; color: var(--yellow); }
.foot-call-no { display: inline-block; font-family: var(--f-num); font-weight: 600; font-size: 34px; line-height: 1.2; }
.foot-call-hr { font-size: 12px; color: rgba(255,255,255,.65); }
.btn-line {
  display: inline-block; margin-top: 16px; border: 2px solid var(--yellow); color: var(--yellow);
  padding: 10px 24px; font-family: var(--f-disp); font-weight: 700; font-size: 13.5px;
}
.btn-line:hover { background: var(--yellow); color: var(--navy); }
.foot-sns { display: flex; gap: 10px; margin-top: 20px; }
.foot-sns a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); }
.foot-sns a:hover { border-color: var(--yellow); color: var(--yellow); }

.copy {
  width: min(1100px, 100% - var(--gut) * 2); margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.5);
}
.copy a:hover { color: var(--yellow); }

@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- スマホ固定バー ---------- */

.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    box-shadow: 0 -2px 12px rgba(20, 36, 61, .2);
  }
  .callbar a {
    flex: 1; text-align: center; padding: 17px 8px;
    font-family: var(--f-disp); font-weight: 900; font-size: 15px;
  }
  .callbar-tel { background: var(--yellow); color: var(--navy); }
  .callbar-form { flex: 0 0 34% !important; background: var(--navy); color: #fff; }
  .foot { padding-bottom: 10px; }
}

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

/* ---------- MOBILE_THUMB_STYLE（config.php） ---------- */

/* 'small'：スマホで写真を左、文字を右に並べる */
@media (max-width: 560px) {
  .case-list.thumb-small a { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .case-list.thumb-small .case-img { aspect-ratio: 1 / 1; height: 100%; }
  .case-list.thumb-small .case-body { padding: 13px 15px 15px; }
  .case-list.thumb-small .case-ex { display: none; }
}

/* 画像が無い記事のプレースホルダ（assets/img/no-image.svg） */
.case-img .no-img { object-fit: contain; background: var(--paper); padding: 12%; }


/* ---------- お問い合わせ（ヘッダーの「お問い合わせ」から #contact へ） ---------- */

.contact { background: var(--paper); padding: clamp(52px, 8vw, 88px) 0; text-align: center; scroll-margin-top: 84px; }
.contact-title { margin-top: 12px; font-family: var(--f-disp); font-weight: 900; font-size: clamp(21px, 3.8vw, 28px); }
.contact-lead { margin-top: 14px; font-size: 13.5px; color: var(--gray); max-width: 32em; margin-inline: auto; }
.contact-btn { margin-top: 24px; }
