@charset "UTF-8";

#lead > .inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 32px;
}
#lead .hl02_f2{
  margin-bottom: 1em;
  font-weight: bold;
}
#lead .img img{
  width: 100%;
}
#lead .content{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#flow{
  position: relative;
  background-color: #f3edd7;
  padding: 100px 0;
}
#flow ul.flowlist{
  margin-right: calc(30% + 40px);
}
#flow ul.flowlist > li{
  padding: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 32px;
}
#flow ul.flowlist > li:not(:last-child){
  border-bottom: 1px solid #ccc;
}
#flow ul.flowlist > li .num{
  font-size: 1.8em;
  color: #C7BCA9;
}
#flow ul.flowlist > li h3{
  font-size: 1.8em;
  font-weight: bold;
}
#flow .imgs{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 30%;
  overflow: hidden;
  border-radius: 30px 0 0 30px;
  padding: 0;
}
#flow .imgs img{
  width: 100%;
}

#contentFooter{
  text-align: center;
}
#contentFooter > .inner{
  padding: 0 32px;
}
#contentFooter span{
  font-size: 1.8em;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   SECTION 4: CTA Banner
   -------------------------------------------------------------------------- */
.cta-section {
    background-color: #d3a226;
    padding: 50px 40px;
    text-align: center;
    color: #ffffff;
    margin: 50px 0 0;
}

.cta-title {
    font-size: 1.625rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* サブテキストフォントサイズ拡大（1.125rem / 18px相当） */
.cta-sub {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-size: 1.0625rem;
    font-weight: bold;
    padding: 18px 45px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}
@media screen and (min-width: 1025px) and (max-width: 1220px) {
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
}
@media screen and (max-width: 767px) {
  #lead > .inner {
    grid-template-columns: 1fr;
  }
  #lead .hl02_f2 {
    font-size: 2em;
  }
  #lead .hl02_f2 br{
    display: none;
  }
  #flow ul.flowlist {
    margin-right: 0;
  }
  #flow .imgs {
    position: static;
    top: 0;
    transform: none;
    width: auto;
    border-radius: 0;
  }
    .cta-section {
        padding: 35px 20px;
        margin: 40px 0 0;
    }
    .cta-title {
        font-size: 1.25rem;
    }
    .btn-cta, .btn-hero {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9375rem;
    }
}
