/*
Theme Name: Elevare
Theme URI: https://kosei054.com/
Description: ELEVARE Official Site 専用のオリジナルテーマです。
Author: Lkri
Author URI: https://lkri.jp
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===================================================
   Base Settings & Global Resets
=================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

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

a:hover {
    opacity: 0.7;
}

/* ===================================================
   Fonts
=================================================== */
.font-serif,
h1,
h2,
h3,
.site-name,
.catch-copy {
    font-family: 'Shippori Mincho', serif !important;
    font-weight: 500;
}

.font-en,
.company-name-en,
.section-sub-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600;
}

/* ===================================================
   Header
=================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent !important;
    transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
    padding: 20px 0;
}

/* 管理バー表示時の調整 */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

.site-header.is-scrolled {
    background: transparent !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

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

.site-logo .site-name {
    font-size: 1.5rem;
    color: #fff;
}

.site-header.is-scrolled .site-name {
    color: #333;
}

.global-nav .faq-category-title {
    font-size: 1.4rem;
    color: #003366;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
    font-family: 'Shippori Mincho', serif;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.global-nav .nav-list {
    display: flex;
    gap: 30px;
}

.global-nav .nav-list li a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Shippori Mincho', serif;
}

/* Footer Navigation Font */
.footer-nav-list li a {
    font-family: 'Shippori Mincho', serif;
}

.site-header.is-scrolled .global-nav .nav-list li a {
    color: #333;
}

/* ===================================================
   Main Visual / Hero
=================================================== */
.main-visual {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background-color: #000;
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.mv-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.company-name-en {
    font-size: 4rem;
    letter-spacing: 0.2em;
    margin: 0;
}

.company-name-sub {
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.catch-copy {
    font-size: 3.5rem;
    line-height: 1.6;
}

/* Company Table */
.fp-company-table {
    width: 100%;
    border-collapse: collapse;
}

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

.fp-company-table th {
    width: 30%;
    background: #fdfdfd;
    font-weight: bold;
    color: #003366;
}

.company-contact-item {
    margin: 0;
    line-height: 1.6;
}
.company-contact-item + .company-contact-item {
    margin-top: 5px;
}

/* ===================================================
   Sections
=================================================== */
.section {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.section-sub-title {
    font-size: 1rem;
    color: #aaa;
    text-transform: uppercase;
}

/* News */
.news {
    background-color: #f8fafc;
}

.news-list {
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    margin-bottom: 20px;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-item a {
    display: flex;
    padding: 25px 40px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.news-date {
    width: 150px;
    color: #003366;
    font-weight: 600;
    font-size: 0.95rem;
}

.news-title {
    flex: 1;
    font-weight: 500;
    line-height: 1.5;
}

.news-item a::after {
    content: '→';
    margin-left: 20px;
    color: #003366;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.news-item:hover a::after {
    transform: translateX(5px);
}

/* Service */
.service {
    background-color: #fcfcfc;
}

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

.service-card {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.service-card__img {
    height: 240px;
    overflow: hidden;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__body {
    padding: 35px;
}

.service-card__body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #003366;
}

/* Vision */
.vision {
    position: relative;
    color: #fff;
    text-align: center;
}

.vision-bg {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.vision-overlay {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin-top: -100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.vision-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 20vh 20px 80vh;
    width: 100%;
}

.vision-catch {
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.vision-catch span {
    display: inline-block;
    white-space: nowrap;
}

/* CEO Message (Parallax Style - Scroll Over Effect) */
.message-parallax {
    position: relative;
    margin-top: 200px;
}

.message-parallax__bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.message-parallax__overlay {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    margin-top: -100vh;
    background: rgba(0, 0, 0, 0.15);
}

/* Content wrapper: push body to right, scrolls over sticky bg */
.message-parallax__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 80vh;
    /* テキストが上に消えてから背景解除 */
}

/* Message Body: Right half of screen, solid white, scrolls over background */
.message-parallax__body {
    background: #fcfcfc;
    padding: 100px 80px;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}

.message-parallax__body .section-title {
    color: #1a1a1a;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.message-parallax__body .section-sub-title {
    color: #999;
}

.message-parallax__body p {
    color: #444;
    line-height: 2;
    margin-bottom: 15px;
    margin-top: 0px;
    font-size: 1rem;
}

/* Photo: Inside body, between title and text */
.message-parallax__photo {
    margin: 10px 0 30px;
}

.message-parallax__photo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 4px;
}



/* Access Map */
.access-map {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.access-map iframe {
    width: 100% !important;
    height: 450px !important;
    display: block;
    border: none;
    filter: grayscale(10%) contrast(90%);
}

/* Contact */
.contact {
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.contact-form-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* Contact Form 7 Premium Styling */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 25px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7 label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    background: #fcfcfc;
    transition: all 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #003366;
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.1);
}

/* バリデーションエラー時のスタイル */
input.validation-error,
textarea.validation-error,
select.validation-error {
    border: 2px solid #e53e3e !important;
    background-color: #fff5f5;
}

.validation-error-msg {
    color: #e53e3e;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
}

/* 送信ボタン */
.wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 15px;
    background: #0f172a;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.wpcf7-submit:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wpcf7-submit:focus,
.wpcf7-submit:active,
.wpcf7-submit.processing {
    background: #0f172a !important;
    color: #fff !important;
    box-shadow: none;
    outline: none;
    opacity: 1;
}

/* Primary Button Override for Modal */
#contact-confirm-send {
    background-color: #0f172a;
    color: #fff;
}

#contact-confirm-send:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Success Message */
.contact-sent-message {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-sent-message .sent-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-sent-message p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.btn-home-link {
    display: inline-block;
    padding: 12px 40px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-home-link:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Contact Form 7 Response Messages */
.wpcf7-response-output {
    margin: 30px 0 0 !important;
    padding: 20px !important;
    border-radius: 4px !important;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    border: none !important;
}

/* 送信成功 */
.wpcf7-mail-sent-ok {
    background-color: #f0fff4 !important;
    color: #22543d !important;
    border-left: 4px solid #38a169 !important;
}

/* バリデーションエラー */
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #fff5f5 !important;
    color: #822727 !important;
    border-left: 4px solid #e53e3e !important;
}

/* 送信失敗・スパム判定 */
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked {
    background-color: #fffaf0 !important;
    color: #7b341e !important;
    border-left: 4px solid #dd6b20 !important;
}

/* フォーム内のスパム等の個別エラーメッセージ */
.wpcf7-not-valid-tip {
    display: none !important;
}

/* ===================================================
   Footer
=================================================== */
.site-footer {
    padding: 60px 0 30px;
    background: #0f172a;
    text-align: center;
    border-top: 3px solid #c5a47e;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: 0.1em;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 30px;
}

.footer-nav-list li a {
    font-size: 0.9rem;
    color: #ffd;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav-list li a:hover {
    color: #fff;
    opacity: 1;
}

.copyright {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 30px;
    letter-spacing: 0.05em;
}

/* 会社概要テーブル内の事業概要調整 */
.company-summary-row th {
    padding-top: 25px !important;
}
.company-summary-row td {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
.company-summary-text {
    line-height: 1.8;
    color: #4a5568;
}

/* ===================================================
   Animations
=================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.message-parallax__bg.fade-in {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.message-parallax__bg.fade-in.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* メッセージセクション専用：下から大きくスライドして現れる */
.message-parallax__body.fade-in {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.message-parallax__photo.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s,
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

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

/* ===================================================
   Mobile (Responsive)
=================================================== */
/* PCではスマホ用要素を非表示 */
.menu-toggle,
.mobile-nav-overlay {
    display: none;
}

@media screen and (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }

    .global-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 10001;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: 0.3s;
    }

    .is-scrolled .menu-toggle span {
        background: #333;
    }

    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 11px; }
    .menu-toggle span:nth-child(3) { top: 22px; }

    .nav-open .menu-toggle span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
        background: #fff !important;
    }

    .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }

    .nav-open .menu-toggle span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
        background: #fff !important;
    }

    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-open .mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-list {
        text-align: center;
    }

    .mobile-nav-list li {
        margin-bottom: 30px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-open .mobile-nav-list li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-open .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .nav-open .mobile-nav-list li:nth-child(2) { transition-delay: 0.2s; }
    .nav-open .mobile-nav-list li:nth-child(3) { transition-delay: 0.3s; }
    .nav-open .mobile-nav-list li:nth-child(4) { transition-delay: 0.4s; }
    .nav-open .mobile-nav-list li:nth-child(5) { transition-delay: 0.5s; }

    .mobile-nav-list li a {
        color: #fff;
        font-size: 1.8rem;
        font-family: 'Shippori Mincho', serif;
        display: block;
    }

    body.nav-open {
        overflow: hidden;
    }

    .fp-company-table th,
    .fp-company-table td {
        display: block;
        width: 100% !important;
        padding: 15px 20px;
    }

    .fp-company-table th {
        background: #fdfdfd;
        border-bottom: none;
        padding-bottom: 5px;
        font-size: 0.85rem;
    }

    .fp-company-table td {
        padding-top: 0;
        margin-bottom: 10px;
    }

    .catch-copy { font-size: 2rem; }
    .company-name-en { font-size: 2.5rem; }
    .section { padding: 80px 0; }

    .vision-catch { font-size: 2.2rem; }

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

    .message-parallax {
        min-height: auto;
    }

    .message-parallax__content {
        flex-direction: column;
    }

    .message-parallax__body {
        width: 100%;
        padding: 60px 30px;
    }

    .message-parallax__photo {
        margin: 0 auto 30px;
        max-width: 300px;
    }

    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 767px) {
    .service-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .vision-catch {
        font-size: 1.6rem;
    }

    .contact-form-wrap {
        padding: 40px 20px;
    }

    .confirm-list dt,
    .confirm-list dd {
        width: 100%;
        display: block;
    }

    .confirm-list dt {
        border-bottom: none;
        padding-bottom: 5px;
        background: transparent;
        padding-left: 0;
    }

    .confirm-list dd {
        padding-top: 5px;
        padding-left: 0;
        padding-bottom: 20px;
    }

    .modal-content {
        padding: 40px 20px;
        width: 95%;
    }

    .modal-body {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }

    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 25px;
    }

    .news-date {
        width: 100%;
        margin-bottom: 8px;
    }

    .news-item a::after {
        display: none;
    }

    .footer-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .access-map iframe {
        height: 300px !important;
    }
}


/* ===================================================
   Modal & Load More Button
=================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    padding: 60px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.modal-overlay.is-active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #999;
}

/* 確認モーダル固有スタイル */
.contact-confirm-content {
    max-width: 600px;
    padding: 40px;
}

.confirm-list dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    margin: 0;
}

.confirm-list dt {
    width: 30%;
    padding: 15px 10px;
    font-weight: bold;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.confirm-list dd {
    width: 70%;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    margin: 0;
    box-sizing: border-box;
    word-break: break-all;
}

.confirm-list .empty {
    color: #999;
    font-style: italic;
}

.contact-confirm-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-confirm-actions button {
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

/* Secondary Button */
.btn-secondary {
    background-color: #e2e8f0 !important;
    color: #4a5568 !important;
}

.btn-secondary:hover {
    background-color: #cbd5e0 !important;
    transform: translateY(-2px);
}

/* Primary Button Override for Modal */
#contact-confirm-send {
    background-color: #1a1a1a;
    color: #fff;
}

#contact-confirm-send:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.modal-body {
    line-height: 2;
    color: #555;
}

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

/* Load More Button */
.btn-more {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #003366;
    background: transparent;
    color: #003366;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    outline: none;
}

.btn-more:hover {
    background: #003366;
    color: #fff;
}

.btn-more.is-loading {
    color: transparent !important;
    pointer-events: none;
}

.btn-loading-icon {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 51, 102, 0.2);
    border-top-color: #003366;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    animation: spin 0.8s linear infinite;
}

.btn-more.is-loading .btn-loading-icon {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.service-cat-name {
    font-size: 1.4rem;
    color: #003366;
    margin: 60px 0 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
}

/* ===================================================
   Product / Service Grid
=================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
    text-align: center;
}

.product-card__img {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    background: #f0f0f0;
    position: relative;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.product-card__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.product-card__body {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card__body h3 {
    font-size: 1.25rem;
    color: #003366;
    margin-bottom: 15px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
}

.product-card__text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-card__footer {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    height: 120px;
    border-top: 1px dotted #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-card__price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 0;
}

.price-val {
    font-size: 1.3rem;
    color: #dd6b20;
    margin-left: 5px;
}

.product-card__body .btn-more--sm {
    margin-top: 0;
    font-size: 0.85rem;
    padding: 10px 30px;
    width: auto;
    min-width: 180px;
    justify-content: center;
}


/* ===================================================
   FAQ (CPT based)
=================================================== */
.faq-category-title {
    font-size: 1.3rem;
    color: #003366;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
    font-family: 'Shippori Mincho', serif;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-right: 15px;
    line-height: 1;
}

.faq-question .faq-icon {
    color: #003366;
}

.faq-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.faq-toggle {
    width: 16px;
    height: 16px;
    position: relative;
    margin-left: 15px;
    transition: transform 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #003366;
}

.faq-toggle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    margin-top: -1px;
}

.faq-toggle::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    margin-left: -1px;
}

.faq-item.is-active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.faq-item.is-active .faq-answer {
    opacity: 1;
    border-top: 1px solid #edf2f7;
}

.faq-answer-inner {
    padding: 25px;
    display: flex;
    align-items: flex-start;
}

.faq-answer .faq-icon {
    color: #dd6b20;
}

.faq-answer-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer-text p:last-child {
    margin-bottom: 0;
}