:root{
  --bg:#f6f7f9;
  --ink:#222;
  --muted:#666;
  --line:#e3e6ea;
  --nav:#0d2b45;
  --cta:#ff7a00;
  --card:#fff;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:"Hiragino Kaku Gothic ProN",Meiryo,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
}

.container{
  width:min(1100px,92%);
  margin-inline:auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  background:#fff;
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 1 auto;
}

.brand-logo{
  display:block;
  width:auto;
  height:42px;
  flex:0 0 auto;
}

.brand-text{
  min-width:0;
}

.brand-title{
  margin:0;
  color:#111;
  font-size:18px;
  line-height:1.35;
  font-weight:700;
  white-space:nowrap;
}

.brand-sub{
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
}

.header-contact{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}

.header-phone{
  min-width:190px;
  padding:5px 12px 6px;
  border:1px solid #d8e5ed;
  border-radius:4px;
  background:#eef7fb;
  text-align:center;
}

.header-phone-label{
  margin-bottom:1px;
  color:#6a6a6a;
  font-size:10px;
  line-height:1.2;
}

.header-phone-number{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#9a6600;
  text-decoration:none;
  font-size:20px;
  line-height:1.15;
  letter-spacing:.2px;
}

.header-phone-icon{
  font-size:17px;
}

.header-contact-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:43px;
  padding:0 15px;
  border-radius:4px;
  background:#b52d32;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}

.header-contact-btn:hover{
  background:#9f2429;
}

.header-mail-icon{
  font-size:17px;
  line-height:1;
}

/* =========================================================
   GLOBAL NAV
   ========================================================= */

.gnav{
  background:var(--nav);
}

.gnav .container{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:0;
}

.gnav-item{
  display:flex;
  align-items:center;
  color:#fff;
  text-decoration:none;
  padding:12px 14px;
  font-size:14px;
  border-right:1px solid rgba(255,255,255,.15);
  transition:background .15s ease;
}

.gnav-item:hover{
  background:rgba(255,255,255,.08);
}

.gnav-item.is-active{
  background:#b52025;
  color:#fff;
}

.gnav-cta{
  background:var(--cta);
  border-right:none;
  font-weight:700;
}

.gnav-cta:hover{
  background:#e86f00;
}

.gnav-cta.is-active{
  background:#d85f00;
}

/* =========================================================
   MAIN
   ========================================================= */

.content{
  padding:18px 0 40px;
}

.top-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:8px;
}

.main-area{
  background:transparent;
  padding-top:10px;
}

.page-h1{
  margin:18px 0 10px;
  font-size:20px;
}

.bar-title{
  display:inline-block;
  margin:14px 0;
  padding:6px 10px;
  border:1px solid var(--line);
  border-left:4px solid var(--nav);
  background:#fff;
  font-size:14px;
  font-weight:700;
}

/* =========================================================
   TOP PRODUCTS
   ========================================================= */

.products-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.product-card{
  display:flex;
  gap:12px;
  padding:12px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
}

.product-thumb img{
  display:block;
  width:148px;
  height:115px;
  object-fit:cover;
  border-radius:8px;
}

.product-title a{
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
}

.product-title a:hover{
  text-decoration:underline;
}

.product-caption{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}

/* =========================================================
   PR
   ========================================================= */

.pr{
  margin:18px 0;
}

.pr img{
  display:block;
  max-width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}

/* =========================================================
   NEWS
   ========================================================= */

.news{
  margin-top:8px;
}

.news-list{
  list-style:none;
  margin:8px 0 0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}

.news-list li{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  font-size:14px;
}

.news-list li:last-child{
  border-bottom:none;
}

.news-date{
  display:inline-block;
  width:120px;
  color:var(--muted);
}

.news-list a{
  color:var(--nav);
  text-decoration:none;
}

.news-list a:hover{
  text-decoration:underline;
}

/* =========================================================
   BOTTOM BANNERS ONLY
   ========================================================= */

.sidebar{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  margin-top:22px;
}

.side-banners{
  width:260px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}

.side-banners a{
  display:block;
  margin-bottom:10px;
}

.side-banners a:last-child{
  margin-bottom:0;
}

.side-banners img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:8px;
}

/* =========================================================
   PAGE TOP
   ========================================================= */

.backtotop{
  display:flex;
  justify-content:flex-end;
  width:min(1100px,92%);
  margin:18px auto 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  margin-top:30px;
  padding:22px 0;
  background:#0b2237;
  color:#fff;
}

.footer-address{
  margin:0 0 10px;
  color:rgba(255,255,255,.9);
  font-style:normal;
}

.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-bottom:10px;
}

.footer-nav a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  opacity:.9;
}

.footer-nav a:hover{
  opacity:1;
  text-decoration:underline;
}

.copyright{
  font-size:12px;
  opacity:.8;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){

  .header-inner{
    align-items:flex-start;
  }

  .header-contact{
    max-width:60%;
  }

  .header-phone{
    min-width:170px;
  }

  .header-phone-number{
    font-size:18px;
  }

  .products-grid{
    grid-template-columns:1fr;
  }

  .news-date{
    width:auto;
    margin-right:8px;
  }

  .product-card{
    flex-direction:column;
  }

  .product-thumb img{
    width:100%;
    height:180px;
  }
}

@media(max-width:700px){

  .header-inner{
    flex-direction:column;
    align-items:stretch;
  }

  .header-contact{
    width:100%;
    max-width:none;
    justify-content:flex-start;
  }

  .header-phone{
    flex:1 1 auto;
  }

  .gnav .container{
    width:100%;
  }

  .gnav-item{
    flex:1 1 50%;
    justify-content:center;
    text-align:center;
  }

  .side-banners{
    width:100%;
  }
}

@media(max-width:480px){

  .brand{
    gap:7px;
  }

  .brand-logo{
    height:38px;
  }

  .brand-title{
    font-size:16px;
  }

  .brand-sub{
    font-size:11px;
  }

  .header-contact{
    flex-direction:column;
    align-items:stretch;
  }

  .header-contact-btn{
    width:100%;
  }
}
