@charset "utf-8";
/************
 * Responsive *
*************/
/* 900 - 1280 */
@media only screen and (min-width:900px) and (max-width:1280px){
}

/* 768 - 899 */
@media only screen and (min-width:768px) and (max-width:1024px){
}

/* 320 - 767 */
@media only screen and (min-width:320px) and (max-width:767px){

  .hero-section_sp {
    width: 100vw;
    height: 63vh;
    min-height: 650px;
    background: url("../img/header_bg_sp.png") center center/cover no-repeat;
    display: flex;
    align-items: flex-end;
  }

  .hero-texts {
    padding-bottom: 8vh;
    padding-top: 42vh;
    text-align: left;
}

.main-title {
  font-size: 3.6rem;
  font-weight: 900;
  margin: 0 0 22px 0;
  color: #111;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow: 0 2px 6px rgba(255,255,255,0.18);
}

.company-name {
  font-size: 1.3rem;
  font-weight: 400;
  color: #111;
  margin: 0 0 0 4px;
  letter-spacing: 0.01em;
  text-align: left;
}

.notice-bar-inner {
  display: block;
  align-items: center;
  text-align: left;
  justify-content: left;
  padding: 24px 20px;
}

.notice-text {
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: 0.8rem;
}

.notice-btn {
  display: inline-block;
  background: #00943B;
  color: #fff;
  padding: 8px 28px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0px;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s;
}

.about-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px 56px 20px;
  z-index: 2;
  position: relative;
}

.about-catch p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #231815;
  margin: 0 0 32px 0;
  line-height: 1.75;
}

.about-text {
  width: 100%;
  min-width: 0px;
  padding-right: 0vw;
  display: block;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.about-image_sp {
  position: inherit;
  top: 0;
  right: 0;
  width: 100vw;
  min-width: 0vw;
  height: 100%;
  z-index: 1;
  display: block;
  align-items: center;
  justify-content: flex-end;
}

.about-desc p {
  font-size: 1rem;
  font-weight: 400;
  color: #231815;
  line-height: 2.5;
  margin: 0 0 14px 0;
}

.service-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 70px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-desc p {
	font-size: 0.9rem;
	color: #231815;
	line-height: 2;
	margin: 0;
  }

.service-bottom {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
  flex-direction: row;
  align-items: center;
  gap: 54px;
}

.service-desc h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #231815;
  line-height: 1.7;
  margin: 0 0 24px 0;
  padding-top: 30px;
}

.service-point-row {
  width: 100vw;
  height: auto;
  display: block;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
}

.service-point-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 38px 44px 132px 44px;
  text-align: left;
  color: white;
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.service-merit-head {
  font-size: 1.3rem;
  color: #a69236;
  font-weight: 700;
  text-align: center;
  margin-bottom: 38px;
  letter-spacing: 0.01em;
}

.service-merit-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
}

.service-merit-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 38px 22px 26px 22px;
  width: 100%;
  height: 100%;
  display: block;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 6px;
}

.service-merit-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #23272c;
  min-height: 250px;
  display: block;
  align-items: flex-start;
}

.service-merit-text {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
  opacity: 0.98;
}

.service-merit-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #23272c;
  min-height: 250px;
  margin: 30px 0 30px 0;
  display: block;
  align-items: flex-start;
}

.service-merit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.service-merit-container {
  width: 100%;
  max-width: 1024px;
  margin: -60px auto 0 auto;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 2px 24px 0 rgba(33,38,46,0.06);
  padding: 44px 26px 10px 26px;
  position: relative;
  z-index: 3;
}

.service-merit-section {
  width: 100vw;
  background: #F6F6F6;
  padding: 0 0 20px 0;
}

.subsidy-catch {
  font-size: 1.325rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0px 0 16px 0;
  letter-spacing: 0.01em;
  text-align: left;
}

.subsidy-desc {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 40px;
  margin-top: 20px;
  text-align: left;
}

.subsidy-btn {
  display: inline-flex;
  align-items: center;
  background: #00943B;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 18px 32px 18px 24px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: background 0.15s, color 0.15s;
  margin-top: 8px;
}

.user-voice-largewrap {
  display: block;
  gap: 40px;
  align-items: stretch;
  padding-top: 24px;
  height: auto;
}

.user-voice-wrap {
  background-color: #F6F6F6;
  border-radius: 15px;
  padding: 34px 15px 0 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  margin-bottom: 30px;
}

.user-voice-img {
  /* width: 60px; */
  /* min-width: 60px; */
  /* height: 60px; */
  width: 25%;
  /* margin-right: 14px; */
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.user-voice-number {
  font-size: 0.9rem;
  font-weight: 800;
}

.user-voice-midashi {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
}

.user-voice-profile {
  background-color: #111;
  border-radius: 15px 15px 0 0;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 0;
  margin: 0 50px;
  color: white;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.user-voice-text {
  text-align: left;
  font-size: 0.85rem;
  padding: 20px 0 60px 0;
  flex: 1 1 auto;
}

.user-voice-midashi_voice4 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
}

.company-info-td {
  width: 80%;
  text-align: left;
  color: #231815;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 44px 0 44px 0;
  vertical-align: middle;
  word-break: break-word;
  line-height: 1.8;
}





  /* --- CONTACTフォーム レイアウト変更 --- */
  .contact-form {
    padding: 38px 0 30px 0;
  }
  .contact-table {
    display: block;
    width: 100%;
  }
  .contact-row {
    display: block;
    margin-bottom: 38px;
    width: 100%;
  }
  .contact-cell-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #231815;
    padding-right: 0;
    padding-bottom: 8px;
    min-width: 0;
    text-align: left;
    line-height: 1.4;
    white-space: normal;
  }
  .contact-cell-input {
    display: block;
    width: 100%;
    padding-bottom: 0;
    position: relative;
  }
  .contact-required,
  .contact-optional {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }
  .contact-cell-input input,
  .contact-cell-input textarea {
    width: 100%;
    font-size: 0.95rem;
    padding: 20px 16px;
    margin-top: 0;
    box-sizing: border-box;
  }
  .contact-cell-input textarea {
    min-height: 110px;
    height: auto;
    margin-top: 36px;
}
  /* ボタン並び */
  .contact-actions {
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }
  .contact-submit-btn,
  .contact-line-btn {
    min-width: unset;
    width: 100%;
    font-size: 1.15rem;
    padding: 18px 0;
    justify-content: center;
  }
  /* プライバシー同意 */
  .contact-privacy {
    font-size: 0.98rem;
    margin: 24px 0 12px 0;
    text-align: center;
}

.service-point-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 18px;
	line-height: 1.6;
	text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  }


  .contact-required, .contact-optional {
    position: absolute;
    display: inline-block;
    margin-bottom: 8px;
    margin-top: 30px;
}


.contact-cell-input input[type="text"], .contact-cell-input input[type="email"], .contact-cell-input input[type="tel"] {
  width: 100%;
  font-size: 1rem;
  padding: 12px 14px;
  border: none;
  border-radius: 0;
  background: white;
  box-shadow: none;
  margin-top: 36px;
}

.service-carousel {
  width: 100vw;
  overflow: hidden;
  background: transparent;
  padding: 18px 0 50px 0;
}

.carousel-track {
  display: flex;
  width: calc(200%); /* 必要に応じて調整 */
  animation: carousel-scroll 10s linear infinite;
  align-items: center;
  gap: 18px;
}

.carousel-track img {
  width: 200px; /* お好みで */
  height: 270px;
  object-fit: cover;
  border-radius: 18px;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ハンバーガーメニュー スマホ用 */
.hamburger-menu {
  position: fixed;
  top: 17px;
  right: 20px;
  width: 60px;
  justify-content: center;
  height: 60px;
  z-index: 1001;
  border-radius: 10px;
  display: flex!important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  background-color: black;
}
.hamburger-menu span {
  display: block;
  width: 32px;
  height: 4px;
  background: #a69236;
  border-radius: 2px;
  transition: 0.3s;
  /* margin: 6px; */
  padding: 0;
}
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82vw;
  max-width: 320px;
  height: 100vh;
  background: #232323;
  z-index: 1000;
  transition: right 0.3s;
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}
.mobile-nav.active {
  right: 0;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav ul li {
  border-bottom: 1px solid #333;
}
.mobile-nav ul li a {
  display: block;
  color: #fff;
  padding: 22px 32px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mobile-nav ul li a:hover {
  background: #a69236;
  color: #232323;
}
.mobile-nav-overlay {
  display: none!important;
  position: fixed;
  inset: 0;
  z-index: 999;
  /* background: rgba(30,30,30,0.45); */
}
.mobile-nav-overlay.active {
  display: block;
}

}

















/* 768px以上は非表示 */
@media screen and (min-width: 768px) {
  .hamburger-menu, .mobile-nav, .mobile-nav-overlay {
    display: none !important;
  }
}