/* サービス詳細ページ用CSS */

/* ========================================
   パンくずリスト
   ======================================== */
.breadcrumb-section {
    margin-top: 90px;
    padding: 10px 0;
    background-color: var(--bg-light);
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    font-size: 14px;
}

.breadcrumb ol li {
    display: flex;
    align-items: center;
}

.breadcrumb ol li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-gray);
    font-size: 16px;
}

.breadcrumb ol li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb ol li a:hover {
    opacity: 0.7;
}

.breadcrumb ol li:last-child {
    color: var(--text-gray);
}

/* ページヘッダー */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.page-header-bg {
    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 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/></svg>');
    opacity: 0.3;
}

.page-title {
    position: relative;
    font-size: 48px;
    font-weight: 900;
    color: white;
    text-align: center;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-title-en {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* メインコンテンツセクション */
.main-content-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* コンテンツカラム */
.content-column {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-content {
    line-height: 2;
    font-size: 16px;
    color: var(--text-dark);
}

.service-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.service-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.service-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* サイドバー */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* サイドバーナビゲーション */
.sidebar-nav {
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    padding-left: 35px;
}

.sidebar-menu li a::before {
    content: '▸';
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 35px;
}

.sidebar-menu li a:hover::before {
    opacity: 1;
}

.sidebar-menu li.current a {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-menu li.current a::before {
    color: white;
    opacity: 1;
}

/* サブメニュー */
.sidebar-menu .has-submenu>a {
    position: relative;
}

.sidebar-menu .has-submenu>a::after {
    content: '▼';
    position: absolute;
    right: 15px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.sidebar-menu .has-submenu.open>a::after {
    transform: rotate(180deg);
}

.sidebar-menu .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-menu .submenu li {
    margin-bottom: 3px;
}

.sidebar-menu .submenu li a {
    font-size: 13px;
    padding: 8px 15px 8px 45px;
    color: var(--text-gray);
}

.sidebar-menu .submenu li a::before {
    content: '−';
    left: 30px;
}

.sidebar-menu .submenu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* お問い合わせウィジェット */
.contact-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.contact-widget .sidebar-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.widget-contact-info {
    text-align: center;
}

.widget-text {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.widget-phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-en);
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.widget-phone:hover {
    opacity: 0.8;
}

.widget-hours {
    font-size: 12px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.widget-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.widget-button:hover {
    background-color: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

    .sidebar-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .content-column {
        padding: 30px 20px;
    }

    .service-content h2 {
        font-size: 24px;
    }

    .service-image-main,
    .service-image-secondary {
        margin: 30px 0;
    }

    .feature-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-icon {
        margin-bottom: 10px;
    }
}

/* ========================================
   画像スタイル
   ======================================== */

/* メイン画像 */
.service-image-main {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* サブ画像 */
.service-image-secondary {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    background: white;
}

.service-image-secondary img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02), transparent);
    margin: 0;
}

/* ========================================
   特徴リストスタイル
   ======================================== */

.service-features {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.03) 0%, rgba(37, 99, 168, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.service-features h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 30px 0;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(26, 77, 143, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-content strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: left;
}

/* ========================================
   追加情報セクション
   ======================================== */

.service-additional-info {
    margin: 40px 0;
    padding: 35px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(26, 77, 143, 0.1);
}

.service-additional-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.service-additional-info p {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    text-align: justify;
}

/* ========================================
   プライバシーポリシーページ用スタイル
   ======================================== */

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.8;
}

.privacy-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 20px;
}

.privacy-contact {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.05) 0%, rgba(37, 99, 168, 0.08) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.privacy-contact p {
    margin: 0;
    line-height: 2;
}

.privacy-contact strong {
    font-size: 18px;
    color: var(--primary-color);
}