@media only screen and (max-width: 991px) {
    .p-footer-info.has-bg-image + .p-footer-nav__container .p-footer-nav {
        margin-top: 0;
        padding-top: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .p-global-nav__container {
        font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif !important;
    }
}
.p-footer-nav {
    font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif !important;
}

.companybox-title {
  font-size: 28px !important;
  font-weight: bold;
  text-align: left;
  margin-bottom: 40px;
  position: relative;
  font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif;
}

.companybox-title::after {
  content: "";
  display: block;
  height: 2px;
  border-top: 2px dashed #2f6fd3;
  margin: 10px 0 0;
}


@media screen and (max-width: 768px) {
  .companybox-map iframe {
    height: 250px;
  }
}
@media (max-width: 767px) {
    .p-entry__body .s_table {
        overflow: auto;
        white-space: nowrap;
        margin-bottom: 0em !important;
    }
}

.recruit-section {
  background: #f2f2f2;
  padding: 60px 20px;
  font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif;
}

.recruit-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}

.recruit-left {
  flex: 1 1 65%;
}

.recruit-title {
  font-size: 40px !important;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  text-align: left;
font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif !important;
}

.recruit-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #fff;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .recruit-inner {
    flex-direction: column;
  }
  .recruit-left {
    width: 100%;
  }
  .recruit-title {
    font-size: 28px !important;
    margin-bottom: 15px;
    color: #fff;
    text-align: left;
  }
  .recruit-desc {
    font-size: 15px;
    color: #fff;
    text-align: left;
    margin-bottom: 0px !important;
  }
  .recruit-right {
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }
  .recruit-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 25px;
  }
}

.p-cb__item-desc1 {
  flex: 1 1 70%;
  font-size: 16px;
  color: #fff !important; /* 文字色調整は必要に応じて */
}
@media only screen and (max-width: 991px) {
.p-cb__item-desc1 {
  font-size: 15px;
  color: #fff !important; /* 文字色調整は必要に応じて */
}
}
  .p-cb__item-desc1, .p-cb__item-button__wrapper1 {
    flex: 1 1 100%;
    text-align: left;
  }
.p-cb__item-button__wrapper1 {
  flex: 1 1 10%;
  text-align: right;
margin-top: 3em;
}
@media only screen and (max-width: 991px) {
.p-cb__item-button__wrapper1 {
  flex: 1 1 10%;
  text-align: right;
margin-top: 0em;
}
}

.p-button {
    display: inline-block;
    width: 100%;
    max-width: 220px;
    position: relative;
    background: #fff;
    border: 2px solid #3e3e3e;
    padding: 0em 2em;
    font-weight: bold;
    color: #3e3e3e !important;
    text-decoration: none;
    text-align: center;
    transition-duration: 0.3s;
    border-radius: 5px;
min-width: 220px;
}
@media screen and (max-width: 540px) {
.p-button {
    display: inline-block;
    width: 100%;
    max-width: 230px;
    position: relative;
    background: #fff;
    border: 2px solid #3e3e3e;
    padding: 0em 2em;
    font-weight: bold;
    color: #3e3e3e !important;
    text-decoration: none;
    text-align: center;
    transition-duration: 0.3s;
    border-radius: 5px;
}
}

.p-button:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #3e3e3e;
    border-right: 2px solid #3e3e3e;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 25px;
    margin-top: -6px;
}
.fa-2x {
    font-size: 2em;
    color: #5087ce;
}

.service-area {
  padding: 60px 20px;
  background: #f0f8ff;
  text-align: center;
}

.section-title {
  font-size: 24px;
  margin-bottom: 40px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  width: 300px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  height: auto;
  margin-bottom: 5px;
    border-radius: 5px;
}

.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
color: #333333;
    font-weight: bold;
}

.service-item p {
  font-size: 14px;
  line-height: 1.6;
margin-bottom: 0.5em !important;
}

@media screen and (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-item {
    width: 100%;
    max-width: 340px;
  }
}






/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}




/* デフォルト：PCでは改行非表示 */
.sp-br {
  display: none;
}

/* スマホ表示時：改行を有効化 */
@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

.mission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.mission-box {
  flex: 1 1 calc(50% - 10px);
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.mission-box:hover {
  transform: scale(1.03);
  filter: brightness(1.2);
}

.mission-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.mission-number {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px !important;
}

.mission-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mission-box ul {
  font-size: 14px;
  line-height: 1.5;
  list-style: disc;
  padding-left: 20px;
        margin-left: 5px;
}

@media screen and (max-width: 768px) {
  .mission-box {
    flex: 1 1 100%;
  }
}
@media screen and (max-width: 768px) {
.mission-box ul {
  font-size: 14px;
  line-height: 1.5;
  list-style: disc;
  padding-left: 0px;
        margin-left: 5px;
}
}

.btn {
  display: inline-block;
  background: #9d4040;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

.p-cb__item-headline1 {
    color: #fff;
    font-size: 37px !important;
    font-weight: bold;
        margin-bottom: 0.5em !important;
}
@media only screen and (max-width: 991px) {
   .p-cb__item-headline1 {
    color: #fff;
    font-size: 32px !important;   
    }
}

.p-cb__contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}






.p-cb__item-button {
  background: #f8f6ee;
  color: #000;
  padding: 0px 0px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}
@media only screen and (max-width: 991px) {
.p-cb__item-button {
  background: #f8f6ee;
  color: #000;
  padding: 0px 0px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}
}
.p-cb__item-button:hover {
  background: #eae6d9;
}

@media screen and (max-width: 768px) {
  .p-cb__contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
 }




.p-index-video {
    padding-top: 40.25%;
    overflow: hidden;
    position: relative;
}

@media only screen and (max-width: 991px) {
    .p-cb__item--pr .p-cb__item-inner {
        padding: 0px !important;
        padding-top: 30px !important;
    }
}


.pic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    background-color: #fefefe;
    padding: 1rem;
}

.table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    color: #353535;
}

.table thead {
    background: #999;
   color: #353535;
}

.table th,
.table td {
    border: 1px solid #ccc;
    padding: 10px;
}

.table tr:nth-child(2n) td {
    background-color: #fafafa;
}

/* 1列目はデフォルトに戻す */
.table th:nth-child(1),
.table td:nth-child(1) {
    border-right: none;
}

/* 2列目をオレンジにする */
.table th:nth-child(2),
.table td:nth-child(2) {
    border-left: 5px solid #EF8633;
    border-right: 5px solid #EF8633;
}

.table tr:first-child th:nth-child(2) {
    position: relative;
    border-top: 15px solid #EF8633;
    background-color: #EF8633;
    color: #fff;
}

.table tr:first-child th:nth-child(2)::before {
position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.1rem 2rem;
    border-radius: 0.3rem;
    background-color: #fff;
    color: #EF8633;
    font-size: 1rem;
    content: '弊社';
}
@media screen and (max-width:767px){
.table tr:first-child th:nth-child(2)::before {
position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.01rem 0.9rem;
    border-radius: 0.3rem;
    background-color: #fff;
    color: #EF8633;
    font-size: 0.9rem;
    content: '弊社';
}
}

.table tr:last-child td:nth-child(2) {
    border-bottom: 5px solid #EF8633;
}

.background_btn01 {
  display: inline-block;
  width: 100%;
  max-width: 280px; /* ボタン幅 */
  position: relative;
  background: #fcf9ee; /* 背景色 */
  border: 2px solid #3e3e3e;
  padding: 0.5em 2em;
  font-weight: bold;
  color: #3e3e3e !important; /* 文字色 */
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
  border-radius:10px;
}

.background_btn01:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #3e3e3e; /* 矢印の色 */
  border-right: 2px solid #3e3e3e; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -6px;
}

/* マウスオーバーした際のデザイン */
.background_btn01:hover {
  background: #fcf9ee; /* 背景色 */
  color: #9b9b9b; /* 文字色 */
}

.background_btn01:hover:before {
  border-top: 2px solid #9b9b9b; /* 矢印の色 */
  border-right: 2px solid #9b9b9b; /* 矢印の色 */
}

[data-header-size=small].sbi-header-type-text {
    font-size: 30px;
}




.p-index-carousel__item-thumbnail {
    height: 150px;
    margin: 0 auto 24px;
    overflow: hidden;
    width: 180px;
    height: 180px;
}
@media (min-width: 1200px){
.p-global-nav > li > a {
    display: block;
    font-size: 17px;
    font-weight: 600;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
    text-align: center;
    padding: 0 25px;
}
}


@media (min-width: 1200px){
.p-global-nav > li > a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
    text-align: center;
    padding: 0 25px;
}
}

.p-index-carousel.has-thumbnail .slick-arrow {
    font-size: 30px;
}

.p-cb__item-desc p:last-child {
    margin-bottom: 0;
    text-align: center;
}


#cb_1 .p-cb__item-headline {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
}


@media only screen and (max-width: 991px) {
#cb_1 .p-cb__item-headline {
    font-size: 26px;   
}
}

#cb_2 .p-cb__item-headline {
    font-size: 38px;
    font-weight: 600;
}
@media only screen and (max-width: 991px) {
#cb_2 .p-cb__item-headline {
    font-size: 28px;   
}
}

#cb_3 .p-cb__item-headline {
    font-size: 37px;
    font-weight: bold;
}
@media only screen and (max-width: 991px) {
#cb_3 .p-cb__item-headline {
    font-size: 28px;
    font-weight: bold;
}
}

#cb_4 .p-cb__item-headline {
    font-size: 32px;
    font-weight: bold;
    color: #666666;
}
@media only screen and (max-width: 991px) {
#cb_4 .p-cb__item-headline {
    font-size: 28px;
}
}

#cb_5 .p-cb__item-headline {
    font-size: 38px;
         color: #fff;
        font-weight: bold;
}
@media only screen and (max-width: 991px) {
#cb_5 .p-cb__item-headline {
    font-size: 28px;   
}
}

#cb_6 .p-cb__item-headline {
    font-size: 38px;
}
@media only screen and (max-width: 991px) {
#cb_6 .p-cb__item-headline {
    font-size: 28px;
}
}

#cb_7 .p-cb__item-headline {
    font-size: 38px;
    font-weight: 600;
}
@media only screen and (max-width: 991px) {
#cb_7 .p-cb__item-headline {
    font-size: 28px;   
}
}

#cb_8 .p-cb__item-headline {
    font-size: 38px;
    font-weight: 600;
}
@media only screen and (max-width: 991px) {
#cb_8 .p-cb__item-headline {
    font-size: 28px;   
}
}



.p-cb__item-headline {
    color: #3e3e3e;
}
@media only screen and (max-width: 991px) {
   .p-cb__item-headline {
    color: #3e3e3e;
    }
}

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
.inquiry th,.inquiry td {
 display:block;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}}
/*見出し欄*/
.inquiry th{
 text-align:left;
vertical-align: middle;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
padding: 5px 1em 0 1em;
 margin-top:30px;
 width:100%;
 background:#024aad;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 border: none;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 color:#4987dc;
}



.Inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

p{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}

[data-header-size=small].sbi-header-type-text {
    font-size: 30px;
}

@media only screen and (max-width: 991px) {
    .p-cb__item-headline + .p-cb__item-desc {
        margin-top: -5px;
        text-align: center;
    }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

.p-cb__item-headline {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5em !important;
  text-align: center;
  width: 100%;
}

.p-cb__item-headline:before {
  content: '';
  position: absolute;
  bottom: -7px;
  display: inline-block;
  width: 60px;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #727272;
  border-radius: 2px;
}

.p-cb__item-headline02 {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5em !important;
  text-align: center;
  width: 100%;
  color: #666666;
}
@media only screen and (max-width: 991px) {
.p-cb__item-headline02 {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5em !important;
  text-align: center;
  width: 100%;
  color: #666666;
font-size: 25px !important
}
}


.p-cb__item-headline02:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 60px;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #727272;
  border-radius: 2px;
}

.entry_title {
    color: #3c3c3c;
    font-size: 23px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    margin-bottom: 25px;
    overflow: hidden;
    position: static;
    zoom: 1;
background-image: url(https://ama-bousai.com/wp-content/uploads/2025/07/名称未設定のデザイン-2025-07-14T013209.905.png);
}

.entry_title span.read_more_btn {
    float: right;
    height: 60px;
    width: 120px;
}

.entry_title span.read_more_btn a {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    transition: 0.2s;
}


.table_area {
    font-size: 15px;
    line-height: 1.7;
}

.table_area table {
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.easys_content:not(.ne_01) table:not(#wp-calendar) tr:first-child > * {
    border-top: none !important;
}

.easys_content:not(.ne_01) table:not(#wp-calendar) tr > *:first-child {
    border-left: none !important;
}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr > * {
    border-color: #333;
    border-top: none !important;
    border-right: none !important;
    background: none transparent !important;
font-weight: bold;
    color: #333333;
}
.table_area td.td_name {
    background-color: #EEEEEE;
    border: 1px solid #999999;
    padding: 10px 15px 10px 10px;
    text-align: left;
    vertical-align: top;
    /* word-wrap: normal; */
    word-break: break-all;
    /* white-space: nowrap; */
}
.table_area table tr td {
    border: solid 1px #111 !important;
    border-right: none !important;
    background: none transparent;
}

.easys_content:not(.ne_01) table:not(#wp-calendar) tr:first-child > * {
    border-top: none !important;
}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr > * {
    border-color: #333;
    border-top: none !important;
    border-right: none !important;
    background: none transparent !important;
}

.easys_content:not(.ne_01) table:not(#wp-calendar) tr:last-child > * {
    border-bottom: none !important;
}

.table_area td.td_value {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    padding: 10px;
    text-align: left;
    vertical-align: top;
    word-break: break-all;
}
.table_area table tr td {
    border: solid 1px #111 !important;
    border-right: none !important;
    background: none transparent;
}
.table_area table tr td {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    padding: 15px;
    text-align: left;
    vertical-align: top;
    min-width: 7em;
}



.su-row {
    padding: 3em 0px 0em;
margin-bottom: 0em !important;
}

@media screen and (max-width: 540px) {
.table_area table tr td {
    min-width: 7em;
    font-size: 13px;
}
}

.p-header-content{
    background: url(https://ama-bousai.com/wp-content/uploads/2025/04/mv_pt.png);
}
@media only screen and (max-width: 810px) {
    .p-header-content--mobile {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        background: url(https://carlife-support-mpit.com/wp-content/uploads/2025/04/mv_pt.png);
    }
}
.ti-widget.ti-goog .ti-reviews-container {
    position: relative;
    display: block;
    touch-action: pan-y;
    margin-right: calc(-50vw + 50%) !important;
    margin-left: calc(-50vw + 50%) !important;
}
@media only screen and (max-width: 810px) {
.ti-widget.ti-goog .ti-reviews-container {
    position: relative;
    display: block;
    touch-action: pan-y;
    margin-right: calc(0vw + 0%) !important;
    margin-left: calc(0vw + 0%) !important;
}

.ti-widget.ti-goog .ti-controls .ti-next {
    right: 7px !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev {
    left: 7px !important;
}
