@charset "UTF-8";

header {
  h1 {
    margin: 0;
  }
}

#main {
  max-width: 1000px;
  margin-inline: auto;
  padding-bottom: 86px;
  margin-top: 139px;
}

@media screen and (max-width:960px) {
  #main {
    padding-inline: 5.3vw;
    padding-bottom: 30px;
    margin-top: 100px;
  }
}

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 70px;
  height: 52px;
  padding-block: 16px;
}

@media screen and (max-width:960px) {
  .breadcrumb {
    margin-top: 50px;
  }
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li:after {
  content: '>';
  color: #000000;
  font-size: 14px;
}

@media screen and (max-width:960px) {
  .breadcrumb li:after {
    font-size: 3.7vw;
  }
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  display: initial;
  background: initial;
  color: #000000;
  font-size: 14px;
  font-weight: initial;
}

@media screen and (max-width:960px) {
  .breadcrumb li a {
    font-size: 3.7vw;
  }
}

.breadcrumb li:first-child a span {
  text-decoration: underline;
}

.revision-company {
  text-align: right;
  margin-top: 3rem;
  font-size: 1.8rem;
}

.terms {
  margin-top: 80px;
}

@media screen and (max-width:960px) {
  .terms {
    margin-top: initial;
    margin-bottom: -30px;
  }
}

.title {
  font-weight: 900;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.16rem;
  position: relative;
  margin-bottom: 39px;
}

@media screen and (max-width:960px) {
  .title {
    font-size: 5.8vw;
    margin-bottom: 10vw;
  }
}

.title::before {
  position: absolute;
  border-bottom: 2px solid #000000;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  content: '';
}

.caution {
  margin-bottom: 60px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2;
}

@media screen and (max-width:960px) {
  .caution {
    font-size: 4.2vw;
    margin-bottom: 10vw;
  }
}

.rules {
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  position: relative;
  margin-bottom: 52px;
  text-align: left;
}

@media screen and (max-width:960px) {
  .rules {
    font-size: 6.4vw;
    margin-bottom: 10vw;
  }
}

.ordered-list {
  margin-block: 1rem;
  list-style-type: none;
  counter-reset: number;

  & > li:not(:root) {
    display: flex;
    gap: 14px;
    counter-increment: number;
    position: relative;
    margin-left: 0;
    margin-bottom: 0.75rem;
    padding-left: 0;

    &::before {
      content: "(" counter(number) ") ";
    }
  }

  &.tight {
    margin-block: 0;
    & > li:not(:root) {
      margin-bottom: 0;
    }
  }
}

.clause > li {
  margin-bottom: 50px;
}

.clause li h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  color: #000000;
  line-height: 1;
  margin-bottom: 24px;
}

@media screen and (max-width:960px) {
  .clause li h3 {
    font-size: 6.4vw;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
}

.clause li p {
  font-size: 16px;
  text-align: left;
  color: #000000;
  line-height: 2;
}

@media screen and (max-width:960px) {
  .clause li p {
    font-size: 4.2vw;
    line-height: 1.7;
  }
}

.clause > li > ul > li:first-child,
.clause > li > ol > li:first-child {
  list-style: none;
  padding-left: initial;
  margin-left: initial;
} 

.clause > li > ol li {
  font-size: 16px;
  padding-left: 6px;
  margin-left: 16px;
}

@media screen and (max-width:960px) {
  .clause > li ol li {
    font-size: 4.2vw;
    margin-left: 20px;
  }
}

#footer ul.-link li a::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: #6b6b6b;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.4em 0.6em;
  border-left-color: currentColor;
  border-right: 0;
  margin-right: 6px;
}

#footer p.-copyright {
  padding: 20px 80px 20px 0;
  background: initial;
  width: 100%;
  line-height: 1;
}

#footer img {
  max-width: 180px;
}

@media (min-width: 769px) {
  #footer img {
      max-width: 280px;
  }
}

@media (max-width: 768px) {
  div.-inner {
    display: contents;
  }
  #footer {
    padding: 40px 20px;
  }
  #footer ul.-link {
    margin-block: 40px;
    border-bottom: initial;
    padding: initial;
  }
  #footer ul li {
    margin-bottom: initial;
    padding-block: 20px;
    border-bottom: solid 1px #FFFFFF;
  }
  #footer ul li:last-child {
    border-bottom: initial;
  }
  #footer ul ul {
    margin-top: 16px;
    padding-left: 20px;
  }
  #footer ul ul li {
    border-bottom: initial;
    padding-block: initial;
    margin-bottom: 14px;
  }
  #footer ul ul li:last-child {
    margin-bottom: initial;
  }
  #footer ul ul li a {
    font-weight: initial;
    font-size: 1.4rem;
  }
  #footer ul li > p {
    font-weight: bold;
  }
  #footer ul li > p:not(:first-child) {
    margin-top: 14px;
  }
  #footer a {
    line-height: 1;
  }
  #footer ul.-policy {
    padding: initial;
    display: flex;
    gap: 16px;
  }
  #footer ul.-policy li {
    border-bottom: initial;
  }
  #footer ul.-policy li {
    border-bottom: initial;
    padding: initial;
  }
  #footer ul.-policy li {
    width: max-content;
  }
  #footer ul.-policy li a {
    font-size: 1.4rem;
    font-weight: initial;
  }
  #footer ul.-policy li:first-child {
    margin-bottom: 4px;
  }
  #footer p.-copyright {
    padding: initial;
    text-align: left;
    margin-top: 40px;
    font-size: 1.4rem;
  }
}


/* === begin: new-subsidy-modal (auto-appended) === */
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 10000; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .container { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); background:#fbfbfb; border:1px solid #ccc; max-width: 600px; width: 90%; max-height: 90%; overflow: auto; padding: 80px 18px 50px; border-radius: 4px; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .close_icon { position:absolute; top:20px; right:18px; width:42px; height:42px; border:2px solid #131930; border-radius:9999px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .terms_section { width: 80%; max-width:700px; margin: 24px auto 0; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .terms_list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .term_item input[type="checkbox"] { width:20px; height:20px; margin-top:3px; }
:is(#newSubsidyTermsModal, #newSubsidyCouponDialog) .modal .button_group { margin-top:12px; display:flex; gap:12px; justify-content:center; }
.gac_toast { position:fixed; left:50%; transform:translateX(-50%) translateY(20px); bottom:24px; background:rgba(0,0,0,.85); color:#fff; padding:10px 14px; border-radius:6px; font-size:14px; line-height:1.2; opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease; z-index:10010; }
.gac_toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
/* === end: new-subsidy-modal === */
