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

body {
  font-family: 'Noto Sans JP', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; 
}

.navbar {
  text-align: center;
  display: flex; 
  justify-content: center; 
  width: 100%; 
  font-size: 18px;
  padding: 10px 0; 
  margin: 0; 
  background-color: #FFD700;
}

.nav-item {
  margin-right: 10px; 
}


.nav-item a.active {
  border: 2px solid #000; 
  color: #000; 
  padding: 0 5px; 
}

.nav-item a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  display: inline-block;
}


.mainvisual {
  position: relative;
  width: 100%;
  max-width: 768px;
  height: auto;
  overflow: hidden;
  margin: 0 auto; 
}

.mainvisual-img {
  width: 100%;
  height: auto;
}

.mainvisual-text {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  text-align: center;
  white-space: nowrap; 
  font-family: Noto Serif JP;
  font-weight: 900;
}

.mainvisual-text1 p {
  font-size: 20px;
}

.mainvisual-text1 span {
  font-size: 40px;
}

.mainvisual-text2 {
    text-align: left;
    font-size: 20px;
}

.mainvisual-text2 span {
    font-size: 40px;
}

.company-name {
  text-align: center;
  margin-top: -30px;
}


.company-logo {
  width: 100%;
  max-width: 768px;
  height: auto;
  overflow: hidden;
  margin: 0 auto; 
}

.company-logo-img {
  position: relative;
  width: 100%;
  max-width: 768px;
  height: auto;
  overflow: hidden;
  margin: 0 auto; 
}


.company-text {
  font-size: 16px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.25); 
  display: inline-block;
}


.contact {
  position: relative;
  margin: 50px auto; 
  height: auto; 
  max-width: 768px;
}

.contact p {
    font-size: 18px;
    font-family: Noto Sans JP;
    font-weight: 700;
    text-align: center;
}

.contact-background-img {
  width: 100%;
  max-width: 768px; 
  height: auto;
  overflow: hidden;
  z-index: -1; 
  display: block;
  margin: 0 auto;
}


.contact-info {
  position: absolute;
  top: 23%; 
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; 
}

.contact-hour {
  position: absolute;
  top: 42%; 
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; 
}


.contact-button {
  position: absolute;
  width: 100%;
  margin-top: 50px;
  border: none;
  cursor: pointer;
  top: 65%; 
  left: 61.5%;
  transform: translate(-50%, -50%);
  z-index: 1; 
}

.contact-button button {
  width: 100%; 
  max-width:  300px;
  font-size: 18px;
  padding: 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: center;
}

.button1, .button2 {
  width: 100%;
  max-width: 400px; 
  font-size: 18px;
  padding: 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: center;
}


.button1 {
  background-color: #fff; 
  color: #000; 
  border: 2px solid #000; 
}

.button1:hover {
  background-color: rgba(255, 255, 255, 0.6); 
  color: rgba(0, 0, 0, 0.6); 
}


.button2 {
  background-color: #000; 
  color: #fff; 
}

.button2:hover {
  background-color: rgba(0, 0, 0, 0.6); 
  color: rgba(255, 255, 255, 0.6); 
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
}

/* 背景SVG（最背面） */
.bg-svg {
  position: absolute;
  top: -22%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

/* PNG画像（中央） */
.main-visual {
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  border-radius: 12px;
}

/* 前面SVG（テキストや装飾） */
.overlay-svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: auto;
  z-index: 2;
}


.message-text {
  max-width: 768px;       
  margin: 0 20px;         
}

.message-text1 {
    font-size: 24px;
    font-family: Noto Sans JP;
    font-weight: 500;
    margin-bottom: 50px;
}

.message-text1 span {
    font-size: 40px;
    font-family: Noto Sans JP;
    font-weight: 700;
}

.message-text2 {
    font-size: 24px;
    font-family: "Noto Sans JP";
    font-weight: 500;
}


.message-family {
  width: 100%;
  padding: 40px 20px;      
  box-sizing: border-box;
  text-align: center;      
  background-color: #fff;  
}

.message-family-img {
  width: 100%;
  max-width: 768px;        
  height: auto;
}

.message-text3 {
    font-size: 24px;
    font-family: "Noto Sans JP";
    font-weight: 500;
}

.caution {
  width: 100%;
  box-sizing: border-box;
  text-align: center;   
  margin-top: 50px;
}

.caution-wrapper {
  position: relative;
  width: 100%;
  max-width: 768px;    
  margin: 0 auto;
}

.caution-bg {
  width: 100%;
  max-width: 768px;
  height: auto;
  display: block;
}

.caution-text {
  position: absolute;
  top: 31%;              
  left: 58%;
  transform: translateX(-50%);
  width: 100%;           
  color: #fff;
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  font-family: "Noto Serif JP";
  margin: 0;
}

.answer {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 50px;
  box-sizing: border-box;
  text-align: center;
}

.answer-bg-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 768px;
}

.answer-text {
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 63%; 
  left: 56%;
  transform: translate(-50%, -50%);
  text-align: left;
}

.answer-text p {
  font-size: 24px;
  font-family: "Noto Sans JP";
  font-weight: 500;
}

.answer-text span {
  font-size: 40px;
  font-weight: bold;
}

.answer-text1 {
  margin-bottom: 10px;
}

.profile {
  width: 100%;
  padding: 0;       
  text-align: center;    
  box-sizing: border-box;
  background-color: #fff;
}

.profile-img {
    width: 100%;
    max-width: 768px;
    height: auto;
    display: block;
    margin: 0 auto; 
}

.history {
  position: relative;
  width: 100%;
  padding: 60px 0px;      
  box-sizing: border-box;
  overflow: hidden;        
}

.history-bg {
  position: absolute;
  top: 0;
  right: 0;               
  width: 100%;
  height: 100%;
  z-index: 0;
}

.history-bg-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 768px;
  margin: 0 auto;
}

.history-text {
  position: relative;
  z-index: 1;             
  max-width: 768px;       
  margin: 0 auto;         
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  color: #111;
  line-height: 1.6;
  padding: 15px;
}

.history-text p {
  font-size: 24px;
  margin-bottom: 1em;
  font-family: "Noto Sans JP";
  font-weight: 500;
}


.about {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  text-align: center;    
  background-color: #fff;
}

.about-bg {
  width: 100%;
  max-width: 768px;      
  height: auto;
  display: inline-block;
}


.about-text {
  position: absolute;
  top: 60%;               
  left: 58%;
  transform: translateX(-50%);
  width: 80%;           
  max-width: 480px;    
  text-align: left;
  color: #fff;           
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  line-height: 1.6;
  z-index: 1;
  margin: 0;
}

.about-text p {
  margin: 0;
}

.service {
  position: relative;
  width: 100%;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  margin-top: 100px;
}


.service-bg {
  width: 100%;           
  max-width: 768px;    
  height: auto;
  display: block;
  margin: 50px auto;
}


.service-list {
  position: absolute;
  top: 68%;             
  left: 44%;             
  transform: translate(-50%, -50%);
  list-style: none;
  padding: 0;
  margin: 0 0 60px;    
}

.service-list li {
  font-size: 24px;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
}


.service-btn {
  position: absolute;
  top: 99%;              
  left: 50%;            
  transform: translate(-50%, -50%);
  display: block;
  width: 90%;
  text-decoration: none;
  background-color: #000;
  color: #fff;
  font-size: 18px;
  padding: 12px 0;
}

.case{
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  margin-top: 50px;
}


.case-heading {
  display: inline-block;
  background-color: #FBD50F;
  font-size: 40px;
  font-weight: bold;
  margin: 50px 0;
  padding: 10px 20px;
  letter-spacing: 0.1em;
}


.before-photo,.after-photo {
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 768px;       
  height: auto;
}
.before-photo {
  margin-bottom: 50px;
}

.after-photo {
  margin-bottom: 50px;
}


.name {
  font-size: 24px;
  line-height: 1.6;
  color: #111;
  margin: 10px auto;
  text-align: center;
  font-family: "Noto Sans JP";
  font-weight: 700;
}
.content {
  font-size: 24px;
  line-height: 1.6;
  color: #111;
  margin: 0;
  text-align:center;
  font-family: "Noto Sans JP";
  font-weight: 500;
}

.strong {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  margin-top: 100px;
  position: relative;
}


.strong-header {
  margin-bottom: 32px;
}
.strong-heading-img {
  width: 100%;
  max-width: 768px;    
  height: auto;
}


.strong-bg-img {
  width: 100%;
  height: auto;
  display: block;
}


.strong-text2 {
  color: #fff;
  position: absolute;
  top:  55%; 
  left: 54%;
  transform: translate(-50%, -50%);
  width: 100%;         
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  z-index: 1;
  font-weight: bold;
}

.strong-text1 {
  color: #000;
  position: absolute;
  top:  22%; 
  left: 54%;
  transform: translate(-50%, -50%);
  width: 100%;         
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  z-index: 1;
  font-weight: bold;
}

.strong-text3 {
  color: #000;
  position: absolute;
  top:  85%; 
  left: 54%;
  transform: translate(-50%, -50%);
  width: 100%;           
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  z-index: 1;
  font-weight: bold;
}

#recruit {
  position: relative;
  width: 100%;
  padding: 0;
  text-align: center;
  margin-top: 100px;
}

.recruit-bg {
  display: block;
  width: 100%;
  max-width: 768px;   
  height: auto;
  margin: 0 auto;
}

.recruit-text {
  position: absolute;
  top: 38%;           
  left: 58%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 768px;   
  text-align: left;
  color: #111;         
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 24px;
}


.recruit-requirements h2 {
  position: absolute;
  top: 66.2%;           
  left: 61%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 360px;   
  text-align: left;
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 30px;
  color: #fff;             
  margin: 0 0 .5em;
}
.recruit-requirements p {
  position: absolute;
  top: 74%;            
  left: 55%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 360px;    
  text-align: left;
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 24px;
  color: #fff;             
  margin: 0 0 .5em;
}
.recruit-requirements ul {
  position: absolute;
  top: 82%;            
  left: 66%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 768px;    
  text-align: left;
  color: #fff;        
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 24px;
  padding: 0;
  margin: 0 0 1em;
  list-style: disc;
}

.speech-block {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.bubble-svg {
  width: 100%;
  display: block;
  z-index: 0;
  position: relative; /* z-indexに反映されるように */
}

.person-img {
  position: absolute;
  bottom: -1%; /* 吹き出しの下にぴったり配置 */
  left: 0%;     /* 位置調整。左右バランスで変えてOK */
  width: 150px;
  z-index: 1;
}

.faq {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.faq__heading {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  padding: 8px 16px;
  margin-bottom: 24px;
}

.faq {
  width: 100%;
  padding: 1px 20px;
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
}

.faq__heading {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 50px;
  padding: 8px 16px;
  margin-bottom: 40px;
}

.faq__list {
  margin: 0;
  padding: 0;
}

.faq__item {
  margin-bottom: 32px;
}


.faq__question {
  position: relative;
  padding-left: 3.5em;  
  font-weight: bold;
  margin: 0;
  text-align: left;
}

.faq__question::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 2em;
  text-align: center;
  background-color: #000;
  color: #fff;
}

.faq__question::after {
  content: "";
  display: block;
  border-bottom: 1px solid #000;
  width: 100%;
  margin-top: 0.5em;
}


.faq__answer {
  position: relative;
  padding-left: 3.5em;  
  margin: 1em 0 0;
  text-align: left;
}

.faq__answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 2em;
  text-align: center;
  border: 1px solid #000;
  color: #000;
}

.faq__answer::after {
  content: "";
  display: block;
  border-bottom: 1px solid #000;
  width: 100%;
  margin-top: 0.5em;
}

.footer {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  box-sizing: border-box;
  margin-top: 50px;
}


.footer-line-img {
  height: auto;
  display: block;
  width: 100%;
  max-width: 768px;
  margin: -50px auto;
}

.footer-inner {
  max-width: 360px;
  margin: 0 auto;
}



.footer-company {
  position: absolute; 
  z-index: 1;
  top: 13%;
  left: 15%;
  font-size: 24px;
  margin: 0 0 8px;
}

.footer-desc {
  position: absolute; 
  z-index: 1;
  top: 19%;
  left: 20%;
  font-size: 14px;
  margin: 0 0 32px;
}

.footer-contact__list {
  position: absolute; 
  z-index: 1;
  top: 24.5%;
  left: 12%;
  font-size: 25px;
  margin-bottom: 12px;
  list-style: none;
  line-height: 1.7;
}

.footer-buttons {
  position: absolute; 
  z-index: 1;
  top: 50%;
  left: 11%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 32px;
}

.btn {
  display: block;
  text-align: center;
  padding: 12px 30px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.btn--yellow {
  background-color: #ffcc00;
  color: #000;
}

.btn--white {
  background-color: #fff;
  color: #000;
}

.footer-address__title {
  font-size: 24px;
  position: absolute; 
  z-index: 1;
  top: 84%;
  left: 41%;
  margin-bottom: 8px;
}

.footer-address address {
  position: absolute; 
  z-index: 1;
  top: 90%;
  left: 14%;
  font-style: normal;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.speech-block.pc_br {
  display: none!important;
}




@media (min-width: 768px) {
  .sp_br {
    display: none;
    width: 0;
  }
  .navbar {
    font-size: 40px; 
  }

  .mainvisual-text p {
    font-size: 40px;
  }

  .mainvisual-text span {
    font-size: 80px; 
  }

.mainvisual {/*追加した */
  max-width: none;
  /* margin-top: -75px; */
}

.mainvisual-img {/*追加した */
  width: 80vw;
  max-width: none;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
}

.company-logo {
  max-width: none;
  max-width: 500px;
}

.company-logo-img {/*追加した */
  width: 80vw;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact {
    margin: 0;
    max-width: none;
}


.contact-background-img {
  width: 80vw;
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-hour {
  top: 52%;
}

.contact-info {
    top: 27%;
}
 
  .contact-info p,
  .contact-hour p {
    font-size: 50px; 
  }

 
  .contact-button button {
    font-size: 20px; 
    padding: 18px;
  }


.contact-button {
  position: absolute;
  width: 60%;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-button button {
  width: 100%; 
  max-width:  none;
  font-size: 2vw;
  padding: 15px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

.message-background-img {/*追加した */
    width: 100vw;   /* ビューポート幅いっぱいに */
    max-width: none; /* 幅制限を解除 */
    height: auto;
    display: block;
    margin: 0;
}

#message {
  position: relative;
}

.message-text01 {
  position: absolute;
  right: 15vw;
  top: 0vw;
}

.message-text1 {
    font-size: 2vw;
}

.message-text2 {
    font-size: 2vw; 
}

.message-text1 span {
    font-size: 3vw;
}

.message-text3 {
    font-size: 2vw;
    max-width: 1000px;
}

.message-text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px;
}

.message-family {
  padding: 0;
  background-color: initial;
  margin-top: 250px;
}

.message-family-img {
    max-width: none;
    width: 50vw;
    margin: 0 0 0 auto;
}

.message-text02 {
  position: absolute;
  left: 7vw;
  bottom: 0vw;
}

.answer-text {
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 6%;
    left: 7%;
    transform: initial;
    text-align: left;
}

.caution-text {
    position: absolute;
    top: 45%;
    left: 74%;
    transform: translateX(-50%);
    width: 100%;
    color: #fff;
    font-size: 2vw;
    line-height: 1.6;
    text-align: left;
    font-family: "Noto Serif JP";
    margin: 0;
}

.caution-bg {
    max-width: none;
    width: 80vw;
    margin: 0 auto;
}

.caution-wrapper {
    max-width: none;
}

.answer-text p {
    font-size: 2vw;
}

.answer-text span {
    font-size: 50px;
    font-weight: bold;
}

.answer-text1 {
    margin-bottom: 40px;
}


.history-text {
   width: 100vw;
    max-width: none;
    line-height: 1.6;
    padding: 45px;
}


.history-text p {
    font-size: 1.8vw;
    margin-bottom: 1em;
}

.about-text {
    position: absolute;
    top: 69%;
    left: 50%;
    transform: translateX(-50%);
    width: 63vw;
    max-width: initial;
    text-align: left;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.8vw;
    line-height: 1.6;
    z-index: 1;
    margin: 0;
}

.service-list {
    position: absolute;
    top: 40%;
    left: initial;
    right: 20%;      
    list-style: none;
    transform: initial;
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}

.service-list li {
    font-size: 2vw;
    line-height: 2;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
}

.service-btn {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    text-decoration: none;
    background-color: #000;
    color: #fff;
    font-size: 30px;
    padding: 12px 0;
    max-width: 1000px;
}

.case_box {
  display: flex;
}

.name {
    font-size: 50px;
    line-height: 1.6;
    color: #111;
    margin: 10px auto;
    text-align: center;
    font-weight: bold;
}

.strong-text1 {
    color: #000;
    position: absolute;
    top: 33%;
    left: 20%;
    transform: initial;
    width: 100%;
    font-size: 2vw;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    z-index: 1;
    font-weight: bold;
}

.strong-text2 {
    color: #fff;
    position: absolute;
    top: 66%;
    left: 20%;
    transform: initial;
    width: 100%;
    font-size: 2vw;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    z-index: 1;
    font-weight: bold;
}

.strong-text3 {
    color: #000;
    position: absolute;
    top: 86%;
    left: 63%;
    transform: initial;
    width: 100%;
    font-size: 2vw;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    z-index: 1;
    font-weight: bold;
}

.recruit-text {
    position: absolute;
    top: 20%;
    left: 35%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 768px;
    text-align: left;
    color: #111;
    font-family: "Noto Sans JP";
    font-weight: 700;
    font-size: 2vw;
    line-height: 2;
}

.recruit-requirements h2 {
    position: absolute;
    top: 70%;
    left: 51%;
    transform: initial;
    width: 100%;
    max-width: 360px;
    text-align: left;
    font-family: "Noto Sans JP";
    font-weight: 700;
    font-size: 3vw;
    color: #fff;
    margin: 0 0 .5em;
}

.recruit-requirements p {
    position: absolute;
    top: 77%;
    left: 51%;
    transform: initial;
    width: 100%;
    max-width: 360px;
    text-align: left;
    font-family: "Noto Sans JP";
    font-weight: 700;
    font-size: 2vw;
    color: #fff;
    margin: 0 0 .5em;
}

.recruit-requirements ul {
    position: absolute;
    top: 82%;
    left: 60%;
    transform: initial;
    width: 100%;
    max-width: 768px;
    text-align: left;
    color: #fff;
    font-family: "Noto Sans JP";
    font-weight: 700;
    font-size: 2vw;
    padding: 0;
    margin: 0 0 1em;
}

.call-text1 {
    margin-top: 30px;
    margin-left: 525px;
}

.footer-company {
    top: 35%;
    left: 33%;
    font-size: 3vw;
    font-weight: bold;
}

.footer-desc {
    top: 42%;
    left: 34%;
    font-size: 2vw;
}

.footer-contact__list {
    top: 58%;
    left: 12%;
    font-size: 2vw;
    line-height: 2;
}

.footer-buttons {
  top: 56%;
  right: 10%;
  gap: 2vw;
  left: initial;
}


.footer-address__title {
    font-size: 2vw;
    top: 80%;
    left: 47%;
    font-weight: bold;
}


.footer-address address {
    top: 87%;
    left: 36%;
    font-size: 1.6vw;
    line-height: 1.5;
}

.btn {
    font-size: 50px;
}

/*フルスクリーン*/
.answer-bg-img {
    width: 100%;
    max-width: none;
    margin-top: 200px;
}

.profile {
  position: relative;
}

.profile-img {
    width: 40vw;
    max-width: none;
    margin-left: 0;
}

.history {
  position: absolute;
  top: 0;
  right: 0;
  width: initial;
}


.history-bg-img {
  width: 46vw;
  max-width: none;
  margin-right: 0;
}

.history-text {         
  max-width: 55vw;    
  width: initial;
}

.about-bg {
  width: 100%;
  max-width: none;
}

.service-bg {
    width: 100vw;
    max-width: none;
}

.before-photo, .after-photo {
    width: 50%;
    max-width: none;
}

.before-photo {
  border-right: 5px solid #000;
}

.strong-heading-img {
    width: 100%;
    max-width: none;
    margin: 200px auto;
}

.recruit-bg {
    width: 100%;
    max-width: none;
}

.faq {
    width: 90vw;
    max-width: none;
    margin-top: 10vw;
}

.footer-line-img {
    width: 100vw;
    max-width: none;
    margin-top: 100px;
}

.mainvisual-text {
  display: none;
}

.nav-item {
    margin-right: 35px;
}

.company-name {
    margin-bottom: 50px;
}

.main-visual {
  max-width: none;
  width: 50vw;
  margin: 0 auto 0 0;
}

.wrapper {
  max-width: none;
  margin: 100px auto;
}

.bg-svg {
    top: -30%;
    z-index: -1;
}

.overlay-svg {
    left: 37%;
    bottom: -10%;
    width: 25vw;
}

.company-text {
    font-size: 24px;
}

.case-heading {
    font-size: 50px;
    margin: 100px 0;
    padding: 10px 40px;
}

/* .before-photo {
    margin-bottom: 200px;
} */

.content {
    font-size: 35px;
}

.speech-block {
  position: relative;
  width: 30%;
  max-width: 1000px;
  margin: 2rem auto;
}

.speech-block.pc_br {
  position: absolute;
  bottom: -10%;
  left: 0;
}

.person-img {
    position: absolute;
    bottom: 0%;
    left: 0%;
    z-index: 1;
    width: 30%;
}

.faq__heading {
    font-size: 50px;
    padding: 8px 200px;
    margin-bottom: 100px;
}

.faq__question {
    font-size: 30px;
}

.faq__answer {
font-size: 30px;
}


.speech-block.pc_br {
  display: block!important;
}

}

#company-info h2 {
  text-align: center;
  font-size: 3vw;
  margin: 80px 0 30px 0;
  font-weight: bold;
}

.company-info {
  position: relative;
  width: 90vw;
  padding: 0 20px;
  margin: auto;
}

.company-info table {
  margin: auto;
  margin-top: 30px;
  width: 100%;
}

.company-info table td,
.company-info table th {
  font-size: 2vw;
  line-height: 1.5;
  color: #000;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
  padding: 15px 0;
  text-align: left;
}

.company-info table td {
  margin-bottom: 40px;
  font-size: 2vw;
  width: 65%;
}

.company-info table th {
  font-weight: bold;
  width: 35%;
  /* padding-left: 40px; */
}

@media (max-width: 769px) {
  #company-info {
    padding-bottom: 50px;
  }
  #company-info h2 {
    font-size: 30px;
  }
  .company-info {
    width: 100%;
  }
  .company-info table td {
    font-size: 18px;
    margin-bottom: 30px;
    width: 70%;
  }
  .company-info table th {
    font-size: 20px;
    font-weight: 500;
    width: 30%;
  }
}

#footer-navbar {
  position: absolute;
  bottom: 1vw; 
}

#footer-navbar {
  background-color: #363737;
  color: #fff;
}

#footer-navbar .nav-item a {
  color: #fff;
}

#footer-navbar .nav-item a.active {
  color: #fff;
  border: 2px solid #FFF;
}

@media (max-width: 769px) {
  #footer-navbar {
    flex-direction: column;
    text-align: left;
    padding-left: 11vw;
    gap: 10px;
  }
  #footer-navbar .nav-item a {
    font-size: 20px;
  }
}



.form {
  max-width: 70vw;
  margin: auto;
}

.form h2 {
  text-align: center;
  font-size: 3vw;
  margin: 80px 0 30px 0;
  font-weight: bold;
}

#contactForm {
  border-top: 1px solid #000;
  padding-top: 1.2rem;
}

.form-group {
  display: flex;
  align-items: center;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #000;
}

.form-group label {
  width: 40%;
  margin-right: 1rem;
  font-weight: 500;
  text-align: left;
  padding-left: 5%;
  font-size: 2vw;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 2vw;
}

.form-group textarea {
  height: 200px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  max-width: 300px;
  margin: auto;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 2vw;
  cursor: pointer;
  font-weight: bold;
}

.submit-btn:hover {
  background-color: #ffcc00;
}

.required {
  color: red;
  font-size: 0.85rem;
  margin-left: 5px;
}

@media (max-width: 769px) {
  .form {
    width: 100%;
    max-width: initial;
    padding: 1px 20px;
  }
  .form h2 {
    font-size: 30px;
  }
  .form-group {
    flex-direction: column;
    align-items: stretch;
  }
  .form-group label {
    width: auto;
    margin-bottom: 0.5rem;
    font-size: 18px;
    padding-left: 0;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }
  .submit-btn {
    font-size: 18px;
  }
}




/* デザイン修正 */

.mainvisual_pc {
  display: none;
}

@media (min-width: 768px) {
  .mainvisual_sp {
    display: none;
  }
  .mainvisual_pc {
    display: block;
  }
  .contact-info p, .contact-hour p {
    font-size: 4vw;
  }
  .recruit-text {
    transform: initial;
    left: 10%;
  }
  .btn {
    font-size: 4vw;
    padding: 1vw 30px;
  }
  .nav-item a {
    font-size: min(4vw, 40px);
  }
}