@charset "UTF-8";

/* =========================================================
   KOKETSU A.D.
   Life Style Design Page CSS Ver.1.0

   読み込み順
   1. ../common/base.css
   2. ../common/reading.css
   3. style.css

   このファイルでは、
   Life Style Designページ固有の表現のみを管理する。
========================================================= */


/* =========================================================
   Hero
========================================================= */

.lifestyledesign-hero .reading-hero__image img {
  object-position: center 48%;
}

.lifestyledesign-hero .reading-hero__image::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.46) 0%,
      rgba(0, 0, 0, 0.24) 48%,
      rgba(0, 0, 0, 0.04) 100%
    );
}

.lifestyledesign-hero .reading-hero__content {
  justify-content: center;
}


/* =========================================================
   Intro
========================================================= */

.lifestyledesign-intro-text {
  margin-top: 42px;
}

.lifestyledesign-intro-text .section-text {
  margin-top: 0;
}

.lifestyledesign-intro-text .section-text + .section-text {
  margin-top: 20px;
}


/* =========================================================
   Purpose
========================================================= */

.lifestyledesign-purpose-text {
  text-align: left;
}

.lifestyledesign-purpose-text strong {
  font-weight: 500;
  letter-spacing: 0.06em;
}


/* =========================================================
   Question Section
========================================================= */

.lifestyledesign-question-layout {
  align-items: stretch;
}

.lifestyle-question {
  height: 100%;
  min-height: 430px;
  padding: 58px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
}

.lifestyle-question__item {
  position: relative;
  padding-left: 32px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
}

.lifestyle-question__item::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--color-sub);
}

.lifestyle-question__item + .lifestyle-question__item {
  margin-top: 34px;
}


/* =========================================================
   Diagram
========================================================= */

.lifestyledesign-diagram {
  padding: 58px;
}

.lifestyledesign-diagram .reading-diagram__image img {
  width: min(100%, 920px);
  max-height: none;
}


/* =========================================================
   Six Elements
========================================================= */

.lifestyledesign-elements .reading-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
}

.lifestyledesign-elements .reading-card__text {
  flex: 1;
}


/* =========================================================
   Quote
========================================================= */

.lifestyledesign-quote {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-dark);
}

.lifestyledesign-quote::before,
.lifestyledesign-quote::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.lifestyledesign-quote::before {
  width: 520px;
  height: 520px;
  top: -280px;
  left: -180px;
}

.lifestyledesign-quote::after {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -220px;
}

.lifestyledesign-quote .reading-quote__inner {
  position: relative;
  z-index: 1;
}

.lifestyledesign-quote .section-label {
  color: rgba(255, 255, 255, 0.58);
}

.lifestyledesign-quote .reading-quote__text {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.1em;
}

.lifestyledesign-quote .reading-quote__source {
  color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   Theme Cards
========================================================= */

.theme-card-grid {
  align-items: stretch;
}

.theme-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.theme-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-card);
}

.theme-card .reading-card__text {
  flex: 1;
}

.theme-card .reading-card__link {
  align-self: flex-start;
}


/* =========================================================
   Related Pages
========================================================= */

.lifestyledesign-next .reading-next__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lifestyledesign-next .reading-next-card {
  min-height: 300px;
}


/* =========================================================
   Consultation
========================================================= */

.lifestyledesign-consultation {
  text-align: center;
}

.lifestyledesign-consultation__inner {
  padding: 72px 56px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
}

.lifestyledesign-consultation__inner .section-text {
  max-width: 680px;
  margin-inline: auto;
}

.lifestyledesign-consultation__action {
  margin-top: 42px;
}


/* =========================================================
   Closing
========================================================= */

.lifestyledesign-closing {
  text-align: center;
}

.lifestyledesign-closing__inner {
  max-width: 760px;
  margin-inline: auto;
}

.lifestyledesign-closing .section-label {
  color: rgba(255, 255, 255, 0.58);
}

.lifestyledesign-closing .section-text {
  color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {
  .lifestyledesign-hero .reading-hero__image img {
    object-position: 58% center;
  }

  .lifestyle-question {
    min-height: auto;
    padding: 48px 42px;
  }

  .lifestyledesign-diagram {
    padding: 42px;
  }

  .lifestyledesign-next .reading-next__cards {
    grid-template-columns: 1fr;
  }

  .lifestyledesign-next .reading-next-card {
    min-height: auto;
  }
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {
  .lifestyledesign-hero {
    height: 72vh;
  }

  .lifestyledesign-hero .reading-hero__image img {
    object-position: 61% center;
  }

  .lifestyledesign-hero .reading-hero__image::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 48%,
        rgba(0, 0, 0, 0.6) 100%
      );
  }

  .lifestyledesign-hero .reading-hero__content {
    height: 72vh;
    padding-bottom: 68px;
    justify-content: flex-end;
  }

  .lifestyledesign-intro-text {
    margin-top: 34px;
  }

  .lifestyledesign-purpose-text {
    text-align: left;
  }

  .lifestyle-question {
    min-height: auto;
    padding: 38px 26px;
  }

  .lifestyle-question__item {
    padding-left: 24px;
    font-size: 17px;
    line-height: 1.9;
  }

  .lifestyle-question__item::before {
    width: 10px;
  }

  .lifestyle-question__item + .lifestyle-question__item {
    margin-top: 26px;
  }

  .lifestyledesign-diagram {
    padding: 24px 14px;
  }

  .lifestyledesign-elements .reading-card {
    min-height: auto;
  }

  .lifestyledesign-quote::before {
    width: 300px;
    height: 300px;
    top: -180px;
    left: -130px;
  }

  .lifestyledesign-quote::after {
    width: 240px;
    height: 240px;
    right: -120px;
    bottom: -150px;
  }

  .lifestyledesign-quote .reading-quote__text {
    font-size: 24px;
    line-height: 1.9;
  }

  .theme-card {
    min-height: auto;
  }

  .lifestyledesign-consultation__inner {
    padding: 52px 24px;
  }

  .lifestyledesign-consultation__action {
    margin-top: 34px;
  }
}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 380px) {
  .lifestyledesign-hero .reading-hero__image img {
    object-position: 64% center;
  }

  .lifestyle-question {
    padding: 32px 20px;
  }

  .lifestyle-question__item {
    font-size: 16px;
  }

  .lifestyledesign-consultation__inner {
    padding-inline: 18px;
  }
}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .theme-card {
    transition: none;
  }

  .theme-card:hover {
    transform: none;
    box-shadow: none;
  }
}