@charset "utf-8";
/* reset */
@import url("css/destyle.min.css");
@import url("css/moto.css");

/* font */
.dela-gothic-one-regular {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.noto-sans-500 {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* ページ内リンクのスクロール位置を調整 */
html {
  /* scroll-behavior: smooth; */
  scroll-padding-top: 90px;
}

/* header */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;
  position: fixed;
  background-color: #fff;
  z-index: 100;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  filter: drop-shadow(0px 3px 6px rgba(194, 194, 194, 0.3));
}
#logo {
  line-height: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 50px;
}
#nav > ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav > ul > li {
  margin-right: 60px;
  font-weight: bold;
  position: relative;
}
#nav > ul > li:last-child {
  margin-right: 0;
}
#nav > ul > li > a:not(.btn):hover {
  text-decoration: underline;
}
#nav > ul > li > a:not(.btn) {
  padding: 5px 0;
  display: block;
}
.submenu {
  position: fixed;
  background-color: #fff;
  z-index: 300;
  top: 65px;
  display: none;
  margin-top: 0;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px -5px #777777;
}
.submenu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.submenu ul li {
  margin-right: 0 !important;
  width: 100%;
}
.submenu ul li:not(:last-child) {
  border-bottom: 1px solid #c2c2c2;
}
.submenu ul li a {
  padding: 7px 45px 10px 3px;
  display: inline-block;
  width: 100%;
  position: relative;
}

.submenu ul li a::after {
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  font-weight: 900;
  position: absolute;
  right: 6px;
}

.submenu ul li a:hover {
  text-decoration: underline;
}
.relative {
  position: relative;
}

.slider {
  padding-top: 60px;
  width: 100%;
  position: relative;
}
.slider-sp {
  display: none;
}
.slider img {
  width: 100%;
  height: auto;
}
.slider-message {
  position: absolute;
  left: 7%;
  bottom: 100px;
  z-index: 10;
  width: 50%;
}
.slide-pagination-wrapper {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 5%;
  right: 5%;
  gap: 10px;
}
.slide-pagination-wrapper .swiper-pagination {
  position: static;
}
.slide-pagination-wrapper .swiper-horizontal > .swiper-pagination-bullets,
.slide-pagination-wrapper
  .swiper-pagination-bullets.swiper-pagination-horizontal,
.slide-pagination-wrapper .swiper-pagination-custom,
.swiper-pagination-fraction {
  width: auto;
}
.slide-pagination-wrapper .swiper-pagination-bullets {
  display: flex;
  align-items: center;
}
.slide-pagination-wrapper .swiper-pagination-bullet {
  background: #c2c2c2;
  border: 1px solid #fff;
  opacity: 1;
}
.slide-pagination-wrapper .swiper-pagination-bullet-active {
  background: #ca0019;
  border: 1px solid #fff;
}
.slide-pagination-wrapper .swiper-button-prev,
.slide-pagination-wrapper .swiper-button-next {
  position: static;
  margin-top: initial;
}
.slide-pagination-wrapper > .swiper-button-next {
  background-size: 30px 30px; /* 画像サイズ */
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 5px rgba(202, 0, 25, 0.5));
}

.slide-pagination-wrapper > .swiper-button-prev {
  background-size: 30px 30px; /* 画像サイズ */
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 5px rgba(202, 0, 25, 0.5));
}

#nav-sp {
  display: none;
}
@media screen and (max-width: 1620px) {
  .header-inner {
    padding-left: 50px;
    padding-right: 50px;
  }
  #nav ul li {
    margin-right: 40px;
  }
}
@media screen and (max-width: 1420px) {
  #logo img {
    width: 250px;
  }
  #nav ul li {
    font-size: 16px;
  }
  #nav ul li .btn {
    font-size: 16px;
    padding: 10px 20px;
    min-width: 180px;
  }
  .slider {
    padding-top: 40px;
  }
}
@media screen and (max-width: 1220px) {
  .header-inner {
    padding-left: 25px;
    padding-right: 25px;
  }
  #nav ul li {
    font-size: 14px;
    margin-right: 25px;
  }
  #nav ul li .btn {
    min-width: 150px;
    font-size: 14px;
  }
}
@media screen and (max-width: 1020px) {
  #logo img {
    width: 240px;
  }
  .header-inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  #nav {
    display: none;
  }
  #nav-sp {
    display: block;
    position: fixed;
    z-index: 15;
    top: -100vh;
    background-color: #ca0019;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 25px;
    transition: all 0.3s ease-in-out;
  }
  #nav-sp.active {
    top: 50px;
    background-size: cover;
  }
  #nav-sp > ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
  }
  #nav-sp > ul > li {
    position: relative;
  }
  #nav-sp > ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
  }
  #nav-sp > ul li a:not(.btn):hover {
    text-decoration: underline;
  }
  #nav-sp > ul li .btn {
    background-color: #fff;
    color: #ca0019;
    position: relative;
  }
  #nav-sp > ul li .btn:hover {
    opacity: 0.8;
  }
  #nav-sp > ul li .btn::after {
    content: url(./img/arrow-red.png);
    position: absolute;
    right: 25px;
    top: 54%;
    transform: translateY(-50%);
  }
  #nav-sp .submenu-sp {
    position: fixed;
    background-color: #ca0019;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  }
  #nav-sp .submenu-sp.active {
    width: auto;
    padding: 0;
    max-height: 500px; /* こちらにも追加 */
  }
  #nav-sp .submenu-sp > ul {
    padding: 30px 15px 15px;
  }
  #nav-sp .submenu-sp ul > li:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #fff;
  }
  #nav-sp .submenu-sp a {
    color: #fff;
    padding: 5px;
    font-size: 0.8rem;
  }
  #navToggle_w {
    position: fixed;
    z-index: 600;
    top: 18px;
    right: 15px;
    cursor: pointer;
  }
  #navToggle_w #navToggle {
    width: 26px;
    height: 26px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
  }
  #navToggle_w #navToggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ca0019;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  #navToggle_w #navToggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #navToggle_w #navToggle.active span:nth-child(2) {
    opacity: 0;
  }
  #navToggle_w #navToggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
@media screen and (max-width: 768px) {
  .slider {
    display: none;
  }
  .slider-sp {
    display: block;
    padding-top: 45px;
    position: relative;
  }
  .slider-sp-message {
    position: absolute;
    left: 15px;
    bottom: 40px;
    z-index: 9;
  }
  .slide-pagination-wrapper {
    bottom: 2%;
    right: unset;
    left: 5%;
  }
  /* ハンバーガーメニュー開いている時のスクロール防止 */
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }
  #nav-sp {
    padding-left: 15px;
    padding-right: 15px;
    height: calc(100vh - 50px);
  }
  #nav-sp ul {
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
  }
  #nav-sp > ul > li {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
  }
  #nav-sp > ul > li > .btn {
    margin-top: 40px;
  }
  #nav-sp > ul > li > .btn {
    margin-top: 20px;
  }
  #nav-sp > ul > li > a {
    position: relative;
  }
  #nav-sp > ul > li > a:not(.btn):not(.link_single)::after,
  #nav-sp > ul > li > a:not(.btn):not(.link_single)::before {
    content: "";
    background-color: #fff;
    width: 20px;
    height: 2px;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
  }
  #nav-sp > ul > li > a:not(.btn):not(.link_single)::before {
    transform: translateY(-50%) rotate(-90deg);
  }
  #nav-sp > ul > li > a:not(.btn):not(.link_single).act::before {
    transform: translateY(-50%) rotate(0deg);
  }
  #nav-sp .submenu-sp {
    position: static;
  }
  #nav-sp .submenu-sp ul > li a {
    position: relative;
  }
  #nav-sp .submenu-sp ul > li a::after {
    content: "";
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 10px;
    height: 10px;
    position: absolute;
    right: -15px;
    top: 56%;
    transform: translateY(-50%) rotate(45deg);
  }
  #nav-sp .submenu-sp {
    position: static;
  }
  #nav-sp .submenu-sp.active {
    position: static;
    width: 100%;
    padding: 0;
    max-height: 500px; /* こちらにも追加 */
  }
  #nav-sp .submenu-sp ul > li:not(:last-child) {
    border-bottom: 0;
  }
  #nav-sp .submenu-sp ul > li a {
    font-size: 20px;
  }
}
@media screen and (max-width: 576px) {
  #nav-sp ul li {
    flex: 0 0 100%;
    width: 100%;
  }
  #nav-sp ul li a {
    font-size: 22px;
  }
}

/* component*/
.btnWrap {
  margin-top: 60px;
  margin-bottom: 20px;
}
.btn {
  background-color: #ca0019;
  color: #fff;
  padding: 15px 25px;
  border-radius: 28px;
  font-size: 18px;
  min-width: 220px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn::after {
  content: url(./img/arrow.svg);
}
/*.btn2 {
  background-color: #fff;
  color: #ca0019;
  padding: 15px 25px;
  border-radius: 28px;
  font-size: 18px;
  min-width: 220px;
  max-width: 300px;
  display: block;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}*/
.btn2 {
  width: min(500px, 100%);
  background-color: #fff;
  color: #ca0019;
  padding: 25px 40px;
  font-size: 20px;
  border-radius: 40px;
  display: block;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
.btn2::after {
  content: url(./img/arrow-red.png);
}
.btn:hover,
.btn2:hover,
.btn3:hover {
  opacity: 0.8;
  text-decoration: none;
}
.btnWrap .btn3 {
  width: min(500px, 100%);
  background-color: #ca0019;
  color: #fff;
  padding: 25px 40px;
  font-size: 20px;
  border-radius: 40px;
  display: block;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
.btnWrap .btn3::after {
  content: url(./img/arrow.svg);
}
.border-orange {
  border: 1px solid #f1a800;
  background-color: #fff;
  border-radius: 20px;
  padding: 50px 80px;
}
.orangeWrap {
  position: relative;
}
.orangeWrap img.orange-border-top {
  width: 100%;
  height: auto;
}
.about-dog {
  position: absolute;
  top: -150px;
  left: 15%;
  width: min(300px, 18vw);
}
.about-dog p {
  text-align: center;
  font-size: 16px;
  color: #ca0019;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  padding: 0 30px;
  width: min(300px, 20vw);
}
.kome {
  font-size: 0.9rem;
  color: #7d7d7d;
}
.kome::before {
  content: "※";
}
.redUl,
.recruitmentList-txt ul {
  list-style: none;
}
.redUl li::before,
.recruitmentList-txt ul > li::before {
  content: "・";
  color: #ca0019;
  margin-right: 5px;
}
.redUl li,
.recruitmentList-txt ul > li {
  color: inherit;
  margin-bottom: 3px;
  text-indent: -1.5em;
  margin-left: 1.5em;
}
.recruitmentList-txt p + ul,
.recruitmentList-txt ul + ul {
  margin-top: 1.5em;
}
@media screen and (max-width: 1020px) {
  .btnWrap .btn2,
  .btnWrap .btn3 {
    padding: 13px 25px;
  }
}
@media screen and (max-width: 768px) {
  .btnWrap {
    margin-top: 30px;
  }
  .btnWrap .btn2,
  .btnWrap .btn3 {
    font-size: 16px;
  }
  .kome {
    font-size: 0.8rem;
  }
}

/* main*/
main.kasou-main {
  padding-top: 110px;
  position: relative;
}
.about-dog p::before,
.about-dog p::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ca0019;
  background-size: 8px 8px;
}

.about-dog p::before {
  left: 35px;
  transform: rotate(-20deg);
}

.about-dog p::after {
  right: 35px;
  transform: rotate(20deg);
}

/* パンくずリスト - 縦書きスタイル（文字を90度回転） */
ul#breadcrumb {
  display: flex;
  align-items: center;
  /* writing-mode: vertical-rl; */
  /* text-orientation: sideways; */
  position: absolute;
  /* left: 20px; */
  font-size: 14px;
  margin-top: 130px;
  color: #7d7d7d;
}
ul#breadcrumb li a.home {
  color: #ca0019;
}
ul#breadcrumb li .fa-house {
  margin-bottom: 5px;
  color: #ca0019;
}
ul#breadcrumb li:not(:last-of-type)::after {
  content: ">";
  /* margin: 10px 0; */
  margin: 10px;
  color: #777;
}

@media screen and (max-width: 1220px) {
  ul#breadcrumb {
    /* left: 5px; */
    margin-top: 95px;
  }
}

@media screen and (max-width: 1020px) {
  ul#breadcrumb {
    /* left: 5px; */
    margin-top: 90px;
    position: absolute;
    font-size: 12px;
  }
}

/* top */
.shatyoImg {
  width: 250px;
  height: auto;
  border-radius: 10px;
  margin-right: 40px;
}
.top-message-readmore {
  margin-top: 30px;
}
.redArrow {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.topShokushuWrap {
  padding-bottom: 80px;
}
.topShokushuList > li {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 0;
}
.topShokushuList img {
  border-radius: 10px;
}
.topShokushuTxt {
  padding: 20px 15px;
}
.topShokushuTxt p {
  font-size: 14px;
  color: #7d7d7d;
  margin-bottom: 10px;
}
.topShokushuTxt h2 {
  font-size: 22px;
  margin-bottom: 0;
}
.topAboutWrap {
  max-width: 1900px;
  margin: 100px auto 0;
  position: relative;
}
.topAboutWrap .mds2 {
  font-size: 40px;
  margin-bottom: 50px;
}
.top-about {
  position: absolute;
  border-radius: 10px;
}
.top-about.img01 {
  left: 10%;
  top: 3%;
  z-index: 10;
  width: min(300px, 18vw);
}
.top-about.img02 {
  left: 2%;
  top: 200px;
  z-index: 11;
  width: min(200px, 10vw);
}
.top-about.img03 {
  right: 5%;
  top: -50px;
  width: min(450px, 25vw);
}
.top-about.img04 {
  right: 2%;
  bottom: 100px;
  z-index: 11;
  width: min(250px, 15vw);
}
.top-about.img05 {
  right: 8%;
  bottom: 0;
  width: min(300px, 18vw);
}
.topAboutWrap-inner-sp,
.topAboutWrap-inner-sp02 {
  display: none;
}

@media screen and (max-width: 1500px) {
  .top-about.img01 {
    width: min(200px, 14vw);
  }
  .top-about.img03 {
    width: min(300px, 20vw);
  }
  .top-about.img04 {
    bottom: 130px;
    width: min(200px, 13vw);
  }
  .top-about.img05 {
    width: min(240px, 16vw);
  }
  .about-dog {
    left: 12%;
  }
}

@media screen and (max-width: 1420px) {
  .about-dog {
    left: 11%;
  }
}
@media screen and (max-width: 1220px) {
  main.kasou-main {
    padding-top: 90px;
  }
  .top-about.img01 {
    left: 6%;
  }
  .about-dog {
    display: none;
  }
}
@media screen and (max-width: 1100px) {
  .border-orange {
    padding: 30px 15px;
  }
  .top-about.img03 {
    right: 2%;
  }
  .top-about.img05 {
    right: 3%;
  }
  .topAboutWrap-inner {
    display: none;
  }
  .about-dog {
    margin-top: 20px;
  }
  .topAboutWrap-inner-sp {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
  }
  .topAboutWrap-inner-sp .img02 {
    margin-top: 20vh;
    margin-left: 15px;
  }
  .topAboutWrap-inner-sp .img01 {
    max-width: 55vw;
    position: absolute;
    z-index: -1;
    right: 50px;
  }
  .topAboutWrap-inner-sp img {
    width: 100%;
    max-width: 40vw;
    height: auto;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .about-dog.sp {
    display: block;
    position: absolute;
    width: auto;
    bottom: -110px;
    right: 15px;
    left: initial;
    top: initial;
    text-align: center;
  }
  .about-dog.sp p {
    width: auto;
    font-size: 12px;
  }
  .about-dog p::before {
    left: 15px;
  }
  .about-dog p::after {
    right: 15px;
  }
  .topAboutWrap-inner-sp02 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 0 15px;
  }
  .topAboutWrap-inner-sp02 .img03 {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: left;
    width: 80%;
  }
  .topAboutWrap-inner-sp02 .img04 {
    grid-column: 2;
    grid-row: 2;
    width: 80%;
    justify-self: center;
  }
  .topAboutWrap-inner-sp02 .img05 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 60px;
    justify-self: right;
    padding-left: 25px;
  }
  /* 2行目を2列にする */
  .topAboutWrap-inner-sp02 {
    grid-template-columns: 1fr 1fr;
  }
  .top-message-readmore {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .top-message-readmore .text-xl {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .topAboutWrap {
    margin: 60px auto 0;
  }
  .topAboutWrap .mds2 {
    font-size: 23px;
    margin-bottom: 25px;
  }
  .about-dog.sp {
    bottom: -50px;
  }
  .shatyoImg {
    margin-right: 0;
  }
  .top-message-readmore {
    margin-top: 0;
  }
  main.kasou-main {
    padding-bottom: 0;
  }
  .topShokushuWrap {
    padding-bottom: 10px;
  }
}

/* 回転するテキスト装飾 */
.rotating-text-container {
  position: relative;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 15s linear infinite;
}

.rotating-text span {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 0 32.5px;
  font-size: 8px;
  font-weight: normal;
  color: #ca0019;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* スペース用のスタイル */
.rotating-text span:contains("&nbsp;") {
  color: transparent;
  width: 8px;
}

.center-arrow {
  position: relative;
  z-index: 2;
  width: 20px;
  height: auto;
}

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

/* 36文字分の配置（360度 ÷ 36 = 10度ずつ） */
.rotating-text span:nth-child(1) {
  transform: rotate(0deg) translateX(-50%);
}
.rotating-text span:nth-child(2) {
  transform: rotate(10deg) translateX(-50%);
}
.rotating-text span:nth-child(3) {
  transform: rotate(20deg) translateX(-50%);
}
.rotating-text span:nth-child(4) {
  transform: rotate(30deg) translateX(-50%);
}
.rotating-text span:nth-child(5) {
  transform: rotate(40deg) translateX(-50%);
}
.rotating-text span:nth-child(6) {
  transform: rotate(50deg) translateX(-50%);
}
.rotating-text span:nth-child(7) {
  transform: rotate(60deg) translateX(-50%);
}
.rotating-text span:nth-child(8) {
  transform: rotate(70deg) translateX(-50%);
}
.rotating-text span:nth-child(9) {
  transform: rotate(80deg) translateX(-50%);
}
.rotating-text span:nth-child(10) {
  transform: rotate(90deg) translateX(-50%);
}
.rotating-text span:nth-child(11) {
  transform: rotate(100deg) translateX(-50%);
}
.rotating-text span:nth-child(12) {
  transform: rotate(110deg) translateX(-50%);
}
.rotating-text span:nth-child(13) {
  transform: rotate(120deg) translateX(-50%);
}
.rotating-text span:nth-child(14) {
  transform: rotate(130deg) translateX(-50%);
}
.rotating-text span:nth-child(15) {
  transform: rotate(140deg) translateX(-50%);
}
.rotating-text span:nth-child(16) {
  transform: rotate(150deg) translateX(-50%);
}
.rotating-text span:nth-child(17) {
  transform: rotate(160deg) translateX(-50%);
}
.rotating-text span:nth-child(18) {
  transform: rotate(170deg) translateX(-50%);
}
.rotating-text span:nth-child(19) {
  transform: rotate(180deg) translateX(-50%);
}
.rotating-text span:nth-child(20) {
  transform: rotate(190deg) translateX(-50%);
}
.rotating-text span:nth-child(21) {
  transform: rotate(200deg) translateX(-50%);
}
.rotating-text span:nth-child(22) {
  transform: rotate(210deg) translateX(-50%);
}
.rotating-text span:nth-child(23) {
  transform: rotate(220deg) translateX(-50%);
}
.rotating-text span:nth-child(24) {
  transform: rotate(230deg) translateX(-50%);
}
.rotating-text span:nth-child(25) {
  transform: rotate(240deg) translateX(-50%);
}
.rotating-text span:nth-child(26) {
  transform: rotate(250deg) translateX(-50%);
}
.rotating-text span:nth-child(27) {
  transform: rotate(260deg) translateX(-50%);
}
.rotating-text span:nth-child(28) {
  transform: rotate(270deg) translateX(-50%);
}
.rotating-text span:nth-child(29) {
  transform: rotate(280deg) translateX(-50%);
}
.rotating-text span:nth-child(30) {
  transform: rotate(290deg) translateX(-50%);
}
.rotating-text span:nth-child(31) {
  transform: rotate(300deg) translateX(-50%);
}
.rotating-text span:nth-child(32) {
  transform: rotate(310deg) translateX(-50%);
}
.rotating-text span:nth-child(33) {
  transform: rotate(320deg) translateX(-50%);
}
.rotating-text span:nth-child(34) {
  transform: rotate(330deg) translateX(-50%);
}
.rotating-text span:nth-child(35) {
  transform: rotate(340deg) translateX(-50%);
}
.rotating-text span:nth-child(36) {
  transform: rotate(350deg) translateX(-50%);
}

/* ドットを小さくしてスペースのように見せる */
.rotating-text span:contains("•") {
  font-size: 4px;
  color: #ca0019;
}

/* グラデーション背景色 */
.gradient-bg1 {
  background-image: linear-gradient(
    327deg,
    rgba(230, 8, 35, 1) 70%,
    rgba(255, 185, 22, 1) 95%
  );
}

.container-white {
  background-color: #fff;
  border-radius: 40px;
  padding: 50px;
  margin: 0 50px;
}

.recruitmentList > li {
  background-color: #f0efed;
  border-radius: 20px;
  padding: 20px;
  position: relative;
}
.recruitmentList .reqruit-kyubo {
  position: absolute;
  top: -15px;
  right: 30px;
}
.recruitmentList h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.recruitmentList-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.recruitmentList-tag li {
  margin-bottom: 3px;
}
.recruitmentList-tag span {
  background-color: #707070;
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.5;
}
.recruitmentList-tag .tag1 {
  background-color: #ca0019;
}
.recruitmentList-tag .tag2 {
  background-color: #e2921a;
}
.recruitmentList-tag .tag3 {
  background-color: #00a73c;
}
.recruitmentList dl {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.recruitmentList dl dt {
  width: 90px;
  border-bottom: 1px solid #c2c2c2;
  margin-bottom: 0;
  font-size: 16px;
  padding: 8px 10px 8px 0;
}
.recruitmentList dl dd {
  width: calc(100% - 90px);
  border-bottom: 1px solid #c2c2c2;
  margin-bottom: 0;
  font-size: 16px;
  padding: 8px 0;
}
.noRecruitment,
.noRecruitment2 {
  margin-top: 40px;
  background-color: #f0efed;
  border-radius: 20px;
  padding: 20px;
}
.noRecruitment2 {
  background-color: #fff;
  text-align: center;
}
.kuwashikuBtnWrap {
  margin-top: 20px;
}
.kuwashikuBtnWrap a {
  color: #ca0019;
  border-radius: 20px;
  font-size: 16px;
  display: flex;
  justify-content: flex-end;
}
.kuwashikuBtnWrap a::after {
  content: url(./img/arrow-red-circle.svg);
  margin-left: 10px;
  display: inline-block;
}
.kuwashikuBtnWrap a:hover,
.kuwashikuBtnWrap a:hover::after {
  opacity: 0.8;
}
@media screen and (max-width: 1300px) {
  .container-white .mdsWrap {
    width: 40%;
  }
  .container-white .txtWrap {
    width: 60%;
  }
}
@media screen and (max-width: 1220px) {
  .recruitmentList.flex-w3 > li {
    width: calc((100% / 2) - 1rem);
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .footer-nav > li {
    width: calc((100% / 4) - 1rem);
    text-align: center;
  }
}
@media screen and (max-width: 1020px) {
  .container-white {
    padding: 30px 0;
    margin: 0 15px;
    border-radius: 10px;
  }
  .container-white .mdsWrap {
    width: 40%;
  }
  .container-white .txtWrap {
    width: 60%;
  }
  .container-white .mdsWrap .txtWrap p {
    font-size: 14px;
  }
  .recruitmentList > li {
    border-radius: 10px;
  }
}
@media screen and (max-width: 768px) {
  .topShokushuList {
    justify-content: space-between;
  }
  .topShokushuList.flex-w3 {
    gap: 1rem;
  }
  .topShokushuList.flex-w3 > li {
    width: calc((100% / 2) - 0.5rem);
  }
  .topShokushuTxt {
    padding: 12px 6px;
  }
  .topShokushuTxt p {
    font-size: 12px;
    line-height: 1.5;
    min-height: calc(1.5em * 2);
  }
  .topShokushuTxt h2 {
    font-size: 16px;
  }
  .recruitmentList.flex-w3 > li {
    width: 100%;
  }
  .container-white .mdsWrap {
    width: 100%;
  }
  .container-white .txtWrap {
    width: 100%;
  }
  .recruitmentList > li {
    padding: 15px 10px;
  }
  .recruitmentList > li h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .recruitmentList-tag span {
    font-size: 11px;
  }
  .recruitmentList dl dt {
    font-size: 14px;
  }
  .recruitmentList dl dd {
    font-size: 14px;
  }
  .kuwashikuBtnWrap a {
    font-size: 14px;
  }
  .footer-nav > li {
    width: calc((100% / 2) - 1rem);
    text-align: center;
  }
  .footer-bottom .flex {
    flex-direction: column;
  }
  .footer-bottom img {
    width: 280px;
  }
  .footer-bottom-nav ul {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
  }
  .footer-bottom-nav ul > li {
    width: calc((100% / 2) - 1rem);
  }
  .footer-bottom-nav ul a {
    font-size: 13px;
  }
  .copyright {
    margin-top: 40px;
  }
}

/* page */
.page-title {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 80px;
  padding-bottom: 10px;
  background-image: linear-gradient(
    to right,
    #000,
    #000 2px,
    transparent 2px,
    transparent 8px
  );
  background-size: 5px 1px;
  background-position: left bottom;
  background-repeat: repeat-x;
}
.page-subtitle {
  font-size: 20px;
  color: #f1a800;
  font-family: "Dela Gothic One", sans-serif;
  margin-bottom: 20px;
}
.eyecatchWrap {
  margin-bottom: 60px;
  text-align: right;
}
.eyecatchWrap img {
  width: 90%;
  height: auto;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
.eyecatchWrap img.pc {
  display: inline-block;
}
.eyecatchWrap img.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .eyecatchWrap img.pc {
    display: none;
  }
  .eyecatchWrap img.sp {
    display: inline-block;
  }
  .eyecatchWrap img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
}
.page-navi {
  border: 1px solid #ca0019;
  width: min(1600px, 90%);
  margin: 50px auto;
  border-radius: 38px;
  background-color: #fff;
  padding: 25px;
  font-size: 17px;
}
.page-navi ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}
.page-navi ul li a {
  display: flex;
  align-items: center;
  color: #ca0019;
}
.page-navi ul li a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.page-navi ul li a::before {
  content: url("./img/arrow-red-circle-st.svg");
  margin-bottom: 0;
  margin-right: 5px;
  display: inline-block;
}
.kasou-main .mds2 {
  margin-bottom: 50px;
}
.txtcontainer .mdsWrap {
  width: 45%;
}
.txtcontainer .txtWrap {
  width: calc(55% - 2rem);
}
.about01 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.about01 .about01-txt {
  width: 60%;
}
.about01 img {
  width: min(600px, 40%);
  border-radius: 20px;
  filter: drop-shadow(8px 8px 0px #ca0019);
}
.companyDl,
.boshuDl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.boshuDl {
  border-top: 1px solid #c2c2c2;
  padding-top: 15px;
}
.companyDl dt,
.boshuDl dt {
  width: 200px;
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.companyDl dd,
.boshuDl dd {
  width: calc(100% - 200px);
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.companyDl dt:last-of-type,
.companyDl dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.googlemapWrap iframe {
  margin-top: 15px;
  width: 100%;
}

.entryDl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.entryDl dt {
  width: 300px;
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.entryDl dd {
  width: calc(100% - 300px);
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 20px;
  margin-bottom: 20px !important;
}
.entryDl input[type="text"],
.entryDl input[type="email"],
.entryDl input[type="tel"],
.entryDl textarea {
  border: 1px solid #c2c2c2;
  border-radius: 3px;
  background-color: #fff;
  padding: 5px;
  width: 100%;
}
/*.entryDl input[type="text"].ubin {
  width: 250px;
  margin-left: 10px;
}*/
input#zip {
  width: 250px;
  margin-left: 10px;
}

.entryDl input[type="text"].address {
  margin-top: 15px;
}
.entryDl input[type="checkbox"] {
  appearance: auto;
  border: 1px solid #c2c2c2;
  border-radius: 3px;
  background-color: #fff;
  padding: 3px;
  width: 1em;
  height: 1em;
  margin-right: 5px;
}
.entryDl .douiWrap {
  display: flex;
}
.entryDl .douiWrap .wpcf7-list-item-label {
  display: none;
}
.historyUl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.historyUl li {
  width: calc((100% / 2) - 1rem);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.historyUl li:nth-child(even) {
  margin-top: 100px;
}
.historyUl li.show {
  opacity: 1;
  transform: translateY(0);
}
.historyUl li figure img {
  border-radius: 10px;
}
.historyUl li figure figcaption {
  font-size: 18px;
  text-align: center;
  margin-top: 10px;
}

ul.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  margin-bottom: 10px;
}

.timeline-inner {
  display: flex;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-line {
  position: relative;
  width: 20px;
  display: flex;
  justify-content: center;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ca0019;
  height: calc(100% + 60px);
  z-index: 10;
}
.timeline-item:last-child .timeline-line::before {
  display: none;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #ca0019;
  position: relative;
  z-index: 30;
}
.timeline-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #ca0019;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
}

.timeline-content {
  padding-left: 20px;
  display: flex;
  gap: 15px;
}

.timeline-year {
  color: #ca0019;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 0;
  width: 230px;
}
.timeline-year span {
  font-size: 20px;
}

.timeline-description {
  /*font-size: 14px;*/
  line-height: 1.8;
  width: calc(100% - 230px);
}
.timeline-description p {
  margin-bottom: 0;
}
.timeline-description p:last-of-type {
  margin-bottom: 0;
  font-size: 14px;
}
.timeline-description p.mb-15 {
  margin-bottom: 15px;
}

.work-top p.mds2 {
  width: min(1075px, 100%);
}
.work-message-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
  flex-direction: row-reverse;
}

.work-message-wrap .message-box {
  width: 60%;
}
.work-message-wrap .message-box p.name {
  font-weight: bold;
  text-align: right;
}
.work-message-wrap .message-box p.name span {
  font-weight: bold;
  font-size: 24px;
}
.work-message-wrap img {
  width: min(600px, 40%);
  border-radius: 20px;
}

.pointWrap {
  border-radius: 20px;
  margin-top: 170px;
}
.pointWrap .point-inner {
  padding: 50px;
  position: relative;
}
.pointWrap .point-inner .point-dog {
  position: absolute;
  top: -110px;
  right: 15px;
  width: 260px;
}
.pointWrap .point-inner .point-fukidashi {
  position: absolute;
  top: -110px;
  right: 210px;
  transform: rotate(-7deg);
  z-index: -1;
}
.pointWrap .point-inner .point-fukidashi .in {
  position: relative;
  text-align: center;
}
.pointWrap .point-inner .point-fukidashi .in p {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  color: #ca0019;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
.pointWrap h3 {
  text-align: center;
  font-size: 30px;
  color: #fff;
  margin-bottom: 25px;
}
.pointWrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pointWrap ul li {
  width: calc((100% / 2) - 1rem);
  background-color: #fef6eb;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 5px 5px 0px rgba(202, 0, 25, 1);
}
.pointWrap ul li h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ca0019;
}
.pointWrap ul li .imgWrap {
  width: 96px;
  position: relative;
}
.pointWrap ul li .imgWrap p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
.pointWrap ul li .imgWrap p span {
  font-size: 30px;
  display: block;
  text-align: center;
  margin-top: 8px;
}
.pointWrap ul li .txtWrap {
  width: calc(100% - 116px);
}
.pointWrap ul li .txtWrap h4 {
  line-height: 1.5;
}
.pointWrap ul li .txtWrap p {
  font-size: 18px;
  line-height: 1.5;
}

.workListTab ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.workListTab ul > li {
  width: calc(100% / 5);
  color: #7d7d7d;
  background-color: #f0efed;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: center;
  padding: 15px 10px;
  font-size: 16px;
  font-weight: bold;
  border-top: 1px solid #e3e2de;
  border-left: 1px solid #e3e2de;
  border-right: 1px solid #e3e2de;
  border-bottom: 2px solid #f0efed;
  cursor: pointer;
}
.workListTab ul > li.active {
  background-color: #fef6eb;
  color: #ca0019;
  border-bottom: 2px solid #ca0019;
  border-top-color: #fef6eb;
  border-left-color: #fef6eb;
  border-right-color: #fef6eb;
}
.workListTab ul > li:hover {
  opacity: 0.8;
}
.workwrap_out {
  background-color: #fff;
  border-radius: 20px;
}
.workListWrap .inner .img-cover {
  border-radius: 20px;
}
.workListWrap .inner .wrap {
  padding: 60px;
  /*background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;*/
}
.workListWrap .inner .wrap .top .txt {
  width: min(650px, 100%);
}
.work-shurui {
  border-top: 1px solid #f1a800;
  margin-top: 50px;
  padding-top: 50px;
}
.work-shurui li {
  display: flex;
  align-items: center;
  gap: 100px;
  padding-bottom: 50px;
  border-bottom: 1px solid #f1a800;
  margin-bottom: 50px;
}
.work-shurui li .work-slider {
  width: 450px;
}
.work-shurui li .work-slider img {
  border-radius: 20px;
}
.work-shurui li .txt {
  width: calc(100% - 550px);
}
.work-shurui li .txt h4 {
  font-size: 26px;
  margin-bottom: 30px;
}
.interviewWrap .img {
  width: min(450px, 100%);
  border-radius: 20px;
}
.interviewWrap .naiyo {
  margin-bottom: 20px;
}
.interviewWrap .naiyo li {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 3px;
  color: #7d7d7d;
}
.work-tab-bottom {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
}
.work-tab-bottom > li {
  width: calc(100% / 5);
}
.work-tab-bottom > li a {
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  font-size: 16px;
  display: block;
}
.work-tab-bottom > li a p {
  padding: 15px;
}
.work-tab-bottom > li a:hover p,
.work-tab-bottom > li a:hover img {
  opacity: 0.8;
}
.work-tab-bottom > li a img {
  width: 100%;
  border-radius: 10px;
}
.work-slider {
  width: 100%;
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  max-width: 100%;
  height: auto;
}
/* ページネーションカスタマイズ */
.work-shurui .work-slider .swiper-pagination-bullet {
  background: #eeeeee;
  border: 1px solid #dddddd;
  opacity: 1;
}
.work-shurui .work-slider .swiper-pagination-bullet-active {
  background: #ca0019;
}

.swiper-button-next {
  background-image: url("https://maxgroup-recruit.maxsportsclub.com/wp-content/themes/recruit/img/slide-right.svg"); /* 次の矢印画像 */
  background-size: 20px 20px; /* 画像サイズ */
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev {
  background-image: url("https://maxgroup-recruit.maxsportsclub.com/wp-content/themes/recruit/img/slide-left.svg"); /* 前の矢印画像 */
  background-size: 20px 20px; /* 画像サイズ */
  background-repeat: no-repeat;
  background-position: center;
}

/* デフォルトの矢印を非表示 */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* ホバー効果 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.8;
}

/* タブコンテンツの表示制御 */
.tab-content {
  display: none;
}

/*.recruitmentList {
  display: none;
}
.recruitmentList.active {
  display: block;
} */
.tab-content.active {
  display: block;
}

.recruitmentWrap {
  margin-bottom: 40px;
}

.faqList {
  display: flex;
  gap: 25px;
  flex-direction: column;
}
.faqList dt {
  background-color: #fef6eb;
  border-radius: 10px;
  padding: 15px 60px 15px 15px;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
}
.faqList dt::before,
.faqList dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: #ca0019;
  transition: all 0.3s ease;
}
.faqList dt::after {
  transform: translateY(-50%) rotate(90deg);
}
.faqList dt.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.faqList .faq-qa {
  width: 60px;
  position: relative;
}
.faqList .faq-qa span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 30px;
  font-weight: bold;
}
.faqList dd {
  padding: 0 40px 0 0;
  display: none;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-bottom: 0 !important;
}
.faqList dd .inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  padding-left: 15px;
}
.faqList dd.active {
  display: flex;
}
.faqList dd .faq-qa.answer {
  min-height: 55px;
  text-align: center;
}
.faqList dd .faq-qa.answer span {
  font-size: 30px;
  font-weight: bold;
  color: #f1a800;
}

.ppBtn {
  background-color: #f1a800;
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  padding: 3px 12px;
  cursor: pointer;
  display: inline-block;
}

.ppBtn:hover {
  opacity: 0.8;
}

.entrySubmit {
  text-align: center;
}
.entrySubmit p {
  position: relative;
  display: inline-block;
  width: min(500px, 100%);
}
.entrySubmit p::after {
  content: url("https://maxgroup-recruit.maxsportsclub.com/wp-content/themes/recruit/img/arrow.svg");
  position: absolute;
  top: calc(50% - 15px);
  right: 25px;
  /*transform: translateY(-50%);*/
  width: 20px;
  height: 17px;
}
.wpcf7-submit {
  width: 100%;
  margin: 60px auto 0;
  background-color: #ca0019;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  padding: 23px 40px;
  border-radius: 40px;
  cursor: pointer;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}
span.hissu {
  margin-left: 10px;
  background-color: #ca0019;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  padding: 0px 10px 1px;
  display: inline-block;
  transform: translateY(-6%);
}
span.wpcf7-spinner {
  display: none;
}
#autozip {
  display: none !important;
}
.pp_guidelines h4 {
  margin-top: 30px;
  border-bottom: 1px solid #c2c2c2;
}
#job .wpcf7-list-item {
  margin-bottom: 8px;
}
#job label {
  display: flex;
  align-items: center;
  line-height: 1.5;
  gap: 5px;
}
#job label input {
  width: 2em;
}

/* モーダル全体 */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.privacy-modal.show {
  display: block;
  opacity: 1;
}

/* オーバーレイ */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

/* モーダルコンテンツ */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.privacy-modal.show .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

/* モーダルヘッダー */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fa;
}

.modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* 閉じるボタン */
.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: #e0e0e0;
  color: #333;
}

/* モーダルボディ */
.modal-body {
  padding: 25px;
  max-height: 60vh;
  overflow-y: auto;
  line-height: 1.6;
  font-size: 14px;
}

.modal-body p {
  margin-bottom: 15px;
  color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-body {
    padding: 20px;
    max-height: 70vh;
  }
}

@media screen and (max-width: 1220px) {
  .work-tab-bottom {
    flex-wrap: wrap;
  }
  .work-tab-bottom > li {
    width: calc(100% / 2 - 25px);
  }
  .page-subtitle {
    font-size: 16px;
  }
  .page-title {
    font-size: 30px;
  }
  .workListTab ul > li {
    font-size: 14px;
  }
}
@media screen and (max-width: 1020px) {
  .work-message-wrap {
    flex-direction: column;
    gap: 40px;
  }
  .work-message-wrap img {
    border-radius: 10px;
  }

  .work-message-wrap .message-box {
    width: 100%;
  }
  .pointWrap .point-inner {
    padding: 25px 10px;
  }
  .pointWrap h3 {
    font-size: 24px;
    text-align: left;
  }
  .pointWrap ul {
    flex-direction: column;
  }
  .pointWrap ul li {
    width: 100%;
  }
  .pointWrap ul li .txtWrap {
    width: 100%;
  }
  .pointWrap ul li .txtWrap h4 {
    font-size: 16px;
  }
  .pointWrap ul li .txtWrap p {
    font-size: 14px;
  }
  .workListTab ul {
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start;
    margin-bottom: 15px;
  }
  .workListTab ul > li {
    width: calc(100% / 2 - 2px);
    border-radius: 0;
    border-bottom: 1px solid #f0efed;
    text-align: left;
    padding: 15px 5px;
    position: relative;
  }
  .workListTab ul > li.active {
    border: 1px solid #fef6eb;
  }
  .workListTab ul > li::before {
    content: url("https://maxgroup-recruit.maxsportsclub.com/wp-content/themes/recruit/img/arrow-gray-circle-st.svg");
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
  }
  .workListTab ul > li.active::before {
    content: url("https://maxgroup-recruit.maxsportsclub.com/wp-content/themes/recruit/img/arrow-red-circle-st.svg");
  }
  /*
  .recruit-wrap {
    margin-left: 10%;
  }
    */
  .timeline-inner {
    padding: 10px;
  }
  .timeline-content {
    flex-direction: column;
    gap: 5px;
    padding-left: 10px;
  }
  .timeline-year {
    width: 100%;
    font-size: 14px;
  }
  .timeline-year span {
    font-size: 16px;
  }
  .timeline-description {
    width: 100%;
    font-size: 14px;
  }
  .timeline-line::before {
    height: calc(100% + 40px);
  }
}
@media screen and (max-width: 920px) {
  .txtcontainer .flex {
    flex-direction: column;
  }
  .txtcontainer .mdsWrap {
    width: 100%;
  }
  .txtcontainer .mdsWrap .mds2 {
    margin-bottom: 50px;
  }
  .txtcontainer .txtWrap {
    width: 100%;
  }
  .about01 {
    flex-direction: column;
    gap: 20px;
  }
  .about01 .about01-txt {
    width: 100%;
  }
  .about01 img {
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  .page-navi {
    border-radius: 10px;
    padding: 15px 10px;
    font-size: 14px;
  }
  .page-navi ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .page-navi ul > li {
    width: calc(100% / 2 - 0.5rem);
  }

  .txtcontainer .mdsWrap .mds2 {
    margin-bottom: 25px;
  }

  .work-tab-bottom {
    gap: 10px;
  }
  .work-tab-bottom > li {
    width: 100%;
  }
  .work-tab-bottom > li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
  }
  .work-tab-bottom > li a img {
    width: 120px;
  }
  .work-tab-bottom > li a p {
    font-size: 16px;
    padding: 5px;
  }
  .page-title {
    margin-bottom: 45px;
  }
  .work-message-wrap img {
    width: 70%;
  }
  .work-message-wrap .message-box p.name span {
    font-size: 18px;
  }
  .pointWrap {
    margin-top: 100px;
  }
  .pointWrap .point-inner .point-dog {
    width: 170px;
    top: -60px;
    right: 0px;
  }
  .pointWrap .point-inner .point-fukidashi {
    top: -80px;
    right: 100px;
  }
  .pointWrap .point-inner .point-fukidashi .in p {
    font-size: 12px;
  }
  .pointWrap .point-inner .point-fukidashi .in img {
    width: 220px;
  }
  .pointWrap ul li {
    border-radius: 10px;
  }
  .pointWrap ul li .imgWrap p {
    font-size: 11px;
  }
  .pointWrap ul li .imgWrap p span {
    font-size: 24px;
  }
  .workListTab ul > li {
    font-size: 12px;
  }
  .workwrap_out,
  .workListWrap .inner .img-cover,
  .work-shurui li .work-slider img {
    border-radius: 10px;
  }

  .faqList dt {
    font-size: 16px;
  }
  .faqList dt p {
    line-height: 1.5;
  }
  .faqList .faq-qa {
    width: 35px;
  }
  .faqList .faq-qa span {
    font-size: 18px;
  }
  .faqList dd .faq-qa.answer span {
    font-size: 18px;
  }
  .faqList dd .faq-qa.answer {
    width: 35px;
  }
  .faqList dd .inner p {
    width: calc(100% - 35px);
  }
  .about01 img {
    width: 100%;
  }
  .historyUl {
    flex-direction: column;
  }
  .historyUl li {
    width: 100%;
  }
  .historyUl li figure {
    text-align: center;
  }
  .historyUl li figure img {
    width: min(650px, 100%);
  }
  .historyUl li figure figcaption {
    font-size: 14px;
  }
  .historyUl li:nth-child(even) {
    margin-top: 0;
  }
  .timeline-description p:last-of-type {
    font-size: 12px;
  }

  .entry-wrap {
    padding: 0 15px;
  }
  .entryDl {
    flex-direction: column;
  }
  .entryDl dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
  }
  .entryDl dd {
    width: 100%;
  }
  .wpcf7-submit {
    font-size: 18px;
    padding: 13px 25px;
  }
  .entrySubmit {
    margin-top: 20px;
  }
  .entrySubmit p::after {
    top: calc(50% - 10px);
  }
}

/* インタビューボックスの質問番号 */
.interview-box {
  counter-reset: question-counter;
}
.interview-box dt {
  counter-increment: question-counter;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ca0019;
}
.interview-box dt::before {
  content: "Q" counter(question-counter) " ";
  font-weight: bold;
  color: #ca0019;
}
.interview-box dd {
  margin-left: 2em;
}
.interview-box dd:not(:last-of-type) {
  margin-bottom: 40px !important;
}

.recruitment-box {
  border-radius: 20px;
  padding: 50px;
}
.recruitment-box h3 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #ca0019;
}
.recruitment-box .recruitmentList-txt {
  margin-top: 45px;
}
.recruitment-box .recruitmentList-txt h4,
.recruitmentList-boshu h4 {
  font-size: 26px;
  margin-bottom: 25px;
}

.recruitmentList-boshu {
  margin-top: 60px;
}

.bottom-tab-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}

@media screen and (max-width: 1420px) {
  .workListWrap .container2 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (max-width: 1260px) {
  .workListWrap .top {
    flex-direction: column;
  }
  .workListWrap .inner .wrap .top .txt {
    width: 100%;
  }
  .work-shurui li {
    gap: 40px;
  }
  .work-shurui li .work-slider {
    width: 350px;
  }

  .work-shurui li .txt {
    width: calc(100% - 390px);
  }
}
@media screen and (max-width: 1020px) {
  .workListWrap .inner .wrap {
    padding: 15px 10px;
  }
  .workListWrap .container2 {
    padding-left: 0;
    padding-right: 0;
  }
  .work-shurui {
    padding-top: 25px;
    margin-top: 25px;
  }
  .work-shurui li {
    flex-direction: column;
    padding-bottom: 25px;
    margin-bottom: 25px;
    gap: 20px;
  }
  .work-shurui li .work-slider,
  .work-shurui li .txt {
    width: 100%;
  }
  .work-shurui li .txt h4 {
    font-size: 18px;
    margin-bottom: 18px;
  }
  .interviewWrap > div.flex {
    flex-direction: column;
  }
  .interviewWrap .naiyo li {
    font-size: 14px;
  }
  .interviewWrap .img {
    width: 100%;
    border-radius: 10px;
  }
  .interview-box dt {
    font-size: 16px;
  }
  .recruitment-box {
    padding: 30px 10px;
  }
  .recruitment-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .recruitment-box .recruitmentList-txt {
    margin-top: 25px;
  }
  .recruitment-box .recruitmentList-txt h4,
  .recruitmentList-boshu h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .companyDl dt,
  .boshuDl dt {
    width: 90px;
  }
  .companyDl dd,
  .boshuDl dd {
    width: calc(100% - 90px);
  }
  .boshuDl dt:last-of-type,
  .boshuDl dd:last-of-type {
    margin-bottom: 0;
  }
}

/* footer */
.footer-entry {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 20%,
    #ca0019 20%,
    #ca0019 100%
  );
}
.footer-entry-inner {
  padding-top: 60px;
}
.footer-entry-box {
  align-items: self-end;
}
.footer-entry-box img {
  z-index: 1;
  width: 40%;
  height: fit-content;
}
.footer-entry-box .txtWrap {
  /*margin-top: 120px;*/
  width: calc(60% - 2.5rem);
  margin-bottom: 2rem;
  padding-top: 100px;
}
.footer-entry-box p.mds2 {
  font-size: 40px;
}
.footer-entry-box p {
  color: #fff;
  line-height: 1.5;
}
.footer-entry-box .btnWrap {
  margin-top: 40px;
}
.btn2 {
  margin-left: 0;
  margin-right: 0;
  background-color: #fff;
  color: #ca0019;
}
.footer-nav {
  margin-top: 20px;
}
.footer-nav a {
  display: block;
}
.footer-nav a img {
  filter: drop-shadow(0px 0px 16px rgba(194, 194, 194, 0.4));
}
.footer-bottom-nav {
  font-size: 14px;
}
.footer-bottom-nav h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.footer-bottom-nav .footer-bottom-nav-right h3 {
  margin-bottom: 35px;
}
.footer-bottom-nav .footer-bottom-nav-right h3.last {
  margin-bottom: 15px;
}
.footer-bottom-nav a {
  color: #fff;
}
.footer-bottom-nav ul > li {
  margin-bottom: 12px;
}
.footer-bottom-nav ul a {
  color: #c2c2c2;
}
.footer-bottom-nav a:hover {
  text-decoration: underline;
}

footer.kasou-footer {
  margin-top: -110px;
}
footer.kasou-footer .sp-img {
  display: none;
}

@media screen and (max-width: 1220px) {
  .footer-entry-box .btnWrap {
    margin-top: 30px;
  }
  .footer-entry .txtWrap .btn2 {
    font-size: 18px;
    width: min(500px, 100%);
    padding: 15px 25px;
  }
}

@media screen and (max-width: 768px) {
  footer.kasou-footer {
    /*margin-top: -135px;*/
    margin-top: 0;
  }
  .footer-entry {
    /*background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 15%,
      #ca0019 15%,
      #ca0019 100%
    );*/
    background-color: #ca0019;
  }
  .footer-entry-inner {
    padding-top: 40px;
  }
  .footer-entry-box .txtWrap {
    padding-top: 0px;
    width: 100%;
  }
  .footer-entry-box img {
    display: none;
  }
  footer.kasou-footer .sp-img {
    display: block;
  }
  .footer-entry-box .txtWrap .btnWrap {
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .footer-entry-box .txtWrap .btnWrap .btn2 {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .footer-entry-box p.mds2 {
    font-size: 30px;
  }
}

.copyright {
  color: #c2c2c2;
  font-size: 12px;
}
