/* 明朝体・縦書きデザイン - selecthome5 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --gray-light: #fafafa;
    --gray-medium: #e8e8e8;
    --gray-dark: #666666;
    --primary: #2d4a2b;
    --secondary: #4a7c59;
    --accent: #8b956d;
    --gradient-start: #2d4a2b;
    --gradient-end: #4a7c59;
    --gold: #c9b037;
    --washi: #f8f5f0;
    --sumi: #1a1a1a;
}

body {
    font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--washi);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(45,74,43,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(74,124,89,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 40% 40%, rgba(139,149,109,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ミニマルヘッダー */
.minimal-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 25px 60px;
    box-shadow: 0 1px 0 rgba(45,74,43,0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(45,74,43,0.1);
}

.minimal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.2em;
    font-family: 'Noto Serif JP', serif;
    color: var(--primary);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    position: relative;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    display: block;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1px;
}

.menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1px;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--black);
    color: var(--white) !important;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--primary);
    opacity: 1 !important;
}

.nav-cta:hover::after {
    width: 0;
}

/* ヒーローセクションはhero.cssで定義 */

/* セクション共通 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
}

.header-line {
    width: 60px;
    height: 1px;
    background: var(--primary);
}

/* アバウト */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

.about-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-dark);
    margin-bottom: 40px;
    font-family: 'Noto Sans JP', sans-serif;
}

.company-info-minimal {
    display: flex;
    gap: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    color: var(--gray-dark);
    margin-bottom: 5px;
    font-family: 'Noto Sans JP', sans-serif;
}

.info-value {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 100%;
    height: 450px;
    background: var(--gray-light);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: translateY(-5px);
}

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

/* サービス */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 50px 40px;
    background: var(--white);
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: translateX(0);
}

.card-number {
    font-size: 32px;
    font-weight: 300;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-dark);
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 実績 */
.works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.work-item {
    cursor: pointer;
    transition: opacity 0.3s;
}

.work-item:hover {
    opacity: 0.9;
}

.work-image {
    width: 100%;
    height: 300px;
    background: var(--gray-light);
    border-radius: 0;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.work-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.work-item:hover .work-image::before {
    opacity: 1;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.work-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.work-info p {
    font-size: 13px;
    color: var(--gray-dark);
    font-family: 'Noto Sans JP', sans-serif;
}

/* コンタクト */
.contact-minimal {
    background: rgba(245,245,220,0.5);
}

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

.contact-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 300;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.contact-box > p {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 60px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-method h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.contact-number {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--black);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
}

.contact-hours {
    font-size: 13px;
    color: var(--gray-dark);
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-contact {
    display: inline-block;
    padding: 18px 60px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: 2px;
    transition: all 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
}

.btn-contact:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* フッター */
.footer-minimal {
    background: var(--black);
    color: var(--white);
    padding: 80px 40px;
}

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

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

.footer-info p {
    font-size: 13px;
    line-height: 2;
    opacity: 0.8;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-copyright p {
    font-size: 11px;
    opacity: 0.6;
    font-family: 'Noto Sans JP', sans-serif;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-brand {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .nav-menu .nav-cta {
        padding: 12px 30px;
        margin-top: 10px;
    }

    .menu-toggle {
        display: flex;
    }
    
    /* スライダーの矢印を非表示 */
    .slide-nav,
    .nav-btn {
        display: none;
    }
    
    .hero-content {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
        width: 100%;
    }
    
    .hero-text-vertical {
        writing-mode: horizontal-tb;
        text-align: center;
    }
    
    .hero-title-vertical {
        flex-direction: row-reverse;
        gap: 20px;
    }
    
    .title-main {
        font-size: 32px;
        letter-spacing: 0.1em;
    }
    
    .hero-desc-vertical {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .about-grid,
    .service-cards,
    .works-list,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 60px 20px;
    }
}

/* ページヒーロー - 共通スタイル */
.page-hero {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(135deg, #2d4a2b 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    z-index: 1;
}

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

.page-title {
    font-size: 48px;
    font-weight: 300;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 16px;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Contact Form 7 スタイル */
.wpcf7 {
    margin: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.wpcf7-form label {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--black);
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    padding: 15px 20px;
    border: 1px solid var(--gray-medium);
    background: var(--white);
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    border-radius: 6px;
    color: var(--black);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 74, 43, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 140px;
}

.wpcf7-form input[type="submit"] {
    align-self: center;
    padding: 20px 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 200px;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 74, 43, 0.3);
}

.wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.wpcf7-response-output {
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.wpcf7-mail-sent-ok {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.wpcf7-spam-blocked {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffcc02;
}

/* Contact Form Section Styling */
.contact-form-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.contact-intro p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-light);
    border-radius: 10px;
}

.contact-info-item h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-phone a {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-phone a:hover {
    color: var(--primary);
}

.contact-hours,
.contact-address,
.contact-note {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-address {
    line-height: 1.8;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 20px;
    }

    .contact-form {
        padding: 30px 25px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-item {
        padding: 30px 20px;
    }

    .contact-phone a {
        font-size: 20px;
    }
}