/*
Theme Name: 大学受験pispis あざみ野校 LP
Theme URI: https://azamino-pispis.net/
Author: 大学受験pispis あざみ野校
Description: 大学受験pispis あざみ野校のランディングページ専用テーマです。
Version: 1.0.0
Text Domain: pispis-azamino
*/

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: #f2f2f2;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f2f2f2;
  color: #333;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.image-lp {
  min-height: 100vh;
  padding-bottom: 84px;
}

.image-lp__canvas {
  width: min(100%, 500px);
  margin-inline: auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 42px rgb(0 47 89 / 14%);
}

.image-lp__section {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.image-lp__section img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 90px;
  align-items: center;
  padding: 20px 18px;
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
}

.site-header__brand {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 18px;
  color: #002f59;
  text-decoration: none;
}

.site-header__brand img {
  width: min(68%, 315px);
  height: auto;
}

.site-header__brand strong {
  flex: 1;
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer {
  padding: 0;
  background: #fff;
  color: #606060;
}

.site-footer__closing {
  position: relative;
  overflow: hidden;
  padding: 66px 28px 72px;
  text-align: center;
}

.site-footer__closing::before,
.site-footer__closing::after {
  position: absolute;
  border: 16px solid #e3f5fa;
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.site-footer__closing::before {
  top: -74px;
  right: -70px;
  width: 150px;
  height: 150px;
}

.site-footer__closing::after {
  bottom: -78px;
  left: -70px;
  width: 170px;
  height: 170px;
}

.site-footer__closing-label {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #56b9ce;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.site-footer .site-footer__closing-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #002f59;
  font-size: clamp(28px, 7.8vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.site-footer__closing-title span {
  color: #078bd0;
}

.site-footer__closing-copy {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: #5f6e78;
  font-size: clamp(14px, 3.7vw, 17px);
  font-weight: 700;
  line-height: 1.8;
}

.site-footer__eyebrow {
  margin: 0 0 12px;
  color: #56b9ce;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.site-footer .site-footer__access-title {
  margin: 0 0 32px;
  color: #002f59;
  font-size: clamp(22px, 6.4vw, 31px);
  font-weight: 900;
  line-height: 1.35;
}

.site-footer__access {
  position: relative;
  margin: 0;
  padding: 58px 38px 112px;
  border-top: 8px solid #56b9ce;
  background: #f3f9fc;
  color: #002f59;
}

.site-footer__details {
  margin: 0;
  border-top: 1px solid #c7dce6;
}

.site-footer__details > div {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 14px;
  padding: 19px 8px;
  border-bottom: 1px solid #c7dce6;
}

.site-footer__details dt {
  color: #56b9ce;
  font-weight: 900;
}

.site-footer__details dd {
  margin: 0;
  color: #002f59;
  font-weight: 600;
}

.site-footer__details a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer__brand {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 12px;
}

.site-footer__brand > img {
  width: min(68%, 235px);
  height: auto;
}

.site-footer__brand strong {
  color: #002f59;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.site-footer__links {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 420px);
  align-items: start;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 140px;
  margin-top: 38px;
}

.site-footer__links a {
  position: relative;
  display: flex;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 22px 12px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #0057a5 0%, #56b9ce 100%);
  box-shadow: 3px 4px 0 #002f59;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.site-footer__links strong {
  margin-top: 5px;
  font-size: clamp(17px, 4.6vw, 21px);
  line-height: 1.35;
}

.site-footer__links small {
  margin: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-footer__badges {
  position: absolute;
  top: -15px;
  left: 50%;
  display: flex;
  gap: 2px;
  transform: translateX(-50%);
}

.site-footer__badges > span {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #002f59;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 1px 3px rgb(0 47 89 / 24%);
}

.site-footer__badges > span + span {
  border-color: #0057a5;
  background: #fff;
  color: #0057a5;
}

.site-footer__click {
  margin-top: auto;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer__arrow {
  position: absolute;
  right: 7px;
  bottom: 4px;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
}

.site-footer__access > small {
  display: block;
  margin-top: 26px;
  color: rgb(0 47 89 / 48%);
  font-size: 10px;
  text-align: center;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
}

.site-footer__page-top {
  display: flex;
  width: 74px;
  min-width: 74px;
  height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #078bd0;
  box-shadow: 0 5px 0 #0057a5;
  color: #fff;
  text-decoration: none;
}

.site-footer__page-top > span {
  height: 25px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.site-footer__page-top > small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.testimonial-section {
  position: relative;
  overflow: hidden;
  padding: 62px 0 48px;
  background: #fff;
  color: #002f59;
}

.testimonial-section__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 54px;
  text-align: center;
}

.testimonial-section__ring {
  position: absolute;
  z-index: -1;
  top: -50px;
  left: 50%;
  width: 178px;
  height: 178px;
  border: 20px solid #e3f5fa;
  border-radius: 50%;
  transform: translateX(-50%);
}

.testimonial-section__heading p {
  margin: 0 0 8px;
  color: #57bfd2;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.testimonial-section__heading h2 {
  margin: 0;
  color: #002f59;
  font-size: clamp(29px, 8vw, 39px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  touch-action: pan-y;
  user-select: none;
}

.testimonial-carousel__track {
  display: flex;
  margin-left: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-carousel__slide {
  min-width: 0;
  flex: 0 0 100%;
  padding: 76px 30px 8px;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 485px;
  flex-direction: column;
  padding: 100px 34px 36px;
  border-radius: 34px;
  background: #f3f8fb;
  box-shadow: 0 16px 34px rgb(0 47 89 / 10%);
}

.testimonial-card::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 7px solid #dbeef7;
  border-radius: 50%;
  content: '';
}

.testimonial-card__portrait {
  position: absolute;
  top: -72px;
  left: 50%;
  width: 144px;
  height: 144px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 11px 25px rgb(0 47 89 / 18%);
  transform: translateX(-50%);
}

.testimonial-card h3 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  color: #002f59;
  font-size: clamp(20px, 5.5vw, 27px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-align: center;
}

.testimonial-card h3 span {
  background: linear-gradient(90deg, #0057a5 0%, #048cd0 55%, #56bfd2 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-card blockquote {
  margin: 30px 0 0;
  padding: 0;
  color: #414b53;
  font-size: clamp(16px, 4.15vw, 20px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.01em;
  text-align: left;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-card__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 26px;
  text-align: center;
}

.testimonial-card__profile strong {
  color: #0057a5;
  font-size: clamp(18px, 4.8vw, 23px);
  font-weight: 900;
}

.testimonial-card__profile span {
  color: #78838b;
  font-size: clamp(11px, 3vw, 14px);
  font-weight: 700;
}

.testimonial-carousel__arrow {
  position: absolute;
  z-index: 4;
  top: 52%;
  width: 50px;
  height: 50px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0057a5, #058bd0 62%, #57bfd2);
  color: #fff;
  box-shadow: 0 8px 20px rgb(0 47 89 / 24%);
  transform: translateY(-50%);
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.testimonial-carousel__arrow:hover,
.testimonial-carousel__arrow:focus-visible {
  background: linear-gradient(135deg, #00498c, #0077ba 62%, #48acc1);
  color: #fff;
}

.testimonial-carousel__arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 3.4;
}

.testimonial-carousel__arrow--prev {
  left: 10px;
}

.testimonial-carousel__arrow--next {
  right: 10px;
}

.testimonial-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.testimonial-carousel__dot {
  width: 11px;
  min-width: 11px;
  height: 11px;
  min-height: 11px;
  padding: 0;
  border-radius: 50%;
  background: #cbdce5;
  border: 0;
  cursor: pointer;
}

.testimonial-carousel__dot:hover,
.testimonial-carousel__dot[data-active='true'] {
  background: #058bd0;
}

.testimonial-section__note {
  margin: 20px 30px 0;
  color: #7d878e;
  font-size: clamp(10px, 2.7vw, 13px);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.image-sticky-cta {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 500px);
  margin-inline: auto;
  box-shadow: 0 -7px 24px rgb(0 47 89 / 22%);
}

.image-sticky-cta img {
  display: block;
  width: 100%;
  height: auto;
}

.image-sticky-cta a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

@media (min-width: 700px) {
  .image-lp {
    padding-top: 20px;
  }
}

@media (max-width: 380px) {
  .site-header {
    min-height: 76px;
    padding: 17px 14px;
  }

  .site-header__brand {
    gap: 10px;
  }

  .site-footer {
    padding: 0;
  }

  .site-footer__closing {
    padding-top: 58px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-footer__access {
    padding-right: 26px;
    padding-left: 26px;
  }

  .site-footer__details > div {
    grid-template-columns: 29% 1fr;
    font-size: 13px;
  }

  .site-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__links a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .site-footer__links strong {
    font-size: 17px;
  }

  .site-footer__brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .site-footer__brand > img {
    width: min(74%, 220px);
  }

  .testimonial-carousel__slide {
    padding-right: 24px;
    padding-left: 24px;
  }

  .testimonial-card {
    min-height: 470px;
    padding-right: 27px;
    padding-left: 27px;
  }

  .testimonial-carousel__arrow {
    width: 44px;
    height: 44px;
  }

  .testimonial-carousel__arrow--prev {
    left: 5px;
  }

  .testimonial-carousel__arrow--next {
    right: 5px;
  }
}
