/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ TOPページ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ---------------- TOPメイン画像 ------------------*/
.main-img {
  width: 100%;
  background-image: linear-gradient(90deg, #e6ecff, #ffffff 20% 80%, #e6ecff);
  text-align: center;
  height: 724px;
  position: relative; /* 基準 */
}

.main-img .img {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1;
}

.main-img .bg {
  position: absolute;      /* ← これが必須 */
  inset: 0;                /* 全体に広げる */
  background-image: url("img/main-img-bg-l.png"), url("img/main-img-bg-r.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right top;
  z-index: 3;              /* img より上 */
  pointer-events: none;    /* クリックを透過（任意） */
}

.main-img .img-sp {
  display: none;
}

.top-news {
  width: 40%;
  background-color: rgba(0, 75, 22, 0.8);
  position: absolute;
  z-index: 10;
  bottom: 30px;
  right: 0;
  color: #fff;
  text-align: left;
  padding: 10px 25px;
  display: flex;
  align-items: center;
}

.top-news .title {
  font-size: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  margin-right: 30px;
}

.top-news a {
  color: #fff;
  display: block;
}

.top-news p {
  margin-bottom: 0;
  line-height: 1.8;
}

@media (max-width: 1560px) {

  .main-img {
    height: auto;
    background-image: none;
    background-color: #fff;
  }

  .main-img .bg {
    position: relative;
    width: 100%;
    height: auto;
    transform: none;
    padding-top: 57.46%;
    background-size: 26%;
}

  .main-img .img {
    width: 100%;
    top: 0;
    transform: translate(-50%, 0);
  }

  .main-img .img img {
    width: 94%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .top-news {
    width: 100%;
    position: relative;
    bottom: 12px;
    background-color: rgba(0, 75, 22, 1);
  }
}

@media (max-width: 560px) {
  .main-img .bg {
    display: none;
  }

  .main-img .img {
    display: none;
  }

  .main-img .img-sp {
    display: block;
  }

  .main-img .img-sp img {
    width: 100%;
  }
}

/* ---------------- リンクボタン ------------------*/
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
}

.btn a {
  color: #000;
  font-weight: 600;
  padding: 29px 95px;
  border-radius: 60px;
  margin: 0 10px;
}

.btn a:hover {
  color: #000;
}

.btn .first a {
  position: relative;
  display: block;
  background-color: #ffd044;
  overflow: hidden;
}

/* テキストを最前面へ */
.btn .first a span {
  position: relative;
  z-index: 2;
}

/* スライド背景 */
.btn .first a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffdaa1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1; /* ← 前面に */
}

.btn .first a:hover::before {
  transform: scaleX(1);
}


.btn .second a {
  position: relative;
  display: block;
  background-color: #da1f5e;
  overflow: hidden;
}

/* 文字を最前面 */
.btn .second a span {
  position: relative;
  z-index: 2;
}

/* hover 用レイヤー（少し濃い同系色） */
.btn .second a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #eb6b96; /* #da1f5e の濃色 */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
}

.btn .second a:hover::before {
  transform: scaleX(1);
}


.btn .third a {
  position: relative;
  display: block;
  background-color: #fff;
  color: #004b16;
  border: 1px solid #004b16;
  overflow: hidden;
  padding: 26px 115px;
}

/* 文字を最前面 */
.btn .third a span {
  position: relative;
  z-index: 2;
}

/* hover 用レイヤー（少し濃い同系色） */
.btn .third a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #eefaf2; /* #da1f5e の濃色 */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
}

.btn .third a:hover::before {
  transform: scaleX(1);
}

.more-btn a {
  font-size: 20px;
  background-image: url(img/more-btn.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-right: 30px;
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .btn a {
    width: 100%;
    padding: 29px 5px;
    text-align: center;
  }

  .btn li {
    width: 45%;
    margin: 0 2.5%;
  }

  .btn .third a {
    width: 100%;
    padding: 29px 5px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .btn {
    margin-top: 4em;
    display: block;
  }

  .btn li {
    width: 75%;
    margin: 1em auto;
  }
}

/* ---------------- top-first ------------------*/

.top-first {
  padding: 150px 0 640px 0;
  position: relative;
  text-align: center;
  background-image: url("img/top-first-l.png"), url("img/top-first-r.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom 140px, right bottom 140px;
}

.top-first h2 {
  font-size: 5.5rem;
}

.top-first p {
  font-size: 2.0rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 3.0;
}

.top-first .img-sp {
  display: none;
}

@media (max-width: 1500px) {
  .top-first {
    padding: 130px 0 42vw 0;
    background-size: 50%;
    background-position: left bottom 0, right bottom 0;
  }
}

@media (max-width: 768px) {
  .top-first h2 {
    font-size: 4.0rem;
    margin-bottom: 60px;
  }

  .top-first p {
    font-size: 1.8rem;
    line-height: 2.8;
  }
}

@media (max-width: 560px) {
  .top-first h2 {
    font-size: 3.0rem;
    margin-bottom: 40px;
  }

  .top-first p {
    font-size: 1.6rem;
    line-height: 2.4;
  }

  .top-first {
    padding: 100px 0 42vw 0;
    background-size: 50%;
  }
}


/* ---------------- top-second ------------------*/

.top-second {
  padding: 80px 0 200px 0;
  background-image: url("img/bg03.png");
  background-repeat: no-repeat;
  background-position: right top;
}

main .top-second h2 {
  margin-bottom: 70px;
}

.top-second .l-img-con {
  display: flex;
  justify-content: flex-start;
}

.top-second .l-img-con .image__area {
  width: 690px;
  margin-right: 60px;
}

.top-second .l-img-con .image__area_sp {
  display: none;
}

.l-img-con .image__area__sp {
  display: none;
}

.top-second .l-img-con .text__area {
  margin-top: -10px;
  width: 415px;
}

.top-second .l-img-con .text__area p {
  margin-bottom: 35px;
}

.top-second .l-img-con .text__area img {
  width: 100%;
}

@media (max-width: 1300px) {
  .top-second .l-img-con .image__area {
    width: 55%;
    margin-right: 5%;
  }

  .top-second .l-img-con .text__area {
    width: 40%;
  }
}

@media screen and (max-width: 768px) {
  .top-second {
    background-size: 40%;
    padding: 5em 0;
  }

  .top-second .l-img-con .image__area {
      display: block;
  }

  main .top-second h2 {
    margin-bottom: 40px;
  }

  .top-second .l-img-con {
    display: block;
  }

  .top-second .l-img-con .image__area {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .top-second .l-img-con .text__area {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .top-second {
    background-size: 40%;
    padding: 5em 0;
  }
}

/* ---------------- top-third ------------------*/

.top-third {
  padding: 190px 0 200px 0;
  position: relative;
  background-image: url("img/top-third-l.png"), url("img/top-third-r.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right top;
}

.sub.top-third {
  padding: 190px 0 0 0;
}

main .top-third h2 {
  line-height: 1.2;
  margin-bottom: 140px;
}

.top-third .wrapper {
  width: 1130px;
}

.top-third .fri {
  width: 105px;
  font-size: 40px;
  text-align: center;
  margin-right: 60px;
  font-weight: 600;
  line-height: 1.2;
}

.top-third .fri span {
  font-size: 60px;
}

.top-third .sec {
  width: 310px;
  margin-right: 60px;
}

.top-third .sec p {
  margin-bottom: 40px;
}

.top-third .r-img-con:last-of-type {
  padding-bottom: 110px;
}

.top-third .image__area_l {
  display: none;
}


@media screen and (max-width: 1260px) {
  .top-third .wrapper {
    width: 92%;
    margin: 0 auto;
  }

  .top-third .r-img-con .text__area {
    width: 50%;
  }
  
  .top-third .r-img-con .image__area {
    width: 50%;
  }

  .top-third .r-img-con .image__area img {
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .top-third {
    background-size: 40%;
  }
}

@media screen and (max-width: 1000px) {
  .r-img-con .image__area {
      width: 45%;
      margin-left: 0;
  }

  .top-third .fri {
    width: 105px;
    margin-right: 30px;
  }

  .top-third .sec {
    width: 100%;
    margin-right: 5%;
  }
}

@media screen and (max-width: 768px) {
  .top-third .r-img-con .text__area {
    width: 100%;
  }

  .top-third .r-img-con .text__area.fl {
    display: block;
  }

  .top-third .fri {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .top-third .fri span {
    display: block;
  }

  .top-third .sec {
    margin-right: 0;
  }

  .top-third .sub-title-g {
    display: table;
    margin: 1em auto;
  }

  .top-third .image__area_l {
    display: block;
    margin-bottom: 2em;
  }

  .top-third .image__area_l img {
    width: 100%;
  }

}

@media screen and (max-width: 560px) {
  .top-third {
    background-size: 45%;
  }

  .top-third .r-img-con .text__area.fl {
    display: block;
  }
}

/* ---------------- top-four ------------------*/

.top-four  {
  background-color: #fff8eb;
  border-radius: 120px 0 120px 0;
  padding-top: 120px;
  padding-bottom: 190px;
  position: relative;
}

.top-four .bg {
  position: absolute;
  inset: 0;
  background-image: url(img/top-four-r.png);
  background-repeat: no-repeat;
  background-position: right top;
  z-index: 3;
  pointer-events: none;
}

.top-four .wrapper {
  width: 1220px;
}

main .top-four h2 {
  margin-bottom: 60px;
}

.top-four .con {
  background-color: #fff;
  border-radius: 20px;
  padding: 70px 84px 50px 84px;
}

.top-four .r-img-con {
  border-bottom: 1px solid #000;
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.top-four .r-img-con .image__area {
  margin-left: 45px;
}

.top-four .flavor {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
}

.top-four .flavor li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.top-four .flavor li .img {
  width: 75px;
  text-align: center;
  margin-right: 0.5em;
}


.top-four .flavor-con {
  position: relative;
}

.arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 15px 0 0;
  position: relative;
}

.prev-arrow,
.next-arrow {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .3s ease;
    cursor: pointer;
    position:absolute;
    top: 50%;
    z-index: 1000;
}

.prev-arrow {
    transform: rotate(180deg);
   left: -70px;
}

.next-arrow {
  right: -70px;
}

.prev-arrow::before,
.next-arrow::before{
    position:absolute;
    content: "";
    width:18px;
    height:18px;
    border-right: 2px solid #004b16;
    border-top: 2px solid #004b16;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}

.flavor-text {
  margin-top: -60px;
  margin-bottom: 80px;
}

.top-four .slider-w100 .slider_inner {
  margin: 0 17px;
  background-color: #3059a6;
  border-radius: 30px;
  font-size: 20px;
  color: #fff;
  padding: 40px 25px;
}

.top-four .slider-w100 .slider_inner .slider_text {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.top-four .slider-w100 .slider_inner .slider_text p {
  flex-grow: 1;        /* ← これが核心 */
  margin-bottom: 20px; /* nameとの余白 */
}

.top-four .slider-w100 .slider_inner .name {
  width: 100%;
  border-top: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.top-four .slider-w100 .slider_inner .name dt {
  border-bottom: 1px solid #fff;
  padding: 1em 0;
}

.top-four .slider-w100 .slider_inner .name dd {
  padding-top: 1em;
}

.top-four .slider-w100 .prev_icon {
  bottom: -4.9em;
  margin-left: 87vw;
  position: absolute;
  cursor: pointer;
}

.top-four .slider-w100 .next_icon {
  padding-top: 1.8em;
  margin-left: 91vw;
  position: absolute;
  cursor: pointer;
}

.top-four .image__area_l {
  display: none;
}

.top-four .more {
  display: none;
}

@media screen and (max-width: 1400px) {
  .slide-items .flavor li img {
    width: auto;
    height: auto;
  }
}

@media screen and (max-width: 1260px) {
  .top-four .wrapper {
    width: 92%;
    margin: 0 auto;
  }

  .flavor-text {
    width: 100%;
  }

  .flavor-text img {
    width: 98%;
  }
}

@media screen and (max-width: 1200px) {
  .top-four .bg {
    background-size: 60%;
  }

  .top-four .slider-w100 .prev_icon {
    margin-left: 85vw;
  }
  
  .top-four .slider-w100 .next_icon {
    margin-left: 91vw;
  }
}

@media screen and (max-width: 768px) {
  .top-four .image__area_l {
    display: block;
    margin-bottom: 2em;
  }

  .top-four .slider-w100 .prev_icon {
    margin-left: 78vw;
  }

  .top-four .slider-w100 .next_icon {
    margin-left: 88vw;
  }
  
}

@media screen and (max-width: 560px) {
  .top-four .con {
    padding: 40px 20px 20px 20px;
  }

  .flavor-text {
    margin-top: 20px;
    margin-bottom: 80px;
  }

  .top-four .slider-w100 .prev_icon {
    margin-left: 35vw;
  }

  .top-four .slider-w100 .next_icon {
    margin-left: 50vw;
  }

  .top-four .more {
    display: block;
    width: 100%;
    text-align: center;
    border-top: 1px solid #000;
    margin-top: 40px;
    padding-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    background-image:url("img/more.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    font-weight: 600;
  }

  .top-four .flavor li {
    font-size: 16px;
  }

  .top-four .flavor li .img {
    width: 40px;
  }

  .slide-items .flavor li img {
    width: 100%;
    max-width: 40px;
  }
  
}


/* ---------------- top-five ------------------*/

.top-five {
  background-image: url("img/top-third-l.png"), url("img/top-five-d-l.png"), url("img/top-five-d-r.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: left top, left bottom, right bottom;
  padding-top: 130px;
  padding-bottom: 140px;
}

.top-five .wrapper {
  width: 1220px;
}

.top-five img {
  margin-bottom: 22px;
}

main .top-five h3 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

main .top-five p {
  text-align: center;
  margin-bottom: 85px;
}

.top-five .btn .third {
  margin-bottom: 40px;
}

@media screen and (max-width: 1260px) {
  .top-five .wrapper {
    width: 92%;
    margin: 0 auto;
  }

  .top-five img {
    width: 23%;
  }
}

@media screen and (max-width: 1200px) {
  .top-five {
    background-size: 45%;
  }
}

@media screen and (max-width: 768px) {
  .top-five img {
    width: 30%;
  }

  .top-five .fl::after{
    content:"";
    display: block;
    width:30%;
  }
}

@media screen and (max-width: 560px) {
  .top-five img {
    width: 47%;
  }
}

/* ---------------- top-six ------------------*/

.top-six {
  padding-top: 130px;
  padding-bottom: 140px;
  position: relative;
}

.top-six .bg {
  background-image: url("img/top-six-l.png"), url("img/top-six-r.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right top;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.top-six .wrapper {
  width: 1014px;
  position: relative;
}

.top-six .con {
  background-color: #fff8eb;
  text-align: center;
  padding: 120px;
  border-radius: 30px;
}

@media screen and (max-width: 1260px) {
  .top-six .bg {
    background-size: 45%;
  }
}

@media screen and (max-width: 1200px) {
  .top-six .wrapper {
    width: 92%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 560px) {
  .top-six {
    padding-top: 0;
  }

  .top-six .con {
    padding: 120px 40px 40px 40px;
  }
}

/* ---------------- お知らせ ------------------*/
.info {
  padding: 70px 0;
  background-color: #E6EDE8;
}

.info .wrapper {
  width: 1014px;
}

main .info h2 {
  font-size: 3.0rem;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 0;
  margin-right: 80px;
}

main .info_con .info_list h3 {
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 0;
  font-weight: 500;
}

.info_con {
  width: 100%;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 60px 80px;;
}

.info_con .info_list {
  width: 100%;
}

.info_con .info_list li {
  width: 100%;
  margin-top: 0;
  border-bottom: 1px solid #000;
  padding: 20px 0;
}

.info_con .info_list li:last-child {
  border-bottom: none;
}

.info_con .info_list a {
  text-decoration: none;
}

.info_con .info_list data {
  width: 140px;
}

.info-all .info_con {
  width: 100%;
  margin-top: 0;
}

.info .btn {
  text-align: center;
}

@media screen and (max-width: 1200px) {
  .info .wrapper {
    width: 92%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .info_con.fl {
    display: block;
  }

  main .info h2 {
    margin-right: 0;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 560px) {
  .info_con {
    padding: 40px 30px;
  }

  main .info h2 {
    margin-bottom: 0.5em;
  }

  .info_con .info_list a.fl {
    display: block;
  }
}



/* ---------------- Marquee ------------------*/
.marquee-container {
  overflow: hidden;
  background-color: #FFD044;
  transform: rotate(-8deg);
  width: 140%;
  position: absolute;
  bottom: 0;
  left: -38%;
  margin-top: 50px;
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  padding-right: 1em;
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 560px) {
  .marquee-content span {
    font-size: 1.4rem;
  }

  .marquee-container {
    padding: 10px 0;
  }
}


#a01,#a02,#a03,#a07 {
  padding-top: 150px;
  margin-top: -150px;
}