@media screen and (max-width: 767px) {
    .p-top-concept__img--1 {
        width: 10.25rem;
        margin-top: 0.75rem;
        margin-right: .75rem;
    }
        .p-top-concept__img--2 {
        width: 8.75rem;
        margin-top: 1.0875rem;
        margin-right: 1.75rem;
        margin-left: auto;
    }
        .p-top-concept__img--3 {
        width: 10.25rem;
        margin-top: 1.375rem;
    }
        .p-top-concept__img--4 {
        width: 11rem;
        margin-right: auto;
        margin-left: -1rem;    }
    .p-top-concept__img--5 {
        width: 10.375rem;
        margin-top: 1.125rem;
        margin-left: 0;
    }
        .p-top-concept__img--6 {
        width: 8.625rem;
        margin-top: 1.5rem;
        margin-right: auto;
        margin-left: 0.75rem;
    }
}
.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
    background: #5bb100;
}
.error-404 {
    text-align:center;
    padding:10em 20px;
}
:where(
  select,
  textarea,textarea,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"]
) {
border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
border-radius: 0.5rem;
transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
outline: 2px solid transparent;
    outline-offset: 2px;
padding-top: 0.75rem;
    padding-bottom: 0.75rem;
padding-left: 1rem;
    padding-right: 1rem;
border-width: 1px;
max-width:100%;

}
:where(textarea) {
width:100%;

}
.p-form__item-title {
    flex: 0 1 40%;
}
.p-form__required {
    margin-right: .5rem;
    padding: .0625rem .875rem .125rem;
    background: linear-gradient(130deg, #da746e 25% 40%, #d01d1d 100%);
    color: #fff;
    font-weight: 400;
    font-size: max(.875rem, 12px);
    border-radius:1rem;
}
.p-form__required--not {
    background: linear-gradient(130deg, #aaa 25% 40%, #666 100%);
}

.c-section-title__ja--black{
    color:#000;
}
.c-section-title__whitespace--darkgreen{
    color:#7bd100;
}
.p-form__under-text::after {
    top: 10px;
}

.c-btn-casual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22.5rem;
    padding: 1.0625rem 1.25rem 1.1875rem;
    overflow: hidden;
    gap: 1rem;
    border-radius: .625rem;
    background: linear-gradient(130deg,#D66D75 60%,#E29587 100%);
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
    transition: all .3s
}

.c-btn-casual__text {
    color: #fff;
    font-weight: 700;
    font-size: max(1.5rem,12px);
    letter-spacing: .05em
}

.c-btn-casual__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s
}

.c-btn-casual--menu {
    min-width: 15rem;
    padding: .625rem;
    gap: .75rem
}

.c-btn-casual__text {
    font-size: max(1.25rem,12px);
    transition: all .3s
}

.c-btn-casual__hover {
    width: 2.5rem;
    transform: translateX(400%);
    transition: all .3s
}
.rf-content-box .c-btn-casual{
    width:1.25rem;
    margin:1rem 0 0 auto;
}
.rf-content-box .c-btn-entry{
    width:1.25rem;
    margin:1rem auto 0 0;
}

    .c-btn-casual__icon {
        transform: translateX(70%)
    }

    .c-btn-casual__text {
        transform: translateX(18%)
    }

    .c-btn-casual:hover .c-btn-casual__icon {
        transform: translateX(-520%)
    }

    .c-btn-casual:hover .c-btn-casual__text {
        transform: translateX(-10%)
    }

    .c-btn-casual:hover .c-btn-casual__hover {
        transform: translateX(0)
    }

.add-content{
    padding: 2.5rem;
    border-radius: 1.25rem;
    background-color: #fff;
}
.add-content-title__en{
    color: #7bd100;
    font-weight: 600;
    font-size: clamp(3.75rem, 3.034rem + 1.117vw, 4.375rem);
    line-height: 1.2285714286;
    font-family: var(--font-en);
    text-align:center;
}
.add-content-title__jp{
    color: #000;
    text-align:center;
}
.add-content-body{
    text-align:center;
    margin:1.25rem auto;
    font-size: max(.875rem, 12px);
    line-height: 1.4285714286;
}

@media screen and (max-width: 767px) {
    .add-content {
        padding: .625rem;
        border-radius: .625rem;
    }
    .c-section-title__en {
        font-size: max(2rem, 12px);
        line-height: 1.21875;
    }
}


.work__banner{
    position:relative;
    max-width:720px;
    margin:2rem auto;
    border-radius: 1rem;
    overflow: hidden;
}

.work__banner:after{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    aspect-ratio: 720 / 300;
}
.work__banner .c-section-title--center{
    position:absolute;
    z-index:1;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}
.work__banner .c-section-title--center .p-top-message__btn a{
    margin:2vw auto;
}

.work__banner .c-section-title__ja {
    margin-top: 1.25rem;
}

.p-top-message strong{
  background: linear-gradient(90deg, #06ad12 0%, #003e91 100%);
  color: #ffffff;            /* 文字色 */
  padding: 0.2em 0.4em;          /* 文字の左右に少し余白を開ける */
  margin:0 0.5em;
  border-radius: 4px;        /* 角を少し丸くする */
}
.p-top-news__banner{
    position:relative;
    max-width:720px;
}
.p-top-news__banner:after{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    background-color: rgba(80, 80, 80, 0.5);
    background-image: radial-gradient(#111 50%, transparent 60%), radial-gradient(#111 20%, transparent 50%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    aspect-ratio: 720 / 404;
}
.p-top-news__banner .c-section-title--center{
    position:absolute;
    z-index:1;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}
.p-top-news__banner .c-section-title--center .p-top-message__btn a{
    margin:2vw auto;
}

.c-breadcrumb__item {
    color: #bbb;
}
.l-contents__content--page,
.l-contents__content--faq{
    background-color: #fff;
}
.l-contents__content--page p{
    font-size:115%;
}
.c-share-block{
    display:none;
}
/* ===== よくあるご質問 FAQ ===== */
.p-faq-tabs { margin: 24px 0; }
.p-faq-tabs__list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.p-faq-tabs__link {
  display:inline-block; padding:10px 14px; border:1px solid #ddd; border-radius:999px; text-decoration:none;
}
.p-faq-tabs__link.is-active { background:#111; color:#fff; border-color:#111; }

.p-faq-panels { margin-top:24px; }
.p-faq-panel { display:none; }
.p-faq-panel.is-active { display:block; }

.p-faq-panel__head { margin: 12px 0 8px; }
.p-faq-panel__title { font-size:1.4rem; margin:0 0 8px; }
.p-faq-panel__desc { color:#666; }

.p-faq-subcats { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin: 12px 0 16px; }
.p-faq-subcats__link { font-size:.95rem; text-decoration:none; padding:6px 10px; border:1px dashed #ccc; border-radius:8px; }

.p-faq-list { display:grid; gap:10px; }
.p-faq-item { border:8px solid #ddd; border-radius:8px; padding: 0 0 0; background:#ddd; position: relative;}
.p-faq-item::before{content:"Q"; display: flex; position: absolute; padding: 10px 18px; font-weight: 700; font-size: 25px; color: #fff; background: #000; border-radius: 8px 0 0 8px;}
.p-faq-item::after {content: ""; position: absolute; top: 2em; right: 2vw; display: inline-block; width: 1vw; height: 1.4666666667vw; background-image: url(../img/arrow.svg);
    background-size: 100%; background-repeat: no-repeat; background-position: center; -webkit-transform: translateY(-50%); transform: translateY(-50%); -webkit-transition: 0.3s;
    transition: 0.3s; pointer-events: none;}
.p-faq-item[open]::after {-webkit-transform: translateY(-50%) rotateX(180deg); transform: translateY(-50%) rotateX(180deg);}
.p-faq-item > summary { list-style:none; cursor:pointer; padding:16px 16px; font-weight:600; display:flex; gap:.6em; align-items:flex-start; background:#fff; border-radius:8px; margin-left: 52px;}
.p-faq-item__qmark { color:#999; font-weight:700; }
.p-faq-item[open] > summary { border-bottom:1px solid #f0f0f0; background: #fafafa; }
.p-faq-item__a { padding: 6px 16px 16px; }
.p-faq-anchor { display:block; position:relative; top:-80px; visibility:hidden; }
.p-faq-item__ainner p{margin-top:1em;}
.p-faq-item__ainner a{font-weight:700; color:#9300ff;}
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}

.l-contents--sunpro-architects .c-section-title__en--has-img {
    display: table-cell;
}
#lp-breadcrumb{
    position:absolute;
    right:2rem;
    top:3.5rem;
}



  /* =========================================
     Components (Semantic Naming)
     ========================================= */

  /* --- Hero Section --- */
  .hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
    background-color: #0f172a;
    z-index: -1;
  }
  .hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
  }
  .hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 64rem;
    margin: 0 auto;
  }
  .hero__subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  .hero__title {
    max-width: 25rem;
    width: 70%;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-left:auto;
    margin-right:auto;
  }
  .hero__desc {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    opacity: 0.9;
  }
  .hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color:#7bd100;
    border: 3px solid #7bd100;
    border-radius: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-family: var(--font-en);
    font-weight: 600;
    transition: background-color 0.5s ease;
  }
  .hero__btn:hover {
    background-color: #7bd100;
    color: #0f172a;
  }
  .hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite;
    color: rgba(255, 255, 255, 0.5);
  }
  .hero .p-top-mv__icon {
    right: 4rem;
    bottom: 4rem;
    width: 10rem;
}

  /* --- Section Common --- */
  .section { padding: 6rem 1.5rem; }
  .section--gray { background-color: #f8fafc; }
  .section--dark { background-color:var(--text-color); color: #fff; }
  .section__inner { max-width: 80rem; margin: 0 auto; }
  
  .section-header { text-align: center; margin-bottom: 4rem; }
  .section-header__sub {
    color: #7bd100;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
  }
  .section-header__title {
    font-size: 2.25rem;
    font-weight: 700;
  }
  .section-header__desc {
    margin-top: 1rem;
    color: #fff;
  }

  /* --- Philosophy Section --- */
  .philosophy-list {
    display: flex;
    flex-direction: column;
    gap: 6rem; /* ブロック間の余白 */
  }
  .philosophy__item { width: 100%; }

  .philosophy__layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .philosophy__visual {
    width: 100%;
    position: relative;
  }
  .philosophy__img-box {
    aspect-ratio: 4/3;
    background-color: #cbd5e1;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-radius:3rem;
  }
  .philosophy__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
  }
  .philosophy__img-box:hover .philosophy__img { transform: scale(1.05); }
  
  .philosophy__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: #7bd100;
    color: #fff;
    display: none; /* Mobile hidden */
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    z-index: 10;
    font-family: var(--font-en);
    font-weight: 600;
    border-radius:1rem;
  }
  /* 反転時のバッジ位置 */
  .philosophy__layout--reverse .philosophy__badge {
    right: auto;
    left: -1.5rem;
  }

  .philosophy__content { width: 100%; }
  .philosophy__heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
  }
  .philosophy__text {
    color: #475569;
    line-height: 2;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .philosophy__awards {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
  }
  .award-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
  }
  .award-item svg { color: #7bd100; }

  /* --- Works Section --- */
  .works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .work-card {
    position: relative;
    overflow: hidden;
    height: 20rem;
  }
  .work-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .work-card:hover .work-card__img { transform: scale(1.1); }
  
  .work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(69, 62, 63, 0.9), transparent);
    opacity: 1;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
  }
  .work-card:hover .work-card__overlay { opacity: 1; }
  
  .work-card__title { font-size: 1.25rem; font-weight: 700; color: #fff; }
  .work-card__desc { color: #cbd5e1; font-size: 0.875rem; margin-top: 0.25rem; }
  .work-card__link {
    margin-top: 1rem;
    color: #7bd100;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .works-footer { text-align: center; margin-top: 3rem; }
  .link-arrow { border-bottom: 1px solid currentColor; padding-bottom: 0.25rem; }
  .link-arrow:hover { color: #ea580c; }

  /* --- People Section --- */
  .people__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 4rem;
  }
  .people__header p {
    color: #94a3b8;
    max-width: 28rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
  }
  .staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .staff-card {
    background-color: #1e293b;
    padding: 2rem;
    border-top: 2px solid #f97316;
    transition: background-color 0.3s;
    height: 100%;
  }
  .staff-card:hover { background-color: #334155; }
  .staff-card__icon { color: #fb923c; opacity: 0.8; margin-bottom: 1.5rem; }
  .staff-card__role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 0.5rem; }
  .staff-card__name { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
  .staff-card__quote { color: #cbd5e1; font-size: 0.875rem; opacity: 0.8; line-height: 1.6; }

  /* --- Environment Section --- */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
  }
  .stat-item {
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  .stat-item__label { font-size: 0.875rem; color: #64748b; margin-bottom: 0.5rem; }
  .stat-item__value { font-size: 2.25rem; font-weight: 700; color: #1e293b; }
  .stat-item__unit { font-size: 1rem; font-weight: 400; color: #94a3b8; margin-left: 0.25rem; }
  
  .environment-details {
    margin-top: 4rem;
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .env-box { flex: 1; }
  .env-box__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
  .env-box__text { font-size: 0.875rem; color: #475569; line-height: 1.6; }

  /* --- Entry Section --- */
  .job-list { display: flex; flex-direction: column; gap: 1rem; }
  .job-card {
    display: block;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
    border-radius: 1.5rem;
    transition: all 0.3s;
  }
  .job-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-left-color: #00ad0c;
  }
  .job-card__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .job-card__title { font-size: 1.25rem; font-weight: 700; color: #1e293b; transition: color 0.3s; }
  .job-card:hover .job-card__title { color: #00ad0c; }
  
  
  .job-card__meta {     display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

@media screen and (max-width: 767px) {
  .job-card__meta {     display: grid;
    gap: 5px;
    margin-top: 1rem;
}
}
  .meta-item { display: flex; align-items: center; gap: 0.25rem; }
  
  .entry-cta { margin-top: 4rem; }
  .entry-cta__box {
    background-color: #f97316;
    color: #fff;
    padding: 2.5rem;
    text-align: center;
    border-radius: 0.125rem;
  }
  .entry-cta__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
  .entry-cta__text { opacity: 0.9; margin-bottom: 2rem; }
  .btn-primary {
    background-color: #fff;
    color: #ea580c;
    padding: 1rem 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: background-color 0.3s, color 0.3s;
  }
  .btn-primary:hover {
    background-color: #0f172a;
    color: #fff;
  }

  /* --- Animations --- */
  @keyframes bounce {
    0%, 100% { transform: translate(-50%, -25%); }
    50% { transform: translate(-50%, 0); }
  }

  /* --- Responsive (Desktop) --- */
  @media (min-width: 768px) {
    .mobile-only { display: none; }

    .hero__title { font-size: 3.75rem; width: 40rem;}
    .hero__desc { font-size: 1rem; }
    
    /* PhilosophyのPCレイアウト */
    .philosophy__layout { 
      flex-direction: row; 
      gap: 5rem; 
      align-items: center;
    }
    /* 偶数番目の逆配置 */
    .philosophy__layout--reverse {
      flex-direction: row-reverse;
    }

    .philosophy__visual { width: 50%; }
    .philosophy__badge { display: flex; }
    .philosophy__content { width: 50%; }
    .philosophy__heading { font-size: 2.25rem; }

    .works-grid { grid-template-columns: repeat(3, 1fr); }
    
    .people__header { flex-direction: row; align-items: flex-end; }
    .people__header p { margin-top: 0; }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .environment-details { flex-direction: row; gap: 2rem; }
    
    .job-card { padding: 2rem; }
    .job-card__inner { flex-direction: row; align-items: center; justify-content: space-between; }
    
    .entry-cta__box { padding: 4rem; }
  }
  
  @media (min-width: 1024px) {
    .hero__title { font-size: 4.5rem; }
    .staff-grid { grid-template-columns: repeat(4, 1fr); }
  }
  
  .p-top-blog .l-inner{
      display:none;
  }
  }
  
  
  
  
/* --- Scope Reset & Base Styles --- */
/* テーマのスタイル干渉を防ぐため、IDセレクタで詳細度を高めています */
#rf-wrapper {
    background-color: #f9f9f7;
    color: #334155;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

#rf-wrapper h1, #rf-wrapper h2, #rf-wrapper h3, #rf-wrapper h4, #rf-wrapper p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

#rf-wrapper img, #rf-wrapper svg {
    display: block;
    vertical-align: middle;
}

/* --- Header --- */
.rf-header {
    position: relative;
    background-color: #ffffff;
    padding: 80px 24px 128px;
    text-align: center;
    overflow: hidden;
}

.rf-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #f97316; /* orange-500 */
}

.rf-header-inner {
    position: relative;
    z-index: 2;
    max-width: 896px;
    margin: 0 auto;
}

.rf-subtitle {
    display: block;
    color: #ea580c; /* orange-600 */
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    animation: rf-fade-up 0.8s ease-out;
}

.rf-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.rf-desc {
    color: #000;
    font-size: 16px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Header Decor */
.rf-blob-1 {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 256px;
    height: 256px;
    background-color: #fff7ed;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.5;
    z-index: 1;
}

.rf-blob-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 192px;
    height: 192px;
    background-color: #f1f5f9;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.5;
    z-index: 1;
}

/* --- Main Card --- */
.rf-main-container {
    margin: 0 auto;
    padding: 0 16px; /* px-4 sm:px-6 pb-24 */
    position: relative;
    z-index: 20;
}

.rf-card {
    background-color: #ffffff;
    padding: 32px;
    overflow: hidden;
}

/* --- Timeline Structure --- */
.rf-timeline-wrapper {
    position: relative;
}

/* Vertical Line */
.rf-line {
    position: absolute;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background-color: #e2e8f0; /* slate-200 */
    /* Mobile: アイコン(64px)の中心 32px */
    left: 32px; 
    transform: translateX(-50%);
    z-index: 0;
}

/* Step Item */
.rf-item {
    position: relative;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column; /* Mobile default */
    gap: 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease-out;
}

.rf-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Section */
.rf-icon-wrapper {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    width: 64px;
}

/* Icon Box */
.rf-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #1e293b; /* slate-800 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.rf-item:hover .rf-icon-box {
    transform: scale(1.1);
}

.rf-item:last-child .rf-icon-box {
    background-color: #00cb10;
}

.rf-icon-svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Badge number */
.rf-num {
    position: absolute;
    top: -14px;
    right: -14px;
    background-color: var(--primary-color);
    color: #477340;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 9px;
    border-radius: 9999px;
    border: 1px solid #ffffff;
}

/* Content Section */
.rf-content-side {
    flex: 1;
    padding-top: 8px; /* Mobile adjustment */
}

/* Content Box Style */
.rf-content-box {
    background-color: #f8fafc; /* slate-50 */
    padding: 24px;
    border-radius: 12px;
}

.rf-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b; /* slate-500 */
    font-size: max(1rem, 12px);
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rf-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b; /* slate-800 */
    margin-bottom: 4px;
    transition: color 0.2s;
}

.rf-item:hover .rf-step-title {
    color: #ea580c; /* orange-600 */
}

.rf-step-sub {
    font-size: 12px;
    font-weight: 700;
    color: #7bd100;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rf-step-desc {
    font-size: max(1rem, 12px);
    color: #475569; /* slate-600 */
    line-height: 1.625;
}

/* Spacer (Desktop only) */
.rf-empty-side { display: none; }

/* Desktop Elements (Hidden on Mobile) */
.rf-dot-center { display: none; }
.rf-line-blocker { display: none; }

/* --- Desktop Styles (min-width: 768px) --- */
@media screen and (min-width: 768px) {
    .rf-title { font-size: 48px; }
    .rf-card { padding: 48px; }

    /* Vertical Line: Center */
    .rf-line {
        left: 50%; 
        transform: translateX(-50%);
    }

    /* Step Item: Flex Row */
    .rf-item {
        flex-direction: row;
        align-items: center;
        gap: 0; /* Reset gap, use structure instead */
        margin-bottom: 48px;
    }

    /* Icon Wrapper: Absolute Center */
    .rf-icon-wrapper {
        position: absolute;
        left: 50%;
        top: 50%; 
        transform: translate(-50%, -50%);
        z-index: 20;
        margin: 0;
        width: auto;
    }

    /* Center Dot */
    .rf-dot-center {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 16px;
        height: 16px;
        background-color: #ffffff;
        border: 4px solid #e2e8f0;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        transition: border-color 0.3s;
    }
    .rf-item:hover .rf-dot-center {
        border-color: #f97316;
    }

    /* Content Side: Width 50% */
    .rf-content-side {
        flex: 0 0 50%;
        width: 50%;
        padding-top: 0;
    }

    /* Spacer Side: Width 50% */
    .rf-empty-side {
        display: block;
        flex: 0 0 50%;
        width: 50%;
    }

    /* Reset Content Box BG */
    .rf-content-box {
        background-color: transparent;
        padding: 0;
        border-radius: 0;
    }

    /* Line Blocker for Last Item */
    .rf-item:last-child .rf-line-blocker {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        bottom: -64px;
        width: 24px;
        background-color: #ffffff;
        transform: translateX(-50%);
        z-index: -1;
    }

    /* --- Alternating Layout Logic --- */
    
    /* Odd Items (1, 3, 5): Content Left, Spacer Right */
    /* Note: React logic uses (index % 2 === 0) for 1st item (index 0).
       This maps to: Content (Right/Order-1 ?? No, let's align with React visual)
       React: index 0 (Step 1) -> text-right, order-1. Spacer order-3.
       This means: [Content (Right)] [Icon] [Spacer]
    */

    /* Odd Items (Steps 1, 3, 5) */
    .rf-item.rf-odd .rf-content-side {
        order: 1;
        text-align: right;
        padding-right: 64px; /* Space for icon */
    }
    .rf-item.rf-odd .rf-empty-side {
        order: 2; /* Right side */
    }

    /* Even Items (Steps 2, 4) */
    .rf-item.rf-even .rf-empty-side {
        order: 1; /* Left side */
    }
    .rf-item.rf-even .rf-content-side {
        order: 2;
        text-align: left;
        padding-left: 64px; /* Space for icon */
    }
}

/* --- CTA Section --- */
.rf-cta {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    z-index: 20;
    background-color: #ffffff;
}

.rf-cta h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.rf-cta p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f97316;
    color: #ffffff !important;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.rf-btn:hover {
    background-color: #ea580c;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.5);
    color: #ffffff;
}

/* --- Footer --- */
.rf-footer {
    background-color: #1e293b;
    color: #ffffff;
    padding: 48px 24px;
}

.rf-footer-inner {
    max-width: 896px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media screen and (min-width: 768px) {
    .rf-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.rf-footer a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.rf-footer a:hover { color: #f97316; }

/* Helpers */
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) {
    .sp-only { display: none; }
    .pc-only { display: inline; }
}

@keyframes rf-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#rf-wrapper{
    margin:3rem 0;
}


/* ラップ用コンテナ */
.sunpro-selection-wrapper {
    margin-bottom: 1.5rem; /* space-y-3 相当 */
}

/* ラベルテキスト */
.sunpro-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 700;    /* font-bold */
    color: #374151;      /* text-gray-700 */
    margin-bottom: 0.75rem;
}
.sunpro-required {
    color: #ef4444;      /* text-red-500 */
}

/* ボタンを並べるコンテナ */
.sunpro-btn-container {
    display: flex;
    flex-direction: column; /* スマホは縦並び */
    gap: 1rem;              /* gap-4 */
    margin-top: 0.5rem;
}

/* PCサイズ (640px以上) で横並びにする設定 */
@media (min-width: 640px) {
    .sunpro-btn-container {
        flex-direction: row;
    }
}

/* ボタンの外枠（クリック可能エリア） */
.sunpro-btn-wrap {
    flex: 1; /* flex-1 */
    outline: none;
}

/* ボタン本体のデザイン */
.sunpro-btn {
    padding: 1rem;          /* p-4 */
    border: 2px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-xl */
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    color: #4b5563;         /* text-gray-600 */
    transition: all 0.2s ease;
    height: 100%;           /* 高さを揃える */
    box-sizing: border-box;
}

/* ホバー時の挙動 */
.sunpro-btn:hover {
    border-color: #fdba74; /* hover:border-orange-300 */
}

/* アイコン */
.sunpro-icon {
    font-size: 1.5rem;      /* text-2xl */
    margin: 0 auto 0.5rem auto;
    color: #9ca3af;         /* text-gray-400 */
    transition: color 0.2s ease;
}

/* ホバー時のアイコン */
.sunpro-btn:hover .sunpro-icon {
    color: #fb923c; /* orange-400 */
}


/* 説明テキスト */
p.sunpro-desc {
    font-size: 1rem;     /* text-xs */
    color: #6b7280;         /* text-gray-500 */
    margin-top: 0.25rem;
}

/* -----------------------------
   アクティブ（選択中）の状態
   JavaScriptで .is-active クラスがついた時
   ----------------------------- */
.sunpro-btn.is-active {
    border-color: #ea580c;  /* border-orange-600 */
    background-color: #fff7ed; /* bg-orange-50 */
    color: #9a3412;         /* text-orange-800 */
}

.sunpro-btn.is-active .sunpro-icon {
    color: #d01d1d;         /* text-orange-600 */
}
@media screen and (max-width: 767px) {
    #your-check {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1rem;
    }
}
p.p-form__privacy-notice{
    text-align:center;
    padding:1rem;
    background:#eee;
    font-size:90%;
    max-width:750px;
    margin:0 auto;
    border-radius:5px;
}
p.p-form__mail-notice{
    text-align:center;
    padding:1rem;
    background:#eee;
    font-size:90%;
    margin:0 auto 1em;
    max-width:750px;
    border-radius:5px;
}
p.p-form__mail-notice span{
    font-weight:700;
    display:inline-block;
    margin-bottom:0.5em;
}
.l-contents--single::before {
    max-height: 600px;
}