@charset "UTF-8";
/* 全体の設定 */
html {
  font-size: 62.5%;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-size: 1.6em;
  font-family: "Shippori Mincho", sans-serif;
  color: #000;
  margin: 0; /* ページのデフォルト余白をリセット */
  padding-top: 8vh; /* ヘッダーの高さ分だけ余白を確保 */
  overflow-x: hidden;
}

.move.show {
  opacity: 1; /* 表示 */
  -webkit-transform: translateY(0);
          transform: translateY(0); /* 元の位置に移動し、中央に調整 */
}

.move {
  opacity: 0; /* 初期状態で非表示 */
  -webkit-transform: translateY(20px);
          transform: translateY(20px); /* 初期位置を少し下にずらす */
  -webkit-transition: opacity 1s ease-out, -webkit-transform 1s ease-out;
  transition: opacity 1s ease-out, -webkit-transform 1s ease-out;
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition: opacity 1s ease-out, transform 1s ease-out, -webkit-transform 1s ease-out; /* アニメーション */
}

:root {
  scroll-padding: 8vh;
  scroll-behavior: smooth;
}

/*hrefに対して*/
.link {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

/*ヘッダー*/
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 8vh; /* ヘッダーの高さ */
  background-color: #F9F5F2;
  position: fixed; /* 上部に固定 */
  top: 0; /* ページの最上部 */
  width: 100vw; /* 画面幅いっぱい */
  z-index: 10; /* 前面に表示 */
}

.mainlogo {
  width: 7vw;
}

.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Shippori Mincho";
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 55%;
}

.nav-links li {
  list-style: none;
  text-align: center;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: clamp(1.2rem, 1vw, 2.5rem);
}

.nav-title2 {
  font-size: clamp(1.4rem, 1.2vw, 3rem);
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #b1adad;
  margin: 5px;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

@media screen and (max-width: 768px) {
  .nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: clamp(1.2rem, 3vw, 3rem);
  }
  .nav-title2 {
    font-size: clamp(1.5rem, 4.5vw, 5rem);
  }
  nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .mainlogo {
    margin-left: 50%;
    width: 10rem;
  }
  .nav-links {
    position: fixed;
    right: 0;
    height: 85vh;
    top: 8vh; /* ヘッダーの高さ分下に配置 */
    background-color: #ECE6E5;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 80%;
    -webkit-transform: translateX(100%);
            transform: translateX(100%); /* 初期状態は右に隠れる */
    -webkit-transition: -webkit-transform 0.5s ease-in;
    transition: -webkit-transform 0.5s ease-in;
    transition: transform 0.5s ease-in;
    transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
    z-index: 2;
  }
  .nav-links.nav-active {
    -webkit-transform: translateX(0);
            transform: translateX(0); /* メニューが表示される状態 */
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
    margin-right: 10%;
    cursor: pointer;
  }
  .burger div {
    width: 25px;
    height: 3px;
    background-color: #b1adad;
    margin: 5px;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
  }
  .toggle .line1 {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
            transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
            transform: rotate(45deg) translate(-5px, -6px);
  }
}
@-webkit-keyframes navLinksFade {
  0% {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}
@keyframes navLinksFade {
  0% {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}
/*トップページ*/
.img-frame {
  position: relative;
  width: 100%;
  padding-top: 56.82%; /* アスペクト比1.76に基づいた計算 */
  margin: 0 auto;
}

.top-title {
  position: absolute;
  color: #FFF;
  font-size: clamp(4rem, 5vw, 8rem);
  top: 20%;
  left: 8%;
  z-index: 4;
  font-family: "Great Vibes", cursive;
  -webkit-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out; /* フェードイン・フェードアウト */
  opacity: 0; /* ←これを追加 */
  margin: 0; /* ←pの初期margin対策 */
}

.top-title:first-of-type {
  opacity: 1;
}

.img-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0; /* 初期状態では非表示 */
  z-index: 1; /* 画像は文字の後ろに配置 */
  -webkit-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out; /* フェードイン・フェードアウト */
}

.img-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* 画像は文字の後ろに配置 */
  background-color: rgba(0, 0, 0, 0.5);
}

.img-01 {
  background-image: url("../images/top1.png");
}

.img-02 {
  background-image: url("../images/top2.png");
}

.img-03 {
  background-image: url("../images/top3.png");
}

.img-04 {
  background-image: url("../images/top4.png");
}

.img-05 {
  background-image: url("../images/top5.png");
}

/*インフォメーション*/
.information {
  font-family: "Shippori Mincho";
  font-size: 1.7rem;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* Flexboxを適用 */
}

.info-top-bottom {
  margin-top: 4vh;
  margin-bottom: 4vh;
}

.vertical-line {
  width: 1px; /* 縦線の幅 */
  height: 5vh; /* 縦線の高さ */
  background-color: #000; /* 縦線の色 */
  margin-left: 3%;
  margin-right: 3%;
}

.info-list {
  list-style: none; /* リストの箇条書きを削除 */
  width: 90vw;
}

.info-list span {
  padding-left: 3%;
}

.info-title {
  padding-left: 10%;
}

@media screen and (max-width: 768px) {
  .information {
    font-size: 1.5rem;
    margin-left: -6%;
  }
  .vertical-line {
    margin-left: 3%;
    margin-right: 3%;
  }
}
@media screen and (max-width: 500px) {
  .information {
    margin-top: 0%;
    font-size: 12px;
    margin-left: 0%;
  }
  .info-title {
    padding-left: 3%;
  }
  .vertical-line {
    margin-left: 2%;
    margin-right: 2%;
  }
}
/*経営理念ロゴ*/
.philosophy-title {
  width: clamp(13.75rem, 30vw, 37.5rem);
  min-height: clamp(5.625rem, 12vw, 12.5rem);
  background: black;
  color: white;
  padding: 0.75rem 1rem;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* 縦中央 */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* 横中央 */
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.philosophy-title span {
  font-size: clamp(0.65rem, 1.3vw, 3rem);
  letter-spacing: 0.12em;
  line-height: 1.2;
  -ms-flex-item-align: start;
      align-self: flex-start; /* ←これで左寄せ */
  text-align: left;
}

.philosophy-title h2 {
  font-size: clamp(1rem, 4vw, 4rem);
  margin-top: 0.3rem;
  line-height: 1.2;
  margin-bottom: 0;
}

/*トップ画像*/
.philosophy-visual {
  position: relative;
  text-align: center;
}

.bg {
  width: 100%;
  height: auto; /* ←画像サイズそのまま */
  display: block;
}

.philosophy-message {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: white;
}

.philosophy-message h2 {
  white-space: nowrap;
  font-size: clamp(1.8rem, 3vw, 5rem);
  margin-bottom: 4rem;
}

.philosophy-message p {
  font-size: clamp(0.9rem, 1.3vw, 3.5rem);
  line-height: 2;
}

/* 図形全体 */
.philosophy-inner {
  width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6.25rem) 0;
}

/* 三角の外枠 */
.pyramid-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* 三角本体 */
.pyramid {
  position: relative;
  width: 95vw;
  height: 80vw;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  overflow: hidden;
  border: 1px solid #8f8f8f;
  background: -webkit-gradient(linear, left top, left bottom, from(#d9eef8), color-stop(35%, #b8e1f3), color-stop(70%, #75caee), to(#27b3ea));
  background: linear-gradient(to bottom, #d9eef8 0%, #b8e1f3 35%, #75caee 70%, #27b3ea 100%);
}

/* 各段 */
.layer {
  position: absolute;
  left: 0;
  width: 100%;
  color: #111;
  border-top: 1px solid rgba(80, 80, 80, 0.5);
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-top: 1rem; /* ←これ追加 */
}

.layer-1 {
  top: 0;
  height: 38%;
  border-top: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; /* 追加 */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.layer-2 {
  top: 38%;
  height: 23%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.layer-3 {
  top: 66%;
  height: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* 中身 */
.layer-content {
  width: 100%;
  padding: 0.625rem 1.25rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
}

.layer-title {
  font-size: clamp(1rem, 3vw, 4rem);
  font-weight: bold;
  line-height: 1.3;
}

.layer-text {
  display: block;
  margin: clamp(2rem, 5vw, 6rem) auto 0;
  line-height: 1.6;
  text-align: center;
  word-break: break-word;
  font-size: clamp(0.55rem, 1.25vw, 3.95rem);
}

/* 段ごとに本文幅を調整 */
.layer-1 .layer-text {
  width: 100%;
}

.layer-2 .layer-text {
  width: 100%;
}

.layer-3 .layer-text {
  width: 100%;
}

/* サービス */
.services-diagram {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: #fff;
  color: #111;
}

.services-diagram__inner {
  width: min(92%, 90rem);
  margin: 0 auto;
}

.services-diagram__layout {
  position: relative;
  min-height: clamp(48rem, 78vw, 74rem);
  overflow: visible;
}

/* 説明文 */
.service-copy {
  position: absolute;
  width: clamp(14rem, 30vw, 30rem);
  font-size: clamp(0.55rem, 1.2vw, 1.4rem);
  line-height: 1.7;
}

.service-copy p {
  margin: 0;
}

.service-copy--top-left {
  top: -5%;
  left: -11%;
}

.service-copy--top-right {
  top: -6%;
  right: -8%;
}

.service-copy--bottom-left {
  bottom: -20%;
  left: -12%;
}

.service-copy--bottom-right {
  bottom: -18%;
  right: -12%;
}

.services-circles {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(30rem, 85vw, 110rem);
  aspect-ratio: 1/1;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.services-circles__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 円弧共通 */
.arc circle {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  /* 円周の約3/4だけ描く */
  stroke-dasharray: 940 316;
}

/* 各色 */
.arc--green circle {
  stroke: #20b354;
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
  -webkit-transform-origin: 300px 300px;
          transform-origin: 300px 300px;
}

.arc--red circle {
  stroke: #ff3a3a;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transform-origin: 500px 300px;
          transform-origin: 500px 300px;
}

.arc--blue circle {
  stroke: #4b37ff;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-transform-origin: 300px 500px;
          transform-origin: 300px 500px;
}

.arc--yellow circle {
  stroke: #d3c93b;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-transform-origin: 500px 500px;
          transform-origin: 500px 500px;
}

/* ラベル */
.circle-label {
  font-size: clamp(2rem, 1.7vw, 4rem);
  fill: #111;
  text-anchor: middle;
  dominant-baseline: middle;
}

/*レスポンシブデザイン*/
@media (max-width: 1200px) {
  .service-copy--top-left {
    top: -5%;
    left: -5%;
  }
  .service-copy--top-right {
    top: -6%;
    right: -8%;
  }
  .service-copy--bottom-left {
    bottom: -12%;
    left: -5%;
  }
  .service-copy--bottom-right {
    bottom: -12%;
    right: -8%;
  }
}
@media (max-width: 1100px) {
  .service-copy--top-left {
    top: -10%;
    left: -2%;
  }
  .service-copy--top-right {
    top: -12%;
    right: -2%;
  }
  .service-copy--bottom-left {
    bottom: -30%;
    left: -2%;
  }
  .service-copy--bottom-right {
    bottom: -30%;
    right: -2%;
  }
  .services-diagram__layout {
    min-height: clamp(22rem, 58vw, 54rem);
  }
}
/*会社概要*/
.company-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  color: #111;
  font-family: "Shippori Mincho";
}

.company-outline {
  margin-bottom: 100px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.company-table__head,
.company-table__data {
  border-bottom: 1px solid #999;
  padding: 20px 10px;
  font-size: clamp(2rem, 1.4vw, 3.4rem);
  line-height: 1.9;
  vertical-align: middle;
}

.company-table__head {
  width: 28%;
  text-align: center;
  font-weight: 400;
}

.company-table__data {
  width: 72%;
  padding-left: 30px;
}

.company-table__data--business {
  line-height: 2;
}

.business-text {
  line-height: 2;
}

/*フッター*/
.footer2 {
  margin-top: 10rem;
}

.footer {
  position: relative; /*親要素にrelative*/
  width: 100%;
  font-weight: 700;
  height: 35rem;
  line-height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 1;
}

.footer-list {
  font-size: clamp(1.6rem, 1.3vw, 3rem);
  padding-top: 5%;
  margin-left: 5vw;
  width: 20vw;
  z-index: 2;
}

.footer-list2 {
  font-size: clamp(1.6rem, 1.3vw, 3rem);
  padding-top: 5%;
  z-index: 2;
}

.main-color {
  background-color: #F9F5F2;
}

.font-size-M {
  font-size: clamp(1.6rem, 1.3vw, 4rem);
  font-weight: 500;
  line-height: 160%; /* 218.75% */
  letter-spacing: 0.2vw;
}

.copyright {
  position: absolute;
  font-size: clamp(1.5rem, 1.3vw, 2rem);
  bottom: 2%;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .footer {
    height: 30rem;
  }
}
@media screen and (max-width: 768px) {
  .footer {
    position: relative; /*親要素にrelative*/
    height: 30vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .footer-list {
    margin-left: 9vw;
    width: 50vw;
  }
  .footer-list2 {
    margin-right: 0;
    width: 50vw;
  }
}
@media screen and (max-width: 500px) {
  .footer {
    height: 30rem;
  }
  .footer-list {
    font-size: 1.5rem;
  }
  .footer-list2 {
    font-size: 1.5rem;
  }
}
/*免責事項*/
.rule {
  background: #F9F5F2;
  width: 100%;
  height: auto;
  padding-bottom: 10rem;
}

.rule-title {
  width: 100%;
  padding-top: 10%;
  text-align: center;
  font-size: 3rem;
}

.rule-text {
  background-color: #FFF;
  border-radius: 0.8rem;
  padding: 5%;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10rem;
  line-height: 210%;
}

.rule-highlight {
  font-size: 2.1rem;
}

@media screen and (max-width: 768px) {
  .rule-title {
    font-size: 2.5rem;
  }
  .rule-highlight {
    font-size: 1.9rem;
  }
  .rule-text {
    font-size: 1.5rem;
    width: 70%;
    padding: 8%;
  }
}
/*ホームボタン*/
.button-home {
  width: 100%;
  padding-top: 5%;
  text-align: center;
  font-size: 2rem;
}

/*リクルート*/
.recruit {
  background: #F9F5F2;
  width: 100%;
  height: auto;
  padding-bottom: 10rem;
}

.recruit-title {
  width: 100%;
  padding-top: 10%;
  text-align: center;
  font-size: 4rem;
}

.recruit-title2 {
  width: 70%;
  padding-top: 5%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 2rem;
}

.recruit-text {
  background-color: #FFF;
  border-radius: 0.8rem;
  padding: 5%;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  line-height: 210%;
}

.recruit-highlight {
  font-size: 2.1rem;
}

@media screen and (max-width: 768px) {
  .recruit-title {
    font-size: 2.5rem;
  }
  .recruit-title2 {
    font-size: 1.5rem;
  }
  .recruit-highlight {
    font-size: 1.9rem;
  }
  .recruit-text {
    font-size: 1.5rem;
    width: 70%;
    padding: 8%;
  }
}
/*リクルート*/
.recruit {
  background: #F9F5F2;
  width: 100%;
  height: auto;
  padding-bottom: 10rem;
}

.recruit-title {
  width: 100%;
  padding-top: 10%;
  text-align: center;
  font-size: 4rem;
}

.recruit-title2 {
  width: 70%;
  padding-top: 5%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 2rem;
}

.recruit-text {
  background-color: #FFF;
  border-radius: 0.8rem;
  padding: 5%;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  line-height: 210%;
}

.recruit-highlight {
  font-size: 2.1rem;
}

@media screen and (max-width: 768px) {
  .recruit-title {
    font-size: 2.5rem;
  }
  .recruit-title2 {
    font-size: 1.5rem;
  }
  .recruit-highlight {
    font-size: 1.9rem;
  }
  .recruit-text {
    font-size: 1.5rem;
    width: 70%;
    padding: 8%;
  }
}
/*お問い合わせフォーム*/
.form-box {
  margin-top: 3rem;
  margin-bottom: 3rem;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.form-title-text1 {
  background-color: #89A2F2;
  border-radius: 9999px;
  padding: 0.3rem;
  color: #FFF;
}

@media screen and (max-width: 768px) {
  .form-box {
    font-size: 1.3rem;
  }
}
/*フォントサイズ*/
.font-title {
  color: #FFF;
  font-size: 13vw;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 2vw;
}

.font-title2 {
  font-size: 13vw;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 2vw;
  position: absolute; /*文字にabsolute*/
  z-index: 1; /* 背景に配置 */
}

.font-title-s {
  font-size: clamp(2rem, 3vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.4vw;
  position: absolute; /* 親要素上で絶対配置 */
  margin-top: 8.7%;
  -ms-flex-item-align: center;
      align-self: center;
}

.font-title-s2 {
  font-size: clamp(2rem, 3vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.4vw;
  text-align: center;
  padding-top: 8.7%;
  position: relative; /* 背景文字より前に表示 */
  z-index: 2;
}

.font-size-span {
  font-size: clamp(1.9rem, 1.8vw, 5rem);
  font-weight: 600;
  letter-spacing: 1.08px;
}

.font-size-L {
  font-size: clamp(2rem, 2.2vw, 5rem);
  font-weight: 600;
  letter-spacing: 1.08px;
}

.font-size-M {
  font-size: clamp(1.6rem, 1.3vw, 4rem);
  font-weight: 500;
  line-height: 160%; /* 218.75% */
  letter-spacing: 0.2vw;
}

@media screen and (max-width: 768px) {
  .font-size-M {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 500px) {
  .font-title-s {
    text-align: center;
    margin-top: 10%;
    width: 30rem;
  }
  .font-size-span {
    font-weight: 700;
  }
  .font-size-L {
    font-weight: 700;
  }
  .font-size-M {
    line-height: 180%; /* 218.75% */
    letter-spacing: 0.1rem;
  }
}
/* 申し込み入力欄 */
.table_layout {
  margin-top: 10rem;
  margin-left: auto;
  margin-right: auto;
  table-layout: auto;
  width: 70vw;
  border-collapse: separate;
  font-size: clamp(1.4rem, 1.3vw, 1.7rem);
}

.table_layout tr:last-child {
  height: 50rem; /* 最後の行の高さを変更 */
}

.table_layout th,
.table_layout td {
  border: 1px solid #333;
  font-weight: 400;
}

.ninitext {
  background-color: #ECE6E5;
  padding: 0.3rem;
  margin-right: 0.5rem;
}

.hissutext {
  background-color: #FF7D80;
  padding: 0.3rem;
  margin-right: 0.5rem;
}

.table-caution {
  position: absolute;
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .table-caution {
    position: absolute;
    font-size: 1.2rem;
  }
}
.table_layout th {
  padding-left: 2vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 20vw;
  height: 8rem;
}

.table_layout td {
  height: 8rem;
  width: 50vw;
  position: relative;
  text-align: start;
  padding-left: 2vw;
  background-color: #F9F5F2;
}

.table_layout textarea {
  width: 45vw;
  margin-top: 2vw;
  margin-bottom: 2vw;
  height: 48rem;
  background-color: #FFF;
  border: 1px solid;
  overflow: auto;
}

.input-area {
  margin-bottom: 20px;
}

.table_layout input[type=text],
.table_layout input[type=email],
.table_layout input[type=tel],
.table_layout select {
  width: 40vw;
  height: 3.5rem;
  background-color: #FFF;
  border: 1px solid;
}

@media screen and (max-width: 1024px) {
  .table_layout {
    width: 80vw;
  }
  .table_layout th {
    width: 25vw;
    height: 8rem;
  }
  .table_layout td {
    height: 8rem;
    width: 55vw;
  }
  .table_layout textarea {
    width: 50vw;
  }
  .table_layout input[type=text],
  .table_layout input[type=email],
  .table_layout input[type=tel],
  .table_layout select {
    width: 50vw;
    height: 3.5rem;
    background-color: #FFF;
    border: 1px solid;
  }
}
@media screen and (max-width: 768px) {
  .table_layout {
    width: 90vw;
  }
  .table_layout th {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 20vw;
    height: 8rem;
  }
  .table_layout td {
    height: 8rem;
    width: 70vw;
  }
  .table_layout textarea {
    width: 65vw;
  }
  .table_layout input[type=text],
  .table_layout input[type=email],
  .table_layout input[type=tel],
  .table_layout select {
    width: 65vw;
    height: 3.5rem;
    background-color: #FFF;
    border: 1px solid;
  }
}
.botton-area {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.confirm-btn-area {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.comp-form {
  width: 100%;
  text-align: center;
}

.comp-text {
  font-size: clamp(1.4rem, 1.5vw, 2.3rem);
}

/*お問い合わせボタン余白 */
.btn-copy {
  margin-top: 5%;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .btn-copy {
    margin-top: 7%;
  }
}
/*お問い合わせボタン*/
.button a {
  background: #eb6100;
  border-radius: 9999px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 20px 30px;
  line-height: 1.8;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  border-bottom: solid 5px #b65511;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  will-change: transform, box-shadow;
  -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.button a:before {
  content: "\f15c";
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 12px;
  color: #fff;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.button a:hover:after {
  right: 1.4rem;
}

.button a:hover {
  background: #ee8134;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  -webkit-box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.button a:hover:before {
  color: #fff;
}

/*ホームボタン */
.button-home a {
  background: #1B98E5;
  border-radius: 9999px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 20px 30px;
  line-height: 1.8;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  border-bottom: solid 5px #0D73B2;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  will-change: transform, box-shadow;
  -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.button-home a:before {
  content: "\f015";
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 12px;
  color: #fff;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.button-home a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.button-home a:hover:after {
  right: 1.4rem;
}

.button-home a:hover {
  background: #1FA6FA;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  -webkit-box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.button-home a:hover:before {
  color: #fff;
}

/*確認ボタン*/
.btn-custom {
  width: 250px;
  background: #eb6100;
  border-radius: 9999px;
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 20px 30px;
  line-height: 1.8;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-bottom: solid 5px #b65511;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.btn-custom:before {
  content: "\f15c";
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 12px;
  color: #fff;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.btn-custom:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  font-size: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.btn-custom:hover:after {
  right: 1.4rem;
}

.btn-custom:hover {
  background: #ee8134;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  -webkit-box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.btn-custom:hover:before {
  color: #fff;
}

/*送信ボタン*/
.btn-custom2 {
  width: 250px;
  background: #eb6100;
  border-radius: 9999px;
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 20px 30px;
  line-height: 1.8;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-bottom: solid 5px #b65511;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.btn-custom2:before {
  content: "\f15c";
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 12px;
  color: #fff;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.btn-custom2:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  font-size: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.btn-custom2:hover:after {
  right: 1.4rem;
}

.btn-custom2:hover {
  background: #ee8134;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  -webkit-box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.btn-custom2:hover:before {
  color: #fff;
}

/*リクルートイメージ*/
.img-recruit {
  width: 100%;
  aspect-ratio: 16/5; /* ← 横：縦の比率 */
  display: block;
  margin: 0 auto; /* 中央寄せ */
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/*リクルート用ロゴ*/
.philosophy-title2 {
  width: clamp(13.75rem, 30vw, 37.5rem);
  min-height: clamp(5.625rem, 12vw, 12.5rem);
  background: black;
  color: white;
  padding: 0.75rem 1rem;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* 縦中央 */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* 横中央 */
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.philosophy-title2 span {
  font-size: clamp(0.65rem, 1.3vw, 3rem);
  letter-spacing: 0.12em;
  line-height: 1.2;
  -ms-flex-item-align: start;
      align-self: flex-start; /* ←これで左寄せ */
  text-align: left;
}

.philosophy-title2 h2 {
  font-size: clamp(1rem, 4vw, 4rem);
  margin-top: 0.3rem;
  line-height: 1.2;
  margin-bottom: 0;
}