@charset "UTF-8";

/* Base */
:root {
  --cyan: #116aff;
  --white-gray: #f5f5f5;
  --primary-blue: #005bac;
  --arrow-bg: #777;
  --bg-light: #f7f7f7;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 300;
  color: #000;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h2 {
  font-size: calc(1.325rem + .9vw);
}

h3 {
  font-size: calc(1.3rem + .6vw);
}

h4 {
  font-size: calc(1.275rem + .3vw);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: normal;
  font-weight: bold;
}

img,
video {
  inline-size: 100%;
  block-size: auto;
}

img,
svg,
video {
  vertical-align: middle;
}

a {
  color: #000;
  text-decoration: none;
}

:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

main {
  font-weight: 400;
}

main[data-footer-type] {
  padding-bottom: 8rem;
}

.base-width {
  padding-inline: 5%;
}

article .base-width {
  max-inline-size: 768px;
  margin-inline: auto;
}

@media (width < 768px) {
  .pc-only {
    display: none;
  }
}

@media (width < 1080px) {
  .disp-m {
    display: none;
  }
}

.mt1em {
  margin-top: 1em;
}

.text-blue-bold {
  font-weight: bold;
  color: var(--primary-blue);
  font-style: normal;
}

.caption {
  font-size: 1.2rem;
}

.caption.kome > li::before {
  content: "\203b";
  margin-right: 0.5em;
  color: var(--cyan);
}

/* Common Section */
.point-section {
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
  padding: 5rem 0 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;

  &:first-child {
    margin-top: 0;
  }

  &.is-animated {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-point-number {
  position: absolute;
  top: 0;
  left: 20px;
  font-weight: bold;
  color: var(--bg-light);
  line-height: 1;
  font-size: 5.5rem;
  pointer-events: none;
  z-index: 0;
}

.section-inner {
  background-color: var(--bg-light);
  border-radius: 20px;
  padding: 40px 5%;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
}

.step-num {
  color: var(--primary-blue);
  font-weight: bold;
  display: inline-flex;
  border-bottom: solid 3px var(--primary-blue);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: bold;
  margin: 0.5em 0 1.5em;
  font-size: 2.2rem;
  text-align: left;
}

:where(#section2, #section5) .section-title {
  font-size: 1.75rem;
}

.icon-check-box {
  inline-size: 2.6rem;
  block-size: 2.6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-intro {
  margin-bottom: 4rem;
  font-size: 1.5rem;
}

.search-container {
  border: 1px solid var(--primary-blue);
  padding: 30px 5%;
  position: relative;
  background-color: #fff;
  margin-top: 4rem;
}

.clip-icon {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-60%);
  inline-size: 18px;
  block-size: 40px;
  background: url('images/clip.svg') no-repeat center / contain;
}

.search-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5em;
}

.search-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-blue);
  position: relative;
  padding-bottom: 5px;
}

.search-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  inline-size: 100%;
  block-size: 4px;
  background: url('images/line_link.svg') repeat-x top left;
}

.search-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75em 0.5em;
  font-size: 1.4rem;
}

.search-pills.sp-col-one {
  grid-template-columns: 1fr;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
}

.search-pill::before {
  content: "";
  inline-size: 2rem;
  block-size: 2rem;
  background: #7d7d7d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / 1.6rem;
  border-radius: 50%;
  transition: .3s;
}

/* Main Visual */
.main-visual {
  padding-top: 20px;
  text-align: center;
}

.mv-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.mv-title {
  max-inline-size: 30rem;
  margin-inline: auto;
}

.mv-lead {
  margin-top: 2em;
  line-height: 1.9;
  font-size: 1.5rem;
  font-weight: 500;
}

.mv-image {
  max-inline-size: 768px;
  margin-inline: auto;
}

.lottie-main-visual {
  inline-size: 100%;
  aspect-ratio: 1109 / 889;
}

/* Point Nav */
.point-nav {
  padding-block: 4rem 0;
}

.point-nav-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1em;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;

  svg {
    inline-size: 0.8em;
    block-size: 1lh;
  }
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.nav-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  inline-size: 48%;
  padding: 15px;
  border: 1.5px solid var(--primary-blue);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  transition: 0.2s;
}

.point-label {
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--primary-blue);
  margin-inline: auto;
}

.nav-text {
  font-weight: bold;
}

.icon-arrow {
  margin-inline: auto;
  inline-size: 2.2rem;
  block-size: 2.2rem;
  background-color: var(--arrow-bg);
  border-radius: 50%;
  position: relative;
  transition: .3s;
}

.icon-arrow::after {
  content: '';
  position: absolute;
  top: 47.5%;
  left: 50%;
  inline-size: 0.6rem;
  block-size: 0.6rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Content / Side Nav */
.content-wrapper {
  margin-top: 4rem;
}

.side-nav {
  display: none;
}

/* POINT 1 */
.formula-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: bold;
  text-align: center;

  svg {
    inline-size: 0.75em;
    block-size: 1lh;
  }
}

.formula-white-box {
  padding: 1.5em 1em;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  max-inline-size: 500px;
  margin-inline: auto;
}

.family-item {
  container-type: inline-size;
  border: 1.5px dashed var(--primary-blue);
  border-radius: 50%;
}

.family-circle {
  block-size: 100cqw;
  padding: 12% 10% 0;
  border-radius: 50%;
  border: 1.5px solid #fff;
  text-align: center;
  background: url(images/point1-family1.png) no-repeat center bottom / 66% auto;

  &.family-4 {
    background-image: url(images/point1-family4.png);
  }

  &.family-3 {
    background-image: url(images/point1-family3.png);
  }

  &.family-2 {
    background-image: url(images/point1-family2.png);
  }
}

.family-label {
  font-size: clamp(10px, 10cqw, 13px);
  font-weight: bold;
  margin-bottom: 0.25em;
  white-space: nowrap;
}

.capacity-value {
  font-size: clamp(14px, 18cqw, 20px);
  line-height: 1;
  font-weight: bold;
  margin-bottom: 0.25em;
  white-space: nowrap;
}

/* POINT 2 */
.point2-illust-container {
  text-align: center;
}

/* POINT 3 */
.door-type-title {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  max-inline-size: 16em;
  margin-inline: auto;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #02569C;
  background: #FFF;
  font-size: 1.6rem;
  text-align: center;
}

.door-grid {
  display: grid;
  gap: 40px 30px;
}

.door-illust {
  max-inline-size: 500px;
  margin-inline: auto;
  margin-top: 1.5rem;
  padding: 0 15%;
  text-align: center;
}

.recommended-box {
  margin-top: 2rem;
  padding: 1em 5%;
  background-color: #fff;
  border-radius: 10px;
}

.recommended-title {
  margin-bottom: 0.5em;
  font-weight: bold;
  text-align: center;
  font-size: 1.6rem;
}

.recommended-list {
  list-style-type: disc;
  padding-left: 1em;
}

.recommended-list li {
  font-size: 1.4rem;
  line-height: 1.6;

  &:not(:first-child) {
    margin-top: 0.5em;
  }
}

/* POINT 4 */
.energy-info-box {
  text-align: center;
}

.energy-info-box img {
  border-radius: 10px;
}

/* POINT 5 */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.feature-item {
  display: grid;
}

.feature-title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px 10px;
  position: relative;
  text-align: center;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25));
  margin-bottom: 20px;
}

.feature-title-box::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 10px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.feature-sub {
  font-size: 1.4rem;
}

.feature-img {
  max-inline-size: 500px;
  margin-inline: auto;
}

.feature-img img {
  border-radius: 8px;
}

.feature-desc {
  margin-top: 1em;
  font-size: 1.5rem;
}

/* Bottom Buttons */
.btn-has-arrow-left {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-column-gap: .6em;
  inline-size: fit-content;
  block-size: fit-content;
  align-items: center;
  font-weight: 400;
  border: 1px solid #000;
  border-radius: 5px;
  padding: .5em 1em;
}

.btn-has-arrow-left::after {
  content: '';
}

.btn-has-arrow-left svg {
  inline-size: 0.6em;
  block-size: 1em;
}

.list-btn-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 8rem auto 0;
}

.list-btn-links > li {
  inline-size: min(100%, 24.5rem);
}

.list-btn-links .btn-has-arrow-left {
  inline-size: 100%;
}

/* ==========================================================================
   768px and up
   ========================================================================== */
@media (width >= 768px) {
  body {
    line-height: 1.5;
  }

  .sp-only {
    display: none;
  }

  main[data-footer-type] {
    padding-bottom: 15rem;
  }

  .base-width {
    padding-inline: 0;
  }

  .outer-base-width {
    padding-inline: 1.5%;
  }

  .caption.kome {
    padding-left: 1.5em;
  }

  .caption.kome > li {
    text-indent: -1.5em;
  }

  :where(#section2, #section5) .section-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   1080px and up
   ========================================================================== */
@media (width >= 1080px) {
  article .base-width {
    max-inline-size: 1200px;
  }

  /* Common Section */
  .point-section {
    padding: 80px 0 0;
  }

  .bg-point-number {
    font-size: 90px;
    left: 40px;
  }

  .section-inner {
    padding: 50px 5.5% 60px;
    border-radius: 40px;
  }

  .step-num {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 3.2rem;
    gap: 1.5rem;
  }

  .icon-check-box {
    inline-size: 4rem;
    block-size: 4rem;
  }

  .section-intro {
    margin-bottom: 6rem;
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .search-container {
    padding: 30px;
    margin-top: 7rem;
  }

  .search-header {
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
  }

  .search-subtitle {
    font-size: 1.2rem;
  }

  .search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 1.5em;
  }

  /* Main Visual */
  .main-visual {
    max-inline-size: 1200px;
    margin-inline: auto;
    padding: 4vw 0;
  }

  .mv-container {
    flex-direction: row;
    align-items: center;
    gap: 3%;
  }

  .mv-title {
    max-inline-size: 500px;
  }

  .mv-lead {
    font-size: 1.7rem;
  }

  .mv-image {
    flex: 1.1;
  }

  /* Point Nav */
  .point-nav-title {
    font-size: 2.8rem;
  }

  .nav-container {
    flex-wrap: nowrap;
  }

  .nav-card {
    inline-size: 19%;
    min-block-size: 180px;
  }

  .point-label {
    font-size: 1.4rem;
  }

  .nav-text {
    font-size: 1.8rem;
  }

  .icon-arrow {
    inline-size: 2.4rem;
    block-size: 2.4rem;
  }

  /* Content / Side Nav */
  .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%;
    margin-top: 13rem;
  }

  .section-wrapper {
    max-inline-size: 900px;
  }

  .side-nav {
    display: block;
    position: sticky;
    top: 20px;
    inline-size: 240px;
    flex-shrink: 0;
    margin-top: 80px;
  }

  .side-nav-wrap {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.15);
  }

  .side-nav-item a {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    color: #767676;
    font-size: 1.4rem;
    transition: color 0.2s ease, font-size 0.2s ease;
  }

  .side-check-icon {
    inline-size: 1.8rem;
    block-size: 1.8rem;
    border: 1px solid #767676;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.2rem;
    background-color: #fff;
    transition: border-color 0.2s ease;
  }

  .side-check-icon::after {
    content: "";
    position: absolute;
    left: -1px;
    top: -2px;
    inline-size: 2rem;
    block-size: 2rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30'%3E%3Cpath fill='%23005bac' d='M15.6731 22.6342L31.4317 6.82135C32.1857 6.06459 32.1794 4.84214 31.4171 4.0937C30.6547 3.34526 29.4231 3.35149 28.6691 4.10825L15.6731 17.1623L11.8444 13.3702C11.0862 12.6176 9.85467 12.6176 9.09648 13.3702C8.33828 14.1228 8.33828 15.3453 9.09648 16.0979L15.6731 22.6322Z'/%3E%3Cpath fill='%23005bac' d='M23.523 29.7549H7.49001C3.9085 29.7549 0.995117 26.863 0.995117 23.3079V7.20187C0.995117 3.64677 3.9085 0.754883 7.49001 0.754883H22.4423C23.4833 0.754883 24.3273 1.59272 24.3273 2.62598C24.3273 3.65925 23.4833 4.49708 22.4423 4.49708H7.49001C5.98829 4.49708 4.76513 5.71122 4.76513 7.20187V23.31C4.76513 24.8006 5.98829 26.0147 7.49001 26.0147H23.523C25.0248 26.0147 26.2479 24.8006 26.2479 23.31V15.8817C26.2479 14.8484 27.092 14.0106 28.1329 14.0106C29.1739 14.0106 30.0179 14.8484 30.0179 15.8817V23.31C30.0179 26.8651 27.1046 29.7569 23.523 29.7569Z'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .side-nav-item.active a {
    font-weight: bold;
    font-size: 1.6rem;
    color: #000;
  }

  .side-nav-item.active .side-check-icon {
    border-color: transparent;
  }

  .side-nav-item.active .side-check-icon::after {
    opacity: 1;
  }

  /* POINT 1 */
  .formula-label {
    font-size: 1.8rem;
  }

  .family-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 60px;
    max-inline-size: unset;
  }

  .family-label {
    font-size: clamp(10px, 9cqw, 14px);
  }

  .capacity-value {
    font-size: clamp(16px, 16cqw, 22px);
  }

  /* POINT 2 */
  .point2-illust-container {
    margin-top: 4rem;
  }

  /* POINT 3 */
  .door-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .door-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }

  .door-illust {
    padding: 0;
  }

  .recommended-box {
    padding: 1em;
  }

  /* POINT 5 */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 30px;
    padding: 0 5%;
  }

  .feature-item {
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }

  .feature-title-box {
    padding: 15px;
  }

  /* Bottom Buttons */
  .list-btn-links {
    gap: 10%;
    max-inline-size: 55rem;
    margin: 10rem auto 0;
  }

  .list-btn-links .btn-has-arrow-left {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   1200px and up
   ========================================================================== */
@media (width >= 1200px) {
  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  .base-width {
    max-inline-size: 1200px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   Hover
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  :is(.search-pill, .nav-card, .btn-has-arrow-left, .side-nav-item a):hover {
    text-decoration: none;
  }

  .search-pill:hover::before {
    background-color: #02569C;
  }

  .nav-card:hover {
    outline: 2px solid #02569C;
    background-color: #D7EDFF;
  }

  .nav-card:hover .icon-arrow {
    transform: translateY(5px);
    background-color: #02569C;
  }

  .side-nav-item a:hover {
    font-weight: bold;
    color: #000;
  }

  .btn-has-arrow-left:hover {
    color: #fff;
    background-color: #000;
    transition: background-color .3s ease;
  }
}
