.wrap{
width: 100%;
margin: auto;

height: 100svh;
position: relative;
overflow: hidden;
}
.wrap .img_visual{
width:100%;
height: 100svh;
object-fit: cover;
}
.wrap h2.img_catch{
width: 600px;
position: absolute;
top: 50%;
left: 4%;
font-size:var(--font-xx);
transform: translateY(-50%);
z-index: 2;
color: #FFF;
}

#sec_01{
  padding: var(--section-margin) 0;
}

#sec_01 p{
  width: 800px;
  margin: 0 auto;
}
#sec_02{
  margin-bottom: var(--section-margin);
}
ul.feature_list{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
ul.feature_list li{
  width: calc((100% - 40px) / 3);
  background-color: var(--brand-color);
}
ul.feature_list li img{
  width: 100%;
}
ul.feature_list li p{
  width: 90%;
  margin: 0 auto;
  color: #FFF;
  font-size: var(--font-m);
  font-weight: 500;
  letter-spacing: 0.4rem;
  text-align: center;
  padding: 20px 0;
}

#sec_03 {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: var(--section-margin);
}

#sec_03 > div {
  display: flex;
  gap: 0;
  width: fit-content;
  animation: loop 40s linear infinite;
}

#sec_03 img {
  width: auto;
  height: 300px;
  display: block;
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

#sec_04 {
  width: 100%;
  padding-bottom: var(--section-margin);
}

#sec_04 ul.recommended_list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#sec_04 ul.recommended_list li {
  width: 100%;
  background: #FFF;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

#sec_04 ul.recommended_list li img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

#sec_04 ul.recommended_list li .title {
  font-size: var(--font-l);
  font-weight: 700;
  margin: 30px 30px 10px;
}

#sec_04 ul.recommended_list li .sub {
  font-size: var(--font-m);
  color: var(--brand-color);
  margin: 0 30px 20px;
}

#sec_04 ul.recommended_list li p:not(.title):not(.sub) {
  margin: 0 30px 30px;
  line-height: 2;
}

#sec_04 ul.recommended_list li .btn {
  display: block;
  width: 200px;
  text-align: center;
  padding: 15px 0;
  margin: 0 30px 30px;
  background: var(--brand-color);
  color: #FFF;
  border-radius: 50px;
  transition: opacity 0.3s;
}

#sec_04 ul.recommended_list li .btn:hover {
  opacity: 0.8;
}

#sec_05 {
  width: 100%;
  margin-bottom: var(--section-margin);
}
#sec_05 img.intro_bus {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#sec_05 .bx_wrap {
  width: 100%;
  height: 400px;
  display: flex;
  background-color: var(--brand-color);
  overflow: hidden;
}
#sec_05 .bx_wrap .box_01 {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* 右寄せ */
}
#sec_05 .bx_wrap .box_01 .box_01_inner {
  width: 100%;
  max-width: 700px;
  padding: 40px;
  text-align: left; /* テキストも右寄せ */
}
#sec_05 .bx_wrap .box_01 .box_01_inner h2{
  font-size: var(--font-x);
  font-weight: 700;
  margin: 0 0 20px;
  color: #FFF;
}
#sec_05 .bx_wrap .box_01 .box_01_inner p{
  margin: 0 0 20px;
  color: #FFF;
  font-size: var(--font-m);
}
#sec_05 .bx_wrap .box_01 .btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s;
}
#sec_05 .bx_wrap .box_01 .btn:hover {
  background: #fff;
  color: var(--brand-color);
}

#sec_05 .bx_wrap .box_02 {
  width: 50%;
}
#sec_05 .bx_wrap .box_02 picture {
  width: 100%;
  height: 100%;
}
#sec_05 .bx_wrap .box_02 picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sec_06 {
  width: 100%;
  margin-bottom: var(--section-margin);
}
#sec_06 p{
  width: 100%;
  text-align: center;
  font-size: var(--font-x);
  margin: 0 auto;
  padding-bottom: 40px;
}
#sec_06 .btn{
  display: block;
  width: 200px;
  text-align: center;
  padding: 15px 0;
  margin: 0 auto;
  background: var(--brand-color);
  color: #FFF;
}

@media screen and (max-width: 750px) {
  .wrap h2.img_catch {
    width: 90%;
    font-size: var(--font-x);
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #sec_01 {
    padding: 60px 4%;
  }

  #sec_01 p {
    width: 100%;
    font-size: var(--font-m);
    line-height: 1.8;
  }

  #sec_02 {
    margin-bottom: 60px;
  }

  ul.feature_list {
    gap: 15px;
    padding: 0 4%;
  }

  ul.feature_list li {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  ul.feature_list li:hover {
    transform: translateY(-5px);
  }

  ul.feature_list li p {
    padding: 15px 0;
    font-size: var(--font-s);
  }

  #sec_03 {
    padding-bottom: 60px;
  }

  #sec_03 img {
    height: 200px;
  }

  #sec_04 ul.recommended_list {
    gap: 25px;
    padding: 0 4%;
  }

  #sec_04 ul.recommended_list li {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  #sec_04 ul.recommended_list li:hover {
    transform: translateY(-5px);
  }

  #sec_04 ul.recommended_list li img {
    height: 200px;
  }

  #sec_04 ul.recommended_list li .title {
    font-size: var(--font-m);
    margin: 20px 20px 10px;
  }

  #sec_04 ul.recommended_list li .sub {
    font-size: var(--font-s);
    margin: 0 20px 15px;
  }

  #sec_04 ul.recommended_list li p:not(.title):not(.sub) {
    font-size: var(--font-s);
    margin: 0 20px 20px;
    line-height: 1.8;
  }

  #sec_04 ul.recommended_list li .btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 0;
    font-size: var(--font-s);
  }

  #sec_05 {
    margin-bottom: 60px;
  }

  #sec_05 img.intro_bus {
    height: 250px;
  }

  #sec_05 .bx_wrap {
    height: auto;
    flex-direction: column;
  }

  #sec_05 .bx_wrap .box_01,
  #sec_05 .bx_wrap .box_02 {
    width: 100%;
  }

  #sec_05 .bx_wrap .box_01 {
    padding: 40px 4%;
    align-items: center;
  }

  #sec_05 .bx_wrap .box_01 .box_01_inner {
    text-align: center;
    padding: 0;
  }

  #sec_05 .bx_wrap .box_01 .box_01_inner h2 {
    font-size: var(--font-l);
  }

  #sec_05 .bx_wrap .box_01 .box_01_inner p {
    font-size: var(--font-s);
  }

  #sec_05 .bx_wrap .box_01 .btn {
    margin-top: 15px;
    padding: 10px 30px;
  }

  #sec_06 {
    margin-bottom: 60px;
  }
  #sec_06 p {
    width: 100%;
    font-size: var(--font-l);
    padding: 0 0 30px;
    line-height: 1.8;
  }

  #sec_06 .btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 0;
    font-size: var(--font-s);
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  #sec_06 .btn:hover {
    transform: translateY(-2px);
  }
}

/*#################
サブページ共通
#################*/

.sub_header{
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;

}

.sub_header img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.sub_header h2 {
  position: absolute;
    top: calc(50% + 30px);
    left: 50%;
    color: #FFF;
    font-size: var(--font-xx);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 750px) {
  .sub_header {
    height: 200px;
  }
  
  .sub_header h2 {
    font-size: var(--font-x);
  }
}

/*#################
ご利用ガイド　guide.php
#################*/
#sub_guide {
  padding: 80px 0;
}

#sub_guide .main_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

.guide_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.guide_list li {
    background: #FFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.guide_list li:hover {
    transform: translateY(-5px);
}

.guide_title {
    font-size: var(--font-x);
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-color);
}
.guide_title span{
  font-size: var(--font-x);
  margin-right: 10px;
}
.guide_text {
    font-size: var(--font-m);
    line-height: 1.8;
    color: #333;
    margin: 0;
}

@media screen and (max-width: 750px) {
    #sub_guide {
        padding: 40px 0;
    }

    .guide_list {
        gap: 20px;
    }

    .guide_list li {
        padding: 25px;
    }

    .guide_title {
        font-size: var(--font-m);
        margin: 0 0 15px;
    }

    .guide_text {
        font-size: var(--font-s);
    }
}

/*#################
車両紹介　vehicles.php
#################*/
#sub_vehicles {
  padding: 80px 0;
}



.vehicles_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.vehicles_list li {
    background: #FFF;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vehicles_list li:hover {
    transform: translateY(-5px);
}

.vehicles_title {
    font-size: var(--font-x);
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-color);
    display: flex;
    align-items: center;
}

.vehicles_title span {
    font-size: var(--font-xx);
    margin-right: 15px;
    color: var(--brand-color);
    opacity: 0.5;
}

.vehicles_img {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
}

.vehicles_img::-webkit-scrollbar {
    height: 6px;
}

.vehicles_img::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.vehicles_img::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 3px;
}

.vehicles_img img {
    width: 100%;
 
    border-radius: 8px;
    flex-shrink: 0;
}

.vehicles_text {
    font-size: var(--font-m);
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.vehicles_text .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--brand-color);
    color: #FFF;
    text-decoration: none;
    border-radius: 50px;
    font-size: var(--font-s);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.vehicles_text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 750px) {
    #sub_vehicles {
        padding: 40px 0;
    }

    .vehicles_list {
        gap: 30px;
    }

    .vehicles_list li {
        padding: 25px;
    }

    .vehicles_title {
        font-size: var(--font-l);
        margin: 0 0 20px;
    }

    .vehicles_title span {
        font-size: var(--font-x);
        margin-right: 10px;
    }

    .vehicles_img {
        gap: 15px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .vehicles_img img {
        /*width: calc((100% - 30px) / 3);*/
        /*height: 150px;*/
    }

    .vehicles_text {
        font-size: var(--font-s);
        padding: 15px;
    }

    .vehicles_text .btn {
        display: block;
        text-align: center;
        padding: 12px 0;
        width: 100%;
        max-width: 200px;
        margin: 15px auto 0;
    }
}

/*#################
保証　guarantee.php
#################*/
#sub_guarantee {
    padding: 80px 0;
    margin-bottom: 80px;
    background: #f8f8f8;
}

#sub_guarantee .main_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

.guarantee_title {
    font-size: var(--font-x);
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-color);
}

#sub_guarantee p {
    font-size: var(--font-m);
    line-height: 1.8;
    color: #333;
    margin: 0 0 40px;
}

.guarantee_box {
    background: #FFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.guarantee_box:hover {
    transform: translateY(-5px);
}

.guarantee_box h4 {
    font-size: var(--font-l);
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.guarantee_box ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guarantee_box ul li {
    font-size: var(--font-m);
    font-weight: 700;
    color: #333;
}

.guarantee_box ul li p {
    font-size: var(--font-m);
    font-weight: normal;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: none;
}

@media screen and (max-width: 750px) {
    #sub_guarantee {
        padding: 40px 0;
    }

    .guarantee_title {
        font-size: var(--font-l);
        margin: 40px 0 15px;
    }

    #sub_guarantee p {
        font-size: var(--font-s);
        margin: 0 0 30px;
    }

    .guarantee_box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .guarantee_box h4 {
        font-size: var(--font-m);
        margin: 0 0 15px;
    }

    .guarantee_box ul li {
        font-size: var(--font-s);
    }

    .guarantee_box ul li p {
        font-size: var(--font-s);
    }
}


/*#################
よくある質問　faq.php
#################*/
#sub_faq {
  padding: 80px 0;
}
.faq_wrap-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* FAQ全体のスタイリング */
.faq_wrap-wrapper ul {
  margin-bottom: 60px;
}

.faq_wrap-wrapper h3 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: var(--brand-color);
  position: relative;
  padding-left: 15px;
  border-left: 4px solid var(--brand-color);
}

/* Q&Aボックスの共通スタイル */
.q_box, .a_box {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 5px;
}

.q_box {
  background: #f5f5f5;
}

.a_box {
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

/* Q&Aアイコンのスタイル */
.q_box-q, .a_box-a {
  font-size: 2.4rem;
  font-weight: bold;
  margin-right: 20px;
  font-family: var(--font-fira);
}

.q_box-q {
  color: var(--brand-color);
}

.a_box-a {
  color: #e60012;
}

/* テキストのスタイル */
.q_box p, .a_box p {
  margin: 0;
  flex: 1;
  padding-top: 5px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 750px) {
  .faq_wrap-wrapper {
    padding: 40px 15px;
  }

  .faq_wrap-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .q_box, .a_box {
    padding: 15px;
  }

  .q_box-q, .a_box-a {
    font-size: 2rem;
    margin-right: 15px;
  }
}

/*#################
MOVIE　movie.php
#################*/
#sub_movie {
    padding: 80px 0;
    margin-bottom: 80px;
    background: #f8f8f8;
}

#sub_movie .main_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

.movie_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.movie_item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 16 / 9;
}

.movie_item:hover {
    transform: translateY(-5px);
}

.movie_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M8 5v14l11-7z"/></svg>') no-repeat center center;
    background-size: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.movie_item:hover::after {
    opacity: 1;
}

/* モーダル */
.movie_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.movie_modal.active {
    display: flex;
}

.movie_modal_inner {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: #000;
}

.movie_modal_inner::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.movie_modal_inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.movie_modal_close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.movie_modal_close::before,
.movie_modal_close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #FFF;
}

.movie_modal_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.movie_modal_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 750px) {
    #sub_movie {
        padding: 40px 0;
    }

    .movie_list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .movie_item::after {
        width: 40px;
        height: 40px;
    }

    .movie_modal_inner {
        width: 95%;
    }
}

/*#################
会社概要　about.php
#################*/
#sub_about {
    padding: 80px 0;
    background: #f8f8f8;
}

#sub_about .main_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

#sub_about h2 {
    font-size: var(--font-x);
    font-weight: 700;
    color: var(--brand-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

#sub_about h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--brand-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about_content {
    background: #FFF;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.about_content p {
    font-size: var(--font-m);
    line-height: 2;
    margin-bottom: 20px;
}

.about_content p:last-child {
    margin-bottom: 0;
}

.about_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about_list li {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.about_list li:last-child {
    border-bottom: none;
}

.about_list h3 {
    width: 200px;
    font-size: var(--font-m);
    font-weight: 700;
    color: var(--brand-color);
}

.about_list p {
    flex: 1;
    font-size: var(--font-m);
    margin: 0;
}

@media screen and (max-width: 750px) {
    #sub_about {
        padding: 40px 0;
    }

    #sub_about h2 {
        font-size: var(--font-l);
        margin-bottom: 40px;
    }

    .about_content {
        padding: 25px;
        margin-bottom: 30px;
    }

    .about_content p {
        font-size: var(--font-s);
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .about_list {
        gap: 15px;
    }

    .about_list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .about_list h3 {
        width: 100%;
        font-size: var(--font-s);
        margin-bottom: 5px;
    }

    .about_list p {
        font-size: var(--font-s);
    }
}

/*#################
採用情報
#################*/
#sub_recruit {
    padding: 80px 0;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
}

#sub_recruit .main_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

#sub_recruit h2 {
    font-size: var(--font-xx);
    font-weight: 900;
    color: var(--brand-color);
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 20px;
}

#sub_recruit h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: var(--brand-color);
    border-radius: 3px;
}

.recruit_content {
    position: relative;
}

.recruit_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.recruit_list li {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.recruit_list li:hover {
    transform: translateY(-5px);
}

.recruit_title {
    background: var(--brand-color);
    color: #fff;
    font-size: var(--font-l);
    font-weight: 700;
    padding: 20px 30px;
    position: relative;
}

.recruit_title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px;
    border-color: var(--brand-color) transparent transparent transparent;
}

.recruit_text {
    padding: 40px 30px 30px;
}

.recruit_text p {
    font-size: var(--font-m);
    line-height: 2;
    margin-bottom: 20px;
}

.recruit_text p:last-child {
    margin-bottom: 0;
}

.recruit_text br {
    display: block;
    content: "";
    margin: 10px 0;
}

@media screen and (max-width: 750px) {
    #sub_recruit {
        padding: 40px 0;
    }

    #sub_recruit h2 {
        font-size: var(--font-x);
        margin-bottom: 40px;
        padding-left: 15px;
    }

    #sub_recruit h2::before {
        width: 4px;
    }

    .recruit_list {
        gap: 25px;
    }

    .recruit_title {
        font-size: var(--font-m);
        padding: 15px 20px;
    }

    .recruit_title::after {
        bottom: -10px;
        left: 20px;
        border-width: 10px 10px 0 10px;
    }

    .recruit_text {
        padding: 30px 20px 20px;
    }

    .recruit_text p {
        font-size: var(--font-s);
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .recruit_text br {
        margin: 5px 0;
    }
}



/*#################
見積依頼　estimate.php
#################*/
#sub_estimate {
    padding: 80px 0;
    background: #f8f8f8;
}

#sub_estimate .main_wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4%;
}

.estimate-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-notice {
    background: #fff9e6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: var(--font-s);
    line-height: 1.8;
}

.form-notice a {
    color: var(--brand-color);
    font-weight: 700;
    text-decoration: none;
}

.form-section-title {
    font-size: var(--font-l);
    font-weight: 700;
    color: var(--brand-color);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--brand-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: var(--font-m);
    margin-top: 5px;
}

.form-textarea {
    min-height: 120px;
}

.form-group label {
    display: block;
    font-size: var(--font-m);
    font-weight: 700;
    margin-bottom: 8px;
}

.name-suffix {
    display: inline-block;
    margin-left: 8px;
}

.number-group,
.time-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.number-group .form-input {
    width: 120px;
}

.time-group select {
    width: auto;
}

.time-separator {
    margin: 0 5px;
}

.wpcf7-checkbox,
.wpcf7-radio {
    /*display: flex;*/
    /*gap: 20px;*/
    margin-top: 10px;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.submit-button {
    display: block;
    width: 300px;
    margin: 40px auto 0;
    padding: 15px;
    background: var(--brand-color);
    color: #fff;
    font-size: var(--font-m);
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-button:hover {
    opacity: 0.8;
}

/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: var(--font-s);
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 5px;
    font-size: var(--font-s);
}

/*フォームレイアウト整理*/
.form-group1 p{
	display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-group2 p{
	display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time-flex p{
	display: flex;
    justify-content: center;
    align-items: center;
}

.time-flex2 p{
	display: flex;
    justify-content: center;
    align-items: center;
}

.time-flex2 label{
	    margin-right: 10px;
}

@media screen and (max-width: 750px) {
    #sub_estimate {
        padding: 40px 0;
    }

    .estimate-form {
        padding: 25px;
    }

    .form-notice {
        padding: 15px;
        margin-bottom: 20px;
        font-size: var(--font-xs);
    }

    .form-section-title {
        font-size: var(--font-m);
        margin: 30px 0 15px;
    }

    .form-input,
    .form-textarea,
    .form-select {
        font-size: var(--font-s);
        padding: 10px;
    }

    .form-group label {
        font-size: var(--font-s);
    }

    .number-group,
    .time-group {
        flex-wrap: wrap;
    }

    .wpcf7-checkbox,
    .wpcf7-radio {
        flex-direction: column;
        gap: 10px;
    }

    .submit-button {
        width: 100%;
        font-size: var(--font-s);
    }
}
