@charset "UTF-8";
:root{
  --gyosei1: #F1EBDD;
  --gyosei2: #EEF3EC;
  --gyosei3: #1C28A6;
  --gyosei4: #8DC63F;
  --gyosei5: #4A4F66;
  --gyosei6: #F7F5F0;
  --gyosei7: #D9D5C9;
}

/*-----------------------------------------------------------------------Unique*/

/*===============================================
gyosei
※ヒーロー（topHero）・contactBox・subTitleDivider は add_top.css を共用
===============================================*/

/*--------hero--------*/
.gyoseiHero{
  & .heroOffice{
    margin: 0 0 30px 0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: .05em;
    color: #161B33;
  }
  & .heroBackLink{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: .05em;
    color: var(--gyosei4);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/*--------section common--------*/
.gyosei1, .gyosei2, .gyosei4{ color: #161B33; }
.gyosei1{ background-color: var(--gyosei1); }
.gyosei2{ background-color: var(--gyosei2); }
.gyosei2 .sectionTitle{ text-align: center; }
.gyosei3{
  color: #FFFFFF;
  background-color: var(--gyosei3);
}
.gyosei3 .sectionTitle{ text-align: center; }
.gyosei4{
  background-color: #FFFFFF;
  background-image: url(../img/background_mark.svg);
  background-repeat: no-repeat;
  background-position: right 30px;
  background-size: 320px auto;
}

/*--------about--------*/
.gyoseiLead{
  margin-bottom: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  font-size: 17px;
  line-height: 1.7em;
  color: var(--gyosei3);
}
.gyosei1 .textCont + .textCont{
  margin-top: 30px;
}

/*--------reason--------*/
.reasonList{
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
}
.reasonCard{
  position: relative;
  padding: 50px 20px 24px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  & .reasonNum{
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    background-color: var(--gyosei4);
    border-radius: 50%;
  }
  & .reasonText{
    font-size: 15px;
    line-height: 1.9em;
  }
}
.caseWrap{
  margin-top: 60px;
}
.caseHeading{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  font-size: 16px;
  & img{
    width: 26px;
    flex-shrink: 0;
  }
}
.caseList{
  & li{
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.8em;
    &::before{
      content: "";
      position: absolute;
      top: .8em;
      left: 4px;
      width: 4px;
      height: 4px;
      background-color: var(--gyosei4);
      border-radius: 50%;
    }
    & + li{
      margin-top: 12px;
    }
  }
}

/*--------price--------*/
.priceNoteText{
  margin-bottom: 30px;
  & p{
    font-weight: bold;
    font-size: 13px;
    line-height: 1.8em;
  }
  & p.spOnly{
    display: block;
    margin-top:1em;
    color: var(--gyosei4);
  }
}
.priceBox{
  padding: 40px 16px;
  color: #161B33;
  background-color: #FFFFFF;
  border-radius: 10px;
}
.priceCategory{
  margin: 60px 0 16px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  &:first-of-type{
    margin-top: 0;
  }
}
.priceTitle{
  margin: 40px 0 12px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: var(--gyosei3);
}
.subTitleDivider + .priceTitle{
  margin-top: 0;
}
/* SPでは表を横スクロールさせ、列の折り返しで読みにくくなるのを防ぐ
   （角丸・枠線はスクロール枠側に持たせる。表本体に overflow:hidden を付けると th の sticky が効かなくなるため） */
.priceTableWrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--gyosei7);
  border-radius: 10px;
  & + .priceTableWrap{
    margin-top: 30px;
  }
}
.priceTable{
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  line-height: 1.6em;
  & th,
  & td{
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--gyosei7);
    border-left: 1px solid var(--gyosei7);
  }
  & th:first-child{
    border-left: none;
  }
  & tbody tr:last-child > *{
    border-bottom: none;
  }
  & thead th{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    color: #FFFFFF;
    background-color: var(--gyosei3);
    border-left-color: rgba(255,255,255,.3);
  }
  & .priceKind{
    width: 30%;
    font-weight: bold;
    background-color: var(--gyosei6);
  }
  & .priceWork{
    width: 30%;
  }
  & .priceFee{
    width: 16%;
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
    color: var(--gyosei3);
  }
  & .priceNote{
    width: 24%;
    font-size: 12px;
    color: var(--gyosei5);
  }
}
/* rowspan で途中から始まる行は先頭セルが td になるため、左罫線を戻す */
.priceTable tbody tr > td:first-child{
  border-left: 1px solid var(--gyosei7);
}
/* 横スクロール時に「区分」列（行見出し th）を左に固定する。右側の影で固定列の境目を示す */
.priceTable{
  & thead th:first-child,
  & .priceKind{
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 2px 0 4px rgba(22,27,51,.08);
  }
  & thead th:first-child{
    z-index: 2;
  }
}

/*--------------------------Responsive*/
@media (min-width: 1024px) { /*--for PC--*/
  .gyosei4{
    background-size: 500px auto;
  }
  .gyoseiHero{
    & .heroOffice{
      font-size: 34px;
    }
    & .heroBackLink{
      font-size: 16px;
    }
  }

  .gyoseiLead{
    font-size: 20px;
  }
  .gyosei1 .textCont p{
    font-size: 17px;
  }

  .reasonList{
    width: 944px;
    margin: 70px 0 0 auto;
    gap: 40px;
  }
  .reasonCard{
    display: flex;
    align-items: center;
    min-height: 168px;
    padding: 30px 60px 30px 84px;
    & .reasonNum{
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%);
      width: 85px;
      height: 85px;
      font-size: 28px;
    }
    & .reasonText{
      font-size: 17px;
    }
  }
  .caseWrap{
    margin-top: 80px;
  }
  .caseHeading{
    font-size: 18px;
  }
  .caseList li{
    font-size: 16px;
  }

  .priceNoteText{
  & p{
    font-size: 15px;
  }
  & p.spOnly{
    display: none !important;
  }
  }
  .priceBox{
    padding: 60px 50px;
  }
  .priceCategory{
    font-size: 24px;
  }
  .priceTitle{
    font-size: 18px;
  }
  .priceTable{
    min-width: 0;
    font-size: 15px;
    & th,
    & td{
      padding: 12px 16px;
    }
    & .priceNote{
      font-size: 13px;
    }
  }
}
