/* --- Hero Slider CSS --- */
/* ▼▼▼ 変更: max-width を 1920px に設定 ▼▼▼ */
.slider-container {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 1920px;
    margin: 0 auto;
}
/* ▲▲▲ 変更ここまで ▲▲▲ */

#hero-slider .splide__slide {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #f0f2f5;
}

#hero-slider .splide__slide picture,
#hero-slider .splide__slide .hero-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    /* ▼▼▼ 変更: 最大幅を 1280px に設定 ▼▼▼ */
    width: 100%;
    max-width: 1280px;
    padding: 0 20px; /* .page-section と合わせる */
    /* ▲▲▲ 変更ここまで ▲▲▲ */
}
.hero-headline {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}
.hero-subtext {
    font-size: 24px;
}

/* --- Logo Slider Section --- */
.logo-slider-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}
.logo-slider-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
    letter-spacing: 1px;
}
.logo-slider-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    /* ▼▼▼ 追加: 最大幅 1280px ▼▼▼ */
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    /* ▲▲▲ 追加ここまで ▲▲▲ */
}
.logo-slider-track {
    display: flex; /* Use flexbox for alignment */
    /* Animation is now fully handled by JavaScript */
}
.logo-slide {
    flex-shrink: 0; /* Prevent logos from shrinking */
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-slide img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* --- Problem Solution Section ---*/
.problem-solution-section {
    background-color: #f8f9fa;
}
.problem-intro-badge {
    display: inline-block;
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 600;
    /* ▼▼▼ 変更: 緑系から青系へ ▼▼▼ */
    color: #0056b3;
    border: 2px solid #0056b3;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: white;
    text-align: center;
    margin-bottom: 30px;
}
.problem-title {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}
.problem-title span {
    /* ▼▼▼ 変更: 緑系から青系へ ▼▼▼ */
    color: #007bff;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
}
.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 auto 60px;
    max-width: 900px;
}
.problem-card {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}
.problem-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.problem-card svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-top: 4px;
    /* ▼▼▼ 変更: 緑系から青系へ ▼▼▼ */
    color: #007bff;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    flex-shrink: 0;
}
.problem-card p {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}
.solution-box {
    position: relative;
    /* ▼▼▼ 変更: 緑系から青系へ ▼▼▼ */
    background-color: #e7f5ff;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}
.solution-title {
    font-size: 42px;
    font-weight: 900;
    /* ▼▼▼ 変更: 緑系から青系へ ▼▼▼ */
    color: #004a9e;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    margin-bottom: 24px;
}
.solution-title span {
    color: #f97316;
}
.solution-text {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}


/* --- Animation CSS --- */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* --- Flow Section CSS --- */
.flow-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px; /* Increased gap for arrow space */
    align-items: stretch; /* Align items to the same height */
}
/* ▼▼▼ 追加: 6カラム用スタイル ▼▼▼ */
.flow-container.flow-container-6col {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px; /* 6個並べるため gap を少し詰める */
}
/* ▲▲▲ 追加ここまで ▲▲▲ */

.flow-step {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    display: flex; /* Changed to flexbox container */
    flex-direction: column; /* Arrange children vertically */
}
/* Add arrow using pseudo-element */
.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: calc(100% + 5px); /* Positioned to the left */
    transform: translateY(-50%);
    font-size: 24px;
    color: #007bff;
    width: 30px; /* Space for the arrow */
    text-align: center;
}
/* ▼▼▼ 追加: 6カラム用矢印調整 ▼▼▼ */
.flow-container-6col .flow-step:not(:last-child)::after {
    width: 20px; /* gap に合わせて矢印スペースを詰める */
    left: calc(100% + 0px);
    font-size: 20px;
}
/* ▲▲▲ 追加ここまで ▲▲▲ */

.flow-step-icon {
    margin-bottom: 15px;
    color: #007bff;
    flex-shrink: 0; /* Prevent icon from shrinking */
    /* ▼▼▼ 追加: SVGアイコンのサイズ調整 ▼▼▼ */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    /* ▲▲▲ 追加ここまで ▲▲▲ */
}
.flow-step-number {
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}
.flow-step-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.flow-step-text {
    font-size: 14px;
    color: #555;
    text-align: left;
    flex-grow: 1; /* Text area fills remaining space */
}

/* --- Service Section CSS --- */
.service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.service-image-container-pc {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}
.service-content {
    height: 100%;
}
.service-list {
    list-style: none;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-list-item {
    cursor: pointer;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.service-text-content {
    display: flex;
    align-items: baseline; /* Align by text baseline */
    gap: 15px;
}
.service-list-item .item-number {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #767676; /* Contrast ratio improved */
    transition: color 0.3s;
}
.service-list-item:hover .item-number {
    color: #0056b3;
}
.service-list-item .item-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}
.service-list-item:hover .item-title {
    color: #0056b3;
}
.service-image-sp {
    display: none;
}

/* --- Product Card Grid --- */
.product-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}
.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 0 1 340px; /* Do not grow, shrink if needed, base width 340px */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.product-card-image-wrapper {
    width: 100%;
    padding-top: 75%; /* Aspect ratio 4:3 */
    position: relative;
    background-color: #f8f9fa;
}
.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card-content {
    padding: 20px;
    flex-grow: 1;
}
.product-card-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
.product-card-category {
    font-size: 14px;
    color: #888;
}


/* --- Contact Form CSS --- */
.form-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group .required {
    color: #dc3545;
    font-weight: normal;
    font-size: 14px;
    margin-left: 5px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    min-height: 1em;
}
.privacy-policy-agreement {
    margin-top: 30px;
    text-align: center;
}
.privacy-policy-agreement label {
    font-weight: normal;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.privacy-policy-agreement input[type="checkbox"] {
    margin-right: 8px;
}
.privacy-policy-agreement a {
    color: #007bff;
    text-decoration: underline;
}

/* --- Company Profile Page CSS --- */
.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
}

.company-profile-table th,
.company-profile-table td {
    border-bottom: 1px solid #ddd;
    padding: 20px;
    text-align: left;
    vertical-align: top;
}

.company-profile-table th {
    background-color: #f8f9fa;
    width: 25%;
    font-weight: bold;
}

.company-profile-table td small {
    color: #e74c3c;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.business-content-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin: 0;
}

.business-content-list li {
    margin-bottom: 10px;
}

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

.map-container {
    margin-top: 40px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Case Study/Category Card CSS --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}
.case-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.case-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    display: block;
    background-color: #f8f9fa;
}
.case-card-content {
    padding: 20px;
    flex-grow: 1;
}
.case-card-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}
.case-card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.case-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* --- News List/Detail Page CSS --- */
.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    margin-top: 30px;
}
/* Clearfix for floated elements */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
.news-detail-content .image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}
.news-detail-content .image-row img {
    flex: 1;
    min-width: 200px;
    object-fit: cover;
}
.news-detail-content ul, .news-detail-content ol {
    padding-left: 1.2em;
}

.section-title {
    font-size: 28px;
    text-align: left;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* --- Specification Table --- */
.spec-table-container {
    overflow-x: auto; /* Allow horizontal scrolling */
    margin-bottom: 20px;
}
#spec-cards-container {
    display: none;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Use auto layout algorithm */
}
.spec-table th, .spec-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}
.spec-table thead {
    background-color: #f8f9fa;
}
.spec-table th,
.spec-table td:first-child {
    font-weight: bold;
    white-space: nowrap; 
    overflow-wrap: normal; 
}
.spec-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}
.spec-table td[colspan] {
    text-align: center;
}
.spec-table th br,
.spec-table td br {
    white-space: normal;
}


.news-list-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.news-list {
    list-style: none;
    padding: 0;
    border-top: 1px solid #eee;
}
.news-list .news-list-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}
.news-list .news-list-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}
.news-item-link {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: inherit;
}
.news-date-wrapper {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.news-date {
    color: #666;
    font-size: 15px;
}
.news-category {
    display: inline-block;
    background-color: #f0f0f0;
    color: #555;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 15px;
}
.news-title {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}
.news-list-item:hover .news-title {
    color: #007bff;
}
.news-summary {
    color: #555;
    font-size: 15px;
}
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
}
.news-detail-meta {
    margin-bottom: 10px;
}
.news-detail-date {
    color: #888;
    font-size: 16px;
    margin-right: 15px;
}

.tag-list, .tag-list-filter {
    margin-top: 30px;
    text-align: center;
}
.tag-item {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}
.tag-item:hover {
    background-color: #dee2e6;
}
.tag-item.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Category Filter */
.category-filter {
    margin-bottom: 30px;
    text-align: center;
}
.category-filter a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid #dee2e6;
}
.category-filter a:hover {
    background-color: #f0f0f0;
}
.category-filter a.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}


/* --- Catalog Request Form CSS --- */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.download-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #e6f7ff;
    border: 1px solid #b3e0ff;
    border-radius: 8px;
}
.download-section p {
    margin-bottom: 20px;
}
.download-list {
    list-style: none;
    padding: 0;
}
.download-list li {
    margin-bottom: 10px;
}


/* --- New CTA Section CSS --- */
.cta-section-new {
    padding: 80px 20px;
    /* ▼▼▼ 変更: 紫/緑系から青系へ ▼▼▼ */
    background-image: linear-gradient(to right, #00416a, #007bff);
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    color: white;
}
.cta-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-text-content {
    flex: 1;
    text-align: left;
}
.cta-title-new {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}
.cta-description {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.7;
}
.cta-buttons-new {
    display: flex;
    gap: 20px;
}
.cta-btn-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* ▼▼▼ 変更: width: 250px; を削除 ▼▼▼ */
    /* width: 250px; */
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}
.cta-btn-new:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.cta-btn-text-wrapper {
    text-align: left;
}
.cta-btn-title {
    font-size: 16px;
    font-weight: bold;
    display: block;
}
.cta-btn-subtitle {
    font-size: 14px;
    color: #d0d0d0;
    display: block;
    margin-top: 2px;
}
.cta-btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    margin-left: 15px; /* ▼▼▼ 追加: テキストとアイコンの間に余白 ▼▼▼ */
}
.cta-btn-new:hover .cta-btn-icon {
    transform: translateX(5px);
}


/* --- Splide Slider CSS --- */
#main-slider {
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#main-slider .splide__slide {
    background-color: #f8f9fa;
    border-radius: 8px;
}
#main-slider .splide__slide img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}
#thumbnail-slider {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#thumbnail-slider .splide__slide {
    opacity: 0.4;
    cursor: pointer;
}
#thumbnail-slider .splide__slide.is-active {
    opacity: 1;
    border: 2px solid #007bff;
}
#thumbnail-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.splide__arrow {
    background: rgba(0,0,0,0.5);
}
.splide__arrow svg {
    fill: #fff;
}
.column-gallery-single {
    max-width: 600px;
    margin: 30px auto;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}
.column-gallery-single img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
}


/* --- Privacy Policy Page CSS --- */
.privacy-policy-content {
    text-align: left;
    line-height: 1.8;
}
.privacy-policy-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.privacy-policy-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 4px solid #007bff;
}

/* --- Product Detail Tab UI --- */
.product-tabs {
    margin-top: 40px;
    text-align: left;
}
.tab-nav {
    display: flex;
    list-style: none;
    padding-left: 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 25px;
}
.tab-nav li {
    margin-bottom: -2px; /* Pull the active tab's border over the main border */
}
.tab-nav-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.tab-nav-item:hover {
    color: #0056b3;
}
.tab-nav-item.is-active {
    color: #007bff;
    border-color: #007bff;
    font-weight: bold;
}
.tab-content.is-hidden {
    display: none;
}

/* --- ADDED: NEW COMPONENT STYLES FOR UNIFIED DESIGN --- */

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

.page-hero-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    color: #fff;
}
.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-hero-title {
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}
.page-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}
.page-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.page-hero-btn {
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.page-hero-btn:hover {
    background-color: #fff;
    color: #333;
}

.content-section {
    padding: 80px 20px;
}
.content-section.bg-light {
    background-color: #f9f9f9;
}
.section-title-centered {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
.section-text {
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.grid-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.grid-item-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #007bff;
    stroke: #007bff;
    fill: none;
}
.grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.grid-item p {
    color: #555;
    line-height: 1.8;
    text-align: left;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.service-item {
    text-align: center;
}
.service-icon {
    width: 100%;
    /* ▼▼▼ 変更: スタイル調整 ▼▼▼ */
    max-width: 150px; 
    height: 150px;
    padding: 20px;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow:  20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    aspect-ratio: 1 / 1;
    /* ▼▼▼ 追加: SVGの色指定 ▼▼▼ */
    color: #007bff; 
}
.service-icon svg {
    width: 60%;
    height: 60%;
    stroke: #007bff;
}
/* ▲▲▲ 追加ここまで ▲▲▲ */

.service-description {
    font-size: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.image-grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.image-grid-item:hover img {
    transform: scale(1.1);
}
.image-grid-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
}
.timeline-item {
    width: 18%;
    text-align: center;
    position: relative;
}
.timeline-icon {
    font-size: 2rem;
    background-color: #f9f9f9;
    padding: 0 10px;
    /* ▼▼▼ 追加: SVGアイコンのサイズ調整 ▼▼▼ */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin: 0 auto;
    color: #007bff;
    /* ▲▲▲ 追加ここまで ▲▲▲ */
}
.timeline-content {
    margin-top: 15px;
}
.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.comparison-table {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}
.comparison-column {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.comparison-column h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    display: flex; 
    align-items: center;
    gap: 10px;
}
.comparison-column h3 svg { 
    width: 1em;
    height: 1em;
}
.comparison-column ul {
    list-style: none;
    padding: 0;
    text-align: left;
}
.comparison-column ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.comparison-column ul li::before {
    content: '●';
    position: absolute;
    left: 0;
}
.comparison-column.advantage h3 {
    border-bottom: 2px solid #007bff;
    color: #0056b3; 
}
.comparison-column.advantage h3 svg { 
    color: #007bff;
}
.comparison-column.advantage li::before {
    color: #007bff;
}
.comparison-column.disadvantage h3 {
    border-bottom-color: #ccc;
    color: #888;
}
.comparison-column.disadvantage h3 svg { 
    color: #aaa;
}
.comparison-column.disadvantage li {
    color: #555;
}
.comparison-column.disadvantage li::before {
    color: #ccc;
}

.dark-concept-section {
    background-color: #333;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.dark-concept-section h2 {
    font-size: 2.8rem;
    font-family: 'Meiryo', sans-serif;
    margin-bottom: 30px;
    line-height: 1.5;
}
.dark-concept-section p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}
.dark-concept-section .brand-keywords {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
}

/* ▼▼▼ 変更: アコーディオン用にスタイル調整 ▼▼▼ */
.faq-list {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    /* ▼▼▼ 追加: ボタンスタイル ▼▼▼ */
    width: 100%;
    text-align: left;
    background-color: #f9f9f9;
    padding: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s;
    position: relative;
    /* ▲▲▲ 追加ここまで ▲▲▲ */
}
.faq-question:hover {
    background-color: #f1f1f1;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #007bff;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.faq-question.active::after {
    content: '−';
    /* ▼▼▼ 変更: rotate(45deg) を削除 ▼▼▼ */
    transform: translateY(-50%);
    /* ▲▲▲ 変更ここまで ▲▲▲ */
}
.faq-question.active + .faq-answer {
    /* JS側で制御するため .active クラスは使いません */
}
.faq-answer {
    background-color: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
    /* ▼▼▼ 変更: padding をJS側ではなくCSSで制御 ▼▼▼ */
    padding-top: 0;
    padding-bottom: 0;
    /* ▲▲▲ 変更ここまで ▲▲▲ */
}
.faq-answer p {
    padding: 20px;
    line-height: 1.8;
}
/* ▲▲▲ 変更ここまで ▲▲▲ */

.cta-box {
    background-color: #333;
    color: #fff;
    padding: 50px;
    text-align: center;
    border-radius: 10px;
}
.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-box .btn-detail {
    background-color: #fff;
    color: #333;
}
.cta-box .btn-detail:hover {
    background-color: #eee;
}

/* --- ▼▼▼ 変更: LINKSの強みページ専用スタイル ▼▼▼ */

/* ヒーローセクション */
.strength-hero-section {
    position: relative; /* 子要素の基準 */
    width: 100%;
    /* 高さを指定して大きく見せる（トップページのスライダーに近いサイズ感） */
    height: 60vh; /* 画面高さの60% */
    min-height: 500px; /* 最小高さ */
    max-height: 800px; /* ▼▼▼ 追加: ズームアウト時の巨大化防止 ▼▼▼ */
    padding: 0; /* パディングで高さを出す方式はやめる */
    display: flex;
    align-items: center; /* 垂直中央揃え */
    justify-content: center; /* 水平中央揃え */
    overflow: hidden;
    color: #fff;
}

/* 背景画像（imgタグ） */
.strength-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* コンテナに合わせてトリミング */
    z-index: 0;
}

/* オーバーレイ（画像を少し暗くして文字を見やすくする） */
.strength-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 濃さは調整 */
    z-index: 1; /* 画像より上 */
}

.strength-hero-content {
    position: relative;
    z-index: 2; /* オーバーレイより上 */
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
}

.strength-hero-title {
    font-size: 3rem; /* サイズ調整 */
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* 選ばれる理由セクション */
.reasons-section {
    padding-bottom: 40px; /* 下部の余白を調整 */
}
.reasons-item {
    /* grid-item のスタイルを継承 */
    background: #fff; /* 背景色を白に */
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* 影を追加 */
}
.concept-words {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 2px;
}

/* 事業領域セクション */
.business-field-section {
    /* content-section, bg-light のスタイルを継承 */
}
.business-field-grid {
    /* grid-3-col のスタイルを継承 */
}
.business-field-column {
    /* grid-item のスタイルを継承 */
    padding: 0; /* grid-itemのパディングをリセット */
    background: #fff; /* 背景色を白に */
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* 影を追加 */
    overflow: hidden; /* 画像のはみ出し防止 */
}
.business-field-column img {
    width: 100%;
    height: 200px; /* 高さを固定 */
    object-fit: cover; /* 画像の比率を保ちつつトリミング */
    display: block;
}
.business-field-column h3 {
    padding: 15px 20px 5px 20px; /* テキスト部分のパディング */
}
.business-field-column p {
    padding: 0 20px 20px 20px; /* テキスト部分のパディング */
}

/* 自社と他社比較セクション */
.comparison-section {
    /* content-section のスタイルを継承 */
}
.comparison-container {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}
/* comparison-column のスタイルは既存のものを流用 */
.comparison-column ul {
    text-align: left;
}


/* ▼▼▼ 削除: 古い .icon-flow-diagram スタイル ▼▼▼ */
/* .icon-flow-diagram { ... } */
/* .icon-flow-item { ... } */
/* .icon-flow-item svg { ... } */
/* .icon-flow-item span { ... } */
/* .icon-flow-arrow { ... } */
/* ▲▲▲ 削除ここまで ▲▲▲ */

/* --- ▲▲▲ 変更ここまで ▲▲▲ --- */


/* --- Responsive Component Styles --- */
@media (max-width: 960px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-buttons-new {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .cta-btn-new {
        width: 100%;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    .timeline::before {
        left: 50%; top: 5%; bottom: 5%;
        width: 2px; height: 90%;
        transform: translateX(-50%);
    }
    .timeline-item {
        width: 80%;
        margin-bottom: 40px;
    }
    .comparison-table {
        flex-direction: column;
    }
    .comparison-container { 
        flex-direction: column;
    }
    /* ▼▼▼ 追加: 6カラムフロー図のレスポンシブ ▼▼▼ */
    .flow-container.flow-container-6col {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .flow-container-6col .flow-step:not(:last-child)::after {
        content: '↓';
        left: 50%;
        right: auto;
        bottom: -40px;
        top: auto;
        transform: translateX(-50%);
        width: auto;
        font-size: 24px;
    }
    /* ▲▲▲ 追加ここまで ▲▲▲ */
}

@media (max-width: 768px) {
    .problem-title {
        font-size: 28px;
    }
    .solution-title {
        font-size: 32px;
    }
    .solution-box {
        padding: 30px;
    }
    .news-detail-content .image-row {
        flex-direction: column;
    }
    .news-detail-content .image-row img {
        min-width: 100%;
    }
    .tab-nav {
        width: 100%;
    }
    .tab-nav li {
        flex: 1; 
        text-align: center;
    }

    .flow-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .flow-step:not(:last-child)::after {
        content: '↓';
        left: 50%;
        right: auto;
        bottom: -40px;
        top: auto;
        transform: translateX(-50%);
    }

    .service-section {
        display: block;
    }
    .service-image-container-pc {
        display: none;
    }
    .service-list-item {
        padding: 0;
        margin-bottom: 20px;
        cursor: default;
        gap: 0;
        display: block;
    }
    .service-card-sp {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
    .service-image-sp {
        display: block;
        width: 100%;
        height: auto;
    }
    .service-text-content {
        padding: 20px;
        align-items: center;
    }
    .service-list-item .item-title {
        font-size: 20px;
    }

    .company-profile-table th,
    .company-profile-table td {
        display: block;
        width: 100%;
        border-bottom: none;
        padding: 10px 0;
    }
    .company-profile-table th {
        border-bottom: 2px solid #007bff;
        margin-top: 15px;
    }
    .company-profile-table tr:first-child th {
        margin-top: 0;
    }
    .company-profile-table td {
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .cta-title-new {
        font-size: 32px;
    }
    .cta-description {
        font-size: 16px;
    }

    .news-list li {
        display: block;
    }
    .news-date {
        margin-bottom: 5px;
        width: auto;
    }

    .hero-headline {
        font-size: 32px;
    }
    .hero-subtext {
        font-size: 18px;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }
    .page-hero-subtitle {
        font-size: 1.2rem;
    }

    .strength-hero-title {
        font-size: 2.2rem;
    }
    


    /* 仕様表のレスポンシブ（スマホ用カード）スタイル */
    .spec-table-container {
        display: none;
    }
    #spec-cards-container {
        display: block;
    }

    .spec-card {
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 20px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .spec-card-header {
        background-color: #f8f9fa;
        padding: 12px;
        font-size: 18px;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
    }
    .spec-card-header br {
        white-space: normal;
    }

    .spec-card-body {
        padding: 0;
    }

    .spec-item {
        display: flex;
        padding: 10px 12px;
        border-bottom: 1px solid #eee;
        font-size: 15px;
    }
    .spec-item:last-child {
        border-bottom: none;
    }

    .spec-item-label {
        font-weight: bold;
        color: #555;
        padding-right: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .spec-item-label br {
        white-space: normal;
    }

    .spec-item-value {
        text-align: right;
        white-space: normal;
        overflow-wrap: break-word; 
        word-break: normal;
        flex-grow: 1;
    }
    .spec-item-value br {
        white-space: normal;
    }
}