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

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #16324f;
  line-height: 1.6;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 800px;
}

.center {
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(240,247,252,0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,0.46); box-shadow: 0 10px 30px rgba(80,120,160,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}



/* Hero */
.hero {  position: relative;  height: 78vh;  min-height: 460px;  max-height: 720px;  display: flex;  align-items: center;  color: #ffffff;}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {  position: absolute;  inset: 0;  background: linear-gradient(180deg, rgba(20,54,92,0.18) 0%, rgba(20,54,92,0.28) 55%, rgba(20,54,92,0.40) 100%);}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 44px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(173,204,232,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 60px rgba(10,34,64,0.10);
  backdrop-filter: blur(4px) saturate(115%);
  -webkit-backdrop-filter: blur(4px) saturate(115%);
}

.hero-title {  color: #ffffff;  text-shadow: 0 8px 30px rgba(10,34,64,0.18);  font-size: clamp(34px, 4.4vw, 52px);  line-height: 1.08;  letter-spacing: -0.03em;  font-weight: 800;  margin: 16px 0;}

.hero-lead {  color: rgba(255,255,255,0.92);  text-shadow: 0 4px 18px rgba(10,34,64,0.14);  font-size: 19px;  line-height: 1.9;  max-width: 860px;  opacity: 1;}

.hero-actions {
  margin-top: 24px;
}

.hero-scroll {
  color: rgba(255,255,255,0.72);
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
}

.btn-primary {
  color: #ffffff;
  background: rgba(255,255,255,0.14);
  margin-right: 12px;
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: 0 10px 30px rgba(83,124,168,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary {
  color: #16324f;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(160,186,210,0.55);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Intro */
.intro-strip {
  background: linear-gradient(180deg, rgba(233,243,250,0.92) 0%, rgba(245,250,253,0.96) 100%);
  padding: 40px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.intro-card {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
  padding: 20px;
  text-align: center;
  border-radius: 24px; border: 1px solid rgba(255,255,255,0.42); box-shadow: 0 18px 40px rgba(91,129,168,0.10); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

.intro-label {
  font-size: 14px;
  color: #6f88a1;
}

.intro-value {
  font-weight: 700;
}

/* Sections */
.section {
  padding: 112px 0;
}

.section-light {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
}

.section-dark {
  background: linear-gradient(180deg, #0f2236 0%, #16324f 100%);
  color: #16324f;
}

.section-accent {  background: linear-gradient(180deg, #eef6fb 0%, #e4f0f8 100%);  color: #16324f;}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6f88a1;
}

.section-eyebrow.light {
  color: rgba(255,255,255,0.6);
}

.section-title {  font-size: clamp(26px, 3.2vw, 42px);  line-height: 1.2;  letter-spacing: -0.02em;  margin: 16px 0;  color: #16324f;}

.section-title.light {
  color: #16324f;
}

.section-text {  color: #49657f;  margin-bottom: 16px;}


/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(255,255,255,0.10);
  padding: 24px;
  border-radius: 24px; border: 1px solid rgba(255,255,255,0.42); box-shadow: 0 18px 40px rgba(91,129,168,0.10); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* Split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.facility-image {
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 24px; border: 1px solid rgba(255,255,255,0.42); box-shadow: 0 18px 40px rgba(91,129,168,0.10); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f2236 0%, #16324f 100%);
  color: rgba(220,234,244,0.72);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.footer-company {
  font-weight: 700;
  color: #16324f;
}

/* Responsive */

@media (max-width: 768px) {
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 44px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(173,204,232,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 60px rgba(10,34,64,0.10);
  backdrop-filter: blur(4px) saturate(115%);
  -webkit-backdrop-filter: blur(4px) saturate(115%);
}

  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.14;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.8;
  }

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

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

  .split-layout {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }
}

/* ===== ABOUT section tuning ===== */
#about {
  padding-top: 84px;
  padding-bottom: 96px;
}

#about .container.narrow {
  max-width: 920px;
}

#about .section-eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #7d97af;
}

#about .section-title {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #173754;
}

#about .section-text {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 2;
  color: #5d7690;
}

@media (max-width: 768px) {
  #about {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  #about .section-title {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.24;
    margin-bottom: 22px;
  }

  #about .section-text {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ===== QUALITY section tuning ===== */
#quality {
  padding-top: 92px;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #eaf3f9 0%, #dfeef8 100%);
  color: #16324f;
}

#quality .section-eyebrow.light {
  color: #7d97af;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

#quality .section-title.light {
  color: #173754;
  margin: 0 0 36px;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

#quality .feature-grid {
  gap: 24px;
  margin-top: 0;
}

#quality .feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(214,230,243,0.24) 100%);
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(91,129,168,0.12);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  padding: 28px 26px;
  color: #49657f;
}

#quality .feature-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.5;
  color: #173754;
}

#quality .feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #5d7690;
}

@media (max-width: 768px) {
  #quality {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  #quality .section-title.light {
    font-size: clamp(30px, 8.6vw, 42px);
    margin-bottom: 26px;
    line-height: 1.22;
  }

  #quality .feature-card {
    padding: 24px 20px;
  }

  #quality .feature-card h3 {
    font-size: 15px;
    margin-bottom: 14px;
  }

  #quality .feature-card p {
    font-size: 14px;
    line-height: 1.9;
  }
}

.contact-section .btn-primary {
  color: #16324f;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(160,186,210,0.60);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

.contact-section .btn-secondary {
  color: #16324f;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(160,186,210,0.52);
}

.product-image {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #eaf2f8;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 18px 40px rgba(91,129,168,0.10);
}

.product-hero {
  height: auto;
  min-height: 520px;
  align-items: flex-start;
  padding-bottom: 40px;
}
.product-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(20,54,92,0.24) 0%, rgba(20,54,92,0.34) 55%, rgba(20,54,92,0.48) 100%);
}

.product-hero .hero-content {
  max-width: 760px;
  margin-top: 100px;
}

.product-hero .hero-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
}

.product-hero .hero-lead {
  max-width: 620px;
}

@media (max-width: 768px) {
  .product-hero .hero-content {
    margin: 0 12px;
  }
}

/* ===== Hero tuning（ぼやけ対策＋演出） ===== */
.hero-slide {
  filter: blur(3px) brightness(0.92);
  transform: scale(1.04);
}

/* ===== Custom Products 視認性改善 ===== */
#custom-products .section-title,
#custom-products .section-title.light {
  color: #ffffff;
}

#custom-products .section-text {
  color: rgba(255,255,255,0.88);
}

/* カード（ガラス強化） */
#custom-products .feature-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 20px 50px rgba(10,34,64,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* タイトル */
#custom-products .feature-card h3 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

/* 本文 */
#custom-products .feature-card p {
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
}

/* 画像枠（白浮き防止） */
#custom-products .product-image {
  border: 1px solid rgba(255,255,255,0.24);
}


/* ===== Company dark section readability fix ===== */
#company-quality {
  color: #ffffff;
}

#company-quality .section-eyebrow.light {
  color: rgba(255,255,255,0.72);
}

#company-quality .section-title,
#company-quality .section-title.light {
  color: #ffffff;
}

#company-quality .feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 50px rgba(10,34,64,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#company-quality .feature-card h3 {
  color: #ffffff;
  margin-bottom: 12px;
}

#company-quality .feature-card p {
  color: rgba(255,255,255,0.84);
  line-height: 1.9;
}

/* ===== Header final override ===== */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-image {
  display: block;
  height: 54px;
  width: auto;
  opacity: 0.96;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  color: #5f748a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: rgba(95,116,138,0.42);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.header-nav a:hover {
  color: #16324f;
  background: rgba(255,255,255,0.44);
  border-color: rgba(180,205,226,0.62);
  box-shadow: 0 8px 20px rgba(83,124,168,0.10);
  transform: translateY(-1px);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-nav a.active {
  color: #16324f;
  background: rgba(255,255,255,0.52);
  border-color: rgba(180,205,226,0.72);
  box-shadow: 0 8px 22px rgba(83,124,168,0.12);
}

.header-nav a.active::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .logo-image {
    height: 44px;
  }
}

.message-layout {
  align-items: center;
  grid-template-columns: 1.5fr 1fr;
}

.message-photo-panel {
  display: flex;
}

.message-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
  border-radius: 28px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(234,242,248,0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.65),
    inset 0 0 42px rgba(255,255,255,0.42),
    0 22px 50px rgba(91,129,168,0.16);
}

.message-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(234,242,248,0.72) 0%, rgba(234,242,248,0.34) 12%, rgba(234,242,248,0.06) 28%, rgba(234,242,248,0) 42%, rgba(234,242,248,0) 58%, rgba(234,242,248,0.06) 72%, rgba(234,242,248,0.34) 88%, rgba(234,242,248,0.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.64) 0%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0) 52%, rgba(234,242,248,0.58) 100%);
}

.message-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.72);
}

@media (max-width: 768px) {
  .message-photo {
    min-height: 380px;
    background-repeat: no-repeat;
}
}

.history-list {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.history-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(210,225,238,0.72);
  box-shadow: 0 10px 24px rgba(83,124,168,0.08);
}

.history-year {
  font-weight: 700;
  color: #173754;
  letter-spacing: 0.02em;
}

.history-body {
  color: #49657f;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .history-year {
    font-size: 15px;
  }
}

.access-map {
  margin: 28px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(210,225,238,0.6);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

.access-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 768px) {
  .access-map iframe {
    height: 260px;
  }
}

/* ===== Access section tuning ===== */
#access .btn-primary {
  color: #16324f;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(160,186,210,0.62);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

#access .btn-primary:hover {
  color: #16324f;
  background: rgba(255,255,255,0.96);
  border-color: rgba(160,186,210,0.82);
}

#access .access-map {
  margin: 28px 0;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 18px 40px rgba(91,129,168,0.12);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

#access .access-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 20px;
}

@media (max-width: 768px) {
  #access .access-map {
    padding: 10px;
    border-radius: 22px;
  }

  #access .access-map iframe {
    height: 260px;
    border-radius: 16px;
  }
}

/* ===== Recruit section button ===== */
.recruit-section .btn-primary {
  color: #16324f;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(160,186,210,0.62);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

.recruit-section .btn-primary:hover {
  color: #16324f;
  background: rgba(255,255,255,0.98);
  border-color: rgba(160,186,210,0.82);
}

/* ===== Mobile recruit CTA + hamburger menu ===== */
.mobile-recruit-link,
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header-inner {
    height: 72px;
    position: relative;
  }

  .logo-image {
    height: 42px;
  }

  .mobile-recruit-link {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 999px;
    border: 1px solid rgba(160,186,210,0.62);
    background: rgba(255,255,255,0.72);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #16324f;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 24px;
    right: 24px;
    z-index: 120;
    padding: 14px;
    border-radius: 24px;
    background: rgba(240,247,252,0.92);
    border: 1px solid rgba(255,255,255,0.62);
    box-shadow: 0 18px 40px rgba(83,124,168,0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .header-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .header-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 16px;
    font-size: 15px;
  }
}

/* ===== News section ===== */
.news-section {
  padding: 84px 0;
}

.news-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(255,255,255,0.66);
  box-shadow: 0 12px 30px rgba(91,129,168,0.10);
  color: #49657f;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-item:hover {
  background: rgba(255,255,255,0.82);
  transform: translateY(-1px);
}

.news-item time {
  color: #6f88a1;
  font-weight: 700;
  font-size: 14px;
}

.news-item span {
  color: #173754;
  font-weight: 500;
}

@media (max-width: 768px) {
  .news-section {
    padding: 64px 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }
}

/* ===== Contact action buttons layout fix ===== */
.contact-section .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-section .hero-actions .btn {
  margin-right: 0;
  min-width: 132px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-section .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .contact-section .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Top page section spacing tuning ===== */
#index-page .section,
body .section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.news-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 768px) {
  body .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .news-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ===== Home page section spacing tuning ===== */
.home-page #news {
  padding-top: 60px;
  padding-bottom: 64px;
}

.home-page #strength {
  padding-top: 72px;
  padding-bottom: 76px;
}

.home-page #products {
  padding-top: 72px;
  padding-bottom: 76px;
}

.home-page #quality {
  padding-top: 78px;
  padding-bottom: 78px;
}

.home-page #factory {
  padding-top: 72px;
  padding-bottom: 76px;
}

@media (max-width: 768px) {
  .home-page #news,
  .home-page #strength,
  .home-page #products,
  .home-page #quality,
  .home-page #factory {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ===== Inquiry form ===== */
.inquiry-form,
.confirm-box {
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: 0 18px 40px rgba(91,129,168,0.10);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #173754;
}

.form-row label span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #ffffff;
  background: #bf3f3f;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(160,186,210,0.72);
  background: rgba(255,255,255,0.88);
  font-family: inherit;
  font-size: 15px;
  color: #16324f;
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  color: #5d7690;
  line-height: 1.8;
}

.confirm-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(160,186,210,0.32);
}

.confirm-row strong {
  color: #173754;
}

.confirm-row p {
  margin: 0;
  color: #49657f;
  line-height: 1.8;
}

.inquiry-form button,
.confirm-box button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 768px) {
  .form-grid,
  .confirm-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form,
  .confirm-box {
    padding: 22px;
  }
}

/* ===== Inquiry button visibility fix ===== */
.inquiry-form .btn-primary,
.confirm-box .btn-primary,
button.btn-primary {
  color: #16324f;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(160,186,210,0.62);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

.inquiry-form .btn-primary:hover,
.confirm-box .btn-primary:hover,
button.btn-primary:hover {
  color: #16324f;
  background: rgba(255,255,255,0.98);
  border-color: rgba(160,186,210,0.82);
}

/* ===== Inquiry complete button visibility fix ===== */
.inquiry-section .btn-primary {
  color: #16324f;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(160,186,210,0.62);
  box-shadow: 0 10px 24px rgba(83,124,168,0.10);
}

.inquiry-section .btn-primary:hover {
  color: #16324f;
  background: rgba(255,255,255,0.98);
  border-color: rgba(160,186,210,0.82);
}

/* ===== History reveal timeline ===== */
.history-timeline {
  position: relative;
}

.history-timeline .history-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.history-timeline .history-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Office access cards ===== */
.office-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.office-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: 0 14px 34px rgba(91,129,168,0.10);
}

.office-card h3 {
  margin: 0 0 14px;
  color: #173754;
  font-size: 20px;
}

.office-card p {
  margin: 0 0 12px;
  color: #49657f;
  line-height: 1.8;
}

.office-card p:last-child {
  margin-bottom: 0;
}

.office-card strong {
  color: #173754;
}

@media (max-width: 768px) {
  .office-grid {
    grid-template-columns: 1fr;
  }

  .office-card {
    padding: 20px;
  }
}

/* リンク無しの新着項目（PDF等の遷移先が無いもの） */
.news-item.is-static {
  cursor: default;
  pointer-events: none;
}

/* ===== 新着情報：モーダル ===== */
.news-item.is-static {
  cursor: default;
  pointer-events: none;
}
button.news-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.news-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  z-index: 1000;
  padding: 20px;
}
.news-modal.is-open { display: flex; }
body.is-modal-open { overflow: hidden; }
.news-modal-panel {
  position: relative;
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 28px;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.news-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.news-modal-close:hover { color: #000; }
.news-modal-date {
  font-size: .875rem;
  color: #777;
  margin: 0 0 6px;
}
.news-modal-title {
  font-size: 1.25rem;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
}
.news-modal-body p {
  line-height: 1.9;
  margin: 0 0 1em;
}
.news-modal-signature {
  text-align: right;
  margin-top: 24px;
  color: #555;
}
@media (max-width: 600px) {
  .news-modal-panel { padding: 28px 18px; }
}

/* ===== ヘッダーナビ：TOPリンク ===== */
.header-nav .nav-top {
  font-weight: 600;
  letter-spacing: .06em;
}

/* ===== ページ先頭へ戻るボタン ===== */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 50, 79, .88);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
  z-index: 900;
  box-shadow: 0 10px 24px rgba(83, 124, 168, .32);
  border: 1px solid rgba(160, 186, 210, .45);
}
.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-top:hover {
  background: #16324f;
  box-shadow: 0 12px 28px rgba(83, 124, 168, .45);
}
@media (max-width: 600px) {
  .page-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ===== プレスリリース／お知らせ詳細ページ ===== */
.release {
  max-width: 900px;
  margin: 0 auto;
}
.release-date {
  font-size: .875rem;
  color: #6b7c8f;
  letter-spacing: .04em;
  margin: 0 0 6px;
}
.release-title {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #16324f;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(160, 186, 210, .55);
}
.release-lead {
  line-height: 1.95;
  margin: 0 0 1.2em;
}
.release-note {
  font-size: .9rem;
  color: #6b7c8f;
}
.release-subtitle {
  font-size: 1.05rem;
  color: #16324f;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 3px solid rgba(83, 124, 168, .65);
}
.release-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.8;
}
.release-table th,
.release-table td {
  border: 1px solid rgba(160, 186, 210, .5);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.release-table thead th {
  background: rgba(83, 124, 168, .1);
  color: #16324f;
  white-space: nowrap;
}
.release-table-summary th {
  width: 140px;
  background: rgba(83, 124, 168, .06);
  white-space: nowrap;
}
.release-table-project th {
  width: 30%;
  background: rgba(83, 124, 168, .06);
  color: #16324f;
}
.release-table-project td span {
  display: block;
  padding-left: 1.1em;
  text-indent: -1.1em;
}
.release-table-project td span::before {
  content: "・";
  color: #537ca8;
}
.release-file {
  margin-top: 32px;
  text-align: center;
}
.release-file .btn-primary {
  display: inline-block;
  padding: 12px 32px;
  color: #16324f;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(160, 186, 210, .7);
  box-shadow: 0 10px 24px rgba(83, 124, 168, .14);
  border-radius: 4px;
  text-decoration: none;
}
.release-file .btn-primary:hover {
  background: #16324f;
  color: #fff;
}
@media (max-width: 700px) {
  .release-title { font-size: 1.15rem; }
  .release-table { font-size: .875rem; }
  .release-table th,
  .release-table td { padding: 10px; }
  .release-table-summary th { width: 100px; }
  .release-table-project,
  .release-table-project thead,
  .release-table-project tbody,
  .release-table-project tr,
  .release-table-project th,
  .release-table-project td { display: block; width: auto; }
  .release-table-project thead { display: none; }
  .release-table-project tr { margin-bottom: 14px; }
  .release-table-project th { border-bottom: none; }
}

/* ===== 社会貢献ページ ===== */
.topic-list {
  max-width: 880px;
  margin: 32px auto 0;
}
.topic-item {
  padding: 28px 0;
  border-top: 1px solid rgba(160, 186, 210, .45);
}
.topic-item:last-child {
  border-bottom: 1px solid rgba(160, 186, 210, .45);
}
.topic-date {
  font-size: .875rem;
  color: #6b7c8f;
  letter-spacing: .04em;
  margin: 0 0 6px;
}
.topic-title {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #16324f;
  margin: 0 0 14px;
}
.topic-body {
  line-height: 1.95;
  margin: 0 0 18px;
}
.topic-meta {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  margin: 0 0 18px;
  padding: 16px 20px;
  background: rgba(83, 124, 168, .06);
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.7;
}
.topic-meta dt {
  color: #16324f;
  font-weight: 600;
}
.topic-meta dd {
  margin: 0;
}
.topic-file {
  margin: 0;
}
.topic-file a {
  display: inline-block;
  padding: 10px 24px;
  color: #16324f;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(160, 186, 210, .7);
  border-radius: 4px;
  text-decoration: none;
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.topic-file a:hover {
  background: #16324f;
  color: #fff;
}
@media (max-width: 700px) {
  .topic-title { font-size: 1rem; }
  .topic-meta {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 16px;
  }
  .topic-meta dt { margin-top: 8px; }
  .topic-meta dt:first-child { margin-top: 0; }
  .topic-file a { display: block; text-align: center; }
}

/* ===== 一般事業主行動計画 ===== */
.plan {
  margin-top: 18px;
  padding: 24px 26px;
  background: rgba(83, 124, 168, .05);
  border: 1px solid rgba(160, 186, 210, .45);
  border-radius: 6px;
}
.plan-lead {
  line-height: 1.9;
  margin: 0 0 18px;
}
.plan-period {
  margin: 0 0 24px;
  padding: 12px 16px;
  background: #fff;
  border-left: 3px solid rgba(83, 124, 168, .65);
  font-weight: 600;
  color: #16324f;
}
.plan-period-label {
  display: inline-block;
  margin-right: 14px;
  font-size: .85rem;
  color: #6b7c8f;
}
.plan-subhead {
  font-size: 1.05rem;
  color: #16324f;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(160, 186, 210, .5);
}
.plan-goal {
  margin: 0 0 24px;
}
.plan-goal:last-child {
  margin-bottom: 0;
}
.plan-goal-title {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  background: #16324f;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 999px;
}
.plan-goal-body {
  line-height: 1.85;
  margin: 0 0 12px;
  font-weight: 600;
  color: #16324f;
}
.plan-action-label {
  font-size: .875rem;
  color: #6b7c8f;
  margin: 0 0 8px;
}
.plan-list {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.85;
}
.plan-list li {
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .plan { padding: 20px 16px; }
  .plan-period { padding: 12px; }
  .plan-period-label { display: block; margin: 0 0 4px; }
}

/* 見出し・リード内の改行はPCのみ有効（スマホでは自然折り返し） */
@media (max-width: 768px) {
  br.br-pc {
    display: none;
  }
}

/* SCROLL をクリック可能に */
.hero-scroll {
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.hero-scroll:hover {
  opacity: .7;
  transform: translateY(3px);
}
