@charset "UTF-8";
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #333;
  font-family:
    "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "Meiryo", "メイリオ", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #0875b8;
}

p {
  margin: 0;
}

#container {
  max-width: 890px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

/* Header */
.lead-header {
  padding: 14px 16px;
  border-radius: 14px;
  background: #46aafa;
  color: #fff;
  text-align: center;
}

.lead-header h2 {
  margin: 0;
  font-size: 26px;
}

.lead-text {
  margin: 16px 0 28px;
  font-size: 16px;
}

/* Sections */
.info {
  position: relative;
  margin-top: 24px;
  padding: 20px 0 40px;
  border-top: 2px solid #46aafa;
  text-align: center;
}

.info__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #46aafa;
  font-size: 26px;
}

.info__title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 17px;
  height: 13px;
  margin: 0 0 0 -8px;
  background: #fff url(../images/edge.svg) no-repeat;
}

.badge {
  display: inline-block;
  margin-right: 6px;
  padding: 0 8px;
  border-radius: 4px;
  background: #e83820;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  vertical-align: 2px;
}

.info__lead {
  margin-bottom: 16px;
  color: #eb6143;
  font-size: 22px;
  font-weight: bold;
}

.info__sub {
  margin: -8px 0 20px;
  color: #eb6143;
  font-size: 18px;
  font-weight: bold;
}

.info__image {
  display: block;
  margin: 0 auto 20px;
  width: 255px;
}

.info__note {
  font-size: 16px;
}

.info__note-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
}

/* A-C marks */
.mark {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  margin: 0 2px;
  border-radius: 50%;
  background: #46aafa;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4em;
  text-align: center;
}

/* Methods (A-C) */
.methods {
  display: flex;
  text-align: left;
}

.method {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 15px;
  font-size: 16px;
}

.method + .method {
  border-left: 0;
  background: url(../images/dotte-v.svg) left top / 2px auto repeat-y;
}

.method:first-child {
  padding-left: 0;
}

.method:last-child {
  padding-right: 0;
}

.method__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  margin-bottom: 10px;
}

.method__image img {
  max-height: 100%;
}

.method__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.method__title .mark {
  margin: 0 4px 0 0;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.button {
  flex: 0 1 200px;
  padding: 10px 16px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.button--back {
  background: #595757;
}

.button--apply {
  background: #46aafa;
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 0 0 24px;
  text-align: center;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

footer a[target="_blank"][rel="nofollow"] {
  padding-right: 20px;
  background: url(../images/icon_blank.png) right center/20px auto no-repeat;
  margin-right: 8px;
}

footer a,
footer a:visited {
  color: #0875b8;
  text-decoration: none;
}

footer .logo {
  margin: 32px 0 16px;
}

footer .logo img {
  width: 131px;
}

.footer_desc {
  margin: 16px 0;
  font-size: 12px;
}

.footer_copyright {
  font-size: 10px;
}

.pc {
  display: inline;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  footer ul {
    flex-direction: column;
    gap: 0;
  }

  footer ul li {
    border-bottom: solid 1px #000000;
  }

  footer ul li a {
    display: block;
    padding: 14px;
  }

  footer a[target="_blank"][rel="nofollow"] {
    margin-right: 24px;
    padding-right: 0;
    background: url(../images/icon_blank.png) right center/28px auto no-repeat;
  }

  .pc {
    display: none;
  }

  .sp {
    display: inline;
  }
}

@media screen and (max-width: 600px) {
  footer a[target="_blank"][rel="nofollow"] {
    margin-right: 18px;
  }

  .methods {
    flex-direction: column;
  }

  .method,
  .method:first-child,
  .method:last-child {
    padding: 20px 0;
  }

  .method + .method {
    border-left: 0;
    background: url(../images/dotte-h.svg) left top / 6px 2px repeat-x;
  }

  .method:first-child {
    padding-top: 0;
  }

  .method__image {
    height: auto;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 280px;
    flex: none;
  }
}

@media screen and (max-width: 500px) {
  footer a[target="_blank"][rel="nofollow"] {
    background: url(../images/icon_blank.png) right center/22px auto no-repeat;
  }
}

/* font-size overrides matching jal-gas/css/style.css */
@media screen and (max-width: 768px) {
  footer ul li {
    font-size: 32px;
  }

  .footer_desc {
    font-size: 24px;
  }

  .footer_copyright {
    font-size: 18px;
  }
}

@media screen and (max-width: 700px) {
  .lead-header h2,
  .info__title {
    font-size: 20px;
  }

  .info__lead {
    font-size: 18px;
  }

  .button {
    font-size: 18px;
  }

  footer ul li {
    font-size: 26px;
  }

  .footer_desc {
    font-size: 22px;
  }

  .footer_copyright {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  footer ul li {
    font-size: 24px;
  }

  .footer_desc {
    font-size: 18px;
  }

  .footer_copyright {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  footer ul li {
    font-size: 22px;
  }

  .footer_desc {
    font-size: 16px;
  }

  .footer_copyright {
    font-size: 12px;
  }
}

@media screen and (max-width: 430px) {
  footer ul li {
    font-size: 18px;
  }

  .footer_desc {
    font-size: 14px;
  }
}
