@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  --color-navy: #003d84;
  --color-navy-dark: #002d63;
  --slant-height: 150px;
  --slant-gap: 48px;
  --color-yellow: #f5c400;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-gray: #666666;
  --color-gray-light: #f5f5f5;
  --color-border: #dddddd;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Roboto", "Arial", sans-serif;

  --inner-width: 1200px;
  --sp-gutter: 20px;
  --header-height: 80px;
  --header-float-top: 24px;
  --header-float-gutter: 40px;
  --header-bar-height: 72px;
  --header-bar-radius: 6px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.page {
  overflow-x: hidden;
}

.main {
  padding-top: var(--header-height);
}

.page--has-hero .main {
  padding-top: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--inner-width);
  height: 100%;
  margin-inline: auto;
  padding: 0 40px;
}

.header__logo {
  flex-shrink: 0;
}

.header__right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header__nav {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
}

.header__entry {
  flex-shrink: 0;
}

/* MV上に浮かせるヘッダー（page--has-hero とセットで使用） */
.header--floating {
  top: var(--header-float-top);
  left: 50%;
  right: auto;
  width: min(var(--inner-width), calc(100% - (var(--header-float-gutter) * 2)));
  max-width: var(--inner-width);
  height: auto;
  background-color: transparent;
  box-shadow: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.header--floating .header__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  min-height: var(--header-bar-height);
  height: auto;
  margin-inline: 0;
  padding: 12px 32px;
  background-color: var(--color-white);
  border-radius: var(--header-bar-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.header__logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo-image {
  display: block;
  width: auto;
  height: 40px;
}

.header__logo-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav__list {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 40px;
  width: auto;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.nav__link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Button
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

.btn--entry {
  min-width: 140px;
  height: 48px;
  padding: 0 24px;
  color: var(--color-black);
  font-size: 14px;
  background-color: var(--color-yellow);
  border-radius: 4px;
}

.btn--primary {
  justify-content: space-between;
  min-width: 200px;
  height: 56px;
  padding: 0 8px 0 28px;
  color: var(--color-white);
  font-size: 14px;
  background-color: var(--color-navy);
  border-radius: 4px;
}

.btn--primary .btn__icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border-radius: 4px;
}

.btn--primary .btn__icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-left: -2px;
  border-top: 2px solid var(--color-navy);
  border-right: 2px solid var(--color-navy);
  transform: rotate(45deg);
}

.btn--white {
  justify-content: space-between;
  min-width: 280px;
  height: 64px;
  padding: 0 8px 0 28px;
  color: #004295;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background-color: var(--color-white);
  border-radius: 4px;
}

.btn--white .btn__icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #004295;
  border-radius: 4px;
}

.btn--white .btn__icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-left: -2px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
}

/* ==========================================================================
   Section Heading
   ========================================================================== */

.section-heading__en {
  margin-bottom: 16px;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}

.section-heading__ja {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: 0.08em;
  text-align: center;
}

.section-heading__ja::first-letter {
  color: #c99400;
}

.page-hero__inner .section-heading__en {
  text-align: left;
}

.page-hero__inner .section-heading__ja {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
  text-align: left;
}

.page-hero__inner .section-heading__ja::first-letter {
  color: inherit;
}

.section-heading__icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: auto;
}

.section-heading--light .section-heading__en,
.section-heading--light .section-heading__ja {
  color: var(--color-white);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
}

.page--has-hero .hero {
  min-height: 100vh;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  max-width: var(--inner-width);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 60px 40px;
}

.page--has-hero .hero__inner {
  min-height: 100vh;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(28px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Message
   ========================================================================== */

.message {
  padding: 100px 0 120px;
  background-color: var(--color-white);
}

.message__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.message__catch {
  margin-top: 48px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.message__body {
  margin-top: 40px;
  color: var(--color-black);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.4;
  letter-spacing: 0.04em;
}

.message__figure {
  margin: 0;
}

.message__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Personality
   ========================================================================== */

.personality {
  position: relative;
  margin-bottom: calc(var(--slant-height) * -1);
  padding: var(--slant-height) 0 calc(120px + var(--slant-height));
  background-color: var(--color-navy);
  clip-path: polygon(
    0 calc(var(--slant-height) - var(--slant-gap)),
    100% 0,
    100% calc(100% - var(--slant-height)),
    0 100%
  );
}

.personality__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.personality__header {
  margin-bottom: 60px;
}

.personality__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.personality__item {
  display: flex;
}

.personality-card {
  flex: 1;
  width: 100%;
  padding: 40px 20px;
  background-color: var(--color-white);
}

.personality-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  background-color: var(--color-yellow);
  border-radius: 50%;
}

.personality-card__title {
  margin-bottom: 16px;
  color: #004295;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.personality-card__text {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================================================
   About Job
   ========================================================================== */

.about-job {
  padding: 180px 0 120px;
  background-color: var(--color-white);
}

.about-job__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.about-job__figure {
  margin: 0;
}

.about-job__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-job__catch {
  margin-top: 40px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.about-job__body {
  margin-top: 32px;
  color: var(--color-gray);
  font-size: 15px;
  line-height: 2;
}

.about-job__action {
  margin-top: 40px;
}

/* ==========================================================================
   Workstyle
   ========================================================================== */

.workstyle {
  padding: 120px 0;
  background-color: var(--color-white);
}

.workstyle__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.workstyle__content {
  order: 1;
}

.workstyle__media {
  order: 2;
}

.workstyle__figure {
  margin: 0;
}

.workstyle__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.workstyle__catch {
  margin-top: 40px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.workstyle__body {
  margin-top: 32px;
  color: var(--color-gray);
  font-size: 15px;
  line-height: 2;
}

.workstyle__action {
  margin-top: 40px;
}

/* ==========================================================================
   Entry Area
   ========================================================================== */

.entry-area__media {
  width: 100%;
}

.entry-area__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 400;
  object-fit: cover;
}

.entry-area__body {
  padding: 100px 0 120px;
  background-color: var(--color-navy);
}

.entry-area__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.entry-area__title {
  color: var(--color-yellow);
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.entry-area__catch {
  margin-top: 32px;
  color: var(--color-white);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.entry-area__lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 2;
}

.entry-area__actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 60px 0 40px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer__logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__logo-image {
  display: block;
  width: auto;
  height: 64px;
}

.footer__logo-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer__pagetop-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.footer__pagetop-link:hover {
  opacity: 0.7;
}

.footer__pagetop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-white);
  border: 2px solid #004295;
  border-radius: 4px;
}

.footer__pagetop-icon::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-top: 2px solid #004295;
  border-left: 2px solid #004295;
  transform: rotate(45deg);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.footer__corp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: opacity 0.3s;
}

.footer__corp-link:hover {
  opacity: 0.7;
}

.footer__corp-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--color-navy);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-6h-2v6H5V5z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.footer__copyright-text {
  color: var(--color-gray);
  font-size: 12px;
}

/* ==========================================================================
   PC-only utilities（PC表示への影響なし）
   ========================================================================== */

.nav__arrow {
  display: none;
}

.nav__item--sp-only {
  display: none;
}

@media (min-width: 768px) {
  .nav__item.nav__item--sp-only,
  body.page-recruit .nav__item.nav__item--sp-only {
    display: none;
  }
}

.header__menu-btn {
  display: none;
}

.hero__title-text--sp {
  display: none;
}

/* ==========================================================================
   Smartphone（767px以下）— PCスタイルは変更しない
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --header-sp-float-top: 12px;
    --header-sp-float-gutter: 12px;
    --header-sp-bar-height: 52px;
    --header-sp-height: calc(var(--header-sp-float-top) + var(--header-sp-bar-height));
    --sp-gutter: 20px;
    --slant-height: 60px;
    --slant-gap: 20px;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 98;
    background-color: #004295;
  }

  body.is-nav-open .header {
    z-index: 101;
  }

  /* Header（MV上に浮かせる） */
  .header--floating {
    top: var(--header-sp-float-top);
    left: 50%;
    right: auto;
    width: calc(100% - (var(--header-sp-float-gutter) * 2));
    max-width: none;
    transform: translateX(-50%);
  }

  .header--floating .header__inner {
    position: relative;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-height: var(--header-sp-bar-height);
    padding: 6px 6px 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
  }

  .header__right {
    display: contents;
  }

  .header__logo {
    flex-shrink: 0;
    z-index: 1;
  }

  .header__logo-link {
    display: block;
    gap: 0;
  }

  .header__logo-image {
    height: 30px;
  }

  .header__logo-label {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
  }

  .header__entry {
    display: none;
  }

  .header__menu-btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: #004295;
    cursor: pointer;
  }

  .header__menu-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--color-white);
    box-shadow: 0 -5px 0 var(--color-white), 0 5px 0 var(--color-white);
    transition: background-color 0.3s, box-shadow 0.3s;
  }

  body.is-nav-open .header__menu-icon {
    background-color: transparent;
    box-shadow: none;
  }

  body.is-nav-open .header__menu-icon::before,
  body.is-nav-open .header__menu-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 2px;
    background-color: var(--color-white);
  }

  body.is-nav-open .header__menu-icon::before {
    transform: rotate(45deg);
  }

  body.is-nav-open .header__menu-icon::after {
    transform: rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    top: calc(var(--header-sp-height) + 8px);
    left: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - var(--header-sp-height) - 8px);
    height: calc(100dvh - var(--header-sp-height) - 8px);
    padding: 0 var(--sp-gutter) 48px;
    background-color: transparent;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
  }

  body.is-nav-open .header__nav {
    visibility: visible;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(235, 185, 77, 0.6);
  }

  .nav__item {
    border-bottom: 1px solid rgba(235, 185, 77, 0.6);
  }

  .nav__item--sp-only {
    display: block;
  }

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  .nav__arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 4px;
  }

  .nav__arrow::before {
    content: "";
    display: block;
    width: 14px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M0 4h7.5' stroke='%23004295' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M5.5 1.5L11 4l-5.5 2.5' stroke='%23004295' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .page--has-hero .hero {
    min-height: 100svh;
  }

  .hero__inner {
    min-height: 100svh;
    padding: 0 var(--sp-gutter) 48px;
  }

  .page--has-hero .hero__inner {
    min-height: 100svh;
  }

  .hero__title-text--pc {
    display: none;
  }

  .hero__title-text--sp {
    display: block;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.65;
    letter-spacing: 0.1em;
  }

  /* Section Heading */
  .section-heading__en {
    margin-bottom: 12px;
    font-size: 40px;
    letter-spacing: 0.06em;
  }

  .section-heading__ja {
    gap: 1em;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  /* Message */
  .message {
    padding: 56px 0 64px;
  }

  .message__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 var(--sp-gutter);
  }

  .message__content {
    order: 1;
  }

  .message__visual {
    order: 2;
  }

  .message__catch {
    margin-top: 32px;
    font-size: 22px;
    line-height: 1.65;
    letter-spacing: 0.05em;
  }

  .message__body {
    margin-top: 24px;
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0.03em;
  }

  /* Personality */
  .personality {
    margin-bottom: calc(var(--slant-height) * -1);
    padding: var(--slant-height) 0 calc(64px + var(--slant-height));
    clip-path: polygon(
      0 calc(var(--slant-height) - var(--slant-gap)),
      100% 0,
      100% calc(100% - var(--slant-height)),
      0 100%
    );
  }

  .personality__inner {
    padding: 0 var(--sp-gutter);
  }

  .personality__header {
    margin-bottom: 32px;
  }

  .personality__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .personality-card {
    padding: 32px 24px;
  }

  .personality-card__number {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .personality-card__title {
    font-size: 16px;
    line-height: 1.65;
  }

  .personality-card__text {
    font-size: 13px;
    line-height: 1.85;
  }

  /* About Job */
  .about-job {
    padding: calc(64px + var(--slant-height)) 0 64px;
  }

  .about-job__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 var(--sp-gutter);
  }

  .about-job__media {
    order: 1;
  }

  .about-job__content {
    order: 2;
  }

  .about-job__image {
    aspect-ratio: 16 / 10;
  }

  .about-job__catch {
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.65;
  }

  .about-job__body {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
  }

  .about-job__action {
    margin-top: 28px;
  }

  .about-job__action .btn--primary {
    width: 100%;
    min-width: 0;
  }

  /* Workstyle */
  .workstyle {
    padding: 64px 0;
  }

  .workstyle__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 var(--sp-gutter);
  }

  .workstyle__content {
    order: 2;
  }

  .workstyle__media {
    order: 1;
  }

  .workstyle__image {
    aspect-ratio: 16 / 10;
  }

  .workstyle__catch {
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.65;
  }

  .workstyle__body {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
  }

  .workstyle__action {
    margin-top: 28px;
  }

  .workstyle__action .btn--primary {
    width: 100%;
    min-width: 0;
  }

  /* Entry Area */
  .entry-area__image {
    aspect-ratio: 16 / 9;
  }

  .entry-area__body {
    padding: 48px 0 64px;
  }

  .entry-area__inner {
    padding: 0 var(--sp-gutter);
  }

  .entry-area__title {
    font-size: 48px;
    letter-spacing: 0.12em;
  }

  .entry-area__catch {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.75;
  }

  .entry-area__lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .entry-area__actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .entry-area__action-item {
    width: 100%;
  }

  .entry-area__action-item .btn--white {
    width: 100%;
    min-width: 0;
    height: 56px;
    font-size: 15px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 32px;
  }

  .footer__inner {
    padding: 0 var(--sp-gutter);
  }

  .footer__top {
    position: relative;
    justify-content: center;
    padding-bottom: 32px;
  }

  .footer__logo-link {
    align-items: center;
  }

  .footer__logo-image {
    height: 56px;
  }

  .footer__logo-label {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .footer__pagetop {
    position: absolute;
    top: 50%;
    right: 0;
    margin: 0;
    transform: translateY(-50%);
  }

  .footer__pagetop-icon {
    width: 48px;
    height: 48px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 0;
    text-align: center;
  }

  .footer__corp-link {
    font-size: 13px;
  }

  .footer__copyright-text {
    font-size: 11px;
    line-height: 1.6;
  }

  /* Job page */
  .page-hero {
    min-height: 280px;
  }

  .page-hero__inner {
    min-height: 280px;
    padding: 40px var(--sp-gutter) calc(40px + var(--slant-height));
  }

  .breadcrumb {
    padding: 48px var(--sp-gutter) 0;
  }

  .breadcrumb__list {
    justify-content: flex-start;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .job-intro {
    padding: 48px 0 64px;
  }

  .job-intro__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 var(--sp-gutter);
  }

  .job-intro__media {
    order: 1;
  }

  .job-intro__content {
    order: 2;
  }

  .job-intro__figure {
    margin-left: 0;
    width: 100%;
  }

  .job-intro__image {
    aspect-ratio: 16 / 10;
  }

  .job-intro__title {
    font-size: 20px;
    line-height: 1.65;
    letter-spacing: 0.05em;
  }

  .job-intro__body {
    margin-top: 24px;
    font-size: 14px;
    line-height: 2;
  }

  .job-content {
    padding: 0 0 64px;
  }

  .job-content__inner {
    padding: 0 var(--sp-gutter);
  }

  .job-content__header {
    margin-bottom: 40px;
  }

  .job-content__title-lead {
    font-size: 15px;
  }

  .job-content__title-main {
    font-size: 26px;
  }

  .job-content__list {
    gap: 56px;
  }

  .job-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .job-block__content {
    order: 1;
    min-width: 0;
  }

  .job-block__media {
    order: 2;
    gap: 16px;
  }

  .job-block__heading {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .job-block__number {
    font-size: 40px;
  }

  .job-block__category {
    margin-bottom: 0;
    font-size: 15px;
  }

  .job-block__title {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.65;
  }

  .job-block__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2;
  }

  .job-block__detail {
    margin-top: 24px;
    padding: 20px 20px;
  }

  .job-block__detail-title {
    font-size: 14px;
  }

  .job-block__detail-item {
    font-size: 13px;
    line-height: 1.85;
  }

  .job-block__image {
    aspect-ratio: 16 / 10;
  }

  .entry-cta {
    padding: 56px 0 64px;
  }

  .entry-cta__inner {
    padding: 0 var(--sp-gutter);
  }

  .entry-cta__title {
    font-size: 48px;
    letter-spacing: 0.12em;
  }

  .entry-cta__catch {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.75;
  }

  .entry-cta__lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .entry-cta__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 32px;
  }

  .entry-cta__action-item {
    width: 100%;
  }

  .entry-cta__actions .btn--white {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 56px;
    font-size: 15px;
  }

  /* Environment page */
  .env-numbers {
    padding: 48px 0 64px;
  }

  .env-number-card {
    min-height: 0;
    padding: 18px 16px 14px;
  }

  .env-number-card__label {
    font-size: 13px;
  }

  .env-number-card__amount {
    margin: 12px 0;
  }

  .env-number-card__value {
    font-size: 40px;
  }

  .env-number-card__unit {
    font-size: 14px;
  }

  .env-number-card__unit--long {
    font-size: 12px;
  }

  .env-numbers__photos {
    margin-top: 24px;
  }

  .env-welfare {
    padding: 48px 0 64px;
  }

  .env-intro {
    margin-top: 32px;
  }

  .env-intro__catch {
    font-size: 18px;
    line-height: 1.65;
  }

  .env-intro__body {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .env-welfare__grid {
    margin-top: 32px;
  }

  .env-welfare-card {
    min-height: 0;
    padding: 28px 20px;
  }

  .env-activities {
    padding: 0 0 64px;
  }

  .env-activities__grid {
    gap: 40px;
    margin-top: 32px;
  }

  .env-activity-card__title {
    font-size: 17px;
  }

  .env-activity-card__text {
    font-size: 14px;
    line-height: 1.9;
  }

  /* Requirements page */
  .req-content {
    padding: 48px 0 64px;
  }

  .req-panel__title {
    margin: 32px 0 24px;
    font-size: 20px;
  }

  .req-panel__action {
    margin-top: 32px;
  }

  .req-panel__action .btn--primary {
    width: 100%;
    min-width: 0;
  }

  /* Entry form page */
  .entry-form-content {
    padding: 48px 0 64px;
  }

  .entry-form-content__title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .entry-form-content__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .entry-form__row {
    gap: 10px;
    padding: 20px 0;
  }

  .entry-form__label {
    font-size: 14px;
  }

  .entry-form__name-group {
    gap: 10px;
  }

  .entry-form__birth-group {
    gap: 4px;
  }

  .entry-form__birth-group .wpcf7-form-control-wrap.birth-year {
    flex-basis: 4.2em;
    width: 4.2em;
    max-width: 4.2em;
  }

  .entry-form__birth-group .wpcf7-form-control-wrap.birth-month,
  .entry-form__birth-group .wpcf7-form-control-wrap.birth-day {
    flex-basis: 2.5em;
    width: 2.5em;
    max-width: 2.5em;
  }

  .entry-form__birth-group .entry-form__input--birth-num,
  .entry-form__birth-group .wpcf7 input.entry-form__input--birth-num {
    padding: 8px 1px;
    font-size: 13px;
  }

  .entry-form__birth-unit {
    font-size: 13px;
  }

  .entry-form__textarea {
    min-height: 160px;
  }

  .entry-privacy {
    margin-top: 48px;
  }

  .entry-privacy__title {
    font-size: 18px;
  }

  .entry-privacy__body {
    max-height: 200px;
    padding: 20px;
    font-size: 13px;
  }
}

/* ==========================================================================
   WordPress theme isolation
   ========================================================================== */

body.page-recruit {
  font-family: var(--font-base);
  line-height: 1.8;
  font-size: 16px;
}

body.page-recruit .header,
body.page-recruit .footer {
  float: none;
}

body.page-recruit .footer {
  background-color: #ffffff !important;
  color: var(--color-black) !important;
}

body.page-recruit .footer a {
  color: inherit;
}

body.page-recruit .footer__copyright-text {
  color: var(--color-gray) !important;
}

@media (min-width: 768px) {
  body.page-recruit .header--floating {
    left: 50%;
    right: auto;
    width: min(var(--inner-width), calc(100% - (var(--header-float-gutter) * 2)));
    max-width: var(--inner-width);
    transform: translateX(-50%);
  }

  body.page-recruit .header--floating .header__inner {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  body.page-recruit .header__right {
    flex-shrink: 0;
    width: auto;
    max-width: none;
  }

  body.page-recruit .header__nav {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    width: auto;
    max-width: none;
  }

  body.page-recruit .header__nav::before,
  body.page-recruit .header__nav::after {
    display: none;
  }

  body.page-recruit .nav__list {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.page-recruit .nav__item {
    float: none;
    display: block;
    width: auto;
  }

  body.page-recruit .nav__item.nav__item--sp-only {
    display: none;
  }

  body.page-recruit .nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background-color: transparent;
  }

  body.page-recruit .nav__link:hover,
  body.page-recruit .nav__link:focus {
    background-color: transparent;
  }

  body.page-recruit .nav__link--current {
    opacity: 0.7;
  }
}

/* --------------------------------------------------------------------------
   Page Hero（下層ページ共通）
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: 480px;
  margin-bottom: calc(var(--slant-height) * -1);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--slant-height)),
    0 100%
  );
}

.page--has-hero .page-hero {
  margin-top: 0;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 45, 99, 0.35) 0%,
    rgba(0, 45, 99, 0.65) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  max-width: var(--inner-width);
  min-height: 480px;
  margin: 0 auto;
  padding: 200px 40px calc(10px + var(--slant-height));
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  position: relative;
  z-index: 1;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 56px 40px 0;
}

.breadcrumb__list {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  color: var(--color-gray);
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
}

.breadcrumb__link {
  transition: opacity 0.3s;
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Job Intro
   -------------------------------------------------------------------------- */

.job-intro {
  padding: 48px 0 64px;
}

.job-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.job-intro__media {
  min-width: 0;
}

.job-intro__figure {
  margin: 0;
}

@media (min-width: 768px) {
  .job-intro {
    padding: 140px 0 120px;
  }

  .job-intro__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 0 40px;
  }

  .job-intro__media {
    overflow: visible;
  }

  .job-intro__figure {
    margin-left: calc(-1 * (max(0px, (100vw - var(--inner-width)) / 2) + 40px));
    width: calc(100% + max(0px, (100vw - var(--inner-width)) / 2) + 40px);
  }
}

.job-intro__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 8;
  object-fit: cover;
}

.job-intro__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.job-intro__body {
  margin-top: 40px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.04em;
}

.job-intro__body p + p {
  margin-top: 1.5em;
}

/* --------------------------------------------------------------------------
   Job Content
   -------------------------------------------------------------------------- */

.job-content {
  padding: 0 0 64px;
}

.job-content__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.job-content__header {
  margin-bottom: 40px;
  text-align: center;
}

.job-content__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.job-content__title-lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.job-content__title-main {
  display: inline-block;
  color: #004295;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.job-content__title-main::first-letter {
  color: #c99400;
}

.job-content__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.job-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .job-content {
    padding: 0 0 120px;
  }

  .job-content__inner {
    padding: 0 40px;
  }

  .job-content__header {
    margin-bottom: 80px;
  }

  .job-content__list {
    gap: 100px;
  }

  .job-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.job-block__heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.job-block__number {
  margin: 0;
  color: #004295;
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.job-block__category {
  margin: 0 0 0.15em;
  color: var(--color-black);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.job-block__title {
  margin-top: 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.job-block__text {
  margin-top: 24px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.job-block__detail {
  margin-top: 32px;
  padding: 0 25px 28px;
  background-color: #f0f6fc;
  border: 1px solid #c5d9f0;
  border-radius: 4px;
}

.job-block__detail-title {
  color: #004295;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.job-block__detail-list {
  margin-top: 16px;
}

.job-block__detail-item {
  position: relative;
  padding-left: 1.4em;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.job-block__detail-item::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-yellow);
  border-radius: 1px;
}

.job-block__detail-item + .job-block__detail-item {
  margin-top: 4px;
}

.job-block__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-block__figure {
  margin: 0;
}

.job-block__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Entry CTA（下層ページ共通）
   -------------------------------------------------------------------------- */

.entry-cta {
  padding: 56px 0 64px;
  background-color: var(--color-navy);
}

.entry-cta__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
  text-align: center;
}

@media (min-width: 768px) {
  .entry-cta {
    padding: 100px 0 120px;
  }

  .entry-cta__inner {
    padding: 0 40px;
  }
}

.entry-cta__title {
  color: var(--color-yellow);
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.entry-cta__catch {
  margin-top: 32px;
  color: var(--color-white);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.entry-cta__lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 2;
}

.entry-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 32px;
}

.entry-cta__action-item {
  width: 100%;
}

.entry-cta__actions .btn--white {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 56px;
  font-size: 15px;
}

@media (min-width: 768px) {
  .entry-cta__actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
  }

  .entry-cta__action-item {
    width: auto;
  }

  .entry-cta__actions .btn--white {
    width: auto;
    max-width: none;
    min-width: 240px;
    height: 64px;
    font-size: 16px;
  }
}

.recruit-sub {
  padding: 120px 0;
}

.recruit-sub__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Environment page（働く環境）
   ========================================================================== */

.env-numbers {
  padding: 64px 0 80px;
}

.env-numbers__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.env-numbers__heading {
  margin-bottom: 40px;
}

.env-numbers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.env-number-card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 20px 20px 16px;
  background-color: #f0f6fc;
  border: 1px solid #d9e8f6;
  border-radius: 6px;
}

.env-number-card__label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--color-black);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.env-number-card__mark {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: auto;
  margin-top: 0.2em;
}

.env-number-card__amount {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin: 16px 0;
}

.env-number-card__value {
  margin: 0;
  color: #004295;
  font-family: var(--font-en);
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.env-number-card__unit {
  margin: 0 0 0.12em;
  color: var(--color-black);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.env-number-card__unit--long {
  margin-bottom: 0.2em;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.env-number-card__meta {
  margin: 0;
  color: var(--color-gray);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
}

.env-numbers__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.env-numbers__figure {
  margin: 0;
}

.env-numbers__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.env-welfare {
  padding: 64px 0 80px;
  background-color: var(--color-white);
}

.env-welfare__inner,
.env-activities__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.env-intro {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}

.env-intro__catch {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.env-intro__body {
  margin: 20px 0 0;
  color: var(--color-black);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.env-welfare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.env-welfare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 32px 24px;
  text-align: center;
  background-color: #f0f6fc;
  border: 1px solid #d9e8f6;
  border-radius: 4px;
}

.env-welfare-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  background-color: var(--color-white);
  border-radius: 50%;
}

.env-welfare-card__icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.env-welfare-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.env-activities {
  padding: 0 0 80px;
}

.env-activities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

.env-activity-card {
  overflow: hidden;
  background-color: var(--color-white);
}

.env-activity-card__figure {
  margin: 0;
}

.env-activity-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.env-activity-card__body {
  padding: 24px 0 0;
}

.env-activity-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.env-activity-card__text {
  margin: 12px 0 0;
  color: var(--color-black);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .env-numbers {
    padding: 140px 0 100px;
  }

  .env-numbers__inner {
    padding: 0 40px;
  }

  .env-numbers__heading {
    margin-bottom: 48px;
  }

  .env-numbers__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .env-number-card {
    min-height: 180px;
    padding: 24px 24px 18px;
  }

  .env-numbers__photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .env-welfare {
    padding: 100px 0 120px;
  }

  .env-welfare__inner,
  .env-activities__inner {
    padding: 0 40px;
  }

  .env-intro {
    margin-top: 48px;
  }

  .env-intro__body {
    margin-top: 24px;
  }

  .env-welfare__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
  }

  .env-welfare-card {
    min-height: 220px;
    padding: 40px 28px;
  }

  .env-activities {
    padding: 0 0 120px;
  }

  .env-activities__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
    margin-top: 56px;
  }

  .env-activity-card__body {
    padding-top: 28px;
  }

  .env-activity-card__title {
    font-size: 20px;
  }

  .env-activity-card__text {
    margin-top: 16px;
    font-size: 15px;
  }
}

/* ==========================================================================
   Requirements page（募集要項）
   ========================================================================== */

.req-content {
  padding: 64px 0 80px;
}

.req-content__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.req-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.req-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 8px;
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: left;
  background-color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.req-tab:hover {
  opacity: 0.9;
}

.req-tab.is-active {
  color: var(--color-navy);
  background-color: var(--color-white);
}

.req-tab__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.req-tab__line {
  display: block;
}

.req-tab__icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-white);
  border-radius: 4px;
}

.req-tab__icon::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-left: -2px;
  border-top: 2px solid var(--color-navy);
  border-right: 2px solid var(--color-navy);
  transform: rotate(45deg);
}

.req-panel {
  margin-top: 48px;
}

.req-panel[hidden] {
  display: none;
}

.req-panel__title {
  margin: 0 0 40px;
  color: #004295;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}

.req-panel__title::first-letter {
  color: #c99400;
}

.req-detail {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9e8f6;
}

.req-detail__row {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #d9e8f6;
}

.req-detail__term {
  margin: 0;
  color: #004295;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.req-detail__desc {
  margin: 0;
  min-width: 0;
  color: var(--color-black);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.req-panel__action {
  margin-top: 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .req-content {
    padding: 140px 0 120px;
  }

  .req-content__inner {
    padding: 0 40px;
  }

  .req-tabs {
    gap: 24px;
  }

  .req-tab {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 20px 28px;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .req-tab__text {
    display: block;
    width: auto;
  }

  .req-tab__line {
    display: inline;
  }

  .req-tab__icon {
    align-self: auto;
    width: 36px;
    height: 36px;
  }

  .req-tab__icon::before {
    width: 8px;
    height: 8px;
  }

  .req-panel {
    margin-top: 100px;
  }

  .req-panel__title {
    margin-bottom: 48px;
  }

  .req-detail__row {
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 24px 0;
  }

  .req-detail__term {
    font-size: 15px;
    line-height: 1.6;
  }

  .req-detail__desc {
    font-size: 15px;
    line-height: 2;
  }

  .req-panel__action {
    margin-top: 56px;
  }
}

/* ==========================================================================
   Entry form page（エントリーフォーム）
   ========================================================================== */

.entry-form-content {
  padding: 64px 0 80px;
}

.entry-form-content__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.entry-form-content__header {
  margin-bottom: 40px;
  text-align: center;
}

.entry-form-content__title {
  margin: 0 0 20px;
  color: #004295;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.entry-form-content__title::first-letter {
  color: #c99400;
}

.entry-form-content__lead {
  margin: 0;
  color: var(--color-black);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.entry-form__admin-notice {
  padding: 20px;
  color: #664d03;
  font-size: 14px;
  line-height: 1.8;
  background-color: #fff3cd;
  border: 1px solid #ffecb5;
  border-radius: 4px;
}

.entry-form .wpcf7 {
  margin: 0;
}

.entry-form .wpcf7 form {
  margin: 0;
}

.entry-form__fields {
  border-top: 1px solid #d9e8f6;
}

.entry-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid #d9e8f6;
}

.entry-form__label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.entry-form__label {
  flex: 0 1 auto;
  color: #004295;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.entry-form__badge {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.entry-form__badge--required {
  color: var(--color-white);
  background-color: #d32f2f;
}

.entry-form__field {
  min-width: 0;
}

.entry-form .wpcf7-form-control-wrap {
  display: block;
}

.entry-form .wpcf7 input[type="text"]:not(.entry-form__input--birth-num),
.entry-form .wpcf7 input[type="email"],
.entry-form .wpcf7 input[type="tel"],
.entry-form .wpcf7 input[type="number"],
.entry-form .wpcf7 textarea,
.entry-form__input:not(.entry-form__input--birth-num),
.entry-form__textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  color: var(--color-black);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  background-color: #f0f4f8;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s, background-color 0.3s;
}

.entry-form .wpcf7 input:focus,
.entry-form .wpcf7 textarea:focus,
.entry-form__input:focus,
.entry-form__textarea:focus {
  background-color: var(--color-white);
  border-color: #004295;
  outline: none;
}

.entry-form__name-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.entry-form__birth-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 6px;
}

.entry-form__birth-group .wpcf7-form-control-wrap {
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  vertical-align: middle;
}

.entry-form__birth-group .wpcf7-form-control-wrap.birth-year {
  flex: 0 0 4.5em;
  width: 4.5em;
  max-width: 4.5em;
}

.entry-form__birth-group .wpcf7-form-control-wrap.birth-month,
.entry-form__birth-group .wpcf7-form-control-wrap.birth-day {
  flex: 0 0 2.75em;
  width: 2.75em;
  max-width: 2.75em;
}

.entry-form__birth-group .entry-form__input--birth-num,
.entry-form__birth-group .wpcf7 input.entry-form__input--birth-num {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 2px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.entry-form__birth-unit {
  flex: 0 0 auto;
  color: var(--color-black);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.entry-form__textarea {
  min-height: 180px;
  resize: vertical;
}

.entry-form__radio-group .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-form__radio-group .wpcf7-list-item {
  margin: 0;
}

.entry-form__radio-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.entry-form__radio-group input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #004295;
}

.entry-form__consent {
  margin-top: 32px;
}

.entry-form__consent-note {
  margin: 0 0 16px;
  color: var(--color-black);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.entry-form__acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.entry-form__acceptance .wpcf7-list-item {
  margin: 0;
}

.entry-form__acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-black);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.entry-form__acceptance input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #004295;
}

.entry-form__submit-wrap {
  margin-top: 32px;
}

.entry-form__submit {
  max-width: 480px;
  margin: 0 auto;
}

.entry-form__submit-btn,
.entry-form .wpcf7 input.entry-form__submit-btn[type="submit"] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  padding: 0 56px 0 28px;
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background-color: var(--color-navy);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.entry-form__submit-btn:hover,
.entry-form .wpcf7 input.entry-form__submit-btn[type="submit"]:hover {
  opacity: 0.85;
}

.entry-form__submit-btn::after,
.entry-form .wpcf7 input.entry-form__submit-btn[type="submit"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border-radius: 4px;
  transform: translateY(-50%);
  pointer-events: none;
}

.entry-form__submit-btn::before,
.entry-form .wpcf7 input.entry-form__submit-btn[type="submit"]::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 23px;
  z-index: 1;
  width: 8px;
  height: 8px;
  margin-top: -1px;
  border-top: 2px solid var(--color-navy);
  border-right: 2px solid var(--color-navy);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.entry-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #d32f2f;
  font-size: 13px;
}

.entry-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  border-radius: 4px;
}

.entry-form .wpcf7 form.sent .entry-form__fields {
  display: none;
}

.entry-form .wpcf7 form.sent .entry-form__consent,
.entry-form .wpcf7 form.sent .entry-form__submit-wrap {
  display: none;
}

.entry-form__sent {
  margin-top: 40px;
  padding: 32px 24px;
  text-align: center;
  background-color: #f0f4f8;
  border-radius: 4px;
}

.entry-form__sent-title {
  margin: 0 0 12px;
  color: #004295;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.entry-form__sent-text {
  margin: 0;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.entry-privacy {
  margin-top: 64px;
}

.entry-privacy__title {
  margin: 0 0 20px;
  color: #004295;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}

.entry-privacy__body {
  max-height: 240px;
  padding: 24px;
  overflow-y: auto;
  color: var(--color-black);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  background-color: #f0f4f8;
  border-radius: 4px;
}

.entry-privacy__heading {
  margin: 24px 0 8px;
  color: #004295;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.entry-privacy__heading:first-child {
  margin-top: 0;
}

.entry-privacy__body p {
  margin: 0;
}

@media (min-width: 768px) {
  .entry-form-content {
    padding: 80px 0 120px;
  }

  .entry-form-content__inner {
    padding: 0 40px;
  }

  .entry-form-content__header {
    margin-bottom: 48px;
  }

  .entry-form__row {
    grid-template-columns: 220px 1fr;
    gap: 16px 32px;
    align-items: start;
    padding: 28px 0;
  }

  .entry-form__consent {
    margin-top: 40px;
    padding-left: 252px;
  }

  .entry-privacy {
    margin-top: 80px;
  }

  .entry-privacy__body {
    max-height: 280px;
    padding: 32px 40px;
  }
}
