@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: linear-gradient(217deg, rgba(137, 247, 254, 0.8), rgba(102, 166, 255, 0) 60.7%), linear-gradient(127deg, rgba(32, 156, 255, 0.8), rgba(104, 244, 207, 0) 60.7%), linear-gradient(336deg, rgba(172, 203, 238, 0.8), rgba(231, 240, 253, 0) 60.7%);
}


/*タイトル*/

.content_ttl._default {
    margin-bottom: 36px;
    position: relative;
}

@media (max-width: 700px) {
.content_ttl._default {
    margin-bottom: 23px;
    position: relative;
}
}


.content_ttl._default .sub {
    display: block;
    text-align: center;
    font-size: 24px;
    /*color: #ff6633;*//*#FF006B*/
	background: linear-gradient(90deg, #ff32e9 0%, #ff6633 40%, #ff3bef 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: 0.6em;
    margin: 21px 0px 20px 73px;
}

.content_ttl._default .main {
    color: #1e1c1b;
    font-size: 47px;
    font-weight: 600;
    font-family: '游明朝',YuMincho,'ヒラギノ明朝 ProN W3','Hiragino Mincho ProN',serif;
    text-align: center;
    line-height: 1;
    letter-spacing: .05em;
    display: block;
}

@media (max-width: 700px) {
	.content_ttl._default .main {
    color: #1e1c1b;
    font-size: 45px;
    font-weight: 600;
    font-family: '游明朝',YuMincho,'ヒラギノ明朝 ProN W3','Hiragino Mincho ProN',serif;
    text-align: center;
    line-height: 1;
    letter-spacing: .05em;
    display: block;
}
}

@media (max-width: 500px) {
	
	.content_ttl._default .sub {
    display: block;
    text-align: center;
    font-size: 21px;
    color: #ff6633;
    line-height: 1;
    letter-spacing: 0.6em;
    margin: 25px 0px 19px 40px;
}	
	
	.content_ttl._default .main {
    color: #1e1c1b;
    font-size: 35px;
    font-weight: 600;
    font-family: '游明朝',YuMincho,'ヒラギノ明朝 ProN W3','Hiragino Mincho ProN',serif;
    text-align: center;
    line-height: 1;
    letter-spacing: .05em;
    display: block;
}
}


.content_ttl._default:after {
    content: "";
    display: block;
    margin: 20px auto 0;
    width: 100px;
    height: 1px;
    background-color: #FF006B;
}

.description {
    font-size: 20px;
    font-weight: normal;
    color: #1e1c1b;
    line-height: 1.57;
}

@media (max-width: 900px) {
	.description {
    font-size: 18px;
    font-weight: normal;
    color: #1e1c1b;
    line-height: 1.57;
}
}

@media (max-width: 700px) {
.description {
    width: 72%;
    font-size: 16px;
    font-weight: normal;
    color: #1e1c1b;
    line-height: 1.57;
    margin: 0 auto;
}
}

@media (max-width: 500px) {
.description {
    width: 80%;
    font-size: 16px;
    font-weight: normal;
    color: #1e1c1b;
    line-height: 1.57;
    margin: 0 auto;
}
}

.ru-pc-ta-center, .ru-ta-center {
    text-align: center!important;
}


/*スライダー*/

.slider {
/*  float: right;*/
  width: 100%;
  margin: 0;
  padding: 0;
}
.slider li {
 /* float: left;*/
  position: absolute;
  width: 100%;
  height: 10vw;
  animation: 16s slider infinite;
}
.slider li img {
  width: 100%;
}

li:first-child {
  -webkit-animation-delay: 10.56s;
  animation-delay: 10.56s;
  background: url("https://static.pexels.com/photos/26117/pexels-photo-26117-large.jpg") no-repeat center center;
  background-size: cover;
}
li:nth-child(2) {
  -webkit-animation-delay: 5.28s;
  animation-delay: 5.28s;
  background: url("https://static.pexels.com/photos/65174/pexels-photo-65174-large.jpeg") no-repeat center center;
  background-size: cover;
}
li:last-child {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  background: url("https://static.pexels.com/photos/53517/eat-food-vitamins-vegetables-53517-large.jpeg") no-repeat center center;
  background-size: cover;
}

@keyframes slider {
  0% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/*スライダー*/

#container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 50px 130px;
  max-width: 1600px;
  margin: auto;
}

#container > div:first-child,
#container > div:nth-child(3),
#container > div:nth-child(9),
#container > div:nth-child(15),
#container > div:nth-child(17) {
  grid-column-start: 1;
  grid-column-end: 3;
}

#container > div:nth-child(2),
#container > div:nth-child(4),
#container > div:nth-child(14),
#container > div:nth-child(16) {
  grid-column-start: 3;
  grid-column-end: 5;
}

.card a{
  position: relative;
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: start;
  background-color: #fff;
  border-radius: 5px;
  transition: 0.6s cubic-bezier(0.02, 1.21, 0.83, 1.13);
  text-decoration: none;
}

.card a:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100%);
  border-top: 5px solid #45b39d;
  border-bottom: 5px solid #45b39d;
  border-radius: 10px;
  transform: scaleX(0);
  opacity: 0;
  transition: 0.6s cubic-bezier(0.02, 1.11, 0.83, 1);
}

.card a:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100%);
  height: calc(100% + 10px);
  border-right: 5px solid #ea5550;
  border-left: 5px solid #ea5550;
  border-radius: 10px;
  transform: scaleY(0);
  transition: 0.6s cubic-bezier(0.02, 1.11, 0.83, 1);
}

.card a:hover {
  transform: scale(1.01);

}
/*
.card:hover:before {
  opacity: 1;
  transform: scaleX(1);
}

.card:hover:after {
  opacity: 1;
  transform: scaleY(1);

}
*/
.card p,
.card h2 {
  width: 100%;
  text-align: center;

}

.card h2 {
  font-family: "Playfair Display", serif;
  margin: 25px 0 15px;
  color: #ff6633;
}

.card a img {
  width: calc(100% + 40px);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.card p {
  font-family: "Poppins", sans-serif;
  height: 20%;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #566573;
}

@media (max-width: 1200px) {

  #container {
    gap: 20px;
    padding: 40px;
  }

  .card h2 {
    margin: 20px 0 10px;
  }
}
@media (max-width: 900px) {
  #container {
    grid-template-columns: repeat(2, 1fr);
	    padding: 35px;
  }
/*
  #container > div:nth-child(11),
#container > div:nth-child(18) {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #container > div:nth-child(7),
#container > div:nth-child(17) {
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #container > div:nth-child(6),
#container > div:nth-child(8),
#container > div:nth-child(16) {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #container > div:nth-child(9),
#container > div:nth-child(14) {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  #container > div:nth-child(15) {
    grid-column-start: 3;
    grid-column-end: 4;
  }
*/
	
  #container > div:nth-child(odd) {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #container > div:nth-child(even) {
    grid-column-start: 2;
    grid-column-end: 3;
  }
	
  .card {
    justify-content: flex-start;
  }

  .card h2 {
    margin: 20px 0 10px;
  }

  .card p {
    height: auto;
  }
}
@media (max-width: 700px) {
  #container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px;
  }

  #container > div:nth-child(odd) {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #container > div:nth-child(even) {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  #container {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 25px;
  }

  #container > div:nth-child(n) {
    grid-column-start: 1;
    grid-column-end: 2;
  }
}