@charset "UTF-8";

/**
 * top.css
 * ホーム専用スタイル
 */

/*--------------------------------------------------
  Hero Section
--------------------------------------------------*/
#hero {
    background: linear-gradient(135deg, #FDFBF7 0%, #F5F1E9 100%);
    padding: 100px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-tagline {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}


.hero-visual {
    flex: 1.2;
    position: relative;
    text-align: right;
    min-width: 0;
}

.morph-img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 10s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.2);
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/*--------------------------------------------------
  News Section
--------------------------------------------------*/
#top-news {
    margin-top: -40px; /* ヒーローに少し食い込ませる */
    position: relative;
    z-index: 100;
}

.news-inner {
    background: var(--white);
    padding: 20px 40px;
    border-radius: 100px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 40px;
}

.news-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #eee;
    padding-right: 40px;
    flex-shrink: 0;
}

.news-label span {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    line-height: 1;
}

.news-label .view-all {
    font-size: 0.7rem;
    color: var(--text-sub);
    text-decoration: none;
    margin-top: 5px;
    transition: 0.3s;
}

.news-label .view-all:hover {
    color: var(--primary-color);
}

.news-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 24px; /* 1件分だけ表示（スライダー的に使う想定） */
    overflow: hidden;
}

.news-list li a,
.news-no-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
}

.news-list li a:hover {
    opacity: 0.7;
}

.news-no-link {
    cursor: default;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-family: var(--font-heading);
}

.news-badge {
    background: var(--bg-cream);
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.news-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*--------------------------------------------------
  Concept Section
--------------------------------------------------*/
.concept-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.concept-img {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e0e0e0;
    border-radius: 20px;
}

.concept-body {
    flex: 1.2;
}

.concept-body p {
    margin-bottom: 20px;
}

.text-left {
    text-align: left;
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-top: 20px;
}

/*--------------------------------------------------
  Service Plan Grid
--------------------------------------------------*/
.bg-white {
    background-color: var(--white);
}

.plan-grid-container {
    margin-top: 60px;
}

.full-order-container {
    margin-top: 40px;
}

.plan-group-label {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.plan-group-label span {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-grid.single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.plan-card.featured {
    background: var(--white);
    border: 2px solid var(--primary-color);
    position: relative;
}

.plan-label {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

/* 一番人気ラベル（コーラルピンク） */
.plan-card.popular .plan-label {
    background: #f2a0a0;
    color: var(--white);
    padding: 2px 12px;
    border-radius: 50px;
}

.plan-head h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 25px;
}

.plan-price small {
    font-size: 0.9rem;
    font-weight: normal;
}

.annual-badge {
    display: inline-block;
    background: #FFF4E0;
    color: #D4A017;
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 50px;
    margin-top: 5px;
    font-weight: bold;
    border: 1px solid #FFE0B2;
}

.plan-card .plan-desc {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--text-sub);
    text-align: left;
    line-height: 1.6;
    flex: 1;
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.mt-60 {
    margin-top: 60px;
}

/*--------------------------------------------------
  CTA Section
--------------------------------------------------*/
#cta {
    background: var(--text-main);
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.1rem;
}

/*--------------------------------------------------
  Responsive
--------------------------------------------------*/

/* 【TB】 1024px 以下 */
@media screen and (max-width: 1024px) {
    .hero-title { font-size: 2.6rem; text-align: center !important; }
    .hero-container { flex-direction: column-reverse; padding: 40px 4%; text-align: center; }
    .hero-text { margin: 0 auto 40px !important; text-align: center !important; }
    .hero-btns { display: flex; justify-content: center; align-items: center !important; }
    .concept-layout { flex-direction: column; gap: 40px; }
    .concept-body { text-align: center; }
    .section-title { text-align: center !important; }
    
    .news-inner { padding: 15px 30px; gap: 20px; border-radius: 50px; }
    .news-label { padding-right: 20px; }
    
    .plan-grid { grid-template-columns: 1fr 1fr; }
}

/* 【SM】 768px 以下 */
@media screen and (max-width: 768px) {
    .hero-btns { flex-direction: column; align-items: center !important; gap: 15px; }
    .hero-btns .btn-main,
    .hero-btns .btn-sub { width: 100%; max-width: 300px; text-align: center; }
    .plan-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 1.8rem; word-break: normal; text-align: center !important; }
    .hero-title { font-size: 2.2rem; word-break: normal; text-align: center !important; }

    #top-news { margin-top: 20px; }
    .news-inner { flex-direction: column; align-items: flex-start; border-radius: 20px; padding: 25px; gap: 15px; }
    .news-label { border-right: none; padding-right: 0; border-bottom: 1px solid #eee; padding-bottom: 10px; width: 100%; flex-direction: row; justify-content: space-between; }
    .news-label .view-all { margin-top: 0; }
    .news-list { max-height: none; width: 100%; }
    .news-list li a { flex-wrap: wrap; gap: 10px; }
    .news-title { white-space: normal; width: 100%; }
}

/* 【SP】 479px 以下 */
@media screen and (max-width: 479px) {
    .hero-title { font-size: 1.8rem; text-align: center !important; }
    .hero-container { padding: 40px 6%; text-align: center; }
    .hero-btns { display: flex; flex-direction: column; align-items: center !important; }
    #top .hero-text { text-align: left !important; margin: 0 0 40px !important; width: 100%; max-width: 100%; }
    .concept-body p { text-align: left !important; }
    #top .section-intro { text-align: left !important; }
    .plan-card { padding: 30px 20px; }
}