/* ==========================================================================
   1. 共通パーツ・コンポーネント (HTML全体で使用)
   ========================================================================== */

/* セクションタイトル */
.c-section-title {
  width: fit-content;
  padding: calc(13 * var(--vw-unit)) calc(18 * var(--vw-unit));
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(50 * var(--vw-unit));
}

.c-section-title h2 {
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-l);
  letter-spacing: 0.08em;
  line-height: 1;
}

.c-section-title span {
  font-weight: normal;
  font-size: 0.55em;
  letter-spacing: 0.24em;
  line-height: 1;
  margin-left: 1em;
}

/* 共通カード/リンクパーツ */
.c-card-horizontal {
  display: flex;
  padding: calc(20 * var(--vw-unit));
  gap: calc(40 * var(--vw-unit));
  border: 1px solid var(--color-black);
}

.c-card-horizontal__img,
.c-card-horizontal__content {
  min-width: min(40%, 216px);
  width: 100%;
}

.c-card-horizontal__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.c-card-horizontal__eng {
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-l);
  letter-spacing: 0.08em;
  line-height: 2;
}

h3.c-card-horizontal__title {
  font-weight: normal;
  font-size: var(--text-20);
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.view-more {
  margin-top: auto;
  margin-left: auto;
  margin-bottom: calc(10 * var(--vw-unit));
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.view-more::after {
  content: "";
  width: 1.3em;
  height: 1.3em;
  margin-left: 0.8em;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/icon_view-more.png) no-repeat center;
  background-size: contain;
}

.view-more.blank::after {
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/icon_view-more2.png) no-repeat center;
  background-size: contain;
}

/* ==========================================================================
   2. 各セクション・スタイル (HTML構造順)
   ========================================================================== */

/* --- #about (なかよしについて) --- */
#about {
  padding-top: calc(80 * var(--vw-unit));
  padding-bottom: calc(730 * var(--vw-unit));
  background: url(https://www.nakayoshi-e.co.jp/assets/img/bg_about_img.png) no-repeat center bottom;
  background-size: 96%;
  position: relative;
}

#about::before {
  content: "";
  position: absolute;
  top: 35%;
  right: 15.5vw;
  width: calc(258 * var(--vw-unit));
  height: calc(163 * var(--vw-unit));
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_smile.png) no-repeat center;
  background-size: contain;
}

#about p {
  font-weight: bold;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 2;
  z-index: 1;
  position: relative;
}

#about p+p {
  margin-top: 2.8em;
}

/* --- #service (事業案内) --- */
#service {
  padding-top: calc(275 * var(--vw-unit));
  padding-bottom: calc(100 * var(--vw-unit));
  position: relative;
}

#service::before {
  content: "";
  position: absolute;
  top: calc(210 * var(--vw-unit));
  right: 16.5vw;
  width: calc(242 * var(--vw-unit));
  height: calc(229 * var(--vw-unit));
  background: url(https://www.nakayoshi-e.co.jp/assets/img/bg_service_img.png) no-repeat center;
  background-size: contain;
}

.service__title-img {
  max-width: 84%;
  width: 100%;
  margin-top: calc(60 * var(--vw-unit));
  margin-bottom: calc(95 * var(--vw-unit));
}

.c-feature-block+.c-feature-block {
  margin-top: calc(70 * var(--vw-unit));
}

.c-feature-block .col-box:nth-child(1) {
  max-width: 30%;
  width: 100%;
}

.c-feature-block .col-box:nth-child(2) {
  max-width: 65%;
  width: 100%;
}

.c-feature-block__eng {
  font-family: Inter;
  font-weight: 600;
  font-size: clamp(3rem, 1.29vw + 2.52rem, 5rem);
  letter-spacing: 0.08em;
  line-height: 1.12;
  margin-bottom: 0.5em;
}

.c-feature-block__jp {
  display: block;
  font-weight: normal;
  font-size: var(--text-20);
  letter-spacing: 0.08em;
  line-height: 2;
}

.c-feature-block__text {
  font-weight: normal;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 2.2;
  text-align: justify;
  text-justify: inter-character;
}

/* --- #product (取扱製品) --- */
#product {
  padding-top: calc(80 * var(--vw-unit));
  padding-bottom: calc(80 * var(--vw-unit));
}

#product .inner.d-flex {
  justify-content: space-between;
}

.c-section-desc {
  max-width: calc(720 * var(--vw-unit));
  width: 100%;
}

.c-section-desc__text {
  font-weight: bold;
  font-size: var(--text-20);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.c-product-block {
  gap: 0;
  flex-wrap: nowrap;
  border-right: 1px solid var(--color-lightgray);
  border-bottom: 1px solid var(--color-lightgray);
}

.c-product-block .col-box {
  border-top: 1px solid var(--color-lightgray);
  border-left: 1px solid var(--color-lightgray);
  max-width: calc(100% / 4);
  padding: calc(125 * var(--vw-unit)) calc(40 * var(--vw-unit)) calc(50 * var(--vw-unit));
}

.c-product-block__image {
  max-width: 70%;
  width: 100%;
  height: auto;
  margin: 0 auto calc(90 * var(--vw-unit));
}

.c-product-block__title {
  font-family: Inter;
  font-weight: 600;
  font-size: clamp(3rem, 1.29vw + 2.52rem, 5rem);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.1em;
  color: var(--color-main);
}

.c-product-block__category {
  font-weight: normal;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 2.2;
}

.c-product-block__text {
  font-weight: 500;
  font-size: var(--text-15);
  letter-spacing: 0.08em;
  line-height: 1.73;
  color: var(--color-light-gray);
  margin-top: 1em;
}

/* --- #news (お知らせ) --- */
#news {
  padding-top: calc(110 * var(--vw-unit));
  padding-bottom: calc(145 * var(--vw-unit));
}

.com-table-default th,
.com-table-default td {
  padding: calc(30 * var(--vw-unit)) calc(10 * var(--vw-unit));
}

#news .com-table-default th {
  font-family: Inter;
  font-weight: 500;
  font-size: var(--text-20);
  letter-spacing: 0.08em;
  line-height: 1.3;
  width: 16rem;
}

#news .com-table-default td {
  font-weight: bold;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 1.3;
}

#news .com-table-default td a {
  border-bottom: 1px solid var(--color-main);
}

/* --- #link-area (下部リンク集) --- */
#link-area {
  padding-bottom: calc(200 * var(--vw-unit));
}

#link-area .col-2 .col-box {
  max-width: calc(100% / 2 - 2vw);
}

/* ==========================================================================
   3. 特殊ページ (採用関連)
   ========================================================================== */

#recruit .content .inner.border {
  border: 2px solid #dddddd;
  padding: calc(75 * var(--vw-unit)) calc(80 * var(--vw-unit)) calc(100 * var(--vw-unit));
  margin-top: calc(85 * var(--vw-unit));
  border-radius: 12px;
}

#recruit.complete .content .inner.border {
  padding: calc(50 * var(--vw-unit));
}

#recruit .content .inner h2 {
  font-weight: bold;
  font-size: clamp(1.8rem, 0.26vw + 1.7rem, 2.2rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-main);
  margin-bottom: 2em;
}

#recruit .content .inner dl+h2 {
  margin-top: 80px;
}

#recruit .content .inner p {
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.75;
}

/* #recruit .content .inner p + p {
  margin-top: 1.75em;
} */
#recruit .content .inner.mb75 {
  margin-bottom: calc(75 * var(--vw-unit));
}

#recruit .content .inner p.contact-tel__label {
  letter-spacing: 0.22em;
}

#recruit .content .inner p.contact-tel__number {
  font-size: clamp(2.8rem, 1.29vw + 2.32rem, 4.8rem);
  letter-spacing: 0.1em;
  font-family: "Inter";
  line-height: 1;
  margin: 0.4em 0 0.2em;
}

#recruit .content .inner p.contact-tel__info {
  margin: 0;
}

#recruit .content .inner p.contact-tel__number span {
  font-size: clamp(1.8rem, 0.39vw + 1.65rem, 2.4rem);
}

.recruit-page-title {
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_recruit-page-title.png) no-repeat right center;
  padding: calc(200 * var(--vw-unit)) 0;
}

.recruit-entry .recruit-page-title {
  padding: calc(100 * var(--vw-unit)) 0;
}

/* PCサイズの設定（現状維持・微調整） */
.recruit-page-title .inner.d-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.right-column {
  max-width: calc(425 * var(--vw-unit));
  width: 100%;
}

.page-ttl {
  width: fit-content;
  padding: calc(8 * var(--vw-unit)) calc(20 * var(--vw-unit));
  border: 2px solid var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-ttl p {
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-20);
  letter-spacing: 0.08em;
  line-height: 1;
}

h2.content-large-ttl {
  font-weight: bold;
  font-size: clamp(3.4rem, 1.42vw + 2.87rem, 5.6rem);
  letter-spacing: 0.2em;
  line-height: 1;

  margin: calc(45 * var(--vw-unit)) 0;
}

.bredcrumbs {
  display: flex;

  font-family: Inter;
}

.bredcrumbs * {
  font-weight: 500;
  font-size: var(--font-size);
  letter-spacing: 0.08em;
  line-height: 1;
}

.bredcrumbs a {
  color: var(--color-main);
}

.bredcrumbs span {}

.bredcrumbs a+a::before,
.bredcrumbs span::before {
  content: "／";
  display: inline-block;
  margin: 0 0.5em;
}

.page-title-text {
  font-weight: bold;
  font-size: var(--text-18);
  letter-spacing: 0.12em;
  line-height: 2.2;
}

#recruit-mv {
  padding-bottom: calc(80 * var(--vw-unit));
}

.recruit-title {
  background: var(--color-black);
  display: inline-flex;
  margin-left: calc(20 * var(--vw-unit));
  margin-top: calc(5 * var(--vw-unit));
}

#recruit .content .inner .recruit-title p {
  font-family: Inter;
  font-weight: normal;
  font-size: clamp(2.7rem, 1.23vw + 2.24rem, 4.6rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--color-white);
  padding: calc(8 * var(--vw-unit)) calc(18 * var(--vw-unit));
}

.recruit-mv-img {
  max-width: calc(68% * 0.8);
  /* サイズ修正80％指示 */
  margin: calc(-35 * var(--vw-unit)) auto 0;
  transform: translateX(calc(20 * var(--vw-unit)));
}

#recruit .content .inner h2.c-heading-title {
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-20);
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--color-black);
  margin-bottom: calc(25 * var(--vw-unit));
  display: flex;
  align-items: center;
}

#recruit .content .inner h2.c-heading-title::before {
  content: "";
  display: block;
  width: 0.4em;
  height: 0.4em;
  border-radius: 2px;
  background: var(--color-main);
  margin-right: 0.5em;
}

#recruit .content .inner h3.c-message-copy {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: clamp(2.7rem, 1.23vw + 2.24rem, 4.6rem);
  letter-spacing: 0.12em;
  line-height: 1.6;

  color: var(--color-black);
}

.mt-150 {
  margin-top: calc(-150 * var(--vw-unit));
}

.message-img {
  width: 65%;
  margin-top: calc(280 * var(--vw-unit));
}

#recruit #message {
  padding-top: calc(35 * var(--vw-unit));
  padding-bottom: calc(100 * var(--vw-unit));
}

#recruit #message .col-s-box-l {
  max-width: 50%;
  margin-top: 0;
}

#recruit .content .inner .col-detail p {
  font-size: var(--text-20);
  line-height: 2;
}

#recruit .content .inner .col-detail p+p {
  margin-top: 2.5em;
}

.coming-soon,
.sec-recruit-link {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: var(--font-size);
  letter-spacing: 0.11em;
  line-height: 1;

  color: var(--color-black);
  display: flex;
  align-items: center;
  opacity: 0.5;
}

.sec-recruit-link {
  opacity: 1;
}

.coming-soon::after,
.sec-recruit-link::after {
  content: "";
  display: inline-block;
  width: 1.875em;
  height: 1.875em;
  margin-left: 0.8em;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/icon_recruit-link-soon.png) no-repeat center;
  background-size: contain;
}

.sec-recruit-link::after {
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/icon_recruit-link.png) no-repeat center;
  background-size: contain;
}

#recruit #message .coming-soon,
#recruit #interview .sec-recruit-link {
  justify-content: flex-end;
  margin-top: calc(50 * var(--vw-unit));
}

#recruit #recruit-about {
  padding-top: calc(250 * var(--vw-unit));
  padding-bottom: calc(250 * var(--vw-unit));
  position: relative;
}

#recruit #recruit-about::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  width: 50%;
  height: 80%;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/bg_about.png) no-repeat center right;
  background-size: contain;
  z-index: -1;
}

.w-47 {
  max-width: 47%;
  width: 100%;
}

#recruit-about h3.c-message-copy,
#discussion h3.c-message-copy,
#recruit #data .c-message-copy {
  margin-bottom: 1.6em;
}


#recruit #recruit-about .coming-soon,
#recruit #discussion .coming-soon,
#recruit #recruit-about .sec-recruit-link,
#recruit #discussion .sec-recruit-link {
  justify-content: flex-end;
  margin-top: 2em;
}


#recruit #interview {
  overflow-x: hidden;
  padding-top: calc(135 * var(--vw-unit));
  padding-bottom: calc(100 * var(--vw-unit));
}

/* スライダー全体の横幅調整（左右の余白分を打ち消す） */
.slick-slider {
  margin: 0 calc(-30 * var(--vw-unit));
}

.slick-list {
  overflow: visible;
}

/* 各スライドアイテムの余白 */
.slider-item {
  padding: 0 calc(30 * var(--vw-unit));
  /* 左右30pxずつで計60pxの余白 */
  box-sizing: border-box;
}

.slider-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 矢印アイコンの簡易カスタマイズ（slick標準のボタンを使用） */
.slick-prev,
.slick-next {
  z-index: 10;
  width: calc(90 * var(--vw-unit));
  height: calc(90 * var(--vw-unit));
}

.slick-prev {
  left: calc(-25 * var(--vw-unit));
}

.slick-next {
  right: calc(-25 * var(--vw-unit));
}

/* 矢印の色（デフォルトは白で見えにくいため） */
.slick-prev:before,
.slick-next:before {
  content: "";
  display: block;
  width: calc(90 * var(--vw-unit));
  height: calc(90 * var(--vw-unit));
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/btn_prev.png) no-repeat center;
  background-size: contain;
}


.slick-next:before {
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/btn_next.png) no-repeat center;
  background-size: contain;
}

.slider-wrapper {
  max-width: 100%;
  margin: calc(80 * var(--vw-unit)) auto calc(45 * var(--vw-unit));
  padding: 0;
}

.int-box {}

.int-img {
  margin-bottom: 1em;
  position: relative;
}

.int-dep {
  border-radius: 0 5px 0 0;
  background: var(--color-main);
  padding: 7px 12px;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: var(--font-size);
  letter-spacing: 0.08em;
  line-height: 1;

  color: var(--color-white);

  position: absolute;
  left: 0;
  bottom: 0;
}

#recruit .content .inner p.int-name {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: var(--font-size);
  letter-spacing: 0.08em;
  line-height: 1;

  color: var(--color-black);
}

#recruit .content .inner p.int-name span {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: clamp(1.9rem, 0.45vw + 1.73rem, 2.6rem);
  letter-spacing: 0.08em;
  line-height: 1;

  color: var(--color-black);
}

#recruit .content .inner p.int-name span::after {
  content: "さん";
  display: inline-block;
  margin-left: 0.2em;
  margin-right: 0.5em;
  font-size: var(--font-size);
  font-weight: bold;
}

#recruit #interview .coming-soon,
#recruit #interview .sec-recruit-link {
  justify-content: flex-end;
  margin-top: 2em;
}

#recruit #discussion {
  padding-top: calc(265 * var(--vw-unit));
  padding-bottom: calc(200 * var(--vw-unit));
  position: relative;
}

#recruit #discussion::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 6%;
  width: calc(238 * var(--vw-unit));
  height: calc(133 * var(--vw-unit));
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_smile.png) no-repeat center right;
  background-size: contain;
  z-index: 0;
}

#recruit #discussion::after {
  content: "";
  position: absolute;
  top: 5%;
  right: 0;
  width: 50%;
  height: 100%;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/bg_discussion.png) no-repeat center right;
  background-size: contain;
  z-index: -1;
}

#recruit #data {
  padding-top: calc(100 * var(--vw-unit));
  padding-bottom: calc(100 * var(--vw-unit));
}

#recruit #data .col-3 .col-box {
  max-width: calc(100% / 3 - 2vw);
}

#recruit #data .coming-soon,
#recruit #data .sec-recruit-link {
  justify-content: flex-end;
  margin-top: 2.5em;
}

.recruit-link {
  padding-top: calc(50 * var(--vw-unit));
  padding-bottom: calc(50 * var(--vw-unit));
}

.recruit-link .column-wrap {
  justify-content: center;
  gap: 8vw;
}

.recruit-link .col-box {
  width: 38rem;
  border-bottom: 1px solid var(--color-black);
}

.recruit-link .col-box a {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: var(--font-h4);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-black);
  display: flex;
  align-items: center;
  margin-bottom: calc(38 * var(--vw-unit));
}

.recruit-link .col-box a::before {
  content: "";
  display: inline-block;
  width: 0.43em;
  height: 0.43em;
  border-radius: 2px;
  background: var(--color-main);
  margin-right: 0.5em;
}

.recruit-link .col-box a::after {
  content: "";
  display: inline-block;
  width: 1.07em;
  height: 1.07em;
  margin-left: auto;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/icon_recruit-link.png) no-repeat center;
  background-size: contain;
}

.back-recruit-top {
  font-weight: bold;
  font-size: var(--font-size);
  letter-spacing: 0.11em;
  line-height: 1;
  display: inline-flex;
  /* 横並びにしてFlexboxを適用 */
  align-items: center;
  /* 上下の中央を揃える */
  gap: calc(10 * var(--vw-unit));
  margin-top: calc(80 * var(--vw-unit));
}

.back-recruit-top::before {
  content: "";
  display: inline-block;
  width: 1.875em;
  height: 1.875em;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/icon_back-recruit-top.png) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  margin-right: 0.3em;
}

#footer-entry {
  padding-top: clamp(8rem, 8.51vw + 3.47rem, 16rem);
  padding-bottom: clamp(8rem, 8.51vw + 3.47rem, 16rem);
}

#recruit #footer-company {
  padding-top: clamp(7rem, 8.51vw + 3.47rem, 14rem);
}

#recruit .content .inner p.entry_ttl {
  text-align: center;
  /* 375pxで2.0rem(20px) 〜 1440pxで6.0rem(60px) */
  font-size: clamp(2rem, 3.76vw + 0.59rem, 6rem);
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-bottom: 0.6em;
  /* 文字サイズに連動して可変 */
}

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

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Inter", sans-serif;
  /* 60px(6rem) 〜 スマホ3.2rem(32px) ※ボタンなので少し視認性重視 */
  font-size: clamp(3.2rem, 2.63vw + 2.21rem, 6rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  justify-content: center;

  /* パディングも可変に：スマホ20px 〜 PC40px */
  padding: clamp(2rem, 1.88vw + 1.3rem, 4rem);

  border-radius: 5px;
  position: relative;
  text-decoration: none;
  /* aタグの場合の考慮 */
}

.btn-primary::before {
  content: "";
  display: block;
  /* アイコンサイズも可変に：スマホ20px 〜 PC35px */
  width: clamp(2rem, 1.41vw + 1.47rem, 3.5rem);
  height: clamp(2rem, 1.41vw + 1.47rem, 3.5rem);

  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/icon_btn-primary.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;

  /* 右からの位置も可変：スマホ20px 〜 PC80px */
  right: clamp(2rem, 5.63vw - 0.11rem, 8rem);

  transform: translateY(-50%);
}

/* ==========================================================================
   4. レスポンシブ (Media Queries)
   ========================================================================== */
@media (width < 1440px) {
  .c-section-desc {
    max-width: 60%;
  }

  .right-column {
    max-width: 50%;
  }
}

/* --- タブレット/モバイル共通 (1024px未満) --- */
@media (width < 1024px) {
  #about::before {
    top: 44%;
    right: 5vw;
    width: 25vw;
    height: 15vw;
  }

  #service::before {
    top: 5vw;
    right: 5vw;
    width: 20vw;
    height: 20vw;
  }

  .c-feature-block .col-box:nth-child(1) {
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .c-feature-block__eng {
    margin-bottom: 0;
    margin-right: 0.5em;
  }

  .c-feature-block__eng br {
    display: none;
  }

  .c-feature-block .col-box:nth-child(2) {
    max-width: 100%;
  }

  #product .inner.d-flex {
    flex-wrap: wrap;
  }

  .c-section-desc {
    max-width: 100%;
  }

  .c-product-block {
    flex-wrap: wrap;
  }

  .c-product-block .col-box {
    max-width: calc(100% / 2);
  }

  #link-area .col-2 .col-box {
    max-width: calc(100% / 2 - 1vw);
  }

  .recruit-mv-img {
    max-width: 70%;
    margin: calc(80 * var(--vw-unit)) auto 0;
  }

  #recruit #message .col-s-box-l {
    max-width: 30%;
  }

  #recruit #message br {
    display: none;
  }

  .mt-150 {
    margin-top: 30px;
  }

  .message-img {
    width: 100%;
    margin-top: 0;
  }

  #recruit #message .col-s-box-l {
    max-width: 40%;
  }

  #recruit #message .col-detail br {
    display: none;
  }

  .recruit-page-title {
    background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_recruit-page-title.png) no-repeat right center;
    background-size: contain;
  }

  .recruit-page-title .inner.d-flex {
    flex-wrap: wrap;
  }

  .right-column {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* --- スマホ標準 (768px未満) --- */
@media (width < 768px) {
  .w-47 {
    max-width: 100%;
    width: 100%;
  }

  #link-area .col-2 .col-box {
    max-width: 100%;
  }

  #link-area .column-wrap {
    gap: 20px;
  }

  .c-card-horizontal {
    padding: 15px;
  }

  #recruit #recruit-about::after,
  #recruit #discussion::after {
    content: none;
  }

  #recruit #recruit-about .sp-only,
  #recruit #discussion .sp-only {
    display: block;
    width: 80%;
    margin: 50px auto;
    position: relative;
  }

  #recruit #discussion::before {
    content: none;
  }

  #recruit #discussion .sp-only::before {
    content: "";
    position: absolute;
    top: -6%;
    right: -6%;
    width: calc(238 * var(--vw-unit));
    height: calc(133 * var(--vw-unit));
    background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_smile.png) no-repeat center right;
    background-size: contain;
    z-index: 0;
  }
}

/* --- スマホ小型 (500px未満) --- */
@media (width < 500px) {
  #about::before {
    top: unset;
    bottom: 65vw;
    right: 4vw;
    width: 20vw;
    height: 12vw;
  }

  .entry_ttl {
    letter-spacing: 0em;
  }
}

/* ============================================================
   Common & Shared Styles (汎用・共通パーツ)
   働き方・福利厚生 & 募集要項
   ============================================================ */

/* テーブル共通 */
#recruit.workstyle .com-table-default {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-sub2);
}

.com-table-default th,
.com-table-default td {
  border-bottom: 1px solid var(--color-sub2);
}

/* テーブル内の細かな共通調整 */
#recruit.workstyle .com-table-default td span,
#recruit.recruitment .com-table-default td span {
  font-weight: normal;
}

/* 給与リスト等の共通リスト形式 */
.salary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.salary-list li {
  position: relative;
  padding-left: 1em;
  line-height: 2.2;
  font-weight: bold;
}

.salary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  transform: translateY(-50%);
  width: 0.375em;
  height: 0.375em;
  background-color: var(--color-main);
  border-radius: 2px;
}

/* ============================================================
   Recruit Page - Workstyle Specific (働き方ページ)
   ============================================================ */

/* ページタイトル・セクション余白 */
#recruit.workstyle .recruit-page-title {
  padding-bottom: calc(100 * var(--vw-unit));
}

#recruit.workstyle .education-section,
#recruit.workstyle .welfare-section {
  margin-top: calc(45 * var(--vw-unit));
}

/* ページ内リンクメニュー (アンカーナビ) */
#recruit.workstyle .workstyle-nav-anchor {
  margin-bottom: calc(40 * var(--vw-unit));
}

#recruit.workstyle .workstyle-nav-anchor .inner.d-flex {
  gap: calc(40 * var(--vw-unit));
}

#recruit.workstyle .nav-item a {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
  line-height: 1;
}

#recruit.workstyle .nav-item a::after {
  content: "";
  display: inline-block;
  width: 1.45em;
  height: 1.45em;
  margin-left: 0.5em;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/icon-workstyle-nav.png) no-repeat center;
  background-size: contain;
}

/* タブ切り替えナビ (Workstyle用) */
#recruit.workstyle .recruit-tab-nav {
  border-bottom: 2px solid #eee;
  margin-bottom: calc(60 * var(--vw-unit));
}

#recruit.workstyle .recruit-tab-nav .inner.d-flex {
  display: flex;
  justify-content: center;
  gap: 0;
}

#recruit.workstyle .tab-item {
  width: 300px;
  text-align: center;
}

#recruit.workstyle .tab-item a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #ccc;
  font-weight: bold;
  font-size: var(--text-18);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}

#recruit.workstyle .tab-item.active a {
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
}

/* 見出し (セクションヘッダー) */
#recruit.workstyle .section-header {
  margin-bottom: calc(60 * var(--vw-unit));
}

#recruit.workstyle .section-header .en-title {
  color: var(--color-main);
  font-family: Inter;
  font-weight: 600;
  font-size: var(--text-18);
  letter-spacing: 0.08em;
}

#recruit.workstyle .section-header .jp-title {
  font-weight: bold;
  font-size: var(--font-h4);
  letter-spacing: 0.08em;
}

#recruit.workstyle .category-title {
  color: var(--color-main);
  font-size: var(--text-20);
  margin-bottom: 20px;
  font-weight: bold;
}

/* テーブル詳細 */
#recruit.workstyle .com-table-default th {
  width: 22%;
  color: var(--color-main);
  font-weight: bold;
  font-size: var(--text-m);
  letter-spacing: 0.08em;
  padding-inline: 10px;
}

#recruit.workstyle .com-table-default td {
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 2;
  padding-right: 5px;
}

#recruit.workstyle .com-table-default th .icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.7em;
  width: 1.3em;
  height: 1.3em;
}

#recruit.workstyle .com-table-default th .icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* 下部エントリーエリア */
#recruit.workstyle .entry-footer {
  text-align: center;
  margin-top: calc(100 * var(--vw-unit));
  padding-bottom: calc(100 * var(--vw-unit));
}

#recruit.workstyle .entry-copy {
  font-size: var(--font-h2);
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

#recruit.workstyle .btn-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1311;
  color: #fff;
  text-decoration: none;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 80px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.2em;
  position: relative;
  transition: opacity 0.3s;
}

#recruit.workstyle .btn-entry::after {
  content: "→";
  position: absolute;
  right: 30px;
}

#recruit.workstyle .btn-entry:hover {
  opacity: 0.8;
}

/* レスポンシブ (Workstyle) */
@media (width < 1280px) {
  #recruit.workstyle .com-table-default th {
    width: 30%;
  }
}

@media (width < 768px) {
  #recruit.workstyle .workstyle-nav-anchor .inner.d-flex {
    gap: 20px;
    flex-wrap: wrap;
  }

  #recruit.workstyle .nav-item a {
    font-size: var(--text-s);
  }

  #recruit.workstyle .com-table-default tr {
    display: flex;
    flex-wrap: wrap;
  }

  #recruit.workstyle .com-table-default th {
    width: 100%;
    border-bottom: none;
  }

  #recruit.workstyle .com-table-default td {
    width: 100%;
    padding-top: 0;
  }
}

/* ============================================================
   Recruit Page - Recruitment (募集要項ページ)
   ============================================================ */

/* タブ切り替えロジック (input系) */
#recruit.recruitment input[name="recruit-tab"] {
  display: none;
}

#recruit.recruitment .recruit-details {
  display: none;
}

#tab-graduate:checked~.inner #new-graduate {
  display: block;
}

#tab-midcareer:checked~.inner #mid-career {
  display: block;
}

/* タブボタンの見た目連動 */
#tab-graduate:checked~.inner .recruitment-tab-nav .tab-item.graduate {
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  opacity: 1;
  font-weight: bold;
}

#tab-midcareer:checked~.inner .recruitment-tab-nav .tab-item.mid-career {
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  opacity: 1;
  font-weight: bold;
}

#tab-graduate:checked~.content .inner .recruitment-tab-nav .tab-item.graduate {
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  font-weight: bold;
}

#tab-midcareer:checked~.content .inner .recruitment-tab-nav .tab-item.mid-career {
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  font-weight: bold;
}

/* タブナビゲーション構成 */
#recruit.recruitment .recruitment-tab-nav {
  border-bottom: 2px solid #eee;
  margin-bottom: calc(60 * var(--vw-unit));
}

#recruit.recruitment .recruitment-tab-nav .inner.d-flex {
  display: flex;
  justify-content: space-between;
}

#recruit.recruitment .tab-item {
  cursor: pointer;
  width: 100%;
  max-width: 50%;
  text-align: center;
  display: block;
  padding: calc(12 * var(--vw-unit)) 0 calc(35 * var(--vw-unit));
  text-decoration: none;
  color: #777;
  opacity: 0.5;
  font-weight: 500;
  font-size: clamp(1.9rem, 0.45vw + 1.73rem, 2.6rem);
  letter-spacing: 0.12em;
  line-height: 1;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

/* コンテンツエリア */
#recruit.recruitment .content .inner.border {
  border: 2px solid #dddddd;
  padding: calc(65 * var(--vw-unit)) calc(80 * var(--vw-unit)) calc(25 * var(--vw-unit));
  margin-top: calc(70 * var(--vw-unit));
}

#recruit.recruitment .category-title {
  color: var(--color-main);
  font-weight: bold;
  font-size: clamp(1.8rem, 0.26vw + 1.7rem, 2.2rem);
  letter-spacing: 0.08em;
}

/* テーブル詳細 (Recruitment用) */
#recruit.recruitment .com-table-default th,
#recruit.recruitment .com-table-default td {
  padding: calc(30 * var(--vw-unit)) 0;
}

#recruit.recruitment .com-table-default th {
  width: 20%;
}

#recruit.recruitment .com-table-default td {
  font-weight: bold;
  letter-spacing: 0.08em;
}

#recruit.recruitment .com-table-default tr:last-child th,
#recruit.recruitment .com-table-default tr:last-child td {
  border-bottom: none;
}

/* レスポンシブ (Recruitment) */
@media (width < 768px) {
  #recruit.recruitment .com-table-default th {
    width: 100%;
    border-bottom: none;
  }

  #recruit.recruitment .com-table-default td {
    padding-top: 0;
  }
}

/* ============================================================
   Recruit Page - Discussion (先輩と「なかよし」)
   ============================================================ */
/* --- 1. Decoration / Common --- */
.discussion-mv .inner {
  position: relative;
}

.discussion-mv .inner::before {
  content: "";
  position: absolute;
  background: url(https://www.nakayoshi-e.co.jp/assets/img/common/bg_smile.png) no-repeat center right;
  background-size: contain;
  width: 160px;
  height: 100px;
  top: -40px;
  right: 35px;
  z-index: 1;
}

/* --- 2. Staff Section --- */
.staff-section {
  padding-top: calc(25 * var(--vw-unit));
}

.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: calc(45 * var(--vw-unit));
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.staff-list__item {
  max-width: calc((100% - calc(45 * var(--vw-unit)) * 4) / 5);
  width: 100%;
}

.staff-list__image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: calc(15 * var(--vw-unit));
}

.staff-list__name {
  font-weight: bold;
  font-size: var(--text-m);
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.staff-list__name span {
  letter-spacing: 0.08em;
}

#recruit .content .inner p.staff-list__info {
  font-weight: normal;
  letter-spacing: 0.08em;
}

/* --- 3. Concept Section --- */
.concept-section {
  padding: calc(10 * var(--vw-unit)) 0;
}

.concept-message {}

#recruit .content .inner h2.concept-message__title {
  font-weight: bold;
  font-size: 46px;
  letter-spacing: 0.12em;
  line-height: 1.63;
  color: #1a1311;
  margin-bottom: 70px;
  margin-top: 85px;
}

.concept-message__title-line {
  display: block;
}

#recruit .content .inner p.concept-message__text {
  font-weight: bold;
  font-size: var(--font-h4);
  letter-spacing: 0.08em;
  line-height: 1.72;
}

/* --- 4. Interview Section --- */
.interview-section {
  padding: calc(10 * var(--vw-unit)) 0;
}

[class^="interview-section--q"],
[class*=" interview-section--q"] {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(40 * var(--vw-unit));
}

.interview-txt {
  flex: 1;
}

.interview-question {
  font-size: var(--text-m);
  color: var(--color-main);
  margin-bottom: calc(30 * var(--vw-unit));
  font-weight: bold;
}

#recruit .content .inner dl.interview-dialogue+h2 {
  margin-top: 40px;
}

.interview-dialogue {}

.speaker-name {
  font-weight: bold;
  letter-spacing: 0.08em;
  float: left;
  width: 3em;
}

.speaker-text {
  margin-left: 3.8em;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 2;
}

.speaker-text:not(:last-child) {
  margin-bottom: 1.4em;
}

.interview-img {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interview-img__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- 5. Media Queries --- */

/* 1024px以下 */
@media (width < 1024px) {
  .discussion-mv .inner::before {
    width: 145px;
    height: 90px;
    top: -35px;
    right: -10px;
  }

  .staff-list__item {
    max-width: calc((100% - calc(45 * var(--vw-unit)) * 2) / 3);
  }

  .concept-message__title {
    font-size: var(--font-h5);
  }

  .concept-message__text {
    font-size: var(--font-size);
  }
}

/* 768px以下 */
@media (width < 768px) {
  .discussion-mv .inner::before {
    width: 115px;
    height: 80px;
    top: -50px;
    right: -10px;
  }

  [class^="interview-section--q"],
  [class*=" interview-section--q"] {
    flex-direction: column;
    gap: calc(30 * var(--vw-unit));
  }

  .interview-txt,
  .interview-img {
    width: 100%;
  }

  .interview-img {
    order: 2;
  }

  .interview-question {
    font-size: var(--text-18);
  }

  .speaker-name {
    float: none;
    width: auto;
    margin-bottom: 5px;
  }

  .speaker-text {
    margin-left: 0;
  }
}

/* 500px以下 */
@media (width < 500px) {}

/* --- レイアウト選択用の追加スタイル --- */

@media screen and (max-width: 1440px) {

  /* 回り込みパターン */
  .interview-layout--wrap {
    display: block;
    overflow: hidden;
  }

  .interview-layout--wrap .interview-img {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 300px;
  }

  .interview-layout--wrap .interview-txt {
    display: block;
  }
}

/* 768px以下は共通で縦積みに戻す */
@media screen and (max-width: 768px) {
  .interview-layout--wrap {
    display: flex;
    flex-direction: column;
  }

  .interview-layout--wrap .interview-img {
    float: none;
    margin-left: 0;
    width: 100%;
    order: 2;
  }
}

/* 260220 */
.mt-10 {
  margin-top: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.ml-40 {
  margin-left: 40x;
}

.t-right {
  text-align: right;
}

.menu-item .link_none {
  opacity: 0.5;
  color: var(--color-black);
}

.menu-item .link_none:hover {
  opacity: 0.5;
  color: var(--color-black);
}

#menu-contact {
  opacity: 0.5;
}

#menu-contact:hover {
  opacity: 0.5;
}


/* 下から */
.fadeUp {
  -webkit-animation-name: fadeUpAnime;
  animation-name: fadeUpAnime;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
}

@-webkit-keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger {
  opacity: 0;
}

.group_list {
  display: grid;

  gap: 20px;
  margin-top: 80px;
}

@media screen and (min-width: 769px) {
  .group_list {
    grid-template-columns: 1fr 1fr;
    margin-top: 160px;
  }
}

.group_list li img {
  width: 100%;
  height: 100%;
  max-height: 497px;
  object-position: center;
  object-fit: contain;
  margin: 0 auto;
}


@media screen and (max-width: 768px) {

  .slick-prev,
  .slick-next {
    z-index: 10;
    width: calc(200 * var(--vw-unit));
    height: calc(200 * var(--vw-unit));
  }

  .slick-prev {
    left: calc(-25 * var(--vw-unit));
  }

  .slick-next {
    right: calc(-25 * var(--vw-unit));
  }

  .slick-prev:before,
  .slick-next:before {
    content: "";
    display: block;
    width: calc(200 * var(--vw-unit));
    height: calc(200 * var(--vw-unit));
    background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/btn_prev.png) no-repeat center;
    background-size: contain;
  }

  .slick-next:before {
    background: url(https://www.nakayoshi-e.co.jp/assets/img/recruit/btn_next.png) no-repeat center;
    background-size: contain;
  }

  .c-feature-block__text {
    margin-top: 10px;
    line-height: 1.8;
  }

  #recruit .content .inner h2.concept-message__title {
    font-size: 24px;
  }
}

#recruit #message .coming-soon {
  justify-content: flex-end;
  margin-top: 2em;
}

@media screen and (max-width: 768px) {
  .footer-logo{
    width: 100%;
    max-width: 100%;
  }
  #data .column-wrap {
    flex-direction: column;
  }

  #data .column-wrap .col-box {
    max-width: 100% !important;
  }
  #footer-menu li a{
    text-align: left;
  }
}
.vision_img{
  margin-bottom: 80px;
}
@media screen and (max-width: 768px){
  .vision_img{
  margin-bottom: 60px;
}
}