/* ====================================
   Logo Creation Page Styles
   テーマ：Construction, Blueprint, Artistic
   ==================================== */

/* --- Base Layout & Grid Background --- */
.logo-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo-bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
}

.logo-bg-grid__line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.03);
}

.logo-bg-grid__line--v {
    top: 0; bottom: 0; width: 1px;
}
.logo-bg-grid__line--v:nth-child(1) { left: 15%; }
.logo-bg-grid__line--v:nth-child(2) { left: 50%; }
.logo-bg-grid__line--v:nth-child(3) { right: 15%; }

.logo-bg-grid__line--h {
    left: 0; right: 0; height: 1px;
}
.logo-bg-grid__line--h:nth-child(4) { top: 20%; }
.logo-bg-grid__line--h:nth-child(5) { top: 50%; }
.logo-bg-grid__line--h:nth-child(6) { bottom: 20%; }


/* --- Breadcrumb --- */
.logo-breadcrumb {
    padding-top: 120px;
    padding-bottom: 20px;
    position: relative;
    z-index: 10;
}
.logo-breadcrumb__nav {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8); /* 白さUP */
}
.logo-breadcrumb__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.logo-breadcrumb__link:hover { color: #4CAF50; }
.logo-breadcrumb__current { color: #4CAF50; }
.logo-breadcrumb__separator { margin: 0 10px; font-size: 0.7em; }


/* --- Hero Section --- */
.logo-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo-hero__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-hero__content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.logo-hero__label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: #4CAF50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
.logo-hero__label::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #4CAF50;
}

.logo-hero__title {
    margin-bottom: 3rem;
}

.logo-hero__title-main {
    display: block;
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.logo-hero__title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff; /* 白 */
}

.logo-hero__desc {
    font-size: 1rem;
    line-height: 2;
    color: #fff; /* 白 */
}

/* Visual Animation */
.logo-hero__visual {
    width: 45%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-art-circle {
    position: relative;
    width: 300px;
    height: 300px;
}

.logo-art-circle__item {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.4); /* 白さUP */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateCircle 20s linear infinite;
}

.logo-art-circle__item--1 { width: 100%; height: 100%; border-color: rgba(76, 175, 80, 0.4); }
.logo-art-circle__item--2 { width: 61.8%; height: 61.8%; animation-direction: reverse; animation-duration: 15s; }
.logo-art-circle__item--3 { width: 38.2%; height: 38.2%; border-color: rgba(76, 175, 80, 0.6); }

.logo-art-circle__line {
    position: absolute;
    top: 50%; left: -50%;
    width: 200%; height: 1px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    transform: translateY(-50%) rotate(45deg);
}

@keyframes rotateCircle {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* --- Common Section Styles --- */
.logo-section {
    padding: 100px 0;
    position: relative;
}

.logo-section__header {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.logo-section__title {
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.logo-section__title::before,
.logo-section__title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5); /* 白さUP */
}
.logo-section__title::before { left: -80px; }
.logo-section__title::after { right: -80px; }

.logo-section__subtitle {
    font-size: 1rem;
    color: #4CAF50;
    letter-spacing: 0.1em;
}


/* --- Significance --- */
.logo-significance__grid {
    display: flex;
    justify-content: center;
}
.logo-significance__text {
    max-width: 800px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.2;
    color: #fff; /* 白 */
}
.logo-significance__text p { margin-bottom: 2rem; }


/* --- Features --- */
.logo-feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}
.logo-feature-row:last-child { margin-bottom: 0; }
.logo-feature-row--reverse { flex-direction: row-reverse; }

.logo-feature-row__visual {
    flex: 1;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-feature-row__content { flex: 1; }

.logo-feature-row__title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff;
}

.logo-feature-row__text {
    font-size: 1rem;
    line-height: 2;
    color: #fff; /* 白 */
}

/* Feature Visuals: Blueprint */
.logo-blueprint-box { position: relative; width: 161.8px; height: 100px; border: 1px solid rgba(255,255,255,0.5); }
.logo-blueprint-rect { position: absolute; right: 0; bottom: 0; width: 61.8px; height: 100px; border-left: 1px dashed rgba(255,255,255,0.5); }
.logo-blueprint-circle { position: absolute; top: 0; right: 0; width: 100px; height: 100px; border: 1px solid #4CAF50; border-radius: 50%; }
.logo-blueprint-label { position: absolute; top: -25px; left: 0; font-size: 0.8rem; color: #4CAF50; font-weight: bold; }

/* Versatility */
.logo-versatility-box { display: flex; align-items: flex-end; gap: 1rem; color: #fff; }
.logo-versatility-icon--lg { font-size: 4rem; }
.logo-versatility-icon--md { font-size: 2.5rem; }
.logo-versatility-icon--sm { font-size: 1rem; }

/* Color */
.logo-color-box { display: flex; gap: 10px; position: relative; }
.logo-color-palette { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); }
.logo-color-palette--1 { background: #1a237e; }
.logo-color-palette--2 { background: #b71c1c; }
.logo-color-palette--3 { background: #1b5e20; }
.logo-color-label { position: absolute; bottom: -30px; width: 100%; text-align: center; font-size: 0.8rem; letter-spacing: 0.2em; color: #fff; }


/* --- Deliverables --- */
.logo-deliverables__desc {
    text-align: center;
    margin-bottom: 4rem;
    line-height: 2;
    color: #fff; /* 白 */
}

.logo-deliverables__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.logo-file-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}
.logo-file-card:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
    background: rgba(76, 175, 80, 0.1);
}

.logo-file-card__ext {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.logo-file-card__name {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.logo-file-card__desc {
    font-size: 0.85rem;
    color: #fff; /* 白 */
    line-height: 1.6;
}

.logo-guideline-note {
    text-align: center;
    color: #4CAF50;
    font-size: 0.95rem;
}
.logo-guideline-note i { margin-right: 8px; }


/* --- Works --- */
.logo-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.logo-works__item {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}
.logo-works__item:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
}

.logo-works__thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    overflow: hidden;
}
.logo-works__thumb img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.logo-works__item:hover .logo-works__thumb img { transform: scale(1.05); }

.logo-works__info { padding: 1.5rem; }

.logo-works__title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.logo-works__cat {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.logo-works__btn-area { text-align: center; }
.logo-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.1em;
}
.logo-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}


/* --- Flow --- */
.logo-flow__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo-flow__item {
    flex: 1; text-align: center; padding: 0 1rem;
}

.logo-flow__num {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    margin-bottom: 1rem;
}

.logo-flow__name {
    font-size: 1.2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.logo-flow__desc {
    font-size: 0.95rem;
    color: #fff; /* 白 */
    line-height: 1.8;
}

.logo-flow__line {
    width: 40px; height: 1px; background: rgba(255, 255, 255, 0.3); margin-top: 50px;
}


/* --- Pricing (Single) --- */
.logo-pricing__single {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.logo-pricing__card--single {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem;
    text-align: center;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s;
}
.logo-pricing__card--single:hover {
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.1);
    transform: translateY(-5px);
}

.logo-pricing__name {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.logo-pricing__sub {
    font-size: 1rem;
    color: #4CAF50;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.logo-pricing__price {
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1;
}
.logo-pricing__price .tax {
    font-size: 1.2rem;
    font-weight: normal;
    margin-left: 10px;
}

.logo-pricing__detail {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.logo-pricing__features {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.logo-pricing__list {
    list-style: none;
    padding: 0;
}
.logo-pricing__list li {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}
.logo-pricing__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.logo-pricing__note {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}


/* --- FAQ --- */
/* 共通CSS (faq.css) のスタイルを使用するため、
   ここでの定義はレイアウト調整のみ */
.logo-faq__list {
    max-width: 800px;
    margin: 0 auto;
}


/* --- CTA --- */
.logo-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(76, 175, 80, 0.1) 100%);
}
.logo-cta__title { font-size: 3rem; margin-bottom: 1.5rem; color: #fff; }
.logo-cta__text { font-size: 1.1rem; line-height: 2; color: #fff; margin-bottom: 3rem; }
.logo-cta__btn {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}
.logo-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
    color: #fff;
}


/* --- Responsive --- */
@media (max-width: 900px) {
    .logo-hero__content { width: 100%; text-align: center; }
    .logo-hero__container { flex-direction: column; }
    .logo-hero__visual { width: 100%; height: 300px; margin-top: 2rem; }
    .logo-hero__label::before { display: none; }
    
    .logo-feature-row { flex-direction: column; gap: 2rem; }
    .logo-feature-row--reverse { flex-direction: column; }
    .logo-feature-row__visual { width: 100%; }
    
    /* Deliverables (納品形式) 1列化 */
    .logo-deliverables__grid { grid-template-columns: 1fr; gap: 1rem; }
    
    .logo-works__grid { grid-template-columns: 1fr; }
    
    .logo-flow__list { flex-direction: column; }
    .logo-flow__line { 
        width: 1px; height: 30px; margin: 10px auto; 
    }
}

@media (max-width: 768px) {
    .logo-pricing__card--single { padding: 2rem 1.5rem; }
    .logo-pricing__name { font-size: 2rem; }
    .logo-pricing__price { font-size: 2.5rem; }
    .logo-pricing__list li { font-size: 1rem; }
}

@media (max-width: 480px) {
    .logo-hero__title-main { font-size: 3rem; }
    .logo-section__title { font-size: 2rem; }
    .logo-section__title::before, .logo-section__title::after { width: 30px; }
    .logo-section__title::before { left: -40px; }
    .logo-section__title::after { right: -40px; }
    .logo-cta__title { font-size: 2rem; }
}






/* ====================================
   Expansion Section (3D Business Card - Vertical)
   ==================================== */

   .logo-expansion__grid {
    display: flex;
    align-items: center;
    gap: 5rem;
    justify-content: center;
}

.logo-expansion__visual-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* --- 3D Animation Area --- */
.logo-expansion__visual {
    position: relative;
    width: 300px;
    height: 400px; /* 縦長エリア確保 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
}

.logo-3d-scene--vertical {
    width: 169px; /* 55mm比率 */
    height: 280px; /* 91mm比率 */
    perspective: 1000px;
}

.logo-3d-obj {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    /* 15秒でゆっくり1回転 */
    animation: rotateCard 15s infinite linear;
}

.logo-3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background-color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-3d-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-3d-face--back {
    transform: rotateY(180deg);
}

@keyframes rotateCard {
    0% { transform: rotateY(0deg) rotateX(5deg); } /* 縦回転なのでX軸の傾きは控えめに */
    50% { transform: rotateY(180deg) rotateX(-5deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
}

/* ガイド線（縦型用） */
.logo-expansion__guide {
    position: absolute;
    border: 1px solid rgba(76, 175, 80, 0.5);
    pointer-events: none;
}
.logo-expansion__guide span {
    position: absolute;
    background: #000;
    color: #4CAF50;
    font-size: 0.7rem;
    padding: 2px 5px;
}

/* 幅ガイド(55mm) */
.logo-expansion__guide--w-v {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 169px;
    height: 10px;
    border-top: none;
    border-left: 1px solid rgba(76, 175, 80, 0.5);
    border-right: 1px solid rgba(76, 175, 80, 0.5);
}
.logo-expansion__guide--w-v span {
    bottom: -10px; left: 50%; transform: translateX(-50%);
}

/* 高さガイド(91mm) */
.logo-expansion__guide--h-v {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    height: 280px;
    width: 10px;
    border-left: none;
    border-top: 1px solid rgba(76, 175, 80, 0.5);
    border-bottom: 1px solid rgba(76, 175, 80, 0.5);
}
.logo-expansion__guide--h-v span {
    right: -35px; top: 50%; transform: translateY(-50%);
}


/* --- Controls Buttons --- */
.logo-3d-controls {
    display: flex;
    gap: 1rem;
}

.logo-ctrl-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-ctrl-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.logo-ctrl-btn.is-active {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}


/* --- Right Content Area (共通) --- */
.logo-expansion__content {
    flex: 1;
    max-width: 500px;
}
/* ... (右側コンテンツのスタイルは前回と同じなので省略可、必要なら再掲します) ... */
.logo-expansion__title { font-size: 2rem; color: #fff; margin-bottom: 1.5rem; line-height: 1.4; letter-spacing: 0.1em; }
.logo-expansion__text { font-size: 1rem; color: #fff; line-height: 1.8; margin-bottom: 2rem; }
.logo-expansion__list-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.2); padding: 1.5rem 2rem; margin-bottom: 2rem; }
.logo-expansion__list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.logo-expansion__list li { font-size: 0.95rem; color: #fff; position: relative; padding-left: 1.5rem; }
.logo-expansion__list li::before { content: '+'; position: absolute; left: 0; color: #4CAF50; font-weight: bold; }
.logo-expansion__price { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 0.5rem; }
.logo-expansion__price .label { font-size: 1.1rem; color: #4CAF50; font-weight: bold; }
.logo-expansion__price .price { font-size: 2rem; font-weight: bold; color: #fff; }
.logo-expansion__price .tax { font-size: 1rem; font-weight: normal; }
.logo-expansion__sub-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .logo-expansion__grid {
        flex-direction: column;
        gap: 3rem;
    }
    .logo-expansion__visual {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    /* 1. リストを1カラム（縦一列）に変更 */
    .logo-expansion__list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        text-align: center; /* リストの文字も中央揃えにする場合 */
    }

    .logo-expansion__list li {
        padding-left: 0; /* 中央揃えにするなら左のpaddingと「+」マークの位置調整が必要 */
        display: inline-block; /* または単純に左寄せのままにするならこの行と上のtext-alignは不要 */
    }
    /* ※もしリストは「左寄せのまま」が良い場合は、上記text-alignとpadding操作は削除してください */


    /* 2. リストボックスの余白調整 */
    .logo-expansion__list-box {
        padding: 1.5rem;
    }

    /* 3. 【追加】料金部分を1カラム（縦並び）に変更 */
    .logo-expansion__price {
        flex-direction: column; /* 横並びから縦並びへ */
        align-items: center;    /* 中央揃え */
        gap: 0.5rem;            /* 間隔調整 */
    }
    
    .logo-expansion__price .label {
        font-size: 1rem;        /* スマホ用に少し小さく調整（任意） */
    }
    
    .logo-expansion__price .price {
        font-size: 2rem;
        line-height: 1.2;
    }
}