/* =========================================================
   index.css — トップページ専用(ヒーロー/価値訴求/講師CTA/フッター上CTA)
   ========================================================= */
.hero {
    height: 520px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(255,250,244,.94) 0%,rgba(255,250,244,.68) 38%,rgba(255,250,244,.08) 70%);
}

.hero-inner {
    position: relative;
    height: 100%;
    padding-top: 55px;
}

.hero-copy h1 {
    font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: 54px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .08em;
    margin: 50px 0 18px;
}

.hero-copy p {
    font-size: 17px;
    font-weight: 600;
}

.search-box {
    position: absolute;
    left: 0;
    bottom: 88px;
    width: 760px;
}

.keywords {
    position: absolute;
    bottom: 38px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
}

.keywords span {
    font-weight: 700;
    margin-right: 4px;
}

.keywords a {
    background: #fff;
    border-radius: 15px;
    padding: 5px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.feature-search {
    background: #fff;
    margin-top: -18px;
    position: relative;
    z-index: 4;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(7,1fr);
    padding: 18px 12px 16px;
}

.feature-search a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid var(--line);
    min-height: 92px;
    text-align: center;
    transition: transform .2s ease,opacity .2s ease;
}

.feature-search a:hover {
    transform: translateY(-2px);
    opacity: .86;
}

.feature-search a:last-child {
    border: 0;
}

.feature-search img {
    height: 55px;
    object-fit: contain;
    display: block;
}

.feature-search span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 35px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.school-section {
    padding: 48px 0 60px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-row h2 {
    font-size: 28px;
}

.section-title-row h2 span {
    color: #f0907f;
}

.section-title-row>a {
    font-size: 13px;
    color: #777;
}

.value-section {
    background: #fff;
    padding: 56px 0 64px;
    text-align: center;
    border-top: 1px solid #f3eee9;
}

.value-section h2 {
    font-family: "Yu Mincho",serif;
    font-size: 28px;
    font-weight: 500;
}

.lead {
    font-size: 13px;
    color: #777;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 32px;
}

.value-grid article {
    background: linear-gradient(135deg,#fffafa,#fdf6f3);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    display: flex;
    gap: 18px;
}

.value-grid i {
    font-style: normal;
    font-size: 38px;
    color: #ee687e;
}

.value-grid h3 {
    font-size: 17px;
    margin: 3px 0;
}

.value-grid p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.teacher-cta {
    padding: 45px 0;
    background: #fff7f3;
}

.teacher-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.teacher-cta span {
    color: var(--pink);
    font-size: 13px;
    font-weight: 700;
}

.teacher-cta h2 {
    margin: 4px 0;
    font-size: 27px;
}

.teacher-cta p {
    margin: 0;
    color: #777;
}

.teacher-cta a, .bottom-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--pink),#df4973);
    color: #fff;
    border-radius: 28px;
    padding: 15px 34px;
    font-weight: 700;
    white-space: nowrap;
}

.bottom-cta {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
}

.bottom-cta-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.bottom-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(255,250,246,.96) 0%,rgba(255,250,246,.82) 32%,rgba(255,250,246,.12) 66%,rgba(255,250,246,.02) 100%);
}

.bottom-cta-content {
    position: relative;
    z-index: 2;
}

.bottom-cta p {
    font-size: 14px;
    font-weight: 700;
    max-width: 520px;
    margin: 0 0 18px;
}

.bottom-cta .bottom-cta-kicker {
    font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: 31px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.bottom-cta a {
    min-width: 300px;
}
