/* ============================
       CSS Variables
    ============================ */
    :root {
      --navy:      #1A3A7A;
      --blue:      #2B82CC;
      --gold:      #C4962A;
      --white:     #FFFFFF;
      --off-white: #F4F4F2;
      --text-body: #2C2C2C;
      --text-sub:  #666666;

      --font-en:   'Cormorant Garamond', Georgia, serif;
      --font-ja-serif: 'Noto Serif JP', 'Yu Mincho', serif;
      --font-ja-sans:  'Noto Sans JP', 'Hiragino Sans', sans-serif;

      --max-width: 960px;
      --section-padding: 96px 24px;
    }

    /* ============================
       Reset & Base
    ============================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-ja-sans);
      font-size: 18px;
      line-height: 1.8;
      color: var(--text-body);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; height: auto; }
    a { text-decoration: none; color: inherit; }

    /* ============================
       Section 0: Navigation
    ============================ */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: rgba(255, 255, 255, 0.96);
      padding: 0 32px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: border-bottom 0.3s ease;
    }

    #nav.scrolled {
      border-bottom: 1px solid var(--gold);
    }

    .nav-logo {
      display: flex;
      align-items: center;
    }
    .nav-logo img {
      height: 44px;
      width: auto;
    }

    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--font-ja-sans);
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.06em;
      color: var(--navy);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--gold); }

    /* ============================
       Section 1: Hero
    ============================ */
    #hero {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* ============ FV：レスポンシブ・コラージュ ============ */
    .hero-bg {
      position: absolute;
      inset: 0;
      display: grid;
      gap: 0;
    }
    .hero-cell {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-width: 0;
      min-height: 0;
    }
    .cell-gaikan  { background-image: url('../images/cell-gaikan.jpg'); }
    .cell-living  { background-image: url('../images/cell-living.jpg'); }
    .cell-bed     { background-image: url('../images/cell-bed.jpg'); }
    .cell-kitchen { background-image: url('../images/cell-kitchen.jpg'); }

    /* ── FV：メイン外観＋サブ3枚（確定案） ── */
    .hero-bg.fv-b {
      grid-template-columns: 6fr 4fr;
      grid-template-rows: repeat(3, 1fr);
    }
    .hero-bg.fv-b .cell-gaikan { grid-area: 1 / 1 / 4 / 2; }
    /* タブレット：上に外観・下に3枚横並び */
    @media (max-width: 1000px) {
      .hero-bg.fv-b {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 2fr 1fr;
      }
      .hero-bg.fv-b .cell-gaikan { grid-area: 1 / 1 / 2 / 4; }
    }
    /* スマホ：外観1枚に集約 */
    @media (max-width: 640px) {
      .hero-bg.fv-b {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
      }
      .hero-bg.fv-b .cell-gaikan { grid-area: auto; }
      .hero-bg.fv-b .hero-cell:not(.cell-gaikan) { display: none; }
    }

    /* ── オーバーレイ ── */
    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      transition: background 0.4s ease;
    }
    .hero-overlay.fv-b { background: rgba(26, 58, 122, 0.62); }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 24px;
      max-width: 800px;
    }

    .hero-catchcopy {
      font-family: var(--font-ja-serif);
      font-weight: 700;
      font-size: clamp(36px, 6vw, 64px);
      line-height: 1.5;
      color: var(--white);
      letter-spacing: 0.06em;
      margin-bottom: 32px;
    }

    .hero-subcopy {
      font-family: var(--font-ja-serif);
      font-size: clamp(16px, 2.2vw, 20px);
      line-height: 2;
      color: rgba(255, 255, 255, 0.88);
      margin-bottom: 48px;
      letter-spacing: 0.04em;
    }

    .hero-cta {
      display: inline-block;
      padding: 16px 48px;
      border: 1px solid var(--gold);
      font-family: var(--font-ja-serif);
      font-size: 17px;
      letter-spacing: 0.1em;
      color: var(--white);
      transition: background 0.3s, color 0.3s;
    }
    .hero-cta:hover {
      background: var(--gold);
      color: var(--white);
    }

    /* ============================
       Common Section Styles
    ============================ */
    .section-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: var(--section-padding);
    }

    .section-heading {
      font-family: var(--font-ja-serif);
      font-size: clamp(25px, 3.3vw, 34px);
      font-weight: 700;
      color: var(--navy);
      letter-spacing: 0.06em;
      margin-bottom: 48px;
    }

    .section-heading::after {
      content: '';
      display: block;
      width: 32px;
      height: 1px;
      background: var(--gold);
      margin-top: 16px;
    }

    /* ============================
       Section 2: 当社の役割
    ============================ */
    #business {
      background: var(--white);
      border-top: 1px solid var(--gold);
    }

    .business-lead {
      font-family: var(--font-ja-serif);
      font-size: 18px;
      line-height: 2;
      color: var(--navy);
      margin-bottom: 56px;
      max-width: 640px;
      letter-spacing: 0.04em;
    }

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

    .feature-item {
      border-top: 1px solid #ddd;
      padding-top: 24px;
    }

    .feature-number {
      font-family: var(--font-en);
      font-size: 42px;
      font-weight: 400;
      color: var(--gold);
      letter-spacing: 0.04em;
      margin-bottom: 16px;
    }

    .feature-title {
      font-family: var(--font-ja-serif);
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--gold);
      letter-spacing: 0.04em;
    }

    .feature-desc {
      font-family: var(--font-ja-sans);
      font-size: 16px;
      line-height: 1.9;
      color: var(--text-body);
    }

    .business-cta {
      display: inline-block;
      font-family: var(--font-ja-sans);
      font-size: 16px;
      color: var(--blue);
      letter-spacing: 0.04em;
      border-bottom: 1px solid var(--blue);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
    }
    .business-cta:hover {
      color: var(--gold);
      border-color: var(--gold);
    }

    /* ============================
       Section 3: 投資家の皆様へのお約束
    ============================ */
    #promise {
      background: var(--navy);
    }

    #promise .section-heading {
      color: var(--white);
    }
    #promise .section-heading::after {
      background: var(--gold);
    }

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

    .promise-item {
      border-top: 1px solid rgba(196, 150, 42, 0.5);
      padding-top: 24px;
    }

    .promise-number {
      font-family: var(--font-en);
      font-size: 42px;
      font-weight: 400;
      color: var(--gold);
      letter-spacing: 0.04em;
      margin-bottom: 16px;
    }

    .promise-title {
      font-family: var(--font-ja-serif);
      font-size: 18px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 12px;
      letter-spacing: 0.04em;
    }

    .promise-desc {
      font-family: var(--font-ja-sans);
      font-size: 16px;
      line-height: 1.9;
      color: rgba(255, 255, 255, 0.75);
    }

    /* ============================
       Section 4: 管理対象資産
    ============================ */
    #assets {
      background: var(--off-white);
    }

    .assets-lead {
      font-family: var(--font-ja-sans);
      font-size: 16px;
      color: var(--text-sub);
      margin-bottom: 40px;
      letter-spacing: 0.04em;
    }

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

    .asset-card {
      background: var(--white);
      overflow: hidden;
    }

    .asset-card-img {
      width: 100%;
      aspect-ratio: 16/10;
      object-fit: cover;
      background: #ddd;
      display: block;
      /* REPLACE each with actual asset photo */
    }

    .asset-card-body {
      padding: 20px 20px 24px;
    }

    .asset-card-title {
      font-family: var(--font-ja-serif);
      font-size: 17px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      letter-spacing: 0.04em;
    }

    .asset-card-desc {
      font-family: var(--font-ja-sans);
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-sub);
    }

    .assets-legal {
      font-family: var(--font-ja-sans);
      font-size: 13px;
      line-height: 1.8;
      color: #999;
      letter-spacing: 0.02em;
    }

    /* ============================
       Section 5: 管理・報告体制
    ============================ */
    #management {
      background: var(--white);
      border-top: 1px solid var(--gold);
    }

    .management-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      margin-bottom: 40px;
    }

    .management-item {
      background: var(--off-white);
      padding: 32px;
      border-left: 3px solid var(--gold);
    }

    .management-item-title {
      font-family: var(--font-ja-serif);
      font-size: 19px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 16px;
      letter-spacing: 0.04em;
    }

    .management-item-body {
      font-family: var(--font-ja-sans);
      font-size: 16px;
      line-height: 1.9;
      color: var(--text-body);
    }

    .management-risk {
      background: var(--off-white);
      border: 1px solid #ddd;
      padding: 24px 32px;
      font-family: var(--font-ja-sans);
      font-size: 15px;
      line-height: 1.9;
      color: var(--text-sub);
    }

    .management-risk strong {
      display: block;
      font-size: 15px;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 8px;
      letter-spacing: 0.04em;
    }

    /* ============================
       Section 6: 代表メッセージ
    ============================ */
    #message {
      background: var(--off-white);
    }

    .message-grid {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 64px;
      align-items: start;
    }

    .message-photo-wrap {
      /* sticky解除：通常スクロール */
    }

    .message-photo {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      /* REPLACE: 小林昌裕代表の顔写真（プロ撮影・白背景・温かみある光量） */
    }
    /* REPLACE photo src with actual portrait */

    .message-text {
      padding-top: 8px;
    }

    .message-body {
      font-family: var(--font-ja-serif);
      font-size: 19px;
      line-height: 2.1;
      color: var(--navy);
      margin-bottom: 40px;
      white-space: pre-line;
    }

    .message-profile {
      padding-top: 24px;
      border-top: 1px solid #e0e0e0;
    }

    .profile-name {
      font-family: var(--font-en);
      font-size: 30px;
      font-weight: 600;
      letter-spacing: 0.1em;
      color: var(--navy);
      margin-bottom: 4px;
    }

    .profile-name-ja {
      font-family: var(--font-ja-serif);
      font-size: 16px;
      color: var(--text-sub);
      letter-spacing: 0.12em;
      margin-bottom: 16px;
    }

    .profile-title {
      font-family: var(--font-ja-sans);
      font-size: 15px;
      color: var(--text-sub);
      letter-spacing: 0.06em;
      margin-bottom: 12px;
    }

    .profile-bio {
      font-family: var(--font-ja-sans);
      font-size: 15px;
      line-height: 1.9;
      color: var(--text-sub);
    }

    /* ============================
       Section 7: 会社概要
    ============================ */
    #company {
      background: var(--white);
    }

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

    .company-table tr {
      border-bottom: 1px solid #ddd;
    }

    .company-table th,
    .company-table td {
      padding: 18px 24px;
      text-align: left;
      font-family: var(--font-ja-sans);
      font-size: 16px;
      line-height: 1.7;
    }

    .company-table th {
      width: 200px;
      color: var(--text-sub);
      font-weight: 400;
      letter-spacing: 0.04em;
    }

    .company-table td {
      color: var(--navy);
      font-weight: 500;
    }

    .company-table td .table-note {
      display: block;
      font-size: 14px;
      font-weight: 400;
      color: var(--text-sub);
      margin-top: 4px;
    }

    /* ============================
       Section 8: お問い合わせ
    ============================ */
    #contact {
      background: var(--navy);
    }

    #contact .section-heading {
      color: var(--white);
    }
    #contact .section-heading::after {
      background: var(--gold);
    }

    .contact-lead {
      font-family: var(--font-ja-sans);
      font-size: 17px;
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 48px;
      line-height: 1.9;
    }

    .contact-info-box {
      display: flex;
      gap: 40px;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }

    .contact-info-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .contact-info-label {
      font-family: var(--font-ja-sans);
      font-size: 13px;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.08em;
    }

    .contact-info-value {
      font-family: var(--font-ja-serif);
      font-size: 17px;
      color: var(--white);
      letter-spacing: 0.06em;
    }

    .contact-divider {
      border: none;
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 48px;
    }

    .contact-form {
      max-width: 560px;
    }

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

    .form-label {
      display: block;
      font-family: var(--font-ja-sans);
      font-size: 15px;
      color: rgba(255, 255, 255, 0.65);
      margin-bottom: 8px;
      letter-spacing: 0.06em;
    }

    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      font-family: var(--font-ja-sans);
      font-size: 16px;
      padding: 12px 16px;
      outline: none;
      transition: border-color 0.2s;
      border-radius: 0;
      appearance: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder { color: rgba(255,255,255,0.3); }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: var(--gold);
    }

    .form-select {
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4962A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
      background-color: rgba(255,255,255,0.07);
    }

    .form-select option { background: var(--navy); color: var(--white); }

    .form-textarea { resize: vertical; min-height: 140px; }

    .form-submit {
      width: 100%;
      padding: 16px;
      background: var(--gold);
      border: none;
      color: var(--white);
      font-family: var(--font-ja-serif);
      font-size: 18px;
      letter-spacing: 0.1em;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .form-submit:hover { opacity: 0.85; }

    .contact-note {
      margin-top: 20px;
      font-family: var(--font-ja-sans);
      font-size: 14px;
      color: rgba(255,255,255,0.45);
      line-height: 1.8;
    }

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

    .form-required {
      color: var(--gold);
      font-size: 12px;
      letter-spacing: 0.04em;
      margin-left: 6px;
    }

    .form-checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .form-checkbox {
      width: 18px;
      height: 18px;
      min-width: 18px;
      margin-top: 3px;
      accent-color: var(--gold);
      cursor: pointer;
    }

    .form-checkbox-label {
      font-family: var(--font-ja-sans);
      font-size: 14px;
      color: rgba(255, 255, 255, 0.75);
      line-height: 1.8;
      cursor: pointer;
    }

    .form-checkbox-label a {
      color: var(--gold);
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .form-row {
        grid-template-columns: 1fr;
        gap: 0;
      }
    }

    /* ============================
       Footer
    ============================ */
    #footer {
      background: var(--navy);
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 48px 32px 32px;
    }

    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 48px;
      align-items: start;
    }

    .footer-tagline {
      font-family: var(--font-ja-serif);
      font-size: 25px;
      color: var(--white);
      letter-spacing: 0.1em;
      margin-bottom: 20px;
    }

    .footer-info {
      font-family: var(--font-ja-sans);
      font-size: 14px;
      color: rgba(255,255,255,0.45);
      line-height: 2;
    }

    .footer-info strong {
      display: block;
      font-size: 15px;
      color: rgba(255,255,255,0.7);
      font-weight: 500;
      margin-bottom: 4px;
    }

    .footer-nav {
      display: flex;
      flex-direction: column;
      gap: 12px;
      list-style: none;
    }

    .footer-nav a {
      font-family: var(--font-ja-sans);
      font-size: 14px;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.04em;
      transition: color 0.2s;
    }
    .footer-nav a:hover { color: var(--gold); }

    .footer-bottom {
      max-width: var(--max-width);
      margin: 32px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.08);
      font-family: var(--font-en);
      font-size: 13px;
      color: rgba(255,255,255,0.25);
      letter-spacing: 0.06em;
      text-align: right;
    }

    /* ============================
       Responsive — Mobile
    ============================ */
    @media (max-width: 768px) {
      :root {
        --section-padding: 64px 20px;
      }

      .nav-links { display: none; }

      .message-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .message-photo-wrap {
        position: static;
        max-width: 240px;
        margin: 0 auto;
      }

      .assets-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .promise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .management-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
      }

      .contact-info-box {
        flex-direction: column;
        gap: 20px;
      }
    }

    @media (min-width: 769px) and (max-width: 960px) {
      .assets-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .message-grid {
        grid-template-columns: 220px 1fr;
        gap: 40px;
      }
      .promise-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* ============================
       Simple Content Pages
       (thanks / privacy-policy)
    ============================ */
    .page-hero {
      background: var(--navy);
      padding: 140px 24px 64px;
      text-align: center;
    }

    .page-hero-title {
      font-family: var(--font-ja-serif);
      font-size: clamp(24px, 3.2vw, 32px);
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.06em;
    }

    .page-hero-en {
      display: block;
      font-family: var(--font-en);
      font-size: 13px;
      letter-spacing: 0.2em;
      color: var(--gold);
      margin-bottom: 14px;
    }

    .page-content {
      max-width: 760px;
      margin: 0 auto;
      padding: 72px 24px 96px;
    }

    /* --- Thanks page --- */
    .thanks-box {
      text-align: center;
      padding: 48px 0;
    }

    .thanks-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 28px;
      border: 1px solid var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .thanks-icon svg {
      width: 22px;
      height: 22px;
      stroke: var(--gold);
    }

    .thanks-message {
      font-family: var(--font-ja-serif);
      font-size: 20px;
      color: var(--navy);
      font-weight: 700;
      margin-bottom: 20px;
      letter-spacing: 0.04em;
    }

    .thanks-lead {
      font-size: 15px;
      line-height: 1.9;
      color: var(--text-sub);
      margin-bottom: 40px;
    }

    .thanks-back {
      display: inline-block;
      padding: 14px 40px;
      border: 1px solid var(--gold);
      font-family: var(--font-ja-serif);
      font-size: 14px;
      letter-spacing: 0.08em;
      color: var(--navy);
      text-decoration: none;
      transition: background 0.25s ease, color 0.25s ease;
    }

    .thanks-back:hover {
      background: var(--gold);
      color: var(--white);
    }

    /* --- Privacy policy page --- */
    .policy-updated {
      text-align: right;
      font-size: 12px;
      color: var(--text-sub);
      margin-bottom: 40px;
    }

    .policy-lead {
      font-size: 14px;
      line-height: 1.9;
      color: var(--text-body);
      margin-bottom: 48px;
    }

    .policy-article {
      margin-bottom: 40px;
    }

    .policy-article-title {
      font-family: var(--font-ja-serif);
      font-size: 17px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--off-white);
    }

    .policy-article p {
      font-size: 14px;
      line-height: 1.9;
      color: var(--text-body);
      margin-bottom: 12px;
    }

    .policy-article ul,
    .policy-article ol {
      padding-left: 1.4em;
      margin-bottom: 12px;
    }

    .policy-article li {
      font-size: 14px;
      line-height: 1.9;
      color: var(--text-body);
      margin-bottom: 6px;
    }

    .policy-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 12px;
      font-size: 13px;
    }

    .policy-table th,
    .policy-table td {
      border: 1px solid var(--off-white);
      padding: 10px 14px;
      text-align: left;
      vertical-align: top;
      line-height: 1.7;
    }

    .policy-table th {
      background: var(--off-white);
      color: var(--navy);
      width: 30%;
      font-weight: 500;
      white-space: nowrap;
    }

    .policy-contact-box {
      background: var(--off-white);
      padding: 28px 32px;
      margin-top: 8px;
    }

    .policy-contact-box p {
      margin-bottom: 6px;
    }
