/* ここにindex2.htmlの<style>...</style>部分のCSSをすべて移植 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

:root {
    --dodger-blue: #1E90FF;
    --dark-gray: #333333;
    --light-gray: #F8F9FA;
    --gold: #FFD700;
    --white: #FFFFFF;
    --red: #DC3545;
    --green: #00A98F;
    --primary-color: var(--green); /* プライマリーカラーを定義 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1001;
}

/* 企業LP専用の追従ヘッダー */
header.header-sticky {
    position: sticky;
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dodger-blue);
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 1rem;
}

.header-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.header-nav a:hover {
    color: var(--dodger-blue);
    background: rgba(30, 144, 255, 0.1);
}

.header-button {
    background: var(--dodger-blue);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.header-button:hover {
    background: #0066CC !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

/* 簡易診断ボタン（メインCTA） */
.header-button[href*="diagnosis"],
.header-button[href*="1FAIpQLSd_2akzATkYM0WKEFdFGA6SfMvBfer05JoDBqh_HG1wwSdd6Q"] {
    background: var(--gold) !important;
    color: var(--dark-gray) !important;
}

.header-button[href*="diagnosis"]:hover,
.header-button[href*="1FAIpQLSd_2akzATkYM0WKEFdFGA6SfMvBfer05JoDBqh_HG1wwSdd6Q"]:hover {
    background: #FFC800 !important;
    color: var(--dark-gray) !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* 会員登録ボタン（セカンダリ） */
.header-button[href*="1FAIpQLSeQOBZK4Nsb6Kyc09LrZZuh-5lv6Lde-lG939e7rRTd69wiTg"] {
    background: var(--green) !important;
    color: var(--white) !important;
}

.header-button[href*="1FAIpQLSeQOBZK4Nsb6Kyc09LrZZuh-5lv6Lde-lG939e7rRTd69wiTg"]:hover {
    background: #008F7A !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0, 169, 143, 0.3);
}

/* ログインボタン（アウトライン） */
.header-button[href="#"] {
    background: transparent !important;
    color: var(--dodger-blue) !important;
    border: 2px solid var(--dodger-blue) !important;
}

.header-button[href="#"]:hover {
    background: var(--dodger-blue) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.hero {
    background: linear-gradient(135deg, var(--dodger-blue) 0%, #0066CC 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-top {
    text-align: left;
    margin-bottom: 4rem;
}

.hero-top h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-top h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-bottom-left {
    flex: 1 1 55%;
    max-width: 650px;
}

.hero-bottom-left p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-bottom-right {
    flex: 1 1 45%;
    text-align: center;
}

.hero-bottom-right img {
    max-width: 100%;
}

.hero-content {
    flex: 1 1 55%;
    max-width: 700px;
    text-align: left;
}

.hero-image {
    flex: 1 1 45%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    text-align: left;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    text-align: left;
}

.hero-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    width: 100%;
}

.hero-main-photo,
.hero-sub-photo {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.hero-main-photo:hover,
.hero-sub-photo:hover {
    transform: translateY(-10px);
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-gray);
    padding: 1.5rem 4rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    margin: 2rem 0;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-badge {
    background: rgba(255,255,255,0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 1.2rem;
    border: 2px solid rgba(255,255,255,0.2);
}

.expertise-summary {
    background: rgba(255,255,255,0.95);
    padding: 1.5rem 3rem;
    border-radius: 30px;
    color: var(--dark-gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    margin: 2rem 0;
    display: inline-block;
}

.summary-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dodger-blue);
}

.section {
    padding: 4.5rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-image {
    width: 100%;
    border-radius: 15px;
    border: 2px solid #e0e6ed;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin: 2rem auto;
    display: block;
}

.problems {
    background: var(--light-gray);
}

.problems-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.problems-intro-text h3 {
    font-size: 2.2rem;
    color: var(--red);
    margin-bottom: 1.5rem;
}

.problems-intro-image img {
    max-width: 450px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.problem-item {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--dodger-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.problem-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.problem-item h4 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: bold;
    margin: 0;
}

.problem-item p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.problem-checklist-container {
    background: var(--white);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 3rem auto 0;
    /* border-left: 5px solid var(--dodger-blue); */
}

.problem-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-checklist li {
    position: relative;
    padding: 2rem 0 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.problem-checklist li + li {
    border-top: 1px solid #f0f0f0;
}

.problem-checklist li::before {
    content: '☑';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dodger-blue);
    font-size: 2.5rem;
}

.problem-checklist li h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0 0 0.25rem 0;
}

.problem-checklist li p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.solution-flow-bg {
    background: var(--light-gray);
}

.solution-intro {
    background: var(--dodger-blue);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.solution-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.solution-intro p {
    font-size: 1.2rem;
}

.features {
    background: var(--white);
}

.features-intro-image {
    text-align: center;
    margin-bottom: 4rem;
}

.features-intro-image img {
    max-width: 650px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.features-grid.features-grid--seeker {
    grid-template-columns: 1fr;
    gap: 4rem;
}

.features-grid--employer {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.features-grid--employer .feature-item {
    text-align: center;
}

.features-grid--employer .feature-item p {
    text-align: left;
}

.features-grid--employer .feature-number {
    left: 50%;
    transform: translateX(-50%);
}

.feature-item {
    text-align: left;
    padding: 3rem 2.5rem;
    background: var(--light-gray);
    border-radius: 20px;
    position: relative;
    border-top: 5px solid var(--green);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 169, 143, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    margin-top: 1.5rem;
}

.feature-item-text h3 {
    margin-top: 0;
}

.feature-item p {
    font-size: 1.2rem;
    color: #666;
}

.feature-item-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-item-inner {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
}

.feature-item-image .feature-photo {
    width: 100%;
    max-width: none;
    margin: 0;
}

.differentiation {
    background: var(--light-gray);
}

.comparison-table {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--dodger-blue);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.comparison-table td {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.highlight {
    background: var(--gold) !important;
    color: var(--dark-gray);
    font-weight: bold;
}

.service-details {
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--dodger-blue);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: var(--dodger-blue);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.8rem 0;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.flow {
    background: var(--light-gray);
}

.flow-wrapper {
    margin-top: 3rem;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.flow-step {
    position: relative;
    background: var(--white);
    border: 2px solid #e0e6ed;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    border-color: var(--dodger-blue);
}

.flow-step .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dodger-blue);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    font-weight: bold;
    font-size: 0.9rem;
}

.flow-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 1rem;
}

.flow-step h4 {
    color: var(--dodger-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.flow-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 1024px) {
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .flow-steps {
        grid-template-columns: 1fr;
    }
}

.pricing {
    background: var(--white);
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-main {
    background: var(--light-gray);
    padding: 4rem 3rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 3rem;
    border: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-main h3 {
    color: var(--dodger-blue);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.pricing-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pricing-note {
    background: rgba(30,144,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 2rem;
}

.pricing-cta {
    margin-top: 2.5rem;
}

.cta-button-small {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-gray);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.pricing-feature h4 {
    color: var(--dodger-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pricing-feature p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.case-studies {
    background: var(--light-gray);
}

.case-studies-intro-image {
    text-align: center;
    margin-bottom: 4rem;
}

.case-studies-intro-image img {
    max-width: 550px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.case-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-company {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dodger-blue);
}

.case-industry {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    color: #666;
}

.case-content h4 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.case-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.case-results {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.case-results h5 {
    color: var(--green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.case-results p {
    margin-bottom: 0;
}

.case-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-results li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    list-style: none;
}

.case-results li:before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--dodger-blue);
    font-weight: bold;
}

.case-results li:last-child {
    margin-bottom: 0;
}

.faq {
    background: var(--white);
}

.faq-items {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 1.2rem 4rem 1.2rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--dodger-blue);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-question {
    background-color: #e9ecef;
}

.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.final-cta {
    background: linear-gradient(135deg, var(--dodger-blue) 0%, #0066CC 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    background: var(--white);
    color: var(--dodger-blue);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.secondary-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-size: 1.3rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #555;
    color: #999;
    font-size: 1rem;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-badges img {
    width: 80px;
    height: 80px;
}

@media (max-width: 1200px) {
    .hero-main-photo,
    .hero-sub-photo {
        width: 300px;
        height: 300px;
    }
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0;
        text-align: center;
    }
    .hero-top {
        text-align: center;
        margin-bottom: 3rem;
    }
    .hero-top h1 {
        font-size: 2.8rem;
    }
    .hero-top h2 {
        font-size: 1.5rem;
    }
    .hero-bottom {
        flex-direction: column;
    }
    .hero-bottom-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-bottom-left p {
        font-size: 1.2rem;
    }
    .hero-bottom-right {
        margin-top: 3rem;
        max-width: 450px;
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-image {
        margin-top: 3rem;
        max-width: 450px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .summary-text {
        font-size: 1.2rem;
    }
    .expertise-summary {
        padding: 1.2rem 2rem;
    }
    .hero-main-photo,
    .hero-sub-photo {
        width: 240px;
        height: 240px;
    }
    .hero-images {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .expertise-badge {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
    }
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .problem-item {
        padding: 2rem 1.5rem;
    }
    .problem-item h4 {
        font-size: 1.3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-item {
        padding: 2rem;
    }
    .service-item h3 {
        font-size: 1.3rem;
    }
    .service-list li {
        font-size: 0.95rem;
    }
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .flow-step {
        padding: 1.5rem;
    }
    .feature-item-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .feature-item-image .feature-photo {
        max-width: 250px;
        margin: 0 auto;
    }
    .feature-item-text {
        text-align: left;
    }
    .feature-number {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.2rem;
        top: -25px;
    }
    .faq-question {
        padding: 1.2rem 4rem 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    .faq-answer {
        font-size: 1rem;
    }
    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    .hero-top h1 {
        font-size: 2.2rem;
    }
    .hero-top h2 {
        font-size: 1.3rem;
    }
    .hero-main-photo,
    .hero-sub-photo {
        width: 280px;
        height: 280px;
    }
    .expertise-badge {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
    .problem-checklist li {
        padding-left: 3rem;
    }
    .problem-checklist li::before {
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .hero-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-images img {
        max-width: 95vw;
    }
}

/* 実績ビジュアルブロック */
.achievements {
    background: var(--light-gray);
    padding: 6rem 0;
}

.achievements-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.pain-points {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.unique-value {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.unique-value p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.unique-value strong {
    color: var(--dodger-blue);
    background: linear-gradient(transparent 70%, rgba(30,144,255,0.2) 30%);
}

.professional-team {
    max-width: 1200px;
    margin: 0 auto;
}

.professional-team h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.team-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-item-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-item h4 {
    font-size: 1.4rem;
    color: var(--dodger-blue);
    margin: 0;
}

.team-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.team-conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(30,144,255,0.1);
    border-radius: 15px;
}

.team-conclusion p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .achievements {
        padding: 4rem 0;
    }
    .pain-points {
        font-size: 1.2rem;
    }
    .unique-value p {
        font-size: 1.1rem;
    }
    .professional-team h3 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .team-conclusion p {
        font-size: 1.1rem;
    }
}

/* 特徴セクションの仮画像 */
.feature-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,144,255,0.08);
}

/* サポート担当者紹介 */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.staff-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.staff-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dodger-blue);
}

.staff-title {
    flex-grow: 1;
}

.staff-role {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dodger-blue);
    margin-bottom: 0.5rem;
}

.staff-message {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.staff-message p {
    margin-bottom: 1.5rem;
}

.staff-message p:last-child {
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .staff-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .staff-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .staff-card {
        padding: 1.5rem;
    }
    .staff-photo {
        width: 100px;
        height: 100px;
    }
    .staff-role {
        font-size: 1.1rem;
    }
    .staff-message {
        font-size: 0.95rem;
    }
}

/* CTA画像 */
.cta-image {
    margin-top: 2rem;
    text-align: center;
}
.cta-image img {
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(30,144,255,0.10);
}

@media (max-width: 900px) {
    .achievements-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .staff-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .cta-image img {
        max-width: 95vw;
    }
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 480px;
}
.hero-left {
    flex: 1 1 0;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.hero-right {
    flex: 1 1 0;
    min-width: 320px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}
.hero-main-photo {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 2px solid #e0e6ed;
    margin-bottom: 0.7rem;
}
.hero-sub-photo {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    border: 2px solid #e0e6ed;
}
.hero-content {
    text-align: left;
}
.cta-button {
    margin-top: 2.2rem;
    display: inline-block;
    font-size: 1.2rem;
    padding: 1.1rem 2.5rem;
}
.expertise-summary {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
        min-height: unset;
    }
    .hero-content {
        text-align: center;
    }
    .hero-right {
        flex-direction: column;
    }
    .hero-main-photo,
    .hero-sub-photo {
        width: 210px;
        height: 210px;
        max-width: 98vw;
    }
}

.achievements-problems {
    background: var(--light-gray);
    padding: 6rem 0;
}

.problems-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.problems-section h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
}

.unique-value {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 4rem auto;
    max-width: 1000px;
    text-align: center;
}

.unique-value p {
    font-size: 1.4rem;
    line-height: 1.8;
}

.unique-value strong {
    color: var(--dodger-blue);
    background: linear-gradient(transparent 70%, rgba(30,144,255,0.2) 30%);
}

@media (max-width: 768px) {
    .achievements-problems {
        padding: 4rem 0;
    }
    .problems-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    .unique-value {
        padding: 2rem;
        margin: 3rem auto;
    }
    .unique-value p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .problems-section h3 {
        font-size: 1.4rem;
    }
    .unique-value {
        padding: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Responsive Design --- */

/* --- Hamburger Menu --- */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger-menu .line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active .line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
}

.no-scroll {
    overflow: hidden;
}


@media (max-width: 968px) {
    .header-nav {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 6rem 0;
        text-align: center;
    }
    .hero-top {
        text-align: center;
    }
    .hero-bottom {
        flex-direction: column;
    }
    .hero-bottom-left {
        align-items: center;
    }
    .hero-bottom-right {
        margin-top: 2rem;
    }

    /* Grids */
    .problems-grid,
    .features-grid,
    .team-grid,
    .case-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid--employer {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .pricing-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Table */
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .comparison-table table {
        width: auto;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-top h1 {
        font-size: 2rem;
    }
    .hero-top h2 {
        font-size: 1.1rem;
    }
    .hero-bottom-left p {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 業務運営規程ページ */
.main-content {
    padding-top: 120px; /* ヘッダーの高さ分 */
    padding-bottom: 60px;
}

.policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.policy-title {
    font-size: 2em;
    text-align: left;
    margin-bottom: 40px;
    color: #333;
}

.policy-article {
    margin-bottom: 30px;
}

.policy-article h2 {
    font-size: 1.5em;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.policy-article p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 手数料表のスタイリング */
.fee-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.fee-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fee-table th {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.fee-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.6;
}

.fee-table tr:last-child td {
    border-bottom: none;
}

.fee-table tr:hover {
    background-color: #f8f9fa;
}

.fee-table strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* お問い合わせ情報のスタイリング */
.contact-info {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-section p {
    margin: 0;
    color: #666;
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-section a:hover {
    color: var(--dodger-blue);
    text-decoration: underline;
}

/* 提携先リストのスタイリング */
.partner-list {
    margin: 2rem 0;
}

.partner-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.partner-item p {
    margin: 0;
}

.partner-item a {
    color: var(--dodger-blue);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.partner-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ポリシーノートのスタイリング */
.policy-note {
    background: rgba(30,144,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--dodger-blue);
    margin: 2rem 0;
}

.policy-note p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fee-table {
        font-size: 0.9rem;
    }
    
    .fee-table th,
    .fee-table td {
        padding: 1rem 0.5rem;
    }
}

.diagnosis {
    background: var(--light-gray);
}

.diagnosis-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.diagnosis-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.diagnosis-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.diagnosis-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.diagnosis-icon {
    font-size: 2.5rem;
}

.diagnosis-feature h4 {
    color: var(--dodger-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.diagnosis-feature p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.diagnosis-options {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    margin: 3rem 0 0 0;
}

.diagnosis-options h4 {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.diagnosis-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.diagnosis-option {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--white);
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    justify-content: center;
    text-align: center;
    height: 100%;
}

.diagnosis-option:hover {
    border-color: var(--dodger-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30,144,255,0.1);
}

.diagnosis-option-number {
    display: none;
}

.diagnosis-option h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-gray);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.diagnosis-option p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    text-align: center;
}

.diagnosis .cta-button {
    margin-top: 4rem;
}

.problem-item h4 {
    font-size: 1.3rem;
}

.service-item {
    padding: 2rem;
}
.service-item h3 {
    font-size: 1.3rem;
}
.cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}
.diagnosis-feature {
    padding: 1.5rem;
    gap: 1rem;
}
.diagnosis-icon {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .diagnosis-content {
        padding: 2rem;
    }
    .diagnosis-features,
    .diagnosis-options-grid {
        grid-template-columns: 1fr;
    }

    .diagnosis-feature {
        padding: 1rem;
    }

    .diagnosis-option {
        padding: 1rem;
    }
} 