@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Alata&family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500;700&display=swap");
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-family: "Alata", "M PLUS 1p", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
  letter-spacing: 0.075em;
  font-weight: 500;
  color: var(--purple);
  font-size: 1.6rem;
  line-height: 1.7;
  overflow-x: clip;
}
:root {
  --orange: #fc6a39;
  --purple: #62259d;
  --white: #fff;
  --black: #000;
  --gray: #f5f5f5;
  --gray-purple: #e6d6f4;
}

a {
  display: block;
  transition: 0.2s;
  text-decoration: none;
  color: #484848;
}
img {
  display: block;
  width: 100%;
  height: auto;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}
em {
  display: inline-block;
  font-weight: inherit;
}
span {
  font-weight: inherit;
}
small {
  font-size: 80%;
  font-weight: inherit;
}
strong {
  font-weight: inherit;
}
.sp {
  display: none !important;
}
.caution {
  padding-top: 1em;
  font-size: 1.3rem;
  line-height: 1.5;
}
ul.caution li {
  text-indent: -1em;
  padding-left: 1em;
}

#wrapper {
  position: relative;
}

.pageHeader {
  position: relative;
  padding: calc(8rem + 8%) 5% 8%;
  background: var(--purple);
  overflow: hidden;
  text-align: center;
}

.pageHeader .inner {
  position: relative;
  z-index: 2;
  max-width: 90rem;
  margin: 0 auto;
  text-align: center;
}

.pageHeader h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 7vw, 20rem);
  color: var(--orange);
  letter-spacing: 0.15em;
  line-height: 1;
}

.pageHeader h2 .jpTitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 1.8vw, 6rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 0.1em;
  display: block;
}
header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5%;
  height: 8rem;
}
header h1 {
  display: flex;
  align-items: center;
  background: var(--white);
}
header h1 img {
  max-width: 30rem;
}

header nav {
  position: relative;
  z-index: 5;
  height: 100%;
}
header nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
header nav > ul li a {
  font-size: 1.8rem;
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
  display: block;
  padding: 0.75em 1em;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.075em;
}
header nav > ul li a:hover {
  background: var(--purple);
  color: var(--orange);
}
header nav > ul li:first-child a {
  padding: 0.75em 1em 0.75em 2em;
  border-radius: 20rem 0 0 20rem;
}
header nav > ul li:last-child a {
  padding: 0.75em 2em 0.75em 1em;
  border-radius: 0 20rem 20rem 0;
}
header nav > ul li #subNav {
  display: none;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  height: auto;
  position: absolute;
  top: 100%;
  z-index: 1000;
  padding: 0 1em 1em;
  box-sizing: border-box;
  white-space: nowrap;
  right: 0;
}

body.subpage header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  align-items: center;
  gap: 0.5rem;
  padding: 0 2.5%;
  display: flex;
}
body.subpage header h1 {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
body.subpage header nav > ul li {
  height: 100%;
}
body.subpage header nav > ul li a {
  background: none;
  color: var(--purple);
  font-weight: 900;
  height: 100%;
  padding: 0 1em;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0;
}
body.subpage header nav > ul li a:hover {
  color: var(--orange);
}
body.subpage header nav > ul li a:before {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: var(--orange);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: ease 0.3s;
}
body.subpage header nav > ul li a:hover:before {
  width: 100%;
}

.btn {
  position: relative;
  display: block;
  z-index: 5;
}
.btn a {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  text-align: center;
  padding: 0.75em 2em 0.75em 1em;
  transition: 0.2s;
  display: inline-block;
  line-height: 1;
  border-radius: 20rem;
}
.btn a:after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-top: 0.15em solid var(--white);
  border-right: 0.15em solid var(--white);
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  right: 1em;
}

.inview {
  opacity: 0;
  transform: translateY(1em);
  transition: 0.8s;
}
.inview.fadeIn {
  transform: translateY(0);
  opacity: 1;
}
footer {
  background: #222;
  color: var(--orange);
  text-align: center;
  position: relative;
  padding: 5rem 2.5%;
  z-index: 300;
  display: flex;
  justify-content: space-between;
}
footer .ybt {
  text-align: left;
  display: flex;
  align-items: center;
}
footer .ybt:before {
  content: "";
  display: block;
  background: url("../images/ybt.jpg") no-repeat;
  background-size: cover;
  width: 50%;
  min-width: 24rem;
  aspect-ratio: 190.48/100;
}
footer .ybt .txt {
  white-space: nowrap;
  padding-left: 1.5em;
}
footer .ybt .txt p {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.75em;
  color: var(--white);
}
footer .ybt .txt .toYbt a {
  background: var(--orange);
  display: inline-block;
  line-height: 1;
  color: var(--white);
  padding: 0.5em 2.5em;
  border-radius: 0.3rem;
  box-shadow: 5px 5px rgba(173, 47, 0, 0.5);
  font-weight: 500;
}
footer .ybt .txt .toYbt a:hover {
  box-shadow: 0 0 rgba(173, 47, 0, 0.5);
}
footer .ybt .txt .toYbt a span {
  display: block;
  font-size: 66%;
  padding-bottom: 0.25em;
}
footer .right nav {
  display: block;
  text-align: right;
}
footer .right nav ul {
  display: inline-block;
  text-align: left;
}
footer .right nav li {
  margin-bottom: 0.35rem;
  position: relative;
}
footer .right nav li:before {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  top: 0.55em;
  left: -0.85em;
}
footer .right nav li a {
  font-size: 1.4rem;
  color: var(--white);
}
footer .right nav li a:hover {
  color: var(--orange);
}
footer .cr {
  margin-top: 1em;
  font-family: "M PLUS 1p", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  position: absolute;
  right: 2.5%;
  bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

#news {
  background: var(--orange);
  color: var(--purple);
  text-align: center;
  height: 100vh;
}
#news .inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
ul.newsList {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 120rem;
  margin: 0 auto;
}
ul.newsList li {
  flex: 1 0 calc(33.333% - 2em);
  max-width: calc(33.333% - 2em);
  margin: 0 calc(6em / 4) calc(6em / 2) 0;
  background: var(--purple);
  border-radius: 10px;
  overflow: hidden;
}
/*ul.newsList li:nth-child(3n) {
 margin: 0 0 calc(6em / 2);
}*/
ul.newsList li .thumb {
  position: relative;
  overflow: hidden;
  background: #ccc;
}
ul.newsList li .thumb:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
ul.newsList li .thumb img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
ul.newsList li {
  display: flex;
  flex-direction: column;
}
ul.newsList li a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}
ul.newsList li h4 {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--white);
  flex: 1;
}
ul.newsList li .date {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-align: right;
  padding: 0 1rem 1rem 0;
  opacity: 0.8;
}
#news .btn {
  margin: 2.5em auto 0;
}
#news .btn a {
  background: var(--purple);
  color: var(--white);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 5rem;
  padding: 0;
  border: none;
}
.pagination a,
.pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 4.5rem;
  height: 4.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  color: var(--dark);
  background: var(--white);
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
}
.pagination a:hover {
  background: var(--purple);
  color: var(--white);
}
.pagination a.active {
  color: var(--orange);
  pointer-events: none;
}
.pagination a.prev,
.pagination a.next {
  font-size: 1.8rem;
  font-weight: bold;
}
.pagination a.disabled {
  opacity: 0.7;
  pointer-events: none;
}
.pagination .dots {
  background: transparent;
  box-shadow: none;
  min-width: auto;
  color: var(--gray);
}
#contact {
  padding: 5% 0;
  text-align: center;
  background: var(--white);
  color: var(--purple);
}
#contact h2 {
  font-size: 4rem;
  line-height: 1.5;
  font-weight: 700;
  display: block;

  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

form table {
  margin: 0 auto;
  width: 100%;
  max-width: 80rem;
}

form table th {
  width: 18rem;
  vertical-align: top;
}
form table td {
  line-height: 1.3;
  font-weight: 400;
  text-align: left;
  padding: 1rem;
}
form input,
form textarea {
  line-height: 1.4;
  outline: none;
  background: rgba(245, 200, 200, 0.5);
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(245, 200, 200, 0.25);
  resize: none;
  width: 100%;
  max-width: 40rem;
  color: #310000;
  box-sizing: border-box;
  font-size: 1.5rem;
  border-radius: 20rem;
}
form textarea {
  max-width: 100%;
  border-radius: 0.9rem;
}
form input:focus,
form textarea:focus {
  border: 1px solid rgba(240, 218, 205, 0.85);
  background: #ffcfcf;
}

@keyframes ripple {
  0% {
    box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0px 0px 0px 15px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0px 0px 0px 15px rgba(255, 255, 255, 0);
  }
}

form table td p {
  padding-top: 1rem;
  font-size: 1.4rem;
}
form .btnArea {
  display: block;
  font-size: 0;
  letter-spacing: -0.4rem;
}

form .btnArea .btn:last-of-type {
  margin-right: 0;
}

form .btnArea .btn button:hover,
form .btnArea .btn a:hover {
  color: #333;
  background: var(--purple);
}

.contentsNav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.contentsNav a {
  flex: 1 0 50%;
  max-width: 50%;
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contentsNav a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 10rem;
  height: 10rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}
.contentsNav a.toRecruit::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='9' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'%3E%3C/path%3E%3C/svg%3E");
}
.contentsNav a.toContact::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}
.contentsNav a:hover {
  opacity: 0.85;
}
.contentsNav a.toRecruit {
  background: #97259d;
}
.contentsNav a.toContact {
  background: var(--purple);
}

/* ===== HAMBURGER MENU (shared across all pages) ===== */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.menu-btn .hamburger-line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--orange);
  position: absolute;
  left: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-btn .hamburger-line:nth-child(1) {
  top: 0;
}
.menu-btn .hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu-btn .hamburger-line:nth-child(3) {
  bottom: 0;
}
.menu-btn.open .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: var(--white);
}
.menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(40px);
}
.menu-btn.open .hamburger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background: var(--white);
}

body.subpage .menu-btn .hamburger-line {
  background: var(--purple);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: radial-gradient(circle, rgba(252, 106, 57, 0.15) 2px, transparent 2px), linear-gradient(135deg, rgba(98, 37, 157, 0.9) 0%, rgba(252, 106, 57, 0.85) 100%);
  z-index: 2000;
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}
.nav-menu.open {
  right: 0;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1999;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#navMenu .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: calc(100% - 10rem);
}
#navMenu .nav-list li {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#navMenu.open .nav-list li {
  opacity: 1;
  transform: translateX(0);
}
#navMenu .nav-list li:nth-child(1) {
  transition-delay: 0.1s;
}
#navMenu .nav-list li:nth-child(2) {
  transition-delay: 0.2s;
}
#navMenu .nav-list li:nth-child(3) {
  transition-delay: 0.3s;
}
#navMenu .nav-list li:nth-child(4) {
  transition-delay: 0.4s;
}
#navMenu .nav-list li:nth-child(5) {
  transition-delay: 0.5s;
}
#navMenu .nav-list > li > a {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
#navMenu .nav-list > li > a::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translateX(-1rem);
  flex-shrink: 0;
}
.close-menu-btn {
  position: absolute;
  top: 2rem;
  right: 4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  z-index: 10;
}
.close-menu-btn .close-line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--white);
  position: absolute;
  left: 0;
  top: 50%;
}
.close-menu-btn .close-line:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
.close-menu-btn .close-line:nth-child(2) {
  transform: translateY(-50%) rotate(-45deg);
}

@media screen and (max-width: 999px) {
  body {
    font-size: 1.4rem;
  }
  .caution {
    font-size: 1.1rem;
  }
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .bgVideo {
    position: relative;
    height: auto;
  }
  .bgVideo video {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0) translateY(0);
    width: 100%;
    height: auto;
  }
  #wrapper {
    font-size: 1.4rem;
  }
  section {
    height: auto;
  }
  .pageHeader {
    padding: calc(6rem + 10%) 2rem 10%;
  }
  .pageHeader p {
    font-size: 1.2rem;
    margin-top: 1.75em;
  }
  .pageTtl {
    font-size: 3.9rem;
  }
  .secTtl {
    font-size: 3.6rem;
  }

  .btn a {
    font-size: 15px;
  }

  .menu-btn {
    display: block;
  }
  header {
    height: 6rem;
    padding: 0 2rem;
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  header nav {
    display: none;
  }
  header h1 {
    background: transparent;
    padding: 0;
    border-radius: 0;
    height: 3.5rem;
  }

  header h1 img {
    max-height: 3rem;
    width: auto;
  }

  footer {
    padding: 10% 2rem 5%;
    display: block;
  }
  footer .ybt {
    width: 100%;
    align-items: flex-start;
  }
  footer .ybt:before {
    width: 40%;
    min-width: 10rem;
  }
  footer .ybt .txt {
    padding-left: 1em;
  }
  footer .ybt .txt p {
    font-size: 10px;
    word-break: break-all;
  }
  footer .ybt .txt .toYbt a {
    font-size: 15px;
  }
  footer .right {
    width: 100%;
  }
  footer .right nav {
    text-align: center;
    display: block;
    padding: 2rem;
  }
  footer .right nav ul {
    display: inline-block;
    text-align: left;
  }
  footer .right nav li a {
    font-size: 12px;
  }
  footer .cr {
    margin-top: 0;
    font-size: 11px;
    text-align: center;
    position: relative;
    right: 0;
    bottom: 0;
  }

  #news {
    height: auto;
    padding: 10% 5%;
  }
  #news .inner {
    position: static;
    transform: none;
  }
  ul.newsList {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 1.5rem;
    max-width: 100%;
    padding-left: 2rem;
  }
  ul.newsList li {
    flex: 0 0 75vw;
    max-width: 75vw;
    margin: 0 1.5rem 0 0;
  }
  ul.newsList li h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5em;
  }
  #news .btn {
    margin: 1.5em auto 0;
  }

  .contentsNav a {
    height: 10rem;
    font-size: 18px;
  }
  .contentsNav a::before {
    width: 6rem;
    height: 6rem;
  }
  form table {
    display: block;
  }
  form table tbody {
    display: block;
  }
  form table tr {
    display: block;
    margin-bottom: 1.5rem;
  }
  form table th,
  form table td {
    display: block;
    width: 100%;
    padding: 0.25rem 0;
  }
  form input,
  form textarea {
    max-width: 100%;
  }
}
