/* ====================================
   フォント設定（トップページと統一）
   ==================================== */

/* 全体のフォントファミリー設定 */
* {
    font-family: "Zen Kaku Gothic New", "YakuHanJP", "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", "Noto Sans JP",
        "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
        "游ゴシック体", "メイリオ", Meiryo, sans-serif;
}

body {
    font-family: "Zen Kaku Gothic New", "YakuHanJP", "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", "Noto Sans JP",
        "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
        "游ゴシック体", "メイリオ", Meiryo, sans-serif;
}

/* 見出しのフォント */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Zen Kaku Gothic New", "YakuHanJP", "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", "Noto Sans JP",
        "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
        "游ゴシック体", "メイリオ", Meiryo, sans-serif;
}

/* ボタン・入力フォームのフォント */
button,
input,
textarea,
select {
    font-family: "Zen Kaku Gothic New", "YakuHanJP", "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", "Noto Sans JP",
        "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
        "游ゴシック体", "メイリオ", Meiryo, sans-serif;
}

/* ====================================
   たびぬき ウェブサイト - 共通スタイル
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - main.cssの配色を適用 */
    --primary-color: #003DA5;
    --primary-color-dark: #00236a;
    --primary-orange: #E3A700;
    --primary-orange-dark: #da493b;

    /* アクセントカラー */
    --accent-color: #FFD23F;
    --warning-color: #FFC107;
    --accent-green: #86DAA2;
    --success-color: #50af78;

    /* ニュートラルカラー */
    --white: #FFFFFF;
    --light-gray: #f7f8ec;
    --gray: #fae4bb;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #3d312a;
    --text-gray: #b0b0b0;

    /* 背景カラー */
    --bg-light: #F8F9FA;
    --bg-light-blue: #e3f7ff;
    --bg-light-yellow: #f7f8ec;
    --bg-green: #ACCF62;
    --bg-stone: #fae4bb;
    --bg-white: #FFFFFF;

    --border-color: #E0E0E0;

    /* グラデーション */
    --gradient-blue: linear-gradient(135deg, #023D97 0%, #00236a 100%);
    --gradient-orange: linear-gradient(135deg, #E3A700 0%, #da493b 100%);
    --gradient-hero: linear-gradient(135deg, #e3f7ff 0%, #fbf9d5 100%);

    /* シャドウ */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

    --success-color: #28A745;
    --secondary-color: #FF6B35;

    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* ボーダーラディウス */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
}

.commonization_footer {
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}


/* ヘッダー & ナビゲーション　==================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #6DC2E9;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 24px !important;
    font-weight: bold;
    transition: var(--transition);
}

.logo:hover {opacity: 0.8;}

.logo-icon {
    width: 40px;
    height: 40px;
    background-image: url('/assets/imgs/logoicon.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* デスクトップナビゲーション */
.nav-desktop {
    display: flex;
    /*gap: var(--spacing-md);*/
    align-items: center;
}

.nav-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-desktop a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.nav-desktop a.active {
    color: var(--primary-color);
    font-weight: 600;
}
.nav-desktop a.btn {
    color: var(--white);
    border-radius: var(--radius-lg);
}
.nav-desktop a.btn:hover,
.nav-desktop a.btn.active {
    background: var(--primary-orange-dark);
}

/* モバイルナビゲーション ========================================== */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 80px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
}

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

/* モバイルナビゲーションリンク */
.nav-mobile>a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile.active>a {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーション遅延 */
.nav-mobile.active>a:nth-child(1),
.nav-mobile.active>.nav-item-with-submenu:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-mobile.active>a:nth-child(2),
.nav-mobile.active>.nav-item-with-submenu:nth-child(2) {
    transition-delay: 0.15s;
}

.nav-mobile.active>a:nth-child(3),
.nav-mobile.active>.nav-item-with-submenu:nth-child(3) {
    transition-delay: 0.2s;
}

.nav-mobile.active>a:nth-child(4),
.nav-mobile.active>.nav-item-with-submenu:nth-child(4) {
    transition-delay: 0.25s;
}

.nav-mobile.active>a:nth-child(5),
.nav-mobile.active>.nav-item-with-submenu:nth-child(5) {
    transition-delay: 0.3s;
}

.nav-mobile.active>a:nth-child(6),
.nav-mobile.active>.nav-item-with-submenu:nth-child(6) {
    transition-delay: 0.35s;
}

.nav-mobile.active>a:nth-child(7),
.nav-mobile.active>.nav-item-with-submenu:nth-child(7) {
    transition-delay: 0.4s;
}

.nav-mobile.active>a:nth-child(8),
.nav-mobile.active>.nav-item-with-submenu:nth-child(8) {
    transition-delay: 0.45s;
}

.nav-mobile>a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* サブメニュー付きナビゲーションアイテム */
.nav-item-with-submenu {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.nav-mobile.active .nav-item-with-submenu {
    opacity: 1;
    transform: translateY(0);
}

/* 親リンクのラッパー */
.nav-parent-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    transition: background-color 0.3s;
}

.nav-parent-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 親リンク */
.nav-parent {
    flex: 1;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    display: block;
}

/* サブメニュートグルボタン */
.submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s;
    font-size: 1.5rem;
    min-width: 60px;
}

.submenu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.submenu-toggle:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-item-with-submenu.active .submenu-toggle {
    transform: rotate(180deg);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

/* サブメニュー */
.submenu {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.nav-item-with-submenu.active .submenu {
    max-height: 500px;
    padding: 0.5rem 0;
}

/* サブメニューアイテム */
.submenu-item {
    display: block;
    padding: 0.875rem 2rem 0.875rem 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.submenu-item::before {
    content: '→';
    position: absolute;
    left: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s, left 0.3s;
}

.submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding-left: 3.5rem;
}

.submenu-item:hover::before {
    opacity: 1;
    left: 2rem;
}

/* デスクトップドロップダウンメニュー */
.nav-item-dropdown {
    position: relative;
}

.nav-link-with-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-link-with-dropdown:hover {
    color: var(--primary-color);
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background:var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item::before {
    content: '→';
    position: absolute;
    left: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-green);
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--accent-green);
    padding-left: 1.75rem;
}

.dropdown-item:hover::before {
    opacity: 1;
    left: 1rem;
}

/* セクション共通スタイル ==================================== */

section { padding: var(--spacing-xl) 0;}

.section-hero {
    padding-top: calc(var(--spacing-xl) + 80px);
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* ====================================
   カード & コンテンツボックス
   ==================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-small);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    text-align: center;
}

.card-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* グリッドレイアウト */
.grid {display: grid;gap: var(--spacing-md);}
.grid-2 {grid-template-columns: repeat(2, 1fr);}
.grid-3 {grid-template-columns: repeat(3, 1fr);}
.grid-4 {grid-template-columns: repeat(4, 1fr);}


/* ボタン　========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--success-color);
    color: var(--white);
    box-shadow: var(--shadow-small);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}


/*  強みセクション ========================================== */
.strengths-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}
.strength-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.strength-item.reverse {
    direction: rtl;
}

.strength-item.reverse>* {
    direction: ltr;
}

.strength-visual {
    width: 100%;
}

/* 強み画像のスタイル */
.strength-image-wrapper {
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s, box-shadow 0.3s;
}

.strength-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.strength-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 強みコンテンツ */
.strength-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.strength-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.strength-description {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.strength-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

.strength-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}
.strength-features {
    list-style: none;
}

.strength-features li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}
.strength-features i {
    color: var(--accent-green);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .strength-item { grid-template-columns: 1fr;}
    .strength-item.reverse { direction: ltr;}
}


/* 料金セクション ========================================== */
.pricing {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0;
}

.pricing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-small);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    border: 3px solid var(--primary-orange);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    margin: var(--spacing-md) 0;
}

.price-label {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-note {
    font-size: 0.9rem;
}

/* 導入プロセス */
.implementation-process {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-medium);
}

.process-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.process-step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto var(--spacing-sm);
}

.step-content p {font-size: 0.85rem;}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-orange);
    font-weight: 900;
    margin-top: 30px;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
        .process-steps {
                flex-direction: column;
                align-items: center;
            }
        
            .process-step {
                max-width: 400px;
                width: 100%;
            }
        
            .process-arrow {
                transform: rotate(90deg);
                margin: var(--spacing-sm) 0;
            }
}

/* まとめセクション ========================================== */
.summary {
    background: var(--white);
    padding: var(--spacing-lg) 0;
}

.summary-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.summary-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.summary-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.summary-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.summary-text {
    font-size: 1.2rem;
    line-height: 1.9;
}

.summary-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/*  お問い合わせセクション ========================================== */
.contact {
    background: var(--gradient-blue);
    padding: var(--spacing-xl) 0;
}

.contact-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    animation: float 3s ease-in-out infinite;
}
.contact-icon img {
    width: 120px;
    height:120px;
    object-fit: contain;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.contact-buttons {
    margin-bottom: var(--spacing-lg);
}

.btn-contact {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    box-shadow: var(--shadow-large);
}

.btn-contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 140, 66, 0.4);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-info-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-small);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.contact-link {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-orange);
}

.contact-note {
    font-size: 0.85rem;
}

/* フッター (body.topクラスがついていないページのみ) ==================================== */

.commonization_footer {
    background-color: var(--bg-light-yellow);
    color:var(--primary-color-dark);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}
body.top .commonization_footer {
    --fz: 14;
    font-size: calc(var(--fz)*.1rem)
}


.commonization_footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.commonization_footer .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}
body.top .commonization_footer .footer-section h3 {
    --fz: 16;
    font-size: calc(var(--fz)*.1rem);
    color: #000;
    font-weight: 700;
}
.commonization_footer .footer-section ul {
    list-style: none;
}

.commonization_footer .footer-section ul li {
    margin-bottom: 0.5rem;
}

.commonization_footer .footer-section a {
    color:var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.commonization_footer .footer-section a:hover {
    color: var(--success-color);
    padding-left: 5px;
}

/* ユーティリティクラス　==================================== */

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-orange {
    color: var(--primary-orange);
}

.highlight-blue {
    color: var(--primary-color);
    position: relative;
}

/* レスポンシブデザイン　==================================== */

@media (max-width: 1024px) {
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }

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

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }

    .section-hero {
        min-height: 80vh;
        padding-top: calc(var(--spacing-lg) + 70px);
    }

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

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
        body {
            padding-top: 68px;
            /* スマホ時のヘッダーの高さに合わせる */
        }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .container,
    .container-wide {
        padding: 0 var(--spacing-sm);
    }

    .header-content {
        padding: 0.875rem var(--spacing-sm);
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* モバイルナビゲーションのレスポンシブ調整 */
    .nav-mobile>a,
    .nav-parent {
        font-size:16px;
        padding: 0.875rem 1.5rem;
    }

    .submenu-item {
        font-size: 1rem;
        padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    }

    .submenu-toggle {
        padding: 10px 12px;
        min-width: 50px;
        font-size: 1.3rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

/* デモ動画セクション　==================================== */
.demo {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    /* 動画:コンテンツ = 2:3 */
    gap: var(--spacing-lg);
    align-items: start;
}

.demo-features-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 3px solid var(--primary-orange);
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.features-list li {
    display: flex;
    align-items: start;
    gap: var(--spacing-xs);
}

.features-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.features-list span {
    line-height: 1.6;
}

.video-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    /* 中央配置 */
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 882 / 1920;
    /* モダンブラウザ用 */
    background: var(--text-dark);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-duration {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
    }

    .video-container {
        max-width: 400px;
        /* タブレットサイズでの最大幅 */
        margin: 0 auto;
        /* 中央配置 */
    }
}

@media (max-width: 768px) {
    .video-container {
        max-width: 350px;
        /* スマホサイズでの最大幅 */
    }
}

@media (max-width: 768px) {
    .video-container {
        max-width: 280px;
        /* 小型スマホサイズでの最大幅 */
    }
}

/* ============================================================
   トップページのヘッダーサイズを下階層に強制統一する設定
   ============================================================ */

/* 1. ヘッダー全体の高さと配置を固定 */
header {
    height: 75px !important;
    /* 下階層の正確な高さ */
    min-height: 75px !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. コンテンツの幅と余白を統一 */
.header-content {
    height: 75px !important;
    padding: 16px 32px !important;
    /* 下階層の正確なパディング */
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

/* 3. ロゴの文字サイズを24pxに強制固定 */
header .logo span {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

/* 4. ナビゲーションメニューの文字サイズを16px、幅（余白）を統一 */
.nav-desktop a {
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    /* メニュー1つあたりの幅を確保 */
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* 5. お問い合わせボタンのサイズ調整 */
/* お問い合わせボタンなどの特殊な項目がある場合 */
.nav-mobile>a[href*="contact"],
.nav-mobile>a.btn-primary {
    margin-top: 10px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-bottom: none !important;
}

/* ページトップボタンの基本スタイル */
.m-totop {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 15vw;
    min-width: 80px;
    max-width: 170px;
    height: fit-content;
    z-index: 99;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, width 0.3s;
    pointer-events: none;
}

/* スクロール時に表示するためのクラス */
.m-totop.isShow {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    width: 12vw;
    min-width: 70px;
    max-width: 110px;
}

.m-totop__text {
    display: block;
    text-align: center;
    font-size: clamp(0.8rem, 1.2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: -0.5vw;
}

.m-totop .tabinukikun-el img {
    display: block;
    width: 100%;
    height: auto;
}

/* タブレット向けの調整 */
@media (max-width: 768px) {
    .m-totop {
        width: 18vw;
        min-width: 70px;
        max-width: 120px;
    }

    .m-totop.isShow {
        width: 15vw;
        min-width: 60px;
        max-width: 100px;
    }
}

/* スマートフォン向けの調整 */
@media (max-width: 480px) {
    .m-totop {
        width: 20vw;
        min-width: 60px;
        max-width: 90px;
    }

    .m-totop.isShow {
        width: 18vw;
        min-width: 55px;
        max-width: 80px;
    }

    .m-totop__text {
        font-size: clamp(0.7rem, 1.5vw, 1.2rem);
    }
}