/* PCメガメニュー（1025px以上）
 * .menu-ph = 画像差し込み用プレースホルダー（薄いグレー）
 */
.menu-ph {
  display: block;
  background-color: #e5e5e5;
  width: 100%;
}
.menu-ph--tall {
  min-height: 32rem;
  flex: 0 0 18rem;
  max-width: 18rem;
}
.menu-ph--card {
  min-height: 9rem;
  margin-top: 0.8rem;
}
.menu-ph--product {
  flex: 0 0 100px;
  width: 100px;
  min-height: 100px;
}
.menu-ph--event {
  min-height: 280px;
}
.menu-ph--feature {
  flex: 0 0 160px;
  width: 160px;
  min-height: 240px;
  margin-bottom: 0;
}
.menu-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-header {
  display: none;
}

@media (min-width: 1025px) {
  #header.header--renewed {
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }
  #header.header--renewed.scroll {
    padding: 0;
    background: #fff;
  }
  #header.header--renewed .header-inner {
    align-items: stretch;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0 0 2.4rem;
    min-height: 7rem;
  }
  #header.header--renewed .header-logo,
  #header.header--renewed .header-logo.transform {
    transform: none;
    width: 20rem;
    align-self: center;
    flex-shrink: 0;
  }
  #header.header--renewed .header-menu,
  #header.header--renewed .header-menu.transform {
    display: none;
  }

  .pc-header {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    position: relative;
  }
  .pc-header-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 1.2rem 2.4rem 1.2rem 2rem;
    min-width: 0;
  }
  .pc-header-utility {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
  }
  .pc-header-utility-text {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: #000 !important;
    white-space: nowrap;
  }
  .pc-header-tel:hover {
    opacity: 0.7;
  }
  .pc-header-sns {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pc-header-sns-link {
    display: flex;
    color: #000;
  }
  .pc-header-sns-link:hover {
    opacity: 0.7;
  }
  .pc-header-sns-link svg {
    display: block;
  }
  .pc-header-sns-instagram {
    width: auto;
    height: 16px;
  }

  .pc-nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 2.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pc-nav-trigger {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
  }
  .pc-nav-trigger:hover,
  .pc-nav-item.is-open .pc-nav-trigger,
  .pc-nav-item.is-active .pc-nav-trigger {
    color: #4a90c8;
  }

  .pc-header-cta {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
  }
  .pc-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 82px;
    background: #1b3a6e;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .pc-cta-btn + .pc-cta-btn {
    border-left: 1px solid #fff;
  }
  .pc-cta-btn:hover {
    background: #254a86;
  }
  .pc-cta-btn-icon {
    display: flex;
    color: #fff;
  }
  .pc-cta-btn-icon img {
    display: block;
    width: 29px;
    height: auto;
  }
  .pc-cta-btn-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    writing-mode: horizontal-tb;
  }

  .pc-mega {
    position: absolute;
    top: 100%;
    right: 0;
    width: 1035px;
    z-index: 10000;
    pointer-events: none;
  }
  .pc-mega.is-open {
    pointer-events: auto;
  }
  .pc-mega-panel {
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 40px 60px;
    letter-spacing: 0;
  }
  .pc-mega-panel,
  .pc-mega-panel * {
    letter-spacing: 0;
  }
  .pc-mega-panel[hidden] {
    display: none !important;
  }
  .pc-mega-inner--concept,
  .pc-mega-inner--company {
    display: flex;
    gap: 50px;
    align-items: stretch;
  }
  .pc-mega-card-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 50px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pc-mega-card {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .pc-mega-card:hover .pc-mega-card-title {
    color: #4a90c8;
  }
  .pc-mega-card-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  /* ラインナップ: 左=ORDER+REFORM / 右=TINY（各1列縦積み） */
  .pc-mega-inner--lineup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 60px;
    align-items: start;
  }
  .pc-mega-series + .pc-mega-series {
    margin-top: 36px;
  }
  .pc-mega-series-title {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
  .pc-mega-product-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 20px;
  }
  .pc-mega-product {
    display: flex;
    gap: 20px;
    align-items: center;
    color: inherit;
    text-decoration: none;
  }
  .pc-mega-product:hover .pc-mega-product-name {
    color: #4a90c8;
  }
  .pc-mega-product-name {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
  }
  .pc-mega-product-desc {
    display: block;
    margin-top: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
  }
  .menu-ph--product {
    flex: 0 0 100px;
    width: 100px;
    min-height: 100px;
  }

  /* 住宅イベント: 画像2 + テキスト */
  .pc-mega-inner--event {
    display: grid;
    grid-template-columns: 280px 140px 1fr;
    gap: 15px;
    align-items: stretch;
  }
  .menu-ph--event {
    min-height: 280px;
    flex: none;
  }
  .menu-ph--event-a {
    background-color: #d5dbe3;
  }
  .menu-ph--event-b {
    background-color: #cbbfa3;
  }
  .pc-mega-event-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 30px;
  }
  .pc-mega-event-en {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
  }
  .pc-mega-event-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
  .pc-mega-event-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }
  .pc-mega-event-copy .pc-mega-btn {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
  }

  /* 施工例・お客様の声: 各ブロックは画像左＋テキスト右 */
  .pc-mega-inner--works {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }
  .pc-mega-feature {
    display: flex;
    gap: 30px;
    align-items: stretch;
  }
  .menu-ph--feature {
    flex: 0 0 160px;
    width: 160px;
    min-height: 240px;
    margin-bottom: 0;
    background-color: #cbbfa3;
  }
  .pc-mega-feature-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .pc-mega-feature-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
  .pc-mega-feature-text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }
  .pc-mega-feature-body .pc-mega-btn {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .pc-mega-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22rem;
    height: 44px;
    padding: 0 2rem;
    background: #1b3a6e;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    max-width: 300px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .pc-mega-btn:hover {
    background: #254a86;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .pc-nav-list {
    gap: 0 1.6rem;
  }
  .menu-ph--tall {
    flex-basis: 14rem;
    max-width: 14rem;
  }
  .pc-mega-inner--event {
    grid-template-columns: 280px 140px 1fr;
  }
  .menu-ph--feature {
    flex-basis: 160px;
    width: 160px;
  }
}
