/*PCサイズ*/
@media screen and (min-width:1024px) {
body {
    margin: 0;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    padding-top: 15px;   /* ← ここだけでOK */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/*画像ギャラリー*/
.image-gallery {
    max-width: 95%;
    margin: 0 auto;
    padding: 30px 40px 0;
    position: relative;
}

.main-outside-title {
    color: #fff;
    font-size: 50px;
    text-align: center;
    margin-top: 0;
}

/* PCではタイトル下BOXを消す */
@media screen and (min-width: 769px) {
  .side-box-wrapper,
   .mobile-only{
    display: none !important;
  }
  .image-container .side-box {
    display: flex;
  }
  .pc-only {
    display: flex !important;
  }
  .side-box.left-box.pc-only,
  .side-box.right-box.pc-only {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
   /* 共通PC用 */
  .pc-only {
    display: flex !important;
  }
}

/*左右のBOX*/
.side-box {
    position: absolute;
    width: 200px;
    height: 80px;
    padding: 20px;
    background-color: #0b1f3a;
    border: 5px solid #cccccc;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-box p {
    color: #ffd700;
}

/*左BOX*/
.left-box {
    position: absolute;
    left: 5%;
    top: 390px;
}

.left-box p {
    font-size: 40px;
    font-weight: bold;
}

/*右BOX*/
.right-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 390px;
    right: 5%;  /*位置調整*/
}

.right-small {
    font-size: 25px;
    font-weight: bold;
    margin: 5px 0 15px 0;
}

.right-big {
    font-size: 25px;
    font-weight: bold;
    margin: 0 ;
}

/*画像ボックス*/
.image-box {
    width: 95%;
    max-width: 500px;        /* 画像と白枠の最大幅を統一 */
    padding: 10px;           /* 白枠の余白 */
    margin: 40px auto;       /* 上下の間隔 */
    border-radius: 20px;
    background-color: #fff;  /* ← これがないと白枠は消える */
}

.image-box img {
    display: block;
    width: 100%;      /* 親要素幅に合わせる */
    height: auto;     /* 縦横比を維持 */
    border: none;
    border-radius: 20px;
}

.image-box main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding:  40px;
    margin-top: 500px !important;
    margin-bottom: 120px;
    width: 95%;
}

.image-wide {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/*メイン画像オーバレイ*/
.overlay-text {
    position: absolute;
    top: 0;
    left: 530px;
    transform: translateX(-40%);
    color: #ff0;
    font-size: 60px;
    font-weight: bold;
    z-index: 10;
    margin: 10px;
}

/*縦線のスクロール*/
.scrolldown {
    /*描画位置*/
  position: absolute;
  bottom: 10px;          /* ← 重要：画像の内側 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000;
  font-size: 20px;
  opacity: 0.8;
  pointer-events: none; /* クリック邪魔しない */
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  width: 40px; 
  align-items: center;
}

/*Scrollテキストの描写*/
.scrolldown span {
    /*描画位置*/
    position: static;
    top: -40%;
    /*テキストの形状*/
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0.85; 
    text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

/*線の描写*/
.scrolldown::after {
    content: "";
    /*描画位置*/
    position: relative;
    /*線の形状*/
    width: 3px;
    height: 40px;
    background: #ffffff;
    /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0%{
        height: 0;
        top: 0;
        opacity: 0;
    }

    30%{
        height: 30px;
        opacity: 1;
    }

    100%{
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

/*メイン画像*/
.image-box:first-of-type {
    margin-top: 20px;
    margin-bottom: 200px;
}

/*キャプション*/
.caption-outside {
    color: #ffffff;
    font-size: 3rem;
    font-weight:bold ;
    text-align: center;
    margin: 40px 0 20px 0;
}

/*「AIビジネスとは？」の画像上に文字を重ねる */
.caption-overlay {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 20px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 2rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像1→今さらだけどAIとは？を広げる*/
.image-box:nth-of-type(2) {
    margin-bottom: 200px;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-2 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 20px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 1.9rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像2→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(3) {
    margin-bottom: 200px;
}

.image-text-2 {
    position: relative;
}

.image-text-3 {
    position: relative;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-3 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 10px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 1.9rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像3→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(4) {
    margin-bottom: 300px;
}

.steps-overlay {
    position: absolute;
    top: 350px;
    left: 30px;
    color: #ffffff;
    font-size: 2.7rem;
    background-color: rgba(50, 50, 50, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    list-style-position: inside;
}

.steps-overlay li {
    margin: 10px 0;
    font-weight: bold;
}

/*テーブル全体*/
.seminar-info {
    width: 90%;
    border-collapse: collapse;
    border: 7px solid #ffffff;
    display: table;
    margin: 50px auto;
    table-layout: auto;
    height: 600px;
}

.seminar-info th,
.seminar-info td {
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
    padding: 20px 40px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background-color: #002766;
}

.seminar-info th {
    font-size: 34px;         /*ヘッダーは少し大きめ*/
    padding: 20px 10px;
    width: 180px;
    background-color: #1a1a2e;     /*背景色を濃くして区別*/
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-right: 7px solid #ffffff;
}

/*内容(td)用*/
.seminar-info td {
    font-size: 30px;
    padding: 40px 20px;
    background-color: #002766;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-left: 7px solid #ffffff;
}

/*左列に対応する右列*/
.seminar-info td:nth-child(2) {
    padding-left:40px ;
    font-size: 30px;
    background-color: #002766;
    color: #fff;
    text-align: center;
    font-weight: bold;
    width: auto;
}

.seminar-info tr.full-row td {
    background-color: #003a8f;
    text-align: center;
    font-weight: bold;
    font-size: 55px;
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
}

.seminar-info tr:last-child th,
.seminar-info tr:last-child td {
    border-bottom: none;
}

/*左列(ヘッダー)だけ固定幅にする*/
.seminar-info th:first-child {
    width: 200px !important;
    padding: 10px 10px;
    font-size: 35px;
    background-color: #1a1a2e;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-right: 7px solid #ffffff;
}

.notice {
    text-align: center;
    color: #ff0000;
    font-weight: bold;
}

.notice span {
    display: block;
}

.notice .headline {
    display: block;
    margin-top: 50px;
    margin-bottom: 20px ;
    font-size: 45px;
}

.notice .emphasis {
    display: inline-block;
    position: relative;
    font-size: 40px;
}

.notice .emphasis::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15%;
    width: 100%;
    height: 10px;
    background: #fff000;
    z-index: -1;
}

/* 共通ラッパー */
.form-group {
    font-size: 40px;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px;
}

/* 入力欄 共通 */
input[type="text"],
input[type="email"] {
    display: block;
    width: 90%;
    height: 60px;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 0 auto;
    text-align: left;
    font-size: 25px;
}

.form-text {
    margin-left: 5%;
}

/*ボタン*/
.botton-area {
    text-align: center;
    margin: 20px 0;
}

.button-apply {
    flex-direction: column;      /* 2行を縦に積む */
    justify-content: center;     /* ボタン内で垂直中央 */
    align-items: center;  
    display: flex;
    background: linear-gradient(90deg, #fcd34d, #fbbf24);
    color: #1e3c72;
    font-size: 32px;
    text-align: center;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    margin: 0 auto 100px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0.25);
    border: none;
    line-height: 50px;
    width: 850px;
    height: 350px;
}

/* クリック後 */
.button-apply.is-active {
  background: #00a86b; /* 緑 */
  font-size: 32pt;
  color: #fff;
  width: 850px;
  height: 350px;
  margin: 0 auto 100px auto;  /* 下余白を残す */
  text-align: center;
  justify-content: center;     /* ボタン内で垂直中央 */
  align-items: center;
}

/* 子要素の余白をリセット */
.button-sub,
.button-main {
    margin: 0;
}

.button-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0,0.2);
}

.button-apply:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0.2);
}

.button-sub {
    display: block;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 90px;
}

.button-main {
    display: block;
    font-size: 95px;
    font-weight: bold;
}
}

/*タブレット対応*/
@media screen and (min-width:769px) and (max-width:1023px) {
body {
    margin: 0;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    padding-top: 15px;   /* ← ここだけでOK */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/*画像ギャラリー*/
.image-gallery {
    max-width: 95%;
    margin: 0 auto;
    padding: 30px 40px 0;
    position: relative;
}

.main-outside-title {
    color: #fff;
    font-size: 35px;
    text-align: center;
    margin-top: 0;
}

/* PCではタイトル下BOXを消す */
@media screen and (min-width: 769px) {
  .side-box-wrapper,
   .mobile-only{
    display: none !important;
  }
  .image-container .side-box {
    display: flex;
  }
  .pc-only {
    display: flex !important;
  }
  .side-box.left-box.pc-only,
  .side-box.right-box.pc-only {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
   /* 共通PC用 */
  .pc-only {
    display: flex !important;
  }
}

/*左右のBOX*/
.side-box {
    position: absolute;
    width: 200px;
    height: 70px;
    padding: 18px;
    background-color: #0b1f3a;
    border: 5px solid #a3a3a3;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-box p {
    color: #ffd700;
}

/*左BOX*/
.left-box {
    position: absolute;
    left: 5%;
    top: 300px;
}

.left-box p {
    font-size: 40px;
    font-weight: bold;
}

/*右BOX*/
.right-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 300px;
    right: 5%;  /*位置調整*/
}

.right-small {
    font-size: 25px;
    font-weight: bold;
    margin: 5px 0 10px 0;
}

.right-big {
    font-size: 25px;
    font-weight: bold;
    margin: 0 ;
}

/*画像ボックス*/
.image-box {
    width: 95%;
    max-width: 500px;        /* 画像と白枠の最大幅を統一 */
    padding: 10px;           /* 白枠の余白 */
    margin: 40px auto;       /* 上下の間隔 */
    border-radius: 20px;
    background-color: #fff;  /* ← これがないと白枠は消える */
}

.image-box img {
    display: block;
    width: 100%;      /* 親要素幅に合わせる */
    height: auto;     /* 縦横比を維持 */
    border: none;
    border-radius: 20px;
}

.image-box main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding:  40px;
    margin-top: 500px !important;
    margin-bottom: 120px;
    width: 95%;
}

.image-wide {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/*メイン画像オーバレイ*/
.overlay-text {
    position: absolute;
    top: 0;
    left: 400px;
    transform: translateX(-40%);
    color: #ff0;
    font-size: 40px;
    font-weight: bold;
    z-index: 10;
    margin: 10px;
}

/*縦線のスクロール*/
.scrolldown {
    /*描画位置*/
  position: absolute;
  bottom: 0;          /* ← 重要：画像の内側 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000;
  font-size: 18px;
  opacity: 0.8;
  pointer-events: none; /* クリック邪魔しない */
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  width: 40px; 
  align-items: center;
}

/*Scrollテキストの描写*/
.scrolldown span {
    /*描画位置*/
    position: static;
    top: -40%;
    /*テキストの形状*/
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    opacity: 0.85; 
    text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

/*線の描写*/
.scrolldown::after {
    content: "";
    /*描画位置*/
    position: relative;
    /*線の形状*/
    width: 2px;
    height: 40px;
    background: #ffffff;
    /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0%{
        height: 0;
        top: 0;
        opacity: 0;
    }

    30%{
        height: 25px;
        opacity: 1;
    }

    100%{
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

/*メイン画像*/
.image-box:first-of-type {
    margin-top: 20px;
    margin-bottom: 200px;
}

/*キャプション*/
.caption-outside {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight:bold ;
    text-align: center;
    margin: 40px 0 20px 0;
}

/*「AIビジネスとは？」の画像上に文字を重ねる */
.caption-overlay {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 20px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 1.5rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像1→今さらだけどAIとは？を広げる*/
.image-box:nth-of-type(2) {
    margin-bottom: 200px;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-2 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 20px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 1.5rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像2→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(3) {
    margin-bottom: 200px;
}

.image-text-2 {
    position: relative;
}

.image-text-3 {
    position: relative;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-3 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 10px;            /* 上からの距離 */
  left: 30px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 1.5rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像3→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(4) {
    margin-bottom: 300px;
}

.steps-overlay {
    position: absolute;
    top: 250px;
    left: 50px;
    color: #ffffff;
    font-size: 2rem;
    background-color: rgba(50, 50, 50, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    list-style-position: inside;
}

.steps-overlay li {
    margin: 10px 0;
    font-weight: bold;
}

/*テーブル全体*/
.seminar-info {
    width: 95%;
    border-collapse: collapse;
    border: 7px solid #ffffff;
    display: table;
    margin: 50px auto;
    table-layout: auto;
    height: 550px;
}

.seminar-info th,
.seminar-info td {
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
    padding: 20px 40px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background-color: #002766;
}

.seminar-info th {
    font-size: 34px;         /*ヘッダーは少し大きめ*/
    padding: 20px 10px;
    width: 180px;
    background-color: #1a1a2e;     /*背景色を濃くして区別*/
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-right: 7px solid #ffffff;
}

/*内容(td)用*/
.seminar-info td {
    font-size: 30px;
    padding: 40px 20px;
    background-color: #002766;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-left: 7px solid #ffffff;
}

/*左列に対応する右列*/
.seminar-info td:nth-child(2) {
    padding-left:40px ;
    font-size: 25px;
    background-color: #002766;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    width: auto;
}

.seminar-info tr.full-row td {
    background-color: #003a8f;
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
}

.seminar-info tr:last-child th,
.seminar-info tr:last-child td {
    border-bottom: none;
}

/*左列(ヘッダー)だけ固定幅にする*/
.seminar-info th:first-child {
    width: 110px !important;
    padding: 10px 10px;
    font-size: 22px;
    background-color: #1a1a2e;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    border-right: 7px solid #ffffff;
}

.notice {
    text-align: center;
    color: #ff0000;
    font-weight: bold;
}

.notice span {
    display: block;
}

.notice .headline {
    display: block;
    margin-top: 50px;
    margin-bottom: 20px ;
    font-size: 40px;
}

.notice .emphasis {
    display: inline-block;
    position: relative;
    font-size: 30px;
}

.notice .emphasis::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15%;
    width: 100%;
    height: 7px;
    background: #fff000;
    z-index: -1;
}

/* 共通ラッパー */
.form-group {
    font-size: 35px;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px;
}

/* 入力欄 共通 */
input[type="text"],
input[type="email"] {
    display: block;
    width: 90%;
    height: 60px;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 0 auto;
    text-align: left;
    font-size: 20px;
}

.form-text {
    margin-left: 3%;
}

/*ボタン*/
.botton-area {
    text-align: center;
    margin: 20px 0;
}

.button-apply {
    flex-direction: column;      /* 2行を縦に積む */
    justify-content: center;     /* ボタン内で垂直中央 */
    align-items: center;  
    display: flex;
    background: linear-gradient(90deg, #fcd34d, #fbbf24);
    color: #1e3c72;
    font-size: 32px;
    text-align: center;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    margin: 0 auto 100px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0.25);
    border: none;
    line-height: 50px;
    width: 660px;
    height: 300px;
}

/* クリック後 */
.button-apply.is-active {
  background: #00a86b; /* 緑 */
  font-size: 30pt;
  color: #fff;
  width: 650px;
  height: 280px;
  margin: 0 auto 100px auto;  /* 下余白を残す */
  text-align: center;
  justify-content: center;     /* ボタン内で垂直中央 */
  align-items: center;
}

/* 子要素の余白をリセット */
.button-sub,
.button-main {
    margin: 0;
}

.button-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0,0.2);
}

.button-apply:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0.2);
}

.button-sub {
    display: block;
    font-size: 55px;
    font-weight: bold;
    margin-bottom: 90px;
}

.button-main {
    display: block;
    font-size: 75px;
    font-weight: bold;
}

}

/*スマホサイズ*/
@media screen and  (max-width:768px) {
body {
    margin: 0;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    padding-top: 15px;   /* ← ここだけでOK */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/*画像ギャラリー*/
.image-gallery {
    max-width: 95%;
    margin: 0 auto;
    padding: 30px 30px 0;
    position: relative;
}

.main-outside-title {
    color: #fff;
    font-size: 17px;
    text-align: center;
    margin-top: 0;
}

/* スマホ・タブレット表示時（768px以下）はPC専用要素を非表示 */
@media screen and (max-width:768px){
  .pc-only {
    display: none !important;
  }
}

/*左右のBOX*/
.side-box {
    position: absolute;
    width: 70px;
    height: 20px;
    padding: 15px;
    background-color: #0b1f3a;
    border: 5px solid #a3a3a3;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;   
}

.side-box p {
    color: #ffd700;
}

/*左BOX*/
.left-box {
    position: absolute;
    left: 10%;
    top: 200px;
}

.left-box p {
    font-size: 13px;
    font-weight: bold;
}

/*右BOX*/
.right-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 200px;
    right: 10%;  /*位置調整*/
}

.right-small {
    font-size: 8px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.right-big {
    font-size: 8px;
    font-weight: bold;
    margin: 0 ;
}

/*画像ボックス*/
.image-box {
    width: 85%;
    max-width: 500px;        /* 画像と白枠の最大幅を統一 */
    padding: 10px;           /* 白枠の余白 */
    margin: 40px auto;       /* 上下の間隔 */
    border-radius: 20px;
    background-color: #fff;  /* ← これがないと白枠は消える */
}

.image-box img {
    display: block;
    width: 100%;      /* 親要素幅に合わせる */
    height: auto;     /* 縦横比を維持 */
    border: none;
    border-radius: 20px;
}

.image-box main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding:  40px;
    margin-top: 80px ;
    margin-bottom: 120px;
    width: 95%;
}

.image-wide {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/*メイン画像オーバレイ*/
.overlay-text {
    position: absolute;
    top: 5px;
    left: 200px;
    transform: translateX(-40%);
    color: #ff0;
    font-size: 15px;
    font-weight: bold;
    z-index: 10;
    margin: 10px;
}

/*縦線のスクロール*/
.scrolldown {
    /*描画位置*/
  position: absolute;
  bottom:5px;          /* ← 重要：画像の内側 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000;
  font-size: 10px;
  opacity: 0.6;
  pointer-events: none; /* クリック邪魔しない */
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  width: 40px; 
  align-items: center;
}

/*Scrollテキストの描写*/
.scrolldown span {
    /*描画位置*/
    top: -40%;
    /*テキストの形状*/
    color: #ffffff;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    opacity: 0.85; 
    text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

/*線の描写*/
.scrolldown::after {
    content: "";
    /*描画位置*/
    position: relative;
    /*線の形状*/
    width: 1px;
    height: 30px;
    background: #ffffff;
    /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0%{
        height: 0;
        top: 0;
        opacity: 0;
    }

    30%{
        height: 20px;
        opacity: 1;
    }

    100%{
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

/*画像1*/
.image-box:first-of-type {
    margin-top: 5px;
    margin-bottom: 200px;
}

/*キャプション*/
.caption-outside {
    color: #ffffff;
    font-size: 1rem;
    font-weight:bold ;
    text-align: center;
    margin: 40px 0 5px 0;
}

/*「AIビジネスとは？」の画像上に文字を重ねる */
.caption-overlay {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 10px;            /* 上からの距離 */
  left: 20px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 0.6rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像1→今さらだけどAIとは？を広げる*/
.image-box:nth-of-type(2) {
    margin-bottom: 200px;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-2 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 10px;            /* 上からの距離 */
  left: 20px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 0.6rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像2→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(3) {
    margin-bottom: 200px;
}

.image-text-2 {
    position: relative;
}

.image-text-3 {
    position: relative;
}

/*「今さらだけどAIとは？」の画像上に文字を重ねる */
.caption-overlay-3 {
  position: absolute;   /* 親要素（figure）内で絶対位置 */
  top: 10px;            /* 上からの距離 */
  left: 20px;           /* 左からの距離 */
  color: #ffffff;       /* 白文字 */
  font-size: 0.6rem;      /* 文字サイズ */
  font-weight: bold;
  background-color: rgba(0,0,0,0.4); /* 半透明の背景（任意） */
  padding: 5px 10px;    /* 文字周りの余白 */
  border-radius: 5px;   /* 角丸（任意） */
}

/*画像3→どうやって使えばいいの？を広げる*/
.image-box:nth-of-type(4) {
    margin-bottom: 300px;
}

.steps-overlay {
    position: absolute;
    top: 100px;
    left: 20px;
    color: #ffffff;
    font-size: 0.8rem;
    background-color: rgba(50, 50, 50, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    list-style-position: inside;
}

.steps-overlay li {
    margin: 5px 0;
    font-weight: bold;
}

/*テーブル全体*/
.seminar-info {
    width: 100%;
    border-collapse: collapse;
    border: 7px solid #ffffff;
    display: table;
    margin: 50px auto;
    table-layout: auto;
    height: 350px;
}

.seminar-info th,
.seminar-info td {
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
    padding: 20px 20px;
    text-align: center;
    color: #fff;
    background-color: #002766;
}

/*内容(td)用*/
.seminar-info td {
    font-size: 30px;
    padding: 3px 3px;
    background-color: #002766;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-left: 7px solid #ffffff;
}

/*左列に対応する右列*/
.seminar-info td:nth-child(2) {
    font-size: 11px;
    background-color: #002766;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    width: auto;
}

.seminar-info tr.full-row td {
    background-color: #003a8f;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border-top: 7px solid #ffffff;
    border-bottom: 7px solid #ffffff;
}

.seminar-info tr:last-child th,
.seminar-info tr:last-child td {
    border-bottom: none;
}

/*左列(ヘッダー)だけ固定幅にする*/
.seminar-info th:first-child {
    width: 60px !important;
    padding: 0 10px;
    font-size: 12px;
    background-color: #1a1a2e;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    border-right: 7px solid #ffffff;
}

.notice {
    text-align: center;
    color: #ff0000;
    font-weight: bold;
}

.notice span {
    display: block;
}

.notice .headline {
    display: block;
    margin-top: 50px;
    margin-bottom: 20px ;
    font-size: 18px;
}

.notice .emphasis {
    display: inline-block;
    position: relative;
    font-size: 13px;
}

.notice .emphasis::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15%;
    width: 100%;
    height: 3px;
    background: #fff000;
    z-index: -1;
}

/* 共通ラッパー */
.form-group {
    font-size: 15px;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.3;
    border-radius: 10px;
    padding: 10px;
}

/* 入力欄 共通 */
input[type="text"],
input[type="email"] {
    display: block;
    width: 75%;
    height: 10px;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 0 auto;
    text-align: left;
    font-size: 15px;
}

.form-text {
    margin-left: 10%;
    font-size: 13px;
}

/*ボタン*/
.botton-area {
    text-align: center;
    margin: 20px 0;
}

.button-apply {
    flex-direction: column;      /* 2行を縦に積む */
    justify-content: center;     /* ボタン内で垂直中央 */
    align-items: center;  
    display: flex;
    background: linear-gradient(90deg, #fcd34d, #fbbf24);
    color: #1e3c72;
    font-size: 32px;
    text-align: center;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    margin: 0 auto 100px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0.25);
    border: none;
    line-height: 50px;
    width: 300px;
    height: 150px;
}

/* クリック後 */
.button-apply.is-active {
  background: #00a86b; /* 緑 */
  font-size: 25pt;
  color: #fff;
  width: 300px;
  height: 150px;
  margin: 0 auto 100px auto;  /* 下余白を残す */
  text-align: center;
  justify-content: center;     /* ボタン内で垂直中央 */
  align-items: center;
}

/* 子要素の余白をリセット */
.button-sub,
.button-main {
    margin: 0;
}

.button-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0,0.2);
}

.button-apply:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0.2);
}

.button-sub {
    display: block;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 20px;
}

.button-main {
    display: block;
    font-size: 33px;
    font-weight: bold;
}

}
