/* =========================
   Base / Reset
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #1e1e1e;
  line-height: 1.9;
  background-color: #f3f1ec;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* =========================
   Header
========================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kinjiro-link {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.kinjiro-link:hover { opacity: 0.5; }

.logo-main-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.logo-text {
  letter-spacing: 0.2em;
  font-size: 18px;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

nav ul a:hover { opacity: 0.6; }

/* =========================
   Page Header
========================= */
.page-header {
  padding: 160px 20px 80px;
  text-align: center;
  background: #1a1a1a;
  color: #e8e4dc;
}

.page-en {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #a07850;
  margin-bottom: 16px;
}

.page-ja {
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 0.2em;
}

/* =========================
   Section Common
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 64px;
}

.section-head .en {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #6b4a2d;
  margin-bottom: 12px;
}

.section-head .jp {
  font-size: 28px;
  letter-spacing: 0.25em;
}

/* =========================
   Service Boxes
========================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-box {
  background: #fff;
  padding: 36px;
  border: 1px solid #e0dbd2;
}

.service-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}

.service-box p {
  font-size: 15px;
  line-height: 2.0;
  color: #444;
}

/* =========================
   Service Wrap（メッセージ系）
========================= */
.service-wrap {
  padding: 100px 24px;
  background: #f3f1ec;
}

.service-wrap2 {
  padding: 100px 24px;
  background: #1a1a1a;
  color: #e8e4dc;
}

.service-wrap2 .section-head .en { color: #a07850; }
.service-wrap2 .section-head .jp { color: #e8e4dc; }

.service-block {
  max-width: 860px;
  margin: 0 auto;
}

.service-block h2 {
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #c8b89a;
}

.service-wrap2 .service-block h2 {
  border-bottom-color: #3a3a3a;
}

.service-block h3 {
  font-size: 17px;
  font-weight: normal;
  line-height: 2.1;
  color: #2a2a2a;
}

.service-wrap2 .service-block h3 {
  color: #b0a898;
}

/* =========================
   Rules / Lists
========================= */
.service-block ul {
  list-style: none;
  margin: 12px 0 28px;
}

.service-block ul li {
  font-size: 15px;
  line-height: 2.0;
  color: #444;
  padding-left: 1em;
  position: relative;
}

.service-block ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6b4a2d;
  font-size: 12px;
}

/* =========================
   Contact
========================= */
.contact-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}

.contact-block {
  margin-bottom: 80px;
}

.contact-title {
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6d0c8;
  color: #1a1a1a;
}

.lead {
  font-size: 16px;
  line-height: 2.1;
  color: #2a2a2a;
  margin-bottom: 32px;
}

.recruit-list {
  list-style: none;
  margin-bottom: 32px;
}

.recruit-list li {
  font-size: 15px;
  line-height: 2.1;
  padding: 12px 0;
  border-bottom: 1px solid #e0dbd2;
  color: #2a2a2a;
}

.note {
  font-size: 14px;
  line-height: 2.1;
  color: #6b4a2d;
  background: #edeae4;
  padding: 24px 28px;
  border-left: 3px solid #6b4a2d;
  margin-bottom: 32px;
}

.contact-tel {
  font-size: 15px;
  line-height: 2.0;
  color: #2a2a2a;
}

/* =========================
   Contact Form
========================= */
.contact-form-wrap {
  margin-top: 48px;
}

.contact-form .form-group {
  margin-bottom: 28px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #6b4a2d;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  border: 1px solid #d6d0c8;
  background: #fff;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #6b4a2d;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit button {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: #fff;
  background: #1a1a1a;
  border: none;
  padding: 18px 64px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit button:hover {
  background: #6b4a2d;
}

/* Thanks */
.back-btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.back-btn:hover { opacity: 0.5; }

/* =========================
   Privacy
========================= */
.privacy-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}

.privacy-block {
  margin-bottom: 80px;
}

.privacy-block h2 {
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6d0c8;
}

.privacy-block h3 {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin: 32px 0 12px;
  color: #6b4a2d;
}

.privacy-block h4 {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin: 20px 0 8px;
  font-weight: normal;
  color: #444;
}

.privacy-block p,
.privacy-block li {
  font-size: 15px;
  line-height: 2.1;
  color: #2a2a2a;
}

.privacy-block ul {
  list-style: none;
  padding-left: 1em;
}

.privacy-block ul li::before {
  content: "— ";
  color: #6b4a2d;
}

.privacy-sign {
  margin-top: 48px;
  font-size: 14px;
  line-height: 2.0;
  color: #777;
}

.news-back {
  text-align: center;
  margin-top: 60px;
}

.news-back a {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 4px;
}

/* =========================
   Truck Image
========================= */
.truck-image {
  margin: 0 0 64px;
  text-align: center;
}

/* =========================
   Map
========================= */
.map-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(90%) brightness(95%);
}

/* =========================
   Footer
========================= */
footer {
  background: #111;
  color: #eaeaea;
  padding: 80px 24px 60px;
  font-size: 15px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-logo img {
  height: 150px;
  width: auto;
  opacity: 0.9;
}

.footer-company { line-height: 1.8; }

.footer-privacy {
  text-align: center;
  margin-top: 48px;
}

.footer-privacy a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #ccc;
}

.footer-privacy span {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.7;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .logo-text { font-size: 14px; }
  .logo-mark { height: 22px; }

  nav ul {
    gap: 14px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-header { padding: 130px 16px 60px; }
  .page-ja { font-size: 26px; }

  .services { grid-template-columns: 1fr; }
  .service-wrap { padding: 60px 16px; }
  .service-wrap2 { padding: 60px 16px; }

  .contact-content { padding: 60px 16px 100px; }
  .privacy-wrap { padding: 60px 16px 100px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-left { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-logo img { height: 90px; }
  .footer-company { font-size: 13px; }
}

/* =========================
   Company Page
========================= */
.company-section {
  padding: 80px 24px 160px;
}

.company-inner {
  max-width: 900px;
  margin: 0 auto;
}

.company-block {
  margin-bottom: 80px;
}

.company-lead {
  text-align: center;
  padding: 80px 0;
  border-bottom: 1px solid #d6d0c8;
  margin-bottom: 100px;
}

.company-lead-text {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #6b4a2d;
  margin-bottom: 24px;
}

.company-lead-link {
  font-size: 34px;
  letter-spacing: 0.25em;
  color: #1a1a1a;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 6px;
  transition: opacity 0.3s;
}

.company-lead-link span {
  margin-left: 20px;
  font-size: 22px;
  color: #6b4a2d;
}

.company-lead-link:hover { opacity: 0.5; }

.company-subtitle {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #6b4a2d;
  font-weight: normal;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6d0c8;
}

.company-info table {
  width: 100%;
  border-collapse: collapse;
}

.company-info th,
.company-info td {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.9;
  border-bottom: 1px solid #e0dbd2;
  vertical-align: top;
}

.company-info th {
  width: 26%;
  color: #6b4a2d;
  font-weight: normal;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.company-info td { color: #2a2a2a; }

.company-kinjiro {
  margin-top: 56px;
  padding: 28px 36px;
  border-left: 3px solid #6b4a2d;
  background: #edeae4;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #2a2a2a;
  line-height: 2.1;
}

.company-kinjiro span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #6b4a2d;
  margin-bottom: 12px;
}

/* Gallery */
.company-photo { margin-top: 100px; }

.photo-frame {
  position: relative;
  padding: 24px;
  background: #111;
  box-shadow: 0 0 0 1px #2a2a2a, 0 24px 64px rgba(0,0,0,0.3);
}

.photo-frame::before,
.photo-frame::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: #a07850;
  z-index: 10;
  pointer-events: none;
}

.photo-frame::before {
  top: 8px; left: 8px;
  border-top: 1px solid; border-left: 1px solid;
}

.photo-frame::after {
  bottom: 8px; right: 8px;
  border-bottom: 1px solid; border-right: 1px solid;
}

.photo-frame .corner-tr,
.photo-frame .corner-bl {
  position: absolute;
  width: 56px; height: 56px;
  border-color: #a07850;
  z-index: 10; pointer-events: none;
}

.photo-frame .corner-tr {
  top: 8px; right: 8px;
  border-top: 1px solid; border-right: 1px solid;
}

.photo-frame .corner-bl {
  bottom: 8px; left: 8px;
  border-bottom: 1px solid; border-left: 1px solid;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider img {
  position: absolute;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; object-position: center;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeSlide 60s infinite;
}

.slider img:nth-child(1)  { animation-delay: 0s; }
.slider img:nth-child(2)  { animation-delay: 5s; }
.slider img:nth-child(3)  { animation-delay: 10s; }
.slider img:nth-child(4)  { animation-delay: 15s; }
.slider img:nth-child(5)  { animation-delay: 20s; }
.slider img:nth-child(6)  { animation-delay: 25s; }
.slider img:nth-child(7)  { animation-delay: 30s; }
.slider img:nth-child(8)  { animation-delay: 35s; }
.slider img:nth-child(9)  { animation-delay: 40s; }
.slider img:nth-child(10) { animation-delay: 45s; }
.slider img:nth-child(11) { animation-delay: 50s; }
.slider img:nth-child(12) { animation-delay: 55s; }

@keyframes fadeSlide {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Access */
.access-section {
  padding: 80px 24px 140px;
  text-align: center;
  background: #1a1a1a;
  color: #e8e4dc;
}

.section-en {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #a07850;
  margin-bottom: 16px;
}

.section-ja {
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-bottom: 56px;
  color: #e8e4dc;
}

/* Company responsive */
@media (max-width: 768px) {
  .company-section { padding: 60px 16px 100px; }
  .company-lead-link { font-size: 24px; }
  .company-info th,
  .company-info td { font-size: 13px; padding: 12px; }
  .company-info th { width: 35%; }
  .slider { height: 260px; }
  .access-section { padding: 60px 16px 100px; }
  .map-wrap { width: 100%; height: 280px; }
  .company-kinjiro { padding: 20px; }
}

/* =========================
   ヘッダー ロゴ並び順調整
   金次郎（左）/ 会社名（中央）/ ロゴ（右）
========================= */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kinjiro-link,
.logo-right-link {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.kinjiro-link:hover,
.logo-right-link:hover { opacity: 0.5; }

.logo-main-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* =========================
   NEWS 一覧
========================= */
.home-news {
  background: #f3f1ec;
  padding: 80px 24px 140px;
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.news-list li {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid #e0dbd2;
  font-size: 16px;
  line-height: 2.0;
  align-items: baseline;
}

.news-list time {
  color: #6b4a2d;
  min-width: 100px;
  font-size: 13px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.news-list a {
  color: #1a1a1a;
  transition: opacity 0.3s;
}

.news-list a:hover { opacity: 0.6; }

/* =========================
   NEWS 個別記事
========================= */
.news-single-wrap {
  background: #f3f1ec;
  padding: 80px 24px 140px;
}

.news-single-inner {
  max-width: 800px;
  margin: 0 auto;
}

.news-single-date {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #6b4a2d;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d6d0c8;
}

.news-single-content {
  font-size: 16px;
  line-height: 2.2;
  color: #2a2a2a;
  margin-bottom: 80px;
}

.news-single-content p { margin-bottom: 1.8em; }
.news-single-content h2 {
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6d0c8;
}
.news-single-content img {
  max-width: 100%;
  margin: 32px auto;
}

.news-single-back {
  text-align: center;
}

.news-single-back a {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}

.news-single-back a:hover { opacity: 0.5; }

/* NEWS responsive */
@media (max-width: 768px) {
  .news-list li { flex-direction: column; gap: 4px; }
  .news-single-wrap { padding: 60px 16px 100px; }
}

/* =========================
   WordPress デフォルトCSS上書き
========================= */
.news-single-wrap,
.news-single-inner,
.news-single-content,
.entry-content,
.post,
.hentry {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

.news-single-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* WordPressのwidthやfloat指定をリセット */
.news-single-wrap * {
  float: none;
}