@charset "utf-8";

:root {
      --blue: #173f93;
      --blue-dark: #0d2d70;
      --blue-light: #e8f1ff;
      --orange: #f5a21a;
      --yellow: #ffd84d;
      --text: #111;
      --white: #fff;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.8;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .hero {
      position: relative;
      height: 950px;
      overflow: hidden;
    
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--white);
    }

    .hero-video {
      pointer-events: none;
      position: absolute;
      top: 0;
      left: 0;
    
      width: 100%;
      height: 100%;
    
      object-fit: cover;
    
      filter:
        brightness(1.35)
        saturate(0.7)
        contrast(0.7);
    
      transform: scale(1.06);
    
      animation:
        heroZoom 14s ease-in-out infinite alternate;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
    
      background:
        linear-gradient(
          to bottom,
          rgba(255,255,255,0.12),
          rgba(255,255,255,0.24)
        );
    
      z-index: 1;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      padding: 0 20px;
      animation: fadeUp 2s ease;
    }

    .hero h1 {
      margin: 0 0 8px;
      font-size: clamp(26px, 5vw, 42px);
      font-weight: 800;
      line-height: 1.4;
      letter-spacing: 0.08em;
    }

    .hero p {
      margin: 0 0 26px;
      font-size: clamp(14px, 2.8vw, 20px);
      font-weight: 700;
    }
    @keyframes slowZoom {
      from {
        transform: scale(1);
      }
    
      to {
        transform: scale(1.08);
      }
    }
    
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
    
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.65)
      );
      z-index: 1;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 210px;
      padding: 12px 28px;
      border-radius: 8px;
      background: var(--orange);
      color: var(--white);
      font-weight: 800;
      font-size: 17px;
      border: 2px solid #fff;
      box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

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

    .section {
      padding: 82px 9%;
      position: relative;
    }

    .section-blue {
      background: var(--blue-light);
    }

    .section-white {
      background: var(--white);
    }

    .zigzag-top::before,
    .zigzag-bottom::after {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 26px;
      background-size: 52px 26px;
      background-repeat: repeat-x;
    }

    .zigzag-top::before {
      top: 0;
      background-image: linear-gradient(135deg, var(--white) 25%, transparent 25%), linear-gradient(225deg, var(--white) 25%, transparent 25%);
    }

    .zigzag-bottom::after {
      bottom: -1px;
      background-image: linear-gradient(45deg, var(--white) 25%, transparent 25%), linear-gradient(315deg, var(--white) 25%, transparent 25%);
    }

    .section-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin: 0 0 64px;
      font-size: clamp(22px, 4vw, 30px);
      font-weight: 900;
      letter-spacing: 0.04em;
    }

    .section-title::before,
    .section-title::after {
      content: "";
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--blue);
    }

    .about-cards {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      gap: 62px;
    }

    .about-card {
      background: var(--white);
      border: 2px solid var(--blue);
      border-radius: 36px 0 36px 0;
      padding: 32px 36px;
      box-shadow: 12px 12px 0 var(--blue);
    }

    .about-card h3 {
      margin: 0 0 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--blue);
      text-align: center;
      font-size: 25px;
    }

    .about-card p {
      margin: 0;
      font-size: 20px;
    }

    .overview {
      max-width: 520px;
      margin: 0 auto;
      text-align: center;
    }

    .overview-item {
      margin-bottom: 36px;
    }

    .overview-item-item{
      margin-left: 50px;
    }

    .label {
      display: inline-block;
      min-width: 76px;
      padding: 3px 16px;
      border-radius: 999px;
      background: var(--blue);
      color: var(--white);
      font-weight: 700;
      font-size: 25px;
      line-height: 1.4;
      margin-bottom: 8px;
    }

    .fee-list {
      max-width: 350px;
      margin: 0 auto;
    }
    
    .fee-row {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }
    
    .fee-label {
      width: 80px;
      text-align: right;
      margin-right: 1px;
    }
    
    .fee-price {
      width: 100px;
    }
    
    .fee-note {
      color: #91001d;
    }

    .mail-guide {
      max-width: 500px;
      margin: 40px auto;
      text-align: left;
      line-height: 1.8;
    }
    
    .mail-guide ul {
      padding-left: 1.5em;
      margin-top: 10px;
    }

    .overview-item p {
      margin: 0;
      font-size: 20px;
    }

    .program {
      max-width: 820px;
      margin: 0 auto;
      position: relative;
    }

    .program::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 16px;
      bottom: 16px;
      border-left: 2px dashed var(--blue);
    }

    .program-item {
      position: relative;
      padding-left: 72px;
      margin-bottom: 64px;
    }

    .program-item::before {
      content: "";
      position: absolute;
      left: 5px;
      top: 5px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--blue);
      border: 3px solid var(--white);
      box-shadow: 0 0 0 2px var(--blue);
    }

    .program-item h3 {
      margin: 0 0 4px;
      font-size: 25px;
    }

    .program-item p {
      margin: 0;
      font-size: 20px;
    }

    .program-photo {
      width: 360px;
      aspect-ratio: 4 / 3;
      border: 2px solid #333;
      background: rgba(255, 255, 255, 0.35);
      margin-top: 14px;
    }

    .gallery {
      max-width: 1250px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 60px 1.2fr 1.9fr 1.2fr 60px;
      gap: 28px;
      align-items: center;
      text-align: center;
    }

    .gallery-arrow {
      color: var(--blue);
      font-size: 42px;
      line-height: 1;
    }

    .gallery-card figure {
      margin: 0;
    }

    .gallery-image {
      width: 100%;
      height: auto;
      object-fit: cover;
      border: 2px solid #555;
      background: #fff;
      aspect-ratio: 4 / 3;
      margin-bottom: 8px;
      display: block;
    }

    .gallery-card.main .gallery-image {
      aspect-ratio: 1 / 1;
    }

    .gallery-card figcaption {
      font-size: 17px;
      line-height: 1.5;
    }

    .gallery-track {
      display: contents;
    }
    
    .gallery-card {
      transition:
        transform 0.45s ease,
        opacity 0.45s ease;
    }
    
    .gallery.moving-left .gallery-card {
      transform: translateX(40px);
    }
    
    .gallery.moving-right .gallery-card {
      transform: translateX(-40px);
    }
    
    .gallery.is-changing .gallery-card {
      opacity: 0.5;
    }

    .entry {
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }

    .entry-block {
      margin-bottom: 56px;
    }

    .entry h3 {
      margin: 0 0 24px;
      font-size: 25px;
    }

    .entry-flex {
      display: grid;
      grid-template-columns: 1fr 180px;
      gap: 54px;
      align-items: center;
      text-align: left;
    }

    .qr-box {
      aspect-ratio: 1 / 1;
      border: 2px solid #333;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      background: rgba(255, 255, 255, 0.4);
    }

    .entry p,
    .entry li {
      font-size: 20px;
    }

    .notes {
      display: inline-block;
      text-align: left;
      margin: 0;
      padding-left: 1.4em;
    }

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

    .faq details {
      border-bottom: 1px solid #111;
    }

    .faq details:first-child {
      border-top: 1px solid #111;
    }

    .faq summary {
      list-style: none;
      cursor: pointer;
      padding: 20px 0;
      font-weight: 800;
      font-size: 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

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

    .faq summary::after {
      content: "›";
      color: var(--blue);
      font-size: 34px;
      line-height: 1;
      transition: transform 0.2s ease;
    }

    .faq-answer {
      padding: 0 0 24px;
      font-size: 20px;
    }

    .site-footer {
      background: var(--blue);
      color: var(--white);
      text-align: center;
      padding: 18px 10px;
      font-size: 20px;
    }


    .contact-section {
      position: relative;
    
      overflow: hidden;
    
      padding: 120px 20px;
    
      text-align: center;
    
      background: #eaf2ff;
    }
    
    .contact-text {
      margin: 24px auto 36px;
      max-width: 620px;
    
      font-size: 17px;
      line-height: 2;
      color: #555;
    }
    
    .contact-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    
      padding: 18px 42px;
    
      background: var(--blue);
      color: #fff;
    
      font-size: 18px;
      font-weight: 700;
    
      border-radius: 999px;
    
      text-decoration: none;
    
      transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        box-shadow 0.25s ease;
    
      box-shadow:
        0 10px 30px rgba(0,0,0,0.12);
    }
    
    .contact-btn:hover {
      transform: translateY(-3px);
    
      opacity: 0.9;
    
      box-shadow:
        0 14px 36px rgba(0,0,0,0.16);
    }

   


.contact-section::before {
  top: 0;
}

.contact-section::after {
  bottom: 0;
  transform: rotate(180deg);
}

    @media (max-width: 768px) {
      .site-header {
        padding: 0 22px;
        height: 58px;
        font-size: 14px;
      }

      .header-logo {
        width: 34px;
        height: 34px;
      }

      .hero {
        height: 310px;
      }

      .section {
        padding: 68px 24px;
      }

      .section-title {
        margin-bottom: 42px;
      }

      .about-card {
        padding: 24px 20px;
        box-shadow: 8px 8px 0 var(--blue);
        border-radius: 26px 0 26px 0;
      }
      .about-card h3 {
        margin: 0 0 14px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--blue);
        text-align: center;
        font-size: 18px;
      }
  
      .about-card p {
        margin: 0;
        font-size: 15px;
      }

      .entry-flex {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .qr-box {
        width: 170px;
        margin: 0 auto;
      }

      .gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
        position: relative;
      }
    
      .gallery-card.side {
        display: none;
      }
    
      .gallery-card.main {
        width: 100%;
      }
    
      .gallery-card.main .gallery-image {
        aspect-ratio: 4 / 3;
      }
    
      .gallery-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    
        width: 48px;
        height: 48px;
        border-radius: 12px;
    
        background: rgba(255,255,255,0.92);
    
        display: flex;
        align-items: center;
        justify-content: center;
    
        font-size: 34px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      }
    
      .gallery-arrow:first-child {
        left: -10px;
      }
    
      .gallery-arrow:last-child {
        right: -10px;
      }
    }

