@charset "UTF-8";

/* =============================

TOPページ

===============================*/
/* コンテンツ幅 */
.container {
  margin-right: auto;
  margin-left: auto;
  max-width: 1240px;
  padding: 84px 40px;
}

/* top_mv */
.mv {
  position: relative;
  height: 930px;
  background-image: url(../images/top_mv.png);
  background-size: cover;
  /* 画像を画面サイズに合わせる */
  background-position: center;
  /* 画像を中央に配置 */
  background-repeat: no-repeat;
  /* 画像を繰り返さない */
  margin: 0;
  /* マージンをリセット */
  padding: 0;
  /* パディングをリセット */
}

.mv h6 {
  position: absolute;
  font-weight: bold;
  font-size: 30px;
  left: 20%;
  bottom: 50px;
  line-height: 70px;
}

/* concept */
.concept {
  text-align: center;
  background-image: url(../images/cork_02.png);
  background-repeat: repeat;
}

.concept .container {
  padding: 56px 0;
  max-width: 1142px;
}

.concept_wrap {
  position: relative;
  background-color: #F3EEE1;
  padding: 50px 0;
  border: 4px solid #ffffff;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.img_left {
  position: absolute;
  top: 0;
  left: 8px;
  width: 105px;
}

.img_right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 105px;
}

.concept_text {
  margin: 0 auto;
}

.concept p {
  text-align: center;
  font-size: 20px;
}

.concept_middle {
  padding: 90px 0;
}

.star {
  display: flex;
  align-items: center;
  justify-content: center;
}

.concept span {
  font-weight: bold;
  font-size: 30px;
}

.star img {
  width: 100px;
}

.markar {
  position: relative;
  z-index: 5;
}

.markar img {
  position: absolute;
  top: 20px;
  transform: translateX(5%);
  z-index: -1;
}

/* トップページの記事部分 */
.box_wrap {
  background: white;
  padding: 72px;
  border-radius: 20px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);

}

.sec_caption {
  display: flex;
  flex-direction: row-reverse;
  gap: 6%;
  margin-bottom: 24px;
}

.sec_text {
  flex-direction: column;
}

.sec_text h2 {
  margin-top: -1.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 3.125rem;
}

.sec_text p {
  line-height: 1.25;
  display: inline-block;
  border-top: 2px solid #FFD472;
  padding-top: 30px;
  font-size: 1rem;
  width: 460px;
}

.box_img img {
  max-width: 100%;
  height: auto;
}

/* top_food */
.category_food {
  background-color: #FFD472;
}

.category_food .button {
  border: 4px solid #FFD472;
}

.button span::before {
  border-top: 3px solid #F5BE41;
  /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #F5BE41;
  /* くの字を山なりに見た時、右側の太さと色 */
}



/* top_education */
.category_discovery {
  background-color: #81DAE5;
}

.category_discovery .button {
  border: 4px solid #81DAE5;
}

.category_discovery .sec_text p {
  display: inline-block;
  border-top: 2px solid #81DAE5;
  padding: 30px 0;
}

.category_discovery .button span::before {
  border-top: 3px solid #81DAE5;
  /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #81DAE5;
  /* くの字を山なりに見た時、右側の太さと色 */
}

.category_discovery .button span::after {
  background: #81DAE5;
  /* 棒の色 */
}

.category_daily .container {
  padding-bottom: 250px;
}



/* top_daily */
.category_daily {
  background-color: #7CD990;
}

.category_daily .button {
  border: 4px solid #7CD990;
}

.category_daily .sec_text p {
  display: inline-block;
  border-top: 2px solid #7CD990;
  padding: 30px 0;
}

.category_daily .button span::before {
  border-top: 3px solid #7CD990;
  /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #7CD990;
  /* くの字を山なりに見た時、右側の太さと色 */
}

.category_daily .button span::after {
  background: #7CD990;
  /* 棒の色 */
}


/* =====================================

レスポンシブ

=======================================*/

@media screen and (max-width: 1201px) {

  /* 1200px以下に適用されるCSS（タブレット用） */
  .sec_caption {
    text-align: center;
    flex-direction: column-reverse;
    /* display: block; */
  }
  .sec_text p {
    line-height: 2;
    display: inline-block;
    border-top: 2px solid #FFD472;
    padding: 30px 0;
    font-size: 1rem;
    width: auto;
  }
.mv h6{
  left: 0;
}
  .box_img {
    margin-bottom: 30px;
  }

  .title {
    order: 1;
  }

  .box_img {
    order: 2;
  }

  .sec_description {
    order: 3;
  }

}

@media screen and (max-width:650px) {
  .box_wrap {
    padding: 40px;
  }

  .container {
    padding: 30px;
  }
  .mv h6{
    font-size: 25px;
  }
  .img_right{
    left: 50%;
    transform: translateX(-50%);
  }
  .img_left{
    display: none;
  }
  .concept_text{
    padding-top: 50px;
  }  
  .button span::before {
    display: none;
  }

  .button span::after {
    display: none;
  }

}


@media screen and (min-width:650px) {
  .appear{
    display: none;
  }
}


@media screen and (max-width:500px) {

  /* 500px以下に適用されるCSS（スマホ用） */
  .star img{
    width: 15%;
  }
  .mv {
    height: 812px;
    background-image: url(../images/top_mv_sp.png);
  }

  .box_wrap {
    padding: 20px;
  }

  .button a {
    font-size: 20px;
  }

  .button span::before {
    display: none;
  }

  .button span::after {
    display: none;
  }

  .container {
    padding: 15px;
  }

  .sec_text p {
    text-align: left;
  }
}