@charset "shift-jis";

.w830{
  max-width: 830px;
  margin: 0 auto;
}

.ttl_photo .heading{
  position: relative;
  max-height: 270px;
  overflow: hidden;
}
.ttl_photo .heading h2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
.ttl_photo .heading h2::after {
  margin-bottom: 0;
  border-bottom-color: #1db4dc;
}
.ttl_photo .heading .bg {
  width: 100%;
  height: 0;
  padding-top: 23.3076923%;
  background: url(/images/afi/ttl_photo.jpg) center center no-repeat;
  background-size: cover;
}
.ttl_photo .heading .bg-w {
  position: absolute;
  width: 40%;
  min-width: 270px;
  height: 100%;
  background-color: rgba(255,255,255,0.7);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.step ol{ counter-reset: step 0;}
.step ol > li{
  background: #fff;
  border: 1px solid #1eb4dc;
  border-radius: 8px;
  margin-top: 80px;
  padding: 60px 50px;
  font-size: 18px;
  text-align: center;
  position: relative;
}
.step ol > li::before{
  content: "";
  padding: 50px;
  background: url(/images/afi/bg_step_bl.svg) center center/contain no-repeat;
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
}
.step ol > li::after{
  counter-increment: step;
  content: counter(step);
  font-family: 'Josefin Slab', serif;
  font-size: 3.5em;
  font-weight: bold;
  color: #1eb4dc;
  position: absolute;
  top: -38px;
  left: 0;
  right: 0;
}
.step ol > li h3{
  font-size: 36px;
  color: #1eb4dc;
  margin-bottom: 30px;
}
.step ol > li img{ padding-top: 60px;}
.step ol > li > ul{
  font-size: 27px;
  font-weight: bold;
  margin-left: 16%;
  color: #ea5520;
  margin-bottom: 30px;
  text-align: left;
}
.step ol > li > ul li::before{
  content: "\025cb";
  font-weight: normal;
}

.dl_tbl{
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #1eb4dc;
  border-left: 1px solid #1eb4dc;
}
.dl_tbl dt{
  width: 30%;
  background: #EAF4F9;
  padding: 10px;
  border-right: 1px solid #1eb4dc;
  border-bottom: 1px solid #1eb4dc;
}
.dl_tbl dd{
  width: 70%;
  text-align: left;
  padding: 10px 30px;
  border-right: 1px solid #1eb4dc;
  border-bottom: 1px solid #1eb4dc;
}


/* sp */
@media screen and (max-width: 599px) {
  .ttl_photo .heading + .inner {
    padding-top: 10px;
  }
  .ttl_photo .heading h2 {
    position: static;
    transform: translateY(0);
    padding: 40px 10px 20px;
  }
  .ttl_photo .heading .bg-w {
    display: none;
  }
  
  .step ol{
    width: 92%;
    margin: 0 auto;
  }
  .step ol > li::before{ padding: 42px;}
  .step ol > li::after{
    font-size: 2.8em;
    top: -30px;
  }
  .step ol > li{
    padding: 60px 15px 0;
    font-size: 15px;
  }
  .step ol > li:first-of-type > img{ width: 268px;}
  .step ol > li:nth-of-type(2) > img{
    width: 197px;
    padding-bottom: 30px;
  }
  .step ol > li:nth-of-type(3) > img{
    width: 220px;
    padding-bottom: 30px;
  }
  .step ol > li h3{
    font-size: 27px;
    line-height: 1.5;
  }
  .step ol > li img { padding-top: 30px;}
  .step ol > li > ul{
    margin-left: 0;
    font-size: 18px;
    margin-top: 35px;
  }
  
  .dl_tbl{ line-height: 1.5;}
  .dl_tbl dt{ width: 40%;}
  .dl_tbl dd{
    width: 60%;
    padding: 10px;
  }
}

/* -----------------------------
# kiyaku
-------------------------------- */
.policy {
  max-height: 200px;
}
.kiyaku-area p,
.kiyaku-area ul,
.kiyaku-area .heading-01 {
  font-size: 12px;
}
.kiyaku-area .heading-01 {
  margin-bottom: 1em;
}
#start .kiyaku-area p + p {
  margin-bottom: 1em;
}
.policy iframe {
  width: 100%;
  margin-top: 2em;
  border: none;
}

/* -----------------------------
# privacy_policy
-------------------------------- */
.privacy_policy p,
.privacy_policy ul li {
  font-size: 12px;
}
#start .privacy_policy p + p {
  margin-bottom: 1em;
}
.privacy_policy ul {
  margin-bottom: 1em;
}
.privacy_policy .privacy_policy_ttl {
  margin-bottom: 1em;
  font-size: 13px;
  font-weight: bold;
}
.privacy_policy .heading-02 {
  margin: 1em 0;
}
