* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #000;
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
nav,
.number,
.view-more,
.contact-btn,
.news-date {
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

p {

    letter-spacing: 2px;

}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.75rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.logo img {
    max-height: 50px;
}


.logo-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #000;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: #373b3e;
    transition: all 0.3s ease;
}

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

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

/* First View */


.first-view {
    height: 700px;

    position: relative;
    background: url('/wp-content/themes/treefood-theme/assets/images/firstview.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
}

.first-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.fv-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.first-view h1 {
    font-size: 5.5rem;
    font-weight: 500;
    letter-spacing: 13px;
    line-height: 0.8;
    margin-bottom: 10px;
    max-width: 500px;
}

.first-view h1 .fv-line {
    display: block;
    overflow: hidden;
}

.first-view h1 .fv-reveal-text {
    display: block;
    overflow: hidden;
}

.first-view h1 .fv-reveal-text-inner {
    display: block;
    transform: translateX(-100%);
    opacity: 0;
}

.first-view h1 .fv-reveal-text-inner.fv-animate {
    animation: fvSlideInLeft 1s ease forwards;
}

.first-view h1 .fv-line:nth-child(3) .fv-reveal-text-inner.fv-animate {
    animation-delay: 0.3s;
}

.fv-divider {
    width: 100%;
    height: 2px;
    background: #fff;
    transform-origin: left;
    transform: scaleX(0);
}

.fv-divider.fv-animate {
    animation: fvExpandLine 0.8s ease forwards 0.6s;
}

@keyframes fvSlideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fvExpandLine {
    to {
        transform: scaleX(1);
    }
}

/* Section Common */
section {
    padding: 80px 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Reveal Text Animation */
.reveal-text {
    overflow: hidden;
    display: inline-block;
}

.reveal-text-inner {
    display: block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

.reveal-text-inner.animate {
    animation: revealText 0.6s ease forwards;
}

@keyframes revealText {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* Tree Food Partners Section */
.tfp-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid #000;
}

.tfp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.tfp-header {
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 30px;
}

.tfp-left {
    flex: 0 0 auto;
}

.tfp-left h2,
.concept-header h2 {
    font-size: 7.4375rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.tfp-left h2 .line,
.concept-header h2 .line {
    display: block;
    margin-bottom: 0;
    line-height: 0.9;
}

.tfp-description {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 2;
    color: #666;
}

.tfp-icon {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 15%;
}

.tfp-icon img,
.tfp-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tfp-divider {
    width: 100%;
    height: 2px;
    background: #000;
    margin: -12px 0;
    transform-origin: left;
    transform: scaleX(0);
}

.tfp-divider.animate {
    animation: expandLine 0.8s ease forwards 0.6s;
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

.tfp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tfp-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.tfp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.tfp-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    text-align: left;
}


.tfp-card-title h3 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 2px;
    line-height: 0.8;
    margin: 0;
}

.tfp-card-title h3 span {
    background: rgba(0, 0, 0, 0.95);
    padding: 0;
    line-height: 0.8;

    display: inline-block;
    transform: translateY(0px);
}

.tfp-card>p {
    font-size: 1.125rem;
    letter-spacing: 2px;
    margin: 12px 0 0 0;
    color: #000;
    text-align: left;
}

.space_left {
    margin-left: 1em;
}

/* Concept Section */
.concept-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;

}

.concept-header {
    margin-bottom: 80px;
}

.concept-subtitle {
    font-size: 2.3125rem;
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 0.15em;
}




.concept-item:last-child {
    margin-bottom: 0;
}

.concept-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.concept-text {
    border-top: 2px solid #000;
    height: 100%;
    padding: 50px 25px 0;
}

.concept-text h3 {
    font-size: 7.625rem;
    font-weight: 500;
    margin-bottom: 25px;
    margin-right: 15px;
    line-height: 1;
    letter-spacing: -2px;
}

.concept-text h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 2.5px;

}

.concept-text p {
    font-size: 1rem;
    line-height: 2.2;
    color: #000;
}

.concept-divider {
    width: 100%;
    height: 2px;
    background: #000;
    transform-origin: left;
    transform: scaleX(0);
    margin: -12px 0;
}

.concept-divider.animate {
    animation: expandLine 0.8s ease forwards 0.6s;
}

/* Service Section */
.service-section {
    background: #F0F0ED;
    padding: 80px 0;
}

.service-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-cards-wrapper {
    width: 100%;
}

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

.service-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    aspect-ratio: 4/3.5;
    object-fit: cover;
    display: block;
}

.service-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.service-card .number {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 3px;
}

.service-card .card-description {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: #000;
    margin-top: 10px;
    margin-bottom: 0;
}

.service-text {
    padding-left: 20px;
}

.service-text h2 {
    font-size: 3.9375rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.service-text .subtitle {
    font-size: 1.125rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 500;
}

.service-text .description {
    font-size: 1.3125rem;
    line-height: 2;
    color: #000;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-text {
        padding-left: 0;
        order: -1;
    }

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

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
}

.view-more {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 2px;
}

.view-more::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.view-more:hover::before {
    width: calc(100%);
}

.view-more::after {
    content: '>';
    font-size: 0.875rem;
}

/* News Section */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-header h2 {
    font-size: 3.125rem;
    font-weight: 500;
    background: #000;
    color: #fff;
    line-height: 0.85;
}

.news-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
}

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

.news-item a {
    display: flex;
    gap: 40px;
    align-items: baseline;
    padding: 22px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    width: 100%;
}

.news-item a:hover {
    opacity: 0.6;
}

.news-date {
    font-size: 1.6875rem;
    color: #000;
    min-width: 90px;
    font-weight: 500;
}

.news-title {
    font-size: 0.9375rem;
    color: #000;
    flex: 1;
}

/* Company Section */
.company-section {
    background: #fff;
    padding: 80px 0;
}

.company-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.company-text h2 {
    font-size: 3.9375rem;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -1px;
}

.company-text .subtitle {
    font-size: 1.125rem;
    color: #000;
    margin-bottom: 25px;
}

.company-text p {
    font-size: 0.8125rem;
    line-height: 2.2;
    color: #666;
    margin-bottom: 30px;
}

.company-image {
    width: 100%;
    object-fit: cover;
}

/* Contact CTA Section */
.contact-cta {
    background: #F0F0ED;
    padding: 20px 0;
}

.contact-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.contact-cta-content img {
    max-width: 62px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #000;
}

.contact-phone {
    font-size: 2.9375rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #000;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;

}

.contact-btn {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: bold;
    transition: opacity 0.3s;
    letter-spacing: 1.5px;
    display: inline-block;
}

.contact-btn:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 30px 0 20px;
}

.fotter-line {
    border-top: 0.5px solid #fff;
    margin-bottom: 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-left p {
    font-size: 0.5625rem;
}

.footer-logo {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.footer-logo-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 9px solid #fff;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    width: fit-content;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.copyright {
    text-align: center;
    font-size: 0.6875rem;
    color: #666;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #555;
}

.back-to-top::before {
    content: '▲';
    font-size: 0.875rem;
    line-height: 1;
}

@media (max-width: 820px) {
    .concept-subtitle {
        font-size: 2.3125rem;
        font-weight: bold;
        line-height: 1.8;
        letter-spacing: 0.15em;
        text-align: center;
        margin-top: 50px;
    }

    .tfp-icon {
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        width: 15%;
        margin: 0 auto;
    }

    .tfp-description {
        margin-top: 25px;
        margin-bottom: 25px;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 100px 30px;
        transition: right 0.3s ease;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
    }

    nav a {
        color: #fff !important;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .first-view {
        height: 400px;
    }

    .fv-content h1 {
        font-size: 4.7rem;
        letter-spacing: 1px;
        padding: 20px;
    }

    .fv-content div {
        text-align: center;
    }

    .tfp-header {
        flex-direction: column;
    }

    .first-view-catch {
        font-size: 0.8em;
        margin-top: 10px;
    }

    .tfp-description {
        padding-left: 0;
        margin-top: 20px;
        text-align: center;
    }

    .tfp-left h2,
    .concept-header h2 {
        font-size: 4.375rem;
        font-weight: 500;
        letter-spacing: -0.5px;
    }

    .tfp-left h2 .line,
    .concept-header h2 .line {
        display: block;
        margin-bottom: 0;
        line-height: 1;
    }

    .tfp-cards,
    .service-cards {
        grid-template-columns: 1fr;
    }

    .concept-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .concept-item:nth-child(even) .concept-image,
    .concept-item:nth-child(even) .concept-text {
        order: 0;
    }

    .concept-subtitle {
        font-size: 1.875rem;
        font-weight: bold;
        line-height: 1.8;
        letter-spacing: 0.15em;
        margin-top: 25px;
    }

    .service-text .description {
        font-size: 0.9375rem;
        line-height: 2;
        color: #000;
        margin-bottom: 30px;
    }

    .company-content {
        grid-template-columns: 1fr;
    }

    .concept-text {
        border-top: 2px solid #000;
        height: 100%;
        padding: 50px 0px 50px;
    }

    .contact-cta-content {
        flex-direction: column;
        gap: 0px;
    }

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

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

}

/* Company Page Styles */
.company-page-fv {
    height: 300px;
    position: relative;
    background: url('/wp-content/themes/treefood-theme/assets/images/company-header.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
}

.company-page-fv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.company-fv-logo {
    position: relative;
    z-index: 2;
    max-width: 200px;
}

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

.company-info-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-title-area {
    margin-bottom: 80px;
}

.company-title-area h2 {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.company-title-area p {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.company-details {
    margin-bottom: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.company-dl dt {
    width: 30%;
    padding: 30px 0;
    font-weight: bold;
    border-bottom: 2px solid #000;
    display: flex;
    align-items: center;
    letter-spacing: 0.3em;
    justify-content: center;
}

.company-dl dd {
    width: 70%;
    margin-left: 0;
    padding: 30px 0 30px 20px;
    border-bottom: 1px solid #000;
}

.company-dl dd {
    line-height: 2;
    margin-bottom: 0;
}

/* Google Map */
.company-map {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.company-map iframe {
    width: 100%;
    height: 400px;
    aspect-ratio: 16/9;
}

/* Responsive */
@media (max-width: 768px) {
    .company-page-fv {
        height: 20vh;
        min-height: 300px;
        background-position: 16%;
    }

    .company-dl {
        flex-direction: column;
    }

    .company-dl dt {
        width: 100%;
        border-bottom: none;
        padding-bottom: 10px;
        justify-content: center;
    }

    .company-dl dd {
        width: 100%;
        padding-top: 0;
        padding-left: 0;
    }

}

/* Contact Page Styles */
.contact-page-section {
    padding: 120px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-container {
    padding: 0 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-logo {
    width: 60px;
    margin-bottom: 20px;
}

.contact-header h2 {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.contact-header p {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.3em;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-row {
    display: flex;
    margin-bottom: 0;
}

.contact-row dt {
    width: 30%;
    padding: 30px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: -2px;
    z-index: 1;
    padding-left: 10px;
    justify-content: center;
    letter-spacing: 0.3em;
}

.contact-row:first-child dt {
    margin-top: 0;
}

.contact-row {
    align-items: stretch;
}

.contact-row dd {
    width: 70%;
    padding: 20px;
    border-left: none;
    margin-left: 0;
    display: flex;
    align-items: center;
    margin-top: -1px;
    border-top: 1px solid #C4C4C4;
    border-bottom: 1px solid #C4C4C4;
    margin-bottom: 0;
}

.contact-row+.contact-row dt {
    margin-top: -2px;
}

.contact-row+.contact-row dd {
    margin-top: -1px;
}

.contact-row dd input,
.contact-row dd textarea {
    width: 100%;
    border: 1px solid #C4C4C4;
    padding: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    border-radius: 0;
}

.contact-row dd textarea {
    resize: vertical;
}

.required {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
    vertical-align: super;
}

.form-submit {
    margin-top: 60px;
    text-align: center;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 15px 100px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2em;
}

.submit-btn::after {
    content: '>';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: monospace;
}

.submit-btn:hover {
    padding-right: 120px;
    padding-left: 80px;
}

.submit-btn:hover::after {
    opacity: 1;
    right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        margin-bottom: 20px;
        gap: 10px;
    }

    .contact-row dt {
        width: 100%;
        border: none;
        border-bottom: 2px solid #000;
        padding: 10px 0;
        margin-top: 0;
    }

    .contact-row dd {
        width: 100%;
        border: none;
        padding: 0;
        display: block;
        margin-top: 0;
    }

    .contact-row+.contact-row dt {
        margin-top: 0;
    }

    .contact-header h2 {
        font-size: 3.5rem;
    }

    .contact-header p {
        letter-spacing: 0.2em;
    }
}

/* ========================================
   WordPress Additional Styles
   ======================================== */

/* News Archive Section */
.news-archive-section {
    padding: 80px 0;
}

.news-archive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-archive-header h2 {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.news-archive-header p {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.news-list-archive {
    margin-bottom: 60px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pagination-wrapper a:hover {
    background: #000;
    color: #fff;
}

.pagination-wrapper .current {
    background: #000;
    color: #fff;
}

/* Back to Home/Archive */
.back-to-home,
.back-to-archive {
    text-align: center;
    margin-top: 60px;
}

/* Single Post Section */
.single-post-section {
    padding: 150px 0 80px;
    background: #fff;
}

.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.single-article {
    margin-bottom: 60px;
}

.single-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #000;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.single-meta .news-date {
    font-size: 1.5rem;
    color: #666;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
}

.single-category {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.single-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.single-content {
    margin-top: 40px;
}

.single-thumbnail {
    margin-bottom: 40px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-body {
    line-height: 2;
    font-size: 1rem;
    color: #333;
}

.single-body p {
    margin-bottom: 1.5em;
}

.single-body h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2.5em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e5e5e5;
}

.single-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 2em 0 0.75em;
}

.single-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5em 0 0.5em;
}

.single-body img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    display: block;
}

.single-body ul,
.single-body ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.single-body li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.single-body blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: #f9f9f9;
    border-left: 4px solid #000;
    font-style: italic;
}

.single-body a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.single-body a:hover {
    opacity: 0.6;
}

.single-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

/* Post Navigation */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 20px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #f5f5f5;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 8px;
    font-family: 'Barlow Condensed', sans-serif;
}

.nav-title {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Page Content Section */
.page-content-section {
    padding: 80px 0;
}

.page-content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-title-area {
    margin-bottom: 60px;
}

.page-title-area h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.page-content {
    line-height: 2.2;
    font-size: 1rem;
}

/* Contact Form 7 Styles */
.wpcf7 .contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.wpcf7-form .contact-row {
    display: flex;
    margin-bottom: 0;
}

.wpcf7-form .contact-row dt {
    width: 30%;
    padding: 30px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: -2px;
    z-index: 1;
    padding-left: 10px;
    justify-content: center;
    letter-spacing: 0.3em;
}

.wpcf7-form .contact-row dd {
    width: 70%;
    padding: 20px;
    border-left: none;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -1px;
    border-top: 1px solid #C4C4C4;
    border-bottom: 1px solid #C4C4C4;
    margin-bottom: 0;
}

/* CF7のラッパー要素を幅いっぱいに */
.wpcf7-form .contact-row dd .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    border: 1px solid #C4C4C4;
    padding: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    border-radius: 0;
}

.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 200px;
    width: 100% !important;
}

.wpcf7-form-control.wpcf7-submit {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 15px 100px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2em;
}

.wpcf7-form-control.wpcf7-submit:hover {
    opacity: 0.8;
}

.wpcf7 .form-submit {
    margin-top: 60px;
    text-align: center;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    text-align: center;
}

.wpcf7-validation-errors {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.wpcf7-mail-sent-ok {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.wpcf7-not-valid-tip {
    color: #c62828;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Contact Form Placeholder */
.contact-form-placeholder {
    margin: 40px 0;
}

/* Responsive for WordPress Additional */
@media (max-width: 768px) {
    .news-archive-header h2 {
        font-size: 3.5rem;
    }

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

    .post-navigation .nav-links {
        flex-direction: column;
    }

    .nav-previous,
    .nav-next {
        max-width: 100%;
    }

    .nav-next {
        text-align: left;
    }

    .wpcf7-form .contact-row {
        flex-direction: column;
        margin-bottom: 20px;
        gap: 10px;
    }

    .wpcf7-form .contact-row dt {
        width: 100%;
        border: none;
        border-bottom: 2px solid #000;
        padding: 10px 0;
        margin-top: 0;
    }

    .wpcf7-form .contact-row dd {
        width: 100%;
        border: none;
        padding: 0;
        display: block;
        margin-top: 0;
    }
}

/* ========================================
   News Grid Page Styles
   ======================================== */

/* News Grid Section */
.news-grid-section {
    padding: 80px 0;
}

.news-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-grid-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-grid-header h2 {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.news-grid-header p {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* Category Filter */
.news-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.category-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.category-btn:hover,
.category-btn.active {
    background: #000;
    color: #fff;
}

/* News Card Grid */
.news-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* News Card */
.news-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F0F0ED;

}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.news-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-thumbnail img {
    transform: scale(1.08);
}

.news-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #c7c7c7 100%);
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

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

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-card-date {
    font-size: 0.875rem;
    color: #666;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
}

.news-card-category {
    display: inline-block;
    padding: 3px 10px;
    background: #000;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-card-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #666;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .news-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .news-grid-header h2 {
        font-size: 3.5rem;
    }

    .news-category-filter {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

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

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

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

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .news-grid-container {
        padding: 0 20px;
    }

    .news-card-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   Privacy Policy Page Styles
   ======================================== */

.privacy-policy-page-section {
    padding: 150px 0 80px;
    background: #fff;
}

.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.privacy-policy-container>p {
    font-size: 0.9375rem;
    line-height: 2;
    color: #666;
    margin-bottom: 50px;
}

.privacy-policy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid #000;
}

.privacy-policy-logo {
    width: 60px;
    margin-bottom: 20px;
}

.privacy-policy-header h2 {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
}

.privacy-policy-header p {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.3em;
    margin: 0;
}

.privacy-policy-content {
    margin-bottom: 50px;
}

.privacy-policy-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    letter-spacing: 0.1em;
}

.privacy-policy-content p {
    font-size: 0.9375rem;
    line-height: 2;
    color: #333;
}

/* Responsive - Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-page-section {
        padding: 120px 0 60px;
    }

    .privacy-policy-container {
        padding: 0 20px;
    }

    .privacy-policy-header h2 {
        font-size: 3.5rem;
    }

    .privacy-policy-header p {
        letter-spacing: 0.2em;
    }

    .privacy-policy-content h3 {
        font-size: 1rem;
    }

    .privacy-policy-content p {
        font-size: 0.875rem;
    }
}