/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    line-height: 1.6;
    font-size: 16px;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #00a496;
    color: white;
}

.btn-line {
    background-color: #00a496;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ヘッダー */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00a496;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ヒーローセクション */
.hero {
    position: relative;
    padding: 120px 0 0; /* 上部のパディングを増やし、下部は0に */
    min-height: 600px; /* 最小の高さを増加 */
    background: 
        linear-gradient(
            rgba(0, 110, 164, 0.7),
            rgba(0, 121, 164, 0.7)
        ),
        url('../images/building.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
    overflow-x: hidden; /* 横スクロールを防止 */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 0px; /* 画像との重なりを防ぐため下部にパディングを追加 */
}

.hero h1 {
    margin-bottom: 30px; /* マージンを増やす */
    color: white;
    line-height: 60px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    color: white;
}

.hero-image {
    margin-top: 40px;
    max-width: 100%;
    height: auto;
}

.hero-human-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    text-align: center;
    z-index: 1;
    line-height: 0; /* 画像の下の余白を削除 */
    width: 100%; /* 幅を100%に設定 */
    position: relative; /* 追加：相対位置指定 */
}

.hero-human-image img {
    max-height: 400px;
    width: auto;
    vertical-align: bottom; /* 画像の下の余白を削除 */
    max-width: 100%; /* 画像が親要素を超えないようにする */
    position: relative; /* 追加：相対位置指定 */
    z-index: 1; /* 追加：重なり順序 */
}

/* 追加：グラデーションオーバーレイ */
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 30%);
    z-index: 2;
    pointer-events: none; /* クリックイベントを下の要素に透過 */
}

/* サービス紹介 */
.service-intro {
    text-align: center;
    background-color: white;
}

.credentials {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.credential-item {
    margin: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credential-number {
    font-size: 36px;
    font-weight: 700;
    color: #00a496;
    margin-bottom: 10px;
}

.credential-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-bottom: 10px;
}

.credential-icon svg {
    width: 48px;
    height: 42px;
    display: block;
}

/* サポート実績アイコン用のカスタムクラスを追加 */
.credential-item:first-child .credential-icon svg {
    width: 56px;
    height: 56px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .credential-item:first-child .credential-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* LINE相談CTA */
.line-cta {
    background-color: rgba(0, 164, 150, 0.1);
    text-align: center;
    padding: 80px 0;
}

.line-cta h2 {
    margin-bottom: 20px;
}

.line-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
}

/* 専門家紹介 */
.experts {
    background-color: white;
}

.experts-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.expert-card {
    text-align: center;
    padding: 30px;
    background-color: rgba(0, 164, 150, 0.05);
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 164, 150, 0.15);
}

.expert-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 164, 150, 0.2);
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.expert-info {
    padding: 20px;
}

.expert-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-title {
    color: #00a496;
    margin-bottom: 10px;
    font-size: 14px;
}

/* サービス詳細 */
.services {
    background-color: rgba(0, 164, 150, 0.1);
    padding: 80px 0;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-icon {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card {
    text-align: center;
    padding: 0;
    background-color: white;
    border-radius: 12px;
    width: 320px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 164, 150, 0.15);
}

.service-title {
    font-weight: 700;
    font-size: 18px;
    margin: 25px 0 15px;
    color: #00a496;
    padding: 0 15px;
}

.service-card p {
    padding: 0 15px 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

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

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 350px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 50px;
    color: rgba(0, 164, 150, 0.3);
    position: absolute;
    line-height: 0.1;
}

.testimonial-text:before {
    top: 15px;
    left: -16px;
}

.testimonial-text:after {
    bottom: 0;
    right: 0;
}

.testimonial-author {
    text-align: right;
    font-weight: 500;
}

/* プロセス */
.process {
    background-color: rgba(0, 164, 150, 0.1);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0;
}

.process-steps:before {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #00a496;
    width: 80%;
    top: 30px;
    left: 10%;
    z-index: 1;
}

.process-step {
    text-align: center;
    width: 18%;
    position: relative;
    z-index: 2;
}

.step-number {
    background-color: #00a496;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 20px;
}

.step-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 164, 150, 0.1);
    border-radius: 50%;
    padding: 12px;
}

.step-icon svg {
    width: 36px;
    height: 36px;
}

.guarantee {
    text-align: center;
    background-color: #ffecb3;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    font-weight: 700;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgba(0, 164, 150, 0.3);
    display: none;  /* デフォルトで非表示 */
}

@keyframes arrowHighlight {
    0%, 100% { border-top-color: rgba(0, 164, 150, 1); }
    25% { border-top-color: rgba(0, 164, 150, 0.3); }
}

/* 各ステップのアニメーション */
.process-step:nth-child(1):after {
    animation: arrowHighlight 8s steps(1) infinite;
    animation-delay: 0s;
}
.process-step:nth-child(2):after {
    animation: arrowHighlight 8s steps(1) infinite;
    animation-delay: 2s;
}
.process-step:nth-child(3):after {
    animation: arrowHighlight 8s steps(1) infinite;
    animation-delay: 4s;
}
.process-step:nth-child(4):after {
    animation: arrowHighlight 8s steps(1) infinite;
    animation-delay: 6s;
}

/* サービス詳細セクション */
.service-details {
    background-color: white;
}

.service-details h2 {
    text-align: center;
    margin-bottom: 40px;
}

.detail-section {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-section h3 {
    color: #00a496;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 30px;
    text-align: center;
}

.detail-section h3:first-child {
    margin-top: 0;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.detail-section ul li {
    margin-bottom: 12px;
    padding: 8px 0;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.detail-section ul li:before {
    content: '・';
    color: #00a496;
    font-weight: 700;
    margin-right: 8px;
}

.price-highlight {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.payment-method {
    margin-bottom: 12px;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
}

.payment-method:before {
    content: '・';
    color: #00a496;
    font-weight: 700;
    margin-right: 8px;
}

/* よくある質問 */
.faq {
    background-color: white;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 22px;
    color: #00a496;
}

.faq-answer {
    display: none;
    padding: 10px 0;
}

.faq-active .faq-question:after {
    content: '-';
}

.faq-active .faq-answer {
    display: block;
}

/* フッター */
footer {
    background-color: #333333;
    color: white;
    padding: 30px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* flex-wrap: wrap;
    justify-content: space-between; */
}

.footer-section {
    width: 30%;
    margin-bottom: 30px;
}

.footer-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    color: #00a496;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00a496;
}


/* 新フッターcss */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.footer-links a {
    color: white;
    text-decoration: none;
    margin: 8px 0;
    padding: 5px 0;
    position: relative;
    width: 250px;
    text-align: center;
}
.footer-links a:hover {
    text-decoration: underline;
}
.copyright {
    text-align: center;
    margin-top: 0px;
    font-size: 14px;
    color: #aaa;
}
@media (max-width: 600px) {
    .footer-links a {
        width: 90%;
        max-width: 300px;
    }
}
/* 新フッターcss */


.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    /* padding-top: 30px; */
    /* border-top: 1px solid rgba(255,255,255,0.1); */
    /* margin-top: 30px; */
    font-size: 14px;
}

/* レスポンシブスタイル */
@media (max-width: 1024px) {
    .process-steps:before {
        display: none;  /* 縦線を非表示 */
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .process-step {
        width: 80%;
        margin-bottom: 30px;
    }
    
    .process-step:not(:last-child):after {
        display: block;  /* モバイル時のみ表示 */
    }
    
    .process-step:nth-child(1):after {
        animation: arrowHighlight 8s steps(1) infinite;
        animation-delay: 0s;
    }
    .process-step:nth-child(2):after {
        animation: arrowHighlight 8s steps(1) infinite;
        animation-delay: 2s;
    }
    .process-step:nth-child(3):after {
        animation: arrowHighlight 8s steps(1) infinite;
        animation-delay: 4s;
    }
    .process-step:nth-child(4):after {
        animation: arrowHighlight 8s steps(1) infinite;
        animation-delay: 6s;
    }
    
    .footer-section {
        width: 45%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .hero h1 {
        line-height: 46px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .credentials {
        flex-direction: column;
    }
    
    .credential-item {
        margin: 15px 0;
    }
    
    .experts-container,
    .services-container,
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
    
    .expert-card,
    .service-card,
    .testimonial-card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .hero {
        padding-top: 120px; /* モバイルでは上部パディングを少し減らす */
    }
    
    .hero-content {
        padding-bottom: 0px; /* モバイルでは下部パディングを減らす */
    }
    
    .hero-human-image img {
        max-height: 300px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        padding: 10px;
        margin: 10px auto;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
}