@charset "UTF-8";
/*
Theme Name: Nerima News Theme
Theme URI: https://www.nerima-s.co.jp/news/
Author: Nerima Seisakusho
Description: 株式会社練馬製作所の既存サイトに合わせた、/news 配下用WordPressテーマです。固定ヘッダー、グローバルナビ、フッター、スマホ固定メニューを既存デザインに合わせています。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nerima-news-theme
*/

:root{
  --navy:#0b2a4a;
  --navy2:#093053;
  --white:#fff;
  --text:#102033;
  --muted:#5b6b7b;
  --shadow:0 14px 30px rgba(0,0,0,.18);
  --radius:14px;
  --container:1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;
  color:var(--text);
  background:#fff;
}
body.admin-bar .site-header{ top:32px; }
@media (max-width:782px){ body.admin-bar .site-header{ top:46px; } }

img{ max-width:100%; height:auto; }
a{ color:inherit; }
.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

/* ===== Header ===== */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background:rgba(9,28,52,.78);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--white);
  min-width:240px;
}
.logo{
  display:block;
  width:auto;
  max-width:300px;
  max-height:54px;
}
.header-right{
  display:flex;
  align-items:center;
  gap:12px;
}
.header-tel{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--white);
  font-weight:800;
  letter-spacing:.02em;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.06);
}
.header-tel i{ opacity:.9; }
.tel-number{ white-space:nowrap; }
.global-nav{ border-top:1px solid rgba(255,255,255,.10); }
.nav-list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:0;
  padding:20px 0;
  margin:0;
}
.nav-list li{ text-align:center; }
.nav-list li:first-child{ border-left:1px solid rgba(255,255,255,.10); }
.nav-list li + li{ border-left:1px solid rgba(255,255,255,.10); }
.nav-list li:last-child{ border-right:1px solid rgba(255,255,255,.10); }
.nav-list li.nav-company{ width:180px; }
.nav-list li.nav-aboutus{ width:200px; }
.nav-list li.nav-ultrasonicpress{ width:290px; }
.nav-list li.nav-machine{ width:180px; }
.nav-list li.nav-recruit{ width:100px; }
.nav-list li.nav-contact{ width:180px; }
.nav-list a{
  display:block;
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  position:relative;
}
.nav-list a:hover{ background:rgba(255,255,255,.08); }
.nav-cta{
  margin-left:10px;
  border-radius:999px!important;
  background:linear-gradient(135deg, rgba(49,196,141,.25), rgba(14,165,233,.18));
  border:1px solid rgba(255,255,255,.18);
}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:rgba(255,255,255,.90);
  margin:5px auto;
  border-radius:2px;
}

/* ===== Main / News ===== */
main.nerima-news-main{ padding-top:108px; }
.news-page{
  background:
    linear-gradient(180deg, rgba(247,245,239,.96), rgba(248,246,241,.96));
  min-height:calc(100vh - 120px);
}
.news-hero{ padding:48px 0 26px; }
.news-hero-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(80,58,35,.16);
  border-radius:10px;
  padding:34px 36px;
  background:linear-gradient(90deg, rgba(250,246,238,.98) 0%, rgba(250,246,238,.86) 58%, rgba(250,246,238,.42) 100%);
  box-shadow:0 12px 28px rgba(53,39,20,.08);
}
.news-kicker{
  margin:0 0 8px;
  color:#b7672e;
  font-size:13px;
  font-weight:900;
  letter-spacing:.18em;
}
.news-hero-card h1{
  margin:0 0 14px;
  color:#102033;
  font-size:clamp(30px,4vw,42px);
  line-height:1.25;
  letter-spacing:.04em;
}
.news-hero-card p{
  margin:0;
  color:#27384a;
  font-size:15px;
  font-weight:700;
  line-height:1.9;
}
.news-section{ padding:26px 0 72px; }
.wp-news-card{
  border:1px solid rgba(80,58,35,.16);
  border-radius:12px;
  background:rgba(255,253,247,.86);
  box-shadow:0 12px 26px rgba(53,39,20,.08);
  padding:30px;
}
.posts-list{ display:grid; gap:0; }
.post-row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid rgba(16,32,51,.10);
  text-decoration:none;
}
.post-row:first-child{ padding-top:0; }
.post-row:last-child{ border-bottom:0; }
.post-date{
  color:var(--muted);
  font-weight:900;
  font-size:14px;
  white-space:nowrap;
}
.post-title{
  margin:0 0 8px;
  color:#102033;
  font-size:18px;
  line-height:1.55;
  font-weight:900;
}
.post-row:hover .post-title{ color:#1b5fa6; }
.post-excerpt{
  margin:0;
  color:#5b6b7b;
  font-size:14px;
  line-height:1.8;
}
.single-meta{
  margin:0 0 18px;
  color:var(--muted);
  font-size:14px;
  font-weight:800;
}
.entry-content{
  color:#27384a;
  line-height:1.95;
  font-size:16px;
}
.entry-content h2,
.entry-content h3{
  margin:2em 0 .8em;
  color:#102033;
  line-height:1.5;
}
.entry-content p{ margin:0 0 1.2em; }
.entry-content a{ color:#1b5fa6; font-weight:800; }
.entry-content img{ border-radius:10px; }
.more-link-wrap{ margin-top:14px; }
.more-link,
.back-link,
.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#31c48d,#1b5fa6);
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1;
  letter-spacing:.04em;
  text-decoration:none;
  box-shadow:0 10px 20px rgba(0,0,0,.14);
}
.pagination{ margin-top:28px; }
.nav-links{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.nav-links .current{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  min-width:42px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  color:#102033;
  border:1px solid rgba(16,32,51,.16);
  font-weight:900;
}

/* ===== Footer ===== */
.site-footer{
  background:var(--navy);
  color:rgba(255,255,255,.86);
  padding:18px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.site-footer small{ line-height:1.8; }
.to-top{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
}

/* ===== Mobile fixed bar ===== */
.mobile-fixedbar{
  position:fixed;
  inset:auto 0 0 0;
  height:58px;
  display:none;
  z-index:1200;
  background:rgba(11,42,74,.96);
  border-top:1px solid rgba(255,255,255,.14);
}
.mf-item{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
}
.mf-item i{ font-size:18px; }
.mf-tel{ background:rgba(255,255,255,.04); }
.mf-contact{ background:rgba(49,196,141,.18); border-left:1px solid rgba(255,255,255,.14); }

@media (max-width:980px){
  .header-tel{ display:none; }
  .nav-toggle{ display:inline-block; }
  .global-nav{ display:none; }
  .global-nav.is-open{ display:block; }
  .global-nav .container{ padding:0; }
  .nav-list{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px 16px 14px;
  }
  .nav-list li{
    text-align:left;
    padding:6px;
    border-left:0!important;
    border-right:0!important;
    width:100%!important;
  }
  .nav-list a{
    padding:12px;
    border-radius:12px;
  }
  .nav-cta{ margin-left:0; }
  .mobile-fixedbar{ display:flex; }
  body{ padding-bottom:58px; }
  main.nerima-news-main{ padding-top:73px; }
  .news-hero{ padding:34px 0 20px; }
  .news-hero-card{ padding:28px 22px; }
  .wp-news-card{ padding:24px 18px; }
  .post-row{ grid-template-columns:1fr; gap:6px; }
  .footer-inner{ align-items:flex-start; }
}
@media (max-width:767px){
  .logo{ width:260px; }
}
@media (max-width:420px){
  .news-hero-card h1{ font-size:28px; }
  .news-hero-card p{ font-size:14px; }
  .post-title{ font-size:16px; }
}
