/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #faf9f6; /* 上質な紙のようなオフホワイト */
    color: #2b2b2b; /* 真っ黒ではない墨色 */
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.header {
    text-align: center;
    padding: 100px 20px 80px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #666;
}

/* メインコンテンツ（ポートフォリオのグリッド） */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px 40px;
}

/* 個別の作品アイテム */
.work-item {
    display: block;
    cursor: pointer;
}

/* 画像ラッパーとアニメーション */
.image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* ★一般的な横長（16:9）の比率に変更しました */
    overflow: hidden;
    background-color: #eae8e1; /* 画像読み込み前のプレースホルダー色 */
    margin-bottom: 20px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); /* なめらかなズーム */
}

.work-item:hover .image-wrapper img {
    transform: scale(1.03); /* マウスオーバーでわずかにズームイン */
}

/* 作品テキスト */
.work-info {
    text-align: center;
}

.work-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.work-category {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.05em;
}

.work-item:hover .work-title {
    color: #777;
}

/* フッターとコンタクト */
.footer {
    text-align: center;
    padding: 120px 20px 60px;
}

.contact {
    margin-bottom: 60px;
}

.contact p {
    font-size: 13px;
    margin-bottom: 16px;
    color: #555;
}

.email-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #2b2b2b;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.email-link:hover {
    color: #888;
    border-color: #888;
}

.copyright {
    font-size: 10px;
    color: #aaa;
    letter-spacing: 0.05em;
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    .main-content {
        padding: 0 20px;
    }
    .portfolio-grid {
        gap: 60px 20px;
    }
    .header {
        padding: 80px 20px 60px;
    }
}

/* =========================================
   Price Section (料金表)
========================================= */
.price-section {
    max-width: 800px;
    margin: 120px auto 40px; /* 上の作品群との余白 */
    padding: 0 40px;
    text-align: center;
}

.price-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    color: #2b2b2b;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eae8e1; /* 上品な薄い区切り線 */
    padding-bottom: 15px;
    text-align: left;
}

.price-plan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.05em;
    flex: 1; /* 幅の割合 */
}

.price-desc {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.05em;
    flex: 1;
}

.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    letter-spacing: 0.05em;
    flex: 0.5;
    text-align: right;
}

.price-note {
    font-size: 10px;
    color: #aaa;
    letter-spacing: 0.05em;
    margin-top: 30px;
}

/* スマホ用の調整（Price部分） */
@media (max-width: 768px) {
    .price-section {
        margin: 80px auto 20px;
        padding: 0 20px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .price-plan {
        font-size: 16px;
    }
    
    .price-amount {
        text-align: center;
        margin-top: 4px;
    }
}
/* =========================================
   Contact Form (お問い合わせフォーム)
========================================= */
.contact-section {
    max-width: 600px;
    margin: 120px auto 80px;
    padding: 0 20px;
    text-align: center;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    color: #2b2b2b;
}

.contact-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    background-color: transparent;
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
}

/* 入力中の枠線の色 */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #2b2b2b;
}

.submit-btn {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #faf9f6;
    background-color: #2b2b2b;
    border: none;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #555;
}

/* フッターの微調整 */
.footer {
    text-align: center;
    padding: 20px 20px 60px;
}