* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.1em;
  
}
.sp-on{
  display: none;
}
@media screen and (max-width:480px) {
  .sp-on{
    display: block;
  }
  .sp-off{
    display: none!important;
  }
}
body{
  padding-top: 80px;
}
section{
  padding: 3em 0;
}
a{
  transition: .3s;
}

body:has([popover]:popover-open) {
    pointer-events: none;
    user-select: none;
}

[popover]:popover-open {
    pointer-events: auto;
    user-select: text;
}

@keyframes bganime {
  0%{
    background-position: 0% 0%;
  }
  100%{
    background-position: 0% 100%;
  }
}

/* ヘッダー */
.r-header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  padding: 0em 0em 0em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  .row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .logo{
    width: 150px;
    height: auto;
    @media screen and (max-width:480px) {
      width: 28svw;
    }
  }
  p{
    font-weight: 600;
    @media screen and (max-width:480px) {
      font-size: 3.5svw;
    }
  }
  .entry{
    width: 80px;
    height: 80px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #CF1126;
    font-size: 0.9em;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
    &:hover{
      opacity: .7;
    }
    &:first-child{
      background: #F5B13C;
    }
    @media screen and (max-width:625px) {
      display: none;
    }
  }
}

.h_menu_btn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: unset;
  background: #333;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: .3s;
  span,
  &::before,
  &::after{
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #fff;
    transition: .3s;
  }
  &:hover{
    gap: 11px;
    span,
    &::before,
    &::after{
      scale: 1.1;
    }
  }
}
#h_menu{
  list-style: none;
  width: 500px;
  max-width: 80svw;
  height: 100%;
  border: unset;
  transition: .5s;
  transition-timing-function: cubic-bezier(0.1, 0.2, 0.3, 1.0);
  position: fixed;
  left: calc(100svw - 500px);
  background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1)),url(http://test-recruit.intense-z.com/wp-content/uploads/2025/11/intense_logo_panel.png); 
  background-size: contain; 
  animation: bganime 30s linear infinite;
  @media screen and (max-width:625px) {
    left: 20svw;
    animation: bganime 100s linear infinite;
  }
  &:popover-open{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2em;
  }
  &::backdrop{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0006;
    z-index: 10;
  }
  li{
    a{
      font-size: 1.7em;
      font-weight: 700;
      text-decoration: none;
      color: #333;
      transition: .3s;
      width: 13em;
      display: block;
      span{
        font-size: 0.8em;
        color: #ccc;
        font-family: 900;
        transition: .3s;
      }
      &:hover{
        color: #CF1126;
        span{
          color: #ffa6b0;
        }
      }
      @media screen and (max-width:480px) {
        font-size: 1.3em;
      }
    }
  }
  button{
    border: unset;
    background: unset;
    font-size: 1em;
    cursor: pointer;
    color: #555;
  }
}
@starting-style {
  [popover]:popover-open {
    /* opacity: 0; */
    transform: translateX(500px);
    /* 表示時の開始状態 */
  }
}


/* フッター */
.r-footer{
  width: 100%;
  padding: 5em 2em;
  background: #eee;
  position: relative;
  bottom: 0;
  left: 0;
}

/* セクションコンテナ */
.r-container{
  padding: 1em;
  max-width: 900px;
  width: 100%;
  margin: auto;
  h2{
    border-bottom: 10px solid #CF1126;
    border-bottom: 10px solid #e54f5f;
    width: fit-content;
    padding: 0.5em 0.5em 0 0em;
    font-size: 35px;
    line-height: 0.6em;
    @media screen and (max-width:480px) {
      font-size: 30px;
    }
  }
  .banner-cont{
    margin: 3em auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    a{
      display: flex;
      justify-content: center;
      align-items: center;
      width: fit-content;
      flex-direction: column;
      text-decoration: none;
      &:hover{
        opacity: .5;
      }
    }
    .banner-title {
      color: #333;
      font-size: 1.2em;
      margin-top: 0.5em;
      font-weight: 600;
    }
    img{
      max-width: 420px;
      width: 91svw;
      max-height: 240px;
      height: 52svw;
      object-fit: cover;
      object-position: center;
      background: #ddd;
      color: #CF1126;
      text-align: center;
    }
  }
  p{
    font-weight: 600;
    line-height: 2em;
    text-align: justify;
    @media screen and (max-width:480px) {
      font-size: 0.9em;
    }
  }



  .colmn-2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    &.sp-reverse{
      @media screen and (max-width:890px) {
        flex-direction: column-reverse;
        gap: 2em;
      }
    }
  }

  .half-container{
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    @media screen and (max-width:890px) {
      width: 100%;
    }

    .text-and-btn{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2em;
      padding: 2em;
      p{
        text-align: justify;
      }
    }

    img{
      width: 400px;
      height: 400px;
      object-fit: cover;
      object-position: center;
      background: #eee;
      @media screen and (max-width:480px) {
        width: 100%;
      }
      &.parallelogram{
        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
        height: 300px;
        margin-top: 3em;
        @media screen and (max-width:480px) {
          width: 330px;
        }
      }
    }
    .ceo-img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
    }
    .ceo-h3{
      display: block;
      text-align: center;
      width: 100%;
      font-weight: 700;
      margin-bottom: 1em;
      padding: 0.4em 0.3em;
      padding-bottom: 0.4em;
      color: #333;
      border-bottom: 2px solid #cf1125;
      font-size: 1.5em;
      @media screen and (max-width:980px) {
        margin-top: 0.4em;
      }
      @media screen and (max-width:480px) {
        font-size: 5svw;
      }
    }
    .ceo-text{
      text-align: left;
      font-weight: 400;
      font-size: 1em;
      line-height: 2em;
      span{
        display: block;
        text-align: right;
      }
    }
    &:has(.ceo-img){
      height: 600px;
    }
    &:has(.ceo-text){
    }
  }

  .benefits{
    --ui-li-color-01:#42A475;
    --ui-li-color-02:#4680BF;
    h3{
      position: relative;
      z-index: 1;
      width: fit-content;
      text-align: center;
      margin: 1em auto -1.2em;
      background: #fff;
      padding: 0.5em 1em;
      font-size: 1.5em;
      &.color-01{
        color: var(--ui-li-color-01);
      }
      &.color-02{
        color: var(--ui-li-color-02);
      }
    }
    ul{
      width: 100%;
      border-radius: 1em;
      padding: 3em 2em 2em;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
      gap: 1em;
      li{
        width: fit-content;
        padding: 0.4em 1.5em;
        font-size: 1.2em;
        border-radius: 0.3em;
      }

      &.color-01{
        border: 5px solid var(--ui-li-color-01);
        li{
          background: var(--ui-li-color-01);
          color: #fff;
        }
      }
      &.color-02{
        border: 5px solid var(--ui-li-color-02);
        li{
          background: var(--ui-li-color-02);
          color: #fff;
        }
      }
    }
  }

  .interview{
    margin: 3em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 0em;
    @media screen and (max-width:480px) {
      gap: 2em;
    }
    a{
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 1em;
      text-decoration: none;
      color: #333;
      position: relative;
      padding: 1em 1em 3em;
      background: #fff;
      @media screen and (max-width:890px) {
        padding: 1em 1em 3em;
        background: #fff;
      }
      &::before{
        content: "詳細を見る>>";
        display: block;
        position: absolute;
        font-weight: 900;
        font-size: 0.7em;
        bottom: 1.5em;
        right: 1em;
        @media screen and (max-width:890px) {
          bottom: 1.5em;
          right: 1em;
          opacity: 1;
        }
        @media screen and (max-width:480px) {
          font-size: 1em;
        }
      }
      &:hover{
        scale: 1.02;
        opacity: .9;
        background: #CF1126;
        color: #fff;
        z-index: 1;
        h3{
          color: #fff;
          strong{
            color: #fff;
          }
        }
      }
      img{
        background: #ccc;
        width: 230px;
        height: 230px;
        object-fit: cover;
        object-position: center;
        @media screen and (max-width:890px) {
          width: 25svw;
          height: 25svw;
        }
        @media screen and (max-width:480px) {
          width: 80svw;
          height: 80svw;
        }
      }
      h3{
        text-align: left;
        font-weight: 700;
        line-height: 2em;
        font-weight: 800;
        font-size: 0.8em;
        color: #cf1126;
        strong{
          font-size: 1.7em;
          font-weight: 700;
          color: #333;
        }
      }
    }
  }

  .faq{
    details{
      width: 100%;
      transition: .3s;
      margin: 1em auto;
      summary{
        padding: 1.4em;
        background: #d7f4ff;
        color: #326fb2;
        font-weight: 600;
        border-radius: 0.5em;
        cursor: pointer;
        &::marker{
          content: "Q.";
        }
      }
      div{
        padding: 1.4em;
        color: #b23232;
        background: #fff2f2;
        border-radius: 0 0 0.5em 0.5em;
        font-weight: 500;
        &::before{
          content: "A.";
        }
      }
      &[open]{
        summary{
          border-radius: 0.5em 0.5em 0 0;
        }
        div{

        }
      }
    }
  }
}

.accent-btn{
  text-decoration: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  background: #CF1126;
  color: #fff;
  padding: 0.8em 1.5em;
  font-weight: 600;
  margin: auto;
  &:hover{
    background: #f5f5f5;
    color: #CF1126;
  }
}

.r-company-overview{
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),url(https://recruit.intense-z.com/img/top-img.png);
  background-size: cover;
  background-position: center;
  .text-and-btn{
    padding: 3em 2em 3em;
    border-radius: 1em;
    background: #fffa;
  }
}

/* 要項 */
.guidelines{
  width: 100%;
  margin: 2em auto;
  tr{
    display: flex;
    padding: 2em 0;
    border-top: 1px solid #ddd;
    &:last-child{
      border-bottom: 1px solid #ddd;
    }
  }
  th{
    display: block;
    width: 25%;
    text-align: left;
    font-weight: 600;
    color: #333;
  }
  td{
    h4{
      font-weight: 400;
      color: #333;
    }
    p{
      font-weight: 300;
      color: #999;
    }
  }
}

/* キャリアモデル */
:root{
  --g_color_01: #fb9d9d;
  --g_color_02: #f27d7d;
  --g_color_03: #ed5f5f;
  --g_color_04: #f24a5d;
  --g_color_05: #cf1126;

  --g_color_01_02: #b29dfb;
  --g_color_02_02: #957df2;
  --g_color_03_02: #7e5fed;
  --g_color_04_02: #8b4af2;
  --g_color_05_02: #6211cf;
}
.career_h3{
  font-weight: 600;
  font-size: 1.2em;
  padding: 1em;
  margin-top: 1em;
  color: var(--g_color_05);
  background: #fff1f1;
  border-top: 3px solid #ffaaaa;
  border-bottom: 3px solid #ffaaaa;
  &:nth-child(even){
    color: var(--g_color_05_02);
    background: #f4f0ff;
    border-color: #b1b1ff;
  }
}
.career_table{
    &:nth-child(odd){
      tr{
        &:nth-child(1){
          .career_gradation{
            background: linear-gradient(to right,var(--g_color_01_02),var(--g_color_02_02));
            height: 5em;
          }
        }
        &:nth-child(2){
          .career_gradation{
            background: linear-gradient(to right,var(--g_color_02_02),var(--g_color_03_02));
            height: 6em;
          }
        }
        &:nth-child(3){
          .career_gradation{
            background: linear-gradient(to right,var(--g_color_03_02),var(--g_color_04_02));
            height: 7em;
          }
        }
        &:nth-child(4){
          .career_gradation{
            background: linear-gradient(to right,var(--g_color_04_02),var(--g_color_05_02));
            height: 8em;
          }
        }

        small,
        .rank{
          color: var(--g_color_05_02);
        }
        th{
          .step_no {
            color: var(--g_color_05_02);
          }
        }
      }
    }
    tbody{
        display: flex;
        flex-wrap: wrap;
    }
    tr{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 25%;
      &:nth-child(1){
        .career_gradation{
          background: linear-gradient(to right,var(--g_color_01),var(--g_color_02));
          height: 5em;
        }
      }
      &:nth-child(2){
        .career_gradation{
          background: linear-gradient(to right,var(--g_color_02),var(--g_color_03));
          height: 6em;
        }
      }
      &:nth-child(3){
        .career_gradation{
          background: linear-gradient(to right,var(--g_color_03),var(--g_color_04));
          height: 7em;
        }
      }
      &:nth-child(4){
        .career_gradation{
          background: linear-gradient(to right,var(--g_color_04),var(--g_color_05));
          height: 8em;
        }
      }
      @media screen and (max-width:480px) {
        width: 100%;
        .career_gradation{
          height: 5em!important;
        }
      }
    }
    th{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        height: 15em;
        @media screen and (max-width:480px) {
          height: fit-content;
          margin-top: 1em;
        }
        .step_no{
          font-size: 1.8em;
          font-weight: 500;
          color: #CF1126;
        }
        small,
        .rank{
          font-size: 0.8em;
          color: #CF1126;
          display: block;
        }
        small{
            padding-top: 1em;
        }
        .rank{
            padding-bottom: 1em;
        }
        .career_gradation{
            font-size: 0.9em;
            font-weight: 500;
            line-height: 1.5em;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            color: #fff;
            text-align: center;
        }
    }
    td{
        padding: 1em;
        font-size: 0.8em;
        line-height: 1.8em;
        color: #777;
        font-weight: 500;
    }
}