/*
Theme Name: Tetsuzan
Author: Tetsuzan Author
Description: A clean skeleton theme for Tetsuzan project.
Version: 1.0.0
Text Domain: tetsuzan
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #359A7C;      /* Updated to requested Green */
    --color-primary-light: #3D9162;
    --color-secondary: #333333;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-alt: #DBDEDC; /* Updated to requested color */
    --color-white: #FFFFFF;
    --color-border: #EEEEEE;

    /* Typography */
    --font-base: "Noto Sans JP", sans-serif;
    --font-accent: "Source Serif 4", serif; /* For English headings */

    /* Layout */
    --container-width: 1200px;
    --container-width-narrow: 1000px; /* Added narrow container width */
    --header-height: 80px;
    --section-padding: 80px 0;
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Content text links */
.site-main a:not(.btn-gradient):not(.banner-item):not(.delivery-btn) {
    color: #128DE3;
}

.site-main a:not(.btn-gradient):not(.banner-item):not(.delivery-btn):hover {
    text-decoration: underline;
    opacity: 0.8;
}

a:hover {
    opacity: 0.7;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    max-width: var(--container-width-narrow); /* Changed to narrow width */
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* Visibility Utilities */
.u-mobile-only {
    display: none !important;
}

.u-desktop-only {
    display: block !important;
}

.lead-text{
    font-weight: 600;
}

.section-title-heaad-text{
    margin-top: -5px;
    font-size: 2.2em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.3); /* Changed opacity to 0.5 */
    backdrop-filter: blur(10px);
    border-bottom: none;
    position: fixed; /* Overlap the content */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.site-header .container {
    max-width: var(--container-width); /* Header uses wider width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-white);
}

.site-branding .logo img {
    height: 40px;
}

.site-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.site-description {
    font-size: 0.7rem;
    margin: 2px 0 0;
    line-height: 1;
    opacity: 0.8;
}

.main-navigation ul {
    display: flex;
    /* align-items: center; */
    margin-left: 10px;
}

.main-navigation li {
    position: relative;
    display: flex;
    align-items: center;
}

/* Vertical separator lines */
.main-navigation li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0px clamp(5px, calc(-30.556px + 4.63vw), 25px);
}

.main-navigation a {
    color: var(--color-white);
    font-size: clamp(0.8rem,1.2vw,0.9rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

/* Underline for active page and hover */
.main-navigation a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #359A7C; /* Darkest green from button gradient */
    transition: width 0.3s;
}

.main-navigation li.current-menu-item a::after,
.main-navigation a:hover::after {
    width: 110%;
    left: -5%;
    bottom: 5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-primary); /* Theme green */
    color: var(--color-white);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all contents */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-info .footer-logo img {
    height: 60px;
    margin-bottom: 0;
    filter: brightness(0) invert(1); /* White logo */
}

.footer-info address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0; /* Gaps handled by li spacing and lines */
}

.footer-nav li {
    display: flex;
    align-items: center;
}

/* Vertical separator lines in footer */
.footer-nav li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 1.2rem;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 20px;
}

.footer-nav a {
    font-size: 0.875rem;
    font-weight: 700;
}


.site-info {
    border-top: none; /* Removed border */
    padding-top: 0;
    font-size: 0.7rem;
    text-align: center;
}

/* ==========================================================================
   Front Page - Hero
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-content {
    text-align: center;
}

.hero-logo img {
    width: 300px;
    max-width: 100vw;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Front Page - Sections
   ========================================================================== */

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

.privacy-policy .section-title {
    margin-top: 60px;
}

.section-title img.title-logo{
    margin: 0 auto;
    width: 7rem;
}

.section-title .section-title-text{
    margin: 0 0 0.5rem;
    text-align:center;
    font-size: 1.4rem;
}
.section-title .section-title-head-text{
    font-size:1.6rem;
       margin: 0 0 0.5rem;
    text-align:center;
}
.section-title.text-center img {
    margin: 0 auto;
}
.page-template-page-contact .section-title,
.page-template-page-test-reports .section-title{
    padding-top:30px;
}
.page-template-page-test-reports .section-title img.title-logo {
   height:inherit;
}
.page-template-page-test-reports .section-title img {
    height: 40px;
}

.supply-text{
display: flex;
    flex-direction: column;
   align-items: center;
}

.supply-text .section-title {
    margin-bottom: 30px;
    text-align: center;
    width: 24rem;
}


.supply-text .section-title img {
    margin: 0 auto;
}

.section-title img {
    height: 50px;
    display: block;
}

#supply .supply-text > p{
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
}

#supply,
#products,
#download,
#movie,
.bg-light {
    background-color: var(--color-bg-alt);
}

#download{
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 150px;
}

.heading-large {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Supply Section */
.supply-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
}

.supply-image {
    position: relative;
    width: 500px;
    height: 632px;
    margin: 0 auto;
}

.supply-image .supply-bg {
    width: 516px;
    height: 632px;
    display: block;
    margin-left: -22px;
}

.supply-image .supply-pin {
    position: absolute;
    top: 162px;
    left: 170px;
    width: 116px;
    height: auto;
    z-index: 2;
}

.supply-image .supply-arrow-blue {
    position: absolute;
    top: 298px;
    left: -48px;
    width: 272px;
    height: auto;
    z-index: 1;
}

.supply-image .supply-arrow-orange {
    position: absolute;
    top: 299px;
    left: 232px;
    width: 272px;
    height: auto;
    z-index: 1;
}

/* Banner Grid */
#banners {
    background-color: var(--color-bg-alt);
    padding-bottom: 80px;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Updated gap to 10px */
}

.banner-item {
    position: relative;
    aspect-ratio: 5 / 6; /* Fixed 4:3 ratio */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    color: var(--color-white);
    overflow: hidden;
    padding: 20px; /* Padding for the inner content */
}

.banner-item .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s;
}

.banner-item:hover .bg-image {
    transform: scale(1.05);
}

.banner-content {
    text-align: right;
    z-index: 1; /* Ensure content is above image */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 100px;
}

.banner-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.banner-arrow img {
    width: 60px;
    height: auto;
}
.banner-content h3{
    margin-bottom:0.25rem;
    font-size:1.2rem;
}
.banner-content img {
    height: 60px;
    margin-bottom: 0;
}

.banner-content p {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 5px;
}
/* Products Section */
#products {
    position: relative;
    overflow: hidden;
    background: none; /* Reset main background */
    background: var(--color-bg-alt);
    padding-bottom: 0;
}

#products .container {
    position: relative;
    max-width: var(--container-width-narrow);
    margin: 0 auto;
}

#products .container::before,
#products .container::after {
    content: "";
    position: absolute;
    top: 50px;
    width: 50vw; /* Wide enough to cover backgrounds */
    height: 100%;
    background-size: contain;
    z-index: 0;
    background-image: url('assets/images/bg_products.jpg');
    background-repeat: no-repeat;
}

#products .container::before {
    right: 50%; /* Anchor to center, extends to the left */
    background-position: left center;
}

#products .container::after {
    left: 60%; /* Anchor to center, extends to the right */
    background-position: right center;
}

#products .products-inner {
    position: relative;
    z-index: 1;
    background-color: var(--color-bg-alt);
    /* Parallelogram shape: sharp top-right and bottom-left */
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    padding: 0 5rem 40px 5rem;
    width: 100%;
    margin: 0 auto;
    transition: width 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="zoom-width"] {
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
}

[data-aos="zoom-width"].aos-animate {
    width: 85% !important;
}

/* ==========================================================================
   AOS Customizations
   ========================================================================== */
[data-aos="fade-up"] { transform: translate3d(0, 30px, 0); }
[data-aos="fade-down"] { transform: translate3d(0, -30px, 0); }
[data-aos="fade-left"] { transform: translate3d(30px, 0, 0); }
[data-aos="fade-right"] { transform: translate3d(-30px, 0, 0); }

/* Custom AOS Animation: Diagonal Reveal */
[data-aos="reveal-diagonal"] {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    opacity: 0;
    transition-property: clip-path, opacity;
}

[data-aos="reveal-diagonal"].aos-animate {
    clip-path: polygon(-20% -20%, 140% -20%, 140% 140%, -20% 140%);
    opacity: 1;
}

/* Custom AOS Animation: Diagonal Reveal Reverse (Top-Right to Bottom-Left) */
[data-aos="reveal-diagonal-reverse"] {
    clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
    opacity: 0;
    transition-property: clip-path, opacity;
}

[data-aos="reveal-diagonal-reverse"].aos-animate {
    clip-path: polygon(-20% -20%, 120% -20%, 120% 120%, -20% 120%);
    opacity: 1;
}

.products-list ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.btn-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */ /* Removed gap as icon is now absolute */
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 40px;
    width: 280px;
    /* height: 40px; */
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
    background-color: #359A7C;
    background-image: linear-gradient(90deg, #359a7c 38%, #96b67b);
    margin: 0 auto;
    border: none;
    cursor: pointer;
    padding: 1.2rem 40px; /* Added padding to ensure text doesn't hit the left icon */
    position: relative; /* Base for absolute positioning */
    -webkit-appearance: none;
    appearance: none;
}

.btn-gradient img {
    position: absolute;
    left: 30px; /* Position at the left end */
    top: 50%;
    transform: translateY(-50%);
    height: 2rem;
    width: auto;
}

.btn-gradient:hover {
    box-shadow: 0 0 rgba(0, 0, 0, 0);
    opacity: 1;
}

/* Original class for general use */
.original-button {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.875rem;
    border-radius: 20px;
    width: 200px;
    height: 40px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
    background-color: #359A7C;
    background-image: linear-gradient(90deg, #359a7c 38%, #96b67b);
}

.original-button:hover {
    box-shadow: 0 0 rgba(0, 0, 0, 0);
    opacity: 1;
}

/* Gradient Utility */
.gradation {
    background-image: linear-gradient(90deg, #359a7c 38%, #96b67b);
}

.history-image-full {
    width: 100%;
}

.history-image-full img {
    width: 100%;
    height: auto;
    display: block; /* Remove bottom gap */
}

#history.bg-history {
    background-image: url('assets/images/bg_history.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 80px 0; /* Add vertical padding only */
}

#history .section-title {
    max-width: 50%;
    margin-bottom: 10px;
}

#history .section-title img {
    filter: brightness(0) invert(1);
    margin: 0 auto; /* Center within the 50% width */
}

.history-intro {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 60px;
    text-align: left; /* Left align text */
    line-height: 1.4;
    max-width: 50%; /* Content occupies only the left half */
}

.history-timeline {
    font-weight: 600;
    max-width: 55%; /* Timeline also occupies only the left half */
}

.history-timeline li {
    display: flex;
    justify-content: flex-start; /* Left align list items */
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.history-timeline .year {
    width: auto;
    /* font-weight: 700; */
    color: inherit;
    white-space: nowrap;
}

.movie-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
    position: relative;
    padding: 1.25rem 0; /* Add padding for the background line */
}

.movie-title::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 100%;
    background-image: url('assets/images/line_movie.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0; /* Place behind text */
}


.movie-title .title-icon {
    height: 50px;
}

.movie-embed {
    width: 80%;
    margin: 0 auto 40px;
}

.video-container {
    position: relative;
    padding-bottom: 40%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    width: 75%;
    margin: 0 auto;
}

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

.movie-description {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
}

/* Company Table */
.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.table-basic {
    width: 100%;
    border-collapse: collapse;
}

.table-basic th, .table-basic td {
    padding: 4px 0;
    border-bottom: 1px solid #b7b7b7;
    text-align: left;
    vertical-align: top;
}
.table-basic th{
    width: 8rem;
    font-weight: normal;
}
.bg-white {
    background-color: var(--color-white);
}

.company-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-images img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.company-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #eee;
}

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

/* ==========================================================================
   Inner Pages - Common Hero
   ========================================================================== */

.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.page-hero-title {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 0.2em;
}

/* ==========================================================================
   Delivery Page
   ========================================================================== */

.page-delivery .section-title{
    
}

.page-delivery .section-title .section-title-text{
    
}

.site-main.bg-light-gray {
    background-color: var(--color-bg-alt);
}

#primary .page-hero {
    height: auto;
    padding: 0;
    background: none;
    padding-top: 70px;
}

.page-hero-image {
    position: static;
    width: 100%;
    margin-top: 30px;
}

.page-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.delivery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 4rem auto 6rem;
}

.delivery-image-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

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

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

.delivery-card {
    background: var(--color-white); /* White background */
    padding: 10px; /* Restored 40px padding */
    border-radius: 4px;
    text-align: center; /* Centered text */
    display: flex;
    flex-direction: column;
    height: 300px!important;

}

.delivery-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000; /* Black text */
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary); /* Green underline */
    display: block; /* Full width */
    padding-bottom: 10px;
}

.delivery-card ul {
    list-style: none; /* No dots */
    padding: 0;
    flex-grow: 1; /* Match heights */
}

.delivery-card ul li {
    font-size: 1rem;
    padding-left: 0;
}

.delivery-card ul li::before {
    content: none; /* Remove previous dots */
}

.delivery-cta {
    margin-top: 40px;
    padding: 60px;
    background: none; /* Removed background */
}

.delivery-cta p {
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tri-icon {
    height: 12px;
}

.btn-gradient.delivery-btn {
    width: 70%; /* 50% of container */
    max-width: none;
}

/* ==========================================================================
   Eco Specificity Page
   ========================================================================== */

.eco-step-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.eco-step-item.row-reverse {
    flex-direction: row-reverse;
}

.eco-step-item .step-image {
    flex: 0 0 55%;
    z-index: 2;
}

.eco-step-item .step-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.eco-step-item .step-content {
    flex: 0 0 50%;
    background: var(--color-white);
    padding: 20px 20px 11px 70px; /* Base padding for odd steps */
    z-index: 1;
    position: relative;
    margin-top: 20%;
}

/* Overlap Logic */
.eco-step-item:not(.row-reverse) .step-content {
    margin-left: -5%;
}

.eco-step-item.row-reverse .step-content {
    margin-right: -5%;
    padding: 20px 70px 10px 30px; /* Swapped padding for even steps */
}

.step-number {
    position: absolute;
    top: -65px;
    z-index: 2;
}

.step-number img {
    height: 70px;
    width: auto;
    display: block;
}

/* Position number relative to content sides */
.eco-step-item:not(.row-reverse) .step-number {
    left: 60px;
}

.eco-step-item.row-reverse .step-number {
    left: 30px;
}


.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
    padding-bottom: 15px;
    position: relative;
    margin-left: -30px;
    padding-left: 30px;
    margin-top: 0;
}

.step-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background-image: url('assets/images/line.svg');
    background-size:  110% 100%;
    background-repeat: repeat-x;
    background-position: left center;
}

/* Odd steps (Image Left, Content Right) */
.eco-step-item:not(.row-reverse) .step-title::after {
    left: 0;
}

/* Even steps (Image Right, Content Left) */
.eco-step-item.row-reverse .step-title::after {
    right: -25px;
    /* left: auto; */
    /* transform: scaleX(-1); */ /* Flip line if necessary to match direction */
}

.eco-cta {
    margin-top: 0px;
    padding: 0 60px 60px;
}

.eco-cta p {
    margin-top: 100px;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ==========================================================================
   Forms & Download Page
   ========================================================================== */

.form-section {
    background: var(--color-white);
    padding: 20px 80px 40px;
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.form-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-group,
.form-group p {
    display: flex;
    align-items: flex-start; /* 上揃えに変更 */
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.form-group br {
    display: none;
}

.badge {
    font-size: 0.8rem;
    padding: 2px 5px;
    border-radius: 2px;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    margin: 6px 0 0; /* 入力欄のテキスト位置に合わせるための調整 */
}

.badge-required { background: #EA721E; color: #fff; } /* Orange */
.badge-optional { background: #5FBDE4; color: #fff; } /* Blue */

.wpcf7-form-control-wrap {
    flex: 0 1 500px;
    display: block;
}

.form-agreement .wpcf7-form-control-wrap {
    display:inline;
}
.wpcf7-acceptance label{
    cursor:pointer;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #A3A3A3;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9375rem;
}

.form-agreement {
    padding-top: 30px;
}

.form-help {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* Accordion */
.accordion-item {
    /* border: 1px solid var(--color-border); */
    margin-bottom: 10px;
    margin-top: 30px;
}

.accordion-header {
    width: 100%;
    padding: 5px 10px;
    background: var(--color-primary);
    border: none;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 1.2rem;
}

.accordion-content {
    padding: 15px 10px;
    display: none; /* Initially hidden */
}

/* 沿革アコーディオン全体の枠（上の年表と少し離す） */
.history-details {
    margin-top: 40px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

/* クリックするボタン部分のデザイン */
.history-summary {
    cursor: pointer;
    padding: 12px 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s;
    list-style: none; /* デフォルトの三角形の矢印を消す */
}

/* ボタンをホバーしたときのアクション */
.history-summary:hover {
    background: #e5e5e5;
}

/* Safari対策（デフォルトの矢印消し） */
.history-summary::-webkit-details-marker {
    display: none;
}

/* 開いたときの中身の年表の余白調整 */
.history-sub-timeline {
    margin-top: 30px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-submit {
    margin-top: 40px;
}

.form-separator {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.separator-arrow {
    width: 60px; /* Large arrow */
    height: auto;
    display: block;
}

.btn-gradient.large {
    /* width: 300px; */
    /* height: 19px; */
    border-radius: 3rem;
    font-size: 1.2rem;
    margin: 0 auto;
}

.btn-gradient.large img {
    height: 16px;
}

.btn-gradient.xl {
    width: 510px;
    height: 60px;
    border-radius: 30px;
    font-size: 1.25rem;
}

.btn-gradient.xl img {
    height: 2rem;
}

.form-footer-note {
    margin-top: 20px;
    font-size: 0.875rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

#faq .section-title img:not(.title-logo) {
    height: 35px;
}

.faq-list {
    margin: 0 auto;
}

.faq-item {
    background: #EBEBEB;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 4px;
}

.faq-q, .faq-a {
    display: flex;
    gap: 10px;
}

.faq-q {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.faq-q p, .faq-a p {
    margin: 0;
    line-height: 1.2;
}

.faq-a {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}

.faq-label {
    display: block;
    width: 30px;
    flex-shrink: 0;
}

.faq-label img {
    width: 100%;
    height: auto;
}



.recruit-section {
    padding: 60px 20px;
    background: #fff;
}

.recruit-title{
    margin-top: 50px;
}

.recruit-title-img{
    margin-top: -15px!important;
}

.recruit-container {
    max-width: 800px;
    margin: 0 auto;
}
.recruit-card {
    border: 1px solid #ddd;
    padding: 40px;
    background: #fcfcfc;
    border-radius: 4px;
    margin-top: 50px;
}
.recruit-job {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #333; /* アクセントの縦線 */
    padding-left: 15px;
}
.recruit-text {
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}
/* 連絡先エリア */
.recruit-action {
    display: flex;
    gap: 20px;
}
@media screen and (max-width: 767px) {
    .recruit-action { flex-direction: column; }
}
.action-item {
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}
.action-item span {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}
.action-item a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.action-item a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Menu Toggle Button */
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px auto;
    transition: 0.3s;
}



/* Tablet & Mobile */
@media (max-width: 1024px) {
    .supply-grid, .history-grid, .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .supply-text{
        text-align: center;
}

    .history-images {
        display: flex;
        gap: 20px;
    }

    .history-images img {
        flex: 1;
        margin-bottom: 0;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    :root {
        --header-height: 60px;
    }

    /* Visibility Utilities Toggle */
    .u-mobile-only {
        display: block !important;
    }

    .u-desktop-only {
        display: none !important;
    }

    .container {
        padding: 0 15px;
    }



    .section-padding {
        padding: 30px 0;
    }

    .section-title-heaad-text{
        font-size: 1.4rem;
    }

    .heading-large {
        font-size: 1.4rem;
        margin-bottom: 20px;
        margin-top: -15px;
        text-align: center;
    }

    /* Header */
    .site-header {
    }

    .site-header .container {
        
    }

    .site-branding .logo-wrapper {
    }

    .site-branding .logo img {
        height: 32px;
    }

    .site-title-group {
    }

    .site-title {
        font-size: 1rem;
    }

    .site-description {
        font-size: 0.6rem;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none; /* Initially hidden */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        z-index: 1000;
        margin-left: 0;
    }

    .main-navigation.is-active ul {
        display: flex;
    }

    .main-navigation.is-active .menu-toggle .hamburger-line:nth-child(4) { transform: translateY(-14px) rotate(45deg); }
    .main-navigation.is-active .menu-toggle .hamburger-line:nth-child(2) { opacity: 0; }
    .main-navigation.is-active .menu-toggle .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-navigation a {
        font-size: 1.125rem;
        color: var(--color-text);
    }

    .main-navigation li:not(:last-child)::after {
        display: none;
    }

    /* Footer */
    .site-footer {
        padding: 40px 0;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-info {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

    .footer-info .footer-logo img {
        height: 50px;
    }

    .footer-info address {
        font-size: 0.8rem;
    }

    .footer-nav ul {
        display: grid;
        grid-template-columns: max-content max-content max-content;
        justify-content: center;
        gap: 15px 45px;
    }

    .footer-nav li {
        justify-content: center;
        position: relative;
    }

    .footer-nav li:not(:last-child)::after {
        display: block;
        content: "";
        position: absolute;
        right: -22.5px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1.5rem;
        background-color: rgba(255, 255, 255, 0.3);
        margin: 0;
    }

    .footer-nav li:nth-child(3n)::after {
        display: none;
    }

    .site-info {
        font-size: 0.6rem;
    }

    /* Hero */
    .hero {
        height: 100vh;
        min-height: 400px;
    }

    .hero-image {
    }

    .hero-content {
    }

    .hero-logo img {
        width: 180px;
    }

    .hero-lead {
        font-size: 0.9rem;
    }

    /* Section Common */
    .section-title img {
        height: 40px;
    }

    .section-title img.title-logo {
    }

    .section-title .section-title-text {
        font-size: 1.2rem;
    }

    .section-title .section-title-head-text {
        font-size: 1.4rem;
    }

    #supply .supply-text > p {
    text-align: center;
    }

    /* Supply Section */
    .supply-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .supply-text .section-title {
        width: 100%;
        margin-bottom: 20px;
    }

    .supply-image {
        width: 100%;
        height: auto;
        aspect-ratio: 500 / 632;
        max-width: 400px;
        margin-bottom: -50px;
     
    }

    .supply-image .supply-bg {
        width: 100%;
        height: auto;
        margin-left:0;
    }

    .supply-image .supply-pin {
        width: 23%;
        top: 20%;
        left: 38.5%;
    }

    .supply-image .supply-arrow-blue {
        width: 50%;
        top: 41%;
        left: 0%;
    }

    .supply-image .supply-arrow-orange {
        width: 50%;
        top: 41%;
        left: 50%;
    }

    /* Banner Grid */
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .banner-item {
        aspect-ratio: 4 / 3;
        padding: 15px;
    }

    .banner-item .bg-image {
    }

    .banner-content {
        margin-top: -20px;
    }

    .banner-arrow {
    width: 2rem;
    }

    .banner-content h3 {
        font-size: 1.1rem;
    }

    .banner-content img {
        height: 40px;
    }

    .banner-content p {
        margin-right: -10px;
    }

    /* Products Section */
    #products .products-inner {
        clip-path: none;
        padding: 40px 15px;
        width: 100% !important;
    }

    #products .container::before,
    #products .container::after {
        display: none;
    }

    .products-list ul {
        font-size: 1.1rem;
        gap: 10px;
    }

    .btn-gradient {
        width: 100%;
        max-width: 340px;
        padding: 1.2rem 20px 1.2rem 50px; /* Adjusted padding for mobile */
        font-size: 1rem;
    }

    .btn-gradient img {
        height: 1.5rem !important; /* Added !important to ensure it wins */
        left: 15px;
    }

    .original-button {
    }

    /* History Section */
    .history-image-full {
    }

    #history.bg-history {
        padding: 40px 0;
    }

    #history .section-title,
    .history-intro,
    .history-timeline {
        max-width: 100%;
    }

    .history-intro {
        font-size: 1rem;
        margin-bottom: 50px;
        text-align: center;
    }

    /* Movie Section */
    .movie-box {
    }

    .movie-title {
        font-size: 1.2rem;
        padding: 1rem 0;
        margin-top: 0;
    }

    .movie-title::before {
        max-width: 100%;
    }

    .movie-title .title-icon {
    height: 30px;
    }

    .movie-embed {
        width: 100%;
    }

    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
    }

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

    /* Company Section */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-table {
    }

    .table-basic th {
        width: 6rem;
        font-size: 0.9rem;
    }

    .table-basic td {
        font-size: 0.9rem;
    }

    .company-images {
    }

    .company-maps {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .map-item {
    }

    .map-container {
    }

    /* Inner Pages Hero */
    .page-hero {
        height: auto;
        padding-top: 80px;
    }

    .page-hero-image {
    }

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

    .page-hero-subtitle {
        font-size: 0.9rem;
    }

    /* Delivery Page */
    .delivery-images {
        /* grid-template-columns: 1fr; */
        gap: 5px;
        margin: 2rem auto;
    }

    .delivery-image-item {
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .delivery-card {
        padding: 0px;
    }

    .delivery-cta {
        padding: 30px 15px;
    }

    .delivery-cta p {
    }

    .btn-gradient.delivery-btn {
        width: 100%;
    }

    /* Eco Specificity Page */
    .eco-step-item {
        flex-direction: column !important;
        margin-bottom: 60px;
        gap: 50px;
    }

    .eco-step-item .step-image {
        flex: 0 0 100%;
    }

    .eco-step-item .step-content {
        flex: 0 0 100%;
        margin: 0 !important;
        padding: 20px 15px 20px !important;
    }

    .step-number {
        top: -45px;
        left: 15px !important;
    }

    .step-number img {
        height: 50px;
    }

    .step-title {
        font-size: 1.2rem;
        margin-left: 0;
        padding-left: 0;
    }

    .eco-cta {
        padding: 0 15px 40px;
    }

    /* Forms */
    .form-section {
        padding: 20px 15px;
        margin: 0 5px;
    }

    .form-section-title {
    }

    .form-list {
    }

    .form-group, .form-group p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .badge {
    }

    .wpcf7-form-control-wrap {
        width: 100%;
        flex: auto;
    }

    .form-agreement {
    }

    .accordion-item {
    }

    .accordion-header {
    }

    .accordion-content {
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-submit {
    }

    .form-separator {
    }

    .btn-gradient.large {
    }

    .btn-gradient.xl {
        width: 100%;
        font-size: 1rem;
        /* margin: 0 auto; */
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-q {
        font-size: 0.9rem;
    }

    .faq-a {
    }

    .page-template-page-contact .section-title, .page-template-page-test-reports .section-title{
        padding-top: 100px;
    }
    .eco-step-item.row-reverse .step-title::after{
        left:0;
    }
.delivery-cta p,
    .eco-cta p{
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

}

/* Screen Reader Text Utility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Products background positioning for wide screens */
@media (min-width: 1300px) {
    #products .container::before {
        right: 50%;
    }
    #products .container::after {
        left: 60%;
    }
}

@media (min-width: 1400px) {
    #products .container::before {
        right: 50%;
    }
    #products .container::after {
        left: 60%;
    }
}

@media (min-width: 1500px) {
    #products .container::before {
        right: 50%;
    }
    #products .container::after {
        left: 50%;
    }
}

@media (min-width: 1600px) {
    #products .container::before {
        right: 45%;
    }
    #products .container::after {
        left: 45%;
    }
}

@media (min-width: 1700px) {
    #products .container::before {
        right: 35%;
    }
    #products .container::after {
        left: 35%;
    }
}

@media (min-width: 1800px) {
    #products .container::before {
        right: 30%;
    }
    #products .container::after {
        left: 30%;
    }
}

@media (min-width: 1900px) {
    #products .container::before {
        right: 35%;
        /* left: -16%; */
        background-size: cover;
    }
    #products .container::after {
        left: 35%;
        background-size: cover;
    }
}

/* ==========================================================================
   Privacy Policy
   ========================================================================== */
.privacy-policy-content {
    padding: 40px;
    border-radius: 8px;
    margin: 0 5px;
}

.privacy-policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.privacy-policy-content address {
    text-align: right;
    margin-top: 40px;
    font-style: normal;
}
