@charset "UTF-8";

/* トップページ専用。新デザイン共通の部品（ヘッダー・フッター・ボタン・お問い合わせ帯など）は home-base.css */

html { scroll-behavior: smooth; }
.home-news-link:hover .home-arrow { transform: translateX(4px); }
.home-hero, .home-philosophy { position: relative; isolation: isolate; overflow: hidden; }
.home-section-image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero { min-height: clamp(490px, 48.5vw, 698px); display: flex; align-items: center; background: #f8f7f6; }
.home-hero > .home-section-image { will-change: transform; }
.home-hero-content { padding-block: 70px 76px; }
.home-hero-eyebrow { font-size: clamp(11px, 1.15vw, 16px); letter-spacing: .29em; }
.home-hero h1 { margin-top: 24px; font-weight: 700; font-size: clamp(54px, 6.2vw, 89px); line-height: 1.28; letter-spacing: 0; }
.home-hero-description { margin-top: 25px !important; font-size: clamp(15px, 1.53vw, 22px); line-height: 1.75; font-weight: 500; }
.home-hero-actions { display: flex; align-items: center; gap: clamp(25px, 3.2vw, 46px); margin-top: 40px; }
.home-hero-actions .home-button { min-width: clamp(213px, 21.3vw, 307px); }
.home-philosophy { min-height: clamp(365px, 36.2vw, 522px); display: flex; align-items: center; background: #faf9f8; }
.home-philosophy-content { padding-block: 58px; }
.home-philosophy h2 { margin-top: 18px; font-size: clamp(30px, 3.45vw, 50px); font-weight: 900; line-height: 1.4; letter-spacing: -.045em; }
.home-philosophy-lead { margin-top: 24px !important; font-size: clamp(17px, 1.8vw, 26px); font-weight: 700; }
.home-philosophy-description { margin-top: 17px !important; font-size: clamp(14px, 1.38vw, 20px); color: #454545; line-height: 1.85; }
.home-philosophy .home-text-link { margin-top: 38px; }
.home-news { padding-block: clamp(32px, 3.2vw, 46px) clamp(35px, 3.5vw, 50px); }
.home-news-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.home-news h2 { margin-top: 9px; font-size: clamp(30px, 3.5vw, 50px); font-weight: 900; line-height: 1.25; letter-spacing: -.045em; }
.home-news-heading .home-text-link { margin-bottom: 7px; }
.home-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.home-news-item { min-width: 0; }
/* 区切り線の左右に同じ余白を取り、2件の画像・文字幅をそろえる */
.home-news-item:not(:last-child) { padding-right: clamp(22px, 2.5vw, 36px); }
.home-news-item + .home-news-item { padding-left: clamp(22px, 2.5vw, 36px); border-left: 1px solid var(--home-rule); }
.home-news-link { display: grid; grid-template-columns: minmax(120px, 44%) minmax(0, 1fr); grid-template-areas: "image copy" "excerpt excerpt"; gap: clamp(14px, 1.4vw, 20px) clamp(18px, 2vw, 28px); align-content: start; height: 100%; }
.home-news-link > img { grid-area: image; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.home-news-copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; }
.home-news time { font-family: var(--home-latin); color: var(--home-muted); font-size: clamp(10px, .97vw, 14px); line-height: 1.4; letter-spacing: .06em; }
.home-news h3 { margin-top: 10px; font-size: clamp(13px, 1.32vw, 19px); line-height: 1.6; font-weight: 700; overflow-wrap: anywhere; }
.home-news-copy > .home-arrow { margin-top: auto; padding-top: 10px; color: var(--home-red); }
.home-news-excerpt { grid-area: excerpt; font-size: clamp(12px, 1.04vw, 15px); line-height: 1.85; color: var(--home-muted); }

@media (max-width: 1100px) and (min-width: 901px) {
    .home-hero-content { padding-block: 55px; }
    .home-hero h1 { margin-top: 20px; }
    .home-hero-actions { margin-top: 30px; }
    .home-philosophy-content { padding-block: 42px; }
    .home-philosophy .home-text-link { margin-top: 29px; }
}

@media (max-width: 900px) {
    .home-hero { display: flex; min-height: 0; flex-direction: column; background: #fff; }
    .home-hero-content { padding-block: 42px 0; }
    .home-hero-eyebrow { font-size: 10px; letter-spacing: .22em; }
    .home-hero h1 { margin-top: 22px; font-size: clamp(42px, 12vw, 72px); line-height: 1.3; }
    .home-hero-description { margin-top: 24px !important; max-width: 440px; font-size: 14px; line-height: 1.9; }
    .home-hero-actions { margin-top: 27px; gap: 22px; flex-wrap: wrap; }
    .home-hero-actions .home-button { min-width: 212px; }
    .home-hero > .home-section-image { position: relative; order: 2; z-index: 0; width: 100%; height: clamp(220px, 64vw, 410px); margin-top: 22px; object-fit: cover; object-position: 77% center; }
    .home-philosophy { display: flex; flex-direction: column; min-height: 0; background: #faf9f8; }
    .home-philosophy-content { padding-block: 45px 0; }
    .home-philosophy h2 { font-size: clamp(25px, 6.6vw, 39px); line-height: 1.45; margin-top: 16px; }
    .home-philosophy-lead { margin-top: 21px !important; font-size: 16px; }
    .home-philosophy-description { font-size: 14px; line-height: 1.95; }
    .home-philosophy .home-text-link { margin-top: 25px; }
    .home-philosophy > .home-section-image { position: relative; order: 2; z-index: 0; height: 225px; margin-top: 20px; object-fit: cover; object-position: 80% center; }
    .home-news { padding-block: 42px; }
    .home-news-heading { align-items: flex-end; gap: 12px; }
    .home-news h2 { font-size: 28px; margin-top: 12px; }
    .home-news-heading .home-text-link { margin: 0 0 3px; gap: 8px; white-space: nowrap; font-size: 12px; }
    .home-news-heading .home-arrow { width: 18px; height: 18px; }
    .home-news-grid { grid-template-columns: 1fr; margin-top: 27px; gap: 25px; }
    .home-news-item:not(:last-child) { padding-right: 0; }
    .home-news-item + .home-news-item { border-left: 0; border-top: 1px solid #ddd; padding: 25px 0 0; }
    .home-news-link { grid-template-columns: 38% minmax(0, 1fr); gap: 14px 17px; }
    .home-news time { font-size: 11px; }
    .home-news h3 { font-size: 14px; line-height: 1.7; margin-top: 8px; }
    .home-news-copy > .home-arrow { margin-top: 12px; }
    .home-news-excerpt { font-size: 13px; line-height: 1.85; }
}

@media (max-width: 380px) {
    .home-news-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .home-news-heading .home-text-link { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
