/* ============================================================
   VISQUA フロントセクション用スタイル（管理画面から編集可能）
   元の外観（layout.css/style.css）を維持しつつ、
   トップページの各ブロックを同じデザインで再現します。
   ============================================================ */

:root {
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --gold: #C5A059;
    --gold-dark: #9E7B3C;
    --gold-light: #E2C28B;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --gray: #2E2E2E;
    --gray-light: #D1D1D1;
    --transition: all 0.4s ease;
}

body {
    font-family: 'Inter', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: var(--black);
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .serif, .brand-name {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #a2a2a261 0%, #444444c4 0%);
    height: 85vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    mix-blend-mode: overlay;
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
    padding: 0 20px;
}
.hero h1 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.hero .hero-sub {
    font-size: 1.2rem;
    color: var(--off-white);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero .hero-sub { font-size: 1rem; }
}

/* ---------- セクション共通 ---------- */
.section-title {
    text-align: center;
    margin-bottom: 6px;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
    color: var(--black);
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gold);
}
.section-sub {
    color: #555;
    margin-top: 20px;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .section-title h2 { font-size: 2.2rem; }
}

/* ---------- 私たちの想い ---------- */
.message-section {
    background: var(--off-white);
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-light);
}
.message-container {
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #ece4d7;
    padding: 48px 56px;
}
.message-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}
.message-content h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}
.unified-message {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 400;
}
.unified-message p { margin-bottom: 1.2rem; }
@media (max-width: 768px) {
    .message-container { padding: 32px 28px; }
    .message-content { text-align: center; }
    .message-content h2:after { left: 50%; transform: translateX(-50%); }
}

/* ---------- ニュース ---------- */
.news-section {
    padding: 80px 0;
    background: var(--white);
}
.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}
.news-grid > li {
    width: 25%;
    padding: 0 12px;
    box-sizing: border-box;
    margin-bottom: 24px;
    list-style: none;
}
.news-grid li a {
    display: block;
    border: 1px solid #e3e3eb;
    background: #fff;
    transition: box-shadow .4s ease, transform .4s ease;
}
.news-grid li:hover a {
    box-shadow: 0 0 8px 0 rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.news-grid .tiothumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eaebf5;
}
.news-grid .tiothumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}
.news-grid li:hover .tiothumb img { transform: scale(1.03); }
.news-grid .tioinfor {
    padding: 15px;
    border-top: 1px solid #e3e3eb;
}
.news-grid .text {
    color: #2c2d3a;
    font-weight: 600;
    display: -webkit-box;
    height: 48px;
    line-height: 24px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-grid .excerpt {
    color: #8a8b9c;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-grid .date {
    color: #d82019;
    display: block;
    padding-top: 8px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: .04em;
}
@media (max-width: 1024px) {
    .news-grid > li { width: 50%; }
}
@media (max-width: 560px) {
    .news-grid > li { width: 100%; }
}

/* ---------- 商品一覧 / Product ---------- */
.products-section {
    padding: 60px 0 100px;
    background: var(--off-white);
}
.product-list .pro-img {
    overflow: hidden;
    background: #e9e2d4;
}
.product-list .pro-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.product-list li:hover .pro-img img { transform: scale(1.03); }
.product-list .pro-text {
    padding: 18px 14px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--black);
    border-top: 1px solid #ece4d7;
}

/* ---------- 会社概要 + 採用 ---------- */
.company-section {
    background: var(--white);
    padding: 80px 0;
}
.company-card {
    background: #FEFCF8;
    border-radius: 32px;
    padding: 48px;
    border: 1px solid #ece4d7;
    margin-bottom: 56px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0 24px;
}
.info-item {
    border-bottom: 1px dashed #ddd;
    padding: 8px 0;
}
.recruit-box {
    background: #F5F2EB;
    border-radius: 28px;
    padding: 40px;
    margin-top: 20px;
}
.job-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 28px 0 20px;
}
.job-tag {
    background: white;
    border-radius: 60px;
    padding: 10px 24px;
    border: 1px solid var(--gold);
    font-weight: 500;
}
@media (max-width: 768px) {
    .company-card { padding: 28px 20px; }
    .info-grid { grid-template-columns: 1fr; }
    .recruit-box { padding: 28px 20px; }
    .job-tag { font-size: 0.85rem; padding: 6px 18px; }
}

/* ---------- コンプライアンスバナー ---------- */
.compliance-block {
    background: #F3EFE7;
    padding: 28px 20px;
    border-radius: 28px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
    border: 1px solid #e0d6ca;
}
.compliance-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
}
.compliance-item i {
    font-size: 1.2rem;
    color: var(--gold);
}
.privacy-link-block {
    color: var(--gold-dark);
    text-decoration: none;
    border-bottom: 1px dashed var(--gold);
    cursor: pointer;
    transition: var(--transition);
}
.privacy-link-block:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.age-warning {
    background: rgba(197, 160, 89, 0.15);
    padding: 8px 20px;
    border-radius: 60px;
}
@media (max-width: 768px) {
    .compliance-block { flex-direction: column; gap: 18px; padding: 20px; margin-bottom: 30px; }
    .compliance-item { font-size: 0.85rem; }
}

/* ---------- 内页内容（Pledetext 内のオプション出力） ---------- */
.vis-info-table {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
    margin: 0 0 28px;
}
.vis-info-table th,
.vis-info-table td {
    border: 1px solid #e3e3e3;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.95rem;
    vertical-align: top;
}
.vis-info-table th {
    width: 140px;
    background: #f7f4ee;
    color: #6b5836;
    font-weight: 600;
    white-space: nowrap;
}
.Pledetext h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--black);
    margin: 28px 0 14px;
}
.vis-page-fig {
    margin: 0 0 24px;
}
.vis-page-fig img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.job-list {
    margin: 18px 0;
}
.job-tag {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    background: #fbf6ec;
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 0.85rem;
    margin: 0 8px 8px 0;
}
.btn-outline-gold {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all .3s ease;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

/* ---------- モーダル ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-content {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 32px;
    border-radius: 28px;
    position: relative;
}
.news-img-modal img {
    max-width: 100%;
    border-radius: 20px;
    max-height: 300px;
    object-fit: cover;
}
button.btn-outline-gold {
    border: 1.5px solid var(--gold);
    background: transparent;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

/* ---------- 共通テンプレート（会社概要/事業内容/採用） ---------- */
.vis-page-banner {
    background: var(--black);
    background-size: cover;
    background-position: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.vis-page-banner h1 {
    color: #fff;
    font-size: 2.6rem;
    text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.vis-page-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 20px;
    font-size: 1.05rem;
    line-height: 1.9;
}
.vis-page-body h2 { font-size: 1.8rem; margin: 36px 0 16px; color: var(--black); }
.vis-page-body h3 { font-size: 1.4rem; margin: 28px 0 12px; }
.vis-page-body p { margin-bottom: 1.2rem; }
.vis-page-body img { max-width: 100%; height: auto; border-radius: 12px; }
.vis-page-body ul { margin: 0 0 1.2rem 1.4rem; list-style: disc; }
.vis-page-body li { margin-bottom: .5rem; }
.vis-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 36px;
    background: #FEFCF8;
    border: 1px solid #ece4d7;
    border-radius: 16px;
    overflow: hidden;
}
.vis-info-table th,
.vis-info-table td {
    padding: 14px 20px;
    border-bottom: 1px dashed #e3dccd;
    font-size: 1rem;
    text-align: left;
    vertical-align: top;
}
.vis-info-table tr:last-child th,
.vis-info-table tr:last-child td { border-bottom: none; }
.vis-info-table th {
    width: 160px;
    color: var(--gold-dark);
    font-weight: 600;
    background: #F7F3EA;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .vis-info-table th { width: 110px; padding: 12px 14px; font-size: .9rem; }
    .vis-info-table td { padding: 12px 14px; font-size: .92rem; }
}

/* =========================================================
   分类归档列表：商品(cat=22) / 新闻(cat=21)
   一行三列（桌面），手机一行一列
   原 theme 用 col-sm-*/col-xs-*（Bootstrap 网格未加载，失效），
   这里用 CSS Grid 直接实现响应式。
   ========================================================= */
@media (min-width: 768px) {
    .product-list ul,
    .newscenter-list ul {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .product-list li,
    .newscenter-list li {
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }
    .product-list li img,
    .newscenter-list li img {
        width: 100% !important;
        height: auto !important;
    }
}
@media (max-width: 767px) {
    .product-list ul,
    .newscenter-list ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .product-list li,
    .newscenter-list li {
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
    }
    .product-list li img,
    .newscenter-list li img {
        width: 100% !important;
        height: auto !important;
    }
}

/* =========================================================
   full-inside-subnav 区域外观优化
   - 面包屑显示出来（原 display:none），更清晰的导航层级
   - 移动端子导航改为始终可见的横向滚动条（避免隐藏下拉无法展开）
   - 移动端隐藏重复的 clumb-title，避免与 channel-title 重复
   ========================================================= */
.full-inside-subnav .crumb {
    display: block !important;
    padding: 10px 0 0;
    font-size: 13px;
    color: #9a9aa6;
}
.full-inside-subnav .crumb .inner {
    line-height: 1.6;
}
.full-inside-subnav .crumb a {
    color: #9a9aa6;
    text-decoration: none;
}
.full-inside-subnav .crumb a:hover { color: #d82019; }
.full-inside-subnav .crumb .home {
    display: inline-block;
    width: 14px; height: 14px;
    vertical-align: -2px;
    margin-right: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a9aa6'%3E%3Cpath d='M12 3 2 12h3v8h6v-5h2v5h6v-8h3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 移动端：子导航横向滚动 + 面包屑 + 去重标题 */
@media (max-width: 1023px) {
    .full-inside-subnav .subnav {
        display: block !important;
        position: static !important;
        background: #fff !important;
        box-shadow: none !important;
        border-top: 0 !important;
        padding-bottom: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .full-inside-subnav .subnav ul {
        display: inline-flex !important;
        height: auto !important;
    }
    .full-inside-subnav .subnav li {
        display: inline-block !important;
        height: auto !important;
        margin: 0 18px 0 0 !important;
        flex: 0 0 auto;
    }
    .full-inside-subnav .subnav a {
        float: none !important;
        display: inline-block !important;
        line-height: 48px !important;
        padding: 0 !important;
        border-bottom: 0 !important;
        font-size: 14px;
        color: #58596d;
    }
    .full-inside-subnav .channel-title::after { display: none !important; }
    .common-clumb-min { display: none !important; }
}
