/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #3D4490;
    --primary-gradient: linear-gradient(135deg, #3D4490 0%, #5994FF 50%, #83C3FF 100%);
    --secondary-color: #5994FF;
    --accent-color: #83C3FF;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #1f2937;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: "Lato", sans-serif, "Osaka", "Noto Sans JP", sans-serif !important;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.fa-chevron-down {
    color: var(--primary-color);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    outline: none;
}

.btn:focus {
    outline: none;
}

.btn:active {
    outline: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo h1 {
    font-size: 1.8rem;
    color: #000000;
    margin: 0;
    font-weight: 600;
    font-family: 'Klee One', cursive, 'Noto Sans JP', sans-serif;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

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

.nav-list a:focus {
    outline: none;
}

.nav-list a:active {
    outline: none;
}

.btn-contact {
    background: linear-gradient(135deg, #3D4490 0%, #5994FF 50%, #83C3FF 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(61, 68, 144, 0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #5994FF 0%, #83C3FF 50%, #3D4490 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 68, 144, 0.4);
}

.btn-contact:focus {
    outline: none;
}

.btn-contact:active {
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* メインビジュアル */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 背景画像レイヤー */
.hero-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-background-layer.active {
    opacity: 1;
}

.hero-background-layer.inactive {
    opacity: 0;
}

/* グラデーションオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-title-main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: #83C3FF;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-highlight {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    /* justify-content: center; */
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-gradient);
    color: white;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.highlight-item:hover i {
    color: white;
}

.highlight-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-animation {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    font-family: 'Courier New', monospace;
    color: #10b981;
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
    opacity: 0;
    visibility: hidden;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-line:last-child {
    margin-bottom: 0;
}

/* コード出力部分 */
.code-output {
    position: absolute;
    top: 20%;
    right: 5%;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    border-left: 4px solid #10b981;
    min-width: 400px;
    max-width: 600px;
    backdrop-filter: blur(10px);
    background-color: rgba(26, 26, 26, 0.95);
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

.output-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInLeft 0.5s ease-out forwards;
}

.output-line:last-child {
    margin-bottom: 0;
}

.output-line:nth-child(1) {
    animation-delay: 0.5s;
}

.output-line:nth-child(2) {
    animation-delay: 1s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.2),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes glowRing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
}

@keyframes successGlow {
    0% {
        background: linear-gradient(45deg, transparent, transparent);
    }
    50% {
        background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    }
    100% {
        background: linear-gradient(45deg, transparent, transparent);
    }
}

/* スクロールボタン */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    color: #83C3FF;
    transform: translateY(-5px);
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.scroll-down:hover .scroll-arrow {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

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

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 60px;
}

/* Our Mission */
.mission {
    padding: 80px 0;
    background: url('../img/mission.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission .section-title {
    color: white;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        1px -1px 2px rgba(0, 0, 0, 0.8),
        -1px 1px 2px rgba(0, 0, 0, 0.8);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    text-align: left;
}

.mission-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0;
    color: white;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        1px -1px 2px rgba(0, 0, 0, 0.8),
        -1px 1px 2px rgba(0, 0, 0, 0.8);
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 215, 0, 0.3);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: glowPulse 2s infinite;
    position: relative;
}

.mission-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowRing 3s infinite;
    z-index: -1;
}

/* 強み・特徴 */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* 会社概要 */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.company-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--text-color);
}

.info-value {
    color: var(--text-light);
}

/* 代表者情報 */
.representative-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.representative-info h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.representative-experience {
    margin-bottom: 2rem;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.experience-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.experience-item h5 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.experience-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.representative-message {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-top: 2rem;
}

.representative-message::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.representative-message p {
    color: white;
    margin: 0;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.office-image {
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* サービス */
.services {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.expertise-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
    position: relative;
}

.expertise-badge::before {
    content: '★';
    margin-right: 0.25rem;
    color: #ffeb3b;
}

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

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ポートフォリオ */
.portfolio {
    padding: 80px 0;
    background: url('../img/dev_image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    z-index: 1;
    will-change: backdrop-filter;
}

.portfolio .container {
    position: relative;
    z-index: 2;
}

.portfolio .section-title {
    color: white;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        1px -1px 2px rgba(0, 0, 0, 0.8),
        -1px 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content p {
    color: white;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        1px -1px 2px rgba(0, 0, 0, 0.8),
        -1px 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-category {
    color: #83C3FF;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-tech {
    margin-top: 1rem;
}

.tech-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(61, 68, 144, 0.3) 0%, rgba(89, 148, 255, 0.3) 50%, rgba(131, 195, 255, 0.3) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(61, 68, 144, 0.5);
    box-shadow: 0 2px 4px rgba(61, 68, 144, 0.2);
}

/* ニュース */
.news {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.news-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: var(--text-light);
    font-weight: 500;
    min-width: 100px;
}

.news-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

/* 採用情報 */
.recruit {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.recruit-content {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-text {
    text-align: center;
    margin-bottom: 3rem;
}

.recruit-text h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.recruit-positions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.position-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.position-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.position-requirements {
    margin-top: 1rem;
}

.req-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.recruit-benefits {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.recruit-benefits h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.recruit-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.recruit-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.recruit-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.recruit-action {
    text-align: center;
}

/* 主要取引先 */
.clients {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.clients-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.clients-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(61, 68, 144, 0.9) 100%);
    z-index: 2;
}

.clients .container {
    position: relative;
    z-index: 3;
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.clients-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.clients-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.clients-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.clients-logos {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
    /* タッチスワイプ対応 */
    touch-action: pan-y pinch-zoom;
    /* スムーズスクロール */
    scroll-behavior: smooth;
    /* パフォーマンス最適化 */
    will-change: transform;
    /* ハードウェアアクセラレーション */
    transform: translateZ(0);
}

.clients-logos::-webkit-scrollbar {
    display: none;
}

.clients-logos {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    min-width: 260px;
    max-width: 260px;
    padding: 1rem;
    flex-shrink: 0;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.logo-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 1);
}

.logo-placeholder:hover::before {
    left: 100%;
}

/* クライアントロゴ画像 */
.client-logo-image {
    width: 176px;
    height: 76px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.logo-placeholder:hover .client-logo-image {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

/* 病院ロゴ */
.logo-placeholder.hospital {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}

.hospital-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cross {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hospital-text {
    font-size: 0.7rem;
    line-height: 1.2;
    font-weight: 600;
}

/* Takashoロゴ */
.logo-placeholder.takasho {
    background-color: white;
    border: none;
    box-shadow: var(--shadow);
}

.takasho-pattern {
    display: flex;
    gap: 2px;
    margin-right: 0.5rem;
}

.pattern-square {
    width: 8px;
    height: 8px;
    border-radius: 1px;
}

.pattern-square.red { background-color: #ef4444; }
.pattern-square.yellow { background-color: #f59e0b; }
.pattern-square.green { background-color: #10b981; }
.pattern-square.purple { background-color: #8b5cf6; }

/* Ambition DXロゴ */
.logo-placeholder.ambition {
    background-color: white;
    border: none;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0.25rem;
}

.ambition-main {
    color: #ef4444;
    font-weight: 700;
    font-size: 1rem;
}

.ambition-sub {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 500;
}

/* NIOEHロゴ */
.logo-placeholder.nioeh {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

.nioeh-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tree-symbol {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nioeh-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* TEPCOロゴ */
.logo-placeholder.tepco {
    background-color: white;
    border: none;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0.25rem;
}

.tepco-main {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.2rem;
}

.tepco-sub {
    color: var(--text-color);
    font-size: 0.6rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Vinorsoftロゴ */
.logo-placeholder.vinorsoft {
    background-color: white;
    border: none;
    box-shadow: var(--shadow);
}

.vinorsoft-text {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ナビゲーション */
.clients-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-arrow:focus {
    outline: none;
}

.nav-arrow:active {
    outline: none;
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
}

.dot:hover {
    background-color: var(--accent-color);
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item small {
    color: var(--text-light);
}

/* フォーム */
.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* フォームのボタンにもoutlineを消す */
.form-group button:focus {
    outline: none;
}

.form-group button:active {
    outline: none;
}

/* フッター */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.footer-logo h3 {
    color: #ffffff;
    margin: 0;
    font-family: 'Klee One', cursive;
    font-weight: 600;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: #cccccc;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1rem;
    text-align: center;
    color: #ffffff;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロールアニメーション */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    filter: blur(2px);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* 開発実績セクション専用の滑らかなアニメーション */
.portfolio-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.portfolio-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 開発実績セクションの各アイテムに遅延を追加 */
.portfolio-item:nth-child(1) { transition-delay: 0.05s; }
.portfolio-item:nth-child(2) { transition-delay: 0.1s; }
.portfolio-item:nth-child(3) { transition-delay: 0.15s; }

/* セクション内の要素の段階的アニメーション */
.scroll-animate.animate .section-title {
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.scroll-animate.animate .feature-card {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.scroll-animate.animate .service-card {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.scroll-animate.animate .news-item {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.scroll-animate.animate .client-logo-item {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

/* フェードインアップアニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* フォームメッセージ表示 */
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ef4444;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.php-email-form .error-message br+br {
  margin-top: 25px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: var(--success-color);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--primary-color);
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* フォーム送信ボタン */
.php-email-form button[type=submit] {
  background: var(--primary-gradient);
  border: 0;
  padding: 12px 34px;
  color: #fff;
  transition: var(--transition);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
}

.php-email-form button[type=submit]:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* チャットボット風お問い合わせボタン */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.chat-widget.show {
    opacity: 1;
    transform: translateY(0);
}

.chat-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ffd93d 100%);
    border: none;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.4),
        0 0 20px rgba(255, 142, 83, 0.3),
        0 0 40px rgba(255, 217, 61, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: chatGlow 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 12px 35px rgba(255, 107, 107, 0.6),
        0 0 30px rgba(255, 142, 83, 0.5),
        0 0 60px rgba(255, 217, 61, 0.3);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-button:focus {
    outline: none;
}

.chat-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 8px solid transparent;
    border-top-color: #ff8e53;
}

.chat-widget:hover .chat-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@keyframes chatGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes chatBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.chat-widget.animate {
    animation: chatBounce 2s ease-in-out;
}

/* アラートメッセージ */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: 1px solid transparent;
    animation: slideInDown 0.3s ease-out;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

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

/* 必須項目のスタイル */
.required {
    color: var(--error-color);
    font-weight: bold;
}

/* フォーム送信ボタンの状態 */
.php-email-form button[type="submit"]:disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
    transform: none !important;
}

.php-email-form button[type="submit"]:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ローディング状態のスタイル */
.loading {
    display: none;
    text-align: center;
    padding: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 送信完了メッセージのスタイル */
.sent-message {
    display: none;
    text-align: center;
    padding: 15px;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin: 10px 0;
}

/* エラーメッセージのスタイル */
.error-message {
    display: none;
    text-align: center;
    padding: 15px;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin: 10px 0;
}

/* セレクトボックスのカスタムスタイル */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D4490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    transition: var(--transition);
    background-color: var(--bg-color);
}

select.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 68, 144, 0.1);
}

select.form-control:hover {
    border-color: var(--primary-color);
}

/* iOS Safari用の追加スタイル */
@supports (-webkit-touch-callout: none) {
    select.form-control {
        -webkit-appearance: none;
        border-radius: var(--border-radius);
        background-color: var(--bg-color);
    }
}

/* セレクトボックスのオプションスタイル */
select.form-control option {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 8px 12px;
}

/* プレースホルダーオプションのスタイル */
select.form-control option[value=""] {
    color: var(--text-light);
}

/* 送信ボタンのレスポンシブスタイル */
.php-email-form .text-center {
    text-align: center;
    margin-top: 20px;
}

.php-email-form button[type="submit"] {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    min-width: 200px;
}

.php-email-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* スマホ用の送信ボタンスタイル */
@media (max-width: 768px) {
    .php-email-form .text-center {
        text-align: center;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .php-email-form button[type="submit"] {
        width: 100%;
        max-width: 300px;
        padding: 18px 20px;
        font-size: 1.2rem;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(61, 68, 144, 0.3);
        margin: 0 auto;
        display: block;
    }
    
    .php-email-form button[type="submit"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(61, 68, 144, 0.4);
    }
    
    .php-email-form button[type="submit"]:active {
        transform: translateY(-1px);
    }
}

/* タブレット用の送信ボタンスタイル */
@media (min-width: 769px) and (max-width: 1024px) {
    .php-email-form button[type="submit"] {
        padding: 16px 50px;
        font-size: 1.15rem;
        min-width: 250px;
    }
}
