@charset "UTF-8";

/* ==========================================================================
   Base
   1rem = 10px（PC: 1600px幅 / SP: 376px幅のデザイン基準でリキッドに伸縮）
   ========================================================================== */
:root {
  --color-black: #000;
  --color-white: #fff;
  --color-navy: #10346e;
  --color-blue: #144189;
  --color-orange: #fd6221;
  --color-orange-dark: #e44d0e;
  --color-border: #ccc;
  --color-heading-border: #6b6b6b;
  --color-gray: #777;
  --color-footer-text: #afafaf;
  --color-footer-bg: #353535;
  --color-contact-bg: #f3f5f7;
  --font-ja: YuGothic, "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-latin: Arial, Helvetica, var(--font-ja);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: min(calc(100vw / 160), 10px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 767px) {
  html {
    font-size: calc(100vw / 37.6);
  }
}

/* 内容が少ないページ（送信完了など）でもフッターを画面下端に置く */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-ja);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* letter-spacing は em 指定を各要素の文字サイズで計算させるため、継承ではなく全要素へ指定する */
body,
body * {
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
address {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

small {
  font-size: inherit;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 1rem 1.6rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.4rem;
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 4rem;
  background: var(--color-white);
}

.header__logo {
  width: 27.9rem;
  line-height: 0;
}

.header__logo-link {
  display: block;
}

.header__logo-img {
  width: 100%;
  height: 7rem;
}

.header__nav-list {
  display: flex;
  gap: 1rem;
}

.header__nav-link {
  display: flex;
  align-items: center;
  width: 13.413rem;
  height: 3.2rem;
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  font-weight: 700;
  transition: opacity 0.3s;
}

.header__nav-link--tel {
  width: 14.697rem;
}

.header__nav-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 3rem;
  background: var(--color-navy);
}

.header__nav-icon img {
  width: 1.9rem;
  height: 1.9rem;
}

.header__nav-text {
  margin-left: 0.8rem;
  font-size: 1.4rem;
  line-height: 1.5;
  white-space: nowrap;
}

.header__nav-text--tel {
  margin-left: 1rem;
  font-family: var(--font-latin);
}

@media (hover: hover) {
  .header__nav-link:hover {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .header {
    height: 6.4rem;
    margin: 1.4rem 1.4rem 0;
    padding: 0;
  }

  .header__logo {
    width: 19rem;
  }

  .header__logo-img {
    height: 4.8rem;
  }

  /* メール・電話はアイコンだけにして画面右上に固定する（文字は読み上げ用に残す） */
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
  }

  .header__nav-list {
    gap: 1px;
    background: var(--color-white);
  }

  .header__nav-link,
  .header__nav-link--tel {
    width: 4.8rem;
    height: 4.8rem;
    border: 0;
  }

  .header__nav-link:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: -4px;
  }

  .header__nav-icon {
    width: 100%;
    height: 100%;
  }

  .header__nav-icon img {
    width: 2.2rem;
    height: 2.2rem;
  }

  .header__nav-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ==========================================================================
   Main visual (slider)
   ========================================================================== */
.mv__viewport {
  width: 140rem;
  height: 42rem;
  margin: 0 auto;
  /* 横方向の指の動きをスワイプ判定に使い、縦スクロールはブラウザに任せる */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.mv__list {
  position: relative;
  height: 100%;
}

.mv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.mv__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__pagination {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 110rem;
  height: 1.5rem;
  margin: 0.2rem auto 0;
}

.mv__dot {
  position: relative;
  width: 1.6rem;
  height: 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mv__dot:last-child {
  width: 0.7rem;
}

.mv__dot::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--color-black);
  opacity: 0.2;
  transition: opacity 0.3s, background-color 0.3s;
}

.mv__dot.is-active::before {
  background: var(--color-blue);
  opacity: 1;
}

/* 自動再生の停止ボタン：キーボードフォーカス時のみ表示 */
.mv__toggle {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 1.2rem;
  line-height: 1.5;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.mv__toggle:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .mv__slide {
    transition: none;
  }
}

@media (max-width: 767px) {
  .mv {
    margin-top: 1rem;
  }

  .mv__viewport {
    width: 37rem;
    height: 11rem;
  }

  .mv__pagination {
    width: 34.8rem;
    margin-top: 0;
  }
}

/* ==========================================================================
   Notice
   ========================================================================== */
.notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 110rem;
  margin: 2.4rem auto 0;
  color: var(--color-orange);
  font-weight: 700;
  text-align: center;
}

.notice__label {
  padding: 0.4rem 0.8rem;
  background: var(--color-orange-dark);
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: 1.5;
}

.notice__title {
  margin-top: 0.8rem;
  font-size: 2.4rem;
  line-height: 1.5;
}

.notice__text {
  font-size: 1.6rem;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .notice {
    align-items: flex-start;
    width: 34.8rem;
    margin-top: 1.6rem;
    text-align: left;
  }

  .notice__label {
    font-size: 1.2rem;
  }

  .notice__title {
    margin-top: 0;
  }

  .notice__br {
    display: none;
  }
}

/* ==========================================================================
   Main inner / Section
   ========================================================================== */
.main {
  flex: 1 0 auto;
}

.main__inner {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  width: 110rem;
  margin: 5rem auto 0;
}

.section__title {
  display: flex;
  align-items: center;
  height: 6rem;
  padding-left: 5.2rem;
  border-left: 1px solid var(--color-heading-border);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.section__title + * {
  margin-top: 5rem;
}

@media (max-width: 767px) {
  .main__inner {
    gap: 5rem;
    width: 34.8rem;
    margin-top: 5rem;
  }

  .section__title {
    height: auto;
    padding-left: 2.4rem;
    font-size: 2.4rem;
  }

  .section__title + * {
    margin-top: 2.4rem;
  }
}

/* ==========================================================================
   Business
   ========================================================================== */
.business {
  display: flex;
  gap: 2.4rem;
}

.business__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35rem;
  height: 28rem;
  overflow: hidden;
  color: var(--color-white);
  font-weight: 700;
}

.business__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.business__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business__img--recycle {
  object-position: 37.7% 50%;
}

.business__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 30rem;
  height: 16rem;
}

.business__title {
  font-size: 2.4rem;
  line-height: 1.5;
  white-space: nowrap;
}

.business__text {
  font-size: 1.6rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .business {
    flex-direction: column;
    gap: 0;
  }

  .business__item {
    justify-content: flex-start;
    width: 100%;
    height: 18rem;
    padding: 4rem;
  }

  .business__body {
    gap: 1.6rem;
    width: 100%;
    height: auto;
  }

  .business__title {
    font-size: 2rem;
  }

  .business__img--recycle {
    object-position: 50% 50%;
  }

  .business__text {
    font-size: 1.4rem;
  }

  .business__br {
    display: none;
  }
}

/* ==========================================================================
   Company
   ========================================================================== */
.company {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.company__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 55rem;
}

.company__row {
  display: flex;
  align-items: center;
  padding-bottom: 0.8rem;
  font-size: 1.6rem;
  line-height: 1.75;
  border-bottom: 1px solid var(--color-border);
}

.company__term {
  flex-shrink: 0;
  width: 8rem;
  font-weight: 700;
}

.company__desc {
  font-family: var(--font-latin);
}

.company__br {
  display: none;
}

.company__img {
  flex-shrink: 0;
  width: 50.1rem;
  height: 36.7rem;
  object-fit: cover;
  object-position: bottom;
}

@media (max-width: 767px) {
  .company {
    flex-direction: column;
    align-items: stretch;
    gap: 2.4rem;
  }

  .company__list {
    width: 100%;
  }

  .company__row {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }

  .company__br {
    display: inline;
  }

  .company__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1966 / 1439;
  }
}

/* ==========================================================================
   Recruit
   ========================================================================== */
.recruit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40rem;
  margin-top: 10.075rem;
  background: url("../img/recruit-bg.jpg") center / cover no-repeat;
}

.recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}

.recruit__inner {
  position: relative;
  display: flex;
  align-items: center;
}

.recruit__card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  width: 50rem;
  height: 30.4rem;
  padding: 3.2rem;
  background: var(--color-white);
}

.recruit__content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.recruit__en {
  color: var(--color-blue);
  font-family: var(--font-latin);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
}

.recruit__title {
  margin-top: 0.4rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.recruit__text {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  line-height: 1.75;
}

.recruit__btn {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem;
  background: var(--color-black);
  color: var(--color-white);
  transition: opacity 0.3s;
}

.recruit__btn-text {
  width: 14rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.recruit__btn-icon {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.05rem;
}

.recruit__img {
  width: 50rem;
  height: 30.4rem;
  object-fit: cover;
  object-position: 13.3% 50%;
}

@media (hover: hover) {
  .recruit__btn:hover {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .recruit {
    height: 36rem;
    margin-top: 5rem;
  }

  .recruit__card {
    width: 34.8rem;
    height: auto;
    padding: 2.4rem;
  }

  .recruit__en {
    font-size: 1.4rem;
  }

  .recruit__title {
    font-size: 2.4rem;
  }

  .recruit__text {
    font-size: 1.4rem;
  }

  .recruit__btn {
    justify-content: center;
    width: 100%;
    height: 5.6rem;
    margin-top: 1.6rem;
  }

  .recruit__btn-text {
    width: auto;
    font-size: 1.4rem;
  }

  .recruit__img {
    display: none;
  }
}

/* ==========================================================================
   Contact button（お問い合わせセクション・フッター共通）
   ========================================================================== */
.contact-btn {
  display: flex;
  align-items: center;
  width: 40.313rem;
  height: 8.739rem;
  border: 1px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  transition: opacity 0.3s;
}

.contact-btn__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 8.6rem;
  height: 100%;
  background: var(--color-navy);
}

.contact-btn__icon img {
  width: 2.6rem;
  height: 2rem;
}

.contact-btn__text {
  flex: 1;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@media (hover: hover) {
  .contact-btn:hover {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .contact-btn {
    width: 100%;
    height: 7rem;
    border-color: var(--color-blue);
  }

  /* アイコン部分は枠線の上に重ねて 70px 角にする */
  .contact-btn__icon {
    width: 7rem;
    height: 7rem;
    margin: -1px 0 -1px -1px;
    background: var(--color-blue);
  }

  .contact-btn__icon img {
    width: 2.25rem;
    height: 1.5rem;
  }

  .contact-btn__text {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  margin-top: 10.025rem;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 120rem;
  height: 30rem;
  margin: 0 auto;
  background: var(--color-contact-bg);
}

.contact__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.contact__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6.4rem;
  margin-top: 2.4rem;
}

.contact__tel {
  /* Figmaの区切り線は幅0のため、線の1px分を余白から引く */
  padding-left: calc(6.4rem - 1px);
  border-left: 1px solid var(--color-border);
}

.contact__tel-link {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  height: 8.1rem;
  color: var(--color-navy);
}

.contact__tel-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 8.1rem;
  height: 8.1rem;
  background: var(--color-blue);
}

.contact__tel-icon img {
  width: 3.2rem;
  height: 3.2rem;
}

.contact__tel-num {
  font-family: var(--font-latin);
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.contact__hours {
  margin-top: 0.4rem;
  color: var(--color-gray);
  font-family: var(--font-latin);
  font-size: 1.4rem;
  line-height: 2.55rem;
}

@media (max-width: 767px) {
  .contact {
    margin-top: 5rem;
  }

  .contact__inner {
    width: 34.8rem;
    height: auto;
    padding: 2.4rem;
  }

  .contact__title {
    font-size: 2.4rem;
  }

  .contact__body {
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 1.6rem;
  }

  .contact__btn,
  .contact__tel {
    width: 100%;
  }

  .contact__tel {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0;
    border-left: 0;
  }

  .contact__tel-link {
    gap: 0;
    height: 7rem;
  }

  .contact__tel-icon {
    width: 7rem;
    height: 7rem;
  }

  .contact__tel-icon img {
    width: 2.4rem;
    height: 2.4rem;
  }

  /* 番号は枠で囲み、アイコンと枠線を1px重ねる */
  .contact__tel-num {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-left: -1px;
    border: 1px solid var(--color-blue);
    font-size: 2.4rem;
  }

  .contact__hours {
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 10rem;
  padding: 5rem 0 5.061rem;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.footer__inner {
  width: 110rem;
  margin: 0 auto;
}

.footer__inner > * {
  width: 109.6rem;
}

.footer__logo {
  width: 19.2rem;
}

.footer__logo img {
  width: 100%;
}

.footer__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 4rem;
}

.footer__company {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer__name {
  font-size: 1.6rem;
  line-height: 1.5;
}

.footer__address {
  padding-top: 0.15rem;
  font-family: var(--font-latin);
  font-size: 1.6rem;
  line-height: 2.5rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.footer__download,
.footer__recruit {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--color-white);
  transition: opacity 0.3s;
}

.footer__download-text,
.footer__recruit-text {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer__download-icon,
.footer__recruit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background: var(--color-white);
}

.footer__download-icon img,
.footer__recruit-icon img {
  width: 1.4rem;
  height: 1.4rem;
}

.footer__bottom {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer__nav-link {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
  transition: opacity 0.3s;
}

.footer__copyright {
  font-family: var(--font-latin);
  font-size: 1.2rem;
  line-height: 1.95rem;
}

@media (hover: hover) {
  .footer__download:hover,
  .footer__recruit:hover,
  .footer__nav-link:hover {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .footer {
    margin-top: 5rem;
    padding: 1.6rem 1.4rem 1.65rem;
  }

  .footer__inner,
  .footer__inner > * {
    width: 100%;
  }

  .footer__logo {
    width: 19.2rem;
  }

  .footer__body {
    margin-top: 1.6rem;
  }

  .footer__company {
    gap: 0.8rem;
  }

  .footer__name {
    font-size: 1.4rem;
  }

  .footer__address {
    padding-top: 0;
    font-size: 1.4rem;
  }

  .footer__links {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 5rem;
  }

  .footer__nav {
    gap: 0.4rem;
  }

  /* Figmaのリンク枠の幅に合わせて、リンク同士の間隔をそろえる */
  .footer__nav-item:nth-child(1) {
    min-width: 5.481rem;
  }

  .footer__nav-item:nth-child(2) {
    min-width: 13.822rem;
  }

  .footer__nav-link {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }

  .footer__copyright {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Contact（contact.html）
   ========================================================================== */
.main__inner--page {
  gap: 0;
  margin-top: 5rem;
}

.form {
  width: 80rem;
  margin: 5rem auto 0;
}

.form__lead {
  font-size: 1.6rem;
  line-height: 1.75;
}

.form__required {
  margin-right: 0.4rem;
  color: var(--color-orange-dark);
  font-weight: 700;
}

@media (max-width: 767px) {
  .main__inner--page {
    margin-top: 3.2rem;
  }

  .form {
    width: 100%;
    margin-top: 2.4rem;
  }

  .form__lead {
    font-size: 1.4rem;
  }
}
