/*!
Theme Name: Iridescence Corporate
Description: ARディスプレイ開発企業向けカスタムテーマ (Based on Anima/Figma export)
Version: 5.0.0
Author: Iridescence Inc.
Text Domain: iridescence
*/

/* Import MuseoModerno Font */
@import url("https://fonts.googleapis.com/css?family=MuseoModerno:700,400&display=swap");

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

/* Base Styles */
body {
    font-family: 'MuseoModerno', 'Helvetica', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'MuseoModerno', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

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

.container-hero {
    max-width: 1920px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
}

.section-hero {
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding-bottom: 180px;
    padding-left: 120px;
    perspective: 1500px;
    transform-style: preserve-3d;
    isolation: isolate;
}

/* Shared gradient background for about, products, services */
.gradient-section-group {
    background: linear-gradient(152deg, rgba(211, 212, 210, 1) 0%, rgba(255, 215, 172, 1) 99%);
}

.section-about {
    color: #333333;
    padding: 180px 0;
}

.section-products {
    color: #333333;
}

.section-services {
    color: #333333;
}

.section-team {
    background: #000000;
    color: #ffffff;
}

.section-company {
    background: linear-gradient(152deg, rgba(211, 212, 210, 1) 0%, rgba(255, 215, 172, 1) 99%);
    color: #333333;
}

.section-contact {
    background: #000000;
    color: #ffffff;
}

/* Typography */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'MuseoModerno', sans-serif;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: left;
    color: #ffffff;
    position: relative;
    z-index: 3;
}

/* Alternative approach: Use backdrop-filter or CSS custom properties */
.section-hero .hero-title {
    /* Use CSS custom property that will be updated by JavaScript */
    color: var(--hero-text-color, #ffffff);
    transition: color 0.1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 0;
    text-align: left;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card Components */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-content {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Service Image Styling */
.card-image {
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.card-link:hover {
    color: #666666;
}

.card-link::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(5px);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .service-image {
    transform: scale(1.05);
}

/* Staggered layout for service cards */
.section-services .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
    position: relative;
}

.section-services .grid-3 .card {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.section-services .grid-3 .card .card-image {
    flex-shrink: 0;
}

.section-services .grid-3 .card .card-title {
    flex-shrink: 0;
}

.section-services .grid-3 .card .card-content {
    flex: 1;
}

/* Create staggered positioning using transform instead of margin-top */
.section-services .grid-3 .card:nth-child(1) {
    transform: translateY(0) !important;
    transition: transform 0.3s ease !important;
}

.section-services .grid-3 .card:nth-child(2) {
    transform: translateY(3rem) !important;
    transition: transform 0.3s ease !important;
}

.section-services .grid-3 .card:nth-child(3) {
    transform: translateY(6rem) !important;
    transition: transform 0.3s ease !important;
	margin-bottom: 100px;
}

/* Ensure staggered layout applies even after animations */
.section-services .grid-3 .card:nth-child(1).opacity-100 {
    transform: translateY(0) !important;
}

.section-services .grid-3 .card:nth-child(2).opacity-100 {
    transform: translateY(3rem) !important;
}

.section-services .grid-3 .card:nth-child(3).opacity-100 {
    transform: translateY(6rem) !important;
}

/* Override general card hover effects for services */
.section-services .card:hover {
    transform: none !important;
}

/* Adjust hover effects to work with staggered layout */
.section-services .grid-3 .card:nth-child(1):hover {
    transform: translateY(-5px) !important;
}

.section-services .grid-3 .card:nth-child(2):hover {
    transform: translateY(3rem) translateY(-5px) !important;
}

.section-services .grid-3 .card:nth-child(3):hover {
    transform: translateY(6rem) translateY(-5px) !important;
}

/* Add padding-bottom to container to account for the staggered layout */
.section-services .container {
    padding-bottom: 6rem;
}

.card-light {
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    min-height: 300px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: calc(100% - 2.5rem);
    object-fit: cover;
    order: 2;
    border-radius: 15px;
}

.product-content {
    padding: 2.5rem;
    order: 1;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333333;
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 1.5rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #666666;
}

.product-link::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.product-link:hover::after {
    transform: translateX(5px);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Mobile responsive for products */
@media (max-width: 768px) {
    .product-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .product-image {
        order: 1;
        height: auto;
        width: 100%;
        margin: 0;
        border-radius: 15px;
        object-fit: contain;
        object-position: center;
    }

    .product-content {
        order: 2;
        padding: 2rem;
    }

    .product-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-description {
        margin-bottom: 1rem;
    }
}

/* Team Members */

.team-member-list {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}

.team-member {
    text-align: center;
	width: 25%;
}

@media (max-width: 768px) {
	.team-member-list {
		display: flex;
		flex-direction: column;
		gap: 2rem;	
	}
	
	.team-member {
		width: 100%;
	}
}

/* Members Section Grid Centering */
.section-team .grid {
    justify-content: center;
    justify-items: center;
}

/* Special handling for 2 members in 4-column grid */
.section-team .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.section-team .grid-4 .team-member {
    grid-column: span 1;
}

/* Position the 2 members in the center columns (2nd and 3rd) */
.section-team .grid-4 .team-member:nth-child(1) {
    grid-column: 2;
}

.section-team .grid-4 .team-member:nth-child(2) {
    grid-column: 3;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    text-align: left;
}

/* Company Section Layout */
.company-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.70);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 2rem;
}

.company-header {
    position: absolute;
    top: 48px;
    left: 2rem;
}

.company-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
    font-family: 'MuseoModerno', sans-serif;
}

.company-subtitle {
    font-size: 1.25rem;
    color: #666666;
    opacity: 0.8;
}

.company-table {
    margin-left: 320px;
    margin-right: 0;
    background: transparent;
}

.company-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    background: transparent;
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
}

.company-value {
    padding: 1.5rem 2rem;
    color: #333333;
    display: flex;
    align-items: center;
    line-height: 1.6;
    background: transparent;
}

/* Mobile responsive for company section */
@media (max-width: 1024px) {
    .company-container {
        margin: 0 1rem;
        padding: 48px 0 0 1.5rem;
    }

    .company-header {
        left: 1.5rem;
    }

    .company-title {
        font-size: 2.5rem;
    }

    .company-table {
        margin-left: 280px;
    }
}

@media (max-width: 768px) {

    .company-container {
        margin: 0 1rem;
        padding: 2rem 0 0 0;
        position: static;
    }

    .company-header {
        position: static;
        text-align: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .company-title {
        font-size: 2rem;
    }

    .company-subtitle {
        font-size: 1.1rem;
    }

    .company-table {
        margin-left: 0;
    }

    .company-row {
        grid-template-columns: 120px 1fr;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .company-label {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        background: rgba(0, 0, 0, 0.05);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .company-value {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        background: transparent;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    font-family: 'MuseoModerno', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'MuseoModerno', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
    background: #000000;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Animations */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease forwards;
}

.animate-slide-in-left {
    animation: slide-in-left 0.8s ease forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease forwards;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Bubble Animation */
.bubble-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.bubble {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-hero {
        padding-bottom: 60px;
        padding-left: 20px;
        align-items: center;
        justify-content: center;
    }

    .container-hero {
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    /* Reset staggered layout on mobile */
    .section-services .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }

    .section-services .grid-3 .card {
        height: auto;
        display: block;
        position: static;
    }

    .section-services .grid-3 .card .card-image {
        flex-shrink: initial;
    }

    .section-services .grid-3 .card .card-title {
        flex-shrink: initial;
    }

    .section-services .grid-3 .card .card-content {
        flex: none;
        display: block;
    }

    .section-services .grid-3 .card:nth-child(1),
    .section-services .grid-3 .card:nth-child(2),
    .section-services .grid-3 .card:nth-child(3) {
        transform: none;
    }

    .section-services .grid-3 .card:nth-child(1):hover,
    .section-services .grid-3 .card:nth-child(2):hover,
    .section-services .grid-3 .card:nth-child(3):hover {
        transform: translateY(-5px);
    }

    .section-services .container {
        padding-bottom: 0;
    }

    .nav-menu {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .product-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-hero {
        padding-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Scroll Lock */
body.scroll-locked {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Prevent scroll lock when hero is disabled */
body.hero-disabled.scroll-locked {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: auto !important;
    left: auto !important;
    right: auto !important;
    margin: auto !important;
    padding: auto !important;
}

/* Contact Form Messages */
.contact-message {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-family: 'MuseoModerno', sans-serif;
    font-weight: 700;
}

.contact-message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.3));
    border: 2px solid rgba(34, 197, 94, 0.5);
    color: rgba(34, 197, 94, 1);
}

.contact-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
    border: 2px solid rgba(239, 68, 68, 0.5);
    color: rgba(239, 68, 68, 1);
}


/* ==========================================================================
Contact Form 7 スタイル - Iridescence コーポレートサイト
========================================================================== */
/* フォーム全体のスタイル */
.wpcf7-form {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	padding: 2.5rem;
	border-radius: 12px;
	box-shadow:
		0 10px 10px rgba(255, 255, 255, 0.2),
		0 5px 20px rgba(255, 255, 255, 0.4);
	position: relative;
	margin: auto;
}

.wpcf7-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 12px 12px 0 0;
}

/* ラベルのスタイル */
.wpcf7-form label {
	display: block;
	font-weight: 600;
	color: #2c3e50;
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

/* 段落の間隔 */
.wpcf7-form p {
	margin-bottom: 1.5rem;
}

.wpcf7-form p:last-of-type {
	margin-bottom: 0;
	text-align: center;
	margin-top: 2rem;
}

/* 入力フィールドの共通スタイル */
.wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e1e8ed;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background-color: #fff;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

/* フォーカス時のスタイル */
.wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: #007cba;
	box-shadow:
		0 0 0 3px rgba(0, 124, 186, 0.1),
		0 2px 8px rgba(0, 124, 186, 0.15);
	background-color: #fcfcfc;
}

/* エラー状態 */
.wpcf7-form-control.wpcf7-not-valid {
	border-color: #dc3545;
	background-color: #fff5f5;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
	border-color: #dc3545;
	box-shadow:
		0 0 0 3px rgba(220, 53, 69, 0.1),
		0 2px 8px rgba(220, 53, 69, 0.15);
}

/* テキストエリア特有のスタイル */
.wpcf7-textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.6;
}

/* 送信ボタンのスタイル */
.wpcf7-submit {
	background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
	color: white;
	border: none;
	padding: 14px 40px;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	min-width: 140px;
	box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.wpcf7-response-output {
	color: black;
}

.wpcf7-submit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.wpcf7-submit:hover {
	background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

.wpcf7-submit:hover::before {
	left: 100%;
}

.wpcf7-submit:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(0, 124, 186, 0.3);
}

/* スピナー */
.wpcf7-spinner {
	display: block;
	margin-left: 10px;
	vertical-align: middle;
}

/* レスポンスメッセージ */
.wpcf7-response-output {
	margin-top: 1.5rem;
	padding: 1rem;
	border-radius: 8px;
	font-weight: 500;
	text-align: center;
}

.wpcf7-mail-sent-ok {
	background-color: #d1edff;
	border: 1px solid #007cba;
	color: #0056b3;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
	background-color: #f8d7da;
	border: 1px solid #dc3545;
	color: #721c24;
}

/* 必須フィールドのマーク */
.wpcf7-validates-as-required + span::after {
	content: ' *';
	color: #dc3545;
	font-weight: bold;
}

/* ==========================================================================
レスポンシブデザイン
========================================================================== */

/* タブレット */
@media (max-width: 768px) {
	.contact-section {
		padding: 60px 20px;
	}

	.wpcf7-form {
		padding: 2rem;
		margin: 0 10px;
	}

	.wpcf7-form-control:not(.wpcf7-submit) {
		padding: 14px 16px;
		font-size: 1rem;
	}

	.wpcf7-submit {
		padding: 16px 35px;
		font-size: 1.05rem;
	}
}

/* スマートフォン */
@media (max-width: 480px) {
	.contact-section {
		padding: 40px 15px;
	}

	.wpcf7-form {
		padding: 1.5rem;
		margin: 0 5px;
		border-radius: 8px;
	}

	.wpcf7-form-control:not(.wpcf7-submit) {
		padding: 16px 14px;
		font-size: 16px; /* iOS のズーム防止 */
	}

	.wpcf7-textarea {
		min-height: 100px;
	}

	.wpcf7-submit {
		width: 100%;
		padding: 18px 20px;
		font-size: 1.1rem;
		border-radius: 8px;
	}
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.wpcf7-form {
		box-shadow:
			0 10px 30px rgba(0, 0, 0, 0.12),
			0 1px 8px rgba(0, 0, 0, 0.08);
	}
}