/*
Theme Name: Asterisk Theme
Theme URI: https://example.com/asterisk-theme
Description: 製造業界に特化した人材派遣会社「アスタリスク株式会社」のWordPressテーマ。モダンでレスポンシブなデザインと豊富なカスタマイズ機能を備えています。
Author: Your Name
Author URI: https://example.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asterisk-theme
Tags: business, corporate, recruitment, manufacturing, responsive, custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/



/* Tailwind CSS Base */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 201 100% 36%;
    --primary-foreground: 210 40% 98%;
    --secondary: 213 100% 87%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 213 100% 50%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 221.2 83.2% 53.3%;
    --radius: 0.5rem;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo,
.logo-hover {
    width: 60%;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover,
.logo-hover:hover {
    transform: scale(1.05);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 4px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #374151;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-item:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-highlighted {
    background: #60a5fa !important;
    color: white !important;
}

.nav-highlighted:hover {
    background: #3b82f6 !important;
}

.nav-blue {
    background: #2563eb !important;
    color: white !important;
}

.nav-blue:hover {
    background: #1d4ed8 !important;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
}

.nav-subtitle {
    font-size: 12px;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: #374151;
    cursor: pointer;
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
    .nav-desktop {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        flex-direction: column;
        padding: 20px;
        gap: 8px;
    }
    
    .nav-desktop.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 8px;
    }
}

/* Header scroll effects */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background: #e0f2fe;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-grid.reverse .about-content-extended {
    order: 2;
}

.about-grid.reverse .about-image {
    order: 1;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.section-title {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2563eb;
}

.about-main-title {
    color: #2563eb;
    font-size: 48px;
    font-weight: bold;
    margin: 24px 0 16px 0;
    line-height: 1.2;
}

.about-description {
    color: #374151;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text {
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Staffing Section */
.staffing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.staffing-header {
    margin-bottom: 64px;
}

.staffing-title {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.title-highlight {
    background: #2563eb;
    color: white;
    padding: 4px 16px;
}

.title-text {
    color: #2563eb;
}

.staffing-subtitle {
    color: #2563eb;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-number {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 64px;
    height: 64px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.card-icon {
    display: flex;
    justify-content: center;
    padding: 32px 0 16px 0;
}

.card-icon i {
    font-size: 80px;
    color: #2563eb;
}

.card-title {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}

.card-description {
    color: #374151;
    text-align: center;
    line-height: 1.6;
}

.industries-header {
    text-align: center;
    margin: 64px 0 32px 0;
}

.industries-title {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.industry-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.industry-description {
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.6;
}

.industry-link {
    color: #2563eb;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.3s ease;
}

.industry-link:hover {
    transform: translateX(4px);
}

/* Flow Section */
.flow-section {
    padding: 80px 0;
    background: #f0f9ff;
    position: relative;
    overflow: hidden;
}

.flow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-header {
    background: #3b82f6;
    color: white;
    padding: 32px 48px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 300px;
}

.flow-label {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.flow-underline {
    width: 48px;
    height: 4px;
    background: white;
    margin-bottom: 24px;
}

.flow-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon-container {
    position: relative;
}

.step-icon {
    width: 96px;
    height: 96px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.step-icon:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.step-icon i {
    font-size: 48px;
    color: #2563eb;
}

.step-number {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.step-title {
    color: #2563eb;
    font-weight: bold;
    margin-top: 16px;
    text-align: center;
}

.flow-arrow {
    color: #2563eb;
    font-size: 32px;
    margin: 16px 0;
}

/* Job Examples Section */
.job-examples-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.job-examples-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.job-examples-title {
    font-size: 32px;
    font-weight: bold;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.dot.active {
    background: #3b82f6;
}

.job-carousel {
    position: relative;
    margin-bottom: 64px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2563eb;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #1d4ed8;
}

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

.job-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    transition: transform 0.3s ease;
    width: 100%;
}

.job-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-image {
    height: 192px;
    position: relative;
    overflow: hidden;
}

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

.job-card:hover .job-image img {
    transform: scale(1.1);
}

.job-content {
    padding: 16px;
}

.job-title {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 16px;
    min-height: 64px;
}

.job-details {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.job-detail {
    display: flex;
    margin-bottom: 8px;
}

.detail-label {
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
    width: 64px;
    text-align: center;
    flex-shrink: 0;
}

.detail-value {
    font-size: 14px;
}

.job-examples-cta {
    text-align: center;
}

.cta-text {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Interview Section */
.interview-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.interview-header {
    margin-bottom: 48px;
}

.interview-title {
    font-size: 32px;
    font-weight: bold;
}

.interview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.interview-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

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

.interview-card:hover .interview-image img {
    transform: scale(1.1);
}

.interview-category {
    position: absolute;
    top: 0;
    left: 0;
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
}

.interview-content {
    padding: 24px;
    border-top: 4px solid #2563eb;
}

.interview-text {
    color: #1f2937;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.8;
}

.interview-company {
    display: flex;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.company-bar {
    width: 8px;
    height: 32px;
    background: #2563eb;
    margin-right: 12px;
}

.company-name {
    color: #4b5563;
    font-weight: 600;
}

.interview-cta {
    text-align: center;
}

/* Client Section */
.client-section {
    padding: 80px 0;
    background: #f0f9ff;
    position: relative;
    overflow: hidden;
}

.client-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.client-main-title {
    color: #2563eb;
    font-size: 96px;
    font-weight: bold;
    background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.client-subtitle {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 32px;
}

.client-description {
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.8;
}

.client-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: white;
    color: #2563eb;
    padding: 40px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-info {
    margin-bottom: 24px;
}

.footer-logo .logo {
    width: 35%;
    height: auto;
}

.footer-address {
    margin-top: 16px;
    max-width: 320px;
    color: #374151;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-nav-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d4ed8;
}

.footer-nav-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: #1d4ed8;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #dbeafe;
    text-align: center;
}

.footer-copyright p {
    color: #374151;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.back-to-top i {
    font-size: 20px;
}

/* Button Styles */
.btn-primary {
    background: #3b82f6;
    color: white;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #60a5fa;
    color: white;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: #3b82f6;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate,
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { 
    transition-delay: 100ms; 
}
.delay-200 { 
    transition-delay: 200ms; 
}
.delay-300 { 
    transition-delay: 300ms; 
}
.delay-400 { 
    transition-delay: 400ms; 
}
.delay-500 { 
    transition-delay: 500ms; 
}

/* ヒーローセクションのアニメーション */
.hero-text {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-button {
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}

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

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

/* ホバーアニメーション */
.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ボタンアニメーション */
.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-pulse:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc2626;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.wp-block-columns {
    margin: 0;
}

.wp-block-cover {
    margin: 0;
}

/* Gutenberg editor compatibility */
.editor-styles-wrapper {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid.reverse .about-content-extended {
        order: 1;
    }
    
    .about-grid.reverse .about-image {
        order: 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .flow-container {
        flex-direction: row;
        align-items: center;
    }
    
    .flow-header {
        width: 25%;
        margin-bottom: 0;
        margin-right: 32px;
    }
    
    .flow-steps {
        flex-direction: row;
        justify-content: space-between;
        width: 75%;
        padding-left: 32px;
        margin-bottom: 0;
    }
    
    .flow-arrow {
        margin: 0 16px;
    }
    
    .job-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .interview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .client-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* WordPress admin bar compatibility */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}


/*エントリーフォーム*/
/* MW WP Form エントリーフォーム デザイン */
.entry-form-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.entry-form-wrapper h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 24px;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background-color: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #3498db;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.birthday-group {
  display: flex;
  gap: 10px;
}

.birthday-group select {
  flex: 1;
}

/* 郵便番号フィールドを小さく */
.form-group input[name="zipcode"] {
  max-width: 200px;
  display: inline-block;
  width: auto;
}

/* 郵便番号フィールドを1行に並べる */
.form-group input[name="zipcode"]:nth-of-type(1) {
  margin-right: 5px;
}

.form-group input[name="zipcode"]:nth-of-type(2) {
  margin-left: 5px;
}

/* 郵便番号の親要素を調整 */
.form-group .mwform-zip-field {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group .mwform-zip-field input {
  max-width: 90px;
  flex: none;
}

/* 電話番号フィールドを1行に並べる */
.form-group input[name="phone"] {
  max-width: 200px;
  display: inline-block;
  width: auto;
}

.form-group .mwform-tel-field {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group .mwform-tel-field input {
  max-width: 90px;
  flex: none;
}

/* ラジオボタンのスタイル */
.form-group input[type="radio"] {
  margin-right: 8px;
  margin-left: 0;
  width: auto;
  transform: scale(1.2);
}

.form-group .mwform-radio-field {
  display: inline-block;
  margin-right: 25px;
  margin-bottom: 10px;
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.form-group .mwform-radio-field:hover {
  background-color: #e9ecef;
}

.form-group .mwform-radio-field label {
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit input[type="submit"] {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.form-submit input[type="submit"]:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* エラーメッセージ */
.mwform-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  background-color: #fdf2f2;
  padding: 5px 10px;
  border-radius: 4px;
  border-left: 3px solid #e74c3c;
}

/* 必須マーク */
span[style*="color: red"] {
  color: #e74c3c !important;
  font-weight: bold;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .entry-form-wrapper {
    margin: 20px 10px;
    padding: 25px;
  }
  
  .birthday-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .form-group .mwform-radio-field {
    display: block;
    margin-bottom: 10px;
    margin-right: 0;
  }
  
  .form-submit input[type="submit"] {
    width: 100%;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .entry-form-wrapper {
    margin: 15px 5px;
    padding: 20px;
  }
  
  .entry-form-wrapper h2 {
    font-size: 20px;
  }
}



/*お問い合わせフォーム*/
/* MW WP Form お問い合わせフォーム デザイン */
.contact-form-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 24px;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background-color: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit input[type="submit"] {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.form-submit input[type="submit"]:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* エラーメッセージ */
.mwform-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  background-color: #fdf2f2;
  padding: 5px 10px;
  border-radius: 4px;
  border-left: 3px solid #e74c3c;
}

/* 必須マーク */
span[style*="color: red"] {
  color: #e74c3c !important;
  font-weight: bold;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .contact-form-wrapper {
    margin: 20px 10px;
    padding: 25px;
  }
  
  .form-submit input[type="submit"] {
    width: 100%;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    margin: 15px 5px;
    padding: 20px;
  }
  
  .contact-form-wrapper h2 {
    font-size: 20px;
  }
}