@charset "utf-8";
/* CSS Document */

/* ボックスサイズを全要素に適用して幅計算のズレを防ぐ */
* {
  box-sizing: border-box;
}

/* ページ全体の余白リセット */
body, main {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 共通セクション設定 */
.nifty_brand,
.nifty_features,
.nifty_spec,
.nifty_info {
  max-width: 680px;
  width: 100%;
  margin: 0 auto 5em;
  padding: 0 10px; /* 横に余白が欲しい場合 */
  box-sizing: border-box;
}

/* Brand History セクション */

.nifty_brand img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

.nifty_brand h2 {
  position: relative;
  padding: 0.25em 0;
  color: #222;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 2em;
}

.nifty_brand h2::after {
  content: "";
  display: block;
  height: 4px;
  margin: 6px 0 20px 0;
  background: linear-gradient(
    to right,
rgb(127, 255, 212) 0%,
rgb(135, 206, 250) 50%,
rgb(255, 255, 255) 100%
  );
}

.nifty_brand p {
  padding: 0 5px;
  margin-bottom: 5px;
  color: #222;
  line-height: 1.8;
  font-size: 14px;
}

/* Brand 横並びレイアウト */

.nifty_brand_inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.nifty_brand_text {
  flex: 1;
}

.nifty_brand_text p:first-child {
  margin-top: 0;
}

.nifty_brand_img {
  flex: 1;
}

.nifty_brand_img img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}


/* aquaclip セクション */

.nifty_features img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

.nifty_features h2 {
  position: relative;
  padding: 0.25em 0;
  color: #222;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 2em;
}

.nifty_features h2::after {
  content: "";
  display: block;
  height: 4px;
  margin: 6px 0 20px 0;
    background: linear-gradient(
    to right,
rgb(127, 255, 212) 0%,
rgb(135, 206, 250) 50%,
rgb(255, 255, 255) 100%
  );
}

.nifty_features p {
  padding: 0 5px;
  margin-bottom: 5px;
  color: #222;
  line-height: 1.8;
  font-size: 14px;
}

/* clip 横並びレイアウト */

.nifty_features_inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.nifty_features_img {
  flex: 1;
}

.nifty_features_text {
  flex: 1;
}

.nifty_features_text p:first-child {
  margin-top: 0;
}

.nifty_features_img img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}


/* spec セクション */

.nifty_spec h2 {
  position: relative;
  padding: 0.25em 0;
  color: #222;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 2em;
}

.nifty_spec h2::after {
  content: "";
  display: block;
  height: 4px;
  margin: 6px 0 20px 0;
    background: linear-gradient(
    to right,
rgb(127, 255, 212) 0%,
rgb(135, 206, 250) 50%,
rgb(255, 255, 255) 100%
  );
}

.nifty_spec table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  box-sizing: border-box;
}

.nifty_spec td {
  border: 1px solid #ccc;
  padding: 10px;
}

/* info セクション */
.nifty_info h5 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #222;
}

/* アコーディオン本体 */
.nifty_info details {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  background: #fafafa;
  margin: 16px 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.nifty_info details[open] {
  padding: 12px 16px 20px;
  height: auto;
}

.nifty_info summary {
  cursor: pointer;
  font-weight: bold;
  color: #333;
  padding: 4px 0 4px 24px;
  position: relative;
  list-style: none;
  outline: none;
}

.nifty_info summary::-webkit-details-marker {
  display: none;
}

.nifty_info summary::before {
  content: "▶";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  font-size: 0.75em;
  color: #888;
}

.nifty_info details[open] > summary::before {
  transform: translateY(-50%) rotate(90deg);
}

/* アコーディオン内のリスト */
.nifty_info details ul {
  margin: 16px 0 0 0;
  padding: 0 0 0 1.4em;
  font-size: 0.9em;
  line-height: 1.8;
  list-style-type: disc;
  list-style-position: outside;
  box-sizing: border-box;
  width: 100%;
}

.nifty_info details ul li {
  color: #555;
  margin-bottom: 8px;
  display: list-item;
  list-style-type: disc;
  word-break: break-word;
  overflow-wrap: break-word;
}