@charset "UTF-8";

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

:root {
  --color-navy: #143f87;
  --color-blue: #608bc1;
  --color-black: #313131;
  --color-white: #fff;
  --color-gray: #d6d6d6;

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Figtree", sans-serif;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--color-black);
  line-height: 1.7;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

/* =========================
  Opening animation
========================= */

.opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

/* navy panels — full height with diagonal clip, used for the final split */
.opening-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-navy);
  z-index: 2;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
/* diagonal seam: left at 42%, right at 58% */
.opening-panel--top  {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 42%);
}
.opening-panel--bottom {
  top: 0;
  clip-path: polygon(0 42%, 100% 58%, 100% 100%, 0 100%);
}

/* gray background (phase 1) — フェードしない、円が物理的に覆う */
.opening-bg {
  position: absolute;
  inset: 0;
  background: #e8eaed;
  z-index: 3;
}

/* navy circle — グレー背景・ロゴより上で物理的に覆って飲み込む */
.opening-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vmax;
  height: 200vmax;
  border-radius: 50%;
  background: var(--color-navy);
  z-index: 5;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.6, 1);
}

/* logo — 円より下に配置。円が広がって物理的に覆う */
.opening-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
  animation: opening-logo-fadein 0.6s ease 0.2s forwards;
}
.opening-logo img {
  width: 160px;
  height: auto;
}

@keyframes opening-logo-fadein {
  to { opacity: 1; }
}

/* phase-circle: 円を拡張するだけ。背景・ロゴは円が物理的に覆う */
.opening-overlay.phase-circle .opening-circle {
  transform: translate(-50%, -50%) scale(1);
}

/* is-open: panels split */
.opening-overlay.is-open .opening-panel--top    { transform: translateY(-100%); }
.opening-overlay.is-open .opening-panel--bottom { transform: translateY(100%); }



/* =========================
  header
========================= */

.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 40px;
  padding-right: 0;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo a {
  display: block;
}

.header-logo img {
  display: block;
  width: 120px;
  height: auto;
}

.menu-btn {
  display: none;
}

.header-nav {
  display: flex;
  margin-left: auto;
}

.header-nav a {
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  position: relative;
  transition:
  background 0.3s ease,
  color 0.3s ease;
}

.header-nav a:hover {
  background: rgba(20, 63, 135, 0.08);
}

/* 下線アニメーション */
.header-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 2px;
  background: var(--color-navy);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 60%;
}

.header-contact {
  background: var(--color-navy);
  color: #fff;
  border-radius: 0;
}


/* =========================
  PC / SPナビ切り替え
========================= */

.header-nav-sp {
  display: none;
}

/* PCではPCナビを表示 */
.header-nav-pc {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 40px 0 0 40px;
  overflow: visible;
}

/* Dropdown nav */
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  display: flex;
  align-items: center;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(20, 63, 135, 0.14);
  padding: 16px 0 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
  white-space: nowrap;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
}

.submenu a::after {
  display: none;
}

.header-nav-pc a {
  padding: 20px 26px;
  color: #143f87;
  font-weight: 700;
}

.header-nav-pc .header-contact {
  background: var(--color-navy);
  color: #fff;
  padding: 20px 34px;
}

/* ハンバーガーもPCでは非表示 */
.menu-btn {
  display: none;
}


/* =========================
  footer
========================= */

.footer {
  background: var(--color-navy);
  color: #fff;
}

.footer-inner {
  display: flex;
  width: 100%;
}

.footer-left {
  position: relative;
  width: 33%;
  background: #f5f5f5;
  color: var(--color-navy);
  padding: 30px;
  display: flex;
  justify-content: center; 
  align-items: center;  
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

.footer-logo {
  width: 114px;
  margin-bottom: 46px;
  align-self: flex-start;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  background: #fff;
  color: var(--color-navy);
  padding: 16px 22px;
  border-radius: 999px;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  max-width: 245px;
  width: 100%;
}

.footer-btn .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 19px;
  background: var(--color-navy);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  transition: transform 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}

.footer-btn .arrow::before {
  content: "→";
  background: none;
  border: none;
}

.footer-btn:hover .arrow {
  transform: translateX(4px);
  background: #fff;
  color: var(--color-navy);
  box-shadow: inset 0 0 0 2px var(--color-navy);
}

.footer-illust {
  width: 50px;
  transform: translateX(30px) translateY(20px);
}

.footer-company {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-info {
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  overflow: visible;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.footer-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 500;
  color: var(--color-navy);
  font-size: 14px;
  transition: transform 0.25s, opacity 0.25s;
}

.footer-link:hover {
  transform: translateX(5px);
  opacity: 0.85;
}

.footer-company,
.footer-info,
.footer-link {
  text-align: left;
  width: 260px;
}

.footer-right {
  flex: 1;
  width: auto;
  display: flex;
  gap: 40px;
  padding: 60px;
}

.footer-col li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.footer-title a {
  display: inline-block;
  transition: transform 0.25s, opacity 0.25s;
}

.footer-title a:hover {
  opacity: 0.85;
  transform: translateX(5px);
}

.footer-title::before {
  content: "→";
  position: absolute;
  left: 0;
}

.footer-col a,
.footer-col a:visited {
  color: #fff;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-col li:not(.footer-title) {
  padding-left: 20px; 
}

.footer-col > ul + .footer-title {margin-top: 30px;}
.footer-title + .footer-title {margin-top: 20px;}

.footer-copy {
  writing-mode: vertical-rl;
  transform: rotate(180deg); 
  position: absolute;
  left: 4px;
  bottom: 50px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  z-index: 5;
  font-weight: 700;
}

/* common */
.d-inline-block {display: inline-block;}

/* .img-marker-01 {
	background-image: url(../img/common/img_line_deco_01.png);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 105px 17px;
	padding-bottom: 8px;
}

.img-marker-02 {
	background-image: url(../img/common/img_line_deco_02.png);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 244px 19px;
	padding-bottom: 8px;
} */

.img-marker-01,
.img-marker-02 {
  display: inline-block;
  position: relative;
  width: fit-content;
}
.img-marker-01::after,
.img-marker-02::after {
	position: absolute;
	z-index: -1;
	content: '';
  left: 50%;
  transform: translateX(-50%);
}

.img-marker-01::after {
	top: 100%;
	width: 190%;
	aspect-ratio: 105 / 17;
	background: url(../img/common/img_line_deco_01.png) no-repeat center center / contain;
}

.img-marker-02::after {
	top: 100%;
	width: 110%;
	aspect-ratio: 244 / 19;
	background: url(../img/common/img_line_deco_02.png) no-repeat center center / contain;
}


/* =========================
  Responsive
========================= */
/* pc only */
@media screen and (min-width: 768px){
	.sp-br{display: none!important;}
}

@media screen and (max-width: 1200px) {
  .header-nav-pc a {
    padding: 20px 20px;
  }
}


@media screen and (max-width: 1024px) {
  .header-inner {
    padding-left: 0;
  }

  .header-nav-pc a {
    padding: 20px 10px;
  }

  .header-nav-pc .header-contact {
    padding: 20px 10px;
  }

  .header-nav a {
    font-size: 13px;
  }


/* =========================
  footer
========================= */
.footer-menu {
  flex-direction: column;
  gap: 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
}

.footer-company {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-navy);
  text-align: left;
  margin-top: 0;
}

.footer-company img {
  width: 54px;
  flex-shrink: 0;
}

.footer-right {
  order: 1;
  width: 100%;
  background: var(--color-navy);
  color: #fff;
  padding: 40px 24px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  text-align: left;
  gap: 0;
}

.footer-right a,
.footer-right li,
.footer-right p {
  color: #fff;
}

.footer-company,
.footer-info,
.footer-link {
  margin: 0;
}

.footer-link {
  font-size: 12px;
  margin-top: 6px;
}

.footer-info {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 4px;
}

.footer-right ul {
  margin: 0;
}

.footer-right li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-title {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 13px;
}

.footer-left {
  order: 2;
  width: 100%;
  background: #F7F7F7;
  color: var(--color-navy);
  padding: 28px 28px 28px 30px;
  text-align: left;
  position: relative;
  display: block;    
  justify-content: unset;  
  align-items: unset; 
}

.footer-logo {
  width: 140px;
}

.footer-btn {
  padding: 10px 20px;
  margin: 0;
  font-size: 14px;
}

.footer-copy {
  position: absolute;
  right: 10px;   
  left: auto;    
  top: 20px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: none; 
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  white-space: nowrap;
}


.footer-illust {
  position: absolute;
  left: -90px;
  top: 190px;
  width: 50px;
  margin: 0;
  padding: 0;
  transform: none;
}

.footer-company {
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 0;
}

.footer-info {
  margin: 10px 0 0;
}

.footer-link {
  margin-top: 14px ;
}

}


/* =========================
   Scroll fade-in
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media screen and (max-width: 768px) {
	.pc-br{display: none!important;}

/* =========================
   header
========================= */

.header-logo img {
    width: 90px;
}
    
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
}

.header-inner {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav-pc {
  display: none;
}

.header-nav-sp .nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-nav-sp .nav-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.header-nav-sp .nav-title a,
.header-nav-sp a {
  display: block;
  transition: opacity 0.2s ease;
}

.header-nav-sp .nav-title a:hover,
.header-nav-sp a:hover {
  opacity: 0.7;
}

.header-nav-sp ul {
  margin: 0;
  background: rgba(0, 0, 0, 0.08);
}

.header-nav-sp li {
  margin: 0;
  padding: 0;
}

.header-nav-sp .nav-sub li a {
  display: block;
  padding: 13px 24px 13px 36px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* SP アコーディオン */
.nav-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 24px;
  min-height: 52px;
  cursor: pointer;
}

.header-nav-sp .nav-group:not(.has-children) .nav-title {
  padding: 0 24px;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.nav-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(-45deg) translate(-1px, 1px);
  transition: transform 0.3s ease;
}

.nav-group.is-open .nav-toggle::before {
  transform: rotate(45deg) translate(-1px, -1px);
}

.nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav-group.is-open .nav-sub {
  max-height: 500px;
}

.menu-btn {
  position: relative;
  display: flex;
  width: 30px;
  height: 20px;
  z-index: 300;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
  top: 4px;
}

.menu-btn span:nth-child(2) {
  bottom: 4px;
}

.menu-btn-close-icon {
  display: none;
  width: 28px;
  height: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0) invert(1);
}

.menu-btn.active span {
  opacity: 0;
}

.menu-btn.active .menu-btn-close-icon {
  display: block;
}


.sp-footer {
  position: relative;
  background: #F7F7F7;
  color: var(--color-navy);
  padding: 30px 40px;
  margin-top: 30px;
}

.sp-logo {
  width: 100px;
  margin-bottom: 16px;
}

.sp-company-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  background: #fff;
  color: var(--color-navy);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sp-btn .arrow {
  width: 14px;
  height: 20px;
  background: var(--color-navy);
  border-radius: 999px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-illust {
  width: 46px;
  flex-shrink: 0;
}

.sp-company {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}

.sp-info {
  font-size: 14px;
  line-height: 1.8;
}

.sp-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-navy);
}

.header-nav-sp .nav-group a {
  padding-left: 0;
  font-size: 15px;
}

.header-nav-sp {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: #6f8fbd;
  color: #fff;
  padding: 60px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 200;
}

.header-nav-sp.active {
  transform: translateX(0);
}

.nav-illust {
  position: absolute;
  right: 20px;
  top: -60px;
  width: 60px;
}

.nav-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #f5f5f5;
  padding: 12px 18px 18px;
}

.header-nav-sp .sp-btn .arrow {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-navy);
  position: relative;
  flex-shrink: 0;
}

.header-nav-sp .sp-btn .arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.header-nav-sp .sp-btn {
  max-width: 220px;
  width: 100%;
  min-height: 48px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy);
  box-sizing: border-box;
}


/* =========================
  footer
========================= */
.footer-right {
  flex-wrap: wrap;
}

.footer-left {
  padding: 28px 20px;
}

.footer-logo {
  margin-left: 0;
  margin-bottom: 30px;
}

.footer-btn {
  margin: 0;
}

.footer-btn + .footer-btn {
  margin-top: 16px;
}

.footer-illust {
  left: 0;
  top: 150px;
  width: 36px;
}

.footer-company {
  margin-top: 24px;
}

}


/* 20260527追記 */

.fade-in.fade-in-titleline {
  opacity: 1;
  transform: none;
  transition: unset;
}

.title-wrapper {
  position: relative;
}

.title-line {
  position: absolute;
  top: -20px;
  left: -24px;
  width: 46px;
  height: 40px;
}

.title-line #line_01 {
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  transition: stroke-dashoffset 0.4s ease;
}
.title-line #line_02 {
  stroke-dasharray: 11;
  stroke-dashoffset: 11;
  transition: stroke-dashoffset 0.4s ease;
}
.title-line #line_03 {
  stroke-dasharray: 21;
  stroke-dashoffset: 21;
  transition: stroke-dashoffset 0.4s ease;
}

/* .on付与で順番に表示 */
.fade-in.fade-in-titleline.is-visible.title-line #line_01 {
  stroke-dashoffset: 0;
  transition-delay: 0.5s;
}
.fade-in.fade-in-titleline.is-visible.title-line #line_02 {
  stroke-dashoffset: 0;
  transition-delay: 0.8s;
}
.fade-in.fade-in-titleline.is-visible.title-line #line_03 {
  stroke-dashoffset: 0;
  transition-delay: 1.1s;
}

@media screen and (max-width: 768px) {
  .title-line {
    top: -16px;
    left: -14px;
    width: 26px;
    height: 22px;
  }
}

/* =========================
  Fixed Recruit Banner
========================= */
.fixed-recruit-banner {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9999;
  opacity: 0;
  animation: bannerFadeIn 0.8s ease forwards;
  animation-delay: 4.5s;
}
@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 0.9; transform: translateY(0); }
}

.fixed-recruit-banner a {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fixed-recruit-banner a:hover {
  opacity: 0.85;
  transform: translateY(-4px);
}

.fixed-recruit-banner img {
  width: 320px;
  height: auto;
  display: block;
}

@media screen and (min-width: 769px) {
  .fixed-recruit-banner {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .fixed-recruit-banner {
    display: block;
    bottom: -8px;
    opacity: 0.9;
  }
  .fixed-recruit-banner img {
    content: url(../img/index/bnr_fix_sp.png);
    width: 80vw;
  }
}
@keyframes underline-expand-sm {
  from { background-size: 0% 4px; }
  to   { background-size: 100% 4px; }
}
@keyframes underline-expand-lg {
  from { background-size: 0% 7px; }
  to   { background-size: 100% 7px; }
}
.history-highlight {
  background-image: linear-gradient(rgba(240, 190, 80, 0.5), rgba(240, 190, 80, 0.5));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 4px;
}
.history-highlight.is-visible {
  animation: underline-expand-sm 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.about-lead .history-highlight,
.recruitment-lead .history-highlight {
  background-size: 0% 7px;
}
.about-lead .history-highlight.is-visible,
.recruitment-lead .history-highlight.is-visible {
  animation: underline-expand-lg 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}
