@charset "utf-8";

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #333;
}
.soft-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 123, 143, 0.05), 0 8px 10px -6px rgba(0, 123, 143, 0.05);
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* アーチ型の形状指定 */
.arch-image {
    border-radius: 2000px 2000px 0 0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
}
@media (min-width: 1024px) {
    .arch-image {
        border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    }
}
.arch-shape {
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
}

.vertical-text {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
.highlight-text p {
    line-height: 2.8;
    margin: 0;
}
.highlight-text span {
    background-color: rgba(255, 255, 255, 0.85);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 4px 0;
    border-radius: 4px;
}

/* スライドショー */
@keyframes fadeSlide {
    0% { opacity: 0; transform: scale(1); }
    11% { opacity: 1; }
    33% { opacity: 1; }
    44% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}
.hero-slide, .footer-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 18s infinite;
}
.hero-slide:nth-child(1), .footer-slide:nth-child(1) { background-image: url('../images/tuki.jpg'); animation-delay: 0s; }
.hero-slide:nth-child(2), .footer-slide:nth-child(2) { background-image: url('../images/mitixyaku.jpg'); animation-delay: 6s; }
.hero-slide:nth-child(3), .footer-slide:nth-child(3) { background-image: url('../images/company_1.jpg'); animation-delay: 12s; }

.text-shadow-strong { text-shadow: 0 2px 15px rgba(0,0,0,0.6); }
.text-glow-white { text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.9), 0 0 30px rgba(255,255,255,0.8); }

/* 天候・時間アニメーション */
.real-celestial {
    border-radius: 50%;
    transition: all 1.5s ease-in-out;
}
.sun-morning { width: 100px; height: 100px; background: radial-gradient(circle, #fffdf2 0%, #ffdf70 40%, #ff9d00 100%); box-shadow: 0 0 60px 20px rgba(255, 200, 50, 0.6), 0 0 100px 40px rgba(255, 120, 0, 0.3); }
.sun-day { width: 130px; height: 130px; background: radial-gradient(circle, #ffffff 0%, #fff7b0 40%, #ffea00 100%); box-shadow: 0 0 80px 30px rgba(255, 255, 150, 0.8), 0 0 120px 60px rgba(255, 230, 0, 0.4); }
.sun-evening { width: 120px; height: 120px; background: radial-gradient(circle, #ffeedb 0%, #ffaa42 40%, #e64a00 100%); box-shadow: 0 0 70px 25px rgba(255, 120, 20, 0.7), 0 0 120px 50px rgba(200, 50, 0, 0.4); }
.moon-night { width: 90px; height: 90px; background: radial-gradient(circle, #ffffff 0%, #f0f4f8 50%, #d9e2ec 100%); box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.5), 0 0 80px 20px rgba(180, 200, 255, 0.3); }

.real-cloud-base {
    position: relative;
    background: #ffffff;
    border-radius: 100px;
    transition: background-color 1.5s ease-in-out;
}
.real-cloud-base::before, .real-cloud-base::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.real-cloud-base::before { width: 50%; height: 130%; top: -60%; left: 15%; }
.real-cloud-base::after { width: 40%; height: 110%; top: -40%; right: 15%; }

.rc-1 { width: 180px; height: 50px; filter: blur(6px); }
.rc-2 { width: 300px; height: 80px; filter: blur(12px); }
.rc-3 { width: 140px; height: 40px; filter: blur(5px); }
.rc-4 { width: 350px; height: 100px; filter: blur(16px); }
.rc-5 { width: 220px; height: 60px; filter: blur(10px); }

.cloud-color-sunny { background-color: rgba(255, 255, 255, 0.95); }
.cloud-color-cloudy { background-color: rgba(210, 215, 220, 0.9); }
.cloud-color-rainy { background-color: rgba(130, 140, 150, 0.9); }
.cloud-color-night-sunny { background-color: rgba(90, 100, 110, 0.6); }
.cloud-color-night-cloudy { background-color: rgba(60, 65, 75, 0.7); }
.cloud-color-night-rainy { background-color: rgba(40, 45, 50, 0.8); }

@keyframes float-1 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(15px, -20px); } 66% { transform: translate(-10px, 10px); } }
@keyframes float-2 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-20px, 15px); } 66% { transform: translate(15px, -5px); } }
@keyframes float-3 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(10px, 20px); } 66% { transform: translate(-15px, -15px); } }
@keyframes float-4 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-15px, -25px); } 66% { transform: translate(25px, 10px); } }
@keyframes float-5 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(20px, 5px); } 66% { transform: translate(-20px, -20px); } }

.cloud-1 { animation: float-1 14s ease-in-out infinite; }
.cloud-2 { animation: float-2 18s ease-in-out infinite; }
.cloud-3 { animation: float-3 12s ease-in-out infinite; }
.cloud-4 { animation: float-4 17s ease-in-out infinite; }
.cloud-5 { animation: float-5 20s ease-in-out infinite; }

.rain-drop {
    position: absolute;
    width: 1.5px;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(200, 230, 255, 0.7));
    border-radius: 50%;
    transform: rotate(15deg);
    animation: rain-fall linear infinite;
}
@keyframes rain-fall {
    0% { transform: translateY(-100px) translateX(0) rotate(15deg); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(100vh) translateX(-25vh) rotate(15deg); opacity: 0; }
}

/* 会社理念セクション マーキーアニメーション */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}
.marquee-text {
    font-size: 80px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 159, 202, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 20px;
}
@media (min-width: 768px) {
    .marquee-text {
        font-size: 160px;
        -webkit-text-stroke: 2px rgba(0, 159, 202, 0.1);
    }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.philosophy-banner {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
    .philosophy-banner {
        flex-direction: row;
    }
}
.ph-text-box {
    background-color: white;
    color: #333;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 4px;
}


/* 会社理念セクションのスクロール連動ライン */
.philosophy-timeline {
    position: relative;
}
.philosophy-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px; /* 線の太さ分 */
    width: 3px;
    height: 100%;
    background-color: #E0F4F9; /* theme-light */
}
.philosophy-timeline-indicator {
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 33.33%; /* 3つの項目のうちの1つ分 */
    background-color: #009FCA; /* theme-main */
    transition: transform 0.4s ease-out; /* スムーズに動く設定 */
    z-index: 10;
}
/* jsで追加されるクラス */
.philosophy-timeline.active-1 .philosophy-timeline-indicator { transform: translateY(0); }
.philosophy-timeline.active-2 .philosophy-timeline-indicator { transform: translateY(100%); }
.philosophy-timeline.active-3 .philosophy-timeline-indicator { transform: translateY(200%); }
