/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: all 0.3s ease;
}

a:hover {
    color: #004499;
}

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

/* ヘッダー */
header {
    background-color: #fff;
    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;
    padding: 15px 20px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    list-style: none;
    margin-left: 30px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #0066cc;
}

.contact-btn {
    background-color: #FF8C00;
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

.contact-btn:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.primary-btn {
    background-color: #FF8C00;
    color: white;
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: #E67E00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: white;
    color: #0066cc;
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.secondary-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 問題提起セクション */
.problems {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #003366;
}

.problems-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background-color: #f5f8fc;
    padding: 30px 25px;
    border-radius: 8px;
    border-left: 5px solid #0066cc;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

/* ソリューションセクション */
.solution {
    padding: 80px 0;
    background-color: #f5f8fc;
}

.solution-highlight {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.solution-highlight h3 {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.solution-highlight > p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 1.1em;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.feature-col {
    flex: 1;
    min-width: 250px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-title svg {
    margin-right: 10px;
    fill: #0066cc;
}

.document-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.document-type {
    background-color: #f0f5ff;
    padding: 15px 10px;
    border-radius: 6px;
    text-align: left;
    font-weight: 500;
    color: #003366;
    display: flex;
    align-items: center;
}

/* 事例セクション */
.case-study {
    padding: 80px 0;
    background-color: white;
}

.case-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.case-image {
    flex: 1;
    min-width: 300px;
}

.case-content {
    flex: 1;
    min-width: 300px;
}

.case-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.case-highlight {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.testimonial {
    background-color: #f5f8fc;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    position: relative;
}

.testimonial:before {
    content: """;
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 60px;
    color: #0066cc;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
}
/* 比較セクション */
.comparison {
    padding: 80px 0;
    background-color: #f5f8fc;
}

.strength-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    counter-reset: strength-counter;
}

.strength-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 70px;
}

.strength-item:before {
    counter-increment: strength-counter;
    content: counter(strength-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.strength-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
}

/* 導入フローセクション */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #0066cc;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -50px;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FF8C00;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.timeline-item:nth-child(1):before {
    content: '1';
}

.timeline-item:nth-child(2):before {
    content: '2';
}

.timeline-item:nth-child(3):before {
    content: '3';
}

.timeline-item:nth-child(4):before {
    content: '4';
}

.timeline-item:nth-child(5):before {
    content: '5';
}

.timeline-item:nth-child(6):before {
    content: '6';
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: #f5f8fc;
}

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

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

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 16px;
}

/* メインコンテンツ */
.main-content {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* サブセクションのスタイル */
.subcontent {
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.subsection-title {
    font-size: 1.8em;
    color: #005b99;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #005b99;
    text-align: center;
}

/* 画像コンテナ */
.image-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* フローコンテナ */
.flow-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 画像グリッドスタイル */
.screen-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.image-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.image-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
    text-align: center;
}

.image-caption {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.screen-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    object-fit: contain;
}

/* フローチャートスタイル */
.flow-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.flow-step {
    background-color: #e6f2ff;
    border: 2px solid #005b99;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    width: 80%;
    max-width: 700px;
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.flow-step h3,
.flow-step h5 {
    margin-bottom: 8px;
    color: #003366;
    font-size: 1.2em;
}

.flow-step:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #005b99;
    transform: translateX(-50%);
}

.flow-step:last-child:after {
    display: none;
}
/* CTAセクション */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    text-align: center;
    width: 100%; /* 横幅を100%に */
    margin: 0; /* マージンを削除 */
    box-sizing: border-box; /* ボーダーやパディングを幅に含める */
}

.cta .container {
    max-width: 1160px; /* コンテンツ領域を親の幅にする */
    margin: 0 auto;
    padding: 0 20px;
	position: relative; /* 位置関係を確立 */
}
.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
		}
.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact-block {
background: none;
width:100%;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-block {
    background: none !important; /* ← これで強制上書き */
  }
}


@media screen and (max-width: 768px) {
.cta h2 {
    font-size: 24px !important;
  }
}

/* お問い合わせ情報のスタイル - 横並びバージョン */
.contact-info {
    margin: 40px auto;
    max-width: 800px;
}

/* 見出し部分を横並びにする */
.contact-headers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.contact-header {
    font-size: 16px;
    font-weight: normal;
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 連絡先の値を横並びにする */
.contact-values {
    display: flex;
    justify-content: space-between;
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 100%; /* 少し隙間を開ける */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.contact-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.contact-note {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

/* フォーム */
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 60px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative; /* 位置関係を確立 */
    z-index: 1; /* 背景よりも前面に */
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 500;
    color: #FFFFFF;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

textarea {
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #E67E00;
}

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

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: block;
    text-align: left;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #F6AB00;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    margin-top: 50px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 14px;
}
/* 処理実績と業務書類セクションのスタイル */
.highlighted-feature {
    background-color: #f0f7ff;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: inset 0 0 15px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

/* 特徴セクション内のタイトルをより目立たせる */
.highlighted-feature .feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 102, 204, 0.3);
}

/* 特徴セクション内のリスト項目を強調 */
.highlighted-feature ul {
    padding-left: 25px;
}

.highlighted-feature li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.highlighted-feature li:before {
    content: "✓";
    position: absolute;
    left: -25px;
    color: #0066cc;
    font-weight: bold;
}

/* 書類タイプのカードをより鮮明に */
.highlighted-feature .document-type {
    background-color: white;
    border: 1px solid #d9e8ff;
    padding: 15px 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlighted-feature .document-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* アイコンの色を調整 */
.highlighted-feature svg {
    fill: #0066cc;
}

/* 1. ヒーローセクションのくじらアイコン */
.hero-icon {
    height: 50px;
    width: 25px;
    margin-right: 10px;
    object-fit: contain;
}

/* 2. セクション間の矢印 */
.section-arrow-container {
    position: relative;
    text-align: center;
    margin-top: -30px;
    margin-bottom: -50px;
    z-index: 10;
}

.section-arrow {
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

.section-arrow svg {
    width: 50px;
    height: 50px;
}

/* 3. 業界別カードのスタイル */
.industry-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.industry-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.industry-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon img {
    max-width: 100%;
    max-height: 100%;
}

.industry-card h4 {
    color: #003366;
    font-size: 20px;
    margin: 0;
}
/* 課題セクションを2×2グリッドに変更 */
.problems-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* 書類タイプのグリッドレイアウト調整 */
.document-types {
    grid-template-columns: repeat(2, 1fr);
}

/* キービジュアルの改行を削除 */
.hero h2:first-of-type {
    margin-bottom: 5px;
}

.hero h2 span {
    display: inline-flex !important;
}

/* レスポンシブ調整 */
@media (min-width: 992px) {
    .document-types {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 画像サイズの最適化 */
/* ヒーローセクションのロゴ */
.hero img {
    height: 50px;
    width: 50PX;
    object-fit: contain;
}

/* ヘッダーのロゴ */
.header-container .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ソリューションフロー図 */
.solution img[alt="くじらデータ入力自動化ソリューション概要図"] {
    max-width: 800px;
    width: 100%;
    height: auto;
}

/* 導入事例のGuideDentロゴ */
.case-study img[alt="GuideDentロゴ"] {
    max-width: 280px;
    height: auto;
    margin: 0 auto;
}

/* システムスクリーンショット */
.case-study img[alt*="システム"], 
.case-study img[alt*="画面"] {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* フッターのロゴ */
footer img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

/* ロゴ画像のスタイル */
.header-logo-img {
    height: 40px;
    width: auto;
}

.hero-logo-img {
    height: 50px;
    width: auto;
}

/* モバイル向け調整 */
@media (max-width: 768px) {
    .problems-container {
        grid-template-columns: 1fr;
    }
    
    .document-types {
        grid-template-columns: 1fr;
    }
    
    .hero img {
        height: 40px;
    }
    
    .industry-header {
        flex-direction: column;
        text-align: center;
    }
    
    .industry-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-headers, 
    .contact-values {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-header, 
    .contact-method {
        width: 100%;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-value {
        font-size: 18px;
    }
    
    .section-arrow {
        width: 80px;
        height: 80px;
    }
    
    .section-arrow svg {
        width: 40px;
        height: 40px;
    }
    
    .header-logo-img {
        height: 30px;
    }
    
    .hero-logo-img {
        height: 40px;
    }

    .screen-images-grid {
        grid-template-columns: 1fr;
    }
    
    .image-section,
    .flow-section {
        max-width: 100%;
        padding: 20px;
    }
    
    .flow-step {
        width: 95%;
        max-width: none;
        padding: 15px;
    }
    
    .subsection-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }
    
    .highlighted-feature {
        padding: 20px 15px;
    }
    
    .highlighted-feature .feature-title {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 18px;
    line-height: 1.4;
    padding: 0 10px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .solution-highlight {
        padding: 25px;
    }
    
    .case-container {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 25px;
    }

.screen-images-grid {
        grid-template-columns: 1fr; /* モバイルでは1列 */
    }
    
    .image-section,
    .flow-section {
        max-width: 100%; /* モバイルでは画面幅いっぱいに */
        padding: 20px; /* パディングを少し小さく */
    }
    
    .flow-step {
        width: 95%; /* モバイルではより広く */
        max-width: none;
        padding: 15px; /* パディングを少し小さく */
    }
    
    .subsection-title {
        font-size: 1.5em; /* タイトルサイズを少し小さく */
        margin-bottom: 25px;
    }
    
    .highlighted-feature {
        padding: 20px 15px;
    }
    
    .highlighted-feature .feature-title {
        font-size: 20px;
    }
}

/* ロゴ画像のスタイル */
.header-logo-img {
    height: 40px;
    width: auto;
}

.hero-logo-img {
    height: 50px;
    width: auto;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .header-logo-img {
        height: 30px;
    }
    
    .hero-logo-img {
        height: 40px;
    }    }

/* キービジュアルのテキスト最適化 */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 18px;
    line-height: 1.4;
    padding: 0 10px;
  }
  
  /* 白い背景付きの見出し */
  .hero h2 strong {
    display: inline-block;
    white-space: normal !important;
    word-break: break-word;
  }
  
  /* 白い背景がついたコンテナ */
  .hero div[style*="background-color: rgba(255, 255, 255, 0.7)"] {
    padding: 8px 15px !important;
    max-width: 95% !important;
    box-sizing: border-box;
  }
}
/* 追加（PCのみ表示） */
.pc-menu {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* スライドインメニュースタイル */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease-in-out;
  padding: 20px;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  font-size: 30px;
  text-align: right;
  cursor: pointer;
}
/* モバイルメニュー用：縦並び */
.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin-top: 40px;
}

.mobile-menu .nav-menu li {
  margin-left: 0;
  list-style: none;
}

.mobile-menu .nav-menu a {
  font-size: 18px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 30px;
  background: orange;
  color: white!important;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top i {
  color: white;
  font-size: 28px;
}


/* モバイル表示時のみ適用 */
@media (max-width: 991px) {
  .pc-menu {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }
}

/* 極小画面向け追加調整 */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 16px;
  }
}
@media (max-width: 375px) {
    .submit-btn {
        font-size: 14px;
        padding: 12px;
    }
}
    