/* スマートライフ電化TOP：デザインスクショに準拠 */
.smartlife-page { color: #003f70; background: #fff; }
.smartlife-container { width: min(100%, 1000px); margin: 0 auto; }
.smartlife-section { padding: 64px 24px; scroll-margin-top: 25px; }
.smartlife-section h2 { font-size: 26px; font-weight: 900; line-height: 1.6; text-align: center; }
.smartlife-section-heading { margin-bottom: 38px; text-align: center; }
.smartlife-section-heading p { margin-top: 14px; font-size: 13px; line-height: 1.9; }

/* 写真の上にヘッダーを重ねるメインビジュアル */
.smartlife-hero { min-height: 460px; padding: 94px 24px 60px; background: #5c6968 url('../images/smartlife-hero.jpg') center / cover no-repeat; color: #fff; }
.smartlife-breadcrumb { max-width: 1160px; margin: 0 auto; font-size: 11px; }
.smartlife-hero-copy { max-width: 1050px; margin: 90px auto 34px; text-align: center; }
.smartlife-hero h1 { margin: 0 0 18px; font-size: 38px; font-weight: 900; line-height: 1.6; }
.smartlife-hero-copy p { font-size: 13px; font-weight: 500; line-height: 2; }

/* 目的・機器別のページ内ナビゲーション */
.smartlife-navigation { max-width: 900px; margin: 0 auto; padding: 30px 24px 36px; }
.smartlife-purpose-links, .smartlife-equipment-links { display: grid; gap: 7px; }
.smartlife-purpose-links { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
.smartlife-equipment-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.smartlife-navigation a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 28px 12px 16px; text-align: center; font-size: 14px; font-weight: 700; }
.smartlife-navigation a > span { position: absolute; right: 14px; }
.smartlife-purpose-links a { background: #005cc4; border: 1px solid #005cc4; color: #fff; }
.smartlife-purpose-links a:first-child { background: #fff; color: #005cc4; }
.smartlife-equipment-links a { background: linear-gradient(110deg, #9ceeb5, #52ccef); color: #005397; font-size: 12px; }
.smartlife-navigation a:hover { filter: brightness(.96); }
.smartlife-page a:focus-visible { outline: 3px solid #005cc4; outline-offset: 4px; }

/* 導入プラン：2列のサービスカード */
.smartlife-plans { background: #dff8fc; }
.smartlife-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
.smartlife-plan { position: relative; padding: 28px 32px 26px; border: 5px solid #cdeeb6; border-image: linear-gradient(120deg, #d7ecb1, #b6edf0) 1; background: #fff; display: flex; flex-direction: column; }
.smartlife-label { position: absolute; top: -16px; left: -14px; min-width: 150px; padding: 7px 20px; border-radius: 10px; background: #005cc4; color: #fff; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.5; }
.smartlife-plan-catch { color: #86b829; text-align: center; font-size: 18px; font-weight: 900; }
.smartlife-plan h3 { min-height: 77px; display: flex; justify-content: center; align-items: center; color: #003f70; font-size: 24px; text-align: center; }
.smartlife-plan h3 img { width: min(300px, 100%); height: auto; }
.smartlife-image-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 2; margin: 16px 0; padding: 20px; border: 1px solid #d1d9dc; background: #e3e7e9; color: #556776; font-size: 12px; text-align: center; }
.smartlife-plan-button { position: relative; display: block; margin-top: auto; padding: 13px 30px 13px 16px; border-radius: 4px; background: #8abc15; color: #fff; text-align: center; font-size: 12px; font-weight: 700; }
.smartlife-plan-button > span { position: absolute; right: 14px; }

/* 家事・防災の説明ボックス */
.smartlife-feature { position: relative; padding: 38px; border: 7px solid #c7f0f4; border-radius: 0 42px 0 42px; }
.smartlife-feature-aqua { background: #dff8fc; }
.smartlife-feature-white { background: #fff; }
.smartlife-feature h3 { margin: 0 0 12px; font-size: 23px; font-weight: 900; line-height: 1.6; }
.smartlife-feature > p { margin-bottom: 22px; color: #243b49; font-size: 13px; line-height: 1.9; }
.smartlife-feature-links { display: grid; gap: 10px; }
.smartlife-feature-links a { position: relative; padding: 13px 32px 13px 16px; border-radius: 4px; background: #005cc4; color: #fff; text-align: center; font-size: 12px; font-weight: 700; }
.smartlife-feature-links a > span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  line-height: 1;
}
.smartlife-easycare { display: flex; gap: 28px; align-items: center; margin-top: 26px; padding: 20px; border-radius: 18px; background: #fff; }
.smartlife-easycare > div { flex: 1; min-width: 0; }
.smartlife-easycare h4 { margin-bottom: 16px; font-size: 20px; font-weight: 900; }
.smartlife-ring { flex: 0 0 auto; width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; border: 15px solid transparent; border-radius: 50%; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(20deg, #9ceeb5, #52ccef) border-box; color: #003f70; text-align: center; font-size: 16px; font-weight: 900; line-height: 1.5; }
.smartlife-outline-link { display: flex; align-items: center; justify-content: center; gap: 24px; width: fit-content; min-width: 250px; max-width: 100%; margin: 12px 0 0 auto; padding: 9px 16px; border: 1px solid #83b6cd; color: #005397; text-align: center; font-size: 12px; }

/* PICK UP */
.smartlife-pickup { position: relative; width: 90%; margin: 48px auto 0; padding: 30px; border: 3px solid #fff; border-radius: 16px; background: linear-gradient(140deg, #eef9b9 0 38%, #fffbcf 38%); }
.smartlife-pickup .smartlife-label { top: -14px; left: 28px; }
.smartlife-pickup h3 { font-size: 20px; font-weight: 900; line-height: 1.7; }
.smartlife-pickup .smartlife-outline-link { margin-top: 20px; }
.smartlife-resilience { background: #dff8fc; }

/* 機器別カード */
.smartlife-find h2 { margin-bottom: 38px; }
.smartlife-find-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.smartlife-find-card { display: block; position: relative; color: #fff; }
.smartlife-find-card > img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 440; object-fit: cover; }
.smartlife-find-tag { position: absolute; top: -14px; left: -14px; display: flex; align-items: center; justify-content: center; min-width: 66px; min-height: 70px; padding: 12px; border-radius: 14px; background: #005cc4; font-size: 14px; font-weight: 700; }
.smartlife-find-card > div { position: absolute; inset: 8% 8% 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.smartlife-find-card small { font-size: 11px; }
.smartlife-find-card h3 { margin: 3px 0 14px; font-size: 16px; font-weight: 900; line-height: 1.5; }
.smartlife-find-more {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #fff;
  font-size: 12px;
}

.smartlife-find-more > span[aria-hidden="true"] {
  font-size: 120%;
  line-height: 0;
}
.smartlife-find-card:hover > img { filter: brightness(1.12); }

/* シミュレーションのバナー：文字はテキスト、図形はCSS */
.smartlife-simulation { display: block; position: relative; width: 90%; margin: 44px auto 0; padding: 24px 85px; border: 1px solid #d74736; background: #fff9d7; color: #172f40; text-align: center; }
.smartlife-simulation > small { font-size: 14px; font-weight: 900; }
.smartlife-simulation > small span, .smartlife-simulation > strong span { color: #df472a; }
.smartlife-simulation > strong { display: block; font-size: 27px; font-weight: 900; line-height: 1.6; }
.smartlife-simulation > p { margin: 5px 0 16px; font-size: 11px; }
.smartlife-simulation b { color: #df472a; }
.smartlife-simulation-button { display: inline-block; padding: 11px 22px; border-radius: 24px; background: #dd392a; color: #fff; font-size: 12px; font-weight: 700; }
.smartlife-simulation-art { position: absolute; top: 36px; width: 54px; height: 54px; background: repeating-linear-gradient(55deg, transparent 0 3px, #efbf45 3px 5px); transform: rotate(16deg); pointer-events: none; }
.smartlife-simulation-art-left { left: 20px; }
.smartlife-simulation-art-right { right: 20px; transform: rotate(-18deg); }
.smartlife-simulation-art::after { content: ''; position: absolute; right: -10px; bottom: -15px; width: 17px; height: 17px; border-radius: 50%; background: #ec6b39; }

/* FAQ・導入事例 */
.smartlife-related { background: linear-gradient(#fffedb, #fff); }
.smartlife-related-inner { max-width: 900px; margin: 0 auto; }
.smartlife-related h2 { margin-bottom: 40px; }
.smartlife-related ul { padding: 0; margin: 0; list-style: none; }
.smartlife-related li { border-bottom: 1px solid #dddcca; }
.smartlife-related li a { display: block; padding: 21px 8px; color: #243b49; font-size: 13px; line-height: 1.8; }
.smartlife-related a:hover { color: #005cc4; text-decoration: underline; }

@media (max-width: 1000px) {
  .smartlife-plan-grid { gap: 26px; }
  .smartlife-plan { padding: 28px 22px 22px; }
  .smartlife-plan h3 { font-size: 21px; }
  .smartlife-find-grid { gap: 18px; }
  .smartlife-find-card h3 { font-size: 13px; }
  .smartlife-find-tag { min-width: 52px; min-height: 56px; font-size: 12px; }
  .smartlife-feature { padding: 28px; }
}
@media (max-width: 700px) {
  .smartlife-section { padding: 40px 20px; }
  .smartlife-section h2 { font-size: 21px; }
  .smartlife-section-heading { margin-bottom: 30px; }
  .smartlife-section-heading p { text-align: left; font-size: 12px; }
  .smartlife-section-heading br { display: none; }
  .smartlife-hero { min-height: 410px; padding: 74px 20px 36px; background-position: 58% center; }
  .smartlife-breadcrumb { font-size: 9px; }
  .smartlife-hero-copy { margin: 65px auto 20px; }
  .smartlife-hero h1 { font-size: 28px; }
  .smartlife-hero-copy p { font-size: 12px; text-align: left; }
  .smartlife-hero-copy br { display: none; }
  .smartlife-navigation { padding: 22px 16px 26px; }
  .smartlife-navigation a { min-height: 50px; padding: 10px 22px 10px 8px; font-size: 12px; }
  .smartlife-navigation a > span { right: 8px; }
  .smartlife-equipment-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smartlife-plan-grid { grid-template-columns: 1fr; gap: 38px; }
  .smartlife-plan { padding: 28px 20px 22px; border-width: 4px; }
  .smartlife-label { left: -8px; min-width: 130px; font-size: 12px; }
  .smartlife-plan-catch { font-size: 17px; }
  .smartlife-plan h3 { min-height: 68px; font-size: 22px; }
  .smartlife-feature { padding: 26px 18px; border-width: 5px; border-radius: 0 30px 0 30px; }
  .smartlife-feature h3 { font-size: 20px; }
  .smartlife-easycare { padding: 18px 14px; gap: 16px; flex-direction: column; }
  .smartlife-easycare > div { width: 100%; }
  .smartlife-easycare h4 { font-size: 18px; text-align: center; }
  .smartlife-ring { width: 110px; height: 110px; border-width: 12px; font-size: 14px; }
  .smartlife-outline-link { width: 100%; min-width: 0; gap: 12px; font-size: 11px; }
  .smartlife-pickup { width: 100%; padding: 26px 18px 20px; margin-top: 34px; }
  .smartlife-pickup h3 { font-size: 18px; }
  .smartlife-pickup .smartlife-label { left: 16px; }
  .smartlife-find-grid { grid-template-columns: minmax(0, 1fr); gap: 32px 20px; }
  .smartlife-find-card h3 { font-size: 24px; margin-bottom: 8px; }
  .smartlife-find-card small { font-size: 15px; }
  .smartlife-find-more { padding: 5px 10px; }
  .smartlife-find-tag { top: -10px; left: -8px; min-width: 44px; min-height: 46px; padding: 8px; border-radius: 10px; }
  .smartlife-simulation { width: 100%; padding: 24px 16px; margin-top: 32px; }
  .smartlife-simulation > strong { font-size: 22px; }
  .smartlife-simulation > strong span { display: inline-block; }
  .smartlife-simulation > p { line-height: 1.9; }
  .smartlife-simulation-art { display: none; }
  .smartlife-simulation-button { font-size: 10px; padding: 10px 12px; }
  .smartlife-related h2 { margin-bottom: 25px; }
  .smartlife-related li a { padding: 17px 4px; font-size: 12px; }
}

/* お客さまの声と注目商品の本文 */
.smartlife-easycare p,
.smartlife-pickup p {
  margin: 10px 0 14px;
  color: #243b49;
  font-size: 13px;
  line-height: 1.9;
}

/* 支給デザイン：サービス紹介 */
.smartlife-hero-copy { width: min(100%, 1050px); }
.smartlife-plan { max-width: 960px; margin-inline: auto; padding: 24px 42px 42px; }
.smartlife-plan h3 { gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.smartlife-plan-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.smartlife-image-placeholder { margin: 0; aspect-ratio: 2.3; background: #ccc; color: #222; }
.smartlife-plan-copy p { margin: 0 0 18px; color: #243b49; font-size: 13px; line-height: 1.9; }

/* 家事を助ける機器カード */
.smartlife-device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.smartlife-device { position: relative; display: grid; align-items: stretch; min-height: 225px; color: #fff; background: #173c54; }
.smartlife-device > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smartlife-device > .smartlife-find-tag { z-index: 1; min-height: 46px; }
.smartlife-device-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 46px 12px 18px;
  text-align: center;
  background: linear-gradient(transparent, #062845a8);
}
.smartlife-device-copy h4 { margin: 0; font-size: 17px; }
.smartlife-device-copy p { margin: 0; font-size: 12px; line-height: 1.65; }
.smartlife-device-copy .smartlife-find-more { margin-top: auto; padding-inline: 10px; }
.smartlife-device:hover .smartlife-find-more { background: #fff; color: #003f70; }
.smartlife-easycare .smartlife-ring { width: 112px; height: 112px; }

/* 停電や災害への備え */
.smartlife-resilience-layout { display: grid; grid-template-columns: minmax(270px, 34%) minmax(0, 1fr); align-items: center; }
.smartlife-resilience-ring {
  z-index: 1;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 16px;
  border-width: 24px;
  text-align: left;
}
.smartlife-resilience-ring h3 { margin: 0 0 12px; font-size: clamp(16px, 2.2vw, 25px); }
.smartlife-resilience-ring h3 span { color: #bb3d83; }
.smartlife-resilience-ring p,
.smartlife-resilience-copy > p { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.7; }
.smartlife-resilience-copy { min-width: 0; }
.smartlife-resilience-copy h2,
.smartlife-resilience-copy > p { text-align: left; margin: 0 0 12px; }
.smartlife-resilience-copy .smartlife-feature-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: -28px; padding: 24px 22px 24px 45px; }
.smartlife-resilience-copy .smartlife-feature-links a { display: grid; align-content: center; min-height: 58px; }

/* 関連FAQ・導入事例 */
.smartlife-related { background: #fffbdc; }
.smartlife-related-inner { max-width: 1000px; border: 1px solid #7c9eb3; background: #fff; }
.smartlife-related-faq,
.smartlife-related-cases { padding: 38px clamp(16px, 5vw, 68px); }
.smartlife-related h2 { margin: 0 0 22px; }
.smartlife-related-faq li:first-child { border-top: 1px solid #dddcca; }
.smartlife-related-faq li a {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  padding: 20px 0;
  font-size: 14px;
  line-height: 1.8;
}
.smartlife-related-faq .faq-question-text { min-width: 0; }
@media (max-width: 700px) {
  .smartlife-related-faq li a {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
    font-size: 13px;
  }
}
.smartlife-related-cases { background: #dff8fc url('../images/smartlife-case-mark.png') left bottom / auto 92% no-repeat; background-blend-mode: soft-light; }
.smartlife-related-cases ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.smartlife-related-cases li { border: 0; }
.smartlife-related-cases li a { position: relative; display: block; align-content: center; min-height: 115px; height: 100%; padding: 14px; border: 2px solid #8fbedf; border-radius: 22px; background: #005cc4; color: #fff; text-align: center; font-weight: 700; }
.smartlife-related-cases li a::after { position: absolute; bottom: -10px; left: calc(50% - 8px); border: 8px solid transparent; border-top: 10px solid #005cc4; border-bottom: 0; content: ''; }
.smartlife-related-cases li a:hover { color: #fff; }

@media (max-width: 700px) {
  .smartlife-hero-copy p { text-align: center; }
  .smartlife-plan { padding: 28px 18px 24px; }
  .smartlife-plan h3 { gap: 4px; }
  .smartlife-plan-grid,
  .smartlife-device-grid,
  .smartlife-resilience-layout,
  .smartlife-related-cases ul { grid-template-columns: 1fr; }
  .smartlife-plan-grid { gap: 18px; }
  .smartlife-device-grid { gap: 26px; }
  .smartlife-resilience-ring { width: min(100%, 290px); margin: 0 auto 20px; }
  .smartlife-resilience-copy h2,
  .smartlife-resilience-copy > p { text-align: center; }
  .smartlife-resilience-copy .smartlife-feature-links { margin: 15px 0 0; padding: 14px; }
  .smartlife-related-cases li a { min-height: 80px; }
}

@media (max-width: 400px) {
  .smartlife-resilience-copy .smartlife-feature-links { grid-template-columns: 1fr; }
}

/* 支給カンプ写真：縦横比を保ち全体を表示 */
.smartlife-lease-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
}
