/* サービス概要ページ MVセクション */
.service-mv {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../img/pc_service-expert_mv_nihonpackage.webp') center center / cover no-repeat;
}

.service-mv-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ffffff;

  	border-top: none;
	border-bottom: none;
}



/* トピックパス */
.topic-path {
  width: 100%;
  height: 40px;
  background-color: #f3f3f3;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #3e3a39;
  box-sizing: border-box;
}

.topic-path .topic-link {
  color: #3e3a39;
  text-decoration: none;
}

.topic-pathinner{
  max-width: 1000px;
	margin:0 auto ;
	padding-top:10px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}




/* セクション１ */
.service-expert-section-1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  margin-bottom:60px;
}

.expert-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #034b80;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.7;
}

.expert-description {
  width: 90%;
  max-width: 1000px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  text-align: left;
  line-height: 1.8;
  margin: 0 auto;
  text-align: justify;
  font-feature-settings: "palt";
}




/* セクション２ */
.service-expert-section-2 {
  width: 100%;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('../img/pattern_bg.webp');
}

.expert-section2-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #034b80;
  margin-bottom: 60px;
  text-align: center;
}

.expert-section2-description {
  width: 95%;
  max-width: 1000px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  text-align: left;
  margin-bottom: 60px;
  line-height: 1.8;
  text-align: justify;
  font-feature-settings: "palt";
}

.expert-category-grid {
  width: 90%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 80px;
}

.expert-category-box {
  max-width: 320px;
  height: 50px;
  border-radius: 25px;
  border: 1px solid #034b80;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #034b80;
  text-decoration: none;
}

.expert-category-box:hover{
  filter: brightness(1.5);
}


.expert-topic-box {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  margin-bottom: 20px;
}

.expert-topic-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #034b80;
  margin: 15px 0 0 30px;
}

.expert-topic-questions {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
}

.expert-topic-questions-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #000;
  border-top: 0.3px solid #231815;
  border-bottom: 0.3px solid #231815;
  padding: 7px 0;
  margin-bottom: 40px;
}

.expert-topic-questions-list {
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  justify-content: flex-start;
  align-items: flex-start;
  max-width:900px;
  width: 100%;
}

.expert-topic-questions-list ul {
  list-style: none;
  padding: 0;
  line-height:1.8;
}

.expert-topic-questions-list .ul1 {
  /*max-width: 450px;*/
  width: 50%;
}

.expert-topic-questions-list .ul2 {
  margin-left: 40px;
}

.expert-topic-questions-list li::before {
  content: '●';
  color: #034b80;
  margin-right: 8px;
}

.expert-topic-questions-list ul li{
  list-style: none;
  padding-left: 1.5em; /* ●用のスペース */
  text-indent: -1.5em; /* ●を左に突き出す */
}






#labor.expert-topic-box {
  clip-path: polygon(
    0 325px,
    0 0,
    431.07px 0,
    464.33px 45.31px,
    1000px 45.31px,
    1000px 325px
  );
  min-height: 325px; 
}


.expert-topic-box.titeki {
  clip-path: polygon(
    0 258px,
    0 0,
    422.9px 0,
    456.15px 45.31px,
    1000px 45.31px,
    1000px 258px
  );
  min-height: 258px;
}

.expert-topic-box.contract {
  clip-path: polygon(
    0 228px,
    0 0,
    495.29px 0,
    528.54px 45.31px,
    1000px 45.31px,
    1000px 228px
  );
  min-height: 228px;
}

.expert-topic-box.environment {
  clip-path: polygon(
    0 228px,
    0 0,
    422.9px 0,
    456.15px 45.31px,
    1000px 45.31px,
    1000px 228px
  );
  min-height: 228px;
}

.expert-topic-box.trouble {
  clip-path: polygon(
    0 196px,
    0 0,
    589.86px 0,
    623.11px 45.31px,
    1000px 45.31px,
    1000px 196px
  );
  min-height: 196px;
}

.expert-topic-box.hr {
  clip-path: polygon(
    0 260px,
    0 0,
    567.66px 0,
    600.91px 45.31px,
    1000px 45.31px,
    1000px 260px
  );
  min-height: 260px;
}

.expert-topic-box.welfare {
  clip-path: polygon(
    0 260px,
    0 0,
    420.56px 0,
    453.82px 45.31px,
    1000px 45.31px,
    1000px 260px
  );
  min-height: 260px;
}

.expert-topic-box.business {
  clip-path: polygon(
    0 260px,
    0 0,
    593.55px 0,
    626.8px 45.31px,
    1000px 45.31px,
    1000px 260px
  );
  min-height: 260px;
}




/* セクション３ */
.service-expert-section-3 {
  font-family: 'Noto Sans JP', sans-serif;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.secthion3title{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900; 
  font-size: 28px;
  color: #034B80;
  margin:60px 0;
  line-height: 1.6;
  text-align: center;
}


.member1-container {
  width: 100%;
  padding: 3.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom:50px;
  box-sizing: border-box;
  background: url(../img/service_bg.webp);
}

.member1-title-block {
  width: 95%;
  max-width: 800px;
  text-align: left;
  margin-bottom: 30px;
}

.member1-title {
  font-weight: 900;
  font-size: 24px;
  color: #034b80;
  margin-bottom: 15px;
  text-align: center;
}

.member1-description {
  font-weight: 500;
  font-size: 16px;
  color: #000;
  line-height: 1.8;
}

.member2-description {
  font-weight: 500;
  font-size: 16px;
  color: #000;
  line-height: 1.8;
  margin-bottom:40px;
}

 .member1-profile-label{
  display: block;
 }

.member1-inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 800px;
  width: 95%;
}

.member1-photo img {
  width: 203.8954px;
  height: 263.943px;
}


.member1-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 40px;
}

.member2-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 40px;
}


.member1-name {
  font-weight: 900;
  font-size: 22px;
  color: #000;
  margin-bottom: 5px;
}

.member1-role {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px;
}

.member1-profile-label {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px;
}

.member1-divider {
  border-top: 0.5px solid #9e9e9f;
  margin-bottom: 15px;
  width: 100%;
}

.member1-profile-text {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  line-height: 1.7;
}

@media(750px < width <= 1100px){
  .expert-topic-title{
    font-size: 2.18vw;
  }
  .expert-topic-questions-title{
    font-size: 1.64vw;
    margin-bottom: 1.64vw;
  }
  .expert-topic-questions-list ul{
    font-size: 1.45vw;
  }
  .expert-topic-questions-list .ul2 {
    margin-left: 3.64vw;
  }
  #labor.expert-topic-box{
    clip-path: polygon(0 29.55vw, 0 0, 39.19vw 0, 42.21vw 4.12vw, 90.91vw 4.12vw, 90.91vw 29.55vw);
    min-height: 29.55vw;
  }
  .expert-topic-box.titeki {
  clip-path: polygon(
    0 23.45vw,
    0 0,
    38.45vw 0,
    41.47vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 23.45vw
  );
  min-height: 23.45vw;
}

.expert-topic-box.contract {
  clip-path: polygon(
    0 20.73vw,
    0 0,
    45.03vw 0,
    48.05vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 20.73vw
  );
  min-height: 20.73vw;
}

.expert-topic-box.environment {
  clip-path: polygon(
    0 20.73vw,
    0 0,
    38.45vw 0,
    41.47vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 20.73vw
  );
  min-height: 20.73vw;
}

.expert-topic-box.trouble {
  clip-path: polygon(
    0 17.82vw,
    0 0,
    53.62vw 0,
    56.65vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 17.82vw
  );
  min-height: 17.82vw;
}

.expert-topic-box.hr {
  clip-path: polygon(
    0 23.64vw,
    0 0,
    51.61vw 0,
    54.63vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 23.64vw
  );
  min-height: 23.64vw;
}

.expert-topic-box.welfare {
  clip-path: polygon(
    0 23.64vw,
    0 0,
    38.23vw 0,
    41.26vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 23.64vw
  );
  min-height: 23.64vw;
}

.expert-topic-box.business {
  clip-path: polygon(
    0 23.64vw,
    0 0,
    53.96vw 0,
    56.98vw 4.12vw,
    90.91vw 4.12vw,
    90.91vw 23.64vw
  );
  min-height: 23.64vw;
}
}

@media (width <= 750px) {
  .service-mv {
    background: url('../img/sp_sevice-expert_bg.webp') center center / cover no-repeat;
  }
  .service-mv-title{
    font-size: var(--f36);
  } 
  .topic-path{
    font-size: 14px;
    padding-left: 1.62rem;
  }
  .expert-title,
  .expert-section2-title{
    font-size: var(--f36);
    line-height: 1.6;
  }
  .expert-description,
  .expert-section2-description{
    font-size: var(--f28);
  }
  .service-expert-section-2 {
    height: auto;
    padding: 4.1rem 0 3.5rem;
    box-sizing: border-box;
  }
  .expert-category-grid{
    display: none;
  }
}
/* アコーディオン用の非表示チェックボックス */
        .accordion-checkbox {
            display: none;
        }
        label{
          display: none;
        }

        /* SP版（768px未満）のスタイル */
        @media (max-width: 750px) {
            label{
              display: block;
            }

            .expert-section2-title {
                font-size: var(--f36);
                margin-bottom: 1.6em;
            }

            .expert-section2-description {
                font-size: var(--f28);
            }

            .expert-category-grid {
                display: none; /* SP版では表示しない */
            }

            .expert-topic-box {
                width: 100%;
                overflow: hidden;
                /* PC版のクリップパスを無効化 */
                clip-path: none !important;
                min-height: auto !important;
            }

            /* アコーディオンヘッダー */
            .accordion-header {
                background: #034b80;
                color: white;
                padding: 15px 20px;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-weight: 700;
                font-size: var(--f28);
                user-select: none;
                transition: background-color 0.3s ease;
            }

            .accordion-header:hover {
                background: #045a99;
            }

            .accordion-arrow {
                content: "";
                width: 1.28rem;
                height: 1.28rem;
                margin-top: 0.6rem;
                border-top: solid 2px #fff;
                border-left: solid 2px #fff;
                transform: rotate(-135deg);
                transition: transform 0.3s ease;
            }

            /* アコーディオンコンテンツ */
            .accordion-content {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                background: white;
            }

            .accordion-checkbox:checked ~ .accordion-content {
                max-height: 1000px;
            }

            .accordion-checkbox:checked + .accordion-header .accordion-arrow {
                transform: rotate(45deg);
            }

            .expert-topic-title {
                display: none; /* SP版ではヘッダーに統合 */
            }

            .expert-topic-questions {
                width: 90%;
                 margin: 1.25rem auto;
            }

            .expert-topic-questions-title {
                font-size: var(--f24);
                margin:2rem 0 0.9rem;
                font-weight: 700;
                border-top: none;
            }

            .expert-topic-questions-list {
                display: block;
                width: 100%;
            }

            .expert-topic-questions-list .ul1,
            .expert-topic-questions-list .ul2 {
                width: 100%;
                margin-left: 0;
                position: static;
                margin-bottom: 10px;
            }

            .expert-topic-questions-list .ul2{
              margin-bottom: 1.8rem;
            }

            .expert-topic-questions-list ul {
                line-height: 1.6;
            }

            .expert-topic-questions-list ul li {
                font-size: var(--f24);
                margin-bottom: 8px;
                font-weight: 500;
            }
            .member1-container{
              padding: 3.3rem 1rem;
            }
            .member1-inner.reverse{
              flex-direction: column-reverse;
            }
            .member1-title {
              font-size: var(--f36);
              font-feature-settings: "palt";
            }

            .member1-description {
              font-size: var(--f28);
            }
            .secthion3title{
              font-size: var(--f36);
              margin:4.68rem auto ;
            }
            .member1-photo img{
              width: 51.47vw;
              height: auto;
            }
            .member1-inner{
              flex-direction: column;
            }
            .member1-photo{
              margin: 0 auto 3.25rem;
            }
            .member1-info{
              margin-left: 0;
              width: 100%;
            }
            .member2-info {
              width: 100%;
              margin-right: 0;
            }
            .member1-divider{
              width: calc(100% + 4rem);
              margin-left: -2rem;
              order: -1;
            }
            .member1-name{
              font-size: var(--f34);
            }
            .member1-role{
              font-size: var(--f24);
            }
            .member1-profile-text{
              font-size: var(--f20);
            }
            .member1-profile-label{
              display: none;
            }

        }