@charset "UTF-8";

/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    overflow-x: hidden;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 45px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #4a90d9;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #4a90d9;
    color: #fff;
    /* border-radius: 4px; */
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.menu-btn:hover {
    background: #3a7bc8;
}

/* スマホ用ヘッダーアイコン（PC非表示） */
.header-sp-icons {
    display: none;
}

/* スマホ用ナビゲーション（PC非表示） */
.sp-nav {
    display: none;
}

/* ========================================
   ヒーロー
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 50px 80px;
    overflow: hidden;
}

/* 背景の角張ったシェイプ */
.geo-shape {
    position: absolute;
    opacity: 0.4;
    z-index: 1;
}

.geo-shape-1 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #c5d8f7 0%, #a8c5f0 100%);
    top: -80px;
    right: -80px;
    transform: rotate(15deg);
    clip-path: polygon(25% 0%, 100% 0%, 100% 75%, 75% 100%, 0% 100%, 0% 25%);
    animation: geoMove1 15s ease-in-out infinite;
}

.geo-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #d4e4f9 0%, #b8d4f5 100%);
    bottom: -50px;
    left: -80px;
    transform: rotate(-10deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: geoMove2 12s ease-in-out infinite;
}

.geo-shape-3 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #e8f0fc 0%, #cde0f7 100%);
    top: 35%;
    left: 25%;
    transform: rotate(25deg);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation: geoMove3 18s ease-in-out infinite;
}

@keyframes geoMove1 {
    0%, 100% { transform: rotate(15deg) translate(0, 0); }
    50% { transform: rotate(20deg) translate(-20px, 20px); }
}

@keyframes geoMove2 {
    0%, 100% { transform: rotate(-10deg) translate(0, 0); }
    50% { transform: rotate(-5deg) translate(15px, -15px); }
}

@keyframes geoMove3 {
    0%, 100% { transform: rotate(25deg) translate(0, 0); }
    50% { transform: rotate(30deg) translate(-15px, 15px); }
}

/* 装飾シェイプ（角張り） */
.shape {
    position: absolute;
    z-index: 2;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90d9 0%, #6ba3e0 100%);
    top: 18%;
    left: 12%;
    transform: rotate(45deg);
    animation: shapeFloat 6s ease-in-out infinite;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7bb5eb 0%, #a8d0f5 100%);
    top: 65%;
    left: 6%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: shapeFloat 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a90d9 0%, #7bb5eb 100%);
    bottom: 22%;
    right: 10%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 70% 100%, 0% 100%);
    animation: shapeFloat 7s ease-in-out infinite;
}

.shape-4 {
    width: 30px;
    height: 30px;
    background: #a8d0f5;
    top: 28%;
    right: 18%;
    transform: rotate(45deg);
    animation: shapeFloat 5s ease-in-out infinite;
}

.shape-5 {
    width: 50px;
    height: 50px;
    border: 3px solid #4a90d9;
    top: 45%;
    left: 40%;
    transform: rotate(15deg);
    animation: shapeFloat 9s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

/* ========================================
   ヒーローコンテンツ
======================================== */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    flex-shrink: 0;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #4a90d9, #6ba3e0);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    /* border-radius: 2px; */
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.4;
    color: #1a1a2e;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.5s forwards;
}

.hero-title .highlight {
    color: #4a90d9;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.9s forwards;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 220px;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 500;
    /* border-radius: 4px; */
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90d9 0%, #5c9de0 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 217, 0.4);
}

.btn-outline {
    background: #fff;
    color: #4a90d9;
    border: 2px solid #4a90d9;
}

.btn-outline:hover {
    background: #4a90d9;
    color: #fff;
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   画像エリア
======================================== */
.hero-images {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    height: 90%;
    z-index: 5;
}

.image-card {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
    opacity: 0;
    animation: fadeInRight 1s forwards;
}

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

.image-card-1 {
    width: 520px;
    height: 300px;
    top: 10%;
    right: 5%;
    /* border-radius: 4px; */
    animation-delay: 0.4s;
}

.image-card-2 {
    width: 440px;
    height: 260px;
    top: 38%;
    right: 35%;
    /* border-radius: 4px; */
    animation-delay: 0.6s;
}

.image-card-3 {
    width: 480px;
    height: 280px;
    bottom: 5%;
    right: 0%;
    /* border-radius: 4px; */
    animation-delay: 0.8s;
}

/* ========================================
   スクロールインジケーター
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
    font-size: 0.85rem;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s 1.2s forwards;
}

.scroll-line {
    width: 50px;
    height: 2px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #4a90d9;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========================================
   共通セクション
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 25px;
    line-height: 1.6;
}

.section-desc {
    text-align: center;
    color: #666;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-btn {
    text-align: center;
    margin-top: 50px;
}

.sp-only {
    display: none;
}

/* ========================================
   スクロールアニメーション
======================================== */
.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);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* カードの連続フェードイン */
.fade-in-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   サービス紹介セクション
======================================== */
.service-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
    overflow: hidden;
}

/* 背景シェイプ */
.service-shape {
    position: absolute;
    opacity: 0.3;
    z-index: 0;
}

.service-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #c5d8f7 0%, #a8c5f0 100%);
    top: -100px;
    right: -150px;
    transform: rotate(15deg);
    clip-path: polygon(25% 0%, 100% 0%, 100% 75%, 75% 100%, 0% 100%, 0% 25%);
}

.service-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #d4e4f9 0%, #b8d4f5 100%);
    bottom: -80px;
    left: -100px;
    transform: rotate(-20deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #4a90d9, #6ba3e0);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    /* border-radius: 2px; */
    margin-bottom: 20px;
}

.section-title .highlight {
    color: #4a90d9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    background: #fff;
    /* border-radius: 4px; */
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.service-card-content {
    padding: 30px;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4a90d9, #6ba3e0);
}

.service-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.9;
}

/* ========================================
   新着情報セクション
======================================== */
.news-section {
    position: relative;
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.news-card {
    background: #fff;
    /* border-radius: 4px; */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.news-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.news-card a:hover {
    opacity: 0.7;
}

.news-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

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

.news-card-content {
    padding: 20px;
}

.news-card-date {
    display: block;
    font-size: 0.85rem;
    color: #4a90d9;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ニューススライダーラッパー */
.news-slider-wrapper {
    position: relative;
}

/* PC時は矢印非表示 */
.news-slider-arrow {
    display: none;
}

/* ========================================
   パートナー募集セクション
======================================== */
.partner-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #4a90d9 0%, #5c9de0 100%);
    overflow: hidden;
}

/* 背景シェイプ */
.partner-shape {
    position: absolute;
    opacity: 0.15;
    z-index: 0;
}

.partner-shape-1 {
    width: 400px;
    height: 400px;
    background: #fff;
    top: -150px;
    right: -100px;
    transform: rotate(15deg);
    animation: partnerFloat1 20s linear infinite;
}

.partner-shape-2 {
    width: 300px;
    height: 300px;
    background: #fff;
    bottom: -100px;
    left: -80px;
    transform: rotate(-20deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: partnerFloat2 15s linear infinite;
}

@keyframes partnerFloat1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes partnerFloat2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.partner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.partner-section .section-label {
    background: rgba(255, 255, 255, 0.2);
}

.partner-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.partner-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 2;
    margin-bottom: 40px;
}

.btn-white {
    background: #fff;
    color: #4a90d9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   新着情報一覧セクション
======================================== */
.news-list-section {
    padding: 80px 0;
    background: #fff;
}

.news-list {
    border-top: 1px solid #e5e5e5;
}

.news-list-item {
    border-bottom: 1px solid #e5e5e5;
}

.news-list-item a {
    display: flex;
    align-items: center;
    padding: 25px 15px;
    text-decoration: none;
    transition: background 0.3s;
}

.news-list-item a:hover {
    background: #f8faff;
}

.news-list-date {
    flex-shrink: 0;
    width: 120px;
    font-size: 0.9rem;
    color: #4a90d9;
    font-weight: 500;
}

.news-list-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.6;
}

.news-list-item i {
    flex-shrink: 0;
    color: #4a90d9;
    font-size: 0.8rem;
    margin-left: 20px;
}

/* ========================================
   記事詳細セクション
======================================== */
.news-detail-section {
    padding: 80px 0;
    background: #fff;
}

.news-detail-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.news-detail-date {
    display: inline-block;
    font-size: 0.9rem;
    color: #4a90d9;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.5;
}

.news-detail-content {
    margin-bottom: 50px;
}

.news-detail-content p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 1.5em;
}

.news-detail-content p:last-child {
    margin-bottom: 0;
}

.news-detail-image {
    margin: 30px 0;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-back {
    text-align: center;
}

.news-detail-back .btn-outline {
    gap: 10px;
}

/* ========================================
   会社紹介セクション
======================================== */
.about-intro-section {
    padding: 100px 0 80px;
    background: #fff;
}

.about-intro {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 30px;
}

.about-intro-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4a90d9;
    text-align: center;
    line-height: 1.9;
    margin-bottom: 40px;
}

.about-intro-text p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 1.5em;
}

/* ========================================
   ミッションセクション
======================================== */
.mission-section {
    padding: 0 0 80px;
    background: #fff;
}

.mission-box {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fc 100%);
    padding: 60px 50px;
    /* border-radius: 4px; */
    text-align: center;
}

.mission-lead {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a90d9;
    margin-bottom: 35px;
}

.mission-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.mission-list li {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
    padding: 0;
}

.mission-list li:last-child {
    margin-bottom: 0;
}

/* ========================================
   取り組みセクション
======================================== */
.initiatives-section {
    padding: 80px 0;
    background: #f8faff;
}

.initiatives-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 50px;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.initiatives-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.initiative-item {
    background: #fff;
    padding: 40px;
    /* border-radius: 4px; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.initiative-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4a90d9;
}

.initiative-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

/* ========================================
   会社詳細セクション
======================================== */
.company-info-section {
    padding: 80px 0;
    background: #fff;
}

.company-info-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 50px;
}

.company-info-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-info-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.company-info-table th,
.company-info-table td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
}

.company-info-table th {
    width: 30%;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #f8faff;
}

.company-info-table td {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.company-map {
    max-width: 1000px;
    margin: 50px auto 0;
    /* border-radius: 4px; */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.company-map iframe {
    display: block;
}

/* ========================================
   ページヒーロー（下層ページ共通）
======================================== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fc 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #c5d8f7 0%, #a8c5f0 100%);
    opacity: 0.4;
    animation: pageHeroBgRotate 60s linear infinite;
}

@keyframes pageHeroBgRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.page-hero-label {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #4a90d9, #6ba3e0);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    /* border-radius: 2px; */
    margin-bottom: 20px;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* ========================================
   事業詳細セクション
======================================== */
.service-detail-section {
    padding: 100px 0;
    background: #fff;
}

.service-detail-section .container {
    max-width: 1400px;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
    min-width: 0;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    /* border-radius: 4px; */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    flex: 1;
    min-width: 0;
}

.service-detail-num {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: #4a90d9;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.service-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #4a90d9;
}

.service-detail-text {
    font-size: 1rem;
    color: #555;
    line-height: 2;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #15264c;
    padding: 60px 0 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-company-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 15px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-tel {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
}

.footer-tel i {
    color: #fff;
    margin-right: 5px;
}

.footer-nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: #4a90d9;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1400px) {
    .hero-images {
        width: 58%;
    }

    .image-card-1 {
        width: 420px;
        height: 250px;
    }

    .image-card-2 {
        width: 360px;
        height: 220px;
    }

    .image-card-3 {
        width: 400px;
        height: 240px;
    }
}

@media (max-width: 1200px) {
    .hero-images {
        width: 52%;
    }

    .image-card-1 {
        width: 320px;
        height: 190px;
        top: 12%;
        right: 0;
    }

    .image-card-2 {
        width: 280px;
        height: 165px;
        top: 40%;
        right: 25%;
    }

    .image-card-3 {
        width: 300px;
        height: 180px;
        bottom: 8%;
        right: 0;
    }
}

@media (max-width: 1100px) {
    .hero {
        padding: 120px 40px 80px;
    }

    .hero-content {
        max-width: 420px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-images {
        width: 50%;
    }

    .image-card-1 {
        width: 280px;
        height: 165px;
        top: 15%;
        right: 0;
    }

    .image-card-2 {
        width: 240px;
        height: 145px;
        top: 42%;
        right: 20%;
    }

    .image-card-3 {
        width: 260px;
        height: 155px;
        bottom: 10%;
        right: 0;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 120px 30px 60px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-images {
        position: relative;
        width: 100%;
        height: 450px;
        transform: none;
        top: auto;
        right: auto;
    }

    .image-card-1 {
        width: 320px;
        height: 180px;
        top: 0;
        left: 5%;
        right: auto;
    }

    .image-card-2 {
        width: 280px;
        height: 160px;
        top: 30%;
        right: 5%;
        left: auto;
        transform: none;
    }

    .image-card-3 {
        width: 300px;
        height: 170px;
        bottom: 0;
        left: 15%;
        right: auto;
        top: auto;
    }

    .scroll-indicator {
        display: none;
    }

    /* サービスセクション */
    .service-section {
        padding: 100px 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-image {
        height: 200px;
    }

    /* 新着情報セクション */
    .news-section {
        padding: 100px 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* パートナー募集セクション */
    .partner-section {
        padding: 80px 0;
    }

    /* 事業詳細セクション */
    .service-detail {
        gap: 40px;
        margin-bottom: 80px;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    /* 取り組みセクション 3カラム→2カラム */
    .initiatives-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .nav-list {
        display: none;
    }

    /* PC用お問い合わせボタン非表示 */
    .header-right {
        display: none;
    }

    /* スマホ用ヘッダーアイコン表示 */
    .header-sp-icons {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* スマホ時ロゴ小さめ */
    .logo img {
        height: 35px;
    }

    .sp-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        text-decoration: none;
        transition: background 0.3s;
    }

    .sp-tel {
        background: #4a90d9;
        color: #fff;
    }

    .sp-tel:hover {
        background: #3a7bc8;
    }

    .sp-mail {
        background: #4a90d9;
        color: #fff;
    }

    .sp-mail:hover {
        background: #3a7bc8;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        gap: 6px;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* スマホ用ナビゲーション */
    .sp-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .sp-nav.active {
        display: block;
        max-height: 400px;
    }

    .sp-nav-list {
        list-style: none;
        padding: 20px;
    }

    .sp-nav-list li {
        border-bottom: 1px solid #eee;
    }

    .sp-nav-list li:last-child {
        border-bottom: none;
    }

    .sp-nav-list a {
        display: block;
        padding: 15px 10px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .sp-nav-list a:hover {
        color: #4a90d9;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-images {
        height: 380px;
    }

    .image-card-1 {
        width: 260px;
        height: 150px;
    }

    .image-card-2 {
        width: 220px;
        height: 130px;
    }

    .image-card-3 {
        width: 240px;
        height: 140px;
    }

    .shape {
        display: none;
    }

    /* サービスセクション */
    .section-title {
        font-size: 1.4rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .sp-only {
        display: inline;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-section {
        padding: 70px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        padding: 25px;
    }

    .service-card-title {
        font-size: 1.2rem;
    }

    .service-shape {
        display: none;
    }

    /* 新着情報セクション */
    .news-section {
        padding: 70px 0;
    }

    /* ニューススライダー（スマホ時） */
    .news-slider-wrapper {
        position: relative;
        padding: 0 40px;
    }

    .news-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .news-slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: #4a90d9;
        color: #fff;
        border: none;
        cursor: pointer;
        z-index: 10;
        transition: background 0.3s;
    }

    .news-slider-arrow:hover {
        background: #3a7bc8;
    }

    .news-slider-prev {
        left: 0;
    }

    .news-slider-next {
        right: 0;
    }

    .news-card-image {
        height: 180px;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-card-title {
        font-size: 0.95rem;
    }

    /* パートナー募集セクション */
    .partner-section {
        padding: 70px 0;
    }

    .partner-title {
        font-size: 1.6rem;
    }

    .partner-text {
        font-size: 0.95rem;
    }

    .partner-shape {
        display: none;
    }

    /* ページヒーロー */
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-bg {
        width: 300px;
        height: 300px;
        right: -100px;
    }

    /* 事業詳細セクション */
    .service-detail-section {
        padding: 60px 0;
    }

    .service-detail {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .service-detail.reverse {
        flex-direction: column;
    }

    .service-detail-num {
        font-size: 2.5rem;
    }

    .service-detail-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .service-detail-text {
        font-size: 0.95rem;
    }

    /* 新着情報一覧 */
    .news-list-section {
        padding: 50px 0;
    }

    .news-list-item a {
        flex-wrap: wrap;
        padding: 20px 10px;
    }

    .news-list-date {
        width: 100%;
        margin-bottom: 8px;
        font-size: 0.85rem;
    }

    .news-list-title {
        width: calc(100% - 30px);
        font-size: 0.95rem;
    }

    /* 記事詳細 */
    .news-detail-section {
        padding: 50px 0;
    }

    .news-detail-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .news-detail-title {
        font-size: 1.4rem;
    }

    .news-detail-content p {
        font-size: 0.95rem;
    }

    /* 会社紹介 */
    .about-intro-section {
        padding: 60px 0 50px;
    }

    .about-intro-title {
        font-size: 1.6rem;
    }

    .about-intro-lead {
        font-size: 1rem;
    }

    .mission-section {
        padding: 0 0 60px;
    }

    .mission-box {
        padding: 30px;
    }

    .mission-title {
        font-size: 1.1rem;
    }

    .initiatives-section {
        padding: 60px 0;
    }

    .initiatives-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .initiative-item {
        padding: 30px;
    }

    .initiative-title {
        font-size: 1.1rem;
    }

    .company-info-section {
        padding: 60px 0;
    }

    .company-info-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .company-info-table th,
    .company-info-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .company-info-table th {
        padding-bottom: 5px;
    }

    .company-info-table td {
        padding-top: 5px;
    }

    /* フッター */
    .footer {
        padding: 40px 0 0;
    }

    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-images {
        height: 420px;
    }

    .image-card-1 {
        width: 280px;
        height: 162px;
        left: 0;
        top: 0;
    }

    .image-card-2 {
        width: 245px;
        height: 145px;
        left: 0;
        right: auto;
        top: 45%;
        transform: none;
    }

    .image-card-3 {
        width: 265px;
        height: 155px;
        left: auto;
        right: 0;
        bottom: 0;
        top: auto;
    }
}

/* ========================================
   お問い合わせフォーム
======================================== */
.contact-section {
    padding: 80px 0 100px;
}

.mxw800 {
  max-width: 800px;
}

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

.contact-intro p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
}

/* フォーム共通 */
.soph-form {
    max-width: 700px;
    margin: 0 auto;
}

.soph-field {
    margin-bottom: 30px;
}

.soph-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.soph-required-mark {
    color: #e74c3c;
}

.soph-field input[type="text"],
.soph-field input[type="tel"],
.soph-field input[type="email"],
.soph-field textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.soph-field input:focus,
.soph-field textarea:focus {
    outline: none;
    border-color: #333;
}

.soph-field textarea {
    min-height: 200px;
    resize: vertical;
}

/* プライバシー同意チェックボックス */
.soph-field-privacy-agree {
    text-align: center;
    margin-top: 40px;
}

.soph-checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.soph-checkbox-label input[type="checkbox"] {
    display: none;
}

.soph-checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #333;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.soph-checkbox-label input[type="checkbox"]:checked + .soph-checkbox-custom {
    background: #333;
}

.soph-checkbox-label input[type="checkbox"]:checked + .soph-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.soph-checkbox-text {
    font-size: 0.95rem;
    color: #333;
}

.soph-checkbox-text a {
    color: #333;
    text-decoration: underline;
}

.soph-checkbox-text a:hover {
    text-decoration: none;
}

.soph-form-actions {
    text-align: center;
    margin-top: 40px;
}

.soph-form-submit {
    display: inline-block;
    padding: 18px 60px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.soph-form-submit:hover {
    background: #555;
}

/* 確認画面 */
.soph-form-confirm {
    max-width: 700px;
    margin: 0 auto;
}

.soph-confirm-list {
    margin: 0;
}

.soph-confirm-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.soph-confirm-label {
    width: 200px;
    font-weight: 500;
    color: #333;
}

.soph-confirm-value {
    flex: 1;
    color: #555;
    margin: 0;
    white-space: pre-wrap;
}

.soph-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.soph-form-back {
    display: inline-block;
    padding: 18px 60px;
    background: #fff;
    color: #333;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.soph-form-back:hover {
    background: #f5f5f5;
}

/* 完了画面 */
.soph-form-complete {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0;
}

.soph-complete-message {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0 80px;
    }

    .soph-confirm-row {
        flex-direction: column;
        gap: 10px;
    }

    .soph-confirm-label {
        width: 100%;
    }

    .soph-confirm-actions {
        flex-direction: column;
    }

    .soph-form-back,
    .soph-form-submit {
        width: 100%;
    }
}

/* ========================================
   サイトマップ
======================================== */
.sitemap-section {
    padding: 80px 0 100px;
}

.sophia-sitemap {
    max-width: 600px;
    margin: 0 auto;
}

.sophia-sitemap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sophia-sitemap li {
    border-bottom: 1px solid #eee;
}

.sophia-sitemap li:first-child {
    border-top: 1px solid #eee;
}

.sophia-sitemap a {
    display: block;
    padding: 20px 15px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s;
    padding-left: 30px;
}

.sophia-sitemap a::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

.sophia-sitemap a:hover {
    background: #f9f9f9;
    padding-left: 35px;
}

@media (max-width: 768px) {
    .sitemap-section {
        padding: 60px 0 80px;
    }
}

/* ========================================
   商品一覧ページ
======================================== */
.products-section {
    padding: 80px 0 100px;
    background: #fff;
}

/* カテゴリフィルター */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #4a90d9;
    color: #4a90d9;
}

.filter-btn.active {
    background: #4a90d9;
    border-color: #4a90d9;
    color: #fff;
}

/* 商品グリッド */
.soph-products {
    display: grid;
    gap: 30px;
}

.soph-products-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.soph-products-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 商品カード */
.soph-product-card {
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.soph-product-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.soph-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 商品画像 */
.soph-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.soph-product-card:hover .soph-product-image img {
    transform: scale(1.05);
}

/* バッジ */
.soph-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.soph-product-badge-featured {
    background: #4a90d9;
}

.soph-product-badge-new {
    background: #27ae60;
}

.soph-product-badge-sale {
    background: #e74c3c;
}

/* 商品情報 */
.soph-product-info {
    padding: 20px;
}

.soph-product-category {
    display: inline-block;
    font-size: 0.75rem;
    color: #4a90d9;
    font-weight: 500;
    margin-bottom: 8px;
}

.soph-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.5;
}

.soph-product-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 価格 */
.soph-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.soph-product-price-compare {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.soph-product-price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

/* カートボタン */
.soph-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: #4a90d9;
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.soph-add-to-cart:hover {
    background: #3a7bc8;
}

.soph-add-to-cart svg {
    flex-shrink: 0;
}

/* お問い合わせ案内 */
.products-contact {
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fc 100%);
    text-align: center;
}

.products-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.products-contact p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 30px;
}

/* ページヘッダー（商品ページ用） */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fc 100%);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #c5d8f7 0%, #a8c5f0 100%);
    opacity: 0.4;
    animation: pageHeroBgRotate 60s linear infinite;
}

.page-label {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #4a90d9, #6ba3e0);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #777;
}

.breadcrumb a {
    color: #4a90d9;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #3a7bc8;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 1200px) {
    .soph-products-col-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .soph-products-col-4,
    .soph-products-col-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-contact {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0 80px;
    }

    .product-filter {
        gap: 10px;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .soph-products {
        gap: 20px;
    }

    .soph-product-image {
        height: 180px;
    }

    .soph-product-info {
        padding: 15px;
    }

    .soph-product-name {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-header-bg {
        width: 300px;
        height: 300px;
        right: -100px;
    }

    .products-contact {
        padding: 30px 20px;
    }

    .products-contact h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .soph-products-col-4,
    .soph-products-col-3 {
        grid-template-columns: 1fr;
    }

    .soph-product-image {
        height: 200px;
    }
}

/* ========================================
   商品詳細ページ
======================================== */
.page-header-sm {
    padding: 120px 0 30px;
}

.page-header-sm .page-title {
    display: none;
}

.product-detail-section {
    padding: 60px 0 100px;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* 商品ギャラリー */
.product-gallery {
    position: sticky;
    top: 120px;
    align-self: start;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    overflow: hidden;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: #4a90d9;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品情報 */
.product-info-detail {
    padding-top: 20px;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.product-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.product-badge-featured {
    background: #4a90d9;
}

.product-badge-stock {
    background: #27ae60;
}

.product-badge-soldout {
    background: #999;
}

.product-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-price-compare {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-price-main {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.product-tax-note {
    font-size: 0.85rem;
    color: #777;
}

.product-short-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 数量選択 */
.product-quantity-form {
    margin-bottom: 25px;
}

.product-quantity-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #e5e5e5;
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* アクションボタン */
.product-actions {
    margin-bottom: 30px;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    padding: 18px 40px;
    background: #4a90d9;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background: #3a7bc8;
}

/* メタ情報 */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.product-sku,
.product-category-tag {
    font-size: 0.85rem;
    color: #777;
}

/* 商品説明 */
.product-description h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90d9;
}

.product-description-content {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

.product-description-content p {
    margin-bottom: 15px;
}

.product-description-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.product-description-content ul li {
    margin-bottom: 8px;
}

/* 関連商品 */
.related-products {
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .product-main-image {
        max-width: 500px;
        margin: 0 auto 15px;
    }

    .product-thumbnails {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-header-sm {
        padding: 100px 0 20px;
    }

    .product-detail-section {
        padding: 40px 0 80px;
    }

    .product-detail-grid {
        gap: 30px;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .product-price-main {
        font-size: 1.6rem;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
    }

    .btn-add-cart {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .related-products {
        padding-top: 40px;
    }

    .related-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
}

/* ========================================
   EC商品詳細 (soph-ec)
======================================== */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.gallery-col {
    position: sticky;
    top: 120px;
    align-self: start;
}

/* ギャラリー */
.soph-ec-gallery {
    width: 100%;
}

.soph-ec-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 15px;
}

.soph-ec-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品情報 */
.product-info {
    padding-top: 20px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* バッジ */
.soph-ec-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.soph-ec-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.soph-ec-badge-featured {
    background: #4a90d9;
}

.soph-ec-badge-stock {
    background: #27ae60;
}

.soph-ec-badge-soldout {
    background: #999;
}

.soph-ec-badge-new {
    background: #e67e22;
}

.soph-ec-badge-sale {
    background: #e74c3c;
}

/* 価格 */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.soph-ec-price {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.soph-ec-price-compare {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.soph-ec-tax-note {
    font-size: 0.85rem;
    color: #777;
}

/* 商品説明（短） */
.soph-ec-short-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 数量・カートフォーム */
.soph-ec-add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.soph-ec-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
}

.soph-ec-qty-btn {
    width: 40px;
    height: 44px;
    background: #f5f5f5;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.soph-ec-qty-btn:hover {
    background: #e5e5e5;
}

.soph-ec-qty-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.soph-ec-qty-input::-webkit-outer-spin-button,
.soph-ec-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* カートボタン */
.soph-ec-add-btn {
    flex: 1;
    max-width: 300px;
    padding: 14px 30px;
    background: #4a90d9;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.soph-ec-add-btn:hover {
    background: #3a7bc8;
}

.soph-ec-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* カートメッセージ */
.soph-ec-cart-message {
    padding: 12px 15px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
}

.soph-ec-cart-message.soph-ec-cart-success,
.soph-ec-cart-message.soph-ec-cart-error {
    display: block;
}

.soph-ec-cart-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.soph-ec-cart-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* カートを見るボタン */
.soph-ec-view-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: #fff;
    color: #4a90d9;
    border: 2px solid #4a90d9;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.soph-ec-view-cart:hover {
    background: #4a90d9;
    color: #fff;
}

/* 商品説明セクション */
.description-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.description-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90d9;
}

.soph-ec-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

.soph-ec-description p {
    margin-bottom: 15px;
}

/* SKU */
.soph-ec-sku {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-col {
        position: static;
    }

    .soph-ec-main-image {
        max-width: 500px;
        margin: 0 auto 15px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        gap: 30px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .soph-ec-price {
        font-size: 1.6rem;
    }

    .soph-ec-add-to-cart-form {
        flex-direction: column;
        align-items: stretch;
    }

    .soph-ec-quantity {
        justify-content: center;
    }

    .soph-ec-add-btn {
        max-width: 100%;
    }
}
