@charset "UTF-8";
html#head-tag{
  margin: 0 !important;
}
.sp ,
.tablet{
  display: none;
}

.pc {
  display: block;
}

.header-nav.pc {
  display: flex;
}

.layer {
  background: rgba(0, 0, 0, .2);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s linear, visibility 1s linear, z-index 1s linear;
}

.process-section h2,
.fresh h2,
.recommended h2 {
  text-align: center;
  font-size: 45px;
  margin: 0 0 80px;
  color: #333;
}

.about-text img {
  width: 800px;
  margin: 0 auto;
}

section.about-main {
  /* background-image: url('./images/about-main-bg.jpg'); */
  background-size: cover;
  padding: 200px 0px;
  background-position: center;
}


.layer.is-open {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}

.layer.is-open .modal {
  opacity: 1;
  visibility: visible;
}

.modal__button-wrap {
  position: absolute;
  right: 10px;
  top: -28px;
  display: inline-flex;
}


.close-button {
  position: relative;
  width: 39px;
  height: 39px;
  background: #262c8e;
  border-radius: 50%;
  padding: 0;
  border: transparent;
  cursor: pointer;
}

.close-button span {
  width: 25px;
  height: 2px;
  background: #fff;
  display: inline-block;
  position: absolute;
  left: calc(50% - 12px);
  top: 50%;
  border-radius: 20px;
}

.close-button span:nth-child(1) {
  transform: rotate(45deg) translate(-1px, -1px);
}

.close-button span:nth-child(2) {
  transform: rotate(-45deg) translate(1px, -1px);
}



.modal {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 95%;
  min-width: 440px;
  opacity: 0;
  visibility: hidden;
  transition: visibility .7s linear, opacity .7s linear;
}


.modal__inner {
  margin-top: 35px;
  margin-bottom: 125px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 13px;
  display: block;
  padding: 21px 8px 21px;
  height: auto;
}

.modal__content {
  padding-top: 15px;
  padding-bottom: 0;
}


.modal__button-area {
  max-width: 843px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 17px;
  padding-top: 15px;
}

.container .movie-area {
  height: unset;
  background-color: unset;
  margin-bottom: 0;
}

.button {
  background-image: url('./images/moove.svg');
  border: none;
  width: 100%;
  background-color: unset;
}

button.button.js-modal-button img {
  width: 100%;
  height: 100%;
}
.about-main {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像レイヤー */
.about-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/about-main-bg.jpg") center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(12px);
  transition:
    opacity 1.4s ease,
    transform 1.8s ease,
    filter 1.8s ease;
  z-index: 1;
}
.about-main::before {
  transition:
    opacity 1.8s ease,
    transform 2.2s ease,
    filter 2.2s ease;
}

.about-text {
  transition-delay: 1.2s;
}
/* 画像表示後 */
.about-main.is-active::before {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* テキスト全体 */
.about-text {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  transition-delay: 0.9s;
}

/* テキスト表示 */
.about-main.is-active .about-text {
  opacity: 1;
  transform: translateY(0);
  width: 70%;
}

/* img自体の表示崩れ防止 */
.about-text img {
  display: block;
  max-width: 100%;
  height: auto;
}



.quality {
  padding: 7% 0 10%;
}

.quality-wrap {
  display: flex;
  flex-wrap: wrap;
}

.quality-title {
  width: 100%;
  margin-bottom: 20px;
}

.quality-text {
  width: 100%;
  margin-bottom: 70px;
}

.quality-text p {
  margin: 0;
  font-size: clamp(17px, 2vw ,20px);
  font-weight: 400;
}
/* =========================
   左→右 reveal（白マスクなし）
========================= */

/* 対象の初期状態 */
.quality-title,
.process-section h2,
.fresh h2,
.recommended h2 {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transform: translateX(-20px);
  transition:
    clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1),
    -webkit-clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1),
    transform 1.2s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.3s ease;
  will-change: clip-path, transform, opacity;
}

/* JSで付与されるクラス名に合わせる */
.quality-title.is-mask-animated,
.process-section h2.is-mask-animated,
.fresh h2.is-mask-animated,
.recommended h2.is-mask-animated {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  transform: translateX(0);
}

/* 画像の描画安定用 */
.quality-title img,
.process-section h2 img,
.fresh h2 img,
.recommended h2 img {
  display: block;
  max-width: 100%;
  height: auto;
}
.quality-badge {
  width: 50%;
  margin: 0 auto;
}

.process-wrap.pc {
  padding-top: 8%;
}

.container .process-list {
  display: flex;
  gap: 0;
  justify-content: space-evenly;
  flex-direction: row;
}

.process-images {
  display: flex;
  flex-direction: column;
  width: 35%;
  gap: 25px;
}

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

.process-text {
  display: flex;
  flex-direction: column;
  width: 38%;
  gap: 25px;
}

.process-label img {
  width: fit-content;
  height: auto;
}

.flow-text {
  margin-top: 25px;
}

.fresh {
  padding: 90px 0;
}

.fresh-wrap {
  display: flex;
  gap: 35px;
  margin-top: 90px;
  justify-content: center;
}

.fresh-wrap .media-card p {
  left: 0;
  margin-top: 2rem;
  color: #333;
  font-size: 17px;
  font-weight: 500;
  white-space: unset;
  width: auto;
  line-height: 1.7;
}

section.recommended {
  padding: 70px 0 110px;
}

.process-section {
  background-image: url(./images/process-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  padding: 5% 0 7%;
}

.about-bottom {
  background-image: url(./images/about-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.recommended-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 100px;
}

.recommended-title p {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2.8rem;
  letter-spacing: 2px;
}

.support .recommended-title p {
  margin-bottom: 16px;
}

.recommended-text {
  margin-top: 30px;
}

.recommended-text p {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.support .recommended-text p:nth-child(1) {
  letter-spacing: 3.5px;
}

.support .recommended-text p:nth-child(2) {
  letter-spacing: 2.5px;
}

.support .recommended-text p:nth-child(3) {
  letter-spacing: 3.5px;
}

.mechanization .recommended-text p:nth-child(1) {
  letter-spacing: 3.7px;
}

.mechanization .recommended-text p:nth-child(2) {
  letter-spacing: 2.4px;
}

.mechanization .recommended-text p:nth-child(3) {
  letter-spacing: 2.6px;
}

.mechanization .recommended-text p:nth-child(4) {
  letter-spacing: 2.6px;
}

.mechanization .recommended-text p:nth-child(5) {
  letter-spacing: 1.7px;
}

.frozen .recommended-text p:nth-child(1) {
  letter-spacing: 2.6px;
}

.frozen .recommended-text p:nth-child(2) {
  letter-spacing: 2.6px;
}

.frozen .recommended-text p:nth-child(3) {
  letter-spacing: 2px;
}


section.recommended h2 {
  text-align: center;
  font-weight: 700;
}

section.fresh .container h2 img {
  width: 800px;
}

section.recommended .container h2 img {
  width: 1150px;
}

@media screen and (max-width:1300px) {
.process-section h2,
.fresh h2,
.recommended h2 {
  text-align: center;
  font-size: 42px;
  margin: 0 0 80px;
  color: #333;
}

.support .recommended-text p:nth-child(1),
.support .recommended-text p:nth-child(2),
.support .recommended-text p:nth-child(3),
.mechanization .recommended-text p:nth-child(1),
.mechanization .recommended-text p:nth-child(2),
.mechanization .recommended-text p:nth-child(3),
.mechanization .recommended-text p:nth-child(4),
.mechanization .recommended-text p:nth-child(5),
.frozen .recommended-text p:nth-child(1),
.frozen .recommended-text p:nth-child(2),
.frozen .recommended-text p:nth-child(3) {
  letter-spacing: normal;
  font-size: 16px;
}
}
@media screen and (max-width:1024px) {


  /* ハンバーガーボタン */
  .hamburger {
    position: fixed;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 24px;
    /* ←追加（高さ固定） */
    cursor: pointer;
    z-index: 20;
  }

  /* 線 */
  .hamburger span {
    position: absolute;
    /* ←超重要 */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: 0.4s;
    margin-top: 0;
  }

  /* 初期位置 */
  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 7px;
  }

  .hamburger span:nth-child(3) {
    top: 14px;
  }

  /* バツに変化 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    /* ←中央に集める */
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
    /* ←中央に集める */
  }

  /* メニュー */
  .menu {
    position: fixed;
    top: -110%;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    z-index: 5;
    transition: top 0.3s ease;
  }

  /* 表示時 */
  .menu.open {
    top: 0;
    padding: 0;
  }

  .menu.open ul {
    margin: 0;
    margin-top: 5rem;
    padding: 0;
  }

  .menu.open ul li {
    list-style-type: none;
    margin: 2rem 0;
  }

  .menu.open ul li.hamburger-menu {
    margin: 0;
  }

  .menu.open ul li a {
    /* padding: 0 20px; */
  }

  p.hamburger-text {
    font-size: 10px;
    margin: 0;
    position: absolute;
    bottom: -20px;
  }

  .menu.open .nav-btn {
    width: 100%;
    /* height: 50vw; */
  }

  .tablet {
    display: block;
  }
  .sp{
    display: none;
  }
  .about-main.is-active .about-text {
    width: 100%;
  }
  .process-section h2,
  .fresh h2,
  .recommended h2 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 40px;
    color: #333;
  }

  section.about-main {
    background-image: url('./images/about-main-bg_sp.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0px;
  }

  .about-text img {
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
  }
  .process-slide-area {
    overflow: hidden;
    margin-top: 65px;
  }

  .process-slide {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    will-change: transform;
    justify-content: center;
  }

  .process-slide_item {
    flex: 0 0 auto;
    padding: 0 15px;
    width: 50%;
  }
  .quality .quality-title h2 {
    font-size: clamp(30px, 2vw ,44px);
    margin: 0 0 8px;
    color: #111;
  }

  .container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2%;
  }

  .fresh-wrap .media-card {
    width: 100%;
    padding: 0 5%;
  }

  .process-text {
    width: 45%;
  }

  .process-images {
    width: 44%;
  }

  .container .tablet .process-list {
    display: flex;
    gap: 25px;
    justify-content: space-evenly;
    flex-direction: column;
  }

  .process-wrap.tablet {
    width: 80%;
    margin: auto;
  }

  .process-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* flex-wrap: wrap; */
  }
  .process-label {
      margin: 25px 0;
  }
  .fresh-wrap {
    display: flex;
    gap: 35px;
    margin-top: 90px;
    justify-content: space-around;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .fresh-wrap .media-card p {
    width: fit-content;
  }

  section.recommended .container h2 img {
    width: 800px;
  }

  .recommended-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
  }

  .recommended-item {
    width: 100%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .recommended-title p {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
  }
}

@media screen and (max-width:768px) {
  .tablet {
    display: none;
  }
  .mini-response{
    display: none;
  }
  .sp{
    display: block;
  }
  .pc {
    display: none;
  }
  .header-nav{
    display: none;
  }
  .modal__inner {
    margin-top: 50%;
  }

  .container p {
    margin: 0;
    font-weight: normal;
  }

  .quality-text p {
    margin: 0;
  font-size: clamp(17px, 2vw ,20px);
    font-weight: 500;
  }
  section.about-main {
    padding: 50px 0px;
  }
  .about-main {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .process-section h2,
  .fresh h2,
  .recommended h2 {
    text-align: center;
    font-size: 25px;
    margin: 0;
    color: #333;
  }

  .movie-area {
    margin-top: 20px;
  }

  .fresh-wrap .media-card p {
    font-weight: normal;
    margin-top: 1rem;
    line-height: 1.5;
  }

  .process-wrap.sp {
    width: 95%;
    margin: auto;
  }

  .recommended-title p {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
  }

  .modal {
    width: 100%;
    min-width: unset;
  }

  .recommended-text {
    margin-top: 15px;
  }
  .quality h2 {
    font-size: clamp(25px, 3vw, 40px);
    margin: 0 0 8px;
    color: #111;
  }
  .quality-text {
    width: 100%;
    margin-bottom: 40px;
  }

  .quality {
    padding: 15% 0;
  }

  .process-section {
    padding: 15% 0;
  }

  .container h2 p {
    font-weight: 600;
  }
  .container .process-list {
    display: flex;
    gap: 0;
    justify-content: space-evenly;
    flex-direction: column;
  }
  .fresh {
    padding: 15% 0 10%;
  }

  section.recommended {
    padding: 15% 0;
  }

  .container .movie-area {
    margin-bottom: 15px;
  }

  .fresh-wrap {
    margin-top: 20px;
  }

  section.fresh .container h2.sp img {
    width: 300px;
  }

  .support .recommended-text p:nth-child(1),
  .mechanization .recommended-text p:nth-child(1),
  .frozen .recommended-text p:nth-child(1) {
    letter-spacing: 0px;
  }
}

@media screen and (max-width: 580px) {
  
  .mini-response{
    display: block;
  }
}