@charset "UTF-8";
/*
Theme Name: eleu
*/

/* ==========================================================================
   Variables & Base
   ========================================================================== */
:root {
    --main-color: #333;
    --accent-color: #007bff;
    --bg-light: #f9f9f9;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--main-color);
    line-height: 1.8;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: block;
    line-height: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
    font-size: 14px;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes zoomEffect {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Main Visual
   ========================================================================== */
.main-visual {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.mv-bg {
    background: #eee url('assets/image/mv.jpg') center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: zoomEffect 20s infinite ease-in-out;
}

.mv-text {
    background: rgba(255, 255, 255, 0.85);
    padding: 50px;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1.0s forwards;
}

.mv-text .about-us-label {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mv-text .main-copy {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.8;
    white-space: pre-wrap;
    margin: 0 0 30px;
}

.mv-text .sub-copy {
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    margin: 0;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.intro-section {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.what-we-do {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.what-we-do img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gray-bg-area {
    background: var(--bg-light);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    letter-spacing: 0.2em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--main-color);
    margin: 20px auto 0;
}

.white-card-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* ==========================================================================
   News
   ========================================================================== */
#news {
    margin-bottom: 100px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    display: flex;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
}

.news-link:hover {
    background: #fdfdfd;
}

.news-date {
    width: 150px;
    font-size: 0.9rem;
    color: #888;
    font-weight: bold;
}

.news-title {
    flex: 1;
    font-size: 1rem;
}

/* ==========================================================================
   Profile Table
   ========================================================================== */
.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th, 
.profile-table td {
    padding: 25px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.profile-table tr:last-child th, 
.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-table th {
    width: 25%;
    min-width: 225px;
    background: #fdfdfd;
    font-weight: bold;
    text-align: left;
}

.profile-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-table td ul li {
    position: relative;
    padding-left: 1.5em;
    margin-left: -1.5em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.profile-table td ul li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: -0.2em;
    font-size: 1.2em;
    color: var(--main-color);
}

.note {
    font-size: 0.85rem;
    color: #777;
    margin-top: 10px;
    display: block;
}

.raw-text {
    white-space: pre-wrap;
    margin: 0;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.contact-form-wrapper {
    padding: 50px;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.contact-form-wrapper .required-mark {
    background: #e60012;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.contact-form-wrapper input[type="text"], 
.contact-form-wrapper input[type="tel"], 
.contact-form-wrapper input[type="email"], 
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form-wrapper .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.contact-form-wrapper .wpcf7-submit {
    display: block;
    margin: 40px auto 0;
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    appearance: none;
}

.contact-form-wrapper .wpcf7-submit:hover {
    background: var(--accent-color);
}

.confirm-value {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 1rem;
    min-height: 1.5em;
    color: var(--main-color);
}

input[type="button"].wpcf7-previous {
    background: #ccc;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

input[type="button"].wpcf7-previous:hover {
    background: #999;
}

.contact-form-wrapper .button-container2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 0;
    width: 100%;
    max-width: 500px;
}

.contact-form-wrapper .wpcf7-submit,
.contact-form-wrapper .wpcf7-previous {
    flex: 1;
    display: block;
    height: 54px;
    line-height: 54px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    appearance: none;
    -webkit-appearance: none;
    overflow: hidden; 
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-form-wrapper .wpcf7-submit {
    background: var(--main-color);
    color: #fff;
}
.contact-form-wrapper .wpcf7-submit:hover {
    background: var(--accent-color);
}

.contact-form-wrapper .wpcf7-previous {
    background: #ccc;
    color: #fff;
    text-transform: none; 
}
.contact-form-wrapper .wpcf7-previous:hover {
    background: #bbb;
}

@media (max-width: 480px) {
    .contact-form-wrapper .button-container2 {
        flex-direction: column;
        gap: 15px;
    }
}

.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    display: block !important;
    margin: 20px 0;
    padding: 10px 20px;
    border: 2px solid #ff0000;
    font-size: 0.9rem;
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: #46b450;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.confirm-value input[readonly],
.confirm-value textarea[readonly] {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    color: var(--main-color) !important;
    cursor: default;
    pointer-events: none;
    font-size: 1rem;
}

.confirm-value .wpcf7-checkbox .wpcf7-list-item {
    pointer-events: none;
}

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

.button-container input {
    display: inline !important;
}

.button-container2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.button-container #custom-prev-button,
.button-container .cf7mls_back,
.button-container .wpcf7-previous,
.button-container2 #custom-prev-button,
.button-container2 .cf7mls_back,
.button-container2 .wpcf7-previous {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
    width: auto;
    min-width: 150px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    
    transition: all 0.3s ease;
}

.button-container .cf7mls_back:hover,
.button-container2 .cf7mls_back:hover {
    background-color: #333;
    opacity: 0.8;
}

.wpcf7-submit {
    appearance: none;
    -webkit-appearance: none;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    min-width: 150px;
    border: none;
    cursor: pointer;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit {
    padding: 0 !important;
}

/* ==========================================================================
   Map & Footer
   ========================================================================== */
.map-wrapper {
    width: 100%;
    height: 500px;
    line-height: 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    font-size: 13px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    font-weight: bold;
}

.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--main-color);
    text-decoration: none;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination a.page-numbers:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.pagination .page-numbers.current {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.pagination .dots {
    border: none;
    background: transparent;
}

.pagination .prev, 
.pagination .next {
    font-size: 1.2rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
    header {
        padding: 15px 20px;
    }
    .logo img {
        height: 30px;
    }
    .mv-text {
        padding: 30px 20px;
    }
    .mv-text .main-copy {
        font-size: 1.1rem;
    }
    .profile-table th, 
    .profile-table td {
        display: block;
        width: auto;
    }
    .profile-table td ul li {
        position: relative;
        padding-left: 1em;
        margin-left: -1em;
        margin-bottom: 0.5em;
        line-height: 1.6;
        text-align: justify;
    }
    .profile-table td ul li::before {
        top: 0em;
        font-size: 1em;
    }
    .contact-form-wrapper .wpcf7-checkbox {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrapper {
    padding: 50px 30px;
    box-sizing: border-box;
    overflow: hidden;
}


.wpcf7-form-control-wrap {
    width: 100% !important;
    display: block !important;
}

.contact-form-wrapper input[type="text"], 
.contact-form-wrapper input[type="tel"], 
.contact-form-wrapper input[type="email"], 
.contact-form-wrapper textarea {
    display: block;
    margin-left: 0;
    margin-right: 0;
    width: calc(100% - 16px) !important; 
}

wpcf7-form-control.wpcf7-submit.has-spinner {
    display: block;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit {
    float: none !important;
}

.wpcf7-spinner {
    display: block !important;
}