/* style.css - ほぐしや本舗 採用LP */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: #333;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

.section-lead {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.logo {
    width: 160px;
}

.global-nav ul {
    display: flex;
    align-items: center;
}

.global-nav li {
    margin-left: 25px;
}

.global-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

.entry-btn a {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
}

.entry-btn a:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.menu-trigger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-trigger span:nth-child(1) {
    top: 0;
}

.menu-trigger span:nth-child(2) {
    top: 9px;
}

.menu-trigger span:nth-child(3) {
    bottom: 0;
}

.menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =============================================== */
/* ヒーローセクション スタイル (新デザイン) */
/* =============================================== */

.hero {
    height: 100vh; /* 画面いっぱいの高さ */
    min-height: 650px;
    position: relative; /* 子要素を絶対配置するための基準点 */
    overflow: hidden; /* はみ出した要素を隠す */
    background-color: #333; /* 画像読み込み中の背景色 */
}

/* --- スライドショー関連 --- */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 一番奥に配置 */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 最初は透明 */
	transition: opacity 1.5s ease-in-out; /* 1.5秒かけてふわっと切り替わる */
}

.hero-slide.active {
    opacity: 1; /* .active が付いたら表示 */
    /* ↓↓↓ 変更点2: アニメーションはズームだけに専念させる！ ↓↓↓ */
    animation: kenburns-zoom 8s linear forwards;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナいっぱいに表示 */
}

/* ズームするだけのアニメーション */
@keyframes kenburns-zoom {
    from {
        transform: scale(1.0);
    }
    to {
        transform: scale(1.1); /* ゆっくり拡大 */
    }
}

/* --- オーバーレイ・テキスト・ボタン --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 右からグラデーションをかけて、テキストを見やすくする */
    background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 80%);
    z-index: 2; /* スライドの上、テキストの下 */
}

.hero-text-container {
    position: absolute;
    top: 50%;
    right: 8%; /* 右からの位置 */
    transform: translateY(-50%);
    z-index: 3;
    text-align: right;
}

.hero-catchphrase {
    font-family: 'Noto Serif JP', 'serif'; /* 明朝体フォント */
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 画面幅に応じてサイズが変わる */
    color: white;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 文字に影を付けて読みやすく */
}

.hero-button-container {
    position: absolute;
    bottom: 8%; /* 下からの位置 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.btn-apply-now {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    background-color: var(--primary-color, #4CAF50); /* 既存のテーマカラーを参考に */
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-apply-now:hover {
    background-color: var(--primary-color-dark, #388E3C);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
    .hero-text-container {
        width: 100%;
        text-align: center;
        right: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .hero-catchphrase {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .hero-overlay {
        /* スマホでは全体にオーバーレイをかける */
        background: rgba(0,0,0,0.4);
    }
}

/* =============================================== */
/* ヒーローセクション 縦書きテキスト スタイル */
/* =============================================== */

.hero-side-text {
    position: absolute; /* heroセクションを基準に配置 */
    left: 38px; /* 画面の左端からの距離 */
    top: 73%; /* 垂直方向の中央に配置 */
    transform: translateY(-50%);
    z-index: 3; /* キャッチコピーと同じ階層に表示 */
    writing-mode: vertical-rl; /* 中身がもしテキストでも縦書きになるおまじない */
    pointer-events: none; /* 下のスライドショーの操作を邪魔しないように */
}

.hero-side-text img {
    display: block;
    height: 230px; /* 画像の高さを指定（ここで大きさを調整） */
    width: auto;   /* 横幅は画像の縦横比を保つために自動 */
    opacity: 0.7;  /* 画像の透明度 (0.0〜1.0で調整) */
    
    /* ふわっと表示されるアニメーション（任意） */
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0; /* アニメーションの初期状態 */
}

/* スマホでは非表示にする場合（推奨） */
@media screen and (max-width: 768px) {
    .hero-side-text {
        display: none;
    }
}


/* ほぐしや本舗とは */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 60px;
}

.about-image {
    width: 45%;
    padding-right: 30px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    width: 55%;
    padding-left: 30px;
}

.feature-item {
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.feature-item i {
    margin-right: 10px;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

/* 働く魅力 */
.benefits {
    background-color: #F1F8E9;
    position: relative;
}

.benefits-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    width: calc(33.33% - 30px);
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #4CAF50;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-item p {
    color: #666;
    font-size: 15px;
}

/* 働く人の声 */
.voice {
    background-color: #fff;
}

.voice-items {
    max-width: 900px;
    margin: 60px auto 0;
}

.voice-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.voice-image {
    width: 30%;
    position: relative;
    overflow: hidden;
}

.voice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-content {
    width: 70%;
    padding: 30px;
}

.voice-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.voice-header h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.voice-meta {
    color: #4CAF50;
    font-size: 14px;
}

.voice-text p {
    color: #666;
    line-height: 1.8;
}

/* 店舗情報 */
.shops {
    background-color: #F1F8E9;
}

.shop-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.shop-item {
    width: 100%;
    max-width: 350px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.shop-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.shop-image {
    height: 200px;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.shop-item:hover .shop-image img {
    transform: scale(1.05);
}

.shop-content {
    padding: 25px;
}

.shop-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.shop-address {
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.shop-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.shop-info i {
    color: #4CAF50;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.shop-note {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.note-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.note-item i {
    color: #4CAF50;
    font-size: 20px;
    margin-right: 10px;
}

/* 募集要項 */
.requirements {
    background-color: #fff;
}

.req-table-wrapper {
    max-width: 900px;
    margin: 60px auto 0;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th {
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 15px;
    width: 25%;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.req-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    background-color: #E8F5E9;
    color: #4CAF50;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 14px;
    margin-right: 5px;
    font-weight: 500;
}

.req-list {
    margin-bottom: 10px;
}

.req-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.req-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4CAF50;
    position: absolute;
    left: 0;
    top: 0;
}

.req-note {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.salary-type {
    margin-bottom: 15px;
}

.salary-type h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* よくある質問 */
.faq {
    background-color: #F1F8E9;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    display: flex;
}

.faq-answer .faq-icon {
    background-color: #FF9800;
    margin-top: 5px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    flex-grow: 1;
    padding-left: 15px;
    color: #666;
    line-height: 1.8;
}

/* 応募セクション */
.entry {
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
}

.entry .section-title:after {
    background-color: #fff;
}

.entry-lead {
    font-size: 18px;
    margin-bottom: 40px;
}

.entry-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
}

.btn-line {
    background-color: #06C755;
    color: #fff;
    padding: 20px 40px;
    min-width: 300px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(6, 199, 85, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-line:hover {
    background-color: #05A847;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 199, 85, 0.4);
}

.btn-mail {
    background-color: #fff;
    color: #4CAF50;
    padding: 20px 40px;
    min-width: 300px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-mail:hover {
    background-color: #F1F8E9;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
}

.entry-flow {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.flow-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
}

.flow-list {
    position: relative;
}

.flow-list:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: #fff;
}

.flow-list li {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.flow-num {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.flow-content {
    flex-grow: 1;
}

.flow-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.flow-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding-top: 60px;
    font-size: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* カラム間の隙間 */
    padding-bottom: 50px;
}

/* 各カラムの基本設定 */
.footer-logo,
.footer-links,
.footer-social, /* 追加 */
.footer-info {
    flex: 1; /* スペースを分け合う */
    min-width: 180px; /* カラムの最小幅 */
}

/* カラムごとの見出しスタイル */
.footer-links h4,
.footer-social h4,
.footer-info h4 {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
    font-weight: 600;
}

/* ロゴエリア */
.footer-logo {
    max-width: 160px;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 160px; /* ロゴの幅を固定 */
}
.footer-logo img {
    max-width: 100%;
    height: auto;
}

/* リンクエリア */
.footer-links {
    flex-grow: 1.5; /* 少し広めに */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* 列数を自動調整 */
    gap: 15px;
}
.footer-links a {
    font-size: 14px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #FF5722;
    text-decoration: underline;
}

/* SNSエリア */
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* 縦に並べる */
    gap: 15px; /* 縦の間隔 */
}

.footer-social a {
    display: inline-flex; /* アイコンとテキストを横並び */
    align-items: center;
    font-size: 14px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a .fab { /* Font Awesome アイコン */
    font-size: 1.4em; /* アイコンサイズ */
    margin-right: 12px;
    width: 25px; /* アイコンの幅を確保 */
    text-align: center;
    color: #fff; /* アイコン自体の色 */
}

.footer-social a:hover {
    color: #FF5722;
}
/* ホバー時にアイコンの色を変える場合 (任意) */
.footer-social a:hover .fa-instagram { color: #e1306c; }
.footer-social a:hover .fa-youtube { color: #FF0000; }


/* 会社情報エリア */
.footer-info {
    text-align: left; /* 左寄せに変更 (4カラムなら右寄せよりバランスが良いかも) */
}
.footer-info p {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #ddd;
    line-height: 1.6;
}
.footer-info p:last-child { margin-bottom: 0; }

/* コピーライト */
.copyright { /* ...変更なし... */ }

/* アニメーション */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* フェードイン用キーフレームアニメーション */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .main-copy {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .benefit-item {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .global-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .global-nav.active {
        display: block;
    }
    
    .global-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .global-nav li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-trigger {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 60px;
    }
    
    .hero-content {
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        border-radius: 0;
    }
    
    .main-copy {
        font-size: 28px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
        padding: 0;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .benefit-item {
        width: 100%;
    }
    
    .voice-image, .voice-content {
        width: 100%;
    }
    
    .voice-image {
        height: 300px;
    }
    
    .req-table th {
        width: 30%;
    }
    
    .entry-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-line, .btn-mail {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .main-copy {
        font-size: 24px;
    }
    
    .sub-text {
        font-size: 16px;
    }
    
    .req-table {
        display: block;
    }
    
    .req-table tbody, .req-table tr {
        display: block;
        width: 100%;
    }
    
    .req-table tr {
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .req-table th, .req-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    
    .req-table th {
        text-align: left;
        padding: 10px 15px;
    }
    
    .flow-list:before {
        left: 19px;
    }
}


/* =============================================== */
/* FAQページ専用スタイル */
/* =============================================== */

.faq-page {
    padding-top: 70px; /* 固定ヘッダー分 */
}

.faq-page .section-title {
    margin-top: 60px;
}

.breadcrumb {
    background-color: #f9f9f9;
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #4CAF50;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

.faq-index {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0 60px;
}

.faq-index-button {
    padding: 10px 25px;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    border-radius: 50px;
    font-weight: 500;
}
.faq-index-button:hover {
    background-color: #4CAF50;
    color: #fff;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    font-size: 24px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    margin-bottom: 30px;
}

.faq-page-entry-link {
    text-align: center;
    margin: 60px 0 40px;
}

/* 既存のFAQスタイルがメインページ専用すぎる場合があるため、
   汎用的なスタイルに微調整 */
.faq-page .faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-page .faq-item {
    background-color: #fff;
}
.faq-page .faq-question h3 {
    font-size: 18px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .faq-category-title {
        font-size: 20px;
    }
}