/* ==========================================================================
   共通・ベース設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #001a43;
    background-color: #fff;
    overflow-x: hidden;
}

.l-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通パーツ：見出し */
.p-section__header {
    margin-bottom: 50px;
    text-align: center;
}

.c-section-number {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.c-heading {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.c-lead {
    font-size: 15px;
    margin-top: 15px;
}

/* 共通パーツ：白文字用 */
.u-color-white { color: #fff !important; }

/* 共通パーツ：ボタン */
.c-button-dark {
    display: inline-flex;
    align-items: center;
    background-color: #001a43;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.c-button-dark:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.c-button-dark .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.c-button-dark:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   04 イベント情報：グレー背景・白フレーム
   ========================================================================== */
.p-top-section-events {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.p-event-grid--large {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 850px;
    margin: 0 auto 40px;
}

.p-event-card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ==========================================================================
   05 インタビュー：食い込み装飾・75%サイズ
   ========================================================================== */
.p-top-section-interview {
    padding-bottom: 80px;
}

.l-container--interview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.p-interview__gallery {
    flex: 0 0 420px;
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.p-interview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.p-interview__item {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.p-interview__deco-text {
    position: absolute;
    top: -35px;
    left: -25px;
    font-style: italic;
    font-size: 36px;
    color: #d4c08e;
    opacity: 0.7;
    z-index: -1;
}

/* ==========================================================================
   06 就職・キャリア：太めシルバーフレーム
   ========================================================================== */
.p-top-section-career {
    padding: 80px 0;
    background-color: #fff;
}

.p-career-card {
    background: #fff;
    border: 6px solid #dcdcdc; /* 太めシルバー */
    border-radius: 24px;
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
}

.p-career-data {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 50px;
    margin: 30px 0;
}

.p-career-data__item .number {
    font-size: 48px;
    font-weight: bold;
    color: #d74026;
    line-height: 1;
}

/* ==========================================================================
   07 入学相談：全幅背景（左右5pxマージン）・角丸
   ========================================================================== */
.p-top-section-consult {
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
}

.p-consult-container {
    width: calc(100% - 10px); /* 左右に5pxずつの隙間 */
    margin: 0 auto;           /* 均等配置 */
    padding: 80px 20px;
    background-image: url('https://takizawa.ac.jp/index/wp-content/uploads/2026/02/background_career.png');
    background-size: cover;
    background-position: center;
    border-radius: 30px;      /* 背景の角を丸める */
    text-align: center;
}

.p-consult-card {
    background: #fff;
    max-width: 820px;
    margin: 40px auto 0;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-align: left;
}

.p-consult-card__img {
    flex: 0 0 45%;
}

.p-consult-card__img img {
    width: 100%; height: 100%; object-fit: cover;
}

.p-consult-card__content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-consult-card__content .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.p-consult-card__content .text {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 960px) {
    /* 05 インタビュー */
    .l-container--interview { flex-direction: column-reverse; }
    .p-interview__gallery { width: 75%; margin-top: 40px; }

    /* 06 キャリア */
    .p-career-data { flex-direction: column; gap: 30px; align-items: center; }
    .p-career-card { width: 92%; border-width: 4px; }

    /* 07 入学相談 */
    .p-consult-card { flex-direction: column; width: 92%; }
    .p-consult-card__img { height: 200px; }
    .p-consult-card__content { padding: 30px 20px; text-align: center; }
}