/* ============================================================
  Reset & Base
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  color: #000;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}


input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  opacity: 0.7;
}

address {
  font-style: normal;
}

/* ============================================================
  共通 Layout
============================================================ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem; /* 0 20px */
}

/* ============================================================
  表示切り替えユーティリティ
============================================================ */
/* PCのみ表示（767px以下で非表示） */
.pc-only {
  display: block !important;
}

/* SPのみ表示（768px以上で非表示） */
.sp-only {
  display: none !important;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}



/* ============================================================
  共通 Section
============================================================ */
.section-head{
  position: relative;
  background: #009481;
  padding: 14px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.section-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(45deg, #96d3cb, #14af96);
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0 100%);
}
.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.05em;
  position: relative;
}

section {
  margin: 0 !important;
}



/* ============================================================
  固定CTA（右サイドバー）
============================================================ */
.float-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #009481;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 15px 16px;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1;
  z-index: 1000;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px 0 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.float-cta__icon {
  width: 27px;
  display: inline-block;
  margin-bottom: 5px;
}
.float-cta__icon img {
  width: 100%;
}
.float-cta:hover {
  opacity: .7;
  text-decoration: none !important;
}



/* ============================================================
  Header
============================================================ */
.header {
  padding: 20px 32px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.school {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.logo {
  width: min(270px, 50vw);
  height: auto;
  display: block;
}
.school-name {
  font-size:clamp(30px,1.8vw,38px); 
  color: #019481;
  font-weight: bold;
  line-height: 1;
}



/* ============================================================
  Hero
============================================================ */
.hero--img {
  background-color: transparent;
  aspect-ratio: unset;
  display: block;
  padding: 0;
}
.hero--img img {
  display: block;
  width: 100%;
  height: auto;
}



/* ============================================================
  Course Plan
============================================================ */
section.course {
  background-color: #ccecef !important;
  padding: 50px 0 !important;
}
.course__heading {
  text-align: center;
  font-size: 3rem; 
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.3;
}
.course__plans {
  display: flex;
  justify-content: center;
}
.course__plans img {
  width: 100%;
}



/* ============================================================
  Features
============================================================ */
section.features {
  padding: 0 0 100px;
  background-color: #f0f9f7;
}
.features__list {
  display: flex;
  flex-direction: column;
  gap: 4.7rem;
  margin-top: 100px;
}
.feature {
  max-width: 966px;
  height: 100%;
  min-height: 300px;
  margin: 0 auto;
  padding: 25px 30px 25px 20px;
  display: flex;
  align-items: flex-start;
  gap: 2%;
  border: 3px solid #009481;
  position: relative;
  background-color: #fff;
}
.feature__img {
  position: relative;
  max-width: 280px;
  width: 32%;
  align-self: center;
}
.feature__border {
  width: 3px;
  align-self: stretch;
  background-color: #009481;
}
.feature__body {
  flex: 1;
  padding: 10px 0 0 20px;
}
.feature__title {
  display: flex;
  align-items: center;
  gap: 3%;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 15px;
}
.feature__num {
  display: inline-block;
  font-size: 6.4rem;
  font-weight: bold;
  color: #009481;
}
.feature__text {
  font-size: 1.8rem;
}



/* ============================================================
  Teachers
============================================================ */
section.teachers {
  padding: 0 0 50px;
  background-color: #fff;
}
.teachers__swiper-outer {
  overflow: hidden;
  padding: 20px 0;
}
.teachers-swiper {
  overflow: visible;
  margin: 0 -10%;
}
.teacher {
  text-align: center;
  background-color: #009481;
  color: #fff;
  padding: 5px;
  display: flex;
  flex-direction: column;
}
.teacher__photo {
  width: 100%;
  flex-shrink: 0;
}
.teacher__info {
  padding: 30px 0 20px;
  text-align: center;
  flex: 1;
}
.teacher__subject {
  display: inline-block;
  width: 193px;
  padding: 5px;
  margin-bottom: 5px;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: bold;
  color: #019481;
  background-color: #fff;
  border-radius: 999px;
}
.teacher__name {
  font-size: 2.4rem;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 5px 10%;
  border-bottom: 2px solid #fff;
}
.teacher__name span {
  font-size: 1.8rem;
}
.teacher__lead {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 5px;
}
.teacher__text {
  font-size: 1.8rem;
}



/* ============================================================
  CTA Section
============================================================ */
.cta-section {
  padding: 30px 0 100px;
  text-align: center;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #009481;
  border: 3px solid #6fb5ab;
  color: #fff;
  font-size: 4.3rem;
  text-align: center;
  font-weight: bold;
  width: 560px;
  padding: 20px;
  margin: 0 auto;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.btn-cta__icon {
  width: 50px;
}
.btn-cta__icon img {
  width: 100%;
}
.cta-section a:hover {
text-decoration: none !important;
}



/* ============================================================
  Support
============================================================ */
section.support {
  padding: 0; 
}
.support .section-head {
  margin-bottom: 0;
}
.support__inner {
  background-image: url(../img/bg-support.png);
  background-size: 200px;
  background-repeat: repeat;
  background-position: left;
  padding: 110px 0 100px;
}
.support__img {
  width: 100%;
}
.support__img + .support__img {
  margin-top: 110px;
}

/* ====== graduate ====== */
.graduates {
  padding: 100px 0 70px;
  background-color: #fff;
}
.graduates__lead {
  max-width: 740px;
  margin: 0 auto 35px;
}
.graduates__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.graduate {
  display: flex;
  gap: 2.5%;
}
.graduate__photo {
  max-width: 250px;
  width: 26%;
}
.graduate__body {
  padding: 2%;
  flex: 1;
}
.graduate__name {
  font-size: 2.4rem;
  font-weight: bold;
  color: #009682;
  margin-bottom: 20px;
}
.graduate__text {
  font-size: 1.8rem;
  line-height: 1.5;
}



/* ============================================================
  IT System
============================================================ */
.it-system {
  padding: 0 0 100px;
  background-color: #f0f9f7;
}

.it-system__banner {
  margin: 100px auto 0;
}
.it-system__banner img {
  width: 100%;
}



/* ============================================================
  Partners
============================================================ */
.partners {
  padding: 0 0 100px;
  background-color: #fff;
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
  padding: 90px 0 0;
}
.partner {
  width: 48.5%;
  display: flex;
  gap: 5.5%;
  padding: 20px 0;
}
.partner__photo {
  max-width: 170px;
  width: 36%;
  height: auto;
}
.partner__body {
  flex: 1;
}
.partner__name {
  font-size: 2.3rem;
  font-weight: bold;
  line-height: 1.4;
  color: #009682;
  margin-bottom: 0.5rem;
}
.partner__text {
  font-size: 1.8rem;
  line-height: 1.6;
}

/* ============================================================
  Flow
============================================================ */
.flow {
  padding: 0 0 100px;
  background-color: #f0f9f7;
}
.flow__steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
}
.flow__step {
  display: flex;
  gap: 30px;
  padding: 50px 0 0;
  position: relative;
}
.flow__step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 57px;
  bottom: -57px;
  width: 2px;
  background-color: #009682;
  z-index: 0;
}
.flow__step:last-child {
  border-bottom: none;
}
.flow__step-num {
  width: 45px;
  height: 45px;
  background-color: #009682;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.flow__step-inner {
  display: flex;
  gap: 8%;
  flex: 1;
  position: relative;
  background-image: repeating-linear-gradient(to right,
      #000 0,
      #000 8px,
      transparent 8px,
      transparent 12px);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 50px;
}
.flow__step:last-child .flow__step-inner {
  background-image: none;
}
.flow__step-title {
  font-size: 3rem;
  font-weight: bold;
  color: #009481;
  margin-bottom: 10px;
}
.flow__step-text {
  font-size: 1.8rem;
  line-height: 1.8;
}
.flow__step-note {
  font-size: 1.8rem;
  margin-top: 20px;
}
.flow__step-img {
  max-width: 380px;
  width: 43%;
  flex-shrink: 0;
}
.flow__step-img img {
  width: 100%;
  height: auto;
}
.flow__cta {
  padding: 0;
}

/* ============================================================
  Contact
============================================================ */
.contact {
  padding: 100px 0;
  background-color: #fff;
}
.contact__inner {
  display: flex;
  align-items: flex-end;
  gap: 3%;
}

/* 左：校舎情報 */
.contact__left {
  width: 49%;
}
.contact__school-name {
  margin-bottom: 10px;
  line-height: 1.2;
}
.contact__school-label {
  display: inline;
  font-size: 4.4rem;
  font-weight: bold;
  color: #009481;
}
.contact__branch {
  display: inline;
  font-size: 3rem;
  font-weight: bold;
  color: #009481;
  margin-left: 8px;
}
.contact__address {
  font-size: 2.8rem;
  font-style: normal;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #333;
}
.contact__address a {
  color: inherit;
  text-decoration: none;
}
.contact__photo img {
  width: 100%;
  border-radius: 4px;
}

/* 右：アクセス */
.contact__right {
  width: 48.5%;
}
.contact__img {
  max-width: 435px;
  width: 100%;
}
.contact__access {
  margin-left: auto;
}




/* ============================================================
  Footer
============================================================ */
.footer {
  background: #009481;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.footer .school-name {
  color: #fff;
  font-weight: 500;
}
.footer .group {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 10px;
}


/* ============================================================
  Media Queries 767px
============================================================ */
@media (max-width: 767px) {

  /* Float CTA → 画面下部バー */
  .float-cta {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding: 12px 20px;
    font-size: 1.6rem;
    border-radius: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  }

  body {
    padding-bottom: 55px;
    font-size: 1.4rem;
  }

  /* Teachers Swiper SP：margin解除してcenteredSlidesに委ねる */
  .teachers-swiper {
    margin: 0;
  }

  /* Section */
  .section-title {
    font-size: 1.8rem;
  }

  /* Header */
  .header {
    padding: 16px 20px;
  }
  .school-name {
    font-size: 1.8rem;
  }

  /* Hero */
  .hero--img {
    min-height: unset;
    padding: 0;
  }

  /* Course */
  .course__heading {
    font-size: 1.8rem;
  }

  /* Features */
  .features {
    padding: 0 0 80px;
  }
  .features__list {
    gap: 20px;
    margin-top: 50px;
  }
  .feature {
    flex-direction: column;
    padding: 20px 15px;
    min-height: unset;
    gap: 0;
  }
  
  .feature__img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .feature__border {
    width: 100%;
    height: 3px;
    align-self: auto;
    margin: 10px 0;
  }
  .feature__body {
    padding: 10px 0 0;
  }
  .feature__title {
    font-size: 1.8rem;
  }
  .feature__num {
    font-size: 4rem;
  }
  .feature__text {
    font-size: 1.4rem;
  }

  /* Teachers */
  .teachers {
    padding: 0 0 30px;
  }
  .teacher__subject {
    font-size: 1.4rem;
    width: auto;
    padding: 4px 10px;
  }
  .teacher__name {
    font-size: 1.8rem;
  }
  .teacher__name span {
    font-size: 1.4rem;
  }
  .teacher__lead {
    font-size: 1.6rem;
  }
  .teacher__text {
    font-size: 1.4rem;
  }

  /* CTA */
  .cta-section {
    padding: 0 0 80px;
  }
  .btn-cta {
    width: 90%;
    font-size: 2.2rem;
    padding: 15px;
  }
  .btn-cta__icon {
    width: 30px;
  }

  /* support */
  .support__inner {
    background-size: 150px;
    padding: 50px 0 80px;
  }
  .support__img+.support__img {
    margin-top: 50px;
  }

  /* Graduates */
  .graduates {
    padding: 50px 0;
  }
  .graduates__list {
    gap: 30px;
  }
  .graduate {
    flex-direction: column;
    align-items: center;
  }
  .graduate__photo {
    width: 55%;
    max-width: 180px;
    margin-bottom: 10px;
  }
  .graduate__name {
    font-size: 1.7rem;
    margin-bottom: 10px;
    text-align: center;
  }
  .graduate__text {
    font-size: 1.4rem;
  }

  /* it-system */
  .it-system {
    padding-bottom: 80px;
  }
  .it-system__banner {
    margin: 50px auto 0;
  }

  /* Partners */
  .partners {
    padding: 0 0 50px;
  }
  .partners__list {
    padding: 50px 0 0;
    flex-direction: column;
  }
  .partner {
    width: 100%;
    padding: 0 0 30px;
  }
  .partner__name {
    font-size: 1.7rem;
  }
  .partner__text {
    font-size: 1.4rem;
  }

  /* Flow */
  .flow {
    padding: 0 0 80px;
  }
  .flow__steps {
    margin-bottom: 30px;
  }
  .flow__step {
    gap: 15px;
    padding: 30px 0 0;
  }
  .flow__step:not(:last-child)::before {
    left: 19px;
    top: 50px;
    bottom: -50px;
  }
  .flow__step-num {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  .flow__step-inner {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
  }
  .flow__step-title {
    font-size: 1.8rem;
  }
  .flow__step-text {
    font-size: 1.4rem;
  }
  .flow__step-note {
    font-size: 1.4rem;
  }
  .flow__step-img {
    width: 100%;
    max-width: 100%;
  }
  .flow__cta {
    padding: 0 !important;
  }

  /* Contact */
  .contact {
    padding: 50px 0;
  }
  .contact__inner {
    flex-direction: column;
  }
  .contact__left {
    width: 100%;
    margin-bottom: 20px;
  }
  .contact__right {
    width: 100%;
  }
  .contact__school-label {
    font-size: 2.4rem;
  }
  .contact__branch {
    font-size: 2rem;
  }
  .contact__address {
    font-size: 1.6rem;
  }
  .contact__access {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
  }
  

  /* Footer */
  .footer .school-name {
    font-size: 1.8rem;
  }
  .footer .group {
    font-size: 1.2rem;
  }
}
