/* =============================================
   index.html 専用スタイル
   ============================================= */

/* ヒーロー */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('../images/kokkai.jpg') center 40% / cover no-repeat;
    opacity: 0.75;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15,30,53,0.85) 35%, rgba(15,30,53,0.45) 100%),
        linear-gradient(to bottom, rgba(15,30,53,0.2) 0%, rgba(15,30,53,0.55) 100%);
}
.hero-lines {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 45%;
    display: flex;
    gap: 1px;
    opacity: 0.06;
    pointer-events: none;
}
.hero-lines span {
    flex: 1;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation: lineFlicker 4s infinite;
}
.hero-lines span:nth-child(2) { animation-delay: 0.6s; }
.hero-lines span:nth-child(3) { animation-delay: 1.2s; }
.hero-lines span:nth-child(4) { animation-delay: 1.8s; }
.hero-lines span:nth-child(5) { animation-delay: 2.4s; }
@keyframes lineFlicker {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 60px 80px;
    max-width: 820px;
    animation: fadeUp 1.1s ease both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold2);
}
.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}
.hero-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    max-width: 560px;
    margin-bottom: 52px;
    font-weight: 400;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    transition: all 0.3s;
}
.hero-cta:hover { background: var(--gold); color: var(--navy); }
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.scroll-ind {
    position: absolute;
    bottom: 40px; left: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.45);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
}
.scroll-ind::before {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(184,150,90,0.5));
    animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* サービスセクション */
.services-section {
    padding: 100px 60px;
    background: var(--white);
    border-top: 1px solid rgba(184,150,90,0.2);
}
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 0;
    background: rgba(184,150,90,0.15);
}
.service-card {
    background: var(--white);
    padding: 48px 40px;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 40px; right: 40px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.service-card:hover { background: #fdf9f4; }
.service-card:hover::before { transform: scaleX(1); }
.card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: rgba(184,150,90,0.25);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
}
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}
.card-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 2;
    font-weight: 400;
}
.services-link {
    text-align: right;
    margin-top: 36px;
}
.services-link a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.2s;
}
.services-link a:hover { color: var(--gold); }

/* Aboutバンド */
.about-band {
    padding: 100px 60px;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.about-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero_bg.jpg') center 60% / cover no-repeat;
    opacity: 0.12;
}
.about-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,30,53,0.97) 50%, rgba(15,30,53,0.75) 100%);
}
.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-text .section-title { color: var(--white); margin-bottom: 24px; }
.about-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    line-height: 2.1;
    font-weight: 400;
    margin-bottom: 16px;
}
.about-text a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-top: 20px;
    border-bottom: 1px solid rgba(184,150,90,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.about-text a:hover { border-color: var(--gold); }
.about-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(184,150,90,0.15);
}
.stat-item {
    background: rgba(255,255,255,0.04);
    padding: 36px 32px;
    border: 1px solid rgba(184,150,90,0.1);
}
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--gold2);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* 写真セクション */
.photo-section {
    background: var(--navy);
    padding: 0;
    line-height: 0;
}
.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr 1fr;
    gap: 3px;
}
.photo-item {
    position: relative;
    overflow: hidden;
}
.photo-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: brightness(0.75) saturate(0.85);
    transition: filter 0.5s, transform 0.5s;
}
.photo-item--main img { height: 360px; }
/* 国会議事堂（1枚目）：建物が映える上寄りに */
.photo-item:first-child img { object-position: center 30%; }
/* seminar1（3枚目）：人がいる右側を中心に */
.photo-item:nth-child(3) img { object-position: right center; }
.photo-item:hover img {
    filter: brightness(0.9) saturate(1);
    transform: scale(1.03);
}
.photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,30,53,0.85) 0%, transparent 100%);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    padding: 28px 20px 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* CTAセクション */
.cta-section {
    padding: 100px 60px;
    background: var(--light);
    text-align: center;
    border-top: 1px solid rgba(184,150,90,0.2);
}
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::before { display: none; }
.cta-section .section-title { text-align: center; }
.cta-section p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 40px;
    font-weight: 400;
}

@media (max-width: 900px) {
    .hero-content { padding: 120px 24px 80px; }
    .scroll-ind { left: 24px; }
    .services-section,
    .about-band,
    .cta-section { padding: 70px 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .photo-item img, .photo-item--main img { height: 200px; }
}
