/*
Theme Name: Atelier Ketchup Child
Theme URI: https://atelier-ketchup.com
Description: アトリエケチャップの子テーマ - ホームページカスタムテンプレート対応
Author: Atelier Ketchup
Author URI: https://atelier-ketchup.com
Template: atelierketchup
Version: 0.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atelier-ketchup-child
*/

/* ========================================
   カスタムページテンプレート用スタイル
   ======================================== */

/* Hero Section - ヒーローセクション */
.site-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Heading Section - 見出しセクション */
.top-heading-section {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.top-main-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff !important;
    margin-bottom: 20px;
}

.top-sub-heading {
    font-size: 1.5rem;
    color: #fff !important;
    margin-bottom: 15px;
}

.top-cta-heading {
    font-size: 1.25rem;
    color: #e63946;
    font-weight: bold;
}

/* Social Buttons - ソーシャルボタン */
.social-section {
    padding: 40px 20px;
    background: #f8f9fa;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-button img {
    max-width: 200px;
    height: auto;
}

.social-button:hover {
    transform: scale(1.05);
}

/* Our Strengths Section */
.our-strengths-section {
    padding: 60px 20px;
    background: #fff;
}

.strengths-header {
    text-align: center;
    margin-bottom: 40px;
}

.strengths-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.strengths-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.strengths-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.strengths-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.reason-item {
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
    border-left: 4px solid #e63946;
}

.reason-label {
    font-weight: bold;
    color: #e63946;
    margin-right: 10px;
}

/* Section共通スタイル */
.section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* WANTED Section - 買取強化作家 */
.wanted-section {
    background: #fff;
}

.wanted-header {
    text-align: center;
    margin-bottom: 40px;
}

.wanted-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.wanted-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.wanted-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.wanted-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Product Grid - グリッドレイアウト */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Artist Card - 作家カード */
.artist-card-horizontal {
    display: flex;
    align-items: center;
    padding: 15px;
}

.artist-image-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.artist-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-name-wrapper {
    flex: 1;
}

.artist-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* PICK UP Section - 買取情報 */
.pickup-section {
    background: #f8f9fa;
}

.pickup-header {
    text-align: center;
    margin-bottom: 40px;
}

.pickup-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.pickup-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pickup-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.pickup-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* Swiper Container */
.pickup-swiper-container {
    position: relative;
    padding: 20px 50px;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #e63946;
}

.swiper-pagination-bullet-active {
    background: #e63946;
}

/* Artwork Card - 作品カード */
.artwork-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
    flex: 1;
}

.artist-name-small {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.purchase-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e63946;
    margin-top: 10px;
}

/* Feature Section - ポイント */
.p-top__feature {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

.p-top__feature-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.point-header {
    text-align: center;
    margin-bottom: 40px;
}

.point-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.point-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.point-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.point-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.p-top__feature-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.p-top__feature-left {
    flex: 1;
    min-width: 300px;
}

.p-top__feature-right {
    flex: 2;
    min-width: 400px;
}

.c-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.c-feature {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.c-feature__number {
    margin-bottom: 15px;
}

.point-number-img {
    width: 60px;
    height: auto;
}

.c-feature__para {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.p-top__feature-icon,
.p-top__feature-bg {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Customer Voice Section - お客様の声 */
.customer-voice-section {
    background: #f8f9fa;
}

.voice-header {
    text-align: center;
    margin-bottom: 40px;
}

.voice-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.voice-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.voice-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.voice-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.voice-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.voice-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.voice-content {
    padding: 20px;
}

.voice-text {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #333;
}

.voice-author {
    font-size: 0.9rem;
    color: #999;
    text-align: right;
}

/* ========================================
   Purchase & Online Section - 元のCSSに準拠
   ======================================== */

.purchase-online-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.purchase-online-section::before {
    content: "";
    display: block;
    width: 800px;
    height: 600px;
    background: #f7ecde;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.purchase-online-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Purchase Block */
.purchase-block {
    position: relative;
}

.purchase-bg-square {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 350px;
    background: #FFE8E8;
    border-radius: 20px;
    z-index: 0;
}

.purchase-inner {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.purchase-image {
    flex: 0 0 45%;
}

.purchase-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.purchase-content {
    flex: 1;
    padding: 40px;
    text-align: center;
    margin-top: 100px;
    margin-right: 90px;
}

/* Online Block */
.online-block {
    position: relative;
}

.online-bg-square {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 350px;
    background: #E8F5E9;
    border-radius: 20px;
    z-index: 0;
}

.online-inner {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.online-content {
    flex: 1;
    padding: 55px;
    text-align: center;
    margin-bottom: 115px;
    margin-left: 90px;
}

.online-image {
    flex: 0 0 45%;
}

.online-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.section-title .first-letter {
    font-size: 2.2rem;
    color: #e63946;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
}

.purchase-button,
.online-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #c01f2c;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.purchase-button:hover,
.online-button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

/* HOW TO Section */
.how-to-section {
    background: #f8f9fa;
}

.howto-header {
    text-align: center;
    margin-bottom: 40px;
}

.howto-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.howto-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.howto-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.howto-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.how-to-item {
    text-align: center;
}

.how-to-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.how-to-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.how-to-box:hover {
    transform: translateY(-5px);
}

.how-to-icon-img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.how-to-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.how-to-description {
    font-size: 1rem;
    color: #666;
}

/* BLOG Section - ブログ */
.blog-section {
    background: #fff;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.blog-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
}

/* COMPANY Section - 会社概要 */
.company-section {
    background: #f8f9fa;
}

.company-header {
    text-align: center;
    margin-bottom: 40px;
}

.company-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.company-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.company-title .first-letter {
    font-size: 2.5rem;
    color: #e63946;
}

.company-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.company-table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.company-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.company-table td {
    padding: 15px;
    vertical-align: top;
}

.company-table td:first-child {
    width: 150px;
    font-weight: bold;
    color: #333;
}

.company-table td:last-child {
    color: #666;
}

/* Map Section - 地図 */
.map-section {
    margin-top: 40px;
}

.map-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.map-left {
    flex: 1;
    min-width: 300px;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.map-right {
    flex: 1;
    min-width: 300px;
}

.map-right h3 {
    font-size: 1.5rem;
    color: #e63946;
    line-height: 1.6;
}

.map-areas {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.map-areas h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.map-areas p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* Footer Address & Contact */
.l-footer__address {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
    font-style: normal;
}

.l-footer__address-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.l-footer__address-detail {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
}

.footer-phone-section {
    text-align: center;
    margin: 20px 0;
}

.l-footer__tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    text-decoration: none;
}

.l-footer__tel:hover {
    color: #d62839;
}

/* SNS Section */
.l-footer__sns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.l-footer__sns a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.l-footer__sns a:hover {
    transform: scale(1.1);
}

/* ========================================
   レスポンシブ対応
   ======================================== */

/* タブレット */
@media screen and (max-width: 768px) {
    .top-main-heading {
        font-size: 2rem;
    }
    
    .top-sub-heading {
        font-size: 1.2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .pickup-swiper-container {
        padding: 20px 30px;
    }
    
    /* Feature Section - レスポンシブ */
    .p-top__feature {
        padding: 50px 20px;
    }
    
    .p-top__feature-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .p-top__feature-left,
    .p-top__feature-right {
        min-width: auto;
        width: 100%;
    }
    
    .point-header {
        margin-bottom: 30px;
    }
    
    .point-title {
        font-size: 2rem;
    }
    
    .point-subtitle {
        font-size: 1rem;
    }
    
    .c-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .c-feature {
        padding: 15px;
    }
    
    .c-feature__para {
        font-size: 0.9rem;
    }
    
    .p-top__feature-icon {
        width: 50px;
        height: auto;
    }
    
    .p-top__feature-bg {
        width: 300px;
        height: auto;
    }
    
    /* Purchase & Online Section - レスポンシブ */
    .purchase-online-section::before {
        width: 95%;
        height: 600px;
    }
    
    .purchase-inner,
    .online-inner {
        flex-direction: column;
    }
    
    .purchase-image,
    .online-image {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .purchase-content {
        margin-top: 30px;
        margin-right: 0;
        padding: 30px 20px;
    }
    
    .online-content {
        margin-bottom: 30px;
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .purchase-bg-square,
    .online-bg-square {
        height: 450px;
    }
}

/* スマートフォン */
@media screen and (max-width: 480px) {
    .site-header {
        height: 250px;
    }
    
    .top-main-heading {
        font-size: 1.5rem;
    }
    
    .top-sub-heading {
        font-size: 1rem;
    }
    
    .social-button img {
        max-width: 150px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .pickup-swiper-container {
        padding: 20px 10px;
    }
    
    .voice-grid,
    .blog-grid,
    .how-to-grid {
        grid-template-columns: 1fr;
    }
    
    /* Feature Section - スマートフォン */
    .p-top__feature {
        padding: 40px 15px;
    }
    
    .point-header {
        margin-bottom: 20px;
    }
    
    .point-title {
        font-size: 1.5rem;
    }
    
    .point-subtitle {
        font-size: 0.9rem;
    }
    
    .p-top__feature-content {
        gap: 20px;
    }
    
    .c-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .c-feature {
        padding: 15px 10px;
    }
    
    .c-feature__number {
        margin-bottom: 10px;
    }
    
    .point-number-img {
        width: 40px;
    }
    
    .c-feature__para {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .p-top__feature-icon {
        width: 40px;
        opacity: 0.05;
    }
    
    .p-top__feature-bg {
        width: 200px;
        opacity: 0.05;
    }
    
    .company-table td:first-child {
        width: 100px;
        font-size: 0.9rem;
    }
    
    .company-table td:last-child {
        font-size: 0.9rem;
    }
    
    /* Purchase & Online Section - スマホ対応 */
    .purchase-online-section {
        padding: 60px 0;
    }
    
    .purchase-online-section::before {
        width: 100%;
        height: 600px;
    }
    
    .purchase-content,
    .online-content {
        padding: 20px 15px;
        margin: 20px 0 0 0;
    }
    
    .purchase-bg-square,
    .online-bg-square {
        height: 500px;
        width: 95%;
    }
}

/* ユーティリティクラス */
.u-hidden-pc {
    display: none;
}

.u-hidden-sp {
    display: inline;
}

@media screen and (max-width: 768px) {
    .u-hidden-pc {
        display: inline;
    }
    
    .u-hidden-sp {
        display: none;
    }
}

/* ========================================
   Purchase & Online Section - 元のindex.phpに準拠
   親テーマのスタイルを上書き
   ======================================== */

/* containerの横幅を元のindex.phpと同じに */
.purchase-online-section .container {
    max-width: 100% !important;
    width: 100% !important;
}

.purchase-online-wrapper {
    max-width: 1000px !important;
    margin: 0 auto !important;
}

/* 画像サイズを元のindex.phpと同じに（405x304） */
.purchase-image img,
.online-image img {
    width: 100% !important;
    max-width: 405px !important;
    height: auto !important;
    max-height: 304px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* 親テーマのflexboxをそのまま活用 */
.purchase-inner,
.online-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.purchase-image,
.online-image {
    flex: 0 0 45% !important;
}

.purchase-content,
.online-content {
    flex: 1 !important;
    padding: 40px !important;
    text-align: center !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .purchase-inner,
    .online-inner {
        flex-direction: column !important;
    }
    
    .purchase-image,
    .online-image {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    
    .purchase-image img,
    .online-image img {
        max-width: 100% !important;
        max-height: none !important;
    }
    
    .purchase-content,
    .online-content {
        padding: 20px !important;
    }
}

/* ========================================
   Mobile Floating Footer
   モバイルフローティングフッター
   ======================================== */
.mobile-floating-footer {
    display: none !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 999 !important;
    padding: 10px 0 !important;
}

.mobile-floating-footer .floating-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-decoration: none !important;
    color: #333 !important;
    padding: 8px 5px !important;
    transition: background 0.3s !important;
}

.mobile-floating-footer .floating-btn:hover {
    background: #f5f5f5 !important;
}

.mobile-floating-footer .btn-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 4px !important;
}



.mobile-floating-footer .btn-text {
    font-size: 11px !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: #333 !important;
}

/* モバイル表示（768px以下） */
@media (max-width: 768px) {
    .mobile-floating-footer {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
    }
    
    /* フッターの下に余白を追加（フローティングフッターに隠れないように） */
    body {
        padding-bottom: 80px !important;
    }
}

/* タブレット以上では非表示 */
@media (min-width: 769px) {
    .mobile-floating-footer {
        display: none !important;
    }
}

/* デバッグ用 - 全画面で赤色表示 */
.mobile-floating-footer {
    display: flex !important;
    background: red !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

/* ========================================
   Artist Detail Page
   作家詳細ページ
   ======================================== */

/* ヒーローセクション */
.artist-detail .artist-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 150px 0 80px;
    margin-top: 80px;
    text-align: center;
    color: white;
}

.artist-detail .artist-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

/* コンテンツエリア */
.artist-content {
    padding: 40px 0;
    background-color: #f9f9f9;
}

/* 作家情報セクション */
.artist-info {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.artist-info .artist-thumbnail {
    flex: 0 0 40%;
    max-width: 500px;
}

.artist-info .artist-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 作家プロフィール */
.artist-profile {
    flex: 1;
}

.artist-profile h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 28px;
}

.artist-profile p {
    line-height: 1.8;
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* 作品セクション */
.artist-works h2 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 28px;
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 作品アイテム */
.artwork-item {
    transition: transform 0.3s ease;
}

.artwork-item:hover {
    transform: translateY(-5px);
}

.artwork-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.artwork-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
}

.no-artwork-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    color: #999;
}

.artwork-info {
    padding: 15px 10px;
    text-align: left;
}

.artwork-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.artwork-price {
    color: #e74c3c;
    font-weight: bold;
    margin: 0;
    font-size: 1.4rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .artist-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .artist-info .artist-thumbnail {
        flex: none;
        max-width: 100%;
    }

    .artist-works .works-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .artist-detail .artist-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .artist-detail .artist-name {
        font-size: 1.5rem;
    }
    
    .artist-detail .artist-hero {
        padding: 100px 0 60px;
    }
}

/* ========================================
   Artworks List Page
   作品一覧ページ
   ======================================== */

.artworks-page-container {
    padding-top: 0;
}

.artworks-page-header {
    padding: 80px 0 60px;
    margin-top: 140px !important;
    text-align: center;
    background: #fff;
}

.artworks-page-header .page-section-header .section-title {
    color: white !important;
    background-color: #c01f2c !important;
    border-radius: 40px !important;
    padding: 5px 50px !important;
    display: inline-block !important;
    font-family: "UDデジタル教科書体", "ヒラギノ角ゴ ProN", "游ゴシック", "Meiryo UI", "MS UI Gothic", sans-serif !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    margin: 0 0 10px 0 !important;
}

.artworks-page-header .page-section-header .section-subtitle {
    font-size: 1.2rem !important;
    letter-spacing: 0.2em !important;
    color: #c19450 !important;
    margin: 0;
}

.artworks-list-section {
    padding: 60px 0;
    background: #f8f8f8;
}

/* フィルター */
.artwork-filters {
    background: white;
    padding: 30px;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.artwork-filters h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

.category-filter {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.category-filter li {
    margin: 0;
}

.category-filter a {
    display: inline-block;
    padding: 8px 50px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.category-filter a:hover,
.category-filter a.active {
    background: #c19450;
    color: white;
}

/* 作品グリッド */
.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.artwork-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.artwork-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.artwork-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.artwork-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 1rem;
}

.artwork-card-info {
    padding: 25px;
}

.artwork-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.artwork-artist {
    font-size: 1rem;
    color: #c11f2c;
    margin-bottom: 10px;
    font-weight: 500;
}

.artwork-card .artwork-comment {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artwork-card .artwork-price {
    font-size: 1rem;
    color: #c11f2c;
    font-weight: 600;
    margin-top: 15px;
}

.no-artworks-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* ページネーション */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: #667eea;
    color: white;
}
@media (max-width: 768px) {
    .artworks-page-header {
        margin-top: 40px !important;
    }
}

/* ========================================
   Artwork Detail Page
   作品詳細ページ
   ======================================== */

.artwork-detail-container {
    padding: 60px 0;
    background: #fff;
}

/* パンくずリスト位置調整 */
.single-artwork .breadcrumb-wrapper {
    margin-top: 170px;
}

.artwork-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* 左側：画像 */
.artwork-detail-image {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.artwork-main-image {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-artwork-detail-image {
    width: 100%;
    height: 500px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

/* 右側：情報 */
.artwork-detail-info {
    padding-top: 20px;
}

.artwork-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
    line-height: 1.3;
}

.artwork-detail-artist {
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.artwork-detail-artist .label {
    color: #666;
}

.artwork-detail-artist .artist-link {
    color: #c11f2c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.artwork-detail-artist .artist-link:hover {
    color: #5563d1;
    text-decoration: underline;
}

.artwork-detail-comment {
    margin-bottom: 40px;
}

.artwork-detail-comment h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.artwork-detail-comment p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.artwork-detail-price {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 0;
    margin-bottom: 40px;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.price-value {
    display: block;
    font-size: 2rem;
    color: #c11f2c;
    font-weight: bold;
}

/* アクションボタン */
.artwork-detail-actions {
    margin-bottom: 40px;
}

.btn-contact {
    display: inline-block;
    width: 100%;
    padding: 20px 40px;
    background: #c11f2c;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-contact:hover {
    opacity: 0.7;
}

/* SNSシェア */
.artwork-share {
    display: none;
}

.artwork-share p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-buttons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
}

.share-buttons a:hover {
    transform: translateY(-3px);
    background: #e0e0e0;
}

/* 関連作品 */
.related-artworks {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.related-artworks h2 {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: white;
    background: #c79f64;
    padding: 10px 40px;
    border-radius: 30px;
    display: inline-block;
}

.related-artworks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-artwork-item {
    background: white;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.related-artwork-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.related-artwork-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-artwork-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.no-related-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.related-artwork-info {
    padding: 20px;
}

.related-artwork-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.related-price {
    font-size: 0.9rem;
    color: #e74c3c;
    font-weight: 600;
}

/* ナビゲーション */
.artwork-navigation {
    display: none;
    justify-content: space-between;
    margin-top: 60px;
    gap: 20px;
}

.nav-prev a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-prev a:hover,
.nav-next a:hover {
    background: #667eea;
    color: white;
}

.nav-arrow {
    font-size: 1.2rem;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .artwork-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .artwork-detail-image {
        position: static;
    }
    
    .related-artworks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .artworks-page-header .page-section-header .section-title {
        font-size: 1.5rem !important;
        padding: 5px 30px !important;
    }
    
    .artworks-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .artwork-card-image {
        height: 200px;
    }
    
    .artwork-detail-title {
        font-size: 2rem;
    }
    
    .btn-contact {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .price-value {
        font-size: 1.4rem;
    }
    
    .related-artworks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .artworks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .artwork-card-image {
        height: 150px;
    }
    
    .artwork-card-info {
        padding: 15px;
    }
    
    .artwork-card-title {
        font-size: 1rem;
    }
    
    .category-filter {
        gap: 10px;
    }
    
    .category-filter a {
        padding: 6px 40px;
        font-size: 0.9rem;
    }
    
    .artwork-detail-title {
        font-size: 1.5rem;
    }
    
    .artwork-detail-artist {
        font-size: 1rem;
    }
    
    .artwork-detail-comment p {
        font-size: 1rem;
    }
    
    .artwork-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-prev a,
    .nav-next a {
        width: 100%;
        justify-content: center;
    }
}
