/* 会社説明会・工場見学ページ */
.setsumeikai-page {
  color: #1a2332;
  background: #fff;
  overflow-x: clip;
}

.page-visual {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.page-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(.64);
  transform: scale(1);
}
.page-visual-title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.page-visual h1 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: 18px;
  color: #5b6676;
  font-size: 13px;
}
.breadcrumb a { color: #2557a7; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.section-block,
.content-section { padding-block: 66px; }
.intro-title {
  margin: 0 0 42px;
  color: #2557a7;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
  text-align: center;
}
.intro-row,
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.intro-row { align-items: start; }
.photo-frame { margin: 0; overflow: hidden; }
.photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .45s ease;
}
.photo-frame:hover img { transform: scale(1.035); }
.intro-copy { padding-top: 2px; }
.intro-copy p + p { margin-top: 14px; }

.band-heading {
  margin: 0 0 36px;
  padding: 13px 18px;
  border-left: 6px solid #2557a7;
  background: #f2f5f9;
  color: #1b2d5b;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.4;
  font-weight: 700;
}
.feature-row + .feature-row { margin-top: 44px; }
.feature-row h3 {
  margin: 0 0 12px;
  color: #1a2332;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.55;
  font-weight: 700;
}
.feature-row p { line-height: 1.9; }

.easy-section { padding-top: 28px; }

.schedule-section {
  margin-top: 28px;
  padding-block: 76px;
  background: #eef4fb;
}
.schedule-section > .wrap > h2 {
  color: #2557a7;
  font-size: clamp(28px, 3.6vw, 38px);
  text-align: center;
}
.schedule-lead {
  max-width: 760px;
  margin: 28px auto 0;
  line-height: 1.9;
}
.schedule-phone {
  max-width: 760px;
  margin: 24px auto 34px;
  line-height: 1.7;
}
.schedule-phone span { font-size: 14px; }
.schedule-phone a {
  color: #1b2d5b;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}
.table-scroll { overflow-x: auto; }
.schedule-table,
.program-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.schedule-table th,
.schedule-table td,
.program-table th,
.program-table td {
  border: 1px solid #d7dee8;
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}
.schedule-table th,
.program-table th {
  background: #f2f5f9;
  color: #1b2d5b;
  font-weight: 700;
}
.schedule-table th:last-child,
.schedule-table td:last-child { width: 150px; text-align: center; }
.table-btn { min-width: 112px; padding: 11px 20px; font-size: 15px; }
.map-link {
  display: inline-block;
  margin-top: 5px;
  color: #2557a7;
  font-weight: 700;
  text-underline-offset: 3px;
}
.program { margin-top: 54px; scroll-margin-top: 80px; }
.program h3 {
  margin: 0;
  color: #1b2d5b;
  font-size: clamp(23px, 2.7vw, 30px);
  text-align: center;
}
.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.flow-list::before {
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: #8aa6ca;
  content: "";
  transform-origin: left;
}
.flow-item {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.flow-item:nth-child(1) { --flow-delay: 0ms; }
.flow-item:nth-child(2) { --flow-delay: 120ms; }
.flow-item:nth-child(3) { --flow-delay: 240ms; }
.flow-item:nth-child(4) { --flow-delay: 360ms; }
.flow-item:nth-child(5) { --flow-delay: 480ms; }
.flow-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 3px solid #8aa6ca;
  border-radius: 50%;
  background: #fff;
  color: #1b2d5b;
  font-size: 20px;
  font-weight: 900;
}
.flow-item figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid #d7dee8;
  background: #fff;
}
.flow-item figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.flow-item:first-child figure img { object-fit: contain; }
.flow-item figure:hover img { transform: scale(1.035); }
.flow-copy h4 {
  margin: 14px 0 7px;
  color: #1b2d5b;
  font-size: 18px;
  line-height: 1.5;
}
.flow-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}
.interview-note {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-left: 5px solid #2557a7;
  background: #fff;
  color: #1b2d5b;
  font-weight: 700;
  text-align: center;
}

.setsumeikai-page #moushikomi {
  padding-block: 38px;
  background: #fff;
}
.setsumeikai-page #moushikomi .section-head {
  gap: 6px;
  max-width: none;
  margin: 0 auto 20px;
  text-align: center;
}
.setsumeikai-page #moushikomi .section-head p { font-size: 14px; }
.form-line-option {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 14px 18px;
  border: 1px solid #d7dee8;
  background: #f7f9fc;
  text-align: center;
}
.form-line-option p { margin: 0 0 10px; font-size: 14px; }
.line-button {
  max-width: 100%;
  border-radius: 2px;
  background: #06c755;
  color: #102219;
  overflow-wrap: anywhere;
}
.line-button:hover { background: #05a847; color: #0b1a12; }
.form-line-option .line-button {
  padding: 11px 22px;
  font-size: 15px;
}
.setsumeikai-page #moushikomi .form-wrap {
  max-width: 980px;
  margin-inline: auto;
}
.setsumeikai-page #moushikomi .form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  padding: 18px 28px 20px;
}
.setsumeikai-page #moushikomi .field { gap: 5px; }
.setsumeikai-page #moushikomi .field:first-child { grid-column: 1 / -1; }
.setsumeikai-page #moushikomi .choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.setsumeikai-page #moushikomi .choice { padding: 9px 12px; }
.setsumeikai-page #moushikomi .field input[type="text"],
.setsumeikai-page #moushikomi .field input[type="tel"],
.setsumeikai-page #moushikomi .field input[type="email"],
.setsumeikai-page #moushikomi .field select,
.setsumeikai-page #moushikomi .field textarea { padding: 9px 11px; }
.setsumeikai-page #moushikomi .field textarea {
  min-height: 76px;
  height: 76px;
}
.setsumeikai-page #moushikomi .hint { line-height: 1.4; }
.setsumeikai-page #moushikomi .privacy,
.setsumeikai-page #moushikomi .consent,
.setsumeikai-page #moushikomi .form > .btn { grid-column: 1 / -1; }
.setsumeikai-page #moushikomi .privacy {
  margin: 0;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.55;
}
.setsumeikai-page #moushikomi .consent {
  justify-content: center;
  font-size: 13px;
}
.setsumeikai-page #moushikomi .form > .btn {
  position: relative;
  padding: 12px 48px 12px 24px;
  font-size: 16px;
}
.setsumeikai-page #moushikomi .form > .btn::after {
  position: absolute;
  right: 24px;
  content: "→";
  transition: transform .25s ease;
}
.setsumeikai-page #moushikomi .form > .btn:hover::after { transform: translateX(5px); }

/* 動きは JavaScript が有効な場合だけ初期状態を隠す */
.js .reveal-row {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .page-visual > img { animation: page-visual-zoom 10s ease-out both; }
@keyframes page-visual-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.js .flow-list::before {
  transform: scaleX(0);
  transition: transform 1.1s ease .15s;
}
.js .flow-list.is-visible::before { transform: scaleX(1); }
.js .flow-item .flow-number,
.js .flow-item figure,
.js .flow-item .flow-copy {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .5s ease, transform .5s ease;
}
.js .flow-list.is-visible .flow-item .flow-number {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--flow-delay);
}
.js .flow-list.is-visible .flow-item figure {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(120ms + var(--flow-delay));
}
.js .flow-list.is-visible .flow-item .flow-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(240ms + var(--flow-delay));
}

.contact-guide {
  padding: 38px 0 56px;
  background: #fff;
}
.contact-guide-inner {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  border: 10px solid #f2f5f9;
  background: #fff;
}
.contact-box { padding: 24px 28px; }
.contact-box + .contact-box { border-left: 1px solid #d7dee8; }
.contact-box h2 {
  margin: 0 0 9px;
  color: #1b2d5b;
  font-size: 18px;
}
.contact-box p { font-size: 14px; }
.contact-tel {
  display: inline-block;
  margin-top: 6px;
  color: #2557a7;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  text-decoration: none;
}
.phone-line-grid {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(220px, 1fr);
  gap: 18px 28px;
  align-items: center;
}
.contact-line {
  padding-left: 28px;
  border-left: 1px solid #d7dee8;
}
.contact-line h3 {
  margin: 0 0 8px;
  color: #1b2d5b;
  font-size: 16px;
}
.contact-line .line-button { padding: 11px 18px; font-size: 14px; }
.web-contact { display: grid; align-content: center; justify-items: start; }
.web-contact .btn { margin-top: 7px; }

.thanks-line {
  max-width: 760px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #d7dee8;
  background: #f7f9fc;
}
.thanks-line p { margin: 0 0 12px; }
.thanks-line .line-button { padding: 12px 22px; font-size: 15px; }

@media (max-width: 900px) {
  .contact-guide-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-box + .contact-box { border-left: 0; border-top: 1px solid #d7dee8; }
}

@media (max-width: 760px) {
  .page-visual { height: 220px; }
  .section-block,
  .content-section { padding-block: 48px; }
  .intro-title { margin-bottom: 28px; }
  .intro-row,
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature-row + .feature-row { margin-top: 40px; }
  .photo-frame img { aspect-ratio: 3 / 2; }
  .schedule-section { padding-block: 56px; }
  .schedule-table th,
  .schedule-table td,
  .program-table th,
  .program-table td { padding: 12px; }
  .flow-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 30px;
    padding-left: 64px;
  }
  .flow-list::before {
    top: 20px;
    bottom: 20px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
    transform-origin: top;
  }
  .flow-number {
    position: absolute;
    top: 0;
    left: -64px;
    margin: 0;
  }
  .flow-item {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .flow-copy h4 { margin-top: 0; }
  .js .flow-list::before { transform: scaleY(0); }
  .js .flow-list.is-visible::before { transform: scaleY(1); }
  .setsumeikai-page #moushikomi .form { grid-template-columns: minmax(0, 1fr); }
  .setsumeikai-page #moushikomi .field:first-child,
  .setsumeikai-page #moushikomi .privacy,
  .setsumeikai-page #moushikomi .consent,
  .setsumeikai-page #moushikomi .form > .btn { grid-column: auto; }
  .setsumeikai-page #moushikomi .choices { grid-template-columns: minmax(0, 1fr); }
  .contact-guide-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-box + .contact-box { border-left: 0; border-top: 1px solid #d7dee8; }
  .phone-line-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-line { padding: 18px 0 0; border-top: 1px solid #d7dee8; border-left: 0; }
}

@media (max-width: 480px) {
  .page-visual { height: 190px; }
  .page-visual h1 { font-size: 24px; }
  .breadcrumb { padding-block: 14px; }
  .band-heading { padding: 11px 13px; border-left-width: 5px; }
  .schedule-table { table-layout: fixed; font-size: 13px; }
  .schedule-table th,
  .schedule-table td { padding: 9px 6px; overflow-wrap: anywhere; }
  .schedule-table th:last-child,
  .schedule-table td:last-child { width: 88px; }
  .table-btn { min-width: 0; width: 100%; padding: 9px 4px; font-size: 13px; }
  .flow-list { padding-left: 54px; }
  .flow-number { left: -54px; }
  .flow-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow-copy h4 { margin: 0 0 5px; }
  .setsumeikai-page #moushikomi { padding-block: 42px; }
  .setsumeikai-page #moushikomi .form { padding: 20px 14px 22px; }
  .setsumeikai-page #moushikomi .choice { align-items: flex-start; }
  .contact-guide { padding-top: 22px; }
  .contact-guide-inner { border-width: 7px; }
  .contact-box { padding: 20px 16px; }
  .web-contact .btn { width: 100%; }
  .line-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .page-visual > img { animation: none; }
  .photo-frame img,
  .flow-item figure img,
  .setsumeikai-page #moushikomi .form > .btn::after { transition: none; }
  .js .reveal-row,
  .js .flow-item .flow-number,
  .js .flow-item figure,
  .js .flow-item .flow-copy {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .flow-list::before {
    transform: none;
    transition: none;
  }
}
