@charset "UTF-8";

/* ==========================================================================
   1. ヒーローエリア & 導入セクション (p25-intro)
   ========================================================================== */

:root {
  --c-accent-yellow: #fffc00;
  --c-text-dark: #282828;
  --w-intro-container: 100rem;
  --w-intro-card: 85rem;
}

.sp-only {
  display: none;
}

/* ヒーローエリア（タイトル） */
.p25-hero {
  background-color: #ffffff;
  padding-top: 9.2rem;
  padding-bottom: 3.8rem;
  text-align: center;
}

.p25-hero__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 2rem;
}

.p25-hero__title {
  font-family: "Noto Serif JP", serif;
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--c-text-dark);
  line-height: 1.2;
  margin: 0;
}

.p25-hero__border {
  width: 8rem;
  height: 0.5rem;
  background-color: var(--c-primary);
  margin: 1.6rem auto 1.3rem;
}

.p25-hero__subtitle {
  font-family: "Century Gothic", "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-text-dark);
  letter-spacing: 0.1em;
  margin: 0;
}

/* コンテンツラッパー */
.p25-content-wrapper {
  background-color: #ffffff;
  padding: 0 calc((100% - 100rem) / 2);
}

/* 導入セクション */
.sec-p25-intro {
  background-color: #e5ded6;
  padding: 0;
  border-radius: 2rem 2rem 0 0;
}

.p25-intro__inner {
  max-width: var(--w-intro-container);
  margin: 0 auto;
  padding: 10.8rem 7.5rem 4rem;
  background-color: transparent;
}

/* リード見出し */
.p25-intro__lead {
  font-family: "Noto Serif JP", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--c-text-dark);
  text-align: center;
  line-height: 1.4;
  margin: 0 0 7.7rem;
  padding: 0;
}

/* 私たちの想いセクション */
.p25-intro__thoughts {
  display: flex;
  position: relative;
  padding: 0;
  margin-bottom: 4.4rem;
  min-height: 33.7rem;
}

.p25-intro__thoughts-content {
  flex: 1;
  max-width: 68rem;
}

.p25-intro__thoughts-title {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--c-text-dark);
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.p25-intro__thoughts-subtitle {
  font-family: "Century Gothic", "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-text-dark);
  margin: 0 0 2.5rem;
}

.p25-intro__thoughts-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-text-dark);
  line-height: 2.5;
}

.p25-intro__thoughts-text p {
  margin: 0;
}

.p25-intro__thoughts-image {
  flex-shrink: 0;
  margin-left: 2rem;
}

.p25-intro__thoughts-image img {
  width: 15rem;
  height: auto;
}

/* メッセージカード */
.p25-intro__message-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  max-width: var(--w-intro-card);
  margin: 0 auto 2.4rem;
  padding: 4rem 3.5rem 4.6rem;
  text-align: center;
}

.p25-intro__message-main {
  font-family: "Noto Serif JP", serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--c-text-dark);
  line-height: 1.4;
  margin: 0 0 2.4rem;
}

.p25-intro__message-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-text-dark);
  margin: 0;
}

/* ブリッジテキスト */
.p25-intro__bridge {
  text-align: center;
  margin-bottom: 6.8rem;
  padding: 0 2rem;
}

.p25-intro__bridge-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--c-text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.p25-intro__bridge-small {
  font-size: 2.3rem;
}

.p25-intro__bridge-highlight {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: var(--c-text-dark);
  position: relative;
  padding: 0 0.5rem;
  background: linear-gradient(transparent 35%, var(--c-accent-yellow) 35%);
  background-size: 100% 3rem;
  background-position: left bottom;
  background-repeat: no-repeat;
  text-shadow:
    0.3rem 0.3rem 0 #ffffff,
    -0.3rem 0.3rem 0 #ffffff,
    0.3rem -0.3rem 0 #ffffff,
    -0.3rem -0.3rem 0 #ffffff,
    0.3rem 0 0 #ffffff,
    -0.3rem 0 0 #ffffff,
    0 0.3rem 0 #ffffff,
    0 -0.3rem 0 #ffffff;
}

/* 25年安心パックカード */
.p25-intro__pack-card {
  max-width: var(--w-intro-card);
  margin: 0 auto;
  position: relative;
}

.p25-intro__pack-header {
  background-color: var(--c-primary);
  border-radius: 4rem;
  height: 8.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.p25-intro__pack-title {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.1em;
}

.p25-intro__pack-arrow {
  width: 0;
  height: 0;
  border-left: 2rem solid transparent;
  border-right: 2rem solid transparent;
  border-top: 2rem solid var(--c-primary);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.p25-intro__pack-body {
  background-color: #ffffff;
  border-radius: 0 0 2rem 2rem;
  padding: 5.5rem 5rem 4.4rem;
  text-align: center;
  margin-top: -5rem;
  position: relative;
  z-index: 1;
}

.p25-intro__pack-catchphrase {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--c-text-dark);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.p25-intro__pack-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.3rem;
  font-weight: 400;
  color: var(--c-text-dark);
  line-height: 1.7;
  margin: 0;
}

.p25-intro__pack-emphasis {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.3rem;
  font-weight: 400;
  color: var(--c-text-dark);
  line-height: 1.7;
  margin: 1rem 0 0;
}

.p25-intro__pack-highlight {
  font-family: "Noto Serif JP", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--c-text-dark);
  background: linear-gradient(transparent 60%, var(--c-accent-yellow) 60%);
  padding: 0 0.5rem;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-content-wrapper {
    padding: 0 2rem;
  }

  .p25-intro__inner {
    padding: 8rem 3rem 4rem;
  }

  .p25-intro__thoughts {
    padding: 0;
  }

  .p25-intro__thoughts-text {
    font-size: 1.5rem;
  }

  .p25-intro__message-card {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .p25-intro__pack-card {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .p25-intro__pack-catchphrase {
    font-size: 2.2rem;
  }

  .p25-intro__pack-description {
    font-size: 2.0rem;
  }

  .p25-intro__pack-emphasis {
    font-size: 1.9rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sp-only {
    display: inline;
  }

  .p25-content-wrapper {
    padding: 0;
  }

  .p25-hero {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  .p25-hero__title {
    font-size: 2.6rem;
  }

  .p25-hero__border {
    width: 6rem;
    height: 0.4rem;
    margin: 1.2rem auto 1rem;
  }

  .p25-hero__subtitle {
    font-size: 1.4rem;
  }

  .sec-p25-intro {
    border-radius: 0;
  }

  .p25-intro__inner {
    padding: 5rem 2rem 3rem;
  }

  .p25-intro__lead {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    line-height: 1.6;
  }

  .p25-intro__thoughts {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin-bottom: 3rem;
    min-height: auto;
  }

  .p25-intro__thoughts-content {
    flex: 1;
    max-width: calc(100% - 8rem);
    padding-right: 0;
  }

  .p25-intro__thoughts-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .p25-intro__thoughts-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .p25-intro__thoughts-text {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  .p25-intro__thoughts-image {
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: 0;
  }

  .p25-intro__thoughts-image img {
    width: 6.5rem;
    height: auto;
  }

  .p25-intro__message-card {
    margin: 0 0 2rem;
    max-width: 100%;
    padding: 2.2rem 2rem 2.8rem;
    border-radius: 1rem;
  }

  .p25-intro__message-main {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .p25-intro__message-sub {
    font-size: 1.6rem;
  }

  .p25-intro__bridge {
    margin-bottom: 4rem;
    padding: 0;
  }

  .p25-intro__bridge-text {
    flex-direction: column;
    align-items: center;
    line-height: 1.8;
  }

  .p25-intro__bridge-small {
    font-size: 1.6rem;
  }

  .p25-intro__bridge-highlight {
    font-size: 2.6rem;
    font-weight: 600;
    background-size: 100% 2.2rem;
    background: linear-gradient(transparent 35%, var(--c-accent-yellow) 35%);
    background-size: 100% 2.2rem;
    background-position: left bottom;
    background-repeat: no-repeat;
    text-shadow:
      0.3rem 0.3rem 0 #ffffff,
      -0.3rem 0.3rem 0 #ffffff,
      0.3rem -0.3rem 0 #ffffff,
      -0.3rem -0.3rem 0 #ffffff,
      0.3rem 0 0 #ffffff,
      -0.3rem 0 0 #ffffff,
      0 0.3rem 0 #ffffff,
      0 -0.3rem 0 #ffffff;
  }

  .p25-intro__pack-card {
    margin: 0;
    max-width: 100%;
  }

  .p25-intro__pack-header {
    height: 6rem;
    border-radius: 3rem;
  }

  .p25-intro__pack-title {
    font-size: 2.4rem;
    letter-spacing: 0.05em;
  }

  .p25-intro__pack-arrow {
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
    border-top: 1.5rem solid var(--c-primary);
  }

  .p25-intro__pack-body {
    padding: 4.2rem 2rem 3rem;
    margin-top: -3.5rem;
    border-radius: 0 0 1.5rem 1.5rem;
  }

  .p25-intro__pack-catchphrase {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .p25-intro__pack-description {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .p25-intro__pack-emphasis {
    font-size: 1.6rem;
  }

  .p25-intro__pack-highlight {
    font-size: 2.2rem;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-hero__title {
    font-size: 2.2rem;
  }

  .p25-intro__lead {
    font-size: 1.8rem;
  }

  .p25-intro__message-main {
    font-size: 1.6rem;
  }

  .p25-intro__bridge-highlight {
    font-size: 2.2rem;
  }

  .p25-intro__pack-title {
    font-size: 2rem;
  }

  .p25-intro__pack-highlight {
    font-size: 2rem;
  }
}


/* ==========================================================================
   2. 5つの強みセクション (p25-strengths)
   ========================================================================== */

.sec-p25-strengths {
  background-color: #e5ded6;
  padding: 0 0 6.3rem;
  margin-top: -2.5rem;
}

.p25-strengths__container {
  max-width: 100rem;
  margin: 0 auto;
  padding: 5.5rem 7.5rem 4rem;
}

/* 見出し */
.p25-strengths__heading {
  text-align: center;
  margin: 0 0 -3rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #282828;
  line-height: 1.2;
  position: relative;
  z-index: 10;
  word-spacing: -0.2em;
}

.p25-strengths__heading-main {
  font-size: 4rem;
  padding: 0.2rem 0;
  display: inline;
  text-shadow:
    0.3rem 0.3rem 0 #ffffff,
    -0.3rem 0.3rem 0 #ffffff,
    0.3rem -0.3rem 0 #ffffff,
    -0.3rem -0.3rem 0 #ffffff,
    0.3rem 0 0 #ffffff,
    -0.3rem 0 0 #ffffff,
    0 0.3rem 0 #ffffff,
    0 -0.3rem 0 #ffffff;
}

.p25-strengths__heading-number {
  font-size: 6rem;
  color: #282828;
  margin: 0;
  padding: 0.2rem 0;
  display: inline;
  text-shadow:
    0.3rem 0.3rem 0 #ffffff,
    -0.3rem 0.3rem 0 #ffffff,
    0.3rem -0.3rem 0 #ffffff,
    -0.3rem -0.3rem 0 #ffffff,
    0.3rem 0 0 #ffffff,
    -0.3rem 0 0 #ffffff,
    0 0.3rem 0 #ffffff,
    0 -0.3rem 0 #ffffff;
}

.p25-strengths__heading-sub {
  font-size: 4rem;
  padding: 0.2rem 0;
  display: inline;
  text-shadow:
    0.3rem 0.3rem 0 #ffffff,
    -0.3rem 0.3rem 0 #ffffff,
    0.3rem -0.3rem 0 #ffffff,
    -0.3rem -0.3rem 0 #ffffff,
    0.3rem 0 0 #ffffff,
    -0.3rem 0 0 #ffffff,
    0 0.3rem 0 #ffffff,
    0 -0.3rem 0 #ffffff;
}

/* 強みカード */
.p25-strengths__card {
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 5rem 3.3rem 1.8rem;
  max-width: 85rem;
  margin: 0 auto;
}

/* 強みグリッド */
.p25-strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

.p25-strengths__item {
  padding: 2rem 1.5rem 3rem;
  position: relative;
}

.p25-strengths__item--1,
.p25-strengths__item--2,
.p25-strengths__item--4,
.p25-strengths__item--5 {
  border-right: 0.1rem solid #cccccc;
}

.p25-strengths__item--1,
.p25-strengths__item--2,
.p25-strengths__item--3 {
  border-bottom: 0.1rem dotted #cccccc;
}

.p25-strengths__item--4,
.p25-strengths__item--5,
.p25-strengths__item--image {
  padding-top: 3rem;
}

.p25-strengths__number {
  font-family: "Roboto", sans-serif;
  font-size: 7rem;
  font-weight: 700;
  color: #d0d0d0;
  line-height: 1;
  margin: 0 0 1rem;
}

.p25-strengths__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #282828;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.p25-strengths__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #282828;
  line-height: 1.7;
  margin: 0;
}

.p25-strengths__item--image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.p25-strengths__item--image img {
  width: 16.3rem;
  height: auto;
  max-width: 100%;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-strengths__container {
    padding: 5rem 4rem 3rem;
  }

  .p25-strengths__heading-main,
  .p25-strengths__heading-sub {
    font-size: 3.2rem;
  }

  .p25-strengths__heading-number {
    font-size: 5rem;
  }

  .p25-strengths__card {
    padding: 4rem 2rem 1.5rem;
  }

  .p25-strengths__number {
    font-size: 5rem;
  }

  .p25-strengths__title {
    font-size: 2rem;
  }

  .p25-strengths__text {
    font-size: 1.4rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-strengths {
    padding: 0 2rem 2rem;
    margin-top: -2rem;
  }

  .p25-strengths__container {
    padding: 4rem 0 3rem;
  }

  .p25-strengths__heading {
    margin-bottom: -2.5rem;
  }

  .p25-strengths__heading-main,
  .p25-strengths__heading-sub {
    font-size: 2.6rem;
    padding: 0.2rem 0;
  }

  .p25-strengths__heading-number {
    font-size: 4.2rem;
    padding: 0.2rem 0;
    margin: 0;
  }

  .p25-strengths__card {
    padding: 3.5rem 1rem 1.5rem;
    border-radius: 1.5rem;
  }

  .p25-strengths__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
  }

  .p25-strengths__item--1 { grid-column: 1; grid-row: 1; }
  .p25-strengths__item--2 { grid-column: 2; grid-row: 1; }
  .p25-strengths__item--3 { grid-column: 1; grid-row: 2; }
  .p25-strengths__item--4 { grid-column: 2; grid-row: 2; }
  .p25-strengths__item--5 { grid-column: 1; grid-row: 3; }
  .p25-strengths__item--image { grid-column: 2; grid-row: 3; }

  .p25-strengths__item {
    border: none;
    padding: 1.5rem 1rem 2rem;
  }

  .p25-strengths__item--1,
  .p25-strengths__item--3,
  .p25-strengths__item--5 {
    border-right: 0.1rem solid #cccccc;
  }

  .p25-strengths__item--1,
  .p25-strengths__item--2,
  .p25-strengths__item--3,
  .p25-strengths__item--4 {
    border-bottom: 0.1rem dotted #cccccc;
  }

  .p25-strengths__number {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
  }

  .p25-strengths__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .p25-strengths__text {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  .p25-strengths__item--image img {
    width: 12rem;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-strengths__heading-main,
  .p25-strengths__heading-sub {
    font-size: 2.2rem;
  }

  .p25-strengths__heading-number {
    font-size: 3.6rem;
  }

  .p25-strengths__number {
    font-size: 3.8rem;
  }

  .p25-strengths__title {
    font-size: 1.6rem;
  }

  .p25-strengths__text {
    font-size: 1.2rem;
  }

  .p25-strengths__item--image img {
    width: 10rem;
  }
}


/* ==========================================================================
   3. 選べる3つの安心パックセクション (p25-plans)
   ========================================================================== */

.sec-p25-plans {
  background-color: #e5ded6;
  padding: 0rem 0 6rem;
}

.p25-plans__inner {
  max-width: 99.8rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* セクション見出し */
.p25-plans__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #282828;
  text-align: center;
  margin: 0 0 2rem;
  line-height: 1.3;
}

.p25-plans__subheading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #282828;
  text-align: center;
  margin: 0 0 4.7rem;
}

/* カード共通スタイル */
.p25-plans__card {
  max-width: 85rem;
  margin: 0 auto 2.5rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.05);
}

.p25-plans__card:last-child {
  margin-bottom: 0;
}

.p25-plans__card-header {
  background-color: var(--c-primary);
  height: 6.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.p25-plans__card-header:hover {
  background-color: #2d324f;
}

.p25-plans__card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
}

.p25-plans__card-toggle {
  width: 2rem;
  height: 2rem;
  position: relative;
  transition: transform 0.3s;
}

.p25-plans__card-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 1rem;
  height: 1rem;
  border-top: 0.2rem solid #ffffff;
  border-right: 0.2rem solid #ffffff;
}

.p25-plans__card.is-closed .p25-plans__card-toggle::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.p25-plans__card.is-closed .p25-plans__card-body {
  display: none;
}

.p25-plans__card-body {
  background-color: #ffffff;
  padding: 3.7rem 3.3rem 2.5rem;
}

/* 費用目安エリア */
.p25-plans__price-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 4.5rem;
}

.p25-plans__price-label {
  display: inline-block;
  background-color: #797979;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  border-radius: 0.5rem;
}

.p25-plans__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.p25-plans__price-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #282828;
}

.p25-plans__price-value {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #282828;
}

.p25-plans__price-tax {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #282828;
}

/* 説明文 */
.p25-plans__description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #282828;
  line-height: 1.8;
  margin: 0 0 4.3rem;
  text-align: center;
}

/* テーブル */
.p25-plans__table-wrapper {
  margin-bottom: 2.8rem;
  overflow-x: auto;
}

.p25-plans__table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans JP", sans-serif;
}

.p25-plans__table thead th {
  background-color: #797979;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  text-align: left;
  border: 0.1rem solid #dcdcdc;
}

.p25-plans__th--part {
  width: 15%;
}

.p25-plans__th--maker {
  width: 45%;
}

.p25-plans__th--feature {
  width: 40%;
}

.p25-plans__table tbody td {
  font-size: 1.5rem;
  font-weight: 400;
  color: #282828;
  line-height: 1.5;
  padding: 1.5rem;
  border: 0.1rem solid #dcdcdc;
  vertical-align: top;
  background-color: #ffffff;
}

/* ポイントエリア */
.p25-plans__points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p25-plans__point {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.p25-plans__point:last-child {
  margin-bottom: 0;
}

.p25-plans__point-icon {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}

.p25-plans__point-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #282828;
  line-height: 1.5;
}

.p25-plans__point-highlight {
  font-size: 3rem;
  font-weight: 700;
  color: #282828;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-plans__inner {
    padding: 0 3rem;
  }

  .p25-plans__heading {
    font-size: 3.2rem;
  }

  .p25-plans__subheading {
    font-size: 1.8rem;
  }

  .p25-plans__card-title {
    font-size: 2.2rem;
  }

  .p25-plans__price-unit,
  .p25-plans__price-value {
    font-size: 3rem;
  }

  .p25-plans__description {
    font-size: 1.8rem;
  }

  .p25-plans__table thead th {
    font-size: 1.6rem;
    padding: 1rem 1.2rem;
  }

  .p25-plans__table tbody td {
    font-size: 1.4rem;
    padding: 1.2rem;
  }

  .p25-plans__point-text {
    font-size: 1.8rem;
  }

  .p25-plans__point-highlight {
    font-size: 2.6rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-plans {
    padding: 2.5rem 0 5rem;
    padding-top: 0.5rem;
  }

  .p25-plans__inner {
    padding: 0 1.5rem;
  }

  .p25-plans__heading {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }

  .p25-plans__subheading {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .p25-plans__card {
    margin-bottom: 2rem;
  }

  .p25-plans__card-header {
    height: 5.5rem;
    padding: 0 1.5rem;
  }

  .p25-plans__card-title {
    font-size: 1.8rem;
  }

  .p25-plans__card-body {
    padding: 2.5rem 1.5rem 2rem;
  }

  .p25-plans__price-area {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .p25-plans__price-label {
    font-size: 1.4rem;
    padding: 0.6rem 2rem;
  }

  .p25-plans__price-unit,
  .p25-plans__price-value {
    font-size: 2.6rem;
  }

  .p25-plans__price-tax {
    font-size: 1.4rem;
  }

  .p25-plans__description {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-align: left;
  }

  .p25-plans__table-wrapper {
    margin-bottom: 2rem;
  }

  .p25-plans__table thead th {
    font-size: 1.2rem;
    padding: 0.8rem 0.6rem;
  }

  .p25-plans__th--part {
    width: 18%;
  }

  .p25-plans__th--maker {
    width: 42%;
  }

  .p25-plans__th--feature {
    width: 40%;
  }

  .p25-plans__table tbody td {
    font-size: 1.1rem;
    padding: 1rem 0.6rem;
    line-height: 1.6;
  }

  .p25-plans__point {
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .p25-plans__point-icon {
    width: 4rem;
    height: 4rem;
  }

  .p25-plans__point-text {
    font-size: 1.4rem;
  }

  .p25-plans__point-highlight {
    font-size: 2rem;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-plans__heading {
    font-size: 2rem;
  }

  .p25-plans__card-title {
    font-size: 1.6rem;
  }

  .p25-plans__price-unit,
  .p25-plans__price-value {
    font-size: 2.2rem;
  }

  .p25-plans__table thead th {
    font-size: 1rem;
    padding: 0.6rem 0.4rem;
  }

  .p25-plans__table tbody td {
    font-size: 1rem;
    padding: 0.8rem 0.4rem;
  }

  .p25-plans__point-text {
    font-size: 1.2rem;
  }

  .p25-plans__point-highlight {
    font-size: 1.6rem;
  }
}


/* ==========================================================================
   4. よくある質問セクション (p25-faq)
   ========================================================================== */

.sec-p25-faq {
  background-color: #e5ded6;
  padding: 1rem 0 6rem;
}

.p25-faq__inner {
  max-width: 99.4rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 上部イラスト */
.p25-faq__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.7rem;
}

.p25-faq__illustration img {
  width: 17.8rem;
  height: auto;
  max-width: 100%;
  display: block;
}

/* セクション見出し */
.p25-faq__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #282828;
  text-align: center;
  margin: 0 0 2.1rem;
  line-height: 1.3;
}

/* FAQリスト */
.p25-faq__list {
  max-width: 85rem;
  margin: 0 auto;
}

/* FAQアイテム */
.p25-faq__item {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.6rem 2rem 1.6rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.03);
}

.p25-faq__item:last-child {
  margin-bottom: 0;
}

/* 質問エリア */
.p25-faq__question {
  display: flex;
  align-items: flex-start;
  gap: 1.7rem;
  margin-bottom: 2rem;
  position: relative;
  padding-right: 4rem;
  cursor: pointer;
}

.p25-faq__icon {
  width: 4.5rem;
  height: 4.7rem;
  flex-shrink: 0;
}

.p25-faq__question-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin: 0;
  padding-top: 1rem;
}

/* トグルアイコン */
.p25-faq__toggle {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.p25-faq__toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.8rem;
  height: 0.3rem;
  background-color: #888888;
  border-radius: 0.2rem;
  transition: transform 0.3s;
}

.p25-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.3rem;
  height: 1.8rem;
  background-color: #888888;
  border-radius: 0.2rem;
  transition: opacity 0.3s;
  opacity: 0;
}

.p25-faq__item.is-closed .p25-faq__toggle::after {
  opacity: 1;
}

.p25-faq__item.is-closed .p25-faq__answer {
  display: none;
}

.p25-faq__item.is-closed .p25-faq__question {
  margin-bottom: 0;
}

/* 回答エリア */
.p25-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 1.7rem;
}

.p25-faq__answer-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  margin: 0;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-faq__inner {
    padding: 0 3rem;
  }

  .p25-faq__heading {
    font-size: 3.4rem;
  }

  .p25-faq__question-text {
    font-size: 1.6rem;
  }

  .p25-faq__answer-text {
    font-size: 1.4rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-faq {
    padding: 0.5rem 0 4rem;
  }

  .p25-faq__inner {
    padding: 0 1.5rem;
  }

  .p25-faq__illustration {
    margin-bottom: 2rem;
  }

  .p25-faq__illustration img {
    width: 12rem;
  }

  .p25-faq__heading {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
  }

  .p25-faq__item {
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.8rem;
  }

  .p25-faq__question {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-right: 3rem;
  }

  .p25-faq__icon {
    width: 3.5rem;
    height: 3.7rem;
  }

  .p25-faq__question-text {
    font-size: 1.5rem;
    padding-top: 0.6rem;
  }

  .p25-faq__toggle {
    top: 0.5rem;
    width: 2rem;
    height: 2rem;
  }

  .p25-faq__toggle::before {
    width: 1.4rem;
    height: 0.2rem;
  }

  .p25-faq__toggle::after {
    width: 0.2rem;
    height: 1.4rem;
  }

  .p25-faq__answer {
    gap: 1.2rem;
  }

  .p25-faq__answer-text {
    font-size: 1.3rem;
    padding-top: 0.8rem;
    line-height: 1.8;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-faq__illustration img {
    width: 10rem;
  }

  .p25-faq__heading {
    font-size: 2.2rem;
  }

  .p25-faq__icon {
    width: 3rem;
    height: 3.2rem;
  }

  .p25-faq__question-text {
    font-size: 1.4rem;
    padding-top: 0.4rem;
  }

  .p25-faq__answer-text {
    font-size: 1.2rem;
    padding-top: 0.6rem;
  }
}


/* ==========================================================================
   5. 施工の流れセクション (p25-flow)
   ========================================================================== */

.sec-p25-flow {
  background-color: #e5ded6;
  padding: 3.5rem 0 5rem;
}

.p25-flow__inner {
  max-width: 99.4rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 上部イラスト */
.p25-flow__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.1rem;
}

.p25-flow__illustration img {
  width: 21rem;
  height: auto;
  max-width: 100%;
  display: block;
}

/* セクション見出し */
.p25-flow__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #282828;
  text-align: center;
  margin: 0 0 1.8rem;
  line-height: 1.3;
}

/* フローカード */
.p25-flow__card {
  background-color: #ffffff;
  border-radius: 1rem;
  max-width: 85rem;
  margin: 0 auto;
  padding: 3rem 2.1rem 5rem 3rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.03);
}

/* フローリスト */
.p25-flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.p25-flow__list::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 2rem;
  bottom: 8rem;
  width: 0.8rem;
  background-color: #7a99cd;
  border-radius: 0.4rem;
}

/* フローアイテム */
.p25-flow__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  align-items: start;
  min-height: 14rem;
  position: relative;
}

.p25-flow__item:last-child {
  min-height: auto;
}

/* 番号マーカー */
.p25-flow__marker {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.p25-flow__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  background-color: #2f5597;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  border-radius: 50%;
}

/* コンテンツ */
.p25-flow__content {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-left: 1.6rem;
  padding-top: 0.8rem;
}

.p25-flow__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2f5597;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.p25-flow__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #282828;
  line-height: 1.6;
  margin: 0 0 0.5rem;
  padding-left: 9rem;
}

/* アイコン */
.p25-flow__icon {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 6.1rem;
  padding-top: 0;
  margin-top: -2.5rem;
}

.p25-flow__icon img {
  width: 7.4rem;
  height: auto;
}

.p25-flow__icon--wide img {
  width: 8.4rem;
}

.p25-flow__item:last-child .p25-flow__icon {
  margin-top: 0;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-flow__inner {
    padding: 0 3rem;
  }

  .p25-flow__heading {
    font-size: 3.4rem;
  }

  .p25-flow__card {
    padding: 2.5rem 3rem 4rem 2.5rem;
  }

  .p25-flow__list::before {
    left: 1.8rem;
    width: 0.6rem;
    top: 1.8rem;
    bottom: 7rem;
  }

  .p25-flow__item {
    grid-template-columns: 4rem 1fr;
    min-height: 13rem;
  }

  .p25-flow__number {
    width: 4rem;
    height: 4rem;
    font-size: 2.2rem;
  }

  .p25-flow__icon {
    padding-left: 5.6rem;
    margin-top: -2rem;
  }

  .p25-flow__icon img {
    width: 6.5rem;
  }

  .p25-flow__icon--wide img {
    width: 7.5rem;
  }

  .p25-flow__item:last-child .p25-flow__icon {
    margin-top: 0;
  }

  .p25-flow__title {
    font-size: 1.8rem;
  }

  .p25-flow__text {
    font-size: 1.5rem;
    padding-left: 8rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-flow {
    padding: 1.5rem 0 4rem;
  }

  .p25-flow__inner {
    padding: 0 1.5rem;
  }

  .p25-flow__illustration {
    margin-bottom: 2rem;
  }

  .p25-flow__illustration img {
    width: 15rem;
  }

  .p25-flow__heading {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
  }

  .p25-flow__card {
    padding: 2rem 1.5rem 3rem 1.5rem;
    border-radius: 0.8rem;
  }

  .p25-flow__list::before {
    left: 1.5rem;
    width: 0.5rem;
    top: 1.8rem;
    bottom: 5.5rem;
  }

  .p25-flow__item {
    grid-template-columns: 3.5rem 1fr;
    min-height: 10.5rem;
  }

  .p25-flow__item:last-child {
    min-height: auto;
  }

  .p25-flow__number {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }

  .p25-flow__content {
    padding-left: 1.2rem;
    padding-top: 0.5rem;
  }

  .p25-flow__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .p25-flow__text {
    font-size: 1.2rem;
    line-height: 1.6;
    padding-left: 5.5rem;
  }

  .p25-flow__icon {
    padding-left: 4.7rem;
    margin-top: -3rem;
  }

  .p25-flow__icon img {
    width: 5rem;
  }

  .p25-flow__icon--wide img {
    width: 5.5rem;
  }

  .p25-flow__item:last-child .p25-flow__icon {
    margin-top: 0.5rem;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-flow__illustration img {
    width: 12rem;
  }

  .p25-flow__heading {
    font-size: 2.2rem;
  }

  .p25-flow__item {
    grid-template-columns: 3rem 1fr;
    min-height: 9.5rem;
  }

  .p25-flow__number {
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
  }

  .p25-flow__list::before {
    left: 1.3rem;
    width: 0.4rem;
    top: 1.5rem;
    bottom: 4.5rem;
  }

  .p25-flow__content {
    padding-left: 1rem;
  }

  .p25-flow__icon {
    padding-left: 4rem;
    margin-top: -2.5rem;
  }

  .p25-flow__icon img {
    width: 4rem;
  }

  .p25-flow__icon--wide img {
    width: 4.5rem;
  }

  .p25-flow__item:last-child .p25-flow__icon {
    margin-top: 0.5rem;
  }

  .p25-flow__title {
    font-size: 1.4rem;
  }

  .p25-flow__text {
    font-size: 1.1rem;
    padding-left: 4.5rem;
  }
}


/* ==========================================================================
   6. 施工事例セクション (p25-cases)
   ========================================================================== */

.sec-p25-cases {
  background-color: #e5ded6;
  padding: 5.5rem 0 8.2rem;
}

.p25-cases__inner {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* セクションタイトル */
.p25-cases__title {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #282828;
  text-align: center;
  margin-bottom: 3.5rem;
  line-height: 1.2;
}

/* カードリスト */
.p25-cases__cards {
  width: 100%;
  max-width: 85rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 施工事例カード */
.p25-case-card {
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 4rem 5.2rem 4.8rem;
  width: 100%;
}

.p25-case-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1.8rem;
}

.p25-case-card__top-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.p25-case-card__top-right {
  flex-shrink: 0;
}

.p25-case-card__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #282828;
  margin-bottom: 2rem;
  line-height: 1.3;
  text-align: center;
}

.p25-case-card__pack {
  width: auto;
  min-width: 25rem;
  padding: 0 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  background-color: #3b4165;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 1.5rem;
}

.p25-case-card__photo img {
  width: 38rem;
  height: 22rem;
  object-fit: cover;
  border-radius: 0.8rem;
  display: block;
}

.p25-case-card__middle {
  margin-bottom: 1.5rem;
}

.p25-case-card__bottom {
  display: flex;
  gap: 4.8rem;
}

.p25-case-card__bottom-left {
  flex: 1;
}

.p25-case-card__bottom-right {
  flex: 1;
}

.p25-case-card__section {
  margin-bottom: 2rem;
}

.p25-case-card__section--effect {
  margin-bottom: 0;
}

.p25-case-card__section--comment {
  margin-bottom: 0;
}

/* ラベルスタイル */
.p25-case-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 3rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.p25-case-card__label--red {
  background-color: #e32d2d;
}

.p25-case-card__label--cyan {
  background-color: #2dade3;
}

.p25-case-card__label--blue {
  background-color: #192e8c;
}

.p25-case-card__label--navy {
  background-color: #3b4165;
}

.p25-case-card__label--wide {
  width: 100%;
}

.p25-case-card__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.67;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-cases__inner {
    padding: 0 4rem;
  }

  .p25-cases__cards {
    max-width: 100%;
  }

  .p25-case-card {
    padding: 3.5rem 3rem 4rem;
  }

  .p25-case-card__top {
    gap: 2rem;
  }

  .p25-case-card__name {
    font-size: 1.8rem;
  }

  .p25-case-card__pack {
    width: 22rem;
    font-size: 1.4rem;
  }

  .p25-case-card__photo img {
    width: 30rem;
    height: 17.4rem;
  }

  .p25-case-card__bottom {
    gap: 3rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-cases {
    padding: 1.5rem 0 5rem;
  }

  .p25-cases__inner {
    padding: 0 2rem;
  }

  .p25-cases__title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
  }

  .p25-cases__cards {
    gap: 1.6rem;
  }

  .p25-case-card {
    padding: 3rem 2rem 2.5rem;
    border-radius: 1.5rem;
  }

  .p25-case-card__top {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .p25-case-card__top-left {
    padding-top: 0;
    width: 100%;
  }

  .p25-case-card__top-right {
    width: 100%;
  }

  .p25-case-card__name {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .p25-case-card__pack {
    width: auto;
    padding: 0 2.5rem;
    font-size: 1.3rem;
    height: 2.8rem;
  }

  .p25-case-card__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 220;
  }

  .p25-case-card__middle {
    margin-bottom: 2rem;
  }

  .p25-case-card__bottom {
    flex-direction: column;
    gap: 2rem;
  }

  .p25-case-card__section {
    margin-bottom: 2rem;
    text-align: center;
  }

  .p25-case-card__section--comment {
    margin-bottom: 0;
  }

  .p25-case-card__label {
    margin-bottom: 1.2rem;
  }

  .p25-case-card__label--wide {
    width: 100%;
    max-width: 100%;
  }

  .p25-case-card__text {
    font-size: 1.4rem;
    text-align: left;
  }
}

/* さらに小さい画面向け調整 */
@media (max-width: 480px) {
  .p25-cases__title {
    font-size: 2.4rem;
  }

  .p25-case-card {
    padding: 2.5rem 1.5rem 2rem;
  }

  .p25-case-card__name {
    font-size: 1.5rem;
  }

  .p25-case-card__pack {
    font-size: 1.2rem;
    height: 2.6rem;
  }

  .p25-case-card__label {
    font-size: 1.3rem;
    height: 2.8rem;
  }

  .p25-case-card__text {
    font-size: 1.3rem;
  }
}

/* ギャラリー＆ライトボックス */
.p25-case-card__gallery {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px dashed #cccccc;
}

.p25-case-card__gallery-note {
  font-size: 1.4rem;
  color: #888888;
  text-align: right;
  margin-bottom: 1rem;
  font-weight: normal;
}

.p25-case-card__gallery-row {
  display: block;
}

.p25-case-card__gallery-group {
  margin-bottom: 4rem;
}
.p25-case-card__gallery-group:last-child {
  margin-bottom: 0;
}

.p25-case-card__gallery-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4165;
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
  border-left: 5px solid #3b4165;
  line-height: 1.2;
}

.p25-case-card__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  gap: 2rem;
}

.p25-case-card__gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid #eee;
  background-color: #f0f0f0;
  cursor: zoom-in;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.p25-case-card__gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.p25-case-card__photo img {
  cursor: zoom-in;
  cursor: pointer;
}

/* モーダルスタイル */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}
.image-modal.is-open {
  display: flex;
  opacity: 1;
}
.image-modal__content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation-name: zoom;
  animation-duration: 0.3s;
}
@keyframes zoom {
  from {transform:scale(0.8); opacity: 0;} 
  to {transform:scale(1); opacity: 1;}
}
.image-modal__close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}
.image-modal__close:hover {
  color: #bbb;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .p25-case-card__gallery {
    margin-top: 3rem;
    padding-top: 3rem;
  }
  .p25-case-card__gallery-group {
    margin-bottom: 3rem;
  }
  .p25-case-card__gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 1.2rem;
  }
  .p25-case-card__gallery-note {
    font-size: 1.2rem;
  }
  .image-modal__content {
    width: 100%;
  }
}


/* ==========================================================================
   7. お客様の声セクション (p25-voices)
   ========================================================================== */

.sec-p25-voices {
  background-color: #e5ded6;
  padding-top: 2rem;
  padding-bottom: 9.5rem;
}

.p25-voices__inner {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ヘッダーエリア */
.p25-voices__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.3rem;
}

.p25-voices__illustration {
  margin-bottom: 1rem;
}

.p25-voices__illustration img {
  width: 19.9rem;
  height: auto;
  max-height: 25.5rem;
}

.p25-voices__title {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #282828;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

/* カードリスト */
.p25-voices__cards {
  width: 100%;
  max-width: 85rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* お客様の声カード */
.p25-voice-card {
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 4.5rem 2rem 5.3rem;
  width: 100%;
}

.p25-voice-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.p25-voice-card__header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.p25-voice-card__header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 3.5rem;
}

.p25-voice-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3b4165;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  width: 18.1rem;
  height: 3rem;
  border-radius: 1.5rem;
}

.p25-voice-card__badge--small {
  width: 10rem;
  font-size: 1.4rem;
}

.p25-voice-card__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
}

.p25-voice-card__stars {
  font-size: 2rem;
  color: #333333;
  letter-spacing: 0.2rem;
}

.p25-voice-card__body {
  width: 100%;
}

.p25-voice-card__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.67;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-voices__inner {
    padding: 0 4rem;
  }

  .p25-voices__header {
    margin-bottom: 3rem;
  }

  .p25-voices__title {
    font-size: 3.2rem;
  }

  .p25-voices__cards {
    max-width: 100%;
  }

  .p25-voice-card {
    padding: 3.5rem 2rem 4rem;
  }

  .p25-voice-card__header {
    margin-bottom: 2.5rem;
  }

  .p25-voice-card__header-right {
    margin-left: 4rem;
  }

  .p25-voice-card__badge {
    width: auto;
    padding: 0 2rem;
    font-size: 1.4rem;
  }

  .p25-voice-card__badge--small {
    width: auto;
    padding: 0 1.5rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-voices {
    padding-top: 1.5rem;
    padding-bottom: 5rem;
  }

  .p25-voices__inner {
    padding: 0 2rem;
  }

  .p25-voices__header {
    margin-bottom: 2rem;
  }

  .p25-voices__illustration img {
    width: 16rem;
  }

  .p25-voices__title {
    font-size: 2.8rem;
  }

  .p25-voices__cards {
    gap: 1.6rem;
  }

  .p25-voice-card {
    padding: 2.5rem 1.5rem 3rem;
    border-radius: 1.5rem;
  }

  .p25-voice-card__header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .p25-voice-card__header-left {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .p25-voice-card__header-right {
    justify-content: center;
    gap: 1rem;
    margin-left: 0;
  }

  .p25-voice-card__badge {
    width: auto;
    padding: 0 1.5rem;
    height: 2.8rem;
    font-size: 1.3rem;
  }

  .p25-voice-card__badge--small {
    padding: 0 1.2rem;
    font-size: 1.2rem;
  }

  .p25-voice-card__name {
    font-size: 1.6rem;
  }

  .p25-voice-card__stars {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }

  .p25-voice-card__text {
    font-size: 1.4rem;
    line-height: 1.7;
  }
}

/* さらに小さい画面向け調整 */
@media (max-width: 480px) {
  .p25-voices__illustration img {
    width: 14rem;
  }

  .p25-voices__title {
    font-size: 2.4rem;
  }

  .p25-voice-card {
    padding: 2rem 1.2rem 2.5rem;
  }

  .p25-voice-card__badge {
    font-size: 1.2rem;
    height: 2.6rem;
  }

  .p25-voice-card__name {
    font-size: 1.5rem;
  }

  .p25-voice-card__stars {
    font-size: 1.4rem;
  }

  .p25-voice-card__text {
    font-size: 1.3rem;
  }
}


/* ==========================================================================
   8. 保証とアフターサポートセクション (p25-warranty)
   ========================================================================== */

.sec-p25-warranty {
  background-color: #e5ded6;
  padding: 0.5rem 0 11.1rem;
  border-radius: 0 0 2rem 2rem;
}

.p25-warranty__inner {
  max-width: 99.4rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* セクション見出し */
.p25-warranty__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 4.5rem;
  font-weight: 600;
  color: #282828;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  text-shadow:
    0.3rem 0.3rem 0 #ffffff,
    -0.3rem 0.3rem 0 #ffffff,
    0.3rem -0.3rem 0 #ffffff,
    -0.3rem -0.3rem 0 #ffffff,
    0.3rem 0 0 #ffffff,
    -0.3rem 0 0 #ffffff,
    0 0.3rem 0 #ffffff,
    0 -0.3rem 0 #ffffff;
}

.p25-warranty__heading-small {
  font-size: 3.5rem;
}

/* メインカード */
.p25-warranty__card {
  background-color: #ffffff;
  border-radius: 2rem;
  max-width: 85rem;
  margin: -2.5rem auto 0;
  padding: 6rem 5rem 5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.03);
}

/* サブタイトル */
.p25-warranty__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #282828;
  text-align: center;
  margin: 0 0 3rem;
  line-height: 1.4;
}

/* 保証グリッド */
.p25-warranty__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 3rem;
}

/* 保証アイテム */
.p25-warranty__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 1.7rem 1.5rem 2.3rem;
}

.p25-warranty__item:nth-child(1),
.p25-warranty__item:nth-child(2) {
  padding-bottom: 1.5rem;
}

.p25-warranty__item:nth-child(3),
.p25-warranty__item:nth-child(4) {
  padding-top: 1rem;
}

.p25-warranty__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  background-color: #2f5597;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.p25-warranty__item-content {
  flex: 1;
}

.p25-warranty__item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #282828;
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.p25-warranty__item-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

/* メッセージエリア */
.p25-warranty__message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.p25-warranty__message-text {
  flex: 1;
}

.p25-warranty__message-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #282828;
  line-height: 1.5;
  margin: 0;
}

.p25-warranty__message-image {
  flex-shrink: 0;
}

.p25-warranty__message-image img {
  width: 24.3rem;
  height: auto;
}

/* フッターメッセージ */
.p25-warranty__footer {
  max-width: 85rem;
  margin: 6.6rem auto 0;
  text-align: center;
}

.p25-warranty__author {
  margin-bottom: 2.8rem;
}

.p25-warranty__author-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #282828;
  margin: 0 0 0.5rem;
}

.p25-warranty__author-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #282828;
  margin: 0;
}

.p25-warranty__footer-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #282828;
  line-height: 1.7;
}

.p25-warranty__footer-text p {
  margin: 0;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
  .p25-warranty__inner {
    padding: 0 3rem;
  }

  .p25-warranty__heading {
    font-size: 3.8rem;
  }

  .p25-warranty__heading-small {
    font-size: 3rem;
  }

  .p25-warranty__card {
    padding: 5rem 3.5rem 4rem;
  }

  .p25-warranty__subtitle {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }

  .p25-warranty__grid {
    margin-bottom: 2.5rem;
  }

  .p25-warranty__item-title {
    font-size: 2.2rem;
  }

  .p25-warranty__item-text {
    font-size: 1.4rem;
  }

  .p25-warranty__message-text p {
    font-size: 2.2rem;
  }

  .p25-warranty__message-image img {
    width: 20rem;
  }

  .p25-warranty__footer-text {
    font-size: 1.8rem;
  }
}

/* レスポンシブ対応（スマートフォン） */
@media (max-width: 1024px) {
  .sec-p25-warranty {
    padding: 2.5rem 0 4rem;
    border-radius: 0;
  }

  .p25-warranty__inner {
    padding: 0 1.5rem;
  }

  .p25-warranty__heading {
    font-size: 2.6rem;
    text-shadow:
      0.3rem 0.3rem 0 #ffffff,
      -0.3rem 0.3rem 0 #ffffff,
      0.3rem -0.3rem 0 #ffffff,
      -0.3rem -0.3rem 0 #ffffff,
      0.3rem 0 0 #ffffff,
      -0.3rem 0 0 #ffffff,
      0 0.3rem 0 #ffffff,
      0 -0.3rem 0 #ffffff;
  }

  .p25-warranty__heading-small {
    font-size: 2.2rem;
  }

  .p25-warranty__card {
    margin-top: -1.5rem;
    padding: 4rem 2rem 3.5rem;
    border-radius: 1.5rem;
  }

  .p25-warranty__subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .p25-warranty__grid {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .p25-warranty__item {
    padding: 1.2rem 1rem;
    gap: 1.2rem;
  }

  .p25-warranty__item:nth-child(1),
  .p25-warranty__item:nth-child(2),
  .p25-warranty__item:nth-child(3),
  .p25-warranty__item:nth-child(4) {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .p25-warranty__number {
    width: 3.8rem;
    height: 3.8rem;
    font-size: 2rem;
  }

  .p25-warranty__item-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .p25-warranty__item-text {
    font-size: 1.3rem;
  }

  .p25-warranty__message {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .p25-warranty__message-text p {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  .p25-warranty__message-image img {
    width: 18rem;
  }

  .p25-warranty__footer {
    margin-top: 4rem;
  }

  .p25-warranty__author {
    margin-bottom: 2rem;
  }

  .p25-warranty__author-title,
  .p25-warranty__author-name {
    font-size: 1.6rem;
  }

  .p25-warranty__footer-text {
    font-size: 1.5rem;
    line-height: 1.8;
  }
}

/* 小型スマートフォン対応 */
@media (max-width: 375px) {
  .p25-warranty__heading {
    font-size: 2.2rem;
  }

  .p25-warranty__heading-small {
    font-size: 1.8rem;
  }

  .p25-warranty__subtitle {
    font-size: 1.6rem;
  }

  .p25-warranty__item-title {
    font-size: 1.6rem;
  }

  .p25-warranty__item-text {
    font-size: 1.2rem;
  }

  .p25-warranty__message-text p {
    font-size: 1.6rem;
  }

  .p25-warranty__message-image img {
    width: 15rem;
  }

  .p25-warranty__footer-text {
    font-size: 1.4rem;
  }
}


/* ==========================================================================
   9. 予約ボタンエリア (p25-cta)
   ========================================================================== */

.sec-p25-cta {
  width: 100%;
  padding: 4.5rem 2rem;
  margin-top: 4rem;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #d8d8d8 0.15rem, transparent 0.15rem);
  background-size: 1.8rem 1.8rem;
}

.p25-cta__inner {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.3rem;
}

/* RESERVE画像 */
.p25-cta__reserve-title {
  flex-shrink: 0;
}

.p25-cta__reserve-img {
  height: auto;
}

/* 予約ボタン */
.p25-cta__reserve-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 39.2rem;
  height: 10rem;
  background-color: #3b4165;
  border-radius: 0.8rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p25-cta__reserve-btn:hover {
  opacity: 0.8;
}

.p25-cta__reserve-btn-icon {
  width: 4rem;
  height: auto;
  margin-right: 1.6rem;
}

.p25-cta__reserve-btn-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-right: 1.6rem;
}

.p25-cta__reserve-btn-arrow {
  font-size: 2rem;
  color: #ffffff;
  font-weight: bold;
}

/* レスポンシブ対応 (タブレット・スマホ) */
@media (max-width: 1024px) {
  .sec-p25-cta {
    padding: 3.5rem 2rem;
    background-size: 1.2rem 1.2rem;
    margin-top: 0;
  }

  .p25-cta__inner {
    flex-direction: column;
    gap: 2.4rem;
  }

  .p25-cta__reserve-title {
    text-align: center;
  }

  .p25-cta__reserve-img {
    max-width: 14rem;
  }

  .p25-cta__reserve-btn {
    width: 100%;
    max-width: 32rem;
    height: 8rem;
  }

  .p25-cta__reserve-btn-icon {
    width: 3.2rem;
    margin-right: 1.2rem;
  }

  .p25-cta__reserve-btn-text {
    font-size: 1.8rem;
    margin-right: 1.2rem;
  }

  .p25-cta__reserve-btn-arrow {
    font-size: 1.6rem;
  }
}

/* さらに小さい画面 */
@media (max-width: 480px) {
  .sec-p25-cta {
    padding: 3rem 1.5rem;
  }

  .p25-cta__reserve-img {
    max-width: 12rem;
  }

  .p25-cta__reserve-btn {
    max-width: 28rem;
    height: 7rem;
  }

  .p25-cta__reserve-btn-icon {
    width: 2.8rem;
    margin-right: 1rem;
  }

  .p25-cta__reserve-btn-text {
    font-size: 1.6rem;
    margin-right: 1rem;
  }

  .p25-cta__reserve-btn-arrow {
    font-size: 1.4rem;
  }
}