@charset "UTF-8";

/* ========== 0) 変数 / リセット ========== */
:root {
  /* 色管理用の変数 */
  --white-color: #fff;
  --black-color: #001c2b;
  --gray-color: #fafafa;
  --gray-color02: #ccc;
  --gray-color03: #f2f2f2;
  --gray-color04: #707070;
  --primary-color: #023C72;
  --accent-color: #0863B9;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 920px;
  --content-width-lg: 1080px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-page-top: 50;
  --z-index-header: 250;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

:root {
  --surface-color: #fefafa;
  --top-text: #444;
  --top-ghost-en: #f2f5f4;
  --top-outline: rgba(254, 250, 250, 0.72);
}

body {
  color: var(--black-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
}

/* ---------- utility ---------- */

@media screen and (max-width: 699px) {
  .u_sp-dn {
    display: none;
  }
}

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

.u_marker_yellow {
  display: inline;
  padding: 0 0.12em;
  background: linear-gradient(transparent 58%, rgba(255, 230, 0, 0.72) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ========== about ========== */
.about_main {
  padding-top: 70px;
  background-color: var(--surface-color);
  overflow: visible;
}

.about_section {
  padding: 80px 0;
  background-color: var(--surface-color);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/* CSR / 環境: 見出しの三角あしらい（clip-path で要素外まで描画）が欠けないようにする */
.about_section.about_csr,
.about_section.about_env {
  overflow: visible;
}

/* about: セクション間の余白調整（会社情報 → 写真） */
.about_tables {
  padding-bottom: 10px;
}

.about_gallery {
  padding-top: 30px;
}

.about_csr .l_container,
.about_env .l_container {
  position: relative;
  z-index: 1;
}

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

.about_hero {
  position: relative;
  padding: 0 0 120px;
  overflow: hidden;
  background-color: var(--surface-color);
}

.about_hero_bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  margin-left: 0;
  width: min(1311px, 92vw);
  height: 420px;
  background-color: #bfe0ff;
  background-image: none;
  border-radius: 0;
  z-index: 0;
}

.about_hero_bar {
  display: none;
}

.about_hero_bar_text {
  display: none;
}

.about_hero_visual {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: min(92vw, 1108px);
  height: 360px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe6ed 0%, #b8c5d3 100%);
}

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

.about_hero_visual_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about_hero_visual_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(68, 68, 68, 0.3);
}

.about_hero_title {
  position: absolute;
  left: 16px;
  top: 140px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  color: rgba(254, 250, 250, 0.92);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.about_hero_box {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  background-color: rgba(2, 60, 114, 0.86);
  color: #fefafa;
  padding: 28px 0;
}

.about_hero_kicker {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(242, 245, 244, 0.95);
}

.about_hero_heading {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
}

.about_hero_desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(254, 250, 250, 0.9);
}

/* tables */
.about_table_group + .about_table_group {
  margin-top: 48px;
}

.about_tables .l_container {
  max-width: 720px;
}

@media screen and (min-width: 1080px) {
  .about_tables .l_container {
    max-width: calc(var(--content-width) + 32px);
  }
}

.about_table_title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--top-text);
}

.about_table_group:first-of-type .about_table_title {
  display: none;
}

.about_table_title--bar {
  padding: 14px 16px;
  background-color: var(--accent-color);
  color: #fefafa;
  text-align: center;
}

.about_table {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background-color: #fff;
  padding: 2px;
}

.about_row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2px;
  background-color: #fff;
}

.about_th {
  margin: 0;
  padding: 12px 14px;
  background-color: var(--accent-color);
  color: #fefafa;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.about_th_note {
  display: block;
  color: inherit;
  opacity: 0.65;
  font-weight: 400;
}

.about_td {
  margin: 0;
  padding: 12px 14px;
  background-color: var(--gray-color03);
  color: var(--top-text);
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.about_table--vehicles .about_th,
.about_table--vehicles .about_td {
  background-color: var(--gray-color03);
  color: var(--top-text);
  font-weight: 500;
}

.about_table--vehicles .about_td {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about_table--vehicles .about_row {
  grid-template-columns: 1fr 120px;
}

/* gallery */
.about_gallery_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media screen and (min-width: 700px) {
  .about_gallery_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media screen and (max-width: 699px) {
  .about_gallery_img.u_sp-dn {
    display: none;
  }
}

/* csr */
.about_csr_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.about_csr_card {
  background-color: rgba(254, 250, 250, 0.92);
  padding: 18px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about_csr_title {
  margin: 0 0 10px;
  background-color: var(--accent-color);
  color: #fefafa;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.about_csr_text {
  margin: 0;
  color: var(--top-text);
  line-height: 1.8;
  font-size: 14px;
}

/* env */
.about_env_block + .about_env_block {
  margin-top: 24px;
}

.about_env_bar {
  margin: 0;
  background-color: var(--accent-color);
  color: #fefafa;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
}

.about_env_body {
  padding: 16px;
  background-color: rgba(254, 250, 250, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about_env_body p {
  margin: 0;
  color: var(--top-text);
  line-height: 1.8;
  font-size: 14px;
}

.about_env_list {
  margin: 0;
  color: var(--top-text);
  line-height: 1.8;
  font-size: 14px;
}

.about_env_list li + li {
  margin-top: 0.6em;
}

/* about: section heading decoration (match service works on SP) */
@media screen and (max-width: 1079px) {
  .about_csr .top_section_head,
  .about_env .top_section_head {
    /* 見出しあしらい部分だけ、コンテナの左右16px余白を打ち消す */
    width: calc(100% + 32px);
    min-height: 250px;
    overflow: hidden;
    margin: 0 -16px 10px;
  }

  .about_csr .top_section_head::before,
  .about_env .top_section_head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: url("../img/try.png") center / cover no-repeat;
    z-index: 0;
  }

  .about_csr .top_section_head_en,
  .about_env .top_section_head_en {
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    font-size: 64px;
    color: #527faa;
    z-index: 1;
  }

  .about_csr .top_section_head_ja,
  .about_env .top_section_head_ja {
    padding: 0;
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #fefafa;
    z-index: 2;
  }

  .about_csr .top_section_head_accent,
  .about_env .top_section_head_accent {
    color: inherit;
  }
}

/* ========== about PC対応 ========== */
@media screen and (min-width: 1080px) {
  .about_csr .top_section_head,
  .about_env .top_section_head {
    position: relative;
    overflow: visible;
    min-height: 220px;
    margin-bottom: 64px;
    z-index: 1;
  }

  /* CSR / 環境: 三角は見出しではなく .l_container に付与 */
  .about_csr .top_section_head::before,
  .about_env .top_section_head::before {
    content: none;
  }

  .about_csr .l_container::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    width: 520px;
    height: 400px;
    background-color: var(--primary-color);
    clip-path: polygon(0 0, 0 94%, 94% 0);
    z-index: 0;
    pointer-events: none;
  }

  .about_env .l_container::before {
    content: "";
    position: absolute;
    right: -40px;
    left: auto;
    top: 0;
    width: 520px;
    height: 400px;
    background-color: var(--primary-color);
    clip-path: polygon(100% 0, 100% 94%, 6% 0);
    z-index: 0;
    pointer-events: none;
  }

  .about_env .about_env_block {
    position: relative;
    z-index: 1;
  }

  .about_csr .top_section_head_en,
  .about_env .top_section_head_en {
    left: 50%;
    top: 64px;
    transform: translateX(-50%);
    font-size: 96px;
    color: rgba(82, 127, 170, 0.14);
    z-index: 1;
  }

  .about_csr .top_section_head_ja,
  .about_env .top_section_head_ja {
    padding: 0;
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
    color: var(--top-text);
    z-index: 2;
  }

  .about_csr .top_section_head_accent,
  .about_env .top_section_head_accent {
    color: var(--accent-color);
  }

  .about_hero {
    padding: 0;
    min-height: 820px;
  }

  .about_hero_bg {
    width: 1311px;
    height: 649px;
  }

  .about_hero_visual {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    width: min(1108px, calc(100% - 333px));
    height: 518px;
    margin-left: 0;
    border-radius: 0;
  }

  .about_hero_title {
    left: 238px;
    top: 225px;
    transform: translateX(-50%);
    font-size: 100px;
  }

  .about_hero_box {
    position: absolute;
    left: 0;
    top: 364px;
    width: 959px;
    height: 285px;
    margin-top: 0;
    padding: 24px 0;
  }

  .about_hero_box .l_container {
    padding-left: 45px;
    padding-right: 45px;
  }

  .about_hero_kicker {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 37px;
  }

  .about_hero_heading {
    font-size: 40px;
  }

  .about_hero_desc {
    font-size: 16px;
    max-width: 720px;
    line-height: 1.5;
  }

  .about_row {
    grid-template-columns: 370px 1fr;
  }

  .about_table--vehicles .about_row {
    grid-template-columns: 1fr 300px;
  }

  .about_th,
  .about_td {
    text-align: center;
    font-size: 16px;
  }

  .about_gallery_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about_csr_grid {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about_csr_title {
    font-size: 20px;
  }

  .about_csr_text,
  .about_env_body p,
  .about_env_list {
    font-size: 16px;
  }
}

/* ---------- layout ---------- */
.l_container-sm,
.l_container-lg,
.l_container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents {
  padding: 120px 0;
}

.l_header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  width: 100%;
  height: 70px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .l_header {
    padding: 0 56px;
  }
}

.l_header-logo {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  color: var(--white-color);
  letter-spacing: -0.03em;
  z-index: 250;
}
.l_header-logo_link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
}

.l_header-logo_img {
  width: 40px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.l_header-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    opacity: 1;
    position: static;
    background: transparent;
  }
}

.l_header-nav_inner {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 80px 0 24px;
  box-sizing: border-box;
}

.l_header-nav_list {
  display: flex;
  gap: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  width: 100%;
}

.l_header-nav_item {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 16px;
  border-bottom: 1px solid var(--white-color);
}

.l_header-nav_link {
  display: block;
  padding: 20px 0 5px;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_inner {
    min-height: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .l_header-nav_list {
    flex-direction: row;
    gap: 30px;
    flex: none;
    height: auto;
    width: auto;
    align-items: center;
    justify-content: flex-start;
  }

  .l_header-nav_item {
    margin: 0;
    border: none;
    font-weight: inherit;
  }

  .l_header-nav_link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    text-align: left;
  }
}

/*---------- module ----------*/
/* スマホ・タブレットの全画面メニュー内：お問い合わせ */
.m_nav-contact {
  margin: 24px 50px 0;
  padding: 20px 16px 24px;
  background: #fffffff0;
  text-align: center;
}

.m_nav-contact_title {
  margin: 0 0 16px;
  color: var(--gray-color04);
  font-size: 15px;
  font-weight: 700;
}

.m_nav-contact_row + .m_nav-contact_row {
  margin-top: 20px;
}

.m_nav-contact_label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--white-color);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.m_nav-contact_tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.m_nav-contact_icon {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.m_nav-contact_hours {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 700;
}

@media screen and (min-width: 1080px) {
  .m_nav-contact {
    display: none;
  }
}


.m_opening {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: #111;
  display: flex;
}

.m_opening_txt {
  text-align: center;
  margin: auto;
}

.m_opening_heading {
  color: var(--white-color);
  font-size: 40px;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .m_opening_heading {
    font-size: 56px;
  }
}

.m_opening_desc {
  color: var(--white-color);
  font-weight: bold;
  font-size: 16px;
  margin-top: 16px;
}

.m_hamburger {
  display: block;
  width: 37px;
  height: 20px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
}

@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  background: var(--white-color);
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}


/* ---------- layout main ---------- */
.l_main {
  padding-top: 0;
}

/* ---------- top_fv（KV・アニメは .js_fv-left / .js_fv-right にフック） ---------- */
.top_fv {
  width: 100%;
  min-height: 744px;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.top_fv_inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  box-sizing: border-box;
}

.top_fv_visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.top_fv_photo {
  position: absolute;
  overflow: hidden;
}

.top_fv_photo_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: auto;
}

.top_fv_deco_en {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  line-height: 1.1;
}

.top_fv_deco_line {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--top-outline);
  text-shadow: 0 1px 0 rgb(0 0 0 / 15%);
}

.top_fv_deco_line--1 {
  left: 50%;
  transform: translateX(-50%);
  top: 80px;
  font-size: clamp(28px, 12vw, 48px);
  white-space: nowrap;
}

.top_fv_deco_line--2 {
  left: 50%;
  transform: translateX(-50%);
  top: 665px;
  font-size: clamp(22px, 8vw, 40px);
  white-space: nowrap;
}

.top_fv_catch {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 317px;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 12px;
  text-align: center;
  color: #fefafa;
  font-weight: 700;
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.5;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
}

.top_fv_catch_line {
  margin: 0;
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.top_fv_catch_line + .top_fv_catch_line {
  margin-top: 0.35em;
}

@media screen and (max-width: 1079px) {
  .top_fv_photo--primary {
    left: 0;
    right: 0;
    top: 70px;
    height: 329px;
  }

  .top_fv_photo--secondary {
    left: 0;
    right: 0;
    top: 331px;
    height: 413px;
  }
}

@media screen and (min-width: 1080px) {
  .top_fv {
    min-height: min(744px, 92vh);
  }

  .top_fv_photo--primary {
    left: 0;
    top: 0;
    width: 58%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  }

  .top_fv_photo--secondary {
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  }

  .top_fv_deco_line--1 {
    right: -48%;
    transform: translateX(-50%);
    top: 7%;
    font-size: clamp(56px, 10vw, 150px);
  }

  .top_fv_deco_line--2 {
    left: auto;
    right: 1%;
    top: auto;
    bottom: 1%;
    transform: none;
    font-size: clamp(48px, 8vw, 150px);
  }

  .top_fv_catch {
    top: 56%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    line-height: 1.45;
    max-width: 92%;
    white-space: nowrap;
  }

  .top_fv_catch_line {
    display: inline;
  }

  .top_fv_catch_line + .top_fv_catch_line {
    margin-top: 0;
  }
}

/* ---------- top セクション共通 ---------- */
.top_section {
  background-color: var(--surface-color);
  padding: 120px 0 80px;
  overflow: hidden;
}

.top_section_inner {
  position: relative;
}

.top_section_head {
  position: relative;
  text-align: center;
  min-height: 56px;
}

.top_section_head_en {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  margin: 0;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.2;
  color: var(--top-ghost-en);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.top_section_head_en--services {
  font-size: 64px;
}

.top_section_head_ja {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 50px 0 80px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--top-text);
}

.top_section_head_accent {
  color: var(--accent-color);
}

/* 斜めアクセント（仮デザイン／画像差し替え後も流用可） */
.top_skew {
  position: absolute;
  width: min(78vw, 300px);
  height: 270px;
  background-color: var(--primary-color);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  z-index: 0;
  opacity: 0.98;
}

.top_skew--section-title {
  left: -24px;
  top: -20px;
}

.top_skew--section-title-right {
  left: auto;
  right: -36px;
  top: -20px;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.about_section_head .top_section_head_en {
  z-index: 1;
}

.about_section_head .top_section_head_ja {
  z-index: 2;
}

@media screen and (max-width: 1079px) {
  .about_section_head .top_section_head_en {
    font-size: 39px;
  }
}

.top_skew--about {
  left: -36px;
  top: -20px;
}

.top_skew--recruit {
  left: -24px;
  top: -20px;
}

.top_skew--services {
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  right: -36px;
  top: -20px;
}

/* プレースホルダー画像 */
.top_ph {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(145deg, #dfe6ed 0%, #b8c5d3 100%);
  border-radius: 2px;
}

.top_ph--about,
.top_ph--recruit,
.top_ph--services {
  aspect-ratio: 16 / 9;
  max-height: 220px;
}

.top_about_frame,
.top_services_frame,
.top_recruit_frame {
  position: relative;
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.top_about_figure,
.top_services_figure,
.top_recruit_figure {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
}

/* 採用ブロック写真上の社名（背景三角は .top_skew--recruit のみ） */
.top_recruit_photo_title {
  position: absolute;
  left: -10px;
  top: -15px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 26px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0, 36, 72, 0.45);
}

@media screen and (max-width: 1079px) {
  .top_recruit_photo_title {
    display: inline-block;
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    padding-bottom: 6px;
    box-sizing: border-box;
  }
}

.top_about_textblock,
.top_services_textblock,
.top_recruit_textblock {
  position: relative;
  z-index: 2;
}

.top_services_textblock {
  text-align: left;
}

.top_about_lead {
  margin: 0 0 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  color: var(--top-text);
}

.top_about_lead_strong {
  font-size: 24px;
  color: var(--primary-color);
}

.top_about_lead_rest {
  font-size: 16px;
}

.top_about_copy,
.top_services_copy,
.top_recruit_copy {
  font-size: 16px;
  line-height: 1.5;
  color: var(--top-text);
}

.top_about_copy p + p,
.top_services_copy p + p,
.top_recruit_copy p + p {
  margin-top: 0.5em;
}

.top_about_copy,
.top_recruit_copy {
  text-align: left;
}

.top_about_actions,
.top_services_actions,
.top_recruit_actions {
  margin: 36px 0 0;
  text-align: center;
}

.top_services_copy {
  margin: 0;
}

.top_services_copy + .top_services_copy {
  margin-top: 0.25em;
}

/* ボタン（矢印は CSS のみ） */
.top_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 343px;
  min-height: 62px;
  padding: 16px 52px 16px 24px;
  background-color: var(--accent-color);
  color: #fefafa;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}

.top_btn:hover {
  opacity: 0.92;
}

.top_btn::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2px solid #fefafa;
  border-bottom: 2px solid #fefafa;
  transform: rotate(-45deg);
}

.top_btn_label {
  pointer-events: none;
}

/* ---------- recruit ---------- */
.top_recruit_lead {
  margin: 0 0 20px;
  text-align: center;
  line-height: 1.5;
  font-weight: 700;
}

/* リード文マーカーを一文単位で連続表示（u_marker_yellow の fragment clone を避ける） */
.top_recruit_lead_marker {
  display: inline;
  padding: 0 0.12em;
  background: linear-gradient(transparent 58%, rgba(255, 230, 0, 0.72) 58%);
}

.top_recruit_lead_small {
  font-size: 16px;
  color: var(--top-text);
}

.top_recruit_lead_strong {
  font-size: 24px;
  color: var(--primary-color);
}

/* ---------- contact ---------- */
.top_contact {
  padding-bottom: 0;
}

.top_contact_header_wrap {
  padding-bottom: 24px;
}

.top_contact_panel {
  position: relative;
  padding: 48px 0 100px;
}

.top_contact_bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.top_contact_bg_img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220%;
  max-width: none;
  height: 120%;
  transform: translate(-50%, -50%);
  background-image: url(../img/contact.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.top_contact_bg_grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    188deg,
    rgba(2, 60, 114, 0.22) 0%,
    rgba(4, 114, 216, 0.08) 65%
  );
}

.top_contact_card_wrap {
  position: relative;
  z-index: 2;
}

.top_contact_card {
  box-sizing: border-box;
  width: 100%;
  max-width: 343px;
  margin-left: auto;
  margin-right: auto;
  padding: 36px 20px 40px;
  background-color: rgba(254, 250, 250, 0.9);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.top_contact_intro {
  font-size: 16px;
  line-height: 1.5;
  color: var(--top-text);
}

.top_contact_intro p + p {
  margin-top: 0.5em;
}

.top_contact_columns {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.top_contact_pill {
  margin: 0 auto 16px;
  width: 100%;
  max-width: 317px;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: var(--accent-color);
  color: #fefafa;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
}

.top_contact_phone_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.top_contact_phone_icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-color), #0472d8);
  position: relative;
}

.top_contact_phone_icon::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid #fefafa;
  transform: translate(-40%, -55%) rotate(48deg);
  box-sizing: border-box;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.top_contact_phone_num {
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  text-decoration: none;
  background: linear-gradient(180deg, var(--primary-color), #0472d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.top_contact_hours {
  margin: 8px 0 0;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-color), #0472d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- top footer---------- */
.top_footer {
  background-color: var(--primary-color);
  color: #fefafa;
  padding: 120px 0;
}

.top_footer_inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.top_footer_body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 343px;
  align-items: flex-start;
}

.top_footer_brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.top_footer_logo {
  margin: 0;
}

.top_footer_logo_img {
  display: block;
  width: auto;
  max-width: 228px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  margin: 0;
}

.top_footer_address_group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.top_footer_address {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  white-space: pre-line;
}

.top_footer_nav,
.top_footer_body .l_footer_nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.top_footer_nav_link {
  color: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
}

.top_footer_nav_link:hover {
  text-decoration: underline;
}

.top_footer_rule {
  height: 1px;
  background-color: rgba(254, 250, 250, 0.35);
  margin-top: 8px;
  width: 100%;
  max-width: 343px;
}

.top_footer_copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_footer_inner {
    align-items: center;
  }

  .top_section_head {
    margin-bottom: 56px;
    min-height: 100px;
  }

  .top_section_head_en {
    font-size: 96px;
    top: 0px;
  }

  .top_section_head_en--services {
    font-size: 96px;
  }

  .top_section_head_ja {
    padding-top: 40px;
    font-size: 32px;
  }

  .top_about_frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 40px;
    align-items: start;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  .top_skew--about {
    left: -24px;
    top: 22px;
  }

  .top_skew--recruit {
    top: -24px;
  }

  .top_skew--section-title {
    left: 100px;
    top: -10px;
  }

  .top_skew--section-title-right {
    left: auto;
    top: 30px;
    right: 100px;
    contain-intrinsic-block-size: auto 100px;
    width: 480px;
    height: 380px;
}

  .top_about_figure {
    grid-column: 1;
    grid-row: 1;
    margin: 48px 0 0;
    align-self: start;
  }

  .top_ph--about,
  .top_ph--recruit,
  .top_ph--services {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .top_about_textblock {
    grid-column: 2;
    grid-row: 1;
    margin-top: 24px;

  }

  .top_about_lead {
    position: relative;
  }

  .top_about_lead_strong {
    font-size: 32px;
  }

  .top_about_lead_rest {
    font-size: 24px;
  }

  .top_about_copy {
    padding-top: 8px;
  }

  .top_services_frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 40px;
    align-items: center;
    max-width: 920px;
    margin: 80px auto 0;
  }

  .top_skew--services {
    right: -30px;
    top: -40px;
    right: -27px;
    top: -24px;
  }

  .top_services_figure {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .top_services_textblock {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .top_recruit_frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 40px;
    align-items: center;
    max-width: 920px;
    margin: 80px auto 0;
  }

  .top_recruit_figure {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .top_recruit_photo_title {
    left: -15px;
    top: -25px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .top_recruit_textblock {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .top_recruit_lead {
    position: relative;
  }

  .top_recruit_lead_small {
    font-size: 24px;
  }

  .top_recruit_lead_strong {
    font-size: 32px;
    color: var(--primary-color);
  }

  .top_recruit_copy {
    padding-top: 8px;
  }

  .top_contact_header_wrap {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  .top_contact_panel {
    padding: 72px 0 120px;
  }

  .top_contact_bg_img {
    width: 110%;
    height: 100%;
    background-image: url(../img/contact.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .top_contact_card {
    max-width: 920px;
    flex-direction: column;
    gap: 48px;
    padding: 48px 72px 56px;
  }

  .top_contact_intro {
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .top_contact_columns {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    align-items: flex-start;
  }

  .top_contact_block {
    flex: 0 1 335px;
  }

  .top_footer {
    padding: 120px 0;
  }

  .top_footer_body {
    position: relative;
    max-width: 920px;
    min-height: 190px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .top_footer_nav,
  .top_footer_body .l_footer_nav {
    position: absolute;
    right: 0;
    top: 145px;
    width: 218px;
    height: 134px;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
  }

  .top_footer_rule {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  .top_footer_address_group {
    gap: 16px;
  }

  .top_footer_copy {
    text-align: center;
  }
}




/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_hamburger-bar {
  transition:
    top 0.24s,
    transform 0.24s,
    opacity 0.24s;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  transform: translate(50%, -50%);
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
}

.js_copy,
.js_sub-copy {
  overflow: hidden;
}

.js_nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

@media screen and (min-width: 1080px) {
  .js_nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.js_nav.is-active {
  opacity: 1;
  pointer-events: auto;
}

.js_faq_mark::after {
  transition: opacity 0.24s;
}

.js_faq_mark.is-open::after {
  opacity: 0;
}

.js_faq-a {
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.js_h-slide_trigger {
  overflow: hidden;
}


/* ========== safety ========== */

/* メインエリア */
.safety_main {
  padding-top: 70px; /* ヘッダー高さ分 */
  background-color: var(--gray-color);
}

/* ページタイトルエリア */
.safety_hero {
  padding: 40px 0 32px;
  text-align: center;
}

/* コンテンツエリア */
.safety_content {
  padding: 24px 0 56px;
}

/* 各セクションブロック */
.safety_block {
  background-color: var(--white-color);
  margin-bottom: 20px;
  overflow: hidden;
}

.safety_block_heading {
  background-color: var(--accent-color);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  line-height: 1.5;
}

.safety_block_body {
  padding: 20px 16px;
}

/* リスト */
.safety_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.safety_list_item {
  font-size: 14px;
  line-height: 1.8;
  color: var(--black-color);
}

/* 期間テキスト（セクション3） */
.safety_period {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black-color);
}

/* 写真グリッド（セクション5：3枚） */
.safety_photos {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.safety_photo {
  margin: 0;
}

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

.safety_photo_caption {
  font-size: 12px;
  color: var(--gray-color04);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

/* ラベル・リンク（セクション6） */
.safety_label {
  font-size: 14px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--black-color);
}

.safety_pdf_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 20px;
}

.safety_photo--single {
  margin-top: 24px;
}

/* 使命テキスト（セクション7） */
.safety_mission {
  font-size: 14px;
  line-height: 2;
  color: var(--black-color);
}

/* ========== safety PC対応 ========== */
@media screen and (min-width: 1080px) {
  .safety_hero {
    padding: 60px 0 0;
  }

  .safety_hero .top_section_head {
    margin-bottom: 0;
  }

  .safety_hero_title {
    font-size: 28px;
  }

  .safety_content {
    padding: 40px 0 80px;
  }

  .safety_block {
    margin-bottom: 24px;
  }

  .safety_block_heading {
    font-size: 16px;
    padding: 12px 24px;
  }

  .safety_block_body {
    padding: 28px 32px;
  }

  .safety_list_item {
    font-size: 15px;
  }

  .safety_period {
    font-size: 15px;
  }

  .safety_photos {
    flex-direction: row;
    gap: 20px;
  }

  .safety_photo {
    flex: 1;
  }

  /* セクション6の単体写真も、セクション5（3枚）と同じサイズ感に揃える */
  .safety_photo--single {
    width: calc((100% - 40px) / 3);
    margin-left: 0;
    margin-right: auto;
  }

  .safety_label {
    font-size: 15px;
  }

  .safety_pdf_link {
    font-size: 15px;
  }

  .safety_mission {
    font-size: 15px;
  }
}


/* ========== footer ========== */
.l_footer {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.l_footer_inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.l_footer_brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.l_footer_logo {
  width: 40px;
  height: 30px;
  object-fit: contain;
}

.l_footer_address {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.l_footer_nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.l_footer_nav_link {
  color: var(--white-color);
  font-size: 14px;
  text-decoration: none;
  opacity: 0.9;
}

.l_footer_nav_link:hover {
  opacity: 1;
  text-decoration: underline;
}

.l_footer_copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* footer PC対応 */
@media screen and (min-width: 1080px) {
  .l_footer_inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .l_footer_nav {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    padding-top: 4px;
  }
}

/* ========== service ========== */
.service_main {
  padding-top: 70px;
  background-color: var(--surface-color);
}

.service_section {
  background-color: var(--surface-color);
  margin: 80px 0 0;
  overflow: hidden;
}

.service_section_inner {
  position: relative;
}

.service_section_head {
  margin-bottom: 56px;
}

/* hero */
.service_hero {
  position: relative;
  background-color: var(--surface-color);
  overflow: hidden;
  padding: 0 0 120px;
}

.service_hero_bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1311px, 92vw);
  height: 420px;
  background-color: #bfe0ff;
  z-index: 0;
}

.service_hero_visual {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: min(92vw, 1108px);
  height: 360px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe6ed 0%, #b8c5d3 100%);
}

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

.service_hero_visual_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service_hero_visual_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(68, 68, 68, 0.3);
}

.service_hero_title {
  position: absolute;
  left: 16px;
  top: 70px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  color: rgba(254, 250, 250, 0.92);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.service_hero_box {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  background-color: rgba(2, 60, 114, 0.86);
  color: #fefafa;
  padding: 28px 0;
}

.service_hero_kicker {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(242, 245, 244, 0.95);
}

.service_hero_heading {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.service_hero_desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(254, 250, 250, 0.9);
}

@media screen and (max-width: 1079px) {
  .service_hero_desc br {
    display: none;
  }
}

/* services list */
.service_services {
  position: relative;
}

.service_services_bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
  background:
    radial-gradient(
      closest-side at 80% 60%,
      rgba(2, 60, 114, 0.1),
      transparent 70%
    ),
    radial-gradient(
      closest-side at 20% 30%,
      rgba(4, 114, 216, 0.08),
      transparent 70%
    );
}

/* 菱形PNGは素材側の向きをそのまま使う（rotate すると角度がずれる） */
.service_services_bg::before,
.service_services_bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 2px;
}

.service_services_bg::before {
  width: min(120vw, 980px);
  height: min(120vw, 980px);
  left: -30vw;
  top: 160px;
  background-color: transparent;
  background-image: url(../img/bg_lg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.service_services_bg::after {
  width: 260px;
  height: 260px;
  right: 8px;
  top: 560px;
  background-color: transparent;
  background-image: url(../img/bg_sm.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
}

/* services 背景（SPでは非表示 / PCは現状維持） */
@media screen and (max-width: 1079px) {
  .service_services_bg {
    display: none;
  }
}

.service_services_list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service_service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.service_service_media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(145deg, #dfe6ed 0%, #b8c5d3 100%);
}

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

.service_service_body {
  max-width: 52ch;
}

.service_service_title {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(68, 68, 68, 0.4);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--top-text);
}

.service_service_text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--top-text);
}

@media screen and (max-width: 1079px) {
  .service_service_text br {
    display: none;
  }
}

/* works */
.service_works_media {
  margin: 0 0 22px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe6ed 0%, #b8c5d3 100%);
}

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

.service_works_text {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}

.service_works_lead {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-text);
  padding-bottom: 10px;
  position: relative;
}

.service_works_lead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 6px;
  background-color: rgba(248, 221, 29, 0.65);
  z-index: -1;
}

.service_works_copy {
  margin: 20px 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  color: var(--top-text);
}

/* works (SP only */
@media screen and (max-width: 1079px) {
  .service_works .service_section_inner {
    padding-top: 0;
  }

  .service_works .top_section_head {
    /* この見出しあしらい部分だけ、コンテナの左右16px余白を打ち消す */
    width: calc(100% + 32px);
    min-height: 250px;
    overflow: hidden;
    margin: 120px -16px 10px;
  }

  .service_works .top_section_head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: url("../img/try.png") center / cover no-repeat;
    z-index: 0;
  }

  .service_works .top_section_head_en {
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    font-size: 64px;
    color: #527faa;
    z-index: 1;
  }

  .service_works .top_section_head_ja {
    padding: 0;
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #fefafa;
    z-index: 2;
  }

  .service_works .top_section_head_accent {
    color: inherit;
  }

  .service_works_media {
    width: 343px;
    margin: 0 auto 32px;
    border-radius: 0;
    background: none;
  }

  .service_works_img {
    aspect-ratio: 343 / 209;
  }

  .service_works_text {
    width: 344px;
    max-width: none;
    margin: 0 auto;
    text-align: left;
  }

  .service_works_lead {
    display: block;
    margin: 0 0 32px;
    font-size: 24px;
    line-height: 1.5;
    padding-bottom: 10px;
  }

  .service_works_lead::after {
    height: 8px;
    background-color: rgba(248, 221, 29, 0.65);
  }

  .service_works_copy {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* message (Figma: PC 31:820 / SP 31:707) */
.service_message {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background-color: var(--surface-color);
  padding: 120px 0 80px;
  margin-top: 120px;
}

.service_message::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-color);
  clip-path: polygon(0 0, 55% 0, 100% 28%, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

@media screen and (max-width: 1079px) {
  .service_message::before {
    clip-path: polygon(0 0, 52% 0, 100% 26%, 100% 100%, 0 100%);
  }
}

.service_message .top_section_head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 22px;
  min-height: 92px;
}

.service_message .top_section_head_en {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  font-size: 56px;
  color: var(--top-ghost-en);
}

.service_message .top_section_head_ja {
  padding: 18px 0 0;
  color: var(--top-text);
}

.service_message .top_section_head_accent {
  color: var(--top-text);
}

@media screen and (max-width: 1079px) {
  .service_message .top_section_head_en {
    color: rgba(254, 250, 250, 0.28);
  }

  .service_message .top_section_head_ja {
    color: rgba(254, 250, 250, 0.98);
  }

  .service_message .top_section_head_accent {
    color: rgba(254, 250, 250, 0.98);
  }
}

.service_message_grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
}


.service_message_grid > * {
  position: relative;
  z-index: 1;
}

.service_message_card {
  background-color: #d9dde3;
  padding: 22px 18px;
  color: #2b2b2b;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.service_message_card p {
  margin: 0;
  line-height: 2.5;
  font-size: 14px;
}

.service_message_em {
  font-weight: 700;
  color: #0b3f77;
  font-size: 18px;
  background: linear-gradient(transparent 62%, rgba(248, 221, 29, 0.65) 0);
}

.service_message_sign {
  text-align: right;
  font-weight: 500;
  font-size: 12px;
}

.service_message_photo {
  margin: 0;
  order: -1;
  display: flex;
  justify-content: center;
}

.service_message_photo_img {
  width: min(280px, 100%);
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}

.service_message_photo_placeholder {
  width: min(280px, 100%);
  height: auto;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(145deg, rgba(223, 230, 237, 1) 0%, rgba(184, 197, 211, 1) 100%);
  border-radius: 2px;
}

/* ========== service PC対応 ========== */
@media screen and (min-width: 1080px) {
  .service_hero {
    padding: 0;
    min-height: 820px;
  }

  .service_hero_bg {
    width: 1311px;
    height: 649px;
  }

  .service_hero_visual {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    width: min(1108px, calc(100% - 333px));
    height: 518px;
    margin-left: 0;
    border-radius: 0;
  }

  .service_hero_title {
    left: 238px;
    top: 225px;
    transform: translateX(-50%);
    font-size: 100px;
  }

  .service_hero_box {
    position: absolute;
    left: 0;
    top: 364px;
    width: 959px;
    height: 285px;
    margin-top: 0;
    padding: 24px 0;
  }

  .service_hero_box .l_container {
    padding-left: 45px;
    padding-right: 45px;
  }

  .service_hero_kicker {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 37px;
  }

  .service_hero_heading {
    font-size: 40px;
  }

  .service_hero_desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .service_service {
    grid-template-columns: 441px 1fr;
    gap: 64px;
    justify-content: center;
  }

  .service_service--reverse .service_service_media {
    order: 2;
  }

  .service_service--reverse .service_service_body {
    order: 1;
  }

  .service_service_img {
    aspect-ratio: 441 / 240;
  }

  .service_service_title {
    font-size: 20px;
  }

  .service_service_text {
    font-size: 16px;
  }

  .service_works_img {
    aspect-ratio: 862 / 224;
  }

  /* works (PC / Figma 31:835) */
  .service_works {
    position: relative;
  }

  .service_works .service_section_inner {
    position: relative;
    max-width: calc(var(--content-width) + 32px);
    margin: 120px auto;
  }

  .service_works .service_section_inner::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 158px;
    width: 500px;
    height: 250px;
    background-color: var(--primary-color);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 0;
    opacity: 0.98;
    pointer-events: none;
  }

  .service_works .top_section_head {
    margin-bottom: 64px;
    min-height: 115px;
  }

  .service_works .top_section_head_en {
    top: -30px;
    font-size: 96px;
    color: var(--top-ghost-en);
  }

  .service_works .top_section_head_ja {
    padding: 0;
    font-size: 40px;
    line-height: 1.2;
  }

  .service_works_media {
    position: relative;
    z-index: 1;
    width: 862px;
    margin: 38px auto 0;
    border-radius: 0;
    background: none;
    overflow: hidden;
  }

  .service_works_text {
    position: relative;
    z-index: 1;
    width: 556px;
    max-width: none;
    margin: 48px auto 0;
    text-align: center;
  }

  .service_works_lead {
    margin: 0;
    font-size: 26px;
    line-height: 1.5;
  }

  .service_works_copy {
    font-size: 16px;
    line-height: 1.5;
  }

  .service_works_lead {
    font-size: 26px;
  }

  .service_works_copy {
    font-size: 16px;
  }

  .service_message_grid {
    grid-template-columns: 460px 400px;
    gap: 40px;
    align-items: end;
  }

  .service_message_card {
    padding: 28px 22px;
  }

  .service_message .service_section_inner {
    padding: 72px 64px 64px;
  }

  .service_message::before {
    clip-path: polygon(0 0, 22% 0, 100% 126%, 100% 100%, 0 100%);
  }

  .service_message .top_section_head {
    min-height: 130px;
  }

  .service_message .top_section_head_en {
    font-size: 96px;
    top: -25px;
    color: var(--top-ghost-en);
  }

  .service_message .top_section_head_ja {
    font-size: 38px;
    color: var(--top-text);
  }

  .service_message .top_section_head_accent {
    color: var(--accent-color);
  }

  .service_message_card p {
    font-size: 14px;
  }

  .service_message_sign {
    font-size: 14px;
  }

  .service_message_photo {
    order: 0;
    justify-content: flex-end;
  }

  .service_message_photo_img {
    width: min(380px, 100%);
  }

  .service_message_photo_placeholder {
    width: min(380px, 100%);
    aspect-ratio: 4 / 4.2;
  }

  .service_services_bg::before {
    width: 120%;
    height: 120%;
    left: -360px;
    top: -200px;
  }

  .service_services_bg::after {
    width: 600px;
    height: 600px;
    right: -150px;
    top: 800px;
  }
}
