/* =====================================================================
   ヴィータ境 LP — オリジナルデザイン（ローズ洗練型）
   vita-lp.css（共通LPベース）の後に読み込み、このページ専用に上書きする。
   テーマ色: #E29689（ローズ）／#8E3A3A（濃ローズ・見出し）／#FDF4F2（淡ローズ地）
   構成: 実写ヒーロー／空き情報バナー／ピルメニュー／約束3カード／
         お悩み→解決／ルームツアー／声＋Q&A／概要バッジ／控えめ演出
   ===================================================================== */

#vita-lp.lp-vita-sakai { background: #fff; }

/* ---------- HERO ---------- */
#vita-lp .vs-hero {
    position: relative;
    height: 72vh;
    min-height: 440px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
#vita-lp .vs-hero__bg,
#vita-lp .vs-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
#vita-lp .vs-hero__bg img {
    object-fit: cover;
    animation: vs-zoom 20s ease-in-out infinite alternate;
}
@keyframes vs-zoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1.1); }
}
#vita-lp .vs-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg, rgba(142, 58, 58, .74) 0%, rgba(226, 150, 137, .5) 50%, rgba(254, 197, 196, .32) 100%);
}
#vita-lp .vs-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 6%;
    animation: vs-hero-in 1.1s ease-out both;
}
@keyframes vs-hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
#vita-lp .vs-hero__tag {
    display: inline-block;
    background: rgba(255, 255, 255, .92);
    color: #8e3a3a;
    font-size: 82%;
    font-weight: 700;
    letter-spacing: .14em;
    border-radius: 999px;
    padding: 6px 22px;
    margin: 0 0 18px;
}
#vita-lp .vs-hero__title {
    font-family: inherit;
    font-weight: 700;
    font-size: 340%;
    letter-spacing: .12em;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
#vita-lp .vs-hero__lead {
    font-size: 108%;
    letter-spacing: .1em;
    line-height: 2;
    margin: 20px 0 0;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
#vita-lp .vs-hero__scroll {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 62%;
    letter-spacing: .3em;
    text-align: center;
    opacity: .85;
}
#vita-lp .vs-hero__scroll span {
    display: block;
    width: 1px;
    height: 34px;
    margin: 0 auto 6px;
    background: rgba(255, 255, 255, .7);
    overflow: hidden;
    position: relative;
}
#vita-lp .vs-hero__scroll span:after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: vs-scroll-line 1.8s ease-in-out infinite;
}
@keyframes vs-scroll-line {
    0%   { top: -100%; }
    60%  { top: 100%; }
    100% { top: 100%; }
}

/* ---------- アンカーメニュー ---------- */
#vita-lp .vs-menu {
    position: relative;
    z-index: 5;
    max-width: 960px;
    margin: 2em auto 0;
    padding: 0 4%;
}
#vita-lp .vs-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 0;
    padding: 0;
}
#vita-lp .vs-menu ul li a {
    display: block;
    background: #fff;
    color: #8e3a3a;
    font-weight: 700;
    font-size: 88%;
    letter-spacing: .06em;
    line-height: 1;
    padding: 15px 24px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(142, 58, 58, .14);
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
#vita-lp .vs-menu ul li a:hover {
    background: #e29689;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(142, 58, 58, .26);
}

/* ---------- 本文共通 ---------- */
#vita-lp .vs-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em 4% 5em;
}
#vita-lp .vs-section { padding: 3.5em 0; }
#vita-lp .vs-section__head { text-align: center; margin-bottom: 2.5em; }
#vita-lp .vs-eyebrow {
    display: inline-block;
    color: #e29689;
    font-weight: 700;
    font-size: 78%;
    letter-spacing: .3em;
    margin-bottom: 10px;
}
#vita-lp.lp-vita-sakai .vs-section h3 {
    font-family: inherit;
    color: #8e3a3a;
    font-size: 170%;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: .06em;
    margin: 0;
}
#vita-lp .vs-section__note {
    color: #666;
    font-size: 88%;
    margin: 14px 0 0;
}

/* ---------- PROMISE（約束3カード） ---------- */
#vita-lp .vs-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
#vita-lp .vs-card {
    background: #fdf4f2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(142, 58, 58, .1);
    transition: transform .3s ease, box-shadow .3s ease;
}
#vita-lp .vs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(142, 58, 58, .2);
}
#vita-lp .vs-card figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
#vita-lp .vs-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
#vita-lp .vs-card:hover figure img { transform: scale(1.05); }
#vita-lp .vs-card__body { padding: 1.4em 1.5em 1.7em; }
#vita-lp .vs-card__en {
    display: inline-block;
    color: #e29689;
    font-weight: 700;
    font-size: 72%;
    letter-spacing: .28em;
    margin-bottom: 8px;
}
#vita-lp .vs-card__body h4 {
    font-family: inherit;
    color: #8e3a3a;
    font-size: 112%;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.6;
    margin: 0 0 12px;
}
#vita-lp .vs-card__body p {
    font-size: 92%;
    line-height: 1.9;
    margin: 0;
}

/* ---------- NAYAMI（お悩み→解決） ---------- */
#vita-lp .vs-nayami {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 20px;
    padding: 0;
}
#vita-lp .vs-nayami li {
    position: relative;
    background: #fff;
    border: 2px solid #fec5c4;
    border-radius: 18px;
    text-align: center;
    font-size: 94%;
    line-height: 1.8;
    padding: 1.3em 1.2em;
}
#vita-lp .vs-nayami li:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -12px;
    border: 12px solid transparent;
    border-top: 12px solid #fec5c4;
    border-bottom: 0;
}
#vita-lp .vs-nayami-illust {
    text-align: center;
    margin: 0 0 2.5em;
}
#vita-lp .vs-nayami-illust img {
    display: inline-block;
    max-width: 360px;
    width: 70%;
    height: auto;
}
#vita-lp .vs-solution {
    text-align: center;
    background: #fdf4f2;
    border-radius: 20px;
    padding: 2.2em 1.8em;
}
#vita-lp .vs-solution__arrow {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 14px;
    border-right: 4px solid #e29689;
    border-bottom: 4px solid #e29689;
    transform: rotate(45deg);
}
#vita-lp .vs-solution p {
    max-width: 620px;
    margin: 1em auto 0;
}

/* ---------- ROOM TOUR ---------- */
#vita-lp .vs-rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
#vita-lp .vs-room {
    margin: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(142, 58, 58, .12);
    transition: transform .3s ease, box-shadow .3s ease;
}
#vita-lp .vs-room:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(142, 58, 58, .2);
}
#vita-lp .vs-room img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
#vita-lp .vs-room figcaption { padding: 1em 1.2em 1.2em; }
#vita-lp .vs-room figcaption strong {
    display: block;
    color: #8e3a3a;
    font-size: 104%;
    margin-bottom: 3px;
}
#vita-lp .vs-room figcaption span {
    display: block;
    color: #666;
    font-size: 84%;
    line-height: 1.7;
}

/* ---------- FAQ ---------- */
#vita-lp .vs-faq { margin: 0; }
#vita-lp .vs-faq__item {
    background: #fff;
    border: 1px solid #f5dedb;
    border-radius: 18px;
    padding: 1.3em 1.5em;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(142, 58, 58, .06);
}
#vita-lp .vs-faq__item dt,
#vita-lp .vs-faq__item dd {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}
#vita-lp .vs-faq__item dt {
    font-weight: 700;
    color: #8e3a3a;
    margin-bottom: 10px;
}
#vita-lp .vs-faq__item dt span,
#vita-lp .vs-faq__item dd span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    font-weight: 700;
    font-size: 92%;
}
#vita-lp .vs-faq__item dt span { background: #8e3a3a; color: #fff; }
#vita-lp .vs-faq__item dd span { background: #fec5c4; color: #8e3a3a; }
#vita-lp .vs-faq__item dd { font-size: 94%; line-height: 1.9; }

/* ---------- OUTLINE ---------- */
#vita-lp .vs-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 0 0 2.5em;
    padding: 0;
}
#vita-lp .vs-badges li {
    background: #fdf4f2;
    border: 1px solid #f5dedb;
    color: #8e3a3a;
    font-weight: 700;
    font-size: 88%;
    letter-spacing: .04em;
    line-height: 1;
    padding: 12px 20px;
    border-radius: 999px;
}
#vita-lp .vs-outline table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 2.5em;
}
#vita-lp .vs-outline table th,
#vita-lp .vs-outline table td {
    border: 1px solid #f5dedb;
    padding: 14px 24px;
    text-align: left;
    vertical-align: top;
}
#vita-lp .vs-outline table th {
    background: #fdf4f2;
    color: #8e3a3a;
    white-space: nowrap;
    font-weight: 700;
}
#vita-lp.lp-vita-sakai .map_embed { margin-top: 0; }
#vita-lp.lp-vita-sakai .map_embed iframe { border-radius: 20px; }

/* ---------- お問い合わせCTA ---------- */
#vita-lp .vs-contact-cta {
    text-align: center;
    background: #fdf4f2;
    border-radius: 20px;
    margin-top: 2.5em;
    padding: 2.2em 1.8em;
}
#vita-lp .vs-contact-cta p {
    color: #8e3a3a;
    font-weight: 700;
    letter-spacing: .06em;
    margin: 0 0 16px;
}
#vita-lp .vs-contact-cta a {
    display: inline-block;
    background: #8e3a3a;
    color: #fff;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    padding: 17px 42px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(142, 58, 58, .3);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
#vita-lp .vs-contact-cta a:hover {
    background: #e29689;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(142, 58, 58, .35);
}

/* ---------- 1文字だけの改行（泣き別れ）防止 ----------
   見出し・吹き出し・キャプションは行の文字数が均等になるよう折り返す */
#vita-lp .nb { display: inline-block; }
#vita-lp.lp-vita-sakai .vs-section h3,
#vita-lp .vs-solution h3,
#vita-lp .vs-card__body h4,
#vita-lp .vs-card__body p,
#vita-lp .vs-nayami li,
#vita-lp .vs-room figcaption strong,
#vita-lp .vs-room figcaption span,
#vita-lp .vs-badges li,
#vita-lp .vs-hero__lead {
    text-wrap: balance;
}
/* 3カラムが狭くなる中間幅では文字を一段小さく */
@media screen and (min-width: 768px) and (max-width: 980px) {
    #vita-lp .vs-nayami li { font-size: 86%; padding: 1.1em 0.9em; }
    #vita-lp .vs-card__body h4 { font-size: 102%; }
    #vita-lp .vs-card__body p { font-size: 88%; }
    #vita-lp .vs-room figcaption span { font-size: 80%; }
}

/* ---------- スクロールフェードイン ---------- */
#vita-lp .fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
#vita-lp .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
#vita-lp .vs-cards .vs-card:nth-child(2) { transition-delay: .12s; }
#vita-lp .vs-cards .vs-card:nth-child(3) { transition-delay: .24s; }
#vita-lp .vs-rooms .vs-room:nth-child(3n+2) { transition-delay: .1s; }
#vita-lp .vs-rooms .vs-room:nth-child(3n)   { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    #vita-lp .vs-hero__bg img,
    #vita-lp .vs-hero__inner,
    #vita-lp .vs-hero__scroll span:after { animation: none; }
    #vita-lp .fade-up { opacity: 1; transform: none; transition: none; }
    #vita-lp .vs-card,
    #vita-lp .vs-card figure img,
    #vita-lp .vs-room,
    #vita-lp .vs-menu ul li a { transition: none; }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 900px) {
    #vita-lp .vs-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    #vita-lp .vs-rooms { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 767px) {
    #vita-lp .vs-hero { height: 62vh; min-height: 380px; }
    #vita-lp .vs-hero__title { font-size: 230%; }
    #vita-lp .vs-hero__lead { font-size: 96%; }
    #vita-lp .vs-menu ul li a { font-size: 80%; padding: 12px 16px; }
    #vita-lp.lp-vita-sakai .vs-section h3 { font-size: 132%; }
    #vita-lp .vs-vacancy__inner { flex-direction: column; text-align: center; gap: 10px; }
    #vita-lp .vs-nayami { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 2.5em; }
    #vita-lp .vs-voices { grid-template-columns: 1fr; }
}
@media screen and (max-width: 560px) {
    #vita-lp .vs-rooms { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
/* 小型スマホ：ヒーローのタグが1行に収まるよう縮小（途中改行防止） */
@media screen and (max-width: 374px) {
    #vita-lp .vs-hero__tag { font-size: 70%; letter-spacing: .08em; padding: 6px 14px; }
}
