main {
  padding-bottom: 45px;
}

@media (min-width: 768px) {
  main {
    padding-bottom: 95px;
  }
}

/* ヘッダー */
header h1 {
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  gap: 16px;
}

header h1 img.logo {
  width: 35%;
  max-width: 244px;
  height: auto;
}
header h1 div {
  display: flex;
  align-items: center;
}

header h1 div img.bayleaf {
  width: 20px;
  height: 36px;
}

header h1 div img.bayleaf:last-child {
  transform: scale(-1, 1);
}

header h1 div p {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

header h1 div p span:first-child {
  font-size: 7.9px;
  color: #463e36;
}

header h1 div p span:last-child {
  font-size: 12px;
  color: #fc8711;
}

@media (min-width: 768px) {
  header h1 {
    justify-content: center;
  }
  header h1 div p span:first-child {
    font-size: 10px;
  }

  header h1 div p span:last-child {
    font-size: 16px;
  }
}

/* h2 */

h2 {
  color: #fff;
  background-color: #00c7c7;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 8px;
}

h2 p {
  line-height: 26px;
}

h2 p span {
  background-color: #fff;
  color: #00c7c7;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 8px;
  margin-right: 8px;
  text-align: center;
}

/* ステッパー */

nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin-top: 16px;
}

nav div {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav div.stepper_disc {
  font-weight: bold;
  color: #fc8711;
  font-size: 14px;
}

nav span {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  font-weight: bold;
  color: #9d9894;
  border: 1px solid #9d9894;
  border-radius: 50%;
  text-align: center;
}

nav span.finish {
  color: #fc8711;
  border-color: #fc8711;
  background-color: #ffe6cd;
}

nav span.current {
  color: #fff;
  background-color: #fc8711;
  border-color: #fc8711;
}

nav hr {
  width: 10px;
  height: 2px;
  background-color: #dddad7;
}

nav hr.finish {
  background-color: #fc8711;
}

nav hr.final {
  display: none;
}

@media (min-width: 768px) {
  nav {
    gap: 24px;
    max-width: 720px;
  }
  nav div.stepper_disc {
    font-size: 18px;
  }
  nav span {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  nav hr {
    width: 16px;
  }
}

/* 「必須」アイコン */

.icon_required {
  background-color: #fe5359;
  color: #fff;
  font-size: 14px;
  max-width: 50px;
  padding: 4px 6px;
  border-radius: 8px;
  text-align: center;
  line-height: 22px;
  display: inline-block;
  margin-right: 4px;
}

/* インプットのガイド */

.input_with_label {
  position: relative;
}

.input_with_label p.input_example {
  position: absolute;
  top: 5px;
  left: 10px;
  transform: translateY(-50%);
  font-size: 10px;
  color: #463e36;
  display: none;
}
.zipCode .input_with_label p.input_example {
  left: 38px;
}
.input_with_label p.input_label_guide {
  position: absolute;
  top: 0;
  right: -10px;
  transform: translateY(-50%);
  font-size: 12px;
  background-color: #eaeaea;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px 4px;
  border-radius: 8px;
}

/* アイコンスタイル */

.answers_with_img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.answers_with_img img {
  width: 22px;
  height: 22px;
}

.select_with_img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.select_with_img img {
  width: 22px;
  height: 22px;
}

.select_with_img .birthday_select_boxes {
  margin: 0;
}

.select_boxes::after {
  right: 2px;
}

@media (min-width: 768px) {
  .answers_with_img > div,
  .answers_with_img > .input_with_label,
  .select_with_img .birthday_select_boxes {
    min-width: 260px;
  }
  .select_boxes::after {
    right: 8px;
  }
}

.answers_with_img .input_with_label {
  margin: 0;
}

/* 都道府県市区町村セレクトトグル */

#show_zipcode_helper {
  justify-self: center;
  max-width: 310px;
  padding: 8px 30px;
  border-radius: 8px;
  background-color: #fccd4b;
  color: #463e36;
  margin: 16px 0;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  font-size: 14px;
}

#show_zipcode_helper::after {
  content: '';
  display: block;
  position: absolute;
  top: calc(50% + 4px);
  right: 10px;
  transform: translateY(-50%);
  border: transparent 5px solid;
  border-top: #463e36 6px solid;
}

#show_zipcode_helper.open::after {
  transform: translateY(-100%) rotate(180deg);
}
