@charset "utf-8";

body {
    background-color: #000;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 160%;
}

/* モーダル内のコンテンツを枠内に固定する */
.swal2-html-container>div {
    overflow-x: hidden !important; /* 横スクロールを物理的に禁止 */
    word-break: break-all;         /* 長い単語やURLを強制改行する */
    overflow-wrap: break-word;     /* 枠からはみ出る場合に折り返す */
    text-align: left;              /* 左寄せ（すでにある場合は不要） */
}

/* モーダル自体の左右の余裕を確保する（スマホで端に寄りすぎないように） */
.swal2-popup {
    box-sizing: border-box;
}

h2#swal2-title {
    line-height: 1.5;
}

.form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.is-invalid {
    color: #ff0000;
    font-size: 12px;
}

.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}

.inner {
    width: 1056px;
    max-width: 100%;
    margin: auto;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.center {
    text-align: center;
}

.cyaan {
    color: #2DB9EB;
}

.dark_cyaan {
    color: #196987;
}

.bold {
    font-weight: 700;
}

.toc-wrap h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 150%;
}

.toc-wrap h2:not(.swal2-popup *) {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: 44px;
    font-weight: 900;
    line-height: 150%;
    letter-spacing: 0.05em;
}

.toc-wrap section {
    margin: 128px 0;
}

.toc-wrap section:first-child {
    margin: 0;
}

.subheading {
    align-items: center;
    display: flex;
    justify-content: center;
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    line-height: 160%;
    color: #196987;
}

.subheading::before,
.subheading::after {
    margin: 0 18px;
    content: '';
    background-color: #196987;
    width: 48px;
    height: 1px;
}

.curriculum .box_part p {
    font-family: "Orbitron", sans-serif;
    color: #2DB9EB;
    font-weight: bold;
    font-size: 18px;
    line-height: 150%;
}

.gradation {
    background: linear-gradient(90deg, #465aff 0%, #2db4eb 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.fv .gradation {
    background-image: linear-gradient(#465aff 20%, #2db4eb 60%);
}

.gradation02 {
    background: linear-gradient(90deg, #465aff 0%, #2db4eb 66%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.transition .gradation {
    background: linear-gradient(180deg, #465aff 40%, #2db4eb 60%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.future .gradation {
    background: linear-gradient(180deg, #465aff 0%, #2db4eb 25%);
}

.price .gradation {
    background: linear-gradient(90deg, #465aff 0%, #2db4eb 25%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.question .gradation {
    background: linear-gradient(180deg, #465aff 40%, #2db4eb 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.question .message .box_left .gradation01 {
    background: linear-gradient(180deg, #465aff 0%, #2db4eb 61%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}

.question .message .box_left .gradation02 {
    background: linear-gradient(90deg, #465aff 13%, #2db4eb 61%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;

}

header {
    border-bottom: #ffffff4d solid 1px;
    position: sticky;
    background-color: #000;
    left: calc((100% - 1056px) / 2);
    z-index: 1;
    top: 0;
}

header .logo {
    position: relative;
    width: 231px;
    height: 36px;
    margin: 22px 0;
}

header .logo a img {
    position: absolute;
    left: 0;
}

header .logo p {
    position: absolute;
    width: 64px;
    height: 26px;
    top: 5px;
    left: 167px;
    font-weight: 900;
}

header .btn {
    position: relative;
    width: 282px;
    height: 50px;
    margin: auto 0;
    margin-right: 40px;
    padding: 0 40px;
    background-image: linear-gradient(90deg, #ff9d1e, #ca0018 55%);
    border-radius: 16px;
    font-weight: bold;
    line-height: 150%;
    display: inline-block;
}

header .btn img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    height: 60px;
    width: 50px;
}

header .btn .text {
    position: absolute;
    top: 13px;
    right: 88px;
    margin-left: 12px;
}

header .btn .frame {
    position: absolute;
    text-align: center;
    right: 20px;
    width: 56px;
    height: 26px;
    top: 13px;
    border: #fff solid 1px;
    border-radius: 4px;
}

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6px;
    width: 24px;
    height: 24px;
    margin-top: 32px;
}

.menu-button__line,
.menu-button::before,
.menu-button::after {
    content: "";
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 24px;
}

.menu-button.is-opened .menu-button__line {
    opacity: 0;
}

.menu-button.is-opened::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.is-opened::after {
    transform: translateY(-8px) rotate(-45deg);
}

nav {
    /* メニュー一旦非表示 */
    position: fixed;
    z-index: 1000;
    top: 80px;
    right: 0;
    width: 864px;
    height: 100%;
    text-align: center;
    background-color: #000;
}

nav ul {
    width: 592px;
    margin: 0 auto;
}

nav ul li {
    width: 100%;
    padding: 28px 0;
}

nav ul li a {
    font-size: 18px;
}

nav ul li {
    border-bottom: #ffffff4d solid 1px;
}

nav .sp {
    display: none;
}

.fv {
    margin: 0;
    padding-top: 55px;
    background-image: url(../../../../../images/btoc/ai/jigoku/fv_vis.png);
    background-repeat: no-repeat;
    background-position: right;
}

.fv .box_left {
    max-width: 688px;
    padding-bottom: 120px;
}

.fv h1 {
    height: 252px;
    margin-bottom: 32px;
    font-size: 62px;
}

.fv h1 .sp {
    display: none;

}

.fv .box_text {
    padding-left: 24px;
    margin-bottom: 78px;
    border-left: #465AFF solid 6px;
}

.fv .text01 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.fv .text02 {
    font-size: 20px;
}

.fv a {
    position: relative;
    display: block;
    width: 480px;
    height: 64px;
    margin: auto 0;
    padding: 0 40px;
    background-image: linear-gradient(90deg, #ff9d1e, #ca0018 55%);
    border-radius: 16px;
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
}

.fv a img {
    position: absolute;
    left: 97px;
    top: 50%;
    transform: translateY(-50%);
}

.fv a .text {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.fv a .frame {
    position: absolute;
    top: 14px;
    right: 97px;
    width: 56px;
    padding: 2px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: #fff solid 1px;
    border-radius: 4px;
}

.headline {
    max-width: 720px;
    margin: 64px auto 56px;
}

.headline img {
    display: block;
    margin: 0 auto 24px;
}

.headline p {
    margin-bottom: 24px;
    font-size: 18px;
}

.what {
    background-image: url(../../../../../images/btoc/ai/jigoku/bg_pc.png);
    margin-top: 0;
}

.what .box {
    max-width: 328px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 4px rgba(45, 185, 235, 0.8);
}

.what .box img {
    padding: 40px 0 8px;
}

.what .box h3 {
    font-weight: bold;
}

.what .box p {
    padding: 8px 24px 40px;
    font-weight: bold;
}

.what .upper {
    justify-content: center;
    gap: 36px;
}

.what .lower {
    justify-content: center;
    gap: 36px;
}

.what .lower .box_cyaan {
    width: 352px;
    margin-bottom: 64px;
}

.what .upper .box_cyaan {
    width: 328px;
    margin-bottom: 36px;
    justify-content: center;
}

.what .lower .box_cyaan {
    width: 352px;
}

.what .box_cyaan {
    background-image: linear-gradient(330deg, #1969854d, #1969871a);
    border-radius: 8px;
    padding: 40px 0px 32px;
}

.what .box_cyaan img {
    margin-bottom: 16px;
}

.what .box_cyaan h3 {
    margin-bottom: 4px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 150%;
}

.what .box_cyaan p {
    font-weight: bold;
    line-height: 150%;
    margin-bottom: 16px;
}

.what .box_cyaan ul {
    margin: 0 20px;
    box-sizing: border-box;
}

.what .box_cyaan ul li {
    font-size: 14px;
    line-height: 180%;
}

.what .box_cyaan ul li::before {
    content: "・";
}

.transition h1 {
    max-width: 616px;
}

.transition a {
    position: relative;
    display: block;
    width: 440px;
    height: 64px;
    margin: 56px auto 0;
    background-image: linear-gradient(115deg, #ff9d1e, #ca0018 55%);
    border-radius: 16px;
}

.transition a img {
    position: absolute;
    left: 87px;
    top: 50%;
    transform: translateY(-50%);
}

.transition a .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
}

.transition a .frame {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 87px;
    width: 56px;
    padding: 2px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: #fff solid 1px;
    border-radius: 4px;

}

.curriculum .gap {
    justify-content: center;
    gap: 40px;
}

.curriculum .box_rignt .box_part {
    width: 600px;
    padding: 28px;
    margin-bottom: 28px;
    background-image: linear-gradient(205deg, #1969854d, #1969871a 100%);
    border-radius: 8px;
}

.curriculum .box_rignt .box_part p {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: bold;
    line-height: 150%;
}

.curriculum .box_rignt .box_part h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: bold;
    line-height: 150%;
}

.curriculum .box_rignt .box_part li {
    font-size: 16px;
    line-height: 170%;
}

.curriculum .box_rignt .box_part li::before {
    content: "・";
}

.course .change {
    justify-content: center;
    gap: 8px;
    margin: 0 auto 56px;
    width: 480px;
    height: 78px;
    border: #196987 solid 2px;
    border-radius: 80px;
    box-shadow: 0px 0px 10px 0px rgba(25, 105, 135, 1);
}

.course .change button {
    display: block;
    width: 228px;
    height: 58px;
    margin: auto 0;
    text-align: center;
    border-radius: 80px;
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0.02em;
    background-color: #000;
    color: #196987;
}

/* コースのボタンoff状態 */
.course .change .active {
    background-color: #196987;
    color: inherit;
}

.course .box_left {
    max-width: 640px;
}

.course .box_left h3 {
    margin-bottom: 32px;
    padding: 8px 0;
    text-align: center;
    border: #196987 solid 1px;
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
}

.course .box_left p {
    margin-bottom: 20px;
}

.course .box_left dt {
    font-size: 18px;
    font-weight: bold;
    color: #196987;
    margin-bottom: 4px;
}

.course .box_left dt::before {
    content: "■";
}

.course .box_left dd {
    margin-bottom: 20px;
}

.course .box_rignt .vis {
    margin-bottom: 24px;
}

.course .box_left .box01 {
    margin-bottom: 42px;
}

.course .box_rignt a {
    position: relative;
    display: block;
    width: 352px;
    height: 64px;
    background-image: linear-gradient(115deg, #ff9d1e, #ca0018 55%);
    border-radius: 16px;
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
}

.course .box_rignt a img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
}

.course .box_rignt a .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.course .box_rignt a .frame {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    width: 56px;
    padding: 2px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: #fff solid 1px;
    border-radius: 4px;
}

.future .flex {
    justify-content: center;
    gap: 72px;
}

.future .box_before {
    max-width: 350px;
    margin-bottom: 48px;
    color: #196987;
}

.future .box_after {
    max-width: 350px;
}

.future .box_before p {
    width: 80px;
    height: 26px;
    margin-bottom: 12px;
    border: #196987 solid 1px;
    border-radius: 4px;
    text-align: center;
}

.future .box_after p {
    width: 80px;
    height: 26px;
    margin-bottom: 12px;
    border: #fff solid 1px;
    border-radius: 4px;
    text-align: center;
}

.future .box_before img {
    margin-bottom: 16px;
}

.future .box_after img {
    margin-bottom: 20px;
}

.future li::before {
    content: "・";
}

.gap table {
    width: 1040px;
    height: 528px;
    box-shadow: 0px 0px 8px 4px rgba(25, 105, 135, 1);
    border: #000 solid 8px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
}

.gap table th {
    padding: 16px 0;
    background-color: #1C1C1E;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    color: #196987;
    line-height: 120%;
}

.gap table th:not(:first-child) {
    border-left: #196987 solid 1px;
}

.gap table td {
    padding: 16px 12px;
    text-align: center;
    vertical-align: middle;
    border-top: #196987 solid 1px;
    font-size: 14px;
    line-height: 120%;
    color: #196987;
}

.gap table th,
.gap table td {
    white-space: nowrap;
    width: 206px;
}

.gap table td:not(:first-child) {
    border-left: #196987 solid 1px;
}

.gap table .hell {
    /* width: 144px; */
    height: 64px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.gap table .column {
    width: 216px;
    background-color: #1C1C1E;
    text-align: left;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 2%;
}

.gap table .column img {
    margin: 0 8px 0 20px;
}

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

.price .box_cyaan {
    width: 720px;
    margin: 0 auto;
    padding: 36px;
    background-image: linear-gradient(302deg, #1969854d 10%, #1969871a);
    border-radius: 8px;
}

.price .box_cyaan:not(:first-child) {
    margin-top: 28px;
}

.price .box_cyaan h3 {
    width: 148px;
    margin: 0 auto;
    padding: 2px 0;
    height: 34px;
    background-image: linear-gradient(90deg, #196987, #2db4eb);
    border-radius: 4px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.price .box_cyaan p {
    margin-top: 20px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    line-height: 44px;
}

.price .box_cyaan p .middle {
    font-size: 28px;
    font-weight: normal;
}

.price .box_cyaan p .short {
    font-size: 16px;
    font-weight: normal;
}

.price .box_cyaan table {
    width: 310px;
    height: 176px;
    margin-top: 28px;
    border: #196987 solid 2px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    line-height: 120%;
}

.price .box_cyaan table th {
    height: 48px;
    padding: 8px 48px;
    text-align: center;
    vertical-align: middle;
}

.price .box_cyaan table td {
    width: 230px;
    height: 64px;
    padding: 14px 12px;
    vertical-align: middle;
    border-top: #196987 solid 1px;
    letter-spacing: 0.04em;

}

.price .box_cyaan table td:not(:first-child) {
    border-left: #196987 solid 1px;
}

.price .box_cyaan table .column {
    width: 80px;
    letter-spacing: 0.06em;
}

.price .box_cyaan table td .middle {
    font-size: 12px;
}

.price .box_cyaan ul {
    width: fit-content;
    margin: 20px auto 0;
}

.price .box_cyaan ul li {
    font-size: 18px;
    font-weight: bold;
}

.price .box_cyaan ul li span {
    font-size: 14px;
    font-weight: normal;
}

.price .box_cyaan ul li::before {
    content: "・";
}

.accordion {
    max-width: 720px;
    margin: 0 auto;
    margin-bottom: 28px;
    background-image: linear-gradient(246deg, #1969854d, #1969871a);
    border-radius: 8px;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 30px 41px 30px 34px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.accordion summary span::before {
    content: url(../../../../../images/btoc/ai/jigoku/question_iconQ.png);
    margin-right: 20px;
    vertical-align: middle;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion[open] summary::after {
    transform: rotate(225deg);
}

.accordion p {
    position: relative;
    max-width: 652px;
    transform: translateY(-10px);
    opacity: 0;
    margin-left: 34px;
    padding: 0 0 24px 60px;
    transition: transform .5s, opacity .5s;
}

.accordion p::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-75%);
    content: url(../../../../../images/btoc/ai/jigoku/question_iconA.png);
    margin-right: 20px;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}

.question .toggle {
    display: none;
}

.question .Label {
    display: block;
    width: 720px;
    height: 88px;
    margin: 0 auto;
    padding: 24px 0 24px 34px;
    background-image: linear-gradient(246deg, #1969854d, #1969871a);
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
}

.question .Label span {
    text-align: right;
}

.question .Label .text::before {
    content: url(../../../../../images/btoc/ai/jigoku/question_iconQ.png);
    margin-right: 20px;
    vertical-align: middle;
}

.Label,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}

.content {
    width: 720px;
    height: 0;
    margin: 0 auto 28px;
    padding: 0 20px;
    background-image: linear-gradient(246deg, #1969854d, #1969871a);
    overflow: hidden;
}

.toggle:checked+.Label+.content {
    height: auto;
    padding: 20px;
    transition: all .3s;
}

.toggle:checked+.Label::before {
    transform: rotate(-45deg) !important;
}

.question .content p::before {
    content: url(../../../../../images/btoc/ai/jigoku/question_iconA.png);
    margin-right: 20px;
    vertical-align: middle;
}

.question button {
    display: block;
    width: 720px;
    height: 88px;
    margin: 0 auto 28px;
    background-image: linear-gradient(246deg, #1969854d, #1969871a);
    border-radius: 8px;
}

.question button p {
    width: 592px;
    margin-left: 34px;
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
}

.question button span::before {
    content: url(../../../../../images/btoc/ai/jigoku/question_iconQ.png);
    margin-right: 20px;
    vertical-align: middle;
}

.arrow {
    position: relative;
    display: inline-block;
    width: 22.4px;
    height: 13.2px;
    margin: auto 42px auto 0;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 2px);
    width: 4px;
    height: 17px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: 50% calc(100% - 2px);
}

.arrow::before {
    transform: rotate(45deg);
}

.arrow::after {
    transform: rotate(-45deg);
}

.question .message {
    margin-top: 128px;
    justify-content: center;
    gap: 40px;
}

.question .message .box_left {
    text-align: center;
}

.question .message .box_left p {
    margin-bottom: 20px;
    font-size: 44px;
    font-weight: 900;
    line-height: 150%;
}

.question .message .box_left .middle {
    font-size: 36px;
}

.contact {
    margin-bottom: 96px;
}

.contact form {
    max-width: 568px;
    margin: 0 auto;
    padding: 64px 64px 72px;
    background-image: linear-gradient(162deg, #1969874d 10%, #1969871a 80%);
    border-radius: 8px;
}

.contact form .box_text {
    width: 440px;
    padding: 18px 16px;
    background-color: #fff;
    border-radius: 4px;
}

.contact form textarea {
    height: 136px;
}

.contact form .cyaan {
    padding: 2px 8px;
    border: #2DB9EB solid 1px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 140%;
}

.contact form .box_checkbox {
    width: 320px;
    margin: 0 auto 16px;
}

.contact form .checkbox {
    appearance: none;
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 16px;
    border: 1px solid #fff;
    border-radius: 2px;
    cursor: pointer;
}

.contact form .text_checkbox {
    font-size: 14px;
    margin-bottom: 16px;
}

.contact form .checkbox:checked {
    border: none;
    background-color: #465aff;
}

.checkbox:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 16px;
    height: 12px;
    border-bottom: 4px solid #ffffff;
    border-left: 4px solid #ffffff;
    transform: rotate(-45deg);
}

.contact form .text_checkbox .blue {
    color: #465AFF;
}

.contact form button {
    display: block;
    width: 360px;
    height: 64px;
    margin: 0 auto;
    text-align: center;
    background-image: linear-gradient(98deg, #ff9d1e, #ca0018 55%);
    border-radius: 16px;
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
}

footer {
    padding: 32px 0;
    border-top: rgba(255, 255, 255, 0.2) solid 1px;
    text-align: center;
    background-color: #000;
}

footer p {
    padding: 0px 0 20px;
    text-decoration: underline;
}

small {
    color: rgba(255, 255, 255, 0.65);
}

.zdo_drawer_menu {
    position: relative;
  }
  
  .zdo_drawer_menu .zdo_drawer_button span,
  .zdo_drawer_menu .zdo_drawer_button span:before,
  .zdo_drawer_menu .zdo_drawer_button span:after {
    content: "";
    display: block;
    height: 2px;
    width: 24px;
    border-radius: 24px;
    background-color: #ffffff;
    position: absolute;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
  }
  
  .zdo_drawer_menu .zdo_drawer_button span:before {
    bottom: 8px;
  }
  
  .zdo_drawer_menu .zdo_drawer_button span:after {
    top: 8px;
  }
  
  .zdo_drawer_menu.open {
    z-index: 1001;
  }
  
  .zdo_drawer_menu.open .zdo_drawer_button {
    z-index: 1001;
  }
  
  .zdo_drawer_menu.open .zdo_drawer_button span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }
  
  .zdo_drawer_menu.open .zdo_drawer_button span::before {
    bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .zdo_drawer_menu.open .zdo_drawer_button span::after {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  .zdo_drawer_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
    background: none;
    border: none;
    text-align: center;
    letter-spacing: 0.1em;
    cursor: pointer;
  }
  
  .zdo_drawer_button .zdo_drawer_bar {
    display: block;
    width: 40px;
    height: 2px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    left: 0;
  }
  
  .zdo_drawer_button .zdo_drawer_button {
    color: #ffffff;
  }
  
  .zdo_drawer_button .zdo_drawer_button .zdo_drawer_bar {
    background-color: #ffffff;
  }
  
  .zdo_drawer_button.active .zdo_drawer_menu_text {
    display: none;
  }
  
  .zdo_drawer_button.active .zdo_drawer_close {
    display: block;
  }
  
  .zdo_drawer_text {
    width: 100%;
    position: absolute;
    bottom: -20px;
    left: 0;
    text-align: center;
    font-size: 10px;
  }
  
  .zdo_drawer_close {
    letter-spacing: 0.08em;
    display: none;
  }
  
  .zdo_drawer_button {
    color: #ffffff;
  }
  
  .zdo_drawer_button .zdo_drawer_bar {
    background-color: #ffffff;
  }
  
  .zdo_drawer_menu {
    height: 80px;
    width: 24px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }

  .zdo_drawer_nav_wrapper {
    position: fixed;
    visibility: hidden;
    height: calc(100% - 80px);
    width: 631px;
    top: 81px;
    right: calc((100% - 1056px) / 2 + 631px);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(100%);
    transform: translate(100%);
    z-index: 1000;
    padding-top: 20px;
  }
  
  .zdo_drawer_nav_wrapper .log {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 40px;
    width: 180px;
    margin: 0 auto;
  }
  
  .zdo_drawer_nav_wrapper .contact-btn {
    display: block;
    width: 270px;
    padding: 16px 0;
    text-align: center;
    margin: 0 auto 160px;
  }
  
  .zdo_drawer_nav_wrapper.open {
    visibility: visible;
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
  }
  
  @media screen and (max-width: 1200px) {
    .zdo_drawer_nav_wrapper.open {
      right: 450px;
    }
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav {
    margin-right: 0;
    margin-bottom: 56px;
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item {
    border-bottom: 1px solid #e3e3e3;
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item a {
    position: relative;
    font-size: 16px;
    display: block;
    display: block;
    width: 100%;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item .menu-item-link {
    color: #ffffff;
  }

  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item .menu-item-link:hover {
    color: #196987;
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item.entry-content {
    padding-top: 16px;
  }
  
  .zdo_drawer_nav_wrapper .zdo_drawer_nav .drawer_nav_item.entry-content .entry-title {
    font-size: 18px;
  }

  .swal2-popup.responsive-modal {
    width: 50% !important;
  }

  button.swal2-confirm.swal2-styled {

  }

  .footer-links {
    text-align: center;
    padding-bottom: 20px;
    display: flex; /* 追加：横並びの制御のため */
    justify-content: center; /* 追加：中央寄せ */
    flex-wrap: wrap; /* 追加：入り切らない場合折り返し */
}

.footer-link {
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    color: #fff;
}

.footer-link:not(:first-child) {
    margin-left: 24px;
}

.text-link {
    position: relative;
}

.text-link:hover::after {
    transform: scale(1, 1);
}

.footer-link::after {
    background: #fff!important;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.2s;
    background: #465AFF;
}


  @media screen and (max-width: 480px) {
    .zdo_drawer_nav_wrapper {
      width: 100%;
  
      &.open {
        min-height: calc(100% - 60px);
        right: 100%;
        overflow-y: auto;
      }
    }
  }

@media screen and (max-width: 768px) {

    html,
    body {
        margin: 0;
        padding: 0;
        /* overflow-x: hidden; */
        overflow-x: clip;
    }

    .pc-only {
        display: none !important;
    }
    
    .sp-only {
        display: block !important;
    }

    /* 横並び解除 */
    .sp_flex {
        display: block;
    }

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

    .toc-wrap h1 {
        margin: 0 auto;
        font-size: 42px;
    }

    .toc-wrap h2:not(.swal2-popup *) {
        font-size: 32px;
        letter-spacing: 0em;
    }

    .toc-wrap section {
        /* margin: 96px 0; 何のためだろう…*/
        margin: 0;
    }

    .headline {
        /* max-width: 350px; */
        margin: 96px auto 40px;
        padding: 0 20px;
    }

    .headline .subheading {
        white-space: nowrap;
    }

    .headline p {
        /* max-width: 345px; */
        font-size: 16px;
    }

    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;    /* 高さを明示 */
        z-index: 1000;
        background-color: #000;
        display: flex !important;    /* 中身を並べる */
        align-items: center !important; /* 上下中央揃え */
        justify-content: space-between; /* ロゴとメニューを両端に */
        padding: 0 20px !important;
        box-sizing: border-box;
        border-bottom: 1px solid #ffffff4d;
        will-change: auto; /* fixedなら不要なのでリセット */
    }

    /* ヘッダーが fixed になると後ろの要素が潜り込むため、FVの余白を調整 */
    .fv {
        padding-top: 60px !important; /* ヘッダーの高さ分、中身を下げる */
    }

    header .logo {
        margin: 0 !important;        /* 上に張り付く原因のマージンを消す */
        padding: 0 !important;
        display: flex !important;
        align-items: center !important; /* ロゴ内でも上下中央 */
        width: auto !important;
        height: 100% !important;     /* 親の高さに合わせる */
        position: static !important;
    }

    header .logo a {
        display: flex !important;
        align-items: center !important; /* 画像と文字を中央で揃える */
        gap: 10px !important;
        position: static !important;
        text-decoration: none;
    }

    header .logo a img {
        position: static !important;
        width: 120px !important;     /* 少しサイズ調整 */
        height: auto !important;
        transform: none !important;
    }

    header .logo p {
        position: static !important;
        font-size: 14px !important;
        font-weight: 900;
        color: #fff;
        margin: 0 !important;        /* 上下マージンを完全に消す */
        transform: none !important;
        white-space: nowrap !important;
        line-height: 1 !important;   /* 行高を詰めて中央を安定させる */
    }

    header .btn {
        display: none;
    }

    .menu-button {
        margin: auto 0;
    }

    nav {
        top: 69px;
        right: auto;
        left: auto;
        width: 100%;
    }

    .zdo_drawer_nav_wrapper .zdo_drawer_nav {
        margin: 0 20px 36px 20px;
    }

    nav ul {
        width: auto;
        margin: 0 20px;
    }

    nav ul li {
        width: 100%;
        padding: 24px 0;
    }

    /* nav ul li:not(:first-child) {
        padding: 24px 0;
    }

    nav ul li:first-child {
        padding: 40px 0 24px 0;
    } */

    nav .sp {
        display: block;
    }

    nav .sp a {
        display: block;
        margin: 0 auto 20px;
        /* position: relative;
        width: 350px;
        max-width: 100%;
        height: 64px;
        margin: 48px auto 0;
        border-radius: 16px;
        background-image: linear-gradient(98deg, #ff9d1e, #ca0018 55%);
        font-size: 20px;
        font-weight: bold;
        line-height: 150%; */
    }

    /* nav .sp a img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10%;
    }

    nav .sp a .text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    nav .sp a .frame {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 10%;
        width: 56px;
        height: 32px;
        border: #fff solid 1px;
        border-radius: 4px;
    } */

    .fv {
        padding-top: 0px;
        background-image: url(../../../../../images/btoc/ai/jigoku/fv_vis_sp.png);
        background-position: right top;
        /* background-size: cover; */
    }

    .fv .box_left {
        height: auto;
        width: auto;
        padding-top: 36px;
        padding-bottom: 0;
    }

    .fv h1 {
        max-width: 320px;
        margin: 0 0 32px 20px;
        height: auto;
        font-size: 44px;
    }

    .fv h1 .sp {
        display: inline;
    }

    .fv .box_text {
        width: 350px;
        max-width: 100%;
        padding-left: 16px;
        margin: 0 0 48px 20px;
    }

    .fv .text01 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .fv .text02 {
        font-size: 18px;
    }

    .fv a {
        margin: 0 auto;
        width: 350px;
        max-width: 100%;
    }

    .fv a img {
        left: 10%;
    }

    .fv a .text {
        left: 50%;
        transform: translateX(-50%);
    }

    .fv a .frame {
        right: 10%;
    }

    .what {
        background-image: url(../../../../../images/btoc/ai/jigoku/bg_sp.png);
    }

    .what .flex {
        margin: 0 20px;
    }
    .what .box {
        margin: 0 auto;
        margin-bottom: 24px;
    }

    .what .box_cyaan {
        margin: 0 auto;
        padding: 32px 20px 24px;
    }

    .what .upper .box_cyaan,
    .what .lower .box_cyaan {
        width: 350px;
        max-width: 100%;
    }

    .what .lower .box_cyaan {
        margin-bottom: 36px;
    }

    .what .box_cyaan h3 {
        margin-bottom: 16px;
    }

    .what .box_cyaan ul {
        width: 310px;
        max-width: 100%;
        margin: 0 auto;
    }

    .what .box_cyaan ul li {
        line-height: 170%;
        margin-left: 1em;
        text-indent: -1em;
    }

    .transition .box_left {
        margin: 0 20px;
    }

    .transition h1 {
        margin-bottom: 16px;
    }

    .transition p {
        margin-bottom: 24px;
        font-size: 20px;
    }

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

    .transition a {
        width: 350px;
        max-width: 100%;
        margin: 48px auto 0;
    }

    .transition a img {
        left: 10%;
    }

    .transition a .frame {
        right: 10%;
    }

    .transition .sp_flex img {
        width: 350px;
        height: 245px;
    }

    .curriculum .gap {
        gap: 16px;
    }

    .curriculum .box_rignt .box_part {
        width: 262px;
        max-width: 100%;
        padding: 24px 16px 20px;
    }

    .curriculum .box_rignt .box_part p {
        font-size: 16px;
    }

    .curriculum .box_rignt .box_part h3 {
        font-size: 22px;
    }

    .curriculum .box_rignt .box_part li {
        font-size: 14px;
    }

    .course .change {
        width: 350px;
        max-width: 100%;
        margin: 40px auto 40px;
    }

    .course .change button {
        width: 163px;
        max-width: 100%;
        margin: 8px;
    }

    .course {
        margin: 0 auto;
    }

    .course .box_left {
        padding: 0 20px;
        margin: 0 auto;
    }

    .course .box_left .box01,
    .course .box_left .box02 {
        margin-bottom: 40px;
    }

    .course .box_rignt .vis {
        display: block;
        margin: 0 auto 24px;
    }

    .course .box_rignt a {
        width: 350px;
        max-width: 100%;
        margin: 0 auto;
    }

    .future .flex {
        width: 350px;
        max-width: 100%;
        margin: 0 auto;
    }

    .future .box_before {
        margin-bottom: 32px;
    }

    .future .box_after {
        margin-bottom: 40px;
    }

    .gap .box_sp {
        display: block;
        overflow-x: auto;
    }

    .gap table {
        margin: 20px 20px;
    }

    .gap table th,
    .gap table td {
        white-space: nowrap;
        width: 168px;
    }

    .gap table .column {
        width: 56px;
        padding: 0 18px;
        text-align: center;
        color: transparent;
        font-size: 0;
        line-height: 0;
    }

    .gap table .column img {
        margin: 0 auto;
        width: 28px;
        height: 28px;
    }

    .price {
        padding: 0 20px;
    }
    .price .headline {
        padding: 0;
    }
    .price h2 {
        text-align: start;
    }

    .price .box_cyaan {
        width: 350px;
        max-width: 100%;
        padding: 32px 20px;
    }

    .price .box_cyaan table {
        max-width: 100%;
        margin: 28px auto 0;
    }

    .price .box_cyaan:not(:first-child) {
        margin-top: 24px;
    }

    .question .message {
        display: block;
    }

    .accordion {
        max-width: 350px;
    }

    .accordion summary {
        padding: 16px;
        margin-left: 3.3em;
        text-indent: -3.3em;
        font-size: 16px;
    }

    .accordion p {
        margin: 0 16px 16px;
        font-size: 14px;
    }

    .question .message .box_rignt {
        text-align: center;
    }

    .question .message .box_left {
        padding: 0 20px;
    }

    .question .message .box_left img {
        width: 100%;
    }

    .contact {
        margin-bottom: 72px!important;
    }
    .contact form {
        max-width: 390px;
        padding: 0 20px;
        background-image: none;
    }

    .contact form .box_text {
        max-width: 100%;
    }

    .contact form button {
        max-width: 100%;
    }

    footer p{
        font-size: 14px;
    }

    footer small {
        font-size: 10px;
    }

    header {
        position: sticky; /* 念のため再宣言 */
        top: 0;
        z-index: 1000;    /* navより上の数値、または同等に */
        height: 60px;
        padding: 0 20px;
        background-color: #000; /* 背景色がないと下が透けます */
    }

    header .logo a img {
        width: 128px;
    }

    header .logo {
        padding: 0;
    }
    
    .zdo_drawer_menu {
        margin: 0 0 0 auto !important; /* 右端に寄せる */
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
    }

    .zdo_drawer_nav_wrapper {
        top: 60px;
    }

    .zdo_drawer_menu .zdo_drawer_button span,
    .zdo_drawer_menu .zdo_drawer_button span:before,
    .zdo_drawer_menu .zdo_drawer_button span:after {
        width: 32px;
    }

    .zdo_drawer_menu .zdo_drawer_button span:before {
        bottom: 12px;
    }

    .zdo_drawer_menu .zdo_drawer_button span:after {
        top: 12px;
    }

    .zdo_drawer_menu .zdo_drawer_button.active span:before {
        bottom: 0;
    }

    .zdo_drawer_menu .zdo_drawer_button.active span:after {
        top: 0;
    }
/* 
    .ai-course-details.active {
        display: block;
    } */

    /* 追記：フッターリンクを縦並びにする設定 */
    .footer-links {
        display: flex;          /* flexを適用 */
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央寄せ */
        gap: 10px;              /* リンク間の隙間 */
        padding-bottom: 20px;
    }

    .footer-link:not(:first-child) {
        margin-left: 0!important;        /* PC版の横マージンをリセット */
    }

    footer a {
        font-size: 14px;
    }

    .swal2-popup.responsive-modal {
        width: 90% !important;
    }
}

.ai-course-details {
    display: none;
    width: 100%;
    flex-wrap: wrap;
}

.ai-course-details.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}