@charset "utf-8";
/* CSS Document */


/* -----------------------------------------
tokuyaku.css
ページ用css

＜class名ルール＞
接頭辞を付けない

＜その他ルールなど＞
・モバイルファーストで作成する。

----------------------------------------- */

.underline {
  background: linear-gradient(transparent 75%, #fff462 75%);
}

.red {
  color: #e83421;
  font-weight: bold;
}

.list-disc {
  margin: 0 15px !important;
}

.list-disc li {
  position: relative;
  font-size: 1.3rem;
  text-align: left;
  margin: 0 10px;
}

.list-disc li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: -8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color01);
}

.list-disc li p {
  margin-top: 1em;
}

.list-attn {
  font-size: 1.2rem;
  text-align: left;
  margin: 20px 25px !important;
}

.tableImage01 {
  width: calc(100% - 20px);
  margin: 20px 10px 15px;
}

.tableImage02 {
  width: calc(100% - 54px);
  margin: 20px 27px 15px;
}

h2 {
  position: relative;
  width: calc(100% + 30px);
  background: var(--color01);
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.8;
  margin: 0 0 35px -15px;
}

h2::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 25px solid var(--color01);
  border-bottom: 0;
}

h2 span {
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--color03);
}

.contract-link {
  display: flex;
  justify-content: center;
  margin: 15px 0 20px !important;
}

.contract-link li {
  position: relative;
  max-width: 162px;
  width: 30%;
  text-align: center;
  list-style: none;
  background: var(--color01);
  border-radius: 10px 10px 0 0;
}

.contract-link li a {
  display: block;
  height: 100%;
  padding: 8px 5px 15px;
}

.contract-link li::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateX(-50%) rotate(135deg);
}

.contract-link li:nth-child(n + 2) {
  margin-left: 12px;
}

.contract-link li a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.contract-link li a span {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color03);
}

.withContract,
.noContract {
  width: calc(100% + 30px);
  background: #dcf4bd;
  padding: 25px 15px;
  margin: 0 0 0 -15px;
}

.withContract-list,
.noContract-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 345px;
  margin: auto;
}

.withContract-list li,
.noContract-list li {
  position: relative;
  background: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
}

.withContract-list li a,
.noContract-list li a {
  padding: 15px 9px;
}

.withContract-list li a::before,
.noContract-list li a::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: translateX(-50%) rotate(135deg);
}

.withContract-list li:nth-child(1) {
  width: 100%;
  text-align: left;
  background-image: url(../img/tokuyaku/icon-osusume.png);
  background-position: 15px center;
  background-size: 80px auto;
  background-repeat: no-repeat;
  margin-bottom: 15px;
}

.withContract-list li:nth-child(1) a {
  display: block;
  padding-left: 108px;
}

.withContract-list li:nth-child(1)::before {
  content: none;
}

.withContract-list li:nth-child(1) img {
  margin-left: 0;
  margin-bottom: 0;
}

.withContract-list li:nth-child(n + 2) {
  width: 111px;
}

.withContract-list li:nth-child(n + 2) p {
  justify-content: center;
}

.withContract-list li:nth-child(n + 3) {
  margin-left: 6px;
}

.withContract-list li a,
.noContract-list li a {
  display: block;
  height: 100%;
  font-size: 1.3rem;
  text-decoration: none;
}

.noContract-list li {
  width: 165px;
}

.noContract-list li:nth-child(2) {
  margin-left: 14px;
}

.noContract-list li:nth-child(3) {
  width: 100%;
  margin-top: 15px;
}

.withContract-list li p,
.noContract-list li p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--color01);
  margin: auto;
}

.withContract-list li:nth-child(n + 2) p,
.noContract-list li:nth-child(n + 2) p {
  font-size: 1.5rem;
}

.noContract-list li p {
  justify-content: center;
  line-height: 1.6;
  margin-top: 15px;
}

.withContract-list li img {
  width: 40px;
  height: 40px;
  margin: 6px;
}

.withContract-list li:nth-child(n + 3) img {
  margin-top: 24px;
}

.withContract-content,
.noContract-content {
  max-width: 345px;
  background: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
  padding-bottom: 25px;
  margin: 15px auto;
}

.withContract-content-title {
  border-bottom: 1px solid var(--color01);
  padding: 15px 14px 0;
}

.withContract-content-title h4 {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.withContract-content-title h4 img {
  width: 40px;
  height: 40px;
  margin-right: 6px;
}

.withContract-content-title h4 span {
  font-size: 1.2rem;
  border: 1px solid #f0786b;
  color: #e83421;
  padding: 1px 6px;
  margin-left: auto;
}

.withContract-content-text {
  text-align: left;
  margin: 16px 50px 16px 25px;
}

.withContract-content-text span {
  display: block;
  margin-top: 1em;
}

.models {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 1.4rem;
  color: var(--color01);
  margin-bottom: 15px;
}

.models dd {
  display: flex;
  align-items: flex-end;
  margin-left: 13px;
}

.models dd.car img {
  width: 60px;
}

.models dd.bike img {
  width: 60px;
}

.models dd.motorizedBicycle img {
  width: 54px;
}

.withContract-content h5 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin: 20px auto 28px;
}

.withContract-support {
  position: relative;
  border: 1px solid var(--color01);
  padding: 30px 18px;
  margin: 25px 25px 0;
}

.withContract-compensation {
  position: relative;
  border: 1px solid var(--color01);
  padding: 30px 18px;
  margin: 0 25px;
}

.withContract-compensation {
  padding: 15px 18px;
}

.withContract-support h5,
.withContract-compensation h5 {
  position: absolute;
  top: -3.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22rem;
  font-size: 1.6rem;
  color: var(--color01);
  background: #fff;
}

.withContract-compensation h5 {
  width: 23rem;
}

.withContract-compensation p span:nth-of-type(1) {
  font-size: 3.5rem;
}

.withContract-compensation p span:nth-of-type(2) {
  font-size: 2.4rem;
}

.withContract-support-item {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 1.3rem;
}

.withContract-support-item:nth-of-type(1) {
  position: relative;
  margin-bottom: 44px;
}

.withContract-support-item:nth-of-type(1)::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: 122%;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-right: 28px solid transparent;
  border-left: 28px solid transparent;
  border-top: 18px solid var(--color01);
  border-bottom: 0;
}

.withContract-support-item:nth-of-type(1) img {
  width: 101px;
  margin-right: 15px;
}

.withContract-support-item:nth-of-type(2) img {
  width: 65px;
  margin-left: 15px;
}

.withContract-button {
  display: flex;
  align-items: center;
  background-image: url(../img/tokuyaku/icon-blank.png);
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: 96% center;
  background-color: var(--color01);
  border-radius: 3px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  padding: 15px;
  margin: 20px 25px 0;
  cursor: pointer;
}

.withContract-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  border: 1px solid #fff;
  margin: 0 16px 0 10px;
}

.noContract-inner {
  padding: 15px 15px 0;
}

.noContract-inner p {
  font-size: 1.6rem;
}

.noContract-inner p span.s_fontS {
  font-size: 1.3rem;
}

.noContract-inner p .num {
  font-size: 2.3rem;
}

.noContract-inner p.attn {
  font-size: 1.2rem;
  font-weight: normal;
}

.noContract-content h4 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: var(--color01);
  padding: 12px;
}

.noContract-content h4 span {
  color: var(--color03);
}

.noContract-content h4 sup {
  font-size: 1rem;
  margin-top: -18px;
}

.noContract-content h5 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: left;
  padding: 0 10px;
}

.noContract-content p {
  text-align: left;
}

.noContract-content-title {
  border-bottom: 1px solid var(--color01);
  padding: 15px 15px 0;
}

.noContract-content-title h5 {
  display: flex;
  align-items: center;
  padding: 0;
}

.noContract-content-title h5 img {
  margin-right: 6px;
}

.noContract-content-title img {
  width: 40px;
}

.noContract-content .list-disc {
  margin-top: 15px !important;
}

.noContract-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: 96% center;
  background-color: var(--color01);
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  padding: 15px;
  margin: 20px 10px 0;
}

.noContract-button::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: translateY(-50%) rotate(135deg);
}

.noContract-button a {
  text-decoration: none;
  font-weight: bold;
}

.rent-attn {
  margin: 10px 25px 0;
}

.is-popup::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
}

.popup {
  position: fixed;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  width: 88%;
  max-height: 70vh;
  display: none;
  z-index: 100;
}

.popup-close {
  position: absolute;
  top: -20px;
  right: -20px;
}

.popup-close img {
  width: 40px;
  height: 40px;
}

.popup-head {
  display: flex;
  align-items: center;
  background: var(--color01);
  color: #fff;
  line-height: 1.4;
  border-radius: 6px 6px 0 0;
  padding: 15px;
}

.popup-head h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.popup-head h3 span {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 50px;
  border: 1px solid;
  padding: 0 8px;
  margin-left: 15px;
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 70vh;
  background: #fff;
  border: 2px solid var(--color01);
  border-radius: 0 0 6px 6px;
  padding: 15px;
  overflow-y: auto;
}

.popup-content img {
  max-width: 281px;
  width: 90%;
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 3.6rem;
    margin-bottom: 58px;
  }

  h2 span {
    font-size: 4.6rem;
  }

  h2::before {
    bottom: -40px;
    border-top-width: 40px;
    border-right-width: 25px;
    border-left-width: 25px;
  }

  .withContract,
  .noContract {
    width: calc(100% + 60px);
    margin: 0 0 0 -30px;
  }

  .contract-link {
    max-width: var(--innerW);
    width: 100%;
    margin: 36px auto 49px !important;
  }

  .contract-link li {
    max-width: 566px;
    width: 50%;
    height: 100px;
  }

  .contract-link li::before {
    bottom: 12px;
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .contract-link li:last-child {
    margin-left: 8px;
  }

  .contract-link li a {
    font-size: 2.2rem;
    padding-top: 12px;
  }

  .contract-link li:nth-child(1) a {
    padding-top: 25px;
  }

  .contract-link li:nth-child(2) a {
    padding-top: 25px;
  }

  .contract-link li a span {
    font-size: 2.6rem;
  }

  .withContract-list,
  .noContract-list {
    max-width: 940px;
    margin-bottom: 112px !important;
  }

  .withContract-list li a,
  .noContract-list li a {
    font-size: 2rem;
  }

  .withContract-list li a::before,
  .noContract-list li a::before {
    content: '';
    bottom: 25px;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .withContract-list li:nth-child(n + 2) p,
  .noContract-list li:nth-child(n + 2) p {
    font-size: 2.4rem;
  }

  .withContract-list li:nth-child(1) {
    height: 130px;
    background-size: 132px auto;
    background-position-x: 111px;
    padding: 0;
  }

  .withContract-list li:nth-child(1) a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 0;
  }

  .withContract-list li:nth-child(1) a::before {
    content: '';
    top: 50%;
    right: 33px;
    bottom: inherit;
    left: auto;
  }

  .withContract-list li:nth-child(1) p {
    display: flex;
    align-items: center;
    margin: 15px 0 0;
  }

  .withContract-list li:nth-child(1) p img {
    margin: 0 10px 0 0;
  }

  .withContract-list li:nth-child(n + 2) {
    max-width: 300px;
    width: 33%;
    height: 239px;
    text-align: center;
  }

  .withContract-list li:nth-child(n + 2) a {
    padding: 32px 18px;
  }

  .withContract-list li:nth-child(n + 3) {
    margin-left: 20px;
  }

  .noContract-list li {
    width: 50%;
    max-width: 460px;
  }

  .noContract-list li:nth-child(3) {
    max-width: 940px;
  }

  .withContract-list li p,
  .noContract-list li p {
    font-size: 2.4rem;
  }

  .withContract-list li img {
    display: block;
    width: 60px;
    height: 60px;
    margin: 11px auto 6px;
  }

  .withContract-list li:nth-child(n + 3) img {
    margin-top: 11px;
  }

  .withContract-content,
  .noContract-content {
    max-width: var(--innerW);
    padding-bottom: 56px;
    margin-top: 56px;
    margin-bottom: 56px;
  }

  .withContract-content-title {
    display: flex;
    align-items: center;
    border-width: 4px;
    padding: 20px 45px 18px 28px;
  }

  .withContract-content-title h4 {
    font-size: 2.4rem;
  }

  .withContract-content-title h4 img {
    width: 60px;
    height: 60px;
    margin-right: 9px;
  }

  .withContract-content-title h4 span {
    font-size: 1.6rem;
    margin-left: 18px;
  }

  .models {
    font-size: 1.8rem;
    margin-left: auto;
    margin-bottom: 0;
  }

  .models dd:nth-child(n + 2) {
    margin-left: 20px;
  }

  .models dd.car img {
    width: 84px;
  }

  .models dd.bike img {
    width: 84px;
  }

  .models dd.motorizedBicycle img {
    width: 72px;
  }

  .withContract-content h5 {
    font-size: 3rem;
    margin: 56px auto 32px;
  }

  .list-disc {
    max-width: 940px;
    width: 100%;
  margin: 0 auto 17px !important;
  }

  .list-disc li {
    font-size: 2rem;
    line-height: 1.6;
  }

  .list-disc li::before {
    width: 8px;
    height: 8px;
    top: 12px;
    left: -12px;
  }

  .list-attn {
    max-width: 940px;
    width: 100%;
    font-size: 1.4rem;
    line-height: 2.2rem;
    margin: auto !important;
  }

  .list-attn li {
    text-indent: -1em;
    margin-left: 1em !important;
  }

  .withContract-support,
  .withContract-compensation {
    max-width: 940px;
    width: 100%;
    margin: 56px auto 0;
  }

  .withContract-support h5 {
    width: 42rem;
    margin-top: 8px;
  }

  .withContract-support-item {
    display: flex;
    justify-content: center;
    font-size: 2.4rem;
  }

  .withContract-support-item .red {
    font-size: 3rem;
  }

  .withContract-support-item:nth-of-type(1) img {
    width: 220px;
    margin-right: 31px;
  }

  .withContract-support-item:nth-of-type(2) img {
    width: 166px;
    margin-left: 50px;
  }

  .withContract-support-item:nth-of-type(1)::before {
    top: 124%;
    border-top-width: 35px;
    border-right-width: 56px;
    border-left-width: 56px;
  }

  .withContract-button {
    justify-content: center;
    max-width: 940px;
    width: 100%;
    height: 60px;
    font-size: 2rem;
    background-size: auto 23px;
    border-radius: 6px;
    margin: 41px auto 0;
  }

  .withContract-compensation h5 {
    width: 32rem;
    font-size: 2.2rem;
    top: -74px;
    left: 20px;
    transform: translate(0, 0);
  }

  .withContract-compensation p {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    font-size: 1.8rem;
  }

  .withContract-compensation p span {
    font-size: 2.4rem;
  }

  .withContract-content .list-disc {
    margin-bottom: 15px;
  }

  .withContract-content .list-disc p {
    font-size: 1.4rem;
    margin-top: 4px;
  }

  .list-attn {
    max-width: 940px;
    width: 100%;
  }

  .withContract-content-text {
    max-width: 940px;
    width: 100%;
    font-size: 2rem;
    margin: 57px auto 19px;
  }

  .withContract-content-text span {
    font-size: 1.4rem;
  }

  .noContract-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
  }

  .noContract-list li a {
    width: 100%;
    padding-top: 32px;
  }

  .noContract-list li:nth-child(2) {
    margin-left: 20px;
  }

  .noContract-list li:nth-child(3) {
    margin-top: 31px;
  }

  .noContract-list li:nth-child(3) a {
    padding-top: 28px;
  }

  .noContract-list li:nth-child(3) a::before {
    content: '';
    top: 50%;
    right: 52px;
    bottom: inherit;
    left: auto;
  }

  .noContract-list li:nth-child(3) p {
    line-height: 3.4rem;
  }

  .noContract-content h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-size: 3.6rem;
  }

  .noContract-content h4 sup {
    font-size: 1.6rem;
  }

  .noContract-inner .models {
    margin-right: 30px;
  }

  .noContract-content h5 {
    font-size: 3rem;
    text-align: center;
    margin: 35px auto 37px;
  }

  .tableImage01 {
    max-width: 940px;
    width: 100%;
    margin: 50px auto 25px;
  }

  .tableImage02 {
    max-width: 940px;
    width: 100%;
    margin: 0 auto 50px;
  }

  .noContract-content p {
    max-width: 940px;
    width: 100%;
    font-size: 1.4rem;
    margin: auto;
  }

  .noContract-content-title {
    display: flex;
    border-width: 4px;
    padding: 21px 45px 17px 29px;
  }

  .noContract-content-title h5 {
    font-size: 2.4rem;
    margin: 0;
  }

  .noContract-content-title h5 img {
    width: 60px;
    height: 60px;
    margin-right: 9px;
  }

  .noContract-inner p {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    margin-top: 35px;
  }

  .noContract-inner p span.s_fontS {
    font-size: 2.4rem;
  }

  .noContract-inner p .num {
    font-size: 4.2rem;
  }

  .noContract-inner p.attn {
    font-size: 1.4rem;
  }

  .noContract-button {
    max-width: 940px;
    width: 100%;
    height: 60px;
    font-size: 2rem;
    border-radius: 6px;
    margin: 40px auto 0;
  }

  .noContract-button::before {
    right: 18px;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .noContract-content .list-disc {
    margin: 37px auto 17px !important;
  }

  .rent-attn {
    max-width: 940px;
    width: 100%;
    font-size: 1.4rem;
    margin: 10px auto 0;
  }

  .popup-head {
    font-size: 2rem;
    padding: 25px;
  }

  .popup-head h3 span {
    flex: 0 0 65px;
  }

  .popup-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: 70vh;
    background: #fff;
    border: 2px solid var(--color01);
    border-radius: 0 0 6px 6px;
    font-size: 2rem;
    overflow-y: auto;
    padding: 40px 32px;
  }

  .popup-content img {
    max-width: 281px;
    width: 90%;
    margin-left: 20px;
  }
}