/*
  温かみのある和風デザインのスタイルシート
  - Color Palette:
    - Background: #fdfcf8 (和紙のようなオフホワイト)
    - Text: #5c5c5c (柔らかい墨色)
    - Primary Accent: #386641 (落ち着いた緑)
    - Secondary Accent: #a77b59 (木材のような茶色)
  - Typography:
    - Headings: Shippori Mincho (上品な明朝体)
    - Body: Noto Sans JP (可読性の高いゴシック体)
*/

:root {
    --bg-color: #fdfcf8;
    --text-color: #5c5c5c;
    --primary-color: #386641;
    --secondary-color: #a77b59;
    --border-color: #e0ddd5;
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

/* --- Base & Typography --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 500;
}

/* --- Header --- */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav li:not(:last-child) {
    margin-right: 30px;
}

.header__cart a {
    display: flex;
    align-items: center;
}

.header__cart svg {
    margin-right: 8px;
}

/* --- Hero --- */
.hero {
    background-image: url('https://placehold.co/1920x600/f3f2ed/cccccc?text=伝統工芸のイメージ');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn--primary:hover {
    background-color: #2b5234;
    border-color: #2b5234;
    color: #fff;
}

.btn--secondary {
    background-color: #fff;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn--secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* --- Featured Products --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card__body {
    padding: 20px;
    flex-grow: 1;
}

.product-card__name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.product-card .btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
}

/* --- About Section --- */
.about__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about__text, .about__image {
    flex: 1;
}

.about__text p {
    margin-bottom: 30px;
}

.about__image img {
    border-radius: 8px;
}

/* --- News Section --- */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.news-list__item {
    border-bottom: 1px solid var(--border-color);
}

.news-list__item a {
    display: flex;
    align-items: center;
    padding: 20px 10px;
}

.news-list__item time {
    margin-right: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background-color: #f3f2ed;
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
}

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

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .header__nav {
        display: none; /* Simple hide for now, can be replaced with hamburger menu */
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .about__inner {
        flex-direction: column;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 40px;
    }
}
