/*
Theme Name: AgeShift Partners
Theme URI:
Author:
Author URI:
Description: AgeShift Partners株式会社のコーポレートサイトテーマ
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ageshift
*/

/* ============================================
   Reset & Base
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: #f4efe6;
    color: #1a1a1a;
    font-family: "Noto Sans JP", "Poppins", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem);
}

/* 外周フレーム */
.hero::before {
    content: "";
    position: absolute;
    inset: clamp(16px, 3vmin, 40px);
    border: 1px solid rgba(26, 26, 26, 0.1);
    pointer-events: none;
}

.hero__inner {
    text-align: center;
    animation: fadeUp 1.6s ease forwards;
    opacity: 0;
}

.hero__lead {
    font-size: clamp(0.875rem, 2.2vw, 1.125rem);
    font-weight: 300;
    letter-spacing: 0.06em;
    line-height: 2;
    color: #444;
    margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}

.hero__company {
    font-family: "DM Serif Display", "Didot", "Bodoni 72", serif;
    font-weight: 400;
    font-size: clamp(2.25rem, 8vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin: 0;
}

.hero__divider {
    display: block;
    width: clamp(48px, 8vw, 96px);
    height: 1px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    background: rgba(26, 26, 26, 0.2);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
    max-width: 960px;
    margin: 0 auto;
}

.about__heading {
    font-family: "DM Serif Display", "Didot", serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 5vw, 3rem);
    letter-spacing: 0.04em;
    margin: 0 0 clamp(2.5rem, 6vw, 4rem);
    color: #1a1a1a;
}

.about__heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(26, 26, 26, 0.25);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.about__list {
    margin: 0;
    padding: 0;
}

.about__item {
    display: grid;
    grid-template-columns: clamp(80px, 18vw, 140px) 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1.25rem, 3vw, 1.75rem) 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.about__item:first-child {
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.about__label {
    font-weight: 400;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    letter-spacing: 0.04em;
    color: #666;
    padding-top: 0.15em;
}

.about__value {
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #1a1a1a;
}

.about__business {
    margin-bottom: 1.25rem;
}

.about__business:last-child {
    margin-bottom: 0;
}

.about__business-name {
    margin: 0;
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #1a1a1a;
}

.about__business-desc {
    margin: 0.25em 0 0;
    font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
    color: #555;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 6vw, 6rem);
    text-align: center;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.footer__nav {
    margin-bottom: 1rem;
}

.footer__link {
    font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
    color: #888;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #1a1a1a;
}

.footer__copy {
    margin: 0;
    font-size: clamp(0.6875rem, 1.5vw, 0.75rem);
    letter-spacing: 0.06em;
    color: #999;
}

/* ============================================
   Page Header (sub pages)
   ============================================ */

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
    z-index: 10;
}

.page-header__back {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: #888;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.page-header__back:hover {
    color: #1a1a1a;
}

/* ============================================
   Legal Page (特定商取引法)
   ============================================ */

.legal {
    padding: clamp(6rem, 12vw, 9rem) clamp(1.5rem, 6vw, 6rem) clamp(4rem, 8vw, 6rem);
    max-width: 960px;
    margin: 0 auto;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

.legal__title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin: 0;
}

.legal__divider {
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(26, 26, 26, 0.25);
    margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.legal__list {
    margin: 0;
    padding: 0;
}

.legal__item {
    display: grid;
    grid-template-columns: clamp(100px, 22vw, 200px) 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1.25rem, 3vw, 1.75rem) 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.legal__item:first-child {
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.legal__label {
    font-weight: 400;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    letter-spacing: 0.04em;
    color: #666;
    padding-top: 0.15em;
}

.legal__value {
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #1a1a1a;
    line-height: 1.8;
}

.legal__link {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    transition: border-color 0.3s ease;
}

.legal__link:hover {
    border-color: #1a1a1a;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 600px) {
    .hero::before {
        inset: 14px;
    }

    .about__item {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }

    .about__label {
        padding-top: 0;
    }

    .legal__item {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }

    .legal__label {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__inner {
        animation: none;
        opacity: 1;
    }
}
