@charset "UTF-8";
/* ======================================================================
   INDEX / 目次（番号で検索すると目的の設定へ移動できます）
   01. デザイン共通設定：色・幅・文字
   02. 基本スタイル・アクセシビリティ
   03. 共通部品：ロゴ・矢印・ボタン・見出し
   04. ヘッダー・ナビゲーション
   05. ヒーロー（写真・斜め装飾）
   06. お知らせ
   07. 事業カード
   08. 会社概要・求人バナー・フッター
   09. タブレット・スマートフォン
   10. 下層ページ共通：パンくず・ページ見出し・一覧・連絡先
   アニメーションはanimation.css・animation.jsで管理。外部ライブラリ・フォントへの依存なし。
   ====================================================================== */
/* 01. デザイン共通設定：全体の色や余白はまずここで変更します。 */
:root {
  --color-ink: #092448;
  --color-navy: #002746;
  --color-accent: #19bad5;
  --color-surface: #edf5f9;
  --color-line: #e2e8ee;
  --color-white: #fff;
  --content-width: 1360px;
  --gutter: clamp(24px, 3.5vw, 64px);
}
/* 02. 基本スタイル・アクセシビリティ */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #007e9a;
  outline-offset: 5px;
}
.container {
  width: min(100% - var(--gutter) * 2, var(--content-width));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: white;
  z-index: 10;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
/* 03. 共通部品：ページ固有のidではなくクラスで見た目を共有します。 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
/* ヘッダー内に上下の余白を確保し、会社名と釣り合う大きさにします。 */
.site-header .brand {
  flex-shrink: 0;
  gap: 10px;
}
.brand-logo {
  width: auto;
  height: 48px;
  max-width: 100%;
  flex-shrink: 0;
}
.brand-wording {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-wordmark {
  color: #0068b7;
  font-size: 36px;
  line-height: 1;
  letter-spacing: .06em;
}
.brand-company {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}
.brand-mark {
  font: 600 44px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 1px;
}
.brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 12px;
  position: relative;
}
.arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  border-top: 1px solid currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 11px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--color-navy);
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 600;
}
.section-title--ruled::before, .eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  letter-spacing: .1em;
}
.section-subtitle::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--color-accent);
}
/* 04. ヘッダー・ナビゲーション */
/* 白背景と薄い境界線で、本文との区切りを控えめに示します。 */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  z-index: 2;
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}
.nav-link {
  padding-block: 12px;
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}
.menu-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  margin-block: 6px;
  background: var(--color-ink);
}
/* 05. ヒーロー：背景は白、写真上のレイヤーだけを薄いグレーにします。 */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: white;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: -3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(221 225 229 / 52%);
}
.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(130deg, white 25%, #f7fcfe 70%);
  clip-path: polygon(0 0, 49% 0, 30.5% 100%, 0 100%);
}
.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 30%, #d6f1fa 30%, #ecf8fd 34%, transparent 34%);
}
.hero-accent {
  position: absolute;
  z-index: -1;
  left: 34%;
  bottom: -2px;
  width: 70px;
  height: 48%;
  background: linear-gradient(90deg, #19b7d1 50%, #45cde1 50%);
  transform: skew(-32deg);
}
.hero-content {
  padding-block: 76px 88px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.35;
  letter-spacing: .045em;
  font-weight: 700;
}
/* 06. お知らせ：記事が増えても日付と本文の列が揃います。 */
.information {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  padding-block: 22px;
}
.information .section-title {
  font-size: 32px;
  gap: 16px;
  border-right: 1px solid #8497aa;
  min-height: 68px;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding-block: 8px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.news-item time {
  font-variant-numeric: tabular-nums;
}
.status-message {
  grid-column: 2;
  font-size: 13px;
}
/* 07. 事業カード：同じクラスを付けると同じ形で再利用できます。 */
.section-surface {
  background: var(--color-surface);
  padding-block: 22px 26px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
}
.service-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:focus-within {
  outline: 3px solid #007e9a;
  outline-offset: 3px;
}
.card-image {
  width: 100%;
  height: clamp(110px, 10vw, 160px);
  object-fit: cover;
}
.card-body {
  position: relative;
  flex: 1;
  padding: 0 42px 14px 22px;
}
.card-number {
  display: block;
  color: #08aeca;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
}
.card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 3em;
  display: flex;
  align-items: end;
}
.card-body > .arrow {
  position: absolute;
  right: 22px;
  bottom: 29px;
  width: 17px;
}
/* 08. 会社概要・求人バナー・フッター */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.feature-card {
  position: relative;
  min-height: 140px;
  padding: 16px var(--gutter) 24px;
}
.feature-card--dark {
  color: white;
  background: var(--color-navy);
}
/* 左側のRecruitは、大きな画面でも本文の左端に揃えます。 */
.feature-grid > :first-child {
  padding-left: max(var(--gutter), calc((100vw - var(--content-width)) / 2));
}
.feature-content {
  position: relative;
  max-width: 300px;
  z-index: 1;
}
.feature-content h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.35;
}
.feature-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #a9b5c2;
  font-size: 15px;
  letter-spacing: .06em;
}
.feature-card--photo {
  background: url("../images/recruit.jpg") right 48% / cover;
}
.feature-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  clip-path: polygon(0 0, 40% 0, 48% 100%, 0 100%);
}
.feature-card--photo .feature-content {
  width: 40%;
  min-width: 170px;
}
.site-footer {
  background: var(--color-navy);
  color: white;
  border-top: 1px solid #aabac7;
}
/* ホームでは末尾のCompanyとフッターを同色で連続させます。 */
body[data-page="home"] .site-footer {
  border-top: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
.site-footer .brand-mark {
  font-size: 34px;
}
/* 09. タブレット・スマートフォン：固定幅にせず画面に合わせて組み替えます。 */
@media (max-width: 1100px) {
  .hero-plane {
    clip-path: polygon(0 0, 65% 0, 44% 100%, 0 100%);
  }
  .hero-accent {
    left: 48%;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0;
  }
  .site-header .brand {
    max-width: calc(100% - 60px);
  }
  .menu-toggle:not([hidden]) {
    display: block;
  }
  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 16px;
  }
/* 開閉メニューはヘッダー直下で本文に重ねます。幅に関係なく縦並びです。
     JSが付ける属性を目印にし、JS無効時の常時表示ナビには適用しません。 */
  .site-nav[data-menu-overlay] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 16px var(--gutter) 20px;
    background: var(--color-white);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 12px 24px rgb(9 36 72 / 12%);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .site-nav[data-menu-overlay] .nav-link {
    padding: 10px 8px;
  }
  .site-nav[data-menu-overlay] .nav-link[aria-current="page"]::after {
    left: 8px;
    right: auto;
    width: 42px;
  }
  .information {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
  .information .section-title {
    font-size: 28px;
  }
  .card-title {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 24px;
  }
  .header-inner {
    min-height: 70px;
    padding-block: 0;
  }
  .site-header .brand {
    gap: 8px;
  }
  .brand-logo {
    width: 180px;
    height: auto;
    max-height: 42px;
  }
  .brand-wordmark {
    font-size: 28px;
  }
  .brand-company {
    font-size: 10px;
  }
  .brand {
    gap: 14px;
  }
  .brand-mark {
    font-size: 36px;
  }
  .brand-name {
    font-size: 10px;
    letter-spacing: 0;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }
  .site-nav[data-menu-overlay] {
    max-height: calc(100dvh - 70px);
  }
  .nav-link {
    padding: 8px;
  }
  .nav-link[aria-current="page"]::after {
    right: auto;
    width: 42px;
    left: 8px;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-content {
    order: 0;
    padding-block: 20px 18px;
  }
  .eyebrow {
    font-size: 14px;
    gap: 16px;
    margin-bottom: 12px;
  }
  .eyebrow::before {
    width: 34px;
  }
  .hero h1 {
    font-size: clamp(25px, 6.75vw, 39px);
    line-height: 1.37;
    letter-spacing: .025em;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    z-index: -1;
    order: 1;
    height: clamp(165px, 49vw, 275px);
  }
  .hero-photo img {
    object-position: center 57%;
  }
  .hero-plane {
    display: none;
  }
  .hero-accent {
    left: auto;
    right: 16px;
    bottom: auto;
    top: 150px;
    width: 24px;
    height: 100px;
    background: #39c8df;
    opacity: .8;
    z-index: 1;
    pointer-events: none;
  }
  .hero-accent::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 120px;
    top: -55px;
    left: -20px;
    background: #d9f3fc;
    z-index: -1;
  }
  .information {
    display: block;
    padding-block: 12px 10px;
  }
  .information .section-title {
    border: 0;
    min-height: 0;
    font-size: 26px;
    gap: 12px;
    margin-bottom: 8px;
  }
  .section-title--ruled::before {
    width: 26px;
  }
  .news-item {
    display: block;
    padding-block: 8px;
    font-size: 12px;
    line-height: 1.5;
  }
  .news-item time {
    display: block;
    font-weight: 600;
  }
  .section-surface {
    padding-block: 14px 18px;
  }
  .section-heading {
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 30px;
    gap: 18px;
  }
  .section-subtitle {
    font-size: 14px;
    gap: 16px;
  }
  .section-subtitle::before {
    height: auto;
    width: auto;
    background: none;
    content: "/";
  }
  .desktop-link {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-image {
    height: clamp(64px, 18vw, 110px);
  }
  .card-body {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    padding: 7px 32px 8px 12px;
  }
  .card-number {
    font-size: 36px;
  }
  .card-title {
    min-height: 0;
    font-size: 12px;
    display: block;
  }
  .card-body > .arrow {
    right: 12px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 92px;
    padding: 12px var(--gutter) 16px;
  }
  .feature-content {
    max-width: none;
  }
  .feature-content h2 {
    font-size: 28px;
  }
  .feature-caption {
    font-size: 12px;
  }
  .feature-card--photo {
    min-height: 100px;
  }
  .feature-card--photo .feature-content {
    width: 42%;
    min-width: 0;
  }
  .feature-card--photo::before {
    clip-path: polygon(0 0, 47% 0, 57% 100%, 0 100%);
  }
  .footer-inner {
    width: calc(100% - 32px);
    min-height: 64px;
    gap: 10px;
  }
  .site-footer .brand {
    gap: 9px;
  }
  .site-footer .brand-mark {
    font-size: 29px;
  }
  .site-footer .brand-name {
    font-size: 8px;
  }
}
/* マウス操作時の基本の色。動き・フェードはanimation.cssで追加します。 */
@media (hover: hover) {
  .text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .button:hover {
    background: #164362;
  }
  .service-card:hover {
    box-shadow: 0 0 0 2px #93d6e2;
  }
}
/* 10. 下層ページ共通：新規ページでも同じクラスで見た目を統一できます。 */
site-header, site-footer, site-contact {
  display: block;
}
.copyright {
  font-size: 12px;
  text-align: right;
}
.contact-section {
  padding-bottom: 52px;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.fallback-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 20px;
}
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  padding-block: 24px 50px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 160%;
  right: 12%;
  top: -30%;
  transform: skew(-32deg);
  background: rgb(25 186 213 / 12%);
  pointer-events: none;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  margin-bottom: 38px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-eyebrow {
  color: #087e97;
  font-size: 16px;
  letter-spacing: .12em;
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  margin-top: 8px;
  letter-spacing: .08em;
}
.page-content {
  max-width: 1100px;
  padding-block: 54px 72px;
}
.content-heading {
  font-size: 26px;
  font-weight: 600;
  border-left: 4px solid var(--color-accent);
  padding-left: 18px;
  margin-bottom: 28px;
}
.detail-list {
  margin: 0;
  border-top: 1px solid var(--color-line);
}
.detail-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-bottom: 1px solid var(--color-line);
}
.detail-row dt {
  font-weight: 600;
  background: #f4f8fa;
  padding: 24px 28px;
}
.detail-row dd {
  margin: 0;
  padding: 24px 30px;
  line-height: 1.9;
}
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  background: var(--color-surface);
  margin-top: 52px;
}
.contact-banner h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.contact-banner p {
  font-size: 14px;
}
.contact-banner .button {
  flex-shrink: 0;
}
.page-lead {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
}
.service-details {
  display: grid;
  gap: 20px;
}
.service-detail {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-line);
  scroll-margin-top: 24px;
}
.service-detail-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  flex: 1;
}
.detail-number {
  color: #079bb5;
  font-size: 36px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-detail h2 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
}
.service-detail img {
  width: 28%;
  height: 180px;
  object-fit: cover;
}
.reading-content {
  max-width: 900px;
  margin-inline: auto;
  line-height: 2;
}
.policy-section + .policy-section {
  margin-top: 36px;
}
.policy-section h3 {
  font-size: 21px;
  margin-bottom: 16px;
}
.policy-list {
  padding-left: 1.7em;
}
.policy-list li {
  padding-left: 10px;
  margin-bottom: 24px;
}
.policy-list li::marker {
  color: #077f96;
  font-weight: 600;
}
.page-cover {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 50%;
  margin-bottom: 42px;
}
.inline-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-panel {
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-accent);
  text-align: center;
  padding: 44px 32px;
}
.contact-label {
  color: #087e97;
  font-size: 12px;
  letter-spacing: .14em;
}
.contact-panel h2 {
  font-size: 28px;
  margin-block: 12px 20px;
}
.contact-panel p {
  line-height: 1.9;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 500;
  border-bottom: 2px solid var(--color-accent);
  margin-block: 28px;
  padding-bottom: 8px;
}
.contact-panel .contact-help {
  font-size: 13px;
  color: #506177;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .page-hero {
    padding-block: 18px 30px;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 12px;
    margin-bottom: 24px;
  }
  .page-eyebrow {
    font-size: 13px;
  }
  .page-content {
    padding-block: 32px 40px;
  }
  .content-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .detail-row {
    grid-template-columns: 1fr;
  }
  .detail-row dt {
    padding: 12px 16px;
    font-size: 14px;
  }
  .detail-row dd {
    padding: 16px;
    font-size: 14px;
  }
  .contact-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    margin-top: 32px;
  }
  .contact-banner h2 {
    font-size: 20px;
  }
  .page-lead {
    font-size: 16px;
  }
  .service-detail {
    flex-direction: column;
  }
  .service-detail-content {
    gap: 16px;
    padding: 20px;
  }
  .detail-number {
    font-size: 28px;
  }
  .service-detail h2 {
    font-size: 16px;
  }
  .service-detail img {
    width: 100%;
    height: 130px;
    min-height: 0;
  }
  .reading-content {
    font-size: 14px;
  }
  .page-cover {
    height: 160px;
    margin-bottom: 28px;
  }
  .contact-panel {
    padding: 30px 16px;
  }
  .contact-panel h2 {
    font-size: 22px;
  }
  .contact-panel p {
    font-size: 14px;
  }
  .email-link {
    gap: 14px;
  }
  .desktop-break {
    display: none;
  }
}
/* 狭い画面ではロゴとコピーライトを縦に並べ、文字のはみ出しを防ぎます。 */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 22px;
  }
  .copyright {
    font-size: 11px;
    text-align: left;
  }
  .contact-section {
    padding-bottom: 32px;
  }
}
