@charset "UTF-8";

/* Vendors - include bootrap
========================================================================== */
/* Helpers - helpers Variable file along with starting point Mixins and Placeholders.
========================================================================== */
/*
* Variables
*/
:root {
  /* family: */
  --font-family-text: "Noto Sans JP", serif;
  --font-family-title: "Noto Serif JP", serif;
  --font-family-en: "Noto Sans JP", serif;
  /* Colors: */
  --text-color: #333333;
  --text-dark-color: #CECECE;
  --loud-color: #b59948;
  --title-color: #992032;
  --menu-color: #333333;
  --primary-btn-color: #FFFFFF;
  /* background: */
  --background-primary-btn: #1d1f23;
  --background-loud: #003364;
  --background-footer: #003364;
  /* size */
  --base-font-size: 1.6rem;
  --h1-font-size: 10rem;
  --h2-font-size: 4rem;
  --h3-font-size: 3.5rem;
}

/*
 * Function
 */
/*
* mixins
*/
@media (min-width: 768px) and (max-width: 991px) {
  .class {
    width: 60%;
  }
}

/*
 * Placeholders
 */
/* Base - reset and typography.
========================================================================== */
/*
 * reset
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
 * reset
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  outline: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-family-text);
}

input {
  padding: 0;
  font-family: var(--font-family-text);
}

/*
 * Typography
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.4;
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

/* Components - Re-usable site elements.
========================================================================== */
a {
  color: var(--text-color);
  text-decoration: none;
}

a:visited {
  color: var(--text-color);
  text-decoration: none;
}

a:hover,
a:visited:hover {
  color: var(--loud-color);
  text-decoration: none;
}

a:focus {
  outline: none;
  text-decoration: none;
}

.more {
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

.btn-primary {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: auto;
  min-width: 65.5rem;
  height: 9.5rem;
  padding: 0 2rem;
  border: .4rem solid #FFFFFF;
  position: relative;
  font-size: 3.7rem;
  color: #FFFFFF !important;
  font-weight: 600;
  font-family: var(--font-family-title);
}

.btn-primary::after {
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  background-image: url("../images/icon-btn-arows-right.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  right: 2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.btn-primary::before {
  content: '';
  width: 12.13695rem;
  height: 5.98966rem;
  background-image: url("../images/btn-bd.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
}

.btn-primary:hover {
  -webkit-box-shadow: inset 0 0 0 2em #FFFFFF;
  box-shadow: inset 0 0 0 2em #FFFFFF;
  color: var(--loud-color) !important;
}

.btn-main {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 80rem;
  line-height: 8rem;
  border-radius: .9rem;
  background: #FFFFFF;
  font-size: 3.5rem;
  color: #2e5a92 !important;
  font-weight: 700;
  -webkit-box-shadow: 0 5px 0 #0071bc;
  box-shadow: 0 5px 0 #0071bc;
}

.btn-main:hover {
  opacity: 0.7;
}

.nav-bar-menu ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav-bar-menu ul li a {
  display: block;
  padding: 0 5rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  color: var(--menu-color);
  border-left: 1px solid var(--menu-color);
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

.nav-bar-menu ul li a:hover {
  color: var(--loud-color);
}

.nav-bar-menu ul li a:last-child {
  border-right: 1px solid var(--menu-color);
}

.nav-bar-sp {
  display: none;
}

@media (max-width: 768px) {
  .nav-bar-menu {
    display: none;
  }

  .nav-bar-sp {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
    padding-top: 10.5rem;
    padding-left: 5rem;
    height: 100vh;
    width: 100vw;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    overflow-x: hidden;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    overflow-y: scroll;
    background: #FFFFFF;
  }

  .nav-bar-sp.is_active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }

  .nav-bar-sp main {
    display: block;
    background: #e3ebee;
    padding: 0 3.5rem 7rem;
  }

  .nav-bar-sp ul {
    margin-bottom: 25rem;
  }

  .nav-bar-sp ul li {
    width: 100%;
    padding: 3rem 0;
    border-bottom: 1px solid #666666;
  }

  .nav-bar-sp ul li a {
    display: block;
    text-align: center;
    font-size: 3rem;
    line-height: 1;
    font-weight: 500;
    color: var(--text-color);
  }

  .nav-bar-sp .btn-box .cta-box__main--btn {
    padding: 0;
    margin-bottom: 10rem;
  }

  .nav-bar-sp .btn-box .tel {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    max-width: 58.5rem;
    margin: 0 auto;
  }
}

/* Slider */
.slick-slider {
  position: relative;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Layout - Structure and layout files.
========================================================================== */
/* -------------------->>> COMMON <<<-------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  background: #fff;
  font-family: var(--font-family-text);
  color: var(--text-color);
  font-size: var(--base-font-size);
  line-height: 2;
  overflow-x: hidden;
  font-weight: 500;
  letter-spacing: 0;
  width: 100%;
}

body.is_active {
  height: 100vh;
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

hr {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #000 -moz-use-text-color -moz-use-text-color;
  -o-border-image: none;
  border-image: none;
  border-style: solid none none;
  border-width: 0.2em 0 0 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 110rem;
  padding: 0 1.5rem;
  margin: 0 auto;
}

p {
  margin-bottom: 1.5rem;
}

input:focus {
  outline: none;
}

a img {
  transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
}

a img:hover {
  opacity: 0.7;
}

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

iframe {
  width: 100%;
  vertical-align: middle;
}

.error {
  font-size: 1.2rem;
  color: #ff0000;
}

#result input.error {
  border-color: #e41919;
}

#result div.error {
  margin-top: 20px;
  padding: 13px 20px;
  text-align: center;
  background: rgba(228, 25, 25, 0.75);
  color: #fff;
}

#result div.success {
  margin-top: 20px;
  padding: 13px 20px;
  text-align: center;
  background: rgba(50, 178, 95, 0.75);
  color: #fff;
}

.loader_wrap {
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: white;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.header {
  padding: 1rem 2rem;
  position: relative;
  z-index: 99;
}

.header__main {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  grid-template-columns: 32rem auto;
}

.header__main--right {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: end;
  -ms-flex-pack: end;
  justify-content: end;
  gap: 10rem;
  grid-template-columns: auto 33.2rem;
}

.header__main--right .navbar-brand {
  display: none;
}

.header.is_active {
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 2rem;
    background: #FFFFFF;
  }

  .header__main {
    grid-template-columns: 32rem 5.6rem;
  }

  .header__main--right {
    display: block;
  }

  .header__main--right a {
    display: none;
  }

  .header__main--right .navbar-brand {
    display: block;
    width: 5.6rem;
  }

  .header__main--right .navbar-brand picture {
    display: block;
    opacity: 1;
  }

  .header__main--right .navbar-brand picture:last-child {
    margin-top: -100%;
    opacity: 0;
  }

  .header__main--right .navbar-brand.is-active picture {
    opacity: 0;
  }

  .header__main--right .navbar-brand.is-active picture:last-child {
    opacity: 1;
  }
}

.banner__main img {
  width: 100%;
}

.cta-box {
  padding: 6.5rem 0 11rem;
  background-image: url("../images/cta-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.cta-box__main--list {
  display: grid;
  gap: 2rem;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  padding: 0 3rem;
  margin-bottom: 6.5rem;
  grid-template-columns: 1fr 44rem;
}

.cta-box__main--list picture {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.cta-box__main--list picture img {
  -webkit-box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.75);
  box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.75);
  display: inline-block;
}

.cta-box__main--btn {
  display: grid;
  gap: 4rem;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  grid-template-columns: 63rem 51.5rem;
}

.cta-box__main--btn a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

/* .cta-box__main--btn a::after {
        content: '';
        width: 16.41729rem;
        height: 18.01611rem;
        background-image: url("../images/cta-icon-1.webp");
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        position: absolute;
        left: -6rem;
        bottom: -1rem; }
      .cta-box__main--btn a:last-child::after {
        width: 13.54497rem;
        height: 15.76377rem;
        background-image: url("../images/cta-icon-2.webp");
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        position: absolute;
        left: -2rem;
        bottom: 1.5rem; } */

.many-box {
  padding: 13rem 0 10rem;
  background-image: url("../images/many-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.many-box__head {
  background: #FFFFFF;
  margin-bottom: 6rem;
  padding: 1.5rem 3rem 3rem;
}

.many-box__head .head {
  margin-bottom: 2rem;
  text-align: center;
}

.many-box__head .head h2 {
  display: inline-block;
  padding: 0 7rem;
  background-image: url("../images/many-head-bg.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  font-size: 4.6rem;
  line-height: 1.2;
  font-weight: 600;
  color: #1a1a1a;
}

.many-box__head .head h2 small {
  font-size: 3rem;
}

.many-box__main {
  margin-bottom: 6rem;
}

.many-box__main .head {
  margin-bottom: 6rem;
  text-align: center;
}

.many-box__main .head h2 {
  font-size: 5rem;
  line-height: 8rem;
  font-weight: 600;
  color: #992032;
  /* background-image: url("../images/many-head-bg-2.webp"); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 37.3rem auto;
}

/* =========================================================
   旧：合格者の声（2カラム cards）
   → 今回はHTMLから消す想定なので、このブロックは不要。
   （残しても害はないが、CSSを軽くするなら削除OK）
   =========================================================
.many-box__main--list {
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
}
...省略...
*/

/* 下線用の準備 */
.many-box__main .head h2 {
  position: relative;
}

/* 下線 */
.many-box__main .head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  width: 60%;
  height: 0.3rem;
  background-color: var(--loud-color);
  border-radius: 999px;

  /* アニメーション */
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: underlineGrow 0.6s ease-out forwards;
  animation-delay: 0.3s;
  /* ちょい溜め */
}

/* アニメーション定義 */
@keyframes underlineGrow {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 900px) {
  .many-box .future__grid {
    grid-template-columns: 1fr;
  }

  .many-box .future__item {
    min-height: 21rem;
  }

  .many-box .future__label {
    font-size: 1.5rem;
  }

  .many-box .future__title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
}

.many-box__btn {
  text-align: center;
}

/* ===== SP時：文字サイズ微調整 ===== */
@media (max-width: 768px) {

  /* 「で学習計画を立てて学ぶと」 */
  .many-box .future__title {
    font-size: 2.6rem;
    /* ← 2.2rem → 2.6rem */
    line-height: 1.4;
  }

  /* カード下のラベル */
  .many-box .future__label {
    font-size: 3rem;
    /* ← 1.5rem → 1.7rem */
    padding: 1.4rem 1.6rem;
  }

  /* 「こんな未来を目指せます！」 */
  .many-box .future__note {
    font-size: 2.4rem;
    /* ← clamp頼りにしない */
    margin-top: 3.5rem;
  }
}

/* セクション内の基調フォント（保険） */
.many-box .future {
  font-family: var(--font-family-text);
}

/* 「で学習計画を立てて学ぶと」 */
.many-box .future__title {
  font-family: var(--font-family-title);
  /* 明朝 */
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* カード内ラベル */
.many-box .future__label {
  font-family: var(--font-family-text);
  /* 本文系 */
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 「こんな未来を目指せます！」 */
.many-box .future__note {
  font-family: var(--font-family-title);
  /* 明朝 */
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== 下線位置をPC/SPで確定させる（上書き用） ===== */
.many-box__main .head h2::after {
  bottom: -1.0rem;
  /* PC：しっかり下に。ここが基準 */
}

@media (max-width: 768px) {
  .many-box__main .head h2::after {
    bottom: -0.6rem;
    /* SP：少しだけ上に戻す */
  }
}

.many-box__main .gokaku-image {
  margin-bottom: 4rem;
}

.possible-box {
  padding: 6rem 0 18rem;
  background-image: url("../images/possible-bg.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.possible-box .head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  width: 87.63695rem;
  height: 16.48966rem;
  margin: 0 auto 5rem;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.possible-box .head h2 {
  font-size: 5.6rem;
  line-height: 1.2;
  font-weight: 600;
}

.possible-box .head h2 small {
  font-size: 3rem;
  line-height: 1;
  color: var(--text-color);
}

.possible-box__main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.possible-box__main ul {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 3rem;
}

.possible-box__main ul li {
  min-width: 75.5rem;
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6rem;
  grid-template-columns: 3.83529rem 1fr;
  padding: 0 2rem;
  font-size: 3rem;
  font-weight: 600;
  font-family: var(--font-family-title);
  line-height: 8.5rem;
  -webkit-box-shadow: 5px 7px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 5px 7px 7px rgba(0, 0, 0, 0.3);
  border-radius: 6rem;
  background: #FFFFFF;
}

.possible-box__main ul li::before {
  content: '';
  width: 3.83529rem;
  height: 1.96535rem;
  background-image: url("../images/icon-check.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.choosing-box {
  padding: 7rem 0 4rem;
}

.choosing-box .head {
  margin-bottom: 6rem;
}

.choosing-box .head h2 {
  text-align: center;
  font-size: 5.7rem;
  line-height: 1.2;
  font-weight: 600;
}

.choosing-box .head h2 small {
  font-size: 3rem;
  line-height: 1;
  color: var(--text-color);
}

.choosing-box__main {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 4rem;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 9rem;
}

.choosing-box__main--items figure {
  margin-bottom: 1rem;
}

.choosing-box__main--items .txt {
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.3rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1rem;
  grid-template-columns: auto 1fr;
}

.choosing-box__main--items .txt::before {
  content: '';
  width: 2.96781rem;
  height: 3.5491rem;
  background-image: url("../images/icon-choosing.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.choosing-box__medical {
  text-align: center;
  padding: 0 1.5rem;
}

.choosing-box__medical h3 {
  margin-bottom: 5rem;
}

.choosing-box__medical h3 span {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 4rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 7.2rem;
  background: #992032;
  padding: 0 4rem;
}

/* ===== choosing-box：見出しsmallを吹き出し化 ===== */
.choosing-box .head h2 small {
  display: block;
  margin-bottom: 2.2rem;
  line-height: 1;
}

/* 吹き出し本体 */
.choosing-box .balloon-orange {
  position: relative;
  display: inline-block;
  padding: 1.4rem 4.2rem;
  border-radius: 999px;
  background: #992032;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* しっぽ（三角） */
.choosing-box .balloon-orange::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.0rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1.2rem solid transparent;
  border-right: 1.2rem solid transparent;
  border-top: 1.2rem solid #992032;
}

/* SP調整 */
@media (max-width: 768px) {
  .choosing-box .balloon-orange {
    padding: 1.2rem 2.6rem;
    font-size: 1.6rem;
    /* rem設計に合わせて調整 */
    max-width: 92%;
    white-space: nowrap;
    /* 1行固定にしたいならON */
  }

  /* 長文で折り返したいなら、上のnowrapを消してこれ */
  /* .choosing-box .balloon-orange{ white-space: normal; } */
}

/* ===== SP：吹き出しを大きく・目立たせる ===== */
@media (max-width: 768px) {
  .choosing-box .balloon-orange {
    padding: 1.6rem 3.2rem;
    /* 余白を広げる */
    font-size: 2.5rem;
    /* 文字を大きく */
    font-weight: 800;
    max-width: 94%;
  }
}

.price-box {
  padding: 6rem 0 20rem;
  background-image: url("../images/bg-2.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.price-box .head {
  margin-bottom: 7rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.price-box .head picture {
  width: 31.9rem;
  margin: 0 auto;
}

.price-box .head h2 {
  font-size: 6rem;
  font-weight: 600;
}

.price-box__main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  z-index: 9;
}

.price-box__main::after {
  content: '';
  width: 100vw;
  height: 100%;
  background-image: url("../images/price-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: -1;
}

.price-box__main figure {
  width: 100%;
  max-width: 98.4rem;
}

.price-box .head p {
  text-align: left;
  /* 中央揃え解除 */
  max-width: 1000px;
  /* 横に広がりすぎ防止 */
  margin: 1rem auto 3rem;
  /* 中央配置＋下余白 */
  padding: 0 1rem;
  /* 左右に余白 */
  line-height: 1.9;
  /* 読みやすさUP */
}

@media (max-width: 768px) {
  .price-box .head p {
    padding: 1rem 2.4rem;
    font-size: 3rem;
  }
}


.medical-box {
  background: #ffffff;
  padding: 7rem 0;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
  position: relative;
  z-index: 9;
}

.medical-box .head {
  text-align: center;
  margin-bottom: 5rem;
}

.medical-box .head h2 {
  font-size: 7rem;
  font-weight: 600;
  line-height: 1.2;
}

.medical-box .head h2 small {
  font-size: 4rem;
}

.medical-box__main {
  width: 100%;
  max-width: 90rem;
  background: #fefcf7;
  margin: 0 auto 1rem;
  position: relative;
}

.medical-box__main::after {
  content: '';
  width: 15.75rem;
  height: 15.75rem;
  position: absolute;
  bottom: -11.5rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-image: url("../images/icon-close.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 9;
}

.medical-box__main:last-child::after {
  display: none;
}

.medical-box__main--title {
  margin-bottom: 2rem;
}

.medical-box__main--title h3 {
  line-height: 5rem;
  background: #003364;
  text-align: center;
  color: #FFFFFF;
  text-align: center;
  font-weight: 600;
  font-size: 4rem;
}

.medical-box__main main {
  display: block;
  padding: 0 4rem 3rem;
}

.medical-box__main main.pd {
  padding-top: 9rem;
}

.medical-box__main--post {
  margin-bottom: 5rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 4.5rem;
  grid-template-columns: 29.7rem 1fr;
}

.medical-box__main--post .text h3 {
  font-size: 3.5rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 1rem;
}

.medical-box__main--post .text h3 small {
  font-size: 2.3rem;
  color: var(--loud-color);
}

.medical-box__main--post .text p:last-child {
  margin-bottom: 0;
}

.medical-box__main--post-2 {
  margin-bottom: 8rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 3.5rem;
  grid-template-columns: 26.5rem 1fr;
}

.medical-box__main--post-2 .text p:last-child {
  margin-bottom: 0;
}

.medical-box__main--txt {
  margin-bottom: 2rem;
}

.medical-box__main--txt h3 {
  margin-bottom: 3rem;
  font-size: 3.5rem;
  font-weight: 600;
}

.medical-box__main--txt picture {
  margin-bottom: 1rem;
}

.medical-box__main--txt ul {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.medical-box__main--txt ul li {
  font-weight: 700;
  line-height: 2.5rem;
}

.medical-box__main--des {
  padding: 1rem 6rem 1rem 2rem;
  font-size: 2.1rem;
  line-height: 3.3rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: var(--font-family-title);
  background: var(--loud-color);
  position: relative;
  margin-bottom: 6rem;
}

.medical-box__main--des::after {
  content: '';
  width: 12.5rem;
  height: 13.5rem;
  background-image: url("../images/icon-medical.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  bottom: 0;
  right: -.5rem;
}

.medical-box__main--postthumb {
  margin-bottom: 12rem;
}

.medical-box__main--postthumb:last-child {
  margin-bottom: 0;
}

.medical-box__main--postthumb h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 6.6rem;
  line-height: 8.6rem;
  font-weight: 600;
}

.medical-box__main--postthumb .list {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 7rem;
}

.medical-box__main--postthumb .list__items {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2rem;
  grid-template-columns: 1fr 22.8rem;
}

.medical-box__main--postthumb .list__items h3 {
  position: relative;
  padding-left: 11rem;
  font-size: 3.5rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.medical-box__main--postthumb .list__items h3 small {
  color: var(--loud-color);
  font-size: 2.3rem;
}

.medical-box__main--postthumb .list__items h3 span {
  color: var(--loud-color);
  font-size: 9.5rem;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.medical-box__main--postthumb .list__items p {
  margin-bottom: 0;
}

.medical-box__main--postthumb .thumbnail {
  margin-bottom: 6rem;
}

.medical-box__main--postthumb .des {
  font-size: 2rem;
  line-height: 3.1rem;
  text-align: center;
  color: var(--loud-color);
  font-family: var(--font-family-title);
  font-weight: 600;
}

.medical-box__main--member {
  margin-bottom: 7rem;
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
}

.medical-box__main--member .items figure {
  margin-bottom: 1.5rem;
}

.medical-box__main--member .items .txt h3 {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  grid-template-columns: auto 1fr;
}

.medical-box__main--member .items .txt h3 span {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 0 1rem;
  background: var(--loud-color);
  line-height: 2.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: var(--font-family-title);
}

.medical-box__main--member .items .txt p {
  margin-bottom: 0;
}

.medical-box__main--detailed .head {
  text-align: center;
  background-image: url("../images/possible-head.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-bottom: 6.5rem;
}

.medical-box__main--detailed .head h2 {
  font-size: 5rem;
  line-height: 7.2rem;
  font-weight: 600;
  padding: 2rem;
}

.medical-box__main--detailed .list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.medical-box__main--detailed .list__items {
  background: #003364;
  padding: 1.5rem;
}

.medical-box__main--detailed .list__items h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 5rem;
  line-height: 1.3;
  color: #FFFFFF;
  font-weight: 600;
}

.medical-box__main--detailed .list__items h3 small {
  font-size: 3rem;
}

.medical-box__main--detailed .list__items figure {
  margin-bottom: 1.5rem;
}

.medical-box__main--detailed .list__items .txt {
  color: #FFFFFF;
}

.medical-box__main--system h2 {
  margin-bottom: 4.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 6.7rem;
  line-height: 8.6rem;
}

.medical-box__main--system .thumbnail {
  margin-bottom: 3rem;
  text-align: center;
}

.medical-box__main--system .thumbnail img {
  width: 100%;
  max-width: 65rem;
}

.medical-box__main--system .des {
  margin-bottom: 8rem;
  text-align: center;
}

.medical-box__main--system .list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4rem;
}

.medical-box__main--system .list__items {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: calc(50% - 2rem);
  background: var(--loud-color);
  padding: 8rem 1.5rem 3rem;
  position: relative;
}

.medical-box__main--system .list__items::after {
  content: '';
  width: 9.5rem;
  height: 9.5rem;
  background-image: url("../images/system-num-1.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.medical-box__main--system .list__items h3 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 3rem;
  color: #FFFFFF;
  font-weight: 600;
}

.medical-box__main--system .list__items p {
  margin-bottom: 0;
  color: #FFFFFF;
  font-size: 1.5rem;
}

.medical-box__main--system .list__items--grid {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1rem;
  grid-template-columns: 22.8rem 1fr;
}

.medical-box__main--system .list__items--grid .txt {
  color: #FFFFFF;
  font-size: 1.5rem;
}

.medical-box__main--system .list__items:nth-child(2)::after {
  background-image: url("../images/system-num-2.webp");
}

.medical-box__main--system .list__items:last-child {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 0%;
  -ms-flex: 1 0 0%;
  flex: 1 0 0%;
  width: 100%;
}

.medical-box__main--system .list__items:last-child::after {
  background-image: url("../images/system-num-3.webp");
}

/* =========================
   講師紹介スライド
========================= */

.teacher-slide {
  background: #8f1d2c;
  /* ワインレッド */
  color: #fff;
  padding: 8rem 0 10rem;
  overflow: hidden;
}

/* 見出しエリア（中央だけ幅制限） */
.teacher-slide__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.teacher-slide__label {
  display: inline-block;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.teacher-slide__title {
  font-family: var(--font-family-title);
  color: #FFFFFF;
  font-size: 4.2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.teacher-slide__title span {
  color: #f2c97d;
}

.teacher-slide__lead {
  font-size: 1.6rem;
  line-height: 1.8;
  opacity: .9;
}

/* ===== スライダー本体 ===== */

.teacher-slide__carousel {
  width: 100%;
  margin-top: 6rem;
}

.teacher-slide__mask {
  overflow: hidden;
  width: 100%;
}

.teacher-slide__lane {
  display: flex;
  width: max-content;
  animation: teacher-marquee 60s linear infinite;
}

.teacher-slide__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  flex-wrap: nowrap;
}

/* ===== カード ===== */

.tcard {
  width: 32rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 1.6rem;
  overflow: hidden;
  flex-shrink: 0;
}

.tcard img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.tcard__body {
  padding: 1.6rem;
  text-align: left;
}

.tcard__subject {
  display: inline-block;
  font-size: 1.2rem;
  padding: .3rem .9rem;
  border-radius: .8rem;
  background: rgba(255, 255, 255, .2);
  margin-bottom: .8rem;
}

.tcard__name {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.tcard__catch {
  font-size: 1.4rem;
  opacity: .85;
}

.teacher-slide__track {
  padding-right: 2.3rem;
  /* ← ループ用の余白 */
}


/* ===== アニメーション ===== */

@keyframes teacher-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* hoverで停止（任意） */
.teacher-slide__mask:hover .teacher-slide__lane {
  animation-play-state: paused;
}

/* ===== SP調整 ===== */
@media (max-width: 768px) {
  .teacher-slide {
    padding: 6rem 0 8rem;
  }

  .teacher-slide__title {
    font-size: 3rem;
  }

  .tcard {
    width: 26rem;
  }
}

@media (max-width: 768px) {

  /* セクション全体 */
  .teacher-slide {
    padding: 6.5rem 0 9rem;
  }

  /* ラベル */
  .teacher-slide__label {
    font-size: 3rem;
    padding: .7rem 1.6rem;
    margin-bottom: 2.4rem;
  }

  /* タイトル */
  .teacher-slide__title {
    font-size: 6rem;
    line-height: 1.35;
    margin-bottom: 2.4rem;
  }

  /* リード文 */
  .teacher-slide__lead {
    font-size: 3rem;
    line-height: 1.9;
    padding: 0 1.2rem;
    /* 端ギリ防止 */
  }

  /* ===== カードサイズを“スマホ基準”に ===== */
  .tcard {
    width: 90vw;
    /* ← remやめて画面基準 */
    max-width: 32rem;
    /* 大きくなりすぎ防止 */
    border-radius: 1.8rem;
  }

  .tcard img {
    height: 24rem;
    /* 写真の存在感UP */
  }

  /* カード中身 */
  .tcard__body {
    padding: 2rem;
  }

  .tcard__subject {
    font-size: 3rem;
    padding: .4rem 1.1rem;
    margin-bottom: 1rem;
  }

  .tcard__name {
    font-size: 3rem;
    /* ← 先生名は強めに */
    margin-bottom: .6rem;
  }

  .tcard__catch {
    font-size: 2rem;
    line-height: 1.7;
  }

  /* スライド間の余白（指でスワイプしやすく） */
  .teacher-slide__track {
    gap: 1.4rem;
  }
}

.teacher-slide__lead {
  text-align: left;
  margin: 0 auto;
}

/* PCのみ：講師紹介リード文を中央揃え */
@media (min-width: 769px) {
  .teacher-slide__lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    /* 行が長くなりすぎないように */
  }
}

/* =========================
   注目講師カード（上の白い横長カード）
========================= */
.teacher-slide .teacher-feature {
  width: 100%;
  margin-top: 3.2rem;
  /* 見出し文章の下 */
  margin-bottom: 5rem;
  /* スライダーとの間 */
}

.teacher-slide .teacher-feature__card {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  border-radius: 1.6rem;
  padding: 2.4rem 2.6rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.4rem;
  align-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.teacher-slide .teacher-feature__img {
  border-radius: 1.2rem;
  overflow: hidden;
  background: #eee;
}

.teacher-slide .teacher-feature__img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.teacher-slide .teacher-feature__body {
  color: #1a1a1a;
  text-align: left;
}

.teacher-slide .teacher-feature__subject {
  display: inline-block;
  padding: .35rem 1rem;
  background: #8f1d2c;
  /* ワインレッド */
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.teacher-slide .teacher-feature__name {
  font-family: var(--font-family-title);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.teacher-slide .teacher-feature__text {
  font-size: 1.5rem;
  line-height: 1.85;
  margin: 0 0 .8rem;
  color: #222;
}

.teacher-slide .teacher-feature__text--small {
  font-size: 1.3rem;
  opacity: .85;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .teacher-slide .teacher-feature {
    margin-top: 2.4rem;
    margin-bottom: 3.2rem;
    padding: 0 1.5rem;
    /* 端にくっつかないように */
  }

  .teacher-slide .teacher-feature__card {
    grid-template-columns: 1fr;
    padding: 2rem 1.8rem;
    gap: 1.6rem;
    border-radius: 1.4rem;
  }

  .teacher-slide .teacher-feature__img img {
    height: 220px;
  }

  .teacher-slide .teacher-feature__body {
    text-align: left;
  }

  .teacher-slide .teacher-feature__name {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {

  /* 教科ラベル（数学など） */
  .teacher-slide .teacher-feature__subject {
    font-size: 3rem;
    /* ← 最低3rem */
    padding: .6rem 1.4rem;
  }

  /* 講師名 */
  .teacher-slide .teacher-feature__name {
    font-size: 3.6rem;
    /* 名前は少し強め */
    line-height: 1.25;
  }

  /* メイン説明文 */
  .teacher-slide .teacher-feature__text {
    font-size: 3rem;
    line-height: 1.8;
  }

  /* 補足テキスト（※印のやつ） */
  .teacher-slide .teacher-feature__text--small {
    font-size: 2.6rem;
    /* 補足だけ少し抑えめ */
    line-height: 1.7;
  }
}

.team-box {
  background: #ffffff;
  margin-top: -1rem;
  padding-top: 12rem;
  padding-bottom: 12rem;
  overflow: hidden;
}

.team-box .container {
  padding: 0;
  max-width: 100rem;
  background: #FFFFFF;
}

/* 見出し全体 */
.team-box .head {
  margin-bottom: 5rem;
  text-align: center;
  /* 親で中央寄せ */
}

/* h2本体 */
.team-box .head h2 {
  display: inline-block;
  /* ← 超重要：文字幅で中央に */
  margin: 0 auto;
  font-size: 7rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* small（上の補足文） */
.team-box .head h2 small {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 4rem;
  font-weight: 500;
}

/* 数学実例の画像：幅を制限して中央寄せ */
.medical-box__main--postthumb figure {
  display: flex;
  justify-content: center;
}

.medical-box__main--postthumb figure img {
  width: min(82rem, 100%);
  /* ← “820px相当”くらいを上限にして縮む */
  height: auto;
  display: block;
}

.medical-box__main--postthumb figure {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  /* ← ここで調整（2〜4remがおすすめ） */
}

/* =========================
   サポート強み 見出し帯
========================= */

.support-band {
  background: #9b1c2a;
  /* Avyrex系ワインレッド */
  text-align: center;
  padding: 2.8rem 1.6rem;
  margin: 6rem 0 4rem;
}

.support-band p {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.3;
}

/* ===== SP調整 ===== */
@media (max-width: 768px) {
  .support-band {
    padding: 2.2rem 1.4rem;
    margin: 4rem 0 3rem;
  }

  .support-band p {
    font-size: 2.4rem;
    letter-spacing: 0.05em;
  }
}

/* ===== SP調整 ===== */
@media (max-width: 768px) {
  .team-box {
    padding-top: 4rem;
    padding-bottom: 8rem;
  }

  .team-box .head {
    margin-bottom: 3.5rem;
  }

  .team-box .head h2 {
    font-size: 5rem;
    line-height: 1.3;
  }

  .team-box .head h2 small {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
}


.team-box__main {
  padding: 0rem 3rem;
}

.team-box__main--thumbnail {
  margin-bottom: 3rem;
  text-align: center;
}

.team-box__main--thumbnail img {
  width: 100%;
  max-width: 74.5rem;
}

.team-box__main h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 3rem;
  line-height: 6.3rem;
}

.team-box__main--txt {
  margin-bottom: 4rem;
}

.team-box__main--learning {
  padding-top: 6rem;
  position: relative;
}

/* .team-box__main--learning::after {
        content: '';
        width: 37.18519rem;
        height: 157.10743rem;
        background-image: url("../images/team.webp");
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: 0;
        right: -18rem; } */
.team-box__main--learning .labels {
  text-align: center;
  line-height: 6rem;
  border-radius: 6rem;
  background: #003364;
  margin-bottom: 2rem;
  font-size: 3.5rem;
  color: #FFFFFF;
  font-weight: 600;
  font-family: var(--font-family-title);
}

.team-box__main--learning p {
  margin-bottom: 3rem;
}

.team-box__main--learning ul {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.team-box__main--learning ul li {
  padding: 0 1.5rem;
  background: #e9e0c7;
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
  grid-template-columns: auto 1fr;
  line-height: 6rem;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--font-family-title);
}

.team-box__main--learning ul li::before {
  content: '';
  width: 3.83529rem;
  height: 1.96535rem;
  background-image: url("../images/icon-check.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.support-band {
  background: #9b1c2a;
  /* ワインレッド */
  text-align: center;
  padding: 2rem 1.6rem;
  /* 上下ややタイト */
  margin: 6rem 0 4rem;
}

.support-band p {
  margin: 0;
  color: #ffffff;

  /* フォントは root 変数を使用 */
  font-family: var(--font-family-title);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;

  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

/* チェックマーク */
.support-band p::before {
  content: "✓";
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

/* ===== SP調整 ===== */
@media (max-width: 768px) {
  .support-band {
    padding: 1.6rem 1.2rem;
    margin: 4rem 0 3rem;
  }

  .support-band p {
    font-size: 3rem;
    letter-spacing: 0.05em;
    gap: 0.8rem;
  }

  .support-band p::before {
    font-size: 2.6rem;
  }
}

/* =========================
   team-box：2カラム（PC）/ 1カラム（SP）特徴ブロック
========================= */

.team-box__features {
  max-width: 1100px;
  margin: 4rem auto 7rem;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5rem 5rem;
}

.team-box__feature {
  display: block;
}

.team-box__feature-img {
  margin: 0 0 1.6rem;
}

.team-box__feature-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.6rem;
  /* 角丸が不要なら0に */
}

.team-box__feature-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;
}

.team-box__feature-text {
  font-size: 1.6rem;
  line-height: 1.9;
  margin: 0;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .team-box__features {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
  }

  .team-box__feature-title {
    font-size: 2.2rem;
  }

  .team-box__feature-text {
    font-size: 3rem;
    line-height: 1.9;
  }
}

/* =========================
   connect-box（相談誘導セクション）
========================= */

.connect-box {
  background: #f6fbff;
  /* 薄い水色系（必要なら白でもOK） */
  padding: 8rem 0;
  color: var(--text-color);
}

.connect-box .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* 見出し */
.connect-box .head {
  text-align: center;
  margin-bottom: 4.5rem;
}

.connect-box__kicker {
  display: inline-block;
  font-family: var(--font-family-title);
  color: var(--title-color);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--title-color);
  margin: 0 0 2rem;
}

.connect-box__title {
  font-family: var(--font-family-title);
  font-size: 5.2rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 2.2rem;
  color: #111;
}

.connect-box__title small {
  display: block;
  font-size: 2.4rem;
  color: #111;
  font-weight: 600;
  margin-bottom: 1rem;
}

.connect-box__lead {
  font-family: var(--font-family-text);
  font-size: 1.8rem;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto;
}

/* 本体：吹き出し＋CTA */
.connect-box__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

/* 吹き出し 2x2 */
.connect-box__bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: start;
}

/* 吹き出し */
.cbubble {
  position: relative;
  background: #fff;
  border: 2px solid #9cc8ff;
  border-radius: 999px;
  padding: 2.2rem 2.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

.cbubble p {
  margin: 0;
  font-family: var(--font-family-text);
  font-size: 1.9rem;
  line-height: 1.6;
  font-weight: 600;
  color: #111;
}

/* しっぽ */
.cbubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 20%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #fff;
}

/* 枠線用（少し外側） */
.cbubble::before {
  content: "";
  position: absolute;
  bottom: -16px;
  left: calc(20% - 1px);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 16px solid #9cc8ff;
}

/* CTAカード */
.connect-box__cta {
  background: #fff;
  border-radius: 2.2rem;
  padding: 3.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .06);
}

.connect-box__ctaTitle {
  font-family: var(--font-family-title);
  font-size: 3rem;
  line-height: 1.4;
  margin: 0 0 1.4rem;
  color: #111;
}

.connect-box__ctaText {
  font-family: var(--font-family-text);
  font-size: 1.8rem;
  line-height: 1.9;
  margin: 0 0 2.4rem;
}

.connect-box__ctaBtns {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 1.4rem 2.2rem;
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  min-width: 260px;
  transition: transform .15s ease, opacity .15s ease;
}

.cbtn:hover {
  transform: translateY(-2px);
  opacity: .95;
}

.cbtn--primary {
  color: #fff;
  background: var(--title-color);
  /* #992032 */
}

.cbtn--ghost {
  color: var(--title-color);
  background: #fff;
  border: 2px solid var(--title-color);
}

.connect-box__note {
  margin: 1.8rem 0 0;
  font-family: var(--font-family-text);
  font-size: 1.4rem;
  color: #666;
}

#connect .connect-box__ctaBtns {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 3.2rem;
  flex-wrap: wrap;
}

/* ボタン共通 */
#connect .connect-box__ctaBtns a.cbtn {
  font-family: var(--font-family-title);
  font-size: 2.0rem;
  padding: 1.9rem 4.2rem;
  /* 縦横を増やす */
  min-width: 34rem;
  /* 横幅を増やす */
  border-radius: 999px;
  line-height: 1;
}

/* スマホ：縦積み + さらに押しやすく */
@media (max-width: 768px) {
  #connect .connect-box__ctaBtns {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  #connect .connect-box__ctaBtns a.cbtn {
    width: 100%;
    max-width: 70rem;
    min-width: 0;
    font-size: 3rem;
    padding: 4.0rem 3rem;
  }
}

/* SP */
@media (max-width: 768px) {
  .connect-box {
    padding: 6rem 0;
  }

  .connect-box .head {
    text-align: left;
    /* ← スマホは左寄せ */
    margin-bottom: 3rem;
  }

  .connect-box__kicker {
    font-size: 3rem;
    margin-bottom: 1.6rem;
  }

  .connect-box__title {
    font-size: 5rem;
  }

  .connect-box__title small {
    font-size: 3.0rem;
    margin-bottom: .7rem;
  }

  .connect-box__lead {
    font-size: 3rem;
    margin: 0;
  }

  .connect-box__bubbles {
    grid-template-columns: 1fr;
    /* 1カラム */
    gap: 1.6rem;
  }

  .cbubble {
    border-radius: 2.2rem;
    /* SPは読みやすく角丸BOXに */
    padding: 2rem 2rem;
  }

  .cbubble p {
    font-size: 3rem;
  }

  .cbubble::after {
    left: 12%;
  }

  .connect-box__cta {
    padding: 2.4rem;
  }

  .connect-box__ctaTitle {
    font-size: 3rem;
  }

  .connect-box__ctaText {
    font-size: 2.5rem;
  }

  .connect-box__ctaBtns {
    flex-direction: column;
  }

  .cbtn {
    width: 100%;
    min-width: auto;
    font-size: 1.8rem;
    padding: 1.5rem 2rem;
  }
}


.connect-box {
  padding: 6rem 0;
  background: #e6e6e6;
}

.connect-box .head {
  margin-bottom: 6rem;
  text-align: center;
}

.connect-box .head img {
  width: 100%;
  max-width: 87.6rem;
}

.connect-box__main {
  text-align: center;
}

.connect-box__main img {
  width: 100%;
  max-width: 89.1rem;
}

.total-box {
  background: #992032;
  margin-top: -1rem;
  padding: 6rem 0 19.5rem;
}

.total-box .head {
  text-align: center;
  margin-bottom: 1rem;
}

.total-box .head h2 {
  margin-bottom: 3rem;
  font-size: 5rem;
  line-height: 7.5rem;
  font-weight: 600;
  color: #FFFFFF;
}

.total-box .head h2 small {
  font-size: 2.8rem;
  line-height: 1;
}

.total-box .head p {
  margin-bottom: 0;
  text-align: right;
  font-family: var(--font-family-title);
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1rem;
}

.total-box__main {
  background-image: url("../images/bg-1.webp");
  background-position: 0 0;
  background-repeat: repeat;
  padding-bottom: 6rem;
}

.total-box__main--thumbnail {
  margin-bottom: 6rem;
}

.total-box__main--post {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 6rem;
  grid-template-columns: 39.6rem 1fr;
  padding: 0 6rem;
  margin-bottom: 6rem;
}

.total-box__main--post h3 {
  margin-bottom: 3rem;
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.4;
}

.total-box__main--post h3 small {
  color: var(--loud-color);
  font-size: 2.3rem;
  line-height: 1;
}

.total-box__main--post ul {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2.5rem;
}

.total-box__main--post ul li {
  position: relative;
  padding-left: 4.5rem;
  font-size: 2.6rem;
  line-height: 1.5;
  font-weight: 600;
  font-family: var(--font-family-title);
}

.total-box__main--post ul li span {
  border-bottom: 0.4rem solid var(--loud-color);
}

.total-box__main--post ul li::before {
  content: '';
  width: 3.17211rem;
  height: 2.5rem;
  background-image: url("../images/icon-check-2.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 1rem;
  left: 0;
}

.total-box__main--medical {
  padding: 0 6rem;
}

.total-box__main--medical .title {
  text-align: center;
  margin-bottom: 9rem;
  padding-bottom: 4rem;
  border-bottom: 2px solid #003364;
  font-size: 6.6rem;
  line-height: 8.6rem;
  font-weight: 600;
}

.total-box__main--medical .list-post__items {
  margin-bottom: 8rem;
}

.total-box__main--medical .list-post__items--head {
  margin-bottom: 6rem;
  text-align: center;
}

.total-box__main--medical .list-post__items--head h2 {
  display: inline-block;
  font-size: 5.7rem;
  font-weight: 600;
  padding: 1.5rem 4.5rem;
  background-image: url("../images/title-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.total-box__main--medical .list-post__items--grid {
  margin-bottom: 7rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 6rem;
  grid-template-columns: 38.4rem 1fr;
}

.total-box__main--medical .list-post__items--grid .txt h3 {
  font-size: 3.5rem;
  line-height: 5rem;
  font-weight: 600;
}

.total-box__main--medical .list-post__items--grid .txt p {
  margin-bottom: 2rem;
}

.total-box__main--medical .list-post__items--grid .txt time {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  background: #e9e0c7;
  padding: 1rem;
  line-height: 3rem;
}

.total-box__main--medical .list-post__items--grid .txt time span {
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--text-color);
}

.total-box__main--medical .list-post__items--post {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.total-box__main--medical .list-post__items--post figure {
  margin-bottom: 1.5rem;
}

.total-box__main--medical .list-post__items--post h3 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 3rem;
  border-left: 0.5rem solid var(--loud-color);
}

.total-box__main--medical .list-post__items--grid-2 {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2rem;
  grid-template-columns: 1fr 38.4rem;
  margin-bottom: 6rem;
}

.total-box__main--medical .list-post__items--grid-2 .txt h3 {
  font-size: 3.5rem;
  line-height: 5rem;
  font-weight: 600;
}

.total-box__main--medical .list-post__items--grid-2 .txt p {
  margin-bottom: 0;
}

.total-box__main--medical .list-post__items--grid-2 .txt p strong {
  font-weight: 900;
  color: #003364;
}

.total-box__main--medical .list-post__items--des {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto 8rem;
  padding: 1rem 6rem 1rem 2rem;
  font-size: 2.1rem;
  line-height: 3.3rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: var(--font-family-title);
  background: var(--loud-color);
  position: relative;
}

.total-box__main--medical .list-post__items--des::after {
  content: '';
  width: 12.5rem;
  height: 13.5rem;
  background-image: url("../images/icon-medical.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  bottom: 0;
  right: -.5rem;
}

.total-box__main--medical .list-post__items--note {
  background: #FFFFFF;
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2.5rem;
  grid-template-columns: 15.5rem 1fr;
}

.total-box__main--medical .list-post__items--note h3 {
  font-size: 3.5rem;
  line-height: 5rem;
  font-weight: 600;
}

.total-box__main--medical .list-post__items--note p {
  margin-bottom: 0;
}

.explanation-box {
  padding: 10rem 0;
  background-image: url(../images/bg-2.webp);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.explanation-box .head {
  text-align: center;
  margin-bottom: 6rem;
}

.explanation-box .head h2 {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 1rem 2rem;
  font-size: 5rem;
  font-weight: 600;
  /* background-image: url("../images/title-bg.webp"); */
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.explanation-box__main--faq {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto 15rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 5rem;
}

.explanation-box__main--faq .items {
  background: #e6e6e6;
}

.explanation-box__main--faq .items__title {
  background: #992032;
  padding: 1rem 1.5rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
}

.explanation-box__main--faq .items__title--labels {
  background: #003364;
  border-radius: .8rem;
  text-align: center;
  font-size: 2.1rem;
  line-height: 2.5rem;
  color: #FFFFFF;
  font-weight: 600;
  font-family: var(--font-family-title);
  padding: 1rem;
}

.explanation-box__main--faq .items__title h3 {
  text-align: center;
  font-size: 3.5rem;
  color: #FFFFFF;
  font-weight: 600;
}

.explanation-box__main--faq .items__title::after {
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  background-image: url("../images/icon-arows.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.explanation-box__main--faq .items__title.is_active::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.explanation-box__main--faq .items__main {
  padding: 2.5rem;
  display: none;
}

.explanation-box__main--faq .items__main--list {
  margin-bottom: 3rem;
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2rem;
  grid-template-columns: auto 1fr;
}

.explanation-box__main--faq .items__main--list .labels {
  width: 13.5rem;
  line-height: 6.5rem;
  background: #003364;
  text-align: center;
  font-size: 2.1rem;
  color: #FFFFFF;
  font-weight: 600;
  font-family: var(--font-family-title);
}

.explanation-box__main--faq .items__main--list .info h3 {
  font-size: 2.1rem;
  line-height: 3rem;
  font-weight: 600;
  color: #000;
}

.explanation-box__main--faq .items__main--list .info p {
  margin-bottom: 0;
}

.explanation-box__main--faq .items__main--list:last-child {
  margin-bottom: 0;
}

.explanation-box__main--faq .items__main--post {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2rem;
  grid-template-columns: 24rem 1fr;
  margin-bottom: 3rem;
}

.explanation-box__main--faq .items__main--post:last-child {
  margin-bottom: 0;
}

.explanation-box__course {
  background: rgba(255, 255, 231, 0.801);
}

.explanation-box__course--items {
  padding: 3rem 4rem;
}

.explanation-box__course--items .title {
  margin-bottom: 5rem;
  text-align: center;
  line-height: 6rem;
  background: var(--loud-color);
  font-size: 2.9rem;
  color: #FFFFFF;
  font-weight: 600;
  position: relative;
  z-index: 9;
}

.explanation-box__course--items .step {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}

.explanation-box__course--items .step::after {
  content: '';
  width: .5rem;
  height: 100%;
  background: var(--loud-color);
  position: absolute;
  top: -10rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.explanation-box__course--items .step__items {
  position: relative;
  z-index: 9;
}

.explanation-box__course--items .step__items--labels {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 4rem 0 2rem;
  font-size: 2.6rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: var(--font-family-title);
  line-height: 5.5rem;
  background: #003364;
  margin-bottom: 2rem;
  position: relative;
}

.explanation-box__course--items .step__items--labels::after {
  content: '';
  width: 5.6rem;
  height: 5.6rem;
  background-image: url("../images/time-1.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  right: -2.8rem;
}

.explanation-box__course--items .step__items figure {
  padding-right: 11rem;
  margin-bottom: 1rem;
}

.explanation-box__course--items .step__items p {
  margin-bottom: 0;
  padding-right: 11rem;
}

.explanation-box__course--items .step__items:nth-child(even) {
  padding-top: 7rem;
}

.explanation-box__course--items .step__items:nth-child(even) .step__items--labels {
  padding: 0 2rem 0 4rem;
}

.explanation-box__course--items .step__items:nth-child(even) .step__items--labels::after {
  right: 0;
  left: -2.8rem;
}

.explanation-box__course--items .step__items:nth-child(even) figure {
  padding-right: 0;
  padding-left: 11rem;
}

.explanation-box__course--items .step__items:nth-child(even) p {
  padding-right: 0;
  padding-left: 11rem;
}

.explanation-box__course--items .step__items:nth-child(3) {
  margin-top: -15rem;
}

.explanation-box__course--items .step__items:nth-child(4) {
  margin-top: -5rem;
}

.explanation-box__course--items .step__items:nth-child(5) {
  margin-top: -18rem;
}

.explanation-box__course--items .step__items:nth-child(6) {
  margin-top: -5rem;
}

.explanation-box__course--items .step__items:nth-child(7) {
  margin-top: -18rem;
}

.explanation-box__course--items .step__items:nth-child(8) {
  margin-top: -5rem;
}

.explanation-box__course--items .step__items:nth-child(9) {
  margin-top: -22rem;
}

.explanation-box__course--items .step__items:nth-child(10) {
  margin-top: -5rem;
}

.explanation-box__course--items .step__items:nth-child(11) {
  margin-top: -14rem;
}

.explanation-box__course p {
  margin: 2.4rem 0;
  /* 上下に余白 */
  padding: 3rem 3.7rem;
  /* 左右に余白 */
}

/* ===== コース画像：スクロール案内（直角・余白あり） ===== */
@media (max-width: 768px) {

  /* 既存pスタイルの影響を完全に切る */
  .explanation-box__course p.course-scroll-hint {
    margin: 0 !important;
    padding: 0 !important;
  }

  .course-scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: var(--font-family-title);
    font-size: 3rem;
    /* 指定どおり3rem以上 */
    line-height: 1.2;

    /* ↓ 四角の外側 */
    margin: 0 0 1.6rem !important;

    /* ↓ 四角の内側（ここが今回のポイント） */
    padding: 1.2rem 2.4rem !important;

    background: rgba(255, 255, 255, 0.445);
    color: #333;

    border-radius: 0;
    /* ← 角は直角 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

    letter-spacing: .05em;
  }

  /* 横スライドを直感的に */
  .course-scroll-hint::after {
    content: " →";
    margin-left: .6rem;
  }

  /* 念のため画像側の余白も潰す */
  figure.course {
    margin: 0 !important;
  }
}

.course-scroll-hint {
  animation: scrollHintPulse 2.2s ease-in-out infinite;
}

@keyframes scrollHintPulse {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(6px);
  }
}

.pickup-box {
  background: var(--loud-color);
  padding: 6rem 0 10rem;
}

.pickup-box .head {
  text-align: center;
  margin-bottom: 4rem;
}

.pickup-box .head h2 {
  font-size: 6.6rem;
  line-height: 7.4rem;
  font-weight: 600;
  color: #FFFFFF;
}

.pickup-box .head h2 small {
  font-size: 4rem;
}

.pickup-box__main {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 2rem;
}

.clinic-box {
  padding: 13rem 0;
}

.clinic-box__main {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 9rem;
  grid-template-columns: 1fr 44.9rem;
}

.clinic-box__main--head {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 1.5rem;
}

.clinic-box__main--head picture {
  width: 49.5rem;
}

.clinic-box__main--head h2 {
  font-size: 3rem;
  line-height: 4.2rem;
  font-weight: 600;
}

.clinic-box__main--txt {
  margin-bottom: 2.5rem;
}

.clinic-box__main--txt p {
  margin-bottom: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.clinic-box__main--txt p code {
  line-height: 1.4;
}

.school-box {
  padding: 8rem 0 13rem;
  background: #e9e0c7;
}

.school-box .container {
  max-width: 157.4rem;
}

.school-box .head {
  text-align: center;
  margin-bottom: 5rem;
}

.school-box .head h2 {
  font-size: 6.6rem;
  font-weight: 600;
}

.school-box__main {
  margin-bottom: 10rem;
}

.school-box__btn {
  text-align: center;
  padding-top: 8rem;
}

.school-box .cta-box__main--btn {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
}

.contact-box {
  background: #003364;
  padding: 0 0 25rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.contact-box .container {
  margin-top: 0rem;
}

.contact-box .head {
  text-align: center;
  margin-bottom: 10rem;
}

.contact-box .head picture {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  max-width: 105.1rem;
  margin-bottom: 0rem;
}

.contact-box .head p {
  margin-bottom: 0;
  color: #FFFFFF;
}

.contact-box__main {
  background: #FFFFFF;
  border-radius: 6rem;
  padding: 7rem 8rem;
}

.contact-form {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 3rem;
}

.contact-form .form-group {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 2.5rem;
}

.contact-form .form-group .labels {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--font-family-title);
  line-height: 1;
}

.contact-form .form-group .input {
  font-size: 2.2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
}

.contact-form .form-group .input select,
.contact-form .form-group .input textarea,
.contact-form .form-group .input input[type='text'],
.contact-form .form-group .input input[type='email'] {
  width: 100%;
  max-width: 40rem;
  height: 6rem;
  border-radius: 1rem;
  background: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 2.2rem;
  padding: 0 2rem;
  border: 1px solid #333333;
}

.contact-form .form-group .input select:focus,
.contact-form .form-group .input textarea:focus,
.contact-form .form-group .input input[type='text']:focus,
.contact-form .form-group .input input[type='email']:focus {
  outline: none;
  outline: 0;
}

.contact-form .form-group .input select::-webkit-input-placeholder,
.contact-form .form-group .input textarea::-webkit-input-placeholder,
.contact-form .form-group .input input[type='text']::-webkit-input-placeholder,
.contact-form .form-group .input input[type='email']::-webkit-input-placeholder {
  color: #b3b3b3;
}

.contact-form .form-group .input select::-moz-placeholder,
.contact-form .form-group .input textarea::-moz-placeholder,
.contact-form .form-group .input input[type='text']::-moz-placeholder,
.contact-form .form-group .input input[type='email']::-moz-placeholder {
  color: #b3b3b3;
}

.contact-form .form-group .input select:-ms-input-placeholder,
.contact-form .form-group .input textarea:-ms-input-placeholder,
.contact-form .form-group .input input[type='text']:-ms-input-placeholder,
.contact-form .form-group .input input[type='email']:-ms-input-placeholder {
  color: #b3b3b3;
}

.contact-form .form-group .input select::-ms-input-placeholder,
.contact-form .form-group .input textarea::-ms-input-placeholder,
.contact-form .form-group .input input[type='text']::-ms-input-placeholder,
.contact-form .form-group .input input[type='email']::-ms-input-placeholder {
  color: #b3b3b3;
}

.contact-form .form-group .input select::placeholder,
.contact-form .form-group .input textarea::placeholder,
.contact-form .form-group .input input[type='text']::placeholder,
.contact-form .form-group .input input[type='email']::placeholder {
  color: #b3b3b3;
}

.contact-form .form-group .input input[name='your-address'],
.contact-form .form-group .input input[name='your-building'],
.contact-form .form-group .input input[type='email'] {
  max-width: 100%;
}

.contact-form .form-group .input textarea {
  max-width: 100%;
  min-height: 27rem;
}

.contact-form .form-group .input .zip-code {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: #cccccc;
  padding: 0 1rem;
  font-size: 2.5rem;
  color: var(--text-color);
  line-height: 4rem;
  pointer-events: none;
  cursor: none;
  opacity: 0.3;
}

.contact-form .form-group .input .zip-code.is_active {
  opacity: 1;
  cursor: pointer;
  pointer-events: all;
}

.contact-form .form-group.required .labels::after {
  content: '必須';
  width: 7rem;
  height: 2.8rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: var(--font-family-title);
  background: #ff8b9a;
}

.contact-form .more-box {
  padding-top: 10rem;
  text-align: center;
}

.contact-form .more-box .more {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  max-width: 42rem;
  line-height: 8rem;
  background: #003364;
  border-radius: .8rem;
  text-align: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 3rem;
  color: #FFFFFF;
  font-weight: 600;
  font-family: var(--font-family-title);
  -webkit-box-shadow: 0 5px 0 #0071bc;
  box-shadow: 0 5px 0 #0071bc;
}

.contact-form .more-box .more:hover {
  opacity: 0.7;
}

.floating-box {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  display: none;
  background: #FFFFFF;
  padding: 2rem;
}

.floating-box h3 {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

.floating-box__main {
  display: grid;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.thanks-box {
  background-image: url("../images/cta-bg.webp");
  background-position: 0 0;
  background-repeat: repeat;
  padding: 12rem 0 30rem;
  text-align: center;
  min-height: calc(100vh - 15rem);
}

.thanks-box h2 {
  font-size: 5rem;
  line-height: 6.5rem;
  margin-bottom: 5rem;
  font-weight: 600;
}

.thanks-box__main p {
  margin-bottom: 5rem;
}

.thanks-box__main--btn {
  text-align: center;
}

.thanks-box__main--btn a {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  max-width: 33.2rem;
}

.banner-page {
  background: #d0e0fb;
  padding: 5rem 0;
}

.banner-page__main {
  padding: 0 10rem;
}

.banner-page__main h1 {
  line-height: 1;
  font-size: 6rem;
  font-weight: 600;
  color: var(--text-color);
}

.breadcrumb-box {
  padding: 3rem 0;
  background-image: url("../images/cta-bg.webp");
  background-position: 0 0;
  background-repeat: repeat;
}

.breadcrumb-box__main {
  padding: 0 10rem;
}

.breadcrumb-box__main ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-self: start;
}

.breadcrumb-box__main ul li {
  line-height: 3.2rem;
  font-size: 2rem;
}

.breadcrumb-box__main ul li a {
  color: var(--text-color);
}

.breadcrumb-box__main ul li+li::before {
  padding: 0 1.2rem;
  content: ">";
  color: var(--text-color) !important;
}

.many-page {
  background-image: url("../images/cta-bg.webp");
  background-position: 0 0;
  background-repeat: repeat;
}

.many-page .many-box__main {
  margin-bottom: 5rem;
}

.many-page .hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

.many-page .load-btn.is_active {
  display: none !important;
}

.floating-pc {
  background: #FFFFFF;
  padding: 2rem;
  position: fixed;
  width: 100%;
  z-index: 999;
  bottom: 0;
  left: 0;
}

.floating-pc__main {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5.5rem;
  grid-template-columns: auto 41.8rem;
}

.floating-pc__main .cta-box__main--btn {
  grid-template-columns: 34rem 34rem;
  gap: 2.5rem;
}

/* .floating-pc__main .cta-box__main--btn a:first-child::after {
        width: 9.59968rem;
        height: 10.53455rem;
        left: -4rem; }
      .floating-pc__main .cta-box__main--btn a:last-child::after {
        width: 7.92015rem;
        height: 9.21755rem;
        left: -1rem;
        bottom: 0.5rem; } */
/* =========================
   CTA（Polaris風：左説明＋右画像ボタン2つ）
========================= */

.cta-line {
  background: linear-gradient(90deg, #c7b299, #c69c6d);
  padding: 5rem 0;
}

.cta-line .container {
  max-width: 1100px;
  padding: 0 1.8rem;
}

.cta-line__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

/* 左 */
.cta-line__left {
  color: #fff;
}

.cta-line__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-family: var(--font-family-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.cta-line__kicker {
  font-size: 1.6rem;
  opacity: .95;
  margin-bottom: 1.2rem;
}

.cta-line__title {
  font-family: var(--font-family-title);
  font-size: 6rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 2rem;
}

.cta-line__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.cta-line__points li {
  position: relative;
  padding-left: 2.8rem;
  font-size: 1.6rem;
  line-height: 1.7;
}

.cta-line__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* 右：カード */
.cta-line__right {
  border-radius: 1.8rem;
  padding: 2.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.cta-line__btn {
  display: block;
  border-radius: 1.4rem;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.cta-line__btn+.cta-line__btn {
  margin-top: 1.6rem;
  /* ←縦並びの間隔 */
}

.cta-line__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.cta-line__btn img {
  width: 550px;
  height: auto;
  display: block;
}

.cta-line__note {
  margin-top: 1.4rem;
  font-size: 1.3rem;
  color: #333;
  text-align: center;
  opacity: .85;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .cta-line {
    padding: 4rem 0;
  }

  .cta-line__inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .cta-line__title {
    font-size: 3.2rem;
  }

  .cta-line__right {
    padding: 1.6rem;
  }

  .cta-line__btn+.cta-line__btn {
    margin-top: 1.2rem;
  }
}

.footer {
  background: #003364;
  padding: 1rem 0 13rem;
}

.footer__main {
  text-align: center;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.footer.no-bg {
  background: transparent;
  margin-top: -5rem;
}

.footer.no-bg .footer__main {
  color: var(--text-color);
}

@media (max-width: 768px) {
  .footer {
    padding: 1rem 0 19rem;
  }

  .footer.no-bg {
    margin-top: 0;
  }
}

@media (max-width: 768px) {

  /* レイアウトはそのまま1カラム */
  .cta-line__inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    text-align: center;
    /* ← 全体を中央寄せ */
  }

  /* 左テキストブロック */
  .cta-line__left {
    text-align: center;
  }

  .cta-line__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-line__kicker {
    font-size: 3rem;
    /* ← 最低3rem */
    margin-bottom: 1.6rem;
  }

  .cta-line__title {
    font-size: 6rem;
    /* ← 見出しは少し大きめ */
    line-height: 1.25;
    margin-bottom: 2.2rem;
  }

  /* チェックリストも中央寄せ */
  .cta-line__points {
    justify-items: center;
  }

  .cta-line__points li {
    font-size: 3rem;
    /* ← 本文も3rem以上 */
    padding-left: 0;
    text-align: center;
  }

  .cta-line__points li::before {
    position: static;
    margin-bottom: .6rem;
    display: inline-flex;
  }

  /* 右カード（ボタン側） */
  .cta-line__right {
    padding: 1.8rem;
  }

  .cta-line__btn {

    margin-left: auto;
    margin-right: auto;
  }

  .cta-line__btn+.cta-line__btn {
    margin-top: 1.4rem;
  }

  .cta-line__note {
    font-size: 2.6rem;
    /* 注釈も読みやすく */
  }
}

/* layout - Responsive .
========================================================================== */
.sp {
  display: none;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  html {
    font-size: 9px;
  }
}

@media screen and (max-width: 1050px) and (min-width: 769px) {
  html {
    font-size: 8px;
  }
}

@media screen and (max-width: 991px) and (min-width: 769px) {
  html {
    font-size: 7px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 1.333333vw;
  }

  body {
    font-size: 2.6rem;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .container {
    padding: 0 2rem;
  }

  .cta-box {
    padding: 6.5rem 0 8rem;
  }

  .cta-box__main {
    overflow: hidden;
  }

  .cta-box__main--list {
    margin-bottom: 11.5rem;
    display: block;
    padding: 0;
  }

  .cta-box__main--list .slick-list {
    padding-bottom: 2rem;
    overflow: visible;
  }

  .cta-box__main--list .slick-list .items {
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .cta-box__main--list .slick-list .items picture {
    display: block;
    height: 22.5rem;
    width: 100%;
  }

  .cta-box__main--list .slick-list .items picture img {
    width: auto;
    height: 100%;
  }

  .cta-box__main--btn {
    grid-template-columns: 1fr;
    padding: 0 3rem;
  }

  .many-box {
    padding: 8rem 0 6rem;
  }

  .many-box .container {
    padding: 0 5rem;
  }

  .many-box__head {
    padding: 3rem 2rem 4.5rem;
  }

  .many-box__head .head h2 {
    display: block;
    padding: 0 5.5rem;
    font-size: 3.6rem;
  }

  .many-box__head .head h2 small {
    font-size: 2.3rem;
  }

  .many-box__main--list {
    grid-template-columns: repeat(1, 1fr);
  }

  .many-box__main--list .items h3 {
    font-size: 3rem;
    line-height: 5.5rem;
    background: var(--loud-color);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0 2rem;
  }

  .many-box__main--list .items__name .txt h4 {
    font-size: 3.6rem;
  }

  .many-box__main--list .items__name .txt p {
    font-size: 2rem;
  }

  .possible-box .head {
    width: 100%;
    height: 16.48966rem;
  }

  .possible-box .head h2 {
    font-size: 5rem;
  }

  .possible-box__main {
    padding: 0 2rem;
  }

  .possible-box__main ul li {
    min-width: auto;
    gap: 1.5rem;
  }

  .choosing-box .head h2 {
    font-size: 5rem;
  }

  .choosing-box__main {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 6rem;
  }

  .choosing-box__medical h3 span {
    display: block;
    font-size: 3.5rem;
    padding: 0;
  }

  .price-box {
    padding: 0rem 0 10rem;
    background-size: 250% auto;
    position: relative;
  }

  /* .price-box::after {
      content: '';
      width: 100vw;
      height: 50%;
      position: absolute;
      bottom: 0;
      left: 50%;
      -webkit-transform: translateX(-50%);
          -ms-transform: translateX(-50%);
              transform: translateX(-50%);
      background-color: #e6e6e6; } */
  .price-box .head h2 {
    font-size: 7rem;
  }

  .medical-box {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 99.5%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 99.5%);
  }

  .medical-box .head {
    text-align: center;
    margin-bottom: 5rem;
  }

  .medical-box .head h2 {
    font-size: 6rem;
  }

  .medical-box .head h2 small {
    font-size: 4rem;
  }

  .medical-box__main {
    max-width: calc(100% - 6rem);
  }

  .medical-box__main main {
    padding: 0 3rem 10rem;
  }

  .medical-box__main--post {
    grid-template-columns: 1fr;
  }

  .medical-box__main--post figure {
    text-align: center;
  }

  .medical-box__main--post figure img {
    width: 44.5rem;
  }

  .medical-box__main--post .text h3 {
    font-size: 5rem;
    text-align: center;
  }

  .medical-box__main--post .text h3 small {
    font-size: 3rem;
  }

  .medical-box__main--post .text p {
    font-size: 3rem;
  }

  .medical-box__main--post-2 {
    grid-template-columns: 1fr;
  }

  .medical-box__main--post-2 figure {
    text-align: center;
  }

  .medical-box__main--post-2 .text p {
    font-size: 3rem;
  }

  .medical-box__main--txt {
    margin-bottom: 12rem;
  }

  .medical-box__main--txt h3 {
    font-size: 4.8rem;
    text-align: center;
  }

  .medical-box__main--txt picture {
    margin-bottom: 1rem;
  }

  .medical-box__main--txt ul {
    display: none;
  }

  .medical-box__main--des {
    padding: 4.5rem 2rem;
    font-size: 3rem;
    line-height: 5.5rem;
  }

  .medical-box__main--des::after {
    bottom: auto;
    top: 0;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, -70%);
    -ms-transform: translate(-50%, -70%);
    transform: translate(-50%, -70%);
  }

  .medical-box__main--postthumb h2 {
    font-size: 4.8rem;
    line-height: 7.4rem;
  }

  .medical-box__main--postthumb .list__items {
    grid-template-columns: 1fr;
  }

  .medical-box__main--postthumb .list__items figure {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    padding: 0 3rem;
  }

  .medical-box__main--postthumb .list__items figure img {
    width: 100%;
  }

  .medical-box__main--postthumb .list__items--text {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
  }

  .medical-box__main--postthumb .des {
    text-align: left;
  }

  .medical-box__main--member {
    grid-template-columns: repeat(1, 1fr);
  }

  .medical-box__main--member .items .txt h3 {
    grid-template-columns: auto 1fr;
    margin-bottom: 2rem;
    font-size: 5rem;
  }

  .medical-box__main--member .items .txt h3 span {
    padding: 0 2rem;
    line-height: 4rem;
    font-size: 3rem;
  }

  .medical-box__main--detailed .head h2 {
    font-size: 3.5rem;
    line-height: 5.4rem;
    width: 100%;
    max-width: none;
  }

  .medical-box__main--detailed .list {
    grid-template-columns: repeat(1, 1fr);
  }

  .medical-box__main--detailed .list__items {
    padding: 2rem;
  }

  .medical-box__main--detailed .list__items h3 {
    font-size: 7.5rem;
  }

  .medical-box__main--detailed .list__items h3 small {
    font-size: 4.5rem;
  }

  .medical-box__main--system h2 {
    font-size: 5rem;
  }

  .medical-box__main--system .thumbnail img {
    width: 100%;
    max-width: 42.2rem;
  }

  .medical-box__main--system .des {
    font-size: 3rem;
    text-align: left;
  }

  .medical-box__main--system .list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 9rem;
  }

  .medical-box__main--system .list__items {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 0%;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    width: 100%;
  }

  .medical-box__main--system .list__items::after {
    width: 14.2rem;
    height: 14.2rem;
  }

  .medical-box__main--system .list__items h3 {
    font-size: 4.5rem;
  }

  .medical-box__main--system .list__items p {
    font-size: 2.5rem;
  }

  .medical-box__main--system .list__items--grid {
    grid-template-columns: 1fr;
  }

  .medical-box__main--system .list__items--grid figure {
    text-align: center;
  }

  .medical-box__main--system .list__items--grid .txt {
    font-size: 2.5rem;
  }

  .medical-box__main--system .list__items:nth-child(2)::after {
    background-image: url("../images/system-num-2.webp");
  }

  .medical-box__main--system .list__items:last-child {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 0%;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    width: 100%;
  }

  .medical-box__main--system .list__items:last-child::after {
    background-image: url("../images/system-num-3.webp");
  }

  .team-box {
    margin-top: -1rem;
    padding-top: 20rem;
  }

  .team-box .container {
    max-width: calc(100% - 10rem);
  }

  .team-box__main {
    padding: 4.5rem 3rem;
  }

  .team-box__main h3 {
    font-size: 5rem;
  }

  .team-box__main--txt {
    font-size: 3rem;
  }

  .team-box__main--learning {
    padding-right: 0;
  }

  .team-box__main--learning::after {
    opacity: .2;
    right: 0;
  }

  .team-box__main--learning p {
    font-size: 3rem;
  }

  .team-box__main--learning ul li {
    font-size: 2.8rem;
  }

  .team-box__main--support {
    padding: 3rem 2rem;
  }

  .team-box__main--support .list {
    gap: 2rem;
  }

  .team-box__main--support .list__items h3 {
    font-size: 2.4rem;
  }

  .connect-box {
    padding: 0 0 12rem;
  }

  .total-box .head h2 {
    margin-bottom: 3rem;
    font-size: 5rem;
    line-height: 7.5rem;
    font-weight: 600;
    color: #FFFFFF;
  }

  .total-box .head h2 small {
    font-size: 2.8rem;
    line-height: 1.5;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-bottom: 1rem;
  }

  .total-box__main--post {
    grid-template-columns: 1fr;
    padding: 0 4rem;
  }

  .total-box__main--post h3 {
    text-align: center;
  }

  .total-box__main--medical {
    padding: 0 6rem;
  }

  .total-box__main--medical .title {
    font-size: 5rem;
  }

  .total-box__main--medical .list-post__items--head h2 {
    font-size: 5rem;
    padding: 2rem;
  }

  .total-box__main--medical .list-post__items--grid {
    grid-template-columns: 1fr;
  }

  .total-box__main--medical .list-post__items--grid .txt h3 {
    font-size: 4rem;
  }

  .total-box__main--medical .list-post__items--grid .txt p {
    font-size: 3rem;
  }

  .total-box__main--medical .list-post__items--grid .txt time span {
    width: 22rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  .total-box__main--medical .list-post__items--post {
    grid-template-columns: repeat(2, 1fr);
  }

  .total-box__main--medical .list-post__items--post h3 {
    margin-bottom: 3rem;
  }

  .total-box__main--medical .list-post__items--grid-2 {
    grid-template-columns: 1fr;
  }

  .total-box__main--medical .list-post__items--grid-2 figure {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }

  .total-box__main--medical .list-post__items--grid-2 .txt {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
  }

  .total-box__main--medical .list-post__items--grid-2 .txt h3 {
    font-size: 4rem;
  }

  .total-box__main--medical .list-post__items--grid-2 .txt p {
    font-size: 3rem;
  }

  .total-box__main--medical .list-post__items--des {
    margin-top: 12rem;
    font-size: 3rem;
    line-height: 5.5rem;
    padding: 4rem 2rem;
  }

  .total-box__main--medical .list-post__items--des::after {
    bottom: auto;
    top: 0;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, -80%);
    -ms-transform: translate(-50%, -80%);
    transform: translate(-50%, -80%);
  }

  .total-box__main--medical .list-post__items--note {
    grid-template-columns: 1fr;
    background: transparent;
  }

  .total-box__main--medical .list-post__items--note h3 {
    display: none;
  }

  .total-box__main--medical .list-post__items--note p {
    font-size: 3rem;
  }

  .explanation-box__main--faq .items__main--list {
    grid-template-columns: 1fr;
  }

  .explanation-box__main--faq .items__main--list .labels {
    width: 100%;
    font-size: 3rem;
  }

  .explanation-box__main--faq .items__main--list .info h3 {
    font-size: 3rem;
  }

  .explanation-box__main--faq .items__main--post {
    grid-template-columns: 1fr;
  }

  .explanation-box__main--faq .items__main--post figure {
    text-align: center;
  }

  .explanation-box__course--items {
    padding: 3rem;
  }

  .explanation-box__course--items .course {
    overflow: auto;
  }

  .explanation-box__course--items .course picture {
    display: block;
    width: 120rem;
  }

  .explanation-box__course--items .step {
    grid-template-columns: repeat(1, 1fr);
  }

  .explanation-box__course--items .step::after {
    height: calc(100% - 5rem);
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .explanation-box__course--items .step__items {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .explanation-box__course--items .step__items--labels {
    padding: 0 4rem 0 6rem !important;
    font-size: 3.5rem;
    line-height: 8.2rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .explanation-box__course--items .step__items--labels::after {
    width: 8.4rem;
    height: 8.4rem;
    right: auto !important;
    left: -4rem !important;
  }

  .explanation-box__course--items .step__items figure {
    padding-right: 0 !important;
    padding-left: 15rem !important;
    margin-bottom: 1rem;
  }

  .explanation-box__course--items .step__items p {
    padding-right: 0 !important;
    padding-left: 15rem !important;
    font-size: 2.2rem;
    margin-bottom: 4rem;
  }

  .pickup-box .head h2 {
    font-size: 5.5rem;
  }

  .pickup-box__main {
    font-size: 3rem;
  }

  .clinic-box__main {
    grid-template-columns: 1fr;
  }

  .clinic-box__main figure {
    display: none;
  }

  .clinic-box__main .info__main {
    display: grid;
    -webkit-box-align: start;
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 5rem;
    grid-template-columns: 1fr 23rem;
  }

  .clinic-box__main .info__main figure {
    display: block;
  }

  .clinic-box__main--head picture {
    width: 100%;
  }

  .clinic-box__main--head h2 {
    font-size: 3.3rem;
  }

  .clinic-box__main--txt p {
    display: block;
  }

  .clinic-box__main--txt p:last-child {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .school-box {
    padding-bottom: 35rem;
  }

  .school-box .head h2 {
    font-size: 5rem;
  }

  .contact-box .container {
    margin-top: -10rem;
  }

  .contact-box .head p {
    font-size: 2.5rem;
    text-align: left;
  }

  .contact-box__main {
    border-radius: 3rem;
    padding: 5rem;
  }

  .contact-form .form-group .labels {
    font-size: 3.5rem;
  }

  .contact-form .form-group .input {
    font-size: 3rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .contact-form .form-group .input select,
  .contact-form .form-group .input textarea,
  .contact-form .form-group .input input[type='text'],
  .contact-form .form-group .input input[type='email'] {
    max-width: 100%;
    height: 8.4rem;
    font-size: 16px;
  }

  .contact-form .form-group .input .zip-code {
    font-size: 3.5rem;
    padding: 0 2rem;
    line-height: 5.6rem;
  }

  .contact-form .form-group.required .labels::after {
    font-size: 3.5rem;
    width: 9.8rem;
    height: 4rem;
  }

  .contact-form .more-box {
    padding-top: 5rem;
  }

  .contact-form .more-box .more {
    max-width: 100%;
    line-height: 11.2rem;
    font-size: 4.2rem;
  }

  .floating-box {
    display: block;
  }

  .thanks-box {
    min-height: auto;
  }

  .thanks-box__main p {
    text-align: left;
  }

  .floating-pc {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .course-scroll-hint {
    display: none !important;
  }
}




/* ipad Portrait */
/* ipad Landscape */