@charset "UTF-8";
html {
    scroll-behavior: smooth;
}

h2,h3,h4 {
    font-family: "Avenir", sans-serif;
    font-weight: 700;
}
h2 span,h3 span,h4 span {
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    font-size: 21px;
    display: block;
}

h3 {
    font-size: 60px;
    line-height: 1.4;
    letter-spacing: 5px;
}

h3 span {
    font-size: 22px;
    letter-spacing: 3px;
}

h4 {
    font-size: 50px;
    letter-spacing: 4px;
    display: flex;
    align-items: baseline;
}

h4 span {
    font-size: 20px;
    margin: 0 0 0 20px;
    letter-spacing: 2.5px;
}

.layer-title {
    max-width: 1160px;
    margin: 0 auto;
    padding: 11rem 30px 0;
    color: #00968E;
}

.contact-inner h3 {
  display: block !important;
  text-align: center;
}

@media screen and (max-width: 768px) {

  .layer-title {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 100px 0 0;
  }

  .layer-title h3 {
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 2px;
  }
    
  .layer-title h3 span {
    font-size: 18px;
    margin: 7px 0 0;
  }

  h3 span {
    font-size: 18px;
    margin:0;
  }

  h4 {
    font-size: 28px;
    display: block;
  }
  
  h4 span {
    font-size: 18px;
    margin: 0;
  }
  }

/*----------------ニュース一覧----------------*/
.news-contents {
    max-width: 1160px;
    padding: 120px 30px;
    margin: 0 auto 120px;
}
.news-contents ul li {
    background: url(../../images/common/arrow1.svg) no-repeat right 30px top;
    background-size: 30px;
    border-bottom: 1px solid #D9D9D9;
    padding: 0 40px 40px;
    margin: 0 0 40px;
}
.news-contents ul li:last-child {
    margin: 0;
}
.news-contents ul li a {
    display: flex;
    align-items: center;
}

.time {
    color: #00968E;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Avenir', Helvetica, sans-serif;
    position: relative;
    top: 2px;
}

.news-contents .category {
    padding: 5px 20px;
    margin: 0 50px 0 30px;
    font-size: 14px;
    color: #00968E;
    background-color: #E8F7F6;
    border-radius: 50px;
    position: relative;
}
.news-contents ul li span {
    font-family: "Avenir", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #00968E;
    margin: 0 50px 0 0;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
  .news-contents {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 70px 0 0;
  }
  
  .news-contents ul li a {
    display: block;
  }

  .news-contents ul li {
    padding: 0 10px 30px;
    margin: 0 0 30px;
  }

  .news-tc {
    padding: 0 0 15px;
  }

  .news-contents ul li a p {
    padding: 0 35px 0 0;
    font-size: 14px;
  }

  .news-tc .time {
    padding: 0 20px 0 0;
  }

  .news-contents .category {
    margin: 0;
  }
}

/*----------------ニュース記事詳細----------------*/

.news-title {
    padding: 220px 30px 80px;
    background-color: #E8F7F6;
    margin: 0 auto;
    text-align: center;
}

.news-tc {
    display: flex;
}


.news-title h4 {
    font-weight: bold;
    font-size: 38px;
    padding-top: 15px;
    display: block;
    text-align: center;
}

.news-text {
    max-width: 1160px;
    padding: 120px 30px;
    margin: 0 auto;
}

.news-text p {
    padding: 0 0 20px;
    line-height: 30px;
    letter-spacing: 0.3px;
}

.news-details {
  padding: 0 0 120px;
}

.news-details .view-btn {
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 768px) {
  .news-title {
    padding: 150px 20px 50px;
  }

  .news-title h4 {
    font-size: 25px;
    letter-spacing: 0.3px;
  }

  .news-text {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 70px 0;
  }

  .news-text p {
    padding: 0 0 20px;
    line-height: 26px;
  }
}



/*----------------会社概要----------------*/
.inner {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
    letter-spacing: 1px;
}

.inner tr {
    display: table-row;
    line-height: 2em;
}

.inner th,
.inner td {
    display: table-cell;
    vertical-align: middle;   /* 中央揃え */
    padding: 30px;
    border-bottom: 1px solid #d6d6d6;
}

.inner th {
    width: 20%;
    font-weight: bold;
    color: #00968E;
    border-bottom-color: #AFAFAF;
    text-align: left;
}

.inner td {
    width: auto;
}

.inner td span {
    font-weight: 500;
    margin-right: 20px;
}

.message {
    padding: 80px 0;
}

.president-section {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    gap: 2rem;
    margin: 4rem 0;
}

/* テキスト側 */
.president-text {
    flex: 1;
    margin-right: 9%;
}

.president-text h5 {
    color: #00968E;
    font-size: 30px;
    margin: 30px 0;
    font-weight: bold;
    letter-spacing: 2px;
}

.president-text p {
    line-height: 30px;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.president-text .president-signature {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    float: right;
}

.president-text .president-signature .title {
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 20px;
}

.president-text .president-signature .name {
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* 画像側 */
.president-image {
    flex: 0 0 40%;
    position: relative;
    left: -50px;
}

.president-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00968E; 
    transform: translate(50px, 50px); 
    border-radius: 1rem;
    z-index: 1;
}

.president-image img {
    position: relative;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 2;
}

/* モバイル時に縦並び／画像を上に */
@media screen and (max-width: 768px) {

  .inner tr {
    font-size: 14px;
    letter-spacing: 0.2px;
  }

  .inner th {
    padding: 10px 10px 10px 0;
    width: 33%;
  }

  .inner td {
    padding: 10px 0 10px 10px;
  }

  .message {
    padding: 0;
  }


  .president-section {
    display: flex;
    flex-direction: column;
  }

  .president-image::before {
    transform: translate(30px, 30px);
  }

  .president-image {
    order: 0;
    width: 100%;
    margin-bottom: 1.5rem;
    left: -20px;
  }

  .president-image img {
    height: 350px;
  }

  .president-text {
    order: 1;
    margin-right: 0;
  }

  .president-text h5 {
    font-size: 24px;
  }

  .president-text .president-signature .title {
    font-size: 18px;
  }

  .president-text .president-signature .name {
    font-size: 22px;
}

}

/*----------------事業所一覧----------------*/

.japan {
    position: relative;
    margin: 0 auto;
    max-width: 1160px;
}

.japan img {
    z-index: 1;
}

.japan a {
    padding: 5px 25px;
    font-size: 16px;
    color: #fff;
    background-color: #00968E;
    border-radius: 50px;
    position: absolute;
    z-index: 2;
    letter-spacing: 1px;
    font-weight: 500;
}

#companyBtn-hokkaido {
    top: 20%;
    left: 62%;
    background-color: #008777;
}

#companyBtn-tohoku {
    top: 54%;
    left: 70%;
    background-color: #66C3BC;
}

#companyBtn-kanto {
    top: 71%;
    left: 61%;
}

#companyBtn-chubu {
    top: 48%;
    left: 44%;
    background-color: #246D64;
}

#companyBtn-kansai {
    top: 78%;
    left: 39%;
    background-color: #4CC1B3;
}

#companyBtn-shikoku {
    top: 77%;
    left: 27%;
    background-color: #009C8F;
}

#companyBtn-chugoku  {
    top: 54%;
    left: 23%;
    background-color: #008777;
}

#companyBtn-kyushu-okinawa {
    top: 57%;
    left: 4%;
    background-color: #66C3BC;
}

.japan-sec {
    width: 100vw;           /* ビューポート幅いっぱい */
    left: 50%;              /* 中央位置を基準に */
    margin-left: -50vw;     /* 真ん中からビューポート幅の半分だけ左へ */
    margin-right: -50vw;    /* 同じく右へ */
    background-color: #E8F7F6;
    position: relative;
    padding: 120px 0;
}

.sec-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 30px;
}

.region-box {
    background: #fff;
    border-radius: 1.5rem;
    padding: 70px 100px;
    max-width: 1160px;
    margin: 0 0 100px;
    position: relative;
    scroll-margin-top: 200px;
    display: block;
}

.region-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2f8c79;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 3px;
}

#tohoku, #kyusyu-okinawa {
  background: #66C3BC;
}

#hokkaido, #chugoku {
  background: #008777;
}

#kanto, #shikoku {
  background: #009C8F;
}

#chubu {
  background: #246D64;
}

#kinki {
  background: #4CC1B3;
}


/* Table基本 */
.region-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    letter-spacing: 1px;
}

.region-table tbody {
    display: block;
    padding: 0 0 30px 0;
}

tbody.no-bottom-space {
    padding-bottom: 0;
}

/* 都道府県名セル */
.region-table th {
    width: 100px;
    text-align: left;
    font-weight: 500;
    font-size: 18px;
    color: #0ca39a;
    padding: 0.75rem;
    vertical-align: top;
    background: transparent;
    border-right: 1px solid #D9D9D9;
}

/* 支店名セル */
.region-table .shiten {
    text-align: left;
    font-weight: 500;
    padding: 0.75rem 3rem ;
    vertical-align: top;
    width: 12.5rem
}

/* 住所セル */
.region-table td {
    padding: 0.75rem 0;
    vertical-align: top;
    color: #333;
    line-height: 1.6;
}

/* 最後の行のボーダー削除 */
.region-table tr:last-child {
    border-bottom: none;
}

#sec-kyusyu-okinawa {
    margin-bottom: 0;
  }

/* モバイル対応 */
@media screen and (max-width: 768px) {

  .japan img {
    padding: 70px 0;
  }

  .sec-inner {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
  }

  .region-label {
    font-size: 18px;
  }

  #companyBtn-hokkaido {
    top: 9%;
    left: 58%;
  }

  #companyBtn-tohoku {
    top: 46%;
    left: 70%;
  }

  #companyBtn-chubu {
    top: 39%;
    left: 31%;
  }

  #companyBtn-shikoku {
    top: 83%;
    left: 7%;
  }

  #companyBtn-kanto {
    top: 64%;
    left: 56%;
  }

  #companyBtn-kansai {
    top: 71%;
    left: 25%;
  }

  #companyBtn-kyushu-okinawa {
    top: 18%;
    left: 0%;
  }

  #companyBtn-chugoku {
    top: 47%;
    left: 6%;
  }

  .japan-sec {
    padding: 70px 0;
  }

  .japan a {
    font-size: 14px;
  }


  .region-box {
    padding: 50px 10px;
  }

  .region-table, .region-table tr, .region-table th, .region-table td {
    display: block;
    width: 100%;
  }

  .pref-name {
    background: #e6f5f3;
    font-size: 1.1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-top: 1rem;
  }

  .region-table tr {
    margin-bottom: 0;
  }

  .region-table th {
    border-right: none;
  }

  .region-table .shiten {
    padding: 0.75rem 0.5rem 0;
  }

  .region-table th:not(.pref-name),
  .region-table td {
    padding: 0.5rem;
  }

}

/* ============================
   会社概要・事業所 共通レイアウト
   ============================ */
.tab-switch {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 30px;
}

.tab-switch input[type="radio"] {
  display: none;
}

.tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.tab-buttons label {
  flex: 1;
  padding: 20px 40px;
  background: #00968E;
  color: #fff;
  text-align: left;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  border-radius: 30px 30px 0 0;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 2.5px;
  transition: 0.3s;
  position: relative;
  box-shadow: 0px -10px 20px -5px rgb(229, 229, 229);
  vertical-align: bottom;
  margin: 5px 0 0 0;
}

.tab-buttons label:hover {
  background: #fff;
  color: #00968E;
}

.tab-buttons label::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  background: url('../../images/company/company_icon_w.svg') no-repeat center / contain;
  vertical-align: middle;
  }

  /* ホバー時にアイコン変更 */
.tab-buttons label:hover::after {
  background-image: url('../../images/company/company_icon.svg');
}

/* チェック時（選択中）に色変更 */
#tab-company:checked ~ .tab-buttons label[for="tab-company"]::after,
#tab-office:checked ~ .tab-buttons label[for="tab-office"]::after {
  background-image: url('../../images/company/company_icon.svg');
}

#tab-company:checked ~ .tab-buttons label[for="tab-company"],
#tab-office:checked ~ .tab-buttons label[for="tab-office"] {
  background: #fff;
  color: #00968E;
}

.tab-contents .tab-content {
  display: none;
  background: #fff;
  padding: 60px 0;
}

#tab-company:checked ~ .tab-contents #pc-content-company,
#tab-office:checked ~ .tab-contents #pc-content-office {
  display: block;
}

#pc-content-office {
  margin: 0 0 7vw;
}

#pc-content-office h4 {
  padding: 60px 0 0;
} 

.tab-content {
  display: none;
  background: #fff;
  padding: 60px 0;
  animation: fadeIn 0.3s ease;
}

.company {
  padding: 60px 0;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
  .tab-switch {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
  }

  .tab-buttons {
    flex-direction: column;
    margin: 50px 0 0;
  }

  .tab-buttons label {
    border-radius: 30px;
    font-size: 18px;
    padding: 16px 24px;
    background: #fff;
    color: #00968E;
    box-shadow: 0px 0px 20px 0px rgb(229, 229, 229);
  }

  .tab-buttons label:hover {
    background: #00968E;
    color: #fff;
  }

  .tab-buttons label::after {
    background-image: url('../../images/company/company_icon.svg');
  }

    /* ホバー時にアイコン変更 */
  .tab-buttons label:hover::after {
    background-image: url('../../images/company/company_icon_w.svg');
  }

    /* チェック時（選択中）に色変更 */
  #tab-company:checked ~ .tab-buttons label[for="tab-company"]::after,
  #tab-office:checked ~ .tab-buttons label[for="tab-office"]::after {
    background-image: url('../../images/company/company_icon_w.svg');
  }

  #tab-company:checked ~ .tab-buttons label[for="tab-company"],
  #tab-office:checked ~ .tab-buttons label[for="tab-office"] {
    background: #00968E;
    color: #fff;
  }

  .tab-contents .tab-content {
    padding: 40px 0 0;
  }

  .tab-switch input[type="radio"] {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .mobile-accordion {
    display: none;
  }
}


/*----------------採用ページ----------------*/
.recruit-box h3 {
  font-size: 50px;
  display: flex;
  align-items: end;
  line-height: 1;
  margin: 0 0 50px;
}
.recruit-box h3 span {
  font-size: 20px;
  margin: 0 0 10px 40px;
  line-height: 1;
  letter-spacing: 2px;
}
@media screen and (max-width: 768px) {
  .recruit-box h3 {
    font-size: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    line-height: 1.7;
    margin: 0 0 40px;
  }
  .recruit-box h3 span {
    font-size: 18px;
    margin: 0;
    line-height: 1;
    width: 100%;
  }
}
.recruit-box h2 {
  color: #00968E;
  font-size: 60px;
  line-height: 1.4;
  letter-spacing: 5px;
}
.recruit-box h2 span {
  font-size: 22px;
  margin: 10px 0 0;
  letter-spacing: 3px;  
}
.recruit-main {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 11rem 30px 220px;
  overflow: hidden;
}
.recruit-main-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.recruit-main-inner p {
  font-size: 16px;
  line-height: 2;
  margin: 70px 0 0;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.recruit-main-inner p b {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.7;
  margin: 50px 0 0;
}
.recruit-main img {
  position: absolute;
  top: 16.5rem;
  left: calc(50% - 65px);
  width: 75%;
  z-index: -1;
  max-width: 1100px;
}
@media screen and (max-width: 768px) {
  .recruit-box h2 {
    font-size: 36px;
    letter-spacing: 2px;
  }
  .recruit-box h2 span {
    font-size: 18px;
    margin: 7px 0 0;
  }
  .recruit-main {
    position: relative;
    max-width: 100%;
    padding: 100px 20px 300px;
    overflow: hidden;
  }
  .recruit-main-inner {
    max-width: 100%;
    margin: 0 auto;
  }
  .recruit-main-inner p {
    margin: 50px 0 0;
    line-height: 1.8;
  }
  .recruit-main-inner p b {
    font-size: 22px;
    margin: 50px 0 0;
    letter-spacing: 1px;
  }
  .recruit-main img {
    position: absolute;
    top: auto;
    bottom: 0;
    left: calc(50% - 65px);
    width: 500px;
    z-index: -1;
  }

  .recruit-main img {
    left: calc(10% - 0px);
  }
}

.recruit-work {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
}
.recruit-work-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.recruit-work-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 40px;
}
.recruit-work::after {
  content: "";
  background-image: url(/assets/images/recruit/video_item.png);
  background-size: 210px;
  position: absolute;
  bottom: -90px;
  left: -50px;
  width: 210px;
  height: 240px;
}
@media screen and (max-width: 768px) {
  .recruit-work {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  .recruit-work-video iframe {
    border-radius: 20px;
  }
  .recruit-work::after {
    content: "";
    background-image: url(/assets/images/recruit/video_item.png);
    background-size: 120px;
    position: absolute;
    bottom: -180px;
    left: -30px;
    width: 120px;
    height: 137px;
  }
}
.recruit-interview {
  background-color: #E8F7F6;
  padding: 120px 0;
}
.recruit-interview h3 {
  max-width: 1160px;
  margin: 0 auto 50px;
  padding: 0 30px;
}
.recruit-interview ul {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center;
}
.recruit-interview ul li {
  width: 420px;
  margin: 0 1%;
  background-color: #fff;
  border-radius: 30px;
}

.recruit-interview ul li .img-wrap {
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.recruit-interview ul li .img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.recruit-interview ul li:hover .img-wrap img {
  transform: scale(1.10);
}

.recruit-interview ul li a:hover {
  opacity: unset;
}

.recruit-interview ul li .profile {
  padding: 30px;
}
.recruit-interview ul li .profile h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #00968E;
  padding: 0 0 30px;
  margin: 0 0 30px;
  letter-spacing: 1px;
}
.recruit-interview ul li .profile p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.recruit-interview ul li .profile p.name {
  color: #00968E;
}
.recruit-interview ul li .profile p.name b {
  color: #000;
  font-weight: 700;
  font-size: 20px;
  display: inline-block;
  margin: 0 20px 0 0;
}
@media screen and (max-width: 768px) {
  .recruit-interview {
    padding: 50px 0;
  }
  .recruit-interview h3 {
    margin: 0 auto 40px;
    padding: 0 20px;
  }
  .recruit-interview ul {
    max-width: calc(100% - 40px);
    padding: 0;
    display: block;
  }
  .recruit-interview ul li {
    width: 100%;
    margin: 0 0 30px;
  }
  .recruit-interview ul li .img-wrap img {
    height: 180px;
  }
  .recruit-interview ul li .profile {
    padding: 20px;
  }
  .recruit-interview ul li .profile h4 {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 0 15px;
    margin: 0 0 15px;
  }
  .recruit-interview ul li .profile p {
    line-height: 1.4;
    margin: 0 0 10px;
  }
  .recruit-interview ul li .profile p.name b {
    margin: 0 0 3px 0;
    display: block;
  }
}
.recruit-entry {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 30px 230px;
}
.recruit-entry ul {
  margin: 50px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.recruit-entry ul li {
  position: relative;
  width: 49%;
  overflow: hidden;
}

.img-wrap {
  border-radius: 30px;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
  display: block;
}

.recruit-entry ul li:hover .img-wrap img {
  transform: scale(1.10);
}

.recruit-entry ul li a:hover {
  opacity: unset;
}

.recruit-entry ul li:nth-child(2) .img-wrap img {
  object-position: center;
}

.recruit-entry ul li:after {
  content: "";
  position: absolute;
  right: 30px;
  top: 30px;
  background-image: url(/assets/images/recruit/recruit_arrow.svg);
  background-size: 16px;
  width: 22px;
  height: 16px;
}
.recruit-entry ul li h4 {
  position: absolute;
  top: 220px;
  left: 0;
  padding: 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #00968E;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
}
.recruit-entry ul li a p {
  font-size: 16px;
  color: #00968E;
  position: absolute;
  right:30px;
  top:260px;
  font-weight: 500;
}
.recruit-entry-attention {
  background-color: #E8F7F6;
  padding: 30px;
  border-radius: 30px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.recruit-entry-attention::after {
  content: "";
  position: absolute;
  top: -45px;
  left: 15%;
  border-width: 30px 10px 15px 10px;
  border-style: solid;
  border-color: transparent transparent #E8F7F6 transparent; 
}

.recruit-entry-attention p {
  display: block;
  margin: 0 auto;
  letter-spacing: 0.3px;
  line-height: 25px;
}
@media screen and (max-width: 768px) {
  .recruit-entry {
    max-width: 100%;
    padding: 50px 20px 0;
  }
  .recruit-entry ul {
    margin: 40px auto 0;
    flex-wrap: wrap;
  }
  .recruit-entry ul li {
    position: relative;
    width: 100%;
    margin: 0 0 40px;
  }
  .recruit-entry ul li img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    object-position: top;
  }
  .recruit-entry ul li:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 15px;
    background-image: url(/assets/images/recruit/recruit_arrow.svg);
    background-size: 16px;
    width: 16px;
    height: 11px;
  }
  .recruit-entry ul li h4 {
    position: relative;
    top:auto;
    padding:20px 20px 10px;
    font-size: 20px;
    border-radius: 20px 20px 0 0;
    margin: -40px 0 0;
    display: table;
  }
  .recruit-entry ul li a p {
    position: relative;
    top:auto;
    right:auto;
    font-size: 14px;
    margin: 10px 0 0 20px;
  }
  .recruit-entry-attention {
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0 0;
  }
  .recruit-entry-attention::after {
    display: none;
  }
}

/*----------------事業内容----------------*/

.business-contents {
    max-width: 1160px;
    padding: 80px 30px;
    margin: 0 auto 120px;
}

.business-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-text {
  font-size: 16px;
  letter-spacing: 0.3px;
  font-weight: 500;
  line-height: 30px;
  width: 60%;
  color: #000;
}

.business-contents h5 {
  font-size: 30px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 0 0 50px;
}

.business-co {
  position: relative;
}

.business-co .cafe {
  width: 70%;
  margin: 0 0 0 auto;
  display: block;
}

.business-co .office {
  width: 78%;
  margin: -8vw auto 0 0;
  display: block;
}

/* モーダル設定 */
.modal-checkbox {
  display: none;
}

.modal-open-button {
    padding: 5px 25px;
    font-size: 16px;
    color: #fff;
    background-color: #00968E;
    border-radius: 50px;
    letter-spacing: 1px;
    font-weight: 500;
    position: absolute;
}

.modal-open-button:hover {
    opacity: 0.5;
    transition: all 0.5s;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center; /* ← これが高さ中央の決め手 */
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}


.close {
  position: sticky;
  top: 0;
  right: 6px;
  display: block;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  margin-left: auto;         /* ← 右寄せの決め手 */
  width: fit-content;        /* ← autoで余計な横幅をとらせないように */
  display: block;            /* ← marginが効くように */
}

.modal-wrapper {
  width: 80%;
  max-height: 80vh;
  max-width: 1160px; /* 高さ制限を設定 */
  overflow-y: auto; /* 中身が多ければスクロール */
  padding: 50px;
  background-color: rgba(0, 150, 142, 0.9);
  border-radius: 40px;
  opacity: 0;
  transform: translateY(-30px); /* 最初は上に少し浮かせておく */
  transition: all 0.5s ease;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.modal-content {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: end;
  top: -50px;
  position: relative;
}

.modal-content img {
  width: 20%;
}

.modal-content ul {
  padding: 30px 50px 15px;
  background-color: #fff;
  border-radius: 25px;
}

.modal-content ul li {
  padding: 0 0 15px 0;
  letter-spacing: 1px;
  font-weight: 500;
}

.modal-content ul li::before {
  content:  "";
  width:  10px;
  height:  10px;
  display:  inline-block;
  background-color: #00968E;
  border-radius:  50%;
  position:  relative;
  top: -1px;
  margin-right: 18px;
}

.business-detail {
  width: 50%;
}

.modal-content .business-detail h6 {
  font-size: 30px;
  line-height: 1.2em;
  letter-spacing: 2px;
  font-weight: 500;
  color: #fff;
  background-size: 60px;
  background-position: left 15px;
  padding: 30px 0 30px 80px;
}

.robotics-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_robotics.svg);
}

.sound-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_sound.svg);
}

.robot-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_robot.svg);
}

.onsite-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_onsite.svg);
}

.infra-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_infra.svg);
}

.maintenance-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_maintenance.svg);
}

.energy-content .business-detail h6 {
  background-image: url(/assets/images/business/business/icon_energy.svg);
}


.modal-checkbox:checked + .modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-checkbox:checked + .modal .modal-wrapper {
  opacity: 1;
  transform: translateY(0);
}

#robotics {
  top: 7%;
  left: 29%;
}

#sound {
  top: 13%;
  left: 79%;
}

#robot {
  top: 36%;
  left: 39%;
}

#onsite {
  top: 49%;
  left: 70%;
}

#infra {
  top: 50%;
  left: 7%;
}

#maintenance {
  top: 55%;
  left: 38%;
}

#energy {
  top: 65%;
  left: 62%;
}

.related-products {
  padding: 30px 50px;
}

.related-products .title-p {
  font-weight: 500;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  font-size: 20px;
  padding: 0 0 30px 0;
}

.related-products ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.related-products ul li {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  max-width: 30%;
  text-align: center;
  position: relative;
  width: 500px;
}
.related-products ul li::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 25px;
  background-image: url(/assets/images/recruit/recruit_arrow.svg);
  background-size: 19px;
  width: 19px;
  height: 19px;
}

.related-products ul li img {
  object-fit: contain;
  height: 140px;
}

.related-products ul li p {
  color: #000;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.related-products ul li p span {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .business-contents {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 70px 0 0;
  }

  .business-top {
    display: block;
  }

  .business-text {
    width: 100%;
    padding-top: 30px;
  }

  .business-contents h5 {
    font-size: 25px;
  }
  .business-contents .business-co .cafe {
    width: 100%;
    margin: 0;
  }

  .business-contents .business-co .office {
    width: 100%;
    margin: 0;
    padding: 50px 0 0 0;
  }

  .business-co {
    margin-bottom: 80px;
  }

  .modal-open-button {
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 5px 20px;
  }

  .modal-wrapper {
    padding: 10px 20px 5px;
    border-radius: 25px;
  }

  .close {
    font-size: 25px;
    right: 0;
  }

  .modal-content {
    display: block;
    top: -30px;
  }

  .modal-content img {
    display: none;
  }

  .modal-content .business-detail h6 {
    background-position: top;
    padding: 50px 0 30px 0px;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    background-size: 50px;
  }

  .business-detail {
    width: 100%;
  }

  .modal-content ul {
    padding: 20px 20px 5px;
  }

  .modal-content ul li {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .modal-content ul li::before {
    width: 8px;
    height: 8px;
    margin-right: 10px;
  }

  .related-products {
    padding: 0;
  }

  .related-products .title-p {
    font-size: 18px;
    padding: 0 0 20px 0;
  }

  .related-products ul {
    display: block;
  }

  .related-products ul li {
    max-width: unset;
    width: 100%;
    margin-bottom: 20px;
  }

  .related-products ul li img {
    height: 100px;
  }

  .related-products ul li p {
    font-size: 16px;
  }

  .related-products ul li::after {
    right: 20px;
    top: 20px;
    background-size: 14px;
    width: 14px;
    height: 14px;
  }

  #robotics {
    top: 3%;
    left: 0%;
  }

  #sound {
    top: 7%;
    left: 59%;
  }

  #robot {
    top: 29%;
    left: 0%;
  }

  #onsite {
    top: 41%;
    left: 40%;
  }

  #infra {
    top: 52%;
    left: 0%;
  }

  #maintenance {
    top: 61%;
    left: 61%;
  }

  #energy {
    top: 91%;
    left: 50%;
  }

}

/*----------------個人情報保護法----------------*/
.privacy-box {
  margin: 0 auto 0;
  padding: 11rem 0 0;
  overflow-wrap: break-word;
}
.privacy-box h2 {
  max-width: 1160px;
  color: #00968E;
  font-size: 60px;
  line-height: 1.4;
  letter-spacing: 5px;
  margin: 0 auto 50px;
  padding: 0 30px;
}
.privacy-box h2 span {
  color: #00968E;
  font-size: 25px;
  margin: 10px 0 0;
}
.privacy-inner {
  max-width: 1160px;
  margin: 50px auto 200px;
  padding: 0 30px;
}
.privacy-inner p {
  font-size: 16px;
  line-height: 2;
}
.privacy-inner a {
  text-decoration: underline;
  color: #00968E;
}
.privacy-inner ol {
  padding: 0 0 0 20px;
}
.privacy-inner ol li {
  list-style: decimal;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 20px;
}
.privacy-inner-box {
  margin: 50px 0;
  border-bottom: 1px solid #000;
  padding: 0 0 40px;
}
.privacy-inner-box:last-child {
  border:none;
}
.privacy-inner-box .mt20 {
  margin-top: 20px;
} 
.privacy-inner-box .mt40 {
  margin-top: 40px;
} 
.privacy-inner-box .mb20 {
  margin-bottom: 20px;
} 
.privacy-inner-box .mb40 {
  margin-bottom: 40px;
} 
.privacy-inner-box .pl5 {
  padding-left:5px;
} 
.privacy-inner-box .pl15 {
  padding-left:15px;
} 
.privacy-inner-box .pl20 {
  padding-left:20px;
} 
.privacy-inner-box h3 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: 0;
}
.privacy-inner-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 20px;
  letter-spacing: 0;
}
.privacy-inner-box p {
  margin: 0 0 7px;
}
.privacy-inner-box p small {
  font-size: 13px;
  display: block;
}
.privacy-inner-box p.midashi {
  margin: 20px 0 7px;
}
.privacy-inner-box ol {
  padding: 0;
  counter-reset: item;
}
.privacy-inner-box ol li {
  counter-increment: item;
  list-style: none;
  padding: 0 0 0 35px;
  position: relative;
  font-size: 16px;
  line-height: 2;
  margin: 0;
}
.privacy-inner-box ul li {
  font-size: 16px;
  line-height: 2;
  position: relative;
} 
.privacy-inner-box ol li:before {
  position: absolute;
  top:0;
  left:0;
  content: "( " counter(item) " )";
}
.privacy-inner-box ol li span {
  font-weight: 700;
}
.privacy-inner-box ol ul li {
  list-style: none;
  padding: 0;
  counter-increment: none;
}
.privacy-inner-box ol li ul li {
  list-style: none;
  counter-increment: none;
  padding: 0;
}
.privacy-inner-box ol ul li:before {
  display: none;
}
ul.small-txt li {
  font-size: 13px;
}
@media screen and (max-width: 768px) {
.privacy-box {
  margin: 100px auto 0;
  padding: 0;
}
.privacy-box h2 {
  max-width: 100%;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 0 auto;
  padding: 0 20px;
}
.privacy-box h2 span {
  font-size: 18px;
  margin: 7px 0 0;
}
.privacy-inner {
  max-width: 100%;
  margin: 40px auto 100px;
  padding: 0 20px;
}
.privacy-inner p {
  line-height: 2;
}
.privacy-inner ol {
  margin: 30px 0;
  padding: 0 0 0 20px;
}
.privacy-inner ol li {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 20px;
}
.privacy-inner-box h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 20px;
}
.privacy-inner-box ol {
  padding: 0;
}
.privacy-inner-box p small {
  line-height: 1.6;
}
}

/*----------------問い合わせ----------------*/
.contact-box {
  padding: 11rem 30px;
}
.contact-box h2 {
  max-width: 1100px;
  color: #00968E;
  font-size: 60px;
  line-height: 1.4;
  letter-spacing: 5px;
  margin: 0 auto 50px;
}
.contact-box h2 span {
  color: #00968E;
  font-size: 25px;
  margin: 10px 0 0;
}
.form {
  max-width: 1180px;
  margin: 0 auto 100px;
}
@media screen and (max-width: 768px) {
.contact-box {
  padding: 100px 0 0;
}
.contact-box h2 {
  max-width: calc(100% - 80px);
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 0 auto;
}
.contact-box h2 span {
  font-size: 18px;
  margin: 7px 0 0;
}
.form {
  max-width: 100%;
  margin: 0 auto 50px;
}
}

/*----------------施工事例----------------*/
.case_area h2, h3, h4{
        font-family: "Avenir", sans-serif;
}
.card_box h2, h3, h4, p{
        font-family:  "Avenir", "Noto Sans Japanese", sans-serif;
}
.case_box h3{
  font-size: 50px;
  display: flex;
  align-items: end;
  line-height: 1;
  margin: 0 0 100px;
}
.case_box h3 span{
  font-size: 20px;
  margin: 0 0 10px 40px;
  line-height: 1;
}
.card_box h3{
  font-size: 50px;
  /*display: flex;
  align-items: end;*/
  line-height: 1;
  margin: 0 0 100px;
letter-spacing: 5px;
width: 100vw;
text-align: center;
}
.card_box h3 span {
    font-size: 20px;
    margin: 20px 0 10px;
    line-height: 1;
    letter-spacing: 2px;
    width: 100vw;
    text-align: center;
}

.case_box {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 11rem 30px 0 30px;
    margin-bottom: 100px;
}

.case_box h4 {
  text-align: center;
  display: block;
	font-size: 36px;
	margin-bottom: 50px;
  padding-top: 30px;
}

.case_box h4 span{
    margin: 0;
}

.case_box .region-box {
    background: none;
    border-radius: 1.5rem;
    padding: 0px 100px 100px;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    scroll-margin-top: 200px;
    display: block;
}

.case_box .region-label {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2EA9A2;
    color: #fff;
    border-radius: 50px;
    padding: 5px 30px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 3px;
}

.case_box img{
	border-radius: 30px;
	margin-bottom: 50px;
  width: 100%;
  height: 500px;
  object-fit: cover; /* アスペクト比を維持し、領域全体を埋める */
  object-position: center center; /* 画像を中央に配置 */
}



.case_box p {
    font-size: 18px;
    line-height: 2;
	margin-bottom:20px;
}

.case_detail{
	border-top:1px solid #444444;
	padding-top:50px;
	margin: 50px 0;
}

.case_detail h5{
	font-weight:bold;
	font-size:18px;
	margin: 0 0 30px;
  color: #00968E;
}
.case_detail dl{
	both:clear;
}

.case_detail dt{
	font-size: 14px;
    float: left;
    border-right: 1px solid #B0B0B0;
    padding-right: 30px;
    line-height: 18px;
	color:#444444;
	font-weight:bold;
}

.case_area{
    background: linear-gradient(to bottom, transparent 850px, #F6F6F6 850px);
}


.card_box{
    background: linear-gradient(to bottom, transparent 280px, #E8F7F6 280px);
}

.card_area_wrapper {
    padding-bottom: 100px;
    margin-bottom: 200px;
    width: 100%;
    display: flex;
flex-wrap: wrap;
justify-content: center;
}

.case_detail dd {
    font-size: 18px;
    float: left;
    padding: 0 90px 0 30px;
    line-height: 18px;
    font-weight: bold;
}

/*

.card_area::-webkit-scrollbar {
  height: 8px;
}

.card_area::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.card_area::-webkit-scrollbar-thumb {
  background: #00968E;
  border-radius: 4px;
}

.card_area::-webkit-scrollbar-thumb:hover {
  background: #00968E;
}
*/


.card_area {
  width: 100%;
  /*overflow-x: auto;
  overflow-y: hidden;*/
  display: flex;
  gap: 16px;
  box-sizing: border-box;
  /*scroll-behavior: smooth;*/
  height:600px;
}


.card_area h4{
    padding: 20px 0px 15px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid #00968E;
    margin-bottom: 15px;
}

.card_area p{
  text-align:right;
}


.card_area .card {
  width: 400px;
  height: 490px;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.card_area .card-image {
  flex: 0 0 50%;
  overflow: hidden;
	height:250px;
}

.card_area .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card_area .card:hover .card-image img {
  transform: scale(1.10);
}

.card_area .card a:hover {
  opacity: unset;
}

.card_area .card-content {
    flex: 1;
    padding: 40px 20px;
}

.card_area .badge {
    display: inline-block;
    background-color: #2EA9A2;
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    line-height: 14px;
}

.scroll__inner {
    padding: 0 0 20px;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0 0 0 30px;
  }
  .scroll__inner::-webkit-scrollbar {
    display: none;
  }
  .simplebar-scrollbar::before {
    background: #00968E !important;
    border-radius: 4px;
    height: 8px !important;
  }
  .simplebar-scrollbar.simplebar-visible::before {
    opacity: 1;
  }
  .simplebar-track {
    background: #fff;
    height: 10px !important;
  }
  .card_area {
    display: flex;
  }


@media screen and (max-width: 768px) {

    .case_box {
        max-width: calc(100% - 40px);
        margin: 0 auto 50px;
        padding: 100px 0 0px;
    }

  .case_box h3{
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 2px;
    display: block;
    margin-bottom:150px;
  }

  .card_box h3{
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 2px;
    display: block;
    margin-bottom:50px;
  }
    
  .case_box h3 span{
    font-size: 16px;
    margin: 7px 0 0;
  }
  .card_box h3 span{
    font-size: 16px;
    margin: 7px 0 0;
  }

  .case_box h4 {
    font-size: 24px;
    display: block;
    margin-top: 20px;
    margin-bottom: 30px;
    letter-spacing: 2px;
  }
  
  .case_box h4 span {
    font-size: 18px;
    margin: 0;
  }

  .case_box .region-box {
    margin-top: -80px;
    padding: 8% 5% 15%;
  }

  .case_box .region-label {
    font-size: 16px;
  }

  .case_box p {
    font-size: 14px;
    letter-spacing: 0.2px;
  }

  .case_area{
    background: linear-gradient(to bottom, transparent 460px, #F6F6F6 460px);
  }

  .case_detail h5 {
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 30px;
  }

  .case_detail dl {
    margin-bottom: 20px;
    clear: both;
  }

  .case_detail dd {
    font-size: 16px;
  }


  .card_area_wrapper {
      /* padding-left: 5%; */
      margin-bottom: 100px;
      padding-top: 0px;
      display: block;
  }


  .card_area {
      padding-bottom: 15%;
      height: 80%;
  }

  .card_area .card {
      width: 70%;
      height: auto;
  }

  .card_area .card-content {
    padding: 0 15px 15px;
  }

  .card_area .card-image {
      flex: 0 0 50%;
      overflow: hidden;
      height: 180px;
  }

  .case_detail dt {
          margin-bottom: 20px;
  }

  .case_detail dd {
      font-size: 16px;
      padding: 0 0 0 5%;
  }

  .case_box img {
    width: 100%; /* 親要素に合わせて幅を調整 */
    height: auto; /* 高さを自動調整 */
    max-height: 300px; /* 高さの上限を設定（必要に応じて調整） */
    object-fit: cover;
    object-position: center center;
  }

  .card_area h4 {
    height: 90px;
    font-size: 18px;
    letter-spacing: 0.3px;
    padding-top: 10px;
  }

  .case_box img{
    height: auto;
  }

  .card_area .card-image img {
    height: 85%;
  }

}

