@charset "utf-8";

/* Breakpoints: sm(640px), md(768px), lg(1024px), xl(1280px), 2xl(1536px) */

/* base */

/* font-family */
.p-font {
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif;
}

/* font-weight */
.p-font-bold {
  font-weight: 700;
}

/* line-height */
.p-leading-none {
  line-height: 0;
}

/* color */
.p-text-white {
  color: #fff;
}

.p-text-gry-c {
  color: #798086;
}

/* background-color */
.p-bg-white {
  background: #fff;
}

/* .p-bg-gray {
  background: #f5f5f5;
} */

.p-bg-main-a {
  background-color: #e1ecff;
}

.p-bg-main-b {
  background-color: #176cff;
}

.p-bg-main-c {
  background-color: #125ad7;
}

.p-bg-sub-a {
  background-color: #f7faff;
}

.p-bg-sub-b {
  background-color: #e1ecff;
}

.p-bg-gry-a {
  background-color: #e6eaed;
}

.p-bg-gry-b {
  background-color: #c9cccf;
}

.p-bg-gry-c {
  background-color: #798086;
}

.p-bg-gry-d {
  background-color: #61676b;
}

/* display */
.p-block {
  display: block;
}

.p-hidden {
  display: none;
}

/* align-items */
.p-items-center {
  align-items: center;
}

.p-justify-center {
  justify-content: center;
}

/* width */
.p-w-50 {
  width: 50px;
}

.p-max-w-50 {
  max-width: 50px;
}

/* margin */
.p-m-8 {
  margin: 8px !important;
}

.p-m-16 {
  margin: 16px;
}

.-p-m-16 {
  margin: -16px;
}

.p-mx-8 {
  margin-inline: 8px !important;
}

.p-mx-16 {
  margin-inline: 16px !important;
}

.p-mx-auto {
  margin-inline: auto !important;
}

.p-my-0 {
  margin-block: 0px;
}

.p-my-8 {
  margin-block: 8px;
}

.p-my-auto {
  margin-block: auto !important;
}

.p-mt-0 {
  margin-top: 0px;
}

.p-mt-8 {
  margin-top: 8px;
}

.p-mt-30 {
  margin-top: 30px;
}

.p-mb-0 {
  margin-bottom: 0px;
}

.p-mb-20 {
  margin-bottom: 20px;
}

.p-mb-40 {
  margin-bottom: 40px;
}

.p-mb-80 {
  margin-bottom: 80px;
}

/* padding */
.p-p-8 {
  padding: 8px;
}

.p-p-16 {
  padding: 16px;
}

.p-pt-80 {
  padding-top: 80px;
}

.p-pb-20 {
  padding-bottom: 20px;
}

.p-pb-40 {
  padding-bottom: 40px;
}

.p-pb-80 {
  padding-bottom: 80px;
}

.p-p-8 {
  padding: 8px;
}

.p-p-30 {
  padding: 30px;
}

.p-px-16 {
  padding-inline: 16px;
}

.p-px-32 {
  padding-inline: 32px;
}

.p-py-8 {
  padding-block: 8px;
}

.p-py-16 {
  padding-block: 16px;
}

.p-py-32 {
  padding-block: 32px;
}

/* border-radius */
.p-rounded-lg {
  border-radius: 8px;
}

.p-rounded-2xl {
  border-radius: 16px;
}

.p-rounded-t-lg {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.p-rounded-t-2xl {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* grid */
.p-grid {
  display: grid;
}

/* gap */
.p-gap-8 {
  gap: 8px;
}

.p-gap-16 {
  gap: 16px;
}

.p-grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.p-grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* text */
.p-text-xs {
  font-size: 12px;
  line-height: calc(1 / 0.75);
}

.p-text-sm {
  font-size: 14px;
  line-height: calc(1.25 / 0.875);
}

.p-text-base {
  font-size: 16px;
  line-height: calc(1.5 / 1);
}

.p-text-lg {
  font-size: 18px;
  line-height: calc(1.75 / 1.125);
}

.p-text-xl {
  font-size: 20px;
  line-height: calc(1.75 / 1.25);
}

.p-text-2xl {
  font-size: 24px;
  line-height: calc(2 / 1.5);
}

.p-text-3xl {
  font-size: 30px;
  line-height: calc(2.25 / 1.875);
}

.p-text-4xl {
  font-size: 36px;
  line-height: calc(2.5 / 2.25);
}

.p-text-5xl {
  font-size: 48px;
  line-height: 1;
}

.p-text-7xl {
  font-size: 72px;
  line-height: 1;
}

/* text align */
.p-text-left {
  text-align: left;
}

.p-text-center {
  text-align: center;
}

/* flex */
.p-flex {
  display: flex;
}

.p-flex-wrap {
  flex-wrap: wrap;
}

.p-basis-1\/1 {
  flex-basis: calc(100% / 1);
}

.p-basis-1\/2 {
  flex-basis: calc(100% / 2);
}

.p-basis-1\/3 {
  flex-basis: calc(100% / 3);
}

.p-basis-2\/3 {
  flex-basis: calc(100% * 2 / 3);
}

.p-basis-1\/4 {
  flex-basis: calc(100% * 1 / 4);
}

.p-basis-3\/4 {
  flex-basis: calc(100% * 3 / 4);
}

.p-basis-1\/5 {
  flex-basis: calc(100% * 1 / 5);
}

.p-basis-2\/5 {
  flex-basis: calc(100% * 2 / 5);
}

.p-basis-3\/5 {
  flex-basis: calc(100% * 3 / 5);
}

.p-basis-4\/5 {
  flex-basis: calc(100% * 4 / 5);
}

/* XXX */
.p-steps-item,
.p-steps-item-light {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-steps-number-dark,
.p-steps-number-light {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  z-index: 2;
}

.p-steps-number-dark {
  color: #e1ecff;
  background: #176cff;
}

.p-steps-number-light {
  color: #176cff;
  background: #e1ecff;
}

.p-grid-areas-note {
  grid-area: note;
}

.p-grid-areas-arrow1 {
  grid-area: arrow1;
}

.p-grid-areas-arrow2 {
  grid-area: arrow2;
}

.p-grid-areas-arrow3 {
  grid-area: arrow3;
}

.p-grid-areas-arrow4 {
  grid-area: arrow4;
}

.p-grid-areas-arrow5 {
  grid-area: arrow5;
}

.p-grid-areas-card1 {
  grid-area: card1;
}

.p-grid-areas-card2 {
  grid-area: card2;
}

.p-grid-areas-card3 {
  grid-area: card3;
}

.p-grid-areas-card4 {
  grid-area: card4;
}

.p-grid-areas-card5 {
  grid-area: card5;
}

.p-grid-areas-note {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .p-grid-areas-steps {
    grid-template-columns: 20px 40px 1fr;
    grid-auto-rows: minmax(50px, auto);
    align-items: stretch;
    grid-template-areas:
      ". arrow1 card1"
      ". arrow2 card2"
      "note arrow3 card3"
      "note arrow4 card4"
      ". arrow5 card5";
  }

  .p-grid-areas-note {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
}

@media (min-width: 1024px) {
  .p-grid-areas-steps {
    grid-template-areas:
      ". . note note ."
      "arrow1 arrow2 arrow3 arrow4 arrow5"
      "card1 card2 card3 card4 card5";
  }
}

/* sm + md */
@media (max-width: 1023px) {

  .p-steps-item::before,
  .p-steps-item::after,
  .p-steps-item-light::before,
  .p-steps-item-light::after {
    content: "";
    background-image: linear-gradient(to bottom, #176cff 4px);
    height: 50%;
    width: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* margin-top: -8px;
    margin-bottom: -8px; */
  }

  .p-steps-item::before,
  .p-steps-item-light::before {
    top: 0;
  }

  .p-steps-item::after,
  .p-steps-item-light::after {
    bottom: 0;
  }

  .p-steps-item-light::before,
  .p-steps-item-light::after {
    background-image: linear-gradient(to bottom, #e1ecff 4px, transparent 4px);
    background-size: 100% 8px;
  }
}

/* lg */
@media (min-width: 1024px) {

  .p-steps-item::before,
  .p-steps-item::after,
  .p-steps-item-light::before,
  .p-steps-item-light::after {
    content: "";
    background-image: linear-gradient(to right, #176cff 4px);
    height: 4px;
    width: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* margin-left: -8px;
    margin-right: -8px; */
  }

  .p-steps-item::before,
  .p-steps-item-light::before {
    left: 0;
  }

  .p-steps-item::after,
  .p-steps-item-light::after {
    right: 0;
  }

  .p-steps-item-light::before,
  .p-steps-item-light::after {
    background-image: linear-gradient(to right, #e1ecff 4px, transparent 4px) !important;
    background-size: 8px 100%;
  }
}

/* tag */
/* .p-tag {
  background: #e5e9f1;
  text-align: center;
  padding: 8px 16px;
} */

.p-container {
  width: 100%;
  margin: 0 auto;
}

/* Small (>=640px) */
@media (min-width: 640px) {
  .p-container {
    max-width: 640px
  }

  /* grid */
  .sm\:p-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:p-px-32 {
    padding-inline: 32px;
  }

  .sm\:p-p-30 {
    padding: 30px;
  }

  /* text */
  .sm\:p-text-xs {
    font-size: 12px;
    line-height: calc(1 / 0.75);
  }

  .sm\:p-text-sm {
    font-size: 14px;
    line-height: calc(1.25 / 0.875);
  }

  .sm\:p-text-base {
    font-size: 16px;
    line-height: calc(1.5 / 1);
  }

  .sm\:p-text-lg {
    font-size: 18px;
    line-height: calc(1.75 / 1.125);
  }

  .sm\:p-text-xl {
    font-size: 20px;
    line-height: calc(1.75 / 1.25);
  }

  .sm\:p-text-2xl {
    font-size: 24px;
    line-height: calc(2 / 1.5);
  }

  .sm\:p-text-3xl {
    font-size: 30px;
    line-height: calc(2.25 / 1.875);
  }

  .sm\:p-text-4xl {
    font-size: 36px;
    line-height: calc(2.5 / 2.25);
  }

  .sm\:p-text-5xl {
    font-size: 48px;
    line-height: 1;
  }

  .sm\:p-text-7xl {
    font-size: 72px;
    line-height: 1;
  }
}

/* Medium (>=768px) */
@media (min-width: 768px) {
  .p-container {
    max-width: 768px
  }

  .md\:p-basis-1\/2 {
    flex-basis: calc(100% / 2);
  }

  /* text */
  .md\:p-text-xs {
    font-size: 12px;
    line-height: calc(1 / 0.75);
  }

  .md\:p-text-sm {
    font-size: 14px;
    line-height: calc(1.25 / 0.875);
  }

  .md\:p-text-base {
    font-size: 16px;
    line-height: calc(1.5 / 1);
  }

  .md\:p-text-lg {
    font-size: 18px;
    line-height: calc(1.75 / 1.125);
  }

  .md\:p-text-xl {
    font-size: 20px;
    line-height: calc(1.75 / 1.25);
  }

  .md\:p-text-2xl {
    font-size: 24px;
    line-height: calc(2 / 1.5);
  }

  .md\:p-text-3xl {
    font-size: 30px;
    line-height: calc(2.25 / 1.875);
  }

  .md\:p-text-4xl {
    font-size: 36px;
    line-height: calc(2.5 / 2.25);
  }

  .md\:p-text-5xl {
    font-size: 48px;
    line-height: 1;
  }

  .md\:p-text-7xl {
    font-size: 72px;
    line-height: 1;
  }
}

/* Large (>=1024px) */
@media (min-width: 1024px) {
  .p-container {
    max-width: 1024px
  }

  /* line-height */
  .lg\:p-leading-40 {
    line-height: 40px;
  }

  /* text */
  .lg\:p-text-xs {
    font-size: 12px;
    line-height: calc(1 / 0.75);
  }

  .lg\:p-text-sm {
    font-size: 14px;
    line-height: calc(1.25 / 0.875);
  }

  .lg\:p-text-base {
    font-size: 16px;
    line-height: calc(1.5 / 1);
  }

  .lg\:p-text-lg {
    font-size: 18px;
    line-height: calc(1.75 / 1.125);
  }

  .lg\:p-text-xl {
    font-size: 20px;
    line-height: calc(1.75 / 1.25);
  }

  .lg\:p-text-2xl {
    font-size: 24px;
    line-height: calc(2 / 1.5);
  }

  .lg\:p-text-3xl {
    font-size: 30px;
    line-height: calc(2.25 / 1.875);
  }

  .lg\:p-text-4xl {
    font-size: 36px;
    line-height: calc(2.5 / 2.25);
  }

  .lg\:p-text-5xl {
    font-size: 48px;
    line-height: 1;
  }

  .lg\:p-text-7xl {
    font-size: 72px;
    line-height: 1;
  }

  /* padding */
  .lg\:p-px-0 {
    padding-inline: 0px;
  }

  .lg\:p-p-16 {
    padding: 16px;
  }

  /* display */
  .lg\:p-block {
    display: block;
  }

  .lg\:p-hidden {
    display: none;
  }

  .lg\:p-flex-wrap {
    flex-wrap: wrap;
  }

  /* margin */
  .lg\:p-mx-0 {
    margin-inline: 0px !important;
  }

  .lg\:p-mx-auto {
    margin-inline: auto !important;
  }

  .lg\:p-mt-40 {
    margin-top: 40px;
  }

  .lg\:p-mt-50 {
    margin-top: 50px;
  }

  .lg\:p-mt-60 {
    margin-top: 60px;
  }

  .lg\:p-text-center {
    text-align: center;
  }

  /* grid */
  .lg\:p-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .lg\:p-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:p-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:p-basis-1\/1 {
    flex-basis: calc(100% / 1);
  }

  .lg\:p-basis-1\/3 {
    flex-basis: calc(100% / 3);
  }

  .lg\:p-basis-1\/5 {
    flex-basis: calc(100% / 5);
  }

  .lg\:p-flex {
    display: flex;
  }

}

/* Extra Large (>=1280px) */
@media (min-width: 1280px) {
  .p-container {
    /* max-width: 1280px; */
    max-width: 1240px;
  }

  /* text */
  .xl\:p-text-xs {
    font-size: 12px;
    line-height: calc(1 / 0.75);
  }

  .xl\:p-text-sm {
    font-size: 14px;
    line-height: calc(1.25 / 0.875);
  }

  .xl\:p-text-base {
    font-size: 16px;
    line-height: calc(1.5 / 1);
  }

  .xl\:p-text-lg {
    font-size: 18px;
    line-height: calc(1.75 / 1.125);
  }

  .xl\:p-text-xl {
    font-size: 20px;
    line-height: calc(1.75 / 1.25);
  }

  .xl\:p-text-2xl {
    font-size: 24px;
    line-height: calc(2 / 1.5);
  }

  .xl\:p-text-3xl {
    font-size: 30px;
    line-height: calc(2.25 / 1.875);
  }

  .xl\:p-text-4xl {
    font-size: 36px;
    line-height: calc(2.5 / 2.25);
  }

  .xl\:p-text-5xl {
    font-size: 48px;
    line-height: 1;
  }

  .xl\:p-text-7xl {
    font-size: 72px;
    line-height: 1;
  }
}

/* 2XL (>=1536px) */
@media (min-width: 1536px) {
  .p-container {
    /* max-width: 1536px; */
    max-width: 1240px;
  }
}

/* accordion */
.p-accordion-item {
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f7faff;
  overflow: hidden;
}

.p-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-left: 12px solid #176cff;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  list-style: none;
}

.p-accordion-header::after {
  content: "＋";
  font-size: 22px;
  transition: transform 0.3s, content 1.3s;
  margin-left: 10px;
}

.p-accordion-item[open] .p-accordion-header::after {
  content: "－";
  transform: rotate(180deg);
}

.p-accordion-panel {
  background: #fff;
  overflow: hidden;
  max-height: 0;
  /* transition: transform 1.0s cubic-bezier(0.4, 0, 0.2, 1); */
  padding: 0 16px;
}

.p-accordion-item[open] .p-accordion-panel {
  max-height: 2000px;
  /* padding: 16px 48px; */
  padding: 32px;
}

/* button */
.p-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  /* min-width: 8em; */
  text-decoration: none;
  min-height: 3em;
  /* border-radius: 8px; */
  /* padding: .8em 1.5em; */
  padding-block: 16px;
  padding-left: 16px;
  padding-right: 45px;
  background-color: #fff;
  border: solid 1px;
  color: #176cff;
  border-color: #176cff;
  transition: background-color .1s;
  gap: 4px;
  box-shadow: 4px 4px 6px lightgray;
}

.p-btn:hover {
  color: #125AD7;
  background-color: #e1ecff;
  text-decoration: underline;
}

.p-btn-icon-bottom:after {
  content: "";
  position: absolute;
  right: 24px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.6em;
  height: 0.6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.p-btn-icon-right:after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(315deg);
  width: 0.6em;
  height: 0.6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

/* annotation */
ul.p-annotation {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

ul.p-annotation li::before {
  content: "※";
  margin-right: .25em;
}

ol.p-annotation {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

ol.p-annotation li {
  counter-increment: my-counter;
}

ol.p-annotation li::before {
  content: "※"counter(my-counter);
  margin-right: .5em;
}

/* tooltip */
.p-tooltip {
  /* 補足説明するテキストのスタイル */
  position: relative;
  cursor: pointer;
  padding: 0 5px;
  color: #4682b4;
}

.p-balloon_top {
  /* ツールチップのスタイル */
  width: 150px;
  /* 横幅 */
  position: absolute;
  left: 50%;
  bottom: 80%;
  /* Y軸の位置 */
  transform: translateX(-50%);
  margin-bottom: 15px;
  /* テキストとの距離 */
  padding: 8px;
  border-radius: 10px;
  /* 角の丸み */
  background-color: #666;
  /* ツールチップの背景色 */
  font-size: 0.7em;
  color: #fff;
  text-align: center;
  visibility: hidden;
  /* ツールチップを非表示に */
  opacity: 0;
  /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all;
  /* マウスオーバー時のアニメーション速度 */
}

.p-balloon_top::before {
  /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top: 12px solid #666;
  /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
}

.p-tooltip:hover .p-balloon_top {
  /* マウスオーバー時のスタイル */
  bottom: 100%;
  /* Y軸の位置 */
  visibility: visible;
  /* ツールチップを表示 */
  opacity: 1;
  /* 不透明度を100％に */
}

.p-tooltip::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  /* margin-left: 4px; */
  background: url('/first/kaiyaku/images/icon_circle-question-regular-full.svg') no-repeat center / contain;
  vertical-align: text-bottom;
}

.p-maker {
  background: linear-gradient(transparent 70%, #fbe380 0%);
  display: inline;
}

/* js */
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s, visibility 1.5s;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: none !important;
  margin: 0;
}

.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s, visibility 1.5s;
  height: auto;
  padding: initial;
  overflow: visible;
}

.p-em {
  background-color: #176cff;
  color: #fff;
}

.p-em:hover {
  background-color: #176cff;
  color: #fff;
  text-decoration: underline;
}