@charset "utf-8";
.news_b1 {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.news_b1.news_list .contents .webgene-blog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
}
.news_b1.news_list .contents .webgene-blog .webgene-item {
  width: auto;
  min-width: 0;
}
.news_b1.news_list .webgene-item > a {
  display: block;
  color: #333;
  text-decoration: none;
}
.news_b1.news_list .webgene-item .imgbox {
  aspect-ratio: 1.65 / 1;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 35px;
}
.news_b1.news_list .webgene-item .imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}
.news_b1.news_list .webgene-item .catename {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 15px;
  color: #fff;
  background-color: #6dc1cb;
  border-radius: 100px;
  line-height: 1.3;
  font-weight: 700;
}
.news_b1.news_list .webgene-item h2 {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #333;
  line-height: 1.5;
  letter-spacing: 0.03em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news_b1.news_list .webgene-item .date {
  margin: 0;
  color: #888;
  line-height: 1.5;
}
@media screen and (max-width: 1080px) {
  .news_b1.news_list .contents .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 30px;
  }

  .news_b1.news_list .webgene-item .imgbox {
    border-radius: 30px;
  }
}

@media screen and (max-width: 900px) {
  .news_b1.news_list .contents .webgene-blog {
    gap: 40px 25px;
  }
}

@media screen and (max-width: 768px) {
  .news_b1.news_list .contents .webgene-blog {
    gap: 35px 20px;
  }

  .news_b1.news_list .webgene-item .imgbox {
    margin-bottom: 12px;
    border-radius: 25px;
  }

  .news_b1.news_list .webgene-item .catename {
    margin-bottom: 8px;
    padding: 4px 12px;
  }

  .news_b1.news_list .webgene-item h2 {
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 576px) {
  .news_b1.news_list .contents .webgene-blog {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news_b1.news_list .webgene-item .imgbox {
    border-radius: 22px;
  }

  .news_b1.news_list .webgene-item h2 {
    min-height: 0;
  }
}

.instagram {
  position: relative;
  overflow: hidden;
  background-color: #f8f8f8;
}

.instagram .instagram_inner {
  position: relative;
}

.instagram .instagram_head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.instagram .instagram_title {
  margin: 0;
  color: #f45f91;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.instagram .instagram_deco {
  width: clamp(90px, 8vw, 100px);
  margin-right: 25px;
}

.instagram .instagram_deco img {
  display: block;
  width: 100%;
  height: auto;
}

.instagram .contents .webgene-blog {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.instagram .contents .webgene-blog .webgene-item {
  width: auto;
  min-width: 0;
}

.instagram .contents .webgene-blog .webgene-item a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #fff;
  border: 4px solid #fff;
  border-radius: 35px;
  box-sizing: border-box;
}

.instagram .contents .webgene-blog .webgene-item a > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.instagram .contents .webgene-blog .webgene-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instagram .contents .webgene-blog .webgene-item a:focus-visible {
  outline: 3px solid rgba(244, 95, 145, 0.45);
  outline-offset: 4px;
}

.instagram .follow_link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 12px;
  margin-left: auto;
  padding: 0 4px 7px;
  color: #333;
  border-bottom: 2px solid #f4d83f;
  text-decoration: none;
}

.instagram .follow_link p {
  margin: 0;
  color: #333;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.instagram .follow_link::after {
  content: "↗";
  display: inline-block;
  transition: transform 0.3s ease;
}

.instagram .follow_link:focus-visible {
  outline: 3px solid rgba(244, 216, 63, 0.5);
  outline-offset: 4px;
}

@media (hover: hover) {
  .instagram .contents .webgene-blog .webgene-item a:hover > div {
    transform: scale(1.06);
  }

  .instagram .follow_link:hover::after {
    transform: translate(3px, -3px);
  }
}

@media screen and (max-width: 1080px) {
  .instagram .contents .webgene-blog {
    gap: 10px;
  }

  .instagram .contents .webgene-blog .webgene-item a {
    border-radius: 28px;
  }
}

@media screen and (max-width: 900px) {
  .instagram .contents .webgene-blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .instagram .instagram_head {
    margin-bottom: 18px;
  }

  .instagram .instagram_deco {
    width: 75px;
    margin-right: 10px;
  }

  .instagram .contents .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .instagram .contents .webgene-blog .webgene-item a {
    border-radius: 25px;
  }
}

@media screen and (max-width: 576px) {
  .instagram .instagram_deco {
    width: 60px;
    margin-right: 0;
  }

  .instagram .contents .webgene-blog {
    gap: 8px;
  }

  .instagram .contents .webgene-blog .webgene-item a {
    border-width: 3px;
    border-radius: 20px;
  }

  .instagram .follow_link {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram .contents .webgene-blog .webgene-item a > div,
  .instagram .follow_link::after {
    transition: none;
  }

  .instagram .contents .webgene-blog .webgene-item a:hover > div,
  .instagram .follow_link:hover::after {
    transform: none;
  }
}

.box2 {
  overflow: hidden;
  background-color: #f8f8f8;
}



.box2 .box2_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 75px 70px;
}

.box2 .box2_item {
  min-width: 0;
}

.box2 .box2_head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.box2 .box2_img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1.75 / 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 45px;
  box-sizing: border-box;
}

.box2 .box2_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.box2 .box2_titlebox {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;

}

.box2 .box2_titlemain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.box2 .box2_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f45f9a;
  border-radius: 50%;
}

.box2 .box2_icon img {
  display: block;
  width: 55%;
  height: 55%;
  object-fit: contain;
}

.box2 .box2_title,
.box2 .box2_en {
  writing-mode: vertical-rl;
}

.box2 .box2_title {
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.box2 .box2_en {
  margin-top: 56px;
  color: #65bfca;
  line-height: 1;
  letter-spacing: 0.12em;
}

.box2 .box2_body {
  margin-top: 20px;
}

.box2 .box2_body > p {
  min-height: 3.6em;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

@media screen and (max-width: 1080px) {
  .box2 .box2_list {
    gap: 70px 45px;
  }

  .box2 .box2_head {
    gap: 20px;
  }

  .box2 .box2_img {
    border-radius: 35px;
  }
}

@media screen and (max-width: 900px) {
  .box2 .box2_inner {
    max-width: 600px;
  }

  .box2 .box2_list {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .box2 .box2_body > p {
    min-height: 0;
  }
}

@media screen and (max-width: 768px) {
  .box2 .box2_img {
    border-radius: 30px;
  }
}

@media screen and (max-width: 576px) {
  .box2 .box2_list {
    gap: 55px;
  }

  .box2 .box2_head {
    display: block;
  }

  .box2 .box2_img {
    width: 100%;
    border-width: 3px;
    border-radius: 25px;
  }

  .box2 .box2_titlebox {
    align-items: center;
    gap: 12px;
    margin-top: 18px;
  }

  .box2 .box2_titlemain {
    flex-direction: row;
    gap: 12px;
  }

  .box2 .box2_icon {
    width: 42px;
  }

  .box2 .box2_title,
  .box2 .box2_en {
    writing-mode: horizontal-tb;
  }

  .box2 .box2_title {
    line-height: 1.5;
  }

  .box2 .box2_en {
    margin-top: 0;
  }

  .box2 .box2_body {
    margin-top: 18px;
  }
}

/* ---------- fv ---------- */
.fv {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 110px) clamp(22px, 7vw, 110px) clamp(42px, 5vw, 70px);
  box-sizing: border-box;
  background: #71c6cf;
}
.fv {
  position: relative;
  overflow: hidden;
  background: #71c6cf;
}
.fv::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 0;
  width: 140vw;
  height: 58%;
  transform: translateX(-50%);
  background:#F7F7F7;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  pointer-events: none;
}
.fv::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 0;
  width: 100%;
  height: 44%;
  transform: translateX(-50%);
  background: #F7F7F7;
  pointer-events: none;
}
.fv .fv_inner {
  position: relative;
  z-index: 2;
}
.fv .fv_inner {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
}
.fv .swiper {
  position: relative;
  overflow: visible;
    
}
.fv .swiper-wrapper {
  height: auto;
}
.fv .swiper-slide {
  height: auto;
}
.fv .swiper-img {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  border-radius: 60px;
    
}
.fv .swiper-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
    
}
/* deco */
.fv_deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.fv_deco img {
  display: block;
  width: 100%;
}
.fv_deco_left {
  left: 0;
  top: clamp(320px, 18vw, 320px);
  width: clamp(150px, 18vw, 250px);
}
.fv_deco_right {
  right: 0;
  top: clamp(120px, 18vw, 320px);
  width: clamp(120px, 18vw, 220px);
}
@media (max-width: 768px) {
  .fv_deco_left {
    top: 20%; /* お好みで調整 */
  }
}
/* catch */
.fv .fv_txtbox {
  position: absolute;
  left: clamp(70px, 8vw, 130px);
  top: 50%;
  z-index: 4;
  transform: translateY(-20%);
}
.fv .fv_txtbox p, .fv .fv_txtbox h1 {
  display: table;
  margin: 0;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.94);
  color: #333;
  line-height: 1.25;
  letter-spacing: 0.12em;
    border-radius: 10px;
}
.fv .fv_txtbox p {
  margin-bottom: 16px;
}
.fv .fv_txtbox span {
  color: #ff6fac;
}
/* news */
.fv .fv_news_slider {
  position: absolute;
  left: 50%;
  bottom: -34px;
  z-index: 5;
  width: min(820px, 78%);
  transform: translateX(-50%);
}
.fv .fv_news_slider .contents {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.fv .fv_news_slider .webgene-item {
  display: none;
}
.fv .fv_news_slider .webgene-item.active {
  display: block;
}
.fv .fv_news_slider a {
  text-decoration: none;
}
.fv .fv_news_slider .item {
  min-height: 64px;
  padding: 0 clamp(24px, 4vw, 52px);
  box-sizing: border-box;
  gap: clamp(14px, 2vw, 28px);
}
.fv .fv_news_slider .label1 {
  align-items: center;
  gap: 16px;
  flex: none;
  padding-right: 22px;
  border-right: 1px solid rgba(51, 51, 51, 0.25);
}
.fv .fv_news_slider .catelabel {
  color: #71c6cf;
  letter-spacing: 0.12em;
}
.fv .fv_news_slider .date {
  color: #c7b28b;
  letter-spacing: 0.08em;
}
.fv .fv_news_slider h3 {
  flex: 1;
  margin: 0;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.08em;
}
/* ---------- responsive ---------- */
@media screen and (max-width: 900px) {
  .fv {
    padding: 84px 20px 58px;
  }
  .fv .swiper-img {
    height: 72vh;
    min-height: 480px;
  }

  .fv .fv_txtbox p, .fv .fv_txtbox h1 {
    padding: 10px 16px;
    letter-spacing: 0.08em;
  }
  .fv .fv_deco_left {
    left: -72px;
    bottom: 120px;
    width: 180px;
  }
  .fv .fv_deco_right {
    right: -86px;
    top: 150px;
    width: 190px;
  }
  .fv .fv_news_slider {
    width: min(680px, 88%);
  }
}
@media screen and (max-width: 576px) {
  .fv {
    padding: 70px 14px 70px;
  }
  .fv .swiper-img {
    height: 76vh;
    min-height: 430px;
  }
  .fv .fv_txtbox {
    left: 18px;
    right: 18px;
    top: 50%;
    transform: translateY(-8%);
  }
  .fv .fv_txtbox p, .fv .fv_txtbox h1 {
    padding: 9px 13px;
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: 0.06em;
  }
  .fv .fv_txtbox p {
    margin-bottom: 12px;
  }
  .fv .fv_deco_left {
    left: -70px;
    bottom: 112px;
    width: 158px;
  }
  .fv .fv_deco_right {
    right: -82px;
    top: 118px;
    width: 165px;
  }
  .fv .fv_news_slider {
    bottom: -46px;
    width: calc(100% - 18px);
  }
  .fv .fv_news_slider .contents {
    border-radius: 18px;
  }
  .fv .fv_news_slider .item {
    min-height: auto;
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .fv .fv_news_slider .label1 {
    width: 100%;
    padding-right: 0;
    border-right: none;
    gap: 12px;
  }
  .fv .fv_news_slider h3 {
    width: 100%;
    font-size: 13px;
  }
}
.fv .fv_news_slider .contents {
  position: relative;
  min-height: 64px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.fv .fv_news_slider .webgene-blog {
  position: relative;
  min-height: 64px;
}

.fv .fv_news_slider .webgene-item {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  transform: translateY(-110%);
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.fv .fv_news_slider .webgene-item.active {
  transform: translateY(0);
}

.fv .fv_news_slider .webgene-item.is-exit {
  transform: translateY(110%);
}

.fv .fv_news_slider .webgene-item.is-preparing {
  transition: none;
}

.fv .fv_news_slider .webgene-item a {
  display: block;
  color: #333;
  text-decoration: none;
}

.fv .fv_news_slider .item {
  min-height: 64px;
  padding: 0 clamp(24px, 4vw, 52px);
  box-sizing: border-box;
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}