@charset "utf-8";
body{
  width:100%;
  background-color:#f2ede7;
}
.brandWrap .brandBox {
  animation: disappear .1s ease;
}
.brandWrap .brandBox.js_selected{
  display:block;
  animation: appear .1s ease;
}
.brandWrap .brandBox a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* @keyframes appear {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
} */
@keyframes disappear {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
.brandWrap .brandBox {
    animation: disappear 1s ease;
}

.lineupWrap .tabWrap {
  width: auto;
  margin: auto;
}
.lineupWrap .tabWrap li:hover {
  opacity: 1;
}
.lineupWrap .tabWrap li input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.service_main [data-aos^=fade][data-aos^=fade].aos-animate {
  transform: none;
}

.mainWrap2 {
  background-color: #b29267;
  margin-top: 91px;
  padding: 45px;
}
.mainttl2 {
  font-size: 36px;
  text-align: center;
  font-weight: 600;
  color: #FFFFFF;
}
.wrap_1080 {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.wrap_90vw {
  max-width: 1440px;
  width: 90vw;
  margin: 0 auto;
  position: relative;
}
.service_main_box .wrap_1080:before {
  content: "";
  background: url(../img/service_new/main.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: -10%;
  right: -4.5%;
  width: 744px;
  height: 552px;
}
.service_main_box {
  padding: 70px 0;
  
}
.service_main_text {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
  line-height: 2;
}
.service_main_list_wrap {
  max-width: 440px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.service_main_list {
  background: #FFFFFF;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 26px;
  width: 31%;
  box-sizing: border-box;
  margin-bottom: 3%;
  height: 123px;
  position: relative;
  cursor: pointer;
  transition: .25s;

}
.service_main_list label {
  cursor: pointer;

}
.service_main_list_img {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  position: relative;
}
.service_main_list_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease; /* ふわっと切り替え */
}
.tab_list_img img.hover,
.service_main_list_img img.hover {
  opacity: 0;
}
.tab_list:hover .tab_list_img img.normal,
.service_main_list:hover .service_main_list_img img.normal {
  opacity: 0;
}
.service_main_list.current .service_main_list_img img.hover,
.tab_list:hover .tab_list_img img.hover,
.service_main_list:hover .service_main_list_img img.hover {
  opacity: 1;
}
.service_main_list_text {
  font-family: 'Noto Sans JP';
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 100%;
  transform: translate(-50%, 0);
  line-height: 1.2;
}
.text2gyo .service_main_list_img {
  margin-bottom: 40px;
}
.text2gyo .service_main_list_text {
  transform: translate(-50%, 10%);  
}
.service_main_list:hover {
  background: #845A65;
  color: white;
}
.wrap_600 {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.tab_list_wrap {
  display: flex;
  gap: 14px;
  margin-bottom: 85px;
  flex-wrap: nowrap;
}
.tab_list {
  margin: 0;
  background: #FFFFFF;
  border-radius: 37px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: .25s;
  cursor: pointer;
  position: relative;
}
.tab_list.all.current,
.tab_list.all:hover {
  background: rgba(255, 255, 255, .74);
}
.tab_list.current,
.tab_list:hover {
  background: #B29267;
  cursor: pointer;
}
.tab_list.current .tab_list_img img.hover {
  opacity: 1;
}
.tab_list_img {
  width: 42px;
  height: 42px;
  position: relative;
  cursor: pointer;
}
.tab_list_img img.normal,
.tab_list_img img.hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tab_list .tooltip {
  position: absolute;
  bottom: -65%;
  left: 50%;
  transform: translate(-50%,0);
  padding: 8px 10px;
  background: #FFFFFF;
  border-radius: 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;

  font-family: 'Noto Sans CJK JP';
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
}
.tab_list:first-child .tooltip {
  left: -8%;
  transform: none;
}
.tab_list:last-child .tooltip {
  left: auto;
  right: -8%;
  transform: none;
}
.tab_list:hover .tooltip {
  opacity: 0;
}
.tab_list .tooltip:before {
  content: "";
  display: inline-block;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: #FFFFFF transparent transparent transparent;
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translate(-50%,0) rotate(180deg);
}
.tab_list:first-child .tooltip:before {
  left: 20px;
  transform: rotate(180deg);
}
.tab_list:last-child .tooltip:before {
  left: auto;
  right: 20px;
  transform: rotate(180deg);
}

.tab_list.current .tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%,40%);
}

.brand_list_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 120px;
  align-items: stretch;
}
.brand_list_wrap:after {
  content: "";
  width: 32%;
}
.brand_list {
  width: 32%;
  margin-bottom: 40px;
}
.brandWrap .brandBox .brand_list_box {
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 8px;
  display: flex;         /* 必須 */
  flex-direction: column; /* 必須 */
  height: 100%;          /* 必須 */
  text-decoration: none;
}
.brand_list_box:hover {
  transform: translate(0,-3px);
  opacity: 1;
}
.brand_list_box:hover .brand_list_box_bottom {
  background: #B29267;
}
.brand_list_box_wrap {
  background: #FFFFFF;
  padding: 16px;
  flex-grow: 1;    /* これで一番高いカードに合わせて伸びます */
  display: flex;   /* さらに内部で位置調整したい場合（任意） */
  flex-direction: column;
  
}
.brand_list_box_flex {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.brand_list_box_text_sub {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 160%;
  color: #333333;
  letter-spacing: .1em;
}
.brand_list_box_img {
  width: 50%;
  max-height: 90px;
  overflow: hidden;
  border-radius: 4px;
}
.brand_list_box_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.brand_list_box_text {
  width: 50%;
}
.brand_list_box_text_tag_wrap {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.brand_list_box_text_tag {
  font-family: 'Noto Sans JP';
  color: #845A65;
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 13px;
  padding: 3px;
  border: 1px solid #845A65;
  border-radius: 2px;
}
.brand_list_logo {
  width: auto;
  height: auto;
  max-height: 50px;
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 5px;
}
.brand_list_logo_text {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  color: #333333;
}
.brand_list_box_bottom {
  background: #845A65;
  text-align: center;
  padding: 10px;
  transition: .25s;
  flex-shrink: 0;
  margin-top: auto;
}
.brand_list_box_bottom_text {
  font-family: 'Noto Sans JP';
  color: white;
  display: inline-block;
  position: relative;
  padding-right: 20px;
  font-size: 12px;
}
.brand_list_box_bottom_text:before {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  width: 10px;
  height: 10px;
  background: url(../img/service_new/i_tab.png) no-repeat;
  background-size: contain;
}
.service_lineup {
  display: none;
}

@media all and (max-width: 768px) {
  .mainWrap2 {
    margin-top: 13.932vw;
    padding: 3vw;
  }
  .mainttl2 {
    font-size: 4vw;
  }
  .service_main_text {
    text-align: center;
    font-size: 3vw;
    position: relative;
  }
  .service_main {
    position: relative;
    margin-bottom: 5vw;
  }
  .service_main_box {
     padding: 7vw 0;
  }
  .service_main_box .wrap_1080:before {
    content: none;
  }
  .wrap_1080,
  .wrap_90vw {
    position: static;
    width: 90%;
  }
  .service_main_box:before {
    content: "";
    background: url(../img/service_new/main.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translate(-60%, 0);
    width: 130%;
    height: 100%;
    background-position: center center;
  }
  .service_main_list_wrap {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translate(-50%,0);
    width: 90%;
    max-width: max-content;
  }
  .service_main_list {
    padding: 2vw 3vw;
    height: 27vw;
  }
  .service_main_list_text {
    font-size: 3vw;
  }
  .service_main_list_img {
    width: 14vw;
    height: 14vw;
  }
  .service_lineup {
    display: block;
    color: #B29267;
    font-style: normal;
    font-weight: 500;
    font-size: 5vw;
    text-align: center;
    margin-bottom: 5vw;
  }
  .tab_list_wrap {
    margin-bottom: 14vw;
    gap: 2vw;
    justify-content: center;
  }
  .tab_list {
    padding: 1.5vw;
    border-radius: 37vw;
  }
  .tab_list_img {
    width: 8vw;
    height: 8vw;
  }
  .brand_list {
    width: 100%;
    margin-bottom: 5vw;
  }
  .tab_list .tooltip {
    bottom: -105%;
  }
  .brand_list_wrap {
    margin-bottom: 100px;
  }
  .brand_list_box_text_sub {
    font-size: 2.9vw;
  }
  .brand_list_box_img {
    height: 26vw;
    max-height: max-content;
  }
  .brand_list_box_text_tag {
    font-size: 2.9vw;
    padding: 1vw;
  }
  .brand_list_logo {
    max-height: 12vw;
    margin: 0 auto;
    margin-top: 5vw;
  }
  .brand_list_box_bottom_text {
    font-size: 3vw;
    padding-right: 4vw;
  }
  .brand_list_box_bottom {
    padding: 1.3vw;
  }
  .tab_list .tooltip {
    bottom: -8vw;
    padding: .5vw 1.5vw;
    font-size: 2.9vw;
    border-radius: 10vw;
  }
  .tab_list .tooltip:before {
    border-width: 2vw 2vw 0 2vw;
    left: 50%;
    top: -1vw;
  }
  .tab_list:first-child .tooltip:before {
    left: 4.5vw;
  }
  .tab_list:last-child .tooltip:before {
    right: 4.5vw;
  }
  
}










