/* ==========================================================================
   株式会社Reve — Corporate Design Tokens (Japan Corporate Style)
   Palette: 深藍(Deep Blue: #0E1E38) / 藍(Indigo: #1C335A) / 黄金(Gold: #C59F4E) / 白(White) / 薄和紙(Washi: #F8F9FA)
   Type: Shippori Mincho (見出し) + Noto Sans JP (本文) + Plus Jakarta Sans (英字)
   ========================================================================== */

:root {
    --navy-dark: #0E1E38;
    --navy-main: #1C335A;
    --gold-main: #C59F4E;
    --gold-light: #E0BA6A;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #1E2530;
    --text-gray: #5A6578;
    --border-line: #E2E8F0;

    --font-display: "Shippori Mincho", serif;
    --font-body: "Noto Sans JP", sans-serif;
    --font-label: "Plus Jakarta Sans", sans-serif;

    --max-width: 1200px;
    --header-h: 84px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

::selection { background: var(--gold-main); color: #fff; }

/* ==========================================================================
   背景装飾
   ========================================================================== */

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 800px 450px at 15% -5%, rgba(197, 159, 78, 0.08), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 15%, rgba(28, 51, 90, 0.05), transparent 60%);
    pointer-events: none;
}

/* ==========================================================================
   ヘッダー（サブページおよびトップスクロール時の視認性を完全確保）
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

/* スクロール時またはサブページ時のヘッダースタイル */
.site-header.is-scrolled,
body.subpage .site-header {
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(14, 30, 56, 0.08);
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-main);
    box-shadow: 0 0 0 3px rgba(197, 159, 78, 0.25);
    flex-shrink: 0;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-prefix {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-main);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.03em;
    color: #FFFFFF; /* トップ初期値 */
    transition: color 0.3s var(--ease);
}

.site-header.is-scrolled .logo-text,
body.subpage .logo-text {
    color: var(--navy-dark); /* サブページ/スクロール時 */
}

.desktop-nav ul {
    display: flex;
    gap: 36px;
}

.desktop-nav a {
    position: relative;
    font-size: 0.94rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 0;
    transition: color 0.3s var(--ease);
}

.site-header.is-scrolled .desktop-nav a,
body.subpage .desktop-nav a {
    color: var(--navy-dark);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold-main);
    transition: width 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #FFFFFF;
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a.active,
body.subpage .desktop-nav a:hover,
body.subpage .desktop-nav a.active {
    color: var(--gold-main);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 100%; }

.header-cta-btn {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--navy-main);
    padding: 11px 26px;
    border-radius: 6px;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: var(--gold-main);
    transform: translateY(-2px);
}

.pc-only-btn { display: inline-flex; }

/* モバイルメニューボタン */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
    margin: 0 auto;
}

.site-header.is-scrolled .mobile-menu-btn span,
body.subpage .mobile-menu-btn span {
    background: var(--navy-dark);
}

.mobile-menu-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.mobile-nav-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 340px);
    background: var(--navy-dark);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 210;
    padding-top: calc(var(--header-h) + 12px);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}

.mobile-nav-drawer.is-open { transform: translateX(0); }

.drawer-scrim {
    position: fixed;
    inset: 0;
    background: rgba(14, 30, 56, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 205;
}

.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav ul { display: flex; flex-direction: column; padding: 0 32px; gap: 4px; }

.mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta {
    margin-top: 24px;
    text-align: center;
    background: var(--gold-main);
    color: #FFFFFF !important;
    border-radius: 6px;
    border-bottom: none !important;
    font-weight: 700;
}

/* ==========================================================================
   ヒーロー（トップ）
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-main) 100%);
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-waves { position: absolute; inset: 0; opacity: 0.6; pointer-events: none; }
.hero-waves svg { width: 100%; height: 100%; }

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge-wrap { margin-bottom: 24px; }

.hero-badge {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    padding: 6px 16px;
    border: 1px solid rgba(197, 159, 78, 0.4);
    border-radius: 100px;
    background: rgba(197, 159, 78, 0.08);
}

.hero-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    line-height: 1.35;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, #FFFFFF 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    margin-top: 24px;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 500px;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 6px;
    font-size: 0.94rem;
    font-weight: 700;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-primary {
    background: var(--gold-main);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #b38e40;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(197, 159, 78, 0.35);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-visual { position: relative; }

.visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.visual-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    left: -20px;
    bottom: -20px;
    background: #FFFFFF;
    color: var(--navy-dark);
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.badge-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--gold-main);
}

.badge-text {
    font-family: var(--font-label);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    text-transform: uppercase;
    display: block;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 24px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-scroll-cue span {
    width: 1px;
    height: 32px;
    background: var(--gold-main);
    animation: scrollcue 2s infinite;
}

@keyframes scrollcue {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-scroll-cue p {
    font-family: var(--font-label);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   共通セクション
   ========================================================================== */

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

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

.section-header { margin-bottom: 56px; max-width: 680px; }

.en-title {
    display: block;
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-main);
    margin-bottom: 12px;
}

.jp-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    color: var(--navy-dark);
    line-height: 1.45;
}

/* アニメーション用クラス */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ==========================================================================
   About Us（トップ・下層共通）
   ========================================================================== */

.about-glass-box {
    position: relative;
    background: var(--navy-dark);
    border-radius: 16px;
    padding: 60px;
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(14, 30, 56, 0.15);
}

.about-quote-mark {
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: var(--font-display);
    font-size: 6.5rem;
    color: rgba(197, 159, 78, 0.15);
    pointer-events: none;
}

.about-lead-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    line-height: 1.7;
}

.about-body-text {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    max-width: 760px;
}

.about-pillars {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillar-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.pillar p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

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

.service-card-new {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(14, 30, 56, 0.12);
    border-color: var(--gold-main);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.service-card-new:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-icon {
    position: absolute;
    bottom: 14px;
    left: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--navy-dark);
    color: var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg { width: 22px; height: 22px; }

.card-content-wrap {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy-dark);
    line-height: 1.45;
}

.card-desc {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.7;
    flex: 1;
}

.card-btn-arrow {
    margin-top: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-main);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card-new:hover .card-btn-arrow {
    background: var(--gold-main);
    color: #FFFFFF;
    border-color: var(--gold-main);
}

.services-more {
    margin-top: 48px;
    text-align: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--navy-dark);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold-main);
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.link-arrow:hover {
    color: var(--gold-main);
    gap: 14px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    position: relative;
    background: var(--navy-dark);
    padding: 100px 0;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.cta-badge {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-main);
}

.cta-title {
    margin-top: 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    color: #FFFFFF;
    line-height: 1.4;
}

.cta-desc {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.cta-btn-glowing {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-main);
    color: #FFFFFF;
    font-weight: 700;
    padding: 18px 44px;
    border-radius: 6px;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.cta-btn-glowing:hover {
    background: #b38e40;
    transform: translateY(-2px);
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.75); }

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

.footer-widgets { padding: 80px 0 50px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

.footer-logo-wrap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }

.logo-prefix-ft {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gold-main);
    font-weight: 700;
}

.logo-text-ft {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
}

.footer-text { font-size: 0.88rem; line-height: 1.8; }

.contact-details { margin-top: 20px; font-size: 0.88rem; }
.contact-details p { margin-bottom: 6px; }
.contact-details span { color: var(--gold-light); margin-right: 6px; font-weight: 700; }

.widget-heading {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-main);
    margin-bottom: 20px;
}

.widget-menu li { margin-bottom: 12px; }

.widget-menu a {
    font-size: 0.88rem;
    transition: color 0.3s var(--ease);
}

.widget-menu a:hover { color: #FFFFFF; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.copyright { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   サブページ共通（ヘッダー背景＆タイトルセクション）
   ========================================================================== */

.subpage-main { padding-top: var(--header-h); }

.subpage-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-main) 100%);
    padding: 72px 32px;
    text-align: center;
}

.page-title-en {
    display: block;
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold-main);
    margin-bottom: 12px;
}

.page-title-jp {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    color: #FFFFFF;
}

.section-alt { background: #F1F3F6; }

/* 会社概要テーブル */
.company-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

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

.company-table th,
.company-table td {
    padding: 22px 30px;
    font-size: 0.92rem;
    text-align: left;
    border-bottom: 1px solid var(--border-line);
}

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

.company-table th {
    width: 25%;
    background: var(--bg-light);
    color: var(--navy-dark);
    font-family: var(--font-display);
    font-weight: 700;
    vertical-align: top;
}

.company-table td { color: var(--text-dark); line-height: 1.85; }

/* ==========================================================================
   Services 詳細ページ
   ========================================================================== */

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
    align-items: center;
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.service-detail--reverse .service-detail-media { order: 2; }
.service-detail--reverse .service-detail-body { order: 1; }

.service-detail-media img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-detail-eyebrow {
    display: block;
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-main);
    margin-bottom: 10px;
}

.service-detail-body h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--navy-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.service-detail-body p {
    font-size: 0.94rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 22px;
}

.service-detail-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-detail-points li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.service-detail-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 2px;
    background: var(--gold-main);
}

/* ==========================================================================
   Contact ページ
   ========================================================================== */

.contact-lead-text {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
    color: var(--text-gray);
    font-size: 0.98rem;
}

.contact-form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 52px;
    border: 1px solid var(--border-line);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.form-group { margin-bottom: 28px; }

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.badge-required,
.badge-optional {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-required { background: var(--navy-main); color: #FFFFFF; }
.badge-optional { background: var(--border-line); color: var(--text-gray); }

.radio-tile-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.radio-tile { position: relative; cursor: pointer; }

.radio-tile input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid var(--border-line);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.25s var(--ease);
}

.radio-tile input:checked + .tile-label {
    border-color: var(--gold-main);
    background: var(--navy-main);
    color: #FFFFFF;
    font-weight: 700;
}

.form-flex-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.input-full {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.94rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-line);
    border-radius: 8px;
    padding: 14px 16px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-main);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(197, 159, 78, 0.15);
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-main);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 16px 48px;
    border-radius: 6px;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.submit-btn:hover {
    background: #b38e40;
    transform: translateY(-2px);
}

/* ==========================================================================
   Thanks ページ
   ========================================================================== */

.thanks-page-main {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 24px 80px;
}

.thanks-card {
    max-width: 560px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    border: 1px solid var(--border-line);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.thanks-icon-wrap {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--navy-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-en {
    display: block;
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-main);
    margin-bottom: 12px;
}

.thanks-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.thanks-desc {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ==========================================================================
   レスポンシブ（タブレット・スマホ対応）
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-pillars { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid .widget-col:first-child { grid-column: 1 / -1; }
    .service-detail { grid-template-columns: 1fr; gap: 28px; }
    .service-detail--reverse .service-detail-media,
    .service-detail--reverse .service-detail-body { order: initial; }
}

@media (max-width: 860px) {
    .desktop-nav, .pc-only-btn { display: none; }
    .mobile-menu-btn { display: flex; }
    .pc-only { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .radio-tile-group { grid-template-columns: repeat(2, 1fr); }
    .form-flex-inputs { grid-template-columns: 1fr; }
    .about-glass-box { padding: 40px 24px; }
    .contact-form-wrapper { padding: 32px 20px; }
}

@media (max-width: 540px) {
    .company-table th, .company-table td { display: block; width: 100%; }
    .company-table th { border-bottom: none; padding-bottom: 4px; }
    .company-table td { padding-top: 0; }
    .submit-btn { width: 100%; justify-content: center; }
}

 /*=========================

mobile menu can not click problem  solve  2026-7-24
 =========================*/
/* ==========================================
   モバイルメニュー構造の緊急修正コード
   ========================================== */

/* 背景の暗い幕 */
#drawer-scrim,
.drawer-scrim {
  z-index: 9998 !important;
}

/* メニュー本体（幕よりも上に配置） */
#mobile-nav-drawer,
.mobile-nav-drawer {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* リンク要素：タップ領域を広げて確実に反応させる */
.mobile-link {
  display: block !important;
  width: 100% !important;
  padding: 12px 0 !important;
  position: relative !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}