/* ===================== 共通 ===================== */

body {
  font-family: "Noto Sans JP", sans-serif, "Helvetica Neue", "Helvetica",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #424242;
  letter-spacing: 0.04em;
}

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

.text-link {
  color: #fa8200;
  text-decoration: underline;
}

.button {
  display: block;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer; /*hrefが入らない場合*/
  transition-duration: 0.2s;
}

.button-primary {
  color: #fff;
  background-color: #fa8200;
}

@media (hover: hover) {
  .button-primary:hover {
    background-color: #f47100;
  }
}

.button-secondary {
  color: #fa8200;
  background-color: #fff;
  border: #fa8200 1px solid;
}

@media (hover: hover) {
  .button-secondary:hover {
    background-color: #fff4e0;
  }
}

.note {
  font-size: 14px;
  padding-left: 1em;
  text-indent: -1em;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.note > li {
  margin-top: 8px;
}

.sp,
.sp-br {
  display: none;
}

@media only screen and (max-width: 768px) {
  .pc,
  .pc-br {
    display: none;
  }
  .sp,
  .sp-br {
    display: block;
  }
}

/*
フォーム
*/

input,
textarea,
select {
  width: 100%;
  height: 56px;
  padding: 16px;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #1c1c1c;
}

input:focus,
textarea:focus,
select:focus {
  outline: solid 2px #ffd300;
}

textarea {
  height: 160px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #1a1a1a;
  border-left: 1px solid #1a1a1a;
  transform: translateY(-50%) rotate(-135deg);
  pointer-events: none;
}

select {
  line-height: 1;
}

/* ===================== ページ共通 ===================== */

/* ヘッダー */

header {
  width: 100%;
  padding: 0 24px;
}

.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header__logo {
  display: block;
  width: auto;
  height: 32px;
}

@media only screen and (max-width: 1200px) {
  header {
    padding: 0 16px;
  }

  .header__wrap {
    height: 72px;
  }

  .header__logo {
    height: 24px;
  }
}

/* タイトル */

.title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  padding: 40px;
  background-color: #f5f5f5;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    padding: 24px;
  }
}

/* ===================== 入力画面 ===================== */

.entry {
  padding: 0 24px;
  margin-top: 64px;
}
.entry__wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.entry__flex {
  display: flex;
  gap: 32px;
}
.entry__item {
  flex: 1;
}
.entry__intro__heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.entry__intro__img {
  width: 520px;
}

.entry__intro__materials__heading {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
}
.entry__intro__materials__list {
  list-style: disc;
  padding-left: 24px;
}

.entry__intro__materials__note {
  margin-top: 40px;
}

@media only screen and (max-width: 768px) {
  .entry {
    padding: 0;
    margin-top: 40px;
  }
  .entry__flex {
    display: block;
  }
  .entry__item {
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .entry__intro__heading {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .entry__intro__materials__heading {
    font-size: 18px;
    margin: 18px 0 4px;
  }
  .entry__intro__materials__note {
    margin-top: 24px;
  }

  .entry__form {
    padding: 0;
  }
}

/* ===================== 完了画面 ===================== */

.download {
  padding: 0 16px;
  margin-top: 64px;
}

.download__wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.download__heading {
  padding: 40px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  color: #fa8200;
  background-color: #fff6e8;
  max-width: 736px;
  margin: 0 auto;
}

.download__link {
  display: flex;
  gap: 16px;
  margin: 64px 0;
}

.download__flex__heading {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  margin: 64px auto 16px;
}

.download__flex {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 64px;
}

.download__item {
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(25% - 24px); /* PC: 4列 */
}

.download__item__text {
  font-weight: 700;
  line-height: 1.5;
  margin: 8px 0 24px;
}

.button-download {
  padding: 16px 20px;
  margin-top: auto; /* 下揃えに必要 */
}

@media only screen and (max-width: 768px) {
  .download {
    margin-top: 40px;
  }

  .download__heading {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    padding: 16px 24px;
  }

  .download__link {
    display: block;
    margin: 40px 0;
  }

  .download__link > a:nth-child(n + 2) {
    margin-top: 12px;
  }

  .download__flex__heading {
    font-size: 20px;
    margin: 40px 0 16px;
  }

  .download__flex {
    column-gap: 16px;
    row-gap: 52px;
  }

  .download__item {
    flex: 0 1 calc(50% - 8px); /* SP: 2列 */
  }
  .download__item__text {
    margin: 8px 0 16px;
  }
  .button-download {
    font-size: 14px;
    padding: 16px;
  }
}

/*
コンタクト
*/

.contact {
  background-color: #f5f5f5;
  padding: 40px 24px;
  margin-top: 120px;
}

.contact__heading {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.contact__flex {
  display: flex;
  gap: 16px;
}

.contact__item {
  width: 100%;
  background-color: #fff;
  padding: 40px;
  margin: 0 auto;
  text-align: center;
  border-radius: 8px;
}
.contact__item__heading {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.contact__tel {
  font-size: 46px;
  font-weight: 700;
  color: #fa8200;
  line-height: 1.2;
}

@media (hover: hover) {
  .contact__tel > a:hover {
    color: #f47100;
  }
}

.contact__tel-note {
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}
.contact__button {
  max-width: 356px;
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.contact__button > span {
  font-size: 14px;
}

@media only screen and (max-width: 768px) {
  .contact {
    padding: 40px 16px;
    margin-top: 64px;
  }
  .contact__heading {
    font-size: 20px;
    line-height: 1.5;
  }
  .contact__flex {
    display: block;
  }
  .contact__item {
    padding: 40px 16px;
  }
  .contact__item:nth-child(2) {
    margin-top: 16px;
  }
  .contact__tel {
    font-size: 40px;
  }
  .contact__tel-note {
    font-size: 14px;
  }
  .contact__button {
    max-width: inherit;
  }
}

/* 
フッター
*/

.footer {
  background-color: #424242;
  padding: 0 16px;
}

.footer__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer__sns {
  display: flex;
  gap: 16px;
}

.footer__sns img {
  display: block;
  width: 24px;
  height: 24px;
  transition: 0.2s;
}

@media (hover: hover) {
  .footer__sns img:hover {
    opacity: 0.8;
  }
}

.footer__sitemap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__sitemap__item {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: 0.2s;
  text-decoration: none;
}

@media (hover: hover) {
  .footer__sitemap__item:hover {
    opacity: 0.8;
  }
}

.footer__copyright {
  font-size: 10px;
  color: #fafafa;
}

@media only screen and (max-width: 768px) {
  .footer__wrap {
    display: block;
    padding: 64px 0;
  }

  .footer__sns {
    gap: 20px;
  }

  .footer__sns img {
    width: 32px;
    height: 32px;
  }

  .footer__sitemap {
    display: block;
    margin-top: 40px;
  }

  .footer__sitemap__item {
    margin-top: 16px;
  }

  .footer__copyright {
    margin-top: 40px;
  }
}
