/*
 Theme Name:   Lightning Pro Child
 Theme URI:
 Description:  Lightning Pro の子テーマ
 Author:
 Author URI:
 Template:     lightning-pro
 Version:      1.0.8
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  lightning-pro-child
*/

/* カスタムスタイルをここに追加 */

/* ==========================================================================
   Hide Page Top Button
   ========================================================================== */
.pagetop,
#pagetop,
.vk-page-top,
#vk-page-top,
.page_top_btn {
    display: none !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.nowrap {
    display: inline-block;
}

/* ==========================================================================
   Base Font Settings
   ========================================================================== */
body {
    font-family: 'Noto Serif JP', serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
}

h2 {
    border: none;
}
h3 {
    border: none;
}
h3::after {
    display: none;
}
.siteHeader_logo {
    padding: 0;
}
/* ==========================================================================
   PC Header Navigation
   ========================================================================== */
.siteHeadContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    margin-left: 30px;
    margin-top:40px;
}
.nav-area {
    color: #ffffff;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.nav-area.nav-left {
    /* Left aligned menu items */
}
.nav-area.nav-right {
    /* Right aligned menu items */
    margin-left: auto;
}
@media (max-width: 1199px) {
    .nav-area {
        display: none !important;
    }
    .nav-wrapper {
        display: none !important;
        margin-top: 0px;
    }
}

.header-bar {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 72px;
    color: #fff;
}
.header-bg-color {
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 72px;
    top: 0;
    background: linear-gradient(to right, #898989, #545555);
}

/* Nav Items */
.nav-item {
    color: #ffffff !important;
    font-size: 14px;
    font-family: 'Noto Serif JP', serif;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
}
.nav-item a {
    color: #ffffff !important;
    text-decoration: none !important;
}
.nav-item a:hover {
    opacity: 0.8;
}

/* Vertical Separator */
.nav-item.has-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: #ffffff;
}

/* Disabled items (coming soon) */
.nav-item.disabled {
    opacity: 0.6;
    cursor: default;
}

/* Link with arrow (物件概要, 現地案内図) */
.nav-item.link-arrow {
    font-size: 14px;
    padding-left: 20px;
}
.nav-item.link-arrow::after {
    content: none;
}
.nav-item.link-arrow a::before {
    content: '＞';
    margin-right: 4px;
    font-size: 9px;
}

/* Request Button (資料請求) */
.nav-item.btn-request-nav {
    background-color: #7780a4;
    padding: 8px 20px;
    margin-left: 10px;
}
.nav-item.btn-request-nav a {
    font-size: 16px;
}

.navbar {
    padding-bottom: 0;
    border-radius: 0;
}

@media (max-width: 1199px) {
    .navbar {
        height: 72px;
        background: #16425A;
    }
}

@media (min-width: 1200px) {
    .navbar {
        height: 144px;
        background: #16425A;
    }
    .nav-item {
        padding: 0 18px;
    }
}

@media (min-width: 1400px) {
    .nav-item {
        padding: 0 22px;
    }
}

.link-right {
    background-image: url('./images/common/link-right.svg');
    background-size: 14px auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.link-color {
    background-color: #7780a4;
}
.visit-site {
    font-size:10px;
    background-image: url('./images/common/icon-arrow.png');
    background-size: 16px auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.visit-insta {
    font-size: 10px;
    background-image: url('./images/common/icon-insta.png');
    background-size: 16px auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.visit-site a, .visit-site a:hover, .visit-insta a, .visit-insta a:hover {
    color: #000000;
    text-decoration: none;
}
@media (min-width: 1200px) {
    .gourmet-pic {
        text-align: center;
    }
    .visit-site, .visit-insta {
        font-size:14px;
    }
}
.logo-svg {
    height:60px;
    width: auto;
}
/* ==========================================================================
   Policy Section
   ========================================================================== */
.policy {
    background-color: #ece6e5;
    border-top: 1px solid #231815;
    border-bottom: 1px solid #231815;
    padding: 20px 0;
}
.policy, .siteFooter {
    background-color: #ece6e5;
}
.policy-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.policy-link {
    font-size: 8.5px;
    font-family: 'Shippori Mincho', serif;
    color: #231815;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}
.policy-link:hover {
    color: #231815;
    text-decoration: none;
}
@media (min-width: 768px) {
    .policy {
        padding: 25px 0;
    }
    .policy-list {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }
    .policy-link {
        font-size: 17px;
    }
}

.siteFooter {
    border: none;
}
.siteFooter .footerMenu,
.siteFooter .footerWidget {
    display: none;
}
.siteFooter .copySection {
    padding: 20px 0;
    max-width: 100%;
    width: 100%;
}
.siteFooter .copySection.sectionBox {
    padding: 20px 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
}
.siteFooter .copySection p {
    font-size: 8px;
    font-family: 'Shippori Mincho', serif;
    color: #231815;
    margin: 0;
    text-align: center;
}
@media (min-width: 768px) {
    .siteFooter .copySection,
    .siteFooter .copySection.sectionBox {
        padding: 25px 0;
    }
    .siteFooter .copySection p {
        font-size: 16px;
        display: block !important;
        text-align: center;
        margin: 0 auto !important;
    }
}

@media (max-width: 767px) {
    .pc-only {
        display: none;
    }
}
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

/* ==========================================================================
   Companies Section
   ========================================================================== */
.companies {
    background-color: #ece6e5;
    padding: 30px 0 20px;
    margin-top: 8px;
}
.companies .row {
    justify-content: center;
}
.companies .company-item {
    text-align: center;
    margin-bottom: 25px;
}
.companies .company-sub {
    font-size: 8.5px;
    font-family: 'Shippori Mincho', serif;
    color: #231815;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    width: 133px;
    text-align: left;
}
.companies .company-logo {
    max-width: 130px;
    height: auto;
    margin-bottom: 8px;
}
.companies .company-tel {
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: #231815;
    margin: 0;
}
.companies a {
    color: #231815;
    text-decoration: none;
}
.companies a:hover {
    color: #231815;
    text-decoration: none;
}
/* Company Logo Buttons */
.companies a.btn.company-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 133px;
    height: 45px;
    margin: 0 auto 8px;
    padding: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    cursor: pointer;
}
.companies a.btn.company-btn:hover,
.companies a.btn.company-btn:focus,
.companies a.btn.company-btn:active {
    background-color: transparent;
    border: none;
    box-shadow: none;
    opacity: 0.8;
}
/* Individual company logos */
.companies a.btn_mitsui {
    background-image: url('./images/common/logo-mitsui.svg');
}
.companies a.btn_sekisui {
    background-image: url('./images/common/logo-sekisui.svg');
}
.companies a.btn_misawa {
    background-image: url('./images/common/logo-misawa.svg');
}
.companies a.btn_sumitomoringyou {
    background-image: url('./images/common/logo-sumitomo.svg');
}

/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .companies {
        padding: 35px 0 25px;
    }
    .companies .company-item {
        margin-bottom: 0;
    }
    .companies .company-sub {
        font-size: 12px;
        margin-bottom: 10px;
        width: 160px;
    }
    .companies .company-logo {
        max-width: 160px;
        margin-bottom: 10px;
    }
    .companies .company-tel {
        font-size: 20px;
    }
    .companies a.btn.company-btn {
        width: 160px;
        height: 54px;
        margin-bottom: 10px;
    }
}

/* PC (1200px+) */
@media (min-width: 1200px) {
    .companies {
        padding: 40px 0 30px;
    }
    .companies .company-item {
        margin-bottom: 0;
    }
    .companies .company-sub {
        font-size: 15px;
        margin-bottom: 12px;
        width: 230px;
    }
    .companies .company-logo {
        max-width: 160px;
        margin-bottom: 12px;
    }
    .companies .company-tel {
        font-size: 31px;
    }
    .companies a.btn.company-btn {
        width: 230px;
        height: 77px;
        margin-bottom: 12px;
    }
}

/* ==========================================================================
   Vendor Section
   ========================================================================== */
.vendor {
    background-color: #ece6e5;
    padding: 20px 0 30px;
    border-top: 1px solid #231815;
}
.vendor .vendor-jid {
    text-align: center;
}
.vendor .vendor-sub {
    font-size: 8.5px;
    font-family: 'Shippori Mincho', serif;
    color: #231815;
    margin-bottom: 8px;
}
.vendor .vendor-logo {
    max-height: 25px;
    width: auto;
}
.vendor a {
    color: #231815;
    text-decoration: none;
}
.vendor a:hover {
    color: #231815;
    text-decoration: none;
}

@media (min-width: 768px) {
    .vendor {
        padding: 30px 0 40px;
    }
    .vendor .vendor-sub {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .vendor .vendor-logo {
        max-height: 35px;
    }
}

/* ==========================================================================
   SP Menu (Smartphone Menu)
   ========================================================================== */
/* Toggle Button (Hamburger) */
.sp-menu-toggle {
    display: none;
}

@media (max-width: 1199px) {
    .sp-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 9998;
        width: 60px;
        height: 60px;
        background: transparent;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        padding: 8px;
        gap: 4px;
        outline: none;
    }

    .sp-menu-toggle:focus,
    .sp-menu-toggle:focus-visible {
        outline: none;
        box-shadow: none;
    }

    .sp-menu-toggle-icon {
        position: relative;
        width: 28px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .sp-menu-toggle-bar {
        display: block;
        width: 28px;
        height: 2px;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
        position: absolute;
        left: 0;
    }

    .sp-menu-toggle-bar:nth-child(1) {
        top: 0;
    }

    .sp-menu-toggle-bar:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .sp-menu-toggle-bar:nth-child(3) {
        top: 100%;
        transform: translateY(-100%);
    }

    /* Text */
    .sp-menu-toggle-text {
        position: relative;
        height: 14px;
        width: 100%;
        text-align: center;
    }

    .sp-menu-toggle-text .text-menu,
    .sp-menu-toggle-text .text-close {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
        font-family: 'Noto Sans JP', sans-serif;
        color: #fff;
        letter-spacing: 0.05em;
        transition: opacity 0.3s ease;
        white-space: nowrap;
    }

    .sp-menu-toggle-text .text-menu {
        opacity: 1;
    }

    .sp-menu-toggle-text .text-close {
        opacity: 0;
    }

    /* Open state - hamburger to X animation */
    body.sp-menu-open .sp-menu-toggle-bar:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    body.sp-menu-open .sp-menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body.sp-menu-open .sp-menu-toggle-bar:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    body.sp-menu-open .sp-menu-toggle-text .text-menu {
        opacity: 0;
    }

    body.sp-menu-open .sp-menu-toggle-text .text-close {
        opacity: 1;
    }

    /* Overlay */
    .sp-menu-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        z-index: 9997;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sp-menu-overlay.is-open {
        transform: translateX(0);
    }

    /* Header (hidden - using site header instead) */
    .sp-menu-header {
        display: none;
    }

    .sp-menu-logo {
        flex: 1;
    }

    .sp-menu-logo a {
        display: block;
    }

    .sp-menu-logo img {
        max-height: 40px;
        width: auto;
    }

    /* Close Button */
    .sp-menu-close,
    .sp-menu-close-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px 10px;
        color: #fff;
    }

    .sp-menu-close-icon {
        position: relative;
        width: 24px;
        height: 24px;
    }

    .sp-menu-close-icon::before,
    .sp-menu-close-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        background: currentColor;
    }

    .sp-menu-close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .sp-menu-close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .sp-menu-close-text {
        font-size: 10px;
        margin-top: 2px;
        letter-spacing: 0.05em;
    }

    /* Content */
    .sp-menu-content {
        position: relative;
        padding: 20px 10px 20px;
        background: #ffffff;
    }
        .sp-menu-content::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 5%;
            width: 90%;
            height: 1px;
            background-color: #664b4f;
        }
    /* Navigation Grid */
    .sp-menu-nav {
        margin-bottom: 18px;
    }

    .sp-menu-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sp-menu-grid li {
        margin: 0;
    }

    .sp-menu-grid a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        padding: 3px 8px;
        background: #f3ece7;
        border: 1px solid #e8e4dd;
        text-decoration: none;
        color: #5c5c5c;
        font-size: 14px;
        font-family: 'Noto Serif JP', serif;
        line-height: 1.4;
        text-align: center;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .sp-menu-grid a:hover,
    .sp-menu-grid a:active {

    }

    .sp-menu-grid li.disabled span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        padding: 3px 8px;
        background: #e8e4dd;
        border: 1px solid #d8d4cd;
        color: #aaa;
        font-size: 14px;
        font-family: 'Noto Serif JP', serif;
        line-height: 1.4;
        text-align: center;
        cursor: default;
    }

    /* Bottom Close Button */
    .sp-menu-close-bottom {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 5px 15px;
        color: #5c5c5c;
        gap: 8px;
    }

    .sp-menu-close-bottom .sp-menu-close-icon {
        width: 20px;
        height: 20px;
    }

    .sp-menu-close-bottom .sp-menu-close-text {
        font-size: 14px;
        margin-top: 0;
    }

    /* Body scroll lock when menu is open */
    body.sp-menu-open {
        overflow: hidden;
    }
}
@media (min-width: 1200px) {
    .sp-menu-overlay {
        display: none;
    }
}

/* ==========================================================================
   Mobile Fixed Footer
   ========================================================================== */
.mobile-fixed-footer {
    display: none;
}

@media (max-width: 767px) {
    .mobile-fixed-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background-color: #f5f3f1;
    }

    .mobile-footer-item1, .mobile-footer-item2, .mobile-footer-item3 {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 5px;
        text-decoration: none;
        color: #fff;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        transition: background 0.3s ease;
        background-color: #9fa0a0;
    }
        
    .mobile-footer-item4 {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 5px;
        text-decoration: none;
        color: #fff;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        transition: background 0.3s ease;
        background-color: #8d9c96;
    }

    .mobile-footer-item:last-child {
        border-right: none;
    }

    .mobile-footer-item:hover,
    .mobile-footer-item:active {
        background: #6a7a6a;
        color: #fff;
    }

    .mobile-footer-item1:hover, .mobile-footer-item1:active, .mobile-footer-item1:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .mobile-footer-item2:hover, .mobile-footer-item2:active, .mobile-footer-item2:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .mobile-footer-item3:hover, .mobile-footer-item3:active, .mobile-footer-item3:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .mobile-footer-item4:hover, .mobile-footer-item4:active, .mobile-footer-item4:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .mobile-footer-icon1, .mobile-footer-icon2, .mobile-footer-icon3, .mobile-footer-icon4 {
        display: block;
        width: 32px;
        height: 32px;
        margin-bottom: 5px;
    }
    .mobile-footer-icon2 {
        display: block;
        width: 48px;
        height: 32px;
        margin-bottom: 5px;
    }
        .mobile-footer-icon1 svg, .mobile-footer-icon2 svg, .mobile-footer-icon3 svg, .mobile-footer-icon4 svg {
            width: 100%;
            height: 100%;
            color: #fff;
        }

    .mobile-footer-label {
        font-size: 11px;
        font-family: 'Noto Sans JP', sans-serif;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    /* フッターの余白（固定フッター分） */
    body {
        padding-bottom: 70px;
    }

    .siteFooter {
        margin-bottom: 0;
    }
}


/*フォント定義*/
/* --- 日本語フォント --- */

/* Noto Serif JP (基本の明朝体) */
.font-mincho-base {
    font-family: 'Noto Serif JP', serif;
}

/* Shippori Mincho (リュウミン代替：見出しや高級感のある箇所) */
.font-mincho-classic {
    font-family: 'Shippori Mincho', serif;
}

/* Noto Sans JP (ゴシック体：本文、MB101/ヒラギノ角ゴ代替) */
.font-gothic {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Zen Maru Gothic (筑紫丸ゴシック代替：アクセント) */
.font-rounded {
    font-family: 'Zen Maru Gothic', sans-serif;
}


/* --- 欧文フォント --- */

/* Barlow Condensed (DIN代替：数字や英語見出し) */
.font-din-alt {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.05em; /* DINっぽさを出すため少し詰まり気味に見せるなら調整 */
}

/* Montserrat (Prelude代替：リード文やサブタイトル) */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Cormorant Garamond (そのまま使用：高級感のある英語) */
.font-garamond {
    font-family: 'Cormorant Garamond', serif;
}

/* Allura (Bahagia代替：筆記体) */
.font-script {
    font-family: 'Allura', cursive;
}

/* ==========================================================================
   fullOverlay Dialog (旧サイトから移植)
   ========================================================================== */
#fullOverlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(100, 100, 100, .5);
    z-index: 2147483647;
}

#dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 340px;
    padding: 0;
    background: #fff;
    display: none;
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#dialog p {
    padding: 24px 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    color: #333;
}

#dialog p a {
    color: #007aff;
    text-decoration: underline;
}

#dialog .dialog-buttons {
    display: flex;
    border-top: 1px solid #ccc;
}

#dialog button {
    flex: 1;
    padding: 14px 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

#dialog button:hover {
    background: #f5f5f5;
}

#dialog #cancel {
    color: #007aff;
    border-right: 1px solid #ccc;
}

#dialog #yes {
    color: #ff3b30;
    font-weight: 500;
}

#dialog form {
    display: none;
}