:root {
  /* フォント */
  --ja: "Noto Sans JP", sans-serif;
  
  /* 色 */
  --main-color: #589f39;
  --red: #d93a22;
}
a:focus,
a:focus-visible {
  outline: 2px solid #000;
}

/* 共通 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ja);
  font-size: 1.6rem;
  line-height: 1.5;
  background-color: #fff;
  color: #222;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
}

a,
button {
  transition: all 0.3s;
}

a:hover,
button:hover {
  opacity: 0.8;
}

.text-center {
  text-align: center;
}

.text-main-color {
  color: var(--main-color);
}

.bold {
  font-weight: 700;
}

.link-blue {
  font-weight: 700;
  color: #194bae;
}

.btn {
  display: block;
  width: 100%;
  max-width: 380px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  background-color: #ffe82b;
  border-radius: 30px;
  margin: 30px auto;
}

.onlyPC {
  display: none;
}


@media (min-width:768px) {
  .onlySP {
    display: none;
  }

  .onlyPC {
    display: block;
  }
}

/* ヘッダー */
.header {
  height: 60px;
  padding: 0 20px;
  background-color: #fff;
  display: flex;
  justify-content: start;
  align-items: center;
}

.header div {
  width: 100%;
}

.header div .logo {
  height: 24px;
  width: auto;
}

@media (min-width:768px) {
  .header div {
    max-width: 1000px;
    margin: 0 auto;
  }

  .header div .logo {
    height: 28px;
  }
}

/* Hero */
.hero {
  background-color: #ecf3e1;
}

.hero .catch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #62676a;
  padding: 13px 0 15px 0;
}

.hero .catch img:first-child {
  width: clamp(150px, 49.86vw, 187px);
  height: auto;
}

.hero .catch img:nth-child(2) {
  width: 122px;
  width: clamp(100px, 32.53vw, 122px);
  height: auto;
}

.hero .description {
  background-color: #82c025;
  padding: 40px 16px 48px;
}

.campaign-img {
  width: clamp(280px,92.8vw,400px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.desc-flex {
  display: flex;
  flex-direction: column-reverse;
  max-width: 500px;
  margin: 0 auto;
}

.desc-text {
  margin: -80px auto 0;
}

.desc-prize img {
  width: 232px;
  height: auto;
}

.desc-prize p {
  margin-top: 8px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.desc-prize p span {
  font-size: 1.4rem;
  font-weight: 400;
}

.campaign-term {
  display: block;
  width: clamp(280px,92.8vw,336px);
  height: auto;
  margin: 36px 0 0;
}

.desc-flex .note {
  margin-top: 24px;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.desc-img {
  margin: 24px auto 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.desc-img img:first-child {
  width: 110px;
  height: auto;
  margin-left: 30px;
}
.desc-img img:nth-child(2) {
  width: clamp(166px, 44.27vw, 200px);
  height: auto;
}

@media (min-width:680px) {
  .hero .catch {
    gap: 36px;
    padding: 19px 0 17px 0;
  }

  .hero .catch img:first-child {
    width: 260px;
  }

  .hero .catch img:nth-child(2) {
    width: 151px;
  }

  .hero .description {
    padding: 40px 10px 0;
  }

  .campaign-img {
    width: clamp(500px, 70vw, 644px);
  }


  .desc-flex {
    flex-direction: row;
    justify-content: center;
    max-width: unset;
    margin: 45px auto 0;
  }

  .desc-text {
    margin: 0 0 20px 0;
  }

  .desc-prize img {
    display: block;
    /* margin: 0 auto; */
  }


  .desc-prize p {
    margin-top: 16px;
    font-size: 2.4rem;
    /* text-align: center; */
  }

  .desc-prize p span {
    font-size: 1.6rem;
  }


  .campaign-term {
    width: 430px;
    width: clamp(360px, 40vw, 430px);
    margin: 36px 0 0;
  }

  .desc-flex .note {
    margin-top: 24px;
  }

  .desc-flex .note .onlyPC {
    display: block;
  }

  .desc-img {
    margin: 0;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 0;
    overflow: hidden;
  }

  .desc-img img:first-child {
    width: 80px;
    margin: 30px 0 10px -48px;
  }
  .desc-img img:nth-child(2) {
    width: 160px;
    height: auto;
    position: relative;
    top: 5px;
  }
}

@media (min-width:1000px) {
  .desc-text {
    margin: 0;
  }

  .desc-flex .note {
    margin-top: 24px;
    font-size: 2rem;
  }

  .desc-img img:first-child {
    width: 110px;
    margin: 30px 0 40px -20px;
  }

  .desc-img img:nth-child(2) {
    width: 220px;
    height: auto;
    position: relative;
    top: 5px;
  }
}

@media (min-width:1000px) {
  
  .desc-text {
    /* margin-right: clamp(20px, 4vw, 70px); */
    margin-left: 70px;
  }

  /* .desc-img {
    margin-right: 60px;
  } */
}

/* Main */
main {
  padding: 0 18px 80px;
}

.container {
  width: 100%;
  max-width: 1000px;
  padding: 0;
}

.container h2 {
  color: var(--main-color);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin: 50px 0 24px;
}

.container h2::before {
  content: '';
  width: 100%;
  height: 1px;
  /* background-color: #222; */
  border-top: 1px solid #222;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
}

.container h2 span {
  background-color: #fff;
  padding: 0 19px;
}

.container p {
  margin-top: 4px;
}

.container .red {
  color: var(--red);
}

.container.term p {
  font-weight: 700;
}

.container.application h3 {
  font-size: 1.8rem;
  margin-top: 30px;
}

.container.application h3.step2 {
  letter-spacing: -0.02em;
}

.container p.consent {
  margin-top: 20px;
}

.container.prize p:first-of-type {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.container.prize p:nth-of-type {
  font-size: 1.6rem;
  font-weight: 400;
}

@media (min-width:768px) {
  .container h2 {
    margin: 80px 0 40px;
  }

  /* .container h2::before {
    content: '';
    width: 100%;
    height: 3px;
    background-color: #222;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
  } */

  /* .container h2 span {
    background-color: #fff;
    padding: 0 19px;
  } */

  .container p {
    margin-top: 16px;
    width: fit-content;
  }

  .container.term  {
    font-size: 2.4rem;
  }

  .container.term .p-wrapper {
    margin: 0 auto;
  }

  .container.application h3 {
    font-size: 2rem;
    margin-top: 50px;
    width: fit-content;
  }

  .container.application h3.step span {
    margin-right: 2px;
  }

  /* .container.application h3.step2 {
    letter-spacing: -0.02em;
  } */

  
  .container p.consent {
    margin-top: 40px;
    line-height: 1.7;
  }

  .container.prize p {
    /* font-size: 2.4rem;
    line-height: 1.3; */
    margin: 0 auto;
  }

  .p-wrapper {
    width: fit-content;
    margin: 0 auto 0 0;
  }

  .line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .line img {
    width: 117px;
    height: auto;
  }

  .line p {
    margin-top: 0;
  }
}

/* キャンペーン概要 */
.campaign-details {
  letter-spacing: 0.11em;
}

.campaign-details h3 {
  color: var(--main-color);
  font-weight: 700;
  margin-top: 30px;
}

.campaign-details p,
.campaign-details li {
  font-size: 1.4rem;
  line-height: 1.7;
}

.campaign-details p {
  margin-top: 0;
}

.campaign-details li {
  padding-left: 18px;
  position: relative;
  /* white-space: nowrap */
    /* CJKテキストでの折り返しを無効化 */
  /* word-break: keep-all; */

  /* 長い単語でも折り返し可能に */
  /* overflow-wrap: anywhere; */
  /* word-break: auto-phrase; */
}

.campaign-details li::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: #222;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 4px;
}

.campaign-details li.red::before {
  background-color: var(--red);
}

.campaign-details .inner-list li {
  padding-left: 0;
}

.campaign-details .inner-list li::before {
  content: '・';
  background-color: transparent;
  position: static;
}

.link-privacypolicy {
  color: #194bae;
  font-weight: 700;
}

.break-word {
   word-break: break-all;
}

@media (min-width:768px) {
  .campaign-details {
    letter-spacing: 0.09em;
  }

  .campaign-details p,
  .campaign-details li {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .campaign-details li {
    padding-left: 23px;
  }

  .campaign-details li::before {
    width: 16px;
    height: 16px;
  }
}