@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  height: 100%;
}

button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

@font-face {
	font-family: 'LIFULL';
	src: url('./fonts/LIFULLFONT-Medium.woff2') format('woff2'), url('./fonts/LIFULLFONT-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'LIFULL';
	src: url('./fonts/LIFULLFONT-Bold.woff2') format('woff2'), url('./fonts/LIFULLFONT-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'LIFULL';
	src: url('./fonts/LIFULLFONT-Heavy.woff2') format('woff2'), url('./fonts/LIFULLFONT-Heavy.woff') format('woff');
	font-weight: 900;
	font-style: normal;
}

:root {

  --font-ja: LIFULL, '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'MSゴシック', sans-serif;
  --font-en: LIFULL, Helvetica, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  --color-brand:   #ed6103;
  --color-text:    #1f1f1f;
  --color-bg:      #ffffff;
  --color-bg-warm: #fef3eb;
  --color-bg-gray: #f4f4f4;
  --color-border:  #a5a5a5;

  --content-width: 1040px;
  --header-height: 88px;

  --section-py:  160px;
  --section-gap: 80px;
}

body {
  font-family: var(--font-ja);
  letter-spacing: 0.08rem;
  font-weight: var(--fw-medium);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

.text-accent {
  color: var(--color-brand);
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: var(--color-bg);
}

.inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;

}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 40px;
  text-align: center;
}

.section-title__ja {
  font-weight: var(--fw-bold);
  font-size: 56px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--color-brand);
}

.section-title__en {
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-brand);
}

.subsection-title {
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
  margin-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--color-bg);
  box-shadow: 0 1px 0 rgba(0 0 0 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding: 24px;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: var(--fw-bold);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-brand);
}

.mv {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-warm);
  overflow: visible;
}

.mv-slider {
  width: 100%;
  height: 470px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  width: 200%;
  animation: slider-loop 50s linear infinite;
}

.slide-item {
  flex: 0 0 calc(100% / 3);
  height: 100%;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slider-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mv-catchcopy {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 0 24px 160px;
  max-width: 1440px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.mv-brand-frame {
  display: block;
  width: 100%;
  max-width: 680px;
  align-items: center;
  justify-content: center;
  margin-top: -140px;
}

.mv-brand-frame .l-inside {
  padding: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mv-brand-frame .inside-inside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-inside::before,
.l-inside::after,
.l-inside .inside-inside::before,
.l-inside .inside-inside::after {
  background-image: url('./img/l.svg');
  background-size: cover;
  content: '';
  height: 40px;
  position: absolute;
  width: 30.54px;
}

.l-inside::before {
  left: 4px;
  top: -4px;
  transform: rotate(90deg);
}

.l-inside::after {
  right: 0;
  top: 0;
  transform: rotate(180deg);
}

.l-inside .inside-inside::before {
  bottom: 0;
  left: 0;
  transform: rotate(0deg);
}

.l-inside .inside-inside::after {
  bottom: -4px;
  right: 4px;
  transform: rotate(-90deg);
}
.l-inside {

}

.l-inside .inside-inside {

}

.mv-brand-label {
  position: relative;
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: 60px;
  line-height: 1.2;
  color: var(--color-brand);
  white-space: nowrap;
  text-align: center;
}

.mv-description {
  align-self: stretch;
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.section-company {
  padding-block: var(--section-py);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

.section-company .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

.altruism {
  position: relative;
  width: 100%;

  padding: 140px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.altruism .l-inside {
  inset: 0;
}

.altruism .inside-inside {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.altruism-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;

  padding-inline: 60px;
  width: 100%;
}

.altruism-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.altruism-label__ja {
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-brand);
}

.altruism-label__en {
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-brand);
}

.altruism-body {
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
}

.altruism-body em {
  font-weight: var(--fw-bold);
  font-style: normal;
  color: var(--color-text);
}

.ceo-message {
  width: 100%;
}

.ceo-message__body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.ceo-message__profile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.ceo-message__photo {
  width: 290px;
  height: 290px;
  object-fit: cover;
}

.ceo-message__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ceo-message__title {
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--color-text);
}

.ceo-message__fullname {
  font-weight: var(--fw-bold);
  font-size: 18px;
  color: var(--color-text);
}

.ceo-message__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.ceo-message__lead {
  font-weight: var(--fw-bold);
  font-size: 24px;
  line-height: 1.75;
  color: var(--color-text);
}

.ceo-message__body-text {
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
}

.company-info {
  width: 100%;
  background-color: var(--color-bg-gray);
  padding: 80px;
  border-radius: 4px;
}

.company-info .subsection-title {
  margin-bottom: 64px;
}

.company-info__table {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.company-info__row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.company-info__row--top {
  align-items: flex-start;
}

.company-info__label {
  flex-shrink: 0;
  width: 160px;
  font-weight: var(--fw-bold);
  font-size: 24px;
  line-height: 2;
  color: var(--color-text);
}

.company-info__value {
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}

.select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 280px;
  height: 48px;
  padding-inline: 16px;
  background-color: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 8px;
}

.select-box__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  border: none;
  background: transparent;
  font-weight: var(--fw-regular);
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  padding-inline: 16px;
  padding-right: 48px;
}
.select-box__select option{
}
.select-box__select:has(option[value=""]:checked){
  color: #555;
}

.select-box__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.kessan-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline.kessan-btn {
  min-width: unset;
  height: 48px;
  padding-inline: 16px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}

.section-recruit,
.section-company {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-recruit {
  padding-block: 0 var(--section-py);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-recruit .inner {
  width: 100%;
  max-width: var(--content-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

.section-recruit .section-title {
  width: 100%;
}

.recruit-message {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.recruit-message__image {
  width: 500px;
  flex-shrink: 0;
}

.recruit-message__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.recruit-message__catch {
  font-weight: var(--fw-bold);
  font-size: 24px;
  line-height: 1.75;
  color: var(--color-text);
}

.recruit-message__body {
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}

.recruit-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.recruit-cta__note {
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  height: 64px;
  padding-inline: 33px;
  border: 2px solid var(--color-brand);
  border-radius: 36px;
  font-weight: var(--fw-bold);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--color-brand);
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  background-color: var(--color-brand);
  color: var(--color-bg);
}

.btn-outline:hover .btn-outline__icon {
  filter: brightness(0) invert(1);
}

.btn-outline__icon {
  width: 24px;
  height: 24px;
}

.section-services {
  border-top: 1px solid var(--color-brand);
  padding-block: var(--section-py);
}

.section-services .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.service-card__image {
  width: 500px;
  flex-shrink: 0;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card__logo {

}

.service-card__logo img {
  height: 48px;
  width: auto;
}

.service-card__description {
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}

.site-footer {
  background-color: var(--color-brand);
  padding: 52px 16px;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--content-width);
  margin-inline: auto;
}

.footer-info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 40px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-address {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-bg);
  white-space: nowrap;
}

.footer-copyright {
  font-family: var(--font-en);
  font-weight: var(--fw-regular);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-bg);
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  box-shadow: 0 4px 16px rgba(0 0 0 / 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  z-index: 99;
}

.mobile-nav.is-open {
  max-height: 300px;
}

.mobile-nav__link {
  display: block;
  padding: 26px 20px;
  font-weight: var(--fw-bold);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0 0 0 / 0.06);
  transition: color 0.2s, background-color 0.2s;
  text-align: center;
}

.mobile-nav__link:last-child {
  border-bottom: none;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
  color: var(--color-brand);
  background-color: var(--color-bg-warm);
}



/* =============================================
   Tablet  ≤ 820px
   レイアウトは横並び維持、サイズ・余白をPC/SPの中間に
   ============================================= */
@media (max-width: 820px) {
  :root {
    --content-width: 100%;
    --section-py:    100px;
    --section-gap:   60px;
    --header-height: 72px;
  }

  /* ヘッダー */
  .header-inner   { padding: 20px 24px; }
  .site-logo img  { height: 32px; }
  .site-nav       { gap: 20px; }
  .hamburger      { display: none; }   /* タブレットはナビ表示 */
  .mobile-nav     { display: none; }

  .inner { padding-inline: 24px; }

  /* MV */
  .mv-slider      { height: 360px; }
  .mv-catchcopy   { padding: 0 24px 100px; gap: 32px; }
  .mv-brand-frame { margin-top: -100px; }
  .mv-brand-frame .l-inside { padding: 72px; }
  .mv-brand-label { font-size: 44px; }
  .mv-description { font-size: 16px; }

  /* タイトル */
  .section-title__ja { font-size: 40px; }
  .section-title__en { font-size: 18px; }
  .subsection-title  { font-size: 28px; white-space: normal; }

  /* Altruism */
  .altruism       { padding: 80px 0; }
  .altruism-inner { padding-inline: 40px; gap: 32px; }
  .altruism-label__ja { font-size: 32px; }
  .altruism-body  { font-size: 16px; }

  /* CEO メッセージ：横並び維持・写真を小さく */
  .ceo-message__photo { width: 200px; height: 200px; }
  .ceo-message__lead  { font-size: 20px; }
  .ceo-message__body-text { font-size: 16px; }

  /* 会社概要 */
  .company-info         { padding: 48px 40px; }
  .company-info__table  { gap: 36px; }
  .company-info__label  { font-size: 20px; width: 140px; }
  .company-info__value  { font-size: 16px; }
  .company-info .subsection-title { margin-bottom: 48px; }

  /* 決算公告 */
  .kessan-wrapper { flex-wrap: wrap; }
  .select-box     { width: 280px; }

  /* 採用情報：横並び維持・画像縮小 */
  .recruit-message__image { width: 320px; }
  .recruit-message__catch { font-size: 20px; }
  .recruit-message__body  { font-size: 16px; }
  .recruit-cta__note      { font-size: 18px; white-space: normal; }

  /* 関連サービス：横並び維持・画像縮小 */
  .service-card__image       { width: 320px; }
  .service-card__description { font-size: 16px; }

  /* フッター */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-address   { white-space: normal; }
  .footer-copyright { white-space: normal; }
}

/* =============================================
   SP  ≤ 420px
   ============================================= */
@media (max-width: 420px) {
  :root {
    --section-py:    80px;
    --section-gap:   40px;
    --header-height: 64px;
  }

  /* l.svg 装飾アイコン縮小 */
  .l-inside::before,
  .l-inside::after,
  .l-inside .inside-inside::before,
  .l-inside .inside-inside::after {
    width: 24px;
    height: 31.43px;
  }

  /* ヘッダー：ハンバーガー切替 */
  .header-inner   { padding: 16px; }
  .site-logo img  { height: 26px; }
  .site-nav       { display: none; }
  .hamburger      { display: flex; }
  .mobile-nav     { display: flex; }

  .inner { padding-inline: 16px; }

  /* MV */
  .mv-slider { height: clamp(200px, 66.7vw, 280px); }
  .mv-catchcopy {
    padding: 0 16px 80px;
    gap: 24px;
    margin-top: clamp(-63px, -33vw, -80px);
  }
  .mv-brand-frame   { margin-top: -10px; }
  .mv-brand-frame .l-inside { padding: 48px 40px; }
  .mv-brand-label   { font-size: 26px; }
  .mv-description   { font-size: 16px; text-align: center; }

  /* タイトル */
  .section-title    { gap: 8px; padding-bottom: 0; }
  .section-title__ja { font-size: 32px; letter-spacing: 0.04em; }
  .section-title__en { font-size: 14px; }
  .subsection-title  { font-size: 20px; margin-bottom: 32px; }

  /* Altruism */
  .altruism       { padding: 48px 0; }
  .altruism-inner { padding-inline: 32px; flex-direction: column; align-items: center; gap: 20px; }
  .altruism-label { align-items: center; }
  .altruism-label__ja { font-size: 24px; }
  .altruism-label__en { font-size: 14px; }
  .altruism-body  { font-size: 16px; }

  /* CEO メッセージ：縦並び */
  .ceo-message__body    { flex-direction: column-reverse; align-items: center; gap: 24px; }
  .ceo-message__profile { align-items: center; }
  .ceo-message__photo   { width: 240px; height: 240px; }
  .ceo-message__name    { justify-content: center; }
  .ceo-message__title   { font-size: 12px; }
  .ceo-message__fullname { font-size: 16px; }
  .ceo-message__lead    { font-size: 18px; }
  .ceo-message__lead br { display: none; }
  .ceo-message__body-text { font-size: 16px; }

  /* 会社概要 */
  .company-info         { padding: 32px 24px; }
  .company-info__table  { gap: 32px; }
  .company-info__row    { flex-direction: column; gap: 6px; align-items: flex-start; }
  .company-info__label  { width: auto; font-size: 16px; line-height: 1.5; }
  .company-info__value  { font-size: 16px; width: 100%; }
  .company-info .subsection-title { margin-bottom: 32px; }

  /* 決算公告 */
  .kessan-wrapper { flex-direction: column; align-items: flex-start; gap: 12px; }
  .select-box     { width: 100%; max-width: 360px; }

  /* 採用情報：縦並び */
  .recruit-message        { flex-direction: column; gap: 20px; }
  .recruit-message__image { width: 100%; height: auto; }
  .recruit-message__text  { gap: 20px; }
  .recruit-message__catch { font-size: 20px; }
  .recruit-message__body  { font-size: 16px; }
  .recruit-cta            { padding-top: 40px; gap: 20px; }
  .recruit-cta__note      { font-size: 16px; white-space: normal; }

  /* 関連サービス：縦並び */
  .service-card        { flex-direction: column; gap: 20px; }
  .service-card__body  { gap: 20px; }
  .service-card__image { width: 100%; height: auto; }
  .service-card__description { font-size: 16px; }

  /* フッター */
  .site-footer  { padding: 24px 16px 64px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-info  { gap: 12px; }
  .footer-address   { white-space: normal; font-size: 14px; margin-bottom: 32px; }
  .footer-copyright { font-size: 12px; white-space: normal; }
}
