/* =========================================================
   M-Style 2026 TOP
   WordPress / Cocoon Child
   ========================================================= */


/* =========================================================
   Cocoonの自動表示をM-Style TOPだけ非表示
   ========================================================= */

body.mstyle-top-template .toc,
body.mstyle-top-template .toc-widget-box {
  display: none !important;
}

body.mstyle-top-template #sidebar,
body.mstyle-top-template .sidebar {
  display: none !important;
}

body.mstyle-top-template #main,
body.mstyle-top-template .main {
  width: 100% !important;
  max-width: 100% !important;
}


/* ---------------------------------------------------------
   全体
   --------------------------------------------------------- */

.mstyle-page {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 60px;
  color: #4d5668;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

.mstyle-page,
.mstyle-page * {
  box-sizing: border-box;
}


/* ---------------------------------------------------------
   5大特長
   --------------------------------------------------------- */

.mstyle-features {
  width: 100%;
  margin: 38px auto 0;
  padding: 0;
}


/* ---------------------------------------------------------
   見出し
   --------------------------------------------------------- */

.mstyle-features-heading {
  width: 750px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.mstyle-features-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #063883;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  white-space: nowrap;
}

.mstyle-features-heading h2 span {
  margin-right: 10px;
}

.mstyle-heading-line {
  display: block;
  width: 92px;
  height: 1px;
  background: #063883;
}


/* =========================================================
   各項目
   ========================================================= */

.mstyle-feature-item {
  --feature-color: #5F768A;
  --feature-bg: #f1f6f9;

  width: 750px;
  min-height: 170px;
  margin: 0 0 10px;
  padding: 20px 34px;

  display: flex;
  align-items: center;
  gap: 48px;

  background: var(--feature-bg);
}


/* 1 電気代ゼロ */

.feature-energy {
  --feature-color: #5F768A;
  --feature-bg: #f1f6f9;
}


/* 2 修繕費7割減 */

.feature-maintenance {
  --feature-color: #5C6965;
  --feature-bg: #f2f6f4;
}


/* 3 美しさが生涯続く */

.feature-beauty {
  --feature-color: #886B5A;
  --feature-bg: #f8f4f1;
}


/* 4 健康的に暮らす */

.feature-health {
  --feature-color: #B35D5D;
  --feature-bg: #fbf2f2;
}


/* 5 家事時間激減 */

.feature-housework {
  --feature-color: #AD7F35;
  --feature-bg: #fbf7ef;
}


/* =========================================================
   画像
   ========================================================= */

.mstyle-feature-image {
  flex: 0 0 140px;
  width: 140px;
  height: 130px;
  overflow: hidden;
  background: #eef3f7;
}

.mstyle-feature-image img {
  display: block;
  width: 140px;
  height: 130px;
  object-fit: cover;
}


/* =========================================================
   テキスト
   ========================================================= */

.mstyle-feature-text {
  flex: 1 1 auto;
  min-width: 0;
}


/* ---------------------------------------------------------
   各項目タイトル
   --------------------------------------------------------- */

.mstyle-feature-text h3 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  text-align: left;
}

.mstyle-feature-text h3 a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  color: var(--feature-color);
  text-decoration: none;
}

.mstyle-feature-text h3 a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--feature-color);
}

.mstyle-feature-text h3 a:hover {
  opacity: 0.72;
}


/* =========================================================
   矢印
   ========================================================= */

.mstyle-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 36px;
  width: 36px;
  height: 14px;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.mstyle-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 1px;
  bottom: 2px;
  height: 1px;
  background: var(--feature-color);
}

.mstyle-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 13px;
  height: 1px;
  background: var(--feature-color);
  transform: rotate(45deg);
  transform-origin: right center;
}


/* =========================================================
   説明文
   ========================================================= */

.mstyle-feature-text p {
  margin: 0;
  padding: 0;
  color: #586277;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

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

  .mstyle-page {
    width: 100%;
    padding-bottom: 40px;
  }

  .mstyle-features {
    margin-top: 28px;
  }

  .mstyle-features-heading,
  .mstyle-feature-item {
    width: calc(100% - 30px);
  }


  /* 見出し */

  .mstyle-features-heading {
    margin-bottom: 20px;
    gap: 10px;
  }

  .mstyle-features-heading h2 {
    font-size: 17px;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
  }

  .mstyle-features-heading h2 span {
    display: block;
    margin: 0 0 2px;
  }

  .mstyle-heading-line {
    flex: 0 0 30px;
    width: 30px;
  }


  /* 各項目 */

  .mstyle-feature-item {
    min-height: 0;
    margin-bottom: 12px;
    padding: 18px;
    gap: 16px;
    align-items: center;
  }


  /* 画像 */

  .mstyle-feature-image {
    flex: 0 0 140px;
    width: 140px;
    height: 130px;
  }

  .mstyle-feature-image img {
    width: 140px;
    height: 130px;
  }


  /* タイトル */

  .mstyle-feature-text h3 {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.45;
  }

  .mstyle-feature-text h3 a {
    gap: 9px;
  }

  .mstyle-arrow {
    flex-basis: 28px;
    width: 28px;
  }


  /* 説明文 */

  .mstyle-feature-text p {
    font-size: 13px;
    line-height: 1.6;
  }

  .mstyle-feature-text p br {
    display: none;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

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

  .mstyle-feature-item {
    display: block;
    padding: 18px;
  }

  .mstyle-feature-image {
    width: 140px;
    height: 130px;
    margin: 0 auto 16px;
  }

  .mstyle-feature-text {
    width: 100%;
    text-align: center;
  }

  .mstyle-feature-text h3 {
    text-align: center;
  }

  .mstyle-feature-text h3 a {
    justify-content: center;
  }

  .mstyle-feature-text p {
    text-align: center;
  }
}