@charset "UTF-8";

.top .main {
  padding-top: 0 !important;
}
.button-view {
  margin-top: 40px;
}
@media (max-width: 768px) {
  .button-view {
    margin-top: 20px;
  }
}
/* ------------------------------ */
/* IMPORTANT NOTICE */
/* ------------------------------ */
.impnotice {
  margin: 26px auto 0;
}
@media (max-width: 768px) {
  .impnotice {
    margin: 10px auto 0;
  }
}
.impnotice-head {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}
.impnotice-item a {
  display: flex;
  padding: 15px 30px;
  align-items: baseline;
  gap: 10px;
  border: #ed0000 solid 1px;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .impnotice-item a {
    flex-direction: column;
    padding: 15px 20px;
    gap: 5px;
  }
}
.impnotice-item .date {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.impnotice-item .title {
  line-height: 1.5;
  font-weight: 500;
}

.tag_impnotice {
  color: #ed0000;
  font-weight: 500;
  border: #ed0000 solid 1px;
  border-radius: 80px;
  width: 118px;
  min-width: 118px;
  height: 22px;
  font-size: 13px;
  text-align: center;
  line-height: initial;
}
/* ------------------------------ */
/* MV */
/* ------------------------------ */
.mv {
  width: 100vw; /* 親要素無視して横幅いっぱい */
  margin: 0 calc(50% - 50vw); /* 親要素無視して横幅いっぱい */
  height: auto;
  position: relative;
}
.mv-indicater {
  margin: 10px auto 0;
  width: 178px;
}

/* ---------- swiper ---------- */

/* ---- ボタン群を横並びに配置 ---- */
.mv .swiper-button-prev,
.mv .swiper-pagination,
.mv .swiper-button-next,
.mv .swiper_pause {
  position: static !important; /* Swiperのabsolute配置を解除 */
  margin: 0 -4px; /* Swiperのデフォルトマージンをリセット */
}

.swiper-control {
  display: flex;
  align-items: center;
  margin-top: 10px;
  justify-content: center;
}
@media (max-width: 768px) {
  .swiper-control {
    padding: 20px 0 10px;
    margin: initial;
  }
}
.swiper-pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
@media (max-width: 768px) {
  .swiper-pagination {
    gap: 0;
  }
}

/* サイズ整える */
.swiper-button-prev,
.swiper-button-next,
.swiper_pause {
  width: 24px;
  height: 24px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next,
  .swiper_pause {
    width: 30px !important;
    height: 30px !important;
  }
  .swiper_pause svg {
    width: 30px !important;
    height: 30px !important;
  }
}
@media (min-width: 769px) {
  .swiper-button-prev:hover .swiper-pager-bg,
  .swiper-button-next:hover .swiper-pager-bg {
    fill: #fff;
    stroke: #007e5b; /* ホバー時に線の色を青に変更 */
    stroke-width: 1; /* ホバー時に線の太さを変更 */
  }
  .swiper-button-prev:hover .swiper-pager-chevron,
  .swiper-button-next:hover .swiper-pager-chevron {
    fill: #007e5b;
  }
}

/* ドットデザイン調整 */
.swiper-pagination {
  width: initial !important;
  margin: 0 14px !important;
}
@media (max-width: 768px) {
  .swiper-pagination {
    margin: 0 10px !important;
  }
}
.swiper-pagination-bullet {
  background-color: #e3e3e3 !important;
  opacity: 1 !important;
  transition: 0.3s;
}

.swiper-pagination-bullet-active {
  background-color: #6f6f6f !important;
}

.swiper_pause {
  margin-left: 16px !important;
}
@media (max-width: 768px) {
  .swiper_pause {
    margin-left: 12px !important;
  }
}
.swiper_pause:hover path {
  fill: #007e5b;
}
.swiper_pause:hover rect {
  fill: #e9f4f1;
}
@media (max-width: 768px) {
  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
  }
}

/* ホバー時（どちらの状態でもOK） */
.swiper_pause.paused:hover svg path:last-of-type {
  fill: #fff;
}

.mv-ichoyaku,
.mv-noushinkeiyaku {
  position: relative;
}
.mv-ichoyaku-wrap,
.mv-noushinkeiyaku-wrap {
  position: absolute;
  top: 40%;
  width: 100vw;
  padding: 0 5%;
}
@media screen and (max-width: 768px) {
  .mv-ichoyaku-wrap,
  .mv-noushinkeiyaku-wrap {
    top: 20%;
    padding: 0 5%;
  }
}
.mv-ichoyaku-logo,
.mv-noushinkeiyaku-logo {
  width: 320px;
}
@media screen and (max-width: 768px) {
  .mv-ichoyaku-logo,
  .mv-noushinkeiyaku-logo {
    width: 170px;
  }
}
.mv-ichoyaku-catch,
.mv-noushinkeiyaku-catch {
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin: 30px 0 20px;
}
@media screen and (max-width: 768px) {
  .mv-ichoyaku-catch,
  .mv-noushinkeiyaku-catch {
    font-size: 16px;
    margin: 15px 0 10px;
  }
}
/* ------------------------------ */
/* PRODUCTS */
/* ------------------------------ */
.products {
  margin: 35px 0 80px;
}
@media screen and (max-width: 768px) {
  .products {
    margin: 20px 0 40px;
  }
}
.products-list {
  display: flex;
  flex-wrap: wrap; /* 折り返しを有効にする */
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .products-list {
    margin-top: 20px;
    gap: 5px;
  }
}
@media screen and (max-width: 768px) {
  .products-content {
    padding-bottom: 10px;
    overflow: hidden;
  }
}
.products-item {
  background-color: #f8f8f8;
  flex-basis: calc(33.333% - 20px); /* 3列配置 */
  height: 184px;
  position: relative;
  border-radius: 10px;
}
.products-item input[type="checkbox"] {
  display: none;
}
@media screen and (max-width: 768px) {
  .products-item {
    flex-basis: calc(50% - 2.5px); /* 2列配置（gap調整） */
    max-width: calc(50% - 2.5px); /* SP カラム表示崩れ対策 */
  }
}
.products-item > a,
.products-item .pc {
  display: flex;
  height: 184px;
  align-items: center;
  justify-content: center;
}
.products-item label {
  display: flex;
  height: 184px;
  align-items: center;
  justify-content: center;
}
.products-item .sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .products-item > a,
  .products-item .pc {
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }
  .products-item .sp {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }
  .products-item .pc {
    display: none;
  }
}
.products-item:hover {
  background-color: #e9f4f1;
}
.products-item:hover .product-name {
  color: #007e5b;
}
.products-item:hover .products-item-chevron {
  background-color: #007e5b;
}
.products-img {
  width: 50%;
  height: inherit; /* ← 高さを固定せず中身に合わせる */
  display: flex;
  justify-content: center;
  align-items: center;
}
.products-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  .products-img {
    max-height: 70%;
    width: max-content;
  }
}
@media screen and (max-width: 768px) {
  .products-img img {
    object-fit: contain;
  }
}
.products-item p {
  font-size: 20px;
  line-height: 1.5;
  padding-right: 12px;
}
@media screen and (max-width: 768px) {
  .products-item p {
    line-height: 1.375;
    font-size: 16px;
    padding: initial;
    width: 70%;
    margin: auto;
  }
}
.product-name {
  width: 50%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .product-name {
    width: 100%;
  }
}
.products-item-chevron-wrap {
  position: absolute;
  bottom: 15px;
  right: 15px;
}
@media screen and (max-width: 768px) {
  .products-item-chevron-wrap {
    bottom: 16px;
    right: 8px;
  }
}
.products-item-chevron {
  width: 20px;
  height: 20px;
  background-color: #6f6f6f;
  border-radius: 50%;
  position: relative;
}
@media screen and (max-width: 768px) {
  .products-item-chevron {
    width: 16px;
    height: 16px;
  }
}
.products-item-chevron svg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 1px;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .products-item-chevron svg {
    width: 6.4px;
    height: 8px;
    left: 2px;
  }
}
.products-bp p {
  display: inline;
}
.products-bp-hover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
}
.pn,
.bp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.pn p,
.bp p {
  font-size: 18px;
  line-height: 1.777;
  width: initial;
  padding: 0;
  margin: 0;
}

.products-bp .products-item-chevron {
  transform: rotate(90deg);
}
.products-bp:hover .products-item-chevron {
  background-color: #007e5b;
  transform: rotate(-90deg);
}
.products-bp:hover .pc .products-img,
.products-bp:hover .pc .product-name {
  display: none;
}
.products-bp:hover .pc .products-bp-hover {
  opacity: 1;
}
.products-item input[type="checkbox"]:checked + .sp + .products-item-chevron-wrap .products-item-chevron{
  background-color: #007e5b;
  transform: rotate(-90deg);
}
.products-item input[type="checkbox"]:checked + .sp .products-img,
.products-item input[type="checkbox"]:checked + .sp .product-name {
  display: none;
}
.products-item input[type="checkbox"]:checked + .sp .products-bp-hover {
  opacity: 1;
}

.ichoyaku_210t img {
  height: 80%;
}
@media (max-width: 768px) {
  .ichoyaku_210t img {
    height: 100%;
  }
}
.chinseiyaku_m70t img {
  height: 80%;
}
@media (max-width: 768px) {
  .chinseiyaku_m70t img {
    height: 100%;
  }
}
.genetsu_aca30t img {
  height: 35%;
}
@media (max-width: 768px) {
  .genetsu_aca30t img {
    height: 55%;
  }
}
.kahun_20t img {
  height: 40%;
}
@media (max-width: 768px) {
  .kahun_20t img {
    height: 70%;
  }
}
.suimin_12t img {
  height: 40%;
}
@media (max-width: 768px) {
  .suimin_12t img {
    height: 70%;
  }
}
.sekidome_or30t img {
  height: 35%;
}
@media (max-width: 768px) {
  .sekidome_or30t img {
    height: 55%;
  }
}
.shisshin_vs img {
  height: 50%;
}
@media (max-width: 768px) {
  .shisshin_vs img {
    height: 80%;
  }
}
.shisshin_vs .product-name br {
  display: none;
}
@media (max-width: 768px) {
  .shisshin_vs .product-name br {
    display: block;
  }
}
.gaiyouji_h img {
  height: 50%;
}
@media (max-width: 768px) {
  .gaiyouji_h img {
    height: 80%;
  }
}
.mizumushi_x img {
  height: 80%;
}
@media (max-width: 768px) {
  .mizumushi_x img {
    height: 100%;
  }
}
/* ------------------------------ */
/* NEWS */
/* ------------------------------ */
.news {
  position: relative;
  padding: 60px 0 80px;
  z-index: 0; /* 背景を後ろに回すため */
}
@media screen and (max-width: 768px) {
  .news {
    padding: 40px 0;
  }
}
/* 背景色だけを画面幅いっぱい */
.news::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw; /* ビューポート幅いっぱい */
  height: 100%;
  background-color: #e9f4f1;
  transform: translateX(-50%); /* 中央基準にすることで左右対称に */
  z-index: -1; /* 背景に配置 */
}

.news-list {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .news-list {
    margin-top: 5px;
  }
}
.news-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .news-head {
    gap: 10px;
  }
}
.news-item a {
  display: flex;
  border-bottom: 1px solid #fff;
  padding: 15px 30px;
  align-items: center;
  gap: 20px;
}
.news-item:last-child a {
  border-bottom: none;
}
@media screen and (max-width: 768px) {
  .news-item a {
    padding: 15px 0;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
.news-item .date {
  font-size: 14px;
  color: #999;
}
.news-item .title {
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .news-item .title {
    line-height: 1.75;
  }
}
.tag {
  border-radius: 80px;
  width: 80px;
  min-width: 80px;
  height: 22px;
  font-size: 13px;
  text-align: center;
  line-height: initial;
}
.tag.g_info {
  background-color: #fff;
  color: #6f6f6f;
  border: solid 1px #6f6f6f;
}
.tag.g_product {
  background-color: #6f6f6f;
  color: #fff;
}
.tag.g_column {
  background-color: #fff;
  color: #007E5B;
  border: 1px solid #007E5B;
}
/* ------------------------------ */
/* ABOUT HISTORY */
/* ------------------------------ */
.about_history {
  margin: 80px calc(50% - 50vw) 100px;
  width: 100vw;
  overflow: clip;
  padding: 0 73px;
}
@media screen and (max-width: 768px) {
  .about_history {
    padding: 0 18px 102px;
    margin-bottom: 80px;
  }
}
.about,
.history {
  display: flex;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .about,
  .history {
    flex-direction: column !important;
    align-items: flex-start;
    max-width: 375px;
    position: relative;
  }
}
.history {
  flex-direction: row-reverse;
  margin-top: 80px;
}
@media screen and (max-width: 768px) {
  .history {
    margin-top: 132px;
    align-items: end;
  }
}
.ah-textwrap {
  position: relative;
  max-width: 750px;
  min-width: 433px;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 80px 0;
  height: fit-content;
}
@media screen and (max-width: 768px) {
  .ah-textwrap {
    padding: 30px 0 75px;
    max-width: initial;
    min-width: initial;
    gap: 10px;
  }
}
.history .ah-textwrap {
  margin-top: 100px;
  padding-left: 35px;
}
@media screen and (max-width: 768px) {
  .history .ah-textwrap {
    margin: 0;
    padding: 30px 0 76px;
    margin-left: 55px;
  }
}

/* 背景だけ左右に伸ばす */
.about .ah-textwrap::before,
.history .ah-textwrap::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #f8f8f8;
  z-index: -1;
}

/* 左側に伸ばす about */
.about .ah-textwrap::before {
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 100vw); /* ← スクロールバー対策 */
  border-radius: 0 10px 10px 0;
}

/* 右側に伸ばす history */
.history .ah-textwrap::before {
  left: 50%;
  transform: translateX(-44%);
  width: max(100%, 100vw); /* ← 同じく対策 */
  border-radius: 10px 0 0 10px;
}

.ah-catch {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7272;
}
@media screen and (max-width: 768px) {
  .ah-catch {
    font-size: 16px;
    line-height: 1.75;
    padding-top: 5px;
  }
}
@media screen and (max-width: 768px) {
  .history .ah-catch br {
    display: none;
  }
}
.about .ah-imgwrap {
  margin-top: 100px;
  max-width: 750px;
}
@media screen and (max-width: 768px) {
  .about .ah-imgwrap {
    margin: 0;
    max-width: 300px;
    position: absolute;
    right: 0;
    bottom: -102px;
  }
}
.history .ah-imgwrap {
  max-width: 750px;
}
@media screen and (max-width: 768px) {
  .history .ah-imgwrap {
    max-width: 300px;
    position: absolute;
    left: 0;
    bottom: -102px;
  }
}
.ah-viewmore {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #007e5b;
  letter-spacing: 0.02em;
  line-height: 1.5;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .ah-viewmore {
    gap: 10px;
  }
}
.ah-viewmore-chevron {
  width: 20px;
  height: 20px;
  background-color: #007e5b;
  border-radius: 50%;
  position: relative;
}
.ah-viewmore-chevron svg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 2px;
  margin: auto;
}
.ah-viewmore:hover .ah-viewmore-txt {
  text-decoration: underline;
}
.ah-viewmore:hover path {
  fill: #007e5b;
}
.ah-viewmore:hover .ah-viewmore-chevron {
  background-color: #fff;
  border: #007e5b 1px solid;
}
@media screen and (max-width: 768px) {
  .ah-viewmore-txt span {
    display: none;
  }
}
/* ------------------------------ */
/* LINKS */
/* ------------------------------ */
.links {
  margin-bottom: 120px;
}
@media (max-width: 768px) {
  .links {
    margin-bottom: 80px;
  }
}
.links-content {
  margin-top: 40px;
  display: flex;
  gap: 30px;
}
@media (max-width: 768px) {
  .links-content {
    flex-direction: column;
    margin-top: 30px;
    gap: 20px;
  }
}
.links-site {
  display: flex;
  color: #007e5b;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.links-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  position: relative;
  overflow: hidden; /* はみ出し防止 */
}
/* ホバーしたら白フィルターを重ねる */
.links-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0); /* 初期は透明 */
  border-radius: 10px;
  transition: background-color 0.3s ease;
  z-index: 1;
}
.links-brand:hover .links-image::before {
  background-color: rgba(255, 255, 255, 0.3); /* 白30%のオーバーレイ */
}

@media (max-width: 768px) {
}
