/* ========================================
   加治聖哉 - 木彫造形作家 ウェブサイト
   ======================================== */

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

:root {
    --color-bg: #0a0a0a;
    --color-bg-light: #1a1a1a;
    --color-text: #e8e4df;
    --color-text-muted: #9a9590;
    --color-accent: #c4a574;
    --color-accent-hover: #d4b584;
    --color-border: #2a2a2a;
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Cormorant Garamond', serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    font-weight: 300;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-accent);
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-list a {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.nav-list a:hover {
    color: var(--color-text);
}

.nav-contact {
    padding: 8px 20px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent) !important;
}

.nav-contact:hover {
    background: var(--color-accent);
    color: var(--color-bg) !important;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1px;
    background: var(--color-text);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-list a {
    font-size: 20px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.4;
}

.hero-img-pc {
    display: block;
}

.hero-img-sp {
    display: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero-name-main {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.hero-name-en {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.hero-title-line {
    display: inline;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========================================
   ページヒーロー（サブページ用）
   ======================================== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 65px;
}

.page-hero .hero-bg img {
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-en);
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
}

/* ========================================
   セクション共通
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title-ja {
    font-size: 14px;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
}

/* ========================================
   イントロ
   ======================================== */
.intro {
    padding: 120px 0;
    background: var(--color-bg-light);
}

.intro-text {
    font-size: 18px;
    text-align: center;
    line-height: 2.4;
    margin-bottom: 60px;
}

.intro-line {
    display: inline;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-accent);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* ========================================
   カルーセル
   ======================================== */
.carousel-section {
    background: var(--color-bg);
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 40px;
}

.slide-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 24px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slide-info {
    text-align: center;
}

.slide-tag {
    font-size: 12px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.slide-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.slide-detail {
    font-size: 14px;
    color: var(--color-text-muted);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    background: rgba(10,10,10,0.8);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--color-accent);
}

/* ========================================
   ギャラリー
   ======================================== */
.gallery {
    padding: 60px 0 100px;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ========================================
   サービスカード
   ======================================== */
.services {
    background: var(--color-bg-light);
}

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

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    display: block;
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.service-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 32px;
}

.service-label {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.service-title {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.service-title-ja {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    font-size: 13px;
    color: var(--color-text-muted);
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.service-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.service-link {
    font-size: 13px;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

/* ========================================
   展示実績
   ======================================== */
.exhibition-section {
    background: var(--color-bg);
}

.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.exhibition-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.exhibition-item:hover {
    border-color: var(--color-accent);
}

.exhibition-image {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibition-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exhibition-info h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
}

.exhibition-info p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.exhibition-more {
    text-align: center;
}

/* ========================================
   特徴セクション
   ======================================== */
.features {
    background: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--color-accent);
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========================================
   YADORIGIバナー
   ======================================== */
.yadorigi-banner {
    background: linear-gradient(135deg, #1a1510, #0d0a08);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 80px 0;
}

.yadorigi-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: center;
}

.yadorigi-text {
    order: 1;
}

.yadorigi-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.yadorigi-title {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.yadorigi-copy {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.yadorigi-btn {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition);
}

.yadorigi-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.yadorigi-image {
    order: 2;
}

.yadorigi-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}

.yadorigi-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.yadorigi-content h3 {
    font-family: var(--font-en);
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.yadorigi-content p {
    font-size: 15px;
    line-height: 1.8;
}

.yadorigi-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 14px;
}

.yadorigi-link:hover {
    background: var(--color-accent-hover);
}

/* ========================================
   Gallery Page
   ======================================== */
.page-hero-short {
    height: 50vh;
    min-height: 400px;
}

.gallery-page {
    padding: 80px 0;
}

.gallery-intro {
    text-align: center;
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-muted);
    margin-bottom: 80px;
}

.gallery-category {
    margin-bottom: 80px;
}

.gallery-category-title {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.gallery-category-title span {
    font-family: var(--font-ja);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-left: 16px;
    letter-spacing: 0.05em;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    background: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.gallery-card-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card-info {
    padding: 20px;
}

.gallery-card-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.gallery-card-meta {
    font-size: 12px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.gallery-card-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ========================================
   About
   ======================================== */
.about,
.section-about {
    background: var(--color-bg);
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.about-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-profile-image {
    width: 100%;
}

.about-profile-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
}

.about-atelier {
    width: 100%;
}

.about-atelier img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.9;
}

.about-image {
    width: 400px;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-text {
    padding-top: 20px;
}

.about-text h3 {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.about-name {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-name-en {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.about-bio {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 24px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.about-statement {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 32px;
}

.about-links {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.about-links .social-link {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.about-links .social-link:hover {
    color: var(--color-accent);
}

.about-awards h4 {
    font-size: 14px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.about-awards ul {
    list-style: none;
}

.about-awards li {
    font-size: 13px;
    color: var(--color-text-muted);
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.about-awards li::before {
    content: '–';
    position: absolute;
    left: 0;
}

/* ========================================
   Contact
   ======================================== */
.contact {
    background: var(--color-bg-light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-ja);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 14px;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-accent-hover);
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 14px;
    letter-spacing: 0.1em;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 24px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-nav a:hover {
    color: var(--color-text);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ========================================
   サブページ用スタイル
   ======================================== */

/* サービス詳細 */
.service-detail {
    padding: 80px 0;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.service-intro p {
    font-size: 16px;
    line-height: 2;
}

/* サービスタイプ */
.service-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.service-type-card {
    padding: 40px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.service-type-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.service-type-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ポートフォリオグリッド */
.portfolio-section {
    background: var(--color-bg-light);
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.portfolio-overlay h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* 制作フロー */
.process-section {
    padding: 100px 0;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -20px;
    width: 40px;
    height: 1px;
    background: var(--color-border);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    font-family: var(--font-en);
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* サイズカテゴリー */
.size-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.size-card {
    padding: 40px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    text-align: center;
}

.size-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.size-spec {
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.size-price {
    font-family: var(--font-en);
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.size-card ul {
    list-style: none;
    text-align: left;
}

.size-card li {
    font-size: 14px;
    color: var(--color-text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

/* 廃材活用 */
.material-section {
    background: var(--color-bg-light);
    padding: 100px 0;
}

.material-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.material-text {
    flex: 1;
}

.material-text h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 24px;
}

.material-text p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 16px;
}

.material-image {
    flex: 1;
}

.material-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ワークショップタイプ */
.workshop-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.workshop-card {
    padding: 40px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.workshop-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.workshop-meta {
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.workshop-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* 料金ガイド */
.pricing-section {
    background: var(--color-bg-light);
    padding: 100px 0;
}

.pricing-table {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.pricing-row dt {
    font-size: 15px;
}

.pricing-row dd {
    font-family: var(--font-en);
    font-size: 16px;
    color: var(--color-accent);
}

.pricing-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* CTA */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-profile {
        flex-direction: row;
        gap: 20px;
        max-width: 500px;
    }
    
    .about-profile-image,
    .about-atelier {
        flex: 1;
    }
    
    .about-image {
        width: 100%;
        max-width: 400px;
    }
    
    .yadorigi-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .yadorigi-image {
        order: 1;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .yadorigi-text {
        order: 2;
    }
    
    .gallery-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .size-categories {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .material-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-bg img {
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-img-pc {
        display: none;
    }
    
    .hero-img-sp {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 0.2em;
        margin-bottom: 20px;
    }
    
    .hero-name-main {
        font-size: 36px;
        letter-spacing: 0.1em;
        margin-bottom: 6px;
    }
    
    .hero-name-en {
        font-size: 12px;
        margin-bottom: 28px;
    }
    
    .hero-title {
        font-size: 16px;
        line-height: 2.2;
    }
    
    .hero-title-line {
        display: block;
    }
    
    .intro {
        padding: 80px 0;
    }
    
    .intro-text {
        font-size: 15px;
        line-height: 2.6;
    }
    
    .intro-line {
        display: block;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .exhibition-grid {
        grid-template-columns: 1fr;
    }
    
    .exhibition-item {
        flex-direction: column;
    }
    
    .exhibition-image {
        width: 100%;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-profile {
        flex-direction: column;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .service-types,
    .workshop-types,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title-en {
        font-size: 32px;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.gallery-large {
        grid-column: span 1;
    }
}

/* ========================================
   動的フォームフィールド
   ======================================== */
.dynamic-fields {
    animation: fadeIn 0.3s ease;
    margin-bottom: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   About Page Styles
   ======================================== */

/* ヒーローセクション */
.about-hero {
    background: var(--color-bg-alt);
    padding: 120px 0 80px;
}

.about-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero-image {
    width: 280px;
    height: 280px;
    margin-bottom: 40px;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-hero-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.about-hero-name {
    font-family: var(--font-ja);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-hero-name-en {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
}

/* プロフィールセクション */
.about-profile-section {
    padding: 80px 0;
}

.about-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-section-title {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.profile-data {
    margin-bottom: 32px;
}

.profile-data-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light, #eee);
}

.profile-data-row dt {
    width: 80px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.profile-data-row dd {
    flex: 1;
    font-size: 0.95rem;
}

.about-statement {
    margin-bottom: 32px;
}

.about-statement p {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 16px;
}

.about-social {
    margin-top: 32px;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.about-atelier-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-caption {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 12px;
    text-align: center;
}

/* 活動内容セクション */
.about-works-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.about-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-work-item {
    text-align: center;
    padding: 32px 24px;
}

.about-work-item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.about-work-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }
    
    .about-hero-image {
        width: 200px;
        height: 200px;
        margin-bottom: 32px;
    }
    
    .about-hero-name {
        font-size: 2rem;
    }
    
    .about-profile-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-profile-side {
        order: -1;
    }
    
    .about-works-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-work-item {
        padding: 24px;
        background: var(--color-bg);
    }
}

/* ========================================
   Thanks / Error Page
   ======================================== */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}

.thanks-content {
    text-align: center;
}

.thanks-content h1 {
    font-family: var(--font-ja);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.thanks-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.thanks-content .btn {
    margin-top: 40px;
}
