@charset "utf-8";
/* ===== 共有 */

:root {
  --black: #041728;
  --white: #fff;
  --red: #eb694f;
  --gray: #e0e1e3;
  --yellow: #f2b833;
  --green: #88c55c;
  --bk-gray: #f2f3f4;
  --font-noto-sans-serif: "Noto Sans JP", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  font-family: var(--font-noto-sans-serif);
  box-sizing: border-box;
  letter-spacing: .05em;
  scroll-padding: 50px;
}

body {
  margin: 0;
  box-sizing: border-box;
  color: var(--black);
  background-color: var(--white);
}

a {
  text-decoration: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

button {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

/* ===== header */

.common-contents {
  padding: 0 max(3.8vw, 15px);
}

.font-l {
  font: normal 700 clamp(1.8rem, 4.6vw, 2.4rem)/1.8 var(--font-noto-sans-serif);
}

.font-m {
  font: normal 700 clamp(1.6rem, 4.1vw, 1.8rem)/1.5 var(--font-noto-sans-serif);
}

.font-s {
  font: normal 500 clamp(1.5rem, 3.8vw, 1.6rem)/1.5 var(--font-noto-sans-serif);
}

.font-red {
  color: var(--red);
}

.br-1900,
.br-500 {
  display: none;
}

.fade-in {
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(50px);
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#header {
  display: flex;
  width: 100%;
  height: fit-content;
  padding: 10px 3.8%;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: var(--black);
  position: fixed;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  max-width: 1240px;
  padding: 10px 3.8%;
  align-items: center;
  justify-content: space-between;
}

.nav-logobox {
  margin: 0;
}

.sp-ap {
  display: none;
}

.header-nav-list {
  display: flex;
  width: 100%;
  margin: 0;
  align-items: center;
  gap: 2.3vw;
}

.menu-link {
  color: var(--white);
}

.btn-apply {
  display: flex;
  padding: 10px min(1vw, 14px);
  border-radius: 5px;
  box-sizing: border-box;
  align-items: center;
  gap: 1em;
  justify-content: space-evenly;
}

.btn-red {
  color: var(--white);
  background-color: var(--red);
  border: solid 2px transparent;
  transition: all 0.3s;
}

.btn-red:hover {
  color: var(--red);
  background-color: var(--white);
  border: solid 2px var(--red);
}


.btn-black {
  color: var(--white);
  background-color: var(--black);
  border: solid 2px transparent;
  transition: all 0.3s;
}

.btn-black:hover {
  color: var(--black);
  background-color: var(--white);
  border: solid 2px var(--black);
}

.apply-img {
  display: inline-block;
  position: relative;
}

.btn-red::before {
  content: '';
  width: 32px;
  height: 40px;
  background: url(image/egg-hover-red.svg) no-repeat center / contain;
  transition: all 0.3s;
  position: relative;
}

.btn-red:hover::before {
  background: url(image/egg-red-arrow.svg) no-repeat center / contain;
}

.btn-black::before {
  content: '';
  width: 32px;
  height: 40px;
  background: url(image/egg-hover-blackgray.svg) no-repeat center / contain;
  transition: all 0.3s;
  position: relative;
}

.btn-black:hover::before {
  background: url(image/egg-black-arrow.svg) no-repeat center / contain;
}

.btn-nav {
  width: clamp(155px, 39.7vw, 250px);
  max-width: 250px;
  box-sizing: border-box;
}

#header-menu-trigger .header-menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px -2px;
  background: var(--white);
  border-radius: 1px;
  transition: background-color .5s ease;
  position: relative;
}

#header-menu-trigger .header-menu-icon::before,
#header-menu-trigger .header-menu-icon::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all .5s ease;
  transform-origin: left center;
  position: absolute;
  left: 0;
  right: 0;
}

#header-menu-trigger {
  display: none;
  width: 45px;
  height: 45px;
  padding: 1.3rem;
  background-color: var(--black);
  border: 2px solid var(--white);
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
  transform: rotate(180deg);
  position: fixed;
  inset: 1.5em 3.8% auto auto;
  z-index: 90;
}

#header-menu-switch {
  display: none;
}


#header-menu-trigger .header-menu-icon::before {
  top: -.8rem;
}

#header-menu-trigger .header-menu-icon::after {
  bottom: -.8rem;
}

#header-menu-switch:checked~#header-menu-trigger .header-menu-icon {
  background: transparent;
}

#header-menu-switch:checked~#header-menu-trigger .header-menu-icon::before {
  rotate: 40deg;
  scale: 1.23 1;
}

#header-menu-switch:checked~#header-menu-trigger .header-menu-icon::after {
  rotate: -40deg;
  scale: 1.23 1;
}

/* ===== fv */
#fv {
  padding-top: 80px;
  box-sizing: border-box;
}

.fv-titlebox {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 96 / 25;
  justify-content: space-between;
}

.fv-henbox {
  width: 50%;
  flex-shrink: 1;
  position: relative;
}

.fv-hen-img {
  width: 100%;
  height: 100%;
}

.fv-hen-sp-img {
  display: none;
}

.fv-henbox::before {
  content: '';
  width: auto;
  height: 130%;
  aspect-ratio: 391 / 629;
  background: url(image/fv-eggs-white.svg) no-repeat center / contain;
  margin: auto;
  position: absolute;
  right: -10vw;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.fv-henbox::after {
  content: '';
  width: 20vw;
  height: auto;
  aspect-ratio: 387 / 286;
  background: url(image/fv-eggs-red.svg) no-repeat center / contain;
  margin: auto;
  position: absolute;
  right: 1vw;
  bottom: -40px;
  z-index: 2;
}

.fv-rightcontainer {
  display: flex;
  width: 50%;
  height: 100%;
  padding-right: 5vw;
  flex-shrink: 1;
  background-color: var(--white);
  gap: 2vw;
}

.fv-txtbox {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.fv-logobox,
.fv-catchcopy,
.btn-fv {
  position: relative;
  z-index: 3;
}

.fv-catchcopy {
  margin: 1em 0 1.3em;
  font-size: clamp(1.5rem, 1.5vw, 1.8em);
  text-align: right;
}

.fv-logobox {
  width: 19.6vw;
  max-width: 378px;
  margin: 0;
}

.fv-logo {
  width: 100%;
  height: auto;
}

.btn-fv {
  width: 19.6vw;
  max-width: 250px;
  font-size: clamp(1.4rem, 1.38vw, 1.8em);
}

.fv-imgbox {
  margin: auto;
}

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

/* ===== about */
#about {
  padding: clamp(80px, 20.5vw, 100px) 0 0;
}

#about .common-contents {
  display: flex;
  max-width: 1240px;
  margin: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: min(100px, 5.2vw);
}

.about-imgbox {
  width: 50%;
  max-width: 594px;
  height: fit-content;
  flex-shrink: 1;
}

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

.about-txtbox {
  width: 50%;
  max-width: 552px;
  flex-shrink: 1;
}

.about-logobox {
  display: flex;
  margin: 0 0 .4em 0;
  align-items: center;
  gap: .5em;
}

.about-describe-txt:nth-child(2) {
  display: inline-block;
  margin-top: 1em;
}

/* ===== feature */
#feature {
  padding: clamp(60px, 15.3vw, 200px) 0 clamp(50px, 12.8vw, 100px);
}

.body-title {
  margin: 0;
  font: normal 700 clamp(2rem, 5.1vw, 3.2rem)/1.8 var(--font-noto-sans-serif);
  text-align: center;
}

.body-title::before {
  content: '';
  display: block;
  width: 31px;
  height: 40px;
  background: url(image/logo-egg.svg) no-repeat center / contain;
  margin: auto;
}

.body-txt {
  margin: 0;
  text-align: center;
  color: var(--red);
}

.feature-wrapper {
  display: flex;
  max-width: 1240px;
  margin: clamp(40px, 10.2vw, 80px) auto 0;
  gap: min(150px, 8.12vw);
  counter-reset: number 0;
}

.feature-list,
.feature-imgbox {
  width: 50%;
  margin: 0;
}

.feature-item:not(:first-child) {
  margin-top: clamp(20px, 5.1vw, 50px);
}

.feature-title {
  display: flex;
  margin: 0;
  color: var(--red);
  align-items: center;
  gap: 10px;
}

.feature-title::before {
  content: '';
  display: flex;
  width: 31px;
  height: 40px;
  counter-increment: number 1;
  content: "0" counter(number);
  justify-content: center;
  align-items: center;
  color: var(--white);
  font: normal 700 1.8rem/1.5 var(--font-noto-sans-serif);
  background: url(image/egg-red.svg) no-repeat center / contain;
}

.feature-txt {
  max-width: 470px;
  margin: .5em 0 0 40px;
}


.feature-img {
  width: 100%;
  height: 100%;
}

/* ===== function */
#function {
  padding: clamp(50px, 12.8vw, 100px) 0;
  background: var(--bk-gray);
}

.function-list {
  display: flex;
  max-width: 1240px;
  margin: clamp(20px, 5.1vw, 70px) auto clamp(20px, 5.1vw, 50px);
  justify-content: space-between;
  gap: 1vw;
}

.function-item {
  display: flex;
  width: 100%;
  max-width: 190px;
  padding: 30px 0;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border-radius: 5px;
}

.function-item-title {
  display: inline-block;
  width: 150px;
  margin: 0;
  color: var(--red);
}

.function-detail-container {
  display: flex;
  max-width: 1240px;
  margin: auto;
  padding: 30px 40px 40px 40px;
  box-sizing: border-box;
  justify-content: space-around;
  align-items: flex-start;
  border-radius: 5px;
  border: 2px solid rgba(235, 105, 79, 0.30);
  background: var(--white);
}

.function-detail-title {
  margin: 0;
}

.function-detail-list {
  margin: 15px 0 0;
}

.function-detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.function-detail-list .function-detail-item:not(:first-child) {
  margin-top: 12px;
}

.function-detail-item:before {
  content: '';
  display: flex;
  width: 12px;
  height: 16px;
  background: url(image/egg-red.svg) no-repeat center / contain;
}

.function-line {
  display: block;
  height: 300px;
  position: relative;
}

.function-line::before {
  content: '';
  display: block;
  height: 100%;
  border-left: 2px dashed rgba(235, 105, 79, 0.30);
}

.btn-function {
  width: 100%;
  max-width: 350px;
  margin: clamp(20px, 5.1vw, 60px) auto 0;
  justify-content: center;
}

/* ===== mnfis */
#mnfis {
  padding: clamp(50px, 12.8vw, 100px) 0 clamp(50px, 12.8vw, 150px);
  background: url(image/hen-in-mnfis-background.webp) no-repeat right top / cover;
}

.mnfis-subtitle {
  width: fit-content;
  margin: 20px auto 0;
  font: normal 500 2.0rem/1.5 var(--font-noto-sans-serif);
  color: var(--black);
  position: relative;
}

.mnfis-subtitle::before,
.mnfis-subtitle::after {
  content: '';
  width: 1em;
  height: 2px;
  background-color: var(--red);
  position: absolute;
  top: 50%;
}

.mnfis-subtitle::before {
  transform: translateY(-50%) rotate(70deg);
  left: -1em;
}

.mnfis-subtitle::after {
  transform: translateY(-50%) rotate(-70deg);
  right: -.5em;
}

.mnfis-list {
  display: flex;
  width: 100%;
  max-width: 1240px;
  margin: clamp(40px, 10.2vw, 80px) auto 0;
  gap: 3vw;
  justify-content: space-between;
}

.mnfis-item {
  display: flex;
  width: fit-content;
  flex-direction: column;
}

.mnfis-img-wrapper {
  height: auto;
}

.mnfis-imgbox {
  display: block;
  height: auto;
}

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

.mnfis-txt {
  width: 100%;
}

.mnfis-item:first-child .mnfis-txt {
  max-width: 253px;
}

.mnfis-item:nth-child(2) .mnfis-txt {
  max-width: 405px;
}

.mnfis-item:nth-child(3) .mnfis-txt {
  max-width: 349px;
}

.mnfis-imgbox:nth-child(2) {
  margin-top: min(.5vw, 15px);
}

/* ===== cta */
.cta {
  padding: clamp(40px, 10.2vw, 80px) 0;
  background-color: var(--red);
}

.cta-wrapper {
  display: flex;
  width: 100%;
  max-width: 940px;
  margin: auto;
  justify-content: space-between;
  align-items: flex-end;
  gap: 6.4vw;
}

.cta-logobox {
  width: 210px;
  height: 50px;
  margin: 0;
}

.cta-logo {
  width: 100%;
  height: auto;
}


.cta-txt {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--white);
}

.btn-cta {
  width: 100%;
  max-width: 350px;
  height: fit-content;
}

/* ===== cta */
#footer {
  padding: 50px 0;
  background-color: var(--black);
}

.footer-logobox {
  width: 126px;
  height: 30px;
  margin: auto;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-list {
  display: flex;
  margin: 20px 0;
  justify-content: center;
  gap: 11px;
}

.footer-link {
  color: var(--white);
  padding-right: 11px;
  line-height: 1;
  border-right: 2px solid var(--white);
}

.footer-link:last-child {
  border-right: none;
}

.coppyright {
  margin: 0;
  font: normal 500 1.4rem/1.8 var(--font-noto-sans-serif);
  color: var(--white);
  text-align: center;
}

/* ===== function-page */

#sub-title {
  margin-top: 80px;
  overflow: hidden;
  background: url(image/screen-overview-image.webp) no-repeat right center / cover;
  position: relative;
}


#sub-title::after {
  content: '';
  width: auto;
  height: 100%;
  aspect-ratio: 726 / 200;
  position: absolute;
  background: url(image/screen-overview-egg.svg) no-repeat right top / contain;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  z-index: 0;
}

.sub-title-wrapper {
  display: flex;
  position: relative;
  z-index: 1;
}

.sub-fv-title-group {
  display: flex;
  width: fit-content;
  height: 200px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 5vw;
}

.sub-fv-title {
  width: fit-content;
  margin: 0;
  font: normal 700 clamp(2.4rem, 6.1vw, 4.8rem)/1.8 var(--font-noto-sans-serif);
  color: var(--black);
}

.sub-fv-subtitle {
  width: fit-content;
  margin: -.3em 0 0;
}

#function-btn {
  background-color: var(--black);
  overflow: hidden;
  position: relative;
}

#function-btn::after {
  content: '';
  display: block;
  width: auto;
  height: 140%;
  aspect-ratio: 213 / 307;
  background: url(image/mn-layer-logo-horizontal-opacity5.svg) no-repeat center / contain;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

}

/* ===== function-btn */
#function-btn {
  padding: clamp(40px, 10.2vw, 60px) 0 clamp(60px, 15.3vw, 80px);
}

#function-btn .body-title::before {
  display: none;
}

.function-btn-title {
  color: var(--white);
}

.function-btn-list {
  display: flex;
  max-width: 940px;
  margin: clamp(25px, 6.4vw, 40px) auto 0;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.function-btn-link {
  display: flex;
  width: 220px;
  padding: 13px 0;
  border-radius: 5px;
  color: var(--black);
  background-color: var(--white);
  border: solid 2px transparent;
  transition: all 0.3s;
  align-items: center;
  justify-content: center;
  gap: min(20px, 2vw);
  pointer-events: auto;
}

.function-btn-item:nth-child(1) .function-btn-link::before,
.function-btn-item:nth-child(2) .function-btn-link::before,
.function-btn-item:nth-child(3) .function-btn-link::before,
.function-btn-item:nth-child(4) .function-btn-link::before {
  content: '';
  display: block;
  width: 32px;
  height: 40px;
  aspect-ratio: 4/5;
  transition: all 0.3s;
  background: url(image/egg-gray-arrow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(1) .function-btn-link::before {
  background: url(image/egg-gray-arrow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(1) .function-btn-link:hover {
  color: var(--white);
  background-color: var(--black);
  border: solid 2px var(--white);
}

.function-btn-item:nth-child(1) .function-btn-link:hover,
.function-btn-item:nth-child(2) .function-btn-link:hover,
.function-btn-item:nth-child(3) .function-btn-link:hover,
.function-btn-item:nth-child(4) .function-btn-link:hover {
  color: var(--white);
}

.function-btn-item:nth-child(1) .function-btn-link:hover::before {
  background: url(image/egg-hover-blackgray.svg) no-repeat center / contain;
}


.function-btn-item:nth-child(2) .function-btn-link::before {
  background: url(image/egg-yellow-arrow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(2) .function-btn-link:hover {
  background-color: var(--yellow);
  border: solid 2px var(--yellow);
}

.function-btn-item:nth-child(2) .function-btn-link:hover::before {
  background: url(image/egg-hover-yellow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(3) .function-btn-link::before {
  background: url(image/egg-green-arrow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(3) .function-btn-link:hover {
  background-color: var(--green);
  border: solid 2px var(--green);
}

.function-btn-item:nth-child(3) .function-btn-link:hover::before {
  background: url(image/egg-hover-green.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(4) .function-btn-link::before {
  background: url(image/egg-red-arrow.svg) no-repeat center / contain;
}

.function-btn-item:nth-child(4) .function-btn-link:hover {
  background-color: var(--red);
  border: solid 2px var(--red);
}

.function-btn-item:nth-child(4) .function-btn-link:hover::before {
  background: url(image/egg-hover-red.svg) no-repeat center / contain;
}

.function-btn-link {
  color: var(--black);
  text-decoration: none;
}

/* ===== general */
#general {
  padding: max(130px, 12.5vw) 0 0;
  background: url(image/hen-photo.webp) no-repeat top / contain;
}

.general-list {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 10vw 20px;
  box-sizing: border-box;
  grid-template-columns: repeat(4, 1fr);
  border: solid var(--black) 2px;
  border-radius: 5px;
  gap: 10px min(60px, 6vw);
  position: relative;
}

.general-list::before {
  content: '全般';
  display: block;
  width: 80%;
  height: auto;
  max-width: 840px;
  margin: auto;
  padding: 15px 0;
  border-radius: 5px;
  color: var(--white);
  background-color: var(--black);
  text-align: center;
  font: normal 500 clamp(2rem, 5.12vw, 3.2rem)/1.5 var(--font-noto-sans-serif);
  position: absolute;
  top: -40px;
  right: 0;
  left: 0;
}

.general-item {
  display: flex;
  gap: 5px;
  align-items: center;
  text-align: start;
}

.general-item::before {
  content: '';
  display: block;
  width: 12px;
  height: 16px;
  background: url(image/egg-black.svg) no-repeat center / contain;
}

.touch-item::before {
  content: '';
  display: block;
  width: 12px;
  height: 16px;
  background: url(image/egg-red.svg) no-repeat center / contain;
}

.touch-item a {
  width: fit-content;
  text-decoration: none;
  color: var(--black);
  pointer-events: auto;
  border-bottom: solid 2px var(--red);
}

.touch-item:hover {
  color: var(--red);
}

/* ===== dashboard */
#dashboard {
  padding: clamp(50px, 12.8vw, 100px) 0;
  position: relative;
}

#dashboard::before,
#dashboard::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/function-egg.svg) no-repeat center / contain;
  position: absolute;
  left: 0;
  top: 10vw;
  z-index: -1;
}

#dashboard::after {
  right: 0;
  bottom: 6vw;
  left: unset;
  top: unset;
  transform: scale(-1, 1);
  z-index: -1;
}

.sub-body-txt {
  max-width: 640px;
  margin: 1em auto 0;
}

.function-flex {
  display: flex;
  max-width: 1240px;
  margin: clamp(30px, 7.6vw, 70px) auto 0;
  align-items: flex-start;
  gap: 3vw;
}

.function-flex-imgbox {
  flex-shrink: 3;
}

.function-flex-img {
  width: 100%;
  height: 100%;
}

.dashboard-list {
  display: grid;
  margin: 0;
  padding: 20px;
  flex-shrink: 2;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 5px;
  box-shadow: 0 0 5px 0 rgba(4, 23, 40, 0.50);
  gap: 10px;
  background-color: var(--white);
}

.dashboard-item {
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
}

/* ===== chicken-metrics */
#chicken-metrics {
  padding: clamp(80px, 20.5vw, 100px) 0;
  background-color: #f2f3f4;
}

.chicken-metrics-imgbox {
  display: block;
  width: 100%;
  max-width: 940px;
  margin: clamp(40px, 10.2vw, 70px) auto 0;
}

.chicken-metrics-img {
  width: 100%;
  height: auto;
}

/* ===== growth */
#growth {
  padding: max(130px, 12.5vw) 0 0;
  background: url(image/rearing-chick-background.webp) no-repeat top / contain;
  position: relative;
}

#growth .general-list {
  border: solid 2px var(--yellow);
}

#growth .general-list::before {
  content: '育成';
  background-color: var(--yellow);
}

#growth .touch-item::before {
  background: url(image/egg-yellow.svg) no-repeat top / contain;
}

#growth .touch-item a {
  border-bottom: solid 2px var(--yellow);
}

/* ===== growth-daily-details */
#growth-daily-details {
  padding: clamp(80px, 20.5vw, 100px) 0 clamp(20px, 5.1vw, 70px);
  position: relative;
}

#growth-daily-details::before,
#growth-daily-details::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/growth-egg01.svg) no-repeat center / contain;
  position: absolute;
  right: 0;
  top: 10vw;
  z-index: -1;
}

#growth-daily-details::after {
  left: 0;
  bottom: 6vw;
  right: unset;
  top: unset;
  transform: scale(-1, 1);
  z-index: -1;
}


#growth .body-title::before {
  background: url(image/logo-egg-chick.svg) no-repeat top / contain;
}

.function-flex {
  display: flex;
  max-width: 1240px;
  gap: 3vw;
}

.function-flex-imgbox {
  flex-shrink: 3;
}

.function-flex-img {
  width: 100%;
  height: auto;
}

.function-sub-list-container {
  padding: 30px 35px 40px;
  flex-shrink: 2;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 0 4px 0 rgba(4, 23, 40, 0.20);
}

.function-sub-list-title {
  margin: 0;
  border-bottom: solid 2px var(--yellow);
}

.function-sub-list {
  width: 300px;
  margin: 15px 0 0;
}

.function-sub-item:not(:first-child) {
  margin-top: 10px;
}

.function-sub-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.function-sub-item::before {
  content: '';
  display: block;
  width: 12px;
  height: 16px;
  background: url(image/egg-yellow.svg) no-repeat center / contain;
}

/* ===== growth-weekly-details */
#growth-weekly-details {
  padding: clamp(80px, 20.5vw, 100px) 0 clamp(50px, 12.8vw, 70px);
  position: relative;
}

#growth-weekly-details::before,
#growth-weekly-details::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/growth-egg02.svg) no-repeat center / contain;
  transform: scale(-1, 1);
  position: absolute;
  left: 0;
  bottom: 6vw;
  z-index: -1;
}

#growth-weekly-details::after {
  right: 0;
  top: 10vw;
  left: unset;
  bottom: unset;
  transform: scale(1, 1);
  z-index: -1;
}

/* ===== growth-weekly-details-graph */
#growth-weekly-details-graph {
  padding: clamp(50px, 12.8vw, 70px) 0 clamp(60px, 15.3vw, 100px);
  background-color: rgba(242, 184, 51, 0.10);
}

/* ===== layer-hen */
#layer-hen {
  padding: max(130px, 12.5vw) 0 0;
  background: url(image/adult-chicken-background.webp) no-repeat top / contain;
}

#layer-hen .general-list {
  border: solid var(--green) 2px;
}

#layer-hen .general-list::before {
  content: '成鶏';
  background-color: var(--green);
}

#layer-hen .touch-item::before {
  background: url(image/egg-green.svg) no-repeat top / contain;
}

#layer-hen .touch-item a {
  border-bottom: solid 2px var(--green);
}

#layer-hen-daily-details {
  padding: clamp(50px, 12.8vw, 100px) 0 clamp(20px, 5.1vw, 70px);
  position: relative;
}

#layer-hen-daily-details::before,
#layer-hen-daily-details::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/layer-hen-egg01.svg) no-repeat center / contain;
  transform: scale(-1, 1);
  position: absolute;
  left: 0;
  bottom: 6vw;
  z-index: -1;
}

#layer-hen-daily-details::after {
  right: 0;
  top: 10vw;
  left: unset;
  bottom: unset;
  transform: scale(1, 1);
  z-index: -1;
}

#layer-hen .function-sub-list-title {
  border-bottom: solid 2px var(--green);
}

#layer-hen .function-sub-item::before {
  background: url(image/egg-green.svg) no-repeat center / contain;
}

#layer-hen .sub-body-txt {
  width: fit-content;
}

/* ===== layer-hen-weekly-details */

#layer-hen-weekly-details {
  padding: clamp(50px, 12.8vw, 100px) 0;
  position: relative;
}

#layer-hen-weekly-details::before,
#layer-hen-weekly-details::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/layer-hen-egg02.svg) no-repeat center / contain;
  transform: scale(-1, 1);
  position: absolute;
  left: 0;
  bottom: 6vw;
  z-index: -1;
}

#layer-hen-weekly-details::after {
  right: 0;
  top: 10vw;
  left: unset;
  bottom: unset;
  transform: scale(1, 1);
  z-index: -1;
}

/* ===== layer-hen-weekly-details-graph */
#layer-hen-weekly-details-graph {
  padding: clamp(50px, 12.8vw, 70px) 0 clamp(60px, 15.3vw, 100px);
  background: rgba(136, 197, 92, 0.10);
}

/* ===== chicken-egg */
#chicken-egg {
  padding: max(130px, 12.5vw) 0 0;
  background: url(image/chicken-egg.webp) no-repeat top / contain;
}

#chicken-egg .general-list {
  border: solid var(--red) 2px;
}

#chicken-egg .general-list::before {
  content: '鶏卵';
  background-color: var(--red);
}

#chicken-egg .touch-item::before {
  background: url(image/egg-red.svg) no-repeat top / contain;
}

#chicken-egg .touch-item a {
  border-bottom: solid 2px var(--red);
}

#chicken-egg .function-sub-list-title {
  border-bottom: solid 2px var(--red);
}

#chicken-egg .function-sub-item::before {
  background: url(image/egg-red.svg) no-repeat center / contain;
}

#egg-shipment {
  padding: clamp(50px, 12.8vw, 100px) 0 clamp(60px, 15.3vw, 70px);
  position: relative;
}

#egg-shipment::before,
#egg-shipment::after {
  content: '';
  display: block;
  width: 120px;
  height: 250px;
  background: url(image/chicken-egg-egg.svg) no-repeat center / contain;
  transform: scale(-1, 1);
  position: absolute;
  left: 0;
  bottom: 6vw;
  z-index: -1;
}

#egg-shipment::after {
  right: 0;
  top: 10vw;
  left: unset;
  bottom: unset;
  transform: scale(1, 1);
  z-index: -1;
}

/* ===== contact-form */
.form-style {
  padding: clamp(110px, 28.2vw, 175px) 0 clamp(50px, 12.8vw, 200px);
  background-color: var(--bk-gray);
  overflow: hidden;
  position: relative;
}

.form-style::after {
  content: '';
  width: 30vw;
  height: auto;
  aspect-ratio: 572 / 692;
  background: url(image/mn-layer-logo-horizontal-gray.svg) no-repeat center / contain;
  position: absolute;
  bottom: 0;
  right: -3vw;
  z-index: 0;
}

.form-list {
  width: 100%;
  max-width: 940px;
  margin: 40px auto;
  padding: clamp(35px, 8.9vw, 75px) max(3.17vw, 15px);
  border-radius: 5px;
  box-sizing: border-box;
  background: var(--white);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.form-item {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.form-item:not(:first-child) {
  margin-top: 30px;
}

.form-label {
  width: 40%;
}

.required {
  display: inline;
  margin: 0 clamp(10px, 2.56vw, 20px) 0 0;
  padding: 3px 7px;
  font: normal 400 1.4rem/1.5 var(--font-noto-sans-serif);
  background-color: var(--red);
  color: var(--white);
}

.privacy-check-required {
  margin-left: clamp(10px, 2.56vw, 20px);
}

.form-box {
  width: 60%;
  padding: 5px 10px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(17, 29, 89, 0.30);
}

.form-box:focus {
  outline: 2px solid var(--red);
}

.select-box {
  width: 60%;
  box-sizing: border-box;
  background: url(image/arrow-black.svg) no-repeat center right 10px / 20px;
  color: var(--black);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

::placeholder {
  color: rgba(51, 51, 51, 0.30);
  ;
}

.form-txtbox {
  height: 200px;
}

.privacy-txtbox {
  width: fit-content;
  margin: clamp(30px, 7.6vw, 40px) auto 0;
}

.privacy-txt {
  width: fit-content;
  margin: 0;
  text-align: start;
}

.privacy-checkbox {
  display: flex;
  width: fit-content;
  margin: 18px auto 0 0;
  align-items: center;
  gap: 10px;
}

.privacy-check {
  width: 100%;
  margin: 0;
  flex-direction: row-reverse;
}

.privacy-checktxt {
  width: 15px;
  height: 15px;
  margin: 0;
}

input[type="checkbox"] {
  accent-color: var(--red);
}

.btn-form {
  width: 100%;
  max-width: 250px;
  margin: 40px auto 0;
  position: relative;
}

.mg-bt {
  margin-bottom: 3em;
}

.btn-to-top {
  max-width: 640px;
  margin: 1em auto 0;
  justify-content: center;
  position: relative;
  z-index: 1;
}


/* ===== error */
#error .body-title::before {
  content: '';
  display: block;
  width: 31px;
  height: 40px;
  background: url(image/cracked-egg.svg) no-repeat center / contain;
  margin: auto;
}


@media screen and (max-width: 1900px) {
  .br-1900 {
    display: block;
  }

}

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

  #header-menu-trigger {
    display: block;
  }

  .font-l {
    font: normal 700 clamp(1.8rem, 4.6vw, 2rem) / 1.8 var(--font-noto-sans-serif);
  }

  .sp-ap {
    display: block;
  }

  #header {

    display: block;
    width: 100vw;
    box-sizing: border-box;
    padding: 15px max(15px, 3.8vw);
    position: fixed;
    top: 0;
    right: 0;
  }

  .header-container {
    height: 100vh;
    max-height: 0;
    padding: 0;
    transition:
      max-height 0.4s ease,
      opacity 0.4s ease,
      visibility 0s ease 0.4s,
      padding-top 0.4s ease;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
  }

  .header-container .nav-logobox {
    display: none;
  }

  #header-menu-switch:checked~.header-container {
    max-height: calc(100vh - 100px);
    padding-top: 10vw;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      max-height 0.4s ease,
      opacity 0.4s ease,
      visibility 0s ease 0s,
      padding-top 0.4s ease;
  }

  #header::before {
    content: '';
    width: 50vw;
    height: auto;
    aspect-ratio: 572 / 691;
    background: url(image/mn-layer-logo-horizontal-nav.svg) no-repeat center / contain;
    transition: 0.4s ease;
    opacity: 0;
    position: fixed;
    right: -30px;
    bottom: -10px;
    pointer-events: none;
    z-index: -10;
  }

  #header:has(#header-menu-switch:checked)::before {
    opacity: 1;
  }


  #header-menu-switch:checked~.header-container::before {
    opacity: 1;
  }

  .header-nav-list {
    display: flex;
    flex-direction: column;
    gap: max(5vw, 30px);
  }

  .btn-apply {
    padding: 10px min(5vw, 16px);
    justify-content: center;
  }

  .btn-nav {
    width: 100%;
    max-width: 260px;
  }

  #fv {
    padding-top: 75px;
  }


  .fv-titlebox {
    flex-direction: column;
  }

  .fv-henbox,
  .fv-rightcontainer {
    width: 100%;
  }

  .fv-rightcontainer {
    z-index: 1;
  }

  .fv-henbox {
    margin-top: -20vw;
    overflow: hidden;
    z-index: 0;
  }

  .fv-hen-pc-img {
    display: none;
  }

  .fv-hen-sp-img {
    display: block;
  }

  .fv-henbox::before {
    height: 130vw;
    right: 6%;
    top: unset;
    bottom: -75vw;
    z-index: 1;
    transform: rotate(100deg);
  }

  .fv-henbox::after {
    width: 40vw;
    right: 0;
    bottom: 50px;
  }

  .fv-rightcontainer {
    height: auto;
    margin-top: -18vw;
    padding: 50px 3.8vw 0;
    box-sizing: border-box;
    gap: 5vw;
    justify-content: center;
    align-items: flex-end;
    background-color: transparent;
    z-index: 1;
  }

  .fv-txtbox {
    flex-shrink: 1;
    width: 50%;
  }

  .fv-logobox {
    width: 70%;
  }

  .fv-catchcopy {
    margin: 0em 0 1em;
  }

  .btn-fv {
    width: 38.4vw;
    min-width: 150px;
    padding: 0 min(5vw, 10px);
  }

  .btn-black::before {
    width: 20px;
  }

  .btn-to-top::before,
  .btn-cta::before {
    width: 32px;
  }

  .fv-imgbox {
    flex-shrink: 1;
    width: 60%;
  }

  #about .common-contents,
  .feature-wrapper {
    flex-direction: column;
    align-items: center;
  }

  #about .common-contents {
    flex-direction: column-reverse;
  }

  .about-imgbox,
  .about-txtbox,
  .feature-list,
  .feature-imgbox {
    width: 100%;
    max-width: 610px;
  }

  .feature-txt {
    width: auto;
    max-width: 610px;
  }

  .function-list {
    display: grid;
    width: 100%;
    max-width: 610px;
    grid-template: repeat(2, auto) / repeat(3, auto);
    gap: 2vw;
  }

  .function-item {
    width: 100%;
    max-width: 220px;
    padding: 30px 1em;
  }

  .function-item-title {
    width: 100%;
  }

  .function-detail-container {
    max-width: 610px;
    flex-direction: column;
    gap: 3vw;
  }

  .function-detail-box {
    display: flex;
    width: 100%;
    gap: 3em;
    justify-content: flex-start;
  }

  .function-detail-title {
    margin: 0;
    flex-shrink: 0;
    width: 5.2em;
  }

  .function-detail-list {
    display: flex;
    margin: 10px 0 0;
    flex-wrap: wrap;
    gap: 2em;
  }

  .function-detail-list .function-detail-item:not(:first-child) {
    margin-top: 0;
  }

  .function-line {
    display: block;
    height: 0;
    width: 100%;
    position: relative;
  }

  .function-line::before {
    content: '';
    display: block;
    width: 100%;
    border-left: unset;
    border-top: 2px dashed rgba(235, 105, 79, 0.30);
  }

  .mnfis-list {
    max-width: 610px;
    flex-direction: column;
    gap: max(23px, 5vw);
  }

  .mnfis-item {
    flex-direction: row;
    justify-content: space-between;
    gap: 3vw;
  }

  .mnfis-imgbox {
    width: 100%;
    max-width: 260px;
  }


  .mnfis-img-wrapper {
    width: 100%;
    max-width: 260px;
  }

  .mnfis-txt {
    width: 50%;
    margin: 0;
  }

  .cta-wrapper {
    max-width: 610px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* ===== function-page */
  #sub-title {
    margin-top: 74px;
  }

  #sub-title::after {
    left: -110px;
  }

  .sub-fv-title-group {
    height: 150px;
  }

  .function-btn-link {
    width: 20.5vw;
  }

  #general {
    background: url(image/hen-photo.webp) no-repeat top / 1000px;
  }

  .general-list {
    padding: 60px 9vw 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px min(60px, 2vw);
  }

  #general .function-flex {
    flex-direction: column;
    align-items: center;
    gap: 4vw;
  }

  #general .function-flex-imgbox {
    flex-shrink: 3;
    max-width: 640px;
    width: 100%;
  }

  .dashboard-list {
    max-width: 640px;
    width: 100%;
    padding: 30px 0 20px;
    box-sizing: border-box;
  }

  #growth {
    background: url(image/rearing-chick-background.webp) no-repeat top / 1000px;
  }

  .function-flex-imgbox {
    flex-shrink: 1;
    width: 100%;
  }

  .function-sub-list-container {
    flex-shrink: 1;
    width: 70%;
  }

  .function-sub-list {
    width: 100%;
  }

  #layer-hen {
    background: url(image/adult-chicken-background.webp) no-repeat top / 1000px;
  }

  #chicken-egg {
    background: url(image/chicken-egg.webp) no-repeat top / 1000px;
  }

  .form-style::after {
    width: 15vw;
    bottom: 0;
    right: 3.8%;
  }

  .form-item {
    gap: max(4vw, 10px);
  }

  .form-list .font-m {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 600px) {
  .form-item {
    flex-direction: column;
    gap: max(3vw, 10px);
  }

  .form-box,
  .select-container,
  .form-label {
    width: 100%;
  }

}

@media screen and (max-width: 500px) {
  .br-500 {
    display: block;
  }

  .br-1900 {
    display: none;
  }

  #header-menu-switch:checked~.header-container {
    padding-top: 15vw;
  }

  .header-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10vw;
  }

  #fv {
    padding-top: 17vw;
  }

  .fv-henbox {
    margin-top: -45px;
  }

  .fv-henbox::before {
    height: 130vw;
    bottom: -82vw;
    transform: rotate(105deg);
  }

  .fv-henbox::after {
    bottom: 0;
  }

  .fv-rightcontainer {
    margin-top: -100px;
    flex-direction: column-reverse;
    align-items: center;
    gap: min(100px, 5.2vw);
  }

  .fv-imgbox {
    width: 80%;
  }

  .btn-fv {
    width: 100%;
    max-width: 378px;
  }

  .fv-logobox {
    display: block;
    width: 100%;
    max-width: 378px;
    text-align: center;
  }

  .fv-logo {
    width: 80%;
  }

  .fv-catchcopy {
    width: 100%;
    max-width: 378px;
    margin: .5em 0 1.3em;
    text-align: center;
  }

  .fv-titlebox {
    flex-direction: column;
  }

  .fv-txtbox {
    width: 100%;
    align-items: center;
  }

  .about-imgbox,
  .about-txtbox {
    width: 100%;
    max-width: 940px;
  }

  .function-list {
    grid-template: repeat(2, auto) / repeat(2, auto);
    gap: 3vw;
  }

  .function-detail-list {
    margin: 0;
    gap: 1em 2em;
  }

  .mnfis-subtitle::before,
  .mnfis-subtitle::after {
    width: 3em;
  }

  .mnfis-subtitle::before {
    transform: translateY(-50%) rotate(75deg);
    left: -2.2em;
  }

  .mnfis-subtitle::after {
    transform: translateY(-50%) rotate(-75deg);
    right: -1.8em;
  }

  .mnfis-item {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
  }

  .mnfis-img-wrapper {
    max-width: unset;
  }

  .mnfis-imgbox {
    width: 80%;
    max-width: unset;
    margin: auto;
  }

  .mnfis-item:first-child .mnfis-txt {
    max-width: unset;
  }

  .mnfis-txt {
    max-width: unset;
    width: 80%;
  }

  /* ===== function-page */
  #sub-title {
    background: url(image/screen-overview-image-sp.webp) no-repeat right center / cover;
  }

  #sub-title::after {
    width: auto;
    height: 130%;
    background: url(image/screen-overview-egg-sp.svg) no-repeat right top / contain;
    aspect-ratio: 253 / 114;
    left: 0;
  }

  .sub-title-wrapper {
    height: 100%;
    aspect-ratio: 390 / 114;
    align-items: center;
  }

  .sub-fv-title-group {
    height: 100%;
  }

  .function-btn-link {
    padding: 8px 0;
  }

  .function-btn-item:nth-child(1) .function-btn-link::before,
  .function-btn-item:nth-child(2) .function-btn-link::before,
  .function-btn-item:nth-child(3) .function-btn-link::before,
  .function-btn-item:nth-child(4) .function-btn-link::before {
    width: 15px;
    height: auto;
    margin-top: 1px;
  }

  .general-list {
    padding: 40px 9vw 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .function-flex {
    flex-direction: column;
  }

  .function-sub-list-container {
    width: 100%;
    box-sizing: border-box;
  }

  #growth-weekly-details .function-flex,
  #layer-hen-daily-details .function-flex,
  #layer-hen-weekly-details-graph .function-flex {
    flex-direction: column-reverse;
  }

  .function-sub-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw 10px;
  }

  .function-sub-item {
    align-items: flex-start;
  }

  .function-sub-item::before {
    margin-top: .3em;
    flex-shrink: 0;
  }

  .function-sub-item:not(:first-child) {
    margin-top: 0;
  }

  #layer-hen {
    background: url(image/adult-chicken-background.webp) no-repeat -420px top / 1000px;
  }

}