/* 全体の設定 */
html {
  font-size: 62.5%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 1.6em;
  font-family: "Noto Sans JP", sans-serif; 
  color: #000;
  margin: 0; /* ページのデフォルト余白をリセット */
  padding-top: 8vh; /* ヘッダーの高さ分だけ余白を確保 */
  overflow-x: hidden;
}
@font-face {
  font-family: 'Miama'; /* フォント名を指定（任意） */
  src: url('/fonts/miama.ttf') format('truetype'); /* フォントのパスを指定 */
  font-weight: normal; /* フォントの太さ（必要に応じて変更） */
  font-style: normal;  /* フォントスタイル（斜体などがある場合は変更可能） */
}

.move.show {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に移動し、中央に調整 */
}
.move {
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(20px); /* 初期位置を少し下にずらす */
  transition: opacity 1s ease-out, transform 1s ease-out; /* アニメーション */
}
:root{
	scroll-padding: 8vh;
	scroll-behavior: smooth;
}
/*hrefに対して*/

.link {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

/*お問い合わせボタン余白 */
.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: flex;
  justify-content: 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;
  transition: all 0.3s ease-in-out;
  will-change: transform, box-shadow;
  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;
  transition: color 0.3s ease-in-out;
}

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

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

.button a:hover {
  background: #ee8134;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  transform: translateY(3px);
  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: flex;
  justify-content: 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;
  transition: all 0.3s ease-in-out;
  will-change: transform, box-shadow;
  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;
  transition: color 0.3s ease-in-out;
}

.button-home a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  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; /* 太さは変えない */
  transform: translateY(3px);
  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: inline-flex;
  justify-content: 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;
  transition: all 0.3s ease-in-out;
  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;
  transition: color 0.3s ease-in-out;
}

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

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

.btn-custom:hover {
  background: #ee8134;
  color: #FFF;
  border-bottom-color: #999; /* 太さは変えない */
  transform: translateY(3px);
  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: inline-flex;
  justify-content: 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;
  transition: all 0.3s ease-in-out;
  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;
  transition: color 0.3s ease-in-out;
}

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

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

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

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

/*カラー*/
.main-color {
  background-color: #ECE6E5;
}
.main-font-color {
  color: #ECE6E5;;
}
/*フォントサイズ*/
.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%;
  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;
    }
}

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

.mainlogo {
  width: 11vw;
}

.nav-links {
  display: flex;
  font-family: "Shippori Mincho";
  justify-content: space-around;
  width: 60%;
}

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

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

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

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

@media screen and (max-width: 768px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mainlogo {
    margin-left: 50%;
    width: 10rem;
  }

  .nav-links {
    position: fixed;
    right: 0;
    height: 85vh;
    top: 8vh; /* ヘッダーの高さ分下に配置 */
    background-color: #ECE6E5;
    flex-direction: column;
    align-items: center;
    width: 80%;
    transform: translateX(100%); /* 初期状態は右に隠れる */
    transition: transform 0.5s ease-in;
    z-index: 2;
  }

  .nav-links.nav-active {
    transform: translateX(0); /* メニューが表示される状態 */
  }

  .nav-links li {
    opacity: 0;
  }
  .nav-links a {

    font-size: 2.5rem
  }

  .burger {
    display: block;
    margin-right: 10%;
    cursor: pointer;
  }

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

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@keyframes navLinksFade {
0% {
  opacity: 0;
  transform: translateX(50px);
}
100% {
  opacity: 1;
  transform: translateX(0px);
}
}


/*トップページ*/
.main-content {
  position: relative;
  background: #F9F5F2;
  aspect-ratio: 16 / 9; /* アスペクト比を指定 (例: 16:9) */
  width: 100%; /* 幅を100%に設定 */  
  margin: auto;
  z-index: 1;
  }
.title-motion {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 12vw; /* フォントサイズ */
    font-family: Miama;
    font-weight: 400;
    letter-spacing: 8.126px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}
.main-title {
    padding-top: 3%; /* 親要素からの上部位置 */
    padding-left: 14.5%;
    animation-delay: 0.5s; /* 遅延表示 */
  }
.main-title2 {
    padding-top: 6.5%; /* 親要素からの上部位置 */
    margin-left: -85.8%;
    color: #FFF; /* テキストの色 */
    animation-delay: 1.3s; /* 遅延表示 */
    z-index: 4;
  }
  
.main-title-cover {
    position: absolute;
    right: 0;
    height: 100%; /* 背景画像の高さ */
    aspect-ratio: 72 / 88; /* アスペクト比を指定 (例: 16:9) */
    z-index: 3;
    overflow: hidden
  
  }
  
.hanaeimg {
    position: absolute;
    right: 0; /*absolutoにしながら右寄せ*/
    height: 100%; /* 親要素の幅に合わせる */
    max-width: 100%; /* 親要素を超えないように制限 */
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.0s; /* 表示遅延 */
    z-index: 2;
  }
.achievement {
    position: absolute;
    display: block;
    text-align: center;
    top: 50%; /* 親要素からの上部位置 */
    width: 59%;
    font-family: "Shippori Mincho";
    font-size: 4.5vw;
    font-weight: 800;
    letter-spacing: 10.126px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s; /* 表示遅延 */
  }
.professional-title{
    position: absolute;
    text-align: center;
    width: 55%;
    top: 70%; /* 親要素からの上部位置 */
    font-family: "Shippori Mincho";
    font-size: 2.5vw;
    font-weight: 800;
    letter-spacing: 4.063px; 
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.8s; /* 表示遅延 */
    }
    
  
/* アニメーションキー */
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(20px); /* 下から浮かび上がる効果 */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* 元の位置に戻る */
    }
  }
  
  @media screen and (max-width: 768px) {
    .achievement {
      top: 50%; /* 親要素からの上部位置 */
      margin-left: 1%;
      font-size: 4.3vw;
      }
  }

  @media screen and (max-width: 500px) {
    .main-content {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: auto;
      background: #F9F5F2;
      aspect-ratio: none; 
      width: 100vw; /* 幅を100%に設定 */  
      z-index: 1;
      }
    .title-motion {
      position: static;
      height: auto;
      display: none;
    }
    .main-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0rem; /* 親要素からの上部位置 */
        padding-left: 0%;
        padding-bottom: 1rem;
        width: 100vw;
        font-size: 12vw; /* フォントサイズ */
        font-family: Miama;
        font-weight: 400;
        letter-spacing: 8.126px;
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
      }
    .main-title-cover {
        display: none;
      }
    .hanaeimg {
        position: relative;
        max-width: 100%;  /* 親要素に合わせてサイズ変更 */
        height: auto;     /* 高さは自動的に調整 */
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
        animation-delay: 1.0s; /* 表示遅延 */
        z-index: 2;
      }
    .achievement {
        position: relative;
        display: block;
        text-align: center;
        padding-left: 8%;
        top: 2rem; /* 親要素からの上部位置 */
        width: 100vw;
        margin-left:0%;
        font-family: "Shippori Mincho";
        font-size: clamp(2rem, 7.5vw, 4rem);
        font-weight: 800;
        letter-spacing: 10.126px;
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
        animation-delay: 1.5s; /* 表示遅延 */
      }
    .professional-title{
        position: relative;
        text-align: center;
        width: 100vw;
        top: 3rem; /* 親要素からの上部位置 */
        padding-bottom: 7rem;
        font-family: "Shippori Mincho";
        font-size: clamp(1.7rem, 4.5vw, 3rem);
        font-weight: 700;
        letter-spacing: 4.063px; 
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
        animation-delay: 1.8s; /* 表示遅延 */
        }
  }
/*インフォメーション*/
.information {
  font-family: "Shippori Mincho";
  font-size: 1.7rem;
  font-weight: 500;
  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%;
  }
}
/*選ばれる理由*/
.reason-content{
  display: flex; /* Flexboxを適用 */
  flex-direction: column; /* 縦方向に配置 */
  padding-bottom: 10vh; /*次の項目に合わせて高さを変える*/
  width: 100%; /* 幅を100%に設定 */
  position: relative; /* 親要素に相対位置を適用 */
}
.container {
  margin-top: 10%; /* r-t2 からの余白を指定 */
  display: flex;
  align-items: center; /* 中央揃え */
  flex-direction: column; /* 縦方向に配置 */
  gap: 10px; /* ボックス間の間隔 */
  width: 100%; /* 全体幅を調整 */
}
.white-box {
  position: relative;
  display: flex; /* Flexboxを適用して縦方向に配置する */
  flex-direction: column; /* 縦方向に要素を配置 */
  align-items: flex-start; /* 左寄せにする */
  width: 70vw; /* 固定幅 */
  aspect-ratio: 2.4 / 1; /* アスペクト比を指定 (例: 16:9) */
  background-color: #FFF; /* 白い背景 */
  border-radius: 8px; /* 角を丸くする */
  padding-left: 3.5%;
}
.blue-text {
  padding-top: 3%;
  color: #FFF; /* 内部の文字色を白に設定 */
  font-size: 2vw;
  -webkit-text-stroke-width: 1px; /* 枠線の太さ */
  -webkit-text-stroke-color: #1EACD3; /* 枠線の色 */
  -webkit-font-smoothing: antialiased; /* アンチエイリアス効果を有効化 */
}
.black-text {
  width: 30vw;
  margin-top: 4%;
}
.white-text {
  width: 35vw;
  margin-top: 4%;
}

.reason-image {
  position: absolute; /* 親要素上で絶対配置 */
  width: 25vw;
  top: 0;
  bottom: 0;
  right: 6%;
  margin: auto;
}




@media screen and (max-width: 1024px) {
  .white-box {
    width: 80vw; /* 固定幅 */
    aspect-ratio: 2.5 / 0.9; /* アスペクト比を指定 (例: 16:9) */
  }
  .black-text {
    margin-top: 2%;
    width: 40vw;
  }
  .white-text {
    margin-bottom: 4%;
  }
  .reason-image {
    width: 28vw;
  }
}
@media screen and (max-width: 768px) {
  .white-box {
    width: 90vw; /* 固定幅 */
    aspect-ratio: 2.5 / 0.9; /* アスペクト比を指定 (例: 16:9) */
  }
  .blue-text {
    font-size: 1.5rem; 
  }
  .black-text {
    margin-top: 2%;
    width: 45vw;
  }
  .white-text {
    width: 45vw;
    padding-bottom: 2%;
  }
  .reason-image {
    width: 33vw;
    
  }
}
@media screen and (max-width: 500px) {
  .container {
    margin-top: 18%; /* r-t2 からの余白を指定 */
  }
  .white-box {
    padding-left: 0%;
    flex-direction: column; /* 縦方向に要素を配置 */
    align-items: flex-start; /* 左寄せにする */
    width: 80vw; /* 固定幅 */
    height: auto;
    display: flex;
  }
  .blue-text {
    margin-left: auto;
    margin-right: auto;
    width: 65VW;
    padding-top: 3vh;
    color: #FFF; /* 内部の文字色を白に設定 */
    font-size: 2rem;
  }
  .black-text {
    margin-left: auto;
    margin-right: auto;
    width: 65vw;
    margin-top: 2.5vh;
  }
  .white-text {
    width: 65vw;
    margin-top: 2.5vh;
    margin-left: auto;
    margin-right: auto;
  }
  .reason-image {
    position:static;
    width: 60vw;
    left: 0;
    right: 0;
    margin-bottom: 10%;
  }
}
/*問題*/
.p-container2 {
  display: flex;
  justify-content: center; /* 画面中央に配置 */
  gap: 5vw; /* ボックス間の間隔 */
  position: relative; /*親要素にrelative*/
}
.p-box {
  position: relative;
  width: 23vw;
  padding-top: 4%;
  padding-bottom: 4%;
  margin-top: 15%;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.case2 {
  position: absolute;
  width: 40%;
  top: -25%;
  left: -20%;
}
.pb-text {
  align-items: center;
  width: 17vw;
  font-weight: 500;
}
.pb-text span {
  font-weight: 600;
  letter-spacing: 0.96px;
}
.p-1 {
  position: absolute;
  top: 90%;
  width:70%;
}
@media screen and (max-width: 768px) {
  .p-container2 {
    gap: 3vw;
  }
  .case2 {
    position: absolute;
    width: 40%;
    top: -20%;
    left: -10%;
  }
  .p-box {
    width: 29vw;
  }
  .pb-text {
    width: 22vw;
  }
}

@media screen and (max-width: 500px) {
  .p-container2 {
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    align-items: center;
    position: relative; /*親要素にrelative*/
  }
  .p-box {
    text-align: center;
    width: 60vw;
    padding-top: 10%;
    padding-bottom: 10%;
    margin-top: 20%;
    margin-bottom: 15%;
  }
  .case2 {
    width: 35%;
    top: -20%;
    left: -15%;
  }
  .pb-text {
    width: 45vw;
  }
  .p-1 {
    top: 90%;
    width:60%;
  }
}
/*解決*/
.solution-content{
  display: flex; /* Flexboxを適用 */
  flex-direction: column; /* 縦方向に配置 */
  width: 100%; /* 幅を100%に設定 */
  position: relative; /*親要素にrelative*/
  height: auto;
  margin-top: 25%;
  padding-bottom: 5%;
}
.solution-box{
  display: flex; /*要素を横並び*/
  position: relative; /*親要素を指定*/
  align-items: center;
  justify-content: space-between; /*scaseとs-1を要素を左右端に指定*/
  margin-left: auto;
  margin-right: auto;
  margin-top: 9%;
  width: 65vw;
  height: clamp(10rem, 25vh, 20rem);
  border-radius: 8px;
  border: 1px solid;
  background: #FFF;
}
.scase {
  width: 16%;
  margin-top: -23%;
  margin-left: -10%;
}
.sb-text{
  position: absolute; /*  複数ある行の水平方向に中央揃え1*/
  width: 45vw;
  padding-left: 8%;
  letter-spacing: 0.3rem;
  line-height: 190%;
}
.s-1 {
  width: 16vw;
  object-fit: contain; /* 縦横比を維持して画像を収める */
  max-height: 100%;
  margin-right: 1%;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
}

@media screen and (max-width: 768px) {
  .scase {
    margin-top: -29%;
  }
  .solution-box{
    width: 70vw;
  }
}
@media screen and (max-width: 500px) {
  .solution-box{
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25%;
    width: 68vw;
    height: auto;
  }
  .scase {
    position: absolute;
    width: 35%;
    margin-top: -10%;
    margin-left: -100%;
  }
  .sb-text{
    position: relative;
    width: 50vw;
    padding-top: 15%;
    padding-left: 0%;
  }
  .s-1 {
    position: relative;
    width: 35vw;
    object-fit: contain; /* 縦横比を維持して画像を収める */
    max-height: 100%;
    padding-top: 10%;
    padding-bottom: 0.5%;
  }
  .solution-content{
    padding-bottom: 15%;
  }

}
/*利用者の声*/
.reviews-content{
  position: relative; /*親要素にrelative*/
  margin-bottom: 10%;
}
.reviews-container {
  margin-top: 10%;
  display: grid;
  grid-template-columns: 36vw 36vw;
  gap: 6vw;
  justify-content: center;
}
.reviews-box{
  position: relative; /*親要素を指定*/
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid #ECE6E5;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  height: auto;
  padding: 6%;
}
.r-b {
  position: absolute;
  width: 25%;
  margin-top: -27vh;
  margin-left: -4vw;
}
.r-text{
  font-size: clamp(1.6rem, 1.1vw, 2rem);
  font-weight: 300;
}
.highlight{
  font-size: clamp(1.8rem, 1.3vw, 2.2rem);
  font-weight: 700
}
.quote{
  font-size: clamp(1.7rem, 1.2vw, 2.1rem);
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .reviews-container {
    grid-template-columns: 45vw 45vw;
  }
  .reviews-content{
    margin-bottom: 20%;
  }
}
@media screen and (max-width: 500px) {
  .reviews-container {
    margin-top: 10%;
    display: block;
    justify-content: center;
  }
  .reviews-box{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
    width: 80vw;
    padding: 7%;
  }
  .r-b {
    width: 25%;
    margin-top: -31vh;
    margin-left: -4vw;
  }
}
/*お申込みの流れ*/
.process {
  position: relative; 
  display: flex; 
  flex-direction: column;
  width: 100%;
  height: auto;
  padding-bottom: 7%;
}
.process-container {
  margin-top: 10%;
  margin-left: 5%;
  margin-right: 5%;
  display: flex;
  justify-content: space-evenly;
}
.process-img {
  height: clamp(17.5rem, 30vw, 40rem);
}
@media screen and (max-width: 768px) {
  .process-container {
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .process-container {
    margin-top: 20%;
    gap: 1rem;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
  }
  .process-img {
    height: 22rem
  }
}
/*よくある質問*/
.question {
  position: relative; /*親要素にrelative*/
  margin-bottom: 10%;
}

.question-scroll {
  width: 70vw;
  height: 50vh;
  border-radius: 0.8rem;
  border: 1px solid #000;
  background: #FFF;
  margin-top: 10%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3%;
  padding-left: 6%;
  padding-right: 6%;
  overflow-y: scroll;
}
.qa-list {
  list-style-type: none; /* デフォルトのリストマークを削除 */
  padding-left: 6%; /* マークとテキストの間に余白を追加 */
  font-size: clamp(1.6rem, 1.7vw, 3rem);
}

.qa-list li {
  padding-top: 5%;
  padding-bottom: 4%; /* 項目間のスペース */
  position: relative; /* ::before の位置指定のために必要 */
}

.qa-list li:nth-child(odd)::before {
  content: "Q"; /* 奇数番目に "Q" を表示 */
  color: #F07577;
  font-family: "Shippori Mincho";
  font-size: clamp(2rem, 5vw, 8rem);
  margin-top: -6%;
  margin-left: -9%;
  position: absolute;
}

.qa-list li:nth-child(even)::before {
  content: "A"; /* 偶数番目に "A" を表示 */
  color: #000;
  font-family: "Shippori Mincho";
  font-size: clamp(2rem, 5vw, 8rem);
  margin-top: -5%;
  margin-left: -9%;
  position: absolute;
}
@media screen and (max-width: 500px) {
  .question {
    margin-bottom: 20%;
  }
}

/*料金*/
.price {
  position: relative; /*親要素にrelative*/
  display: flex; 
  flex-direction: column;
  height: auto;
  padding-bottom: 5%;
}
.price-container {
  display: flex;
  justify-content: space-evenly;
}
.price-box {
  margin-top: 10rem;
  width: 20vw;
  height: auto;
  background-color: #FFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.price-box-top {
  background-color: antiquewhite;
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
}
.price-box-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.9rem, 1.8vw, 5rem);
  width: auto;
  height: 8rem;
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.price-image {
  width: 100%;
}
.price-text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  align-items: baseline; /* ベースラインで揃える */
  background-color: antiquewhite;
  font-size: clamp(1.3rem, 1.5vw, 3rem);
  text-align: center;
  line-height: 5vw;
}
.price-highlight {
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 600;
  letter-spacing: 2px;
}
.price-list {
  height: auto;
  width: 100%;
  padding-top: 10%;
  padding-left: 3vw;
  padding-right: 3vw;
  padding-bottom: 10%;
}
@media screen and (max-width: 1024px) {
  .price-box {
    width: 22vw;
  }
}
@media screen and (max-width: 768px) {
  .price {
    padding-bottom: 5%;
  }
  .price-container {
    margin-top: 10rem;
    margin-left: 2%;
    margin-right: 2%;
    gap: 2rem;
    display: grid;
    grid-template-columns: 43vw 43vw;
    grid-template-rows: 65rem 65rem;
    place-items:center;
    
  }
  .price-box {
    margin-top: 0vh;
    width: 43vw;
    height: 65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .price-text {
    height: 8rem;
    font-size: clamp(1.7rem, 1.7vw, 3rem);
    line-height: 8rem;
  }
  .price-highlight {
    font-size: clamp(1.9rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: 2px;
  }
  .price-list {
    padding-left: 5vw;
  }
}
  
@media screen and (max-width: 500px) {
  .price-container {
    grid-template-columns: 43vw 43vw;
    grid-template-rows: 54rem 54rem;
    
  }
  .price-box {
    height: 54rem;
  }
  .price-box-title {
    font-size: 1.7rem;
    height: 6rem;
  }
  .price-list {
    font-size: 1.5rem;
    padding-left: 7vw;
  } 
  .price-text {
    height: 4.5rem;
    font-size: 1.4rem;
    line-height: 4.5rem;
  }
  .price-highlight {
    font-size: 2.3rem
  }
}

/*contact*/
.contact {
  position: relative; 
}

.contact-container {
  margin-top: 5%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-text {
  text-align: center;
  width: 100vw;
  font-size: clamp(2rem, 2vw, 4rem);
  font-weight: 700;
  letter-spacing: 1.44px;
  margin-bottom: 5rem;
}
.contact-highlight {
  font-size: clamp(2.4rem, 3vw, 6rem);
}

@media screen and (max-width: 768px) {
  .contact-container {
    margin-top: 5%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-text {
    text-align: center;
    width: 100%;
    font-size: clamp(2rem, 2vw, 4rem);
  }
  .contact-image {
    width: 26%;
  }
}
  @media screen and (max-width: 500px) {
    .contact-highlight {
      font-size: 2rem
    }
    .contact-text {
      font-size: 1.6rem
    }

}
/*フッター*/
.footer {
  position: relative; /*親要素にrelative*/
  width: 100%;
  font-weight: 700;
  height: 35rem;
  line-height: 40px;
  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;
  
}
.banner {
  font-size: 1.5rem;
  z-index: 2;
}
.insta-box {
  font-size: 1.5rem;
  position: absolute;
  right: 10%;
  padding-top: 5%;
  z-index: 2;
  
}
.insta-img {
  width: 5.71rem;
  height: 5.71rem;
  z-index: 2;
}
.insta-box2 {
  padding-top: 5%;
  display: flex;
  justify-content: space-around;
  z-index: 2;
}
.x-img {
  width: 5rem;
  height: 5.71rem;
  z-index: 2;
}
.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: flex;
  }
  .footer-list {
    margin-left: 9vw;
    width: 50vw;
  }
  .footer-list2 {
    margin-right: 0;
    width: 50vw;
  }
  .insta-box {
    position: absolute;
    right: auto;
    padding-top: 5%;
    width: 100%;
    text-align: center;
    bottom: 10%;
    
  }
  .insta-box2 {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding-top: 1%;
    display: flex;
    justify-content: space-around;
  }
  .insta-img {
    width: 4rem;
    height: 4rem;
  }
  .x-img {
    width: 3.5rem;
    height: 4rem;
  } 
}
@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%;
  }
}
/*お問い合わせフォーム*/

.form-box {
  margin-top: 3rem;
  margin-bottom: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  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;
  }
}
/*申し込み入力欄*/
table {
  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 tr:last-child {
  height: 50rem;                 /* 最後の行の高さを変更 */
}

th,
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;
  }
}

th {
  padding-left: 2vw;
  display: flex;          /* 子要素を横並びにする */
  align-items: center; 
  width: 20vw;
  height: 8rem;
}

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

textarea{
  width: 45vw;
  margin-top: 2vw;
  margin-bottom: 2vw;
  height: 48rem;
  background-color: #FFF;
  border: 1px solid;
  overflow: auto; 
}
.input-area {
  margin-bottom: 20px;
}
input[type="text"],input[type="email"],input[type="tel"],select {
  width: 40vw;
  height: 3.5rem;
  background-color: #FFF;
  border: 1px solid;
}

@media screen and (max-width: 1024px) {
  table {
    width: 80vw;         
  }
  th {
    width: 25vw;
    height: 8rem;
  }
  td {
    height: 8rem;
    width: 55vw;
  }
  textarea{
    width: 50vw;
  }
  input[type="text"],input[type="email"],input[type="tel"],select {
    width: 50vw;
    height: 3.5rem;
    background-color: #FFF;
    border: 1px solid;
  }
}
@media screen and (max-width: 768px) {
  table {
    width: 90vw;         
  }
  th {
    display: flex;          /* 子要素を横並びにする */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20vw;
    height: 8rem;
  }
  td {
    height: 8rem;
    width: 70vw;
  }
  textarea{
    width: 65vw;
  }
  input[type="text"],input[type="email"],input[type="tel"],select {
    width: 65vw;
    height: 3.5rem;
    background-color: #FFF;
    border: 1px solid;
  }
}
.botton-area {
  width: 100%;
  display: flex;
  align-items: center;

}
.confirm-btn-area {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  display: flex;
  justify-content: space-around;
}
.comp-form {
  width: 100%;
  text-align: center;
}
.comp-text{
  font-size: clamp(1.4rem, 1.5vw, 2.3rem);
}
/*リクルート*/
.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%;
  }
}