/* ============================================================
   Oriental One — Shared Stylesheet
   Used by: index-tw.html, index-zh.html, index-jp.html, index-en.html
============================================================ */

    /* ── Reset ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: #2a2a2a;
      background: #fff;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }

    /* ── Design tokens ── */
    :root {
      --blue:        #292d8c;
      --blue-light:  #3d44c4;
      --gold:        #c9a84c;
      --gray-bg:     #f7f8fb;
      --gray-line:   #e4e6ed;
      --text:        #2a2a2a;
      --text-mid:    #555;
      --text-light:  #888;
      --radius:      10px;
      --shadow:      0 4px 24px rgba(41,45,140,0.08);
      --pad-x:       clamp(20px, 5vw, 80px);
      --pad-section: clamp(60px, 8vw, 100px);
    }

    /* ══════════════════════════════
       HEADER
    ══════════════════════════════ */
    .hdr {
      position: sticky;
      top: 0;
      z-index: 500;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--gray-line);
    }
    .hdr__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
      padding: 0 var(--pad-x);
      gap: 24px;
    }
    .hdr__logo {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .hdr__logo img { height: 40px; width: auto; }
    .hdr__logo span {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      font-size: 22px;
      font-weight: 600;
      color: var(--blue);
      white-space: nowrap;
      letter-spacing: 0.04em;
    }
    .hdr__nav ul { display: flex; gap: clamp(12px, 2vw, 28px); list-style: none; }
    .hdr__nav a {
      font-size: clamp(0.78rem, 1.1vw, 0.88rem);
      font-weight: 500;
      letter-spacing: 0.03em;
      color: var(--text);
      padding-bottom: 3px;
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
      white-space: nowrap;
    }
    .hdr__nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
    .hdr__controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
    .hdr__lang {
      font-size: 0.85rem;
      padding: 5px 10px;
      border: 1.5px solid var(--blue);
      border-radius: 6px;
      background: transparent;
      color: var(--blue);
      cursor: pointer;
      font-family: inherit;
      transition: background .2s, color .2s;
    }
    .hdr__lang:hover { background: var(--blue); color: #fff; }
    .hdr__burger {
      display: none;
      background: none;
      border: 1.5px solid var(--gray-line);
      border-radius: 6px;
      padding: 6px;
      cursor: pointer;
      color: var(--blue);
      line-height: 0;
    }
    .hdr__burger svg { fill: currentColor; display: block; }
    .hdr__drawer {
      display: flex;
      flex-direction: column;
      background: #fff;
      border-top: 1px solid var(--gray-line);
      padding: 0 var(--pad-x);
      box-shadow: 0 8px 20px rgba(0,0,0,0.07);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
    }
    .hdr__drawer.open {
      max-height: 600px;
      padding: 8px var(--pad-x) 20px;
    }
    .hdr__drawer a {
      font-size: 1.05rem;
      padding: 13px 0;
      border-bottom: 1px solid var(--gray-line);
      color: var(--text);
    }
    .hdr__drawer a:hover { color: var(--blue); }
    @media (max-width: 1100px) {
      .hdr__nav { display: none; }
      .hdr__burger { display: flex; }
    }

    /* ══════════════════════════════
       HERO
    ══════════════════════════════ */
    .hero {
      position: relative;
      min-height: 85vh;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }
    .hero__img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(10,12,60,0.58) 100%);
    }
    .hero__content {
      position: relative;
      z-index: 2;
      padding: 60px var(--pad-x);
    }
    .hero__tag {
      display: inline-block;
      font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      border: 1px solid var(--gold);
      border-radius: 4px;
      padding: 5px 12px;
      margin-bottom: 20px;
    }
    .hero__h1 {
      font-family: 'Cormorant Garamond', 'Helvetica Neue', serif;
      font-size: clamp(2.8rem, 6vw, 5rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.15;
      letter-spacing: 0.04em;
      margin-bottom: 18px;
    }
    .hero__sub {
      font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
      font-size: clamp(0.95rem, 1.8vw, 1.1rem);
      font-weight: 300;
      color: rgba(255,255,255,0.82);
      max-width: 460px;
      letter-spacing: 0.01em;
    }

    /* ══════════════════════════════
       SHARED SECTION STYLES
    ══════════════════════════════ */
    .section { padding: var(--pad-section) var(--pad-x); }
    .section--gray { background: var(--gray-bg); }
    .section--blue { background: #eef0fa; }
    .section--dark { background: #eef0fa; }

    .section__label {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 10px;
      text-align: center;
    }
    .section--blue .section__label,
    .section--dark .section__label { color: var(--blue); }

    .section__title {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      font-size: clamp(1.9rem, 3.5vw, 2.8rem);
      font-weight: 600;
      color: var(--text);
      margin-bottom: 40px;
      line-height: 1.2;
      letter-spacing: 0.02em;
      text-align: center;
    }
    .section--blue .section__title,
    .section--dark .section__title { color: var(--blue); }

    /* ══════════════════════════════
       SERVICES
    ══════════════════════════════ */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .service-card {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      background: #fff;
      transition: transform .25s, box-shadow .25s;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 36px rgba(41,45,140,0.14);
    }
    .service-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
    .service-card__body { padding: 24px; }
    .service-card__title { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--blue); margin-bottom: 10px; letter-spacing: 0.02em; }
    .service-card__text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }
    @media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

    /* ══════════════════════════════
       LISTINGS
    ══════════════════════════════ */
    .listings-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .listing-card {
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .25s, box-shadow .25s;
    }
    .listing-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 36px rgba(41,45,140,0.14);
    }
    .listing-card__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
    .listing-card__body { padding: 18px 20px 22px; }
    .listing-card__header { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
    .listing-card__header-left { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
    .listing-card__name { font-size: 0.95rem; font-weight: 700; color: var(--blue); }
    .listing-card__addr { font-size: 0.8rem; color: var(--text-light); }
    .listing-card__price { font-size: 1.05rem; font-weight: 700; color: var(--blue); white-space: nowrap; flex-shrink: 0; background: #eef0ff; padding: 6px 12px; border-radius: 6px; display: flex; align-items: center; max-height: 64px; align-self: flex-start; margin-top: auto; margin-bottom: auto; }
    .listing-card__table { width: 100%; border-collapse: collapse; }
    .listing-card__table tr { border-bottom: 1px solid var(--gray-line); }
    .listing-card__table tr:last-child { border-bottom: none; }
    .listing-card__table td { padding: 5px 4px; font-size: 0.82rem; }
    .listing-card__table td:first-child { color: var(--text-light); width: 38%; }
    .listing-card__table td:last-child { font-weight: 600; color: var(--text); }
    @media (max-width: 1100px) { .listings-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px)  { .listings-grid { grid-template-columns: 1fr; } }

    /* ══════════════════════════════
       FLOW
    ══════════════════════════════ */
    .flow-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .flow-card {
      background: #fff;
      border: 1px solid var(--gray-line);
      border-radius: var(--radius);
      padding: 28px 20px;
      text-align: center;
      transition: background .2s;
    }
    .flow-card:hover { background: #fff; box-shadow: 0 8px 24px rgba(41,45,140,0.12); transform: translateY(-4px); }
    .flow-card__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 12px; }
    .flow-card__icon { margin: 0 auto 14px; width: 48px; height: 48px; }
    .flow-card__icon svg { width: 48px; height: 48px; }
    .flow-card__title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
    .flow-card__text { font-size: 0.8rem; color: var(--text-mid); line-height: 1.65; }
    @media (max-width: 1000px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 500px)  { .flow-grid { grid-template-columns: 1fr; } }

    /* ══════════════════════════════
       COMPANY TABLE
    ══════════════════════════════ */
    .company-wrap { max-width: 589px; margin: 0 auto; }
    .company-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.92rem;
      table-layout: auto;
    }
    .company-table th,
    .company-table td {
      padding: 11px 16px;
      border: 1px solid var(--gray-line);
      vertical-align: top;
      line-height: 1.6;
    }
    .company-table thead tr { background: var(--blue); color: #fff; }
    .company-table thead th { font-weight: 600; text-align: left; }
    .company-table tbody tr:hover { background: #f5f6ff; }
    .company-table tbody td:first-child {
      white-space: nowrap;
      width: 1px;
      font-weight: 600;
      color: var(--blue);
      padding-right: 34px;
    }

    /* ══════════════════════════════
       STORY
    ══════════════════════════════ */
    .story-text { max-width: 800px; margin: 0 auto; }
    .story-text p { margin-bottom: 1.1em; color: var(--text-mid); }
    .story-text p:first-child { font-size: 1.05rem; font-weight: 600; color: var(--text); }

    /* ══════════════════════════════
       CONTACT
    ══════════════════════════════ */
    .contact-grid {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 40px 60px;
      align-items: start;
      max-width: 600px;
      margin: 0 auto;
    }
    .contact-qr img { width: 140px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
    .contact-info__title { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 1.8rem; font-weight: 600; color: var(--blue); margin-bottom: 20px; letter-spacing: 0.03em; }
    .contact-info__row { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; color: var(--text); }
    .contact-info__row strong { color: var(--blue); font-weight: 600; min-width: 48px; flex-shrink: 0; }
    @media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

    /* ══════════════════════════════
       FOOTER
    ══════════════════════════════ */
    .footer {
      background: #0f1036;
      color: rgba(255,255,255,0.45);
      text-align: center;
      padding: 24px var(--pad-x);
      font-size: 0.8rem;
    }

    /* ══════════════════════════════
       WHY JAPAN — STATS
    ══════════════════════════════ */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-bottom: 48px;
    }
    .stat-card {
      text-align: center;
      padding: 32px 16px;
      border-radius: var(--radius);
      background: #fff;
      box-shadow: var(--shadow);
      transition: transform .25s;
    }
    .stat-card:hover { transform: translateY(-4px); }
    .stat-card__num {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 700;
      color: var(--blue);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-card__num span { font-size: 0.55em; font-weight: 400; vertical-align: super; }
    .stat-card__label { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
    .why-points {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .why-point {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .why-point__icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .why-point__icon svg { width: 20px; height: 20px; stroke: #fff; }
    .why-point__title { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
    .why-point__text { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }
    @media (max-width: 860px) {
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .why-points { grid-template-columns: 1fr; }
    }
    @media (max-width: 500px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

    /* ══════════════════════════════
       LANGUAGES
    ══════════════════════════════ */
    .lang-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 8px;
    }
    .lang-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 999px;
      border: 1.5px solid var(--blue);
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--blue);
      transition: background .2s, color .2s;
    }
    .lang-pill:hover { background: var(--blue); color: #fff; }
    .lang-pill__flag { font-size: 1.2rem; }

    /* ══════════════════════════════
       FAQ
    ══════════════════════════════ */
    .faq-wrap { max-width: 700px; margin: 0 auto; }
    .faq-item {
      border-bottom: 1px solid var(--gray-line);
    }
    .faq-item.open {
      padding-bottom: 16px;
    }
    .faq-item:first-child { border-top: 1px solid var(--gray-line); }
    .faq-q {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text);
      gap: 16px;
    }
    .faq-q:hover { color: var(--blue); }
    .faq-q__icon {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      border-radius: 50%;
      border: 1.5px solid var(--gray-line);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .25s, background .2s, border-color .2s;
    }
    .faq-q__icon svg { width: 12px; height: 12px; stroke: var(--text-mid); transition: stroke .2s; }
    .faq-item.open .faq-q { color: var(--blue); }
    .faq-item.open .faq-q__icon { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
    .faq-item.open .faq-q__icon svg { stroke: #fff; }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      padding: 0;
      font-size: 0.88rem;
      color: var(--text-mid);
      line-height: 1.75;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .faq-item.open .faq-a {
      max-height: 140px;
      padding: 0 0 32px;
    }

    /* ══════════════════════════════
       CONTACT FORM
    ══════════════════════════════ */
    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      max-width: 860px;
      margin: 0 auto;
      align-items: start;
    }
    .contact-form { display: flex; flex-direction: column; gap: 14px; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid var(--gray-line);
      border-radius: 8px;
      background: #fff;
      color: var(--text);
      font-size: 0.9rem;
      font-family: inherit;
      outline: none;
      transition: border-color .2s, background .2s;
    }
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { color: var(--text-light); }
    .contact-form select option { color: var(--text); background: #fff; }
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
      border-color: var(--blue);
      background: #fff;
    }
    .contact-form textarea { resize: vertical; min-height: 100px; }
    .contact-form__btn {
      padding: 13px;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.04em;
      transition: opacity .2s;
    }
    .contact-form__btn:hover { opacity: 0.88; }
    @media (max-width: 700px) {
      .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    }


    /* ==========================================
       NEW SECTIONS (added 2026)
    ========================================== */

.achievements-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin-top:36px;}
.ach-card{background:#fff;border-radius:var(--radius);padding:20px 18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px;border-top:3px solid var(--gold);}
.ach-badge{display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.07em;padding:3px 10px;border-radius:20px;width:fit-content;}
.ach-badge--invest{background:rgba(201,168,76,.18);color:#7a5a0a;}
.ach-badge--own   {background:rgba(41,45,140,.12);color:var(--blue);}
.ach-badge--rent  {background:rgba(15,110,86,.13);color:#0a5c47;}
.ach-badge--consult{background:rgba(120,60,180,.12);color:#6a2fa0;}
.ach-property{font-size:.88rem;font-weight:700;color:var(--text);line-height:1.4;}
.ach-area{font-size:.75rem;color:var(--text-light);}
.ach-note{text-align:center;margin-top:28px;font-size:.75rem;color:var(--text-light);letter-spacing:.02em;}
.ach-legend{display:flex;justify-content:center;gap:16px;margin:20px 0 0;flex-wrap:wrap;}
.ach-legend .ach-badge{font-size:.76rem;padding:5px 14px;cursor:default;}

/* ---------------------------------------- */
.stories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;margin-top:36px;}
.story-card{background:#fff;border-radius:var(--radius);padding:32px 30px;box-shadow:var(--shadow);border-left:3px solid var(--gold);display:flex;flex-direction:column;}
.story-case{font-size:.72rem;font-weight:700;color:var(--gold);letter-spacing:.07em;margin-bottom:10px;}
.story-title{font-size:.96rem;font-weight:700;color:var(--blue);margin:0 0 18px;line-height:1.45;}
.story-body p{font-size:.84rem;line-height:1.92;color:var(--text-mid);margin:0 0 10px;}
.story-body p:last-child{margin:0;}

/* ---------------------------------------- */
.partners-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:36px;}
.partner-card{background:#fff;border-radius:var(--radius);padding:28px 20px 24px;text-align:center;box-shadow:var(--shadow);border-top:3px solid var(--gold);display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 1 185px;min-width:160px;max-width:210px;}
.partner-icon{font-size:1.9rem;line-height:1;}
.partner-title{font-size:.88rem;font-weight:700;color:var(--blue);}
.partner-desc{font-size:.76rem;color:var(--text-mid);line-height:1.7;}

/* ---------------------------------------- */
.team-layout{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;margin-top:40px;}
@media(max-width:720px){
  .team-layout{grid-template-columns:1fr;}
  .team-illustration img{max-width:340px;display:block;margin:0 auto;}
}
.team-illustration img{width:100%;border-radius:16px;box-shadow:0 6px 28px rgba(41,45,140,.13);}
.team-member{margin-bottom:28px;}
.team-member:last-child{margin-bottom:0;}
.team-member h3{font-size:1rem;font-weight:700;color:var(--blue);margin:0 0 4px;}
.team-credential{font-size:.75rem;color:var(--gold);letter-spacing:.05em;margin-bottom:14px;}
.team-member p{font-size:.86rem;line-height:1.9;color:var(--text-mid);margin-bottom:12px;}
.team-member p:last-child{margin-bottom:0;}
.team-hr{border:none;border-top:1px solid var(--gray-line);margin:24px 0;}

/* ── 我們的故事 Pull Quote ─────────────── */
/* Higher specificity than .story-text p to override color correctly */
.story-text p.story-pull{font-size:.95rem;line-height:1.88;color:var(--blue);border-left:3px solid var(--gold);padding-left:18px;margin:24px 0;font-style:italic;}
/* Bullet list inside story */
.story-text ul{list-style:disc outside;padding-left:1.4em;margin-bottom:1.1em;color:var(--text-mid);}
.story-text ul li{font-size:.95rem;line-height:2;}
