@charset "utf-8";

/* ============================================================
   flow
============================================================ */

#main h1 {
  margin-bottom: 30px;
}
#main h1 img {
  width: 100%;
  max-width: 503px;
  height: auto;
}

#lead {
  margin-bottom: 30px;
}
#lead h2 img {
  width: 100%;
  max-width: 249px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}
#lead strong img {
  width: 100%;
  max-width: 149px;
  height: auto;
  float: right;
  margin: 0 0 12px 16px;
}
#lead p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

/* ページナビ */
#pagenavi {
  background: #f0f7f0;
  border: 1px solid #c8d8a0;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
#pagenavi ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
#pagenavi ol li {
  flex: 1;
  min-width: 80px;
}
#pagenavi ol li img {
  width: 100%;
  height: auto;
}
#pagenavi a#pnavi_hoshou img {
  width: 100%;
  max-width: 42px;
  height: auto;
}

/* 各ステップ共通 */
.f_item {
  border: 1px solid #d4b896;
  background: #fff9f0;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 8px;
  overflow: hidden;
}
.f_item h3 {
  margin-bottom: 12px;
  width: 100%;
}
.f_item h3 img {
  width: 100%;
  max-height: 45px;
  height: auto;
  object-fit: contain;
  object-position: left;
}
.f_item p.article {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}
.f_item ul {
  margin-bottom: 12px;
}
.f_item ul li {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #b83d14;
  padding-left: 1em;
}

.f_arrow {
  text-align: center;
  margin-bottom: 8px;
}
.f_arrow img {
  width: 100%;
  max-width: 886px;
  height: auto;
}

/* d1 お問合せ */
#d1_tel,
#d1_inq {
  margin-bottom: 16px;
}
#d1_tel p,
#d1_inq p {
  font-size: 0.85rem;
  margin-bottom: 6px;
}
#d1_tel address {
  font-size: 1.1rem;
  font-weight: bold;
  color: #900;
  font-style: normal;
  margin-bottom: 4px;
}
#d1_inq img {
  width: 100%;
  max-width: 274px;
  height: auto;
}

/* d2 */
#d2 strong img {
  width: 100%;
  max-width: 150px;
  height: auto;
  float: right;
  margin: 0 0 12px 16px;
}
#img2 {
  width: 100%;
  max-width: 207px;
  height: auto;
  display: block;
  margin-top: 12px;
  clear: both;
}

/* d3 */
#d3 img#img3 {
  width: 100%;
  max-width: 208px;
  height: auto;
  float: right;
  margin: 0 0 12px 16px;
}
#d3 a#btn_deliver img {
  width: 100%;
  max-width: 151px;
  height: auto;
  display: block;
  margin-top: 12px;
}

/* d4 */
#img4 {
  width: 100%;
  max-width: 172px;
  height: auto;
  display: block;
  margin-top: 12px;
}

/* d5 */
#return {
  background: #e8f4fb;
  border: 1px solid #a0c8e0;
  border-radius: 6px;
  padding: 16px;
  margin-top: 16px;
  overflow: hidden;
}
#return strong img {
  width: 100%;
  max-width: 258px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
#return p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
}
#img5 {
  width: 100%;
  max-width: 125px;
  height: auto;
  float: right;
  margin: 0 0 12px 16px;
}

/* d6・d7 */
#img6,
#img7 {
  width: 100%;
  max-width: 490px;
  height: auto;
  display: block;
  margin-top: 12px;
}

/* d8 */
#img8 {
  width: 100%;
  max-width: 321px;
  height: auto;
  display: block;
  margin-top: 12px;
  margin-bottom: 20px;
}
#hoshou {
  background: #fff0f5;
  border: 1px solid #e0a0b8;
  border-radius: 6px;
  padding: 16px;
  margin-top: 16px;
  overflow: hidden;
}
#hoshou h3 img {
  width: 100%;
  max-width: 265px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
#hoshou strong img {
  width: 100%;
  max-width: 451px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
#hoshou p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
}

/* ============================================================
   responsive (max 768px)
============================================================ */
@media (max-width: 768px) {

  #lead strong img {
    float: none;
    max-width: 100px;
    margin: 0 0 12px;
  }

  #pagenavi ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  #pagenavi ol li {
    min-width: unset;
    height: 120px;
    overflow: hidden;
  }
  #pagenavi ol li img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
  }

  #d2 strong img {
    float: none;
    max-width: 120px;
    margin: 0 0 12px;
  }

  #d3 img#img3 {
    float: none;
    max-width: 100%;
    margin: 0 0 12px;
  }

  #img5 {
    float: none;
    max-width: 100px;
    margin: 0 0 12px;
  }
}