@charset "utf-8";

/* カラー設定 */
:root {
	--color-primary: #0148AB;
	--color-secondary: 240, 171, 165;
	--color-back: #232F36;
	--color-black: #232F36;
	--color-white: #fff;
	--color-red: #C41818;
  --color-bg-orange: #FFF6ED;
  --color-bg-gray: #F5F5F5;
  --color-bg-blue: #E8F3FA;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Be Vietnam Pro", sans-serif;
}

input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

html {
  font-size: 62.5%;
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  font-size: 1.6rem;
  font-family: var(--font-jp);
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  color: var(--color-black);
  /* -webkit-font-feature-settings: 'palt' 1;
  font-feature-settings: 'palt' 1;
  -webkit-text-size-adjust: 100%; */
  height: 100%;
  line-height: 1;
  overflow-x: hidden;
}

b, strong {
  font-family: var(--font-jp);
}

a {
  display: inline-block;
  text-decoration: none;
  color: #19161C;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

button {
  font-family: var(--font-jp);
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.c-heading {
  position: relative;
  display: flex;
  flex-direction: column;
}

.c-heading.-row {
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}

.c-heading::after {
  position: absolute;
  left: 0;
  bottom: -30px;
  content: '';
  width: 36px;
  height: 2px;
  background-color: #006DBD;
}

.c-heading.-bordernone::after {
  content: none;
}

.c-heading.-white::after  {
  background-color: var(--color-white);
}

.c-heading.-center {
  align-items: center;
}

.c-heading__jp {
  margin-top: 15px;
  font-family: var(--font-jp);
  font-weight: 600;
}

.c-heading.-row .c-heading__jp {
  margin-top: auto;
  margin-bottom: 12px;
}

.c-heading__en {
  color: #006DBD;
  font-family: var(--font-en);
  font-size: 5rem;
  line-height: 1.3;
}

.c-heading.-white .c-heading__jp,
.c-heading.-white .c-heading__en {
  color: var(--color-white);
}

.c-heading.-white .c-heading__en.-blue {
  color: #006DBD;
}

@media screen and (max-width: 767px) {
  .c-heading__en {
    font-size: 3.5rem;
  }

  .c-heading.-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .c-heading.-row .c-heading__jp {
    margin-top: 15px;
    margin-bottom: auto;
  }
}

@media screen and (max-width: 479px) {

}


.c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  width: 220px;
  height: 50px;
  background-color: transparent;
  border: 1px solid #727272;
  border-radius: 100vmax;
  position: relative;
}

.c-btn__text {
  color: #232F36;
  font-size: 1.5rem;
  font-weight: bold;
  padding-bottom: 2px;
}


.btn-arrow {
  position: absolute;
  width: 10px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;

  width: 7px;
  height: 8px;

  background-color: #232F36; /* 通常色 */

  /* Safari対策含む（重要） */
  -webkit-mask: url("../images/btn_arrow.svg") no-repeat center / contain;
  mask: url("../images/btn_arrow.svg") no-repeat center / contain;

  transition: 0.3s;
}

.c-btn:hover .btn-arrow {
  transform: translate(4px, -50%); /* 少し右に動かす（おすすめ） */
}


.c-btn.-white {
  border: 1px solid var(--color-white);
}

.c-btn.-white .c-btn__text {
  color: var(--color-white);
}

.c-btn.-white .btn-arrow,
.c-btn.-grade .btn-arrow {
  background-color: var(--color-white);
}

.c-btn.-grade {
  border: none;
  background-image: linear-gradient(90deg, #1384D6, #0148AB);
}

.c-btn.-large {
  margin-inline: auto;
  width: 100%;
  max-width: 500px;
  height: 80px;
}

.c-btn.-large .c-btn__text {
  font-size: 2rem;
}

.c-btn.-grade .c-btn__text {
  color: var(--color-white);
}

@media screen and (max-width: 767px) {
  .c-btn {
    max-width: 320px;
    width: 100%;
  }

  .c-btn.-large {
    max-width: 360px;
    height: 70px;
  }

  .c-btn.-large .c-btn__text {
    font-size: 1.6rem;
  }
}

.c-menuBtn {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1103;
}

.c-menuBtn__trigger,
.c-menuBtn__trigger span {
  display: inline-block;
  transition: all 0.25s;
  box-sizing: border-box;
}

.c-menuBtn__trigger {
  cursor: pointer;
  position: relative;
  width: 80px;
  height: 80px;
  background-color: #0347A6;
}

.c-menuBtn__trigger span:nth-of-type(1),
.c-menuBtn__trigger span:nth-of-type(2),
.c-menuBtn__trigger span:nth-of-type(3) {
  position: absolute;
  width: 28px;
  height: 2px;
  left: 26px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.c-menuBtn__trigger span:nth-of-type(1) {
  top: 30px;
}

.c-menuBtn__trigger span:nth-of-type(2) {
  top: 39px;
}

.c-menuBtn__trigger span:nth-of-type(3) {
  top: 48px;
}

.open .c-menuBtn__trigger span:nth-of-type(1) {
  -webkit-transform: translateY(9px) rotate(-45deg);
  transform: translateY(9px) rotate(-45deg);
}

.open .c-menuBtn__trigger span:nth-of-type(2) {
  opacity: 0;
}

.open .c-menuBtn__trigger span:nth-of-type(3) {
  -webkit-transform: translateY(-9px) rotate(45deg);
  transform: translateY(-9px) rotate(45deg);
}

@media screen and (max-width: 1079px) {
  .c-menuBtn {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .c-menuBtn__trigger {
    width: 64px;
    height: 64px;
  }

  .c-menuBtn__trigger span:nth-of-type(1),
  .c-menuBtn__trigger span:nth-of-type(2),
  .c-menuBtn__trigger span:nth-of-type(3) {
    left: 18px;
  }

  .c-menuBtn__trigger span:nth-of-type(1) {
    top: 21px;
  }

  .c-menuBtn__trigger span:nth-of-type(2) {
    top: 31px;
  }

  .c-menuBtn__trigger span:nth-of-type(3) {
    top: 41px;
  }

  .open .c-menuBtn__trigger span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
  }

  .open .c-menuBtn__trigger span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
  }
}

.c-contactBtn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0347A6;
}

.p-contactBtn__icon {
  width: 20px;
}

.p-contactBtn__text {
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-white);
}

@media screen and (max-width: 1079px) {
  .c-contactBtn {
    padding: 20px;
    flex-direction: row;
    border-radius: 5px;
    gap: 10px;
  }

  .p-contactBtn__icon {
    width: 20px;
  }

  .p-contactBtn__text {
    margin-top: 0;
    padding-bottom: 2px;
    font-size: 1.6rem;
  }
}

.p-menu {
  display: none;
  position: fixed;
  background-color: rgba(178, 222, 248, .95);
  top: 0;
  padding: 120px 100px 140px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  z-index: 1005;
  -webkit-overflow-scrolling: touch;
}

.p-menu__inner {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.p-menu__list {
  display: flex;
  flex-direction: column;
}

.p-menu__item:not(:last-child) {
  border-bottom: 1px solid var(--color-white);
}

.p-menu__link {
  padding: 20px;
  position: relative;
  line-height: 1.3;
  font-size: 2rem;
  font-weight: 700;
  transition: .25s;
}

.p-menu__contact {
  margin-top: 20px;
}

.open .p-menu {

}
.p-subMenu {
  margin-bottom: 20px;
}

.p-subMenu__link {
  font-size: 1.8rem;
  padding: 10px 10px 10px 20px;
}


@media screen and (max-width: 767px) {
  .p-menu {
    padding: 120px 0 140px;
  }

  .p-menu__list {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-menu__link {
    font-size: 1.8rem;
  }
  .p-menu__contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-subMenu__link {
    font-size: 1.6rem;
  }
}

.p-header {

}

.p-header__inner {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 94px;
  padding: 0 0 0 40px;
  z-index: 1102;
  background-color: var(--color-white);
}

.p-header__container { 
  display: flex;
  align-items: center;
}

.p-header__logo {
  margin-right: 30px;
}

.p-header__logoLink {
  display: flex;
}

.p-header__logoImg {
  width: 438px;
}

.p-globalNav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-right: 40px;
}

.p-globalNav__item {
  position: relative;
}

.p-globalNav__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2px;
  right: -17px;
  width: 7px;
  height: 15px;
  background-image: url('../images/gnav_line.svg');
  background-size: 7px 15px;
  background-repeat: no-repeat;
}


.p-globalNav__link {
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-black);
}

/* 下線 */
.p-globalNav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* ホバー時 */
.p-globalNav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left; /* ← 左から右へ伸びる */
}

.p-globalSubNav {
  position: absolute;
  top: 100%;
  left: -38px;
  min-width: 140px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: all 0.3s ease;
}

.p-globalSubNav__list {
  width: 140px;
  margin-top: 15px;
  padding: 15px 0px;
  background: #0C71BB;
}

/* ホバーで表示 */
.p-globalNav__item:hover .p-globalSubNav {
  display: block;
    opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* サブメニューの見た目 */
.p-globalSubNav__link {
  width: 100%;
  padding: 5px 20px;
  color: var(--color-white);
}

.p-header__contact {
  width: 120px;
  height: 94px;
  background-color: ;
}

@media screen and (max-width:  1279px) {
  .p-header__inner {
    padding: 0 0 0 40px;
  }

  .p-globalNav__item:not(:last-child)::after {
    right: -11px;
  }

  
  .p-header__logo {
    margin-right: 15px;
  }

  .p-globalNav__list {
    gap: 10px 15px;
    margin-right: 20px;
  }

  .p-globalNav__link {
    font-size: 1.5rem;
  }

  .p-header__logoImg {
    width: 360px;
  }
}

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

  .p-header__inner {
    width: 100%;
    height: 80px;
    padding: 0 0 0 30px;
  }

  .p-header__contact {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .p-header__inner {
    height: 64px;
    padding: 0 0 0 10px;
  }

  .p-header__logo {
    margin-right: 84px;
  }

  .p-header__logoImg {
    width: 280px;
  }
}

.p-mv {
  padding-top: 94px;
  position: relative;
  overflow: hidden;
}

.p-recruitBtn {
  top: 134px;
  right: 40px;
  width: 184px;
  height: 184px;
  position: absolute;
  z-index: 4;
}

.p-recruitBtn__link {
  transition: .25s;
}

.p-recruitBtn__link:hover {
  transform: scale(1.05);
}

.p-page .p-recruitBtn {
  top: 284px;
}

.p-recruitBtn__inner {
  position: relative;
}

.p-recruitBtn__img {
  width: 100%;
  animation: rotate 20s linear infinite;
}

.p-recruitBtn__text {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-white);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.p-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 94px);
  height: calc(100svh - 94px);
}

.p-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba( 0, 0, 0, .2);
  z-index: 2;
}

/* ===== スライド ===== */
.p-slider .swiper-slide {
  overflow: hidden;
}

.p-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 5s linear;
}

/* アクティブ時に縮小 */
.p-slider .swiper-slide-active img {
  transform: scale(1);
}

/* アニメーション定義 */
@keyframes mv-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.p-mv__textWrapper {
  display: grid;
  place-items: center;
  width: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: 3;
  
  /* 初期状態 */
  opacity: 0;
  
  /* アニメーション */
  animation: mv-fade-in 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;

  /* ディレイ */
  animation-delay: 1s;
  
}

.p-mv__text {
  position: relative;
  color: var(--color-white);
  font-weight: bold;
  font-style: italic;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 6.25vw, 9rem);
  z-index: 3;
}

.p-mv__textInner {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.p-mv__textInner.is-active {
  animation: mvTextIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes mvTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width:  1279px) {

}

@media screen and (max-width:  1079px) {
  .p-mv {
    padding-top: 80px;
    position: relative;
  }

  .p-mvImg__img {
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
  }

  .p-slider {
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
  }

}

@media screen and (max-width:  959px) {
  .p-recruitBtn {
    top: 120px;
    width: 134px;
    height: 134px;
  }

  .p-recruitBtn__text {
    font-size: 1.8rem;
  }

  .p-page .p-recruitBtn {
    top: 220px;
  }
}

@media screen and (max-width: 767px) {
  .p-mv {
    padding-top: 64px;
  }

  .p-slider {
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
  }

  .p-mvImg__img {
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
  }

  .p-mv__text {
    position: relative;
    color: var(--color-white);
    font-weight: bold;
    font-style: italic;
    font-size: clamp(1.6rem, 14vw, 6rem);
    z-index: 3;
  }

  .p-recruitBtn {
    top: 84px;
    right: 20px;
  }

  .p-page .p-recruitBtn {
    top: 260px;
    right: 20px;
  }
}

@media screen and (max-width: 479px) {
  .p-mv,
  .p-mvImg__img {

  }
}

.p-lead {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url(../images/top_lead_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p-lead__inner {
  padding-right: 40px;
  padding-left: 40px;
}

.p-lead__heading {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.5;
  color: #0148AB;
  text-align: center;
}

.p-lead__body {
  margin-top: 60px;
}

.p-lead__text {
  font-weight: 2rem;
  line-height: 2;
  text-align: center;
}

.p-lead__text + .p-lead__text {
  margin-top: 40px; 
}
@media screen and (max-width: 1079px) {

}

@media screen and (max-width: 767px) {
  .p-lead__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-lead__heading {
    font-size: 2.8rem;
  }

  .p-lead__text {
    font-weight: 1.6rem;
    text-align: left;
  }
}

.p-pageService__marquee {
  padding-bottom: 30px;
}

.p-pageRecruit__marquee {
  margin-top: 80px;
}

.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  z-index: 10;
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 160s linear infinite;
}

.marquee__text {
  display: inline-block;
  margin-right: 0.5em;
  color: #F7F7F7;
  font-weight: bold;
  font-style: italic;
  font-family: var(--font-en);
  font-size: clamp(5rem, 6.25vw, 9rem);
  font-weight: bold;
  font-family: var(--font-en);
  mix-blend-mode: multiply;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 959px) {
  .p-pageService__marquee {
    margin-top: -20px;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .marquee__inner {
    animation: marquee 120s linear infinite;
  }
}

.p-topNews {
  background-color: #F5F5F5;
}

.p-topNews__inner {
  padding: 60px 40px 80px;
}

.p-topNews__contents {
  display: flex;
  margin-inline: auto;
  max-width: 1200px;
}

.p-topNews__body {
  width: 100%;
}

.p-topNews__header {
  margin-right: 120px;
  margin-top: 20px;
  flex-shrink: 0;
}

.p-topNews__btn {
  margin-top: 70px;
}

.p-news {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -50px;
}

.p-news__noItem {
  width: 100%;
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}

.p-news__item {
  width: 31.1111111%;
  margin-right: 3.3333333%;
  margin-bottom: 50px;
}

.p-news__item:nth-of-type(3n) {
  margin-right: 0;
}

.p-news__link {
  width: 100%;
  transition: .25s;
}

.p-news__imgWrapper {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}

.p-news__imgWrapper img {
  width: 100%;
  height: 100%;
  transition: .25s;
}

.p-news__link:hover .p-news__imgWrapper img {
  transform: scale(1.05); 
}

.p-news__body {
  margin-top: 10px;
}

.p-news__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.p-news__date {
  color: #0C71BB;
  font-size: 1.6rem;
}

.p-news__catList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-news__catListItem {
  display: inline-block;
  padding: 4px 10px 5px;
  font-size: 1.2rem;
  background-color: #B5D9F3;
  border-radius: 100vh;
}

.p-news__title {
  margin-top: 5px;
  font-size: 1.4rem;
  line-height: 1.5;
  transition: .25s;
}

.p-news__link:hover .p-news__title {
  color: #0C71BB;
}

@media screen and (max-width: 1079px) {
  .p-topNews__contents {
    display: block;
  }
}

@media screen and (max-width: 959px) {
  .p-news__item {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 50px;
  }

  .p-news__item:nth-of-type(3n) {
    margin-right: 4%;
  }

  .p-news__item:nth-of-type(2n) {
    margin-right: 0;
  }

  .p-topNews__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 0;
    margin-top: 0;
  }

  .p-topNews__btn {
    margin-top: 0;
  }

  .p-topNews__body {
    margin-top: 6ch;
  }
}

@media screen and (max-width: 767px) {
  .p-topNews__inner {
    padding: 40px 20px;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .p-topNews__btn {
    margin-top: 40px;
    display: grid;
    place-items: center;
  }

  .p-news {
    display: block;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .p-news__item {
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
  }

  .p-news__item:nth-of-type(3n),
  .p-news__item:nth-of-type(2n) {
    margin-right: auto;
  }

  .p-news__item:not(:first-child) {
    margin-top: 30px;
  }

  .p-news__item.-pc {
    display: none;
  }

  .p-news__link {
    display: block;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .p-news__imgWrapper {
    border-radius: 12px;
  }

  .p-news__link:hover .p-news__imgWrapper img {
    transform: scale(1.02); 
  }

  .p-news__date {
    font-size: 1.4rem;
  }

  .p-news__title {
    font-size: 1.5rem;
  }
  
}


.p-topService {
  display: grid;
  place-items: center;
  margin-top: 90px;
  padding-right: 40px;
  padding-left: 40px;
}

.p-topService__inner {
  padding: 40px;
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 510px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-topService__contents {
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.p-topService__bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 120%;
  background: url(../images/top_service_bg.jpg) center / cover no-repeat;
  will-change: transform;
  z-index: 1;
  filter: brightness(90%);
}

.p-topService__lead {
  margin-top: 60px;
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-topService__text {
  margin-top: 20px;
  color: var(--color-white);
  font-weight: 500;
  line-height: 1.75;
}

.p-topService__btn {
  margin-top: 20px;
}

@media screen and (max-width: 1079px) {
  .p-topService__contents {
    max-width: none;
  }

  .p-topService__btn {
    display: grid;
    place-items: center;
  }
}

@media screen and (max-width: 767px) {
  .p-topService {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-topService__inner {
    padding: 50px 20px 40px;
    height: auto;
  }
}

.p-topWorks {
  display: grid;
  place-items: center;
  margin-top: 90px;
  padding-right: 40px;
  padding-left: 40px;
}

.p-topWorks__inner {
  width: 100%;
  max-width: 1240px;
}

.p-topWorks__contents {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .p-topWorks {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.p-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

/* カード本体 */
.p-card__item {
  position: relative;
}

/* リンク全体をカード化 */
.p-card__link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

/* 画像 */
.p-card__imgWrapper {
  aspect-ratio: 402 / 467;
  overflow: hidden;
}

.p-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

/* オーバーレイ */
.p-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: 0.25s;
}

/* テキスト */
.p-card__body {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
}

.p-card__num {
  font-size: 1.8rem;
  font-family: var(--font-en);
  font-weight: 600;
}

.p-card__title {
  margin-top: 5px;
  font-size: 3.2rem;
  font-weight: bold;
}

.p-card__text {
  margin-top: 15px;
  font-size: 1.4rem;
  line-height: 1.5;
}

.p-card__link:hover .p-card__img {
  transform: scale(1.08);
}

.p-card__link:hover::before {
 opacity: 0.8;
}

@media (max-width: 959px) {
  .p-card {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 767px) {
  .p-card__title {
    font-size: 2.6rem;
  }

  .p-card__body {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
}

.p-topRecruit {
  display: grid;
  place-items: center;
  margin-top: 90px;
}

.p-topRecruit__inner {
  padding: 40px;
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.p-topRecruit__media {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  gap: 40px;
}

.p-topRecruit__contents {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.p-topRecruit__imgWrapper {
  margin-top: auto;
  margin-bottom: -40px;
  max-width: 670px;
  position: relative;
  z-index: 2;
}

.p-topRecruit__bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 120%;
  background: url(../images/top_recruit_bg.jpg) center / cover no-repeat;
  will-change: transform;
  z-index: 1;
}

.p-topRecruit__lead {
  margin-top: 60px;
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-topRecruit__text {
  margin-top: 20px;
  color: var(--color-white);
  font-weight: 500;
  line-height: 1.75;
}

.p-topRecruit__btn {
  margin-top: 20px;
}

@media screen and (max-width: 1079px) {
  .p-topRecruit__media {
    flex-direction: column;
  }

  .p-topRecruit__contents {
    max-width: none;
  }

  .p-topRecruit__imgWrapper {
    max-width:  none;
  }

  .p-topRecruit__btn {
    display: grid;
    place-items: center;
  }
}

@media screen and (max-width: 767px) {
  .p-topRecruit__inner {
    padding: 50px 20px 40px;
  }
}


.p-topCompany {
  display: grid;
  place-items: center;
  margin-top: 90px;
  padding-right: 40px;
  padding-left: 40px;
}

.p-topCompany__inner {
  padding: 40px;
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 510px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-topCompany__contents {
  max-width: 430px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.p-topCompany__bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 120%;
  background: url(../images/top_company_bg.jpg) center / cover no-repeat;
  will-change: transform;
  z-index: 1;
  filter: brightness(90%);
}

.p-topCompany__lead {
  margin-top: 60px;
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-topCompany__text {
  margin-top: 60px;
  color: var(--color-white);
  font-weight: 500;
  line-height: 1.75;
}

.p-topCompany__btn {
  margin-top: 20px;
}

@media screen and (max-width: 1079px) {
  .p-topCompany__contents {
    max-width: none;
  }

  .p-topCompany__btn {
    display: grid;
    place-items: center;
  }
}

@media screen and (max-width: 767px) {
  .p-topCompany {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-topCompany__inner {
    padding: 50px 20px 40px;
    height: auto;
  }
}

.p-company {
  position: relative;
  padding: 120px 40px 220px;
}

.p-company::before {
  position: absolute;
  right: 0;
  top: 80px;
  content: '';
  width: 289px;
  height: 139px;
  background-image: url('../images/wagara02.png');
  background-size: 289px 139px;
  background-repeat: no-repeat;
}

.p-company::after {
  position: absolute;
  left: 0;
  bottom: 40px;
  content: '';
  width: 288px;
  height: 142px;
  background-image: url('../images/wagara03.png');
  background-size: 288px 142px;
  background-repeat: no-repeat;
}

.p-company__inner {
  margin-inline: auto;
  width: 100%;
  max-width: 1200px;
}

.p-companyList {
  margin-top: 60px;
  line-height: 1.6;
}

.p-companyList__dt {
  font-weight: normal;
}

.p-companyList__dd {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  gap: 0 1em;
}

.p-companyList__dd {
  
}

.p-companyMedia {
  display: flex;
  max-width: 1000px;
  margin-inline: auto;
  gap: 60px;
}

.p-companyMedia__title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.75;
}

.p-companyMedia__text {
  margin-top: 25px;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2;
}

.p-companyMedia__name {
  margin-top: 25px;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: right;
}

.p-companyMedia__imgWrapper {
  max-width: 260px;
  width: 26%;
  flex-shrink: 0;
}

@media screen and (max-width: 959px) {
  .p-companyMedia {
    flex-direction: column;
    align-items: center;
  }

  .p-companyMedia__imgWrapper {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .p-company {
    padding: 80px 20px 120px;
  }

  .p-company::before {
    position: absolute;
    right: 0;
    top: 70px;
    width: 114px;
    height: 64px;
    background-size: contain;
  }

  .p-company::after {
    bottom: 20px;
    width: 138px;
    height: 66px;
    background-size: contain;
  }

  .p-companyMedia__title {
    font-size: 2.8rem;
  }
}

.p-history {
  position: relative;
  background-color: rgba( 24, 127, 196, .2);
}

.p-history .bg-image-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  clip-path: inset(0);
  z-index: -1;
}

.p-history .bg-image-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url(../images/company01.jpg);
  filter: grayscale(100%);
  opacity: .1;
}

.p-history__inner {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 1280px;
  padding: 80px 40px;
}

.p-history__imgWrapper {
  position: absolute;
  top: 160px;
  left: 40px;
  width: 39%;
}

.p-history__contents {
  margin-left: 49%;
}

.p-history__table {
  margin-inline: auto;
  width: 100%;
  margin-top: 40px;
}

.p-table {
  width: 100%;
}

.p-table__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-table__item {
  display: flex;
  line-height: 1.5;
}

.p-table__item:not(:first-child) {
  padding-top: 10px;
}

.p-table__heading {
  width: 160px;
  height: 100%;
  flex-shrink: 0;
  font-weight: normal;
}

.p-table__text {
  height: 100%;
  flex: 1;
}

.p-table__item:first-child .p-table__text:has(ruby) {
  margin-top: -4px;
}

.p-table__text ul {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  gap: 5px;
}

@media screen and (max-width: 959px) {
  .p-history__imgWrapper {
    margin-top: 40px;
    margin-inline: auto;
    position: static;
    width: 100%;
    max-width: 400px;
  }

  .p-history__contents {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .p-history__inner {
    padding: 60px 20px;
  }

  .p-table__item {
    flex-direction: column;
    font-size: 1.4rem;
  }
}

.p-business {
  position: relative;
  padding: 120px 40px 0;
  background-image: url(../images/business_bg.png);
  background-repeat: no-repeat;
  background-size: 1024px 694px;
  background-position: top right;
}

.p-business__inner {
  margin-inline: auto;
  width: 100%;
  max-width: 1200px;
}

.p-business__text {
  margin-top: 60px;
  max-width: 540px;
  line-height: 2.5;
}

.p-businessList {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10%;
}

.p-businessList__item {
  width: 50%;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba( 0, 0, 0, .4);
}

.p-businessList__heading {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 40px;
  translate: 0 -50%;
}

.p-businessList__headingEn {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-red);
}

.p-businessList__headingJp {
  margin-top: 10px;
  font-weight: 600;
  font-size: 2.8rem;
  color: var(--color-white);
}

@media screen and (max-width: 959px) {
  .p-business__text {
    max-width: none;
  }

  .p-businessList {
    gap: 40px;
  }
  
  .p-businessList__heading {
    left: 30px;
  }

  .p-businessList__headingEn {
    font-size: 1.6rem;
  }

  .p-businessList__headingJp {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 767px) {
  .p-business {
    padding: 120px 20px 0;
  }

  .p-businessList {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }

  .p-businessList__item {
    width: 100%;
    max-width: 360px;
  }
}

.p-facility {
  margin-top: 80px;
}


.equipment {
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
  color: #000;
}

.equipment__title {
  position: relative;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  color: var(--color-primary);
}

.equipment__title::after {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  content: '';
  width: 126px;
  height: 1px;
  background-color: var(--color-primary);
}

.equipment__table {
  margin-top: 40px;
  width: 100%;
  border-collapse: collapse;
}

.equipment__header,
.equipment__cell {
  border: 1px solid var(--color-primary);
  padding: 6px 8px;
  font-size: 1.4rem;
  line-height: 1.4;
}

.equipment__header {
  color: var(--color-white);
  background-color: var(--color-primary);
  font-weight: bold;
}

.equipment__cell--category {
  font-weight: bold;
  white-space: nowrap;
}

.equipment__header--qty,
.equipment__cell--qty {
  text-align: right;
  width: 60px;
}

@media screen and (max-width: 767px) {
  .equipment__header,
  .equipment__cell {
    font-size: 1.3rem;
  }
}

.p-pageMedia {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.p-pageMedia__body {
  width: 580px; /* ←固定にする（おすすめ） */
  flex-shrink: 0;
}

.p-pageMedia__imgWrapper {
  flex: 1; /* ←残り全部使う */
  margin-right: calc(50% - 50vw);
}

.p-pageMedia__img {
  width: 100%;
  height: auto;
  display: block;
}

.p-pageMedia__title {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.75;
}

.p-pageMedia__text {
  margin-top: 25px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 2;
}

@media (max-width: 1279px) {
  .p-pageMedia {
    flex-direction: column;
    gap: 24px;
  }

  .p-pageMedia__body,
  .p-pageMedia__imgWrapper {
    width: 100%;
  }
    .p-pageMedia__imgWrapper {
    margin-right: 0;
  }

  .p-pageMedia__body {
    padding-right: 40px;
    padding-left: 40px;
  }

  .p-pageMedia__img {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .p-pageMedia__title {
    font-size: 6vw;
    text-align: center;
  }

  .p-pageMedia__body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-pageMedia__text {
    font-size: 1.6rem;
  }
  .p-pageMedia__img {
    height: auto;
  }
}

.p-pageService {
  position: relative;
  padding: 80px 0 120px;
}

.p-pageService__inner {
  margin-right: auto;
  margin-left: auto;
}

.p-pageService__media {
  margin-top: 120px;
  display: flex;
  align-items: stretch;
  position: relative;
}

.p-pageService__media::before,
.p-pageService__media::after {
  content: '';
  width: 100%;
  height: auto;
  flex: 1;
  min-width: 40px;
}

.p-pageService__media::before {
  background: #EFEFEF;
  margin-top: -30px;
  margin-bottom: -30px;
}

.p-serviceMedia {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
}

/* テキスト */
.p-serviceMedia__body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
  background: #EFEFEF;
  width: 680px;
  margin: -30px -80px -30px 0;
  padding: 40px 120px 40px 40px;
}

/* 画像 */
.p-serviceMedia__imgWrapper {
  flex: 1;
  position: relative;
  z-index: 3;
}

.p-serviceMedia__img {
  width: 100%;
  display: block;
}

.p-serviceMedia__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-serviceMedia__text {
  margin-top: 25px;
  font-weight: 500;
  line-height: 2;
}

.p-pageService__media.-reverse::before {
  background: transparent;
  margin-top: 0;
  margin-bottom: 0;
}

.p-pageService__media.-reverse::after {
  background: #EDF5F8;
  margin-top: -30px;
  margin-bottom: -30px;
}

.p-pageService__media.-reverse .p-serviceMedia {
  flex-direction: row-reverse;
}

/* テキスト */
.p-pageService__media.-reverse .p-serviceMedia__body {
  background: #EDF5F8;
  margin: -30px 0 -30px -80px;
  padding: 40px 40px 40px 120px;
}

@media (max-width: 959px) {
  .p-pageService__media {
    margin-top: 100px;
    flex-direction: column;
  }

  .p-pageService__media::before,
  .p-pageService__media::after {
    content: none;
  }

  .p-serviceMedia {
    flex-direction: column-reverse;
  }

  /* テキスト */
  .p-serviceMedia__body {
    margin: -30px 0 0;
    padding: 60px 40px 40px;
    width: 100%;
  }

  /* 画像 */
  .p-serviceMedia__imgWrapper {
    padding-right: 40px;
    padding-left: 40px;
  }

  .p-serviceMedia__img {
    width: 100%;
    display: block;
  }

  .p-serviceMedia__title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .p-serviceMedia__text {
    margin-top: 25px;
    font-weight: 500;
    line-height: 2;
  }

  .p-pageService__media.-reverse .p-serviceMedia {
    flex-direction: column-reverse;
  }

  .p-pageService__media.-reverse .p-serviceMedia__body {
    margin: -30px 0 0;
    padding: 60px 40px 40px;;
  }
}

@media screen and (max-width: 767px) {
  .p-pageService {
    padding: 60px 0 100px;
  }

  .p-pageService__inner {

  }
}


.p-pageRecruit {
  position: relative;
  padding: 80px 0 120px;
}

.p-pageRecruit__inner {
  margin-right: auto;
  margin-left: auto;
}

.p-pageRecruit__interview {
  
}

.p-recruitHeading {
  display: flex;
  flex-direction: column;
}

.p-recruitHeading__jp {
  font-size: 4.8rem;
  line-height: 1.3;
}

.p-recruitHeading__en {
  margin-top: 10px;
  font-family: var(--font-en);
  color: #006DBD;
  line-height: 1.3;
}

.p-interview {
  display: flex;
  align-items: stretch;
  position: relative;
}

.p-interview::before,
.p-interview::after {
  content: '';
  width: 100%;
  height: auto;
  flex: 1;
  min-width: 40px;
}

.p-interview::after {
  background: #F5F5F5 ;
}

.p-interview__inner {
  position: relative;
  max-width: 1200px;
  padding: 80px 0 80px 80px;
  border-top-left-radius: 100px;
  width: 100%;
  background-color: #F5F5F5;
}

.p-interview__contents {
  margin-top: 80px;
}

.p-recruitMedia {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap:80px;
}

.p-recruitMedia.-reverse {
  flex-direction: row-reverse;
}

.p-recruitMedia:not(:first-child) {
  margin-top: 80px;
}

/* テキスト */
.p-recruitMedia__body {
  width: calc(50% - 40px);
  display: flex;
  justify-content: center;
  flex-direction: column;

}

/* 画像 */
.p-recruitMedia__imgWrapper {
  flex: 1;
  position: relative;
  z-index: 3;
}

.p-recruitMedia__img {
  width: 100%;
  display: block;
}

.p-recruitMedia__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  z-index: 101;
}

.p-recruitMedia__titleInner {
  padding: 2px 10px;
  display: inline-block;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(1, 72, 171, 1), rgba(0, 41, 98, 1));
}

.p-recruitMedia__text {
  margin-top: 25px;
  font-weight: 500;
  line-height: 2;
}

.p-workplace {
  margin-top: 120px;
}

.p-workplace__header {
  max-width: 1280px;
  padding-right: 40px;
  padding-left: 40px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-workplace__lead {
  width: 50%;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.75;
}

.p-workplace__numHeading {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.3;
  color: #0148AB;
}

.p-workplace__contents {
  margin-top: 80px;
  display: flex;
  align-items: stretch;
  position: relative;
}

.p-workplace__contents::before,
.p-workplace__contents::after {
  content: '';
  width: 100%;
  height: auto;
  flex: 1;
  min-width: 40px;
}

.p-workplace__contents::before {
  background: #D2E8F8 ;
}

.p-workplace__contentsInner {
  position: relative;
  max-width: 1200px;
  padding: 80px 80px 80px 0;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  width: 100%;
  background-color: #D2E8F8;
}

.p-workplace__numHeader {
  color: #0148AB;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 30px;
}

.p-workplaceList {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 350px);
  justify-content: center;
  gap: 30px;
}

/* カード本体 */
.p-workplaceList__item {
  position: relative;
  background-color: #fff;
  border-radius: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.p-workplaceList__title {
  background-color: #0148AB;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 0 50px;
  padding: 8px 10px 10px;
  border-radius: 30px;
}

.p-workplaceList__body {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.p-workplaceList__imgWrapper {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.p-workplaceList__img {
  width: auto;
  max-width: 100%;
}

.p-workplaceList__numArea {
  margin-top: 5px;
  margin-left: 20px;
  color: #0148AB;
}

.p-workplaceList__num {
  font-size: 9.2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.p-workplaceList__unit {
  font-size: 4.6rem;
  font-weight: 500;
}

.p-workplaceList__numAreaWrapper.-small .p-workplaceList__num {
  font-size: 7.6rem;
}

.p-workplaceList__numAreaWrapper.-small .p-workplaceList__unit {
  font-size: 3rem;
}


.p-workother {
  margin-top: 100px;
  padding-right: 40px;
  padding-left: 40px;
}

.p-workother__inner {
  max-width: 1200px;
  margin-inline: auto;
}

.p-workotherList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 60px;
}

.p-workotherList__imgWrapper {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.p-workotherList__text {
  margin-top: 10px;
  line-height: 2;
}

.p-recruitMedia__img.-kenkou  {
  max-width: 360px;
  width: 100%;
}

.p-recruitMedia__img.-niful  {
  max-width: 200px;
  width: 100%;
}

.p-recruitMedia__img.-keiei  {
  max-width: 240px;
  width: 100%;
}

.p-recruitment {
  margin-top: 100px;
  position: relative;
  padding: 80px 40px 120px;
  border-top-left-radius: 100px;
  background-color: #D2E8F8;
}

.p-recruitment__inner {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.p-recruitment__heading {
  text-align: center;
  font-size: 4.8rem;
  font-weight: 500;
}

.p-commonTable.p-recruitment__table {
  margin-top: 0;
}

.p-commonTable.p-recruitment__table table {
  margin-top: 60px;
}

.p-commonTable.p-recruitment__table table {
  border-top: 1px solid #fff;
}

.p-commonTable.p-recruitment__table  th,
.p-commonTable.p-recruitment__table  td {
  border-bottom: 1px solid #fff;
}

.p-recruitment__btn {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 959px) {
  .p-interview__inner {
    padding: 60px 0 60px 40px;
  }

  .p-recruitMedia,
  .p-recruitMedia.-reverse {
    flex-direction: column;
    gap: 25px;
  }

  .p-recruitMedia:not(:first-child) {
    margin-top: 80px;
  }

  /* テキスト */
  .p-recruitMedia__body {
    padding: 0;
    width: 100%;
  }

  /* 画像 */
  .p-recruitMedia__imgWrapper {
    padding-right: 0;
    padding-left: 0;
  }

  .p-workplace__header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .p-workplace__lead {
    width: 100%;
    margin-top: 40px;
  }

  .p-workplace__contentsInner {
    padding: 80px 40px 80px 0;
  }

  .p-workotherList {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }

  .p-workotherList__item {
    aspect-ratio: auto;
    width: 100%;
    max-width: none;
  }

}

@media screen and (max-width: 767px) {
  .p-pageRecruit {
    padding: 60px 0 100px;
  }

  .p-pageRecruit__inner {

  }

  .p-interview__inner {
    border-top-left-radius: 50px;
  }

  .p-interview__contents {
    margin-top: 40px;
  }

  .p-interview::before {
    min-width: 20px;
  }


  .p-interview::after {
    min-width: 40px;
  }

  .p-interview__inner {
    padding: 40px 0 50px 40px;
  }

  .p-recruitHeading__jp {
    font-size: 3.2rem;
  }

  .p-recruitMedia__title {
    font-size: 2rem;
  }

  .p-recruitMedia__text {
    margin-top: 10px;
  }

  .p-workplace__header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-workplace__contents::after {
    min-width: 20px;
  }
  .p-workplace__contents {
    margin-top: 40px;
  }

  .p-workplace__numHeading {
    font-size: 2.4rem;
  }

  .p-workplace__contentsInner {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 40px 40px 50px 0;
  }

  .p-workplaceList {
    margin-top: 30px;
  }

  .p-workother {
    margin-top: 80px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-recruitment {
    padding: 40px 20px 80px;
    border-top-left-radius: 50px;
  }

  .p-recruitment__heading {
    font-size: 3.2rem;
  }

  .p-commonTable.p-recruitment__table table {
    margin-top: 40px;
  }

  
  .p-workotherList__imgWrapper {
    aspect-ratio: auto;
  }
}

@media screen and (max-width: 479px) {
  .p-workplaceList {
    grid-template-columns: repeat(auto-fill, 290px);
  }

  .p-workplaceList__title {
    margin: 0 40px;
  }

  .p-workplaceList__body {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
  }

  .p-workplaceList__imgWrapper {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
  }

  .p-workplaceList__img {
    width: auto;
    max-width: 100%;
  }

  .p-workplaceList__numArea {
    margin-top: 5px;
    margin-left: 20px;
    color: #0148AB;
  }

  .p-workplaceList__num {
    font-size: 6.8rem;
  }

  .p-workplaceList__unit {
    font-size: 3.2rem;
  }

  .p-workplaceList__numAreaWrapper.-small .p-workplaceList__num {
    font-size: 5.6rem;
  }

  .p-workplaceList__numAreaWrapper.-small .p-workplaceList__unit {
    font-size: 2.4rem;
  }
}


.p-pageWorks {
  position: relative;
  padding: 80px 40px 120px;
}

.p-pageWorks__inner {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.p-pageWorks__contents {
  margin-top: 120px;
}

@media screen and (max-width: 767px) {
  .p-pageWorks {
    padding: 60px 20px 100px;
  }
}


.p-pageCompany {
  position: relative;
  padding: 80px 40px 120px;
}

.p-pageCompany__inner {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.p-pageCompany__access {
  margin-top: 100px;
}

.p-mapIcon {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  gap: 5px 20px;
}

.p-mapIcon__item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.p-mapIcon__img {
  height: 36px;
}

.p-pageCompany__map {
  margin-top: 30px;
}

.p-pageCompany__title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: var(--color-primary);
}

.p-commonTable {
  margin-top: 100px;
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.p-commonTable table {
  margin-top: 30px;
  width: 100%;
  line-height: 1.75;
  border-top: 1px solid #dbdcdf;
}

.p-commonTable th {
  padding: 20px 20px 20px 0;
  width: 170px;
  color: #0148AB;
}

.p-commonTable td {
  padding: 20px 0 20px 20px;
}



.p-commonTable th,
.p-commonTable td {
  border-bottom: 1px solid #dbdcdf;
  vertical-align: middle;
  font-size: 1.8rem;
}

.p-commonTable.-history th {
  text-align: right;
}

.p-commonTable__heading {
  color: var(--color-primary);
}

.p-pageCompany__access {
  margin-inline: auto;
  max-width: 1000px;
  width: 100%;
}

.p-pageCompany__access iframe {
   aspect-ratio: 16/9;
   width: 100%;
   height: auto;
}

@media screen and (max-width: 767px) {
  .p-pageCompany {
    padding: 60px 20px 100px;
  }

  .p-pageCompany__access {
    margin-top: 80px;
  }

  .p-pageCompany__title {
    font-size: 2.6rem;
    text-align: left;
  }

  .p-commonTable th,
  .p-commonTable td {
    font-size: 1.5rem;
  }

  .p-commonTable th {
    padding: 15px 10px 15px 0;
    width: 100px;
  }

  .p-commonTable td {
    padding: 15px 0 15px 10px;
  }

}

@media screen and (max-width: 479px) {
  .p-pageCompany__access iframe {
    aspect-ratio: 1 / 1;
  }
}

.p-pageInvoice {
  position: relative;
  padding: 80px 40px 120px;
}

.p-pageInvoice__inner {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 1080px;
  z-index: 2;
}

.p-invoice {
  line-height: 1.75;
}

.p-invoice h2 {
  margin-top: 2em;
  font-size: 2rem;
  font-weight: 700;
  color: #0148AB;
}

.p-invoice p + p,
.p-invoice dl,
.p-invoice dl + dl {
  margin-top: 1em;
}

.p-invoiceList__item {
  margin-top: 80px;
}

.p-invoiceList__title {
  padding-bottom: 20px;
  border-bottom: 1px solid #0148AB;
  font-size: 2rem;
  font-weight: 700;
  color: #0148AB;
}

.p-invoiceList__item ul {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}

.p-invoiceList__item ul li {
  width: calc(50% - 10px);
  font-size: 2rem;
  line-height: 1.5;
}

.p-invoiceList__item ul li a {
  padding-left: 70px;
  position: relative;
}

.p-invoiceList__item ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 56px;
  background-image: url(../images/icon_excel.png);
  background-size: 60px 56px;
  background-repeat: no-repeat;
}


@media screen and (max-width: 959px) {
  .p-invoiceList__item ul li {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .p-pageInvoice {
    padding: 60px 20px 100px;
  }
}

.p-pageCommon {
  position: relative;
  padding: 80px 40px 120px;
}

.p-pageCommon__inner {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 800px;
  z-index: 2;
  line-height: 1.5;
}

.p-pageCommon h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #dbdcdf
}

.p-pageCommon p {
  margin-bottom: 16px;
}

.p-pageCommon ul {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style: disc;
}

.p-pageCommon li {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .p-pageCommon {
    padding: 60px 20px 100px;
  }

  .p-pageCommon h2 {
    font-size: 1.8rem;
  }

  .p-pageCommon p,
  .p-pageCommon li {
    font-size: 1.5rem;
  }
}

.p-pageContact {
  position: relative;
  padding: 80px 40px 120px;
}

.p-pageContact__inner {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 800px;
  z-index: 2;
}

.p-contact__tel {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--color-primary);
}

.p-contact__numLink {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  position: relative;
  font-size: 4.2rem;
  font-weight: bold;
  color: var(--color-primary);
}

.p-contact__text {
  margin-top: 5px;
  line-height: 1.5;
}

.p-contact__note {
  margin-top: 20px;
  font-size: 1.4rem;
  text-align: right;
}

.p-contact__recaptcha {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1.75;
}

@media screen and (max-width: 767px) {
  .p-pageContact {
    padding: 60px 20px 100px;
  }
}

.c-input__field {
  display: block;
  width: 100%;
  height: 48px;
  padding: 15px;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #D6D8DA;
}

.c-input__field:focus {
  border: 1px solid #251d16;
} 

.c-input__fieldDouble {
  margin-right: 10px;
}

.c-input__submit {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  width: 300px;
  height: 60px;
  background-color: #187fc4;
  background-image: linear-gradient(90deg, #187fc4, #0c3d5e);
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 100vmax;
  position: relative;
}

.c-input__submit:hover {

}

.c-input__notice {
  line-height: 1.75;
}

.c-input__double {
  display: flex;
}

.wpcf7 .wpcf7-submit {
  display: block;
}

.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.6;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
}

span.wpcf7-list-item {
  position: relative;
  /*項目ごとの余白を調整*/
  line-height: 1.3;
}

.wpcf7-list-item-label {
  /*項目の色や文字サイズ*/
  cursor: pointer;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  /*既存のチェックボックスを見えなくする*/
}

.wpcf7-list-item-label:before {
  /*チェックボックスの枠*/
  content: '';
  border: 1px solid #251d16;
  display: inline-block;
  height: 20px;
  width: 20px;
  position: relative;
  top: -2px;
  margin-right: 5px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
  /*チェックアイコン*/
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 6px;
  width: 7px;
  height: 15px;
  background-size: contain;
  border-right: 4px solid #251d16;
  border-bottom: 4px solid #251d16;
  transform: rotate(45deg);
}

.c-select {
  display: inline-block;
  position: relative;
}

.c-select__field {
  position: relative;
  width: 100%;
  display: block;
  padding: 15px 80px 15px 15px;
  line-height: 1;
  background-color: #fff;
  height: 48px;
  background-image: url('../images/select_arrow.png');
  background-size: 48px 53px;
  background-repeat: no-repeat;
  background-position: top 50% right 0;
  border-radius: 4px;
}

::placeholder {
  color: #D2DCDC;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #D2DCDC;
}
/* IE対応 */
:-ms-input-placeholder {
  color: #D2DCDC;
}

@media screen and (max-width: 767px) {
  input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    top: 1px;
  }

  .c-select__field {
    font-size: 1.6rem;
  }
}

.c-textarea__field {
  display: block;
  width: 100%;
  padding: 15px;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #D6D8DA;
}

.c-textarea__field:focus {
  border: 1px solid #251d16;
} 


@media screen and (max-width: 479px) {
  .c-textarea__field {
    padding: 10px;
  }
}

.p-contact__body.-radio  {
  margin-top: 22px;
}

.p-contact__body.-radio .wpcf7-form-control-wrap {
  display: block;
}

.p-contact__body.-radio .wpcf7-form-control.wpcf7-radio {
  display: flex;
}

.p-contact__body.-radio span.wpcf7-list-item {
  margin-right: 20px;
  position: relative;
}

.p-contact__body.-radio span.wpcf7-list-item.first {
  margin: 0 20px 0 0 !important;
}

.p-contact__body.-radio .wpcf7-list-item-label {
  cursor: pointer;
}

.p-contact__body.-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.p-contact__body.-radio .wpcf7-list-item-label:before {
  content: '';
  background: #fff;
  border-radius: 100%;
  border: 1px solid #888888;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}

.p-contact__body.-radio input[type="radio"]:checked + .wpcf7-list-item-label:before {
  background-color: #004D9E;
  box-shadow: inset 0 0 0 4px #fff;
}

.wpcf7-not-valid-tip {
  margin-top: 3px;
}

.p-contact__item {
  padding-top: 20px;
}

.p-contact__header {
  position: relative;
  align-items: center;
  padding-bottom: 5px;
  line-height: 1.5;
}

.u-attention {
  display: inline-block;
  color: #D23E3E;
}

.p-contact__body {
  flex-grow: 1;
}

.p-contact__body.-name {
  display: flex;
}

.p-contact__body.-name .c-input {
  display: flex;
  align-items: center;
}

.c-input__heading {
  margin: 0 5px;
  font-size: 2rem;
  font-weight: bold;
}

.p-contact__checkbox {
  margin-top: 20px;
  text-align: center;
}

.p-contact__submit {
  margin-top: 40px;
  text-align: center;
}

.p-contact__privacy {
  width: 100%;
  max-height: 200px;
  padding: 20px;
  overflow-y: auto;
  border: 1px solid #D6D8DA;
  background-color: #fff;
  line-height: 1.5;
  font-size: 1.3rem;
}

.p-contact__privacy dl {
  margin-top: 1em;
}

.p-contact__privacy h4 {
  margin-top: 1em;
}

.p-contact__google {
  font-size: 1.4rem;
  line-height: 1.5;
}


@media screen and (max-width: 959px) {
  .p-contact__item {
    flex-direction: column;
  }

  .p-contact__header {
    flex-basis: auto;
    margin-right: 0;
    padding-top: 0;
    text-align: left;
  }

  .p-contact__body.-radio {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .p-contact__inner {

  }
  

  .p-contact__item {
    padding-top: 20px;
  }

  .p-contact__privacy {
    font-size: 1.4rem;
    text-align: left;
  }

  .p-contact__checkbox {
    font-size: 1.6rem;
    text-align: left;
  }

  .p-contact__privacyHeading {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .c-input__heading {
    font-size: 1.6rem;
  }

  .p-contact__body.-radio .wpcf7-form-control.wpcf7-radio {
    display: block;
  }

  .p-contact__body.-radio .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    margin: 5px 0 0;
  }
}

.p-footer {
  aspect-ratio: 1440 / 437;
  position: relative;
  background-image: url(../images/footer_illust.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.p-footer__inner {
  margin-inline: auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  padding: 160px 40px 40px;
}

.p-footer__info,
.p-footer__info a {
  color: var(--color-black);
}
.p-footer__address,
.p-footer__tel {
  margin-top: 20px;
}

.p-footer__mail {
  margin-top: 5px;
}

.p-footer__address,
.p-footer__tel,
.p-footer__mail {
  line-height: 1.3;
}

.p-footer__logoImg {
  width: 226px;
}

.p-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.p-footer__privacy {
  font-size: 1.3rem;
  line-height: 1.4;
}

.p-footer__copyright {
  font-size: 1.2rem;
  line-height: 1.4;
}

.p-footerNav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.p-footerNav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.p-footerNav__item {
  position: relative;
}

.p-footerNav__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2px;
  right: -17px;
  width: 7px;
  height: 15px;
  background-image: url('../images/gnav_line.svg');
  background-size: 7px 15px;
  background-repeat: no-repeat;
}


.p-footerNav__link {
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-black);
}

/* 下線 */
.p-footerNav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* ホバー時 */
.p-footerNav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left; /* ← 左から右へ伸びる */
}

@media screen and (max-width: 1279px) {
  .p-footer__inner {
    gap: 40px;
    padding: 40px;
  }
}

@media screen and (max-width: 767px) {
  .p-footer__inner {
    padding: 40px 20px;
  }

  .p-footer__privacy {
    font-size: 1.2rem;
  }


  .p-footer__copyright {
    font-size: 1.1rem;
  }

  .p-footerNav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .p-footerNav__item {
    width: 100%;
  }

  .p-footerNav__link {
    width: auto;
    height: auto;
  }

  .p-footerNav__item:not(:last-child)::after,
  .p-footerNav__link::after {
    content: none;
  }
}

.l-container {
  background-image: url(../images/page_upper_bg.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  min-height: 100svh;
}

.p-page {
  padding-top: 94px;
  position: relative;
}

.p-pageHeader {
  position: relative;
  width: 100%;
  height: calc(400px - 94px);
  overflow: hidden;
}

.p-pageHeader__bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.p-pageHeader__bgImg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.p-pageHeader__main {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: var(--color-white);
}
 
.p-pageHeader__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 3em rgba(0, 0, 0, 0.3);
}

.p-pageHeader__jp {
  font-size: 4.8rem;
  line-height: 1.3;
}

.p-pageHeader__en {
  margin-top: 10px;
  font-family: var(--font-en);
  line-height: 1.3;
}

.p-pageArchive {
  max-width: 1080px;
  padding-right: 40px;
  padding-left: 40px;
  margin-inline: auto;
  margin-top: 60px;
}

.p-pageArchive__inner {
}

@media screen and (max-width: 1079px) {
  .p-page {
    padding-top: 80px;
  }

  .p-pageHeader {
    height: calc(300px - 80px);
  }
}

@media screen and (max-width: 767px) {
  .l-container {
    background-image: url(../images/page_upper_bg_sp.jpg);
  }

  .p-page {
    padding-top: 64px;
  }

  .p-pageHeader {
    height: calc(300px - 64px);
  }

  .p-pageHeader__jp {
    font-size: 3.6rem;
  }

  .p-pageArchive {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.p-worksList {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.p-worksList__item {
  padding-top: 20px;
  border-top: 1px solid var(--color-primary);
}

.p-worksList__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.p-worksList__media {
  margin-top: 20px;
  display: flex;
  gap: 40px;
}

.p-worksList__catList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-worksList__catListItem {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 4px 10px;
  min-width: 80px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: normal;
  background-color: var(--color-primary);
  color: #fff;
}

.p-worksList__imgWrapper {
  width: calc(50% - 20px);
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.p-worksList__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
}

.p-worksList__info {
  font-size: 2rem;
  line-height: 1.75;
}

.p-worksList__img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .p-worksList__header {
    gap: 20px;
  }

  .p-worksList__media {
    flex-direction: column;
    gap: 15px;
  }
  .p-worksList__imgWrapper {
    width: 100%;
    gap: 10px;
  }

  .p-worksList__title {
    font-size: 2rem;
  }

  .p-worksList__info {
    font-size: 1.6rem;
  }
}

/* ====================
single
==================== */
.p-article {
  width: 100%;
  max-width: 1000px;
  margin-top: 60px;
  padding-right: 40px;
  padding-left: 40px;
  margin-inline: auto;
}

.p-article__header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-primary);
}

.p-article__title {
  position: relative;
  margin-top: 15px;
  font-size: 2rem;
  line-height: 1.5;
}

.p-article__info {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.5rem;
}

.p-article__date {
  margin-top: 5px;
  margin-right: 20px;
  color: #1E6CA0;
  font-weight: bold;
}

.p-article__catList {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.p-article__cat {
  display: inline-block;
  padding: 5px 10px;
  font-size: 1.3rem;
  background-color: #B5D9F3;
  border: 2px solid transparent;
  border-radius: 100vh;
  transition: .25s;
}

.p-article__cat:hover {
  background-color: transparent;
  border: 2px solid #B5D9F3;
}

.p-article__body {
  margin-top: 60px;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.p-article__body a {
  text-decoration: underline;
  transition: .25s;
}

.p-article__body a:hover {
  opacity: .6;
}

.p-article__body h1, 
.p-article__body h2, 
.p-article__body h3, 
.p-article__body h4, 
.p-article__body h5, 
.p-article__body h6 {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.p-article__body * + h1, 
.p-article__body * + h2, 
.p-article__body * + h3, 
.p-article__body * + h4, 
.p-article__body * + h5, 
.p-article__body * + h6,
.p-article__body * + img {
  margin-top: 1.5em;
}

.p-article__body * + p,
.p-article__body * + .wp-block-image {
  margin-top: 1em;
}

.p-article__body img,
.p-article__body * + .wp-block-image {
  width: auto;
  max-width: 100%;
}

.p-article__body a {
  text-decoration: underline;
}

.p-article__link {
  margin-top: 100px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
}

.p-article__next {
  border-right: 1px solid var(--color-black);
}

.p-article__prev a {
  text-align: right;
}

.p-article__prev,
.p-article__next {
  display: flex;
  align-items: stretch;
  width: 50%;
  position: relative;
}

.p-article__prev a,
.p-article__next a {
  display: flex;
  align-items: center;
  flex: 1 0 25%;
  padding: 10px 0;
  min-height: 70px;
  line-height: 1.5;
  width: 100%;
  position: relative;
  font-size: 1.5rem;
}

.p-article__next a {
  padding-left: 35px;
}

.p-article__prev a {
  padding-right: 35px;
  justify-content: flex-end;
}

.p-article__prev a:hover,
.p-article__next a:hover {
  background-color: rgba(1,72,171,0.05);
  transition: .25s;
}

.p-article__prev a::after,
.p-article__next a::after {
  content: "";
  position: absolute;
  display: inline-block;
  background: url(../images/btn_arrow.svg) no-repeat;
  background-size: 10px 18px;
  width: 10px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.p-article__next a::after {
  left: 5px;
  transform: translateY(-50%) scale(-1, 1);
}

.p-article__prev a::after {
  right: 5px;
}

.p-article__nextNone {
  width: 50%;
  border-right: 1px solid var(--color-black);
}

.p-article__prevLink:hover,
.p-article__nextLink:hover {
  opacity: 0.75;
}

.p-article__nextNone {
  width: 50%;
}

.p-article__btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.p-article__btnLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  transition: .25s;
}

.p-article__btnLink:hover {
  background-color: #E0E0D3;
}

@media screen and (max-width: 767px) {
  .p-article {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-article__body {
    margin-top: 60px;
  }

  .p-article__link {
    flex-direction: column;
    margin-top: 50px;
    font-size: 1.6rem;
  }

  .p-article__prev a,
  .p-article__next a {
    font-size: 1.6rem;
  }

  .p-article__linkSingle {
    border-bottom: none;
  }

  .p-article__next {
    border-right: none;
  }

  .p-article__link li:not(:last-child) {
    border-bottom: 1px solid var(--color-black);
  }

  .p-article__link li:last-child {
    border-bottom: none;
  }

  .p-article__link li.p-article__nextNone {
    width: 100%;
    border-bottom: none;
  }

  .p-article__prev,
  .p-article__next {
    width: 100%;
  }

  .p-article__btn {
    margin-top: 30px;
  }

  .p-article__btnLink {
    padding: 10px 15px;
    font-size: 1.6rem;
  }
}

.breadcrumbs {
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  line-height: 1.4;
  font-size: 1.4rem;
  gap: 3px;
}

.breadcrumbs a {
  color: #0148AB;
  transition: .25s;
}

.breadcrumbs a:hover {
  opacity: .65;
}

.breadcrumbs li:last-child:after {
  content: '';
}

@media screen and (max-width: 959px) {
  .breadcrumbs {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    padding: 20px 160px 20px 20px;
  }
}

.pager {
  margin-top: 40px;
}

/*wp-pagenavi base*/
.wp-pagenavi {
	clear: both;
	text-align:center;
}

.wp-pagenavi a, .wp-pagenavi span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
	margin: 4px;
	white-space: nowrap;
	transition: .2s ease-in-out;
	text-align: center;
  font-size: 1.8rem;
  border: 1px solid var(--color-primary) !important;
  font-family: "Zen Maru Gothic", system-ui;
  font-weight: 700;
  font-style: normal;
  color: var(--color-primary);
}

.wp-pagenavi a:hover{
	color: var(--color-white);
	background-color: var(--color-primary);
	border-color: var(--color-primary) !important;
}

.wp-pagenavi span.current{
	color: var(--color-white);
	background-color: var(--color-primary);
	border-color: var(--color-primary) !important;
}

.u-textLink {
  text-decoration: underline;
}

.u-textLink:hover {
  opacity: .6;
}

.u-mobile {
  display: none;
}

.u-sp {
  display: none;
}

.u-pc {
  display: block;
}

@media screen and (max-width: 767px) {
  .u-sp {
    display: block;
  }

  .u-pc {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .u-mobile {
    display: block;
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定 */
.fadeUpTrigger {
  opacity: 0;
}

/* 下から */
.fadeUp {
animation-name:fadeUpAnime;
animation-duration: 0.6s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
	  transform: translateY(60px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

.fadeInTrigger {
  opacity: 0;
}

/* その場で */
.fadeIn{
  animation-name:fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}