/* Google Font already linked in HTML */
:root {
  /* Updated brand palette */
  --primary-color: #0d47a1;
  --dark-gray: #333;
  --light-gray: #fafafa;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif JP", serif;
  color: var(--dark-gray);
  line-height: 1.7;
  background: #fff;
}

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

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section.light-gray {
  background: var(--light-gray);
}

/* Main Visual */
.main-visual {
  position: relative;
  height: 60vh;
  background: url("img/top_02.jpg") center/cover no-repeat;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.mv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  position: relative;
  padding: 0 1rem;
}
.mv-copy {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px; /* sharper edges */
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-secondary {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-color);
}
.btn-primary.large {
  font-size: 1.8rem;
  padding: 1.5rem 2.5rem;
}

.section.vision {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ideal candidate section background */
.ideal-bg {
  position: relative;
  background-image: url("img/jinbutuzou_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.ideal-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}
.ideal-bg > *,
.ideal-bg .container {
  position: relative;
  z-index: 2;
}

/* serif intro in ideal section */
.intro-serif {
  font-family: "Noto Serif JP", serif;
  text-align: center !important;
}

/* Sections */
.section {
  padding: 6rem 0; /* more breathing room */
  width: 100%;
}
.section-title {
  font-size: 4rem;
  text-align: left;
  position: relative;
  margin-bottom: 4rem;
  position: relative;
}
.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.section-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  font-size: 2rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* Cards */
.job-description {
  max-width: 100%;
}

.job-description .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cards {
  display: grid;
  gap: 2.5rem; /* wider gaps */
}
.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.four-cols {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.card {
  background: #fff;
  border: none;
  border-top: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-number {
  position: absolute;
  top: -1.2rem;
  left: 1rem;
  font-size: 4rem;
  font-weight: 800;
  color: #e0e0e0;
  line-height: 1;
  pointer-events: none;
}
.card-main {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1rem;
  letter-spacing: 0.025em;
}
.card-sub {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.card-icon {
  display: none; /* remove emojis */
}
.card-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
}
.card-text {
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  word-break: break-word;
  text-align: left;
  flex-grow: 1;
}

/* Recruit Buttons */
.recruit-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Unified Recruit Button Styles */
.recruit-buttons a {
  flex: 1;
  min-width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: filter 0.3s ease;
}
.recruit-buttons a::after {
  content: "→";
  font-size: 1rem;
  margin-left: 0.25rem;
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.recruit-buttons a:hover {
  filter: brightness(110%);
}
.recruit-buttons a:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== Selection Flow Timeline ========== */
.selection-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* ===== Horizontal Selection Flow (Newgrad) ===== */
.selection-flow.horizontal {
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.selection-flow.horizontal .flow-step {
  flex: 1;
  max-width: 260px;
  background: var(--light-gray);
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--primary-color);
  position: relative;
}
.selection-flow.horizontal .flow-step::after {
  content: "→";
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}
.selection-flow.horizontal .flow-step:last-child::after {
  display: none;
}
.selection-flow.horizontal .flow-connector {
  display: none;
}

.flow-step {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.flow-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.flow-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}
.flow-connector {
  font-size: 2rem;
  color: var(--primary-color);
}

/* ========== Ideal Candidate Background ========== */
.ideal-candidate,
.promise {
  background-image: url("img/top_kanban_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.ideal-candidate::before,
.promise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.ideal-candidate .container,
.promise .container {
  position: relative;
  z-index: 2;
}
.ideal-candidate .section-title,
.promise .section-title {
  color: #fff;
  background: transparent;
}
.ideal-candidate .section-title::after,
.promise .section-title::after {
  background: #fff;
}
.ideal-candidate .card {
  background-color: var(--light-gray);
}
.ideal-candidate .card .card-title,
.ideal-candidate .card .card-text {
  color: var(--dark-gray);
}

/* ===== Equipment Design Hero Background ===== */
.bg-equipmentdesign {
  position: relative;
  /* background-image: url('img/YOUR_IMAGE_HERE.jpg'); */
  background-color: #f0f0f0; /* 背景画像が設定されるまでの仮の背景色 */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-equipmentdesign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}
.bg-equipmentdesign > *,
.bg-equipmentdesign .container {
  position: relative;
  z-index: 2;
}

/* Equipment Design Background Image */
.bg-equipmentdesign {
  background-image: url("img/setubi_design_02.jpg");
}

/* ===== Sales Marketing Hero Background ===== */
/* Text and underline to white for readability */
.bg-salesmarketing .section-title,
.bg-salesmarketing .catch-copy {
  color: #fff;
}
.bg-salesmarketing .section-title::after {
  background: #fff;
}
.bg-salesmarketing {
  background-image: url("img/eigyoumarke_01.jpg");
}

/* ===== Equipment Design Catch Copy ===== */
.product-design .catch-copy,
.equipment-design .catch-copy,
.sales-marketing .catch-copy,
.manufacturing .catch-copy {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.bg-salesmarketing {
  position: relative;
  /* background-image: url('img/YOUR_IMAGE_HERE.jpg'); */
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-salesmarketing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
  z-index: 1;
}
.bg-salesmarketing > *,
.bg-salesmarketing .container {
  position: relative;
  z-index: 2;
}

/* ===== Manufacturing Hero Background ===== */
/* Text and underline to white for readability */
.bg-manufacturing .section-title,
.bg-manufacturing .catch-copy {
  color: var(--dark-gray);
}
.bg-manufacturing .section-title::after {
  background: var(--primary-color);
}
.bg-manufacturing {
  position: relative;
  background-image: url("img/seizou_01.jpg");
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-manufacturing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}
.bg-manufacturing > *,
.bg-manufacturing .container {
  position: relative;
  z-index: 2;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--dark-gray);
  color: #fff;
  padding: 2rem 0;
}
.footer-container {
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
}
.to-top {
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 1rem;
}
.to-top:hover {
  text-decoration: underline;
}

/* ===== Product Design Hero Background ===== */
.bg-productdesign {
  position: relative;
  background-image: url("img/top_productsekei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-productdesign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    255,
    255,
    255,
    0.6
  ); /* brighten white overlay for readability */
  backdrop-filter: blur(2px);
  z-index: 1;
}
.bg-productdesign > *,
.bg-productdesign .container {
  position: relative;
  z-index: 2;
}

/* ===== Product Design Page Enhancements ===== */
.product-design .catch-copy {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-family: "Noto Serif JP", serif;
}

.product-design .section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 2.5rem;
}
.product-design,
.product-design .card-text,
.product-design .flow-desc {
  font-size: 1.05rem;
  line-height: 1.9;
}

.product-design .cards.three-cols {
  gap: 2rem;
}
.product-design .card {
  padding: 2rem 1.75rem;
  border-top: 6px solid var(--primary-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-design .ideal-list,
.equipment-design .ideal-list,
.sales-marketing .ideal-list,
.manufacturing .ideal-list {
  display: block;
  gap: 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  list-style: none;
  padding-left: 0;
}
.product-design .ideal-list li,
.equipment-design .ideal-list li,
.sales-marketing .ideal-list li,
.manufacturing .ideal-list li {
  list-style: none;
  display: block;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-design .ideal-list li + .ideal-list li,
.equipment-design .ideal-list li + .ideal-list li,
.sales-marketing .ideal-list li + .ideal-list li,
.manufacturing .ideal-list li + .ideal-list li {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e0e0e0;
}

/* Candidate item two-column layout */
.candidate-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.candidate-item img {
  flex: 1;
  width: 40%;
  max-width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.candidate-item .text-content {
  flex: 1.5;
}

.candidate-item .text-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.candidate-item .text-content p {
  font-size: 1.5rem;
  line-height: 1.8;
}

/* hover scale remains subtle */
.product-design .ideal-list li:hover,
.equipment-design .ideal-list li:hover,
.sales-marketing .ideal-list li:hover,
.manufacturing .ideal-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-design .ideal-list li::marker {
  content: "";
}
.product-design .ideal-list li strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.product-design .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
/* Typography overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

/* Icon removal already handled above */

/* Main visual text enhancements */
.mv-copy {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Custom list bullets in detail pages */
.section ul {
  list-style: none;
  padding-left: 1.2rem;
}
.section ul li::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.125rem;
  background: var(--primary-color);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Enhanced tables */
.table-wrapper table {
  border-collapse: collapse;
}
.table-wrapper th {
  background: var(--light-gray);
  font-weight: 700;
  text-align: left;
}
.table-wrapper th,
.table-wrapper td {
  border: 1px solid #e0e0e0;
  padding: 0.75rem;
}

/* Selection flow arrows (simple) */
.section-text {
  position: relative;
}

.section-text {
  font-family: "Noto Serif JP", serif;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.8rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
}
.vision .section-text .highlight {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  margin: 1rem 0;
}

/* Utility */
.hide-mobile {
  display: none;
}

/* 新卒採用ページ専用の背景設定（body 全体は取り消し済み） */
.page-newgrad-bg {
  background-image: url("img/shinsotu_haikei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-newgrad-bg .section {
  background-color: #ffffff;
}
.page-newgrad-bg .section.light-gray {
  background-color: #fafafa;
}

.bg-newgrad {
  position: relative; /* overlay base */
  background-image: url("img/shinsotu_haikei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-newgrad .section {
  background-color: #ffffff;
}
.bg-newgrad .section.light-gray {
  background-color: #fafafa;
}

/* ========== Part-time Recruitment Background ========== */
.bg-part {
  position: relative;
  background-image: url("img/jyunsyain_gaikei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* readability overlay */
.bg-part::before,
.bg-newgrad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}
.bg-part > *,
.bg-part .container,
.bg-newgrad > * {
  position: relative;
  z-index: 2;
}

/* table readability */

/* Accordion for Ideal Candidate section */
.accordion-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer; /* クリックできることを示す */
  width: 100%;
  padding: 1.25rem 1rem;
}
.accordion-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.accordion-title-block .card-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}
.accordion-title-block .card-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}
.accordion-title-block .card-subtitle {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark-gray);
}
.accordion-toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.accordion-card.active .accordion-toggle-icon {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-top: 0;
}
.accordion-card.active .accordion-content {
  max-height: 500px; /* 十分な高さを確保してコンテンツを表示 */
  transition: max-height 0.5s ease-in;
}

.accordion-content .card-text {
  padding-top: 1rem; /* 開いたときに上のタイトルとの間に余白を作る */
  border-top: 1px solid #e0e0e0; /* コンテンツの区切り線 */
  margin-top: 1rem;
}

.bg-part .table-wrapper,
.bg-newgrad .table-wrapper {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 8px;
}
.table-wrapper td:first-child {
  font-weight: 700;
}

/* 中途採用ページ専用のセクション背景設定 */
.bg-mid {
  position: relative;
  background-image: url("img/tyutosaiyou_haikei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.bg-mid .section-title,
.bg-part .section-title {
  color: var(--dark-gray);
}
.bg-mid .section-title::after,
.bg-part .section-title::after {
  background: var(--primary-color);
}

/* readability overlay */
.bg-mid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}
.bg-mid > * {
  position: relative;
  z-index: 2;
}
/* ===== Equipment Design Ideal Candidate Background ===== */
.equipment-design .ideal-bg {
  background-image: url("img/setubi_design_03.jpg");
}

/* ===== Sales Marketing Ideal Candidate Background ===== */
.sales-marketing .ideal-bg {
  background-image: url("img/gyoumuyouerebe_01.jpg");
}

/* ===== Manufacturing Ideal Candidate Background ===== */
.manufacturing .ideal-bg {
  background-image: url("img/anzen_01.jpg");
}

/* ensure dark text in mid background sections */
.bg-mid,
.bg-mid .section-text,
.bg-mid td,
.bg-mid p,
.bg-part,
.bg-part .section-text,
.bg-part td,
.bg-part p {
  color: var(--dark-gray);
}
.bg-mid .table-wrapper {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 8px;
}

/* ===============================================
   Recruit Information Common Background Section
   =============================================== */
.section.recruit-info {
  position: relative;
  background-image: url("img/shinsotu_haikei_01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6rem 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.section.recruit-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.section.recruit-info .container {
  position: relative;
  z-index: 2;
}
.section.recruit-info .section-title {
  color: #fff;
}
.section.recruit-info .section-title::after {
  background: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
  }

  .vision .section-text {
    font-size: 1.6rem;
    /* font-size: 2rem; slightly大きめで可読性確保 */
    line-height: 1.8;
    padding: 0 0.5rem;
    margin: 0 auto;
    word-break: break-word;
  }

  .four-cols {
    grid-template-columns: 1fr; /* スマホでは1カラム */
  }

  .card {
    width: 100%;
    max-width: 100%;
  }

  .card-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .selection-flow.horizontal {
    flex-direction: column;
    align-items: center;
  }
  .selection-flow.horizontal .flow-step {
    max-width: 100%;
  }
  .selection-flow.horizontal .flow-step::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -1.2rem;
    transform: translateX(50%);
  }
}
@media (max-width: 768px) {
  .product-design .section-text,
  .product-design .card-text,
  .product-design .flow-desc {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .candidate-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .candidate-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

/* == table == */
@media (max-width: 768px) {
  .table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* セル幅を固定計算 */
  }

  .table-wrapper th,
  .table-wrapper td {
    display: table-cell !important; /* ブロック化を無効化 */
    vertical-align: top;
  }
}
