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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', 'Hiragino Sans', sans-serif;
    line-height: 1.6;
    color: #343A40;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: linear-gradient(135deg, #E6941F 0%, #E6941F 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E6941F 0%, #D7851B 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #005BAC;
    border: 2px solid #005BAC;
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.2);
}

.btn-secondary:hover {
    background: #005BAC;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 91, 172, 0.3);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-list a {
    text-decoration: none;
    color: #343A40;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #005BAC;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.phone {
    text-align: right;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.phone:hover {
    background: linear-gradient(135deg, rgba(230, 148, 31, 0.1) 0%, rgba(0, 91, 172, 0.05) 100%);
    transform: translateY(-2px);
}

a.phone,
.phone a,
a.phone:link,
a.phone:visited,
a.phone:hover,
a.phone:active,
.phone a:link,
.phone a:visited,
.phone a:hover,
.phone a:active {
    text-decoration: none !important;
    color: inherit;
}

.phone span {
    font-weight: 600;
    color: #005BAC;
    font-size: 16px;
    transition: color 0.3s ease;
}

.phone:hover span {
    color: #E6941F;
}

.phone span i {
    color: #005BAC;
    margin-right: 8px;
}

.phone small {
    display: block;
    font-size: 12px;
    color: #6C757D;
}

/* Mobile Navigation */
.nav {
    transition: all 0.3s ease;
}

.nav.active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
}

.nav.active .nav-list {
    flex-direction: column;
    padding: 20px 0;
}

.nav.active .nav-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #E9ECEF;
    transition: background-color 0.3s ease;
}

.nav.active .nav-list li:last-child {
    border-bottom: none;
}

.nav.active .nav-list li:hover {
    background-color: #F8F9FA;
}

.nav.active .nav-list a {
    display: block;
    padding: 16px 24px;
    color: #343A40;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav.active .nav-list a:hover {
    color: #E6941F;
    background: linear-gradient(135deg, rgba(230, 148, 31, 0.1) 0%, rgba(0, 91, 172, 0.05) 100%);
}

.mobile-phone {
    display: none;
    padding: 20px 24px;
    border-top: 1px solid #E9ECEF;
    background: #F8F9FA;
    transition: background-color 0.3s ease;
}

.mobile-phone:hover {
    background: linear-gradient(135deg, rgba(230, 148, 31, 0.1) 0%, rgba(0, 91, 172, 0.05) 100%);
}

.mobile-phone a,
.mobile-phone a:link,
.mobile-phone a:visited,
.mobile-phone a:hover,
.mobile-phone a:active {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.mobile-phone span {
    display: block;
    color: #005BAC;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.mobile-phone:hover span {
    color: #E6941F;
}

.mobile-phone i {
    margin-right: 8px;
}

.mobile-phone small {
    display: block;
    font-size: 12px;
    color: #6C757D;
}

/* モバイルメニューのアクションボタン */
.mobile-actions {
    display: none;
    padding: 20px 24px;
    background: #F8F9FA;
    border-top: 1px solid #E9ECEF;
}

.nav.active .mobile-actions {
    display: block;
}

.mobile-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

.mobile-actions .btn:last-child {
    margin-bottom: 0;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 電話番号の下線を完全に削除 */
a[href^="tel:"],
a[href*="1720-2632"] {
    text-decoration: none !important;
}

a[href^="tel:"]:link,
a[href^="tel:"]:visited,
a[href^="tel:"]:hover,
a[href^="tel:"]:active {
    text-decoration: none !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #005BAC;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ヘッダーのボタンスタイル調整 */
.header-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.header-actions .btn i {
    font-size: 14px;
}

/* ログインボタン用のアウトラインスタイル */
.btn-outline-primary {
    background: transparent;
    color: #005BAC;
    border: 2px solid #005BAC;
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.2);
}

.btn-outline-primary:hover {
    background: #005BAC;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 91, 172, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.7) 50%, rgba(222, 226, 230, 0.6) 100%), 
                url('../images/hero-texture.png');
    background-size: cover, cover;
    background-position: center, bottom;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, scroll;
    padding: 100px 0 80px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23005BAC" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23F5A623" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 24px;
}

.highlight {
    color: #E6941F;
}

.hero-subtitle {
    font-size: 20px;
    color: #6C757D;
    margin-bottom: 40px;
}

.hero-subtitle small {
    font-size: 14px;
    color: #ADB5BD;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 24px 20px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 91, 172, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 140px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 91, 172, 0.1) 0%, rgba(230, 148, 31, 0.1) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 50px rgba(0, 91, 172, 0.2);
    border-color: rgba(0, 91, 172, 0.3);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #005BAC;
    background: linear-gradient(135deg, #005BAC, #E6941F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 18px;
    font-weight: 600;
    color: #6C757D;
    background: none;
    -webkit-text-fill-color: #6C757D;
}

.stat-label {
    font-size: 14px;
    color: #6C757D;
    font-weight: 600;
}

.stat-note {
    font-size: 10px;
    color: #ADB5BD;
    margin-top: 4px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn small {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 91, 172, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 4px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #FFFFFF;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 91, 172, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E6941F, #005BAC);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 91, 172, 0.15);
}

.feature-icon {
    color: #E6941F;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 16px;
}

.feature-description {
    color: #6C757D;
    line-height: 1.6;
}

.feature-note {
    color: #ADB5BD;
    font-size: 12px;
    margin-top: 8px;
    font-style: italic;
}

/* Pain Points Section */
.pain-points {
    padding: 120px 0;
    background: #F8F9FA;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.pain-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pain-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #005BAC;
}

.pain-icon i {
    font-size: 48px;
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 16px;
}

.pain-card ul {
    list-style: none;
    color: #6C757D;
}

.pain-card li {
    margin-bottom: 8px;
}

.solution {
    text-align: center;
    background: linear-gradient(135deg, #28A745 0%, #1e7e34 100%);
    color: #FFFFFF;
    padding: 50px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.2);
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 2px,
        transparent 2px,
        transparent 8px
    );
    pointer-events: none;
    z-index: 1;
}

.solution > * {
    position: relative;
    z-index: 2;
}

.solution h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.solution-points {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.solution-points span {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.solution-point.focused {
    background: rgba(255, 255, 255, 0.95);
    color: #28A745;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Process Flow Section */
.process-flow {
    padding: 120px 0;
    background: #FFFFFF;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #E6941F, #d8840e);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(230, 148, 31, 0.2);
    transition: all 0.3s ease;
}

.step-icon {
    color: #005BAC;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 12px;
}

.step p {
    color: #6C757D;
    margin-bottom: 16px;
}

.step-duration {
    background: #E9ECEF;
    color: #495057;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: #F8F9FA;
}

.testimonials-slider {
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 1.2s ease-in-out;
    width: 200%;
}

.slide {
    width: 50%;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #E6941F;
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 148, 31, 0.3);
}

.slider-arrow:hover {
    background: #D4841A;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 148, 31, 0.4);
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CED4DA;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #E6941F;
    transform: scale(1.2);
}

.testimonial-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.customer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #343A40;
}

.customer-info p {
    font-size: 14px;
    color: #6C757D;
}

.testimonial-result {
    background: #28A745;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
}

.company-logos {
    text-align: center;
}

.company-logos p {
    font-size: 18px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 24px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-4px);
}

.logo-img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.company-logo:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Comparison Table Section */
.comparison {
    padding: 120px 0;
    background: #FFFFFF;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #E9ECEF;
    vertical-align: middle;
    font-size: 14px;
}

.comparison-table th {
    background: #F8F9FA;
    font-weight: 600;
    color: #343A40;
    font-size: 16px;
}

.category-cell {
    background: #F0F8FF;
    border: 2px solid #005BAC;
    padding: 16px 8px;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    color: #005BAC;
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: 80px;
    position: relative;
}

.comparison-table .feature-name {
    text-align: left;
    font-weight: 600;
    color: #343A40;
    background: #F8F9FA;
    font-size: 15px;
}

.or-button-row {
    position: relative;
}

.or-button-row::before {
    content: "もしくは";
    position: absolute;
    top: -8px;
    left: 20px;
    background: #F8F9FA;
    color: #6C757D;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border: 1px solid #DEE2E6;
    border-radius: 12px;
    z-index: 1;
}

.service-header {
    text-align: center;
}

.service-logo {
    font-size: 18px;
    font-weight: 700;
    color: #005BAC;
    margin-bottom: 4px;
}

.service-name {
    font-size: 14px;
    color: #6C757D;
}

.highlight-column {
    background: #F0F8FF !important;
    color: #005BAC !important;
    position: relative;
    font-weight: 600;
}

.feature-symbol {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
}

.feature-symbol.available {
    color: #005BAC;
}

.feature-symbol.unavailable {
    color: #ADB5BD;
}

.feature-symbol.partial {
    color: #6C757D;
}

.feature-symbol.price {
    color: #005BAC;
}

.feature-symbol.price-high {
    color: #6C757D;
}

.feature-detail {
    font-size: 11px;
    color: #6C757D;
    line-height: 1.2;
}

.highlight-column .feature-detail {
    color: #005BAC;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: #F8F9FA;
}

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

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    border-bottom: 1px solid #E9ECEF;
    transition: background-color 0.3s ease;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.question-icon {
    background: #005BAC;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
}

.faq-question:hover {
    background-color: #F8F9FA;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #005BAC;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    padding: 16px 24px 24px;
    max-height: 300px;
}

.answer-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.answer-icon {
    background: #E6941F;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.answer-content p,
.answer-text p {
    color: #6C757D;
    line-height: 1.6;
    margin: 0 0 12px 0;
    text-align: left;
}

.answer-text p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #005BAC 0%, #003D7A 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.special-offer {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.special-offer h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #E6941F;
}

.offer-list {
    list-style: none;
    font-size: 18px;
}

.offer-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.offer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28A745;
    font-weight: bold;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-actions .btn small {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: #343A40;
    color: #FFFFFF;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #E6941F;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
}

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

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

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

.footer-section a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ADB5BD;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #E6941F;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #ADB5BD;
}

/* Responsive Design */
/* 1200px以下でのレスポンシブ対応 */
@media (max-width: 1200px) {
    .logo-image {
        height: 50px;
        max-width: 200px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .nav-list a {
        font-size: 13px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .header-actions .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .phone span {
        font-size: 14px;
    }
    
    .phone small {
        font-size: 11px;
    }
}

/* 1024px以下で電話番号を非表示 */
@media (max-width: 1024px) {
    .header-actions .phone {
        display: none;
    }
}

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

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block !important;
    }

    .nav.active .mobile-phone {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 16px;
    }

    .features-grid,
    .pain-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        margin-bottom: 40px;
    }

    .slider-container {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .slide {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-arrow-left {
        left: -10px;
    }

    .slider-arrow-right {
        right: -10px;
    }

    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }

    .features-grid {
        max-width: none;
    }

    .solution-points {
        flex-direction: column;
        gap: 16px;
    }

    .solution-points span {
        font-size: 16px;
        padding: 10px 20px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .logos-grid {
        gap: 16px;
    }

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

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .stat-item {
        min-width: 120px;
        min-height: 100px;
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

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


/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: #F8F9FA;
}

.section-subtitle {
    text-align: center;
    color: #6C757D;
    font-size: 18px;
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 91, 172, 0.08);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid #E6941F;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #E6941F;
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #005BAC;
}

.price-unit {
    font-size: 18px;
    color: #6C757D;
}

.pricing-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.feature-item i {
    color: #E6941F;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    color: #6C757D;
    line-height: 1.5;
}

.pricing-cta .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.pricing-note {
    color: #ADB5BD;
    font-size: 12px;
    margin-top: 12px;
    font-style: italic;
}

/* Responsive adjustments for pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}


/* Benefits Grid Styles */
.total-value {
    font-size: 28px;
    font-weight: 700;
    color: #E6941F;
    text-align: center;
    margin: 32px 0 16px 0;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(230, 148, 31, 0.15) 0%, rgba(230, 148, 31, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid #E6941F;
    position: relative;
    overflow: hidden;
    animation: sparkle 2s ease-in-out infinite;
}

.total-value::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(230, 148, 31, 0.3);
    }
    50% { 
        box-shadow: 0 12px 48px rgba(230, 148, 31, 0.5), 0 0 20px rgba(230, 148, 31, 0.4);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.benefit-sub {
    font-size: 12px;
    color: #6C757D;
    font-weight: 400;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.benefit-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 91, 172, 0.1);
    border: 1px solid rgba(0, 91, 172, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005BAC 0%, #E6941F 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 91, 172, 0.2);
    border-color: rgba(0, 91, 172, 0.2);
}

.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.benefit-number {
    background: linear-gradient(135deg, #005BAC 0%, #003D7A 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
}

.benefit-check {
    color: #28A745;
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

.benefit-content h4 {
    color: #2C3E50;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.benefit-value {
    color: #E6941F;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    padding: 8px 12px;
    background: rgba(230, 148, 31, 0.1);
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-item {
        padding: 20px;
    }
    
    .total-value {
        font-size: 20px;
        padding: 12px 16px;
    }
}


/* Service Section */
.service {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

.service-description {
    width: 100%;
    margin-top: 8px;
}

.service-content-row {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
    margin-top: 16px;
    /* max-width: 800px; 削除 */
    /* margin-left: auto; 削除 */
    /* margin-right: auto; 削除 */
}

.service-video {
    flex: 1 1 60%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.service-highlights {
    flex: 1 1 40%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.service-title {
    margin-bottom: 0;
}

.highlight-item {
    width: 100%;
    min-width: 220px;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 900px) {
    .service-content-row {
        flex-direction: column;
        gap: 24px;
    }
    .service-video, .service-highlights {
        flex: 1 1 100%;
    }
}

.service-description h3 {
    font-size: 28px;
    font-weight: 700;
    color: #E6941F;
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.3;
}

.service-description p {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 8px;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: stretch;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-item i {
    color: #2ECC71;
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-item .has-tooltip {
    position: relative;
    font-weight: 600;
    cursor: help;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #005BAC 0%, #E6941F 100%);
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item i {
    color: #28A745;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

.highlight-item span {
    font-size: 17px;
    font-weight: 600;
    color: #2C3E50;
    line-height: 1.4;
}

.highlight-detail {
    font-size: 13px;
    font-weight: 400;
    color: #6C757D;
    display: block;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-description {
        padding: 0;
    }
    
    .service-description h3 {
        font-size: 24px;
    }
    
    .video-wrapper {
        box-shadow: 0 8px 24px rgba(0, 91, 172, 0.1);
    }
    
    /* モバイルメニュー表示時に電話番号を表示 */
    .nav.active .mobile-phone {
        display: block;
    }
}


/* Highlight Box for CTA */
.highlight-box {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #005BAC 0%, #E6941F 100%);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    margin: 0 4px;
    position: relative;
}

/* Smooth scroll offset adjustment */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
    
    .highlight-box {
        padding: 3px 8px;
        font-size: 0.9em;
        margin: 0 2px;
    }
}


/* Service Flow Image Styles */
.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 91, 172, 0.15);
    background: #FFFFFF;
    padding: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 91, 172, 0.25);
}

.service-flow-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover .service-flow-image {
    transform: scale(1.02);
}

/* Hero Image Video Wrapper */
.hero-image .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 91, 172, 0.15);
}

.hero-image .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .image-wrapper {
        padding: 8px;
        margin-bottom: 20px;
    }
    
    .hero-image .video-wrapper {
        box-shadow: 0 8px 24px rgba(0, 91, 172, 0.1);
    }
}


/* Zoom Indicator */
.zoom-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 91, 172, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-wrapper:hover .zoom-indicator {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #E6941F;
}

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

@media (max-width: 768px) {
    .modal-content {
        padding: 10px;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .zoom-indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 12px;
        right: 12px;
    }
}


/* Pricing Intro Center Alignment */
.pricing-intro {
    text-align: center;
    line-height: 1.6;
}

/* デスクトップでは改行を完全に無効化 */
.mobile-break {
    display: none !important;
    line-height: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
}

/* Pricing Check Icons */
.pricing-check {
    color: #28A745 !important;
    font-size: 18px;
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    margin: 10px 0 20px 0 !important;
    padding: 0 !important;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-logo {
        margin: 5px 0 20px 0 !important;
    }
    
    .footer-logo-img {
        height: 35px;
    }
}


/* ページ共通スタイル */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #0056b3;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #6c757d;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

.main-content {
    padding: 20px 0 60px 0;
    min-height: 60vh;
}

.page-header {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9), rgba(0, 123, 255, 0.9)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 107px 0 0 0 !important;
    padding: 0 !important;
    position: relative;
}

.page-header .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.content-body {
    line-height: 1.8;
    color: #495057;
}

.content-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.content-body h2:first-child {
    margin-top: 15px;
}

.content-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin: 30px 0 15px 0;
}

.content-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 25px 0 10px 0;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ol, .content-body ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body a {
    color: #007bff;
    text-decoration: none;
}

.content-body a:hover {
    text-decoration: underline;
}

.policy-footer {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.company-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.terms-continue {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

/* お問い合わせページ専用スタイル */
.contact-intro {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.notice-section {
    margin: 40px 0;
}

.notice-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.notice-label {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form-section {
    margin: 50px 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-group label.required::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
}

.contact-info {
    background: #e8f5e8;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
}

.contact-details {
    font-size: 16px;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
    }
    
    .breadcrumb-separator {
        margin: 0 5px;
    }
}


.content-section {
    padding: 60px 0;
    background: #ffffff;
}

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

/* レスポンシブ対応の更新 */
@media (max-width: 768px) {
    .page-header {
        height: 140px !important;
        background-attachment: scroll;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 107px 0 0 0 !important;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}



/* アカウント登録フォームのスタイル */
.register-form-container {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 10px;
}

.register-intro {
    background: linear-gradient(135deg, rgba(230, 148, 31, 0.05) 0%, rgba(0, 91, 172, 0.05) 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.register-intro h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.register-intro p {
    font-size: 16px;
    opacity: 0.9;
}

.register-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E6941F;
}

.plan-selection {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 20px;
}

.plan-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.plan-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.plan-name {
    font-weight: 600;
    color: #005BAC;
    margin-right: 12px;
}

.plan-description {
    color: #6C757D;
    font-size: 14px;
}

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

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

.form-label.required::after {
    content: " *";
    color: #DC3545;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #005BAC;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.1);
}

.form-input:disabled {
    background-color: #F8F9FA;
    color: #6C757D;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 16px;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #005BAC;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.1);
}

.name-inputs {
    display: flex;
    gap: 12px;
}

.name-inputs .form-input {
    flex: 1;
}

.address-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.postal-code-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.postal-code {
    max-width: 200px;
}

.address-search-btn {
    padding: 12px 20px;
    background: #6C757D;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.address-search-btn:hover {
    background: #5A6268;
}

.checkbox-group {
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6C757D;
}

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

.checkmark {
    margin-left: 4px;
}

.form-note {
    margin-top: 8px;
    font-size: 12px;
    color: #6C757D;
    line-height: 1.4;
}

.form-note p {
    margin: 4px 0;
}

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

.submit-btn {
    width: 100%;
    max-width: 400px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ssl-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #28A745;
    margin-top: 16px;
}

.ssl-notice i {
    margin-right: 8px;
    font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .register-form-container {
        margin: 20px;
        border-radius: 8px;
    }
    
    .register-intro {
        padding: 30px 20px;
    }
    
    .register-intro h2 {
        font-size: 24px;
    }
    
    .register-form {
        padding: 30px 20px;
    }
    
    .name-inputs {
        flex-direction: column;
        gap: 12px;
    }
    
    .postal-code-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .postal-code {
        max-width: none;
    }
    
    .address-search-btn {
        width: 100%;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 14px 24px;
    }
}


/* アカウント登録ページ専用のヘッダースタイル */
.account-register-page .header-content {
    justify-content: center;
}

.account-register-page .nav,
.account-register-page .header-contact {
    display: none;
}


/* アカウント登録ページのパンくず修正 */
.account-register-page .breadcrumb {
    background: #F8F9FA;
    padding: 16px 0;
    border-bottom: 1px solid #E9ECEF;
}

.account-register-page .breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.account-register-page .breadcrumb-item {
    color: #6C757D;
}

.account-register-page .breadcrumb-item:not(:last-child)::after {
    content: " > ";
    margin: 0 8px;
    color: #ADB5BD;
}

.account-register-page .breadcrumb-item a {
    color: #005BAC;
    text-decoration: none;
}

.account-register-page .breadcrumb-item a:hover {
    text-decoration: underline;
}


/* 法人・個人選択のスタイル */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #343A40;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

.radio-mark {
    margin-left: 4px;
}

/* エラーメッセージのスタイル */
.error-message {
    background: #F8D7DA;
    color: #721C24;
    padding: 12px 16px;
    border: 1px solid #F5C6CB;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message i {
    color: #DC3545;
}

/* フォーム無効化時のスタイル */
.form-disabled .form-input,
.form-disabled .form-select,
.form-disabled .form-textarea,
.form-disabled button {
    opacity: 0.5;
    pointer-events: none;
    background-color: #F8F9FA;
}


/* 住所入力のスタイル */
.address-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.postal-code-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.postal-input {
    flex: 1;
    max-width: 200px;
}

.address-search-btn {
    background: #E6941F;
    color: #FFFFFF;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.address-search-btn:hover {
    background: #D17A0A;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CED4DA;
    border-radius: 6px;
    font-size: 14px;
    background: #FFFFFF;
    color: #343A40;
}

.form-select:focus {
    outline: none;
    border-color: #E6941F;
    box-shadow: 0 0 0 2px rgba(230, 148, 31, 0.2);
}

.address-detail {
    flex: 1;
}

/* フォーム行のレスポンシブ対応 */
.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* 3列レイアウト（会社名・事業部・役職）の調整 */
.form-row .form-group:first-child {
    flex: 2;
    min-width: 250px;
}

/* パスワード入力グループのスタイル調整 */
.password-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.password-toggle {
    font-size: 12px;
    color: #6C757D;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        min-width: auto;
    }
    
    .postal-code-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .postal-input {
        max-width: none;
    }
}


/* ステップ表示のスタイル */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E9ECEF;
    color: #6C757D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.step-item.active .step-number {
    background: #007BFF;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6C757D;
    text-align: center;
    white-space: nowrap;
}

.step-item.active .step-label {
    color: #007BFF;
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #E9ECEF;
    margin: 0 10px;
    margin-top: -20px;
}

/* お客様区分の新しいスタイル */
.entity-selection {
    display: flex;
    gap: 0;
    margin-top: 10px;
}

.entity-option {
    flex: 1;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entity-option:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid #E9ECEF;
}

.entity-option:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid #E9ECEF;
}

.entity-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.entity-option:hover {
    border-color: #007BFF;
    background-color: #F8F9FA;
}

.entity-option input[type="radio"]:checked + .entity-content {
    color: #333;
}

.entity-option input[type="radio"]:checked {
    background-color: #F8F9FA;
}

.entity-option input[type="radio"]:checked ~ .entity-content {
    background-color: #F8F9FA;
}

.entity-option:has(input[type="radio"]:checked) {
    background-color: #F8F9FA;
    border-color: #007BFF;
}

.entity-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.entity-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.entity-note {
    font-size: 12px;
    color: #6C757D;
}

.entity-option input[type="radio"]:checked + .entity-content .entity-title {
    color: #333;
}

/* 住所入力の3列レイアウト調整 */
.address-detail-group {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.prefecture-select {
    flex: 2; /* 比率 2 */
    height: 48px !important; /* 他のform-inputと同じ高さに統一 */
    padding: 12px 16px !important; /* 適切なパディングを設定 */
    font-size: 16px !important;
    box-sizing: border-box !important;
}

/* より具体的なセレクタで都道府県選択を修正 */
.form-select.prefecture-select,
select.prefecture-select,
#prefecture {
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.address-detail {
    flex: 5; /* 比率 5 */
}

.building-name {
    flex: 3; /* 比率 3 */
}

/* 携帯番号とパスワードの幅を均等に調整 */
.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* パスワード表示の普通文字スタイル */
.password-toggle-normal {
    font-size: 14px;
    color: #6C757D;
    font-weight: normal;
    margin-top: 0;
    margin-left: 10px;
    display: inline-block;
}

/* 紹介者名の横並び表示を修正 */
.referrer-inline {
    margin-top: 0;
    margin-left: 16px;
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
}

.form-group:has(#referral_source) {
    display: inline-block;
    width: calc(50% - 8px);
    margin-right: 0;
}

/* モバイル対応の追加 */
@media (max-width: 768px) {
    .entity-selection {
        flex-direction: column;
        gap: 10px;
    }
    
    .entity-option:first-child,
    .entity-option:last-child {
        border-radius: 8px;
        border: 2px solid #E9ECEF;
    }
    
    .address-detail-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .prefecture-select,
    .address-detail,
    .building-name {
        flex: none;
    }
    
    .form-group:has(#referral_source),
    .referrer-inline {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    
    .referrer-inline {
        margin-top: 10px;
    }
}


/* 代表者と同じの下の間隔調整 */
.same-as-representative {
    margin-bottom: 30px;
}

/* 利用規約同意の中央寄せ */
.terms-agreement {
    text-align: center;
    justify-content: center;
}

/* モバイル対応の追加（ステップ表示） */
@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step-line {
        display: none;
    }
}


/* パスワード入力グループのレイアウト調整 */
.password-input-group {
    display: block;
}

.password-input-group .form-input {
    width: 100%;
    margin-bottom: 10px;
}

.password-input-group .password-toggle-normal {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    margin-left: 0;
    font-size: 14px;
    color: #6C757D;
    font-weight: normal;
    white-space: nowrap;
}

.password-input-group .password-toggle-normal .checkmark {
    margin-right: 8px;
}


/* 紹介者名の横並び表示を修正 */
.referral-inputs {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.referral-inputs .form-select {
    flex: 1;
    min-width: 200px;
}

.referral-inputs .referrer-name {
    flex: 1;
    min-width: 200px;
}


/* フッター最下部の余白調整 */
.footer-bottom {
    padding-bottom: 30px;
}

/* フッターのスマホサイズでの2列表示 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-section p {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .footer-section a {
        font-size: 12px;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}


/* カードコンポーネント上部の余白調整 */
.register-intro {
    margin-top: 40px;
}

/* お客様区分の※表記統一 */
.entity-note {
    font-size: 12px;
    color: #6C757D;
    font-weight: normal;
}


/* Testimonial Placeholder Styles */
.testimonial-placeholder {
    background: linear-gradient(135deg, #E6941F, #F4A942);
    color: #FFFFFF;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.placeholder-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.placeholder-content p {
    font-size: 16px;
    margin-bottom: 24px;
    color: #FFFFFF;
    opacity: 0.9;
}

.cta-button .btn {
    background: #FFFFFF;
    color: #E6941F;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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



/* モバイル対応の追加CSS */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .header-actions .phone {
        display: none;
    }
    
    .header-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* お問い合わせページのご注意事項3列レイアウト */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.notice-grid .notice-item {
    background: #fff;
    border: 2px solid #e8f4fd;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: fit-content;
}

.notice-grid .notice-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a90e2;
}

.notice-grid .notice-item h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 700;
}

.notice-grid .notice-item .notice-label {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.notice-grid .notice-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.notice-grid .notice-item strong {
    color: #e74c3c;
    font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .notice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .notice-grid .notice-item {
        padding: 20px;
    }
    
    .notice-grid .notice-item .notice-label {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .notice-grid .notice-item p {
        font-size: 13px;
    }
}

#tooltipModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#tooltipModal.active {
    display: flex;
}
.tooltip-modal-content {
    background: #343A40;
    color: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    max-width: 90vw;
    min-width: 220px;
    text-align: center;
    line-height: 1.7;
    animation: tooltipPopIn 0.2s;
}
@keyframes tooltipPopIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.has-tooltip {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.has-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    max-width: 260px;
    background: #343A40;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 14px;
    position: absolute;
    z-index: 10;
    left: 100%;
    top: 0;
    transform: translateX(16px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-size: 14px;
    line-height: 1.6;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    white-space: pre-line;
}

.has-tooltip:hover .tooltip-text,
.has-tooltip:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.has-tooltip .tooltip-text {
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 32px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.has-tooltip .tooltip-text {
    display: none;
}

.service-highlights {
    align-items: flex-start;
}

.service-title {
    margin-bottom: 12px;
}

.service-content-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    margin-top: 16px;
    /* max-width: 800px; 削除 */
    /* margin-left: auto; 削除 */
    /* margin-right: auto; 削除 */
}

.service-video {
    flex: 1 1 60%;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.service-highlights {
    flex: 1 1 40%;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.service-highlights {
    padding-left: 20px;
}

.image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (max-width: 900px) {
    .service-content-row {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
    }
    .service-video, .service-highlights {
        flex: 1 1 100%;
    }
    .service-highlights {
        margin-left: 0;
    }
    .image-wrapper {
        max-width: 100%;
    }
}

/* お知らせバー */
.news-bar {
    width: 100%;
    background: linear-gradient(135deg, #E6941F, #d8840e);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 998;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
}

.news-bar.active {
    display: block;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.news-label {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.news-text {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.news-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
}

.news-close:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .news-bar {
        padding: 10px 0;
    }
    
    .news-content {
        padding: 0 15px;
        gap: 10px;
    }
    
    .news-text {
        font-size: 14px;
        padding-right: 40px;
    }
    
    .news-label {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .news-close {
        font-size: 20px;
        width: 25px;
        height: 25px;
        right: 15px;
    }
}

/* モバイルサイズでの改行制御 */
@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
}

/* アラートスタイル */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* 都道府県選択の高さ修正 - 最優先適用 */
select[name="prefecture"],
select#prefecture,
.address-detail-group select.form-select.prefecture-select {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    border: 2px solid #E9ECEF !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
}

/* 都道府県選択のフォーカス時の縁の色を統一 */
select[name="prefecture"]:focus,
select#prefecture:focus,
.address-detail-group select.form-select.prefecture-select:focus {
    outline: none !important;
    border-color: #005BAC !important;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.1) !important;
}

