/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

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

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-brand  {
 /* color: #00c6d7;  */
  color: #FFFFFF;
  font-weight: 600;
  font-size: 24px;
  text-decoration: none;
}

.nav-list a:hover {
    color: #66C9C4;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ファーストビュー */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E23AA 0%, #66C9C4 100%);
    opacity: 0.8;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/home01.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1E23AA;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 35, 170, 0.3);
}

.cta-button:hover {
    background-color: #66C9C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 201, 196, 0.4);
}

/* セクション共通 */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1E23AA;
}

/* サービス概要 */
.service-overview {
    background-color: #f8f9fa;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: #1E23AA;
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.service-details {
    margin-bottom: 4rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-item.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-text h3 {
    font-size: 1.8rem;
    color: #1E23AA;
    margin-bottom: 1rem;
}

.detail-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.detail-image {
    flex: 1;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #66C9C4 0%, #1E23AA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border-radius: 10px;
}

.section-outro {
    text-align: center;
}

.section-outro h3 {
    font-size: 1.8rem;
    color: #1E23AA;
    margin-bottom: 1rem;
}

.section-outro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 機能説明 */
.features {
    background-color: white;
}

.feature-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: #1E23AA;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #66C9C4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E23AA 0%, #66C9C4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: #1E23AA;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
}

/* 導入の流れ */
.flow {
    background-color: #f8f9fa;
}

.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    max-width: 180px;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E23AA 0%, #66C9C4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1.1rem;
    color: #1E23AA;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.step-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.arrow {
    font-size: 1.5rem;
    color: #66C9C4;
    font-weight: bold;
    align-self: flex-start;
    margin-top: 25px;
}

.flow-note {
    background-color: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
}

.flow-note p {
    margin: 0;
    color: #856404;
}

/* ベネフィット */
.benefits {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    font-size: 1.5rem;
    color: #1E23AA;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* お客様の声 */
.testimonials {
    background-color: #f8f9fa;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: #1E23AA;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background-color: white;
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question h4 {
    color: #1E23AA;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #66C9C4;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.cta {
/*    background: linear-gradient(135deg, #1E23AA 0%, #66C9C4 100%);  */
    background-image: url('../images/ctabg.webp');
    color: white;
    font-weight: bold;
    text-shadow: 0 0 2px #000000;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background-color: white;
    color: #1E23AA;
}

.cta-button.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: #1E23AA;
}

/* 別商品紹介 */
.other-service {
    background-color: #f8f9fa;
}

.service-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    flex: 1;
}

.service-info {
    flex: 2;
}

.service-info h3 {
    font-size: 1.8rem;
    color: #1E23AA;
    margin-bottom: 1rem;
}

.service-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #66C9C4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1E23AA;
}

/* フッター */
.footer {
    background-color: white;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    color: #1E23AA;
    font-size: 1.5rem;
}

.footer-copy p {
    color: #666;
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .detail-item,
    .detail-item.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .placeholder-image {
        height: 200px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

    .service-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

    section {
        padding: 2rem 0;
    }
/*
    .hero-title {
        font-size: 1.5rem;
    }
*/
    .section-title {
        font-size: 1.5rem;
    }

    .detail-text h3 {
        font-size: 1.5rem;
    }
/*
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
*/
    .flow-step {
        max-width: 100%;
    }

    .testimonial-item {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1rem;
    }
}

/* フェードアップアニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 1.2s;
}
