/* Base Styles */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Main Visual Section */
.main-visual-section {
    width: 100%;
    height: auto;
    overflow: visible;
    position: relative;
    background: #2c3a47;
    display: block;
    padding: 0;
    padding-top: 60px;
}

.main-visual-section picture {
    width: 100%;
    position: relative;
    display: block;
}

.main-visual-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.main-visual-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    width: 340px;
    max-width: 80%;
    padding: 25px;
    color: #333;
    border-radius: 8px;
    box-sizing: border-box;
}

.main-visual-content h1 {
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
    color: #333;
    font-weight: bold;
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px !important;
}

.main-visual-content h1 .highlight {
    position: relative;
    display: inline;
    z-index: 1;
    white-space: nowrap;
}

.main-visual-content h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.4em;
    background-color: rgba(30, 136, 229, 0.3);
    z-index: -1;
    transform: skewX(-10deg);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px 0;
}

.feature-list li {
    position: relative;
    padding: 8px 0 8px 35px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555 !important;
    font-weight: 500;
}

.feature-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: #1E88E5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.cta-button {
    display: block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    line-height: 0;
}

.cta-button:hover {
    background: none;
    transform: none;
    box-shadow: none;
    cursor: pointer;
}

.cta-button img {
    display: block;
    width: 100%;
    height: auto;
}

/* 透明なクリック可能ボタン */
.transparent-cta-button {
    position: absolute;
    z-index: 3;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* PC用透明ボタン - 画像左下のボタン位置 */
.transparent-cta-button.pc-only {
    bottom: 12%;
    left: 18%;
    width: 28%;
    height: 30%;
}

/* SP用透明ボタン - 画像下部中央のボタン位置 */
.transparent-cta-button.sp-only {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .transparent-cta-button.pc-only {
        display: none;
    }
    
    .transparent-cta-button.sp-only {
        display: block;
        bottom: 3%;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 9%;
    }
}

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

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

.main-visual-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.main-visual-content {
    flex: 1;
    min-width: 300px;
}

.main-title {
    /* font-size: 2.2rem; */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.main-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #000;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.0rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    color: #000;
}

.feature-list i {
    color: #2196F3;  /* Changed from green to blue */
    margin-right: 10px;
    margin-top: 5px;
}

.main-visual-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.main-visual-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.main-visual-image img:hover {
    transform: scale(1.02);
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-visual-section {
        height: auto !important;
        min-height: 100vh !important;
        padding: 0 !important;
        padding-top: 60px !important;
        display: block !important;
    }
    
    .main-visual-section picture {
        width: 100% !important;
        position: relative !important;
    }
    
    .main-visual-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
    }
    
    .main-visual-content {
        display: none !important;
    }
    
    .cta-button {
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
    }
}

/* All mobile styles consolidated - REMOVED DUPLICATE */

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Original Main Visual Styles */
.main_visual {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.main-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 58, 71, 0.94) 0%, rgba(60, 81, 102, 0.9) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.main-visual-content {
    max-width: 545px;
    color: white;
    width: 100%;
    text-align: center;
    /* animation: fadeInUp 0.8s ease-out; */
}

.main-visual-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.catchphrase-wrapper {
    margin-bottom: 30px;
}

.catchphrase-line {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    letter-spacing: -0.3px;
    font-family: 'Noto Sans JP', sans-serif;
}

.catchphrase-line:first-child {
    animation-delay: 0.2s;
}

.catchphrase-line:last-child {
    animation-delay: 0.4s;
}

.highlight {
    color: #000;
    position: relative;
    display: inline-block;
    padding: 0 8px 2px;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(45, 138, 128, 0.5);
    z-index: -1;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: highlightScale 0.6s ease-out 0.8s forwards;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.sub-copy {
    font-size: 1.15rem;
    margin: 0 auto 50px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
    letter-spacing: 0.2px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.sub-copy i {
    color: #2196F3;
    margin-right: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

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

@keyframes highlightScale {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.main_visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cta-button-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}


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

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-button {
        font-size: 1.2rem;
        padding: 12px 30px;
        bottom: 15%;
    }
}

/* Hide SP image by default on PC */
.sp_main {
    display: none;
}

/* Show SP image on mobile */
@media (max-width: 767px) {
    .pc_main {
        display: none;
    }
    
    .sp_main {
        display: block;
    }
}

/* Section 2 - Features */
.section2 {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 70px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
    font-family: 'Noto Sans JP', sans-serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 4px;
    opacity: 0.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-box {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #fff9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #2196F3;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: #2196F3;
    color: white;
    transform: rotateY(180deg);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments - CONSOLIDATED */
@media (max-width: 768px) {
    .main_visual {
        min-height: 70vh;
    }
    
    .catchphrase-line {
        font-size: 1.8rem;
        line-height: 1.5;
    }
    
    .highlight:after {
        height: 10px;
        bottom: 3px;
    }
    
    .sub-copy {
        font-size: 1.1rem;
        text-align: left;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .cta-button {
        width: 90%;
        max-width: 300px;
        padding: 16px 20px;
        font-size: 1.2rem;
    }
    
    .catchphrase {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .catchphrase-line {
        font-size: 1.8rem;
        line-height: 1.6;
    }
    
    .sub-copy {
        font-size: 1.2rem;
        line-height: 1.8;
    }
    
    .cta-button {
        font-size: 0.7rem;
        padding: 16px 35px;
    }
    
    .sub-copy {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section2 {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Selection Flow Section */

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

.flow-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

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

.flow-icon {
    width: 70px;
    height: 70px;
    background: #2196F330;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    font-size: 28px;
    color: #2196F3;
    transition: all 0.3s ease;
}

.flow-item:hover .flow-icon {
    background: #2196F3;
    color: white;
    transform: scale(1.1);
}

.flow-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.flow-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
}

.flow-content p {
    color: #333;
    line-height: 1.7;
    margin-top: 15px;
}

.flow-arrow {
    text-align: center;
    color: var(--gradient-accent);
    font-size: 24px;
    margin: 10px 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flow-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }
    
    .flow-icon {
        margin: 0 0 20px 0;
    }
    
    .flow-content h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section4 {
        padding: 30px 0;
    }
}

/* Base Styles */
:root {
    /* Primary Colors - Deep Navy */
    --primary-color: #2c3a47;
    --primary-light: #3c5166;
    --primary-lighter: #f5f7fa;
    --primary-dark: #1e2833;
    
    /* Secondary Colors - Slate Gray */
    --secondary-color: #4a5c6c;
    --secondary-light: #8a9fb5;
    --secondary-lighter: #f8fafc;
    
    /* Accent Colors - Teal */
    --accent-color: #2d8a80;
    --accent-light: #8fc9c3;
    --accent-dark: #1d6b62;
    --accent-lightest: #e8f5f4;
    
    /* Text Colors */
    --text-color: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    
    /* Background Colors */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f7fafc;
    
    /* Border & Divider */
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    
    /* Status Colors */
    --success-color: #38a169;
    --info-color: #3182ce;
    --warning-color: #dd6b20;
    --error-color: #e53e3e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #3db8ad);
    --gradient-subtle: linear-gradient(135deg, #f5f7fa, #ffffff);
    --gradient-overlay: linear-gradient(135deg, rgba(44, 58, 71, 0.92) 0%, rgba(60, 81, 102, 0.88) 100%);
    --gradient-card: linear-gradient(135deg, #ffffff, #f8fafc);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ヘッダーの高さ分の余白を確保 */
}

body {
    padding-top: 0;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #3d4852;
    line-height: 1.8;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: -0.3px;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4a5568;
    font-size: 0.9rem;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Spacing */
section {
    padding: 50px 0;
    position: relative;
    background-color: var(--bg-color);
}

/* Alternate section backgrounds */
section:nth-child(even) {
    background-color: #fff;
    background-size: 100%, 20px 20px;
    background-position: 0 0, 0 0;
    background-repeat: no-repeat, repeat;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.3);
}

.btn-accent {
    color: #fff;
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.2);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #c53030, #e53e3e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 12px 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.015);
}

/* Header Navigation */
.header-nav {
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1E88E5;
    text-decoration: underline;
}

.nav-button {
    display: inline-block;
    background: none;
    color: white;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: none;
    text-decoration: none;
}

.nav-button img {
    display: block;
    height: 35px;
    width: auto;
}

header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: 8px 0;
    }
    
    .nav-list {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.6rem;
        padding: 4px 6px;
        white-space: nowrap;
    }
    
    .nav-button {
        padding: 0;
    }
    
    .nav-button img {
        height: 25px;
        width: auto;
        margin-top: 10px;
    }
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-logo {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .header-logo {
    max-height: 40px;
}

/* Feature Box Styling */
.feature-box {
    background: var(--gradient-card);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(66, 153, 225, 0.3);
}

.feature-box:hover:before {
    transform: scaleX(1);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    color: #fff;
}

/* Application Form Styles */

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

/* スマホ向けデフォルトスタイル */
.application-form {
    background: white;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* タブレット向け (600px以上) */
@media (min-width: 600px) {
    .application-form {
        padding: 25px 30px;
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    }
}

/* PC向け (1024px以上) */
@media (min-width: 1024px) {
    .application-form {
        padding: 40px 50px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Honeypot field */
.hidden {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* File upload */
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: #f0f7ff;
}

.file-upload i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

/* Buttons */
.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
}

.submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    margin-left: 10px;
    font-weight: normal;
}

/* Required field indicator */
.required {
    color: #e74c3c;
    margin-left: 4px;
    font-size: 0.9em;
}

.application-form-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
}

.form-description {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.6;
}

.privacy-link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    padding: 2px 8px;
    border-radius: 4px;
}

.privacy-link:hover {
    color: white;
    background-color: #156090;
    text-decoration: none;
    transform: translateY(-1px);
}

.privacy-link:focus {
    outline: 2px solid #156090;
    outline-offset: 2px;
    border-radius: 4px;
    background-color: rgba(21, 96, 144, 0.1);
}

.application-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #e74c3c;
    font-size: 0.9em;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(28, 126, 184, 0.2);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2196F3;
}

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-upload:hover {
    border-color: #2196F3;
    background-color: #f0f7ff;
}

.file-upload i {
    font-size: 24px;
    color: #2196F3;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-name {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.form-footer {
    margin-top: 30px;
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d8a80, #4ac2b7);    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 16px;
}

.submit-button i {
    margin-left: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
    position: relative;
    top: 1px;
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .application-form {
        padding: 20px 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .checkbox-group {
        gap: 15px;
        flex-wrap: wrap;
    }

    .radio-text, .checkbox-text {
        font-size: 0.9rem;
    }

    .submit-button {
        width: 100%;
        padding: 16px;
    }
}

/* Privacy Policy Section */
.privacy-policy {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-top: 60px;
}

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

.privacy-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.privacy-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    padding-bottom: 15px;
}

.privacy-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.privacy-content h3 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.3em;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.privacy-content ul {
    margin: 15px 0 25px 20px;
    padding: 0;
}

.privacy-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.privacy-content ul li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-to-top {
    text-align: center;
    margin-top: 40px;
}

.back-top-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-top-link:hover {
    background-color: #e6c200;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
