@charset "UTF-8";

/* ==========================================================================
   reset & base
   ========================================================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video, a {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  line-height: 1.6em;
  letter-spacing: 0.05em;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
}

::selection {
  background: #2e3192;
  color: #fff;
}

::-moz-selection {
  background: #2e3192;
  color: #fff;
}

body {
  line-height: 1.4;
  position: relative;
  text-align: left;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  color: #333;
  -webkit-text-size-adjust: none;
  overflow-wrap: break-word;
  word-break: break-all;
  background: #fff;
  transform-origin: 0 0;
  hyphens: manual;
}

p {
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  line-height: 1.4em;
  letter-spacing: 0.05em;
  font-weight: 400;
}

img, p {
  vertical-align: bottom;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

address {
  font-style: normal;
  background: #DDDDDD;
  padding: 20px;
}

ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table th {
  text-align: left;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
}

table td {
  text-align: left;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
}

a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: #333;
  -webkit-transition: all .3s;
  transition: all .3s;
  font-weight: 400;
}

a *,
a img {
  -webkit-transition: all .3s;
  transition: all .3s;
}

a:hover {
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
  color: #333333;
  opacity: 0.6;
}

a.op:hover,
a img:hover {
  opacity: 0.6;
  -webkit-transition: all .3s;
  transition: all .3s;
}

a:focus,
a:hover {
  outline: none;
  text-decoration: none;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

#wap {
  width: 100%;
  max-width: 2300px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #454545;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.06em;
}

.left { float: left; }
.right { float: right; }
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.f_bold { font-weight: 800; }
.f_10, .f_10 span { font-size: 10px; }
.f_12, .f_12 span { font-size: 12px; }
.f_14, .f_14 span { font-size: 14px; }
.f_18, .f_18 span { font-size: 18px; }
.f_20, .f_20 span { font-size: 20px; }
.f_21, .f_21 span { font-size: 21px; }
.f_22, .f_22 span { font-size: 22px; }
.f_24, .f_24 span { font-size: 24px; }
.f_26, .f_26 span { font-size: 26px; }
.f_28, .f_28 span { font-size: 28px; }
.f_32, .f_32 span { font-size: 32px; }
.f_36, .f_36 span { font-size: 36px; }
.f_40, .f_40 span { font-size: 40px; }
.f_42, .f_42 span { font-size: 42px; }
.f_48, .f_48 span { font-size: 48px; }
.f_56, .f_56 span { font-size: 56px; }
.f_60, .f_60 span { font-size: 60px; }
.f_64, .f_64 span { font-size: 64px; }
.f_72, .f_72 span { font-size: 72px; }
.f_84, .f_84 span { font-size: 84px; }
.f_96, .f_96 span { font-size: 96px; }

.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }
.mt60 { margin-top: 60px; }
.mt80 { margin-top: 80px; }
.mt100 { margin-top: 100px; }
.mt120 { margin-top: 120px; }
.mt-200 { margin-top: -200px; }

footer ul i.filter_none {
  font-size: 18px;
  top: 2px;
}

.form_link .form_link_txt01 {
  background: #2e3192;
  border-radius: 30px;
  padding: 2px 0;
  text-align: center;
  color: #fff;
  display: inline-block;
  width: 100%;
}

.form_link .form_link_txt02 i,
.form_link .form_link_txt02 a {
  display: inline-block;
  color: #2e3192;
  font-size: 30px;
  font-weight: bold;
  padding: 10px 0 0px;
}

.form_link .form_link_txt02 i {
  margin-right: 10px;
}

.form_link .btn_main {
  width: 100%;
  padding: 15px 0;
}

#pagetop {
  position: fixed;
  bottom: 10%;
  right: 2%;
  z-index: 2000;
  line-height: 100%;
}
#pagetop a:hover p {
  opacity: 0.6;
}

.cont14-row-text {
  padding: 30px;
  width: 70%;
}

.w30 { width: 35%; }
.w30 img { width: 100%; }
.w68 { width: 68%; }
.mnw400 { min-width: 400px; }
.box02 div { width: 40%; }
.box03 div { width: 35%; }
.box04 div { margin-bottom: 30px; }
.h_rev {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column-reverse;
}
.ml_0 { margin-left: 0 !important; }
.rev { flex-direction: row-reverse; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb80 { margin-bottom: 80px; }

.cont02.rev > img {
  position: relative;
  right: 50px;
  left: auto;
}

/* ==========================================================================
   ページ共通コンポーネント（下層）
   ========================================================================== */
.sub_ttl {
  padding: 120px 7% 112px;
  text-align: left;
  background: #f9fcff;
}

.sub_ttl > * {
  position: relative;
}

.sub_ttl h1,
.sub_ttl h2 {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.sub_ttl h1 {
  color: #454545;
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0.12em;
  line-height: 1.8;
  font-weight: 400;
}

.sub_ttl h2 {
  margin-top: 22px;
  color: #003366;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.sub_ttl .line_main_s {
  width: 54px;
  margin: 24px auto 0;
  margin-left: max(0px, calc((100% - 1180px) / 2));
  border: 0;
  border-top: 2px solid #003366;
}

.con03 {
  max-width: 1040px;
  padding: 112px 40px 0;
}

.con03 h3 {
  color: #003366;
  font-size: clamp(24px, 2.2vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.con03 p {
  color: #454545;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  letter-spacing: 0.06em;
  line-height: 2.1;
}

.cont05 {
  max-width: 1200px;
  margin: 80px auto 120px;
  padding: 0 40px;
}

.cont05 > .cont14-row {
  margin-top: 0;
  padding: 58px 52px 64px;
  border-top: 1px solid #d9e1e8;
}

.cont05 > .cont14-row > h3 {
  color: #003366;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.cont05 > .cont14-row > .cont14-row {
  display: flex;
  align-items: center;
  gap: 6%;
}

.cont05 .cont14-row-item.cont14-row-image {
  flex: 0 0 43%;
}

.cont05 .cont14-row-image img {
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cont05 .cont14-row-item.cont14-row-text {
  width: auto;
  flex: 1;
  padding: 0;
}

.cont05 .cont14-row-text p {
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .office .cont05 > .sp_block {
    display: flex !important;
  }
}

.cont08.mt120 {
  max-width: 1040px;
  padding: 112px 40px 0;
}

.cont08.mt120 p {
  color: #454545;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  letter-spacing: 0.06em;
  line-height: 2.1;
}

h3 {
  color: #003366;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

h3 + .line_main_s {
  width: 54px;
  margin: 24px auto 0;
  border: 0;
  border-top: 2px solid #003366;
}

.cont02 {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 40px;
  align-items: stretch !important;
}

.cont02 > img {
  width: 50%;
  max-width: none;
  height: auto;
  min-height: 360px;
  object-fit: cover;
}

.cont02 .cont02_txt_box {
  width: 50%;
  padding: 0;
  background: #f9fcff;
}

.cont02.rev {
  flex-direction: row-reverse;
}

.cont02 .bg_inner {
  height: 100%;
  padding: 58px 52px 64px;
}

.cont02 h3 {
  color: #003366;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.cont02 p {
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.cont02 .btn_main {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 280px;
  padding: 16px 22px;
  color: #ffffff;
  background: #003366;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
}

.cont02 .btn_main i {
  margin-left: 20px;
}

.cont08.mb80 {
  max-width: 1200px;
  margin-top: 80px;
  margin-bottom: 120px;
  padding: 0 40px;
}

.cont08:last-of-type .row {
  row-gap: 48px;
}

.cont05_box {
  padding: 0 14px;
}

.cont05_box h5 {
  color: #003366;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cont05_box img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cont06 {
  max-width: 1040px;
  margin-top: 112px;
}

.contact_content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}

.contact_lead {
  color: #003366;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
}

.contact_panel { margin-top: 64px; }
.contact_form_intro { margin-top: 52px; }
.contact_note {
  max-width: 760px;
  margin: 40px auto 0;
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.contact_form_embed {
  min-height: 180px;
  margin-top: 48px;
  padding: 48px 32px;
  border: 1px solid #d9e1e8;
  color: #454545;
  text-align: center;
}

.cont06 h3 {
  color: #003366;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.table01 {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid #d9e1e8;
  border-collapse: collapse;
}

.table01 th,
.table01 td {
  padding: 22px 24px;
  border-bottom: 1px solid #d9e1e8;
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.9;
  vertical-align: top;
}

.table01 th {
  width: 27%;
  color: #003366;
  font-weight: 700;
  background: #f9fcff;
}

.cont07 {
  margin-top: 112px;
  padding-bottom: 120px;
}

.cont07 iframe {
  display: block;
  margin-top: 0 !important;
}

.btn_main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  color: #ffffff;
  background: #003366;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
}

.cont05 > h3 {
  color: #003366;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.cont05 .cont14-row {
  align-items: center;
  gap: 6%;
  padding: 30px;
}

.cont05 .cont14-row-text {
  flex: 1;
  width: auto;
  padding: 0;
}

.cont05 .cont14-row-text p {
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.cont05 .cont14-row-image {
  flex: 0 0 43%;
}

.cont05 .cont14-row-image img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cont05 .cont14-row-image .mes_img {
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cont05 .cont14-row-text h3,
.cont05 .cont14-row-text .line_main_s {
  color: #003366;
}

.cont05 .cont14-row-text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cont05 .cont14-row-text .line_main_s {
  width: 54px;
  margin: 18px 0 24px;
  border: 0;
  border-top: 2px solid #003366;
}

.cont11 {
  max-width: 1200px;
  margin: 80px auto 0;
}

.cont14 {
  max-width: none;
  margin-top: 0 !important;
  padding: 0 40px;
}

.cont14-row-wrap > .cont14-row:first-child {
  display: flex;
  align-items: center;
  gap: 6%;
  padding: 58px 52px 64px;
  border-top: 1px solid #d9e1e8;
}

.cont14-row-image {
  flex: 0 0 43%;
}

.cont14-row-image img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cont14-row-text {
  flex: 1;
  width: auto;
  padding: 0;
}

h3, h4 {
  color: #003366;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cont14-row-text p,
.box02 p,
.box03 p,
.box04 p {
  color: #454545;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.box02, .box03, .box04 {
  gap: 5%;
  margin: 30px 52px 0;
}

.box02 > div,
.box03 > div,
.box04 > div {
  flex: 1;
}

.box02 img, .box03 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.material-icons-contact {
  font-size: 36px !important;
}

/* ==========================================================================
   下層ページ用 SP レスポンシブ (767px以下)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .sub_ttl {
    padding: 84px 24px 0px;
  }
  .sub_ttl h1, .sub_ttl h2 { text-align: left; }
  .sub_ttl h1 { font-size: 13px; letter-spacing: 0.06em; }
  .sub_ttl h2 { margin-top: 15px; font-size: 34px; letter-spacing: 0.05em; }
  .sub_ttl .line_main_s { margin-left: 0; }

  .con03 { padding: 64px 24px 0; }
  .con03 h3 { font-size: 23px; letter-spacing: 0.07em; line-height: 1.7; }
  .con03 p { font-size: 14px; line-height: 2; }

  .cont05 { margin: 64px auto 72px; padding: 0 16px; }
  .cont05 > .cont14-row { padding: 34px 20px 40px; }
  .cont05 > .cont14-row > h3 { margin-bottom: 22px; font-size: 19px; letter-spacing: 0.06em; }
  .cont05 > .cont14-row > .cont14-row { display: block; }
  .cont05 .cont14-row-item.cont14-row-image { width: 100%; margin-bottom: 24px; }
  .cont05 .cont14-row-text p { font-size: 14px; line-height: 1.95; }

  .cont08.mt120 { padding: 64px 24px 0; }
  .cont08.mt120 p { font-size: 14px; line-height: 2; }
  h3 { margin-top: 0; padding: 0 24px; font-size: 23px; letter-spacing: 0.07em; }

  .cont02 { display: flex; margin-top: 48px; padding: 0 16px; }
  .cont02 > img, .cont02 .cont02_txt_box { width: 100%; }
  .cont02 > img { min-height: 0; aspect-ratio: 4 / 3; }
  .cont02.rev { flex-direction: column; }
  .cont02 .bg_inner { padding: 34px 20px 40px; }
  .cont02 h3 { font-size: 23px; letter-spacing: 0.07em; }
  .cont02 p { font-size: 14px; line-height: 1.95; }
  .cont02 .btn_main { width: 100%; min-width: 0; font-size: 13px; }

  .cont08.mb80 { margin-top: 48px; margin-bottom: 72px; padding: 0 16px; }
  .cont05_box { padding: 0 8px; }

  .cont06 { margin-top: 64px; padding: 0 24px; }
  .contact_content { padding: 64px 24px 72px; }
  .contact_lead { font-size: 23px; letter-spacing: 0.07em; }
  .contact_panel { margin-top: 48px; }
  .contact_form_intro { margin-top: 40px; }
  .contact_note { margin-top: 28px; font-size: 14px; }
  .contact_form_embed { margin-top: 36px; padding: 36px 20px; }
  .cont06 h3, h2 { font-size: 23px; }

  .table01 th, .table01 td {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
  }
  .table01 th { border-bottom: 0; }

  .cont07 { margin-top: 64px; padding-bottom: 72px; }
  .cont07 iframe { height: 300px; }
  h2 { margin-top: 64px; padding: 0 24px; }

  .cont05 > h3 { font-size: 19px; }
  .cont05 .cont14-row {
    display: block;
    margin-top: 0px !important;
    padding: 10px 20px 40px;
  }
  .cont05 .cont14-row-image { width: 100%; margin-bottom: 24px; }
  .cont05 .cont14-row-text p { font-size: 14px; line-height: 1.95; }
  .cont05 .cont14-row-text h3 { font-size: 20px; }

  .cont11 { margin-top: 48px; }
  .cont14 { padding: 0 16px; }
  .cont14-row-wrap > .cont14-row:first-child {
    display: block;
    padding: 34px 20px 40px;
  }
  .cont14-row-image { width: 100%; margin-bottom: 24px; }
  .cont14-row-text p, .box02 p, .box03 p, .box04 p {
    font-size: 14px;
    line-height: 1.95;
  }

  .box02, .box03, .box04 {
    display: block;
    margin: 24px 20px 0;
  }
  .box02 > div, .box03 > div, .box04 > div {
    margin-bottom: 28px;
    width: 100%;
  }
}

/* ==========================================================================
   ヘッダー（PC・SP）TOP完全統一スタイル
   ========================================================================== */

/* 1. 1200px以下のcenter強制寄せを解除 */
@media (max-width: 1200px) {
  header .row,
  header .header_row {
    justify-content: space-between !important;
  }
}

/* 2. ドロップダウン設定（PC） */
header nav.pc_only ul li.has-dropdown {
  position: relative;
  overflow: visible !important;
}

header nav.pc_only ul li.has-dropdown > a::before {
  display: none !important;
}

header nav.pc_only ul li.has-dropdown .dropdown_menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 0;
  margin-top: 10px;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

header nav.pc_only ul li.has-dropdown:hover .dropdown_menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0px;
}

header nav.pc_only ul li.has-dropdown .dropdown_menu li {
  display: block !important;
  width: 100%;
}

header nav.pc_only ul li.has-dropdown .dropdown_menu li a {
  display: block;
  padding: 10px 20px;
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
  color: #003366;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: left;
}

header nav.pc_only ul li.has-dropdown .dropdown_menu li a::before {
  display: none !important;
}

header nav.pc_only ul li.has-dropdown .dropdown_menu li a:hover {
  background-color: #f0f4f8;
  color: #27a7ad;
}

/* 3. PC表示時：TOPページ（main.css / common-pages.css）と完全一致 */
@media screen and (min-width: 768px) {
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important;
    z-index: 1000 !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    display: block !important;
  }

  /* 行レイアウト */
  header .header_row:has(nav.pc_only) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    padding-left: clamp(20px, 4.16vw, 80px) !important;
    padding-right: clamp(20px, 4.16vw, 80px) !important;
  }

  /* ロゴサイズ */
  header .header_row:has(nav.pc_only) .logo {
    width: clamp(200px, 14.0625vw, 270px) !important;
    margin: 0 !important;
  }

  /* ナビゲーション */
  header nav.pc_only ul {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(10px, 2.7604166667vw, 53px) !important;
  }

  /* 通常メニュー項目 */
  header nav.pc_only ul li:not(.btnblock) {
    overflow-x: clip;
    margin: 0 !important;
  }

  header nav.pc_only ul li:not(.btnblock) a {
    position: relative;
    display: block !important;
    line-height: 1.4 !important;
  }

  header nav.pc_only ul li:not(.btnblock) a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    width: 100%;
    height: 1px;
    background-color: #003366;
    transition: all 0.5s;
  }

  header nav.pc_only ul li:not(.btnblock) a:hover {
    color: #003366;
  }

  header nav.pc_only ul li:not(.btnblock) a:hover::before {
    transform: translateX(0);
  }

  /* ボタンマージンのズレを完全リセット */
  header nav.pc_only ul li.btnblock.recruit,
  header nav.pc_only ul li.btnblock.contact {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ボタン共通の寸法・丸み */
  header nav.pc_only ul li.btnblock a {
    position: relative;
    overflow: hidden;
    height: clamp(30px, 3.125vw, 60px) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  header nav.pc_only ul li.btnblock.recruit a {
    width: clamp(100px, 11.4583333333vw, 220px) !important;
    padding-left: clamp(15px, 1.5vw, 30px) !important;
    padding-right: clamp(6px, 0.5vw, 10px) !important;
  }

  header nav.pc_only ul li.btnblock.contact a {
    width: clamp(120px, 13.5416666667vw, 260px) !important;
    padding-left: clamp(15px, 1.5vw, 30px) !important;
    padding-right: clamp(6px, 0.5vw, 10px) !important;
  }

  /* アイコン丸サイズ */
  header nav.pc_only ul li.btnblock a .box {
    width: clamp(20px, 2.6041666667vw, 50px) !important;
    height: clamp(20px, 2.6041666667vw, 50px) !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  header nav.pc_only ul li.btnblock a .box .mask {
    width: 54% !important;
    aspect-ratio: 40 / 28 !important;
  }
}

/* 4. スマホ表示時 (767px以下) */
@media screen and (max-width: 767px) {
  header {
    height: 58px !important;
    backdrop-filter: blur(10px) !important;
  }

  header .header_inner nav.sp_only .header_row {
    height: 58px !important;
  }
}

/* 5. 固定ヘッダー分の余白確保（コンテンツ潜り込み防止） */
main,
#wap,
#wrap {
  margin-top: 90px !important;
}

@media screen and (max-width: 767px) {
  main,
  #wap,
  #wrap {
    margin-top: 58px !important;
  }
}

/* 6. ページ内リンク用スクロール位置補正 */
section[id],
div[id],
*[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 767px) {
  section[id],
  div[id],
  *[id] {
    scroll-margin-top: 58px;
  }
}

/* ==========================================================================
   TOPページ完全一致：ヘッダー強制統一スタイル
   ========================================================================== */

/* --- 1. PC表示 (768px以上) --- */
@media screen and (min-width: 768px) {
  /* ヘッダー外枠：高さ・背景・ブラー */
  header {
    height: 90px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
  }

  /* ヘッダー内ラッパー（TOPと同じ左右インデントを強制確保） */
  header > div,
  header .header_inner {
    width: 100% !important;
    height: 90px !important;
    padding-left: clamp(20px, 4.16vw, 80px) !important;
    padding-right: clamp(20px, 4.16vw, 80px) !important;
    box-sizing: border-box !important;
  }

  /* ロゴとナビゲーションの横並び行 */
  header .header_row,
  header > div > div:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
  }

  /* ロゴサイズ */
  header .logo,
  header .header_row .logo,
  header > div > div:first-child > div:first-child {
    width: clamp(200px, 14.0625vw, 270px) !important;
    flex-shrink: 0 !important;
  }
  header .logo img,
  header > div > div:first-child > div:first-child img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* ナビゲーション全体 */
  header nav.pc_only,
  header > div > div:first-child > nav {
    display: block !important;
  }
  header nav.pc_only ul,
  header > div > div:first-child > nav > ul {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(10px, 2.7604vw, 53px) !important;
  }

  /* 通常リンクテキスト */
  header nav.pc_only ul > li:not(.btnblock) > a,
  header > div > div:first-child > nav > ul > li:not(.btnblock) > a {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #003366 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  /* --- ボタン（採用情報・お問い合わせ）のTOP完全再現 --- */
  header nav.pc_only ul li.btnblock,
  header > div > div:first-child > nav > ul > li.btnblock {
    margin: 0 !important;
  }

  header nav.pc_only ul li.btnblock a,
  header > div > div:first-child > nav > ul > li.btnblock a {
    position: relative !important;
    overflow: hidden !important;
    height: clamp(36px, 3.125vw, 60px) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  /* 採用情報ボタン */
  header nav.pc_only ul li.btnblock.recruit a,
  header > div > div:first-child > nav > ul > li:nth-last-child(2) a {
    width: clamp(130px, 11.4583vw, 220px) !important;
    padding-left: clamp(16px, 1.8vw, 36px) !important;
    padding-right: 8px !important;
    background-color: #27a7ad !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(13px, 0.9375vw, 16px) !important;
    letter-spacing: 0.08em !important;
  }
}
  /* ==========================================================================
   ヘッダー：はみ出し完全解消＆TOP完全一致
   ========================================================================== */

@media screen and (min-width: 768px) {
  /* 1. 外枠：全体の横幅と左右余白 */
  header {
    height: 90px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
  }

  /* 内側の左右余白（2%パディングで画面端の余白を確保） */
  header > div,
  header .header_inner,
  header .header_row:has(nav.pc_only) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    width: 100% !important;
    padding-left: clamp(15px, 2vw, 40px) !important;
    padding-right: clamp(15px, 2vw, 40px) !important;
    box-sizing: border-box !important;
  }

  /* 2. ロゴサイズ */
  header .logo,
  header .header_row .logo,
  header > div > div:first-child > div:first-child {
    width: clamp(180px, 14vw, 260px) !important;
    flex-shrink: 0 !important;
  }
  header .logo img,
  header > div > div:first-child > div:first-child img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 3. ナビゲーションメニュー（押し出されないよう gap を自動調整） */
  header nav.pc_only,
  header > div > div:first-child > nav {
    flex-shrink: 1 !important;
    margin-left: auto !important;
  }

  header nav.pc_only ul,
  header > div > div:first-child > nav > ul {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(10px, 1.8vw, 36px) !important; /* 間隔を適正値に抑制 */
  }

  header nav.pc_only ul > li:not(.btnblock) > a,
  header > div > div:first-child > nav > ul > li:not(.btnblock) > a {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: clamp(13px, 0.9vw, 15px) !important;
    font-weight: 500 !important;
    color: #003366 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  /* 4. ボタンの適正幅・アイコン見切れ防止 */
  header nav.pc_only ul li.btnblock,
  header > div > div:first-child > nav > ul > li.btnblock {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* ボタン共通の枠 */
  header nav.pc_only ul li.btnblock a,
  header > div > div:first-child > nav > ul > li.btnblock a {
    position: relative !important;
    overflow: hidden !important;
    height: clamp(34px, 2.6vw, 50px) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    letter-spacing: 0.05em !important;
  }

  /* 採用情報ボタン（緑） */
  header nav.pc_only ul li.btnblock.recruit a,
  header > div > div:first-child > nav > ul > li:nth-last-child(2) a {
    width: clamp(110px, 9.5vw, 175px) !important;
    padding-left: clamp(12px, 1.2vw, 24px) !important;
    padding-right: 5px !important;
    background-color: #27a7ad !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(12px, 0.8vw, 14px) !important;
    white-space: nowrap !important;
  }

  /* お問い合わせボタン（紺） */
  header nav.pc_only ul li.btnblock.contact a,
  header > div > div:first-child > nav > ul > li:last-child a {
    width: clamp(130px, 11vw, 205px) !important;
    padding-left: clamp(12px, 1.2vw, 24px) !important;
    padding-right: 5px !important;
    background-color: #003366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(12px, 0.8vw, 14px) !important;
    white-space: nowrap !important;
  }

  /* ボタン内 白丸アイコン（縮まない・押し出されない設定） */
  header nav.pc_only ul li.btnblock a .box,
  header > div > div:first-child > nav > ul > li.btnblock a .box {
    width: clamp(24px, 2vw, 40px) !important;
    height: clamp(24px, 2vw, 40px) !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important; /* はみ出し防止の最重要プロパティ */
    margin-left: 6px !important;
  }

  header nav.pc_only ul li.btnblock a .box .mask,
  header > div > div:first-child > nav > ul > li.btnblock a .box .mask {
    width: 50% !important;
    aspect-ratio: 40 / 28 !important;
    display: block !important;
  }
}

/* ==========================================================================
   TOPページ完全一致：色・フォント・ボタン形状・グラデーション完全同期
   ========================================================================== */

@media screen and (min-width: 768px) {
  /* 1. ヘッダー枠・高さ */
  header {
    height: 90px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    display: block !important;
  }

  /* 内側の配置と余白（左右の端位置をTOPと完全一致） */
  header > div,
  header .header_inner,
  header .header_row:has(nav.pc_only) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    width: 100% !important;
    padding-left: clamp(16px, 2.5vw, 48px) !important;
    padding-right: clamp(16px, 2.5vw, 48px) !important;
    box-sizing: border-box !important;
  }

  /* 2. ロゴサイズ */
  header .logo,
  header .header_row:has(nav.pc_only) .logo,
  header > div > div:first-child > div:first-child {
    width: clamp(200px, 14.0625vw, 270px) !important;
    flex-shrink: 0 !important;
  }

  header .logo img,
  header > div > div:first-child > div:first-child img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 3. 通常メニュー（フォント・太さ・色をTOPと完全一致） */
  header nav.pc_only,
  header > div > div:first-child > nav {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  header nav.pc_only ul,
  header > div > div:first-child > nav > ul {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(15px, 2.4vw, 48px) !important;
  }

  header nav.pc_only ul > li:not(.btnblock) > a,
  header > div > div:first-child > nav > ul > li:not(.btnblock) > a {
    font-family: "Noto Sans JP", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-size: clamp(14px, 0.9vw, 16px) !important;
    line-height: 1.4 !important;
    color: #003366 !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    padding: 6px 0 !important;
  }

  /* 4. ボタン共通（高さ・丸み・文字の太さ） */
  header nav.pc_only ul li.btnblock,
  header > div > div:first-child > nav > ul > li.btnblock {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  header nav.pc_only ul li.btnblock a,
  header > div > div:first-child > nav > ul > li.btnblock a {
    position: relative !important;
    overflow: hidden !important;
    height: clamp(38px, 2.8vw, 54px) !important;
    border-radius: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(13px, 0.85vw, 15px) !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border: none !important;
  }

  /* 採用情報ボタン（エメラルドグラデーション＋幅） */
  header nav.pc_only ul li.btnblock.recruit a,
  header > div > div:first-child > nav > ul > li:nth-last-child(2) a {
    width: clamp(125px, 10vw, 190px) !important;
    padding-left: clamp(16px, 1.4vw, 26px) !important;
    padding-right: 6px !important;
    background: linear-gradient(90deg, #20a09e 0%, #27b1b8 100%) !important;
    background-color: #27a7ad !important;
    color: #ffffff !important;
  }

  /* お問い合わせボタン（濃いネイビー #003366 ＋幅） */
  header nav.pc_only ul li.btnblock.contact a,
  header > div > div:first-child > nav > ul > li:last-child a {
    width: clamp(145px, 11.5vw, 220px) !important;
    padding-left: clamp(16px, 1.4vw, 26px) !important;
    padding-right: 6px !important;
    background: #003366 !important;
    background-color: #003366 !important;
    color: #ffffff !important;
  }

  /* 5. 白丸アイコン（サイズ・正円維持） */
  header nav.pc_only ul li.btnblock a .box,
  header > div > div:first-child > nav > ul > li.btnblock a .box {
    width: clamp(28px, 2.2vw, 42px) !important;
    height: clamp(28px, 2.2vw, 42px) !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

  header nav.pc_only ul li.btnblock a .box .mask,
  header > div > div:first-child > nav > ul > li.btnblock a .box .mask {
    width: 52% !important;
    aspect-ratio: 40 / 28 !important;
    display: block !important;
  }

  /* アイコン矢印の色（お問い合わせは濃紺、採用情報はエメラルド） */
  header nav.pc_only ul li.btnblock.contact a .box .arow,
  header > div > div:first-child > nav > ul > li:last-child a .box .arow {
    background-color: #003366 !important;
  }
  header nav.pc_only ul li.btnblock.recruit a .box .arow,
  header > div > div:first-child > nav > ul > li:nth-last-child(2) a .box .arow {
    background-color: #27a7ad !important;
  }
}

/* ==========================================================================
   TOPページヘッダー（2枚目）と完全同期する確定スタイル
   ========================================================================== */
@media screen and (min-width: 768px) {

  /* ヘッダー全体枠 */
  header {
    height: 90px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
  }

  /* 行の左右余白（TOPと完全に同じパディング） */
  header .header_row:has(nav.pc_only),
  header .header_inner .header_row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    width: 100% !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    padding-left: 35px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* 通常メニュー項目の間隔・フォント */
  header nav.pc_only ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(10px, 2.76vw, 53px) !important;
  }

  header nav.pc_only ul li:not(.btnblock) {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header nav.pc_only ul li.has-dropdown {
    overflow: visible !important;
    position: relative !important;
  }

  header nav.pc_only ul li:not(.btnblock) > a {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #003366 !important;
    letter-spacing: 0.0625em !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    padding: 6px 0 !important;
  }

  /* ホバー下線アニメーション（枠外飛び出し防止） */
  header nav.pc_only ul li:not(.btnblock):not(.has-dropdown) > a::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background-color: #003366 !important;
    transform: translateX(-101%) !important;
    transition: transform 0.4s ease !important;
  }

  header nav.pc_only ul li:not(.btnblock):not(.has-dropdown):hover > a::before {
    transform: translateX(0) !important;
  }

  header nav.pc_only ul li.has-dropdown > a::before {
    display: none !important;
  }

  /* ドロップダウンメニュー（TOP画像通りの角丸と余白） */
  header nav.pc_only ul li.has-dropdown .dropdown_menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 200px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.08) !important;
    border-radius: 12px !important;
    padding: 16px 0 !important;
    margin-top: 10px !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1001 !important;
  }

  header nav.pc_only ul li.has-dropdown:hover .dropdown_menu {
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
  }

  header nav.pc_only ul li.has-dropdown .dropdown_menu li a {
    display: block !important;
    padding: 8px 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #003366 !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
  }

  header nav.pc_only ul li.has-dropdown .dropdown_menu li a:hover {
    background-color: #f0f4f8 !important;
    color: #27a7ad !important;
  }

  /* ----------------------------------------------------
     ボタン共通スタイル（TOP完全同期）
  ---------------------------------------------------- */
  header nav.pc_only ul li.btnblock {
    flex-shrink: 0 !important;
  }

  /* TOPのHTML属性（ml="-21", ml="-43"）を正確にCSS化 */
  header nav.pc_only ul li.btnblock.recruit {
    margin-left: -10px !important;
    margin-right: 0 !important;
  }

  header nav.pc_only ul li.btnblock.contact {
    margin-left: -20px !important;
    margin-right: 0 !important;
  }

  header nav.pc_only ul li.btnblock a {
    position: relative !important;
    height: clamp(34px, 2.6vw, 50px) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.1em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border: none !important;
    padding-right: 5px !important;
  }

  /* 採用情報ボタン（エメラルド） */
  header nav.pc_only ul li.btnblock.recruit a {
    width: clamp(140px, 10.5vw, 190px) !important;
    background-color: #27a7ad !important;
    color: #ffffff !important;
    padding-left: clamp(20px, 1.8vw, 32px) !important;
  }

  /* お問い合わせボタン（TOP通りのグレーブルー #707f9a） */
  header nav.pc_only ul li.btnblock.contact a {
    width: clamp(160px, 12vw, 220px) !important;
    background-color: #707f9a !important; /* ← 濃紺ではなくTOPと同じ色 */
    color: #ffffff !important;
    padding-left: clamp(20px, 1.8vw, 32px) !important;
  }

  /* 白丸アイコン */
  header nav.pc_only ul li.btnblock a .box {
    width: clamp(28px, 2.2vw, 40px) !important;
    height: clamp(28px, 2.2vw, 40px) !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-left: 10px !important;
  }

  header nav.pc_only ul li.btnblock a .box .mask {
    width: 50% !important;
    aspect-ratio: 40 / 28 !important;
    display: block !important;
  }

  /* 矢印アイコンの色 */
  header nav.pc_only ul li.btnblock.recruit a .box .mask .arow {
    background-color: #003366 !important;
  }

  header nav.pc_only ul li.btnblock.contact a .box .mask .arow {
    background-color: #707f9a !important;
  }
}

/* ==========================================================================
   下層ページ フッターのTOP完全同期
   ========================================================================== */
footer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  background-color: #fff !important;
}

footer .footer_inner {
  border-top: 1px solid #cedae5 !important;
  display: block !important;
  padding-top: clamp(40px, 4.68vw, 90px) !important;
}

footer .footer_inner .top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-left: clamp(20px, 8.33vw, 160px) !important;
  margin-right: clamp(20px, 10.9vw, 210px) !important;
  margin-bottom: clamp(30px, 2.96vw, 57px) !important;
}

footer .footer_inner .top .left {
  float: none !important;
}

footer .footer_inner .top .left .logo {
  width: clamp(240px, 25vw, 480px) !important;
  margin-bottom: 16px !important;
}

footer .footer_inner .top .left .logo img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

footer .footer_inner .top .left .data {
  display: block !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  color: #003366 !important;
  font-size: 16px !important;
  line-height: 2 !important;
  letter-spacing: 0.125em !important;
  padding-left: 14px !important;
}

/* フッターナビリンク */
footer .footer_inner .top > ul {
  display: flex !important;
  list-style: none !important;
  padding: 2px 0 0 !important;
  margin: 0 !important;
  column-gap: clamp(10px, 3.59vw, 69px) !important;
}

footer .footer_inner .top > ul > li {
  margin: 0 !important;
  padding: 0 !important;
}

footer .footer_inner .top > ul > li > a {
  display: flex !important;
  align-items: center !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  color: #003366 !important;
  font-size: 18px !important;
  letter-spacing: 0.11em !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  column-gap: clamp(5px, 0.52vw, 10px) !important;
}

footer .footer_inner .top > ul > li > a::before {
  content: "" !important;
  width: clamp(5px, 0.52vw, 10px) !important;
  height: clamp(5px, 0.52vw, 10px) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background-color: #fff265 !important;
  display: block !important;
  flex-shrink: 0 !important;
}

footer .footer_inner .top > ul > li ul {
  list-style: none !important;
  margin-top: clamp(5px, 0.83vw, 16px) !important;
  padding: 0 !important;
}

footer .footer_inner .top > ul > li ul li {
  margin-bottom: 10px !important;
}

footer .footer_inner .top > ul > li ul li a {
  display: flex !important;
  align-items: center !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #003366 !important;
  letter-spacing: 0.125em !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
}

footer .footer_inner .top > ul > li ul li a::before {
  content: "-" !important;
  margin-right: 4px !important;
}

/* フッターボタン2種（採用情報・お問い合わせ） */
footer .footer_inner .btns {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  column-gap: 3.125% !important;
  margin-bottom: clamp(30px, 4vw, 78px) !important;
  padding: 0 !important;
}

footer .footer_inner .btns .btnblock a {
  width: clamp(220px, 21.35vw, 410px) !important;
  height: clamp(40px, 3.8vw, 73px) !important;
  border-radius: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.11em !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  padding-left: 40px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}

footer .footer_inner .btns .btnblock:first-child a {
  background-color: #27a7ad !important;
  color: #ffffff !important;
}

footer .footer_inner .btns .btnblock:last-child a {
  background-color: #707f9a !important;
  color: #ffffff !important;
}

footer .footer_inner .btns .btnblock a .box {
  width: clamp(20px, 2.6vw, 50px) !important;
  height: clamp(20px, 2.6vw, 50px) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

footer .footer_inner .btns .btnblock a .box .mask {
  width: 54% !important;
  aspect-ratio: 40 / 28 !important;
  display: block !important;
}

footer .footer_inner .btns .btnblock:first-child a .box .mask .arow {
  background-color: #003366 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

footer .footer_inner .btns .btnblock:last-child a .box .mask .arow {
  background-color: #707f9a !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* コピーライト */
footer .footer_inner .copyright {
  display: block !important;
  text-align: center !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #707f9a !important;
  letter-spacing: 0.14em !important;
  line-height: 1.5 !important;
  margin-bottom: 30px !important;
}

/* 最下部ティッカー帯 & PageTop */
footer .footer_inner .bottom {
  display: flex !important;
  background-color: #cedae5 !important;
  overflow: hidden !important;
  height: clamp(40px, 5.7vw, 110px) !important;
  align-items: center !important;
}

footer .footer_inner .bottom .slide {
  width: calc(100% - clamp(20px, 2.55%, 49px)) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

footer .footer_inner .bottom .slide .tx {
  white-space: nowrap !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: clamp(30px, 5.7vw, 110px) !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  line-height: 1.15 !important;
  margin: 0 20px !important;
}

footer .footer_inner .bottom .pagetop {
  width: clamp(20px, 2.55%, 49px) !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}

footer .footer_inner .bottom .pagetop a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #003366 !important;
}

footer .footer_inner .bottom .pagetop a img {
  width: 55% !important;
  height: auto !important;
}

/* ==========================================================================
   フッター住所情報（.data）の表示崩れ修正
   ========================================================================== */
footer .footer_inner .top .left .data {
  display: block !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  color: #003366 !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
  letter-spacing: 0.1em !important;
  padding-left: 14px !important;
  margin: 0 !important;
  white-space: normal !important;
}

/* 住所内部の span 要素のスタイル適正化 */
footer .footer_inner .top .left .data span {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  display: inline !important;
}

/* 電話・FAX番号行（fn_medium） */
footer .footer_inner .top .left .data span.fn_medium {
  display: inline-block !important;
  margin-top: 6px !important;
  font-weight: 500 !important;
}

/* スマホ表示時（767px以下）の中央揃えと文字サイズ */
@media screen and (max-width: 767px) {
  footer .footer_inner .top .left .data {
    text-align: center !important;
    padding-left: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  footer .footer_inner .top .left .data span.fn_medium {
    display: block !important;
    margin-top: 8px !important;
  }
}

/* ==========================================================================
   最下部ティッカーアニメーション完全同期用スタイル
   ========================================================================== */
footer .footer_inner .bottom {
  display: flex !important;
  background-color: #cedae5 !important;
  overflow: hidden !important;
  height: clamp(40px, 5.7vw, 110px) !important;
  align-items: center !important;
}

/* Slickが動くように内部は block に戻す */
footer .footer_inner .bottom .slide {
  width: calc(100% - clamp(20px, 2.552%, 49px)) !important;
  margin-bottom: -0.253333em !important;
  display: block !important;
}

footer .footer_inner .bottom .slide .slick-list {
  margin: 0 calc(min(35.5729vw, 683px) * -1) 0 calc(min(8.4375vw, 162px) * -1) !important;
  overflow: hidden !important;
}

footer .footer_inner .bottom .slide .tx {
  margin: 0 min(1.1979vw, 23px) !important;
  white-space: nowrap !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: clamp(30px, 5.7vw, 110px) !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  line-height: 1.15 !important;
}

/* ==========================================================================
   下層ページ専用：最下部ティッカー無限スクロール（CSS完結型）
   ========================================================================== */
body:not(.home) footer .footer_inner .bottom {
  display: flex !important;
  background-color: #cedae5 !important;
  overflow: hidden !important;
  height: clamp(40px, 5.7vw, 110px) !important;
  align-items: center !important;
  position: relative !important;
}

body:not(.home) footer .footer_inner .bottom .slide {
  display: flex !important;
  width: max-content !important;
  animation: tickerLoop 25s linear infinite !important;
  will-change: transform !important;
}

body:not(.home) footer .footer_inner .bottom .slide:hover {
  animation-play-state: paused !important;
}

body:not(.home) footer .footer_inner .bottom .slide .tx {
  white-space: nowrap !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: clamp(30px, 5.7vw, 110px) !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  line-height: 1.15 !important;
  padding: 0 40px !important;
  display: inline-block !important;
}

body:not(.home) footer .footer_inner .bottom .pagetop {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: clamp(20px, 2.55%, 49px) !important;
  z-index: 10 !important;
}

body:not(.home) footer .footer_inner .bottom .pagetop a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  background-color: #003366 !important;
}

/* 無限ループキーフレーム */
@keyframes tickerLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   TOPのJS動的計算（ml, pl, f）を下層ページへ完全移植するスタイル
   ========================================================================== */
@media screen and (min-width: 768px) {

  /* 1. ヘッダーの右寄せナビゲーション全体 */
  header .header_row nav.pc_only {
    display: block !important;
  }
  header .header_row nav.pc_only > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: clamp(10px, 2.76vw, 53px) !important;
  }

  /* 2. 通常リンク（三輪器械について / 業務内容 / 企業情報） */
  header .header_row nav.pc_only > ul > li:not(.btnblock) {
    overflow: hidden !important;
    margin: 0 !important;
  }
  header .header_row nav.pc_only > ul > li.has-dropdown {
    overflow: visible !important;
  }
  header .header_row nav.pc_only > ul > li:not(.btnblock) > a {
    display: block !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #003366 !important;
    letter-spacing: 0.0625em !important;
    line-height: 1.4 !important;
    padding: 6px 0 !important;
  }

  /* 3. 採用情報ボタン（TOPの [ml="-21"] [pl="40"] [pr="10"] を直接CSS化） */
  header .header_row nav.pc_only > ul > li.btnblock.recruit {
    margin-left: calc(-21px * min(1, 100vw / 1920px)) !important; /* ← TOPのJS計算値 */
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }
  header .header_row nav.pc_only > ul > li.btnblock.recruit > a {
    width: clamp(100px, 11.4583vw, 220px) !important;
    height: clamp(30px, 3.125vw, 60px) !important;
    background-color: #27a7ad !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: clamp(20px, 2.08vw, 40px) !important; /* ← pl="40" */
    padding-right: 10px !important;                     /* ← pr="10" */
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 0.9375vw, 18px) !important;  /* ← f="18" */
    letter-spacing: 0.11em !important;                  /* ← ls="2" */
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    border: none !important;
  }

  /* 4. お問い合わせボタン（TOPの [ml="-43"] [pl="40"] [pr="10"] を直接CSS化） */
  header .header_row nav.pc_only > ul > li.btnblock.contact {
    margin-left: calc(-43px * min(1, 100vw / 1920px)) !important; /* ← TOPのJS計算値 */
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }
  header .header_row nav.pc_only > ul > li.btnblock.contact > a {
    width: clamp(120px, 13.5416vw, 260px) !important;
    height: clamp(30px, 3.125vw, 60px) !important;
    background-color: #707f9a !important;               /* ← TOP通りのカラー */
    color: #ffffff !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: clamp(20px, 2.08vw, 40px) !important; /* ← pl="40" */
    padding-right: 10px !important;                     /* ← pr="10" */
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 0.9375vw, 18px) !important;  /* ← f="18" */
    letter-spacing: 0.11em !important;                  /* ← ls="2" */
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    border: none !important;
  }

  /* 5. 白丸アイコンの比率・潰れ完全防止 */
  header .header_row nav.pc_only > ul > li.btnblock a .box {
    width: clamp(20px, 2.6vw, 50px) !important;
    height: clamp(20px, 2.6vw, 50px) !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  header .header_row nav.pc_only > ul > li.btnblock a .box .mask {
    width: 54% !important;
    aspect-ratio: 40 / 28 !important;
    display: block !important;
  }
  header .header_row nav.pc_only > ul > li.btnblock.recruit a .box .mask .arow {
    background-color: #003366 !important;
  }
  header .header_row nav.pc_only > ul > li.btnblock.contact a .box .mask .arow {
    background-color: #707f9a !important;
  }
}