@charset "UTF-8";

/* ==================================================
   北伸運輸 style.css
   PC first / design width 1440px (contents 1140px)
   breakpoints: 1439px / 1099px / 767px
================================================== */

/* ==================== base ==================== */
html,
body {
  margin: 0;
  overflow-x: hidden;
}

/* "clip" hides sideways overflow without making <body> a scroll box. */
body {
  overflow-x: clip;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #231815;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* ==================== layout ==================== */
.l-inner {
  width: min(1140px, calc(100% - 80px));
  margin-inline: auto;
}

/* ==================== header ==================== */
.section-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 0 30px 0 33px;
  background: rgba(255, 255, 255, 0.8);
}

.c-logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.c-logo--en {
  width: 283px;
}

.c-logo--ja {
  width: 166px;
  margin-top: 6px;
}

.c-gnav {
  display: flex;
  align-items: center;
  gap: 37px;
}

.c-gnav__list {
  display: flex;
  gap: 38px;
}

.c-gnav__item a {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.c-gnav__item a:hover {
  color: #008143;
}

.c-gnav__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 45px;
  border-radius: 6px;
  background: #008143;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.c-gnav__contact:hover {
  background: #231815;
}

.c-menu-btn,
.c-sp-menu {
  display: none;
}

/* ==================== hero ==================== */
.section-hero {
  position: relative;
}

.c-hero__photo {
  width: 100%;
  aspect-ratio: 1440 / 900;
  object-fit: cover;
}

.c-hero__inner {
  position: absolute;
  right: 0;
  bottom: 62px;
  left: 0;
}

.c-hero__catch {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.57;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

/* ==================== body background (intro - features) ==================== */
.p-top-body {
  background: #e7f5fe url(../images/hokushin-04.webp) no-repeat center top / cover;
}

/* ==================== intro ==================== */
.section-intro {
  overflow-x: clip;
  padding-top: 94px;
}

.c-intro__inner {
  position: relative;
}

.c-intro__text p {
  font-size: 18px;
  line-height: 44px;
  letter-spacing: 0.1em;
}

.c-intro__text p + p {
  margin-top: 44px;
}

.c-intro__truck {
  position: absolute;
  bottom: -8px;
  left: calc(100% - 570px);
  width: 855px; /* 570px x 150%, left edge fixed / overflows to the right */
  max-width: none;
}

/* ==================== marquee ==================== */
.c-marquee {
  overflow: hidden;
  margin-top: 13px;
  padding-left: 33px;
}

.c-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}

.c-marquee__text {
  flex-shrink: 0;
  padding-right: 120px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 155px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #008143;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-marquee__track {
    animation: none;
  }
}

/* ==================== section label / heading ==================== */
.c-section-label {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.c-section-label--line {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 445px;
}

.c-section-label--line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #898989;
}

.c-section-label--center {
  text-align: center;
}

.c-section-heading {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #008143;
}

.c-section-heading--center {
  text-align: center;
}

/* ==================== more button ==================== */
.c-more-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 330px;
  height: 70px;
  border-radius: 35px;
  background: #231815;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
}

.c-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #008143;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.c-more-btn:hover::before {
  transform: scaleX(1);
}

.c-more-btn__text {
  position: relative;
  z-index: 1;
}

.c-more-btn__arrow {
  position: absolute;
  top: 50%;
  right: 34px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* ==================== features (about / service / recruit) ==================== */
.section-features {
  padding: 55px 0 100px;
}

.p-feature {
  display: grid;
  grid-template-columns: 50% 1fr;
  column-gap: 25px;
  align-items: start;
}

.p-feature + .p-feature {
  margin-top: 100px;
}

.p-feature--reverse {
  grid-template-columns: 1fr 50%;
}

.p-feature--reverse .p-feature__photo {
  order: 2;
}

.p-feature--reverse .c-section-label--line {
  max-width: 492px;
}

.p-feature--reverse .p-feature__btn {
  margin-top: 26px;
}

.p-feature__photo img {
  width: 100%;
}

.p-feature__body {
  margin-top: -12px;
}

.p-feature .c-section-heading {
  margin-top: 40px;
}

.p-feature--reverse .c-section-heading {
  margin-top: 14px;
}

.p-feature__list {
  margin-top: 22px;
}

.p-feature__list li,
.p-feature__text {
  font-size: 17px;
  line-height: 36px;
  letter-spacing: 0.08em;
}

.p-feature__list li::before {
  content: "・";
}

.p-feature__list + .p-feature__text {
  margin-top: 0;
}

.p-feature__text {
  margin-top: 22px;
}

.p-feature__btn {
  margin-top: 46px;
}

/* ==================== contact ==================== */
.section-contact {
  padding: 62px 0 57px;
  background: #cfe6f5 url(../images/hokushin-09.webp) no-repeat center / cover;
}

.section-contact .c-section-heading {
  margin-top: 4px;
}

.c-contact__boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 53px;
  width: min(1229px, calc(100% + 89px));
  margin: 80px 0 0 50%;
  transform: translateX(-50%);
}

.c-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 21px 21px 13px;
  background: rgba(255, 255, 255, 0.6);
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.c-contact-box:hover {
  background: rgba(255, 255, 255, 0.85);
}

.c-contact-box__head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 63px;
  padding-bottom: 10px;
  background: #008143;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 81%, 50% 100%, 0 81%);
}

.c-contact-box__main {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3px;
  font-weight: 700;
  line-height: 1.2;
}

.c-contact-box__main--tel {
  font-size: 52px;
  letter-spacing: 0.01em;
}

.c-contact-box__main--form {
  height: 62px;
  font-size: 30px;
  letter-spacing: 0.03em;
}

.c-contact-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333;
  color: #fff;
}

.c-contact-box__sub {
  font-size: 16px;
  line-height: 1.2;
}

/* ==================== footer ==================== */
.section-footer {
  padding: 49px 0 45px;
  background: #fff;
}

.c-footer__inner {
  display: grid;
  grid-template-columns: 50% 1fr;
  column-gap: 25px;
}

.c-footer__logo-link {
  display: inline-block;
}

.c-footer__logo--en {
  width: 283px;
}

.c-footer__logo--ja {
  width: 128px;
  margin-top: 26px;
}

.c-footer__address {
  margin-top: 8px;
  padding-left: 4px;
  font-size: 15px;
  line-height: 22px;
}

.c-footer__address a {
  text-decoration: none;
}

.c-footer__nav {
  margin-top: -6px;
}

.c-footer__list {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: 192px;
  row-gap: 18px;
}

.c-footer__list a {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.c-footer__list a:hover {
  color: #008143;
}

.section-copyright {
  background: #000;
}

.c-copyright {
  padding: 15px 16px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #fff;
}

/* ==================== back to top ==================== */
.c-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #008143;
  box-shadow: 0 4px 12px rgba(35, 24, 21, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.c-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-back-to-top:hover {
  filter: brightness(1.15);
}

.c-back-to-top__arrow {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

/* ==================================================
   1100px - 1439px
================================================== */
@media (max-width: 1439px) {
  .section-header {
    padding: 0 20px 0 24px;
  }

  .c-gnav {
    gap: 28px;
  }

  .c-gnav__list {
    gap: 28px;
  }

  .c-hero__catch {
    font-size: clamp(36px, 3.2vw, 46px);
  }

  .c-marquee__text {
    font-size: clamp(110px, 10.8vw, 155px);
  }

  .c-intro__truck {
    left: calc(100% - min(570px, 45%));
    width: min(855px, 67.5%);
  }

  .c-contact__boxes {
    width: min(1229px, calc(100% + 40px));
  }
}

@media (max-width: 1299px) {
  .c-logo--en {
    width: 230px;
  }

  .c-logo--ja {
    width: 135px;
    margin-top: 4px;
  }

  .c-gnav,
  .c-gnav__list {
    gap: 22px;
  }

  .c-gnav__item a {
    font-size: 16px;
  }

  .c-contact-box__main--tel {
    font-size: 44px;
  }

  .c-contact-box__main--form {
    font-size: 26px;
  }
}

/* ==================================================
   tablet / SP common : 1099px and below
================================================== */
@media (max-width: 1099px) {
  /* ---------- header ---------- */
  .section-header {
    height: 70px;
    padding: 0 76px 0 20px;
  }

  .c-logo-link {
    gap: 12px;
  }

  .c-logo--en {
    width: 200px;
  }

  .c-logo--ja {
    width: 117px;
    margin-top: 3px;
  }

  .c-gnav {
    display: none;
  }

  .c-menu-btn {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #008143;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .c-menu-btn span {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }

  .c-menu-btn span:nth-child(1) {
    top: 15px;
  }

  .c-menu-btn span:nth-child(2) {
    top: 21px;
  }

  .c-menu-btn span:nth-child(3) {
    top: 27px;
  }

  .is-menu-open .c-menu-btn span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .is-menu-open .c-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .c-menu-btn span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  /* ---------- SP menu ---------- */
  .c-sp-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: block;
    padding: 94px 24px 40px;
    overflow-y: auto;
    background: #e7f5fe url(../images/hokushin-04.webp) no-repeat center top / cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }

  .is-menu-open .c-sp-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  html.is-menu-open,
  body.is-menu-open {
    overflow: hidden;
  }

  .c-sp-menu__list {
    max-width: 600px;
    margin-inline: auto;
  }

  .c-sp-menu__list li {
    border-bottom: 1px solid #898989;
  }

  .c-sp-menu__list a {
    position: relative;
    display: block;
    padding: 22px 30px 22px 4px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.1em;
    text-decoration: none;
  }

  .c-sp-menu__list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 9px;
    height: 9px;
    margin-top: -5px;
    border-top: 2px solid #008143;
    border-right: 2px solid #008143;
    transform: rotate(45deg);
  }

  .c-sp-menu__btns {
    display: grid;
    gap: 12px;
    max-width: 600px;
    margin: 32px auto 0;
  }

  .c-sp-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
  }

  .c-sp-menu__btn--contact {
    background: #008143;
  }

  .c-sp-menu__btn--tel {
    background: #231815;
  }

  /* ---------- hero ---------- */
  .c-hero__photo {
    aspect-ratio: 4 / 3;
  }

  .c-hero__inner {
    bottom: 40px;
  }

  .c-hero__catch {
    font-size: 34px;
  }

  /* ---------- intro ---------- */
  .section-intro {
    padding-top: 72px;
  }

  .c-intro__text p {
    font-size: 16px;
    line-height: 36px;
  }

  .c-intro__text p + p {
    margin-top: 36px;
  }

  .c-intro__truck {
    position: static;
    width: min(570px, 100%);
    margin: 24px auto 0;
  }

  .c-marquee {
    margin-top: 24px;
    padding-left: 20px;
  }

  .c-marquee__text {
    padding-right: 80px;
    font-size: 100px;
  }

  /* ---------- features ---------- */
  .section-features {
    padding: 48px 0 80px;
  }

  .p-feature {
    column-gap: 30px;
  }

  .p-feature + .p-feature {
    margin-top: 80px;
  }

  .p-feature__body {
    margin-top: 0;
  }

  .p-feature .c-section-heading {
    margin-top: 20px;
    font-size: 30px;
  }

  .p-feature__list,
  .p-feature__text {
    margin-top: 16px;
  }

  .p-feature__list li,
  .p-feature__text {
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  .p-feature__btn {
    margin-top: 30px;
  }

  .c-more-btn {
    width: min(330px, 100%);
    height: 60px;
    font-size: 16px;
  }

  /* ---------- contact ---------- */
  .c-contact__boxes {
    gap: 24px;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .c-contact-box__head {
    height: 54px;
    padding-bottom: 8px;
    font-size: 15px;
  }

  .c-contact-box__main {
    gap: 10px;
  }

  .c-contact-box__main--tel {
    font-size: 32px;
  }

  .c-contact-box__main--form {
    height: 38px;
    font-size: 22px;
  }

  .c-contact-box__icon {
    width: 34px;
    height: 34px;
  }

  .c-contact-box__icon svg {
    width: 18px;
    height: 18px;
  }

  .c-contact-box__sub {
    font-size: 14px;
  }

  /* ---------- footer ---------- */
  .c-footer__logo--en {
    width: 230px;
  }

  .c-footer__list {
    grid-auto-columns: 150px;
  }

  .c-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ==================================================
   SP : 767px and below
================================================== */
@media (max-width: 767px) {
  .l-inner {
    width: calc(100% - 40px);
  }

  /* ---------- header ---------- */
  .section-header {
    height: 60px;
    padding: 0 68px 0 14px;
  }

  .c-logo-link {
    gap: 8px;
  }

  .c-logo--en {
    width: 150px;
  }

  .c-logo--ja {
    width: 88px;
    margin-top: 2px;
  }

  .c-menu-btn {
    right: 12px;
  }

  .c-sp-menu {
    padding-top: 80px;
  }

  /* ---------- hero ---------- */
  .c-hero__photo {
    aspect-ratio: 375 / 500;
    object-position: 68% center;
  }

  .c-hero__inner {
    bottom: 28px;
  }

  .c-hero__catch {
    font-size: 22px;
    line-height: 1.7;
    letter-spacing: 0.08em;
  }

  /* ---------- intro ---------- */
  .section-intro {
    padding-top: 48px;
  }

  .c-intro__text p {
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  .c-intro__text p + p {
    margin-top: 24px;
  }

  .c-intro__text br {
    display: none;
  }

  .c-intro__truck {
    width: 100%;
  }

  .c-marquee {
    margin-top: 20px;
    padding-left: 0;
  }

  .c-marquee__text {
    padding-right: 48px;
    font-size: 64px;
  }

  /* ---------- section label / heading ---------- */
  .c-section-label {
    font-size: 16px;
  }

  .c-section-label--line,
  .p-feature--reverse .c-section-label--line {
    max-width: none;
  }

  .c-section-heading {
    font-size: 26px;
  }

  /* ---------- features ---------- */
  .section-features {
    padding: 36px 0 64px;
  }

  .p-feature,
  .p-feature--reverse {
    grid-template-columns: 1fr;
  }

  .p-feature--reverse .p-feature__photo {
    order: 0;
  }

  .p-feature + .p-feature {
    margin-top: 56px;
  }

  .p-feature__body {
    margin-top: 24px;
  }

  .p-feature .c-section-heading {
    margin-top: 12px;
    font-size: 26px;
  }

  .p-feature__btn {
    margin: 28px auto 0;
  }

  .c-more-btn {
    height: 56px;
    font-size: 15px;
  }

  /* ---------- contact ---------- */
  .section-contact {
    padding: 48px 0;
  }

  .c-contact__boxes {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .c-contact-box {
    padding: 14px 14px 14px;
  }

  .c-contact-box__head {
    height: 46px;
    padding-bottom: 6px;
    font-size: 14px;
  }

  .c-contact-box__main--tel {
    font-size: 30px;
  }

  .c-contact-box__main--form {
    height: 36px;
    font-size: 20px;
  }

  .c-contact-box__icon {
    width: 30px;
    height: 30px;
  }

  .c-contact-box__icon svg {
    width: 16px;
    height: 16px;
  }

  .c-contact-box__sub {
    font-size: 13px;
  }

  /* ---------- footer ---------- */
  .section-footer {
    padding: 40px 0 36px;
  }

  .c-footer__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .c-footer__logo--en {
    width: 200px;
  }

  .c-footer__logo--ja {
    width: 110px;
    margin-top: 16px;
  }

  .c-footer__address {
    padding-left: 0;
    font-size: 13px;
    line-height: 22px;
  }

  .c-footer__list {
    grid-auto-columns: 1fr;
    row-gap: 14px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
  }

  .c-footer__list a {
    font-size: 15px;
  }

  .c-copyright {
    font-size: 11px;
  }
}


/* ==================================================
   animation
   - 初期非表示は html.is-anim（head内のscriptで付与）の下にだけ書く
     → JSが動かない環境・動きを減らす設定では最初から全部表示
   - 画面に入った要素に is-inview を付与（script.js）
================================================== */

/* ---------- header (scrolled) ---------- */
.section-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.section-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(35, 24, 21, 0.1);
}

/* ---------- hero ---------- */
.section-hero {
  overflow: hidden;
}

.c-hero__line {
  display: inline-block;
}

.is-anim .c-hero__photo {
  transform: scale(1.08);
}

.is-anim.is-loaded .c-hero__photo {
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 0.6, 0.3, 1);
}

.is-anim .c-hero__line {
  opacity: 0;
  transform: translateY(24px);
}

.is-anim.is-loaded .c-hero__line {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.is-anim.is-loaded .c-hero__line:nth-of-type(2) {
  transition-delay: 0.95s;
}

/* ---------- fade up (intro text) ---------- */
.is-anim .c-intro__text .js-inview {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.is-anim .c-intro__text .js-inview.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- features ---------- */
.p-feature__photo {
  position: relative;
  overflow: hidden;
}

/* green wipe */
.p-feature__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #008143;
  transform: scaleX(0);
  pointer-events: none;
}

.is-anim .p-feature__photo img {
  opacity: 0;
}

.is-anim .p-feature.is-inview .p-feature__photo::after {
  animation: photoWipe 1.2s cubic-bezier(0.7, 0, 0.3, 1) both;
}

.is-anim .p-feature.is-inview .p-feature__photo img {
  animation: photoShow 1.2s linear both;
}

@keyframes photoWipe {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left center;
  }

  50.1% {
    transform: scaleX(1);
    transform-origin: right center;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

@keyframes photoShow {
  0%,
  49.9% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

/* B-1: photo zoom on hover (PC) */
.p-feature__photo img {
  transition: transform 0.8s ease;
}

@media (hover: hover) and (min-width: 1100px) {
  .p-feature__photo:hover img {
    transform: scale(1.05);
  }
}

/* label line grows from the left */
.is-anim .p-feature .c-section-label--line::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.6, 0, 0.3, 1) 0.5s;
}

.is-anim .p-feature.is-inview .c-section-label--line::after {
  transform: scaleX(1);
}

/* body texts fade up in order */
.is-anim .p-feature__body > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-anim .p-feature.is-inview .p-feature__body > * {
  opacity: 1;
  transform: translateY(0);
}

.is-anim .p-feature.is-inview .p-feature__body > :nth-child(1) {
  transition-delay: 0.4s;
}

.is-anim .p-feature.is-inview .p-feature__body > :nth-child(2) {
  transition-delay: 0.55s;
}

.is-anim .p-feature.is-inview .p-feature__body > :nth-child(3) {
  transition-delay: 0.7s;
}

.is-anim .p-feature.is-inview .p-feature__body > :nth-child(4) {
  transition-delay: 0.85s;
}

.is-anim .p-feature.is-inview .p-feature__body > :nth-child(5) {
  transition-delay: 1s;
}

/* ---------- contact ---------- */
.is-anim .section-contact .c-section-label,
.is-anim .section-contact .c-section-heading,
.is-anim .section-contact .c-contact-box {
  opacity: 0;
  transform: translateY(30px);
}

.is-anim .section-contact .c-section-label,
.is-anim .section-contact .c-section-heading {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-anim .section-contact .c-contact-box {
  transition: opacity 0.8s ease, transform 0.8s ease, background-color 0.3s ease;
}

.is-anim .section-contact.is-inview .c-section-label,
.is-anim .section-contact.is-inview .c-section-heading,
.is-anim .section-contact.is-inview .c-contact-box {
  opacity: 1;
  transform: translateY(0);
}

.is-anim .section-contact.is-inview .c-section-heading {
  transition-delay: 0.15s;
}

.is-anim .section-contact.is-inview .c-contact-box:nth-child(1) {
  transition-delay: 0.35s, 0.35s, 0s;
}

.is-anim .section-contact.is-inview .c-contact-box:nth-child(2) {
  transition-delay: 0.55s, 0.55s, 0s;
}

/* ---------- SP: shorter moves ---------- */
@media (max-width: 767px) {
  .is-anim .c-hero__line,
  .is-anim .c-intro__text .js-inview,
  .is-anim .p-feature__body > *,
  .is-anim .section-contact .c-section-label,
  .is-anim .section-contact .c-section-heading,
  .is-anim .section-contact .c-contact-box {
    transform: translateY(14px);
  }
}

/* ==================================================
   仮公開用：お問い合わせは電話のみ（中央に1つ）
================================================== */
.c-contact__boxes--single {
  grid-template-columns: minmax(0, 588px);
  justify-content: center;
}

/* ==================================================
   sub page common / recruit page (recruit.html)
================================================== */
.p-sub-body {
  background: #e7f5fe url(../images/hokushin-04.webp) no-repeat center top / cover;
}

/* ---------- page hero ---------- */
.section-page-hero {
  padding: 190px 0 70px;
}

.c-page-hero__heading {
  margin-top: 6px;
  font-size: 44px;
}

/* ---------- breadcrumb ---------- */
.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
  content: "＞";
  margin: 0 10px;
  color: #898989;
}

.c-breadcrumb__item a {
  color: #008143;
  text-decoration: none;
}

.c-breadcrumb__item a:hover {
  text-decoration: underline;
}

/* ---------- job card ---------- */
.section-rec {
  padding: 24px 0 120px;
}

.c-rec-job {
  padding: 100px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 30px rgba(0, 85, 140, 0.08);
}

.c-rec-job__head {
  display: grid;
  grid-template-columns: 470px 1fr;
  column-gap: 50px;
  align-items: start;
}

.c-rec-job__photo img {
  width: 100%;
  border-radius: 20px;
}

/* PC・タブレット：写真を右側の文章の高さに合わせ、下に余白を作らない
   （写真は枠いっぱいに敷き、枠の高さは右側の文章で決まる） */
@media (min-width: 768px) {
  .c-rec-job__head {
    align-items: stretch;
  }

  .c-rec-job__photo {
    position: relative;
    min-height: 360px;
  }

  .c-rec-job__photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
  }
}

/* SP：縦長の写真を横長（4:3）に切り抜き、人物とトラックを見せる */
@media (max-width: 767px) {
  .c-rec-job__photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 68%;
  }
}

.c-rec-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-rec-job__tags li {
  padding: 4px 12px;
  border: 1px solid #008143;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #008143;
}

.c-rec-job__title {
  margin-top: 18px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #008143;
}

.c-rec-job__type {
  display: block;
  font-size: 20px;
}

.c-rec-job__points {
  margin-top: 18px;
}

.c-rec-job__points li {
  position: relative;
  padding-left: 1.4em;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.c-rec-job__points li + li {
  margin-top: 4px;
}

.c-rec-job__points li::before {
  content: "◎";
  position: absolute;
  top: 0;
  left: 0;
  color: #008143;
}

.c-rec-job__btn {
  margin-top: 30px;
}

.c-rec-job__catch {
  margin-top: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* 区切りの良い位置で折り返すための単位（短い語句のみに使用） */
.c-rec-job__nobr {
  display: inline-block;
}

.c-rec-job__points-sub {
  display: block;
  font-weight: 400;
  font-size: 14px;
}

/* ---------- job detail ---------- */
.c-rec-detail {
  margin-top: 60px;
}

.c-rec-detail__lead {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.c-rec-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.c-rec-detail__block {
  padding: 30px;
  border-radius: 12px;
  background: #f2f8fb;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.c-rec-detail__block--full {
  margin-top: 40px;
}

.c-rec-detail__block--full + .c-rec-detail__grid {
  margin-top: 30px;
}

.c-rec-detail__block--schedule {
  margin-top: 30px;
}

.c-rec-detail__title {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid #008143;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: #008143;
}

.c-rec-detail__block p + .c-rec-detail__title,
.c-rec-detail__list + .c-rec-detail__title {
  margin-top: 28px;
}

.c-rec-detail__list li {
  position: relative;
  padding-left: 1.1em;
}

.c-rec-detail__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* schedule */
.c-rec-schedule {
  margin: 0;
}

.c-rec-schedule__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 20px;
  padding: 10px 0;
}

.c-rec-schedule__row + .c-rec-schedule__row {
  border-top: 1px dashed #c5d9e3;
}

.c-rec-schedule dt {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.6;
  color: #008143;
}

.c-rec-schedule dd {
  margin: 0;
}

/* ---------- table ---------- */
.c-rec-table__heading {
  margin: 70px 0 0;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #008143;
}

.c-rec-table {
  margin: 24px 0 0;
  border-top: 1px solid #ddd;
}

.c-rec-table__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid #ddd;
}

.c-rec-table dt {
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #008143;
}

.c-rec-table dd {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.c-rec-table dd a {
  color: #008143;
}

/* ---------- apply ---------- */
.c-rec-job__apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.c-rec-job__apply-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-align: center;
}

.c-rec-job__apply-text span {
  display: inline-block;
}

.c-rec-job__apply .c-rec-job__btn {
  margin-top: 20px;
}

/* ---------- animation ---------- */
.is-anim .c-page-hero__label,
.is-anim .c-page-hero__heading {
  opacity: 0;
  transform: translateY(24px);
}

.is-anim.is-loaded .c-page-hero__label,
.is-anim.is-loaded .c-page-hero__heading {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.is-anim.is-loaded .c-page-hero__heading {
  transition-delay: 0.4s;
}

.is-anim .c-rec-job {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.is-anim .c-rec-job.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 1099px and below ---------- */
@media (max-width: 1099px) {
  .section-page-hero {
    padding: 140px 0 50px;
  }

  .c-page-hero__heading {
    font-size: 36px;
  }

  .section-rec {
    padding-bottom: 80px;
  }

  .c-rec-job {
    padding: 50px 40px;
  }

  .c-rec-job__head {
    grid-template-columns: 45% 1fr;
    column-gap: 30px;
  }

  .c-rec-job__title {
    font-size: 22px;
  }

  .c-rec-job__type {
    font-size: 16px;
  }

  .c-rec-job__points li {
    font-size: 14px;
  }

  .c-rec-detail__grid {
    grid-template-columns: 1fr;
  }

  .c-rec-table__row {
    grid-template-columns: 150px 1fr;
  }

  .c-rec-table dt,
  .c-rec-table dd {
    font-size: 15px;
  }
}

/* ---------- 767px and below ---------- */
@media (max-width: 767px) {
  .section-page-hero {
    padding: 104px 0 36px;
  }

  .c-page-hero__heading {
    font-size: 28px;
  }

  .c-breadcrumb__list {
    font-size: 12px;
  }

  .section-rec {
    padding: 16px 0 64px;
  }

  .c-rec-job {
    padding: 24px 18px 32px;
    border-radius: 14px;
  }

  .c-rec-job__head {
    grid-template-columns: 1fr;
  }

  .c-rec-job__photo img {
    border-radius: 10px;
  }

  .c-rec-job__intro {
    margin-top: 20px;
  }

  .c-rec-job__tags li {
    padding: 3px 9px;
    font-size: 12px;
  }

  .c-rec-job__title {
    margin-top: 14px;
    font-size: 20px;
  }

  .c-rec-job__type {
    font-size: 15px;
  }

  .c-rec-job__btn {
    margin: 24px auto 0;
  }

  .c-rec-detail {
    margin-top: 36px;
  }

  .c-rec-detail__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .c-rec-detail__lead br {
    display: none;
  }

  .c-rec-detail__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .c-rec-detail__block {
    padding: 20px 16px;
    font-size: 14px;
  }

  .c-rec-detail__block--full {
    margin-top: 24px;
  }

  .c-rec-detail__block--full + .c-rec-detail__grid {
    margin-top: 16px;
  }

  .c-rec-detail__block--schedule {
    margin-top: 16px;
  }

  .c-rec-detail__title {
    font-size: 16px;
  }

  .c-rec-schedule__row {
    grid-template-columns: 56px 1fr;
    column-gap: 12px;
  }

  .c-rec-schedule dt {
    font-size: 15px;
  }

  .c-rec-table__heading {
    margin-top: 44px;
    font-size: 20px;
  }

  .c-rec-table {
    margin-top: 16px;
  }

  .c-rec-table__row {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .c-rec-table dt {
    font-size: 14px;
  }

  .c-rec-table dd {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.03em;
  }

  .c-rec-job__apply {
    margin-top: 36px;
  }

  .c-rec-job__apply-text {
    font-size: 15px;
  }

  .c-rec-job__apply .c-rec-job__btn {
    margin-top: 16px;
  }
}
