@charset "UTF-8";
/* =====================================================
   セクション別スタイル
   ヒーロー〜お問い合わせまでの各セクション
   ===================================================== */

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: 700px;
  overflow: hidden;
  padding-bottom: 40px;
}

.hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 57%;
  aspect-ratio: 719/502;
  container-type: inline-size;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
  clip-path: url(#heroClip);
}

.hero__catch {
  position: absolute;
  right: 3%;
  bottom: 5.5%;
  font-family: var(--hand);
  font-weight: bold;
  font-size: 2.9cqw;
  line-height: 1.75;
  letter-spacing: .08em;
  color: var(--green);
  transform: rotate(-8deg);
  transform-origin: left top;
  white-space: nowrap;
}

.hero__catch span {
  display: block;
  padding-left: .2em;
}

.hero__badge {
  position: absolute;
  right: 5%;
  bottom: 25%;
  width: 21.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,#4aa8ea,#1b80d2 70%);
  box-shadow: 0 0 0 1.4cqw rgba(255,255,255,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--round);
  font-weight: 900;
  color: #fff;
  font-size: 3.3cqw;
  line-height: 1.35;
  letter-spacing: .04em;
}

.hero__badge b {
  display: block;
  font-size: 6cqw;
  line-height: 1.2;
}

.hero__body {
  position: relative;
  padding: 56px 0 0 68px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .08em;
}

.hero p.hero__copy {
  font-family: var(--round);
  font-weight: 900;
  font-size: 50px;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--ink);
}

.hero p.hero__copy em {
  font-style: normal;
  color: var(--blue);
}

.hero__text {
  font-size: 14px;
  line-height: 2;
  color: #374151;
}

.hero__btn {
  align-self: flex-start;
  margin-top: 6px;
}

.hero__welcome {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy);
}

.hero__welcome span {
  background: linear-gradient(transparent 62%,rgba(45,127,211,.16) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.stats {
  position: relative;
  margin: 30px 40px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(31,63,134,.08);
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 25px 0;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  min-height: 60px;
}

.stat:last-child {
  border-right: none;
}

.stat svg {
  width: 36px;
  height: 36px;
  color: var(--icon);
}

.stat dt {
  font-size: 12px;
  color: var(--sub);
}

.stat dd {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}

.stat small {
  font-size: 15px;
  margin-left: 2px;
}

.stats__note {
  position: relative;
  text-align: right;
  margin: 8px 44px 0;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- about ---------- */

.about {
  padding: 80px 0 60px 56px;
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.about__body {
  width: 500px;
  flex-shrink: 0;
}

.about__body .sec-title {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.about__text {
  font-size: 15px;
  line-height: 2.2;
  color: #374151;
}


.about__img {
  flex: 1;
  min-width: 0;
  height: 500px;
  object-fit: cover;
  border-radius: 24px 0 0 24px;
}

/* ---------- works ---------- */

.works {
  padding: 20px 0 60px;
}

.works__list {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 5件：上段3つ・下段2つを中央に */
.works__list > * {
  grid-column: span 2;
}

.works__list > :nth-child(4) {
  grid-column: 2 / span 2;
}

.work {
  display: flex;
  height: 200px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(20,40,80,.10);
}

.work__body {
  flex: 1;
  min-width: 0;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work__body svg {
  width: 30px;
  height: 30px;
  color: var(--navy);
}

.work h3 {
  font-size: 15px;
  font-weight: 700;
}

.work p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--sub);
}

.work img {
  width: 136px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.works__more {
  margin-top: 36px;
  text-align: center;
}

/* ---------- features ---------- */

.features {
  padding: 40px 0 80px;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature {
  padding: 40px 24px;
  background: var(--pale);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.feature svg {
  width: 44px;
  height: 44px;
  color: var(--navy);
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
}

.feature p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--sub);
}

/* ---------- steps (schedule / flow) ---------- */

.schedule {
  background: var(--pale);
  padding: 64px 0 60px;
}

.flow {
  padding: 76px 0 60px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  width: 160px;
  flex-shrink: 0;
  padding: 24px 18px 20px;
  border-radius: 100px 100px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.schedule .step {
  min-height: 226px;
  border: 1.5px solid #fff;
}

.flow .step {
  min-height: 212px;
  border: 1px solid var(--frame);
  padding-top: 22px;
}

.step__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__icon svg {
  width: 30px;
  height: 30px;
  color: var(--navy);
}

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.step h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.flow .step h3 {
  font-size: 15px;
}

.step p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--sub);
}

.flow .step p {
  font-size: 11px;
}

.steps__arrow {
  flex-shrink: 0;
  padding: 0 14px;
  color: var(--muted);
}

.steps__arrow::before {
  content: "→";
}

/* ---------- gallery ---------- */

.gallery {
  padding: 72px 0 0;
}

.gallery__list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery__list img {
  width: 100%;
  height: 284px;
  object-fit: cover;
  border-radius: 4px;
}

/* ---------- faq ---------- */

.faq {
  background: var(--pale);
  padding: 88px 0 96px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: #fff;
  border-radius: 2px;
}

.faq summary {
  min-height: 58px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--navy);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sub);
}

/* ---------- access ---------- */

.access {
  padding: 96px 0 60px;
}

.access__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.5fr);
  align-items: stretch;
  gap: 48px;
}

.access__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.access__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.access__name svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

.access__addr {
  font-style: normal;
  font-size: 14px;
  line-height: 2;
  color: #374151;
}

.access__info .btn {
  margin-top: 14px;
  align-self: flex-start;
}

.access__map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid var(--frame);
  border-radius: 8px;
}

/* ---------- contact CTA ---------- */

.contact {
  padding: 40px 40px 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.contact__box {
  display: flex;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cta-bg);
}

.contact__photo {
  position: relative;
  width: 520px;
  flex-shrink: 0;
  overflow: hidden;
}

.contact__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__catch {
  position: absolute;
  left: 28px;
  top: 34px;
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .06em;
  color: var(--navy);
  transform: rotate(-6deg);
  transform-origin: left top;
  white-space: nowrap;
}

.contact__body {
  position: relative;
  flex: 1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__body h2 {
  font-family: var(--round);
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .04em;
}

.contact__body p {
  font-size: 14px;
  color: #374151;
}

.contact__body .btn {
  margin-top: 14px;
  align-self: flex-start;
  height: 62px;
  padding: 0 40px;
  font-size: 16px;
}

.badge {
  position: absolute;
  right: 44px;
  top: 36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--badge);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-10deg);
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #374151;
}

/* ---------- welcome ---------- */

.welcome {
  padding: 88px 0 20px;
}

.welcome__panel {
  position: relative;
  overflow: hidden;
  background: var(--cta-bg);
  border-radius: 28px;
  padding: 64px 48px 48px;
}

.welcome__panel::before,
.welcome__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.welcome__panel::before {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -90px;
  background: rgba(255,255,255,.55);
}

.welcome__panel::after {
  width: 180px;
  height: 180px;
  left: -60px;
  bottom: -70px;
  background: rgba(45,127,211,.08);
}

.welcome__head {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.welcome__en {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--navy);
  margin-bottom: 10px;
}

.welcome__head h2 {
  font-family: var(--round);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--ink);
}

.welcome__head h2 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(transparent 68%,#fff 68%);
}

.welcome__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2;
  color: #374151;
}

.welcome__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.welcome__chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(31,63,134,.08);
}

.welcome__chips svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.welcome__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.welcome__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(31,63,134,.06);
}

.welcome__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome__check svg {
  width: 16px;
  height: 16px;
}

.welcome__item--cta {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--navy);
  color: #fff;
}

.welcome__item--cta strong {
  font-family: var(--round);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}

.welcome__item--cta span {
  font-size: 13px;
  opacity: .9;
}

.welcome__item--cta a {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
}

.welcome__item--cta a:hover {
  background: var(--pale);
  color: var(--navy-dark);
}

/* =====================================================
   ワイド（1441px〜）：コンテンツを1440px幅に揃える
   ===================================================== */

@media (min-width:1441px) {
  .hero__body {
    margin-left: calc((100% - 1440px) / 2);
    min-height: calc(min(57vw, 1100px) * 502 / 719 - 10px);
    justify-content: center;
    padding-top: 0;
  }
  .hero__visual {
    width: min(57%, 1100px);
  }
  .stats {
    max-width: 1360px;
    margin: 30px auto 0;
  }
  .stats__note {
    max-width: 1360px;
    margin: 8px auto 0;
  }
  .about {
    padding-right: 56px;
  }
  .about__img {
    border-radius: 24px;
  }
}

/* =====================================================
   タブレット（〜1180px）
   ===================================================== */
@media (max-width:1180px) {
  .welcome__list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .welcome__panel {
    padding: 56px 40px 48px;
  }
  .hero__body {
    padding-left: 40px;
    max-width: 520px;
  }
  .hero p.hero__copy {
    font-size: 42px;
  }
  .about {
    padding-left: 40px;
    gap: 48px;
  }
  .about__body {
    width: 340px;
  }
  .works__list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .works__list > *,
  .works__list > :nth-child(4) {
    grid-column: auto;
  }
  .works__list > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .contact__photo {
    width: 42%;
  }
  .contact__body {
    padding: 40px;
  }
  .badge {
    width: 100px;
    height: 100px;
    font-size: 12px;
    right: 24px;
    top: 24px;
  }
  .step {
    width: 140px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .steps__arrow {
    padding: 0 8px;
  }
}

@media (max-width:1000px) {
  .hero__visual {
    position: relative;
    width: 100%;
  }
  .hero__body {
    padding: 32px 40px 0;
    max-width: none;
  }
  .stats {
    margin: 32px 24px 0;
  }
  .stats__note {
    margin: 8px 28px 0;
  }
  .steps {
    flex-wrap: wrap;
    row-gap: 16px;
  }
}

/* =====================================================
   スマートフォン（〜767px）
   ===================================================== */

@media (max-width:767px) {
  .hero {
    min-height: 0;
    padding-bottom: 32px;
  }
  .hero__body {
    padding: 24px 24px 0;
    gap: 16px;
  }
  .hero__lead {
    font-size: 12px;
  }
  .hero p.hero__copy {
    font-size: 30px;
  }
  .hero__text {
    font-size: 13px;
    line-height: 1.9;
  }
  .hero__text br {
    display: none;
  }
  .hero__btn {
    align-self: stretch;
    height: 56px;
  }
  .stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin: 28px 16px 0;
    padding: 0;
  }
  .stat {
    min-height: 84px;
    gap: 10px;
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2n) {
    border-right: none;
  }
  .stat:nth-child(n+3) {
    border-bottom: none;
  }
  .stat svg {
    width: 26px;
    height: 26px;
  }
  .stat dt {
    font-size: 11px;
  }
  .stat dd {
    font-size: 24px;
  }
  .stat small {
    font-size: 13px;
  }
  .stats__note {
    margin: 8px 20px 0;
  }
  .about {
    flex-direction: column;
    align-items: stretch;
    padding: 56px 0 40px 24px;
    gap: 0;
  }
  .about__body {
    width: auto;
    padding-right: 24px;
  }
  .about__body .sec-title {
    gap: 8px;
    margin-bottom: 20px;
  }
  .about__text {
    font-size: 14px;
    line-height: 2.1;
  }
  .about__text br {
    display: none;
  }
  .about__img {
    margin-top: 32px;
    height: 236px;
    border-radius: 16px 0 0 16px;
  }
  .works {
    padding: 40px 0 40px;
  }
  .works__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .works__list > :last-child:nth-child(odd) {
    grid-column: auto;
  }
  .work {
    height: 124px;
    border-radius: 8px;
  }
  .work__body {
    padding: 18px 16px;
    gap: 6px;
  }
  .work__body svg {
    width: 24px;
    height: 24px;
  }
  .work p {
    line-height: 1.7;
  }
  .work img {
    width: 112px;
  }
  .features {
    padding: 40px 0 56px;
  }
  .features__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature {
    padding: 28px 20px;
    gap: 12px;
    border-radius: 6px;
  }
  .feature svg {
    width: 38px;
    height: 38px;
  }
  .feature h3 {
    font-size: 16px;
  }
  .schedule {
    padding: 56px 0;
  }
  .flow {
    padding: 40px 0 56px;
  }
  .steps {
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 0;
  }
  .step,
  .schedule .step,
  .flow .step {
    width: 100%;
    min-height: 88px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 0 20px 0 12px;
    border-radius: 44px 12px 12px 44px;
  }
  .flow .step {
    padding-left: 16px;
  }
  .step--alt,
  .schedule .step--alt,
  .flow .step--alt {
    border-radius: 12px 44px 44px 12px;
  }
  .step__icon {
    width: 64px;
    height: 64px;
  }
  .step__icon svg {
    width: 24px;
    height: 24px;
  }
  .step__num {
    font-size: 18px;
  }
  .step h3,
  .flow .step h3 {
    margin-top: 0;
    font-size: 16px;
  }
  .flow .step h3 {
    font-size: 15px;
  }
  .step p,
  .flow .step p {
    font-size: 12px;
  }
  .step br {
    display: none;
  }
  .steps__arrow {
    padding: 0;
    height: 28px;
    display: flex;
    align-items: center;
  }
  .steps__arrow::before {
    content: "↓";
  }
  .gallery {
    padding: 56px 0 0;
  }
  .gallery__list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .gallery__list img {
    height: 172px;
    border-radius: 6px;
  }
  .faq {
    padding: 56px 0;
  }
  .faq__list {
    gap: 10px;
  }
  .faq details {
    border-radius: 4px;
  }
  .faq summary {
    min-height: 56px;
    padding: 12px 18px;
    font-size: 14px;
  }
  .faq__answer {
    padding: 0 18px 18px;
  }
  .access {
    padding: 56px 0 40px;
  }
  .access__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .access__info {
    width: auto;
    display: contents;
  }
  .access__info .btn {
    order: 3;
    margin-top: 0;
    align-self: stretch;
  }
  .access__name,
  .access__addr {
    order: 1;
  }
  .access__map {
    order: 2;
    width: 100%;
    height: 260px;
    min-height: 0;
    border-radius: 6px;
  }
  .contact {
    padding: 16px 16px 40px;
  }
  .contact__box {
    flex-direction: column;
    border-radius: 16px;
  }
  .contact__photo {
    width: 100%;
    height: 180px;
  }
  .contact__catch {
    left: 18px;
    top: 22px;
    font-size: 14px;
  }
  .contact__body {
    padding: 24px 20px 28px;
    gap: 10px;
  }
  .contact__body h2 {
    font-size: 22px;
    line-height: 1.5;
  }
  .contact__body p {
    font-size: 13px;
    line-height: 1.8;
  }
  .contact__body .btn {
    align-self: stretch;
    margin-top: 10px;
    height: 56px;
    padding: 0 16px;
    font-size: 13px;
  }
  .badge {
    position: absolute;
    right: 12px;
    top: auto;
    bottom: calc(100% + 84px);
    width: 84px;
    height: 84px;
    font-size: 11px;
    line-height: 1.5;
  }
  .welcome {
    padding: 56px 0 8px;
  }
  .welcome .inner {
    padding: 0 16px;
  }
  .welcome__panel {
    padding: 44px 10px 28px;
    border-radius: 20px;
  }
  .welcome__head {
    margin-bottom: 28px;
  }
  .welcome__head h2 {
    font-size: 24px;
  }
  .welcome__lead {
    font-size: 13px;
    line-height: 1.9;
    text-align: left;
  }
  .welcome__lead br {
    display: none;
  }
  .welcome__chips {
    gap: 8px;
  }
  .welcome__chips li {
    padding: 8px 14px;
    font-size: 12px;
  }
  .welcome__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .welcome__item {
    padding: 16px 16px;
    font-size: 14px;
    border-radius: 12px;
  }
}

@media (min-width:768px) {
  .contact__body h2 br {
    display: none;
  }
}
