/* ========================================
RESET
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Noto Sans JP",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  color: #10214d;
  background: #fff;
  line-height: 1.7;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* ========================================
HEADER
======================================== */

.site-header {
  height: 72px;

  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #edf1f8;

  position: relative;
  z-index: 20;
}

.header-inner {
  width: min(1400px, calc(100% - 40px));
  height: 100%;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;

  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  position: relative;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 10px;
}

.logo-mark img {
  width: 72px;
  max-width: none;
  height: auto;
  position: absolute;
  top: 0;
  left: -14px;
}

.site-logo > div {
  display: flex;
  flex-direction: column;
}

.site-logo strong {
  font-size: 17px;
  line-height: 1.2;
}

.site-logo span {
  margin-top: 3px;

  font-size: 8px;
  color: #8390aa;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.global-nav a {
  font-size: 12px;
  font-weight: 700;

  transition: .25s;
}

.global-nav a:hover {
  color: #3476eb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search,
.header-favorite,
.header-menu {
  height: 40px;

  display: grid;
  place-items: center;

  background: #f4f7fc;

  border-radius: 25px;

  color: #486084;
}

.header-search {
  padding: 0 18px;

  font-size: 11px;
}

.header-favorite,
.header-menu {
  width: 40px;

  font-size: 18px;
}


/* ========================================
HERO
======================================== */

.hero {
  min-height: 475px;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      110deg,
      #fbfdff 0%,
      #f1f7ff 50%,
      #faf7ff 100%
    );
}

.hero-wave {
  position: absolute;

  inset: 0;

  opacity: .78;

  pointer-events: none;
}

.hero-wave img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-inner {
  min-height: 475px;

  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 1.05fr;

  align-items: center;
}

.hero-copy {
  padding: 55px 0;
}

.hero-eyebrow {
  margin-bottom: 10px;

  color: #5485eb;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .22em;
}

.hero h1 {
  font-size: clamp(42px, 4.4vw, 62px);

  line-height: 1.25;

  letter-spacing: -.04em;
}

.hero h1 span {
  color: #245ad3;
}

.hero-description {
  margin-top: 20px;

  color: #566580;

  font-size: 15px;
  font-weight: 600;
}

.hero-buttons {
  margin-top: 30px;

  display: flex;
  gap: 14px;
}

.button {
  min-width: 195px;

  padding: 15px 22px;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  gap: 12px;

  border-radius: 100px;

  font-size: 14px;
  font-weight: 800;

  transition: .25s;
}

.button-primary {
  color: white;

  background:
    linear-gradient(
      90deg,
      #1394f5,
      #2454ee
    );

  box-shadow:
    0 12px 30px rgba(37,101,229,.27);
}

.button-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 15px 34px rgba(37,101,229,.35);
}

.button-secondary {
  background: white;

  box-shadow:
    0 8px 28px rgba(43,71,126,.12);
}

.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 30px;

  display: flex;
}

.stat {
  min-width: 135px;

  padding: 0 26px;

  border-left: 1px solid #d9e0ec;
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat small {
  display: block;

  color: #71809b;

  font-size: 10px;
}

.stat strong {
  display: block;

  margin-top: 3px;

  color: #143379;

  font-size: 26px;
}

.stat strong span {
  margin-left: 2px;

  font-size: 13px;
}

.stat .stat-text {
  margin-top: 8px;

  font-size: 14px;
}


/* HERO PHONES */

.hero-visual {
  height: 430px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-image {
  max-width: 630px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 25px 40px rgba(28,54,110,.18)
    );
}

.hero-handwriting {
  position: absolute;

  top: 55px;
  right: -15px;

  color: #253d77;

  font-size: 19px;
  font-weight: 600;

  line-height: 1.6;

  transform: rotate(-7deg);
}


/* ========================================
BENEFITS
======================================== */

.benefits {
  position: relative;
  z-index: 5;

  margin-top: -26px;
}

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.benefit-card {
  min-height: 82px;

  padding: 17px;

  display: grid;

  grid-template-columns: 48px 1fr 18px;

  align-items: center;

  gap: 12px;

  background: white;

  border:
    1px solid #ecf0f7;

  border-radius: 12px;

  box-shadow:
    0 8px 28px rgba(31,60,113,.08);
}

.benefit-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  font-weight: 900;
}

.benefit-icon.blue {
  background: #e4f5ff;
  color: #178be6;
}

.benefit-icon.purple {
  background: #eeeaff;
  color: #6b58e7;
}

.benefit-icon.violet {
  background: #f2e8ff;
  color: #9851e8;
}

.benefit-icon.orange {
  background: #ffebe6;
  color: #ff6846;
}

.benefit-card strong {
  display: block;

  font-size: 13px;
}

.benefit-card p {
  margin-top: 2px;

  color: #8993a6;

  font-size: 9px;
}


/* ========================================
SECTION COMMON
======================================== */

.section {
  padding: 60px 0;
}

.section-heading {
  margin-bottom: 27px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 25px;
}

.section-label {
  margin-bottom: 4px;

  color: #5584e4;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .2em;
}

.section-heading h2,
.flow-heading h2 {
  font-size: 30px;

  line-height: 1.3;
}

.section-link {
  color: #2e65d4;

  font-size: 12px;
  font-weight: 800;
}

.section-description {
  margin-bottom: 5px;

  color: #7b879b;

  font-size: 11px;
}


/* ========================================
CAMPAIGN
======================================== */

.campaign-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;
}

.campaign-card {
  padding: 15px 15px 16px;

  overflow: hidden;

  background: white;

  border:
    1px solid #edf0f7;

  border-radius: 13px;

  box-shadow:
    0 9px 30px rgba(35,62,105,.07);
}

.campaign-badge {
  display: inline-block;

  padding: 4px 12px;

  color: white;

  border-radius: 30px;

  font-size: 9px;
  font-weight: 800;
}

.badge-blue {
  background: #24a9e9;
}

.badge-purple {
  background: #8d5be5;
}

.badge-green {
  background: #3ab95d;
}

.badge-orange {
  background: #ff704a;
}

.campaign-image {
  height: 145px;

  margin-top: 8px;

  overflow: hidden;

  border-radius: 8px;

  background: #f6f9ff;
}

.campaign-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.campaign-card h3 {
  margin-top: 12px;

  font-size: 18px;
}

.campaign-copy {
  color: #7b8799;

  font-size: 10px;
}

.campaign-price {
  margin-top: 13px;
}

.campaign-price small {
  display: block;

  color: #8791a4;

  font-size: 9px;
}

.campaign-price strong {
  color: #1786e5;

  font-size: 28px;
}

.campaign-price strong span {
  margin-left: 2px;

  font-size: 12px;
}

.price-purple strong {
  color: #8054e6;
}

.price-green strong {
  color: #2aac55;
}

.price-orange strong {
  color: #ff633a;
}

.campaign-card dl {
  margin-top: 9px;
  padding-top: 7px;

  border-top:
    1px solid #edf0f7;
}

.campaign-card dl div {
  padding: 4px 0;

  display: flex;
  justify-content: space-between;

  gap: 10px;

  font-size: 10px;
}

.campaign-card dt {
  color: #657189;
}

.campaign-card dd {
  font-weight: 800;
}

.campaign-button {
  margin-top: 10px;

  padding: 10px;

  display: block;

  color: white;

  text-align: center;

  border-radius: 30px;

  font-size: 11px;
  font-weight: 800;
}

.campaign-blue {
  background:
    linear-gradient(
      90deg,
      #14bae9,
      #2564ef
    );
}

.campaign-purple {
  background:
    linear-gradient(
      90deg,
      #ad48e7,
      #6e52ec
    );
}

.campaign-green {
  background:
    linear-gradient(
      90deg,
      #13c8b1,
      #1689e7
    );
}

.campaign-orange {
  background:
    linear-gradient(
      90deg,
      #ff7640,
      #d74db8
    );
}


/* ========================================
PHONES
======================================== */

.phones-section {
  background:
    linear-gradient(
      180deg,
      #fafbff,
      #f5f8ff
    );
}

.phones-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}

.phone-card {
  min-height: 225px;

  padding: 20px;

  position: relative;

  display: grid;

  grid-template-columns:
    125px 1fr;

  align-items: center;

  gap: 18px;

  background: white;

  border:
    1px solid #ebeff7;

  border-radius: 12px;
}

.phone-badge {
  position: absolute;

  top: 10px;
  left: 10px;

  padding: 3px 9px;

  color: white;

  border-radius: 5px;

  font-size: 9px;
  font-weight: 800;
}

.badge-new {
  background: #22b9e8;
}

.badge-pickup {
  background: #d151cb;
}

.badge-popular {
  background: #40bb5e;
}

.phone-image {
  height: 175px;
}

.phone-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.phone-info h3 {
  margin-top: 8px;

  font-size: 16px;
}

.phone-info > p {
  margin-top: 3px;

  color: #68758c;

  font-size: 11px;
}

.phone-info ul {
  margin: 14px 0;

  list-style: none;
}

.phone-info li {
  padding: 2px 0;

  font-size: 10px;
}

.phone-info li::before {
  content: "▣";

  margin-right: 7px;

  color: #5979ad;
}

.device-price {
  font-size: 17px;
}


/* ========================================
GUIDE
======================================== */

.guide-heading {
  justify-content: flex-start;
}

.guide-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 15px;
}

.guide-card {
  min-height: 92px;

  overflow: hidden;

  display: grid;

  grid-template-columns:
    92px 1fr 18px;

  align-items: center;

  background: white;

  border:
    1px solid #ebeff6;

  border-radius: 10px;

  transition: .25s;
}

.guide-card:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 8px 25px rgba(33,66,120,.1);
}

.guide-card img {
  width: 92px;
  height: 92px;

  object-fit: cover;
}

.guide-card div {
  padding: 10px;
}

.guide-card strong {
  display: block;

  font-size: 12px;
}

.guide-card p {
  margin-top: 2px;

  color: #8290a4;

  font-size: 9px;
}

.guide-card > span {
  color: #4f78d5;
}


/* ========================================
FLOW
======================================== */

.flow-section {
  padding-top: 20px;
}

.flow-layout {
  display: grid;

  grid-template-columns:
    240px 1fr;

  gap: 45px;

  align-items: center;
}

.flow-heading p:last-child {
  margin-top: 5px;

  color: #8290a4;

  font-size: 10px;
}

.flow-steps {
  display: flex;
  align-items: center;

  gap: 12px;
}

.flow-card {
  flex: 1;

  padding: 18px;

  display: flex;
  align-items: center;

  gap: 13px;

  background: white;

  border:
    1px solid #e5eaf4;

  border-radius: 12px;
}

.flow-icon {
  width: 54px;
  height: 54px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  background: #e8f3ff;

  border-radius: 50%;

  color: #207fe2;

  font-weight: 900;
}

.flow-card small {
  display: block;

  color: #5c8be6;

  font-size: 9px;
}

.flow-card strong {
  display: block;

  font-size: 14px;
}

.flow-card p {
  color: #8994a7;

  font-size: 9px;
}

.flow-arrow {
  color: #aeb7c5;
}


/* ========================================
CTA
======================================== */

.cta {
  min-height: 125px;

  position: relative;

  overflow: hidden;

  color: white;
}

.cta-bg {
  position: absolute;

  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.cta-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,123,220,.91),
      rgba(95,90,226,.82)
    );
}

.cta-inner {
  min-height: 125px;

  position: relative;
  z-index: 2;

  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 30px;
}

.cta h2 {
  font-size: 27px;
}

.cta p {
  margin-top: 4px;

  font-size: 11px;
}

.cta a {
  min-width: 270px;

  padding: 15px 30px;

  background: white;

  color: #1b56c3;

  text-align: center;

  border-radius: 100px;

  font-weight: 900;
}


/* ========================================
FOOTER
======================================== */

.footer {
  padding-top: 38px;

  background: white;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1fr 1.7fr 1fr;

  gap: 42px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand > p {
  color: #7e8ba0;

  font-size: 10px;
}

.footer-links {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 25px;
}

.footer-links strong {
  display: block;

  margin-bottom: 8px;

  font-size: 11px;
}

.footer-links a {
  padding: 3px 0;

  display: block;

  color: #66738b;

  font-size: 9px;
}

.footer-news > strong {
  font-size: 12px;
}

.footer-news > p {
  margin-top: 3px;

  color: #7d899c;

  font-size: 9px;
}

.mail-form {
  margin-top: 10px;

  display: flex;
}

.mail-form input {
  width: 100%;

  padding: 10px 14px;

  border:
    1px solid #e2e7f0;

  border-radius:
    30px 0 0 30px;

  outline: none;

  font-size: 9px;
}

.mail-form button {
  padding: 0 17px;

  border: 0;

  background: #1787e8;

  color: white;

  border-radius:
    0 30px 30px 0;

  font-size: 9px;
}

.footer-bottom {
  margin-top: 35px;

  padding: 17px 0;

  display: flex;

  justify-content: space-between;

  border-top:
    1px solid #e9edf5;

  color: #8791a4;

  font-size: 8px;
}

.footer-bottom > div {
  display: flex;
  gap: 15px;
}


/* ========================================
TABLET
======================================== */

@media (max-width: 1050px) {

  .global-nav {
    display: none;
  }

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

  .phones-grid {
    grid-template-columns:
      1fr;
  }

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

  .flow-layout {
    grid-template-columns:
      1fr;
  }

  .footer-grid {
    grid-template-columns:
      1fr;
  }

}


/* ========================================
SMARTPHONE
======================================== */

@media (max-width: 700px) {

  .container {
    width:
      calc(100% - 28px);
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    width:
      calc(100% - 28px);
  }

  .site-logo strong {
    font-size: 15px;
  }

  .header-search,
  .header-favorite {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;

    grid-template-columns:
      1fr;
  }

  .hero-copy {
    padding:
      55px 0 10px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    overflow-x: auto;
  }

  .stat {
    min-width: 135px;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-phone-image {
    max-width: 420px;
  }

  .hero-handwriting {
    display: none;
  }

  .benefits {
    margin-top: 0;

    padding-top: 15px;
  }

  .benefits-grid,
  .campaign-grid,
  .guide-grid {
    grid-template-columns:
      1fr;
  }

  .section {
    padding: 45px 0;
  }

  .section-heading {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .campaign-image {
    height: 190px;
  }

  .phone-card {
    grid-template-columns:
      100px 1fr;
  }

  .phone-image {
    height: 150px;
  }

  .flow-steps {
    flex-direction:
      column;
  }

  .flow-card {
    width: 100%;
  }

  .flow-arrow {
    transform:
      rotate(90deg);
  }

  .cta-inner {
    padding:
      27px 0;

    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .cta h2 {
    font-size: 22px;
  }

  .cta a {
    width: 100%;
    min-width: 0;
  }

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

  .footer-bottom {
    flex-direction:
      column;

    gap: 10px;
  }

}
