@charset "UTF-8";
/* ----------------------------------------------------------------
    Modal (.jigyoshokei-modal)
----------------------------------------------------------------- */
/* .jigyoshokei-modal
----------------------------------------------- */
.jigyoshokei-modal {
  /* タップの挙動を最適化するため */
}
.jigyoshokei-modal_panel {
  padding: 25px 15px;
  background-color: #fff;
}
.jigyoshokei-modal_hdg {
  margin-bottom: 30px;
  color: #005bac;
  font-size: 3.4rem;
}
.jigyoshokei-modal_lead {
  margin-bottom: 60px;
}
.jigyoshokei-modal_txt-question {
  margin-bottom: var(--acq-spacing-lg);
  text-align: center;
  font-size: var(--acq-font-size-xl);
  font-weight: var(--acq-font-weight-bold);
  animation: fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.jigyoshokei-modal_txt-result {
  font-weight: var(--acq-font-weight-bold);
  animation: fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.jigyoshokei-modal_txt-result > em {
  color: var(--acq-color-primary);
}
.jigyoshokei-modal_lyt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1036px;
  margin: auto;
  /* 兄弟要素がない場合は上下中央 */
}
.jigyoshokei-modal_lyt:first-child:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 15px;
  transform: translate(-50%, -50%);
}
.jigyoshokei-modal_col {
  align-self: center;
  width: 100%;
  /* 一つ余りの場合は左右中央 */
}
.jigyoshokei-modal_col:last-child:nth-child(odd) {
  grid-column: 1/3;
}
.jigyoshokei-modal_lyt-btn {
  margin-top: 30px;
  text-align: center;
}
.jigyoshokei-modal_btn {
  position: relative;
  display: block;
  width: min(500px, 100%);
  margin: 0 auto;
  padding: 50px 80px 51px;
  background-color: #efefef;
  border: 1px solid #b8b8b8;
  border-radius: 23px;
  box-shadow: 0 3px 0 #b8b8b8;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* '>' */
}
.jigyoshokei-modal_btn.-small {
  width: min(360px, 100%);
  padding: 20px 52px 21px;
}
.jigyoshokei-modal_btn::before, .jigyoshokei-modal_btn::after {
  content: "";
  position: absolute;
  right: 22px;
  margin: auto;
  width: 10px;
  height: 3px;
  background-color: #444;
  border-radius: 100vw 0 0 100vw;
  transform-origin: center right;
}
.jigyoshokei-modal_btn::before {
  top: 1px;
  bottom: 0;
  transform: rotate(45deg);
}
.jigyoshokei-modal_btn::after {
  top: 0;
  bottom: 1px;
  transform: rotate(-45deg);
}
.jigyoshokei-modal_btn:focus, .jigyoshokei-modal_btn:active {
  opacity: 0.6;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(3px);
}
.jigyoshokei-modal_link {
  position: relative;
  display: block;
  width: min(441px, 100%);
  margin: 0 auto;
  padding: 30px 50px 31px;
  background-color: #fff;
  border: 1px solid #005bac;
  border-radius: 23px;
  color: #005bac;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* '>' */
}
.jigyoshokei-modal_link::before, .jigyoshokei-modal_link::after {
  content: "";
  position: absolute;
  right: 22px;
  margin: auto;
  width: 10px;
  height: 3px;
  background-color: #005bac;
  border-radius: 100vw 0 0 100vw;
  transform-origin: center right;
}
.jigyoshokei-modal::before {
  top: 1px;
  bottom: 0;
  transform: rotate(45deg);
}
.jigyoshokei-modal::after {
  top: 0;
  bottom: 1px;
  transform: rotate(-45deg);
}
.jigyoshokei-modal:focus, .jigyoshokei-modal:active {
  background-color: #ccdeee;
  color: #005bac;
}
.jigyoshokei-modal_prev {
  position: relative;
  display: inline-block;
  min-width: 178px;
  padding: 13px 40px 12px;
  background-color: #fff;
  border: 1px solid #005bac;
  border-radius: 13px;
  color: #005bac;
  font-size: 1.6rem;
  line-height: 1.3;
  overflow: hidden;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* '<' */
}
.jigyoshokei-modal_prev:focus, .jigyoshokei-modal_prev:active {
  background-color: #ccdeee;
  color: #005bac;
}
.jigyoshokei-modal_prev::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 10px;
  bottom: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-left: 2px solid #005bac;
  border-bottom: 2px solid #005bac;
  transform: rotate(45deg);
}
.jigyoshokei-modal_close {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 14px 5px 28px;
  background: linear-gradient(to bottom, #d3d3d3, #c1c1c1);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  overflow: hidden;
  /* '×' */
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.jigyoshokei-modal_close:focus, .jigyoshokei-modal_close:active {
  opacity: 0.8;
}
.jigyoshokei-modal_close::before, .jigyoshokei-modal_close::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 3px;
  background-color: #fff;
}
.jigyoshokei-modal_close::before {
  transform: rotate(45deg);
}
.jigyoshokei-modal_close::after {
  transform: rotate(-45deg);
}
.jigyoshokei-modal_overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.3);
}
@media (hover: hover) {
  .jigyoshokei-modal_btn:hover {
    opacity: 0.6;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(3px);
  }
  .jigyoshokei-modal_link:hover {
    background-color: #ccdeee;
    color: #005bac;
  }
  .jigyoshokei-modal_prev:hover {
    background-color: #ccdeee;
    color: #005bac;
  }
  .jigyoshokei-modal_close:hover {
    opacity: 0.8;
  }
}
@media only screen and (max-width: 640px) {
  .jigyoshokei-modal {
    /* 一つ余りの場合は左右中央（SP時は打消し） */
  }
  .jigyoshokei-modal_panel {
    padding: 60px 30px 30px;
  }
  .jigyoshokei-modal_content {
    padding: 0;
  }
  .jigyoshokei-modal_hdg {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  .jigyoshokei-modal_lead {
    margin-bottom: 50px;
  }
  .jigyoshokei-modal_txt-question {
    margin-bottom: 60px;
    font-size: 1.8rem;
  }
  .jigyoshokei-modal_txt-result {
    margin-bottom: 50px;
    font-size: 1.8rem;
  }
  .jigyoshokei-modal_mark {
    margin-right: 6px;
  }
  .jigyoshokei-modal_lyt {
    grid-template-columns: auto;
    gap: 30px 0;
  }
  .jigyoshokei-modal_btn {
    padding: 25px 40px 24px;
    font-size: 1.6rem;
  }
  .jigyoshokei-modal_btn.-small {
    padding-top: 15px;
    padding-bottom: 14px;
  }
  .jigyoshokei-modal_col:last-child:nth-child(odd) {
    grid-column: initial;
  }
  .jigyoshokei-modal_link {
    padding: 25px 39px 24px;
    border-radius: 15px;
    font-size: 1.6rem;
  }
}

/* .fn-modal-jigyoshokei
----------------------------------------------- */
.js-unavailable .js-modal {
  visibility: hidden;
}

/* ----------------------------------------------------------------
    oyakudachi.cssからの移植
----------------------------------------------------------------- */
p {
  line-height: var(--acq-line-height-article);
}

/* .jigyoshokei-content-lyt
----------------------------------------------- */
.jigyoshokei-content-lyt {
  display: flex;
  gap: 32px 24px;
}
.jigyoshokei-content-lyt_main {
  width: var(--jigyoshokei-width-main);
}
.jigyoshokei-content-lyt_main > :first-child {
  margin-top: 0;
}
.jigyoshokei-content-lyt_main > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-content-lyt_article {
  margin-bottom: var(--acq-spacing-md);
}
.jigyoshokei-content-lyt_article > :first-child {
  margin-top: 0;
}
.jigyoshokei-content-lyt_article > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-content-lyt_section > :first-child {
  margin-top: 0;
}
.jigyoshokei-content-lyt_section > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-content-lyt_aside {
  width: var(--jigyoshokei-width-aside);
}
.jigyoshokei-content-lyt_aside > :first-child {
  margin-top: 0;
}
.jigyoshokei-content-lyt_aside > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-content-lyt_sticky {
  position: sticky;
  top: calc(var(--js-acq-height-header) + 20px);
}
.jigyoshokei-content-lyt_sticky > :first-child {
  margin-top: 0;
}
.jigyoshokei-content-lyt_sticky > :last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
  .jigyoshokei-content-lyt {
    flex-direction: column;
  }
  .jigyoshokei-content-lyt_main {
    width: 100%;
  }
  .jigyoshokei-content-lyt_aside {
    width: 100%;
  }
  .jigyoshokei-content-lyt_sticky {
    position: static;
  }
}

/* .jigyoshokei-hdg-l3
----------------------------------------------- */
.jigyoshokei-hdg-l3 {
  position: relative;
  margin: var(--acq-spacing-lg) 0 var(--acq-spacing-sm);
  padding-left: 24px;
  font-size: var(--acq-font-size-xl);
}
.jigyoshokei-hdg-l3::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--acq-color-primary);
  border-radius: 100vw;
}

/* .jigyoshokei-hdg-l4
----------------------------------------------- */
.jigyoshokei-hdg-l4 {
  margin: var(--acq-spacing-sm) 0 var(--acq-spacing-xs);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--acq-color-beige);
  font-size: var(--acq-font-size-lg);
}

/* .jigyoshokei-card
----------------------------------------------- */
.jigyoshokei-card {
  container-type: inline-size;
  color: var(--acq-color-font);
}
.jigyoshokei-card_link {
  display: flex;
  column-gap: 24px;
  height: 100%;
  padding: 24px;
  background-color: var(--acq-color-white);
  border: 1px solid var(--acq-color-beige);
  border-radius: var(--acq-rounded-lg);
  box-shadow: var(--acq-shadow-card);
  color: inherit;
  font-weight: var(--acq-font-weight);
  text-decoration: none;
  transition: box-shadow var(--acq-transition-duration) var(--acq-transition-tf);
}
.jigyoshokei-card.-invoice .jigyoshokei-card_title {
  color: inherit;
  text-decoration: none;
}
.jigyoshokei-card.-invoice .jigyoshokei-card_title:is(:hover, :active, :focus-visible) {
  color: var(--acq-color-primary);
  text-decoration: underline;
}
.jigyoshokei-card.-other .jigyoshokei-card_link:is(:hover, :active, :focus-visible) {
  color: inherit;
  box-shadow: none;
}
.jigyoshokei-card.-other .jigyoshokei-card_link:is(:hover, :active, :focus-visible) .jigyoshokei-card_title {
  color: var(--acq-color-primary);
  text-decoration: underline;
}
.jigyoshokei-card_content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.jigyoshokei-card_content > :first-child {
  margin-top: 0;
}
.jigyoshokei-card_content > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-card_title {
  margin-bottom: 10px;
  font-size: var(--acq-font-size-lg);
  transition: color var(--acq-transition-duration) var(--acq-transition-tf);
}
@media only screen and (max-width: 767px) {
  .jigyoshokei-card_title {
    font-size: var(--acq-font-size-md);
  }
}
.jigyoshokei-card_title-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.jigyoshokei-card_text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.jigyoshokei-card_text > :first-child {
  margin-top: 0;
}
.jigyoshokei-card_text > :last-child {
  margin-bottom: 0;
}
.jigyoshokei-card_date {
  flex: 1;
  display: grid;
  align-items: end;
  color: var(--acq-color-font-beige);
  font-size: var(--acq-font-size-xs);
  text-align: right;
}
.jigyoshokei-card_img {
  text-align: center;
  min-width: 100px;
}
.jigyoshokei-card_img img {
  border-radius: var(--acq-rounded-lg);
}
.jigyoshokei-card_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.jigyoshokei-card_tag.-page {
  margin-top: 16px;
}
.jigyoshokei-card_tag.-page .jigyoshokei-card_tag-link {
  padding: 4px 16px;
  font-size: var(--acq-font-size-md);
}
@media only screen and (max-width: 767px) {
  .jigyoshokei-card_tag.-page .jigyoshokei-card_tag-link {
    padding: 2px 8px;
  }
}
.jigyoshokei-card_tag-link {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--acq-color-bg-gray);
  border-radius: 100vw;
  vertical-align: middle;
  font-size: var(--acq-font-size-xs);
  font-weight: var(--acq-font-weight-bold);
  text-decoration: none;
}
.jigyoshokei-card_tag-link:is(:hover, :active, :focus-visible) {
  opacity: 0.6;
  color: var(--acq-color-primary);
}
@container (max-width: 400px) {
  .jigyoshokei-card_title {
    grid-area: title;
  }
  .jigyoshokei-card_text {
    grid-area: text;
  }
  .jigyoshokei-card_img {
    grid-area: img;
  }
  .jigyoshokei-card_tag {
    margin-bottom: 14px;
  }
  .jigyoshokei-card_tag-link {
    padding: 4px 6px;
  }
}
@container (max-width: 300px) {
  .jigyoshokei-card_link {
    display: grid;
    grid-template: "img" auto "title" auto "text" 1fr;
    gap: 16px;
  }
  .jigyoshokei-card_title {
    margin-bottom: 0;
  }
  .jigyoshokei-card_content {
    display: contents;
  }
}

/* variables
----------------------------------------------- */
:root {
  --jigyoshokei-width-main: 66%;
  --jigyoshokei-width-aside: 32%;
  --jigyoshokei-color-gold: #d2b100;
  --jigyoshokei-color-silver: #8290a5;
  --jigyoshokei-color-bronze: #b45900;
}