/**
 * ピタットラボ株式会社 コーポレートサイト
 * メインスタイルシート
 */

/* Material Symbolsのスタイル設定 */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

body { font-family: 'Noto Sans JP', sans-serif; color: #333; }
.hero-text-shadow { text-shadow: 0 2px 4px rgba(255,255,255,0.8); }

/* 重要：ヘッダーの高さ分（80px）だけスクロール位置をずらす設定 */
html {
    scroll-padding-top: 80px;
}

/* パズルピースのアニメーション */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.puzzle-float-1 {
    animation: float 6s ease-in-out infinite;
}

.puzzle-float-2 {
    animation: floatReverse 8s ease-in-out infinite;
    animation-delay: 1s;
}

.puzzle-float-3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.puzzle-pulse {
    animation: pulse 4s ease-in-out infinite;
}

/* セクション区切り用パズルピース */
.section-divider {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #008ACE, transparent);
}

/* スクロールアニメーション */
/* フェードインアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スケールインアニメーション */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* パズルピース組み合わせアニメーション */
@keyframes puzzleConnect {
    0% {
        opacity: 0;
        transform: translate(-30px, -30px) rotate(-15deg) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translate(-10px, -10px) rotate(-5deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* アニメーション待機状態 */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* フェードイン */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.puzzle-connect {
    animation: puzzleConnect 0.8s ease-out forwards;
}

/* 順次表示アニメーション用の遅延 */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* スクロール進捗インジケーター */
.scroll-progress {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #008ACE 0%, #44BAA7 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* タイピングエフェクト */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: #008ACE;
    }
}

.typing-effect {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2.5s steps(30, end);
}

@media (max-width: 767px) {
    .typing-effect {
        animation: heroFadeIn 1s ease-out forwards;
        white-space: normal;
        overflow: visible;
    }
}

/* ヒーローテキストのフェードインアニメーション */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade-in {
    animation: heroFadeIn 1s ease-out 3.2s forwards;
    opacity: 0;
}

.hero-cta-fade-in {
    animation: heroFadeIn 1s ease-out 4s forwards;
    opacity: 0;
}

/* スクロールインジケーター：ヒーローと次のセクションの間のブリッジ */
.scroll-indicator-bridge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0 2rem;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.scroll-indicator {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator-icon {
    animation: bounce 2s infinite;
}

/* パララックス効果 */
.parallax-bg {
    transition: transform 0.1s ease-out;
}

/* 背景パズルパターン */
.hero-puzzle-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L35 15Q40 20 45 15L60 20L55 35Q50 40 55 45L40 60L35 45Q30 40 25 45L10 40L15 25Q20 20 15 15Z' fill='%23008ACE' /%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* ページトップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #008ACE 0%, #0066A8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 138, 206, 0.3);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #00C9FF 0%, #008ACE 100%);
    box-shadow: 0 8px 20px rgba(0, 138, 206, 0.4);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(0);
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.back-to-top svg {
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    /* モバイル: スティッキーCTAバーの上に表示するため、十分な高さを確保 */
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ヘッダーのスクロール時変更 */
header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* アクティブナビゲーションリンク */
.nav-link.active {
    color: #008ACE;
}

.nav-link.active::after {
    width: 100%;
}

/* ハンバーガーメニューアニメーション */
.hamburger {
    position: relative;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* モバイルメニューのアニメーション */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.show {
    max-height: 300px;
}

#mobile-menu a {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.show a {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.show a:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu.show a:nth-child(2) {
    transition-delay: 0.2s;
}

#mobile-menu.show a:nth-child(3) {
    transition-delay: 0.3s;
}

#mobile-menu.show a:nth-child(4) {
    transition-delay: 0.4s;
}

/* ロゴホバーエフェクト */
.logo-link {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-link:active {
    transform: scale(0.98);
}

/* フッタースタイル */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
}

.footer-link {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00C9FF;
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00C9FF;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #008ACE 0%, #00C9FF 100%);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #008ACE 0%, #00C9FF 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 201, 255, 0.3);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

/* フッターコンテンツレイアウト（会社名・住所・プライバシーポリシー） */
.footer-content {
    flex-wrap: wrap;
}

.footer-company-name {
    letter-spacing: 0.02em;
}

.footer-address {
    line-height: 1.6;
}

/* 企業情報テーブルのスタイル */
.company-info-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 2px solid #E0F2FE;
}

.company-info-row {
    transition: background-color 0.3s ease;
}

.company-info-row:hover {
    background-color: #F0F9FF;
}

.company-info-label {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    color: #0066A8;
    font-weight: bold;
}

/* 代表メッセージのスタイル（他セクションとは異なる引用ブロック風レイアウト） */
.ceo-message {
    position: relative;
    padding: 2.5rem 2rem 2rem 3rem;
    background: transparent;
    border: none;
    border-left: 4px solid #008ACE;
}

.ceo-message::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: #008ACE;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.ceo-signature {
    font-family: 'Zen Kurenaido', sans-serif;
    position: relative;
    display: inline-block;
}

.ceo-signature::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #008ACE 0%, transparent 100%);
}

/* タイムラインスタイル */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #008ACE 0%, #44BAA7 50%, #008ACE 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #008ACE;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 138, 206, 0.1);
}

.timeline-date {
    font-weight: bold;
    color: #008ACE;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #BFDBFE;
}

/* ローディング画面のスタイル */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: #008ACE;
    margin-bottom: 2rem;
    opacity: 0;
    animation: logoFadeIn 1s ease-out 0.5s forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* パズルピース組み合わせアニメーション（ローディング用） */
.loading-puzzle-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.loading-puzzle-piece {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0;
}

.loading-puzzle-piece-1 {
    top: 0;
    left: 0;
    animation: puzzleSlideIn1 1s ease-out 0.2s forwards;
}

.loading-puzzle-piece-2 {
    top: 0;
    right: 0;
    animation: puzzleSlideIn2 1s ease-out 0.4s forwards;
}

.loading-puzzle-piece-3 {
    bottom: 0;
    left: 0;
    animation: puzzleSlideIn3 1s ease-out 0.6s forwards;
}

.loading-puzzle-piece-4 {
    bottom: 0;
    right: 0;
    animation: puzzleSlideIn4 1s ease-out 0.8s forwards;
}

@keyframes puzzleSlideIn1 {
    from {
        opacity: 0;
        transform: translate(-100px, -100px) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes puzzleSlideIn2 {
    from {
        opacity: 0;
        transform: translate(100px, -100px) rotate(180deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes puzzleSlideIn3 {
    from {
        opacity: 0;
        transform: translate(-100px, 100px) rotate(180deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes puzzleSlideIn4 {
    from {
        opacity: 0;
        transform: translate(100px, 100px) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

.loading-text {
    margin-top: 2rem;
    font-size: 1.125rem;
    font-weight: bold;
    color: #008ACE;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1.5s forwards;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ローディングドット */
.loading-dots {
    display: inline-block;
}

.loading-dots span {
    display: inline-block;
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* アクセシビリティ改善 */
/* フォーカスインジケーターの視認性向上 */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid #00C9FF;
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #00C9FF;
    outline-offset: 2px;
}

/* キーボードナビゲーション用のスキップリンク */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #008ACE;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    z-index: 10001;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #00C9FF;
}

/* 高コントラスト対応 */
@media (prefers-contrast: high) {
    body {
        color: #000000;
    }

    .nav-link, .footer-link {
        text-decoration: underline;
    }
}

/* 動きを抑える設定（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* CTAボタンのスタイル */
.cta-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #008ACE 0%, #0066A8 100%);
    color: white;
    font-weight: bold;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 138, 206, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background: linear-gradient(135deg, #00C9FF 0%, #008ACE 100%);
    box-shadow: 0 10px 20px rgba(0, 138, 206, 0.4), 0 6px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 138, 206, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* リップル効果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* スティッキーCTA（お問い合わせボタン） */
.sticky-cta {
    position: fixed;
    bottom: 95px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ヒーローセクションCTAボタングループ */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button-secondary {
    position: relative;
    overflow: hidden;
    background: white;
    color: #008ACE;
    font-weight: bold;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    border: 2px solid #008ACE;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button-secondary:hover {
    background: #008ACE;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 138, 206, 0.4), 0 6px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cta-button-secondary:active {
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sticky-cta {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .cta-button, .cta-button-secondary {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* セクション背景グラデーション */
.section-bg-gradient-blue {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.section-bg-gradient-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}

.section-bg-white {
    background: #FFFFFF;
}

/* カードホバーエフェクト統一 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 138, 206, 0.15);
}

/* ナビゲーションリンクホバーエフェクト統一 */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #008ACE 0%, #44BAA7 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* サービスカードのアクセントカラー */
.service-card-1 {
    border-left: 4px solid #008ACE;
}

.service-card-2 {
    border-left: 4px solid #44BAA7;
}

.service-card-3 {
    border-left: 4px solid #0066A8;
}

.service-card-4 {
    border-left: 4px solid #44BAA7;
}

/* 理由カードのグラデーションアクセント */
.reason-card-1 {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid #E0E7FF;
    border-top: 4px solid #008ACE;
    box-shadow: 0 4px 6px rgba(0, 138, 206, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card-1:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 138, 206, 0.2);
    border-top-width: 6px;
}

.reason-card-2 {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid #DBEAFE;
    border-top: 4px solid #008ACE;
    box-shadow: 0 4px 6px rgba(0, 201, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card-2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 201, 255, 0.2);
    border-top-width: 6px;
}

.reason-card-3 {
    background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
    border: 2px solid #BFDBFE;
    border-top: 4px solid #0066A8;
    box-shadow: 0 4px 6px rgba(0, 102, 168, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card-3:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 168, 0.2);
    border-top-width: 6px;
}

/* 理由カードの数字強調 */
.reason-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.3s ease;
}

.reason-card-1 .reason-number {
    background: linear-gradient(135deg, #008ACE 0%, #0066A8 100%);
}

.reason-card-2 .reason-number {
    background: linear-gradient(135deg, #008ACE 0%, #0066A8 100%);
}

.reason-card-3 .reason-number {
    background: linear-gradient(135deg, #0066A8 0%, #004D7A 100%);
}

.reason-card-1:hover .reason-number,
.reason-card-2:hover .reason-number,
.reason-card-3:hover .reason-number {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
}

/* セクションタイトルのアクセント */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #008ACE 0%, #44BAA7 100%);
    border-radius: 2px;
}

/* リンクホバー統一 */
.link-hover {
    transition: color 0.3s ease;
}

.link-hover:hover {
    color: #00C9FF;
}

/* ========================================
   プライバシーポリシーページ専用スタイル
   ======================================== */

/* プライバシーポリシー各条のスタイル */
.policy-article {
    border-left: 4px solid #008ACE;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.policy-article-title {
    font-weight: 900;
    color: #008ACE;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #008ACE;
    font-weight: bold;
}

/* お問い合わせリンク（プライバシーページ） */
.contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: #008ACE;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00C9FF;
}
