@charset "UTF-8";

/* ==========================================
   共通
========================================== */
.rk-l-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
  color: #282828;
}

.rk-l-section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .rk-l-section--pd80 {
    padding: 80px;
  }
}

.rk-l-grid {
  display: grid;
  gap: 20px;
}

.rk-l-grid--2col {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rk-l-grid {
    gap: 50px;
  }

  .rk-l-grid--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.rk-page-rc img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.rk-page-rc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 共通パーツ */

@media (min-width: 768px) {
  .rk-c-sp {
    display: none;
  }
}

.rk-c-heading {
  margin-bottom: 25px;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 768px) {
  .rk-c-heading {
    margin-bottom: 40px;
  }
}

.rk-c-heading__title {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .rk-c-heading__title {
    font-size: 24px;
  }
}

.rk-c-heading__sub {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.rk-c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rk-c-btn {
    width: 230px;
    padding: 10px 15px;
  }
}

.rk-c-btn:hover {
  opacity: 0.8;
}

.rk-c-btn--white {
  background-color: #ffffff;
  font-size: 20px;
  color: #333333;
  border: 1px solid #333333;
}

.rk-c-btn--black {
  background-color: #302D2C;
  color: #ffffff;
}

.rk-c-btn__icon {
  margin-right: 8px;
}

.rk-c-card {
  background-color: #ffffff;
  padding: 20px;
}

@media (min-width: 768px) {
  .rk-c-card {
    padding: 25px;
  }
}

.rk-c-card__title {
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin: 0 0 15px 0;
  position: relative;
  padding-left: 25px;
}

.rk-c-card__title::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666666;
  position: absolute;
  left: 9px;
  top: 10px;
}

.rk-c-card__desc {
  font-size: 14px;
  margin-bottom: 12px;
}

.rk-c-card__desc:last-child {
  margin-bottom: 0;
}

.rk-c-card__list {
  font-size: 14px;
}

.rk-c-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.rk-c-card__list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  position: absolute;
  left: 7px;
  top: 8px;
  background: #302d2c;
  border-radius: 50%;
}

.rk-c-box {
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #c1c1c1;
  text-align: center;
}

@media (min-width: 768px) {
  .rk-c-box {
    padding: 25px 30px 40px;
  }
}

.rk-c-box--bordered {
  border: 2px solid #302d2c;
}

.rk-c-box__title {
  font-size: 18px;
  margin: 0 0 15px;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px solid #E0E0E0;
}

.rk-c-box__title--bold {
  font-size: 24px;
}

.rk-c-box__text {
  font-size: 14px;
  line-height: 1.8;
  color: #232323;
  margin-bottom: 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-c-box__img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.rk-c-box__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .rk-c-box__img img {
    height: 300px;
  }
}

/* ==========================================
   RC+ページ
========================================== */
/* FV＋歴史
------------------------------------------ */
.rcplus-page {
  background: #f0f0f0;
  text-align: left;
}

.rcplus-page .pagetop,
.rcplus-page footer {
  text-align: center;
  width: 100%;
}

.rcplus-page footer .inner {
  background: #f0f0f0;
}

.rk-p-hero {
  background: url('../images/rk/rcplus-hero-bg.jpg') no-repeat center / cover;
  height: 90vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.rk-p-hero__inner {
  display: flex;
  align-items: center;
}

.rk-p-hero__content {
  max-width: 100%;
  border-radius: 4px;
}

.rk-p-hero__sub {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .rk-p-hero__sub {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

.rk-p-hero__title {
  font-size: 4vw;
  font-weight: 500;
  margin: 0 0 15px 0;
  line-height: 1.35;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0), 0 0 20px rgba(255, 255, 255, 0), 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 2), 0 0 10px rgba(255, 255, 255, 2);
}

@media (min-width: 768px) {
  .rk-p-hero__title {
    font-size: 36px;
    margin-bottom: 20px;
  }
}

.rk-p-hero__title-large {
  font-size: 5.5vw;
}

@media (min-width: 768px) {
  .rk-p-hero__title-large {
    font-size: 46px;
  }
}

.rk-p-hero__text {
  font-size: 3.4vw;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.8;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0), 0 0 20px rgba(255, 255, 255, 0), 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 2), 0 0 10px rgba(255, 255, 255, 2);
}

@media (min-width: 768px) {
  .rk-p-hero__text {
    font-size: 16px;
  }
}

.rk-p-hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .rk-p-hero__buttons {
    flex-direction: row;
  }
}

.rk-p-history {
  text-align: center;
}

.rk-p-history__subtitle {
  font-size: 13px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .rk-p-history__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }
}

.rk-p-history__desc {
  font-size: 12px;
  margin-bottom: 30px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .rk-p-history__desc {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

.rk-p-history__timeline {
  width: min(100%, 800px);
  margin: 0 auto;
  padding-bottom: 100px;
  position: relative;
}

.rk-p-history__timeline::before {
  content: '';
  display: block;
  background: #302D2C;
  height: calc(tan(60deg) * 20px / 2);
  width: 30px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 50px;
}

.rk-p-history__item {
  position: relative;
  text-align: center;
}

.rk-p-history__year {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #666666;
  margin-bottom: 6px;
  height: 20px;
}

.rk-p-history__img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rk-p-history__img-wrap {
    width: 120px;
    height: 120px;
  }
}

.rk-p-history__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4つの理由
------------------------------------------ */
.rk-l-section--dark {
  background-color: #484848;
}

.rk-c-heading--white .rk-c-heading__title,
.rk-c-heading--white .rk-c-heading__sub {
  color: #ffffff;
}

.rk-l-grid--4col {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .rk-l-grid--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .rk-l-grid--4col {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}

.rk-c-card--icon {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rk-c-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.rk-c-card--icon .rk-c-card__title {
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
}

.rk-c-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.rk-c-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 断熱と調湿
------------------------------------------ */
.rk-p-insulation__subtitle {
  font-size: 16px;
  text-align: center;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .rk-p-insulation__subtitle {
    font-size: 18px;
  }
}

.rk-p-insulation__desc {
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .rk-p-insulation__desc {
    font-size: 14px;
    margin-bottom: 50px;
  }
}

.rk-p-insulation__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .rk-p-insulation__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

.rk-p-insulation__fig {
  width: 100%;
  background: #fff;
  padding: 30px 10px 10px;
}

@media (min-width: 768px) {
  .rk-p-insulation__fig {
    width: 40%;
  }
}

.rk-p-insulation__content {
  width: 100%;
}

@media (min-width: 768px) {
  .rk-p-insulation__content {
    width: 65%;
  }
}

.rk-p-insulation__group {
  margin-bottom: 30px;
}

.rk-p-insulation__cate-title {
  background-color: #302D2C;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 8px 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.rk-p-insulation__cate-title svg {
  margin-right: 5px;
}

.rk-c-accordion {
  border-bottom: 1px solid #e0e0e0;
}

.rk-c-accordion__title {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 40px 15px 10px;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.rk-c-accordion__title::before,
.rk-c-accordion__title::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  background-color: #302D2C;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.rk-c-accordion__title::before {
  width: 18px;
  height: 1px;
  margin-top: -1px;
}

.rk-c-accordion__title::after {
  width: 1px;
  height: 18px;
  margin-top: -9px;
  right: 20px;
}

.rk-c-accordion.is-open .rk-c-accordion__title::after {
  transform: rotate(90deg);
  opacity: 0;
}

.rk-c-accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.rk-c-accordion.is-open .rk-c-accordion__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.rk-c-accordion__inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px 0 45px;
  transition: padding 0.35s ease;
}

.rk-c-accordion.is-open .rk-c-accordion__inner {
  padding: 10px 15px 20px 45px;
}

@media (min-width: 1024px) {
  .rk-c-accordion__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rk-c-accordion__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  flex-shrink: 0;
}

.rk-c-accordion__num--blue {
  background-color: #3D8DD3;
}

.rk-c-accordion__num--orange {
  background-color: #EEB03D;
}

.rk-c-accordion__num--green {
  background-color: #85C841;
}

.rk-c-accordion__note {
  font-size: 11px;
  font-weight: normal;
  color: #777;
  margin-left: 5px;
}

.rk-c-accordion__list {
  font-size: 14px;
}

.rk-c-accordion__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.rk-c-accordion__list li br {
  display: none;
}

.rk-c-accordion__list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  left: 7px;
  top: 8px;
}

.rk-p-insulation__group.rk-p-insulation__group-01 .rk-c-accordion__list li::before {
  background: #3D8DD3;
}

.rk-p-insulation__group.rk-p-insulation__group-02 .rk-c-accordion__list li::before {
  background: #EEB03D;
}

.rk-p-insulation__group.rk-p-insulation__group-03 .rk-c-accordion__list li::before {
  background: #85C841;
}

.rk-c-accordion__img {
  width: 100%;
}

@media (min-width: 768px) {
  .rk-c-accordion__list li br {
    display: block;
  }

  .rk-c-accordion__img {
    max-width: 300px;
    flex-shrink: 0;
  }
}

.rk-c-accordion__img img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 建築実績
------------------------------------------ */
.rk-c-works-card {
  display: flex;
  flex-direction: column;
}

.rk-c-works-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.rk-c-works-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rk-c-works-card__content {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rk-c-works-card__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.rk-c-works-card__row {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin: 0;
}

@media (min-width: 768px) {
  .rk-c-works-card__row {
    font-size: 14px;
  }
}

.rk-c-works-card__row--full {
  align-items: flex-start;
}

.rk-c-works-card__label {
  width: 95px;
  padding: 3px 0;
  text-align: center;
  font-weight: 500;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1px solid #c1c1c1;
}

.rk-c-works-card__label--black {
  background-color: #302D2C;
  color: #ffffff;
}

.rk-c-works-card__value {
  margin: 0 0 0 12px;
  line-height: 1.5;
}

.rcplus-page .rk-c-works-card {
  background: #fff;
}

.rcplus-page .rk-c-works-card__content {
  padding: 15px;
}

@media (min-width: 768px) {
  .rcplus-page .rk-c-works-card__content {
  padding: 25px 40px;
}
}

/* ZEHビルダー
------------------------------------------ */
.rk-p-zeh__desc {
  font-size: 13px;
  text-align: center;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .rk-p-zeh__desc {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

.rk-p-zeh__table-wrap {
  max-width: 650px;
  margin: 0 auto;
}

.rk-p-zeh__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .rk-p-zeh__table {
    font-size: 16px;
  }
}

.rk-p-zeh__table th {
  padding: 8px 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.rk-p-zeh__table th:nth-child(1) {
  background-color: #8E8E8E;
  width: 45%;
}

.rk-p-zeh__table th:nth-child(2) {
  background-color: #302D2C;
  width: 55%;
}

.rk-p-zeh__table td {
  padding: 8px 10px;
  background: #fff;
}

.rk-p-zeh__table td:nth-child(1) {
  text-align: center;
}

.rk-p-zeh__table td:nth-child(2) {
  font-size: 20px;
  display: flex;
  justify-content: center;
  gap: 5%;
}

.rk-p-zeh__table td:nth-child(2) span:nth-of-type(1) {
  display: block;
  text-align: right;
  width: 40%;
}

.rk-p-zeh__table td:nth-child(2) span:nth-of-type(2) {
  display: block;
  width: 55%;
}

.rk-p-zeh__btn-wrap {
  margin-top: 40px;
  text-align: center;
}

.rk-p-zeh__btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* よくあるご質問
------------------------------------------ */
.rk-p-faq {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .rk-p-faq {
    gap: 40px;
  }
}

.rk-p-faq__item {
  margin: 0;
  font-weight: 500;
}

.rk-p-faq__q {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .rk-p-faq__q {
    font-size: 18px;
  }
}

.rk-p-faq__a {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 768px) {
  .rk-p-faq__a {
    font-size: 15px;
  }
}

/* お問い合わせ
------------------------------------------ */
.rk-p-cta {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.rk-p-cta__inner {
  background: url('../images/rk/rcplus-cta-bg.jpg') no-repeat center / cover;
  padding: 20px;
  box-sizing: border-box;
}

.rk-p-cta__content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px 20px;
  text-align: center;
}

.rk-p-cta__text {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.rk-p-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.rk-p-cta__btn-tel {
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

.rk-p-cta__btn-tel .rk-c-btn__icon {
  margin-bottom: 12px;
}

.rk-p-cta__buttons .rk-c-btn:nth-child(2) {
  height: 63px;
}

.rk-p-cta__tel-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.rk-p-cta__tel-num {
  font-size: 18px;
  font-weight: bold;
}

.rk-p-cta__tel-time {
  font-size: 12px;
  font-weight: normal;
  color: #666666;
}

@media (min-width: 768px) {

  .rk-p-cta__inner {
    padding: 40px 70px;
  }

  .rk-p-cta__content {
    padding: 60px 40px;
  }

  .rk-p-cta__text {
    font-size: 14px;
  }

  .rk-p-cta__buttons {
    flex-direction: row;
    gap: 20px;
  }
}

/* ==========================================
   アパート建築・土地活用ページ
========================================== */

.rk-c-btn--gold {
  background-color: #FFCE5B;
  font-size: 16px;
}

.rk-c-card--gold {
  border: 1px solid #C1C1C1;
}

.rk-c-card--gold .rk-c-card__title::before {
  background: #FFCE5B;
}

.apartment-page {
  background: #fff;
  text-align: left;
}

.apartment-page .pagetop,
.apartment-page footer {
  text-align: center;
  width: 100%;
}

.rk-page-apartment ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* メインビジュアル背景
------------------------------------------ */
.rk-p-hero--apartment {
  background: url('../images/rk/apartment-hero-bg.jpg') no-repeat center / cover;
}

/* お知らせ
------------------------------------------ */
.rk-p-news {
  max-width: 800px;
  margin: 0 auto;
}

.rk-p-news__item {
  border-bottom: 1px solid #e0e0e0;
}

.rk-p-news__link {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: #333333;
  transition: opacity 0.3s;
}

.rk-p-news__link:hover {
  opacity: 0.7;
}

.rk-p-news__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rk-p-news__date {
  font-size: 14px;
}

.rk-p-news__tag {
  display: inline-block;
  background-color: #534741;
  color: #ffffff;
  font-size: 12px;
  padding: 2px 8px;
}

.rk-p-news__title {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .rk-p-news__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
  }

  .rk-p-news__meta {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rk-p-news__title {
    font-size: 16px;
  }
}

.rk-p-news__btn-wrap {
  margin-top: 30px;
  text-align: center;
}

.rk-p-news__btn {
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
}

/* 3つの強み
------------------------------------------ */
.rk-c-heading__badge {
  display: inline-block;
  background-color: #FFCE5B;
  font-weight: 500;
  padding: 3px 5px;
  margin-bottom: 12px;
}

.rk-l-grid--3col {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rk-l-grid--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.rk-c-card--strength {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rk-c-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.rk-c-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rk-c-card__point {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 0 25px;
  font-size: 14px;
  letter-spacing: 0.05em;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.rk-c-card__point-num {
  font-size: 24px;
}

.rk-c-card__body {
  padding: 20px 0 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .rk-c-card__body {
    padding: 20px 15px 15px;
  }
}

.rk-c-card__title-yellow {
  font-size: 24px;
  font-weight: 500;
  color: #EA9B07;
  margin: 0 0 5px;
}

.rk-c-card__subtitle {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 15px;
  line-height: 1.4;
}

.rk-c-card--strength .rk-c-card__list {
  text-align: left;
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.rk-c-card--strength .rk-c-card__list li::before {
  background-color: #FFCE5B;
}

.rk-c-card__logo {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid #C8C8C8;
  transition: .3s;
}

.rk-c-card__logo:hover {
  border: 1px solid #e60012;
}

.rk-c-card__logo img {
  max-height: 50px;
  width: auto;
  vertical-align: middle;
}


/* 4つの建築タイプと施工事例 
------------------------------------------ */
.apartment-works {
  background: #EFEFEF;
}

.apartment-works .rk-l-grid {
  width: 80%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .apartment-works .rk-l-grid {
    width: 100%;
  }
}

.rk-p-types {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.rk-p-types__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 80px;
}

.rk-p-types__main:first-of-type {
  margin-top: 0;
}

@media (min-width: 768px) {
  .rk-p-types__main {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-left: calc(50% - 50vw);
  }

  .rk-p-types__main--reverse {
    flex-direction: row-reverse;
    margin-right: calc(50% - 50vw);
    margin-left: 0;
  }
}

.rk-p-types__main-img {
  width: 100%;
}

@media (min-width: 768px) {
  .rk-p-types__main-img {
    width: 63%;
  }

  .rk-p-types__main--reverse .rk-p-types__main-img {
    margin-left: 0;
  }
}

.rk-p-types__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rk-p-types__main-content {
  width: 100%;
}

@media (min-width: 768px) {
  .rk-p-types__main-content {
    width: 37%;
  }
}

.rk-p-types__badge {
  display: inline-block;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 10px;
}

.rk-p-types__badge span {
  font-size: 20px;
}

.rk-p-types__badge--brown {
  background-color: #534741;
}

.rk-p-types__badge--red {
  background-color: #E15234;
}

.rk-p-types__main-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.rk-p-types__main-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

@media (min-width: 768px) {
  .rk-p-types__main-title {
    font-size: 22px;
  }
}

.rk-p-types__main-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.rk-p-types__main-lists {
  margin-bottom: 35px !important;
}

.rk-p-types__main-lists li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.rk-p-types__main-lists li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #534741;
  position: absolute;
  left: 8px;
  top: 8px;
}

.rk-p-types__main--reverse .rk-p-types__main-lists li::before {
  background: #E15234;
}

.rk-c-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFCE5B;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 0 15px 25px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: opacity 0.3s;
  position: relative;
}

@media (min-width: 768px) {
  .rk-c-toggle-btn {
    padding: 20px 0px 20px 25px;
    width: 185px;
  }
}


.rk-c-toggle-btn:hover {
  opacity: 0.8;
}


.rk-c-toggle-btn span,
.rk-c-toggle-btn::before,
.rk-c-toggle-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  background-color: #282828;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.rk-c-toggle-btn span {
  width: 30px;
  height: 30px;
  right: 10px;
  border-radius: 50%;
  border: 1px solid #282828;
  background: none;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.rk-c-toggle-btn::before {
  width: 16px;
  height: 1px;
  right: 17px;
}

.rk-c-toggle-btn::after {
  width: 1px;
  height: 16px;
  right: 24px;
  margin-top: -8px;
}

.rk-c-toggle-btn.is-open::after {
  transform: rotate(90deg);
  opacity: 0;
}

.rk-p-types__toggle-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.rk-p-types__group.is-open .rk-p-types__toggle-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.rk-p-types__toggle-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.35s ease;
}

.rk-p-types__group.is-open .rk-p-types__toggle-inner {
  padding-top: 40px;
}

.rk-p-types__sub-bar {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .rk-p-types__sub-bar {
    font-size: 18px;
  }
}

.rk-p-types__sub-bar--brown {
  background-color: #534741;
}

.rk-p-types__sub-bar--red {
  background-color: #E15234;
}

.rk-works-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;
}

.rk-works-modal.is-open {
  display: flex;
}

.rk-works-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.rk-works-modal__inner {
  position: relative;
  z-index: 1;
  width: min(90%, 1100px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  padding: 30px 40px;
  display: flex;
  gap: 3%;
}

.rk-works-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rk-works-modal__close span {
  position: absolute;
  left: 8px;
  top: 19px;
  width: 25px;
  height: 1px;
  background: #333;
}

.rk-works-modal__close span:first-child {
  transform: rotate(45deg);
}

.rk-works-modal__close span:last-child {
  transform: rotate(-45deg);
}

/* 情報 */
.rk-works-modal__info {
  align-self: center;
}

.rk-works-modal__title {
  margin: 0 0 10px;
  font-size: 24px;
}

.rk-works-modal__category {
  margin: 0 0 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.rk-works-modal__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  margin: 0 0 15px;
}

.rk-works-modal__row dt {
  padding: 10px;
  background: #eee;
}

.rk-works-modal__row dd {
  margin: 0;
  padding: 10px 15px;
}

body.is-modal-open {
  overflow: hidden;
}

.rk-works-modal__gallery,
.rk-works-modal__info {
  min-width: 0;
}

.rk-works-modal__gallery {
  width: 62%;
}

.rk-works-modal__info {
  width: 35%;
}

.rk-works-modal .swiper {
  width: 100%;
  overflow: hidden;
}

.rk-works-modal .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

.rk-works-modal .swiper-slide {
  flex-shrink: 0 !important;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-works-modal__main {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.rk-works-modal__main .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rk-works-modal__thumb {
  margin-top: 10px;
  height: 80px;
}

.rk-works-modal__thumb .swiper-slide {
  width: 100px;
  height: 80px;
  opacity: .5;
  cursor: pointer;
}

.rk-works-modal__thumb .swiper-slide-thumb-active {
  opacity: 1;
}

.rk-works-modal__thumb .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {

  .rk-works-modal__inner {
    width: 92%;
    max-height: 90vh;
    display: block;
    padding: 45px 20px 25px;
  }

  .rk-works-modal__gallery,
  .rk-works-modal__info {
    width: 100%;
  }

  .rk-works-modal__main {
    height: auto;
  }

  .rk-works-modal__thumb {
    height: 60px;
  }

  .rk-works-modal__thumb .swiper-slide {
    width: 70px;
    height: 60px;
  }

  .rk-works-modal__info {
    margin-top: 20px;
  }

  .rk-works-modal__title {
    font-size: 20px;
  }

  .rk-works-modal__category {
    margin: 0 0 15px;
    padding-bottom: 10px;
  }

  .rk-works-modal__row {
    margin: 0 0 5px;
  }

  .rk-works-modal__row dt,
  .rk-works-modal__row dd {
    padding: 5px 10px;
  }

}


.rk-c-works-card {
  cursor: pointer;
  transition: opacity .3s ease;
}

.rk-c-works-card__img {
  position: relative;
}

.rk-c-works-card__more {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rk-c-works-card__more span {
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.rk-c-works-card__more {
  transition: transform .3s ease, background .3s ease;
}

.rk-c-works-card:hover {
  opacity: .7;
}

.rk-c-works-card:hover .rk-c-works-card__more {
  transform: scale(1.08);
}

/* -----------------------------------------
   施工までの流れ
----------------------------------------- */
.rk-p-flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rk-p-flow__item {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 40px;
  border-bottom: 1px solid #534741;
}

.rk-p-flow__item::after {
  content: '';
  position: absolute;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 0;
  border-color: #FFCE5B transparent transparent transparent;
}

.rk-p-flow__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.rk-p-flow__item:last-child::after {
  display: none;
}

.rk-p-flow__step-num {
  width: 65px;
  height: 65px;
  background-color: #534741;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.rk-p-flow__step-num span {
  font-size: 12px;
  letter-spacing: 0.05em;
}

.rk-p-flow__item--highlight .rk-p-flow__step-num {
  background-color: #FFCE5B;
}

.rk-p-flow__content {
  flex-grow: 1;
  padding: 0 25px;
}

.rk-p-flow__step-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px 0;
}

.rk-p-flow__step-text {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.rk-p-flow__img {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
}

.rk-p-flow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマホ表示対応 (レスポンシブ) */
@media screen and (max-width: 768px) {
  .rk-p-flow__item {
    flex-wrap: wrap;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .rk-p-flow__content {
    width: calc(100% - 75px);
    padding: 0 0 0 15px;
  }

  .rk-p-flow__img {
    width: 100%;
    height: 180px;
    margin-top: 15px;
  }
}

.rk-page-apartment .rk-p-cta__inner {
  background: url('../images/rk/apartment-cta-bg.jpg') no-repeat center / cover;
}

/* -----------------------------------------
  フェードインして表示
----------------------------------------- */
.rk-js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.rk-js-fade.is-active {
  opacity: 1;
  transform: translateY(0);
}