/* ==========================================================================
   Q-GREP common styles
   Base: PC 1440 / content 1140 (padding 150)
   SP: 390 design
   ========================================================================== */

:root {
  --color-green: #46a351;
  --color-green-dark: #007a6e;
  --color-text: #333333;
  --color-note: #e2746b;
  --color-muted: #9c9c9c;
  --color-bg-soft: #fafafa;
  --color-circle: #eaf4db;
  --grad-green: linear-gradient(90deg, #46a351 0%, #d0e081 100%);
  --grad-accent: linear-gradient(90deg, #e26a6a 0%, #e0a372 100%);
  --font: "Open Sans", "Noto Sans JP", sans-serif;
  --container: 1140px;
  --side: 150px;
  --bp: 767px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--side) * 2);
  margin: 0 auto;
  padding: 0 var(--side);
}

.u-sp-only {
  display: none !important;
}

.u-pc-only {
  display: block;
}

.u-em-green {
  font-weight: 700;
  color: var(--color-green);
}

a.u-em-green:hover,
a.u-em-green:focus-visible {
  text-decoration: underline;
}

.u-bullet {
  color: var(--color-green);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  border-radius: 84px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.c-btn__icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.c-btn--fill {
  background: var(--grad-green);
  border-color: transparent;
  border-image: none;
  border: 1px solid;
  color: #fff;
}

.c-btn--fill .c-btn__icon--green {
  display: none;
}

.c-btn--fill:hover,
.c-btn--fill:focus-visible {
  background: #fff;
  border-color: var(--color-green);
  color: var(--color-green);
}

.c-btn--fill:hover .c-btn__icon--white,
.c-btn--fill:focus-visible .c-btn__icon--white {
  display: none;
}

.c-btn--fill:hover .c-btn__icon--green,
.c-btn--fill:focus-visible .c-btn__icon--green {
  display: block;
}

.c-btn--outline {
  background: #fff;
  border-color: transparent;
  border-image: none;
  border: 1px solid;
  color: var(--color-green);
}

.c-btn--outline .c-btn__icon--white {
  display: none;
}

.c-btn--outline:hover,
.c-btn--outline:focus-visible {
  background: var(--grad-green);
  color: #fff;
  border-color: #fff;
}

.c-btn--outline:hover .c-btn__icon--green,
.c-btn--outline:focus-visible .c-btn__icon--green {
  display: none;
}

.c-btn--outline:hover .c-btn__icon--white,
.c-btn--outline:focus-visible .c-btn__icon--white {
  display: block;
}

.c-btn--sm {
  font-size: 16px;
  border-radius: 44px;
}

.c-btn--block {
  width: 100%;
}

.c-btn--on-dark:hover,
.c-btn--on-dark:focus-visible {
  border: 1px solid #fff;
  border-image: none;
}

/* Text link hover underline */
.c-text-link {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-green);
  line-height: 1.4;
}

.c-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--color-green);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.c-text-link:hover::after,
.c-text-link:focus-visible::after {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Heading
   -------------------------------------------------------------------------- */
.c-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.c-heading__line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--color-green);
  margin-bottom: 16px;
}

.c-heading__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.45;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.l-header {
  position: relative;
  z-index: 100;
  background: transparent;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 29px 40px 18px;
}

.l-header__brand {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}

.l-header__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
}

.l-header__by {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.l-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.l-header__cta-wrap {
  position: relative;
}

.l-header__logos {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.l-header__logo--qgrep {
  width: 138px;
  height: auto;
}

.l-header__logo--qpit {
  width: 87px;
  height: auto;
}

.l-header__logo--kyudai {
  width: 56px;
  height: auto;
}

.l-header__cta {
  position: relative;
  background: var(--grad-green);
  color: #fff;
}

.l-header__cta .c-btn__icon--green {
  display: none;
}

.l-header__cta .c-btn__icon--white {
  display: block;
}

.l-header__cta:hover,
.l-header__cta:focus-visible {
  background: #fff;
  color: var(--color-green);
  border-color: var(--color-green);
}

.l-header__cta:hover .c-btn__icon--green,
.l-header__cta:focus-visible .c-btn__icon--green {
  display: block;
}

.l-header__cta:hover .c-btn__icon--white,
.l-header__cta:focus-visible .c-btn__icon--white {
  display: none;
}

.l-header__cta-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 12px 16px;
  background: #eaf4db;
  color: var(--color-text);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.l-header__cta-tip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: #eaf4db;
}

.l-header__cta-wrap:hover .l-header__cta-tip,
.l-header__cta-wrap:focus-within .l-header__cta-tip {
  opacity: 1;
  visibility: visible;
}

.l-header__menu {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.l-header__menu img {
  height: 40px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.p-hero {
  position: relative;
  margin-top: -112px;
  padding: 130px 0 80px;
  overflow: hidden;
}

.p-hero__bg {
  position: absolute;
  inset: -112px 0 0;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.p-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.p-hero__inner {
  position: relative;
  z-index: 1;
}

.p-hero__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1139px;
  margin: 0 auto 40px;
  padding: 8px 29px;
  border: 1px solid var(--color-green-dark);
  background: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.p-hero__body {
  display: grid;
  grid-template-columns: 524px 1fr;
  gap: 40px;
  align-items: center;
}

.p-hero__catch {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.p-hero__catch-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 18px;
  background: var(--grad-green);
  color: #fff;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.p-hero__catch-line--short {
  width: fit-content;
}

.p-hero__lead {
  margin-bottom: 40px;
  font-size: 27px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.p-hero__lead-em {
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.05em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.p-hero__copy .c-btn {
  font-size: 24px;
  margin-bottom: 16px;
}

.p-hero__note {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-note);
}

.p-hero__visual {
  display: flex;
  justify-content: center;
}

.p-hero__visual img {
  width: 100%;
  max-width: 519px;
  height: auto;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.p-about {
  padding: 0 0 100px;
}

.p-about__grid {
  display: grid;
  grid-template-columns: 606px 1fr;
  gap: 32px;
  align-items: start;
  margin-left: calc(-1 * var(--side));
}

.p-about__media img {
  width: 100%;
  height: 452px;
  object-fit: cover;
  display: block;
}

.p-about__text {
  padding-right: 0;
  padding-top: 0;
}

.p-about__highlight {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.8;
  color: var(--color-green);
}

.p-about__body p {
  margin-bottom: 1.5em;
}

.p-about__body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.p-pillars {
  padding: 100px 0;
  background: #f8fbf8;
}

.p-pillars__intro {
  max-width: 1039px;
  margin: -16px auto 48px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

.p-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-pillars__card {
  position: relative;
}

.p-pillars__media {
  margin-bottom: 16px;
  overflow: hidden;
}

.p-pillars__media img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  display: block;
}

.p-pillars__num {
  position: absolute;
  top: -46px;
  left: 16px;
  font-family: "Open Sans", sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 80px;
  line-height: 1;
  color: #46a351;
  pointer-events: none;
}

.p-pillars__name {
  margin: 24px 0 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: #46a351;
}

.p-pillars__desc {
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Schedule
   -------------------------------------------------------------------------- */
.p-schedule {
  padding: 100px 0;
}

.p-schedule__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 554px));
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.p-schedule__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  max-width: 554px;
  padding: 16px 29px 16px 13px;
  border: 1px solid var(--color-green);
  background: #fff;
}

.p-schedule__item--solo {
  grid-column: 1 / -1;
  max-width: 554px;
}

.p-schedule__badge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.p-schedule__code {
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.p-schedule__month {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  margin-top: 8px;
}

.p-schedule__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.p-schedule__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.p-schedule__body {
  font-size: 15px;
  line-height: 1.4;
}

/* Timeline */
.p-timeline__box {
  background: var(--color-bg-soft);
  padding: 40px;
}

.p-timeline__period {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 8px;
}

.p-timeline__time {
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

.p-timeline__track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: flex-start;
  position: relative;
  max-width: 1040px;
  margin: 0 auto 24px;
  padding: 0;
}

.p-timeline__track::before {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--color-green);
}

.p-timeline__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.p-timeline__circle {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--color-circle);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--color-green);
  text-align: center;
}

.p-timeline__sq {
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 25px;
  line-height: 1;
}

.p-timeline__modes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.p-timeline__mode {
  position: relative;
  padding-top: 24px;
  width: 100%;
}

.p-timeline__mode::before {
  content: "";
  position: absolute;
  top: 0;
  height: 12px;
  border: 1px solid var(--color-green);
  border-top: 0;
}

.p-timeline__mode--start {
  grid-column: 1;
}

.p-timeline__mode--start::before {
  left: calc(50% - 24px);
  right: calc(50% - 24px);
}

.p-timeline__mode--mid {
  grid-column: 2 / 6;
}

.p-timeline__mode--mid::before {
  left: calc(12.5% - 24px);
  right: calc(12.5% - 24px);
}

.p-timeline__mode--end {
  grid-column: 6;
}

.p-timeline__mode--end::before {
  left: calc(50% - 24px);
  right: calc(50% - 24px);
}

.p-timeline__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1060px;
  margin: 40px auto 0;
}

.p-timeline__info-card {
  display: grid;
  grid-template-columns: 144px 1fr;
  align-items: center;
  column-gap: 32px;
  background: #fff;
  border: 1px solid #e8eee4;
  padding: 16px 24px;
}

.p-timeline__info-card:last-child {
  align-items: start;
}

.p-timeline__info-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--color-green);
  margin: 0;
}

.p-timeline__info-text,
.p-timeline__list li {
  font-size: 16px;
  line-height: 1.8;
}

.p-timeline__info-text {
  margin: 0;
}

.p-timeline__list {
  margin: 0;
}

.p-timeline__list li + li {
  margin-top: 16px;
}

.p-timeline__sp-bracket {
  display: none;
}

/* --------------------------------------------------------------------------
   56 Areas
   -------------------------------------------------------------------------- */
.p-areas {
  padding: 0 0 100px;
}

.p-areas__sub {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.p-areas__title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-green);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.p-areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.p-areas__card {
  background: #fff;
  border: 1px solid var(--color-green);
  padding: 20px 16px;
  min-height: 206px;
  display: flex;
  flex-direction: column;
}

.p-areas__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-green);
}

.p-areas__icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.p-areas__icon img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
}

.p-areas__items {
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text);
}

.p-areas__cta {
  display: flex;
  justify-content: center;
}

.p-areas__cta .c-btn {
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */
.p-closing {
  position: relative;
  background: #fff;
}

.p-closing__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.p-closing__body {
  position: relative;
  height: 525px;
  padding: 100px 0;
  overflow: hidden;
}

.p-closing__circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.p-closing__circle {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

.p-closing__circle--1 {
  width: 279px;
  height: 279px;
  left: -65px;
  top: 172px;
}

.p-closing__circle--2 {
  width: 131px;
  height: 131px;
  left: 207px;
  top: 54px;
}

.p-closing__circle--3 {
  width: 204px;
  height: 204px;
  right: 188px;
  top: 24px;
}

.p-closing__circle--4 {
  width: 157px;
  height: 157px;
  left: 292px;
  top: 344px;
}

.p-closing__circle--5 {
  width: 163px;
  height: 163px;
  right: 163px;
  top: 323px;
}

.p-closing__circle--6 {
  width: 107px;
  height: 107px;
  right: 31px;
  top: 209px;
}

.p-closing__title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.8;
  color: var(--color-green);
  margin-bottom: 32px;
}

.p-closing__text {
  position: relative;
  z-index: 1;
  max-width: 703px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   CTA Band
   -------------------------------------------------------------------------- */
.p-band {
  position: relative;
  height: 398px;
  padding: 0;
  overflow: hidden;
  color: #fff;
}

.p-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-band__deco {
  display: none;
}

.p-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding-top: 80px;
  text-align: center;
}

.p-band__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 28px;
}

.p-band__note {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.l-footer {
  background: #fff;
  padding: 48px 0 32px;
}

.l-footer__inner {
  max-width: calc(var(--container) + var(--side) * 2);
  margin: 0 auto;
  padding: 0 var(--side);
}

.l-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.l-footer__site {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.55;
  max-width: 498px;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.l-footer__site-by {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--color-text);
  font-size: 14px;
  line-height: 2;
}

.l-footer__nav {
  display: flex;
  gap: 50px;
  padding-top: 16px;
}

.l-footer__mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 32px;
}

.l-footer__office {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-green);
  margin-bottom: 10px;
}

.l-footer__address {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.l-footer__email {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.l-footer__email a:hover {
  text-decoration: underline;
}

.l-footer__note {
  font-size: 13px;
  line-height: 1.4;
}

.l-footer__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.l-footer__logos img,
.l-footer__logo {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.l-footer__logo--kyudai {
  height: 66px;
}

.l-footer__logo--qpit {
  height: 66px;
}

.l-footer__logo--qgrep {
  height: 65px;
}

.l-footer__hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 0 0 24px;
}

.l-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.l-footer__copy {
  font-size: 12px;
  color: var(--color-muted);
}

.l-footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

.l-footer__privacy img {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Contact form (参加仮登録)
   -------------------------------------------------------------------------- */
.p-contact {
  border-bottom: 1px solid #ddd;
}

.p-contact__hero {
  background: var(--color-bg-soft);
  margin-top: -112px;
  padding: 192px 0 72px;
}

.p-contact__title {
  font-weight: 700;
  font-size: 38px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-text);
}

.p-contact__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 40px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.p-contact__breadcrumb a {
  color: var(--color-green);
}

.p-contact__breadcrumb-sep {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(45deg);
  margin: 0 4px;
}

.p-contact__body {
  position: relative;
  padding-top: 56px;
  padding-bottom: 100px;
}

.p-contact__body--thanks {
  padding-top: 72px;
  padding-bottom: 120px;
  text-align: center;
}

.p-contact__heading {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-green);
  margin-bottom: 40px;
}

.p-contact__lead {
  margin-bottom: 56px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.p-contact__lead p + p {
  margin-top: 0;
}

/* CF7 resets inside contact */
.wpcf7-turnstile {
  margin: 0 0 20px;
}

.p-contact .wpcf7-form > p {
  margin: 0;
}

.p-contact .wpcf7-spinner {
  margin-left: 12px;
}

.p-form__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px 24px;
  align-items: start;
  margin-bottom: 30px;
}

.p-form__label {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 18px;
}

/* CF7 が挿入する p を透過し、子要素を flex アイテムとして扱う */
.p-form__label > p {
  display: contents;
}

/* CF7 が項目名と必須の間に入れる br を無効化（意図した改行は label-text 内のみ許可） */
.p-form__label > br,
.p-form__label > p > br {
  display: none;
}

.p-form__label-text br {
  display: inline;
}

/* 長いラベルのみ必須を項目名の下へ */
.p-form__row--radio .p-form__label,
.p-form__row--count .p-form__label {
  flex-wrap: wrap;
  align-items: flex-start;
}

.p-form__row--radio .p-form__label-text,
.p-form__row--count .p-form__label-text {
  flex: 1 1 100%;
}

.p-form__row--checkbox .p-form__label {
  flex-wrap: wrap;
  align-items: flex-start;
}

.p-form__label-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: var(--grad-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.p-form__note {
  display: block;
  width: 100%;
  flex: 1 1 100%;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-form__control {
  min-width: 0;
}

.p-form__input,
.p-contact .wpcf7 input[type="text"],
.p-contact .wpcf7 input[type="email"],
.p-contact .wpcf7 input[type="tel"],
.p-contact .wpcf7 input[type="number"],
.p-contact .wpcf7 input[type="url"],
.p-contact .wpcf7 textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: var(--color-bg-soft);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-contact .wpcf7 input::placeholder,
.p-contact .wpcf7 textarea::placeholder {
  color: #c5c5c5;
  font-weight: 700;
}

.p-contact .wpcf7 textarea,
.p-form__textarea {
  min-height: 80px;
  resize: vertical;
}

.p-form__row--textarea .p-form__textarea,
.p-form__row--textarea .wpcf7-textarea {
  min-height: 120px;
}

.p-form__control--count {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  max-width: 100%;
}

/* CF7 が number と「名」の間に入れる p/br を無効化 */
.p-form__control--count > p {
  display: contents;
}

.p-form__control--count br {
  display: none;
}

.p-form__control--count .wpcf7-form-control-wrap {
  display: inline-block;
  width: 165px;
  flex: 0 0 165px;
  vertical-align: middle;
}

.p-form__input--count,
.p-contact .wpcf7 input[type="number"].p-form__input--count {
  display: block;
  width: 165px;
  max-width: 100%;
  min-height: 0;
  text-align: center;
}

.p-form__suffix {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-form__row--radio .p-form__control .wpcf7-form-control-wrap,
.p-form__row--checkbox .p-form__control .wpcf7-form-control-wrap {
  display: block;
}

.p-form__row--radio .wpcf7-radio,
.p-form__row--checkbox .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.p-form__row--checkbox .wpcf7-checkbox {
  gap: 12px 24px;
}

.p-contact .wpcf7-list-item {
  margin: 0;
}

.p-contact .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  cursor: pointer;
}

.p-contact .wpcf7-list-item-label {
  font-weight: 400;
}

.p-contact .wpcf7 input[type="radio"],
.p-contact .wpcf7 input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-green);
  cursor: pointer;
}

.p-contact .wpcf7 input[type="radio"] {
  width: 25px;
  height: 25px;
}

.p-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 56px 0 40px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-form__privacy > p {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
}

.p-form__privacy-check,
.p-form__privacy-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.p-form__privacy a {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
}

.p-form__privacy .wpcf7-form-control-wrap {
  display: inline-flex;
  align-items: center;
  margin: 0;
  vertical-align: middle;
}

.p-form__privacy .wpcf7-acceptance {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.p-form__privacy .wpcf7-list-item {
  margin: 0;
}

.p-form__privacy .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  line-height: 1;
}

.p-form__privacy .wpcf7-list-item-label:empty {
  display: none;
}

.p-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.p-form__actions--submit {
  display: none;
}

.p-contact--confirm .p-form__actions--input {
  display: none;
}

.p-contact--confirm .p-form__actions--submit {
  display: flex;
}

.p-contact--confirm .p-contact__form-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.p-contact__submit-status {
  min-height: 0;
  margin-top: 16px;
  text-align: center;
  color: var(--color-note);
  font-weight: 700;
  font-size: 14px;
}

.p-contact__submit-status:empty {
  display: none;
}

.p-form__confirm-btn,
.p-form__submit-btn,
.p-form__submit-trigger,
.p-contact__back-btn,
.p-contact__home-btn {
  min-width: 280px;
  min-height: 64px;
  font-size: 24px;
  line-height: 1.4;
  padding: 16px 48px;
  border-radius: 84px;
  gap: 10px;
  box-sizing: border-box;
}

.p-form__confirm-btn::after,
.p-form__submit-btn::after,
.p-form__submit-trigger::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../img/icon-arrow-right.svg") center / contain no-repeat;
  flex-shrink: 0;
  transition: none;
}

.c-btn--fill.p-form__confirm-btn:hover::after,
.c-btn--fill.p-form__confirm-btn:focus-visible::after,
.c-btn--fill.p-form__submit-btn:hover::after,
.c-btn--fill.p-form__submit-btn:focus-visible::after,
.c-btn--fill.p-form__submit-trigger:hover::after,
.c-btn--fill.p-form__submit-trigger:focus-visible::after {
  background-image: url("../img/icon-arrow-right-green.svg");
}

.p-contact__home-btn::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../img/icon-arrow-left.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.c-btn--fill.p-contact__home-btn:hover::before,
.c-btn--fill.p-contact__home-btn:focus-visible::before {
  background-image: url("../img/icon-arrow-left-green.svg");
}

.p-contact .wpcf7-submit.p-form__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-green);
  appearance: none;
  -webkit-appearance: none;
}

/* Confirm view */
.p-confirm__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px 24px;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.p-confirm__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.p-confirm__value {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  word-break: break-word;
  white-space: pre-wrap;
}

.p-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
}

.p-contact__actions--thanks {
  margin-top: 48px;
}

.p-contact__thanks-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.4;
  text-align: center;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}

.p-contact__thanks-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 48px;
}

.p-contact__inquiry {
  max-width: 750px;
  margin: 0 auto;
  padding: 32px 40px;
  background: var(--color-bg-soft);
  text-align: center;
}

.p-contact__inquiry-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-green);
  margin-bottom: 24px;
}

.p-contact__inquiry-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.p-contact__inquiry-body a {
  color: var(--color-text);
}

.p-contact .wpcf7-not-valid-tip {
  color: var(--color-note);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

.p-contact .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  text-align: center;
}

.p-form__row.is-invalid .p-form__control,
.p-form__privacy.is-invalid {
  outline: 2px solid var(--color-note);
  outline-offset: 4px;
}

/* ==========================================================================
   SP (max-width: 767px) — based on 390 design
   ========================================================================== */
@media screen and (max-width: 767px) {
  :root {
    --side: 16px;
  }

  .u-sp-only {
    display: block !important;
  }

  .u-pc-only {
    display: none !important;
  }

  .l-header__cta {
    display: none !important;
  }

  .l-header__logos {
    display: flex !important;
    gap: 8px;
    align-items: center;
  }

  .l-header__logo--qgrep {
    height: 40px;
    width: auto;
    display: block;
  }

  .l-header__logo--kyudai {
    display: none;
  }

  .l-header__logo--qpit {
    height: 40px;
    width: auto;
  }

  .l-header__cta-tip {
    display: none;
  }

  .l-header__right {
    gap: 8px;
  }

  .l-header__inner {
    padding: 12px 16px;
    align-items: start;
  }

  .l-header__title {
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .l-header__title br {
    display: inline;
  }

  .l-header__by {
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
    width: auto;
  }

  .l-header__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: calc(100% - 48px);
  }

  .c-btn {
    font-size: 16px;
    padding: 16px 48px;
    border-radius: 44px;
  }

  .c-heading {
    margin-bottom: 32px;
  }

  .c-heading__title {
    font-size: 24px;
  }

  /* Hero SP */
  .p-hero {
    margin-top: 0;
    padding: 16px 0 40px;
  }

  .p-hero__banner {
    font-size: 14px;
    line-height: 2;
    padding: 8px 16px;
    margin-bottom: 24px;
  }

  .p-hero__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .p-hero__visual {
    order: -1;
  }

  .p-hero__visual img {
    max-width: 328px;
  }

  .p-hero__catch {
    gap: 8px;
    margin-bottom: 16px;
  }

  .p-hero__catch-line {
    font-size: 28px;
    letter-spacing: 0.05em;
    padding: 4px 10px;
  }

  .p-hero__lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .p-hero__lead-em {
    font-size: 20px;
  }

  .p-hero__copy .c-btn {
    display: inline-flex;
    font-size: 13px;
    padding: 8px 26px;
    margin-bottom: 12px;
  }

  .p-hero__copy .c-btn__icon {
    width: 13px;
    height: 13px;
  }

  .p-hero__note {
    font-size: 10px;
    margin-bottom: 24px;
  }

  .p-hero__cta-sp {
    display: flex !important;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 358px;
    margin: 0;
    z-index: 10000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* About SP */
  .p-about {
    padding: 64px 0;
  }

  .p-about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-left: 0;
  }

  .p-about__media {
    margin-left: calc(-1 * var(--side));
    width: calc(100% + var(--side));
  }

  .p-about__media img {
    height: 259px;
  }

  .p-about__text {
    display: flex;
    flex-direction: column;
  }

  .p-about__highlight {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .p-closing__circle {
    opacity: 0.5;
  }

  .p-closing__circle--1,
  .p-closing__circle--4,
  .p-closing__circle--6 {
    display: none;
  }

  /* Pillars SP */
  .p-pillars {
    padding: 64px 0;
  }

  .p-pillars__intro {
    text-align: left;
    margin-bottom: 32px;
  }

  .p-pillars__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-pillars__media img {
    height: auto;
    aspect-ratio: 359 / 265;
  }

  .p-pillars__num {
    font-size: 64px;
    top: -36px;
    left: 12px;
    position: absolute;
    margin: 0;
  }

  .p-pillars__name {
    text-align: left;
  }

  /* Schedule SP */
  .p-schedule {
    padding: 64px 0 0;
  }

  .p-schedule__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .p-schedule__item {
    width: 100%;
  }

  .p-timeline__box {
    padding: 40px 16px;
  }

  .p-timeline__period {
    font-size: 20px;
  }

  .p-timeline__time {
    font-size: 18px;
  }

  .p-timeline__track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 16px;
    gap: 28px;
    max-width: none;
    width: fit-content;
    margin: 0 auto 24px;
  }

  .p-timeline__track::before {
    top: 42px;
    bottom: 42px;
    left: 58px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .p-timeline__node {
    flex-direction: row;
    width: auto;
    gap: 24px;
    align-items: center;
  }

  .p-timeline__sp-bracket {
    display: flex;
    align-items: center;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 16px;
    width: 12px;
    border: 1px solid var(--color-green);
    border-left: 0;
  }

  .p-timeline__sp-bracket--1,
  .p-timeline__sp-bracket--3 {
    height: 50px;
  }

  .p-timeline__sp-bracket--2 {
    height: calc(113px * 3 + 50px);
    transform: translateY(-25px);
  }

  .p-timeline__sp-label {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-text);
    margin-left: 12px;
    white-space: nowrap;
    letter-spacing: 0.1em;
  }

  .p-timeline__modes {
    display: none;
  }

  .p-timeline__info-card {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 16px;
  }

  /* Areas SP */
  .p-areas {
    padding: 64px 0;
  }

  .p-areas__grid {
    grid-template-columns: 1fr;
  }

  .p-areas__card {
    min-height: 0;
  }

  .p-areas__cta .c-btn {
    width: 100%;
    white-space: normal;
    font-size: 14px;
    padding: 16px 24px;
  }

  /* Closing / Band */
  .p-closing {
    padding: 0;
  }

  .p-closing__hero img {
    height: 206px;
    object-fit: cover;
    object-position: center;
  }

  .p-closing__body {
    height: auto;
    padding: 64px 0;
  }

  .p-closing__title {
    font-size: 22px;
  }

  .p-closing__text {
    text-align: left;
  }

  .p-band {
    height: auto;
    padding: 64px 0;
  }

  .p-band__inner {
    height: auto;
    padding-top: 0;
  }

  .p-band__title {
    font-size: 20px;
  }

  .p-band__note {
    font-size: 10px;
  }

  /* Footer SP */
  .l-footer__inner {
    padding: 0 16px;
  }

  .l-footer__top {
    flex-direction: column;
  }

  .l-footer__site {
    font-size: 18px;
  }

  .l-footer__nav {
    flex-direction: column;
    gap: 16px;
  }

  .l-footer__mid {
    flex-direction: column;
    align-items: flex-start;
  }

  .l-footer__logos {
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }

  .l-footer__logos img,
  .l-footer__logo {
    height: 48px;
  }

  .l-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Contact SP */
  .p-contact__hero {
    margin-top: -80px;
    padding: 128px 0 40px;
  }

  .p-contact__title {
    font-size: 28px;
  }

  .p-contact__breadcrumb {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .p-contact__body {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .p-contact__body--thanks {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .p-contact__heading {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: left;
  }

  .p-contact__lead {
    margin-bottom: 40px;
    font-size: 14px;
  }

  .p-form__row,
  .p-confirm__row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .p-form__label {
    padding-top: 0;
  }

  .p-form__input,
  .p-contact .wpcf7 input[type="text"],
  .p-contact .wpcf7 input[type="email"],
  .p-contact .wpcf7 input[type="tel"],
  .p-contact .wpcf7 input[type="number"],
  .p-contact .wpcf7 textarea {
    padding: 14px 16px;
  }

  .p-form__label {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .p-form__control--count .wpcf7-form-control-wrap {
    width: 120px;
    flex-basis: 120px;
  }

  .p-form__input--count,
  .p-contact .wpcf7 input[type="number"].p-form__input--count {
    width: 120px;
  }

  .p-form__privacy {
    margin: 40px 0 32px;
    align-items: center;
    font-size: 14px;
    gap: 8px 10px;
  }

  .p-form__privacy > p {
    justify-content: flex-start;
    gap: 8px 10px;
  }

  .p-form__row--radio .wpcf7-radio,
  .p-form__row--checkbox .wpcf7-checkbox {
    flex-direction: column;
    gap: 10px;
  }

  .p-form__confirm-btn,
  .p-form__submit-btn,
  .p-form__submit-trigger,
  .p-contact__back-btn,
  .p-contact__home-btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 18px;
  }

  .p-contact__actions {
    flex-direction: column;
    margin-top: 40px;
  }

  .p-contact__thanks-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .p-contact__inquiry {
    padding: 24px 16px;
  }

  .p-contact__inquiry-title {
    font-size: 18px;
  }
}

/* Tablet mid */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  :root {
    --side: 40px;
  }

  .p-hero__body {
    grid-template-columns: 1fr 1fr;
  }

  .p-hero__catch-line {
    font-size: 32px;
  }

  .p-hero__lead {
    font-size: 20px;
  }

  .p-hero__lead-em {
    font-size: 24px;
  }

  .p-about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .p-schedule__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .p-schedule__item {
    width: 100%;
    padding: 16px;
  }

  .p-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-header__title {
    font-size: 22px;
    white-space: normal;
    line-height: 1.4;
    flex-shrink: 1;
  }
}
