@charset "utf-8";
.service__tab {
  display: flex;
  flex-wrap: wrap;
  background: #f8f8f8;
  text-align: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 32px;
}

.service__tab_menu.active {
  text-align: center;
  width: 280px;
  cursor: pointer;
  background: #b83937;
  padding: 10px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 20px;
}

.service__tab_menu {
  text-align: center;
  width: 280px;
  cursor: pointer;
  background: ghostwhite;
  padding: 10px;
  color: gray;
  border-radius: 20px;
}

.service__tab_content {
  display: none;
}

.service__tab_content.show {
  display: block;
}

.service__ses_top {
  text-align: center;
  margin-top: 128px;
  margin-bottom: 96px;
  position: relative;
}



.service__ses_top::before {
  position: absolute;
  width: 48px;
  height: 48px;
  background:#b83937;
  top: -64px;
  left: -0px;
  content: '';
  clip-path: polygon(0% 0%, 100% 0%,0% 100%);
}

.service__ses_top::after {
  position: absolute;
  width: 48px;
  height: 48px;
  background:#b83937;
  top: 192px;
  right: -0px;
  content: '';
  clip-path: polygon(100% 100%, 100% 0%,0% 100%);
}

.service__ses_top_comment {
  font-size: 28px;
  line-height: 48px;
}

.service__ses_top_comment_inpact {
  color: #b83937;
  font-weight: bold;
  font-size: 36px;
  text-decoration:underline wavy yellow;
}


.service__ses_fadein {
  opacity: 0;
  transform: translate(0,0);
  transition: all 1.5s;
  &.service__ses_fadeinbottom {
    transform: translate(0,30px);
  }  
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}


.service__ses_comment {
  position: relative;
  font-size: 26px;
  font-weight: bold;
  margin-top: 64px;
  margin-left: 24px;

}



.service__ses_comment::before {
  position: absolute;
  content: attr(data-en);
  top: -54px;
  left: -24px;
  color: #b83937;
  opacity: .2;
  font-weight: bold;
  font-size: 54px;
}

.service__ses_comment_inpact {
  color: #b83937;
}

.service__ses_detail {
  padding-top: 8px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 18px;
  line-height: 32px;
}

.service__ses_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 48px;
}

.service__ses_content {
  width: 480px;
}

.service__ses_image {
  margin-top: 64px;
  width: 480px;
  height: auto;
}

.service__tec {
  margin-top: 96px;
}

.service__tec_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service__tec_box > div{
  width: 480px;
  height: 480px;
  margin: 8px 16px 8px 16px ;
  padding: 48px;
  border-radius: 64px;
}

.service__tec_child01 {
  border: 1px solid black;
}

.service__tec_child02 {
  border: 1px solid black;
}

.service__tec_child03 {
  border: 1px solid black;
}

.service__tec_child04 {
  border: 1px solid black;
}

.service__tec_prb_main {
  display: flex;
  justify-content: space-between;
}

.service__tec_prb_title {
  text-align: center;
  font-size: 3rem;
}

.service__tec_prb_web_title {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 130px;
  border-top: 3px solid #b83937;
}

.service__tec_prb_web_title::before {
  position: absolute;
  top: -150%;
  left: -120px;
  width: 240px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #b83937;
}

.service__tec_prb_web_title > span {
  font-size: 3.5rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: white;
}

.service__tec_prb_new_title{
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 130px;
  border-top: 3px solid #b83937;
}

.service__tec_prb_new_title::before {
  position: absolute;
  top: -150%;
  left: -120px;
  width: 240px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #b83937;
}

.service__tec_prb_new_title > span {
  font-size: 3.5rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: white;
}

.service__tec_prb_yajirushi_div {
  text-align: center;
}

.service__tec_prb_yajirushi {
  width: 120px;
  height: 120px;
}

.service__tab_menu {
  margin: 5px 10px;
}

/* 新しい事業内容ページのスタイル */
.service__overview {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.service__overview_text {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.service__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.service__item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.service__item_content {
  padding: 32px;
}

.service__item_title {
  font-size: 28px;
  font-weight: bold;
  color: #b83937;
  margin-bottom: 24px;
  text-align: center;
}

.service__item_image {
  margin-bottom: 24px;
}

.service__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.service__image_placeholder {
  width: 100%;
  height: 200px;
  background: #f8f8f8;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #666;
  font-size: 16px;
}

.service__item_description {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
  width: 200px;
  height: 163.2px;
}

.service__item_features {
  width: 200px;
  height: 190px;
}

@media screen and (min-width: 992px) {
  .service__item_description {
    width: 300px;
    height: 132px;
  }

  .service__item_features {
    width: 300px;
    height: 130px;
  }
}

.service__item_features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.service__item_features li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: #666;
}

.service__item_features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #b83937;
  font-weight: bold;
}

.service__item_button {
  text-align: center;
  margin: 32px 0;
}

.service__btn {
  display: inline-block;
  padding: 12px 32px;
  background: #b83937;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.service__btn:hover {
  background: #a02f2d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 57, 55, 0.3);
  text-decoration: none;
}

.service__details {
  margin-top: 48px;
  padding: 32px;
  background: #f8f9fa;
  border-radius: 16px;
  position: relative;
}

.service__details_close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.service__close_btn {
  background: #b83937;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service__close_btn:hover {
  background: #a02f2d;
  transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  .service__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .service__item_content {
    padding: 32px 24px;
  }
  
  .service__item_title {
    font-size: 24px;
  }
  
  .service__overview {
    padding: 24px;
  }
  
  .service__overview_text {
    font-size: 16px;
  }

  .service__item_description {
    width: 440px;
    margin: 0 auto 24px;
    /* height: 132px; */
  }
  
  .service__item_features {
    width: 440px;
  }

}

/* 佐伯サテライトオフィス専用スタイル */
.saiki__intro {
  margin-bottom: 64px;
}

.saiki__hero {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}

.saiki__hero_image {
  flex: 1;
}


.saiki__image_placeholder {
  width: 100%;
  height: 300px;
  background: #f8f8f8;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #666;
  font-size: 16px;
}

.saiki__hero_text {
  flex: 1;
}

.saiki__catchcopy {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #333;
}

.saiki__highlight {
  color: #b83937;
  text-decoration: underline wavy #ffd700;
}

.saiki__description {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.saiki__problem {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 48px;
  border-radius: 20px;
  margin-bottom: 64px;
  text-align: center;
}

.saiki__problem_title h3 {
  font-size: 24px;
  font-weight: bold;
  color: #b83937;
  margin-bottom: 16px;
  line-height: 1.5;
}

.saiki__problem_content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-top: 32px;
}

.saiki__services_title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
  color: #333;
  position: relative;
}

.saiki__services_title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #b83937;
  margin: 16px auto 0;
  border-radius: 2px;
}

.saiki__service_item {
  margin-bottom: 64px;
  padding: 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saiki__service_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.saiki__service_heading {
  font-size: 24px;
  font-weight: bold;
  color: #b83937;
  margin-bottom: 24px;
  line-height: 1.4;
}

.saiki__service_image_placeholder {
  width: 100%;
  height: 200px;
  background: #f8f8f8;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #666;
  font-size: 16px;
  margin: 24px 0;
}

.saiki__service_problem {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.saiki__quote {
  font-style: italic;
  color: #856404;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

.saiki__service_description {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-top: 24px;
}

.saiki__closing {
  background: linear-gradient(135deg, #b83937 0%, #d63384 100%);
  color: white;
  padding: 64px 48px;
  border-radius: 20px;
  text-align: center;
  margin-top: 64px;
}

.saiki__closing_message {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.saiki__contact_image_placeholder {
  width: 300px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0 auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .saiki__hero {
    flex-direction: column;
    gap: 24px;
  }
  
  .saiki__catchcopy {
    font-size: 24px;
  }
  
  .saiki__problem {
    padding: 32px 24px;
  }
  
  .saiki__problem_title h3 {
    font-size: 20px;
  }
  
  .saiki__service_item {
    padding: 32px 24px;
  }
  
  .saiki__service_heading {
    font-size: 20px;
  }
  
  .saiki__closing {
    padding: 48px 24px;
  }

  .service__tab {
    flex-direction: column;
    gap: 8px;
  }

  .service__tab_menu,
  .service__tab_menu.active {
    width: 100%;
    margin: 0;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .service__overview {
    padding: 20px;
  }
  
  .service__overview_text {
    font-size: 14px;
  }
  
  .service__item_content {
    padding: 24px 16px;
  }
  
  .service__item_title {
    font-size: 20px;
  }
  
  .service__item_description {
    font-size: 14px;
    width: auto;
    height: auto;
  }
  
  .service__item_features {
    width: auto;
    height: auto;
  }
  
  .service__item_features li {
    font-size: 12px;
  }
  
  .service__btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .service__item_content {
    padding: 16px 10px;
  }
  
  .service__item_title {
    font-size: 16px;
  }
  
  .service__item_description {
    font-size: 12px;
  }
  
  .service__item_features li {
    font-size: 10px;
  }
  
  .service__btn {
    padding: 5px 14px;
    font-size: 11px;
  }
  
  .service__overview_text {
    font-size: 12px;
  }
  
  .saiki__catchcopy {
    font-size: 18px;
  }
  
  .saiki__problem_title h3 {
    font-size: 16px;
  }
  
  .saiki__service_heading {
    font-size: 16px;
  }
}
