@charset "utf-8";
/* 記号の意味
-----------------------
▼ : 画面サイズの切り替わり
▶ : 大きなセクション
▶▶ : 小さなセクション
-----------------------
*/

/*---------------------------------------------
 ▼ デスクトップスタイル : =980pxより大きい画面幅
---------------------------------------------*/

/* -------------------------
▶ 全体の基本設定
------------------------- */
.main {
    margin-top: 82px;
}

.breadcrumb {
    width: 100%;
    padding: 12px 32px;
    background-color: var(--white);
}

.end {
    background-color: var(--background-gray);
}

.global-footer {
    background-color: var(--white);
}

/* -------------------------
▶ ヘッダー
------------------------- */
.archive_header {
    padding: 24px;
    background-color: var(--background-gray);
    width: 100%;
    height: 160px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.archive_title {
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
}

.archive_subtitle {
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
}

/* -------------------------
▶ FAQリスト
------------------------- */
.faq-list {
    margin: 40px auto;
    width: 100%;
    max-width: 1040px;
    padding: 0 5%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.faq-item {
    width: 100%;
    height: auto;
    padding: 24px 32px;
    background-color: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
}

.faq-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.faq-item a:hover {
    opacity: 0.6;
}
.faq-item>a {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.faq-item>a::before {
    content: 'Q';
    color: var(--white);
    background-color: var(--primary-blue);
    width: fit-content;
    height: fit-content;
    padding: 8px 10px;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.faq-date {
    color: #333333;
    font-size: 1.4rem;
}
.faq-title {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.5;
}

/* -------------------------
▶ ページネーション
------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.page-numbers {
    width: clamp(36px, 5vw, 44px);
    height: clamp(32px, 5vw, 44px);
    color: var(--black);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.page-numbers:not(.dots):not(.current):hover {
    background-color: #e7e7e7;
}

.page-numbers.current {
    color: var(--white);
    background-color: var(--primary-blue);
}

.page-numbers.dots {
    font-size: 1rem;
    margin: 0 4px;
    width: auto;
    height: auto;
}
.page-numbers.prev,
.page-numbers.next {
    margin: 0 10px;
}


/* -------------------------
▶ 検索フォーム
------------------------- */
.search-form {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.search-form label {
    margin: 0;
}

.search-form .search-field {
    width: 300px;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    background-color: var(--white);
    border: 1px solid var(--primary-blue);
    font-family: var(--text-font);
    font-weight: normal;
    font-size: 1.5rem;
    outline: none;
}

.search-form .search-submit {
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: var(--white);
    font-family: var(--text-font);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form .search-submit:hover {
    background-color: var(--blue-1);
}


/* -------------------------
▶ ソートボタン
------------------------- */
.sort-links {
    display: flex; 
    justify-content: center;
    gap: 20px; 
    margin-top: 30px;
}

.sort-button {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    background-color: var(--white); 
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-family: var(--text-font);
    text-decoration: none; 
    cursor: pointer;
    transition: all 0.3s ease; 
}

.sort-button:hover {
    background-color: var(--primary-blue);
    color: var(--white); 
}

.sort-button.active {
    background-color: var(--primary-blue); 
    color: var(--white); 
    pointer-events: none; 
}


@media screen and (max-width: 980px) {
.main {
    margin-top: 60px;
}
.archive_title {
    font-size: 2rem;
}

/* ここから　検索フォーム */
.search-form {
    margin: 30px 0 20px;
}
.search-form .search-field {
    width: 70vw;
    max-width: 240px;
}

/* ソートボタンの共通スタイル */
.sort-button {
    padding: 8px 12px;
    font-size: 1.4rem;
}

}

