html {
  scroll-behavior: smooth;
}
.header, .footer {
  background: #171717;
}
.header {
  & a.header-title {
    display: flex;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    align-items: center;

    &:hover {
      color: #c2c2c2;
    }
  }
}
.header + * {
  margin-top: 76px !important;
}
.copyright {
  color: #C2C2C2;
  font-size: 12px;
}
.container {
  margin-top: 1rem;
}
h1 {
  font-size: 24px;
  line-height: 150%;
  font-weight: bold;
  color: #171717;
  scroll-margin-top: 60px;
}
h2 {
  font-size: 32px;
  line-height: 150%;
  padding: 0.5rem 1rem;
  position: relative;
  color: #171717;
  margin-top: 3rem;
  scroll-margin-top: 60px;
}
h2:before {
  position: absolute;
  top: 22%;
  left: 0px;
  width: 6px;
  height: 60%;
  content: '';
  border-radius: 3px;
  background: #C2C2C2;
}
h3 {
  font-size: 18px;
  line-height: 150%;
  font-weight: bold;
  color: #606060;
  margin-bottom: 1rem;
  scroll-margin-top: 60px;
}
h4 {
  font-size: 24px;
  line-height: 150%;
  color: #171717;
  margin-bottom: 1rem;
  scroll-margin-top: 60px;
}
.lead {
  font-size: 18px;
  line-height: 150%;
  color: #171717;
}
a {
  color: #469565;
  text-decoration: underline;
  font-weight: bold;
  align-items: center;
  display: inline-flex;
}
a:hover {
  color: #3C3C3C;
}
.anchor {
  padding-top: 80px;
  margin-top: -80px;
}
.anchor-padding {
  padding-top: 40px;
}
.anchor-padding-short {
  padding-top: 40px;
}
a.blank-link {
  align-items: center;
  display: inline-flex;
}
a.blank-link:after {
  background: url(../img/icon-blank.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}
a.blank-link:hover:after {
  background-image: url(../img/icon-blank-hover.svg);
}

a.anchor-link:after {
  background: url(../img/icon-arrow-bottom.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}

a.anchor-link:hover:after {
  background-image: url(../img/icon-arrow-bottom-hover.svg);
}

a.anchor-above-link:after {
  background: url(../img/icon-arrow-top.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}

a.anchor-above-link:hover:after {
  background-image: url(../img/icon-arrow-top-hover.svg);
}

a.right-arrow-link:after {
  background: url(../img/icon-arrow-right.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}

a.right-arrow-link:hover:after {
  background-image: url(../img/icon-arrow-right-hover.svg);
}

.navbar a:hover {
  color: #C2C2C2;
}

.bold {
  font-weight: bold;
}

.sm {
  font-size: 14px;
  line-height: 150%;
  color: #818181;
  display: block;
  padding-left: .25rem;
}
.step {
  color: #3EA966;
  font-size: 32px;
  font-weight: bold;
}
.red {
  color: #C94B2C;
}
.mr-1 {
  margin-right: 1rem;
}
.mr-2 {
  margin-right: 2rem;
}
.mr-3 {
  margin-right: 3rem;
}
.ml-1 {
  margin-left: 1rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

hr {
  margin: 1rem 0;
  border: #EDEDED solid 2px;
}

.info-box {
  background: #F0F9FF;
  padding: 1rem 1rem .5rem;
  display: flex;
  border-radius: 0.5rem;
}
.warning-box {
  background: #FEF5DF;
  padding: 1rem 1rem .5rem;
  display: flex;
  border-radius: 0.5rem;
}
.box-icon {
  margin-right: .5rem;
  margin-top: -0.1rem;
}
.img {
  width: 100%;
}
.instruction-img {
  width: 100%;
  padding: 0 5%;
  filter: drop-shadow(1px 1px 4px #DEDEDE);
}
.instruction-img-no-shadow {
  width: 100%;
  padding: 0 5%;
}
.h-full {
  height: 100%;
  height: -moz-available;
  height: -webkit-fill-available;
  height: stretch;
}
.btn {
  font-size: 1.125rem;
  background: #FFFFFF;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: stretch;
  text-align: left;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
  padding: 1rem 2rem 1rem 1rem;
  border-left: 8px solid #3EA966;
  margin-bottom: 20px;
  position: relative;
  white-space: normal;
}
.btn::after {
  font-size: 18px;
  line-height: 1;
  position: absolute;
  top: calc(60% - 9px);
  right: 20px;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid #3EA966;
  border-right: 2px solid #3EA966;
  content: '';
  opacity: 1;
}
.btn:hover {
  background: #F2F9F7;
  box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}
.col-md-5 {
  max-width: 48%;
}
.return::before {
  background: url(../img/icon-arrow-left.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}
.next::after {
  background: url(../img/icon-arrow-next.svg) no-repeat center / contain;
  content: '';
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
}
.btn-nav {
  color: #397E54;
  background: #F4FAF6;
  padding: 6px;
  border-radius: 4px;
  text-decoration: none;
}
.btn-nav:hover {
  color: #397E54;
  background: #E8F6EC;
  text-decoration: none;
}
.button-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #3EA966;
}
.button-top:hover {
  background-color: #3C3C3C;
}
.button-top:hover path {
  fill: #FFF;
}
.btn-location {
  position: relative;
  bottom: 30px;
  right: -1080px;
}
.toc {
  position: relative;
  background: #FFF;
  border: 1px solid #3EA966;
  line-height: 1.8;
  padding: 1rem;
  margin: 2em 0 0.5em;
  border-radius: 0 4px 4px 4px;
}
.toc:after {
  /*タブ*/
  position: absolute;
  font-weight: 900;
  content: '目次';
  background: #3EA966;
  border: 1px solid #3EA966;
  color: #FFF;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 4px 16px;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.toc li a {
  font-weight: 300;
}
.label-required {
  color: #FFF;
  font-size: .75rem;
  font-weight: normal;
  background: #e08574;
  border: 1px solid #e08574;
  border-radius: 4px;
  padding: 2px;
  flex-direction: column;
  justify-content: center;
}
.label-conditional-required {
  color: #E08574;
  font-size: .75rem;
  font-weight: bold;
  background: var(--Neutral-gray10, #FFF);
  border: 1px solid var(--Secondary-red-dust-red-300, #E08574);
  border-radius: 4px;
  padding: 2px;
  flex-direction: column;
  justify-content: center;
}
.icon-in-text {
  vertical-align: text-bottom;
}
table {
  table-layout:fixed;
  border-collapse: collapse;
}

table th {
  font-size: 1rem; /*18px*/
  padding: 1rem;
  background: #C2C2C2;
}

table td {
  padding: 4px 16px;
}

td.bg-gray {
  background: rgba(0, 0, 0, .05);
}

td.bg-white {
  background: rgba(0, 0, 0, 0);
}

ul, ol {
  padding-left: 1.25rem;
}

li {
  padding: .5rem 0;
}

.toc li {
  padding: 0;
}

/* FAQ */
.answer {
  background: #F4F4F4;
  padding: 2rem 3rem;
  border-radius: 1rem;
}

@media screen and (max-width: 480px) {
  .col-12 .container {
    padding-right: 0;
    padding-left: 0;
  }

  .lead {
    font-size: 16px;
  }

  h1 {
    line-height: 80px;
  }

  h2 {
    font-size: 24px;
    margin-top: 2rem;
  }

  h3 {
    font-size: 16px;
    /* margin-top: 2rem; */
    margin-bottom: 0.25rem;
  }

  p {
    margin-top: .5rem;
  }

  .step {
    font-size: 28px;
  }

  .mt-3, .mt-4, .mt-5 {
    margin-top: 0 !important;
  }

  .img {
    display: none;
  }

  .instruction-img {
    margin-top: 1rem;
  }

  .col-md-5 {
    max-width: 100%;
  }

  .btn {
    border-left: 6px solid #3EA966;
  }

  .label-required {
    color: #e08574;
    font-size: .75rem;
    text-align: center;
    background: none;
    border: 0;
    padding: 0;
  }

  .instruction-img {
    padding: 0;
  }

  .warning-box p {
    padding: 0;
  }

  table th {
    font-size: 1rem;
  }

  .answer {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .renewal-hero {
    padding: 40px 15px;
  }
  .renewal-hero h1 {
    font-size: 1.8em;
  }
  .renewal-button-group {
    flex-direction: column;
  }
  .renewal-button {
    width: 100%;
  }
  .renewal-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet 横向き */
@media (orientation: landscape) {

  .lead {
    font-size: 1rem;
  }
}
/* Tablet 縦向き */
@media (orientation: portrait) {
  .col-md-5 {
    max-width: 100%;
  }

  .img {
    display: none;
  }
}
