body {
    /*	font-family: 'Inter', sans-serif;*/
    margin: 0;
    padding: 0;
    /*	background-color: #f7f9fc;*/
    color: #444;
    line-height: 1.6;
}
/* ===== ヘッダー（メインビジュアル） ===== */
.header-top {
    position: relative;
    padding: 100px 0 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0 0 0px 0px;
    border-bottom: 5px solid #FB8960;
}
.header-top {
    position: relative;
    overflow: hidden;
    /*	background: #ffd3be;*/
    background-image: url("../../offer/image/aiocr-topimg4-back.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}
.header-top::before {
    content: "";
    position: absolute;
    inset: 0;
    /*    background: linear-gradient(to right, rgba(37, 99, 235, 0.35), rgba(59, 130, 246, 0.55)), url('image/back01.jpg') center center / cover no-repeat;*/
	
    /*    background-image: url("../offer/image/aiocr-topimg4-back.png");*/ 
/*    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    z-index: -1;
    opacity: 0;
    animation: bgFadeIn 1.8s ease-out forwards;
}

@media (max-width: 640px) {
.header-top::before {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.85), rgba(59, 130, 246, 0.85)), url('image/back01s.jpg') 50% 65% / cover no-repeat;
}
}
	
	
	
/* フェードインアニメーション */
@keyframes bgFadeIn {
0% {
opacity: 0;
transform: scale(1.05);
}
100% {
opacity: 1;
transform: scale(1);
}
}
/* 内部コンテンツは制限なし（全幅対応） */
.header-inner {
    /*  width: 100%;*/
    width: 1200px;
    /*	    width: 1000px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto!important;
}

@media (max-width: 1240px) {
.header-inner {
    width: 94%;
}
}
/* テキスト部分 */
.header-text {
    flex: 2;
    min-width: 300px;
    padding-right: 0px;
    width: 55%;     /* 左側テキスト領域 */
}
.header-text h1 {
    /*    font-size: 5.5rem!important;*/
/*	font-size: clamp(3.2rem, 2.6vw + 1rem, 5.0rem);*/
    font-size: clamp(1.9rem, 1.8vw + 1rem, 4.2rem)!important;
    line-height: 6.5rem;
    margin-top: 10px!important;
    margin-bottom: 20px!important;
    text-align: left!important;/*	text-shadow: 0 4px 10px rgba(0,0,0,0.25);*/
}
.header-text h1.anime-div > span {
    display: inline;
    background: linear-gradient(transparent 60%, rgb(251, 137, 96, 0.5) 60%, rgb(251, 137, 96, 0.5) 100%) 0% 60% / 0% 1em no-repeat;
    transition: 1.5s ease-out;
    transition-delay: 1s;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.header-text h1.anime-div.colorwhite > span {
    background: linear-gradient(transparent 60%, rgb(255, 255, 255) 60%, rgb(255, 255, 255) 100%) 0% 60% / 0% 1em no-repeat;
}
.header-text h1.anime-div.move > span {
    background-size: 100% 1em;
}
.header-text h1.anime-div {
    font-size: clamp(3.2rem, 2.6vw + 1rem, 5.0rem);
    margin: 1em 0;
    font-weight: 800!important;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 6.5rem;
}
.header-text p {
/*    font-size: 3rem;*/
    font-size: clamp(1.8rem, 1.4vw + 1rem, 3.0rem);
    line-height: 1.4;
    margin: 20px 0 0 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
.header-text p {
    font-size: 1.6rem;
    line-height: 1.2;/*    margin-bottom: 20px;*/
}
}
/* ボタン */
.header-text a {
    background: #fff;
    color: #2563eb;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.header-text a:hover {
    background: #e2e8f0;
    color: #1e40af;
    transform: translateX(3px);
}

@media (max-width: 768px) {
.header-text a {
    display: none;
}
}
/* 左矢印 */
.header-text a::before {
    content: "▶";
    font-size: 1rem;
    color: #2563eb;
    transition: transform 0.3s ease, color 0.3s ease;
}
.header-text a:hover::before {
    transform: translateX(3px);
    color: #1e40af;
}
.notice-ocr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff!important;
    color: #606667!important;
    border-radius: 30px;
    text-shadow: none!important;
    font-weight: 500;
    padding: 5px 5px;
    border: 1px solid #999;
    font-size: clamp(1.2rem, 1.4vw, 1.7rem) !important;
    max-width: 420px;
}
.notice-ocr img {
    width: 58%;
    height: auto;
    margin-right: 5px;
}
.header-image {
    width: 40%;     /* 右側画像領域 */
    text-align: right;
}
.header-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
.header-image {
    width: 100%;     /* 右側画像領域 */
    text-align: center;
}
.header-image img {
    max-width: 100%;
    height: auto;
}
}
/* ===== セクション ===== */
section {
    max-width: 1200px;
    /*    max-width: 1000px;*/
    margin: 60px auto;
    padding: 0 20px;
}
/* ===== 見出し（中央・ポップ） ===== */
h2 {
    position: relative;
    text-align: center;
    font-size: clamp(1.6rem, 2.4vw + 1rem, 3.8rem);
    font-weight: 700;
    /*	color: #2563eb;*/
    color: #444;
    /*	background: linear-gradient(90deg, #2563eb, #60a5fa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;*/
    margin-bottom: 40px;
    line-height: 1.4;
}
h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /*	background: linear-gradient(90deg, #2563eb, #60a5fa);*/
    background: linear-gradient(135deg, #ffb86c, #ff7e34);
    border-radius: 2px;
}
h4 {
    position: relative;
    text-align: center;
    font-size: clamp(1.8rem, 2.2vw + 1rem, 3.2rem);
    font-weight: 700;
    color: #F97316!important;
    margin-bottom: 20px;
    line-height: 1.4;
    border-bottom: 1px solid #F97316;
}
/* ===== 特長カード ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    position: relative;
    background: #fff;
    /*    padding: 20px;*/
    padding: 0px;
    border-radius: 10px;
    border: 1px solid #ededed;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.card img {
    width: 70%;
    height: auto;
    margin-bottom: 20px!important;
}
.orange {
    background: #FFF4E4!important;
    border: 1px solid #F5CABB!important;
}
.card .caps {
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 0.7em;
    background: #5b9073;
    color: #fff;
    width: 70px;
    height: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.3vw 0.6vw rgba(0,0,0,0.25);
}
.card .caps-aiocr {
    background: #885796!important;
}
.card .wrap-box {
    padding: 20px;
    margin: 0;
}
@media (max-width: 640px) {
.card img {
    width: 60%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
}
}
.card h3 {
    color: #F97316;
    margin-top: 0;
    margin-bottom: 10px;
}
.card h3.de01 {
    color: #fff;
    background: #F97316!important;
    border-radius: 10px 10px 0 0;
    padding: 10px 0;
}
.card h3.de02 {
    color: #fff;
    background: #885796;
    border-radius: 10px 10px 0 0;
    padding: 10px 0;
}
.card h3.de03 {
    color: #fff;
    background: #5b9073;
    border-radius: 10px 10px 0 0;
    padding: 10px 0;
}
.card .tx-left {
    text-align: left;
}
.lead {
    padding: 0px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
.lead {
    text-align: left!important;
	padding: 0 10px;
	margin-bottom: 0!important;
}
}
.center {
    text-align: center;
}
.pricing {
    text-align: center;
    padding: 20px 20px;/*	background: #f7f9fc;*/
}
.pricing-cards {
    display: flex;
    justify-content: center;  /* 中央揃え */
    gap: 40px;                /* カードの間隔 */
    flex-wrap: wrap;          /* 画面が狭いときは折り返し */
    margin-top: 30px;
}
.pricing .card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /*    padding: 30px;*/
    padding: 0px;
    width: 360px;
    transition: transform 0.3s ease;
}
.pricing .card > p {
    padding: 10px 0 20px 0;
}
/*.pricing .card:hover {
    transform: translateY(-5px);
}*/
.pricing .card h3 {
    /*	background: #2563eb;*/       /* 薄い青背景 */
    background: #F97316!important;
    color: #fff;            /* 既存の青系に合わせる */
    padding: 8px 0;
    border-radius: 10px 10px 0 0;
    font-size: 1.1em;
    margin-bottom: 12px;
}
.pricing .card p {
    font-size: clamp(1.2rem, 2vw + 1rem, 2rem);
    /*	color: #0077cc;*/
    color: #F97316!important;
    font-weight: bold;
}
.pricing .card p .unit {
    font-size: 0.7em;
    opacity: 0.8;
}
aside {
    /*	border: 1px solid #2563eb;*/
    border: 1px solid #F5CABB!important;
    border-radius: 12px;
    padding: 40px;
    padding-top: 0;
    /*	background: linear-gradient(135deg, #f9fbff, #eef4ff);*/
    background: #FFF4E4!important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), inset 0 1px 4px rgba(255, 255, 255, .6);
    margin: 30px 0;
}
aside ul {
    margin-left: 0px;
}
/*aside ul li {
	list-style: disc;
}*/
aside ul > li {
    position: relative;
    padding: 0px 0px 0px 2em;
    margin: 0px;
}
aside ul > li::before, aside ul > li::after {
    position: absolute;
    top: 17px;
    height: 1em;
    content: "";
}
aside ul > li::before {
    left: 0px;
    transform: translateY(-50%);
    width: 1em;
    border: 1px solid #F97316;
}
aside ul > li::after {
    left: 0.5em;
    transform: translateY(-75%) rotate(45deg);
    width: 0.5em;
    border-bottom: 3px solid #F97316;
    border-right: 3px solid #F97316;
}
aside ul > li + li {
    margin: 1em 0px 0px;
}

@media (max-width: 640px) {
aside {
    padding: 0 10px 10px 10px;
}
}
.graph-text {
}
.graph-image img {
    width: 100%;
    height: auto;
}
/* スマホ：縦並びに切り替え */
/* ===== 導入効果など ===== */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.back-blue {
    background: #FFF4E4;
}
/* ===== 導入効果など ===== */
/*.benefits2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}*/
.benefits2.flow {
    display: grid;
    grid-template-columns: 1fr;
    /*  grid-template-columns: 6fr 4fr;*/
    gap: 20px; /* 任意 */
}
.benefits2.flow {
    position: relative;
}
.benefits2.flow .card {
    position: relative;
}

/* ===========================
   ▼ 最大幅640pxの場合のみ
   =========================== */
@media (max-width: 640px) {
/* 下中央に下向き三角へ変更 */
.benefits2.flow .card::after {
    right: 50%;
    top: auto;
    bottom: -15px;
    transform: translateX(50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FFF4E4; /* 下向き三角 */
    border-bottom: none;
}
}
/* ===== 手順フロー（縦組み） ===== */
.center-left {
    text-align: center;
}

@media (max-width: 640px) {
.center-left {
    text-align: left!important;
}
}
.steps {
    counter-reset: step;
    position: relative;
    /*  max-width: 600px;*/
    margin: 40px auto;
    padding-left: 30px;
    list-style: none;
}
.steps::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    width: 4px;
    height: 100%;
    /*	background: linear-gradient(180deg, #2563eb, #60a5fa);*/
    background: #F97316!important;
    border-radius: 2px;
}
.steps li {
    position: relative;
    counter-increment: step;
    background: #fff;
    margin: 20px 0;
    padding: 15px 20px 15px 50px;
    border-radius: 8px;
    border: 1px solid #ededed;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.steps li span {
    font-weight: bold;
}
/*.steps li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}*/
/* 番号バッジ */
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    /*	background: #2563eb;*/
    background: #F97316!important;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px #fff;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
.steps {
    padding-left: 20px;
}
.steps li {
    padding-left: 45px;
}
}
/*    footer {
      background: #06c;
      color: #ccc;
      text-align: center;
      padding: 40px 20px;
    }*/
	  
footer {
    position: relative;
    background: #0066cc;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #fff;
    border-radius: 10px 10px 0 0;
}
/* ▼ 逆三角形（最上部中央） */
footer::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 0;
    height: 0;
    /* 逆三角形 */
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    /*	border-bottom: 30px solid #f7f9fc;*/
    border-bottom: 30px solid #fff;
}
footer a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}
.sub-cta a:hover {
    text-decoration: underline;
}
/* ===== フッターボタン全体 ===== */
.footer-buttons {
    margin: 25px 0;
    text-align: center;
}
/* メイン：お申込みボタン */
.cta-button {
    display: inline-block;
    width: 550px; /* 幅を統一 */
    background: #f97316; /* オレンジ */
    color: #fff;
    padding: 20px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.2rem);
    transition: background 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
    background: #ea580c;
    opacity: inherit!important;
    transform: translateY(-2px);
}
/* ===== サブボタンエリア ===== */
.sub-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
/* サブボタン共通 */
.sub-button {
    display: inline-block;
    width: 380px; /* 幅を統一 */
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.45rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    opacity: inherit!important;
}
/* 詳しく見る（青） */
.sub-button.info {
    background: #fff;
    color: #06c;
}
.sub-button.info:hover {
    /*    background: #559ADF;*/
    transform: translateY(-2px);
}
/* 相談する（緑） */
.sub-button.consult {
    background: #fff;
    color: #06cf;
}
.sub-button.consult:hover {
    /*    background: #559ADF;*/
    transform: translateY(-2px);
}
.fixed-cta {
    position: fixed;
    bottom: 5x;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.fixed-cta.hidden {
    opacity: 0;
    pointer-events: none;
}
/* ボタンのスタイル（例：サイトのメインボタンに合わせる） */
.fixed-cta {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.fixed-cta.show {
    opacity: 1;
    pointer-events: auto;
}
.fixed-cta.hidden {
    opacity: 0;
    pointer-events: none;
}
.fixed-cta .cta-btn {
    background: #ff6600;
    color: #fff;
    padding: 14px 20px 14px 0px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: 300px;
    text-align: center;
    position: relative;
    padding-right: 0px; /* 矢印分のスペース */
}
.fixed-cta .cta-btn:hover {
    opacity: 0.8!important;
}
.fixed-cta .cta-btn::after {
    content: "";
    position: absolute;
    top: 45%;
    right: 12px;
    width: 7px;
    height: 7px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 640px) {
.fixed-cta .cta-btn {
    padding: 10px 10px;
    font-weight: 700;
    border-radius: 5px;
    /*	width: 300px;*/
    width: 230px;
    font-size: 1.4rem;
}
}
/* 最初は非表示＆下にずらす */
.card.card3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* 表示されたら付くクラス */
.card.card3.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
.header-top {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px 30px 20px;
}
.header-text h1 {
    text-align: center!important;
    line-height: 2.5rem!important;
    padding-bottom: 0!important;
    margin-bottom: 0!important;
}
.header-image {
    text-align: center;
    margin-top: 20px;
}
.header-image img {
    max-width: 320px;
}
.cta-button {
    width: 80%; /* 幅を統一 */
}
}
.mfp-iframe-scaler { /* 削除禁止動画高さ調整 */
    padding-top: 56.25% !important;
}	

/* 表示後動画再生 */
.video_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
video {
/*    width: 500px!important;*/
	width: 100%!important;
    height: auto;
	    object-fit: contain;
    border-radius: 8px;
	    border: 1px solid #ededed;
}

@media(max-width : 768px ) {
video {
    width: 100%;
    height: auto;
}
}
.video_box {
    width: 100%;
/*     max-width: 500px;*/
    margin: 0 auto;
    border: 1px solid #ededed;
	    border-radius: 8px;
    position: relative;
}
.video_box:has(.scrollVideo.is-playing) .btn-play2 {
display: grid !important;
}
video {
    width: 100%;
    aspect-ratio: 16/9;
    vertical-align: bottom;
}
.fallbackImage {
    position: relative;
}
/*h2 {
    font-size: clamp(1.2em, 2.0vw, 2.2em) !important;
}*/
.btn-play, .btn-play2 {
    position: absolute;
    top: .5em;
    right: .5em;
    /* translate: -50% -50%; */
    background: #004cff;
    color: #fff;
    line-height: 1;
    padding: 10px 14px 8px 1.8em;
    border-radius: 50px;
    font-size: .75em;
    font-weight: bold;
&::before, &::after {
content: "";
position: absolute;
top: 50%;
translate: 0 -50%;
}
&::before {
background: #fff;
width: 1em;
aspect-ratio: 1;
border-radius: 50px;
left: 8px;
}
&::after {
clip-path: polygon(0 0, 100% 50%, 0 100%);
width: 6px;
background: #004cff;
aspect-ratio: .7;
left: 12px;
}
}
.btn-play {
    animation: kakudai 1s 1;
}
@keyframes kakudai {
0%, 100% {
transform: scale(1.0);
}
50% {
transform: scale(1.1);
}
}

/* ふきだし共通 */
.balloon {
    position: absolute;
    background: #fff;
    padding: 20px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 14px;
    max-width: 220px;
	    opacity: 0;
    transition: opacity 0.8s ease;
}
.balloon.show {
    opacity: 1;
}

/* 右上の吹き出し */
.balloon-top-right {
    top: 20px;
    right: 20px;
    text-align: center;
	color: #fff;
    min-width: 160px;
    font-weight: 600;
	background: #0066cc;
font-size: clamp(.7em, 1.0vw, 1em);
}

/* 右下 */
.balloon-bottom-right {
    bottom: 85px;
    right: 75px;
    text-align: center;
	color: #f00;
}

/* 三角（吹き出し風） */
.balloon::after {
    content: "";
    position: absolute;
    border: 8px solid transparent;
}

/* 右上用の三角 */
.balloon-top-right::after {
  content: "";
  position: absolute;
  top: 50%;              /* ← 中央 */
  right: -22px;          /* ← 本体の外側に出す量 */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #0066cc; /* 背景色と合わせる */
}

/* 右下用の三角 */
.balloon-bottom-right::after {
    top: 100%;
    left: 40%;
    border: 8px solid transparent;
    border-top-color: #fff;
}
	
/* -------- タブレット（768〜1023px） -------- */
@media (max-width: 1023px) {
    .balloon-top-right {
        top: 10px;
        right: 20px;
    }
    .balloon-bottom-right {
        bottom: 85px;
        right: 40px;
    }
}

	
/* -------- タブレット（900px） -------- */
@media (max-width: 900px) {
.balloon-top-right {
	top: 10px;
	right: 20px;
	padding: 10px;
}
    .balloon-bottom-right {
        bottom: 85px;
        right: 20px;
    }
}	

/* -------- スマホ（〜767px） -------- */
@media (max-width: 767px) {
    .balloon-bottom-right {
        bottom: 85px;
        right: 15%;
        transform: translateX(50%);  /* 横中央へ */
        font-size: 14px;
    }
}	
	

.seg {
    width: 100%;
    height: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    transform-origin: bottom;
}
.seg--a {
/*    background: #0ea5e9;*/
	background: #FF9900;
}
.seg--b {
/*    background: #3F8FFF;*/
	background: #61CBF3;
}
.seg--c {
/*    background: #ff4d6d;*/
	background: #FF0000;
}
@keyframes grow {
from {
height:0;
}
to {
height:var(--h);
}
}
.spacer {
    height: 600px;
    text-align: center;
    padding-top: 260px;
    color: #64748b;
    font-size: 20px;
}
	
/* 右上吹き出し */
#bubble{
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e293b;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all .4s ease;
  pointer-events: none;
  z-index: 9999;
  border: 1px solid rgba(255,255,255,0.12);
}

/* 吹き出しのしっぽ */
#bubble::after{
  content: "";
  position: absolute;
  bottom: -8px;
  right: 18px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #1e293b;
}

/* 表示状態 */
#bubble.show{
  opacity: 1;
  transform: translateY(0);
}

.arrow-container {
  width: 97%;
  position: relative;
  overflow: visible;
  height: 60px;
	margin-top: 10px;
}

.arrow-bg {
  position: relative;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffb56b, #ff914d);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* 背景アニメ開始 */
.arrow-bg.animate {
  animation: expandBG 1.6s ease forwards;
}

/* テキストは最初は非表示 */
.arrow-text {
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(5px);
}

/* 背景が表示された後にテキスト表示（0.2秒遅らせて自然に） */
.arrow-bg.animate .arrow-text {
  animation: showText 0.6s ease forwards;
  animation-delay: 1.6s; /* 背景アニメ終了後 */
}

/* 右端の矢印（背景の一部） */
.arrow-bg::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 0;
  width: 0;
  height: 0;

  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #ff914d; /* ← 背景右側の色に合わせる */
  opacity: 0;
  transform: translateX(-10px);
}

/* ★ 矢印の表示タイミングを早めた */
.arrow-bg.animate::after {
  animation: showArrow 0.5s ease forwards;
  animation-delay: 1.5s; /* ← ここを 2.2s → 1.8s に調整 */
}

/* === アニメーション定義 === */

@keyframes expandBG {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes showText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes showArrow {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

:root {
  --anim-duration: 2400ms;
  --rx-max: 6;
}
	
.horizontal-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右2列 */
    gap: 30px;
    align-items: start;
}
/* --- 768px以下で1カラムへ --- */
@media (max-width: 768px) {
    .horizontal-wrap {
        grid-template-columns: 1fr;
        gap: 25px; /* スマホ用に少し縮める */
    }
}

/* --- 480px以下でさらに最適化 --- */
@media (max-width: 480px) {
    .horizontal-wrap {
        gap: 20px;
    }

    /* グラフSVGや画像があってもはみ出さないように保険 */
    .horizontal-wrap img,
    .horizontal-wrap svg,
    .horizontal-wrap video {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}
.horizontal-wrap ul {
    margin: 0;
    padding-left: 20px;
}

.graph-area {
    width: 100%;
}	

	
	
.graph-area {
	display: block;
/*	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 10px;
	align-items: flex-end;*/
}
#chart {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: fit-content;
/*	background: #eee;*/
}
.chart-box {
    width: 100%;
    margin: 0 auto;
    padding: 5px;
				max-width:560px;	
}
svg {
	width: 100%;
	height: var(--height);
	overflow: visible;
}
.stack {
	transform-origin: bottom;
	transform-box: fill-box;
	transform: scaleY(0);
	transition: transform var(--anim-duration) cubic-bezier(.2, .9, .2, 1);
}
.animate .stack {
	transform: scaleY(1);
}
.seg-label {
	font-size: 14px;
	fill: #fff;
	text-anchor: middle;
	dominant-baseline: middle;
}
.x-label {
	font-size: 13px;
	fill: #333;
	text-anchor: middle;
}
#bar3-stack + .x-label {
	fill: red;
	font-weight: 500;
}
.axis {
	stroke: #ccc;
	stroke-width: 2px;
}
@media (max-width: 768px) {
.graph-area {
	grid-template-columns: 1fr;
	}
}

section.wrap-box.img-video-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  place-items: center;
}
/* --- 768px以下で1カラムに --- */
@media (max-width: 768px) {
    section.wrap-box.img-video-area {
        grid-template-columns: 1fr;
        gap: 30px; /* スマホ時に少し詰める */
		padding: 0!important;
		margin-top: 10px!important;
    }
}

/* --- 480px以下でさらに調整 --- */
@media (max-width: 480px) {
    section.wrap-box.img-video-area {
        gap: 20px;
				padding: 0!important;
				margin-top: 10px!important;
    }

    /* 画像・動画がはみ出ないように保険 */
    section.wrap-box.img-video-area img,
    section.wrap-box.img-video-area video {
        width: 100%;
        height: auto;
    }
}
section.wrap-box.img-video-area > img {
    width: 100%;
    height: auto;
    display: block;
}

section.wrap-box.img-video-area .video_box {
    width: 100%;
}

/* --------------- 印刷調整 --------------- */
@media print {

  /* 隠れる・表示前になる要素をすべて強制表示 */
  * {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* transform をアニメ前の状態に戻す（scale(1), translateY(0) など） */
  .anime-div,
  .bar,
  .bar-part,
  .arrow-bg,
  .benefits,
  #chart *,
  #chartWrap * {
    transform: none !important; /* 位置調整の translate(X,Y) を除く場合は後述 */
  }

  /* stroke アニメがある場合：アニメを停止し、最終状態へ */
  svg * {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  /* video・遅延画像は常に表示 */
  video,
  img {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media print {
  #bar1 { transform: translate(80px, 0) !important; }
  #bar2 { transform: translate(280px, 0) !important; }
  #bar3 { transform: translate(480px, 0) !important; }
	.bubble-hidden,.fixed-cta {
		display: none!important;
	}
	  /* video は印刷不可のため非表示 */
  .video_box video,
  .scrollVideo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* fallbackImage を必ず表示（アニメ前の非表示状態を解除） */
  .video_box .fallbackImage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* video_box 自体が隠れないように */
  .video_box,
  .video-block {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
  }
}