@charset "utf-8";


img {
  max-width: 100%;
  height: auto;
  display: block;

}

/* Reset
html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
img,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #000;
}

/* font */
.heiseimaru {
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.heiseimaru-b {
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.makinas {
  font-family: "makinas-4-square", sans-serif;
  font-weight: 400;
  font-style: normal;
}


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


body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}


.kv-header {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.kv-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.kv-bg {
  width: 90%;
  display: block;
  margin: auto;
  margin-top: 5%;
}

.kv-character {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 74%;
  transform: translateX(-50%);
  z-index: 2;
}

.kv-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.top-copy {
  top: 4%;
  width: 85%;
}

.middle-copy {
  bottom: 28%;
  width: 75%;
}

.bottom-logo {
  bottom: 8%;
  width: 75%;
}

/* 固定メニュー */
.fixed-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #61bff8, #7666e9);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 999;
}

.menu-item {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.menu-icon {
  width: 2.5rem;
  height: auto;
  /* margin-bottom: 4px; */
}

.menu-txt {
  letter-spacing: 0.1rem;
}


section {
  padding: 2rem 1rem;
}

h2,
h3,
h4 {
  text-align: center;
  margin-bottom: 16px;
}

p {
  font-size: 15px;
}

.message h2 {
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  color: #655dc9;
}

.section-image {
  margin: 16px auto;
  /* max-width: 400px; */
}

.goals {
  padding: 32px 16px;
  background: transparent;
  text-align: center;
}

.goals-title {
  max-height: 3rem;
  /* margin: 0 auto 24px; */
  display: block;
}

.goal-card {
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
}

.goal-img {
  width: 85%;
  display: block;
  border-radius: 12px;
}

.goal-text {
  position: absolute;
  bottom: 12px;
  background: #fff;
  /* border-left: 5px solid #6e8cfb; */
  color: #655dc9;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 8px;
  text-align: left;
  line-height: 1.5;
  box-shadow: 5px 5px 0px #ccc5ff;
}

.img-right {
  margin-left: auto;
  margin-right: 0;
}

.text-right {
  right: 1rem;
}


.info-boxes {
  padding: 32px 16px;
}

.info-box {
  background: #fff;
  border: 1px solid #cbe0ff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.info-box h4 {
  margin: 0 0 12px;
  text-align: left;
}

.info-title {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.info-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.courses {}

.course-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.course-wrap {
  background: #fff;
  border: solid 1px #000;
  padding: 1rem;
  border-radius: 1rem;
}

.course-title-img {
  width: auto;
  max-height: 3rem;
  height: auto;
}

.course-chara-img {
  width: auto;
  max-height: 11rem;
  height: auto;
  margin-bottom: -3rem;
  z-index: -1;
}

.course {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.course:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.course-head {
  font-size: 1.1rem;
  font-weight: bold;
  color: #655dc9;
  /* border-left: 4px solid #7f88c6; */
  /* padding-left: 8px; */
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-head-blue {
  color: #655dc9;
  border-left-color: #655dc9;
}

.course img {
  width: 100%;
  border-radius: 8px;
  margin: 8px 0;
}

.course p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.voices {
  /* width: 100%; */
  /* padding: 2rem; */
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-bottom: 24px; */
}

.voice-title-img {
  max-height: 3rem;
  height: auto;
}

.voice-photo {
  /* width: 50%; */
  max-width: 168px;
  border-radius: 8px;
  margin-bottom: -1rem;
}

.voice-box-wrap {
  padding: 0 1.5rem;
}

.voice-box {
  position: relative;
  display: block;
  width: fit-content;
  padding: 12px 16px;
  margin-bottom: 24px;
  background: #fff;
  border: 3px solid #bfc8ff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: #655dc9;
  word-break: break-word;
}


.voice-box.left {
  text-align: left;
  align-self: flex-start;
}

.voice-box.right {
  text-align: left;
  align-self: flex-end;
  margin-left: auto;
}

.voice-box p {
  margin: auto;
  font-weight: bold;
}

.voice-tail {
  position: absolute;
  bottom: -26px;
  width: 24px;
  height: auto;
}

.voice-box.left .voice-tail {
  left: -8px;
}

.voice-box.right .voice-tail {
  right: -12px;
}

.orange {
  color: #f47c00;
  /* font-weight: bold; */
}


.cta {
  background: linear-gradient(to right, #5bb0f5, #7a74d4);
  text-align: center;
  padding: 1.5rem 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

.btn {
  display: inline-block;
  width: 80%;
  max-width: 360px;
  margin: 0 auto 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(45deg, #38beae, #47c67f);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  border: solid #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  letter-spacing: 0.2em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* 2つ目のボタン（説明会予約）用に別色を付与 */
.btn.blue {
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1.8rem;
  color: #665dd5;
  margin-bottom: 0.3rem;
}

.footer-sub {
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-address {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-weight: bold;
}

.footer-icon {
  width: 20px;
  height: 20px;
  fill: #665dd5;
  /* または currentColor で親に合わせる */
  vertical-align: middle;
  margin-right: 6px;
}

.footer-contact a {
  color: #222;
  text-decoration: none;
}

.footer-line {
  width: 60%;
  margin: 2rem auto;
  border: none;
  border-top: 1px solid #665dd5;
}

.footer-access {
  line-height: 1.6;
  font-size: 0.95rem;
}

.access-heading {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.2rem;
}

.access-heading .purple {
  color: #665dd5;
  font-weight: bold;
}

.access-heading .size-big {
  font-size: 1.3rem;
  font-weight: bold;
}

.footer-links {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #555;
}

/* 初期は非表示（スマホ向け） */
.kv-pc {
  display: none;
}

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

  body {
    font-size: 16px;
  }

  section {
    padding: 3rem 4rem;
  }

  .kv-sp {
    display: none;
  }

  .kv-pc {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .kv-pc-image {
    display: block;
    width: 100%;
    height: auto;
  }

/*  .fixed-menu {
    display: none;
  }*/

  .message {
    max-width: 900px;
    margin: auto;
  }

  .message h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .message p {
    font-size: 1.05rem;
    line-height: 2;
    margin: 1.5rem auto;
    max-width: 720px;
    text-align: justify;
  }

  .section-image {
    max-width: 600px;
  }

  .goals {
    max-width: 900px;
    margin: auto;
  }

  .goals-title {
    max-height: 4rem;
    margin: auto;

  }

  .goal-card {
    /* width: 80%; */
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    gap: 2rem;
    flex-direction: row;
  }

  .goal-card:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .goal-img {
    width: 60%;
  }

  .goal-text {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
  }

  .text-right {
    right: 10rem;
  }

  .text-left {
    left: 10rem;
  }

  .info-boxes {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .info-box {
    flex: 1 1 30%;
    max-width: 50%;
  }

  .course-title-wrap {
    justify-content: center;
  }

  .course-title-img {
    max-height: 4rem;
  }



  .course-wrap {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 4%;
    justify-content: space-between;
  }

  .course {
    width: 48%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .course:nth-child(2n) {
    margin-right: 0;
  }

  .course:last-child,
  .course:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
    margin-bottom: 0;
  }

  .course-head {
    display: flex;
    font-size: 1.2rem;
    font-weight: bold;
    color: #655dc9;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 3.2em;
    /* 見出しの高さを固定化 */
    align-items: center;
    justify-content: center;
  }

  .course img {
    width: 100%;
    height: 200px;
    /* 統一高さに固定 */
    object-fit: cover;
    border-radius: 8px;
    margin: 8px 0;
  }

  .course p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    flex-grow: 1;
  }

  .voices {
    max-width: 900px;
    margin: auto;
  }

  .voice-title-img {
    max-height: 4rem;  }

  .voice-header {
    justify-content: end;  }

  .voice-photo {
    max-width: 300px;
    margin-left: 3rem;
  }

  .voice-box-wrap {
    max-width: 700px;
    margin: 0 auto;
  }

  .voice-box {
    font-size: 1rem;
    max-width: 60%;
  }

  .voice-box p {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .cta {
    padding: 3rem;
    font-size: 1.3rem;
  }

  .btn {
    font-size: 1.3rem;
    max-width: 400px;
  }

  .footer {
    max-width: 1024px;
    margin: auto;
  }

  .footer-contact {
    justify-content: center;
    gap: 3rem;
  }

  .footer-address,
  .footer-contact,
  .footer-access {
    font-size: 1rem;
  }
}