/* =============================================
   KiRABiSEi - style.css
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: #1a1b1f; }
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #282930;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* --- CSS Variables --- */
:root {
  --color-black:    #000000;
  --color-dark:     #282930;
  --color-white:    #ffffff;
  --color-gray-bg:  #f2f4f6;
  --color-gray-mid: #808080;
  --color-gray-dark:#3a3f47;
  --color-cream:    #FFF5C3;
  --max-width:      1920px;
  --container:      1104px;
  --transition:     0.3s ease;
  --radius:         0px;
  --radius-lg:      0px;
}

/* --- font --- */

.outfit-<uniquifier> {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* --- Dummy Image --- */
.dummy-img {
  background: linear-gradient(135deg, #c8d0d8 0%, #a8b8c8 100%);
  position: relative;
  overflow: hidden;
}
.dummy-img::after {
  content: 'IMAGE';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

/* --- Scroll Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Section Commons --- */
.sec-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.sec-title--left { text-align: left; }
.sec-title--white { color: var(--color-white); }
.sec-divider {
  border: none;
  border-top: 1px solid #d0d4d8;
  margin: 0 auto 48px;
  max-width: var(--container);
}
.sec-divider--left { margin-left: 0; }
.sec-divider--white { border-color: rgba(255,255,255,0.3); }
.sec-lead {
  text-align: center;
  font-size: 14px;
  color: var(--color-dark);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* --- lightbox --- */
.lightbox-trigger {
  position: relative;
  cursor: pointer;
}
.lightbox-zoom-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-dark);
  z-index: 2;
  transition: background var(--transition);
}
.lightbox-zoom-btn:hover { background: #fff; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  display: block;
  opacity: 1;
}
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.lightbox__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9); 
  width: 90%;
  max-width: 900px;
  transition: transform 0.3s ease;
}
.lightbox.is-open .lightbox__content {
  transform: translate(-50%, -50%) scale(1); 
}
.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.lightbox__inner {
  display: flex;
}
.lightbox__inner img {
  width: 100%;
  height: auto;
  display: block;
}
.lightbox__img-wrap {
  flex: 1;
  position: relative;
}
.lightbox__img-label {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: 999px;
  width: 54px;
  text-align: center;
  top: 10px;
  color: var(--color-dark);
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}
.lightbox__img-label--pure {
  background: #2060d0;
  color: #fff;
}

/* --- link --- */
a[href^="http"]:after,
a[href^="//"]:after {
  margin: 0 0 0 6px;
  font-family: "Font Awesome 5 Free";
  content: '\f08e';
  font-weight: 900;
}
a[href^="https://nms.inc/kirabisei/"]:after {
  margin: inherit;
  font-family: inherit;
  content: '';
  font-weight: inherit;
}
/* =============================================
   01: HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari対応 */
}
.header.is-scrolled .header__inner {
  flex-direction: row;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1104px;
  align-items: center;
}
.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.header__logo { 
	display: block; 
	margin: 15px 0; 
	line-height: 1;}
.header__logo svg {
  height: 28px;
  width: auto;
  color: #000000;
}
.header__nav-list {
  display: flex;
  gap: 48px;
  align-items: center;
}
.header__nav-list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark);
  transition: opacity var(--transition);
}
.header__nav-list a:hover { opacity: 0.6; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 20px;
  top: 20px;
}
.header__hamburger i {
  font-size: 22px;
  color: var(--color-dark);
  pointer-events: none;
}

/* ----------------------------------------
   PC版：ドロップダウン共通
   ---------------------------------------- */
.header__nav-item {
  position: relative;
}
 
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-top: 2px solid var(--color-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 1000;
}
 
/* 三角形（吹き出し） */
.header__dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--color-dark);
}
 
/* ホバーで表示 */
.header__nav-item--has-dropdown:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
 
.header__dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.header__dropdown-list li {
  border-bottom: 1px solid #f0f0f0;
}
.header__dropdown-list li:last-child {
  border-bottom: none;
}
 
.header__dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.02em;
}
 
.header__dropdown-link:hover {
  background: var(--color-gray-bg);
  color: var(--color-dark);
}
 
.header__dropdown-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--color-gray-mid);
  letter-spacing: 0.05em;
}
 
/* SP版商品カード：PCでは非表示 */
.header__sp-products {
  display: none;
}

/* =============================================
   02: MV
   ============================================= */
.mv {
  position: relative;
  margin-top: var(--header-height, 88px);
  overflow: hidden;
}
.mv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.mv__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 41, 48, 0.6);
}
.mv__img {
  aspect-ratio: 16/10;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2a3a, #2e4050);
}
.mv__img img {
  width: 100%;
  height: auto;
}
.mv__content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  max-width: 1104px;
  padding: 0 40px;
}
.mv__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  color: #fff;
  line-height: 1.0;
  letter-spacing: 0em;
  margin-bottom: 20px;
}
.mv__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: rgba(255,255,255,1.0);
  line-height: 1.8;
  margin-left: 0.25em;
}

/* =============================================
   03: 純水装置シリーズ
   ============================================= */
.products-series {
  padding: 72px 0 0;
  background: #fff;
}
.products-series .container { margin-bottom: 32px; }
.products-series .sec-title { text-align: center; }

/* バナー */
.series-banner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  margin: 0 auto 48px;
  max-width: 1024px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #898E9B;
}
.series-banner__img {
  width: 100%;
  height: 200px;
  background-image: url('../images/index/bg-series.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.series-banner__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 70%,
    #898E9B 100%
  );
}
.series-banner__text {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 40px;
  background: #898E9B;
}
.series-banner__text p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-align: right;
  line-height: 2.0;
}

/* スライダー */
.series-slider-wrap {
  position: relative;
  padding: 0 0 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.series-swiper {
  overflow: hidden !important;
}
.series-swiper-overflow {
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.series-slide__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: top;
  padding: 48px 0 60px;
}
.series-slide__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.series-slide__text .series-card__btn {
  margin-top: auto; 
}
.series-slide__name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.series-slide__tag {
  display: inline-block;
  background: #f2f4f6;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 20px;
  border-radius: 2px;
}
.series-slide__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-dark);
}
/* スライド内ボタン */
.series-slide__text .series-card__btn {
  margin-top: auto;
  background: var(--color-dark); 
  color: #fff;
  padding: 12px 40px;
  font-size: 15px;
}
.series-slide__text .series-card__btn:hover { opacity: 0.8; }
.series-card__btn:hover { background: var(--color-dark); color: #fff; }
.series-slide__img { border-radius: var(--radius); justify-self: center;}
.series-slide__imgs {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.6fr; 
  gap: 15px;
  align-items: end; 
}

.series-slide__img--main {
  height: 320px;
}

.series-slide__img--main img {
  height: 320px;
  width: auto;
}
.series-slide__img--sub {
  height: 192px; /* 280px × 0.6 */
  opacity: 0.5;
}
.series-slide__img--sub img {
  height: 192px;
  width: auto;
}
/* 商品画像3点ある場合用
.series-slide__img--main { width: 100%; height: 280px; margin-bottom: 12px; }
.series-slide__img-subs { display: flex; gap: 12px; }
.series-slide__img-subs .series-slide__img { flex: 1; height: 120px; } */

/* スライダーボタン */
.series-prev,
.series-next {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  z-index: 10;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-mid);
  font-size: 32px;
}
.series-prev { left: calc((100vw - var(--container)) / 2 - 40px); }
.series-next { right: calc((100vw - var(--container)) / 2 - 40px); }
.series-prev::after, .series-next::after { font-size: 28px !important; color: #aaa !important; }

/* インジケーター（横線） */
.series-pagination.swiper-pagination {
  bottom: 0 !important;
}
.series-pagination .swiper-pagination-bullet {
  width: 40px !important;
  height: 3px !important;
  border-radius: 0 !important;
  background: #ccc !important;
  opacity: 1 !important;
  margin: 0 6px !important;
}
.series-pagination .swiper-pagination-bullet-active {
  background: var(--color-dark) !important;
}

/* 商品カード */
.series-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 0;
  padding-bottom: 72px;
}
.series-card {
  background: var(--color-gray-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 28px;
}
.series-card__img { width: 100%; height: 240px; background: var(--color-gray-bg); padding: 24px;}
.series-card__img img { width: auto; height: 100%; margin:0 auto;}
.series-card__btn {
  display: inline-block;
  border: 1px solid var(--color-dark);
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark);
  transition: all var(--transition);
  border-radius: var(--radius);
}
.series-card__btn:hover { background: var(--color-dark); color: #fff; }

/* =============================================
   04: innovation 見出し
   ============================================= */
.innovation-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.innovation-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/bg-innovation.jpg');
  background-size: cover;
  background-position: center;
}
.innovation-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 41, 48, 0.4);
  z-index: 1;
}
.innovation-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  z-index: 2;
}
.innovation-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
}

/* =============================================
   05+06: 重なりラッパー
   ============================================= */
.innovation-overlap-wrap {
  position: relative;
}

/* =============================================
   05: 選ばれる理由
   ============================================= */
.innovation-reasons {
  position: relative;
  padding: 72px 0 240px; /* 下に余白を多めに取り06の重なり分を確保 */
  overflow: hidden;
}
.innovation-reasons__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/bg-reasons.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 1;
}
.innovation-reasons::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 41, 48, 1); 
  z-index: 0;
}
.innovation-reasons .container { position: relative; z-index: 2; }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-card {
  background: var(--color-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.reason-card__img { width: 100%; height: 180px; overflow: hidden;}
.reason-card__img img { 
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}
.reason-card__body { padding: 24px; }
.reason-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;

}
.reason-card__text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* =============================================
   06: 独自技術（前面）
   ============================================= */
.innovation-tech {
  position: relative;
  z-index: 3;
  margin-top: -200px;
}
.innovation-tech__top {
  display: flex;
  justify-content: center;
  overflow: hidden; /* ← 円の上半分を隠す */
  padding-top: 0;
}
.tech-badge-wrap {
  background: var(--color-cream);
  width: 440px;
  height: 440px; 
  border-radius: 50%;
  padding: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  margin-bottom: calc(-440px * 9/15); 
}
.tech-badge__ribbon-wrap {
  position: relative;
  display: inline-block;
}

.tech-badge__ribbon-text {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: #886400;
  white-space: nowrap;
}
.tech-badge__ribbon {
  width: 160px; 
  height: auto;
  margin-bottom: 12px;
  transform: scaleY(-1);
}

.tech-badge__laurel {
  width: 24px; /* お好みで調整 */
  height: auto;
}
.tech-badge__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tech-badge__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 0;
}
.tech-badge__title strong { font-size: 24px; font-weight: 700; display: block; }
.tech-badge__title strong sup {font-size: 10px;}
.innovation-tech__body {
  background: var(--color-cream);
  padding: 56px 0 72px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tech-item {
  display: flex;
  flex-direction: column;
}
.tech-item__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.tech-item__num {
  flex-shrink: 0;
  line-height: 1;
}
.tech-item__num svg {
  width: 80px;
  height: 56px;
  display: block;
  vertical-align: middle;
}
.tech-item__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* サブタイトルと注釈を横並びにするラッパー */
.tech-item__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

/* サブタイトル（英語名など） */
.tech-item__sub {
  font-size: 13px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: var(--color-gray-mid);
  letter-spacing: 0.05em;
}

/* 注釈（※オプションなど） */
.tech-item__note {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-gray-mid);
  opacity: 0.8;
  letter-spacing: 0;
}
.tech-item__text {
  font-size: 14px;
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: 24px;
}
.tech-item__photo {
  width: 100%; height: 200px;
  border-radius: var(--radius);
  background: #c8c8c8 !important;
  margin-top: auto;
}
.tech-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-dark);
  margin-top: 32px;
  opacity: 0.7;
}

/* =============================================
   07: ここが違う（アコーディオン）
   ============================================= */
.different {
  padding: 72px 0;
  background: #fff;
}
.accordion { display: flex; flex-direction: column; }
.accordion__item {
  border: 1px solid #d0d4d8;
  border-radius: var(--radius);
  margin-bottom: 0;
  overflow: hidden;
}
/* 閉じている状態 */
.accordion__icon--open  { display: none; }
.accordion__icon--close { display: inline; }

/* 開いている状態 */
.accordion__item.is-open .accordion__icon--open  { display: inline; }
.accordion__item.is-open .accordion__icon--close { display: none; }

.accordion__item + .accordion__item { border-top: none; border-radius: 0; }
.accordion__item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.accordion__item:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  background: #fff;
}
.accordion__title { font-size: 16px; font-weight: 700; color: var(--color-dark); }
.accordion__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-gray-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--color-dark);
  border-radius: var(--radius);
  transition: transform var(--transition);
  line-height: 1;
}
.accordion__item.is-open .accordion__icon { transform: rotate(0deg); }
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion__item.is-open .accordion__body {
  max-height: 1000px; /* コンテンツが収まる十分な高さ */
}
.accordion__item.is-open .accordion__body { display: block; }
.accordion__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 28px;
  align-items: flex-start;
}
.accordion__img { width: 200px; height: 160px; border-radius: var(--radius); flex-shrink: 0; }
.accordion__text { font-size: 15px; line-height: 1.8; color: var(--color-dark); }
.accordion__note { font-size: 12px; color: var(--color-gray-mid); }

/* =============================================
   08: 2つの方式
   ============================================= */
.two-methods {
  padding: 72px 0;
  background: var(--color-gray-mid);
}
.two-methods .sec-title,
.two-methods .sec-lead { color: #fff; }
.methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.method-card {
  background: var(--color-gray-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.method-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}
.method-card__img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 20px; background:#ffffff;}
.method-card__imgs { display: flex; gap: 12px; margin-bottom: 20px;}
.method-card__imgs .method-card__img { flex: 1; margin-bottom: 0; }
.method-card__text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 20px; }
.method-card__note {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}
.method-card__btns-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.method-card__btns-label::before,
.method-card__btns-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.3);
}
.method-card__btns {
  display: flex;
  gap: 12px;
}
.method-card__btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
  flex: 1;        /* ← 追加：均等に広がる */
  text-align: center; /* ← 追加：テキスト中央寄せ */
}
.method-card__btn:hover { background: rgba(255,255,255,0.15); }

/* =============================================
   09: ボタンエリア
   ============================================= */
.cta-buttons {
  padding: 64px 0;
  background: #fff;
}
.cta-buttons__inner {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 56px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  border-radius: var(--radius);
  transition: all var(--transition);
  justify-content: center;
  flex: 1;          /* ← 追加 */
  max-width: 280px; /* ← 追加：広がりすぎを防ぐ */
}
.cta-btn--outline {
  background: #fff;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}
.cta-btn--outline:hover { background: var(--color-dark); color: #fff; }
.cta-btn--fill {
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  color: #fff;
}
.cta-btn--fill:hover { opacity: 0.8; }

/* =============================================
   10: KiRABiSEi Solution
   ============================================= */
.solution-hero {
  position: relative;
  padding: 80px 0 100px;
  text-align: center;
  overflow: hidden;
}
.solution-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/bg-solution.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}
.solution-hero__content { position: relative; z-index: 1; }
.solution-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.solution-hero__sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 40px;
}
.solution-hero__lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--color-dark);
  margin-bottom: 56px;
}
.solution-icons {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.solution-icon { text-align: center; }
.solution-icon__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.solution-icon__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.solution-icon__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

/* =============================================
   11: そもそも純水って？
   ============================================= */
.what-is-pure {
  padding: 72px 0;
  background: var(--color-gray-bg);
}
.what-is-pure__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.what-is-pure__text p { font-size: 15px; line-height: 1.9; color: var(--color-dark); }
.what-is-pure__text strong { font-weight: 700; }
.pure-compare { display: flex; gap: 32px; margin-bottom: 20px; }
.pure-compare__item { flex: 1; text-align: center; }
.pure-compare__label { font-size: 13px; font-weight: 500; color: var(--color-dark); margin-bottom: 8px; }
.pure-compare__img { width: 100%; height: 160px; }
.pure-compare__img img { width: auto; height: 160px; margin:0 auto;}
.pure-compare__note { font-size: 12px; color: var(--color-dark); margin-top: 8px; }
.pure-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--color-dark);
  justify-content: center;
}
.pure-legend__dot {
  display: inline-block;

  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.pure-legend__dot--yellow { background: #f0d020; }
.pure-legend__dot--blue   { background: #2060d0; }
.pure-legend__dot--pink   { background: #e03060; }
.pure-legend__dot--gray   { background: #909090; }

/* =============================================
   12: 水道水と純水の違い
   ============================================= */
.water-diff {
  padding: 72px 0;
  background: #fff;
}
.water-diff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.water-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

/* ヘッダー */
.water-table__th {
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px dashed var(--color-dark);
  border-right: 2px dashed var(--color-dark);
}
.water-table__th-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding-left: 20px;
}
.water-table__th-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.water-table__th-title {
  font-size: 15px;
  font-weight: 700;
}
.water-table__th-sub {
  font-size: 11px;
  font-weight: 400;
}
.water-table__th--empty {
  border-right: 2px dashed var(--color-dark);
}
.water-table__th:last-child { border-right: none; }
.water-table__th-sub {
  font-size: 11px;
  font-weight: 400;
}
.water-table__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* 行 */
.water-table tr {
  border-bottom: 2px dashed var(--color-dark);
}
.water-table tr:last-child {
  border-bottom: none;
}

/* 各セル */
.water-table td {
  padding: 6px 16px;
  text-align: center;
  border-right: 2px dashed var(--color-dark);
  vertical-align: middle;
}
.water-table td:last-child { border-right: none; }

.water-table__label {
  font-size: 12px;
  text-align: center !important;
  line-height: 1.3;
}
.water-table__unit {
  font-size: 11px;
  color: var(--color-dark);
}
.water-table__tap {
  font-size: 18px;
  font-weight: 700;
}

/* 純水セル：◎アイコン＋数値 */
.water-table__pure-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
}
.water-table__circle {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  position: relative;
  flex-shrink: 0;
}
/* ◎の内側の円 */
.water-table__circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
}
.water-table__pure strong {
  font-size: 18px;
  font-weight: 700;
}
.water-diff__text p { font-size: 15px; line-height: 1.9; color: var(--color-dark); }
.water-diff__text strong { font-weight: 700; }
.water-compare__lead { text-align: center; font-size: 14px; color: var(--color-dark); margin-bottom: 20px; }
.water-compare__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.water-compare__item { text-align: center; }

.water-compare__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 8px;
}

.water-compare__img-wrap {
  position: relative;
  overflow: hidden;
}

.water-compare__img-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.water-compare__label {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: 999px;
  width: 54px;
  text-align: center;
  top: 10px;
  color: var(--color-dark);
  background: #fff;
  left: 50%;
  transform: translateX( -50%);
}

.water-compare__label--pure {
  background: #2060d0;
  color: #fff;
}
.water-compare__caption { font-size: 12px; color: var(--color-dark); }

/* =============================================
   13: 純水洗車4つのメリット
   ============================================= */
.merits {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.merits__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/bg-merits.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.merits .container { position: relative; z-index: 1; }
.merits__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 80px;
}
.merits__title-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 900;
    line-height: 1;
    vertical-align: sub;
    padding: 0 5px;
}
.merits-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* 共通 */
.merit-item {
  position: relative;
  height: 500px;
}
.merit-item__img {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
}
.merit-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.merit-item__text-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  padding: 28px 32px;
  z-index: 2;
}
.merit-item__num {
  position: absolute; /* ← absoluteに変更 */
  width: 84px;
  height: 64px;
  background: var(--color-dark);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.merit-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}
.merit-item__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-dark);
}

.merit-item__text-box--01 .merit-item__num,
.merit-item__text-box--03 .merit-item__num,
.merit-item__text-box--04 .merit-item__num {
  top: -64px;  /* テキストボックスの上にはみ出す */
  left: 0;
}

.merit-item__text-box--02 .merit-item__num {
  top: -64px;
  left: 0;
}

/* 01: 画像右・テキスト左下 */
.merit-item__img--01 {
  right: 0;
  top: 0;
  width: 58%;
  height: 360px;
}
.merit-item__text-box--01 {
  left: 0;
  bottom: 0;
  width: 52%;
}

/* 02: 画像左・テキスト右下 */
.merit-item__img--02 {
  left: 0;
  top: 0;
  width: 58%;
  height: 360px;
}
.merit-item__text-box--02 {
  right: 0;
  bottom: 0;
  transform: translate( -40%,-40%);
  width: 52%;
}
/* 02サブ画像：右下・小 */
.merit-item__img--02b {
  right: 0;
  bottom: 0;
  width: 30%;
  height: 200px;
  z-index: 2;
}

/* 03: 画像左・テキスト右 */
.merit-item__img--03 {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 360px;
}
.merit-item__text-box--03 {
  right: 0;
  top: 60px;
  width: 52%;
}

/* 04: 画像右上・テキスト左 */
.merit-item__img--04 {
  right: 0;
  top: 0;
  width: 45%;
  height: 300px;
}
.merit-item__text-box--04 {
  left: 0;
  bottom: 0;
  transform: translate(50%, -50%);
  width: 52%;
}
/* 04サブ画像：左下・小 */
.merit-item__img--04b {
  left: 0;
  bottom: 0;
  width: 30%;
  height: 200px;
  z-index: 2;
}

/* =============================================
   14: ご提案の流れ
   ============================================= */
.flow {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.flow__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/bg-flow.jpg');
  background-size: cover;
  background-position: bottom;
  opacity: 0.4;
  z-index: 1;
}
.flow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 41, 48, 1); 
  z-index: 0;
}
.flow .container { position: relative; z-index: 1; }
.flow-steps {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  align-items: stretch;
}
.flow-step {
  flex: 1;
  position: relative;
}
/* シェブロン型：矢印部分 */
.flow-step__inner {
  background: rgba(255, 255, 255, 0.85); /* ← 半透明の白 */
  padding: 24px 40px 24px 24px;
  height: 100%;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%);
  /* ↑ 左側にもくぼみを追加してシェブロン型に */
}

/* 最初のステップは左側をまっすぐに */
.flow-step:first-child .flow-step__inner {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}

.flow-step + .flow-step { margin-left: -1px; }
.flow-step + .flow-step .flow-step__inner {
  padding-left: 48px; /* ← 24px の倍 */
}
.flow-step__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.flow-step__num {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flow-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.flow-step__text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-dark);
}
.flow__cta { text-align: center; }
.flow-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  padding: 18px 64px;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  min-width: 320px;
  justify-content: center;
}
.flow-cta-btn:hover { background: rgba(255,255,255,0.1); }

/* =============================================
   15: 導入事例
   ============================================= */
.cases {
  padding: 72px 0 80px;
  background: var(--color-gray-bg);
  overflow: hidden;
}
.cases .container { margin-bottom: 40px; }
.cases-swiper-wrap {
  position: relative;
  padding-bottom: 56px;
  overflow: hidden;
}
.cases-swiper {
  overflow: hidden !important;

  padding: 0 !important;
}
.cases-swiper .swiper-wrapper {
  align-items: stretch;
}
.cases-swiper .swiper-slide {
  width: 600px;
  height: auto !important;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100%;
}
.case-card__img {
	width: 100%; 
	height: 100%; 
	aspect-ratio: 1 / 1; 
	border-radius: 0; 
	padding: 15px;
}
.case-card__img img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-card__body { padding: 24px; }
.case-card__type { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.case-card__tag {
  display: inline-block;
  border: 1px solid var(--color-dark);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 2px;
}
.case-card__text { font-size: 14px; line-height: 1.7; color: var(--color-dark); }

/* インジケーター（横線） */
.cases-pagination.swiper-pagination {
  position: absolute !important;
  bottom: 16px !important;
  left: 0;
  right: 0;
  z-index: 10;
}
.cases-pagination .swiper-pagination-bullet {
  width: 40px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: #ccc !important;
  opacity: 1 !important;
  margin: 0 6px !important;
}
.cases-pagination .swiper-pagination-bullet-active {
  background: var(--color-dark) !important;
}

/* =============================================
   16: 動画エリア
   ============================================= */
.video-section {
  padding: 72px 0;
  background: #fff;
}
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9; /* ← 動画のアスペクト比に合わせて変更 */
  object-fit: cover;
}

.video-controls {
  /* absoluteをやめて通常フローに */
  position: relative;
  display: none; /* flex */
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #000; /* ← コントロールエリアの背景色 */
}

.video-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.video-btn:hover { opacity: 0.7; }

.video-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}

.video-progress__bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 999px;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =============================================
   17: 水動画
   ============================================= */

.water-divider {
  width: 100%;
  height: auto; /* ← お好みで調整 */
  overflow: hidden;
}

.water-divider__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   18: お問い合わせ
   ============================================= */
.contact {
  background: #fff;
  padding: 80px 0;
}
.contact__water-img {
  width: 100%;
  height: 120px;
  /* background-image: url('images/water-top.jpg'); */
  background-size: cover;
  background-position: bottom;
  margin-bottom: 64px;
}
.contact .sec-title { margin-bottom: 48px; }
.contact__cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: flex-start;
}
.contact__info-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;

  color: var(--color-dark);
}
.contact__info-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-dark);
}
/* iframeフォーム */
.contact-iframe {
  width: 100%;
  min-height: 520px;
  border: none;
  display: block;
}

/* =============================================
   19: フッター
   ============================================= */
.footer {
  background: var(--color-gray-dark);
  color: rgba(255,255,255,0.85);
}
.footer__inner {
  max-width: 1104px;   /* ← --containerと同じ値に */
  margin: 0 auto;
  padding: 56px 40px 60px;
}
.footer__logo-wrap { margin-bottom: 20px; }
.footer__logo svg,
.footer__logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer__col-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.footer__col-company {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer__col-address {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.footer__col-tel {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.footer__col-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

/* ページトップへ戻る */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;                        /* ← 最初は非表示 */
  pointer-events: none;              /* ← 非表示中はクリック無効 */
  transition: opacity 0.4s ease;
  z-index: 999;
}

.page-top.is-visible {
  opacity: 0.5;                      /* ← スクロールで半透明表示 */
  pointer-events: auto;
}

.page-top.is-bottom {
  opacity: 1;                        /* ← ページ下部で不透明 */
}

.page-top:hover {
  opacity: 0.8 !important;
}