@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
/* ---------- reset ------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  word-break: break-all;
  vertical-align: baseline;
}

*::before, *:after {
  box-sizing: border-box;
}

html, body {
  font-size: 62.5%;
  min-height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  width: 100%;
  height: auto;
}

a {
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.7;
}

.img_only {
  display: block;
}

.img_only img {
  display: block;
}

li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, dl, dd, dt, table, tr, th, ul, li {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

span, small, strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

table, th, td {
  border-collapse: collapse;
}

@media screen and (min-width: 1025px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

input, button, textarea, select {
  font: 1.8rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.3em 0.5em;
  appearance: none;
  background-color: #fffcdb;
  border: 1px solid #dcdcdc;
  vertical-align: middle;
}

button[type="submit"] {
  appearance: none;
  border: none;
  background: none;
}

fieldset {
  border: none;
}

/* ---------- config ------------------------------ */
* {
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.8rem;
}

@media screen and (min-width: 1024px) {
  h2 {
    font-size: 2.2rem;
  }
}

/* ---------- base ------------------------------ */
header {
  margin-bottom: 25px;
}

@media screen and (min-width: 1024px) {
  header {
    margin-bottom: 0;
  }
}

main {
  padding-bottom: 90px;
}

main ul li:first-child {
  background-color: #FFF2E5;
  background-image: url(../images/wave_top.png), url(../images/wave_bottom.png);
  background-repeat: no-repeat;
  background-position: center top, center bottom;
  background-size: 100%;
  padding: 150px 0 100px;
}

@media screen and (max-width: 1023px) {
  main ul li:first-child {
    background-image: url(../images/wave_top_sp.jpg), url(../images/wave_bottom_sp.jpg);
    padding: 14.6vw 0;
  }
}

main ul li .contents-container {
  display: flex;
  flex-direction: column;
  padding: 50px 17% 60px;
  max-width: 886px;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container {
    display: block;
    padding: 60px 0 70px;
  }
}

main ul li .contents-container h2 {
  order: 1;
  line-height: 1.6;
  margin-bottom: 10px;
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container h2 {
    width: 467px;
    margin-left: auto;
    float: right;
  }
}

main ul li .contents-container h2 span {
  display: block;
  width: fit-content;
  color: #E50012;
  font-size: 1.9rem;
  padding: 0 0.5em;
  line-height: 1;
  position: relative;
  margin-bottom: 0.3em;
}

main ul li .contents-container h2 span:before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #E50012;
  position: absolute;
  top: 1px;
  left: 0;
  transform: rotate(-30deg);
}

main ul li .contents-container h2 span:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #E50012;
  position: absolute;
  top: 1px;
  right: 0;
  transform: rotate(30deg);
}

main ul li .contents-container span {
  color: #E50012;
  font-size: 1.9rem;
}

main ul li .contents-container p {
  order: 3;
  line-height: 1.75;
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container p {
    width: 467px;
    margin-left: auto;
    float: right;
  }
}

main ul li .contents-container > div {
  order: 2;
  margin-bottom: 22px;
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container > div {
    width: 375px;
    margin-bottom: 0px;
  }
}

main ul li .contents-container > div a {
  position: relative;
}

main ul li .contents-container > div a::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: url(../images/icon_play.svg) no-repeat center/cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container > div a::after {
    width: 72px;
    height: 72px;
  }
}

main ul li:nth-child(1) .contents-container::before {
  content: "";
  display: block;
  width: 73px;
  height: 79px;
  background: url(../images/leaf01.png) no-repeat center/contain;
  position: absolute;
  top: -40px;
  left: 20px;
}

@media screen and (min-width: 1024px) {
  main ul li:nth-child(1) .contents-container::before {
    left: -80px;
  }
}

main ul li:nth-child(1) .contents-container::after {
  content: "";
  display: block;
  width: 87px;
  height: 47px;
  background: url(../images/car.png) no-repeat bottom center/contain;
  position: absolute;
  bottom: 0;
  right: 20px;
}

@media screen and (min-width: 1024px) {
  main ul li:nth-child(1) .contents-container::after {
    right: -95px;
  }
}

main ul li:nth-child(2) .contents-container:before {
  content: none;
}

@media screen and (min-width: 1024px) {
  main ul li:nth-child(2) .contents-container:before {
    content: "";
    display: block;
    width: 101px;
    height: 99px;
    background: url(../images/leaf02.png) no-repeat center/contain;
    position: absolute;
    bottom: 30px;
    right: -114px;
  }
}

main ul li:nth-child(2) .contents-container:after {
  content: "";
  display: block;
  width: 168px;
  height: 155px;
  background: url(../images/figure-2.png) no-repeat center/contain;
  position: absolute;
  bottom: -80px;
  left: 0;
}

@media screen and (min-width: 1024px) {
  main ul li:nth-child(2) .contents-container:after {
    width: 235px;
    height: 155px;
    bottom: -85px;
    left: -95px;
  }
}

@media screen and (min-width: 1024px) {
  main ul li .contents-container article.button-list {
    width: 467px;
    margin-left:auto;
    float:right;
    display:flex;
    justify-content:space-between;
    margin:20px 0 0;
  }
  main ul li .contents-container article.button-list div{
    width:49%;
    margin:0;
  }
}
main ul li .contents-container article.button-list{
  order:4;
  margin:10px 0 0;
}
main ul li .contents-container article.button-list div{
  box-sizing:border-box;
  margin:10px 0 0;
}
main ul li .contents-container article.button-list div a{
  display:block;
  border:1px solid #DC000C;
  border-radius:3px;
  background:#FFF;
  font-size:0.85em; line-height:3; font-weight:bold;
  text-align:center;
  transition:0.2s;
}
main ul li .contents-container article.button-list div a:hover{
  background:#DC000C;
  color:#FFF;
  opacity:1 !important;
  transition:0.2s;
}
