@charset "UTF-8";
/* TOP の SP・タブレット（〜1023px）。PC の座標指定（インライン style 含む）を外して上から流し込む。 */

.page--top main > section { position: relative; padding: var(--sp-sec) var(--sp-gutter); }
.page--top main > section > * { max-width: var(--sp-max); margin-left: auto; margin-right: auto; }
.page--top .label { display: table; margin-bottom: 12px; }
.page--top .h-sec { margin-bottom: 16px; }
.page--top .btn { margin-top: 24px; }
.page--top main br { display: none; }   /* PC の改行位置に頼らず自然に折り返す */
.page--top main .keep-br br { display: inline; }

/* ---------- MV：左右 2 枚の写真を上下に積み、それぞれにコピーを載せる ---------- */
.page--top .mv { position: relative; left: auto; top: auto; width: 100%; height: 600px; padding: 0; overflow: hidden; }
.page--top .mv > * { max-width: none; }
.page--top .mv__photo { width: 100%; height: 50%; object-fit: cover; }
.page--top .mv__photo--l { left: 0; top: 0; object-position: 30% 50%; }
.page--top .mv__photo--r { left: 0; top: 50%; object-position: 60% 40%; }
.page--top .mv__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 100%); }
.page--top .mv h1, .page--top .mv > p { margin: 0; }
.page--top .mv__copy-l { position: absolute; z-index: 2; left: var(--sp-gutter); top: 24px; width: 300px; height: auto; }
.page--top .mv__lead { z-index: 2; left: var(--sp-gutter); right: var(--sp-gutter); top: 136px; font-size: 13px; line-height: 1.8; white-space: normal; }
.page--top .mv__copy-r { position: absolute; z-index: 2; left: auto; right: var(--sp-gutter); top: auto; bottom: 28px; width: 262px; height: auto; }
.page--top .mv__en { display: none; }

/* ---------- 製品カード：PC と同じく左へ流れ続ける。カードごと縮小 ---------- */
.page--top .pslider { position: relative; left: auto; top: auto; width: auto; height: auto; zoom: .56; }
.page--top .pslider__track { position: relative; }
.page--top .pslider__set { padding: 20px 10px 0; gap: 20px; }

/* ---------- NEWS ---------- */
.page--top .news { background: var(--panel); border-bottom-right-radius: 48px; margin-top: 24px; }
.page--top .news-panel { display: none; }
.page--top .news__ttl, .page--top .news__sub, .page--top .news__list { position: static; left: auto; top: auto; width: auto; }
.page--top .news__ttl { font-size: 34px; line-height: 1.1; }
.page--top .news__sub { margin-top: 6px; font-size: 13px; }
.page--top .news__list { margin-top: 24px; }
.page--top .news__item a { display: grid; grid-template-columns: auto 1fr 24px; align-items: center; gap: 6px 12px; height: auto !important; padding: 16px 0; }
.page--top .news__item a > * { position: static; top: auto !important; left: auto; }
.page--top .news__date { grid-column: 1; font-size: 14px; }
.page--top .news__cat { grid-column: 2; justify-self: start; width: auto; padding: 0 10px; height: 20px; font-size: 11px; line-height: 20px; }
.page--top .news__title { grid-column: 1 / 3; font-size: 15px; line-height: 1.6; white-space: normal; }
.page--top .news__arrow { grid-column: 3; grid-row: 1 / 3; justify-self: end; }

/* ---------- 01 ABOUT US ---------- */
.page--top .about { padding-bottom: 0; }
.page--top .about__vertical { display: none; }
.page--top .about__text { position: static; font-size: 15px; line-height: 1.8; white-space: normal; }
.page--top .about__photo { position: relative; left: auto; top: auto; width: calc(100% + var(--sp-gutter) * 2); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 40px calc(var(--sp-gutter) * -1) 0; order: 9; }
.page--top .about { display: flex; flex-direction: column; }
.page--top .about > * { width: 100%; }
.page--top .about > .label { width: auto !important; align-self: flex-start; margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); }
.page--top .about dl { order: 10; margin: -40px auto 0; position: relative; z-index: 2; display: grid; gap: 12px; padding-bottom: var(--sp-sec); }
.page--top .fact { position: relative; left: auto !important; top: auto; width: 100%; height: 120px; border-radius: 6px; overflow: hidden; }
.page--top .fact > img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page--top .fact dt, .page--top .fact dd { position: relative; z-index: 1; margin: 0; }
.page--top .fact__en { position: static; display: block; padding: 24px 24px 0; font-size: 12px; }
.page--top .fact dd { display: flex; align-items: baseline; gap: 6px; padding: 8px 24px 0; }
.page--top .fact dd > span { position: static; }
.page--top .fact__num { font-size: 48px; line-height: 1; }
.page--top .fact__unit { font-size: 14px; line-height: 1.4; }
.page--top .fact__pre { font-size: 22px; }

/* ---------- 02 PRODUCTS ---------- */
.page--top .products__sub { position: static; font-size: 15px; line-height: 1.8; white-space: normal; }
.page--top .products ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.page--top .products li:first-child { grid-column: 1 / -1; }
.page--top .prod { position: relative; left: auto !important; top: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 354 / 297; border-radius: 6px; overflow: hidden; }
.page--top .products li:first-child .prod { aspect-ratio: 16 / 10; }
.page--top .prod > img.prod__bg { object-fit: cover; }
.page--top .prod::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.55)); }
.page--top .prod__en, .page--top .prod__name, .page--top .prod__arrow { z-index: 1; top: auto !important; }
.page--top .prod__en { left: 12px !important; bottom: 34px; font-size: 11px !important; letter-spacing: 0; white-space: normal; }
.page--top .prod__name { left: 12px !important; bottom: 10px; font-size: 15px; letter-spacing: 1px; }
.page--top .prod__arrow { left: auto !important; right: 10px; bottom: 10px; width: 24px; height: 24px; }
.page--top .products li:first-child .prod__en { left: 16px !important; bottom: 44px; font-size: 11px !important; }
.page--top .products li:first-child .prod__name { left: 16px !important; bottom: 14px; font-size: 22px; }
.page--top .products li:first-child .prod__arrow { right: 14px; bottom: 14px; width: 32px; height: 32px; }
/* 「製品紹介TOPを見る」は一覧の下に */
.page--top .products { display: flex; flex-direction: column; }
.page--top .products > * { width: 100%; }
.page--top .products > .label { width: auto !important; align-self: flex-start; margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); }
.page--top .products > .btn { order: 9; margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); }

/* ---------- 03 INFORMATION ---------- */
.page--top .info { background: #000; border-top-right-radius: 48px; display: flex; flex-direction: column; }
.page--top .info > * { width: 100%; }
.page--top .info > .label { width: auto !important; align-self: flex-start; margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); }
.page--top .info__bg { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; opacity: .55; margin: 0; border-top-right-radius: 48px; }
.page--top .info > :not(.info__bg) { position: relative; z-index: 1; }
.page--top .info__card-img { left: auto !important; top: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-top: 24px; }
.page--top .info__card-img ~ .info__card-img { margin-top: 48px; }
.page--top .info__ttl, .page--top .info__en, .page--top .info__desc { left: auto !important; top: auto; transform: none; text-align: left; white-space: normal; color: #fff; }
.page--top .info__ttl { margin-top: 16px; font-size: 22px; line-height: 1.4; }
.page--top .info__en { margin-top: 4px; font-size: 11px; color: #5fb3e6; }
.page--top .info__desc { margin-top: 10px; font-size: 15px; line-height: 1.8; }
.page--top .info .btn { margin-top: 16px; margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); }

/* ---------- 04 COMPANY ---------- */
.page--top .company { background: var(--panel); border-bottom-left-radius: 48px; margin-top: var(--sp-sec); }
.page--top .company-panel { display: none; }
.page--top .company__sub { position: static; font-size: 15px; line-height: 1.8; white-space: normal; margin-bottom: 24px; }
.page--top .cbanner { position: relative; display: block; left: auto; top: auto !important; width: 100%; height: 160px; border-radius: 6px; overflow: hidden; }
.page--top .cbanner + .cbanner { margin-top: 12px; }
.page--top .cbanner > img.cbanner__bg { object-fit: cover; object-position: 20% 50%; }
.page--top .cbanner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,0) 75%); }
.page--top .cbanner > :not(.cbanner__bg) { z-index: 1; }
.page--top .cbanner__en { left: 20px; top: 40px; font-size: 11px; }
.page--top .cbanner__ttl { left: 20px; top: 60px; font-size: 22px; letter-spacing: 2px; }
.page--top .cbanner__txt { left: 20px; top: 102px; font-size: 13px; line-height: 1.4; }
.page--top .cbanner__arrow { left: auto; right: 16px; top: auto; bottom: 16px; width: 32px; height: 32px; }

/* ---------- お問い合わせ ---------- */
.page--top .contact { position: relative; left: auto; top: auto; width: auto; height: auto; margin: var(--sp-sec) var(--sp-gutter) 0; padding: 40px 24px; border-radius: 8px; text-align: center; }
.page--top .contact > :not(.contact__bg) { position: relative; left: auto; top: auto; transform: none; white-space: normal; }
.page--top .contact__ttl { font-size: 20px; letter-spacing: 1.5px; line-height: 1.5; }
.page--top .contact__txt { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.page--top .contact__line { display: block; width: 100%; height: 1px; margin: 24px 0; opacity: .5; }
.page--top .contact__tel { display: inline-flex; align-items: center; min-height: 44px; font-size: 26px; }
.page--top .contact__hours { margin-top: 4px; font-size: 13px; }
.page--top .contact__form { display: block; width: 100%; height: 88px; margin-top: 24px; }
.page--top .contact__form-ttl { top: 20px; font-size: 20px; line-height: 1.3; padding-right: 0; }
.page--top .contact__form-sub { top: 50px; font-size: 13px; padding-right: 0; }
.page--top .contact__form img { left: auto; right: 16px; top: 28px; width: 32px; height: 32px; }

/* ---------- RECRUIT ---------- */
.page--top .recruit { padding: 0; margin-top: var(--sp-sec); min-height: 580px; }
.page--top .recruit > * { max-width: none; }
.page--top .recruit__bg { position: absolute; left: 0; top: 0; width: 100%; height: 440px; object-fit: cover; object-position: 70% 50%; }
.page--top .recruit::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 440px; background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.page--top .recruit__copy, .page--top .recruit__txt, .page--top .recruit .btn { position: relative; z-index: 2; left: auto !important; top: auto !important; margin-left: var(--sp-gutter); margin-right: var(--sp-gutter); }
.page--top .recruit__copy { padding-top: 96px; font-size: 32px; line-height: 1.4; white-space: normal; }
.page--top .recruit__copy br { display: inline; }
.page--top .recruit__txt { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.page--top .recruit .btn { width: calc(100% - var(--sp-gutter) * 2); }
.page--top .recruit__big { z-index: 2; left: auto; right: -6px; top: 360px; font-size: 64px; line-height: 1; }
.page--top .marquee { position: absolute; left: 0; right: 0; top: 440px; width: auto; height: 140px; }
.page--top .marquee__track { zoom: .5; }

@media (min-width: 768px) {
  .page--top .mv { height: 760px; }
  .page--top .mv__copy-l { left: 40px; top: 40px; width: 460px; }
  .page--top .mv__lead { left: 40px; top: 210px; font-size: 15px; }
  .page--top .mv__copy-r { right: 40px; bottom: 40px; width: 400px; }
  .page--top .pslider { zoom: .7; }
  .page--top .news__item a { grid-template-columns: auto auto 1fr 24px; }
  .page--top .news__title { grid-column: 3; }
  .page--top .news__arrow { grid-column: 4; grid-row: 1; }
  .page--top .about dl { grid-template-columns: repeat(3, 1fr); }
  .page--top .fact__num { font-size: 40px; }
  .page--top .products ul { grid-template-columns: repeat(4, 1fr); }
  .page--top .products li:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
  .page--top .products li:first-child .prod { aspect-ratio: auto; height: 100% !important; }
  .page--top .info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; justify-items: start; }
  .page--top .info > .label, .page--top .info > .h-sec { grid-column: 1 / -1; }
  .page--top .info > :not(.info__bg) { max-width: none; margin-left: 0; }
  .page--top .info__card-img ~ .info__card-img { margin-top: 24px; }
  .page--top .info__card-img { grid-row: 3; }
  .page--top .info__ttl { grid-row: 4; } .page--top .info__en { grid-row: 5; } .page--top .info__desc { grid-row: 6; } .page--top .info .btn { grid-row: 7; }
  .page--top .info > :nth-child(n+9) { grid-column: 2; }
  .page--top .info > :nth-child(-n+8):not(.label):not(.h-sec):not(.info__bg) { grid-column: 1; }
  .page--top .info { padding-left: max(var(--sp-gutter), calc((100% - var(--sp-max)) / 2)); padding-right: max(var(--sp-gutter), calc((100% - var(--sp-max)) / 2)); }
  .page--top .cbanner { height: 200px; }
  .page--top .contact { max-width: var(--sp-max); margin-left: auto; margin-right: auto; }
  .page--top .recruit__bg, .page--top .recruit::before { height: 520px; }
  .page--top .recruit__copy, .page--top .recruit__txt, .page--top .recruit .btn { margin-left: max(40px, calc((100% - var(--sp-max)) / 2)); }
  .page--top .recruit .btn { width: 100%; }
  .page--top .recruit__copy { padding-top: 120px; font-size: 44px; }
  .page--top .recruit__big { top: 420px; font-size: 110px; }
  .page--top .recruit { min-height: 689px; }
  .page--top .marquee { top: 520px; height: 169px; }
  .page--top .marquee__track { zoom: .6; }
}

/* ---------- 調整 ---------- */
/* relative にした見出しに PC の座標（インライン style）が効かないように */
.page--top main > section > .label, .page--top main > section > .h-sec { left: auto !important; top: auto !important; }
.page--top .fact__en { top: auto; left: auto; }
.page--top .about > .about__photo { width: calc(100% + var(--sp-gutter) * 2); max-width: none; }
.page--top .contact__form-ttl { padding: 0 48px; }
.page--top .recruit__big { z-index: 3; top: 382px; }
@media (min-width: 768px) {
  .page--top .about > .about__photo { width: calc(100% + var(--sp-gutter) * 2); }
  .page--top .recruit__big { top: 432px; }
}
.page--top main > section > .label { margin-left: max(0px, calc((100% - var(--sp-max)) / 2)); margin-right: auto; }
.page--top .contact__form-ttl { padding: 0 44px; font-size: 18px; }
