@charset "UTF-8";

/* ==========================================================================
   1. Base & Variables (設定・ベース)
   ========================================================================== */
:root {
    /* カラーパレット：信頼感のあるネイビー × 成約のオレンジ × 先進的なシルバー */
    --color-primary: #0f172a;   /* 濃紺 (テキスト・ヘッダー) */
    --color-accent: #f97316;    /* オレンジ (CTAボタン) */
    --color-accent-hover: #ea580c;
    --color-bg-light: #f8fafc;  /* 薄いグレー (背景) */
    --color-bg-white: #ffffff;
    --color-border: #e2e8f0;
    --color-text-main: #334155;
    --color-gold-bg: #fffbeb;   /* プレミアムプラン用背景 */
    --color-gold-border: #fcd34d;

    /* サイズ・余白 */
    --container-width: 1100px;
    --header-height: 80px;
    --sp-padding: 20px;
}

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

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-bg-white);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 共通コンテナ */
.l-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--sp-padding);
}

/* 共通セクション設定 */
section {
    padding: 80px 0;
}

/* セクションタイトル */
.section-title {
    font-size: 2rem; /* 32px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 20px auto 0;
}
.catch {
	text-align: center;
	font-size:1.6em;
	font-weight:bold;
}

/* ボタン共通 */
.btn {
	width:400px;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 115, 22, 0.3);
}

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

.btn-block {
    display: block;
    width: 100%;
}
.header-cta .btn {
	width:280px;
}

/* ==========================================================================
   LINEボタン
   ========================================================================== */
.tsunagu-line-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 400px; 
	/*max-width: 400px;*/
	margin-top:10px;
	padding: 16px 20px;
	background: #00b900 100%;
	color: #ffffff !important; text-decoration: none !important;
	border-radius: 50px; transition: 0.3s; font-family: sans-serif;
}
.tsunagu-line-btn:hover {
	transform: translateY(-3px); opacity: 0.9; 
}
.tsunagu-line-icon {
	width: 36px; height: 36px; background: #fff; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; margin-right: 15px;
}
.tsunagu-line-main-txt { 
	display: block; font-size: 20px; font-weight: bold;
}
.tsunagu-line-sub-txt { 
	display: block; font-size: 11px; opacity: 0.9; 
}
.cta_btn .tsunagu-line-btn {
	
	
}
@media (max-width: 768px) {
	section{
		padding:30px 0;
	}
	.section-title {
		font-size:1.6em;
	}
	.catch{
		font-size:1.2em;
	}
	.btn,
	.tsunagu-line-btn {
		width:100%;
		margin:0 auto;
	}
}

/* ==========================================================================
   2. Header & Hamburger Menu (修正版)
   ========================================================================== */

/* --- 共通設定 --- */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 45px;
    width: auto;
    position: relative;
    z-index: 1002; /* メニューが開いてもロゴは最前面 */
}

/* ハンバーガー制御用チェックボックスは常に隠す */
.nav-toggle-checkbox {
    display: none;
}

/* オーバーレイ（初期状態は非表示） */
.nav-overlay {
    display: none;
}

/* ==========================================================================
   PC View (769px以上)
   ========================================================================== */
@media (min-width: 769px) {
    /* ハンバーガーアイコン非表示 */
    .hamburger-icon {
        display: none;
    }

    /* ナビゲーション横並び */
    .global-nav ul {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .global-nav a {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--color-primary);
        position: relative;
    }

    /* ホバー時の下線アニメーション */
    .global-nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-accent);
        transition: width 0.3s;
    }

    .global-nav a:hover::after {
        width: 100%;
    }

    /* スマホ用ボタン（sp-nav-btn）はPCでは隠す */
    .sp-nav-btn {
        display: none;
    }

    /* PC用CTAエリアのボタン調整 */
    .header-cta .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   Mobile View (768px以下 / ハンバーガーメニュー)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* PC用CTAを隠す */
    .pc-only {
        display: none;
    }

    /* --- ハンバーガーアイコン設定 --- */
    .hamburger-icon {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1002; /* メニューより手前 */
    }

    .hamburger-icon span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        border-radius: 2px;
        transition: all 0.4s;
    }

    .hamburger-icon span:nth-of-type(1) { top: 0; }
    .hamburger-icon span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
    .hamburger-icon span:nth-of-type(3) { bottom: 0; }

    /* --- メニュー本体（ドロワー） --- */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期位置は画面外（右） */
        width: 80%;   /* 画面幅の80% */
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        padding: 80px 20px 40px; /* 上余白はヘッダー分確保 */
        transition: right 0.4s ease-in-out;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .global-nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .global-nav li {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 10px;
    }
    
    /* CTAボタン部分の枠線は消す */
    .global-nav li.sp-nav-btn {
        border-bottom: none;
        padding-bottom: 0;
    }

    .global-nav a {
        font-size: 1.1rem;
        font-weight: bold;
        display: block;
        padding: 5px 0;
    }

    /* --- スマホメニュー内ボタン装飾 --- */
    .sp-nav-btn {
        margin-top: 10px;
    }

    .btn-nav {
        display: block;
        width: 100%;
        padding: 15px;
        text-align: center;
        border-radius: 8px; /* 角丸を少し小さく */
    }
    
    .btn-nav.btn-secondary {
        margin-bottom: 10px;
        background: #fff; /* 白背景 */
    }

    /* --- チェックボックスON時（メニューが開いた状態） --- */
    
    /* 1. メニューをスライドイン */
    .nav-toggle-checkbox:checked ~ .global-nav {
        right: 0;
    }

    /* 2. 背景オーバーレイを表示 */
    .nav-toggle-checkbox:checked ~ .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        cursor: pointer;
    }

    /* 3. ハンバーガーアイコンのアニメーション（×印にする） */
    .nav-toggle-checkbox:checked ~ .hamburger-icon span:nth-of-type(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .nav-toggle-checkbox:checked ~ .hamburger-icon span:nth-of-type(2) {
        opacity: 0;
    }
    .nav-toggle-checkbox:checked ~ .hamburger-icon span:nth-of-type(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
}


/* ==========================================================================
   3. Hero / Key Visual (FV)
   ========================================================================== */
.p-hero {
    margin-top: var(--header-height); /* ヘッダー分下げる */
    padding: 100px 0;
	width:100%;
    min-height: 80vh; /* FVの高さを確保 */
    display: flex;
    align-items: center;
	background: url("images/hero-image.jpg") no-repeat center/cover;
    text-align: left;
	position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-sub-copy {
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.hero-main-copy {
    font-size: 2rem; /* 48px */
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.hero-main-copy .highlight {
    font-size: 3rem; /* 48px */
    background: linear-gradient(transparent 60%, #ffddbb 60%); /* マーカー風 */
}

.hero-cta-group {
	text-align:center;
    padding: 20px;
}

.hero-visual {
    flex: 1;
    text-align: center;
}

/* スマホ対応: FV */
@media (max-width: 768px) {
	.p-hero {
		width: 100%;
		padding:1%;
		background: url("images/hero-image.jpg") no-repeat 70%/cover;
    	min-height: 50vh; /* FVの高さを確保 */
	}
    .hero-content {
        flex-direction: column-reverse; /* 画像を上に */
        text-align: center;
    }
    .hero-main-copy {
        font-size: 1.6rem;
        text-align: center;
    }
	.hero-main-copy .highlight {
		font-size:2.4rem;
	}
    .hero-cta-group {
        flex-direction: column;
    }
}


/* ==========================================================================
   4. Sections & Grids (横並び・リスト)
   ========================================================================== */
/* 背景色分け */
.p-problem, .p-cases, .p-plans,.p-expansion { background-color: var(--color-bg-light); }
.p-solution, .p-authority { background-color: var(--color-bg-white); }


/* ==========================================================================
   1. Statement (リード文)
   ========================================================================== */
.p-statement {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.statement-box {
    max-width: 850px;
    margin: 0 auto;
}

.statement-lead {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent); /* オレンジで強調 */
    margin-bottom: 40px;
    line-height: 1.4;
}
.statement-lead span {
	display:block;
    font-size: 1.2rem;
}
.statement-text p {
    font-size: 1.15rem;
    line-height: 2.0;
    color: var(--color-primary);
    margin-bottom: 1.5em;
    font-weight: 500;
    word-break: keep-all; /* 日本語の変な改行を防ぐ */
    overflow-wrap: break-word;
}
.statement-box video {
	width:80%;
	height:auto;
}

@media (max-width: 768px) {
    .p-statement {
        padding: 60px 0;
    }
    .statement-lead {
        font-size: 1.4rem;
    }
    .statement-text p {
        font-size: 1rem;
        text-align: left; /* スマホでは左寄せの方が読みやすい */
    }
	.statement-box video {
		width:80%;
		height:auto;
	}
}
/* ==========================================================================
   2. Problem (修正・干渉防止版)
   ========================================================================== */
.p-problem {
	background: url("images/problem.jpg") no-repeat center/cover;
}

.problem-list {
    display: flex; /* 確実にFlexboxを指定 */
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap; /* PCでは折り返さない */
    margin-bottom: 50px;
    width: 100%;
}

.problem-item {
    background: #fff;
    padding: 40px 30px;
    /* 3分割から余白を引いたサイズを基本にする */
    flex: 1 1 calc(33.333% - 20px); 
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    font-weight: bold;
    min-height: 120px;
}
.problem-item img {
	width:100%;
	display:block;
}
/* スマホ対応：干渉を防ぐために明示的に縦並びを指定 */
@media (max-width: 768px) {
    .problem-list {
        flex-direction: column; /* スマホでは縦並び */
        flex-wrap: wrap;
        align-items: center;
    }
    
    .problem-item {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}
.problem-solution-bridge {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* ==========================================================================
   2. ソリューション
   ========================================================================== */
/* 基本スタイル */
.tsunagu-features {
    background-color: #f9f9f9;
    padding: 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

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

/* リード文 */
.section-lead {
    text-align: center;
    margin-bottom: 20px;
}

.section-lead h2 {
    font-size: 28px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-lead p {
    font-size: 1.2em;
    color: #666;
	text-align:left;
}

/* 特徴カード */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    flex-shrink: 0;
    text-align: center;
    position: relative;
}

.number {
    display: block;
    font-size: 4.6em;
    font-weight: bold;
    color: #00bcd4; /* シアン */
    margin-bottom: 10px;
}

.icon-placeholder {
    width: 250px;
    height: 250px;
	background: #e0f7f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #00bcd4;
    display: inline-block;
    padding-bottom: 5px;
}

.card-content p {
	text-align:left;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
ul.info {
	margin-left:5px;
	padding-left: 1em; /* 文章のスタート位置。li:beforeが入るスペースを確保*/
}
ul.info li {
	margin:10px 0;
	padding:0;
	text-align:left;
	position: relative;
	padding-left: 0.5em; /* アイコンと文章の間のスペース */
}
ul.info li:before {
	content: "\f058";
	font-family: "Font Awesome 5 Free"; 
	font-weight: bold;
	/*color:#970b0b;*/
	position: absolute;
	left: -1em; /* アイコンのスタート位置。左揃えの場合 ul のpadding-leftと同じ値 */
	top: 0; /* アイコンの場所を変えたければ適宜変更 */
}

/* CTAエリア 
.cta-area {
    background-color: #00bcd4;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.cta-area p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #000;
}
*/
.sp-only {
	display:none;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .card-content h3 {
        display: block;
    }

    .sp-only {
        display: block;
    }
}
/* --- Solution & Grids (3カラム) --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(, 1fr); /* 3列 */
    gap: 40px;
}

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

.solution-card .icon-area {
    width: 150px;
    height: 150px;
    background: var(--color-bg-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}
.solution-card p {
	text-align:left;
}
/* ==========================================================================
   3. 実績 
   ========================================================================== */
.p-authority {
    background-color: var(--color-bg-white);
}

.authority-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.authority-card {
    flex: 1; /* 横幅を均等に */
}

.card-inner {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%; /* 高さを揃える */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.authority-card:hover .card-inner {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* インサイト画像を枠いっぱいに表示 */
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.card-tag {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--color-accent);
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.authority-summary {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-primary);
    max-width: 800px;
    margin: 40px auto 0;
}

/* スマホ対応：縦並びへの切り替え */
@media (max-width: 768px) {
    .authority-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .card-body {
        padding: 20px;
    }
}

/* ==========================================================================
   4. 業種別ターゲット
   ========================================================================== */
.cases-grid {
	margin-top:20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
/*
.case-card:hover {
    transform: translateY(-5px);
}
*/
.case-header {
    background: var(--color-primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-body {
    padding: 25px;

}
.case-solution {
	padding:5px;
	font-size:0.9em;
	background:#EEE;
	box-sizing:border-box;
}

/* 背景のオーバーレイ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9); /* 濃いめの背景で没入感 */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
/* 9:16の比率を維持 */
.modal-content {
  position: relative;
  width: 85%;
  max-width: 380px; /* PCで見た時に大きすぎないサイズ */
}

/* 動画の枠 */
.video-frame {
  position: relative;
  border: 4px solid #333;
  border-radius: 20px;
  background: #000;
  
  /* 【重要】枠からはみ出る動画を強制的に隠す */
  overflow: hidden; 
  
  /* 枠自体のサイズを固定（9:16を維持） */
  width: 100%;
  aspect-ratio: 9 / 16;
  
  /* ×ボタンより下のレイヤーであることを保証 */
  z-index: 1; 
}
.video-frame video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,255,0.3); /* シアンの光を微かに */
}



/* ×ボタン（右上の円形ボタン） */
.close-btn-circle {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px; /* 指で押しやすいサイズ */
  height: 44px;
  background: #00ffff; /* シアンブルー */
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
/* ...既存のスタイル... */
  z-index: 999; /* videoタグ(z-index:1)より確実に大きく */
}

.close-btn-circle:hover {
  transform: scale(1.1);
}

/* スマホ用の調整 */
@media (max-width: 480px) {
  .close-btn-circle {
    top: -50px; /* スマホでは指が当たらないよう少し上に */
    right: 0;
  }
}
/* 閉じるボタン 
.close-btn {
  position: absolute;
  top: -40px; right: 0;
  color: white; font-size: 30px;
  cursor: pointer;
}
*/
.sample-video-wrapper {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9; /* 動画比率固定 */
}

/* ==========================================================================
   5. プレミアムサービス
   ========================================================================== */

.p-premium {
    background-color: var(--color-gold-bg); /* 特別な背景色 */
    border-top: 1px solid var(--color-gold-border);
    border-bottom: 1px solid var(--color-gold-border);
}

.premium-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.premium-title {
    font-size: 2rem;
    color: #854d0e; /* ゴールド系のダークカラー */
    margin-bottom: 20px;
}

.premium-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.premium-benefits .benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid var(--color-gold-border);
}
.premium-box dl {
	margin-top:10px;
}
.premium-box dl dt {
	padding:5px;
	color:#FFF;
	fon-size:1.2em;
	font-weight:bold;
	background:orange;
}
.premium-box dl dd {
	padding:20px;
	background:#FFF;
	box-sizing:border-box;
	text-align:left;
}
@media (max-width: 768px) {
	.premium-title {
		font-size: 1.6rem;
	}
}
/* ==========================================================================
   6. Web×世界
   ========================================================================== */
.p-expansion {
	color:#CCC;
	text-align:center;
	background: url("images/globe.jpg") no-repeat center/cover;
}
.p-expansion h2.section-title {
	color:#FFF;
}

.expansion-flex {
    display: flex;
    gap: 40px;
}

.expansion-item {
    flex: 1;
    background: var(--color-primary);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
}

.expansion-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}
.expansion-item p {
	text-align:left;
}


/* ==========================================================================
   7. サービスプラン
   ========================================================================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start; /* 高さを合わせない場合はこれ */
}

.plan-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
}

/* おすすめプランの強調 */
.plan-card.recommended {
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
    transform: scale(1.05); /* 少し大きく */
    z-index: 2;
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.plan-name span {
	display:block;
	font-size:0.8em;
	border-bottom:1px solid #CCC;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 20px 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
}

.plan-details {
    text-align: left;
    margin-top: 20px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.plan-details li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.plan-details li::before {
    content: "✔";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}
.plan-note {
	margin-top:20px;
}
/* スマホ対応: グリッドを1列に */
@media (max-width: 768px) {
    .solution-grid,
    .cases-grid,
    .premium-benefits,
    .expansion-flex,
    .plans-grid {
        grid-template-columns: 1fr; /* 1列 */
        display: grid; /* FlexもGridにして1列化 */
    }
    
    .plan-card.recommended {
        transform: scale(1); /* 拡大解除 */
        margin: 20px 0;
    }
}


/* ==========================================================================
   8. ポリシー
   ========================================================================== */
.policy-box {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 8px;
}

.policy-box dl dt {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 20px;
    border-left: 4px solid var(--color-accent);
    padding-left: 10px;
}

.policy-box dl dd {
    margin: 10px 0 0 15px;
    font-size: 0.95rem;
}

/* ==========================================================================
   5. Workflow (修正版：カード型)
   ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5工程を横並び */
    gap: 20px;
    position: relative;
}

/* 工程間の矢印（PC表示時のみ） */
@media (min-width: 1025px) {
    .workflow-card:not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 40%;
        right: -15px;
        color: var(--color-border);
        font-size: 1.5rem;
        z-index: 1;
    }
}

.workflow-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.workflow-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-weight: 800;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

.workflow-icon {
    width: 60px;
    height: 60px;
    margin: 10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: 12px;
}

.workflow-icon img {
    width: 60px;
    height: 60px;
}

.workflow-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--color-primary);
    min-height: 2.8em; /* タイトルの高さを揃える */
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-main);
    text-align: left;
}

/* レスポンシブ対応：タブレット・スマホ */
@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(3, 1fr); /* 3列2行へ */
    }
}

@media (max-width: 768px) {
    .workflow-grid {
        grid-template-columns: 1fr; /* 1列へ */
        gap: 30px;
    }
    
    .workflow-card {
        padding: 40px 25px 25px;
    }

    .workflow-card h3 {
        min-height: auto;
    }
}
/* ==========================================================================
   なぜ動画？
   ========================================================================== */

.p-reason {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}
.reason-list {
    display: flex; /* 確実にFlexboxを指定 */
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap; /* PCでは折り返さない */
    margin-bottom: 50px;
    width: 100%;
}

.reason-item {
    background: #fff;
    padding: 40px 30px;
    /* 3分割から余白を引いたサイズを基本にする */
    flex: 1 1 calc(33.333% - 20px); 
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    font-weight: bold;
    min-height: 120px;
}
.reason-item img {
	width:100%;
	display:block;
}
.reason-item dl {
	
}
.reason-item dl dt {
	font-weight:bold;
}
.reason-item dl dd {
	font-weight:normal;
	text-align:left;
}
dl.catch2 {
	margin-top:20px;
}
dl.catch2 dt {
	font-weight:bold;
	font-size:1.6em;
	text-align:center;
	border:none;
}
.p-solution dl.catch2 {
}
.p-solution dl.catch2 dt {
	margin-bottom:20px;
	background:#02FFFF;
}
@media (max-width: 768px) {
    .reason-list {
        flex-direction: column; /* スマホでは縦並び */
        flex-wrap: wrap;
        align-items: center;
    }
    
    .reason-item {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}
/* ==========================================================================
   顔出し・撮影不要の証明
   ========================================================================== */
.p-features {
	background: url("images/features.jpg") no-repeat center/cover;
}
.p-sync dl,
.p-features {
	
}
.p-sync dl dt,
.p-features dt {
	font-size:1.6em;
	font-weight:bold;
	padding: 10px;
	border-bottom:1px solid #CCC;
}
.p-sync dl dd,
.p-features dd {
	padding:10px;
}
@media (max-width: 768px) {
	.p-sync dl dt,
	.p-features dt {
		font-size:1.2em;
	}
}
/* ==========================================================================
   動画ｘＬＰ
   ========================================================================== */
.p-sync {
    background-color: var(--color-bg-light);
	
}

.flex-box {
	width:100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content:space-between;
	align-items: stretch;
	margin:0;
	padding:0;
}

.flex-box .row2 {
    width: calc(100%/2 - 10px);
	overflow:hidden;
	box-sizing:border-box;
	margin:0;
	padding:0;
}

@media only screen and (max-width:767px){
	.flex-box .row2 {
		width:100%;
		margin-bottom:10px;
	}
	.flex-box .row2:first-child,
	.flex-box .row2:last-child  {
		flex: 0 0 100%; /* 横幅40% */
		max-width: 100%;
	}
}

/* ==========================================================================
   LP features
   ========================================================================== */
dl.lp-point {
	text-align:left;
	font-weight:normal;
}
dl.lp-point dt {
	margin-top:10px;
	font-weight:bold;
}
dl.lp-point dd {
}
/* ==========================================================================
   CTA
   ========================================================================== */
.cta{
	color:#CCC;
	text-align:center;
	background: url("images/cta.jpg") no-repeat center/cover;

}
.cta h2 {
    font-size: 2rem; /* 32px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.cta_btn {
	padding:20px;
	box-sizing:border-box;
}

@media only screen and (max-width:767px){
	.cta h2 {
		font-size:1.6em;
    margin-bottom: 30px;
	}
}
/* ==========================================================================
   About us
   ========================================================================== */
.p-about{
	color:#CCC;
	background: url("images/about.jpg") no-repeat center/cover;

}
.p-about h2{
	color:#CCC;
}
.p-about h3 {
	padding:10px;
}
.mt10 {
	margin-top:10px;
}
.p-about dl {
	
}
.p-about dl dt{
	margin-bottom:10px;
	border-bottom:1px solid #CCC;
}
.p-about dl dd {
	margin-bottom:10px;
}
.p-about table {
	width:100%;
}
.p-about table th,
.p-about table td {
	padding:10px;
	border-bottom:1px solid #CCC;
}
/* ==========================================================================
   9. Q&A (Accordion)
   ========================================================================== */
/* <details> と <summary> を使ったJS不要アコーディオン */
.p-faq details {
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
}

.p-faq summary {
    display: block; /* デフォルトの矢印を消すための準備 */
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 50px; /* アイコン分の余白 */
    list-style: none; /* Chrome/Safari用矢印消し */
}

/* Firefox用矢印消し */
.p-faq summary::-webkit-details-marker {
    display: none;
}

/* Qアイコンと開閉アイコン */
.p-faq summary::before {
    content: "Q.";
    color: var(--color-accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* プラス・マイナスアイコン */
.p-faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--color-primary);
    transition: transform 0.3s;
}

/* 開いている時 */
.p-faq details[open] summary {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.p-faq details[open] summary::after {
    content: "−"; /* マイナス記号 */
}

/* A（回答）部分 */
.p-faq details p {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    background: #fff;
}

.p-faq details p::before {
    content: "A.";
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 10px;
}
/* ==========================================================================
   オプション
   ========================================================================== */
.p-option {
	
}
.p-option dl {
	
}
.p-option dl dt {
	font-weight:bold;
	padding:10px;
	background:#00ffff;
}
.p-option dl dd {
	padding:10px;
	
}
.p-option ul{
	padding:10px;
}
.p-option ul li {
	
}
.p-option table {
	width:100%;
	background:#EEE;
}
.p-option table th {
	padding:10px;
	font-weight:bold;
	text-align:left;
	vertical-align: top;
	border-bottom:1px solid #FFF;
}
.p-option table td {
	padding:10px;
	border-bottom:1px solid #FFF;
}
/* ==========================================================================
   10. Form (フォーム成型)
   ========================================================================== */
.form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 40px auto 0;
    color: #333; /* フッター背景が暗い場合を考慮 */
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    background: #e53e3e;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.checkbox-group { 
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 10px; background: #f9f9f9; 
	padding: 15px; border-radius: 4px;
}
.checkbox-item { 
	display: flex; 
	align-items: center; 
	font-size: 14px;
}
 .checkbox-item input { 
	 margin-right: 8px; 
}
/* 入力エリア共通設定 */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    appearance: none; /* ブラウザ標準スタイル解除 */
    background-color: #fcfcfc;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

textarea {
    resize: vertical; /* 縦方向のみリサイズ許可 */
}

/* 送信ボタン */
.contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* スマホ対応: フォーム */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
}


/* ==========================================================================
   8. Footer (フッター)
   ========================================================================== */
.l-footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 80px 0 30px;
}

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

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* フッター内のフォーム調整 */
.l-footer .form-wrapper {
    /* フッター内ではフォーム背景を白にして文字色を黒に戻す */
    background: #fff;
    color: var(--color-text-main);
    text-align: left; /* 入力項目は左寄せ */
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 768px) {
	.footer-title {
    font-size: 1.6rem;
	}
}