/*
Theme Name: Shinko SK
Theme URI: https://shinko-sk.co.jp/
Description: 株式会社新光ステンレス研磨 WordPressテーマ
Author: Shinko SK
Version: 1.0.0
Text Domain: shinko-sk
*/

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

h2 {
    font-weight: 500;
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ===================================
   Layout
   =================================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

.container {
    max-width: 1650px!important;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===================================
   Header
   =================================== */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
}

body.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 0.9rem;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-header + .header-right {
    position: fixed;
    top: 20px;
    right: calc(max(20px, calc((100vw - 1650px) / 2 + 20px)) + 65px);
    z-index: 2001;
}

.site-header + .header-right + .header-menu-toggle {
    position: fixed;
    top: 15px;
    right: max(20px, calc((100vw - 1650px) / 2 + 20px));
    z-index: 999;
}

.site-header + .header-right + .header-menu-toggle.open {
    z-index: 2001;
    background: transparent;
}

body.admin-bar .site-header + .header-right{
    top: 56px;
}

body.admin-bar .site-header + .header-right + .header-menu-toggle {
    top: 47px;
}
@media (max-width: 768px) {
    .site-header + .header-right {
        top: 10px;
        right: calc(15px + 65px);
    }

    .site-header + .header-right + .header-menu-toggle {
        top: 10px;
        right: 15px;
    }

    body.admin-bar .site-header {
        top: 46px;
    }

    body.admin-bar .site-header + .header-right,
    body.admin-bar .site-header + .header-right + .header-menu-toggle {
        top: 56px;
    }
}

.header-right .header-social.instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff !important;
    border-radius: 50%;
    transition: transform 0.3s;
    background: transparent !important;
}

.header-social:hover {
    transform: translateY(-2px);
}

.header-social img {
    width: 32px;
    height: 32px;
}

.header-button {
    display: inline-flex;
    align-items: center;
    padding: 5px 20px;
    border: 2px solid #d71f36!important;
    border-radius: 12px;
    color: #d71f36!important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-right .header-button:hover {
    background: rgba(215, 31, 54, 0.1) !important;
    color: #d71f36 !important;
    transform: translateY(-2px);
}

body.menu-open .header-right .header-button:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

body.menu-open .header-right .header-button:hover .button-arrow path {
    stroke: #ffffff !important;
}

.button-icon {
    width: 30px;
    height: 30px;
}

.header-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 19px;
    cursor: pointer;
    transition: transform 0.3s;
}

.header-menu-toggle .menu-icon-inner span {
    background: #d71f36;
}

.header-menu-toggle .menu-icon-inner span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
    margin-left: -7px;
}

.header-menu-toggle .menu-icon-inner span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
    margin-left: 7px;
}

.header-menu-toggle.open .menu-icon {
    width: 44px;
    height: 26px;
}

.header-menu-toggle.open .menu-icon-inner span,
.header-menu-toggle.open .menu-icon-inner span:first-child,
.header-menu-toggle.open .menu-icon-inner span:last-child {
    background: #ffffff;
    width: 2px;
    height: 40px;
    margin-left: 0;
}

.header-menu-toggle.open .menu-icon-inner span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.header-menu-toggle.open .menu-icon-inner span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header-menu-toggle:hover {
    transform: translateY(-2px);
}

.menu-icon {
    position: relative;
    width: 28px;
    height: 28px;
}

.menu-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.menu-icon-inner span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 22px;
    background: #fff;
    transform-origin: center;
}

.mega-menu-close .menu-icon-inner span {
    background: #d71f36;
}

.menu-icon-inner span:first-child {
    transform: translate(-50%, -50%) rotate(60deg);
    margin-left: -4px;
}

.menu-icon-inner span:last-child {
    transform: translate(-50%, -50%) rotate(-60deg);
    margin-left: 4px;
}

/* ===================================
   Mega Menu
   =================================== */
.mega-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mega-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mega-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 30vw;
    height: auto;
    max-height: 100%;
    background: rgba(180, 40, 60, 0.7);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-top: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mega-menu-overlay.active .mega-menu {
    transform: translateX(0);
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: transparent;
}

.mega-menu-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
}

.mega-menu-logo img {
    height: 50px;
    width: auto;
}

.mega-menu-company-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mega-menu-company-name {
        font-size: 0.85rem;
    }
}

.mega-menu-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mega-menu-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.mega-menu-social:hover {
    transform: translateY(-2px);
}

.mega-menu-social img {
    width: 32px;
    height: 32px;
}

.mega-menu-instagram {
    display: inline-block;
    margin-top: 50px;
    transition: transform 0.3s;
}

.mega-menu-instagram:hover {
    transform: translateY(-2px);
}

.mega-menu-instagram img {
    width: 32px;
    height: 32px;
    display: block;
}

.mega-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 20px;
    border: 1px solid #ffffff !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.mega-menu-header-right .mega-menu-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.mega-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 19px !important;
}

.mega-menu-close .menu-icon-inner span:first-child,
.mega-menu-close .menu-icon-inner span:last-child {
    transform: translate(-50%, -50%) rotate(60deg);
    margin-left: 0;
    background: #ffffff !important;
    height: 22px;
}

.mega-menu-close .menu-icon-inner span:last-child {
    transform: translate(-50%, -50%) rotate(-60deg);
}

.mega-menu-close:hover {
    background: transparent;
}

.mega-menu-close:hover .menu-icon-inner span {
    background: #ffffff !important;
}

.mega-menu-content {
    flex: 1;
    padding: 40px 0;
}

.mega-menu-wrapper {
    max-width: 1650px;
    margin: 20px auto 0;
    padding: 0 50px;
    width: 100%;
}

.mega-menu .footer-menu-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mega-menu .footer-menu-title {
    font-size: 24px;
}

.mega-menu .footer-menu-column {
    align-items: center;
    width: 100%;
    text-align: center;
}

.mega-menu-sp-instagram,
.mega-menu-sp-buttons {
    display: none;
}

.mega-menu .footer-menu-section {
    background: transparent;
    padding: 0;
}

.mega-menu .footer-menu-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    width: 100%;
}

.mega-menu .footer-menu-title a {
    color: #ffffff;
    text-decoration: none;
}

.mega-menu .footer-sub-menu a {
    color: rgba(255, 255, 255, 0.8);
}

.mega-menu .footer-sub-menu a:hover {
    color: #ffffff;
}

/* ===================================
   Footer Menu Section
   =================================== */
.footer-menu-section {
    background: #666666;
    padding: 50px 0;
}

.footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-menu-column {
    display: flex;
    flex-direction: column;
}

.footer-menu-title {
    font-size: 24px;
    font-weight: 500;
        
    color: #ffffff;
    margin-bottom: 15px;
    white-space: nowrap;
}

.footer-menu-title a {
    color: #ffffff;
    text-decoration: none;
}

.footer-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sub-menu li {
    margin-bottom: 8px;
}

.footer-sub-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-sub-menu a:hover {
    color: #ffffff;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.footer-social-icons .header-button {
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.footer-social-icons .header-button .button-arrow path {
    stroke: #ffffff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-icon img {
    width: 40px;
    height: 40px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 25px;
    border: 1px solid #ffffff;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-button .button-arrow {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.header-button.contact-button,
.header-button.store-button {
    border: 2px solid #d71f36 !important;
    border-radius: 9px !important;
    gap: 5px;
}

.header-button.contact-button:hover,
.header-button.store-button:hover {
    background: rgba(215, 31, 54, 0.1) !important;
    transform: translateY(-2px);
}

.footer-social-icons .header-button.contact-button,
.footer-social-icons .header-button.store-button {
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

.contact-button:hover {
    background: #2a4a6c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.contact-icon {
    flex-shrink: 0;
}
img.contact-icon{
    height: 30px;
}
.footer-border {
    height: 1px;
    background: #efefef;
}

/* ===================================
   Category Tabs
   =================================== */
.processing-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 0;
}

.processing-category-tab {
    display: inline-block;
    padding: 8px 18px;
    background: #B2B2B2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.processing-category-tab:hover,
.processing-category-tab.active {
    background: #d71f36;
}

/* ===================================
   Processing Detail Section
   =================================== */
.processing-page-section {
    padding: 50px 0;
    background: #ffffff;
}

.processing-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.processing-detail-item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
    padding: 50px 0;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.processing-detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.processing-detail-item:nth-child(even) {
    background: #ffffff;
}

.processing-detail-item:nth-child(even)::before {
    background: #ffffff;
}

.processing-page-section {
    overflow-x: hidden;
}

.processing-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.processing-detail-no-image {
    width: 100%;
    padding-top: 70%;
    background: #ddd;
    border-radius: 10px;
}

.processing-detail-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 72px;
        
    color: #d71f36;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.processing-detail-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 40px;
}

.processing-detail-description p {
    margin-bottom: 15px;
}

.processing-detail-block {
    padding-top: 10px;
    margin-bottom: 15px;
}

.processing-detail-subtitle {
    border-bottom: 1px solid #333;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 7px;
}

.processing-detail-block p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .processing-detail-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-detail-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Processing Metal Section
   =================================== */
.processing-metal-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-metal-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
    margin: 0 auto;
}

.processing-metal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.processing-metal-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.processing-metal-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 30px;
}

.processing-metal-banner {
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
}

.processing-metal-banner img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.processing-metal-banner:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .processing-metal-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-metal-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Processing Film Section
   =================================== */
.processing-film-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-film-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
    margin: 0 auto;
}

.processing-film-image img {
    width: 100%;
    height: auto;
    display: block;
}

.processing-film-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.processing-film-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 30px;
}

.processing-film-box {
    background: #ffdde3;
    padding: 25px;
    border-radius: 20px;
    font-weight: 600;
}

.processing-film-box p {
    font-size: 1rem;
    color: #d71f36;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .processing-film-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-film-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Processing Coating Section
   =================================== */
.processing-coating-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-coating-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
    margin: 0 auto;
}

.processing-coating-image img {
    width: 100%;
    height: auto;
    display: block;
}

.processing-coating-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.processing-coating-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .processing-coating-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-coating-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Processing Pure Section
   =================================== */
.processing-pure-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-pure-inner {
    margin: 0 auto;
}

.processing-pure-title {
    font-size: 2.2rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.processing-pure-logo {
    margin-bottom: 30px;
}

.processing-pure-logo img {
    max-width: 500px;
    height: auto;
    display: block;
}

.processing-pure-main-image {
    margin-bottom: 30px;
}

.processing-pure-main-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
}

.processing-pure-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.processing-pure-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start;
}

.processing-pure-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.processing-pure-images img {
    width: 100%;
    height: auto;
    display: block;
}

.processing-pure-subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.processing-pure-features ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 30px;
}

.processing-pure-features ol li {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

.processing-pure-features p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

.processing-pure-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.processing-pure-button {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.processing-pure-button:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .processing-pure-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-pure-title {
        font-size: 1.6rem;
    font-weight: 500;
        }

    .processing-pure-logo img {
        max-width: 200px;
    }
}

/* ===================================
   Processing Works Section
   =================================== */
.processing-works-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-works-title {
    font-size: 1rem;
    font-weight: 500;
        
    color: #fff;
    background: #888;
    padding: 12px 25px;
    margin-bottom: 20px;
}

.processing-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.processing-works-item {
    width: 100%;
    padding-top: 65%;
    background: #888;
    position: relative;
    overflow: hidden;
}

.processing-works-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .processing-works-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Processing Clear Section
   =================================== */
.processing-clear-section {
    padding: 75px 0;
    background: #ffffff;
}

.processing-clear-inner {
    margin: 0 auto 50px;
}

.processing-clear-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.processing-clear-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
}

.processing-clear-main {
    margin-top: 40px;
    width: 45%;
    margin-left: 0;
    margin-right: auto;
}

.processing-clear-main img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .processing-clear-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Processing Section Image Height Alignment
   =================================== */
.processing-detail-item,
.processing-metal-inner,
.processing-film-inner,
.processing-coating-inner,
.processing-pure-detail {
    align-items: stretch;
}

.processing-detail-image,
.processing-metal-image,
.processing-film-image,
.processing-coating-image {
    align-self: stretch;
}

.processing-detail-image img,
.processing-metal-image img,
.processing-film-image img,
.processing-coating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   Polishing Archive Section
   =================================== */
.polishing-archive-section {
    padding: 40px 0;
    background: #ffffff;
}

.polishing-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.polishing-detail-item {
    width: 100%;
    margin: 0;
    scroll-margin-top: 120px;
}

.polishing-detail-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.polishing-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    align-self: start;
    background: #ddd;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.polishing-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.polishing-detail-no-image {
    width: 100%;
    height: 100%;
    background: #ddd;
}

#polishing-section .polishing-detail-item {
    display: none;
}

#polishing-section .polishing-detail-item.active {
    display: block;
}

.polishing-detail-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.polishing-detail-link {
    width: 44px;
    height: 44px;
    border: 1px solid #333;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
}

.polishing-archive-link {
    text-align: center;
    margin-top: 30px;
}

.polishing-detail-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.polishing-detail-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 50px;
}

.polishing-detail-description p {
    margin-bottom: 15px;
}

.polishing-info-box {
    border: 1px solid #333;
    padding: 30px;
    margin-bottom: 50px;
}

.polishing-info-box p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.polishing-info-box p:last-child {
    margin-bottom: 0;
}

.polishing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.polishing-card {
    text-align: center;
}

.polishing-card-image {
    position: relative;
    width: 100%;
    padding-top: 70%;
    background: #ddd;
    overflow: hidden;
    margin-bottom: 15px;
}

.polishing-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.polishing-card-zoom {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.polishing-card-zoom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.polishing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.polishing-card-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ddd;
}



.polishing-card-title {
    font-size: 0.9rem;
    font-weight: normal;
    color: #fff;
    background: #777;
    padding: 8px 15px;
    border-radius: 9px;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    text-align: center;
}

.polishing-card-description {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    text-align: left;
}

.polishing-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.polishing-modal.active {
    display: flex;
}

.polishing-modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.polishing-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .polishing-detail-main {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .polishing-detail-title {
        font-size: 1.8rem;
        font-weight: 500;
    }

    .polishing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Page Lead
   =================================== */
.page-lead-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 2;
    max-width: 1200px;
    margin: 50px auto 0;
}

@media (max-width: 768px) {
    .page-lead-text {
        font-size: 1rem;
        margin: 30px auto 0;
    }
}

/* ===================================
   Purpose Archive Section
   =================================== */
.purpose-archive-section {
    padding: 40px 0 60px;
    background: #ffffff;
}

.purpose-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.purpose-detail-item {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 0;
    width: 100%;
}

.purpose-detail-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.purpose-detail-images {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.purpose-detail-image {
    text-align: left;
}

.purpose-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    background: #ddd;
}

.purpose-detail-no-image {
    width: 100%;
    padding-top: 70%;
    background: #ddd;
    margin-bottom: 15px;
}

.purpose-detail-image-label {
    font-size: 1rem;
    color: #333;
}

.purpose-detail-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.purpose-detail-arrow svg {
    width: 40px;
    height: 40px;
}

.purpose-detail-comment {
    font-size: 1.3rem;
    color: #d71f36;
    margin-bottom: 15px;
    line-height: 1.6;
}

.purpose-detail-sub-comment {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.purpose-detail-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.purpose-detail-label {
    display: inline-block;
    padding: 8px 20px;
    background: #d71f36;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .purpose-detail-title {
        font-size: 1.8rem;
    font-weight: 500;
        }

    .purpose-detail-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .purpose-detail-arrow {
        transform: rotate(90deg);
    }

    .purpose-detail-comment {
        font-size: 1.1rem;
    }
}

/* ===================================
   Polishing Type Section
   =================================== */
.polishing-section {
    padding: 40px 0;
    background: #ffffff;
}

.polishing-title {
    font-size: 3rem;
    font-weight: 500;
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.polishing-subtitle {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
}

.polishing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.polishing-item {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polishing-item:hover {
    transform: translateY(-5px);
}

.polishing-image {
    width: 100%;
    padding-top: 70%;
    position: relative;
    background: #ddd;
    border: 1px solid #999;
    margin-bottom: 15px;
    overflow: hidden;
}

.polishing-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polishing-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ddd;
}

.polishing-item-title {
    display: inline-block;
    padding: 8px 25px;
    background: #777;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
        border-radius: 30px;
    text-align: center;
    line-height: 1.5;
}

.polishing-more {
    display: flex;
    justify-content: center;
}

.polishing-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.polishing-more-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.polishing-more-link:hover path {
    stroke: #fff;
}

.polishing-more-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .polishing-title {
        font-size: 2rem;
    font-weight: 500;
        }

    .polishing-subtitle {
        font-size: 1rem;
    }

    .polishing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .polishing-item-title {
        font-size: 0.8rem;
        font-weight: 500;
        padding: 6px 15px;
    }
}

/* ===================================
   Banner Section
   =================================== */
.banner-section {
    padding: 40px 0;
    background: #ffffff;
}

.banner-section .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.banner-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 300px;
    transition: transform 0.3s;
}

.banner-item:hover {
    transform: scale(1.01);
}

.banner-large {
    height: 40vw;
    max-height: 600px;
}

.banner-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.banner-row-wide {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-row-wide .banner-half {
    height: 40vw;
    max-height: 600px;
    width: 100%;
    overflow: hidden;
}

.banner-row .banner-half {
    aspect-ratio: 1 / 1;
    min-height: auto;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.banner-item:hover .banner-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    width: 100%;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

.banner-title {
    font-size: 2.35rem;
    font-weight: 500;
        
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-title-image {
    font-size: 0;
    font-weight: normal;
    margin: 0 0 20px;
}

.banner-title-image img {
    max-width: 250px;
    height: auto;
}

.banner-title-image.banner-mdf img {
    max-width: min(500px, 100%);
    height: auto;
}

.banner-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.banner-arrow svg {
    width: 20px;
    height: 20px;
}

.banner-item:hover .banner-arrow {
    background: #d71f36;
    border-color: #d71f36;
}

@media (max-width: 768px) {
    .banner-row {
        grid-template-columns: 1fr;
    }

    .banner-item,
    .banner-large,
    .banner-half {
        min-height: 250px;
    }

    .banner-content {
        padding: 25px;
    }

    .banner-title {
        font-size: 1.5rem;
    font-weight: 500;
        }

    .banner-subtitle {
        font-size: 0.85rem;
    }
}

/* ===================================
   Company Profile
   =================================== */
.company-profile-section {
    padding: 40px 0;
    background: #ffffff;
}

.company-profile-table {
    max-width: 900px;
    margin: 0 auto;
}

.company-profile-row {
    display: flex;
    gap: 40px;
    padding: 10px 0;
    margin: 0;
    color: #1a2a4a;
}

.company-profile-row dt {
    width: 140px;
    font-weight: bold;
    flex-shrink: 0;
}

.company-profile-row dd {
    margin: 0;
    flex: 1;
    line-height: 1.9;
}

.company-profile-row dd p {
    margin: 0 0 5px;
}

.company-profile-row dd p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .company-profile-row {
        flex-direction: column;
        gap: 10px;
    }

    .company-profile-row dt {
        width: 100%;
    }
}

/* ===================================
   Company History
   =================================== */
.company-history-section {
    padding: 80px 0;
    background: #ffffff;
}

.company-history-list {
    max-width: 900px;
    margin: 0 auto;
    color: #1a2a4a;
}

.company-history-list p {
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 7px;
}

.company-history-list p:last-child {
    border-bottom: none;
}

/* ===================================
   Strong Visual
   =================================== */
.strong-visual-section {
    padding: 100px 0;
    background: #ffffff;
}

.strong-visual-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: start;
}

.strong-visual-images {
    display: contents;
}

.strong-visual-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    position: relative;
}

.strong-visual-image-01 {
    grid-column: 1;
    grid-row: 1;
}

.strong-visual-image-02 {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0px;
    margin-top: -290px;
    z-index: 2;
}

.strong-visual-image-03 {
    grid-column: 1;
    grid-row: 2;
    margin-left: 30%;
    margin-top: 80px;
    width: 100%;
    z-index: 1;
}

.strong-visual-text {
    grid-column: 2;
    grid-row: 1;
    padding-left: 30px;
}

.strong-visual-catch {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d71f36;
    line-height: 1.6;
    letter-spacing: 0.1em;
    margin: 0;
}

@media (max-width: 768px) {
    .strong-visual-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .strong-visual-image,
    .strong-visual-text {
        grid-column: 1;
        grid-row: auto;
    }

    .strong-visual-image-01,
    .strong-visual-image-02,
    .strong-visual-image-03 {
        margin: 0 0 20px 0;
        width: 100%;
        z-index: auto;
    }

    .strong-visual-image-03 {
        margin-bottom: 0;
    }

    .strong-visual-text {
        padding-left: 0;
        order: -1;
        text-align: center;
        margin-bottom: 30px;
    }

    .strong-visual-catch {
        font-size: 1.8rem;
    }
}

/* ===================================
   Strong Intro
   =================================== */
.strong-intro-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.strong-intro-inner {
    max-width: 900px;
    margin: 0 auto;
}

.strong-intro-catch {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d71f36;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 0.03em;
}

.strong-intro-text p {
    font-size: 1.1rem;
    color: #1a2a4a;
    line-height: 2;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .strong-intro-catch {
        font-size: 1.8rem;
    }

    .strong-intro-text p {
        font-size: 1rem;
    }
}

/* ===================================
   Company Page
   =================================== */
.company-greeting-section,
.company-philosophy-section {
    padding: 80px 0;
    background: #ffffff;
}

.company-philosophy-section {
    padding-bottom: 40px;
}

.company-greeting-section {
    position: relative;
}

.company-greeting-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 1px;
    background: #333;
}

.company-greeting-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.company-section-title {
    font-size: 2rem;
    font-weight: 500;
    max-width: 1000px;
    margin: 0 auto 40px;
    color: #d71f36;
}

.company-greeting-section .company-section-title {
    font-size: 2.5rem;
}

.company-greeting-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 2;
    margin-bottom: 25px;
}

.company-greeting-content .company-greeting-sign {
    font-size: 1.6rem;
    font-weight: 700;
    color: #d71f36;
    margin-top: 50px;
    margin-bottom: 0;
}

.company-philosophy-item {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    padding: 40px 0;
    border-bottom: 1px solid #333;
}

.company-philosophy-item:first-child {
    padding-top: 0;
}

.company-philosophy-item:last-child {
    border-bottom: 1px solid #333;
}

.company-philosophy-label {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.company-philosophy-left h3,
.company-philosophy-title,
.company-philosophy-catch {
    font-size: 2.4rem;
    font-weight: 500;
        
    color: #d71f36;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.company-philosophy-right p {
    font-size: 24px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 18px;
}

.company-philosophy-title {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .company-philosophy-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-philosophy-left h3,
    .company-philosophy-title,
    .company-philosophy-catch,
    .company-greeting-section .company-section-title {
        font-size: 1.7rem;
    font-weight: 500;
        }

    .company-philosophy-right p,
    .company-greeting-content p {
        font-size: 1rem;
        line-height: 1.9;
    }
}

/* ===================================
   Factory Page Section
   =================================== */
.factory-intro-section {
    padding: 0;
    background: #ffffff;
}

.factory-page-section {
    padding: 80px 0;
    background: #ffffff;
}

.factory-group {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid #eee;
    scroll-margin-top: 120px;
}

.factory-group:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.factory-group-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.factory-group-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 60px;
}

.factory-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.factory-item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: start;
}

.factory-image img {
    width: 100%;
    height: auto;
    display: block;
}

.factory-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 15px;
}

.factory-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s;
}

.factory-address:hover {
    color: #d71f36;
}

.factory-address-arrow {
    width: 14px;
    height: auto;
    display: inline-block;
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .factory-group-title {
        font-size: 2rem;
    font-weight: 500;
        }

    .factory-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .factory-image {
        order: -1;
    }
}

/* ===================================
   Contact Header
   =================================== */
.contact-header-wrap {
    border-bottom: none;
    text-align: center;
}

.contact-header-title {
    text-align: center;
    display: inline-block;
}

/* ===================================
   Contact Form 7
   =================================== */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-section .wpcf7 {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section .wpcf7 form p {
    margin-bottom: 20px;
}

.contact-section .wpcf7 label {
    display: block;
    font-size: 0.95rem;
    color: #d71f36;
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-section .wpcf7 .required-badge,
.contact-section .wpcf7 .wpcf7-required {
    color: #d71f36;
    font-size: 0.85rem;
    margin-left: 5px;
}

.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 input[type="tel"],
.contact-section .wpcf7 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
}

.contact-section .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-section .wpcf7 input[type="radio"] {
    margin-right: 5px;
}

.contact-section .wpcf7 .wpcf7-radio .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: normal;
}

.contact-section .wpcf7 .wpcf7-list-item-label {
    color: #333;
    font-weight: normal;
}

.contact-section .wpcf7 input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}

.contact-section .wpcf7 .file-upload-label {
    display: block;
    margin-bottom: 0;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #ffffff;
    color: #999;
    font-weight: normal;
    font-size: 1rem;
    cursor: pointer;
}

.contact-section .wpcf7 .file-upload-label .file-upload-text.has-file {
    color: #333;
}

.contact-section .wpcf7 .file-upload-label .wpcf7-form-control-wrap,
.contact-section .wpcf7 .file-upload-label input[type="file"] {
    display: none;
}

.contact-section .wpcf7 input[type="checkbox"] {
    margin-right: 8px;
}

.contact-section .wpcf7 .wpcf7-acceptance label {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-section .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-right: 0;
}

.contact-section .wpcf7 input[type="submit"],
.contact-section .wpcf7 button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 200px;
    margin: 40px auto 0;
    padding: 18px 30px;
    background: #d71f36;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-section .wpcf7 input[type="submit"]:hover,
.contact-section .wpcf7 button[type="submit"]:hover {
    background: #b01a2c;
}

.contact-section .wpcf7 .submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}

.contact-section .wpcf7 .submit-arrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: -2px;
}

.contact-section .wpcf7 dl {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 0 0 20px;
}

.contact-section .wpcf7 dt {
    width: 180px;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #d71f36;
    font-weight: bold;
    padding-top: 12px;
}

.contact-section .wpcf7 dt .required-badge {
    margin-left: 5px;
}

.contact-section .wpcf7 dt span:not(.required-badge) {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

.contact-section .wpcf7 dd {
    flex: 1;
    margin: 0;
}

.contact-section .wpcf7 .wpcf7-acceptance {
    text-align: center;
    margin: 30px 0;
    display: block;
}

.contact-section .wpcf7 .wpcf7-acceptance label {
    display: inline-flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-section .wpcf7 dl {
        flex-direction: column;
        gap: 10px;
    }

    .contact-section .wpcf7 dt {
        width: 100%;
        padding-top: 0;
    }
}

/* ===================================
   Polishing Bottom Banner
   =================================== */
.polishing-bottom-banner {
    margin-top: 40px;
    text-align: center;
}

.polishing-metal-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 40vw;
    max-height: 600px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #fff;
    padding: 40px;
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s;
}

.polishing-metal-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    z-index: 0;
}

.polishing-metal-banner:hover {
    transform: scale(1.01);
}

.polishing-metal-banner:hover::before {
    background: rgba(0, 0, 0, 0.35);
}

.polishing-metal-subtitle {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.polishing-metal-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 2rem;
    font-weight: normal;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
}

.polishing-metal-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.polishing-metal-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: -3px;
}

.polishing-metal-banner:hover .polishing-metal-arrow {
    background: #d71f36;
    border-color: #d71f36;
}

.polishing-metal-text {
    font-size: 32px;
    color: #1a2a4a;
    line-height: 42px;
    margin-bottom: 25px;
}

.polishing-metal-button {
    display: inline-block;
    padding: 15px 50px;
    background: #d71f36;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.polishing-metal-button:hover {
    background: #b01a2c;
}

@media (max-width: 768px) {
    .polishing-metal-banner {
        min-height: 250px;
    }

    .polishing-metal-title {
        font-size: 1.5rem;
        font-weight: 500;
    }
}

/* ===================================
   News Archive
   =================================== */
.news-archive-section {
    padding: 80px 0;
    background: #ffffff;
}

.news-archive-section .container {
    max-width: 900px !important;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-archive-card {
    display: block;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.news-archive-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-archive-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.news-archive-no-image {
    width: 100%;
    height: 180px;
    background: #eee;
}

.news-archive-body {
    padding: 20px;
}

.news-archive-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.news-archive-title-text {
    font-size: 1rem;
    font-weight: 500;
        
    line-height: 1.6;
    color: #333;
}

.news-archive-empty {
    text-align: center;
    color: #666;
    padding: 60px 0;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a:hover,
.pagination .current {
    background: #d71f36;
    color: #fff;
    border-color: #d71f36;
}

@media (max-width: 768px) {
    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Single News
   =================================== */
.single-news-section {
    padding: 80px 0;
    background: #ffffff;
}

.single-news-article {
    max-width: 800px;
    margin: 0 auto;
}

.single-news-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.single-news-title {
    font-size: 1.8rem;
    font-weight: 500;
        
    color: #333;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.single-news-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 50px;
}

.single-news-content p {
    margin-bottom: 20px;
}

.single-news-content img {
    max-width: 100%;
    height: auto;
}

.single-news-back {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #d71f36;
    color: #d71f36;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.single-news-back:hover {
    background: #d71f36;
    color: #fff;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background: #666666;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    width: max-content;
    gap: 15px;
    margin: 0 auto 5px;
}

.footer-main .footer-logo {
    width: 80px;
    margin: 0;
}

.footer-main .footer-logo img {
    width: 80px;
    height: auto;
    display: block;
}

.footer-main .footer-company-name h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.footer-info {
    text-align: center;
    margin-bottom: 30px;
}

.footer-address,
.footer-contact {
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.site-footer .footer-logo {
    text-align: center;
    width: 40px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer .footer-logo img {
    width: 80px;
    height: auto;
    max-width: 100%;
    display: block;
}

.footer-content {
    max-width: 380px;
    margin: 0 auto 40px;
}

.footer-company-name {
    text-align: center;
}

.footer-company-name h2 {
    font-size: 1.4rem;
    font-weight: 500;
        
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-office-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.office-item:nth-child(2) {
    margin-top: 15px;
}

.office-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.office-label {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
    min-width: 140px;
    text-align: left;
}

.office-address-area {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.office-address {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.office-contact {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.office-item:first-child .office-address-area {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 30px;
}

.office-item:first-child .office-address {
    width: 100%;
    text-align: center;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #ffffff;
    margin: 0;
}

/* ===================================
   Page Header
   =================================== */
.page-header-wrap {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 60px 0 10px;
}

.page-header-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-header-title {
    font-size: 70px;
    font-weight: 500;
    color: #d71f36;
    margin: 0;
}

@media (max-width: 768px) {
    .page-header-section {
        height: 250px;
    }

    .page-header-title {
        font-size: 1.8rem;
    font-weight: 500;
        }
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-section {
        height: 85vh;
    }
}

/* ===================================
   Strength Section
   =================================== */
.strength-section {
    padding: 0 0 100px;
    margin-top: 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.strength-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.strength-text {
    color: #333;
}

.strength-title {
    font-size: 3rem;
    font-weight: 500;
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.strength-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.strength-description {
    font-size: 1rem;
    line-height: 2;
    color: #555;
}

.strength-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.strength-text {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .strength-section {
        padding: 60px 0;
    }

    .strength-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .strength-title {
        font-size: 2rem;
    font-weight: 500;
        }

    .strength-subtitle {
        font-size: 1.2rem;
    }

    .strength-image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .strength-image img {
        height: auto;
        object-position: center;
    }
}

/* ===================================
   Processing Section
   =================================== */
.processing-section {
    padding: 40px 0;
    background: #ffffff;
}

.processing-title {
    font-size: 3rem;
    font-weight: 500;
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.processing-subtitle {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

.processing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.processing-tab {
    display: inline-block;
    padding: 10px 20px;
    background: #B2B2B2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.processing-tab:hover,
.processing-tab.active {
    background: #d71f36;
}

.processing-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.processing-image img {
    width: 100%;
    height: auto;
}

.processing-detail-title {
    font-size: 2.5rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.processing-detail-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 30px;
}

.processing-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.processing-detail-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.processing-detail-link:hover path {
    stroke: #fff;
}

.processing-detail-link svg {
    width: 20px;
    height: 20px;
}

.processing-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.processing-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.processing-more-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.processing-more-link:hover path {
    stroke: #fff;
}

.processing-more-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .processing-title {
        font-size: 2rem;
    font-weight: 500;
        }

    .processing-subtitle {
        font-size: 1rem;
    }

    .processing-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .processing-detail-title {
        font-size: 2rem;
    font-weight: 500;
        }
}

/* ===================================
   News Section
   =================================== */
.news-section {
    padding: 60px 0;
    background: #ffffff;
}

.news-inner {
    max-width: 1650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.news-title {
    font-size: 3rem;
    font-weight: 500;
    color: #d71f36;
    letter-spacing: 0.05em;
}

.news-list {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    gap: 30px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #333;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: rgba(215, 31, 54, 0.05);
}

.news-date {
    font-size: 1rem;
    color: #666;
    white-space: nowrap;
}

.news-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    margin-left: auto;
    transition: all 0.3s;
}

.news-arrow svg {
    width: 18px;
    height: 18px;
}

.news-item:hover .news-arrow {
    background: #d71f36;
    border-color: #d71f36;
}

.news-item:hover .news-arrow path {
    stroke: #fff;
}

.news-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    grid-column: 1 / -1;
}

.news-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.news-more-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.news-more-link:hover path {
    stroke: #fff;
}

.news-more-link svg {
    width: 20px;
    height: 20px;
}

.news-empty {
    padding: 25px 0;
    color: #666;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }

    .news-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-title {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 0;
    }

    .news-more {
        display: flex;
        justify-content: center;
        grid-column: 1 / -1;
    }

    .news-item {
        grid-template-columns: 1fr 40px;
        gap: 15px;
        padding: 20px 0;
    }

    .news-date {
        grid-column: 1 / -1;
        font-size: 0.85rem;
    }

    .news-text {
        font-size: 0.9rem;
    }
}

/* ===================================
   Purpose Section
   =================================== */
.purpose-section {
    padding: 40px 0;
    background: #ffffff;
}

.purpose-title {
    font-size: 3rem;
    font-weight: 500;
    color: #d71f36;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.purpose-subtitle {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.purpose-item {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.purpose-item:hover {
    transform: translateY(-5px);
}

.purpose-image {
    width: 100%;
    padding-top: 70%;
    position: relative;
    background: #ddd;
    border: 1px solid #999;
    margin-bottom: 15px;
    overflow: hidden;
}

.purpose-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purpose-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ddd;
}

.purpose-item-title {
    font-size: 0.95rem;
    font-weight: 500;
        color: #333;
    line-height: 1.5;
}

.purpose-more {
    display: flex;
    justify-content: center;
}

.purpose-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.purpose-more-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.purpose-more-link:hover path {
    stroke: #fff;
}

.purpose-more-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .purpose-title {
        font-size: 2rem;
    }

    .purpose-subtitle {
        font-size: 1rem;
    }

    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .purpose-item-title {
        font-size: 0.85rem;
    font-weight: 500;
        }
}

/* ===================================
   Instagram Section
   =================================== */
.instagram-section {
    padding: 60px 0;
    background: #ffffff;
}

.instagram-title {
    font-size: 3rem;
    font-weight: 500;
        
    color: #d71f36;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.2em;
}

.instagram-feed {
    margin-bottom: 40px;
}

.instagram-feed-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.instagram-feed-images img {
    width: 100%;
    height: auto;
    display: block;
}

.instagram-more {
    display: flex;
    justify-content: center;
}

.instagram-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.instagram-more-link:hover {
    background: #d71f36;
    border-color: #d71f36;
}

.instagram-more-link:hover path {
    stroke: #fff;
}

.instagram-more-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }

    .instagram-title {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 30px;
    }

    .instagram-feed-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Before After Component
   =================================== */
.before-after-wrapper {
    margin: 30px 0;
}

.before-after-title {
    font-size: 2rem;
    font-weight: 500;
        
    color: #d71f36;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.before-after-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.before-after-image-wrap {
    flex: 1;
    text-align: center;
}

.before-after-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    background: #ddd;
}

.before-after-label {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

.before-after-arrow {
    width: 20px;
    height: 20px;
    border-top: 2px solid #d71f36;
    border-right: 2px solid #d71f36;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ===================================
   Page Styles
   =================================== */
.page-header {
    text-align: center;
    padding: 40px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 500;
        color: #1a3a5c;
    margin-bottom: 10px;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
}

.page-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.page-category,
.page-material {
    background: #f0f4f8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #1a3a5c;
    font-weight: 500;
}

/* ===================================
   Category Filter
   =================================== */
.category-filter {
    margin: 30px 0;
}

.filter-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-item {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-item:hover,
.filter-item.active {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}

/* ===================================
   Purpose Grid
   =================================== */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.purpose-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.purpose-card-image {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.purpose-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purpose-card-content {
    padding: 20px;
}

.purpose-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.purpose-category,
.purpose-material {
    font-size: 0.8rem;
    color: #1a3a5c;
    font-weight: 500;
}

.purpose-card-title {
    font-size: 1.2rem;
    font-weight: 500;
        margin: 10px 0;
}

.purpose-card-title a {
    color: #333;
    text-decoration: none;
}

.purpose-card-title a:hover {
    color: #1a3a5c;
}

.purpose-card-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.purpose-card-link {
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
}

.purpose-card-link:hover {
    text-decoration: underline;
}

/* ===================================
   Purpose Details
   =================================== */
.purpose-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 40px 0;
}

.purpose-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.purpose-content {
    padding: 0;
}

.purpose-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
        color: #1a3a5c;
    margin-bottom: 20px;
}

.purpose-description {
    line-height: 1.8;
    color: #333;
}

/* ===================================
   Post Navigation
   =================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.nav-prev,
.nav-next {
    flex: 1;
}

.nav-prev a,
.nav-next a {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-prev a:hover,
.nav-next a:hover {
    background: #e9ecef;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.nav-next {
    text-align: right;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #1a3a5c;
    color: #fff;
}

.btn-primary:hover {
    background: #2a4a6c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #4a7ab8;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a8ac8;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #1a3a5c;
    color: #1a3a5c;
}

.btn-outline:hover {
    background: #1a3a5c;
    color: #fff;
}

/* ===================================
   Hero CTA Section
   =================================== */
.hero-cta-section {
    background: linear-gradient(135deg, #1a3a5c 0%, #4a7ab8 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
        margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
        color: #1a3a5c;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a3a5c;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
}

/* ===================================
   Works Section
   =================================== */
.works-section {
    padding: 80px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.work-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.work-thumbnail {
    padding-top: 66.67%;
    position: relative;
    overflow: hidden;
}

.work-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card h3 {
    padding: 20px;
    margin: 0;
    color: #333;
}

.work-link {
    display: block;
    padding: 0 20px 20px;
    color: #1a3a5c;
    text-decoration: none;
}

.work-link:hover {
    text-decoration: underline;
}

.works-button-wrapper {
    text-align: center;
}

.back-to-list {
    text-align: center;
    margin: 40px 0;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .page-numbers.current {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
}

.pagination .page-numbers:hover {
    background: #f0f0f0;
}

/* ===================================
   Posts Grid
   =================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    padding-top: 66.67%;
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 500;
        margin: 10px 0;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #1a3a5c;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-more {
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
}

.post-more:hover {
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ===================================
   Footer Navigation
   =================================== */
.footer-navigation {
    margin: 30px 0;
    text-align: center;
}

.footer-navigation ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-navigation a:hover {
    color: #fff;
}

/* ===================================
   SP対応
   =================================== */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-inner {
        padding: 10px 0;
    }

    .site-logo img {
        height: auto;
        max-height: 40px;
        max-width: calc(100vw - 110px);
    }

    .header-right {
        gap: 10px;
    }

    .header-button {
        display: none;
    }

    .header-social,
    .header-social.instagram {
        display: none !important;
    }

    .header-menu-toggle {
        margin-left: auto;
    }

    .header-social img {
        width: 20px;
        height: 20px;
    }

    .header-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .button-icon {
        width: 16px;
        height: 16px;
    }

    .header-menu-toggle {
        width: 45px;
        height: 45px;
        border-radius: 15px;
    }

    .mega-menu-logo img {
        height: 40px;
    }

    .mega-menu-close {
        width: 45px;
        height: 45px;
        border-radius: 15px !important;
    }

    .menu-icon {
        width: 28px;
        height: 28px;
    }

    .menu-icon-inner span {
        width: 1px;
        height: 18px;
        border-width: 2px;
    }

    .container {
        padding: 0 15px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-title {
        font-size: 1.8rem;
    font-weight: 500;
        }

    .hero-title {
        font-size: 2rem;
    font-weight: 500;
        }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .purpose-details {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
    }

    .nav-next {
        text-align: left;
    }

    .filter-list {
        flex-direction: column;
    }

    .filter-item {
        text-align: center;
    }

    .before-after-labels {
        font-size: 0.8rem;
    }

    .before-after-labels span {
        padding: 6px 12px;
    }

    .footer-menu-section {
        padding: 40px 0;
    }

    .footer-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-menu-grid {
        grid-template-columns: 1fr;
    }

    .footer-menu-title {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .footer-sub-menu a {
        font-size: 0.85rem;
    }

    .footer-social-icons {
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-button {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-company-name h2 {
        font-size: 1.2rem;
        font-weight: 500;
    }

    .footer-main .footer-company-name h2 {
        font-size: 1rem;
        white-space: normal;
    }

    .office-label {
        font-size: 0.9rem;
        min-width: 120px;
    }

    .office-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .office-address-area {
        gap: 3px;
    }

    .office-address,
    .office-contact {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }

    /* SP Mega Menu */
    .mega-menu {
        max-width: 70vw;
    }

    .mega-menu-content {
        padding: 20px 0;
    }

    .mega-menu .footer-menu-grid {
        display: block;
    }

    .mega-menu .footer-menu-column {
        width: 100%;
        margin-bottom: 15px;
    }

    .mega-menu .footer-menu-column:nth-child(2) {
        grid-column: auto;
    }

    .mega-menu .footer-menu-column .footer-sub-menu {
        display: none !important;
        padding-left: 20px;
        margin-top: 10px;
    }

    .mega-menu .footer-menu-column .footer-sub-menu.active {
        display: block !important;
    }

    .mega-menu .footer-menu-title {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .mega-menu .footer-menu-column {
        align-items: center;
    }

    .mega-menu .footer-menu-title.has-submenu {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        width: auto;
    }

    .mega-menu .footer-menu-title.has-submenu::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #ffffff;
        transition: transform 0.3s;
    }

    .mega-menu .footer-menu-title.has-submenu.active::after {
        transform: rotate(180deg);
    }

    .mega-menu .footer-menu-title.has-submenu.active::after {
        transform: rotate(180deg);
    }

    .mega-menu-sp-instagram {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 40px;
        height: 40px;
        margin: 30px 0 15px;
    }

    .mega-menu-sp-instagram img {
        width: 32px;
        height: 32px;
    }

    .mega-menu-wrapper {
        display: flex;
        flex-direction: column;
    }

    .mega-menu-sp-buttons {
        display: none;
    }

    .mega-menu-header-right .mega-menu-button {
        display: inline-flex;
        padding: 5px 10px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .mega-menu-header-right .button-arrow {
        width: 14px;
        height: 14px;
    }

    .mega-menu-header-right .mega-menu-social {
        display: none !important;
    }

    .mega-menu-social.instagram {
        display: none !important;
    }

    .mega-menu-logo,
    .mega-menu-company-name {
        display: none;
    }

    .mega-menu-header {
        justify-content: flex-end;
    }
}

/* ===================================
   Mega Menu - Always use SP style
   =================================== */
.mega-menu-content {
    padding: 20px 0;
}

.mega-menu .footer-menu-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
}

.mega-menu .footer-menu-column {
    width: 100%;
    margin-bottom: 0;
    align-items: flex-start;
    text-align: left;
}

.mega-menu .footer-menu-column:nth-child(2) {
    grid-column: auto;
}

.mega-menu .footer-menu-column .footer-sub-menu {
    display: none !important;
    padding-left: 20px;
    margin-top: 10px;
}

.mega-menu .footer-menu-column .footer-sub-menu.active {
    display: block !important;
}

.mega-menu .footer-menu-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.mega-menu .footer-menu-title.has-submenu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.mega-menu .footer-menu-title.has-submenu::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #ffffff;
    transition: transform 0.3s;
}

.mega-menu .footer-menu-title.has-submenu.active::after {
    transform: rotate(180deg);
}

.mega-menu-sp-instagram {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    margin: 30px 0 15px;
}

.mega-menu-sp-instagram img {
    width: 32px;
    height: 32px;
}

.mega-menu-wrapper {
    display: flex;
    flex-direction: column;
}

.mega-menu-sp-buttons {
    display: none;
}

.mega-menu-header-right .mega-menu-button {
    display: inline-flex;
    padding: 5px 10px;
    font-size: 0.8rem;
    gap: 5px;
}

.mega-menu-header-right .button-arrow {
    width: 14px;
    height: 14px;
}

.mega-menu-header-right .mega-menu-social {
    display: none !important;
}

.mega-menu-social.instagram {
    display: none !important;
}

.mega-menu-logo,
.mega-menu-company-name {
    display: none;
}

.mega-menu-header {
    justify-content: flex-end;
}
.processing-works-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.processing-works-carousel .processing-works-grid {
    flex: 1;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.processing-works-carousel .processing-works-grid::-webkit-scrollbar {
    display: none;
}

.processing-works-carousel .processing-works-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.processing-works-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s;
}

.processing-works-arrow:hover {
    opacity: 0.6;
}

.processing-works-arrow svg {
    width: 100%;
    height: 100%;
}

/* 研磨カード 白余白・左右余白（バイブレーション等） */
.polishing-card-image img {
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
}

.polishing-card-image {
    background: #fff;
}

@media (max-width: 768px) {
    .polishing-card-image img {
        padding: 5px;
    }

    .polishing-card-zoom {
        bottom: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
    }
}

/* セクション間隔統一150px */
.polishing-detail-item {
    padding: 50px 0;
}

/* 社長挨拶 フォント28px・行間38px */
.company-greeting-content p {
    font-size: 28px;
    line-height: 38px;
}

/* PCメニュー 文字サイズ20px */
@media (min-width: 769px) {
    .mega-menu .footer-menu-title {
        font-size: 20px;
    }
}
