@charset "UTF-8";

/* ========================================
   LP PAGE
======================================== */

html {
  scroll-behavior: smooth;
}

body.lp-page {
  margin: 0;
  padding-bottom: 88px;
  font-family: sans-serif;
}

/* CTAアンカー位置調整 */

#cta-area {
  scroll-margin-top: 120px;
}

/* ========================================
   HEADER
======================================== */

body.is-fixed {
  overflow: hidden;
}

.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.lp-header__inner {
  height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 24px;
}

/* ========================================
   LOGO
======================================== */

.lp-logo {
  display: block;
  height: 50px;
}

.lp-logo img {
  width: 180px;
  height: auto;
  display: block;
}

.lp-logo-sp {
  display: none;
}

/* ========================================
   HEADER RIGHT
======================================== */

.lp-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ========================================
   ACCESS ICON
======================================== */

.lp-access {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-access img {
  width: 32px;
  height: auto;
  display: block;
}

/* ========================================
   HAMBURGER BUTTON
======================================== */

.lp-menu-btn {
  width: 40px;
  height: 32px;

  position: relative;

  padding: 0;

  border: none;
  background: transparent;

  cursor: pointer;

  appearance: none;
}

.lp-menu-btn span {
  position: absolute;
  left: 0;

  width: 100%;
  height: 2px;

  background: #fff;

  transition: .3s ease;
}

.lp-menu-btn span:nth-child(1) {
  top: 0;
}

.lp-menu-btn span:nth-child(2) {
  top: 14px;
}

.lp-menu-btn span:nth-child(3) {
  bottom: 0;
}

/* OPEN */

.lp-menu-btn.is-open span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.lp-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.lp-menu-btn.is-open span:nth-child(3) {
  bottom: 14px;
  transform: rotate(-45deg);
}

/* ========================================
   DRAWER NAV
======================================== */

.lp-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 100%);
  height: 100vh;
  background: #0d2653;
  z-index: 999;
  transition: right .4s ease;
}

.lp-drawer.is-open {
  right: 0;
}

.lp-drawer__inner {
  padding:
    100px
    40px
    120px;
}

/* ========================================
   MENU
======================================== */

.lp-menu {
  margin: 0;
  padding: 0;

  list-style: none;
}

.lp-menu li + li {
  margin-top: 16px;
}

.lp-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;

  text-decoration: none;

  transition: opacity .3s ease;
}

.lp-menu a:hover {
  opacity: .7;
}

/* ========================================
   MENU CTA
======================================== */

.lp-menu-cta {
  margin-top: 48px;
}

.lp-menu-cta a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 56px;

  border-radius: 999px;

  background: #fff;
  color: #0d2653;

  font-size: 16px;
  font-weight: 700;

  text-decoration: none;

  transition: opacity .3s ease;
}

.lp-menu-cta a:hover {
  opacity: .8;
}

/* ========================================
   SUB MENU
======================================== */

.has-sub {
  position: relative;
}

.lp-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

/* + icon */

.lp-submenu-toggle::after {
  content: "+";

  font-size: 18px;

  transition: transform .3s ease;
}

.has-sub.is-open .lp-submenu-toggle::after {
  transform: rotate(45deg);
}

/* sub menu */

.sub {
  max-height: 0;

  overflow: hidden;

  margin: 0;
  padding-left: 16px;

  list-style: none;

  transition: max-height .4s ease;
}

.has-sub.is-open .sub {
  max-height: 1000px;
}

.sub li {
  margin-top: 16px;
}

.sub a {
  font-size: 16px;
  font-weight: 500;

  opacity: .9;
}

/* ========================================
   FIRST VIEW
======================================== */

#openschool .hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  padding: 20px;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 113, 184, 0.4),
      rgba(0, 113, 184, 0.8)
    ),
    url('../img/poster.jpg')
    no-repeat
    center center / cover;
}

#openschool .hero-content {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding:
    120px
    24px
    80px;

  color: #fff;
}

#openschool .hero-content h3 {
  margin: 0 0 24px;

  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.1;
}

#openschool .hero-content p {
  margin: 0;

  font-size: 16px;
  line-height: 1.8;
}

/* ========================================
   CONTENT
======================================== */

.lp-content {
  position: relative;
  z-index: 1;

  background: #fff;
}

/* ========================================
   FIXED CTA (SP ONLY)
======================================== */

.lp-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: rgba(13, 38, 83, .92);
  z-index: 1001;
}

.lp-fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  height: 56px;
  border-radius: 999px;
  background: #fff;
  color: #0d2653;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.lp-fixed-cta sup {
  color: #fff;
  padding-left: 4rem;
}
/* ========================================
   PC
======================================== */

@media (min-width: 768px) {

  body.lp-page {
    padding-bottom: 0;
  }

  .lp-header__inner {
    height: 100px;
    padding: 0 48px;
  }

  .lp-logo img {
    width: 220px;
  }

  .lp-fv__content {
    padding:
      160px
      80px
      120px;
  }

  .lp-fixed-cta {
    display: none;
  }

  .lp-pc {
    display: block;
  }

  .lp-sp {
    display: none;
  }

}
/* ========================================
   SP
======================================== */

@media (max-width: 768px) {
  .lp-logo {
    display: none;
  }

  .lp-logo-sp {
    display: block;
    height: 60px;
    width: 240px;
    margin-left: -10px;
  }

  .lp-pc {
    display: none;
  }

  .lp-sp {
    display: block;
  }
}

:root {
    --baiko-blue: #0071B8;
    --sky-blue: #4FA4D3;
    --accent-orange: #F39C12;
    --bg-light: #F8FBFD;
    --text-main: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --line-green: #06C755;
}

/* Reset & Base */
#openschool * { box-sizing: border-box; margin: 0; padding: 0; }
#openschool body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
#openschool img { max-width: 100%; height: auto; display: block; }
#openschool a { text-decoration: none; transition: all 0.3s ease; }

#openschool .container { max-width: 1000px; margin: 0 auto; padding: 80px 20px; }

#openschool h3.section-title {
    font-size: 2rem;
    color: var(--baiko-blue);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 900;
    line-height: 1.4;
}

#openschool h3.title-wh {
    color: var(--white);
}

@media (max-width: 768px) {
    #openschool .container { padding: 40px 20px; }

    #openschool h3.section-title { font-size: 1.6rem; }
}

/* --- 1. Hook (Hero) --- */
#openschool .hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 113, 184, 0.4), rgba(0, 113, 184, 0.8)), url('../img/poster.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 20px;
}

#openschool .hero-content {
    z-index: 2;
    max-width: 800px;
}

#openschool .hero h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#openschool .hero p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#openschool .skip-link {
    display: inline-block;
    background: var(--white);
    color: var(--baiko-blue);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 0 8vw;
}

#openschool .skip-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    #openschool .hero h2 { font-size: 2.0rem; }
    #openschool .hero p { font-size: 1rem; }
    #openschool .skip-link {
        margin: 0 2vw;
    }
}

/* --- 2. Concept --- */
#openschool .concept-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 113, 184, 0.08);
    position: relative;
    text-align: center;
    margin-bottom: 80px;
}

#openschool .concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--baiko-blue);
    border-radius: 0 0 5px 5px;
}

#openschool .concept-card h4 {
    font-size: 1.8rem;
    color: var(--baiko-blue);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

#openschool .concept-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    display: inline-block;
}

#openschool .highlight {
    color: var(--baiko-blue);
    font-weight: bold;
    background: linear-gradient(transparent 70%, rgba(79, 164, 211, 0.2) 70%);
}

@media (max-width: 768px) {
    #openschool .concept-card {
        padding: 20px;
    }

    #openschool .concept-card h4 {
        font-size: 1.4rem;
    }
}

/* --- 3. Story --- */
#openschool .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 80px;
}

#openschool .story-grid h4 {
    font-size: 1.6rem;
    color: var(--baiko-blue);
    margin-bottom: 1rem;
    font-weight: 900;
    grid-column: 1 / -1;
    justify-self: center;
}

#openschool .story-content p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

#openschool .story-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

#openschool .story-image img {
    width: 100%;
    display: block;
}

#openschool .story-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 1 / -1;
    justify-self: center;
}

#openschool .story-image-main img {
    width: 100%;
    display: block;
}
/* --- Gallery --- */
#openschool .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

#openschool .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#openschool .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    #openschool .gallery-grid {
        grid-template-columns: 1fr;
    }

    #openschool .gallery-item img {
        height: auto;
    }
}

@media (max-width: 768px) {
    #openschool .story-grid {
        grid-template-columns: 1fr;
    }

    #openschool .story-image {
        order: 1;
    }
}

#openschool .story-image-group img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

#openschool .story-sub-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    #openschool .story-grid {
        grid-template-columns: 1fr;
    }

    #openschool .story-image-group {
        order: -1;
    }
}

/* --- LINE Section --- */
#openschool .line-section {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.1);
    border: 2px solid var(--line-green);
    margin-bottom: 40px;
}

#openschool .line-section h4 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 900;
}

#openschool .line-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

#openschool .line-action-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

#openschool .line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--line-green);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

#openschool .line-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

#openschool .line-btn:hover {
    background: #05A546;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

#openschool .qr-code-box {
    text-align: center;
}

#openschool .qr-code-box img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin: 0 auto;
}

#openschool .qr-code-box span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* --- Step Section --- */
#openschool .step-section {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
}

#openschool .step-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

#openschool .step-box {
    background: #F0F8FF;
    color: var(--baiko-blue);
    padding: 20px 30px;
    border-radius: 10px;
    font-weight: 900;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#openschool .step-note {
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--text-light);
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    text-align: left;
    line-height: 1.8;
}

#openschool .step-note strong {
    color: var(--baiko-blue);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 5px;
}

/* --- Events --- */
#openschool #events {
    background-color: var(--baiko-blue);
    color: var(--white);
}

#openschool #events h3.section-title {
    color: var(--white);
}

#openschool .events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    #openschool .events-container {
        grid-template-columns: 1fr;
    }
}

#openschool .event-card {
    background: var(--white);
    color: var(--text-main);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#openschool .date-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--baiko-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border: 2px solid var(--baiko-blue);
}

#openschool .target-badge {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 10px;
}

#openschool .target-jh {
    color: var(--accent-orange);
}

#openschool .target-el {
    color: #27AE60;
}

#openschool .event-card p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: bold;
}

#openschool .coming-soon {
    color: var(--baiko-blue);
    font-weight: 900;
    background: #F0F8FF;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#openschool .btn-apply {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: auto;
}

#openschool .btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

#openschool .btn-jh {
    background: var(--accent-orange);
}

#openschool .btn-jh:hover {
    background: #E67E22;
}

#openschool .btn-el {
    background: #27AE60;
}

#openschool .btn-el:hover {
    background: #219653;
}

/* --- FAQ --- */
#openschool .faq-container {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

#openschool .faq-item {
    border-bottom: 1px solid #edf2f7;
    padding: 20px 0;
}

#openschool .faq-item:last-child {
    border-bottom: none;
}

#openschool .faq-q {
    font-weight: 900;
    color: var(--baiko-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

#openschool .faq-q i {
    color: var(--accent-orange);
    margin-right: 10px;
    font-size: 1.3rem;
    margin-top: 3px;
}

#openschool .faq-a {
    color: var(--text-light);
    padding-left: 32px;
}

footer {
    background: #113A56;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* --- Section2 背景 --- */
#openschool .lp-section--collage {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  z-index: 0;
}

#openschool .lp-section--collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(13, 38, 83, 0.72),
      rgba(13, 38, 83, 0.72)
    ),
    url("../img/os-bg.jpg") center center / cover no-repeat;
  z-index: -1;
}

@media (max-width: 767px) {

  #openschool .lp-section--collage::before {
    background:
      linear-gradient(
        rgba(13,38,83,.72),
        rgba(13,38,83,.72)
      ),
      url("../img/os-bg-sp.jpg")
      center top / cover no-repeat;
  }

}