@charset "utf-8";

/* =====================================================
   Utilities
   - 小物ユーティリティ専用
===================================================== */


html {
  font-size: 10px;
  /*font-size: 0.5208333vw;*/
}
body {
  font-size: 1.6rem;
}
/* Hover（古い互換は削除） */
a:hover img { opacity: 0.8; }
:root {
  --white: #FFF;
  --red: #CA5454;
  --sub: #003F7E;
  --sub02: #AADFEF;
  --sub03: #007FFF;
  --txt: #333;
  --txt02: #222;
  --line: #E0E0E0;
  --bg: #738B8D;
  --bg02: #E2E8E9;
  --bg03: #C7D1D1;
  --bg04: #20445A;
  --bg05: #F4F7FB;
  --accent: #C2BB77;
  --accent02: #DDD163;
  --accent03: #9A902D;
  --border: #C7C7C7;
  --blue-gradient: linear-gradient(180deg, rgba(0, 63, 126, 0.24) 47%, #003F7E 95.67%);
  --blue-gradient-x: linear-gradient(254deg, #AADFEF 0.96%, #003F7E 98.94%);
  --year01: #72C1E5;
  --year03: #5DA8D1;
  --year05: #4B92BF;
  --year08: #3375A7;
  --year11: #1F5C92;
}
/* Margin Bottom */
.mb10 { margin-bottom: 1rem; }
.mb32 { margin-bottom: 3.2rem; }


/* Text Align */
.tal { text-align: left; }
.tac { text-align: center; }
.tar { text-align: right; }

/* Font weight / size */
.st { font-weight: 700; } /* bold固定に寄せる */

.fs16 { font-size: 16px; }
.fs18 { font-size: 18px; }
.fs20 { font-size: 20px; }
.fs22 { font-size: 22px; }
.fs24 { font-size: 24px; }

.fw300 { font-weight: 300; }
.fw400 { font-weight: 400; }
.fw500 { font-weight: 500; }
.fw600 { font-weight: 600; }
.fw700 { font-weight: 700; }
.fw800 { font-weight: 800; }

.f_noto {
  font-family: "Noto Serif JP", serif;
}
.f_notosan {
  font-family: "Noto Sans JP", sans-serif;
}
.f_cor {
  font-family: "Cormorant", serif;
}
.f_akatab {
  font-family: "Akatab", sans-serif;
}
.f_akasha {
  font-family: "Akshar", sans-serif;
}

/* Float（レガシー対応。新規ではflex/grid推奨） */
.fl { float: left; }
.fr { float: right; }

.relative {
  position: relative;
  z-index: 12;
}
/* Flex*/
.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex_not_justify {
  display: flex;
  flex-wrap: wrap;
}


#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* 最前面に */
  pointer-events: none; /* クリックを阻害しない */
  visibility: visible;
  transition: visibility 0.8s;
}
.loading_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--sub); /* サイトに合わせたメインカラー */
  transform: translateX(0);
}
body.is-loaded #loading {
  visibility: hidden;
}
body.is-loaded .loading_bg {
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
  transform: translateX(100%); /* 右へ消える */
}

#main {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.is-loaded #main {
  opacity: 1;
}

.lower_page h2 {
  position: relative;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.lower_page h2::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.6rem;
  margin: auto;
  width: 5.2rem;
  height: 0.1rem;
  background-color: var(--txt);
}
.lower_page h2.white::after {
  background-color: #fff;
}


/* リンク用 */
a {
  position: relative;
}
.link a,
.link button {
  display: block;
  padding: 0 1.4rem 2.4rem;
  width: 24rem;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 0.1rem solid var(--txt);
}
.link a::after,
.link button::after {
  content: '>';
  position: absolute;
  top: 27%;
  transform: translateY(-50%);
  right: 1.4rem;
  font-size: 1.6rem;
  transition: right .7s ease;
}
#recruit .link {
  margin-bottom: 2.5rem;
}
#recruit .link a {
  padding: 2.6rem 0 2.2rem 5.6rem;
  width: 32rem;
  color: var(--sub);
  font-size: 2rem;
  font-weight: 500;
  border-bottom: 0.2rem solid var(--sub);
  transition: background-color .7s;
}

#recruit .link a::after {
  content: '';
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.5rem;
  background: url(../../images/src/common/arrow_right_blue.svg) no-repeat right center / 100%;
}
#recruit .link a .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--sub);
  transition: width .4s ease;
  z-index: -1;
}




a[target="_blank"] {
  padding-right: 1.8rem;
}
a[target="_blank"]::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 1.4rem;
  height: 1.4rem;
  background: url(../../images/src/common/ico_blank.svg) no-repeat right center / 100%;
}

.ttl_en {
  margin-bottom: 1.6rem;
  color: var(--sub);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
}
.ttl_jp {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.31;
}
.txt {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
}

#lower_mv h1 {
  align-items: center;
}
#lower_mv h1 .ttl_en {
  display: block;
  font-size: 2.4rem;
  line-height: 1.25;
}
#lower_mv h1 .ttl_jp {
  font-size: 4.6rem;
  line-height: 0.91;
  letter-spacing: 0.1em;
}
#lower_mv .ttl_sub_en {
  position: absolute;
  right: 2rem;
  bottom: -8.3rem;
  color: var(--bg03);
  font-size: 19rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.12em;
  opacity: .48;
}
.lower_page .cta {
  bottom: 0;
}
.lower_page .cta h2::after {
  display: none;
}
.lower_page #footer {
  margin-top: -30.8rem;
}
/* wp-pagenavi */
.wp-pagenavi {
  margin-top: 11rem;
  display: flex;
  justify-content: center;
  gap: 0 3rem;
}
.wp-pagenavi span,
.wp-pagenavi a {
  padding: 0 0.6rem;
}
.wp-pagenavi .current {
  border-bottom: 1px solid var(--txt);
}
.wp-pagenavi a::before {
  content: "";
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  width: 100%;
  height: 0.0625rem;
  background-color: var(--txt);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: all 0.3s ease 0s;
}
#recruit .wp-pagenavi {
  gap: 0 1.5rem;
}
#recruit .wp-pagenavi span,
#recruit .wp-pagenavi a {
  padding: 0;
  width: 3.3rem;
  text-align: center;
  transition: .7s;
}
#recruit .wp-pagenavi .current {
  color: #fff;
  background-color: var(--sub);
  border: none;
}

#recruit .wp-pagenavi a::before {
  display: none;
}

.inner_wrap {
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
  width: 95%;
}
.inner_1600 {
  position: relative;
  margin: 0 auto;
  max-width: 1600px;
  width: 95%;
}
.inner_1440 {
  position: relative;
  margin: 0 auto;
  max-width: 1440px;
  width: 95%;
}
.inner_1360 {
  position: relative;
  margin: 0 auto;
  max-width: 1360px;
  width: 95%;
}
.inner_1300 {
  position: relative;
  margin: 0 auto;
  max-width: 1300px;
  width: 95%;
}
.inner_1280 {
  position: relative;
  margin: 0 auto;
  max-width: 1280px;
  width: 95%;
}
.inner_1200 {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  width: 95%;
}
.inner_952 {
  position: relative;
  margin: 0 auto;
  max-width: 952px;
  width: 95%;
}

.inner_800 {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  width: 95%;
}

/* ぱんくず */
.breadcrumbs {
  margin-top: 2.5rem;
  padding-left: 12rem;
  font-size: 1.4rem;
  font-weight: 500;
}
.breadcrumbs a {
  text-decoration: underline;
}
#recruit .breadcrumbs {
  display: flex;
  justify-content: end;
  margin: 2.4rem 20rem 0 auto;
  padding-left: 0;
  font-size: 1.6rem;
  font-weight: 400;
}
#recruit .breadcrumbs a {
  color: var(--sub);
}
#recruit .breadcrumbs span {
  margin: 0 0.3rem;
}

.navigation {
  align-items: center;
}
.navigation a {
  font-size: 1.5rem;
  font-weight: 400;
}
.navigation .prev,
.navigation .next {
  width: 10.3rem;
}
.navigation .prev a,
.navigation .next a {
  position: relative;
  display: block;
  width: 100%;
}
.navigation .prev a {
  padding-left: 6rem;
}
.navigation .next a {
  padding-right: 6rem;
}
.navigation .prev a::before,
.navigation .next a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 4.6rem;
  height: 4.6rem;
}
.navigation .prev a::before {
  left: 0;
  background: url(../../images/src/news/prev.svg) no-repeat left top / 100%;
  transition: left .7s;
}
.navigation .next a::before {
  right: 0;
  background: url(../../images/src/news/next.svg) no-repeat left top / 100%;
  transition: right .7s;
}
.navigation .back.link {
  width: 31.8rem;
}
.navigation .back.link a {
  justify-content: center !important;
  padding: 1.3rem 0 1.7rem !important;
  border: 0.1rem solid #545454 !important;
}


/*wysiwyg*/

.wysiwyg p {
  margin-bottom: 5rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.5;
}
dd.wysiwyg p {
  margin-bottom: 0;
}
.wysiwyg a {
  color: var(--sub);
  font-weight: 400;
  text-decoration: underline;
}
.wysiwyg h2 {
  position: relative;
  margin-bottom: 6.1rem;
  padding-bottom: 2.5rem;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.69;
}
.wysiwyg h2::before,
.wysiwyg h2::after {
  content: '';
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
}
.wysiwyg h2::before {
  width: 100%;
  height: 0.1rem;
  background-color: var(--bg03);
}
.wysiwyg h2::after {
  width: 18.75%;
  height: 0.2rem;
  background-color: var(--txt);
}
.wysiwyg h3 {
  margin-bottom: 3rem;
  padding: 1.3rem 2.6rem 1.7rem;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.72;
  border: 0.1rem solid var(--txt);
}
.wysiwyg h4 {
  margin-bottom: 1.7rem;
  padding-left: 1.7rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.7;
  border-left: 0.1rem solid var(--txt);
}
.wysiwyg ul,
.wysiwyg ol {
  margin-bottom: 4rem;
  list-style-type: none;
}
.wysiwyg li {
  position: relative;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.5;
}
.wysiwyg li + li {
  margin-top: 1.4rem;
}
.wysiwyg ul li {
  padding-left: 2rem;
}
.wysiwyg ul li::before {
  content: '';
  position: absolute;
  top: 1.8rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--txt);
}
.wysiwyg ol li {
  counter-increment: number;
  padding-left: 3.9rem;
}
.wysiwyg ol li::before {
  content: counter(number, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: "Cormorant", serif;
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}
table {
  width: 100%;
  border: 1px solid var(--bg03);
}
table td {
  padding: 3rem 4rem;
  border: 1px solid var(--bg03);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.5;
}
table td:first-child {
  font-weight: 500;
  background-color: var(--bg05);
}


.line {
  position: absolute;
  z-index: 100;
  display: inline-block;
  width: 800px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
}
.line {
    position: absolute;
    z-index: 100;
    display: inline-block;
    width: 800px;
    height: 0.2rem;
    overflow: hidden;
    border-radius: 2px;
}
.line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 2px;
  transform-origin: right;
  background-color: var(--white);
  -webkit-clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%);
  clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%);
}
.line.bright::before {
  background-color: rgba(255,255,255,.6);
}
.line.h1 {
  height: 0.1rem;
}
.line.h2 {
  height: 0.2rem;
}
.line.wide {
  width: 1000px;
}
.line.short {
  width: 800px;
}
.line_block .line-01 {
  top: 37.9rem;
  left: 14.5rem;
}
.line_block .line-02 {
  top: 40rem;
  left: 5.4rem;
}
.line_block .line-03 {
  top: 62.3rem;
  right: 7.5rem;
}
.line_block .line-04 {
  top: 63.7rem;
  right: 11.7rem;
}
.line_block .line-05 {
  top: 777rem;
  right: 27.8rem;
}
.line_block .line-05 {
  top: 79rem;
  right: 39.5rem;
}



/* 発火 */
.line_block.active .line::before {
  animation: line_deco 1.6s linear;
}

.line_block.load .line::before {
  animation: line_deco 1.6s linear;
}

/* 遅延 */
.line.delay-02 { animation-delay: 0.2s; }
.line.delay-03 { animation-delay: 0.3s; }
.line.delay-04 { animation-delay: 0.4s; }
.line.delay-05 { animation-delay: 0.5s; }

@keyframes line_deco {
  0% {  clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%); }
  10% {  clip-path: polygon(12% 0, 22% 0, 22% 100%, 12% 100%); }
  15% {  clip-path: polygon(35% 0, 70% 0, 70% 100%, 35% 100%); }
  20% {  clip-path: polygon(80% 0, 90% 0, 90% 100%, 80% 100%); }
  25% {  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  100% {  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } 
}


@media screen and (max-width: 1600px) {
  html {
    font-size: 0.625vw;
  }
  #lower_mv h1 .ttl_jp {
    font-size: 4.2rem;
    line-height: 0.91;
  }
  #lower_mv .ttl_sub_en {
    font-size: 17rem;
  }
}

@media screen and (max-width: 1180px) {
  .ttl_en {
    font-size: 2rem;
  }
  .txt {
    font-size: 2rem;
  }
  .link a,
  .link button {
    font-size: 1.8rem;
  }
  .service .parts .txt_bx {
    padding: 2rem 4rem;
  }
}


/* SP限定ユーティリティ（ブレークポイントは layout.css と同期） */
@media screen and (max-width: 828px) {
  body {
    line-height: 2;
    letter-spacing: 0.2em;
  }
  .sp_tac { text-align: center !important; }
  .sp_tar { text-align: right !important; }

  .sp_mb15 { margin-bottom: 15px !important; }
  .sp_mb20 { margin-bottom: 20px !important; }
  .sp_mb30 { margin-bottom: 30px !important; }
  .sp_mb40 { margin-bottom: 40px !important; }
  .sp_mb45 { margin-bottom: 45px !important; }
  .sp_mb50 { margin-bottom: 50px !important; }
  .sp_mb60 { margin-bottom: 60px !important; }
  .sp_mb70 { margin-bottom: 70px !important; }
  .sp_mb80 { margin-bottom: 80px !important; }
  .sp_mb90 { margin-bottom: 90px !important; }
  .sp_mb100 { margin-bottom: 100px !important; }

  .inner_1920,
  .inner_1600,
  .inner_1440,
  .inner_1360,
  .inner_1300,
  .inner_1280,
  .inner_1200,
  .inner_952,
  .inner_800 {
    max-width: initial;
    width: auto;
  }
  
  .ttl_en {
    margin-bottom: 1.932vw;
    font-size: 2.899vw;
  }
  .ttl_jp {
    font-size: 5.797vw;
  }
  .txt {
    font-size: 3.382vw;
  }
  .link a,
  .link button {
    display: block;
    padding: 0 3.382vw 5.797vw;
    width: 57.971vw;
    font-size: 3.382vw;
    letter-spacing: 0.1em;
    border-bottom-width: max(1px, 0.121vw);
  }
  .link a::after,
  .link button::after {
    right: 3.382vw;
    font-size: 2.865vw;
  }
  
  
  #recruit .link {
    margin-bottom: 2.5rem;
  }
  #recruit .link a {
    padding: 0 0 2.778vw 3.623vw;
    width: 100%;
    font-size: 3.382vw;
  }

  #recruit .link a::after {
    padding-left: 0;
    top: 34%;
    right: 2.415vw;
    width: 3.14vw;
    height: 2.536vw;
  }


  a[target="_blank"] {
    padding-right: 2.174vw;
  }
  a[target="_blank"]::after {
    width: 1.691vw;
    height: 1.691vw;
  }

  .lower_page .cta {
  }
  .lower_page #footer {
    margin-top: 0;
    top: 0;
  }
  
  #lower_mv h1 {
  }
  #lower_mv h1 .ttl_en {
    margin-bottom: 4.227vw;
    font-size: 4.106vw;
    line-height: .88;
  }
  #lower_mv h1 .ttl_jp {
    font-size: 7.005vw;
    line-height: 0.72;
  }
  #lower_mv .ttl_sub_en {
    right: 2.778vw;
    top: 45.29vw;
    bottom: auto;
    font-size: 18.116vw;
    text-align: right;
    line-height: .8;
    opacity: .48;
  }


  /* wp-pagenavi */
  .wp-pagenavi {
    margin: 19.324vw auto 21.739vw;
    gap: 0 5.918vw;
    font-size: 3.382vw;
  }
  #recruit .wp-pagenavi span,
  #recruit .wp-pagenavi a {
    width: 6.763vw;
  }
  /* ぱんくず */
  .breadcrumbs {
    margin-top: 8.696vw;
    padding-left: 5.314vw;
    font-size: 3.14vw;
  }

  #recruit .breadcrumbs {
    justify-content: start;
    flex-wrap: wrap;
    margin: 2.8vw 0 0 4.5vw;
    padding-left: 0;
    font-size: 3.14vw;
  }
  #recruit .breadcrumbs span {
    margin: 0 0.3rem;
  }
  
  .navigation .prev,
  .navigation .next {
    width: 19.324vw;
  }
  .navigation a {
    font-size: 3.382vw;
  }
  .navigation .prev a {
    padding-left: 9.662vw;
  }
  .navigation .next a {
    padding-right: 9.662vw;
  }
  .navigation .prev a::before,
  .navigation .next a::before {
    width: 7.7vw;
    height: 7.7vw;
  }
  .navigation .back.link {
    width: 38vw;
  }
  .navigation .back.link a {
    justify-content: left !important;
    padding: 2vw 0 2vw 4.71vw !important;
    border-width: 0.121vw !important;
  }
  

.lower_page h2 {
  font-size: 5.072vw;
  line-height: 1;
}
.lower_page h2::after {
  bottom: -3.382vw;
  width: 9.903vw;
  height: 0.121vw;
}
/*wysiwyg*/

.wysiwyg p {
  margin-bottom: 8.454vw;
  font-size: 3.382vw;
  line-height: 2.28;
}
.wysiwyg h2 {
  margin-bottom: 9.662vw;
  padding-bottom: 4.831vw;
  font-size: 4.589vw;
  line-height: 1.73;
}
.wysiwyg h2::before {
  height: 0.121vw;
}
.wysiwyg h2::after {
  bottom: -0.121vw;
  width: 20.55%;
  height: 0.242vw;
}
.wysiwyg h3 {
  margin-bottom: 7.246vw;
  padding: 3.623vw 3.623vw 4.106vw;
  font-size: 4.106vw;
  line-height: 1.76;
  border-width: 0.121vw;
}
.wysiwyg h4 {
  margin-bottom: 6.039vw;
  padding-left: 4.227vw;
  font-size: 3.865vw;
  line-height: 1.87;
  border-left-width: 0.242vw;
}
.wysiwyg ul,
.wysiwyg ol {
  margin-bottom: 8.454vw;
}
.wysiwyg li {
  font-size: 3.382vw;
  line-height: 1.85;
}
.wysiwyg li + li {
  margin-top: 2.657vw;
}
.wysiwyg ul li {
  padding-left: 4.797vw;
}
.wysiwyg ul li::before {
  top: 2.815vw;
  width: 1.449vw;
  height: 1.449vw;
}
.wysiwyg ol li {
  padding-left: 6.28vw;
}
.wysiwyg ol li::before {
  top: 0.1rem;
  font-size: 4.831vw;
}
table {
  width: 100%;
  border: none;
}
table tr,
table td  {
  height: auto !important;
}
table td {
  display: block;
  width: 100% !important;
  padding: 4.106vw 4.348vw;
  border-width: 0.121vw;
  font-size: 3.382vw;
  line-height: 1.42;
}
table td {
  border-bottom: none;
}
table tr:last-child td:last-child {
  border-bottom: 0.121vw solid var(--bg03);
}






}

/* pcのみのhoverアクションはここ */
@media (hover: hover) and (pointer: fine) {
  
  .link a:hover::after,
  .link button:hover::after {
    right: 0;
  }
  .navigation .prev a:hover::before {
    left: -1rem;
  }
  .navigation .next a:hover::before {
    right: -1rem;
  }
  #recruit .link a:hover .bg {
    width: 100%;
  }
  
  #recruit .link a:hover {
    color: #fff;
  }
  .wp-pagenavi a:hover::before {
    transform: scale(1, 1);
  }
  #recruit .wp-pagenavi a:hover {
    color: #fff;
    text-align: center;
    background-color: var(--sub);
  }
}