/*
Theme Name: 米の丸屋 オリジナルテーマ
Author: あなたのお名前
Description: 米の丸屋のビジネス用オリジナルテーマです。
Version: 1.0
*/


/* --- 基本設定 --- */
:root {
    --primary-color: #6a5a4c; /* 濃い茶色 */
    --secondary-color: #c4a777; /* 黄金色 */
    --bg-color: #fdfaf4; /* 背景のベージュ */
    --text-color: #333;
    --light-bg-color: #fff;
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--light-bg-color);
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #ad8f61;
    transform: translateY(-3px);
}

/* --- ヘッダー --- */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.nav a:not(.nav-button)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav a:not(.nav-button):hover::after {
    transform: scaleX(1);
}

.nav-button {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.nav-button:hover {
    background-color: #ad8f61;
}

/* --- ヒーローセクション --- */
.hero {
    background-image: url('https://images.unsplash.com/photo-1599553258814-6a4a4907a757?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=1600');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- こだわりセクション --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}
.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* --- サービス内容セクション --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- お申込みの流れセクション --- */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-top: 50px;
}


/* --- お申込みフォームセクション --- */
.contact-lead {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(196, 167, 119, 0.5);
}

.contact-form .btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
}


/* --- フッター --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.logo-footer {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 10px;
}


/* --- レスポンシブ対応 (スマートフォン) --- */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-button {
        padding: 10px 25px;
    }

    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}