@charset "utf-8";

/* reset */
main {
  margin-bottom: 60px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  main {
    margin-bottom: 30px;
  }
}
a.underline {
  color: var(--main-green);
  transition: all 0.5s;
  position: relative;
}
a.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--main-green);
  height: 1px;
  transition: all 0.5s;
}
a.underline:hover {
  opacity: 0.7;
  transition: all 0.5s;
}
a.underline:hover::after {
  left: 100%;
  width: 0;
  transition: all 0.5s;
}
#flow-contract a.underline::after {
  content: unset;
}
#flow-contract a.underline {
  text-decoration: underline;
  transition: all 0.3s;
}
#flow-contract a.underline:hover {
  text-decoration: none;
}
.estimate_btn {
  margin: 30px auto;
  text-align: center;
  display: flex;
  justify-content: center;
}
h2 {
  color: var(--main-green);
  margin-top: 51px;
}
@media (max-width: 767px) {
  h2 {
    font-size: 2.4rem;
    line-height: calc(35 / 24);
  }
}

.link-btn a {
  width: 400px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .link-btn a {
    width: 100%;
  }
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
}
@media (max-width: 767px) {
  .flex-row-sp {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: start;
    align-items: center;
  }
}
.flex-row .col2 {
  width: calc((100% - 40px) / 2);
}
.flex-row .col3 {
  width: calc((100% - 40px * 2) / 3);
}
@media (max-width: 767px) {
  .flex-row {
    flex-direction: column;
    gap: 20px;
  }
  .flex-row .col2,
  .flex-row .col3 {
    width: 100%;
  }
}

/* Telephone */
.shop {
  margin-top: 30px;
  border-radius: 20px;
}
.shop.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 42px;
  align-items: center;
  background-color: #eee;
  padding: 20px;
}
.shop.flex-row > * {
  width: calc((100% - 42px) / 2);
  text-align: center;
}
@media (max-width: 767px) {
  .shop.flex-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .shop.flex-row > * {
    width: 100%;
  }
  .shop.flex-row {
    padding: 20px 16px;
  }
}
.shop .info > p {
  padding: 0 9px;
}
.shop .info p {
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 700;
}
.shop .info > p.name {
  margin-top: 5px;
  font-size: 3rem;
  line-height: calc(45 / 30);
  font-weight: 700;
}
.shop .info > p.note {
  margin-top: 16px;
  font-weight: initial;
}
.shop .info > p.note_list {
  width: 400px;
  margin: 16px auto 0;
  text-align: left;
  padding: 0;
  display: block;
}
@media (max-width: 767px) {
  .shop .info p {
    font-size: 1.2rem;
    line-height: calc(21 / 14);
  }
  .shop .info > p.name {
    font-size: 2rem;
    line-height: calc(29 / 20);
  }
  .shop .info > p.note {
    margin-top: 9px;
  }
  .shop .info > p.note_list {
    width: 100%;
  }
}

.shop .telbox {
  /* margin-top: 30px; */
  background-color: #fff;
  display: grid;
  place-content: center;
  padding: 40px;
  border-radius: 10px;
}
.shop .telbox > p {
  text-align: center;
}
.shop .telbox > p.kind {
  font-size: 2rem;
  line-height: calc(29 / 20);
  font-weight: 700;
}
.shop .telbox > p.telno {
  margin-top: 2px;
  font-size: 4.4rem;
  line-height: calc(58 / 40);
  font-weight: 600;
  font-family: "Akshar", sans-serif;
  position: relative;
}
.shop .telbox > p.telno a {
  color: #ea081c;
  padding-left: 32px;
}
.shop .telbox > p.telno a::before {
  content: "\f095";
  position: absolute;
  left: 0;
  font-family: "Font Awesome 6 Pro";
  font-size: 2.6rem;
  line-height: calc(31 / 26);
  font-weight: 400;
  color: #999999;
  display: grid;
  place-content: center;
  height: 100%;
}
.shop .telbox > p.time {
  margin-top: 5px;
  font-size: 1.8rem;
  line-height: calc(27 / 18);
  font-weight: 500;
}

@media (max-width: 767px) {
  .shop .telbox {
    padding: 20px;
  }
  .shop .telbox > p.kind {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }
  .shop .telbox > p.telno {
    margin-top: 2px;
    font-size: 3.6rem;
    line-height: calc(48 / 36);
  }
  .shop .telbox > p.telno a::before {
    font-size: 2rem;
    line-height: calc(25 / 20);
  }
  .shop .telbox > p.time {
    font-size: 1.4rem;
    line-height: calc(20 / 14);
  }
}

/* Input */
input.zip,
input.lease_com_name,
input.fax {
  width: 240px;
  margin: 0 10px;
}
input.tel {
  width: 240px;
  margin-right: 10px;
}
/* input.zip2 {
  width: 84px;
  margin: 0 10px;
} */
input.date {
  width: 340px;
}
input.have {
  width: 100px;
  margin-right: 10px;
}
input.have_lease,
input.distance {
  width: 100px;
  margin: 0 10px;
}
.calendar {
  position: relative;
}
.calendar::before {
  content: "\f073";
  color: #ffffff;
  font-family: "Font Awesome 6 Pro";
  font-size: 2.4rem;
  font-weight: 300;
  line-height: calc(29 / 24);
  background-color: var(--main-green);
  padding: 8px 13px;
  border: 1.5px solid #cccccc;
  border-radius: 10px;
  margin-left: 10px;
  position: absolute;
  top: 0;
  right: -65px;
  height: 50px;
  width: 50px;
}

.grade {
  margin-bottom: 20px;
}

.other_addr {
  margin-top: 10px;
}

@media (max-width: 767px) {
  input.date {
    width: calc(100% - 63px - 10px);
  }
  input.tel {
    width: 100%;
  }
  input.fax {
    width: 74%;
    margin-top: 10px;
  }
  input.zip,
  input.lease_com_name {
    width: 240px;
    margin: 0;
  }

  .ui-datepicker-calendar tr {
    display: flex;
  }
}

.select-wrap {
  width: 340px;
}
@media (max-width: 767px) {
  .select-wrap {
    width: 100% !important;
  }
}

/* .table */
.table {
  margin-top: 39px;
}

table {
  width: 100%;
}
table th {
  width: 400px !important;
  font-size: 1.8rem;
  line-height: calc(29 / 18);
  font-weight: 700;
}
@media (max-width: 767px) {
  table th {
    width: 100% !important;
  }
}
table td {
  font-size: 1.8rem;
  line-height: calc(28 / 18);
  /* font-weight: 700; */
}
table th,
table td {
  padding: 20px;
  vertical-align: middle;
}
table th.top,
table td.top {
  vertical-align: top;
}

.table .flex-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 767px) {
  table th {
    width: 100%;
    display: block;
    font-size: 1.4rem;
    line-height: calc(26 / 14);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  table td {
    width: 100%;
    display: block;
    font-size: 1.4rem;
    line-height: calc(28 / 14);
  }
  table th {
    padding: 6px 10px;
  }
  table td {
    padding: 10px 20px;
  }
}

/* .agree */
.agree {
  margin-top: 40px;
}
.agree > p {
  font-size: 1.8rem;
  line-height: calc(28 / 18);
  text-align: center;
}
.agree > p.agreecheck {
  margin-top: 29px;
  font-weight: 700;
}
.button {
  margin-top: 60px;
}

@media (max-width: 767px) {
  .agree {
    margin-top: 20px;
  }
  .agree > p {
    font-size: 1.4rem;
    line-height: calc(28 / 14);
    text-align: left;
  }
  .agree > p.agreecheck {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 25px;
    text-align: center;
  }
  .button {
    margin-top: 30px;
  }
}

/* Accordion */
.accordion dl.accordion-item {
  margin-top: 40px;
}
.accordion dl.accordion-item dt {
  position: relative;
  width: 100%;
  z-index: 1;
  transition: all 0.3s;
  padding-right: 3rem;
  padding: 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: calc(32 / 20);
  background-color: #ffffff;
  border: 4px solid #cccccc;
  border-radius: 10px 10px 10px 10px;
  transition: all 0.3s;
}
.accordion dl.accordion-item dt small {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(32 / 16);
}
@media (max-width: 767px) {
  .accordion dl.accordion-item dt {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }
  .accordion dl.accordion-item dt small {
    font-size: 1.4rem;
    line-height: calc(24 / 14);
  }
}
.accordion dl.accordion-item dt:hover {
  /* opacity: .7; */
  transition: all 0.3s;
}
.accordion dl.accordion-item dt label {
  position: relative;
  display: block;
  padding: 24px 104px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .accordion dl.accordion-item dt label {
    padding: 13px 48px 13px 40px;
    padding: 20px 50px 20px 20px;
  }
}

.accordion dl.accordion-item dt::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 29px;
  background: var(--main-green);
  transform: translateY(-50%);
}
.accordion dl.accordion-item dt::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 29px;
  background: var(--main-green);
  transition: all 0.5s;
  transform: translateY(-50%) rotate(90deg);
}
@media (max-width: 767px) {
  .accordion dl.accordion-item dt::before,
  .accordion dl.accordion-item dt::after {
    width: 18px;
    right: 11px;
  }
}
.accordion dl.accordion-item input:checked + dt {
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}
.accordion dl.accordion-item input:checked + dt label::before {
  border-radius: 10px 0 0 0;
}
.accordion dl.accordion-item input:checked + dt::after {
  transform: translateY(-50%) rotate(180deg);
}
.accordion dl.accordion-item dd {
  position: relative;
  z-index: 0;
  padding: 0;
  background-color: #ffffff;
  border-left: 4px solid #cccccc;
  border-right: 4px solid #cccccc;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: all 0.5s;
  position: relative;
  border-radius: 0 0 10px 10px;
}
@media (max-width: 767px) {
  .accordion dl.accordion-item dd {
    padding: 0 0 0 40px;
  }
}
.accordion dl.accordion-item input:checked + dt + dd {
  max-height: 100%;
  grid-template-rows: 1fr;
  margin-bottom: 10px;
  border-bottom: 4px solid #cccccc;
}
@media (max-width: 767px) {
  .accordion dl.accordion-item input:checked + dt + dd {
    padding: 0;
  }
}
.accordion dl.accordion-item dd > p {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: all 0.5s;
  position: relative;
  font-size: 1.8rem;
  line-height: calc(28 / 18);
}
@media (max-width: 767px) {
  .accordion dl.accordion-item dd > p {
    font-size: 1.4rem;
    line-height: calc(24 / 14);
  }
}

.accordion dl.accordion-item dd > .table {
  margin-top: 0;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: all 0.5s;
}
.accordion dl.accordion-item input:checked + dt + dd > .table {
  grid-template-rows: 1fr;
}
.accordion dl.accordion-item dd table,
.accordion dl.accordion-item dd table tr,
.accordion dl.accordion-item dd table tr > * {
  border: none !important;
  border-radius: initial !important;
}
.flex-between {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#tsuyomi .tuyomi_txt {
  background-color: #effaf5;
  border-radius: 10px;
  padding: 20px;
  width: 275px;
}
#tsuyomi .tuyomi_txt h4 {
  color: var(--main-green);
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  margin: 10px 0;
}
#tsuyomi .text p {
  font-size: 1.8rem;
  font-feature-settings: "palt";
}

#tsuyomi .group_osaka {
  width: 609px;
  height: auto;
  margin: 0 auto 30px;
}
#tsuyomi .group_osaka img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  #tsuyomi .tuyomi_txt {
    width: 100%;
    margin: 10px 0;
  }
  #tsuyomi .tuyomi_txt h4 {
    font-size: 1.8rem;
  }
  #tsuyomi .text p {
    font-size: 1.4rem;
  }
  #tsuyomi .group_osaka {
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
  }
}

.group,
.toyota_bland {
  border: 8px solid #c4eedc;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 30px 30px 30px 0px;
  margin-inline: 40px;
}
.toyota_bland {
  margin-top: 20px;
}
.group h4,
.toyota_bland h4 {
  color: var(--main-green);
  font-weight: 700;
  font-size: 2.8rem;
  text-align: center;
  flex-basis: 40%;
  max-width: 230px;
  margin: 0 24px;
}
.group p,
.toyota_bland p {
  font-size: 1.8rem;
  padding-left: 25px;
  border-left: 4px solid #c4eedc;
  font-feature-settings: "palt";
}
@media (max-width: 768px) {
  .group,
  .toyota_bland {
    padding: 0px 12px 12px;
    margin-inline: 0;
    flex-wrap: wrap;
    border: 6px solid #c4eedc;
  }
  .group h4,
  .toyota_bland h4 {
    color: var(--main-green);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    flex-basis: 100%;
    max-width: unset;
    border-right: none;
    border-bottom: 4px solid #c4eedc;
    line-height: 2.5;
    margin: 0;
  }
  .group p,
  .toyota_bland p {
    font-size: 1.4rem;
    margin-left: 0;
    margin-top: 10px;
    padding-left: 0;
    border-left: none;
  }
}

.local {
  margin: 60px 40px 80px;
}
.local h4 {
  color: var(--main-green);
  font-weight: 700;
  font-size: 2.4rem;
  margin: 30px 0;
}
.local p {
  font-size: 1.8rem;
}
@media (max-width: 768px) {
  .local {
    margin: 30px 0 40px;
  }
  .local h4 {
    font-size: 1.8rem;
    margin: 15px 0;
    font-feature-settings: "palt";
  }
  .local p {
    font-size: 1.4rem;
  }
}
#bland {
  margin-top: 30px;
}
#bland img {
  width: 45%;
  height: auto;
}
#bland .flex-row {
  align-items: center;
}
#bland p {
  font-size: 1.8rem;
  flex-basis: 50%;
}

@media (max-width: 768px) {
  #bland img {
    width: 100%;
  }
  #bland p {
    font-size: 1.4rem;
    flex-basis: 100%;
  }
}

/* reasons */
#reasons {
  margin-top: 30px;
  position: relative;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  #reasons {
    margin-bottom: 40px;
  }
}
#reasons img {
  width: 100%;
  border-radius: initial;
}
@media (min-width: 768px) {
  #reasons::before {
    content: "";
    position: absolute;
    background-image: url(../../images/corporate-client/mv.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 803px;
    height: 420px;
    max-width: 803px;
    max-height: 420px;
    right: 0;
    top: 0;
    z-index: -2;
  }
}
@media (min-width: 1281px) and (max-width: 1540px) {
  #reasons::before {
    width: 53vw;
    height: 53vw;
    max-width: 803px;
    max-height: 420px;
  }
}
@media (max-width: 1280px) {
  #reasons::before {
    width: calc(803px * 0.85);
    height: calc(420px * 0.85);
  }
}
#reasons .main h2 {
  text-align: left;
}
#reasons .main .lead {
  margin-top: 21px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: calc(28 / 20);
  width: 590px;
}
@media (max-width: 767px) {
  #reasons .main h2 {
    margin-top: 0;
    text-align: center;
  }
  #reasons .main img {
    margin-top: 25px;
  }
  #reasons .main .lead {
    margin-top: 30px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: calc(28 / 16);
    width: 100%;
  }
}

#reasons .list {
  margin-top: 60px;
}
.list .col {
  background-color: #eeeeee;
  border-radius: 10px;
  padding: 20px 30px 27px;
}
.list .no {
  font-family: "Akshar", sans-serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: calc(58 / 44);
  color: #999999;
  text-align: center;
}
.list .reason {
  margin-top: 11px;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: calc(36 / 24);
  text-align: center;
  color: var(--main-green);
}
.list .note {
  font-size: 1.8rem;
  line-height: calc(28 / 18);
  text-align: left;
  margin-top: 20px;
}
@media (max-width: 767px) {
  #reasons .list {
    margin-top: 29px;
  }
  .list .no {
    font-size: 3.4rem;
    line-height: calc(46 / 34);
  }
  .list .reason {
    font-size: 1.8rem;
    line-height: calc(27 / 20);
    margin-top: -6px;
    text-align: left;
  }
  .list.flex-row {
    gap: 10px;
  }
  .list .note {
    margin-top: 15px;
    font-size: 1.4rem;
    line-height: calc(24 / 14);
  }
}

/* Tab Control */
ul.tablabel {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0 40px;
}
@media (max-width: 767px) {
  ul.tablabel {
    padding: 0;
    flex-wrap: wrap;
  }
}
ul.tablabel li {
  width: 100%;
  height: 100%;
  /*
  height: 100px;
  padding: 16px 0 29px;
  */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eeeeee;
  cursor: pointer;
  transition: 0.3s all;
  box-shadow: 3px -3px 5px rgba(0, 0, 0, 0.16) inset;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: calc(27 / 18);
  position: relative;
  text-align: center;
}
ul.tablabel li a {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-7px);
}
@media (max-width: 767px) {
  ul.tablabel li {
    width: 50%;
    height: 100%;
    /*
    height: 60px;
    padding: 5px 0 19px;
    */
    font-size: 1.2rem;
    line-height: calc(18 / 12);
    padding-bottom: 14px;
  }
  ul.tablabel li a {
    width: 100%;
    height: 60px;
    transform: none;
  }
}
ul.tablabel li::after {
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  position: absolute;
  bottom: 0;
  display: grid;
  place-content: center;
  font-size: 1.4rem;
}
@media (max-width: 767px) {
  ul.tablabel li::after {
    bottom: 0;
    right: unset;
  }
}
ul.tablabel li:first-child {
  border-radius: 10px 0 0 10px;
}
ul.tablabel li:last-child {
  border-radius: 0 10px 10px 0;
}

@media (max-width: 767px) {
  ul.tablabel li:first-child {
    border-radius: 10px 0 0 0;
  }
  ul.tablabel li:nth-child(2) {
    border-radius: 0 10px 0 0;
  }
  ul.tablabel li:nth-child(3) {
    border-radius: 0;
  }
  ul.tablabel li:nth-child(4) {
    border-radius: 0;
  }
  ul.tablabel li:last-child {
    border-radius: 0 0 10px 10px;
    width: 100%;
  }
}
ul.tablabel li:hover {
  background-color: var(--main-green);
  box-shadow: initial;
  color: #ffffff;
}
ul.tablabel li:hover a {
  color: #ffffff;
}
@media (max-width: 767px) {
  ul.tablabel li.now {
    width: 100%;
  }
}

/* services */
#services .tablabels {
  margin-top: 30px;
}
h3 {
  margin-top: 20px;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: calc(41 / 28);
  text-align: center;
}
@media (max-width: 767px) {
  h3 {
    margin-top: 10px;
    font-size: 2rem;
    line-height: calc(29 / 20);
  }

  #services .flex-row {
    padding: 20px;
  }
}
.gray-box {
  background-color: #eeeeee;
  border-radius: 0 0 20px 20px;
}
.h3-box {
  border-top: 2px solid var(--main-green);
  margin-top: 25px;
  padding: 40px;
  position: relative;
}
@media (max-width: 767px) {
  .h3-box {
    padding: 20px;
    margin: 22px calc(50% - 50vw);
    width: 100vw;
  }
}
.h3-box .text {
  text-align: left;
}
.h3-box::before {
  content: "";
  width: 200px;
  height: 4px;
  background: var(--main-green);
  position: absolute;
  top: -6px;
  left: calc(50% - 100px);
}
.h3-box .text .title {
  margin-top: 22px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: calc(32 / 24);
  color: var(--main-green);
}
.h3-box .text .note {
  margin-top: 18px;
  font-size: 1.8rem;
  line-height: calc(28 / 18);
}
#alliances-guide .h3-box .text .note,
#relief-safe .h3-box .text .note {
  padding-top: 0;
}
#relief-safe {
  margin-top: 60px;
  margin-bottom: 160px;
}
.h3-box .text .link-btn {
  margin-top: 39px;
  justify-content: start;
  width: 340px;
}
@media (max-width: 767px) {
  .h3-box .text .title {
    margin-top: 0;
    font-size: 1.9rem;
    line-height: calc(32 / 20);
    text-align: center;
  }
  .h3-box .text .note {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: calc(24 / 14);
  }
  .h3-box .text .link-btn {
    margin-top: 19px;
    width: 100%;
  }
  #relief-safe {
    margin-top: 40px;
    margin-bottom: 80px;
  }
}
.h3-box .text .about-service {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: calc(28 / 20);
}
.h3-box .text .services {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: calc(34 / 18);
}
.h3-box .text .services li {
  padding-left: 2rem;
  position: relative;
}
.h3-box .text .services li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-size: 2rem;
  font-weight: 400;
  line-height: calc(34 / 20);
  color: var(--main-green);
  position: absolute;
  left: 0;
}
.h3-box .text .etc-service {
  font-size: 1.8rem;
  line-height: calc(28 / 18);
}
@media (max-width: 767px) {
  .h3-box .text .about-service {
    font-size: 1.8rem;
  }
  .h3-box .text .services {
    font-size: 1.6rem;
  }
  .h3-box .text .services li::before {
    font-size: 1.8rem;
  }
  .h3-box .text .etc-service {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  #weekly-monthly .h3-box .flex-row .text {
    order: 2;
  }
  #weekly-monthly .h3-box .flex-row .image {
    order: 1;
  }
}

/*
 * カーリースのご案内
 */
.lease .tablabels-box {
  margin-top: 30px;
}
.lease ul.tablabel li {
  height: 100%;
}
.lease ul.tablabel li a {
  height: 60px;
}
@media (max-width: 767px) {
  .lease ul.tablabel li {
    padding-bottom: 0;
  }
  .lease ul.tablabel li a {
    transform: translateY(-2px);
  }
}
.lease p.lead {
  margin-top: 33px;
  text-align: center;
}
.lease .inner-box {
  padding: 0 40px;
}
@media (max-width: 767px) {
  .lease p.lead {
    text-align: left;
    margin-top: 15px;
  }
  .lease .inner-box {
    padding: 0;
  }
}

.lease .supplement {
  margin-top: 20px;
}
.lease .supplement p {
  font-size: 14px;
}
@media (max-width: 767px) {
  .lease .supplement {
    margin-top: 10px;
  }
}

.lease table.about {
  margin-top: 20px;
}
.lease table.about th {
  width: 288px !important;
}
@media (max-width: 767px) {
  .lease table.about th {
    width: initial !important;
    justify-content: center;
    text-align: center;
  }
  .lease table.about td {
    line-height: calc(21 / 14);
  }
}

.lease table.price th.ttl,
.lease table.price td.ttl {
  background-color: #cccccc;
  font-weight: 700;
  color: #333;
}
.lease table.price td {
  text-align: center;
  color: var(--main-green);
  position: relative;
}
.lease table.price td .black {
  color: var(--main-black);
}
.lease table.price tr td:last-child {
  border-left: 1px solid #cccccc;
}
.lease table.price td.ttl:not(:first-child) {
  border-left: 1px solid #ffffff;
}
.lease table.price td span.sup::after {
  content: "※";
  position: absolute;
  font-size: 1.2rem;
  color: var(--main-black);
}

#distinction table.price td {
  color: #333;
  text-align: left;
}
#distinction table.price.about td.ttl {
  text-align: center;
}
@media (max-width: 767px) {
  .lease table.price th {
    justify-content: center;
  }
  .lease table.price th.ttl {
    display: none;
  }
  .lease table.price td.ttl:last-child {
    border-left: 1px solid #ffffff !important;
  }
  .lease table.price td {
    width: 50%;
    display: inline-block;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }
  .lease table.price tr td:last-child {
    border-left: 1px solid #cccccc !important;
  }
  .lease table.price tr:first-child td {
    border-radius: 6px 0 0 0 !important;
  }
  .lease table.price tr:first-child td:last-child {
    border-radius: 0 6px 0 0 !important;
  }
  .lease table.price tr:last-child td {
    border-radius: 0 0 0 6px !important;
  }
  .lease table.price tr:last-child td:last-child {
    border-radius: 0 0 6px 0 !important;
  }
}

.lease .flex-row {
  flex-wrap: nowrap;
  gap: 0;
}

.lease .flex-row .col {
  width: calc((100% - 40px * 4) / 5);
}
.lease .flex-row .arrow {
  width: 40px;
  padding: 0;
  background-color: #ffffff;
  display: grid;
  place-content: center;
  justify-content: left;
}
@media (max-width: 767px) {
  .lease .flex-row {
    margin-top: 20px;
  }
  .lease .flex-row .col {
    width: 100%;
  }
  .lease .flex-row .arrow {
    justify-content: center;
  }
  .lease .flex-row-sp {
    justify-content: center;
  }
}

#flow-contract .list {
  margin-top: 30px;
}
@media (max-width: 767px) {
  #flow-contract .list {
    margin-top: 20px;
  }
}

#type {
  padding: 0;
  background-color: #ffffff;
}

/* Corporate Footer */
.corporate-footer {
  background-color: var(--main-black);
  padding: 40px 0;
}
@media (max-width: 767px) {
  .corporate-footer {
    padding: 23px 0 20px;
  }
}
.corporate-footer p {
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}
.corporate-footer p.announce {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: calc(41 / 28);
}
@media (max-width: 767px) {
  .corporate-footer p.announce {
    font-size: 2rem;
    line-height: calc(29 / 20);
  }
}
.corporate-footer .corp-box {
  border-top: 2px solid var(--main-green);
  margin-top: 24px;
  padding-top: 31px;
  position: relative;
}
.corporate-footer .corp-box::before {
  content: "";
  width: 200px;
  height: 4px;
  background: var(--main-green);
  position: absolute;
  top: -6px;
  left: calc(50% - 100px);
}
.corporate-footer .flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 42px;
}
.corporate-footer .flex-row > * {
  width: calc((100% - 42px) / 2);
}
@media (max-width: 767px) {
  .corporate-footer .flex-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .corporate-footer .flex-row > * {
    width: 100%;
  }
}
.corporate-footer .gray-box {
  background-color: #666666;
  display: grid;
  place-content: center;
  grid-template-columns: 100%;
  padding: 31px 40px 40px;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .corporate-footer .gray-box {
    padding: 21px 20px 20px;
  }
}
.corporate-footer .subtitle-wrap {
  text-align: center;
}
.corporate-footer p.subtitle {
  margin-top: 60px;
  font-size: 2.4rem;
  line-height: calc(36 / 24);
  position: relative;
  display: inline-block;
}
@media (max-width: 767px) {
  .corporate-footer p.subtitle {
    margin-top: 0;
    font-size: 1.8rem;
    line-height: calc(27 / 18);
    padding-left: 4rem;
  }
}
.corporate-footer .mail-icon::before,
.corporate-footer .tel-icon::before {
  font-family: "Font Awesome 6 Pro";
  font-size: 4rem;
  font-weight: 300;
  line-height: calc(48 / 40);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: -60px;
}
.corporate-footer .mail-icon::before {
  content: "\f0e0";
}
.corporate-footer .tel-icon::before {
  content: "\f095";
}
@media (max-width: 767px) {
  .corporate-footer .mail-icon::before,
  .corporate-footer .tel-icon::before {
    font-size: 3rem;
    line-height: calc(36 / 30);
    top: 0;
    left: 0;
    right: unset;
    display: grid;
    place-content: center;
    height: 100%;
  }
}

.corporate-footer .link-btn {
  margin-top: 9px;
}
.corporate-footer .link-btn:first-child {
  margin-top: 17px;
}
.corporate-footer .link-btn a {
  width: 540px;
  font-weight: 700;
}
@media (max-width: 767px) {
  .corporate-footer .link-btn a {
    width: 100%;
  }
}

.corporate-footer .telbox {
  margin-top: 41px;
  display: grid;
  place-content: center;
}
.corporate-footer .telbox > p.kind {
  font-size: 2rem;
  line-height: calc(29 / 20);
}
.corporate-footer .telbox > p.telno {
  margin-top: 9px;
  font-size: 3.6rem;
  line-height: calc(58 / 36);
  font-family: "Akshar", sans-serif;
  position: relative;
}
.corporate-footer .telbox > p.telno a {
  color: #ffffff;
  padding-left: 2.5rem;
  display: block;
}
.corporate-footer .telbox > p.telno a::before {
  content: "\f095";
  position: absolute;
  left: 0;
  font-family: "Font Awesome 6 Pro";
  font-size: 2.6rem;
  line-height: calc(31 / 26);
  font-weight: 400;
  color: #999999;
  display: grid;
  place-content: center;
  height: 100%;
}
.corporate-footer .telbox > p.time {
  margin-top: 5px;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 500;
}

@media (max-width: 767px) {
  .corporate-footer .telbox {
    margin-top: 18px;
  }
  .corporate-footer .telbox > p.kind {
    margin-top: 0;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }
  .corporate-footer .telbox > p.telno {
    margin-top: 0;
    font-size: 3.2rem;
    line-height: calc(43 / 32);
  }
  .corporate-footer .telbox > p.telno a {
    padding-left: 3rem;
  }
  .corporate-footer .telbox > p.telno a::before {
    font-size: 2rem;
    line-height: calc(25 / 20);
    color: #ffffff;
  }
  .corporate-footer .telbox > p.time {
    margin-top: 4px;
    font-size: 1.4rem;
    line-height: calc(20 / 14);
  }
}

#kind-lease,
#upsides,
#distinction,
#lease_back,
#lease_contact {
  margin-top: -110px;
  padding-top: 110px;
}

@media (max-width: 767px) {
  #kind-lease,
  #upsides,
  #distinction,
  #lease_back,
  #lease_contact {
    margin-top: -50px;
    padding-top: 50px;
  }
  .calendar::before {
    right: 0;
  }
}
