/* --- ベーススタイル --- */
        :root {
            --primary-color: #1a2b4c;
            --secondary-color: #8b9bb4;
            --accent-color: #c48c31;
            --text-color: #333333;
            --bg-light: #f8f9fa;
            --border-color: #e0e0e0;
        }

        .header_logo{
            display: block;
            width: 84px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Noto Sans JP', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }

        /* --- ヘッダー --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 100;
            transition: all 0.3s ease;
        }
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 20px;
        }
        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 2px;
        }
        .nav-links {
            display: flex;
            gap: 20px;
        }
        .nav-links a {
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.3s;
        }
        .nav-links a:hover { color: var(--accent-color); }

        .btn-reserve {
            background-color: var(--accent-color);
            box-shadow: 0px 6px 0px #8d6017;
            color: white;
            padding: 10px 20px;
            border-radius: 4px;
            font-weight: 700;
            transition: 0.3s;
        }
        .btn-reserve:hover {
            background-color: var(--accent-color);
            transform: translateY(2px);
            box-shadow: 0px 4px 0px #8d6017;
        }

        /* --- ヒーローセクション --- */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding-top: 60px;
            font-family: serif;
            overflow: hidden;
            isolation: isolate;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url('https://studioill.com/wp-content/themes/studio_ill/assets/img/mens/mens_hero.webp');
            background-size: cover;
            background-position: center;
            transform: scale(1.08);
           filter: blur(0px) brightness(1);
            opacity: 0;
            animation: heroBlurReveal 1.8s ease forwards;
            z-index: -2;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.01);
            z-index: -1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            opacity: 0;
            transform: translateY(24px);
            animation: heroTextFade 1s ease 0.55s forwards;
        }

        .hero-content h2 {
            font-size: 3rem;
            margin-bottom: 20px;
            letter-spacing: 4px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 40px;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        @keyframes heroBlurReveal {
            0% {
                opacity: 0;
                transform: scale(1.08);
                filter: blur(18px) brightness(0.72);
            }
            35% {
                opacity: 1;
            }
            100% {
                opacity: 1;
                transform: scale(1);
                filter: blur(0px) brightness(1);
            }
        }

        @keyframes heroTextFade {
            from {
                opacity: 0;
                transform: translateY(24px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* --- セクション共通 --- */
        section { padding: 80px 20px; }
        .section-title {
            text-align: center;
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 50px;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
            margin: 15px auto 0;
        }
        .container { max-width: 1000px; margin: 0 auto; }
        .bg-gray { background-color: var(--bg-light); }

        /* --- スクロールふわっと表示 --- */
        .fade-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.9s ease, transform 0.9s ease;
            will-change: opacity, transform;
        }

        .fade-up.is-show {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-item {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            will-change: opacity, transform;
        }

        .fade-item.is-show {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-1 { transition-delay: 0.08s; }
        .delay-2 { transition-delay: 0.16s; }
        .delay-3 { transition-delay: 0.24s; }
        .delay-4 { transition-delay: 0.32s; }
        .delay-5 { transition-delay: 0.40s; }

        /* --- なぜ男性にピラティスか --- */
        .benefit-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        .benefit-card {
            background: white;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            text-align: center;
            transition: 0.3s;
        }
        .benefit-card:hover { transform: translateY(-5px); }
        .benefit-card h3 {
            color: var(--primary-color);
            margin: 15px 0;
            font-size: 1.3rem;
        }

        /* --- スタジオの特徴 --- */
        .feature-row { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
        .feature-row:nth-child(even) { flex-direction: row-reverse; }
        .feature-img { flex: 1; border-radius: 8px; overflow: hidden; }
        .feature-text { flex: 1; }
        .feature-text h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 15px; }

        /* --- お客様の声 --- */
        .voice-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        .voice-card {
            background: white;
            padding: 30px;
            border-radius: 8px;
            position: relative;
            border-top: 4px solid var(--primary-color);
        }
        .voice-quote {
            font-style: italic;
            font-weight: bold;
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        .voice-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 20px;
            border-top: 1px solid var(--border-color);
            padding-top: 15px;
        }
        .voice-profile img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }
        .voice-info { font-size: 0.9rem; color: #666; }

        /* --- インストラクター --- */
        .instructor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            text-align: center;
        }
        .instructor-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 20px;
            object-fit: cover;
            border: 3px solid var(--bg-light);
        }
        .instructor-name {
            font-size: 1.3rem;
            color: var(--primary-color);
            font-weight: bold;
            margin-bottom: 5px;
        }
        .instructor-title {
            color: var(--accent-color);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        /* --- 料金プラン --- */
        .pricing-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        .pricing-table th, .pricing-table td {
            padding: 20px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .pricing-table th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
        }
        .pricing-table tr:last-child td { border-bottom: none; }
        .price-highlight {
            color: var(--accent-color);
            font-size: 1.5rem;
            font-weight: bold;
            position: relative;
        }
        .att {
            position: absolute;
            color: #000;
            font-size: 12px;
        }

        .js-scrollable {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .pricing-table {
            width: max-content;
            min-width: 720px;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            width: 100%;
        }

        .pricing-table th,
        .pricing-table td {
            padding: 20px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
            white-space: nowrap;
        }

        .pricing-table th:nth-child(2),
        .pricing-table td:nth-child(2) {
            white-space: normal;
            min-width: 260px;
        }

        /* --- FAQ --- */
        .faq-item {
            margin-bottom: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .faq-item details { padding: 20px; cursor: pointer; }
        .faq-item summary {
            font-weight: bold;
            color: var(--primary-color);
            list-style: none;
            position: relative;
            padding-right: 20px;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after {
            content: '+';
            position: absolute;
            right: 0;
            top: 0;
            color: var(--accent-color);
            font-size: 1.2rem;
        }
        .faq-item details[open] summary::after { content: '-'; }
        .faq-answer {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px dashed var(--border-color);
            color: #555;
        }

        /* --- CTA --- */
        .cta-section {
            color: white;
            text-align: center;
            padding: 100px 20px;
  background-image: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url(https://studioill.com/wp-content/themes/studio_ill/assets/img/footer_bg2.webp?ver=1108);
    background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        }
        .cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
        .cta-btn-large {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            font-size: 1.5rem;
            padding: 15px 50px;
            border-radius: 50px;
            font-weight: 700;
            margin-top: 30px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .cta-btn-large:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        /* --- フッター --- */
        footer {
            background-color: #111;
            color: #ccc;
            text-align: center;
            padding: 30px 20px;
            font-size: 0.9rem;
        }

        .trial-flow {
            padding: 80px 20px;
            background: #f7f4ef;
        }

        .trial-flow .inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .trial-flow__title {
            margin: 0 0 50px;
            font-size: 32px;
            font-weight: 700;
            line-height: 1.4;
            text-align: center;
            color: #222;
        }

        .trial-flow__list {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .trial-flow__item {
            display: flex;
            flex-direction: column;
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
        }

        .trial-flow__image {
            width: 100%;
        }

        .trial-flow__image img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .trial-flow__content {
            padding: 24px 20px 28px;
        }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
        .trial-flow__step {
            display: inline-block;
            margin-bottom: 12px;
            padding: 6px 12px;
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0.08em;
            color: #fff;
            background: #222;
            border-radius: 999px;
        }

        .trial-flow__heading {
            margin: 0 0 14px;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.4;
            color: #222;
        }

        .trial-flow__text {
            margin: 0;
            font-size: 16px;
            line-height: 1.9;
            color: #444;
        }
 

        @media screen and (min-width: 768px) {
            .trial-flow__item {
                flex-direction: row;
                align-items: stretch;
            }

            .trial-flow__item:nth-child(even) {
                flex-direction: row-reverse;
            }

            .trial-flow__image,
            .trial-flow__content {
                width: 50%;
            }

            .trial-flow__image img {
                width: 100%;
                height: 100%;
                min-height: 320px;
            }

            .trial-flow__content {
                padding: 40px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
        }

        /* --- レスポンシブ --- */
        @media (max-width: 768px) {
            .hero-content h2 {
                font-size: 2rem;
                margin-top: 24rem;
                text-align: left;
            }
            .hero-content p { text-align: left; }
            .feature-row, .feature-row:nth-child(even) { flex-direction: column; }
            .nav-links { display: none; }

            .cta-section h2 { font-size: 1.5rem; }
            .cta-btn-large { font-size: 1rem; }
            .section-title { font-size: 1.3rem; }

            .pricing-table { min-width: 680px; }

            .pricing-table th,
            .pricing-table td {
                text-align: center;
                width: auto;
            }
        }

        .concept-section {
            padding: 80px 20px;
            background-color: #ffffff;
        }

        .concept-wrapper {
            display: flex;
            align-items: center;
            gap: 50px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .concept-content {
            flex: 1.1;
            text-align: left;
        }

        .concept-catch {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 10px;
            letter-spacing: 0.1em;
        }

        .concept-title {
            font-size: 2.2rem;
            color: var(--primary-color);
            margin-bottom: 30px;
            letter-spacing: 0.05em;
            line-height: 1.4;
        }

        .concept-text {
            font-size: 1.05rem;
            line-height: 1.9;
            color: #444;
        }

        .concept-text p { margin-bottom: 1.5em; }
        .concept-text p:last-child { margin-bottom: 0; }

        .concept-image {
            flex: 1;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

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

        .concept-image:hover img { transform: scale(1.03); }

        .ban {
            display: block;
            max-width: 800px;
            margin: 50px auto 0 auto;
            padding: 0 10px;
        }

        /* レスポンシブ (タブレット・スマホ) */
        @media (max-width: 992px) {
            .concept-wrapper { gap: 30px; }
            .concept-title { font-size: 1.8rem; }
        }

        @media (max-width: 768px) {
                .hero::before {background-position: 42% 13%;}
            .concept-section { padding: 60px 20px; }
            .concept-wrapper {
                flex-direction: column;
                gap: 40px;
            }
            .concept-content { text-align: center; }
            .concept-title {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }
            .concept-text {
                text-align: left;
                font-size: 0.95rem;
            }
            .concept-image {
                width: 100%;
                max-width: 400px;
                margin: 0 auto;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero::before,
            .hero-content,
            .fade-up,
            .fade-item {
                animation: none !important;
                transition: none !important;
                opacity: 1 !important;
                transform: none !important;
                filter: none !important;
            }
        }