/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-contact {
    background: #330099;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 4px;
}

/* メインビジュアル */
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* 伝統織物グリッド */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px auto;
    text-align: center;
}

.feature-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

/* ご挨拶 */
.greeting {
    margin-bottom: 80px;
    max-width: 700px;
}

.greeting h2 {
    font-family: 'Noto Serif JP', serif;
    color: #330099;
    margin-bottom: 20px;
}

.signature {
    margin-top: 20px;
    font-weight: bold;
    text-align: right;
}

.hr {
    height: 1px;
    background: #eee;
    margin-bottom: 40px;
}

/* フッター */
footer {
    background: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* スマホ対応の調整 */
@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
}
/* ページヘッダー */
.page-header {
    padding: 60px 0 40px;
}
.page-header h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    color: #330099;
    margin-bottom: 30px;
    border-left: 5px solid #330099;
    padding-left: 15px;
}
.page-visual img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* 共通タイトル */
.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #444;
}
.section-margin {
    margin-bottom: 80px;
}

/* 会社概要テーブル */
.office-table {
    width: 100%;
    border-collapse: collapse;
}
.office-table th, .office-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.office-table th {
    width: 200px;
    background: #f9f9f9;
    color: #666;
    font-weight: 500;
}

/* 沿革 */
.history-list {
    border-left: 2px solid #eee;
    padding-left: 20px;
}
.history-item {
    display: flex;
    margin-bottom: 15px;
}
.history-item span {
    width: 100px;
    font-weight: bold;
    color: #330099;
}

/* 取引先グリッド */
.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.partner-box {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 8px;
}
.partner-box h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #330099;
}
.partner-box p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* アクセス */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.map-dummy {
    background: #eee;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .partner-grid, .access-content {
        grid-template-columns: 1fr;
    }
    .office-table th, .office-table td {
        display: block;
        width: 100%;
    }
    .office-table th {
        background: none;
        padding-bottom: 0;
        color: #330099;
    }
}
/* 商品紹介ページ用 */
.intro-text {
    margin-top: 20px;
    color: #666;
}

/* ピックアップ商品（横並びレイアウト） */
.product-feature {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
}
.product-feature.reverse {
    flex-direction: row-reverse; /* 画像と説明を交互に配置 */
}
.product-img-main {
    flex: 1;
}
.product-img-main img {
    width: 100%;
    border-radius: 5px;
}
.product-detail {
    flex: 1;
}
.category {
    color: #330099;
    font-weight: bold;
    font-size: 0.9rem;
}
.material-note {
    background: #f0f0f0;
    padding: 15px;
    margin: 15px 0;
    border-left: 3px solid #330099;
    font-size: 0.9rem;
}

/* ギャラリー（タイル状） */
.sub-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Noto Serif JP', serif;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.gallery-item {
    text-align: center;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px); /* マウスを置くと少し浮く演出 */
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}
.gallery-item p {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .product-feature, .product-feature.reverse {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr; /* スマホでは2列 */
    }
}
.hero-content {
    position: relative; /* 文字を重ねるための土台 */
}
.hero-text {
    position: absolute; /* 画像の上に浮かせる */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 真ん中に配置 */
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* 文字を見やすく */
}
/* お問い合わせページ用スタイル */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-card h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #330099;
}

.email-address {
    margin: 25px 0;
}

.email-address a {
    display: inline-block;
    background: #330099;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* 角を丸くしてボタン風に */
    font-size: 1.1rem;
    transition: 0.3s;
}

.email-address a:hover {
    background: #4422aa;
    transform: translateY(-2px);
}

.tel-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #444;
}

.tel-number .label {
    font-size: 0.9rem;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 10px;
}

.small-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    line-height: 1.5;
}

.contact-notice {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 80px;
    border-left: 5px solid #ddd;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}
.map-area iframe {
    width: 100% !important; /* 親要素の幅いっぱいに広げる */
    height: 350px;          /* 高さは自由に変更してください */
    border-radius: 8px;     /* 他の画像と合わせて少し角を丸くすると綺麗です */
}