@charset "UTF-8";

/* =========================================
   Reset & Base Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0a1b3a; /* 深いネイビー */
    --color-gold: #c3ad45;    /* ゴールド・黄土色 */
    --color-text: #333333;
    --color-bg-light: #f9f9f9;
    --color-white: #ffffff;
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-mincho: 'Noto Serif JP', serif;
}

body {
    font-family: var(--font-gothic);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Utility Classes
========================================= */
.section-padding {
    padding: 80px 20px;
}

.bg-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.bg-apply {
    background-color: #092049;
    color: var(--color-white);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-gold {
    color: var(--color-gold);
}

.section-title {
    font-family: var(--font-mincho);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.btn-gold {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 50px;
    border-radius: 30px;
    border: 3px solid var(--color-white); /* 太い白枠を追加 */
    text-align: center;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-gold:hover {
    opacity: 0.8;
}

/* =========================================
   Header
========================================= */
.header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
}

.header-nav a:hover {
    color: var(--color-gold);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Apply Banner (Top)
========================================= */
.apply-banner {
    text-align: center;
    padding: 40px 20px;
}

/* =========================================
   About Section
========================================= */
.about-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-point-title {
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.about-point-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
}

.about-point-list {
    list-style: none;
    font-size: 0.95rem;
}

.about-point-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 8px;
}

.about-point-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.about-image {
    flex: 0 0 400px;
}

/* =========================================
   Program Section
========================================= */
.program-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.program-item {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 50px;
}

.program-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.program-text {
    flex: 1;
}

.program-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.program-head h3 {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
}

.program-text p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.program-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.program-image {
    flex: 0 0 350px;
    position: relative;
}

.program-image-multiple {
    position: relative;
}

.program-image-multiple .program-sub-image {
    position: absolute;
    width: 55%;
    bottom: -15px;
    left: -20px;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* サブ画像左横のキャプション指定 */
.program-sub-caption {
    position: absolute;
    bottom: -5px;          /* 下端の位置調整 */
    left: -220px;         /* サブ画像(-20px)のさらに左側に配置 */
    font-size: 0.85rem;    /* 文字サイズ */
    line-height: 1.5;     /* 行間 */
    text-align: right;     /* 右揃えにしてサブ画像に寄り添わせる */
    color: var(--color-gold); /* 目立たせるゴールドカラー（白にする場合は var(--color-white) ） */
    font-weight: 500;
    white-space: nowrap;   /* 勝手な改行を防止 */
}

/* =========================================
   Details Section
========================================= */
.details-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.details-table {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e0e0e0;
}

.details-table dt,
.details-table dd {
    padding: 20px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.details-table dt {
    width: 25%;
    font-weight: bold;
    color: var(--color-primary);
}

.details-table dd {
    width: 75%;
    line-height: 1.6;
}

.indent-space {
    display: inline-block;
    padding-left: 6.5em; /* 学科名に揃えるためのインデント */
}
/* =========================================
   Message Section
========================================= */
.message-box {
    background-color: var(--color-white);
    color: var(--color-text);
    max-width: 900px; /* 画像拡大に合わせてボックスの最大幅を800pxから900pxに調整 */
    margin: 0 auto;
    padding: 60px 50px;
    border-radius: 30px;
}

.message-content {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 画像と文章の上端を揃える（中央揃えの場合は center） */
    gap: 50px;
}

.message-text-area {
    flex: 1;
}

.message-name {
    font-family: var(--font-mincho);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.message-role {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 25px;
}

.message-body {
    font-size: 0.95rem;
    line-height: 1.8;
}

.message-photo {
    flex: 0 0 280px; /* 横幅を220pxから280pxへ拡大 */
}

.message-photo img {
    width: 100%;
    aspect-ratio: 3 / 4; /* 縦長のアスペクト比（3:4）を指定 */
    object-fit: cover;   /* 縦長枠に合わせて画像を収め、歪みを防止 */
    border-radius: 8px;  /* 必要に応じて少し角丸をつけると綺麗に見えます */
}
/* =========================================
   FAQ Section
========================================= */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-q, .faq-a {
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-q {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.faq-q span {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
    font-family: 'Georgia', serif;
}

.faq-a {
    color: #555;
}

.faq-a span {
    position: absolute;
    left: 0;
    top: 0;
    color: #999;
    font-family: 'Georgia', serif;
}

.faq-footer-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #777;
}

/* =========================================
   Apply Section
========================================= */
.apply {
    text-align: center;
}

.apply-image-wrap {
    margin-bottom: 30px;
}

.apply-image-wrap img {
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.apply-catch {
    font-family: var(--font-mincho);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.apply-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-top: 1px solid #ddd;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info-area {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* =========================================
   Responsive (スマホ用)
========================================= */
@media screen and (max-width: 768px) {
    .header-nav {
        display: none; /* スマホ時はハンバーガーメニュー等への変更を想定し一旦非表示 */
    }
    
    .about-inner,
    .program-item,
    .message-content,
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-point-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-point-list {
        text-align: left;
        display: inline-block;
    }

    .program-item {
        text-align: left;
    }

    .program-image {
        flex: auto;
        width: 100%;
    }

    .program-image-multiple .program-sub-image {
        position: static;
        margin-top: 10px;
        border: none;
    }

    .details-table dt,
    .details-table dd {
        width: 100%;
        padding: 10px;
    }
    
    .indent-space {
        padding-left: 0;
        display: block;
    }

CSS
/* =========================================
   対象学科リストの綺麗揃え（Gridスタイル）
========================================= */
.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-list li {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.target-list li:last-child {
    margin-bottom: 0;
}

/* 学科名の幅を固定化せずにGridで整列 */
.dept-name {
    font-weight: bold;
    min-width: 7em; /* 「言語聴覚学科」がぴったり収まる幅 */
}

/* 言語聴覚学科内の 1年制 / 2年制 の揃え */
.has-sub {
    display: flex;
    align-items: flex-start;
}

.sub-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-list > div {
    display: flex;
}

.sub-name {
    min-width: 4.5em; /* 「1年制」「2年制」の開始位置・幅を統一 */
}

/* スマホ表示時の崩れ防止 */
@media screen and (max-width: 768px) {
    .target-list li,
    .has-sub,
    .sub-list > div {
        flex-direction: column;
    }
    
    .dept-name,
    .sub-name {
        min-width: auto;
    }
}

    .message-box {
        padding: 40px 20px;
    }

    .footer-info-area {
        text-align: center;
        margin-top: 15px;
    }
	
	.program-sub-caption {
        position: static;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 5px;
    }
}