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

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    background-color: #fffbf7;
    color: #333;
    overflow-x: hidden;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-15px,0);
    }
    70% {
        transform: translate3d(0,-7px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* スクロールアニメーション用クラス */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* ヘッダー */
.header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}
.logo img{
    height: 30px;
}

.nav {
    display: flex;
    gap: 0;
}

.nav a {
    padding: 20px 24px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
}

.nav a:visited {
    color: #64748b;
}

.nav a:hover {
    background: #fff7ed;
    color: #f97316;
}

.nav-contact {
    background: linear-gradient(135deg, #ff8c00, #ff6b00) !important;
    color: white !important;
    border-radius: 25px !important;
    margin-left: 20px !important;
    padding: 8px 24px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.nav-contact:hover {
    background: linear-gradient(135deg, #ea580c, #d97706) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルナビ */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 500px;
}

.mobile-nav a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: #fff7ed;
    color: #f97316;
}

.mobile-contact {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: white !important;
    font-weight: bold !important;
    text-align: center !important;
    margin: 20px !important;
    border-radius: 25px !important;
    border-bottom: none !important;
}

.mobile-contact:hover {
    background: linear-gradient(135deg, #ea580c, #d97706) !important;
    color: white !important;
}

/* メインビジュアル */
.hero {
    height: 500px;
    background-image: url('../img/hero-img.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(234, 88, 12, 0.3) 90%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: bounce 2s ease-out 0.5s both;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.cta-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-top: 80px;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #6c757d;
    font-size: 14px;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05));
    z-index: 1;
}

.page-header h1 {
    font-size: 42px;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* 会社情報ページのヘッダー */
.about-page-header {
    background-image: url('../img/about-back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
}

.contact-page-header {
    background-image: url('../img/about-back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
}
.faq-page-header {
    background-image: url('../img/faq-back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
}
.faq-page-header h1 {
    color: white;
}

.reasons-page-header {
    background-image: url('../img/hero-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
}

.reasons-page-header h1 {
    color: white;
}
.about-page-header h1 {
    color: white;
}

.contact-page-header h1 {
    color: white;
}

.service-page-header {
    background-image: url('../img/back-img01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
}

.service-page-header h1 {
    color: white;
}
/* セクション共通 */
.section {
    padding: 80px 20px;
    background: white;
}


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

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    margin: 20px auto;
    border-radius: 2px;
}

/* 代表メッセージ */
.ceo-message {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.ceo-photo {
    width: 200px;
    height: 200px;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 8px;
}
.ceo-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-content {
    flex: 1;
}

.ceo-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

.ceo-signature {
    margin-top: 30px;
    text-align: right;
}

.ceo-signature p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* ミッション */
.mission-content {
    text-align: center;
    margin-top: 40px;
}

.mission-quote {
    margin-bottom: 30px;
}

.mission-quote p {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.mission-content p {
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* 創業ストーリー */
.founding-story {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.founding-story p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

/* 創業ストーリーセクションの背景画像 */
.sougyo-story {
    background-image: url('../img/select-img03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.sougyo-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.sougyo-story .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sougyo-story .section-title::after {
    background: #fff;
}

/* 会社概要 */
.company-info {
    margin-top: 40px;
}

.company-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.company-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    width: 30%;
}

.company-table td {
    color: #333;
}

/* サービス概要 */
.service-overview {
    text-align: center;
    background: linear-gradient(135deg, #fff7ed, #fef3e2);
    padding: 60px;
    border-radius: 20px;
    border: 2px solid #fed7aa;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.service-overview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.service-overview p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* サービスメッセージ（代表メッセージスタイル） */
.service-message {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.service-icon {
    width: 200px;
    height: 200px;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 8px;
}
.service-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    animation: float 3s ease-in-out infinite;
}

.icon-text {
    font-size: 18px;
    font-weight: bold;
}

.service-content {
    flex: 1;
}

.service-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

/* サービス特徴（aboutページの特徴スタイル） */
.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-feature {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-feature:hover::before {
    left: 100%;
}

.service-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.service-feature:hover .service-feature-icon {
    transform: rotate(360deg) scale(1.1);
    animation: none;
}

.feature-icon-text {
    font-size: 16px;
    font-weight: bold;
}

.service-feature h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
}

.service-feature-image {
    margin: 20px 0;
}

.service-feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-feature p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.service-feature-list li {
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
}

/* 料金プランテーブル（会社概要テーブルスタイル） */
.pricing-info {
    margin-top: 40px;
}

.pricing-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.pricing-table th {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.pricing-table td {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.pricing-table tr:hover {
    background: #fff7ed;
}

.featured-row {
    background: linear-gradient(135deg, #fff7ed, #fef3e2);
    border-left: 4px solid #f97316;
}

.featured-row td:first-child {
    font-weight: bold;
    color: #f97316;
}

/* 料金目安（実績カード） */
.pricing-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-case {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.pricing-case:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
    border-color: #f97316;
}

.case-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.case-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 8px;
}

.case-title {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-info {
    margin-bottom: 20px;
}

.case-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.case-detail:last-child {
    border-bottom: none;
}

.case-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.case-value {
    font-size: 16px;
    font-weight: bold;
    color: #f97316;
}

.case-link {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.case-link a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.case-link a:hover {
    color: #ea580c;
    transform: translateX(4px);
}

.case-link a::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.case-link a:hover::after {
    transform: translateX(4px);
}

.pricing-contact {
    margin-top: 40px;
    text-align: center;
}

.pricing-contact .cta-button {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.pricing-contact .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

/* 制作フローテーブル */
.workflow-info {
    margin-top: 40px;
}

.workflow-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.workflow-table th,
.workflow-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.workflow-table th {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.workflow-table td {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.workflow-table tr:hover {
    background: #fff7ed;
}

.workflow-table td:first-child {
    text-align: center;
    font-weight: bold;
    color: #f97316;
    background: #fff7ed;
    width: 80px;
}

/* 選ばれる理由 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* .animate-scaleが適用されている.feature要素のホバー時も正しく動作するように */
/* 詳細度を高めて.animate-scale.animate-inのtransformを上書き */
.feature.animate-scale:hover,
.feature.animate-scale.animate-in:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00) ;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.feature:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    animation: none;
}

.feature-overlay {
    pointer-events: none;
}

.feature-content {
    pointer-events: auto;
}

.feature h3 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.feature p {
    color: #64748b;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.9);
    padding: 1em;
    border-radius: 10px;
}

.features-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.more-link {
    text-align: center;
    margin-top: 40px;
}

.more-link a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.more-link a:hover {
    color: #ea580c;
}

/* サービス一覧 */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
    border-color: #f97316;
}

.service-item h3 {
    font-size: 22px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.service-item li {
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
}

.service-item img {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

/* 料金プラン */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.plan-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #f97316;
}

.plan-card:hover::before {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.plan-card.featured {
    border-color: #f97316;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.2);
}

.plan-card.featured::before {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.plan-card.featured::after {
    content: 'おすすめ';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.plan-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.plan-price {
    font-size: 36px;
    font-weight: bold;
    color: #f97316;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.plan-price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: translateY(-50%);
}

.plan-price::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: translateY(-50%);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
    position: relative;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
    font-size: 16px;
}

.plan-features li:hover {
    color: #f97316;
    padding-left: 30px;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* 制作フロー */
.workflow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.workflow::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c, #f97316);
    z-index: 1;
}

.workflow-intro {
    margin-bottom: 40px;
}

.workflow-step {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.workflow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
    border-color: #f97316;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.workflow-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.workflow-summary {
    background: linear-gradient(135deg, #fff7ed, #fef3e2);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #f97316;
}

.workflow-step-icon {
    width: 100%;
    max-width: 100px;
    margin: 0 auto 10px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.workflow-step-icon img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.workflow-step:hover .workflow-step-icon img {
    transform: scale(1.05);
}

.workflow-summary p {
    color: #1e293b;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.workflow-step h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
}

.workflow-step > p {
    color: #64748b;
    line-height: 1.8;
    font-size: 14px;
    flex: 1;
}

/* お客様の声 */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.testimonial-avatar {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.testimonial h4 {
    text-align: center;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
}

.testimonial-content {
    background: #fff7ed;
    padding: 20px;
    border-radius: 8px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-link {
    text-align: center;
}

.testimonial-link a {
    color: #f97316;
    text-decoration: none;
    font-size: 14px;
}

/* メディア実績 */
.media-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.media-logo {
    width: 120px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.4s ease;
    animation: float 2s ease-in-out infinite;
}

.media-logo:nth-child(2) {
    animation-delay: 0.2s;
}

.media-logo:nth-child(3) {
    animation-delay: 0.4s;
}

.media-logo:nth-child(4) {
    animation-delay: 0.6s;
}

.media-logo:hover {
    transform: scale(1.05) rotate(2deg);
    background: #fff7ed;
    border-color: #f97316;
    color: #f97316;
    animation: none;
}

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    font-weight: 500;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fff7ed;
}

.faq-toggle {
    font-size: 24px;
    color: #64748b;
    transition: all 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #f97316;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff7ed;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* SEOテキスト */
.seo-text {
    background: white;
    padding: 60px;
    border-radius: 16px;
    border: 1px solid #fed7aa;
    margin-top: 60px;
}

.seo-text h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
}

.seo-text p {
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
}

/* フッター */
.footer {
    background: #1e293b;
    padding: 60px 20px 20px;
    color: white;
}

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

.footer-logo {
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 40px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:visited {
    color: #cbd5e1;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e1;
    font-size: 14px;
}
.footer-logo-img{
    height: 80px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .features,
    .services,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .features-bottom {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .media-logos {
        gap: 20px;
    }

    .media-logo {
        width: 100px;
        height: 50px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .section {
        padding: 60px 20px;
    }

    .service-overview {
        padding: 40px 20px;
    }

    .seo-text {
        padding: 40px 20px;
    }

    /* サービス一覧のレスポンシブ */
    .services {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item {
        padding: 30px 20px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    /* 料金プランのレスポンシブ */
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 料金目安（実績カード）のレスポンシブ */
    .pricing-cases {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-case {
        padding: 25px 20px;
    }

    .plan-card {
        padding: 40px 20px;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured::after {
        top: 10px;
        right: -25px;
        padding: 6px 30px;
        font-size: 11px;
    }

    .plan-price {
        font-size: 28px;
    }

    .plan-price::before,
    .plan-price::after {
        width: 20px;
    }

    /* 制作フローのレスポンシブ */
    .workflow {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow::before {
        display: none;
    }

    .workflow-step {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .workflow-step-icon {
        margin-bottom: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .workflow-summary {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .workflow-summary p {
        font-size: 13px;
    }

    .workflow-step h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .workflow-step > p {
        font-size: 13px;
    }

    /* サービスメッセージのレスポンシブ */
    .service-message {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .service-icon {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
        font-size: 20px;
    }

    .icon-text {
        font-size: 16px;
    }

    /* サービス特徴のレスポンシブ */
    .service-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-feature {
        padding: 30px 20px;
    }

    .service-feature h3 {
        font-size: 18px;
    }

    .service-feature-image img {
        height: 150px;
    }

    /* テーブルのレスポンシブ */
    .pricing-table,
    .workflow-table {
        font-size: 14px;
    }

    .pricing-table th,
    .pricing-table td,
    .workflow-table th,
    .workflow-table td {
        padding: 15px 10px;
    }

    .pricing-table th,
    .workflow-table th {
        font-size: 14px;
    }

    .pricing-table td,
    .workflow-table td {
        font-size: 13px;
    }

    /* 会社情報ページのレスポンシブ */
    .ceo-message {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .ceo-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .ceo-signature {
        text-align: center;
    }

    .mission-quote p {
        font-size: 20px;
    }

    .company-table {
        font-size: 14px;
    }

    .company-table th,
    .company-table td {
        padding: 10px 15px;
    }

    /* 創業ストーリーのレスポンシブ */
    .founding-story {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .founding-story p {
        font-size: 15px;
    }
}

/* FAQ タブメニュー */
.tab-menu {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-button:hover {
    color: #333;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.tab-button.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
    background: #fff7ed;
    border-radius: 8px 8px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* FAQ アイテム */
.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-item.active .faq-question {
    background: #fff7ed;
    color: #ff6b35;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: #ff6b35;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

/* FAQ イントロ */
.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-intro h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tab-menu {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer.active {
        padding: 20px;
    }
    
    .faq-intro h2 {
        font-size: 24px;
    }
    
    .faq-intro p {
        font-size: 15px;
        padding: 0 20px;
    }
}
/* イントロダクション */
.intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.intro h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 40px;
    margin-top: 40px;
}

.intro p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

/* イントロ画像 */
.intro-image {
    text-align: center;
    margin-top: 40px;
}

.intro-image img {
    max-width: 80%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .intro-image {
        margin-top: 30px;
    }
    
    .intro-image img {
        border-radius: 12px;
        width: 100%;
    }
}

/* Reasons Page Specific Styles */

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

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

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* 選ばれる理由 */
.reasons {
    margin-top: 60px;
}

.reason-item {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    gap: 30px;
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.reason-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-right: 40px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.reason-content {
    flex: 1;
}

.reason-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
}

.reason-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

.reason-image {
    flex-shrink: 0;
    width: 300px;
}

.reason-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.reason-image img:hover {
    transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .reason-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .reason-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .reason-image {
        width: 100%;
        order: -1;
    }

    .reason-image img {
        height: 150px;
    }
}

/* 一般的なaタグのスタイル */
a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ea580c;
}

a:visited {
    color: #f97316;
}

/* パンくずリストのリンクスタイル */
.breadcrumb-content a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-content a:hover {
    color: #ea580c;
}

/* リモートフォームスタイル */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro h2 {
    color: #1f2937;
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-intro p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.required {
    color: #ef4444;
    margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #f97316;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

.checkmark {
    margin-right: 8px;
}

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

.submit-button {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Contact Form 7 追加スタイル */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 25px;
}

.wpcf7-not-valid {
    border-color: #ef4444 !important;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.wpcf7-validation-errors {
    background-color: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
}

.wpcf7-mail-sent-ok {
    background-color: #f0fdf4;
    border: 2px solid #bbf7d0;
    color: #16a34a;
}

.wpcf7-spam-blocked {
    background-color: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
}

.wpcf7 .ajax-loader {
    display: none;
}

.wpcf7 input[type="checkbox"] {
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

.wpcf7 .acceptance-checkbox {
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

/* Contact Form 7 プライバシーポリシー同意フィールドのスタイル */
.wpcf7-acceptance {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.wpcf7-acceptance .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: auto;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    display: inline-block;
    margin-left: 8px;
    text-align: left;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin: 0 8px 0 0;
    flex-shrink: 0;
}

/* Contact Form 7 checkbox-label内のスタイル */
.contact-form .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.contact-form .checkbox-label br {
    display: none;
}

.contact-form .checkbox-label .wpcf7-form-control-wrap {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    width: auto;
    vertical-align: middle;
}

.contact-form .checkbox-label .checkmark {
    display: none;
}

.contact-form .checkbox-label a {
    margin-left: 0;
    display: inline;
}

/* form-group内のpタグとbrタグの処理 */
.contact-form .form-group p {
    margin: 0;
    padding: 0;
}

.contact-form .form-group p br {
    display: none;
}

.contact-form .form-group .checkbox-label {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Contact Form 7 フォーム要素のスタイル */
.contact-form .wpcf7-form p {
    margin-bottom: 25px;
}

.contact-form .wpcf7-form p:last-child {
    margin-bottom: 0;
}

.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form input[type="url"],
.contact-form .wpcf7-form input[type="number"],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
    box-sizing: border-box;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form input[type="url"]:focus,
.contact-form .wpcf7-form input[type="number"]:focus,
.contact-form .wpcf7-form select:focus,
.contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: #f97316;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

.contact-form .wpcf7-form input[type="submit"],
.contact-form .wpcf7-form input[type="button"] {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    width: auto;
    margin: 30px auto 0;
    display: block;
}

.contact-form .wpcf7-form input[type="submit"]:hover,
.contact-form .wpcf7-form input[type="button"]:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.contact-form .wpcf7-form input[type="submit"]:active,
.contact-form .wpcf7-form input[type="button"]:active {
    transform: translateY(0);
}

/* Contact Form 7 必須マークのスタイル */
.contact-form .wpcf7-form .wpcf7-form-control:required + label::after,
.contact-form .wpcf7-form label .required {
    color: #ef4444;
    margin-left: 3px;
}

/* Contact Form 7 セレクトボックスのスタイル */
.contact-form .wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Contact Form 7 ラジオボタンとチェックボックスのスタイル */
.contact-form .wpcf7-form input[type="radio"],
.contact-form .wpcf7-form input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

    .contact-intro p {
        font-size: 14px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 16px; /* iOSの拡大を防ぐ */
    }
    
    .submit-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
    }
}

/* お問い合わせ情報セクション */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #f97316;
}

.contact-method h3 {
    color: #1f2937;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
}

.contact-method h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 2px;
}

.contact-detail {
    color: #f97316;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    word-break: break-all;
}

.contact-detail a {
    color: #f97316;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: #ea580c;
    text-decoration: underline;
}

.contact-hours {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* お問い合わせ情報のアイコン */
.contact-method:nth-child(1) h3::before {
    content: '📞';
    margin-right: 8px;
    font-size: 18px;
}

.contact-method:nth-child(2) h3::before {
    content: '✉️';
    margin-right: 8px;
    font-size: 18px;
}

.contact-method:nth-child(3) h3::before {
    content: '📍';
    margin-right: 8px;
    font-size: 18px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .contact-method {
        padding: 25px 20px;
    }
    
    .contact-method h3 {
        font-size: 18px;
    }
    
    .contact-detail {
        font-size: 16px;
    }
}
