/* ===================================================================
   TUBE FORMING — hand-coded rebuild (was Adobe Muse export)
   =================================================================== */

:root {
  --navy: #0F1671;
  --navy-active: #00004E;
  --navy-footer: #0F163A;
  --navy-band: #0F1626;
  --red: #C80000;
  --red-accent: #ED1C24;
  --gold: #C3AE78;
  --text: #333333;
  --font-jp: "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Yu Gothic", Meiryo, "MS PGothic", sans-serif;
  --font-en: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --header-height: 122px;
  --content-max: 958px;
  --nav-max: 958px;
  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; display: block; }

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

ul { margin: 0; padding: 0; list-style: none; }

.ja, .en { display: block; }

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
}

.header-top {
  background: #fff;
}

.header-top__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px 14px;
  position: relative;
}

.logo img { width: 200px; height: auto; }

.tagline {
  margin: 0;
  font-family: var(--font-jp);
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
  white-space: nowrap;
}

.contact-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.contact-btn__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-btn__icon img { width: 20px; height: auto; }

.contact-btn__label {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1;
  color: #1B1464;
  letter-spacing: 1px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--navy);
}

.hamburger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  background: var(--navy);
  border-bottom: 4px solid var(--red);
  position: relative;
}

.main-nav ul {
  max-width: var(--nav-max);
  margin: 0 auto;
  display: flex;
}

.main-nav__item {
  flex: 1;
  min-width: 0;
}

.main-nav a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 6px 8px 8px;
  text-align: center;
  transition: background-color .15s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: transparent;
  transition: background-color .15s ease;
}

.main-nav a .ja {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

.main-nav a .en {
  font-family: var(--font-en);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 4px;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: var(--navy-active);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  background: var(--gold);
}

.nav-contact { display: none; }

/* ---------------- Hero ---------------- */

main { display: block; }

.hero {
  position: relative;
  margin-top: var(--header-height);
  height: 60vw;
  max-height: 540px;
  min-height: 320px;
  overflow: hidden;
  background: #000;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  transition: opacity 1.4s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
  animation: hero-kenburns 5s ease-out forwards;
}

@keyframes hero-kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__text h1 {
  max-width: 640px;
  width: 100%;
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 700;
  color: #fff;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 4px;
  overflow-wrap: break-word;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.hero__text h1::after {
  content: '';
  display: block;
  width: 130px;
  height: 2px;
  background: var(--red-accent);
  margin: 18px auto 0;
}

.hero__text p {
  margin: 18px 0 0;
  font-family: var(--font-en);
  letter-spacing: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gold);
}

@media (max-width: 958px) {
  .hero__text { padding: 0 32px; }
  .hero__text h1 { font-size: 20px; max-width: 460px; letter-spacing: 2px; }
  .hero__text p { font-size: 12px; letter-spacing: 3px; }
}

@media (max-width: 480px) {
  .hero__text { padding: 0 20px; }
  .hero__text h1 { font-size: 16px; max-width: 320px; letter-spacing: 1px; }
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.hero__nav::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-style: solid;
  border-color: #fff;
  border-width: 0 0 2px 2px;
}

.hero__nav--prev {
  left: max(4px, calc(50% - 499px));
}
.hero__nav--prev::before {
  transform: rotate(45deg) translate(1px, -1px);
}

.hero__nav--next {
  right: max(4px, calc(50% - 499px));
}
.hero__nav--next::before {
  transform: rotate(-135deg) translate(1px, -1px);
}

@media (max-width: 768px) {
  /* space-between flex layout is robust regardless of viewport-width
     rounding, unlike the desktop right/left calc() offsets above */
  .hero__nav-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
  }
  .hero__nav-wrap .hero__nav {
    position: static;
    pointer-events: auto;
  }
}

.hero__nav:hover { background: rgba(0,0,0,.8); }

/* ---------------- Feature links ---------------- */

.feature-links {
  display: flex;
  gap: 16px;
  max-width: var(--content-max);
  margin: max(-9.6vw, -92px) auto 0;
  position: relative;
  z-index: 5;
}

/* used when this row follows normal page content instead of the tall
   homepage hero — no negative overlap needed */
.feature-links--plain {
  margin-top: 44px;
  margin-bottom: 60px;
}

.feature-card {
  flex: 1;
  position: relative;
  aspect-ratio: 306 / 176;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(15,22,113,0), var(--navy) 100%);
}

.feature-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding-bottom: 10px;
  text-align: center;
  z-index: 1;
}

.feature-card__label .ja {
  font-family: var(--font-jp);
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 2px;
}

.feature-card__label .en {
  font-family: var(--font-en);
  color: var(--gold);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 1px;
  margin-top: 6px;
}

.feature-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-accent);
}

/* ---------------- Recruit banner ---------------- */

.recruit-banner {
  display: block;
  line-height: 0;
  margin: 50px auto 0;
  max-width: 900px;
}
.recruit-banner img { width: 100%; height: auto; }

/* ---------------- Section headings ---------------- */

.section-heading {
  text-align: center;
  margin: 0 0 24px;
  padding-top: 32px;
}

.section-heading .ja {
  font-family: var(--font-jp);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
  letter-spacing: 4px;
}

.section-heading .ja::after {
  content: '';
  display: block;
  width: 170px;
  height: 2px;
  background: var(--red-accent);
  margin: 10px auto;
}

.section-heading--on-dark .ja { color: #fff; }

.section-heading .en {
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 2px;
  color: var(--gold);
}

/* ---------------- News ---------------- */

.news-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px 50px;
}

.news-list li {
  border-bottom: 1px solid #ddd;
}

.news-list a {
  display: flex;
  gap: 20px;
  padding: 14px 4px;
  align-items: baseline;
  line-height: 1.6;
}

.news-list time {
  flex: none;
  font-family: var(--font-en);
  color: #888;
  font-size: 13px;
}

.news-list a span:last-child {
  font-family: var(--font-jp);
  font-size: 15px;
  width: 100%;
}

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

.news-list li a::after{
  display: inline-block;
  content: '';
  margin-left: 8px;
  padding-top: 4px;
  width: 11px;
  height: 14px;
  background: url(../images/arrow_black.svg) no-repeat center;
  background-size: contain;

}

.news-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  min-width: 320px;
  text-align: center;
  margin: 24px auto 0;
  padding: 10px 60px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 1px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.news-more__text { text-decoration: underline; }

.news-more::after {
  content: '\276F';
  font-size: 16px;
  font-weight: 700;
}


/* ---------------- Forming band ---------------- */

.forming-band {
  background-color: var(--navy-band);
  background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('../images/key_v02_02.jpg');
  background-size: cover;
  background-position: center;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forming-band .section-heading {
  padding-top: 0;
  margin-bottom: 0;
}

.forming-band .section-heading .ja::after { background: var(--red-accent); }

/* ---------------- Product grid ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--content-max);
  margin: 0 auto 60px;
  padding: 40px 20px 0;
}

.product-card { display: block; }

.product-card img {
  width: 100%;
  aspect-ratio: 306 / 140;
  object-fit: cover;
}

.product-card__label {
  display: block;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  padding: 12px 8px 14px;
  position: relative;
}

.product-card__label::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-accent);
}


/* ---------------- Catalog banner ---------------- */

.catalog-banner {
  display: block;
  max-width: var(--content-max);
  margin: 60px auto 80px;
}

@media (min-width: 769px) {
  .catalog-banner { max-width: 766px; }
}

.catalog-banner img { width: 100%; height: auto; }

/* ---------------- Recruit page ---------------- */

.entry-btn {
  display: inline-block;
  padding: 10px 32px;
  background: var(--red-accent);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 1px;
  border-radius: 100px;
  text-align: center;
  transition: background-color .2s ease;
}


.entry-btn-wrap {
  text-align: center;
  margin: 40px auto 0;
}

.recruit-banner-strip {
  max-width: var(--content-max);
  margin: 30px auto 0;
}

.banner-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 313;
  overflow: hidden;
}

.banner-slideshow__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.banner-slideshow__slide.is-active {
  opacity: 1;
}

.banner-slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
  z-index: 2;
}

.banner-slideshow__nav:hover { background: rgba(0, 0, 0, 0.8); }
.banner-slideshow__nav--prev { left: 16px; }
.banner-slideshow__nav--next { right: 16px; }

.recruit-wordmark {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}

.recruit-wordmark img { width: 480px; max-width: 100%; height: auto; margin: 0 auto; }

.lead-heading {
  text-align: center;
  margin: 50px auto 0;
  max-width: 700px;
  padding: 0 20px;
}

.lead-heading::before {
  content: '';
  display: block;
  width: 160px;
  height: 1px;
  margin: 0 auto 30px;
  background: #ccc;
}

.lead-heading p:first-child {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 28px;
  color: #000;
  margin: 0;
}

.lead-heading p:last-child {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 24px;
  color: #000;
  margin: 10px 0 0;
}

.lead-heading__divider {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 0 20px;
}

.lead-heading__divider::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--navy);
}

.cta-banner {
  position: relative;
  max-width: var(--content-max);
  margin: 60px auto 0;
}

.cta-banner img { width: 100%; height: auto; display: block; }

.cta-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cta-banner__content p {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

@media (max-width: 768px) {
  .lead-heading p:first-child { font-size: 22px; }
  .lead-heading p:last-child { font-size: 18px; }
  .cta-banner__content { gap: 12px; padding: 0 16px; }
  .cta-banner__content p { font-size: 16px; }
  .entry-btn { padding: 8px 24px; font-size: 14px; }
}

/* ---------------- Contact form ---------------- */

.contact-form-section {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 0 20px;
}
/*
.contact-form-section dl.mailform {
  margin: 40px 0 0;
  border-top: 1px solid #ddd;
}

.contact-form-section dt.mfp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0 8px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: #000;
  border-bottom: none;
}

.contact-form-section dd.mfp {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid #ddd;
}

.contact-form-section .must {
  display: inline-block;
  flex: none;
  background: var(--red-accent);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-jp);
  padding: 2px 8px;
  border-radius: 2px;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section select {
  padding: 8px 10px;
  margin: 0 8px 8px 0;
  font-size: 15px;
  font-family: var(--font-jp);
  border: 1px solid #ccc;
  border-radius: 3px;
  max-width: 100%;
}

.contact-form-section input[type="email"] { min-width: 260px; }

.contact-form-section textarea {
  width: 100%;
  max-width: 600px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: var(--font-jp);
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.contact-form-section ol { list-style: none; margin: 0; padding: 0; }
.contact-form-section ol li { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.contact-form-section ol li span { flex: none; width: 90px; padding-top: 8px; font-size: 14px; color: #555; }

.contact-form-section dd.mfp label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 20px 8px 0;
  font-size: 15px;
  font-family: var(--font-jp);
  color: #000;
}

.contact-form-section__note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.contact-form-section .mfp_buttons {
  text-align: center;
  margin: 30px 0 0;
}

.contact-form-section .mfp_buttons button {
  font-family: var(--font-jp);
  font-size: 16px;
  padding: 12px 40px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
}

.contact-form-section .mfp_buttons button[type="submit"] {
  background: var(--red-accent);
  color: #fff;
}


.contact-form-section .mfp_buttons button[type="reset"] {
  background: #eee;
  color: #333;
  margin-left: 12px;
}*/

/* ---------------- Back to top ---------------- */

.back-to-top {
  position: absolute;
  top: 0;
  right: max(20px, calc(50% - 479px));
  transform: translateY(-100%);
  width: 34px;
  height: 34px;
  background: var(--navy-footer);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  z-index: 10;
}

.back-to-top::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-color: #fff;
  border-width: 2px 0 0 2px;
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------------- Footer ---------------- */

.site-footer {
  position: relative;
  background: var(--navy-footer);
  padding: 22px 20px;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.privacy-link {
  color: #fff;
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer__brand img { height: 20px; width: auto; }

.site-footer__brand p {
  margin: 0;
  font-family: var(--font-en);
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
}

/* ---------------- Sub-page hero / breadcrumb / intro / feature rows ---------------- */

.page-hero {
  position: relative;
  margin-top: var(--header-height);
  height: 300px;
  background-color: var(--navy-band);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--navy-band);
  opacity: 0.53;
}

.page-hero__content {
  position: relative;
  text-align: center;
}

.page-hero__content h1 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 8px;
  color: #fff;
}

.page-hero__content h1::after {
  content: '';
  display: block;
  width: 130px;
  height: 2px;
  background: var(--red-accent);
  margin: 5px auto 0;
}

.page-hero__content p {
  margin: 10px 0 0;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--gold);
}

.page-hero__entry-btn {
  display: inline-block;
  margin-top: 24px;
}

.breadcrumb {
  background: #f0f0f0;
}

.breadcrumb__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 5px 20px;
  font-family: var(--font-jp);
  font-size: 13px;
  color: #666;
}

.breadcrumb__inner a {
  color: #666;
  text-decoration: underline;
}

.breadcrumb__sep {
  margin: 0 10px;
  color: #999;
}

.page-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 0;
  text-align: center;
}

.page-intro h2 {
  margin: 0 0 24px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 26px;
  color: #000;
}

.page-intro p {
  margin: 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.9;
  color: #000;
}

.section-divider {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 0 20px;
}

.section-divider::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--navy);
}

.lead-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px 20px 0;
  text-align: center;
  font-family: var(--font-jp);
  font-size: 17px;
  line-height: 1.9;
  color: #000;
}

.lead-text--motto {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.lead-text__note {
  font-size: 13px;
  color: #666;
}

.lead-text--bold {
  font-weight: 700;
}

.bullet-list {
  max-width: 800px;
  margin: 24px auto 0;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  color: #000;
}

.bullet-list p {
  margin: 0;
}

/* ---------------- Sub-page nav tabs (company/history/base etc.) ---------------- */

.sub-nav {
  max-width: var(--content-max);
  margin: 24px auto 0;
  background: var(--navy);
  border-bottom: 4px solid var(--red);
}

.sub-nav ul {
  display: flex;
}

.sub-nav__item {
  flex: 1;
  min-width: 0;
}

.sub-nav a {
  display: block;
  position: relative;
  width: 100%;
  padding: 6px 8px;
  text-align: center;
  font-family: var(--font-jp);
  font-size: 15px;
  color: #fff;
  transition: background-color .15s ease;
}

.sub-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: transparent;
  transition: background-color .15s ease;
}

.sub-nav a:hover,
.sub-nav a.is-active {
  background: var(--navy-active);
}

.sub-nav a:hover::after,
.sub-nav a.is-active::after {
  background: var(--gold);
}

/* ---------------- Simple centered section title (no EN subtitle) ---------------- */

.block-heading {
  text-align: center;
  margin: 0 0 30px;
}

.block-heading span {
  display: inline-block;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 4px;
  color: #000;
}

.block-heading span::after {
  content: '';
  display: block;
  width: 90px;
  height: 2px;
  background: var(--red-accent);
  margin: 12px auto 0;
}

.block-heading--blue span::after {
  background: var(--navy);
}

/* ---------------- Definition-style info table ---------------- */

.info-table {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.info-table__row {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.7;
}

.info-table__row dt {
  flex: none;
  width: 150px;
  font-weight: 700;
  color: #000;
}

.info-table__row dd {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: #000;
}

.info-table__row dd a { color: var(--navy); text-decoration: underline; }
.info-table__row dd p + p { margin-top: 4px; }

/* ---------------- Thank-you confirmation message ---------------- */

.thanks-message {
  max-width: var(--content-max);
  margin: 60px auto 0;
  padding: 0 20px 100px;
  text-align: left;
}

.thanks-message p {
  margin: 0 0 24px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  color: #000;
}

.thanks-message__divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 24px 0;
}

.thanks-message--center {
  text-align: center;
}

.thanks-message p.thanks-message--lead {
  font-size: 24px;
}

/* ---------------- Advantages page diagrams ---------------- */

.advantage-diagram {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 0 20px;
  text-align: center;
}

.advantage-diagram img {
  max-width: 100%;
  height: auto;
}

/* ---------------- Process detail page (bulge/swaging/expand/etc) ---------------- */

.process-title {
  text-align: center;
  margin: 44px auto 0;
  padding: 0 20px;
}

.process-title h2 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 2px;
  color: #000;
}

.process-title h2:only-child::after {
  content: '';
  display: block;
  width: 160px;
  height: 2px;
  background: var(--red-accent);
  margin: 12px auto 0;
}

.process-title p {
  margin: 6px 0 0;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  color: #000;
}

.process-title p::after {
  content: '';
  display: block;
  width: 160px;
  height: 2px;
  background: var(--red-accent);
  margin: 12px auto 0;
}

.showcase-grid {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.showcase-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.showcase-grid--1 {
  grid-template-columns: minmax(0, 300px);
  justify-content: center;
}

.showcase-item__image {
  aspect-ratio: 306 / 204;
  overflow: hidden;
}

.showcase-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-item__caption {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  color: #000;
}

.process-heading {
  text-align: center;
  margin: 60px auto 0;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 22px;
  color: #000;
}

.process-diagram {
  max-width: 600px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.process-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- Section title with subtitle + divider ---------------- */

.section-title {
  max-width: var(--content-max);
  margin: 44px auto 0;
  padding: 0 20px 30px;
  text-align: center;
  border-bottom: 2px solid var(--navy);
}

.section-title h2 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 28px;
  color: #000;
}

.section-title p {
  margin: 8px 0 0;
  font-family: var(--font-jp);
  font-size: 17px;
  color: #000;
}

/* ---------------- Plain text block (heading + paragraph) ---------------- */

.text-block {
  max-width: var(--content-max);
  margin: 50px auto 0;
  padding: 0 20px;
}

.text-block h3 {
  margin: 0 0 16px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  color: #000;
}

.text-block p {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  color: #000;
}

.text-block__image {
  max-width: var(--content-max);
  margin: 30px auto 0;
  padding: 0 20px;
}

.text-block__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- FAQ list ---------------- */

.faq-list {
  max-width: var(--content-max);
  margin: 44px auto 0;
  padding: 0 20px;
}

.faq-item {
  margin-top: 36px;
}

.faq-item:first-child {
  margin-top: 0;
}

.faq-item__q {
  margin: 0 0 10px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 21px;
  color: #000;
}

.faq-item__q-num {
  color: var(--navy);
}

.faq-item__a {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  color: #000;
}

/* ---------------- Staff profile (interview, photo + Q&A) ---------------- */

.staff-profile {
  max-width: var(--content-max);
  margin: 30px auto 0;
  padding: 30px 20px 0;
}

.staff-profile + .staff-profile {
  margin-top: 50px;
  border-top: 1px solid #ddd;
}

.staff-profile::after {
  content: '';
  display: block;
  clear: both;
}

.staff-profile__header {
  margin: 0 0 20px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 24px;
  color: #000;
}

.staff-profile__years {
  margin-left: 16px;
  font-weight: 400;
  font-size: 18px;
  color: #666;
}

.staff-profile__photo {
  float: right;
  width: 450px;
  max-width: 48%;
  margin: 0 0 20px 30px;
}

.staff-profile__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.staff-profile__q {
  margin: 24px 0 10px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  color: #000;
}

.staff-profile__q:first-of-type {
  margin-top: 0;
}

.staff-profile__a {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  color: #000;
}

/* ---------------- History timeline ---------------- */

.history-timeline {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.history-year {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.history-year:first-child {
  border-top: none;
}

.history-year__label {
  flex: none;
  width: 170px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
}

.history-year__num {
  font-weight: 700;
  color: #000;
}

.history-year__era {
  margin-left: 2px;
  color: #666;
}

.history-events {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-event {
  display: flex;
  gap: 16px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

.history-event__month {
  flex: none;
  width: 60px;
}

.history-event__text {
  flex: 1;
  min-width: 0;
}

/* ---------------- Base / location info ---------------- */

.base-location {
  max-width: var(--content-max);
  margin: 50px auto 0;
  padding: 0 20px;
}

.base-location + .base-location {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #ddd;
}

.base-location__title {
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: #000;
  margin: 0 0 24px;
}

.base-location__photo {
  margin: 0 0 20px;
}

.base-location__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.base-location__map {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 0 0 30px;
  background: #eee;
}

.base-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.base-location__info {
  display: flex;
  gap: 40px;
}

.base-location__address p,
.base-location__access p {
  margin: 0 0 6px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

.base-location__address {
  flex: none;
  width: 300px;
}

.base-location__access {
  flex: 1;
  min-width: 0;
}

.base-location__access-group {
  margin-bottom: 16px;
}

.base-location__access-group:last-child {
  margin-bottom: 0;
}

.base-location__access-label {
  font-weight: 700;
}

/* ---------------- Policy / numbered list section ---------------- */

.policy-section {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.policy-lead {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  color: #000;
  margin: 0 0 24px;
}

.policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-list > li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

.policy-list > li > .policy-list__num {
  flex: none;
  font-weight: 700;
}

.policy-sublist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.policy-sublist > li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.policy-sublist strong {
  flex: none;
  font-weight: 700;
  color: #000;
}

.policy-sublist__num {
  flex: none;
  font-weight: 700;
  color: #000;
}

.policy-pdf-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--navy);
  text-decoration: underline;
}

.feature-rows {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-row__text { flex: 1; min-width: 0; }
.feature-row__image { flex: 1; min-width: 0; }
.feature-row__image img { width: 100%; height: auto; }

.feature-row__text h3 {
  margin: 0 0 16px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
}

.feature-row__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #000;
}

/* ===================================================================
   Tablet: 769–958px  (Muse bp_958)
   =================================================================== */

@media (max-width: 958px) {
  .header-top__inner { padding: 14px 16px 10px; gap: 14px; }
  .logo img { width: 160px; }
  .tagline { display: none; }
  .contact-btn__label { display: none; }
  .contact-btn__icon { width: 34px; height: 34px; }
  :root { --header-height: 101px; }
  .main-nav a { padding: 8px 4px 10px; }
  .main-nav a .ja { font-size: 12px; }
}

/* ===================================================================
   Mobile: <=768px  (Muse bp_768)
   =================================================================== */

@media (max-width: 768px) {
  .site-header { position: static; }
  .hero { margin-top: 0; overflow: hidden; }
  .hero__nav--prev,
  .hero__nav--next { right: auto; left: auto; }
  .hero__nav--prev { left: 8px; }
  .hero__nav--next { right: 8px; }

  .header-top__inner {
    flex-wrap: wrap;
    padding: 16px 16px 10px;
  }

  .logo img { width: 220px; }
  .tagline {
    display: block;
    flex-basis: 100%;
    white-space: normal;
    font-size: 12px;
    order: 3;
  }
  .contact-btn { display: none; }
  .hamburger { display: block; }

  .main-nav {
    max-height: 0;
    overflow: hidden;
    border-bottom: none;
    transition: max-height .25s ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav ul { display: block; }
  .main-nav a {
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,.15);
    padding: 14px 20px;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .main-nav a .en { margin-top: 0; }
  .nav-contact { display: block; }

  .hero { width: 100%; height: 130vw; max-height: none; min-height: 220px; }

  .feature-links { flex-direction: column; align-items: center; margin-top: -30px; }
  .feature-links--plain { margin-top: 24px; }
  .feature-card { flex: none; width: 90%; aspect-ratio: 16/9; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-title h2 { font-size: 24px; }
  .process-title p { font-size: 16px; }

  .site-footer__inner { flex-direction: column; text-align: center; }

  .page-hero { margin-top: 0; height: 220px; }
  .page-hero__content h1 { font-size: 26px; letter-spacing: 5px; }

  .page-intro { padding: 36px 20px 0; }
  .page-intro h2 { font-size: 22px; }
  .page-intro p { font-size: 15px; line-height: 1.8; }

  .lead-text { padding: 32px 20px 0; font-size: 15px; line-height: 1.8; }
  .lead-text br { display: none; }
  .lead-text--motto { font-size: 22px; }

  .feature-rows { gap: 36px; padding: 36px 20px; }
  .feature-row { flex-direction: column; align-items: stretch; gap: 20px; }

  .sub-nav a { font-size: 12px; padding: 10px 4px; }

  .info-table__row { flex-direction: column; gap: 6px; }
  .info-table__row dt { width: auto; }

  .history-year { flex-direction: column; gap: 8px; padding: 16px 0; }
  .history-year__label { width: auto; }
  .history-event { font-size: 14px; }
  .history-event__month { width: 52px; }

  .base-location__info { flex-direction: column; gap: 20px; }
  .base-location__address { width: auto; }
  .base-location__map { height: 220px; }

  .recruit-wordmark img { width: 280px; }

  .staff-profile__photo { float: none; width: 100%; margin: 0 0 20px; }

  .policy-list > li,
  .policy-sublist > li { flex-direction: column; gap: 4px; }
}

/* ---------------- Link button hover: slow fade to semi-transparent ---------------- */

.contact-btn,
.news-more,
.entry-btn,
.feature-card,
.product-card,
.recruit-banner,
.catalog-banner,
.back-to-top,
.contact-form-section .mfp_buttons button {
  transition: opacity .5s ease;
}

@media (hover: hover) {
  .contact-btn:hover,
  .news-more:hover,
  .entry-btn:hover,
  .feature-card:hover,
  .product-card:hover,
  .recruit-banner:hover,
  .catalog-banner:hover,
  .back-to-top:hover,
  .contact-form-section .mfp_buttons button:hover {
    opacity: .8;
  }
}
