@charset "UTF-8";


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #185179;
    --teal: #2aa79b;
    --gold: #a17649;
    --teal-light: #e8f7f6;
    --accent: #ffd200;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --white: #ffffff;
  }

	
  /* アニメーション */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.55s ease forwards;
  }
  .fade-up:nth-child(1) { animation-delay: 0.05s; }
  .fade-up:nth-child(2) { animation-delay: 0.2s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }


    .page--digital.digital_teacher .kv_sub {
    background: url("../img/online_ec_mv.png") center center no-repeat;
    background-size: 860px;
    height: 480px;
    }
    .digital__content__inner {
        position: relative;
    }
    .digital__content__inner .kyokaione_dog{
      position: absolute;
      width: 75px;
      right: 200px;
    }
    .digital__introduction__catch {
        font-size: 16px;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
				margin-top: 50px;
    }

	.online_ec {
		background: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0px 20px;
	}
	.local_navi {
    background: var(--navy);
    }

/*元データ*/

    .page--digital.digital_teacher .kv_sub {
    background: url("/img/digital/kyokai-one/online_ec_mv.jpg") center center no-repeat;
    background-size: 860px;
    height: 480px;
}

	.kv_sub .ttl_content {
    background-color: unset;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 0;
    color: unset;
    text-align: left;
    opacity: 1;
    top: calc(50% - 80px);
	}
  .kv_sub .main_logo{
    position: absolute;
    bottom: -56px;

	}
  .kv_sub .main_logo img{
    width: 262px;
	}
  
	.digital__title--1{
		width: 300px;
		height: auto;
	}
	.kyokaione_point_wrap{
		width: 600px;
		max-width: 100%;
		margin: auto;
	}
	.kyokaione_point{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		margin-bottom: 40px;
	}
	.kyokaione_point dt{
		width: 90px;
		margin-bottom: 20px;
		font-size: 24px;
		color: #a17649;
	}
	.kyokaione_point dd{
		box-sizing: border-box;
		width: calc(100% - 90px);
		margin-bottom: 20px;
		padding-left: 20px;
		border-left: 6px solid #ccc;
	}
	.kyokaione_point dd p:first-of-type{
		font-size: 18px;
	}
	.kyokaione_point dd p:nth-of-type(2){
		font-size: 26px;
		font-weight: bold;
		color: #185179;
	}
	.kyokaione_feature{
		margin-bottom: 30px;
	}
	.kyokaione_feature p{
		font-size: 16px;
		margin-bottom: 20px;
	}
	.kyokaione_feature img{
		display: block;
		width: 600px;
		max-width: 100%;
		margin: 10px auto;
	}
	.kyokaione_feature_ttl{
		position: relative;
		display: flex;
		padding-left: 30px;
		margin-top: 30px;
		margin-bottom: 20px;
		font-weight: bold;
	}
	.kyokaione_feature_ttl:before{
		content: "";
		position: absolute;
		top: calc(50% - 30px);
		left: 0;
		display: block;
		width: 8px;
		height: 30px;
		background-color: #185179;
	}
	.kyokaione_feature_ttl:after{
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 8px;
		height: 30px;
		background-color: #a17649;
	}
	.kyokaione_feature_ttl h4{
		position: relative;
		box-sizing: border-box;
		width: calc(100% - 40px);
		color: #000;
		line-height: 30px;
		font-size: 22px;
	}
  .faq_one{
    margin-bottom: 0;
	}
	.linkskills__movie{
		position: relative;
		width: 600px;
		height: 337px;
		max-width: 100%;
		margin: auto;
		text-align: center;
	}
	.linkskills__movie iframe{
		width: 600px;
		height: 337px;
		max-width: 100%;
	}
	.jstream-eqPlayer{
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
	}
  .onlineEnglish_table table{
    table-layout: fixed;
  }
  .onlineEnglish_table tr>th{
    font-weight: bold;
    padding: 8px;
		border: 1px solid #888;
		}
		.onlineEnglish_table tr>td{
		border: 1px solid #888;
		}
		.onlineEnglish_table tr>th:first-child{
    width: 140px;
    }
    
    .onlineEnglish_table tr>th:nth-child(n + 2){
    width: calc((100% - 140px) / 3);
    }
    
    .onlineEnglish_movie{
		position: relative;
		width: 600px;
		height: 337px;
		max-width: 100%;
		margin: 0 auto 30px;
		text-align: center;
  }

    .onlineEnglish_movie iframe{
		width: 600px;
		height: 337px;
		max-width: 100%;
  }
  
  .kyokaione_intro{
		box-sizing: border-box;
		max-width: 960px;
    margin: auto auto 50px;
  }
	
  .kyokaione_intro h3{
		position: relative;
		margin-bottom: 30px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
  }
  
  .kyokaione_intro p{
    padding: 0 10px;
    margin-bottom: 15px;
    font-size: 20px;
  }
  
  .kyokaione_intro img{
    display: block;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .kyokaione_intro__movie{
    width: 368px;
    margin: 0 auto;
  }
  
  .kyokaione_intro__movie iframe{
    width: 368px;
		height: 206px;
		max-width: 100%;
  }
  
  .kyokaione_intro__movie p{
    text-align: center;
		font-weight: bold;
    color: #185179;
  }
  
  .digital_body_img{
		display: flex; 
		justify-content: center; 
		align-items: center;
  }
  .digital_body_img img{
		width: 100%; 
		max-width: 400px;
		margin: 0 30px 30px;
  }
  
  .kyokaione_intro_img{
		display: flex; 
  }
    

  /*.section1*/ 

	.section {
    width: 100%;
		margin-bottom: 100px;
		max-width: 960px;
    animation: fadeUp 0.55s ease 0.1s forwards;
  }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  /* ── Photos ── */
  .photos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 70px;
  }

  .photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
  }
  .photo-wrap:nth-child(1) { animation-delay: 0.1s; }
  .photo-wrap:nth-child(2) { animation-delay: 0.25s; }
  .photo-wrap:nth-child(3) { animation-delay: 0.4s; }


  .photo-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }

  .photo-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ccc; /* placeholder */
    display: block;
  }

  /* placeholder circles (replace src with real images) */
  .placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
  }
  .p1 { background: linear-gradient(135deg,#d4eaf7,#a8d4ee); }
  .p2 { background: linear-gradient(135deg,#d4f0ec,#a8ddd8); }
  .p3 { background: linear-gradient(135deg,#fde8d4,#f7c9a0); }

  .photo-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 0.05em;
  }

  /* ── Card ── */
  .card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(26,39,68,0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.55s forwards;
  }

  .card-header {
    background: var(--navy);
    padding: 22px 36px;
    text-align: center;
  }
  .card-header h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    letter-spacing: 0.05em;
  }
  .card-header h2 span {
    color: var(--accent);
  }

  .section1 .card-body {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
  }

  .divider-line {
    background: var(--gray-200);
    margin: 24px 0;
  }

  .column {
    padding: 32px 36px;
  }

  .col-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--teal-light);
    width: 100%;
  }

  .col-title .icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
  }

  .items {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--gray-100);
    transition: background 0.2s, transform 0.2s;
    cursor: default;
  }
	/*
  .item:hover {
    background: var(--teal-light);
    transform: translateX(4px);
  }
*/
  .item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 9px;
    flex-shrink: 0;
  }

  .item-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
  }

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


  /*.section2*/ 

  /* ── 見出し ── */
  .section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
		/*justify-content: center;*/
    gap: 20px;
  }
	
  .section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 30px;
    background: linear-gradient(to bottom, var(--teal), var(--accent));
    border-radius: 3px;
    flex-shrink: 0;
  }

  /* ── 2カラムグリッド ── */
  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* ── 各カード（クリッカブル全体） ── */
  .card-link {
    text-decoration: none;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26,39,68,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(20px);
  }
  .card-link:nth-child(1) { animation: fadeUp 0.55s ease 0.25s forwards; }
  .card-link:nth-child(2) { animation: fadeUp 0.55s ease 0.4s forwards; }

  .card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(26,39,68,0.16);
  }

  /* カードヘッダー */
  .card-header {
    padding: 18px 24px;
    text-align: center;
  }
  .card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
  }

  .card-juku .card-header { background: var(--navy); }
  .card-school .card-header { background: var(--gold); }

  /* カードボディ */
  .section2 .card-body {
    background: var(--white);
    padding: 24px 24px 20px;
  }

  /* チェックリスト */
  .checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--gray-100);
  }

  .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
  }

  .card-juku .check-icon { background: var(--teal); color: white; }
  .card-school .check-icon { background: var(--teal); color: white; }

  .check-text {
		font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #333;
  }

  /* CTA ボタン風フッター */
  .card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
  }
  .card-link:hover .card-cta { opacity: 0.85; }

  .card-juku .card-cta {
    background: var(--teal-light);
    color: var(--teal);
  }
  .card-school .card-cta {
    background: var(--teal-light);
		color: var(--teal);
  }

  .arrow {
    font-size: 16px;
    transition: transform 0.2s;
  }
  .card-link:hover .arrow { transform: translateX(4px); }

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

  @media (max-width: 580px) {
    .cards { grid-template-columns: 1fr; }
    .section-title { font-size: 17px; }
  }
  /*.section3*/ 

  /* ── アコーディオンラッパー ── */
  .accordion {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(26,39,68,0.09);
  }

  /* ── 各アイテム ── */
  .acc-item {
    border-bottom: 1px solid var(--gray-200);
  }
  .acc-item:last-child { border-bottom: none; }

  /* ── ヘッダー（クリック部分） ── */
  .acc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    list-style: none;
  }
  .acc-header:hover { background: var(--gray-100); }
  .acc-item.open > .acc-header { background: var(--teal-light); }

  /* POINTバッジ */
  .badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--navy);
    flex-shrink: 0;
    color: var(--white);
    line-height: 1;
  }
  .badge-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.8;
  }
  .badge-num {
    font-size: 18px;
    font-weight: 700;
  }
  .acc-item.open > .acc-header .badge {
    background: var(--teal);
  }

  .acc-title {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .acc-title em {
    font-style: normal;
    color: var(--teal);
  }

  /* +/− アイコン */
  .acc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 18px;
    font-weight: 300;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.3s;
    line-height: 1;
  }
  .acc-item.open > .acc-header .acc-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: rotate(45deg);
  }

  /* ── 展開コンテンツ ── */
  .acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  .acc-item.open > .acc-body {
    max-height: 600px;
  }

  .acc-body-inner {
    display: flex;
    gap: 24px;
    padding: 30px;
  }

  /* サムネイル画像 */
  .acc-thumb {
    width: 130px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(26,39,68,0.12);
    align-self: flex-start;
    background: var(--gray-200);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gray-600);
  }
  .acc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .acc-text {
    flex: 1;
  }
  .acc-text p {
    font-size: 16px;
    line-height: 1.85;
    color: #374151;
  }
  .acc-text strong {
    font-weight: 700;
    color: var(--navy);
    border-bottom: 2px solid var(--teal);
    padding-bottom: 1px;
  }
  .acc-text .note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--gray-600);
  }
  .acc-text .note a {
    color: var(--teal);
    text-decoration: underline;
  }

  /* 画像なしのアイテム */
  .acc-body-inner.no-thumb {
    padding-left: 88px;
  }

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


  /* ── section4 ── */


  /* ── タブナビ ── */
  .tab-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 0;
    padding: 0 4px;
  }

  .tab-btn {
    padding: 13px 8px;
    border: none;
    border-radius: 12px 12px 0 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
    background: var(--gray-200);
    color: var(--gray-600);
    transition: background 0.2s, color 0.2s, transform 0.15s;
    position: relative;
    top: 0;
  }

  .tab-btn:hover:not(.active) {
    background: #d5dee8;
    color: var(--navy);
  }

  .tab-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 -4px 16px rgba(26,39,68,0.08);
    top: 0;
    z-index: 2;
  }

  /* タブごとのアクセントカラー（アクティブ時の上ライン） */
  .tab-btn.active::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
  }
  .tab-btn[data-tab="elementary"].active::before { background: var(--accent); }
  .tab-btn[data-tab="junior"].active::before     { background: var(--teal); }
  .tab-btn[data-tab="senior"].active::before     { background: #6c9bd2; }
  .tab-btn[data-tab="kentei"].active::before     { background: #a78bca; }

  /* ── タブパネル共通 ── */
  .tab-panels {
    background: var(--white);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 6px 32px rgba(26,39,68,0.09);
    overflow: hidden;
  }

  .tab-panel {
    display: none;
    padding: 36px 36px 40px;
  }
  .tab-panel.active {
    display: block;
    animation: panelIn 0.3s ease;
  }

  @keyframes panelIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── カリキュラムアイテム ── */
  .curriculum-item {
    margin-bottom: 36px;
  }
  .curriculum-item:last-child { margin-bottom: 0; }

  /* アイテムヘッダー */
  .item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
  }

  .item-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .check-badge {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
  }

  .item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
  }

  /* 教材連動バッジ */
  .kyozai-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 2;
  }
  .kyozai-badge span { opacity: 0.7; }

  /* アイテムボディ：画像＋テキスト */
  .item-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .item-thumb {
    width: 240px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(26,39,68,0.12);
    background: var(--gray-200);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
  }
  .item-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  .item-desc {
    flex: 1;
  }
  .item-desc p {
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
  }

  /* 仕切り線 */
  .divider {
    border: none;
    border-top: 1px dashed var(--gray-200);
    margin: 32px 0;
  }

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


    /*.section5*/ 

    /* ── カード全体 ── */
  .catch-block {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(26,39,68,0.09);
  }

  /* ── ヘッダーバー ── */
  .catch-header {
    display: flex;
    align-items: stretch;
  }

  .catch-label {
    background: var(--navy);
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }

  .catch-headline {
    background: var(--navy);
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px 28px;
    border-left: 2px solid rgba(255,255,255,0.15);
  }

  .catch-headline p {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .catch-headline p em {
    font-style: normal;
    color: var(--accent);
  }

  /* ── キーワードバー ── */
  .keyword-bar {
    background: var(--teal-light);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
  }

  .keyword-tag {
    font-size: 16px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.05em;
  }

  .keyword-sep {
    color: var(--gray-200);
    font-size: 18px;
  }

  /* ── 本文エリア ── */
  .catch-body {
    padding: 28px 32px 0;
  }

  .catch-body p {
    font-size: 16px;
    line-height: 2;
    color: #374151;
  }

  .catch-body p strong {
    font-weight: 700;
    color: var(--navy);
  }

  .flow_style {

  }


  /* ── フロー見出し ── */
  .flow-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 32px 20px;
    border-bottom: 2px solid var(--gray-200);
  }

  .flow-heading-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
  }
/*
  .flow-heading-label::before {
    content: '';
    display: block;
    width: 4px; height: 16px;
    background: linear-gradient(to bottom, var(--teal), var(--accent));
    border-radius: 2px;
  }
*/
  /* ── フロー本体：横並び ── */
  .flow-body {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 32px;
    margin-bottom: 24px;
  }

  /* ステップ */
  .flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 2;
    margin-bottom: 10px;
  }

  .badge-input  { background: #e8d5f5; color: #7c3aed; }
  .badge-output { background: #d4f0e0; color: #15803d; }

  .step-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
  }

  .step-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
  }

  /* 矢印 */
  .flow-arrow-h {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    color: var(--accent);
    font-size: 22px;
    margin-top: 8px;
  }

  /* 結果 */
  .flow-result {
    flex: 1;
    background: var(--teal-light);
    border-radius: 12px;
    padding: 16px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    justify-content: center;
    margin: 0 30px;
  }

  .result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--teal);
  }

  .result-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
  }

  /* ── スタイルカード ── */
  .style-types {
    /*display: grid;
    grid-template-columns: repeat(3, 1fr);*/
    margin: 0 52px 32px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
  }

  .style-card {
    margin: 50px;
  }

  .style-card:hover {

  }

  .style-card-icon { font-size: 24px; margin-bottom: 6px; }

  .style-card-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
  }

  .style-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
  }


  /*.section6*/ 
  .section6 .catch-label {
    background: var(--gold);
}

  .section6 .catch-headline {
    background: var(--gold);
}
  /*.section7*/ 
 /* ── カード ── */
  .flow-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(26,39,68,0.09);
  }

  /* ── ヘッダー ── */
  .flow-card-header {
    background: var(--navy);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
  }

  .flow-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    line-height: 1.4;
  }

  .flow-card-header h2 em {
    font-style: normal;
    color: var(--accent);
  }

  .header-badge {
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }

  /* ── ステップ群 ── */
  .steps-wrap {
    padding: 36px 32px 28px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
  }

  /* ステップ間の横線（グリッドの背景） */
  .steps::before {
    content: '';
    position: absolute;
    top: 28px; /* バッジ中央 */
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
  }

  /* ── 各ステップ ── */
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
  }

  /* 番号バッジ */
  .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    position: relative;
    /*box-shadow: 0 4px 12px rgba(26,39,68,0.2);*/
  }



  /* 最終ステップだけアクセントカラー */
  .step.final .step-num {
    background: var(--teal);
    /*box-shadow: 0 4px 16px rgba(42,167,155,0.35);*/
  }

  /* アイコン */
  .step-icon {
    font-size: 28px;
    line-height: 1;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ラベル */
  .step-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .step.final .step-label {
    color: var(--teal);
  }

  /* 最終ラベルはバッジ風に */
  .step.final .step-label span {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
  }

  /* ── 注釈 ── */
  .flow-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--gray-200);
    font-size: 12px;
    color: var(--gray-600);
    text-align: right;
  }

  /*.section8*/ 


  /* ── カード ── */
  .faq-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(26,39,68,0.09);
  }

  /* ── 各FAQアイテム ── */
  .faq-item {
    border-bottom: 1px solid var(--gray-200);
  }
  .faq-item:last-child { border-bottom: none; }

  /* Q行 */
  .faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
  }

  .faq-q:hover { background: var(--gray-100); }
  .faq-item.open .faq-q { background: var(--teal-light); }

  /* Qバッジ */
  .q-badge {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-style: italic;
    transition: background 0.2s;
  }

  .faq-item.open .q-badge {
    background: var(--teal);
  }

  .faq-q-text {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }

  /* +/× アイコン */
  .faq-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 18px;
    font-weight: 300;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.3s;
    line-height: 1;
  }

  .faq-item.open .faq-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: rotate(45deg);
  }

  /* A行（アコーディオン） */
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .faq-item.open .faq-a {
    max-height: 400px;
  }

  .faq-a-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
  }

  /* Aバッジ */
  .a-badge {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-style: italic;
  }

  .faq-a-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
    padding-top: 6px;
  }

/*タブレット調整*/

  @media (max-width: 1024px) {
    .kv_sub .ttl_content {
    padding: 6% 0 0 4%;
    line-height: 1.3em;
    }
    
    .kv_sub .main_logo {
  
      margin-left: 5%;
    }
    .kv_sub .main_logo img{
      width: 40%;
    }
  }
/*スマホ版調整*/

  @media (max-width: 768px) {


    .page--digital.digital_teacher .kv_sub {
    background-size: cover;
    height: 55vw;
    }
    .kv_sub .ttl_content {
    font-size: 1.3rem;
    bottom: unset;
    top: unset
    }
    
    .kv_sub .main_logo {
      bottom: 5rem;
    }
    .kv_sub .main_logo img{
      width: 30%;
    }
    .local_navi {
    margin-bottom: 0;
    }
    
    .online_ec {
    padding: 5%;
    }
    
    .kyokaione_intro {
    margin-top: 5%;
    margin-bottom: 10%;
    }
    .digital__contents {
        padding: 0;
    }
    .kyokaione_intro h3 {
    font-size: 17px;
    padding-top: 0; 
    margin-bottom: 0; 
    }
    .kyozai-badge {
    font-size: 10px;
    }
    .digital__content__inner .kyokaione_dog {
    position: unset;    
    width: 18%;
    margin: 5% auto;
    }
    .kyokaione_intro p {
    font-size: 16px;
    padding: 0;
    margin: 0;
    }
    .digital__introduction__catch {
    font-size: 14px;
    margin-top: 0;
    }
  
    .section {
    margin-bottom: 16%;
    }
    .card-header {
    padding: 12px 24px;
    }
    .card-header h2 {
    font-size: 18px;
    }
  
    .card-header h3 {
    font-size: 18px;
    }
  
    .col-title {
    font-size: 16px;
    }
  
    .item-text {
    font-size: 14px;
    }
  
    .check-text {
    font-size: 16px;
    }
  
    .card-cta {
    font-size: 16px;
    }
  
    .acc-text p {
    font-size: 14px;
    }

    .photos { 
    gap: 16px; 
    margin-bottom: 15%; 
    }
    .photo-ring { 
      width: 90px;
      height: 90px; 
    }
    .section1 .card-body { 
      grid-template-columns: 1fr; 
      margin-bottom: 20px;
    }
    .section1 .divider-line { 
      margin: 0 auto; 
    }
    .column { 
      padding: 12px 20px 0; 
    }

    .acc-body-inner { 
      flex-direction: column; 
      padding-left: 24px; 
    }
    .acc-thumb { 
      width: 100%; 
      aspect-ratio: 16/9; 
    }
    .section-title { 
      font-size: 18px; 
      line-height: 1.5rem;
      margin-bottom: 5%; 
    }
    .acc-title { 
      font-size: 16px; 
      line-height: 1.5rem;
    }
    .section-title::before {
    height: 60px;
    }

    .tab-btn { 
      font-size: 13px;
      padding: 10px 4px;
    }
    .tab-panel {
      padding: 24px 20px 28px; 
    }
    .item-body { 
      flex-direction: column; 
    }
    .item-thumb {
      width: 100%; 
      aspect-ratio: 16/9; 
    }
    .item-title { 
      font-size: 16px; 
      line-height: 1.5rem;
    }
    
    .item-desc p {
    font-size: 14px;
    line-height: 1.9;
    color: #374151;
    }

    .catch-header {
      flex-direction: column; 
    }

    .catch-label {
        padding: 12px 20px 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    }

    .catch-headline {
      border-left: none; 
      padding: 14px 20px; 
    }
    .catch-headline p { 
      font-size: 15px; 
    }
    .catch-body { 
      padding: 20px 20px 0; 
    }
    .style-card {
      margin: 6% 0;
    }

    .flow-heading { 
      margin: 20px 20px 16px; 
    }
    .flow-body { 
      flex-direction: column; padding: 0 20px; 
    }
    .flow-arrow-h { 
      transform: rotate(90deg);
      margin-top: 0px;
    }
    .flow-result { 
      width: 100%; 
      margin: 0;
    }
    .style-types { 
      grid-template-columns: 1fr;
      margin: 0 20px 24px;
      padding-top: 0;
    }
    .keyword-bar { 
      flex-wrap: wrap; gap: 6px; 
    }
    .keyword-tag {
    font-size: 14px;
    }
    
    .catch-body p {
    font-size: 14px;
    }
    
    .flow-heading-label {
    font-size: 18px;
  }

    .steps {
      grid-template-columns: repeat(3, 1fr);
      gap: 24px 0;
    }
    .steps::before { 
      display: none; 
    }
    .flow-card-header { 
      flex-direction: column; 
      align-items: flex-start; gap: 8px; 
    }
    .flow-card-header h2 {
      font-size: 18px; 
    }
    .steps-wrap { 
      padding: 24px 20px 20px; 
    }
    
    .flow-note {
      text-align: left;
    }

    .faq-q { 
      padding: 16px 16px; 
      gap: 10px; 
    }
    .faq-q-text { 
      font-size: 16px; 
    }
    .faq-a-inner { 
      padding: 20px 16px 20px; 
      gap: 10px; 
    }
    
    .faq-a-text {
      font-size: 14px;
    }
}

  @media (max-width: 400px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
  }