/*
Theme Name: Suketto App Theme
Description: Sukettoã¢ããªç¨ã®WordPressãã¼ã
Version: 1.0.0
Author: KENSUKE
Text Domain: suketto-app
*/

:root {
    /* Colors (Friendly Expert Design System) */
    --bg-color: #f9f9f9;
    --primary-color: #1a1a1a;
    /* Expert Black */
    --primary-pure: #000000;
    --secondary-color: #b6152e;
    /* Suketto Red - Premium Accent */
    --secondary-hover: #d93343;
    /* Bright Suketto Red */

    --surface-lowest: #ffffff;
    /* Card/Container bg */
    --surface-low: #f8f9fa;
    /* Section bg */
    --surface-high: #f1f3f5;
    /* Hover states / Inputs */

    --text-color: #1b1b1b;
    --text-muted: #6c6c6c;
    --outline-faint: rgba(0, 0, 0, 0.06);

    /* Font */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing & Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-ambient: 0 12px 36px rgba(0, 0, 0, 0.05);
    --shadow-ambient-hover: 0 20px 48px rgba(0, 0, 0, 0.1);

    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* å¨ä½ã®ã¹ã¿ã¤ã« */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ãããã¼ */
.header {
    padding: 20px 40px;
    border-bottom: 1px solid #e0e0e0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.provider-text {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
}

/* メインコンテンツ & 共通ラッパー */
.wrapper {
    flex: 1;
    width: 100%;
    padding: 56px 24px 80px;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

/* FAQ ãã¼ã¸ç¨ã¹ã¿ã¤ã« */
.faq-page .faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq-page .faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-page h2 {
    text-align: center;
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 40px;
}

.faq-category-title {
    margin-bottom: 20px;
}

.faq-container {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-items {
    margin-bottom: 40px;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 16px;
    flex-shrink: 0;
}

.q-icon {
    background-color: #000000;
    color: #ffffff;
}

.a-icon {
    background-color: #dc3545;
    color: #ffffff;
}

.faq-text {
    flex: 1;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-left: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: flex;
    align-items: flex-start;
}

.faq-answer .faq-icon {
    margin-top: 2px;
}

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

/* ãã©ã¤ãã·ã¼ããªã·ã¼ãã¼ã¸ç¨ã¹ã¿ã¤ã« */
.privacy-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.privacy-content h3 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #3498db;
}

.privacy-content h4 {
    color: #34495e;
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    padding-left: 16px;
    border-left: 4px solid #3498db;
}

.privacy-content h5 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.privacy-content p {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 16px;
    text-align: justify;
}

.privacy-content ul {
    margin: 16px 0 24px 24px;
}

.privacy-content li {
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.privacy-content .t-right {
    text-align: right;
    font-weight: 600;
    color: #34495e;
    margin: 24px 0;
}

.privacy-content hr {
    border: none;
    border-top: 2px solid #ecf0f1;
    margin: 32px 0;
}

.privacy-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ããã¿ã¼ */
.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.copyright {
    font-size: 14px;
    font-weight: 400;
}

/* ã¬ã¹ãã³ã·ããã¶ã¤ã³ */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .main-content {
        padding: 20px 16px;
    }

    .faq-page h2 {
        font-size: 28px;
    }

    .faq-container {
        padding: 20px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-answer {
        padding: 0 20px 16px 20px;
        font-size: 14px;
    }

    .faq-text {
        font-size: 15px;
    }

    /* ãã©ã¤ãã·ã¼ããªã·ã¼ãã¼ã¸ã®ã¬ã¹ãã³ã·ã */
    .privacy-section {
        padding: 40px 0;
    }

    .privacy-container {
        padding: 0 16px;
    }

    .privacy-content {
        padding: 24px;
        border-radius: 12px;
    }

    .privacy-content h3 {
        font-size: 24px;
        margin: 32px 0 16px 0;
    }

    .privacy-content h4 {
        font-size: 20px;
        margin: 28px 0 14px 0;
    }

    .privacy-content h5 {
        font-size: 16px;
        margin: 20px 0 10px 0;
    }

    .privacy-content p {
        font-size: 15px;
    }

    .privacy-content li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }

    .logo-image {
        height: 32px;
    }

    .main-content {
        padding: 16px 12px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-answer {
        padding: 0 16px 14px 16px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 12px;
    }

    .faq-answer .faq-icon {
        margin-top: 1px;
    }

    .faq-text {
        font-size: 14px;
    }

    /* ãã©ã¤ãã·ã¼ããªã·ã¼ãã¼ã¸ã®ã¬ã¹ãã³ã·ã */
    .privacy-section {
        padding: 32px 0;
    }

    .privacy-container {
        padding: 0 12px;
    }

    .privacy-content {
        padding: 20px;
        border-radius: 8px;
    }

    .privacy-content h3 {
        font-size: 22px;
        margin: 28px 0 14px 0;
    }

    .privacy-content h4 {
        font-size: 18px;
        margin: 24px 0 12px 0;
    }

    .privacy-content h5 {
        font-size: 15px;
        margin: 18px 0 9px 0;
    }

    .privacy-content p {
        font-size: 14px;
    }

    .privacy-content li {
        font-size: 13px;
    }

    .privacy-content ul {
        margin: 12px 0 20px 20px;
    }
}

/* ã¢ãã¡ã¼ã·ã§ã³ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer {
    animation: fadeIn 0.3s ease-out;
}

/* ã¢ã¯ã»ã·ããªãã£ */
.faq-question:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* ãã©ã¤ãã·ã¼ããªã·ã/* =============================================
   404 ã¨ã©ã¼ãã¼ã¸
   ============================================= */
.error404-page #section01 {
    background-color: var(--surface-low);
    padding: 60px 0 48px;
    text-align: center;
}

.error404-page #section01 h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.02em;
}

.error404-page #section01 h2 span {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--secondary-color);
}

.error404-section {
    padding: 60px 0 120px;
    background-color: var(--surface-low);
    min-height: 55vh;
}

.error404-section .inner {
    width: 100%;
}

.error404-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--surface-lowest);
    border-radius: 24px;
    padding: 80px 64px 72px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.07), 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
    animation: error404FadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    position: relative;
    overflow: hidden;
}

/* カード背景の装飾 */
.error404-container::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 21, 46, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes error404FadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 404 æ°å­è¡¨ç¤º */
.error404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    line-height: 1;
}

.error404-digit {
    font-size: 160px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -8px;
    line-height: 0.9;
    font-feature-settings: "tnum";
    display: inline-block;
    text-shadow: 0 4px 24px rgba(182, 21, 46, 0.18);
}

.error404-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    animation: error404Spin 16s linear infinite;
    flex-shrink: 0;
}

.error404-circle svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(220, 53, 69, 0.25));
}

@keyframes error404Spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ã¿ã¤ãã«ã»ã¡ãã»ã¼ã¸ */
.error404-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.5;
}

.error404-message {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ãã¿ã³ */
.error404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.error404-btn:hover {
    transform: translateY(-2px);
}

.error404-btn--primary {
    background-color: var(--secondary-color);
    color: var(--surface-lowest);
    box-shadow: 0 4px 20px rgba(182, 21, 46, 0.25);
}

.error404-btn--primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 8px 24px rgba(182, 21, 46, 0.35);
}

.error404-btn--secondary {
    background-color: var(--surface-high);
    color: var(--primary-color);
    box-shadow: none;
}

.error404-btn--secondary:hover {
    background-color: #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ã¬ã¹ãã³ã·ãï¼ã¿ãã¬ãã */
@media (max-width: 768px) {
    .error404-page #section01 {
        padding: 48px 0 36px;
    }

    .error404-page #section01 h2 {
        font-size: 28px;
    }

    .error404-section {
        padding: 56px 16px 80px;
    }

    .error404-container {
        padding: 48px 32px 40px;
        border-radius: var(--radius-lg);
    }

    .error404-digit {
        font-size: 96px;
    }

    .error404-circle {
        width: 90px;
        height: 90px;
    }

    .error404-title {
        font-size: 18px;
    }

    .error404-message {
        font-size: 14px;
    }

    .pc-only {
        display: none;
    }
}

/* ã¬ã¹ãã³ã·ãï¼ã¹ãã¼ããã©ã³ */
@media (max-width: 480px) {
    .error404-page #section01 h2 {
        font-size: 22px;
    }

    .error404-container {
        padding: 36px 20px 32px;
        border-radius: var(--radius-md);
    }

    .error404-digit {
        font-size: 80px;
        letter-spacing: -2px;
    }

    .error404-circle {
        width: 76px;
        height: 76px;
    }

    .error404-number {
        gap: 6px;
    }

    .error404-title {
        font-size: 17px;
    }

    .error404-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .error404-btn {
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }
}

/* =============================================
   ãã¼ã ãã¼ã¸ï¼front-pageï¼
   ============================================= */

/* ---- å±é ---- */
.home-page {
    overflow-x: hidden;
}

.home-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.home-section-title span {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--secondary-color);
}

.home-section-desc {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 56px;
}

/* ---- ãã¿ã³ ---- */
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn--primary {
    background-color: var(--secondary-color);
    color: var(--surface-lowest);
    box-shadow: 0 4px 20px rgba(182, 21, 46, 0.25);
}

.home-btn--primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 8px 24px rgba(182, 21, 46, 0.35);
}

.home-btn--ghost {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.home-btn--ghost:hover {
    background-color: #f4f4f6;
    border-color: rgba(0, 0, 0, 0.2);
}

.home-btn--white {
    background-color: #1a1a1a;
    color: #ffffff;
    box-shadow: none;
}

.home-btn--white:hover {
    background-color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---- ヒーローセクション ---- */
.home-page {
    padding-top: 0;
}

.home-hero {
    position: relative;
    background: linear-gradient(160deg, #ffffff 0%, #f4f4f6 60%, #ececf0 100%);
    padding: 48px 0 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #6c6c6c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    text-transform: uppercase;
}

.home-hero__title {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: homeHeroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__title-accent {
    color: #1a1a1a;
    position: relative;
}

.home-hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.home-hero__desc {
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.8;
    margin-bottom: 48px;
    animation: homeHeroFadeIn 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: homeHeroFadeIn 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* è£é£¾å */
.home-hero__deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-hero__deco-circle {
    position: absolute;
    border-radius: 50%;
}

.home-hero__deco-circle--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 65%);
    top: -250px;
    right: -200px;
    opacity: 1;
}

.home-hero__deco-circle--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 65%);
    bottom: -200px;
    left: -150px;
    opacity: 1;
}

.home-hero__deco-circle--3 {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    opacity: 1;
}

/* ---- ãµãã¼ãã¡ãã¥ã¼ ---- */
.home-menu {
    padding: 80px 0 96px;
    background-color: #ffffff;
}

.home-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
}

.home-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fafafa;
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: none;
    transition: var(--transition-smooth);
    animation: homeCardFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    position: relative;
    overflow: hidden;
}

.home-card:nth-child(1) {
    animation-delay: 0.0s;
}

.home-card:nth-child(2) {
    animation-delay: 0.1s;
}

.home-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes homeCardFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.home-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-card__icon--black {
    background-color: #ebebeb;
    color: #1a1a1a;
}

.home-card__icon--red {
    background-color: #f0eded;
    color: #6c6c6c;
}

.home-card__icon--gray {
    background-color: #f2f2f2;
    color: #6c6c6c;
}

.home-card__body {
    flex: 1;
    min-width: 0;
}

.home-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.home-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.home-card__arrow {
    flex-shrink: 0;
    color: #aaaaaa;
    transition: var(--transition-smooth);
}

.home-card:hover .home-card__arrow {
    color: #555555;
    transform: translateX(4px);
}

.home-card__arrow--external:hover {
    transform: none;
}

/* ---- ãåãåããããã¼ ---- */
.home-contact {
    padding: 40px 0;
    background-color: #ffffff;
}

.home-contact__box {
    max-width: 780px;
    margin: 0 auto;
    background: #f2f2f4;
    border-radius: var(--radius-xl);
    padding: 56px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.home-contact__box::before {
    display: none;
}

.home-contact__text {
    position: relative;
    z-index: 1;
}

.home-contact__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.home-contact__desc {
    font-size: 15px;
    color: #6c6c6c;
    line-height: 1.8;
    margin: 0;
}

.home-contact__action {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ---- ã¬ã¹ãã³ã·ãï¼ã¿ãã¬ãã ---- */
@media (max-width: 768px) {
    .home-hero {
        padding: 36px 20px 56px;
    }

    .home-hero__title {
        font-size: 36px;
    }

    .home-hero__desc {
        font-size: 15px;
    }

    .home-menu {
        padding: 60px 0 72px;
    }

    .home-section-title {
        font-size: 24px;
    }

    .home-cards {
        padding: 0 16px;
        gap: 16px;
    }

    .home-card {
        padding: 24px 28px;
        gap: 20px;
    }

    .home-card__title {
        font-size: 18px;
    }

    .home-contact {
        padding: 60px 16px;
    }

    .home-contact__box {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
        gap: 28px;
    }

    .home-contact__box::before {
        display: none;
    }

    .pc-only {
        display: none;
    }
}

/* ---- ã¬ã¹ãã³ã·ãï¼ã¹ãã¼ããã©ã³ ---- */
@media (max-width: 480px) {
    .home-hero {
        padding: 60px 16px;
    }

    .home-hero__title {
        font-size: 28px;
    }

    .home-hero__desc {
        font-size: 14px;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn {
        justify-content: center;
        padding: 13px 24px;
        font-size: 14px;
    }

    .home-section-title {
        font-size: 22px;
    }

    .home-section-desc {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .home-cards {
        padding: 0 12px;
    }

    .home-card {
        padding: 20px;
        gap: 16px;
    }

    .home-card__icon {
        width: 52px;
        height: 52px;
        border-radius: var(--radius-md);
    }

    .home-card__title {
        font-size: 16px;
    }

    .home-card__desc {
        font-size: 13px;
    }

    .home-contact__box {
        padding: 36px 20px;
        border-radius: var(--radius-lg);
    }

    .home-contact__title {
        font-size: 20px;
    }

}

/* =============================================
   FAQ 2段階 UI スタイル (一覧 & 個別)
   ============================================= */

/* コンテナ・全般 */
.subpage-faq {
    padding-top: 56px;
    padding-bottom: 64px;
}

.subpage-faq .inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 戻るナビゲーション */
.faq-back-nav {
    margin-top: 8px;
    margin-bottom: 20px;
}

.faq-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-back-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* パンくず */
.faq-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 24px;
    color: #3b82f6;
}

.faq-breadcrumbs .breadcrumb-item {
    color: #3b82f6;
    text-decoration: none;
}

.faq-breadcrumbs a.breadcrumb-item:hover {
    text-decoration: underline;
}

.faq-breadcrumbs .breadcrumb-item.active {
    color: #666666;
    font-weight: 500;
}

.faq-breadcrumbs .breadcrumb-separator {
    color: #94a3b8;
    font-weight: 400;
}

/* ページヘッダー */
.faq-page-header {
    margin-bottom: 40px;
}

.faq-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.faq-page-lead {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* --- FAQ大分類一覧カード (2列) --- */
.faq-categories-section {
    margin-bottom: 64px;
}

.faq-category-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #ffffff;
    border: 1px solid #eaedf0;
    border-radius: 16px;
    padding: 28px 32px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.25s ease;
    min-height: 160px;
}

.faq-category-card:hover,
.faq-category-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
    outline: none;
}

.faq-category-card__header {
    margin-bottom: 12px;
}

.faq-category-card__number {
    font-size: 15px;
    font-weight: 700;
    color: #4b5563;
    letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', monospace, sans-serif;
}

.faq-category-card__body {
    flex: 1;
    padding-right: 40px;
}

.faq-category-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.35;
}

.faq-category-card__desc {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.faq-category-card__arrow {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition: all 0.2s ease;
}

.faq-category-card:hover .faq-category-card__arrow {
    border-color: #111827;
    color: #111827;
    transform: translateX(2px);
}

/* --- FAQ個別詳細アコーディオン --- */
.faq-content-main {
    margin-bottom: 64px;
}

.faq-sections-container {
    background: #f8f9fa;
    border: 1px solid #eef0f3;
    border-radius: 20px;
    padding: 36px 36px;
}

.faq-section-block {
    margin-bottom: 40px;
}

.faq-section-block:last-child {
    margin-bottom: 0;
}

.faq-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item:hover {
    border-color: #e2e8f0;
}

.faq-accordion-item h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    transition: background-color 0.2s ease;
}

.faq-accordion-trigger:hover,
.faq-accordion-trigger:focus-visible {
    background-color: #fafafa;
    outline: none;
}

.faq-accordion-question {
    flex: 1;
    font-size: 14.5px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12.5px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
}

.faq-badge--q {
    background-color: #111827;
    color: #ffffff;
}

.faq-badge--a {
    background-color: #ef4444;
    color: #ffffff;
}

.faq-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    flex-shrink: 0;
}

.faq-accordion-icon .icon-plus {
    display: block;
}

.faq-accordion-icon .icon-minus {
    display: none;
}

.faq-accordion-trigger[aria-expanded="true"] .icon-plus {
    display: none;
}

.faq-accordion-trigger[aria-expanded="true"] .icon-minus {
    display: block;
}

.faq-accordion-panel {
    border-top: 1px solid #f8fafc;
}

.faq-accordion-panel[hidden] {
    display: none;
}

.faq-accordion-panel__inner {
    padding: 4px 24px 20px 24px;
}

.faq-answer-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faq-answer-text {
    flex: 1;
    font-size: 14px;
    color: #374151;
    line-height: 1.75;
    padding-top: 2px;
}

.faq-related-link {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.faq-related-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.faq-related-link a:hover {
    text-decoration: underline;
}

/* =============================================
   レスポンシブ調整 (SP: max-width: 767px)
   ============================================= */
@media (max-width: 767px) {
    /* 1. ページ左右の余白 (20px) & 幅指定 */
    .subpage-faq,
    .wrapper.subpage-faq {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .subpage-faq .inner {
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    /* 2. FAQ詳細枠の内側padding (24px 16px) */
    .faq-sections-container {
        padding: 24px 16px;
        border-radius: 16px;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    /* 3. FAQトップのカード間隔 & padding */
    .faq-category-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-category-card {
        padding: 24px 20px;
        margin-bottom: 0;
        min-height: auto;
    }

    .faq-category-card__body {
        padding-right: 36px;
    }

    .faq-category-card__arrow {
        right: 20px;
        bottom: 24px;
        width: 32px;
        height: 32px;
    }

    /* 4. FAQ詳細ページの縦方向の余白 */
    .faq-back-nav {
        margin-top: 0;
        margin-bottom: 24px; /* 戻るリンク → 大見出し */
    }

    .faq-page-title {
        font-size: 24px;
        margin-bottom: 12px; /* 大見出し → 説明文 */
    }

    .faq-page-lead {
        font-size: 14px;
        margin: 0;
    }

    .faq-page-header {
        margin-bottom: 32px; /* 説明文 → FAQ本体 */
    }

    .faq-content-main {
        margin-bottom: 40px;
    }

    .faq-section-block {
        margin-bottom: 32px; /* 中分類同士 */
    }

    .faq-section-block:last-child {
        margin-bottom: 0;
    }

    .faq-section-title {
        font-size: 16.5px;
        margin-bottom: 16px; /* 中分類見出し → 最初のQ&A */
    }

    .faq-accordion-group {
        display: flex;
        flex-direction: column;
        gap: 12px; /* Q&A同士 */
    }

    .faq-accordion-item {
        margin-bottom: 0;
    }

    .faq-accordion-trigger {
        padding: 16px;
        gap: 10px;
    }

    .faq-accordion-question {
        font-size: 14px;
    }

    .faq-accordion-panel__inner {
        padding: 0 16px 16px 16px;
    }

    .faq-answer-row {
        gap: 10px;
    }

    .faq-answer-text {
        font-size: 13.5px;
    }

    /* 5. お問い合わせセクションの余白 */
    .home-contact,
    .subpage-faq .home-contact {
        padding: 40px 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        box-sizing: border-box;
    }

    .home-contact__box {
        padding: 32px 20px;
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .home-contact__text {
        margin-bottom: 0;
    }

    .home-contact__title {
        font-size: 19px;
        margin-bottom: 16px; /* 見出し → 説明文 */
    }

    .home-contact__desc {
        font-size: 13.5px;
        margin-bottom: 24px; /* 説明文 → ボタン */
        line-height: 1.7;
    }

    .home-contact__action {
        margin: 0;
    }

    .home-contact__action .home-btn {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}