/* ========================
   CSS Custom Properties
   ======================== */
:root {
  --color-primary: #008EDC;
  --color-bg-accent: #CFEEFF;
  --color-text: #008EDC;
  --color-text-dark: #505050;
  --color-white: #fff;
  --color-shadow: rgba(10, 69, 101, 0.09);
  --color-shadow-hover: rgba(10, 69, 101, 0.18);

  --font-body: "Roboto", "Zen Kaku Gothic New", sans-serif;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-full: 50px;

  --space-section: clamp(60px, 8vw, 100px);
  --transition: 0.3s;
}

/* ========================
   Responsive Utilities
   ======================== */
@media screen and (max-width: 767px) {
  .is-pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .is-sp {
    display: none !important;
  }
}

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

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  opacity: 0.7;
}

/* ========================
   Layout
   ======================== */
.inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: content-box;
}
@media screen and (max-width: 767px) {
  .inner {
    padding: 0 20px;
  }
}

section {
  padding: var(--space-section) 0;
}

/* ========================
   Hero
   ======================== */
.hero {
  background: linear-gradient(135deg, #CFEEFF, #e8f6ff);
  padding: 73px 0 0;
}
@media screen and (max-width: 767px) {
  .hero {
    margin: 20px 20px 0;
    position: relative;
    border-radius: var(--radius-sm);
    padding: 39px 0 0;
  }
}

.hero__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 849.5px) and (min-width: 768px) {
  .hero__grid {
    gap: 1%;
  }
}
@media screen and (max-width: 767px) {
  .hero__grid {
    flex-direction: column;
    align-items: center;
  }
}

.hero__content {
  text-align: center;
  padding-right: 40px;
}
@media screen and (max-width: 767px) {
  .hero__content {
    padding-right: 0;
  }
}

.hero img {
  width: auto;
}

.hero__media {
  max-width: 360px;
}
.hero__media img {
  width: 100%;
}
@media screen and (max-width: 849.5px) and (min-width: 768px) {
  .hero__media {
    width: 51.4vw;
  }
}
@media screen and (max-width: 767px) {
  .hero__media {
    margin-right: 3vw;
  }
}

.hero__title {
  font-size: 62px;
  font-weight: 900;
  letter-spacing: 18.6px;
  padding-left: 26px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .hero__title {
    font-size: 42px;
    letter-spacing: 12.6px;
    padding-left: 12.6px;
  }
}

.hero__tagline {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  margin-left: 18px;
  margin-top: 30px;
  margin-bottom: 12px;
}
@media screen and (max-width: 849.5px) and (min-width: 768px) {
  .hero__tagline {
    font-size: 21px;
  }
}
@media screen and (max-width: 767px) {
  .hero__tagline {
    font-size: 16px;
    letter-spacing: 3.2px;
    margin-left: 0;
    margin-top: 0;
  }
}

.hero__anniversary {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 5.6px;
  text-align: center;
  margin-bottom: 24px;
}

@media screen and (max-width: 767px) {
  .hero__anniversary {
    font-size: 16px;
    letter-spacing: 3.2px;
  }
}

@media screen and (min-width: 768px) {
  .hero__content .icon {
    width: 100px !important;
  }
}

@media screen and (max-width: 767px) {
  .icon {
    width: 60px !important;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .badge {
    position: absolute;
    bottom: -55px;
    left: 48%;
    transform: translateX(-50%);
  }
}

/* ========================
   App Intro
   ======================== */
.app-intro {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .app-intro {
    padding: 100px 0 60px;
  }
}

.app-intro__label {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 5.2px;
  line-height: 1.4;
  margin-left: 18px;
  margin-top: 30px;
  margin-bottom: 16px;
}
@media screen and (max-width: 767px) {
  .app-intro__label {
    font-size: 22px;
    letter-spacing: 3.2px;
    margin-left: 0;
    margin-top: 0;
  }
}

.app-intro__description {
  font-size: 20px;
  margin-bottom: 30px;
  letter-spacing: 4px;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .app-intro__description {
    letter-spacing: 3.2px;
    margin-left: 3.2px;
    font-size: 16px;
  }
}

/* ========================
   Store Badges
   ======================== */
.store-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .store-badges {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
}
.store-badges a {
  display: inline-block;
}
.store-badges a:first-child {
  max-width: 191px;
}
@media screen and (max-width: 767px) {
  .store-badges a:first-child {
    max-width: 160px;
  }
}
.store-badges a:last-child {
  max-width: 230px;
}
@media screen and (max-width: 767px) {
  .store-badges a:last-child {
    max-width: 190px;
  }
}

/* ========================
   Demo (feature--demo)
   ======================== */
.feature--demo {
  padding-bottom: 0;
}

@media screen and (min-width: 768px) {
  .feature--demo .feature__content {
    padding-bottom: 100px;
  }
}

/* PC: demo__gridがfeature__gridの右カラムに入る */
.demo__grid {
  display: flex;
  align-items: flex-end;
  gap: 32px; /* box-shadow 8px × 両側 = 16px分を加算 */
  flex: 1;
  min-width: 0;
}
@media screen and (max-width: 767px) {
  .demo__grid {
    gap: 24px;
    justify-content: center;
  }
}

.demo__phone {
  flex: 1;
  min-width: 0;
  max-width: 180px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .demo__phone {
    flex: none;
    width: 42vw;
    max-width: 160px;
  }
}

/* 人物画像：スマホの前面に配置 */
.demo__person {
  position: absolute;
  bottom: 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
}

.demo__person--left {
  left: -12%;
}

.demo__person--right {
  right: -12%;
}

.demo__phone-frame {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  /* ベゼル（iPhone風） */
  border: 6px solid #fff;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.demo__phone-frame--dark {
  border-color: #1a1a1a;
  outline-color: rgba(0,0,0,0.20);
  background: #1a1a1a;
}

.demo__phone-frame--dark .demo__notch {
  background: #1a1a1a;
}

.demo__phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================
   Features
   ======================== */
.feature__grid {
  display: flex;
  align-items: center;
  gap: 5.88%;
}
@media screen and (max-width: 767px) {
  .feature__grid {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
}

.feature__content {
  max-width: 450px;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .feature__content {
    padding: 0 20px;
  }
}

.features .feature:nth-child(even) .feature__grid {
  flex-direction: row-reverse;
}
@media screen and (max-width: 767px) {
  .features .feature:nth-child(even) .feature__grid {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .features .feature:nth-child(2) {
    padding-bottom: 0;
  }
  .features .feature:nth-child(2) .feature__media {
    width: 100vw;
  }
  .features .feature:nth-child(4) {
    padding-bottom: 0;
  }
}

.features .feature:nth-child(3) {
  padding-bottom: 0;
}
.features .feature:nth-child(3) .feature__grid {
  align-items: flex-end;
}
.features .feature:nth-child(3) .feature__grid .feature__content {
  padding-bottom: 100px;
}
@media screen and (max-width: 767px) {
  .features .feature:nth-child(3) .feature__grid .feature__content {
    padding-bottom: 0;
  }
  .features .feature:nth-child(3) .feature__media {
    padding: 0 30px;
  }
}

@media screen and (min-width: 768px) {
  .features .feature:nth-child(4) .feature__content {
    flex-shrink: 0;
    width: 300px;
  }
}

.features .feature:nth-child(5) .feature__media {
  padding: 0 35px;
}

.features .feature h2 {
  font-size: 28px;
  letter-spacing: 5.6px;
  margin-left: -5.6px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .features .feature h2 {
    margin-left: 0;
  }
}

.features .feature p {
  letter-spacing: 3.2px;
  margin-left: -3.2px;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .features .feature p {
    margin-left: 0;
  }
}

.feature--accent {
  background: linear-gradient(135deg, #CFEEFF, #e8f6ff);
}

.feature--accent:first-child {
  background: linear-gradient(135deg, #c5e9fc, #d8f0fc);
}

/* ========================
   Reviews
   ======================== */
.reviews {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .reviews {
    text-align: left;
  }
}
.reviews .inner {
  max-width: 780px;
}

.reviews__header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 5.2px;
  margin-bottom: 16px;
}
@media screen and (max-width: 767px) {
  .reviews__header {
    padding: 0 20px;
  }
  .reviews__header h2 {
    font-size: 24px;
    letter-spacing: 3.2px;
  }
}

.reviews__list {
  margin: 63px 0 50px;
}
@media screen and (max-width: 767px) {
  .reviews__list {
    margin: 50px 0 50px;
  }
}

.review-card {
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0px 0px 25px 0px var(--color-shadow);
  color: var(--color-text-dark);
  padding: 30px 40px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
@media screen and (max-width: 767px) {
  .review-card {
    padding: 40px 30px;
  }
}
.review-card:not(:first-child) {
  margin-top: 20px;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 35px 0px var(--color-shadow-hover);
}

.review-card__head {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4.4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 767px) {
  .review-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.review-card__head img {
  width: 110px;
}

.review-card__body {
  letter-spacing: 3.2px;
  line-height: 1.8;
}

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-block;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  font-size: 20px;
  line-height: 2;
  padding: 5px 45px 5px 49px;
  letter-spacing: 4px;
  transition: background-color var(--transition), color var(--transition);
}
.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.reviews__cta {
  text-align: center;
  margin-bottom: 40px;
}
.reviews__cta p {
  color: var(--color-text-dark);
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .reviews__cta p {
    margin-bottom: 10px;
  }
}

.reviews__link {
  margin-top: 32px;
  text-align: center;
}

/* ========================
   Footer
   ======================== */
.site-footer {
  text-align: center;
  padding: var(--space-section) 0 20px;
  background: linear-gradient(135deg, #CFEEFF, #e8f6ff);
}
@media screen and (max-width: 767px) {
  .site-footer {
    padding: 39px 0 20px;
  }
}
.site-footer img {
  width: auto;
}
.site-footer .store-badges {
  margin-top: 30px;
}
.site-footer .store-badges img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .site-footer .icon {
    width: 100px !important;
  }
}
@media screen and (max-width: 767px) {
  .site-footer .icon {
    margin-bottom: 0;
  }
}

.footer__copy {
  font-size: 12px;
  color: var(--color-text-dark);
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-top: 50px;
}

/* ========================
   Invitation Card
   ======================== */
body.invitation-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #F5F6F7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  line-height: 1.6;
  color: #333;
}

.invitation-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
  text-align: center;
}

.invitation-card .app-icon {
  width: 100px;
  margin-bottom: 10px;
}

.invitation-card .description {
  margin-bottom: 24px;
}

.invitation-card .description p {
  padding: 0;
  margin: 4px;
}
